/* Goresan Hati: tampilan gaya katalog. Warna dan font mengikuti logo. */
:root{
	--gh-maroon:#5A2232;
	--gh-maroon-d:#43172A;
	--gh-maroon-l:#7C3A4C;
	--gh-gold:#B38752;
	--gh-cream:#F8F4E8;
	--gh-ink:#2B1B20;
	--gh-muted:#7B6A6E;
	--gh-line:#E9E1D4;
	--gh-serif:'Lora',Georgia,'Times New Roman',serif;
}

body{color:var(--gh-ink);background:#fff}
body a{color:var(--gh-maroon);text-decoration:none}
body a:hover{color:var(--gh-gold)}
body h1,body h2,body h3,body h4{font-family:var(--gh-serif);color:var(--gh-maroon);font-weight:600}

.gh-wrap{max-width:1240px;margin:0 auto;padding:0 24px}

/* ===== Header ===== */
body .site-header.gh-header{
	position:sticky;top:0;z-index:100;
	display:flex;align-items:center;flex-wrap:nowrap;gap:24px;
	width:100%;max-width:none;margin:0;
	padding:10px max(24px,calc((100% - 1240px) / 2));
	background:#fff;border-bottom:1px solid var(--gh-line);
}
body.admin-bar .site-header.gh-header{top:32px}
.gh-header .site-branding{flex:0 0 auto;margin:0;padding:0}
.gh-header .site-branding img,.gh-header .custom-logo{height:54px;width:auto;max-width:none;display:block}
.gh-header .site-description{display:none}
.gh-header .site-navigation{flex:1 1 auto;margin:0;padding:0}
body .gh-header .site-navigation ul{display:flex;flex-wrap:nowrap;white-space:nowrap;gap:2px;margin:0;padding:0;list-style:none}
body .gh-header .site-navigation ul li{margin:0}
body .gh-header .site-navigation ul li a{
	display:block;padding:8px 12px;border-radius:999px;
	color:var(--gh-ink);font-size:15px;font-weight:500;line-height:1.2;
}
body .gh-header .site-navigation ul li a:hover,
body .gh-header .site-navigation ul li.current-menu-item>a,
body .gh-header .site-navigation ul li.current-menu-parent>a,
body .gh-header .site-navigation ul li.current_page_item>a{background:var(--gh-cream);color:var(--gh-maroon)}

.gh-search{display:flex;align-items:center;flex:0 0 auto;margin:0;background:var(--gh-cream);border:1px solid var(--gh-line);border-radius:999px;padding:0 6px 0 14px}
.gh-search input[type=search]{border:0;background:transparent;outline:0;box-shadow:none;width:120px;padding:9px 0;font-size:14px;color:var(--gh-ink)}
.gh-search button{border:0;background:transparent;color:var(--gh-maroon);padding:6px 8px;cursor:pointer;display:flex;align-items:center}
.gh-search button:hover{color:var(--gh-gold);background:transparent}

body a.gh-cta{flex:0 0 auto;background:var(--gh-maroon);color:#fff;padding:10px 20px;border-radius:999px;font-size:14px;font-weight:600;white-space:nowrap}
body a.gh-cta:hover{background:var(--gh-maroon-d);color:#fff}

/* ===== Beranda ===== */
body .site-main.gh-home,body .site-main.gh-archive{max-width:none;width:100%;margin:0;padding:0}

.gh-hero{background:linear-gradient(120deg,var(--gh-maroon-d) 0%,var(--gh-maroon) 55%,var(--gh-maroon-l) 100%);color:var(--gh-cream)}
.gh-hero__in{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center;max-width:1240px;margin:0 auto;padding:56px 24px}
.gh-hero__kicker{display:inline-block;color:var(--gh-gold);font-size:12px;font-weight:600;letter-spacing:.28em;text-transform:uppercase}
body .gh-hero__title{margin:.35em 0 .45em;font-size:clamp(30px,4.2vw,52px);line-height:1.12;color:#fff}
body .gh-hero__title a{color:#fff}
body .gh-hero__title a:hover{color:var(--gh-cream)}
.gh-hero__excerpt{margin:0 0 28px;font-size:17px;line-height:1.7;color:rgba(248,244,232,.88);max-width:34em}
.gh-hero__actions{display:flex;flex-wrap:wrap;gap:12px}
.gh-hero__media{display:block}
.gh-hero__stack{position:relative;display:block;height:400px}
.gh-hero__book{position:absolute;top:50%;left:50%;width:220px;transform:translate(-50%,-50%)}
.gh-hero__book .gh-cover{box-shadow:0 22px 44px rgba(0,0,0,.45)}
.gh-hero__book--0{z-index:3}
.gh-hero__book--1{z-index:2;transform:translate(calc(-50% - 150px),-50%) rotate(-9deg) scale(.88)}
.gh-hero__book--2{z-index:1;transform:translate(calc(-50% + 150px),-50%) rotate(9deg) scale(.88)}
.gh-hero__book .gh-cover__title{font-size:20px}
.gh-hero__book .gh-cover__cat,.gh-hero__book .gh-cover__by{font-size:10px}
.gh-hero__book .gh-pen{width:24px;height:38px}

body a.gh-btn{display:inline-block;padding:12px 26px;border-radius:999px;background:var(--gh-gold);color:#fff;font-weight:600;font-size:15px;border:1px solid var(--gh-gold);transition:background .2s,color .2s}
body a.gh-btn:hover{background:#c79a63;border-color:#c79a63;color:#fff}
body a.gh-btn--ghost{background:transparent;color:var(--gh-cream);border-color:rgba(248,244,232,.55)}
body a.gh-btn--ghost:hover{background:rgba(248,244,232,.14);border-color:var(--gh-cream);color:#fff}
body a.gh-btn--line{background:#fff;color:var(--gh-maroon);border-color:var(--gh-maroon)}
body a.gh-btn--line:hover{background:var(--gh-maroon);color:#fff;border-color:var(--gh-maroon)}

.gh-sec{padding:34px 0 8px}
.gh-sec__head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:20px}
body .gh-sec__head h2{margin:0;font-size:28px;line-height:1.2}
body a.gh-more{font-size:14px;font-weight:600;color:var(--gh-gold)}
body a.gh-more:hover{color:var(--gh-maroon)}
.gh-empty{padding:32px 0;color:var(--gh-muted)}

/* Daftar horizontal (Terbaru) */
.gh-list{display:grid;grid-template-columns:repeat(3,1fr);gap:28px 32px}
.gh-item{display:grid;grid-template-columns:104px 1fr;gap:16px;align-items:start}
.gh-item__cover{display:block}
.gh-item__body{min-width:0}
body .gh-item__title{margin:0 0 6px;font-size:18px;line-height:1.3}
body .gh-item__title a{color:var(--gh-ink)}
body .gh-item__title a:hover{color:var(--gh-maroon)}
body a.gh-chip{display:inline-block;margin-bottom:8px;padding:2px 10px;border-radius:999px;background:var(--gh-cream);border:1px solid var(--gh-line);color:var(--gh-gold);font-size:12px;font-weight:600}
.gh-item__excerpt{margin:0 0 8px;font-size:14px;line-height:1.55;color:var(--gh-muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

/* Strip media sosial */
.gh-strip{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px;margin:40px 0 8px;padding:28px 32px;background:var(--gh-cream);border:1px solid var(--gh-line);border-radius:16px}
body .gh-strip h2{margin:0 0 6px;font-size:24px}
.gh-strip p{margin:0;color:var(--gh-muted)}
.gh-strip__links{display:flex;flex-wrap:wrap;gap:10px}

/* Kisi kartu sampul */
.gh-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:26px 22px}
body a.gh-card{display:block;color:var(--gh-ink);transition:transform .2s}
body a.gh-card:hover{transform:translateY(-4px);color:var(--gh-ink)}
.gh-card__title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:12px 0 2px;font-family:var(--gh-serif);font-size:16px;font-weight:600;line-height:1.3}
.gh-card:hover .gh-card__title{color:var(--gh-maroon)}
.gh-card__meta{display:block;font-size:12px;color:var(--gh-muted)}

/* Sampul bergaya buku */
.gh-cover{position:relative;display:flex;flex-direction:column;justify-content:space-between;aspect-ratio:3/4;padding:16px 14px;border-radius:10px;overflow:hidden;color:var(--gh-cream);box-shadow:0 8px 18px rgba(60,20,30,.22);background:linear-gradient(160deg,var(--gh-maroon-l),var(--gh-maroon-d))}
.gh-cover::after{content:"";position:absolute;inset:7px;border:1px solid rgba(248,244,232,.35);border-radius:6px;pointer-events:none}
.gh-cover--puisi{background:linear-gradient(160deg,#C69B66,#8C6234)}
.gh-cover--renungan{background:linear-gradient(160deg,#47303B,#23121A)}
.gh-cover--kisah-kehidupan{background:linear-gradient(160deg,#84403F,#4A1C26)}
.gh-cover__cat,.gh-cover__by{display:block;font-size:9px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;text-align:center;opacity:.9}
.gh-cover__mid{display:flex;flex-direction:column;align-items:center;gap:10px}
.gh-pen{width:20px;height:32px;color:var(--gh-gold)}
.gh-cover--puisi .gh-pen{color:var(--gh-maroon-d)}
.gh-cover__title{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;font-family:var(--gh-serif);font-size:clamp(13px,1.35vw,18px);font-weight:600;line-height:1.28;text-align:center}
.gh-item__cover .gh-cover{padding:10px 8px;border-radius:8px}
.gh-item__cover .gh-cover__cat,.gh-item__cover .gh-cover__by{font-size:6px}
.gh-item__cover .gh-cover__title{font-size:11px;-webkit-line-clamp:3}
.gh-item__cover .gh-pen{width:13px;height:21px}
.gh-item__cover .gh-cover::after{inset:4px}

/* Arsip */
body .gh-archive .page-header{padding:40px 0 8px}
body .gh-archive .page-header .entry-title{margin:0 0 8px;font-size:clamp(28px,4vw,40px)}
.gh-archive .archive-description{margin:0;color:var(--gh-muted)}
.gh-archive .page-content{padding:24px 0 8px}
.gh-archive .pagination{display:flex;justify-content:space-between;padding:24px 0}

/* ===== Footer ===== */
body .site-footer.gh-footer{display:block;width:100%;max-width:none;margin:56px 0 0;padding:0;background:var(--gh-cream);border-top:1px solid var(--gh-line)}
.gh-footer__grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:40px;padding-top:48px;padding-bottom:36px}
.gh-footer .custom-logo{height:52px;width:auto;max-width:none;display:block}
.gh-footer__brand p{max-width:28em;margin:14px 0 0;font-size:14px;line-height:1.7;color:var(--gh-muted)}
body .gh-footer h4{margin:0 0 14px;font-size:16px;color:var(--gh-maroon)}
.gh-footer ul{margin:0;padding:0;list-style:none}
.gh-footer li{margin:0 0 10px;font-size:14px}
body .gh-footer li a{color:var(--gh-ink)}
body .gh-footer li a:hover{color:var(--gh-gold)}
.gh-footer__bar{border-top:1px solid var(--gh-line);padding:16px 0;font-size:13px;color:var(--gh-muted)}

/* ===== Responsif ===== */
.gh-featured{margin:0 0 1.75rem;padding:0}
.gh-featured img{display:block;width:100%;height:auto;border-radius:12px}
@media (max-width:1100px){
	.gh-grid{grid-template-columns:repeat(4,1fr)}
	.gh-list{grid-template-columns:repeat(2,1fr)}
	.gh-header .site-navigation{flex:1 1 auto}
	.gh-search input[type=search]{width:110px}
}
@media (max-width:860px){
	body .site-header.gh-header{flex-wrap:wrap;gap:10px 14px;padding:10px 16px}
	.gh-header .site-branding img,.gh-header .custom-logo{height:44px}
	.gh-search{margin-left:auto}
	.gh-search input[type=search]{width:84px}
	.gh-header .site-branding img,.gh-header .custom-logo{height:40px}
	body a.gh-cta{display:none}
	.gh-header .site-navigation{order:3;flex:0 0 100%;overflow:visible}
	body .gh-header .site-navigation ul{flex-wrap:wrap;white-space:normal;gap:4px 2px}
	body .gh-header .site-navigation ul li a{padding:7px 11px;font-size:14px}
	.gh-hero__in{grid-template-columns:1fr;gap:28px;padding:36px 20px}
	.gh-hero__stack{height:300px}
	.gh-hero__book{width:160px}
	.gh-hero__book--1{transform:translate(calc(-50% - 100px),-50%) rotate(-9deg) scale(.88)}
	.gh-hero__book--2{transform:translate(calc(-50% + 100px),-50%) rotate(9deg) scale(.88)}
	.gh-hero__book .gh-cover__title{font-size:15px}
	.gh-list{grid-template-columns:1fr}
	.gh-grid{grid-template-columns:repeat(3,1fr);gap:22px 16px}
	.gh-footer__grid{grid-template-columns:1fr 1fr;gap:28px}
	.gh-footer__brand{grid-column:1 / -1}
	.gh-wrap{padding:0 16px}
}
@media (max-width:560px){
	.gh-grid{grid-template-columns:repeat(2,1fr)}
	.gh-strip{padding:22px 20px}
	body .gh-sec__head h2{font-size:24px}
}
