/*
Theme Name: Alam Hikayat
Theme URI: https://alamhikayat.com
Author: Alam Hikayat
Description: Rumah cerita persilatan Melayu. Tema bacaan untuk Alam Hikayat Core.
Version: 0.1.1
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: alam-hikayat
*/
*{box-sizing:border-box}body{margin:0;background:#f5f1e8;color:#253c31;font:16px/1.65 Arial,sans-serif}img{max-width:100%;height:auto}a{color:#24503e;text-underline-offset:4px}button,input,select,textarea{font:inherit}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #806326;outline-offset:4px}.ah-site-header{border-bottom:1px solid #dcdccb;background:#f5f1e8}.ah-header-inner{width:min(1140px,100% - 48px);margin:auto;display:flex;align-items:center;gap:32px;min-height:95px;flex-wrap:wrap;padding-block:18px}.ah-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#253c31}.ah-logo-mark{display:grid;place-items:center;border:1px solid #806326;color:#806326;border-radius:18px 18px 3px 3px;width:35px;height:44px;font:27px Georgia,serif}.ah-brand-name{display:block;font:23px/1.2 Georgia,serif;letter-spacing:2px}.ah-brand-tagline{display:block;font-size:9px;letter-spacing:1.7px;margin-top:7px;color:#657064}.ah-site-nav{flex:1}.ah-site-nav ul{display:flex;gap:23px;list-style:none;padding:0;margin:0;flex-wrap:wrap}.ah-site-nav a{font-size:13px;text-decoration:none;color:#526254;display:inline-block;padding-block:8px}.ah-site-nav .current-menu-item>a{box-shadow:0 2px #806326;color:#253c31}.ah-header-account{font-size:13px;display:flex;gap:15px;align-items:center}.ah-header-account a{text-decoration:none}.ah-header-account .ah-button{font-size:12px;min-height:38px;padding:8px 13px}.ah-skip-link{position:absolute;top:-100px;left:20px;background:#fff;padding:12px;z-index:20}.ah-skip-link:focus{top:10px}.ah-site-footer{border-top:1px solid #dcdccb;padding:30px 24px;color:#657064;font-size:12px}.ah-footer-inner{width:min(1140px,100%);margin:auto;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.ah-footer-links{display:flex;gap:18px;flex-wrap:wrap}.ah-footer-links a{text-decoration:none}.ah-home-hero{display:grid;grid-template-columns:1.1fr 1fr;min-height:370px;background:#173e32;color:#f4ecd6;border-radius:8px;overflow:hidden}.ah-home-hero-copy{min-width:0;padding:42px;z-index:1}.ah-home-hero h1{font-size:clamp(35px,4.6vw,53px);line-height:1.1;color:inherit;margin:14px 0 20px}.ah-home-hero p:not(.ah-eyebrow){color:#d1ddcc;max-width:450px;font-size:14px}.ah-home-hero .ah-eyebrow{color:#d8bd7d}.ah-home-hero .ah-button{color:#183e30!important;background:#ebddb7;border-color:#ebddb7;margin-top:10px}.ah-mountains{position:relative;overflow:hidden;background:radial-gradient(ellipse at 60% 20%,#acb17e,transparent 60%),linear-gradient(#547261,#214b3a);min-height:250px}.ah-mountains::before,.ah-mountains::after{content:"";position:absolute;inset:12% -15% -20%;background:#365c47;clip-path:polygon(0 70%,18% 38%,32% 50%,56% 5%,72% 40%,83% 23%,100% 65%,100% 100%,0 100%)}.ah-mountains::after{inset:45% -20% -20%;background:#173e32;transform:scaleX(-1)}.ah-moon{position:absolute;top:30px;right:25%;width:80px;height:80px;border-radius:50%;background:#e7dab3;opacity:.8}.ah-home-columns{display:grid;grid-template-columns:1.65fr 1fr;gap:34px}.ah-author-invite{background:#e8ecdf;border-radius:7px;padding:28px;align-self:start;margin-top:36px}.ah-author-invite h2{font-size:29px}.ah-author-invite p{color:#657064;font-size:14px}.ah-resume{display:flex;align-items:center;gap:18px;margin-bottom:25px;padding-bottom:22px;border-bottom:1px solid #dcdccb}.ah-resume>div{flex:1}.ah-resume strong{font:20px Georgia,serif;display:block}.ah-comments{max-width:700px;margin:35px auto}.ah-comments h2{font:28px Georgia,serif}.ah-comments .comment-list{list-style:none;padding:0}.ah-comments .comment{border-top:1px solid #dcdccb;padding-block:20px}.ah-comments .comment-meta{font-size:12px;color:#657064}.ah-comments textarea{width:100%;padding:15px;background:#fffcf5;border:1px solid #dcdccb;border-radius:5px}.ah-comments input[type=submit]{padding:11px 20px;background:#24503e;color:#fff;border:0;border-radius:5px;cursor:pointer}.ah-comments .comment-form-cookies-consent{font-size:12px}.ah-comments .comment-form-author input,.ah-comments .comment-form-email input,.ah-comments .comment-form-url input{display:block;padding:10px;border:1px solid #dcdccb;background:#fffcf5;max-width:100%}.ah-avatar{width:80px;height:80px;border-radius:50%;object-fit:cover}.ah-editorial-content{max-width:760px;margin:auto}.ah-editorial-content h1{font:42px Georgia,serif}.ah-editorial-content h2{font:28px Georgia,serif;margin-top:28px}.ah-editorial-content img{height:auto}.ah-fallback-main{width:min(100% - 40px,1000px);margin:40px auto}.ah-fallback-main h1{font:40px Georgia,serif}.ah-site-header .custom-logo{max-height:55px;width:auto}.ah-shell .woocommerce input,.ah-shell .woocommerce select{width:auto}.ah-shell .woocommerce table{width:100%;border-collapse:collapse}.ah-shell .woocommerce th,.ah-shell .woocommerce td{padding:12px;border-bottom:1px solid #dcdccb}.ah-shell .woocommerce button.button,.ah-shell .woocommerce a.button{background:#24503e;color:#fff;padding:11px 18px;border:0;border-radius:5px;display:inline-block;text-decoration:none}.ah-shell .woocommerce .woocommerce-error{padding:18px 30px;background:#f0e2d8;border-left:3px solid #8b4933}.ah-shell .woocommerce .col2-set{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.ah-account-short{display:none}
@media(max-width:900px){.ah-header-inner{gap:20px}.ah-site-nav{order:3;flex-basis:100%}.ah-header-account{margin-left:auto}.ah-home-hero-copy{padding:30px}.ah-home-columns{gap:24px}.ah-home-hero h1{font-size:40px}}
@media(max-width:600px){.ah-header-inner{width:calc(100% - 32px);gap:14px;min-height:85px}.ah-brand-name{font-size:20px}.ah-brand-tagline{font-size:8px;letter-spacing:1px}.ah-header-account>a:first-child{display:none}.ah-site-nav ul{gap:16px}.ah-site-nav a{font-size:12px;min-height:42px}.ah-home-hero{grid-template-columns:1fr}.ah-home-hero-copy{padding:27px}.ah-home-hero h1{font-size:38px}.ah-mountains{min-height:145px}.ah-moon{width:53px;height:53px;top:15px}.ah-home-columns{grid-template-columns:1fr;gap:0}.ah-author-invite{margin-top:0}.ah-resume{flex-wrap:wrap}.ah-resume>.ah-button{margin-left:60px}.ah-site-footer{padding:25px 16px}.ah-shell .woocommerce .col2-set{grid-template-columns:1fr}.ah-brand{gap:9px}.ah-header-account{gap:8px}.ah-header-account .ah-button{font-size:11px;padding:7px 10px}.ah-logo-mark{width:30px;height:38px;font-size:23px}}
@media(max-width:600px){.ah-account-full{display:none}.ah-account-short{display:inline}.ah-brand-name{font-size:18px;letter-spacing:1.3px}.ah-site-nav ul{gap:8px 15px}.ah-site-nav a{min-height:36px}.ah-header-inner{padding-block:14px}}

/* Keep the homepage headline comfortably inside narrow mobile screens. */
@media(max-width:380px){.ah-home-hero-copy{padding:24px 20px}.ah-shell .ah-home-hero h1{font-size:clamp(29px,9vw,34px);line-height:1.16;overflow-wrap:break-word}.ah-home-hero p:not(.ah-eyebrow){font-size:14px}}
