/*
Theme Name: Serambi
Theme URI: https://masasha.net
Description: Tema blog pribadi yang hangat untuk MASASHA (V.2 dari Masasha Grid). Satu kolom yang nyaman dibaca, sapaan dari penulis di beranda, foto bergaya polaroid, daftar tulisan seperti buku harian, dan footer yang ramah. Tanpa mosaik ala media besar dan tanpa peringkat popularitas. Tetap membawa daftar isi otomatis, mode terang/gelap, tulisan terkait, dan pencatat kunjungan yang tahan cache.
Author: Fani
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: masasha-serambi
*/

/* =========================================================
   1. Token
   ========================================================= */
:root {
    --font-ui: Avenir, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-read: var(--font-ui);
    --font-head: var(--font-ui);
    --font-hand: "Caveat", "Segoe Script", "Bradley Hand", cursive;

    --bg: #FBF6EE;
    --surface: #FFFDF8;
    --ink: #2B2118;
    --text: #4A3F35;
    --read: #362C23;
    --muted: #7A6C5F;
    --line: #EADFCF;
    --line-strong: #D9C9B2;

    --primary: #B4532A;
    --primary-hover: #8F3F1D;
    --on-primary: #FFFFFF;
    --tint: rgba(180, 83, 42, .09);

    --chip-bg: #F6E4CF;
    --chip-ink: #7A3A18;
    --rank: #B4532A;
    --beam-a: #B4532A;
    --beam-b: #E8B04B;
    --ph-1: #8F3F1D;
    --ph-2: #C9824F;

    --radius-img: 10px;
    --radius-ctl: 10px;
    --wrap: 980px;
    --read-w: 700px;
    --header-h: 64px;

    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #17130F; --surface: #1F1914; --ink: #F4EBDD; --text: #D8CCBA; --read: #E2D7C6;
        --muted: #A89A88; --line: #2F2720; --line-strong: #44392F;
        --primary: #E39A6D; --primary-hover: #F0B48E; --on-primary: #17130F;
        --tint: rgba(227, 154, 109, .13);
        --chip-bg: rgba(232, 176, 75, .16); --chip-ink: #F1CD8A; --rank: #E8B04B;
        --ph-1: #4A2A18; --ph-2: #7A4A2C;
        color-scheme: dark;
    }
}

:root[data-theme="dark"] {
    --bg: #17130F; --surface: #1F1914; --ink: #F4EBDD; --text: #D8CCBA; --read: #E2D7C6;
    --muted: #A89A88; --line: #2F2720; --line-strong: #44392F;
    --primary: #E39A6D; --primary-hover: #F0B48E; --on-primary: #17130F;
    --tint: rgba(227, 154, 109, .13);
    --chip-bg: rgba(232, 176, 75, .16); --chip-ink: #F1CD8A; --rank: #E8B04B;
    --ph-1: #4A2A18; --ph-2: #7A4A2C;
    color-scheme: dark;
}

/* =========================================================
   2. Dasar
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 1.6;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--font-ui);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.015em;
    color: var(--ink);
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, textarea { font: inherit; color: inherit; }

[hidden] { display: none !important; }

:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.menu-open { overflow: hidden; }

.wrap {
    width: 100%;
    max-width: calc(var(--wrap) + 48px);
    margin-inline: auto;
    padding-inline: 24px;
}

.site-main { min-height: 60vh; padding-top: 4px; }
.site-main .wrap > section:first-child { margin-top: 32px; }

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}
.skip-link:focus {
    clip: auto;
    clip-path: none;
    height: auto;
    width: auto;
    margin: 0;
    overflow: visible;
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 12px 18px;
    background: var(--primary);
    color: var(--on-primary);
    border-radius: var(--radius-ctl);
    font-weight: 700;
}

/* =========================================================
   3. Header
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* Garis cahaya: tampil sekali saat halaman dibuka; di halaman tulisan jadi penanda progres baca */
.beam {
    height: 3px;
    background: linear-gradient(90deg, var(--beam-a), var(--beam-b) 55%, rgba(249, 161, 72, 0));
    transform-origin: 0 50%;
    animation: beam-in .9s cubic-bezier(.2, .7, .2, 1) both;
}
.beam--progress {
    background: linear-gradient(90deg, var(--beam-a), var(--beam-b));
    animation: none;
    transform: scaleX(var(--p, 0));
}
@keyframes beam-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: var(--header-h);
}

.brand { margin: 0; flex: 0 0 auto; font-size: inherit; line-height: 1; }
.brand__name {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.035em;
    color: var(--primary);
    white-space: nowrap;
}
.brand__name:hover { color: var(--primary-hover); text-decoration: none; }
.brand .custom-logo-link { display: block; }
.brand .custom-logo { max-height: 40px; width: auto; }

