/* Shahril Hamdan | Untuk Kuala Langat — static conversion */

:root {
  --blue-dark: #0243aa;
  --blue-mid: #326dcc;
  --blue-badge: #0247ad;
  --blue-hero-a: #1643a4;
  --blue-hero-b: #3f6cc6;
  --navy: #090253;
  --navy-soft: #19116a;
  --ink: #666666;
  --muted: #777c82;
  --line: #0e274b;
  --rule: #c8c8c8;
  --link: #23527c;
  --page: #0247ad;
  --page-current: #685cbe;
  --shadow-card: 0 2px 30px 0 #e3e4ed;
  --shadow-badge: 0 2px 4px rgba(74, 74, 74, 0.5);
  --font: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  --row: 1080px;
  --hero-row: 1207px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink);
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

a {
  color: var(--link);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue-badge);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100000;
  padding: 8px 12px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Source homepage hides the Divi header (#main-header { display: none }). */

.site-header {
  display: none;
}

.wrap {
  width: 100%;
  max-width: var(--row);
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero */

.hero {
  position: relative;
  min-height: 726px;
  padding: 92px 0 0;
  background-color: #12245c;
  background-image: url("../images/sh-banner.webp");
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-inner {
  display: flex;
  align-items: flex-start;
  width: 80%;
  max-width: 1207px;
  margin: 0 auto;
}

.hero-portrait {
  width: 50%;
  max-width: none;
}

.hero-portrait img {
  display: block;
  width: 456px;
  max-width: 100%;
  height: auto;
}

.hero-copy {
  width: 50%;
  max-width: none;
  padding-top: 3%;
  text-align: right;
}

.hero-copy h1,
.hero-copy h2,
.hero-copy h3 {
  margin: 0;
  padding: 0 0 10px;
  text-transform: capitalize;
}

.hero-kicker,
.hero-title {
  display: inline-block;
  max-width: 100%;
  padding: 14px 15px 7px;
  text-align: left;
}

.hero-kicker {
  background: var(--blue-dark);
  margin: 63px 0 8px;
}

.hero-title {
  background: var(--blue-mid);
  margin: 0 0 31px;
}

.hero-kicker h1,
.hero-title h2 {
  font-size: 37px;
  font-weight: 700;
  line-height: 37px;
  color: #fff;
  text-align: right;
}

.hero-tagline {
  display: block;
  padding: 2% 0 10%;
  margin: 0 0 26px;
}

.hero-tagline h3 {
  font-size: 22px;
  font-weight: 700;
  font-style: italic;
  line-height: 33px;
  color: #fff;
  text-align: right;
}

.hero-brand {
  max-width: 65%;
  margin-left: auto;
}

.hero-brand img {
  display: block;
  width: 100%;
}

/* Intro */

.intro {
  padding: 60px 0 54px;
}

.intro-inner {
  max-width: 850px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.intro-rule {
  position: relative;
  height: 40px;
  margin: 0 0 66px;
}

.intro-rule::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 40px;
  margin-left: -0.5px;
  background: var(--line);
}

.intro-flag {
  width: 79px;
  margin: 0 auto 16px;
}

.intro-flag img {
  display: block;
  width: 79px;
}

.intro h2 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 15px;
  color: var(--navy-soft);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.intro h3 {
  margin: 0 0 10px;
  font-size: 35px;
  font-weight: 700;
  line-height: 35px;
  color: var(--navy);
}

.intro p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  text-align: center;
}

/* Full-bleed pledges 1, 2, 7, 8 */

.pledge-band {
  display: flex;
  min-height: 600px;
  margin: 0 0 32px;
}

.pledge-band--tight {
  margin-bottom: 0;
}

.pledge-copy,
.pledge-photo {
  min-height: 600px;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
}

.pledge-copy {
  flex: 0 0 33.333%;
  width: 33.333%;
  padding: 10% 5% 8%;
  color: #fff;
}

.pledge-copy--alt {
  background-image: url("../images/janji-panel-2.webp");
}

.pledge-copy:not(.pledge-copy--alt) {
  background-image: url("../images/janji-panel.webp");
}

.pledge-photo {
  flex: 1 1 66.667%;
  width: 66.667%;
}

.pledge-photo--1 { background-image: url("../images/tawaran-1.webp"); }
.pledge-photo--2 { background-image: url("../images/tawaran-2.webp"); }
.pledge-photo--7 { background-image: url("../images/tawaran-7.webp"); }
.pledge-photo--8 { background-image: url("../images/tawaran-8.webp"); }

.badge {
  display: inline-block;
  margin: 0 0 30px;
  padding: 13px 32px 2px;
  background: var(--blue-badge);
  color: #fff;
  box-shadow: var(--shadow-badge);
}

.badge h3,
.card-badge {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
}

.pledge-copy p {
  margin: 0;
  font-size: 19px;
  line-height: 36px;
  color: #fff;
  text-align: justify;
}

/* Card pledges 3–6 and 9–10 */

.card-section {
  padding: 54px 0;
}

.card-section--compact {
  padding-top: 54px;
  padding-bottom: 54px;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: var(--row);
  margin: 0 auto 32px;
  padding: 0 20px;
}

.card-grid:last-child {
  margin-bottom: 0;
}

.pledge-card {
  position: relative;
  box-shadow: var(--shadow-card);
  background: #fff;
}

.pledge-card img {
  display: block;
  width: 100%;
  padding: 10px;
}

.card-body {
  padding: 0 10px 20px;
}

.card-badge {
  position: absolute;
  top: 34px;
  left: 0;
  padding: 13px 15px;
  background: var(--blue-badge);
  font-size: 18px;
}

.pledge-card p {
  margin: 8px 0 0;
  color: var(--ink);
}

/* Activity */

.activity {
  padding: 54px 0 0;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5.5%;
  max-width: var(--row);
  margin: 0 auto;
  padding: 0 20px;
}

.activity-card {
  min-height: 280px;
}

.activity-video {
  margin-bottom: 12px;
  word-break: break-word;
}

.activity-video a {
  color: var(--link);
  font-size: 14px;
}

.activity-card h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.activity-card h2 a {
  color: #333;
  text-decoration: none;
}

.activity-card h2 a:hover,
.activity-card h2 a:focus {
  color: var(--blue-badge);
}

.pager {
  max-width: var(--row);
  margin: 0 auto;
  padding: 20px 20px 30px;
  text-align: right;
}

.pager span,
.pager a {
  display: inline-block;
  margin-left: 6px;
  padding: 4px 10px;
  border: 1px solid #d7d7d7;
  background: #f9f9f9;
  color: var(--page);
  text-decoration: none;
}

.pager .is-current {
  background: #efefef;
  color: var(--page-current);
}

.pager [aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Footer */

.site-footer {
  background: #fff;
  color: #333;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px 20px;
}

.footer-logo {
  width: min(700px, 100%);
  margin-bottom: 28px;
}

.footer-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.disclaimer {
  max-width: 720px;
  margin: 0;
  text-align: center;
  color: #333;
  line-height: 1.7;
}

.footer-bar {
  padding: 15px 0 5px;
}

.footer-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--row);
  margin: 0 auto;
  padding: 30px 20px 15px;
  border-top: 1px solid var(--rule);
}

.social {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #000;
}

.social a {
  display: inline-flex;
}

.social img {
  width: 26px;
  height: 26px;
}

.copyright {
  font-weight: 400;
  color: #333;
}

/* Tablet */

@media (max-width: 980px) {
  .hero {
    min-height: 0;
    padding: 50px 16px 0;
  }

  .hero-inner {
    width: 100%;
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }

  .hero-copy {
    width: 100%;
    padding-top: 30px;
    text-align: center;
  }

  .hero-portrait {
    width: auto;
    max-width: 420px;
  }

  .hero-kicker,
  .hero-title {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 68px;
    padding: 0 12px;
  }

  .hero-kicker {
    width: min(270px, 100%);
    background: var(--blue-hero-a);
    margin: 0 auto 8px;
  }

  .hero-title {
    width: min(450px, 100%);
    background: var(--blue-hero-b);
    margin: 0 auto 16px;
  }

  .hero-kicker h1,
  .hero-title h2 {
    font-size: 37px;
    line-height: 1.1;
    text-align: center;
  }

  .hero-tagline {
    padding: 12px 8px 20px;
    margin: 0;
  }

  .hero-tagline h3 {
    text-align: center;
  }

  .hero-brand {
    max-width: 65%;
    margin: 0 auto 8px;
  }

  .pledge-band {
    flex-direction: column;
    min-height: 0;
    width: 90%;
    margin: 0 auto 32px;
  }

  .pledge-copy,
  .pledge-photo {
    width: 100%;
    flex: none;
    min-height: 0;
  }

  .pledge-copy {
    padding: 50px;
    background-image: url("../images/janji-panel.webp");
  }

  .pledge-copy--alt {
    background-image: url("../images/janji-panel.webp");
  }

  .pledge-photo {
    min-height: 280px;
  }

  .card-grid {
    width: 90%;
    max-width: none;
    padding: 0;
    gap: 24px;
  }

  .footer-bar-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .social {
    justify-content: center;
  }
}

/* Phone */

@media (max-width: 767px) {
  .hero-kicker {
    width: min(190px, 100%);
    height: 68px;
    padding-top: 0;
  }

  .hero-title {
    width: min(300px, 100%);
    height: 68px;
  }

  .hero-kicker h1,
  .hero-title h2 {
    font-size: 23px;
    line-height: 1.1;
  }

  .hero-tagline h3 {
    font-size: 20px;
  }

  .intro h3 {
    font-size: 28px;
    line-height: 1.15;
  }

  .pledge-copy {
    padding: 28px 22px;
  }

  .pledge-copy p {
    font-size: 16px;
    line-height: 1.6;
  }

  .card-grid {
    grid-template-columns: 1fr;
    width: min(90%, 520px);
    gap: 28px;
  }

  .activity-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .activity-card {
    min-height: 0;
  }

  .pager {
    text-align: center;
  }

  .pager span,
  .pager a {
    min-width: 40px;
    min-height: 40px;
    padding: 8px 12px;
  }
}

@media (max-width: 479px) {
  .hero {
    padding-top: 36px;
  }

  .hero-kicker,
  .hero-title {
    width: 100%;
  }

  .intro-inner,
  .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .pledge-band {
    width: 100%;
  }
}

@media (min-width: 1350px) {
  .card-section {
    padding-top: 54px;
    padding-bottom: 54px;
  }
}
