/*
Theme Name: Ollie WebsiteDesign Indonesia Child
Theme URI: https://websitedesign-indonesia.com
Description: Child theme Ollie untuk WebsiteDesign-Indonesia: header dengan logo, gaya homepage, archive & single.
Template: ollie
Version: 1.0.0
Author: Weefer
Text Domain: ollie-websitedesign
*/


/* ===== WebsiteDesign-Indonesia: homepage (bento jendela browser + daftar artikel + sidebar kategori) =====
   WARNA dari logo (navy tua #0A1244 + emas #F8B810 + putih #F8F8F8). Ubah variabel --wd-* untuk ganti warna. */
.wd-home {
  --wd-ink: #0a1244;
  --wd-ink-2: #1a2670;
  --wd-gold: #f8b810;
  --wd-gold-soft: #fff1c7;
  --wd-bg: #f8f8f8;
  --wd-surface: #ffffff;
  --wd-muted: #5b6080;
  --wd-line: #e3e5ee;
  --wd-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --wd-sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-family: var(--wd-sans);
  color: var(--wd-ink);
  background: var(--wd-bg);
  padding-block: 0;
}
.wd-home a { color: inherit; font-family: inherit; text-decoration: none; }
.wd-home h1, .wd-home h2, .wd-home h3, .wd-home p, .wd-home li,
.wd-home .wp-block-post-title, .wd-home .wp-block-post-date,
.wd-home .wp-block-post-terms, .wd-home .wp-block-post-excerpt { font-family: var(--wd-sans); }

/* Lebar penuh */
.wd-home.wp-block-group {
  max-width: none; padding-inline: 0;
  margin-left: calc(var(--wp--style--root--padding-left, 0px) * -1);
  margin-right: calc(var(--wp--style--root--padding-right, 0px) * -1);
}
.wd-home > :not(.alignfull) { box-sizing: border-box; max-width: 1280px; margin-inline: auto; padding-inline: 20px; }

/* Halaman dari "Page": hilangkan judul halaman & jarak bawaan tema */
main:has(.wd-home) { padding-top: 0 !important; padding-bottom: 0 !important; }
main:has(.wd-home) .wp-block-post-title:not(.wd-item-title):not(.wd-row-title):not(.wda-card-title):not(.wda-s-title),
main:has(.wd-home) .entry-title { display: none !important; }
main:has(.wd-home) .entry-content { margin-block: 0 !important; }
main:has(.wd-home) .entry-content:not(.wda-content) > p { margin-block: 0 !important; }