.primary-nav { flex: 1 1 auto; min-width: 0; }
.primary-nav .menu { list-style: none; display: flex; flex-wrap: wrap; gap: 2px; }
.primary-nav .menu li { position: relative; }
.primary-nav .menu a {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
}
.primary-nav .menu a:hover { background: var(--tint); color: var(--ink); }
.primary-nav .menu .current-menu-item > a,
.primary-nav .menu .current-menu-ancestor > a,
.primary-nav .menu .current-post-ancestor > a,
.primary-nav .menu .current-category-ancestor > a,
.primary-nav .menu .current-cat > a {
    color: var(--ink);
    box-shadow: inset 0 -2px 0 var(--beam-b);
    border-radius: 8px 8px 0 0;
}

.primary-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    list-style: none;
    padding: 6px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(20, 10, 10, .14);
    z-index: 20;
}
.primary-nav .menu li:hover > .sub-menu,
.primary-nav .menu li:focus-within > .sub-menu,
.primary-nav .menu li.submenu-open > .sub-menu { display: block; }
.primary-nav .sub-menu a { font-weight: 500; }

.header-tools { display: flex; gap: 4px; margin-left: auto; }

.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: var(--radius-ctl);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
}
.icon-btn:hover { background: var(--tint); }

.tt-moon { display: inline-grid; place-items: center; }
.tt-sun  { display: none; place-items: center; }
html[data-theme="dark"] .tt-moon { display: none; }
html[data-theme="dark"] .tt-sun  { display: inline-grid; }
@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .tt-moon { display: none; }
    html:not([data-theme="light"]) .tt-sun  { display: inline-grid; }
}

.menu-toggle { display: none; }
.drawer-close { display: none; }
.drawer-overlay { position: fixed; inset: 0; z-index: 1; background: rgba(12, 8, 8, .55); }

.search-panel { border-top: 1px solid var(--line); background: var(--surface); }
.search-form { display: flex; gap: 10px; }
.search-panel .search-form { padding: 12px 0; }
.search-form input[type="search"] {
    flex: 1;
    min-width: 0;
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-ctl);
    background: var(--bg);
    color: var(--ink);
    font-weight: 500;
}
.search-form input[type="search"]:focus-visible { outline-offset: 0; }

/* =========================================================
   4. Tombol, label, meta
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: 0;
    border-radius: var(--radius-ctl);
    background: var(--primary);
    color: var(--on-primary);
    font: 700 15px/1.2 var(--font-ui);
    cursor: pointer;
    text-decoration: none;
}
.btn:hover { background: var(--primary-hover); color: var(--on-primary); text-decoration: none; }
.btn:disabled { opacity: .6; cursor: progress; }
.btn--large { padding: 14px 34px; font-size: 16px; }
.btn--ghost { background: transparent; color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--primary); }
.btn--ghost:hover { background: var(--tint); color: var(--primary); }

.chip {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--chip-bg);
    color: var(--chip-ink);
    font: 700 12.5px/1.5 var(--font-ui);
    text-decoration: none;
}
.chip:hover { color: var(--chip-ink); text-decoration: underline; }

.meta { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--muted); font-size: 13.5px; }
.meta__item { display: inline-flex; align-items: center; gap: 6px; }
.meta__item .icon { flex: none; }

.more { display: flex; flex-direction: column; align-items: center; margin-top: 44px; }
.pagination { margin-top: 44px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-ctl);
    background: var(--surface);
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}
a.page-numbers:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.page-numbers.current { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.page-numbers.dots { border-color: transparent; background: none; }

/* =========================================================
   7. Arsip, jejak halaman, status kosong
   ========================================================= */
.crumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin: 22px 0 18px;
    font-size: 14px;
    color: var(--muted);
}
.crumbs li { display: flex; align-items: center; gap: 8px; min-width: 0; }
.crumbs li + li::before { content: "/"; color: var(--line-strong); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--primary); }
.crumbs [aria-current] {
    display: block;
    max-width: min(52ch, 60vw);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--ink);
}

