*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #1d408a;
  --secondary: #bb0909;
  --white: #ffffff;
  --text: #1b1d1d;
  --foreground: #6a6a6a;
  --border: #e7e6e6;
  --heading-color: #1b1d1d;
  --meta-color: #a6a3a3;
  --transparent: #ffffff00;

  /* — Font sizes — */
  --font-size--small: 14px;
  --font-size--medium: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.366), 20px);
  --font-size--large: clamp(15.747px, 0.984rem + ((1vw - 3.2px) * 0.503), 24px);
  --font-size--x-large: clamp(
    17.905px,
    1.119rem + ((1vw - 3.2px) * 0.616),
    28px
  );

  /* — Font families — */
  --font-family--mona-sans: "Mona Sans", sans-serif;

  /* — Spacing — */
  --spacing--20: 0.44rem;
  --spacing--30: 0.67rem;
  --spacing--40: 1rem;
  --spacing--50: 1.5rem;
  --spacing--60: 2.25rem;
  --spacing--70: 3.38rem;
  --spacing--80: 5.06rem;
  /* — Custom typography — */
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  width: 100%;
}
a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  color: var(--secondary);
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  margin: auto;
}

:where(figure) {
  margin: 0 0 1em;
}

body .d-grid {
  display: grid;
}
.is-layout-grid > :is(*, div) {
  margin: 0;
}

a:where(:not(.wp-element-button)) {
  color: var(--primary);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  background-color: var(--transparent);
  color: var(--heading-color);
  font-family: var(--font-family--mona-sans);
  font-style: normal;
  line-height: 1.5;
}
h1 {
  font-weight: 500;
}

h3 {
  font-size: var(--font-size--x-large);
  font-weight: 500;
  line-height: var(--line-height--x-small);
  margin-top: var(--spacing--medium);
  margin-bottom: var(--spacing--x-small);
}
h4 {
  font-size: var(--font-size--large);
  font-weight: 500;
  line-height: var(--line-height--x-small);
  margin-bottom: var(--spacing--xx-small);
}

/* CARD ZONE START*/

.card-main {
  flex-basis: 66.66%;
}

.card-head {
  aspect-ratio: unset;
}

.card-head h1 {
  font-size: clamp(30.693px, 1.918rem + ((1vw - 3.2px) * 1.421), 54px);
  font-style: normal;
  font-weight: 600;
  text-align: center;
}

.card-li {
  padding: 24px;

  border: 1px solid var(--border);

  border-radius: 20px;
}

.card-image {
  border-radius: 20px;
  height: 240px;
  object-fit: cover;
}

.card-info {
  margin-top: 24px;
}

.card-link {
  font-style: normal;
  font-weight: 600;
  line-height: 1.4;
  margin-top: var(--spacing--20);
}

.card-link a {
  color: var(--heading-color);
}

.card-link a:hover {
  color: var(--secondary);
}

.card-ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.card-ringkasan {
  color: var(--foreground) !important;
}

.card-penulis {
  color: var(--meta-color) !important;
  font-size: var(--font-size--small) !important;
  display: flex;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: var(--spacing--40);
  padding-bottom: var(--spacing--40);
  gap: 24px;
}

/* CARD ZONE END*/

.sidebar-gap {
  flex-wrap: nowrap;
  gap: 24px 44px;
}

/* CONTENT COLUMS START */
.content-columns {
  display: flex;
  gap: 44px;
  align-items: flex-start;
}

@media (max-width: 782px) {
  .content-columns {
    flex-direction: column;
  }
}
/* CONTENT COLUMS END */

/* HERO */
.hero {
  min-height: calc(100vh - var(--nav-height));
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231D408A' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(160deg, #eef4ff 0%, #f8f9ff 50%, #fff 100%);
  display: flex;
  align-items: center;
  padding: 80px 5%;
  gap: 60px;
}

.hero-text {
  flex: 1;
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 147, 227, 0.1);
  color: var(--accent);
  border: 1px solid rgba(6, 147, 227, 0.25);
  border-radius: 99px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}

.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

.hero-visual img {
  width: 100%;

  max-width: 350px;

  height: auto;

  display: block;
}

.hero h1 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(36px, 4.5vw, 50px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--text);
}

.hero h1 .highlight-blue {
  color: var(--primary);
}
.hero h1 .highlight-red {
  color: var(--red);
}

.hero p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(6, 147, 227, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6, 147, 227, 0.4);
}

.btn-secondary {
  padding: 16px 32px;
  background: white;
  color: var(--text);
  border: 2px solid var(--border);
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, transform 0.2s;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-card-main {
  background: linear-gradient(135deg, var(--primary), var(--accent2));
  border-radius: 28px;
  padding: 40px;
  color: white;
  width: 340px;
  box-shadow: 0 24px 80px rgba(29, 64, 138, 0.35);
  position: relative;
  z-index: 0;
}

.hero-card-main h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  opacity: 0.9;
}

.hero-stat-row {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px 18px;
  flex: 1;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat .num {
  font-size: 22px;
  font-weight: 800;
  display: block;
}
.hero-stat .lbl {
  font-size: 11px;
  opacity: 0.75;
  margin-top: 2px;
  display: block;
}

.hero-card-float {
  position: absolute;
  background: white;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.float-1 {
  top: -13px;
  right: -105px;
  animation-delay: 0s;
}
.float-2 {
  bottom: -35px;
  left: -40px;
  animation-delay: 1.5s;
}

.float-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* =========================
   HERO RESPONSIVE MOBILE
========================= */

@media (max-width: 768px) {

  .hero {

    flex-direction: column-reverse;

    justify-content: center;

    align-items: center;

    text-align: center;

    gap: 40px;

    padding: 40px 20px;

    min-height: auto;

  }


  .hero-text {

    max-width: 100%;

  }



  .hero h1 {

    font-size: clamp(28px, 3.5vw, 40px);

    line-height: 1.25;

  }



  .hero p {

    max-width: 100%;

    font-size: 15px;

    line-height: 1.8;

    margin-left: auto;

    margin-right: auto;

  }



  .hero-btns {

    flex-direction: column;

    align-items: center;

    width: 100%;

  }



  .btn-primary {

    width: 100%;

    max-width: 300px;

    justify-content: center;

  }



  .hero-visual {

    width: 100%;

    display: flex;

    justify-content: center;

  }



  .hero-visual img {

    width: 90%;

    max-width: 260px;

    margin: auto;

  }

}


/* =========================
   HP KECIL
========================= */

@media (max-width: 480px) {


  .hero {

    padding: 30px 15px;

    gap: 30px;

  }


  .hero h1 {

    font-size: 28px;

  }


  .hero p {

    font-size: 14px;

  }


  .btn-primary {

    padding: 14px 20px;

    font-size: 14px;

  }
  
    .card-head {
    margin-top: 100px;
  }


}
