/* Johari Ghani static site — reconstructed from the live Divi theme */

:root {
  --purple: #463890;
  --purple-deep: #291f67;
  --purple-mid: #4c3e9a;
  --purple-btn: #685cbe;
  --purple-dl: #552fb5;
  --purple-soft: #b9aef6;
  --nav: #454545;
  --text: #727272;
  --text-dark: #323232;
  --text-body: #5f5f5f;
  --text-muted: #6b6b6b;
  --text-mid: #707070;
  --footer-bg: #031430;
  --footer-bar: #021027;
  --light: #eff2fb;
  --light-2: #eff2fa;
  --cyan: #0ed1ef;
  --fb: #3b5998;
  --tw: #55acee;
  --ig: #3f729b;
  --white: #ffffff;
  --header-h: 85px;
  --container: 1080px;
  --font: "Open Sans", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.53;
  color: var(--text);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 80%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.site-header.is-scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-inner {
  width: 80%;
  max-width: 1080px;
  height: 100%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo img {
  display: block;
  width: 227px;
  height: 19px;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav li {
  padding: 0 22px 0 0;
}

.site-nav a {
  display: block;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 14px;
  color: var(--nav);
  letter-spacing: 0;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--purple);
}

.site-nav a[aria-current="page"] {
  color: var(--purple);
  padding: 10.4px 19.5px;
  border: 1px solid var(--purple);
  border-radius: 100px;
}

.search-toggle,
.menu-toggle {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 8px;
  color: var(--nav);
}

.search-toggle img,
.menu-toggle img {
  width: 22px;
  height: 22px;
  display: block;
}

.menu-toggle {
  display: none;
}

.search-panel {
  display: none;
  position: absolute;
  inset: 0;
  background: var(--white);
  align-items: center;
  padding: 0 40px;
}

.search-panel.is-open {
  display: flex;
}

.search-panel form {
  flex: 1;
}

.search-panel input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #ddd;
  font-size: 18px;
  padding: 10px 0;
  font-family: inherit;
  color: var(--nav);
}

.search-panel input::placeholder {
  color: #999;
}

.search-close {
  border: 0;
  background: transparent;
  padding: 8px;
}

.search-close img {
  width: 22px;
  height: 22px;
}

.mobile-nav {
  display: none;
}

.site-main {
  padding-top: var(--header-h);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  line-height: 1.3;
}

.btn img {
  width: 16px;
  height: 16px;
}

.btn-outline {
  border: 1px solid var(--white);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 5px 40px 5px 25px;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-link {
  color: var(--cyan);
  font-size: 15px;
  font-weight: 600;
}

.btn-text {
  color: var(--purple-mid);
  font-size: 17px;
  font-weight: 700;
  padding: 5px 34px 5px 0;
}

.btn-solid {
  background: var(--purple-btn);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 7px 40px 7px 30px;
}

.btn-solid:hover {
  background: #5a4eae;
}

.btn-download {
  background: var(--purple-dl);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  padding: 12px 36px 12px 28px;
  border-radius: 7px;
}

.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px 10px 16px;
}

.btn-social img {
  width: 16px;
  height: 16px;
}

.btn-fb { background: var(--fb); }
.btn-tw { background: var(--tw); }
.btn-ig { background: var(--ig); }

/* Page hero */
.page-hero {
  min-height: 255px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #391bf0;
  background-image: linear-gradient(45deg, #391bf0 0%, #584c98 100%);
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 86px 16px;
}

.page-hero h1 {
  margin: 0;
  color: var(--white);
  font-size: 35px;
  font-weight: 700;
  letter-spacing: 9.23px;
}

.page-hero h1 span {
  opacity: 0.5;
}

/* Home hero */
.home-hero {
  min-height: 617px;
  display: flex;
  align-items: center;
  background-color: #2a1f66;
  background-image: url("../images/Group-24.webp");
  background-size: cover;
  background-position: center right;
  padding: 156px 0 68px;
}

.hero-biografi { background-image: url("../images/Group-25.webp"), linear-gradient(45deg, #391bf0 0%, #584c98 100%); }
.hero-berita { background-image: url("../images/Group-9-1.webp"), linear-gradient(45deg, #391bf0 0%, #584c98 100%); }
.hero-pengumuman { background-image: url("../images/Group-4.webp"), linear-gradient(45deg, #391bf0 0%, #584c98 100%); }
.hero-ucapan { background-image: url("../images/BannerV1.webp"), linear-gradient(45deg, #391bf0 0%, #584c98 100%); }
.hero-galeri {
  display: block;
  background-image: url("../images/Group-6.webp"), linear-gradient(45deg, #391bf0 0%, #584c98 100%);
  min-height: 0;
  padding: 6% 0;
}

.page-hero.hero-galeri h1 {
  width: 80%;
  max-width: 1080px;
  margin: 27px auto;
  line-height: 30px;
  letter-spacing: 10px;
}
.hero-soal {
  background-image: url("../images/Group-5-1.webp"), linear-gradient(45deg, #391bf0 0%, #584c98 100%);
  min-height: 228px;
  padding: 74px 0;
}
.hero-default { background-image: url("../images/Group-9-1.webp"), linear-gradient(45deg, #391bf0 0%, #584c98 100%); }

.full-photo-home { background-image: url("../images/Group-21.webp"); }
.quote-tabs-home { background-image: url("../images/jo-ghani2.webp"); }
.quote-band-bio { background-image: url("../images/Group-26.webp"); }
.p119-hero-bg { background-image: url("../images/Group-26-1.webp"); }
.p119-photo-bg { background-image: url("../images/Image-4.webp"); }
.stats-bg { background-image: url("../images/Group-17.webp"); }
.quote-band-p119 { background-image: url("../images/DJG-2.webp"); }

.home-hero .container {
  display: grid;
  grid-template-columns: 524px 524px;
  gap: 5px;
  align-items: center;
}

.home-hero-copy {
  grid-column: 2;
  width: 502px;
  max-width: 100%;
  margin-left: 21px;
}

.home-hero-copy p {
  margin: 0 0 28px;
  color: var(--white);
  font-size: 28px;
  font-weight: 700;
  line-height: 42px;
  text-align: left;
}

/* Terkini */
.terkini {
  background: linear-gradient(45deg, #291f67 0%, #4c3e9a 100%);
  color: var(--white);
  padding: 30px 0 45px;
  min-height: 408px;
}

.terkini-grid {
  display: grid;
  grid-template-columns: 338px 709px;
  gap: 5px;
  align-items: start;
}

.badge-terkini {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 135px;
  height: 34px;
  background: #fd6374;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
  margin-bottom: 16px;
}

.terkini h2 {
  margin: 0;
  font-size: 29px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 30px;
  color: var(--white);
}

.terkini-item .btn-link {
  display: inline-flex;
  margin-bottom: 16px;
}

.terkini-item h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  line-height: 33.6px;
  color: var(--white);
}

.terkini-item h3 a:hover {
  text-decoration: underline;
}

.terkini-item time {
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 30px;
  color: var(--white);
  margin-bottom: 0;
}

.terkini-item p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 30px;
  color: var(--white);
}

/* Twitter */
.twitter-block {
  padding: 54px 0 0;
  background: var(--white);
  min-height: 476px;
}

.twitter-grid {
  display: grid;
  grid-template-columns: 338px 709px;
  gap: 5px;
  align-items: start;
  padding: 29px 0 0;
  min-height: 393px;
}

.twitter-mark {
  padding-top: 140px;
}

.twitter-mark img {
  display: block;
  width: 338px;
  max-width: 100%;
  height: auto;
}

.tweet-card {
  padding: 0;
  color: #727272;
  font-size: 15px;
  font-weight: 500;
  line-height: 30px;
}

#ctf,
.ctf,
.tweet-card .ctf-error,
.tweet-card .ctf-error-user {
  width: 550px;
  max-width: 100%;
  margin: 0 auto;
  min-height: 72px;
  text-align: center;
}

.tweet-card .ctf-error-user p {
  margin: 0 2px;
  padding: 0 0 5px;
  font-size: 15px;
  font-weight: 500;
  line-height: 30px;
  color: #727272;
  text-align: center;
}

.tweet-card .ctf-error-user iframe,
.tweet-card .ctf-error-user .twitter-share-button,
.tweet-card .ctf-error-user .twitter-follow-button {
  margin: 0 2px;
  vertical-align: top;
  border: 0;
}

.tweet-card .ctf-error-user a.twitter-share-button,
.tweet-card .ctf-error-user a.twitter-follow-button {
  display: inline-block;
  box-sizing: border-box;
  height: 28px;
  line-height: 26px;
  background: #1d9bf0;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  border-radius: 4px;
  text-decoration: none;
  text-align: center;
}

.tweet-card .ctf-error-user a.twitter-share-button {
  width: 72px;
}

.tweet-card .ctf-error-user a.twitter-follow-button {
  width: 160px;
}

/* Quote / ilmu */
.ilmu {
  background: var(--light);
  padding: 54px 0;
  min-height: 550px;
}

.ilmu-grid {
  display: grid;
  grid-template-columns: 510px 510px;
  gap: 5px;
  align-items: start;
}

.ilmu-heading {
  max-width: 450px;
}

.ilmu-heading h2 {
  margin: 0;
  color: #222222;
  font-size: 30px;
  font-weight: 700;
  line-height: 49px;
}

.ilmu-heading h2::after {
  content: "";
  display: block;
  width: 90px;
  height: 5px;
  background: #ff5300;
  margin-top: 30px;
}

.ilmu-copy p {
  margin: 0 0 22px;
  color: var(--text);
  font-size: 15px;
  line-height: 29px;
  text-align: justify;
}

/* Listing cards */
.section-plain {
  padding: 27px 0 0;
  background: var(--white);
}

.home-pengumuman {
  padding-bottom: 0;
  min-height: 642px;
}

.section-head {
  display: grid;
  grid-template-columns: 524px 524px;
  gap: 5px;
  align-items: center;
  padding: 27px 0 30px;
  margin-bottom: 0;
}

.section-head .btn {
  justify-self: end;
}

.section-head h2 {
  margin: 0;
  color: #000000;
  font-size: 33px;
  font-weight: 700;
  line-height: 30px;
}

.card-list {
  display: grid;
  gap: 28px;
}

.card-list.cols-3 {
  grid-template-columns: repeat(3, 332px);
  justify-content: space-between;
  gap: 0;
  padding: 0 10px;
}

.news-card {
  background: #f3f4f6;
}

.home-pengumuman .news-card {
  padding: 19px 19px 5px;
  min-height: 428px;
}

.news-card h3 {
  margin: 0 0 10px;
  padding: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 22.4px;
  color: #222222;
  text-align: justify;
}

.news-card h3 a:hover {
  color: var(--purple);
}

.news-card time {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #3a3a3a;
  line-height: 29px;
  margin-bottom: 10px;
}

.news-card p {
  margin: 0 0 10px;
  color: #3a3a3a;
  font-size: 13px;
  font-weight: 500;
  line-height: 29px;
  text-align: justify;
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 12px;
  display: block;
}

.news-card.no-thumb {
  padding: 19px 19px 5px;
}

/* Full bleed photo / homepage video */
.full-photo {
  min-height: 607px;
  background-size: cover;
  background-position: center;
  background-color: #000;
}

.home-video {
  padding: 0;
}

.home-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1080 / 607;
  background: #000;
}

.p119-video {
  padding: 74px 0 54px;
  background: #fff;
}

.p119-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1080 / 607;
  background: #000;
}

/* Gallery strip */
.gallery-tease {
  padding: 54px 0 25px;
  min-height: 645px;
}

.gallery-tease-head {
  display: grid;
  grid-template-columns: 524px 524px;
  gap: 5px;
  align-items: center;
  margin-bottom: 32px;
}

.gallery-tease-head .btn {
  justify-self: end;
}

.gallery-tease h2 {
  margin: 0;
  color: #000000;
  font-size: 33px;
  font-weight: 700;
  line-height: 30px;
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.gallery-row a {
  display: block;
  overflow: hidden;
  position: relative;
}

.gallery-row img {
  width: 100%;
  aspect-ratio: 400 / 284;
  object-fit: cover;
  display: block;
}

.gallery-row a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-row a:hover::after {
  opacity: 1;
}

/* Quote tabs */
.quote-tabs {
  min-height: 596px;
  background-size: cover;
  background-position: center;
  padding: 90px 0 147px;
  color: var(--white);
}

.quote-tabs .container {
  max-width: 709px;
  margin-left: max(0px, calc((100% - 1080px) / 2));
  margin-right: auto;
  padding: 27px 0;
}

.tab-nav {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0 0 100px;
  padding: 0;
  min-height: 49px;
}

.tab-nav li {
  display: inline-block;
  width: 190px;
  height: 49px;
  margin: 0 15px 20px 0;
  vertical-align: top;
}

.tab-nav button {
  display: block;
  width: 190px;
  height: 49px;
  background: #ffffff;
  border: 0;
  color: #000000;
  font-size: 15px;
  font-weight: 300;
  line-height: 15px;
  letter-spacing: 0;
  padding: 10px 15px 13px;
  text-align: center;
}

.tab-nav button[aria-selected="true"] {
  background: #685cbe;
  color: #ffffff;
}

.tab-panel {
  display: none;
  width: 709px;
  max-width: 100%;
  margin: 0;
  padding: 24px 40px 24px 30px;
  box-sizing: border-box;
  font-size: 18px;
  line-height: 36px;
  font-weight: 300;
  text-align: justify;
  color: #ffffff;
}

.tab-panel p {
  margin: 0;
}

.tab-panel.is-active {
  display: block;
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: #8a93a3;
}

.footer-widgets {
  width: 80%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 65px 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.4fr;
  gap: 30px;
}

.footer-widgets h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer-widgets ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-widgets li {
  margin: 0 0 8px;
}

.footer-widgets a:hover {
  color: var(--white);
}

.footer-disclaimer {
  font-size: 13px;
  line-height: 1.7;
  color: #7d8796;
}

.footer-bar {
  background: var(--footer-bg);
  min-height: 100px;
  padding: 18px 0 5px;
}

.footer-bar-inner {
  width: 80%;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.follow-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--white);
  margin-right: 10px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-links a {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
}

.social-links img {
  width: 16px;
  height: 16px;
}

.copyright {
  margin: 0;
  font-size: 12px;
  color: #6d7788;
}

.copyright a {
  color: var(--white);
}

.umno-mark {
  display: block;
  width: 53px;
  height: 52px;
  margin-top: 8px;
}

/* Biografi */
.bio-intro {
  padding: 54px 0;
}

.bio-intro-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}

.bio-intro h2 {
  margin: 0 0 8px;
  color: var(--text-dark);
  font-size: 35px;
  font-weight: 700;
}

.bio-intro .lead {
  margin: 0;
  padding: 25px 0 30px;
  color: var(--text);
  font-size: 15px;
  line-height: 29px;
  text-align: justify;
}

.bio-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.milestones {
  background: linear-gradient(135deg, #291f67 0%, #4c3e9a 100%);
  color: var(--white);
  padding: 80px 0;
}

.milestones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.milestone img {
  width: auto;
  height: 114px;
  margin: 0 auto 16px;
  display: block;
}

.milestone h3 {
  margin: 0 0 20px;
  color: var(--purple-soft);
  font-size: 20px;
  font-weight: 700;
}

.milestone p {
  margin: 0;
  font-size: 17px;
  line-height: 26px;
}

.bio-split {
  display: grid;
  grid-template-columns: 524px 524px;
  column-gap: 5px;
  justify-content: start;
  align-items: start;
}

.bio-kpmg {
  background: var(--light-2);
}

.bio-kpmg-text {
  padding: 95px 80px 10px 0;
  font-size: 15px;
  line-height: 34px;
  color: var(--text-body);
  text-align: justify;
}

.bio-kpmg-text p {
  margin: 0;
}

.bio-kpmg-photo img {
  display: block;
  width: 524px;
  height: 564px;
  object-fit: cover;
}

.bio-mem,
.bio-yayasan {
  padding: 81px 0 79px;
  text-align: center;
}

.bio-mem {
  padding: 104px 0;
}

.bio-mem p,
.bio-yayasan p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 33px;
  letter-spacing: 0.36px;
  color: var(--text-mid);
  text-align: center;
}

.bio-yayasan p {
  margin: 16px 0 0;
}

.bio-wide-photo {
  display: block;
  width: 978px;
  max-width: 100%;
  height: 400px;
  object-fit: cover;
  margin: 0 auto;
}

.bio-khazanah {
  padding: 34px 0 52px;
}

.bio-khazanah-photo img {
  display: block;
  width: 500px;
  height: 500px;
  object-fit: cover;
}

.bio-khazanah-text {
  padding: 100px 0 0;
  font-size: 15px;
  line-height: 33px;
  letter-spacing: 0.36px;
  color: #6b6b6b;
  text-align: justify;
}

.bio-khazanah-text p,
.bio-politik-text p {
  margin: 0;
}

.bio-politik {
  padding: 81px 0;
}

.bio-politik-text {
  padding: 80px 0 0;
  font-size: 15px;
  line-height: 33px;
  letter-spacing: 0.36px;
  color: #6b6b6b;
  text-align: justify;
}

.bio-politik-photo img {
  display: block;
  width: 524px;
  height: 381px;
  object-fit: cover;
}

.quote-band {
  min-height: 520px;
  background-size: cover;
  background-position: center;
  padding: 110px 0;
}

.quote-band-bio {
  min-height: 619px;
  padding: 54px 0 100px;
}

.quote-band-bio .bio-split {
  padding: 110px 0;
}

.quote-band-inner {
  max-width: 480px;
  margin-left: auto;
}

.quote-band-bio .quote-band-inner {
  max-width: none;
  margin: 0;
}

.quote-mark {
  width: 30px;
  height: 26px;
  margin-bottom: 20px;
  display: block;
}

.quote-band p {
  margin: 0 0 16px;
  color: #3a3a3a;
  font-size: 19px;
  line-height: 35.6px;
  text-align: justify;
}

.quote-band .who {
  font-weight: 700;
  font-size: 16px;
  line-height: 27px;
}

.bio-download {
  padding: 27px 0 95px;
  min-height: 269px;
  text-align: center;
}

.bio-download p {
  margin: 0 0 18px;
  color: var(--text-mid);
  font-size: 17px;
  line-height: 33px;
}

.btn-download {
  padding: 16px 54px 16px 32px;
}

/* FAQ — Divi toggle cards */
.faq-section {
  padding: 49px 0;
}

.faq-intro {
  margin: 0 0 57px;
  padding: 0;
  text-align: left;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  line-height: 30px;
}

.faq-list {
  max-width: none;
  margin: 0;
  padding: 0 0 99px;
}

.faq-item {
  background: #eff2fa;
  padding: 20px;
  margin: 0 0 30px;
  border: 0;
}

.faq-item h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0 50px 0 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: #666;
  position: relative;
}

.faq-item button::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #b5c7f7;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

.faq-item.is-open button::after {
  content: "–";
}

.faq-item .faq-answer {
  display: none;
  padding: 20px 0 0;
  color: var(--text);
  font-size: 15px;
  line-height: 30px;
  text-align: justify;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-item .faq-answer p {
  margin: 0 0 1em;
  text-align: justify;
}

.faq-item .faq-answer p:last-child {
  margin-bottom: 0;
}

/* Listing / article — Divi blog: 400px thumb floated left */
.listing {
  padding: 60px 0 54px;
}

.listing .container {
  overflow: hidden;
}

.article-list {
  display: block;
}

.article-row {
  display: block;
  overflow: hidden;
  margin: 0 0 20px;
}

.article-row > a.thumb {
  float: left;
  display: block;
  width: 400px;
  max-width: 100%;
  margin: 0 50px 15px 0;
}

.article-row img {
  width: 400px;
  max-width: 100%;
  height: auto;
  display: block;
}

.article-row.no-thumb > a.thumb {
  display: none;
}

.article-row h2 {
  margin: 0;
  padding: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: #222;
}

.article-row h2 a {
  color: #222;
}

.article-row h2 a:hover {
  color: var(--purple);
}

.article-meta {
  font-size: 15px;
  line-height: 30px;
  color: #666;
  margin: 0 0 10px;
}

.article-row .content p,
.article-row > div > p:not(.article-meta) {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 30px;
  color: #666;
}

.article-row .more-link {
  display: block;
  margin: 0 0 20px;
  padding: 0 0 22px;
  color: #483a93;
  font-weight: 700;
  font-size: 15px;
  line-height: 30px;
}

.article-row .more-link:hover {
  text-decoration: underline;
}

.ucapan-cats {
  padding: 22px 0 10px;
}

.ucapan-cats ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.ucapan-cats li {
  width: 25%;
  padding: 5px;
  box-sizing: border-box;
}

.ucapan-cats a {
  display: block;
  background: #fff;
  border: 1px solid grey;
  color: #575454;
  text-align: center;
  font-size: 14px;
  padding: 10px 6px;
}

.ucapan-cats a:hover,
.ucapan-cats a[aria-current="page"] {
  background: #3c3c3c;
  color: #fff;
}

.p119-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.p119-photos img {
  width: 100%;
  height: auto;
  display: block;
}

.pagination {
  float: right;
  clear: both;
  display: block;
  text-align: right;
  margin: 0 0 30px;
  padding: 20px 0;
  font-size: 14px;
  line-height: 30px;
  color: var(--text);
}

.pagination a,
.pagination span {
  display: inline;
  min-width: 0;
  height: auto;
  margin: 3px;
  padding: 6px 9px;
  border: 1px solid #d7d7d7;
  background: #f9f9f9;
  color: #04152d;
  font-size: 15px;
  font-weight: 400;
  line-height: 15px;
}

.pagination .pages {
  padding: 8px 9px 7px;
  color: #04152d;
}

.pagination .current {
  background: #efefef;
  color: #04152d;
  font-weight: 700;
  border-color: #d7d7d7;
}

.pagination .extend {
  background: #f9f9f9;
}

/* Single article */
.article {
  padding: 40px 0 80px;
}

.article header h1 {
  margin: 0 0 12px;
  color: var(--text-dark);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
}

.article .content {
  color: #555;
  line-height: 1.8;
}

.article .content p {
  margin: 0 0 16px;
}

.article .content img {
  margin: 12px 0;
}

.article .featured {
  width: 100%;
  margin: 20px 0 28px;
}

/* Gallery page — Divi 4×2 thumbs + masonry videos */
.galeri-gambar-head {
  padding: 54px 0 0;
}

.galeri-gambar-head .galeri-heading-row {
  padding: 27px 0 14px;
}

.galeri-heading-col {
  position: relative;
  margin: 0;
  padding: 0 0 16.19px;
}

.galeri-heading {
  margin: 0;
  padding: 0;
  font-size: 33px;
  font-weight: 700;
  line-height: 30px;
  color: #000;
  text-align: left;
}

.galeri-gambar-head .galeri-heading-col::after,
.galeri-video-head .galeri-heading-col::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  height: 1px;
  background-color: #848080;
}

.galeri-gambar-head .galeri-heading-col::after {
  width: 76%;
  margin-left: 258px;
}

.galeri-video-head .galeri-heading-col::after {
  width: 80%;
  margin-left: 220px;
}

.galeri-photos {
  padding: 30px 0 27px;
}

.galeri-photos .container {
  overflow: hidden;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
}

.gallery-grid a {
  display: block;
  width: 245.688px;
  margin: 0 32.39px 32.39px 0;
  overflow: hidden;
  background: #eee;
}

.gallery-grid a:nth-child(4n) {
  margin-right: 0;
}

.gallery-grid img {
  width: 100%;
  height: 174px;
  object-fit: cover;
  display: block;
}

.gallery-pager {
  height: 58px;
  margin: 0;
  padding: 0;
  font-size: 15px;
  line-height: 26px;
}

.gallery-pager ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: right;
  height: 58px;
  line-height: 26px;
}

.gallery-pager li {
  display: inline-block;
  margin: 0;
  padding: 3px;
  list-style: none;
  font-size: 15px;
  line-height: 26px;
  vertical-align: baseline;
}

.gallery-pager li[hidden] {
  display: none;
}

.gallery-pager a {
  display: inline-block;
  box-sizing: border-box;
  margin: 0;
  padding: 6px 9px;
  min-width: 29px;
  height: 34px;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  background: #f9f9f9;
  color: #04152d;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  vertical-align: baseline;
}

.gallery-pager .next a {
  min-width: 53px;
}

.galeri-videos {
  padding: 0 0 54px;
}

.galeri-videos .container {
  overflow: hidden;
}

.galeri-video-head {
  padding: 27px 0 0;
  margin: 0 0 20px;
}

.galeri-videos .galeri-heading {
  margin: 0;
  padding: 0;
}

.video-grid {
  display: grid;
  grid-template-columns: 338px 338px 338px;
  column-gap: 32.39px;
  align-items: start;
  margin: 0;
  padding-top: 27px;
}

.video-card {
  margin: 0 0 20px;
  padding: 19px 19px 5px;
}

.video-card h2 {
  margin: 0;
  padding: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  line-height: 26px;
  color: #222;
}

.video-card h2 a:hover {
  color: var(--purple);
}

.video-card .article-meta {
  color: #7368ae;
  margin: 0 0 10px;
}

.video-card p:not(.article-meta) {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 30px;
  color: #666;
  text-align: justify;
  overflow-wrap: anywhere;
}

/* Lightbox — Magnific Popup image holder */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgb(11, 11, 11);
}

.lightbox.is-open {
  display: block;
}

.lightbox-content {
  position: absolute;
  inset: 0;
  padding: 0 8px;
  text-align: center;
  box-sizing: border-box;
}

.lightbox-content::before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.lightbox-figure {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  line-height: 0;
  max-width: 100%;
}

.lightbox-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100vh;
  padding: 40px 0;
  margin: 0 auto;
  box-sizing: border-box;
}

.lightbox-close {
  position: absolute;
  top: -10px;
  right: -6px;
  width: 100%;
  height: 44px;
  padding: 0 6px 18px 10px;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 64px;
  font-weight: 200;
  line-height: 44px;
  text-align: right;
  opacity: 0.2;
  cursor: pointer;
  z-index: 2;
}

.lightbox-close:hover,
.lightbox-close:focus {
  opacity: 1;
}

.lightbox-bar {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin-top: -36px;
  line-height: 18px;
}

.lightbox-title {
  display: block;
  padding-right: 36px;
  color: #f3f3f3;
  font-size: 18px;
  line-height: 18px;
  text-align: left;
  overflow-wrap: break-word;
}

.lightbox-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #ccc;
  font-size: 12px;
  line-height: 18px;
  user-select: none;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  margin-top: -32px;
  width: 48px;
  height: 64px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 64px;
  font-weight: 200;
  line-height: 64px;
  opacity: 0.55;
  cursor: pointer;
  z-index: 3;
}

.lightbox-arrow:hover {
  opacity: 1;
}

.lightbox-prev {
  left: 10px;
}

.lightbox-prev::after {
  content: "‹";
}

.lightbox-next {
  right: 10px;
}

.lightbox-next::after {
  content: "›";
}

/* P119 */
.p119-hero {
  min-height: 435px;
  background-size: cover;
  background-position: center;
  padding: 28px 0 0;
}

.p119-hero-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 30px;
  align-items: end;
}

.p119-hero p {
  color: var(--white);
  font-size: 16px;
  line-height: 1.7;
  text-align: justify;
}

.p119-photo {
  min-height: 317px;
  background-size: cover;
  background-position: center;
}

.p119-achieve {
  padding: 40px 0 60px;
  background: #fff;
}

.p119-achieve .container {
  max-width: 1000px;
}

.p119-achieve h2 {
  margin: 0 0 80px;
  color: #384568;
  font-size: 30px;
  font-weight: 700;
  text-align: center;
}

.achieve-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 30px;
}

.achieve-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 15px;
  padding: 0 40px 40px 0;
  align-items: start;
}

.achieve-item > img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.achieve-item h3 {
  margin: 0 0 8px;
  color: #384568;
  font-size: 18px;
  font-weight: 700;
}

.achieve-item p {
  margin: 0;
  font-size: 15px;
  line-height: 30px;
  color: #727272;
  text-align: justify;
}

.stats {
  background-size: cover;
  background-position: center;
  padding: 80px 0 140px;
  color: #727272;
  text-align: center;
}

.stats h2 {
  margin: 0 0 80px;
  color: #384568;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0;
}

.stats .voter-total {
  margin: 0 0 16px;
  color: #5e68bf;
  font-size: 120px;
  font-weight: 700;
  letter-spacing: 7px;
  line-height: 1;
}

.stats h3 {
  margin: 0 0 65px;
  color: #222;
  font-size: 16px;
  font-weight: 700;
}

.stats-bars {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.stats-bars li {
  margin: 0 0 8px;
  font-weight: 400;
}

.stats-bars .bar-label {
  display: block;
  font-size: 16px;
  line-height: 3em;
  color: #666;
}

.stats-bars .bar {
  display: block;
  height: 32px;
  background: #dddddd;
}

.stats-bars .bar > span {
  display: block;
  height: 100%;
  color: #fff;
  font-size: 15px;
  line-height: 32px;
  padding: 0 10px;
}

.stats-bars .w-melayu { width: 70.46%; background: #5e68bf; }
.stats-bars .w-cina { width: 17.31%; background: #7ebec5; }
.stats-bars .w-india { width: 9.63%; background: #eab63c; }
.stats-bars .w-lain { width: 2.59%; background: #0badc6; }

.downloads-band {
  background: #eff2fa;
  padding: 100px 0;
}

.downloads-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.downloads-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.download-links h2 {
  margin: 0 0 15px;
  color: #384568;
  font-size: 30px;
  font-weight: 700;
}

.download-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #5e5e5e;
  font-weight: 400;
  min-height: 72px;
  margin: 0;
}

.download-links a img {
  width: 54px;
  height: 36px;
  flex-shrink: 0;
}

/* Search results */
.search-results {
  padding: 40px 0 80px;
}

.search-results li {
  margin: 0 0 18px;
}

/* 404 */
.empty-note {
  padding: 20px 0 60px;
  color: var(--text);
}

/* Match live Divi show/hide breakpoints */
@media (min-width: 981px) {
  .home-berita {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 980px) {
  .twitter-block,
  .home-pengumuman {
    display: none;
  }
}

@media (max-width: 767px) {
  .twitter-block,
  .home-berita {
    display: none;
  }

  .ucapan-cats li {
    width: 100%;
  }
}

/* Responsive — preserve desktop, fix mobile issues */
@media (max-width: 1100px) {
  .container,
  .header-inner,
  .footer-widgets,
  .footer-bar {
    padding-left: 20px;
    padding-right: 20px;
  }

  .home-hero .container,
  .section-head,
  .gallery-tease-head,
  .ilmu-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }

  .terkini-grid,
  .twitter-grid {
    grid-template-columns: 31.5% 1fr;
    gap: 5px;
  }

  .card-list.cols-3 {
    grid-template-columns: repeat(3, 1fr);
    padding: 0;
  }

  .site-nav a {
    padding: 10px 12px;
  }

  .logo img {
    width: 190px;
  }
}

@media (max-width: 980px) {
  .ucapan-cats li {
    width: 33.333%;
  }

  :root {
    --header-h: 80px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
  }

  .mobile-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid #eee;
    padding: 12px 0 20px;
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
  }

  .mobile-nav.is-open {
    display: block;
  }

  .mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mobile-nav a {
    display: block;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--nav);
  }

  .mobile-nav a[aria-current="page"] {
    color: var(--purple);
  }

  .terkini-grid,
  .ilmu-grid,
  .twitter-grid,
  .bio-intro-grid,
  .bio-split,
  .p119-hero-grid,
  .downloads-grid,
  .card-list.cols-3 {
    grid-template-columns: 1fr;
  }

  .gallery-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid a {
    width: calc(50% - 8px);
    margin: 0 16px 16px 0;
  }

  .gallery-grid a:nth-child(4n) {
    margin-right: 16px;
  }

  .gallery-grid a:nth-child(2n) {
    margin-right: 0;
  }

  .gallery-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 400 / 284;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .milestones-grid,
  .p119-photos,
  .footer-widgets {
    grid-template-columns: 1fr 1fr;
  }

  .achieve-grid {
    grid-template-columns: 1fr;
  }

  .stats .voter-total {
    font-size: 72px;
    letter-spacing: 2px;
  }

  .achieve-item {
    padding-right: 10px;
  }

  .home-hero {
    min-height: 457px;
    padding: 80px 0 48px;
    background-position: center;
  }

  .home-hero .container,
  .section-head,
  .gallery-tease-head {
    grid-template-columns: 1fr;
  }

  .home-hero-copy {
    grid-column: 1;
    margin-left: 0;
    width: auto;
  }

  .section-head .btn,
  .gallery-tease-head .btn {
    justify-self: start;
  }

  .card-list.cols-3 {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .quote-tabs .container {
    max-width: 100%;
    margin-left: auto;
    padding: 27px 20px;
  }

  .tab-panel {
    margin-left: 0;
    width: auto;
    padding: 24px 20px;
  }

  .home-hero-copy p {
    font-size: 22px;
    line-height: 42px;
  }

  .page-hero h1 {
    font-size: 28px;
    letter-spacing: 6px;
  }

  .bio-intro h2 {
    font-size: 27px;
    line-height: 45px;
    text-align: center;
  }

  .bio-kpmg-text,
  .bio-khazanah-text,
  .bio-politik-text {
    padding: 40px 0;
  }

  .bio-kpmg-photo img,
  .bio-khazanah-photo img,
  .bio-politik-photo img,
  .bio-wide-photo {
    width: 100%;
    height: auto;
  }

  .quote-band-inner {
    margin: 0 auto;
    padding: 0 16px;
  }

  .full-photo {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 80px;
  }

  .container,
  .header-inner,
  .footer-widgets,
  .footer-bar {
    padding-left: 12px;
    padding-right: 12px;
  }

  .logo img {
    width: 168px;
    height: auto;
  }

  .home-hero {
    min-height: 384px;
    padding: 60px 0 40px;
  }

  .home-hero-copy p {
    font-size: 22px;
    line-height: 30px;
  }

  .page-hero {
    min-height: 180px;
    padding: 50px 12px;
  }

  .page-hero h1 {
    font-size: 22px;
    letter-spacing: 4px;
  }

  .terkini,
  .ilmu,
  .section-plain {
    padding-left: 0;
    padding-right: 0;
  }

  .badge-terkini {
    margin-bottom: 16px;
  }

  .gallery-row,
  .milestones-grid,
  .p119-photos,
  .achieve-grid,
  .footer-widgets {
    grid-template-columns: 1fr;
  }

  .gallery-grid a,
  .gallery-grid a:nth-child(4n),
  .gallery-grid a:nth-child(2n) {
    width: 100%;
    margin: 0 0 16px;
  }

  .stats .voter-total {
    font-size: 56px;
    letter-spacing: 1px;
  }

  .p119-achieve h2,
  .stats h2,
  .download-links h2 {
    font-size: 24px;
    margin-bottom: 40px;
  }

  .footer-bar-inner {
    flex-direction: column;
    text-align: center;
  }

  .section-head {
    flex-wrap: wrap;
  }

  .header-inner,
  .logo {
    min-width: 0;
  }

  .tab-nav {
    flex-wrap: wrap;
    gap: 16px;
  }

  .tab-nav button {
    width: auto;
    min-width: 0;
    flex: 1 1 30%;
  }

  .gallery-tease-head {
    grid-template-columns: 1fr;
  }

  .bio-social {
    justify-content: center;
  }

  .article header h1 {
    font-size: 22px;
  }

  .btn-outline,
  .btn-solid,
  .btn-download {
    width: auto;
    max-width: 100%;
  }
}

@media (max-width: 390px) {
  .site-nav a,
  .mobile-nav a {
    font-size: 13px;
  }
}

.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;}