.archive-head { padding: 8px 0 24px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.archive-head__title { font-size: clamp(28px, 4.2vw, 42px); line-height: 1.15; letter-spacing: -.025em; }
.archive-head__desc { margin-top: 10px; max-width: 60ch; font-size: 17px; color: var(--text); }
.archive-head__count { margin-top: 10px; font-size: 14px; color: var(--muted); }

.empty { padding: 40px 0; color: var(--muted); }
.empty-state { max-width: 640px; padding: 24px 0 8px; }
.empty-state p { margin: 12px 0; }
.empty-state--page { padding: 40px 0; }
.empty-state .search-form { margin: 20px 0; }
.empty-state__cats { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.empty-state__cats a {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.empty-state__cats a:hover { border-color: var(--primary); color: var(--primary); }

/* =========================================================
   8. Halaman tulisan
   ========================================================= */
.site-main .single { max-width: var(--read-w); margin-inline: auto; }
.single__head { margin-bottom: 28px; }
.single__cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.single__title {
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.14;
    letter-spacing: -.025em;
    text-wrap: balance;
}
.single__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 22px;
    margin-top: 20px;
    font-size: 14.5px;
    color: var(--muted);
}
.single__author { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.single__avatar { width: 36px; height: 36px; border-radius: 50%; }
.meta__updated { margin-left: 4px; color: var(--primary); font-weight: 600; }
.meta__updated::before { content: "– "; }
.meta__link { color: var(--muted); }
.meta__link:hover { color: var(--primary); text-decoration: none; }

.single__figure { margin: 0 0 32px; }
.single__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-img); }
.single__figure figcaption { margin-top: 8px; font-size: 13.5px; color: var(--muted); }

.entry {
    font-family: var(--font-read);
    font-size: 19px;
    line-height: 1.8;
    color: var(--read);
    overflow-wrap: break-word;
}
.entry::after { content: ""; display: table; clear: both; }
.entry p { margin: 0 0 1.35em; }
.entry h2, .entry h3, .entry h4 { scroll-margin-top: calc(var(--header-h) + 20px); }
.entry h2 { font-size: 28px; line-height: 1.25; margin: 2em 0 .7em; }
.entry h3 { font-size: 22px; margin: 1.8em 0 .6em; }
.entry h4 { font-size: 18px; margin: 1.6em 0 .5em; }
.entry a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry a:hover { text-decoration-thickness: 2px; }
.entry ul, .entry ol { margin: 0 0 1.35em; padding-left: 1.5em; }
.entry li { margin: .4em 0; }
.entry li > ul, .entry li > ol { margin: .4em 0 0; }
.entry blockquote {
    margin: 1.8em 0;
    padding: .2em 0 .2em 1.2em;
    border-left: 4px solid var(--beam-a);
    font-style: italic;
    color: var(--text);
}
.entry blockquote p:last-child { margin-bottom: 0; }
.entry img, .entry video { border-radius: 10px; }
.entry img.emoji, .entry img.wp-smiley { display: inline; border-radius: 0; }
.entry figure { margin: 1.8em 0; }
.entry figcaption, .entry .wp-caption-text {
    margin-top: 8px;
    font: 500 14px/1.5 var(--font-ui);
    color: var(--muted);
    text-align: center;
}
.entry .alignleft  { float: left;  margin: .4em 1.4em 1em 0; max-width: 50%; }
.entry .alignright { float: right; margin: .4em 0 1em 1.4em; max-width: 50%; }
.entry .aligncenter { margin-inline: auto; }
.entry .alignwide, .entry .alignfull { max-width: 100%; }
.entry table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    margin: 1.6em 0;
    font: 15px/1.5 var(--font-ui);
}
.entry th, .entry td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry th { background: var(--surface); color: var(--ink); }
.entry pre {
    overflow-x: auto;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    font: 14px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.entry code { padding: .1em .35em; border-radius: 5px; background: var(--surface); font: .9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.entry pre code { padding: 0; background: none; }
.entry hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.page-links { margin-top: 24px; font-family: var(--font-ui); }

/* Daftar Isi (plugin LuckyWP Table of Contents) disesuaikan dengan tema */
.entry .lwptoc { margin: 1.8em 0; }
.entry .lwptoc .lwptoc_i {
    padding: 16px 20px !important;
    border: 1px solid var(--line) !important;
    border-radius: 12px;
    background: var(--surface) !important;
    color: var(--text) !important;
    font: 15px/1.5 var(--font-ui);
}
.entry .lwptoc .lwptoc_title { font-size: 16px; font-weight: 800; color: var(--ink) !important; }
.entry .lwptoc .lwptoc_toggle,
.entry .lwptoc .lwptoc_toggle a { color: var(--muted) !important; font-weight: 600; }
.entry .lwptoc .lwptoc_item { margin: 6px 0; }
.entry .lwptoc .lwptoc_item a { color: var(--text) !important; text-decoration: none; }
.entry .lwptoc .lwptoc_item a:hover { color: var(--primary) !important; text-decoration: underline; }
.entry .lwptoc .lwptoc_item_number { color: var(--muted); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.tags .tag {
    padding: 4px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
}
.tags .tag:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }

.share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.share__label { margin-right: 4px; font-weight: 800; color: var(--ink); }
.share__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-ctl);
    background: var(--surface);
    color: var(--text);
    font: 600 14px/1 var(--font-ui);
    cursor: pointer;
    text-decoration: none;
}
.share__btn:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }

.bio {
    display: flex;
    gap: 18px;
    margin-top: 32px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}
.bio__avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; }
.bio__name { font-size: 17px; font-weight: 800; color: var(--ink); }
.bio__name a { color: inherit; }
.bio__desc { margin-top: 4px; font-size: 15px; color: var(--text); }

.postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.postnav__link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    color: inherit;
    text-decoration: none;
}
.postnav__link:hover { border-color: var(--primary); text-decoration: none; }
.postnav__prev { grid-column: 1; }
.postnav__next { grid-column: 2; text-align: right; }
.postnav__label { font-size: 13px; font-weight: 600; color: var(--muted); }
.postnav__title {
    font-weight: 800;
    line-height: 1.35;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related { margin-top: 64px; }

/* =========================================================
   9. Komentar
   ========================================================= */
.single--comments { margin-top: 56px; }
.comments__title { margin-bottom: 24px; font-size: 24px; }
.comments__closed { margin: 16px 0; color: var(--muted); }

.comment-list, .comment-list .children { list-style: none; }
.comment-list > li { padding: 20px 0; border-top: 1px solid var(--line); }
.comment-list .children { margin: 18px 0 0 22px; padding-left: 18px; border-left: 2px solid var(--line); }
.comment-list .children > li { padding: 16px 0 0; }
.comment-body { display: flex; gap: 14px; }
.comment-avatar img { width: 44px; height: 44px; border-radius: 50%; }
.comment-main { flex: 1; min-width: 0; }
.comment-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; font-size: 14px; }
.comment-author-name { font-size: 15px; font-weight: 800; color: var(--ink); }
.comment-date, .comment-edit a { color: var(--muted); }
.comment-date:hover, .comment-edit a:hover { color: var(--primary); }
.comment-text { margin-top: 8px; font-size: 16px; color: var(--read); overflow-wrap: anywhere; }
.comment-text p { margin: 0 0 .8em; }
.comment-awaiting-moderation { margin-top: 6px; font-size: 14px; font-style: italic; color: var(--muted); }
.comment-reply { margin-top: 8px; font-size: 14px; font-weight: 700; }

.comment-respond {
    margin-top: 40px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}
.comment-reply-title { margin-bottom: 16px; font-size: 22px; }
.comment-reply-title small { margin-left: 10px; font-size: 14px; font-weight: 600; }
.comment-form p { margin: 0 0 16px; }
.comment-form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; color: var(--ink); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-ctl);
    background: var(--bg);
    color: var(--ink);
    font: 500 16px/1.5 var(--font-ui);
}
.comment-form textarea { min-height: 140px; resize: vertical; }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form-cookies-consent label { margin: 0; font-weight: 500; color: var(--text); }
.comment-form-cookies-consent input { margin-top: 5px; }
.comment-form .form-submit { margin-bottom: 0; }
.comments-pagination { margin: 24px 0; }

/* =========================================================
   10. Footer
   ========================================================= */
.site-footer { margin-top: 80px; background: var(--surface); border-top: 1px solid var(--line); }
.footer-cols {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr;
    gap: 40px;
    padding-top: 52px;
    padding-bottom: 40px;
}
.footer-brand { font-size: 22px; font-weight: 800; letter-spacing: -.035em; color: var(--ink); }
.footer-about { margin-top: 10px; max-width: 38ch; font-size: 15px; color: var(--muted); }
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.social__btn {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-ctl);
    color: var(--text);
}
.social__btn:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }

.fwidget__title { margin-bottom: 14px; font-size: 16px; }
.fwidget ul { list-style: none; }
.fwidget li { margin: 0 0 10px; font-size: 15px; line-height: 1.45; }
.fwidget a { color: var(--text); }
.fwidget a:hover { color: var(--primary); }

.footer-bar { border-top: 1px solid var(--line); }
/* ruang bawah ekstra supaya hak cipta tidak tertutup iklan anchor */
.footer-bar__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 24px;
    padding-top: 20px;
    padding-bottom: 104px;
    font-size: 14px;
    color: var(--muted);
}
.footer-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-menu a { color: var(--muted); }
.footer-menu a:hover { color: var(--primary); }

.to-top {
    position: fixed;
    right: 16px;
    bottom: 108px;
    z-index: 90;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--primary);
    color: var(--on-primary);
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(20, 10, 10, .25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s, transform .2s, visibility 0s linear .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s, visibility 0s; }

/* =========================================================
   11. Responsif
   ========================================================= */