.wd-home .wd-kicker { display: inline-block; margin: 0 0 12px; padding: 5px 12px; border-radius: 999px; background: var(--wd-ink); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wd-gold); }
.wd-home .wd-h2 { margin: 0; font-family: var(--wd-display); font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; color: var(--wd-ink); }
.wd-home .wd-h2-dark { margin-bottom: 24px; font-size: clamp(26px, 3vw, 36px); }
.wd-home .wd-pill { display: inline-block; margin: 0 0 12px; padding: 4px 11px; border-radius: 6px; background: var(--wd-gold); font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.wd-home .wd-pill a { color: var(--wd-ink); }
.wd-home .wd-pill-soft { margin-bottom: 10px; background: var(--wd-gold-soft); }
.wd-home .wd-date { margin: 0; font-size: 13px; font-weight: 600; color: var(--wd-muted); }
.wd-home .wd-date-dark { color: var(--wd-muted); }

/* ---------- Section 1: bento jendela browser ---------- */
.wd-home .wd-s1 { max-width: none; padding: 72px max(20px, calc((100% - 1240px) / 2)) 72px; background: var(--wd-bg); }
.wd-home .wd-head { margin-bottom: 32px; }
.wd-home .wd-feed .wp-block-post-template { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 20px; margin: 0; padding: 0; list-style: none; }
.wd-home .wd-feed .wp-block-post { margin: 0; }
.wd-home .wd-feed .wp-block-post:nth-child(1) { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.wd-home .wd-feed .wp-block-post:nth-child(2) { grid-column: 3 / span 2; grid-row: 1; }
.wd-home .wd-feed .wp-block-post:nth-child(3) { grid-column: 3; grid-row: 2; }
.wd-home .wd-feed .wp-block-post:nth-child(4) { grid-column: 4; grid-row: 2; }
.wd-home .wd-item { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--wd-line); border-radius: 16px; background: var(--wd-surface); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.wd-home .wd-item:hover { transform: translateY(-4px); border-color: var(--wd-ink); box-shadow: 8px 8px 0 var(--wd-gold); }
/* bilah jendela browser */
.wd-home .wd-item::before {
  content: ""; order: 0; flex: none; height: 30px; border-bottom: 1px solid var(--wd-line);
  background:
    radial-gradient(circle 4px at 16px 15px, #0a1244 98%, transparent) no-repeat,
    radial-gradient(circle 4px at 30px 15px, #f8b810 98%, transparent) no-repeat,
    radial-gradient(circle 4px at 44px 15px, #b4b8cc 98%, transparent) no-repeat,
    linear-gradient(#e3e5ee, #e3e5ee) 64px 8px / calc(100% - 84px) 14px no-repeat,
    #f1f2f7;
  background-size: auto, auto, auto, calc(100% - 84px) 14px, auto;
}
.wd-home .wd-item-img { order: 1; margin: 0; line-height: 0; overflow: hidden; }
.wd-home .wd-item-img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.wd-home .wd-item-info { order: 2; display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.wd-home .wd-item .wd-pill { position: relative; z-index: 2; align-self: flex-start; }
.wd-home .wd-item-title { margin: 0 0 8px; font-family: var(--wd-display); font-size: 17px; line-height: 1.32; font-weight: 700; letter-spacing: -0.015em; }
.wd-home .wd-item-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.wd-home .wd-item-title a:hover { text-decoration: underline; text-decoration-color: var(--wd-gold); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.wd-home .wd-item-excerpt { display: none; margin: 0 0 12px; }
.wd-home .wd-item-excerpt .wp-block-post-excerpt__more-text { display: none; }
.wd-home .wd-item .wd-date { margin-top: auto; }
/* dummy: wireframe halaman web */
.wd-home .wd-item:not(:has(img))::after {
  content: ""; order: 1; flex: none; display: block; width: 100%; aspect-ratio: 16 / 9;
  background:
    linear-gradient(#0a1244, #0a1244) 9.8% 10.8% / 18% 7% no-repeat,
    linear-gradient(#c9cde0, #c9cde0) 68.9% 11.5% / 10% 4% no-repeat,
    linear-gradient(#c9cde0, #c9cde0) 84.4% 11.5% / 10% 4% no-repeat,
    linear-gradient(#0a1244, #0a1244) 14.8% 37.4% / 46% 9% no-repeat,
    linear-gradient(#8a90b0, #8a90b0) 12.5% 52.1% / 36% 4% no-repeat,
    linear-gradient(#f8b810, #f8b810) 9.8% 68.9% / 18% 10% no-repeat,
    linear-gradient(#0a1244, #0a1244) 88.6% 56.7% / 30% 40% no-repeat,
    linear-gradient(#e3e5ee, #e3e5ee) 10.8% 93.3% / 26% 10% no-repeat,
    linear-gradient(#e3e5ee, #e3e5ee) 50% 93.3% / 26% 10% no-repeat,
    linear-gradient(#e3e5ee, #e3e5ee) 89.2% 93.3% / 26% 10% no-repeat,
    #ffffff;
}
.wd-home .wd-feed .wp-block-post:nth-child(2) .wd-item:not(:has(img))::after { background:
    linear-gradient(#0a1244, #0a1244) 0 0 / 100% 22% no-repeat,
    linear-gradient(#f8b810, #f8b810) 9.3% 5.6% / 14% 11% no-repeat,
    linear-gradient(#e3e5ee, #e3e5ee) 13.3% 77.3% / 40% 56% no-repeat,
    linear-gradient(#0a1244, #0a1244) 87.1% 39.5% / 38% 14% no-repeat,
    linear-gradient(#c9cde0, #c9cde0) 87.1% 58.9% / 38% 5% no-repeat,
    linear-gradient(#c9cde0, #c9cde0) 77.1% 71.6% / 30% 5% no-repeat,
    linear-gradient(#f8b810, #f8b810) 64.3% 88.9% / 16% 10% no-repeat,
    #ffffff; }
.wd-home .wd-feed .wp-block-post:nth-child(3) .wd-item:not(:has(img))::after { background:
    linear-gradient(#0a1244, #0a1244) 20% 20% / 50% 10% no-repeat,
    linear-gradient(#0a1244, #0a1244) 14.7% 36.2% / 32% 6% no-repeat,
    linear-gradient(#e3e5ee, #e3e5ee) 13.3% 87.2% / 40% 22% no-repeat,
    linear-gradient(#e3e5ee, #e3e5ee) 86.7% 87.2% / 40% 22% no-repeat,
    linear-gradient(#f8b810, #f8b810) 0 0 / 100% 55% no-repeat,
    #ffffff; }
.wd-home .wd-feed .wp-block-post:nth-child(4) .wd-item:not(:has(img))::after { background:
    linear-gradient(#f8b810, #f8b810) 17.2% 24.2% / 42% 9% no-repeat,
    linear-gradient(#8f96c0, #8f96c0) 25% 44.2% / 60% 5% no-repeat,
    linear-gradient(#8f96c0, #8f96c0) 19.2% 56.8% / 48% 5% no-repeat,
    linear-gradient(#ffffff, #ffffff) 13.2% 81.8% / 24% 12% no-repeat,
    #0a1244; }
/* Item utama (besar) */
.wd-home .wd-feed .wp-block-post:nth-child(1) .wd-item-img img { aspect-ratio: auto; height: 100%; min-height: 280px; }
.wd-home .wd-feed .wp-block-post:nth-child(1) .wd-item-img { flex: 1 1 auto; }
.wd-home .wd-feed .wp-block-post:nth-child(1) .wd-item:not(:has(img))::after { flex: 1 1 auto; aspect-ratio: auto; min-height: 300px; }
.wd-home .wd-feed .wp-block-post:nth-child(1) .wd-item-info { flex: none; padding: 24px 28px 28px; }
.wd-home .wd-feed .wp-block-post:nth-child(1) .wd-item-title { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.22; letter-spacing: -0.025em; }
.wd-home .wd-feed .wp-block-post:nth-child(1) .wd-item-excerpt { display: block; }
.wd-home .wd-feed .wp-block-post:nth-child(1) .wd-item-excerpt p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--wd-muted); }
.wd-home .wd-feed .wp-block-post:nth-child(1) .wd-item .wd-date { margin-top: 14px; }
/* Item kedua (lebar, horizontal) */
.wd-home .wd-feed .wp-block-post:nth-child(2) .wd-item-title { font-size: 20px; }

/* ---------- Section 2: daftar + sidebar ---------- */
.wd-home .wd-s2 { padding-top: 24px; padding-bottom: 96px; }
.wd-home .wd-layout.wp-block-columns { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 48px; margin: 0; }
.wd-home .wd-main { flex: 1 1 0; min-width: 0; }
.wd-home .wd-side-col { flex: 0 0 300px; }
.wd-home .wd-list .wp-block-post-template { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.wd-home .wd-list .wp-block-post { margin: 0; }
.wd-home .wd-row { position: relative; display: flex; flex-wrap: nowrap; align-items: stretch; overflow: hidden; border: 1px solid var(--wd-line); border-radius: 14px; background: var(--wd-surface); transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s; }
.wd-home .wd-row:hover { transform: translate(-3px, -3px); border-color: var(--wd-ink); box-shadow: 6px 6px 0 var(--wd-gold); }
.wd-home .wd-row-thumb { flex: 0 0 210px; line-height: 0; overflow: hidden; border-right: 1px solid var(--wd-line); }
.wd-home .wd-row-img { margin: 0; height: 100%; }
.wd-home .wd-row-img img { display: block; width: 100%; height: 100%; min-height: 150px; object-fit: cover; }
.wd-home .wd-row-thumb:not(:has(img))::before {
  content: ""; display: block; width: 100%; height: 100%; min-height: 160px;
  background:
    linear-gradient(#0a1244, #0a1244) 0 0 / 100% 16% no-repeat,
    linear-gradient(#f8b810, #f8b810) 9.3% 4.3% / 14% 8% no-repeat,
    linear-gradient(#0a1244, #0a1244) 20.8% 33.3% / 52% 10% no-repeat,
    linear-gradient(#8a90b0, #8a90b0) 16.7% 50.5% / 40% 5% no-repeat,
    linear-gradient(#f8b810, #f8b810) 13.2% 68.9% / 24% 10% no-repeat,
    linear-gradient(#e3e5ee, #e3e5ee) 89.2% 51.7% / 26% 42% no-repeat,
    linear-gradient(#e3e5ee, #e3e5ee) 16.1% 89.1% / 38% 8% no-repeat,
    #ffffff;
}
.wd-home .wd-list .wp-block-post:nth-child(3n+2) .wd-row-thumb:not(:has(img))::before { background:
    linear-gradient(#0a1244, #0a1244) 22.7% 17.8% / 56% 10% no-repeat,
    linear-gradient(#0a1244, #0a1244) 15.6% 36.2% / 36% 6% no-repeat,
    linear-gradient(#e3e5ee, #e3e5ee) 13.3% 87.8% / 40% 18% no-repeat,
    linear-gradient(#e3e5ee, #e3e5ee) 86.7% 87.8% / 40% 18% no-repeat,
    linear-gradient(#f8b810, #f8b810) 0 0 / 100% 60% no-repeat,
    #ffffff; }
.wd-home .wd-list .wp-block-post:nth-child(3n) .wd-row-thumb:not(:has(img))::before { background:
    linear-gradient(#f8b810, #f8b810) 17.9% 26.4% / 44% 9% no-repeat,
    linear-gradient(#8f96c0, #8f96c0) 26.3% 46.3% / 62% 5% no-repeat,
    linear-gradient(#8f96c0, #8f96c0) 20% 58.9% / 50% 5% no-repeat,
    linear-gradient(#ffffff, #ffffff) 13.5% 84.1% / 26% 12% no-repeat,
    #0a1244; }
.wd-home .wd-row-body { flex: 1 1 0; min-width: 0; padding: 22px 26px; }
.wd-home .wd-row-title { margin: 0 0 8px; font-family: var(--wd-display); font-size: 19px; line-height: 1.32; font-weight: 700; letter-spacing: -0.015em; }
.wd-home .wd-row-title a::after { content: ""; position: absolute; inset: 0; }
.wd-home .wd-row-title a:hover { text-decoration: underline; text-decoration-color: var(--wd-gold); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.wd-home .wd-row .wd-pill { position: relative; z-index: 2; }
.wd-home .wd-row-excerpt { margin: 0 0 12px; }
.wd-home .wd-row-excerpt p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--wd-muted); }
.wd-home .wd-row-excerpt .wp-block-post-excerpt__more-text { display: none; }

.wd-home .wd-list .wp-block-query-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-top: 36px; gap: 8px; font-size: 15px; font-weight: 600; }
.wd-home .wd-list .wp-block-query-pagination .wp-block-query-pagination-numbers { display: flex; gap: 8px; }
.wd-home .wd-list .wp-block-query-pagination .page-numbers,
.wd-home .wd-list .wp-block-query-pagination-previous,
.wd-home .wd-list .wp-block-query-pagination-next { padding: 9px 16px; border: 1px solid var(--wd-line); border-radius: 10px; background: var(--wd-surface); }
.wd-home .wd-list .wp-block-query-pagination .page-numbers.current { border-color: var(--wd-ink); background: var(--wd-ink); color: var(--wd-gold); }
.wd-home .wd-list .wp-block-query-pagination a:hover { border-color: var(--wd-ink); background: var(--wd-gold-soft); }

/* Sidebar (kartu putih, aksen emas) */
.wd-home .wd-side { position: sticky; top: 96px; padding: 24px; border: 1px solid var(--wd-ink); border-radius: 16px; background: var(--wd-surface); box-shadow: 6px 6px 0 var(--wd-gold); }
.wd-home .wd-search { margin: 0 0 22px; }
.wd-home .wd-search .wp-block-search__inside-wrapper { display: flex; gap: 8px; }
.wd-home .wd-search input[type="search"] { flex: 1 1 auto; min-width: 0; padding: 11px 14px; border: 1px solid var(--wd-line); border-radius: 10px; background: var(--wd-bg); font-family: var(--wd-sans); font-size: 14.5px; color: var(--wd-ink); }
.wd-home .wd-search .wp-block-search__button { margin: 0; padding: 11px 16px; border: 0; border-radius: 10px; background: var(--wd-ink); font-family: var(--wd-sans); font-size: 14px; font-weight: 700; color: var(--wd-gold); cursor: pointer; }
.wd-home .wd-side-title { margin: 0 0 8px; font-family: var(--wd-display); font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wd-ink); }
.wd-home .wd-cats { margin: 0; padding: 0; list-style: none; }
.wd-home .wd-cats li { margin: 0; padding: 11px 0; border-bottom: 1px dashed var(--wd-line); font-size: 15px; font-weight: 500; color: var(--wd-muted); }
.wd-home .wd-cats li:last-child { border-bottom: 0; }
.wd-home .wd-cats a { color: var(--wd-ink); font-weight: 600; }
.wd-home .wd-cats a:hover { background: var(--wd-gold-soft); }

@media (max-width: 900px) {
  .wd-home .wd-feed .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .wd-home .wd-feed .wp-block-post:nth-child(n) { grid-column: auto; grid-row: auto; }
  .wd-home .wd-feed .wp-block-post:nth-child(1), .wd-home .wd-feed .wp-block-post:nth-child(2) { grid-column: 1 / -1; }
  .wd-home .wd-feed .wp-block-post:nth-child(1) .wd-item-img img { min-height: 0; aspect-ratio: 16 / 9; height: auto; }
  .wd-home .wd-feed .wp-block-post:nth-child(1) .wd-item:not(:has(img))::after { aspect-ratio: 16 / 9; min-height: 0; flex: none; }
  .wd-home .wd-layout.wp-block-columns { flex-wrap: wrap; gap: 40px; }
  .wd-home .wd-side-col { flex: 1 1 100% !important; }
  .wd-home .wd-side { position: static; }
}
@media (max-width: 640px) {
  .wd-home .wd-s1 { padding-top: 48px; padding-bottom: 48px; }
  .wd-home .wd-feed .wp-block-post-template { grid-template-columns: 1fr; }
  .wd-home .wd-feed .wp-block-post:nth-child(n) { grid-column: auto; }
  .wd-home .wd-row { flex-direction: column; }
  .wd-home .wd-row-thumb { flex: none; border-right: 0; border-bottom: 1px solid var(--wd-line); }
  .wd-home .wd-row-thumb:not(:has(img))::before { min-height: 150px; }
}

/* ===== Header WebsiteDesign-Indonesia (logo + judul + menu) ===== */
header:has(.wd-header) { position: sticky; top: 0; z-index: 50; margin: 0 !important; padding: 0 !important; }
.wd-header { padding: 12px 20px; background: #f8f8f8; border-bottom: 1px solid #e3e5ee; color: #0a1244; }
.wd-header .wd-header-inner { max-width: 1240px; margin-inline: auto; display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 20px; }
.wd-header .wd-brand { display: flex; flex-wrap: nowrap; align-items: center; gap: 12px; }
.wd-header .wp-block-site-logo { margin: 0; line-height: 0; }
.wd-header .wp-block-site-logo img { display: block; width: 42px; height: 42px; border-radius: 8px; object-fit: cover; }
.wd-header .wd-site-title { margin: 0; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.wd-header .wd-site-title a { color: #0a1244; text-decoration: none; }
.wd-header .wd-nav { font-family: 'DM Sans', system-ui, sans-serif; font-size: 15px; font-weight: 600; }
.wd-header .wd-nav a { padding: 7px 14px; border-radius: 8px; color: #0a1244; text-decoration: none; transition: background 0.2s; }
.wd-header .wd-nav a:hover { background: #f8b810; }
.wd-header .wp-block-navigation__responsive-container-open, .wd-header .wp-block-navigation__responsive-container-close { color: #0a1244; }
.wd-header .wp-block-navigation__responsive-container.is-menu-open { background: #0a1244; color: #fff; }
.wd-header .wp-block-navigation__responsive-container.is-menu-open a { color: #fff; background: transparent; font-size: 22px; }

/* ===== WebsiteDesign-Indonesia: archive & single (kategori, tag, tanggal, penulis, blog, pencarian, artikel) ===== */
main:has(.wda-page) { padding-block: 0 !important; }

/* Band judul (navy) */
.wd-home .wda-band { max-width: none; padding: 72px max(20px, calc((100% - 1240px) / 2)) 64px; background: var(--wd-ink); color: #fff; border-bottom: 6px solid var(--wd-gold); }
.wd-home .wda-band > * { max-width: 820px; margin-inline: 0; }
.wd-home .wda-kicker { display: inline-block; margin: 0 0 14px; padding: 5px 12px; border-radius: 999px; background: var(--wd-gold); font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wd-ink); }
.wd-home .wda-title { margin: 0 0 12px; font-family: var(--wd-display); font-size: clamp(32px, 4.8vw, 54px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.wd-home .wda-desc { margin: 0; font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, 0.78); }
.wd-home .wda-band .wda-search { margin: 26px 0 0; max-width: 520px; }
.wd-home .wda-band .wda-search .wp-block-search__inside-wrapper { display: flex; gap: 8px; }
.wd-home .wda-band .wda-search input[type="search"] { flex: 1 1 auto; min-width: 0; padding: 13px 16px; border: 0; border-radius: 10px; background: #fff; font-family: var(--wd-sans); font-size: 15px; color: var(--wd-ink); }
.wd-home .wda-band .wda-search .wp-block-search__button { margin: 0; padding: 13px 20px; border: 0; border-radius: 10px; background: var(--wd-gold); font-family: var(--wd-sans); font-size: 14.5px; font-weight: 700; color: var(--wd-ink); cursor: pointer; }

.wd-home .wda-body { padding-top: 56px; padding-bottom: 96px; }
.wd-home .wda-body .wd-layout.wp-block-columns { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 48px; margin: 0; }
.wd-home .wda-body .wd-main { flex: 1 1 0; min-width: 0; }
.wd-home .wda-body .wd-side-col { flex: 0 0 300px; }

/* Grid kartu jendela browser: artikel pertama melebar */
.wd-home .wda-grid .wp-block-post-template { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.wd-home .wda-grid .wp-block-post { margin: 0; }
.wd-home .wda-grid .wp-block-post:first-child { grid-column: 1 / -1; }
.wd-home .wda-card { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--wd-line); border-radius: 16px; background: var(--wd-surface); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.wd-home .wda-card:hover { transform: translate(-3px, -3px); border-color: var(--wd-ink); box-shadow: 7px 7px 0 var(--wd-gold); }
.wd-home .wda-card::before { content: ""; order: 0; flex: none; height: 30px; border-bottom: 1px solid var(--wd-line); background:
    radial-gradient(circle 4px at 16px 15px, #0a1244 98%, transparent) no-repeat,
    radial-gradient(circle 4px at 30px 15px, #f8b810 98%, transparent) no-repeat,
    radial-gradient(circle 4px at 44px 15px, #b4b8cc 98%, transparent) no-repeat,
    linear-gradient(#e3e5ee, #e3e5ee) 64px 8px / calc(100% - 84px) 14px no-repeat,
    #f1f2f7;
  background-size: auto, auto, auto, calc(100% - 84px) 14px, auto; }
.wd-home .wda-card-img { order: 1; margin: 0; line-height: 0; overflow: hidden; }
.wd-home .wda-card-img img { display: block; width: 100%; aspect-ratio: 16 / 9 !important; object-fit: cover; }
.wd-home .wda-card-body { order: 2; display: flex; flex-direction: column; flex: 1; padding: 20px 22px 24px; }
.wd-home .wda-grid .wp-block-post:first-child .wda-card { flex-direction: row; flex-wrap: wrap; }
.wd-home .wda-grid .wp-block-post:first-child .wda-card::before { flex: 0 0 100%; }
.wd-home .wda-grid .wp-block-post:first-child .wda-card-img { flex: 0 0 52%; }
.wd-home .wda-grid .wp-block-post:first-child .wda-card-img img { height: 100%; aspect-ratio: auto !important; }
.wd-home .wda-grid .wp-block-post:first-child .wda-card-body { flex: 1 1 0; justify-content: center; padding: 32px 36px; }
/* dummy: wireframe halaman web */
.wd-home .wda-card:not(:has(img))::after { content: ""; order: 1; flex: none; display: block; width: 100%; aspect-ratio: 16 / 9; background: 
    linear-gradient(#0a1244, #0a1244) 9.8% 10.8% / 18% 7% no-repeat,
    linear-gradient(#c9cde0, #c9cde0) 68.9% 11.5% / 10% 4% no-repeat,
    linear-gradient(#c9cde0, #c9cde0) 84.4% 11.5% / 10% 4% no-repeat,
    linear-gradient(#0a1244, #0a1244) 14.8% 37.4% / 46% 9% no-repeat,
    linear-gradient(#8a90b0, #8a90b0) 12.5% 52.1% / 36% 4% no-repeat,
    linear-gradient(#f8b810, #f8b810) 9.8% 68.9% / 18% 10% no-repeat,
    linear-gradient(#0a1244, #0a1244) 88.6% 56.7% / 30% 40% no-repeat,
    linear-gradient(#e3e5ee, #e3e5ee) 10.8% 93.3% / 26% 10% no-repeat,
    linear-gradient(#e3e5ee, #e3e5ee) 50% 93.3% / 26% 10% no-repeat,
    linear-gradient(#e3e5ee, #e3e5ee) 89.2% 93.3% / 26% 10% no-repeat,
    #ffffff; }
.wd-home .wda-grid .wp-block-post:nth-child(3n+2) .wda-card:not(:has(img))::after { background: 
    linear-gradient(#0a1244, #0a1244) 0 0 / 100% 22% no-repeat,
    linear-gradient(#f8b810, #f8b810) 9.3% 5.6% / 14% 11% no-repeat,
    linear-gradient(#e3e5ee, #e3e5ee) 13.3% 77.3% / 40% 56% no-repeat,
    linear-gradient(#0a1244, #0a1244) 87.1% 39.5% / 38% 14% no-repeat,
    linear-gradient(#c9cde0, #c9cde0) 87.1% 58.9% / 38% 5% no-repeat,
    linear-gradient(#c9cde0, #c9cde0) 77.1% 71.6% / 30% 5% no-repeat,
    linear-gradient(#f8b810, #f8b810) 64.3% 88.9% / 16% 10% no-repeat,
    #ffffff; }
.wd-home .wda-grid .wp-block-post:nth-child(3n) .wda-card:not(:has(img))::after { background: 
    linear-gradient(#0a1244, #0a1244) 20% 20% / 50% 10% no-repeat,
    linear-gradient(#0a1244, #0a1244) 14.7% 36.2% / 32% 6% no-repeat,
    linear-gradient(#e3e5ee, #e3e5ee) 13.3% 87.2% / 40% 22% no-repeat,
    linear-gradient(#e3e5ee, #e3e5ee) 86.7% 87.2% / 40% 22% no-repeat,
    linear-gradient(#f8b810, #f8b810) 0 0 / 100% 55% no-repeat,
    #ffffff; }
.wd-home .wda-grid .wp-block-post:first-child .wda-card:not(:has(img))::after { flex: 0 0 52%; width: 52%; aspect-ratio: auto; min-height: 300px; }
.wd-home .wda-card .wd-pill { position: relative; z-index: 2; align-self: flex-start; }
.wd-home .wda-card-title { margin: 0 0 10px; font-family: var(--wd-display); font-size: 19px; line-height: 1.32; font-weight: 700; letter-spacing: -0.015em; }
.wd-home .wda-grid .wp-block-post:first-child .wda-card-title { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.22; }
.wd-home .wda-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.wd-home .wda-card-title a:hover { text-decoration: underline; text-decoration-color: var(--wd-gold); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.wd-home .wda-card-excerpt { margin: 0 0 14px; }
.wd-home .wda-card-excerpt p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--wd-muted); }
.wd-home .wda-card-excerpt .wp-block-post-excerpt__more-text { display: none; }
.wd-home .wda-card-body .wd-date { margin-top: auto; }

.wd-home .wda-grid .wp-block-query-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-top: 40px; gap: 8px; font-size: 15px; font-weight: 600; }
.wd-home .wda-grid .wp-block-query-pagination .wp-block-query-pagination-numbers { display: flex; gap: 8px; }
.wd-home .wda-grid .wp-block-query-pagination .page-numbers,
.wd-home .wda-grid .wp-block-query-pagination-previous,
.wd-home .wda-grid .wp-block-query-pagination-next { padding: 9px 16px; border: 1px solid var(--wd-line); border-radius: 10px; background: var(--wd-surface); }
.wd-home .wda-grid .wp-block-query-pagination .page-numbers.current { border-color: var(--wd-ink); background: var(--wd-ink); color: var(--wd-gold); }
.wd-home .wda-grid .wp-block-query-pagination a:hover { border-color: var(--wd-ink); background: var(--wd-gold-soft); }

/* ---------- Single ---------- */
.wd-home .wda-s-title { max-width: 900px; margin: 0 0 8px; font-family: var(--wd-display); font-size: clamp(28px, 4.2vw, 46px); font-weight: 800; line-height: 1.16; letter-spacing: -0.03em; color: #fff; }
.wd-home .wda-band-single .wda-kicker { margin-right: 8px; }
.wd-home .wda-band-single .wd-pill { margin-bottom: 18px; }
.wd-home .wda-s-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.wd-home .wda-s-meta p, .wd-home .wda-s-meta div { margin: 0; }
.wd-home .wda-s-meta .wp-block-post-author-name { font-weight: 700; color: #fff; }
.wd-home .wda-s-meta .wd-date { color: rgba(255, 255, 255, 0.8); }
.wd-home .wda-article { box-sizing: border-box; padding: 44px 48px; border: 1px solid var(--wd-ink); border-radius: 16px; background: var(--wd-surface); box-shadow: 8px 8px 0 var(--wd-gold); }
.wd-home .wda-s-cover { margin: 0 0 32px; overflow: hidden; border: 1px solid var(--wd-line); border-radius: 12px; }
.wd-home .wda-s-cover img { display: block; width: 100%; height: auto; }
.wda-content { font-family: 'DM Sans', system-ui, sans-serif; font-size: 17.5px; line-height: 1.8; color: #262c55; }
.wda-content > * { box-sizing: border-box; max-width: 100%; margin-block: 0 1.25em; }
.wda-content p, .wda-content li { font-size: 17.5px; line-height: 1.8; }
.wda-content a { color: #0a1244; font-weight: 600; text-decoration: underline; text-decoration-color: #f8b810; text-decoration-thickness: 3px; text-underline-offset: 3px; }
.wda-content a:hover { background: #fff1c7; }
.wda-content h2, .wda-content h3, .wda-content h4 { margin: 1.9em 0 0.6em; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; color: #0a1244; }
.wda-content h2 { display: block; padding-bottom: 10px; border-bottom: 3px solid #f8b810; font-size: 28px; }
.wda-content h3 { font-size: 22px; }
.wda-content h4 { font-size: 18px; }
.wda-content ul, .wda-content ol { padding-left: 1.4em; }
.wda-content ul { list-style: disc; }
.wda-content ol { list-style: decimal; }
.wda-content li { margin-bottom: 0.45em; }
.wda-content li::marker { color: #d49c00; font-weight: 700; }
.wda-content blockquote { margin: 1.8em 0; margin-inline: 0; padding: 20px 26px; border: 1px solid #0a1244; border-left-width: 6px; border-left-color: #f8b810; border-radius: 12px; background: #fff1c7; }
.wda-content blockquote p { margin: 0; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 19px; font-weight: 700; line-height: 1.5; color: #0a1244; }
.wda-content img { max-width: 100%; height: auto; border-radius: 10px; }
.wda-content table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.wda-content th { padding: 11px 14px; background: #0a1244; text-align: left; color: #f8b810; }
.wda-content td { padding: 11px 14px; border-bottom: 1px solid #e3e5ee; }
.wda-content tr:nth-child(even) td { background: #f8f8f8; }
.wda-content code { padding: 2px 7px; border-radius: 6px; background: #eef0f6; font-size: 0.9em; }
.wda-content pre { overflow-x: auto; padding: 18px 20px; border-radius: 12px; background: #0a1244; color: #e3e5ee; }
.wd-home .wda-tags { margin: 32px 0 0; padding-top: 20px; border-top: 1px solid var(--wd-line); font-size: 14px; font-weight: 600; color: var(--wd-muted); }
.wd-home .wda-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 12px; border-radius: 6px; background: var(--wd-gold-soft); color: var(--wd-ink); }
.wd-home .wda-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 28px; }
.wd-home .wda-nav > * { flex: 1 1 260px; margin: 0; padding: 16px 20px; border: 1px solid var(--wd-line); border-radius: 12px; background: var(--wd-bg); font-size: 15px; font-weight: 600; }
.wd-home .wda-nav .post-navigation-link-next { text-align: right; }
.wd-home .wda-nav a:hover { background: var(--wd-gold-soft); }

@media (max-width: 900px) {
  .wd-home .wda-body .wd-layout.wp-block-columns { flex-wrap: wrap; gap: 40px; }
  .wd-home .wda-body .wd-side-col { flex: 1 1 100% !important; }
}
@media (max-width: 700px) {
  .wd-home .wda-band { padding-top: 48px; padding-bottom: 44px; }
  .wd-home .wda-grid .wp-block-post-template { grid-template-columns: 1fr; }
  .wd-home .wda-grid .wp-block-post:first-child .wda-card { flex-direction: column; flex-wrap: nowrap; }
  .wd-home .wda-grid .wp-block-post:first-child .wda-card-img { flex: none; }
  .wd-home .wda-grid .wp-block-post:first-child .wda-card-img img { height: auto; aspect-ratio: 16 / 9 !important; }
  .wd-home .wda-grid .wp-block-post:first-child .wda-card:not(:has(img))::after { flex: none; width: 100%; min-height: 0; aspect-ratio: 16 / 9; }
  .wd-home .wda-grid .wp-block-post:first-child .wda-card-body { padding: 22px; }
  .wd-home .wda-article { padding: 26px 20px; box-shadow: 5px 5px 0 var(--wd-gold); }
  .wda-content, .wda-content p, .wda-content li { font-size: 16.5px; }
  .wda-content h2 { font-size: 24px; }
}