@media (max-width: 960px) {
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .footer-cols .footer-col:first-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .header-inner { gap: 8px; }
    .menu-toggle { display: inline-grid; margin-left: -8px; }

    .primary-nav {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 2;
        flex: none;
        width: min(320px, 86vw);
        padding: 12px 16px 28px;
        overflow-y: auto;
        background: var(--surface);
        border-right: 1px solid var(--line);
        transform: translateX(-102%);
        visibility: hidden;
        transition: transform .25s ease, visibility 0s linear .25s;
    }
    .primary-nav.is-open { transform: none; visibility: visible; transition: transform .25s ease, visibility 0s; }
    .admin-bar .primary-nav { top: 46px; }

    .drawer-close { display: grid; margin: 0 0 8px auto; }

    .primary-nav .menu { flex-direction: column; gap: 0; }
    .primary-nav .menu a { padding: 12px 8px; font-size: 17px; }
    .primary-nav .menu .current-menu-item > a,
    .primary-nav .menu .current-menu-ancestor > a,
    .primary-nav .menu .current-post-ancestor > a,
    .primary-nav .menu .current-category-ancestor > a,
    .primary-nav .menu .current-cat > a { box-shadow: none; border-radius: 8px; background: var(--tint); }
    .primary-nav .sub-menu {
        display: block;
        position: static;
        min-width: 0;
        padding: 0 0 0 14px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
}

@media (max-width: 600px) {
    .wrap { padding-inline: 16px; }
    .admin-bar .primary-nav { top: 0; }

    .grid { grid-template-columns: 1fr; gap: 32px; }

    .single__meta { gap: 8px 16px; }
    .entry { font-size: 17.5px; line-height: 1.75; }
    .entry h2 { font-size: 24px; }
    .entry h3 { font-size: 20px; }
    .entry .alignleft, .entry .alignright { float: none; margin: 1em auto; max-width: 100%; }

    .postnav { grid-template-columns: 1fr; }
    .postnav__prev, .postnav__next { grid-column: auto; }
    .postnav__next { text-align: left; }
    .bio { flex-direction: column; }
    .comment-respond { padding: 18px; }
    .comment-list .children { margin-left: 8px; padding-left: 12px; }

    .footer-cols { grid-template-columns: 1fr; gap: 32px; }
    .search-form { flex-wrap: wrap; }
}

/* =========================================================
   Daftar isi + tata letak halaman tulisan
   ========================================================= */
.toc {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-ctl);
}
.toc__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: 0;
    border-radius: var(--radius-ctl);
    font-weight: 700;
    font-size: 15px;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
}
.toc__toggle .icon { flex: none; transition: transform .2s ease; }
.toc__toggle[aria-expanded="false"] .icon { transform: rotate(-90deg); }
.toc__body { padding: 0 16px 14px; }
.toc__list, .toc__sub { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0; }
.toc a {
    display: block;
    padding: 5px 0 5px 12px;
    border-left: 3px solid transparent;
    font-size: 14px;
    line-height: 1.45;
    color: var(--muted);
}
.toc a:hover { color: var(--ink); text-decoration: none; }
.toc a.is-active {
    border-left-color: var(--beam-b);
    color: var(--ink);
    font-weight: 700;
}
.toc__sub a { padding-left: 26px; font-size: 13.5px; }

/* Layar kecil dan menengah: daftar isi lipat di atas isi tulisan */
.toc--mobile { margin: 0 0 28px; }
.single-layout__aside { display: none; }

/* Layar lebar: artikel rata kiri (lurus dengan logo dan breadcrumb), daftar isi menempel di tepi kanan (lurus dengan ikon header).
   Lebar kolom baca diatur lewat --read-w di bagian Token. */
@media (min-width: 1150px) {
    .wrap:has(.single-layout--toc) .site-main .single,
    .wrap:has(.single-layout--toc) .single { margin-inline: 0; }

    .single-layout--toc {
        display: grid;
        grid-template-columns: minmax(0, var(--read-w)) 280px;
        column-gap: 56px;
        justify-content: space-between;
    }
    .single-layout--toc > article.single { grid-column: 1; }
    .single-layout--toc .single-layout__aside {
        display: block;
        grid-column: 2;
        grid-row: 1;
        align-self: start;
        position: sticky;
        top: calc(var(--header-h) + 24px);
        max-height: calc(100vh - var(--header-h) - 48px);
        overflow-y: auto;
    }
    .admin-bar .single-layout--toc .single-layout__aside { top: calc(var(--header-h) + 56px); }
    .single-layout--toc .toc--mobile { display: none; }
}


/* Footer: tombol Ko-fi dan tautan */
.kofi-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--beam-b);
    color: #2A1500;
    font: 700 14px/1.2 var(--font-ui);
}
.kofi-btn:hover { color: #2A1500; filter: brightness(.95); text-decoration: none; }
.footer-links { list-style: none; }

/* Sidebar halaman tulisan (opsional, dinyalakan di Kustomisasi) */
.single-layout__side { margin-top: 48px; }
.sidebar-widget {
    margin-bottom: 28px;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-img);
}
.sidebar-widget__title { margin-bottom: 12px; font-size: 17px; }
.sidebar-widget ul { list-style: none; margin: 0; }
.side-popular li { margin: 0 0 12px; line-height: 1.4; }
.side-popular a { color: var(--text); font-weight: 600; }
.side-popular a:hover { color: var(--primary); }

@media (min-width: 1100px) {
    .wrap:has(.single-layout--sidebar) .single { margin-inline: 0; }
    .single-layout--sidebar {
        display: grid;
        grid-template-columns: minmax(0, var(--read-w)) 300px;
        column-gap: 40px;
        justify-content: space-between;
    }
    .single-layout--sidebar > article.single { grid-column: 1; }
    .single-layout--sidebar .single-layout__side { grid-column: 2; grid-row: 1; margin-top: 0; align-self: start; }
}
/* =========================================================
   Galeri dan penampil gambar
   ========================================================= */
/* Blok Gallery (editor blok): tata letak bawaan WordPress, hanya merapikan jarak yang bentrok dengan figure tema */
.entry .wp-block-gallery { margin: 1.8em 0; --wp--style--gallery-gap-default: 10px; }
.entry .wp-block-gallery figure,
.entry .wp-block-gallery .wp-block-image { margin: 0; }
.entry .wp-block-gallery img { border-radius: 8px; }
.entry .wp-block-gallery figcaption { font-size: 13px; }

/* Galeri klasik [gallery] */
.entry .gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 1.8em 0;
}
.entry .gallery-columns-1 { grid-template-columns: minmax(0, 1fr); }
.entry .gallery-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.entry .gallery-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.entry .gallery-columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.entry .gallery-columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.entry .gallery-item { margin: 0; min-width: 0; }
.entry .gallery-icon { margin: 0; }
.entry .gallery-icon a { display: block; }
.entry .gallery-icon img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border: 0;
    border-radius: 8px;
}
.entry .gallery-caption { margin: 6px 0 0; font-size: 13px; line-height: 1.4; color: var(--muted); }
.entry .gallery a, .entry .wp-block-gallery a { cursor: zoom-in; }

/* Penampil gambar */
.lb-open { overflow: hidden; }
.lb {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 16px 20px;
    background: rgba(12, 8, 8, .92);
}
.lb [hidden] { display: none !important; }
.lb__stage { display: flex; align-items: center; justify-content: center; width: 100%; flex: 1; min-height: 0; }
.lb__img { max-width: min(96vw, 1400px); max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lb__cap { margin: 12px 0 0; max-width: 760px; text-align: center; color: #E9E6E6; font-size: 14px; line-height: 1.5; }
.lb__count { position: absolute; top: 22px; left: 20px; color: #D9D4D4; font: 600 14px/1 var(--font-ui); }
.lb__btn {
    position: absolute;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.lb__btn:hover { background: rgba(255, 255, 255, .26); }
.lb__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lb__close { top: 12px; right: 14px; }
.lb__prev, .lb__next { top: 50%; transform: translateY(-50%); }
.lb__prev { left: 12px; }
.lb__next { right: 12px; }

@media (max-width: 600px) {
    .entry .gallery-columns-3, .entry .gallery-columns-4,
    .entry .gallery-columns-5, .entry .gallery-columns-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lb__prev, .lb__next { top: auto; bottom: 18px; transform: none; }
    .lb__prev { left: 16px; }
    .lb__next { right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

.entry .wp-caption {
    max-width: 100%;
}
.entry .wp-caption img {
    width: 100%;
    height: auto;
}

/* =========================================================
   Serambi: lapisan tampilan pribadi (menimpa dasar di atas)
   ========================================================= */
body { font-family: var(--font-read); font-size: 17px; line-height: 1.7; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; letter-spacing: -.01em; }
.site-header, .btn, .meta, .kicker, .chip, .share, .toc, .crumbs, .postnav, .pagination, .page-numbers,
.search-form, .footer-bar, .topic, .readmore, .section-note, .comment-form label { font-family: var(--font-ui); }

/* Header: tenang, tanpa bayangan tebal */
.site-header { background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.beam { height: 2px; }
.brand { display: flex; align-items: baseline; gap: 12px; }
.brand__name { font-family: var(--font-head); font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.brand__name:hover { color: var(--primary); }
.brand__tag { font: 500 13px/1 var(--font-ui); color: var(--muted); }
@media (max-width: 1100px) { .brand__tag { display: none; } }
.primary-nav .menu a { font-weight: 600; font-size: 14.5px; }

/* Judul bagian */
.section-title { font-size: 26px; margin: 0 0 6px; }
.section-note { margin: 0 0 18px; font-size: 14.5px; color: var(--muted); }
.site-main .wrap > section { margin-top: 64px; }
.site-main .wrap > section:first-child { margin-top: 40px; }

/* Polaroid: foto dengan bingkai putih dan sedikit miring */
.polaroid {
    display: block;
    padding: 8px 8px 22px;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(60, 35, 15, .12), 0 10px 24px -10px rgba(60, 35, 15, .28);
    transform: rotate(-1.2deg);
    transition: transform .25s ease;
}
.entries > :nth-child(even) .polaroid { transform: rotate(1deg); }
.polaroid:hover { transform: rotate(0deg) scale(1.015); }
.polaroid__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1px; }
.polaroid__ph {
    display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--ph-1), var(--ph-2));
    color: rgba(255, 255, 255, .85); font: 700 44px/1 var(--font-head);
}

/* Sapaan di beranda */
.hello { display: grid; grid-template-columns: 148px 1fr; gap: 32px; align-items: center; padding: 8px 0 0; }
.hello__photo { position: relative; }
.hello__photo::after {
    content: ""; position: absolute; inset: -8px; z-index: -1; border-radius: 50%;
    background: var(--chip-bg); transform: rotate(-6deg) scale(.98);
}
.hello__img { width: 148px; height: 148px; border-radius: 50%; object-fit: cover; border: 4px solid var(--surface); box-shadow: 0 8px 22px -8px rgba(60, 35, 15, .35); }
.hello__img--ph { display: grid; place-items: center; background: var(--primary); color: var(--on-primary); font: 700 52px/1 var(--font-head); }
.hello__kicker { margin: 0 0 6px; font: 700 12px/1 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.hello__title { font-size: clamp(30px, 5vw, 46px); line-height: 1.12; text-wrap: balance; }
.hello__intro { margin-top: 14px; max-width: 58ch; font-size: 18px; color: var(--read); }
.hello__sign { margin-top: 8px; font: 600 30px/1 var(--font-hand); color: var(--primary); transform: rotate(-2deg); transform-origin: left; }
@media (max-width: 640px) {
    .hello { grid-template-columns: 1fr; gap: 20px; }
    .hello__img { width: 104px; height: 104px; }
}

/* Teks kecil di atas judul: tanggal · kategori */
.kicker { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.kicker a { color: var(--primary); }
.kicker time { color: var(--muted); }

/* Tulisan utama di beranda */
.feature { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; align-items: center; margin-top: 18px; }
.feature__title { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.15; text-wrap: balance; }
.feature__title a, .card__title a { color: var(--ink); }
.feature__title a:hover, .card__title a:hover { color: var(--primary); text-decoration: none; }
.feature__excerpt { margin: 12px 0 16px; color: var(--read); }
.readmore { font-weight: 700; font-size: 15px; border-bottom: 2px solid var(--beam-b); padding-bottom: 1px; }
.readmore:hover { text-decoration: none; border-color: var(--primary); }
.meta__time { margin-left: 16px; color: var(--muted); font: 500 13.5px/1 var(--font-ui); }
@media (max-width: 780px) { .feature { grid-template-columns: 1fr; gap: 24px; } }

/* Daftar tulisan seperti buku harian: satu kolom */
.entries { display: flex; flex-direction: column; }
.card--row {
    display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: center;
    padding: 28px 0; border-top: 1px dashed var(--line-strong);
}
.entries > .card--row:first-child { border-top: 0; }
.card--row .card__title { font-size: 24px; line-height: 1.2; text-wrap: balance; }
.card__excerpt { margin: 8px 0 8px; font-size: 16px; color: var(--text); }
.card--row .meta { font-size: 13px; }
.card--row .card__media { padding: 6px 6px 16px; }
@media (max-width: 600px) {
    .card--row { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
    .card--row .card__media { max-width: 320px; }
}
.all-link { margin-top: 14px; }

/* Varian ringkas (Keep reading): hanya judul dan tanggal */
.entries--compact .card { padding: 14px 0; border-top: 1px dashed var(--line-strong); }
.entries--compact .card:first-child { border-top: 0; }
.card--related .card__title, .card--compact .card__title { font-size: 19px; line-height: 1.3; }

/* Pilihan pribadi */
.kept__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.kept__list li { padding: 10px 0 10px 28px; position: relative; border-bottom: 1px dashed var(--line); }
.kept__list li::before { content: "♥"; position: absolute; left: 0; top: 10px; color: var(--primary); font-size: 14px; }
.kept__list a { font: 600 19px/1.35 var(--font-head); color: var(--ink); }
.kept__list a:hover { color: var(--primary); text-decoration: none; }

/* Topik */
.topics { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.topic {
    display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: inherit;
    transition: border-color .15s, transform .15s;
}
.topic:hover { border-color: var(--primary); transform: translateY(-2px); text-decoration: none; }
.topic__name { font: 600 20px/1.2 var(--font-head); color: var(--ink); }
.topic__count { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--primary); }
.topic__desc { font-size: 14px; line-height: 1.5; color: var(--muted); }

/* Arsip & pencarian */
.archive-head { margin: 36px 0 12px; padding-bottom: 20px; border-bottom: 1px dashed var(--line-strong); }
.archive-head__title { font-size: clamp(30px, 5vw, 42px); }

/* Chip kategori di tulisan: lebih halus */
.chip { background: transparent; color: var(--primary); padding: 0; border-bottom: 2px solid var(--beam-b); border-radius: 0; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.chip:hover { color: var(--primary-hover); text-decoration: none; }
.single__cats { gap: 14px; }

/* Halaman tulisan */
.single__title { font-size: clamp(32px, 5.4vw, 48px); line-height: 1.1; font-weight: 700; }
.single__meta { font-family: var(--font-ui); }
.single__img { aspect-ratio: 3 / 2; border-radius: 6px; box-shadow: 0 10px 30px -14px rgba(60, 35, 15, .4); }
.entry { font-family: var(--font-read); }
.entry blockquote { border-left: 3px solid var(--beam-b); font-style: italic; }
.entry h2, .entry h3, .entry h4 { font-family: var(--font-head); font-weight: 600; }
.entry a { text-decoration-color: var(--beam-b); text-decoration-thickness: 2px; }

/* Penutup tulisan: tulisan tangan + nama */
.signoff {
    display: flex; gap: 20px; align-items: center; margin-top: 44px; padding: 24px;
    background: var(--surface); border: 1px dashed var(--line-strong); border-radius: 14px;
}
.signoff__photo .hello__img { width: 72px; height: 72px; border-width: 3px; box-shadow: none; }
.signoff__photo .hello__img--ph { font-size: 28px; }
.signoff__hand { margin: 0; font: 600 26px/1.1 var(--font-hand); color: var(--primary); }
.signoff__name { margin: 2px 0 0; font: 600 18px/1.2 var(--font-head); color: var(--ink); }
.signoff__desc { margin: 8px 0 0; font-size: 15px; color: var(--muted); }
@media (max-width: 600px) { .signoff { flex-direction: column; align-items: flex-start; } }

.postnav__link { border-radius: 10px; border-style: dashed; }
.postnav__title { font-family: var(--font-head); font-weight: 600; }
.related { margin-top: 56px; }

/* Komentar */
.comments__title, .comment-reply-title { font-family: var(--font-head); }
.comment-respond { border-style: dashed; }

/* Footer: hangat, bukan portal */
.site-footer { margin-top: 88px; background: var(--surface); border-top: 1px dashed var(--line-strong); }
.footer-cols { grid-template-columns: 1.4fr 1fr 1fr; }
.fwidget__title { font-family: var(--font-head); font-size: 19px; }
.footer-sign { margin-top: 10px; font: 600 28px/1 var(--font-hand); color: var(--primary); transform: rotate(-2deg); transform-origin: left; }
.kofi-btn { background: var(--beam-b); }

/* Hormati preferensi gerak dikurangi */
@media (prefers-reduced-motion: reduce) {
    .polaroid, .topic { transition: none; transform: none !important; }
    .beam { animation: none; }
}

/* Mode sidebar: lebarkan wadah supaya kolom baca tetap 700px + sidebar 300px */
@media (min-width: 1100px) {
    .wrap:has(.single-layout--sidebar) { max-width: 1100px; }
}

/* =========================================================
   Tata letak blog: tulisan besar + sidebar tentang saya
   ========================================================= */
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; margin-top: 36px; }
.layout__main { min-width: 0; }
.layout__side { min-width: 0; }
@media (min-width: 960px) {
    .wrap:has(.layout) { max-width: 1180px; }
    .layout { grid-template-columns: minmax(0, 1fr) 300px; }
    .layout__side { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
    .admin-bar .layout__side { top: calc(var(--header-h) + 56px); }
}
/* Kalau judul arsip ada di atas layout, rapatkan jaraknya */
.archive-head + .layout { margin-top: 24px; }

.entries--blog { display: flex; flex-direction: column; gap: 56px; }
.card--blog { display: flex; flex-direction: column; gap: 14px; }
.card--blog .card__cat { margin: 0; font: 700 12.5px/1 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; }
.card--blog .card__cat a { color: var(--primary); border-bottom: 2px solid var(--beam-b); padding-bottom: 2px; }
.card--blog .card__cat a:hover { text-decoration: none; color: var(--primary-hover); }
.card--blog .card__title { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.16; font-weight: 700; text-wrap: balance; }
.card--blog .card__media { display: block; overflow: hidden; border-radius: 8px; }
.card--blog .card__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s ease; }
.card--blog .card__media:hover .card__img { transform: scale(1.025); }
.card--blog .card__ph { display: grid; place-items: center; aspect-ratio: 3 / 2; background: linear-gradient(135deg, var(--ph-1), var(--ph-2)); color: rgba(255,255,255,.85); font: 700 56px/1 var(--font-head); }
.card--blog .card__excerpt { margin: 0; font-size: 18px; line-height: 1.65; color: var(--read); }
.card--blog .card__more { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 0; }
.card--blog .card__date { font: 500 13.5px/1 var(--font-ui); color: var(--muted); }

/* Widget tentang saya */
.bio-widget { text-align: center; padding: 26px 22px; }
.bio-widget__photo { display: flex; justify-content: center; margin-bottom: 14px; }
.bio-widget .hello__img { width: 120px; height: 120px; }
.bio-widget__title { font-size: 26px; margin-bottom: 8px; }
.bio-widget__text { font-size: 15.5px; line-height: 1.6; color: var(--text); }
.search-widget .search-form { flex-wrap: nowrap; }
.search-widget .search-form input[type="search"] { height: 42px; }
.search-widget .btn { padding: 10px 16px; }
@media (prefers-reduced-motion: reduce) { .card--blog .card__img { transition: none; } }
