/*
Theme Name: GTFast
Theme URI: https://kelanaharamain.com/gtfast
Author: Kelana Haramain
Author URI: https://kelanaharamain.com
Description: Ultra-lightweight classic magazine theme with full Gutenberg block editor support for post content. Zero jQuery, zero external fonts by default, inline critical CSS, native lazy-loading, preload hero LCP image. Inspired by Ideko. Ships with 2 single-post templates: Editorial Wide (default) and Magazine Sidebar.
Version: 1.2.5.25
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gtfast
Tags: blog, news, two-columns, custom-logo, custom-menu, featured-images, block-styles, wide-blocks, editor-style, threaded-comments, translation-ready
*/

/* =====================================================
   GTFast — Ideko-inspired classic theme
   Tokens
   ===================================================== */
:root{
  --c-base:#FCFBF8;
  --c-cream:#F6E9C8;        /* hero & header band */
  --c-contrast:#0A0A0A;
  --c-muted:#F1EFE9;
  --c-border:#E5E2D9;
  --c-accent:#F5C518;       /* yellow pill */
  --c-subtle:#6B6B6B;
  --c-card:#FFFFFF;
  --radius-sm:8px;
  --radius:14px;
  --radius-lg:20px;
  --radius-pill:999px;
  --container:1180px;
  --gap:24px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* =====================================================
   Gutenberg Container (GTFast + Spectra compatibility)
   v1.2.5.14
   ===================================================== */
/* GTFast Container (core/group variation) */
.wp-block-group.gtfast-container:not(.alignfull){
  max-width:var(--container);
  margin-left:auto;
  margin-right:auto;
  padding-left:24px;
  padding-right:24px;
}
.wp-block-group.alignfull.gtfast-container{
  padding-left:24px;
  padding-right:24px;
}
.wp-block-group.alignfull.gtfast-container > .wp-block-group__inner-container,
.wp-block-group.alignfull.gtfast-container > .wp-block-group__inner-container > .wp-block-group__inner-container{
  max-width:var(--container);
  margin-left:auto;
  margin-right:auto;
}

/* v1.2.5.19 — Background overlay (hanya untuk background, konten tetap normal) */
/* NOTE: z-index:0 membuat stacking context agar overlay tidak “naik” menutupi block setelahnya. */
.gtfast-container.gtfast-has-bg-overlay{position:relative;z-index:0}
.gtfast-container.gtfast-has-bg-overlay::before{
  content:"";
  position:absolute;
  inset:0;
  background:var(--gtfast-bg-overlay, rgba(0,0,0,.35));
  pointer-events:none;
  z-index:0;
}
.gtfast-container.gtfast-has-bg-overlay > .wp-block-group__inner-container,
.gtfast-container.gtfast-has-bg-overlay > .wp-block-group__inner-container > .wp-block-group__inner-container{
  position:relative;
  z-index:1;
}

/* v1.2.5.25 — Editor preview wrapper untuk block GTFast (SSR)
   Tujuan: tampilan preview di editor mendekati frontend (container + padding).
*/
.editor-styles-wrapper .gtfast-block-preview{
  max-width:var(--container);
  margin-left:auto;
  margin-right:auto;
  padding-left:24px;
  padding-right:24px;
  width:100%;
}

/* Quick styling presets (toolbar dropdown) */
.gtfast-container.gtfast-pad-none{padding-top:0!important;padding-right:0!important;padding-bottom:0!important;padding-left:0!important}
.gtfast-container.gtfast-pad-sm{padding:12px!important}
.gtfast-container.gtfast-pad-md{padding:24px!important}
.gtfast-container.gtfast-pad-lg{padding:40px!important}

.gtfast-container.gtfast-my-none{margin-top:0!important;margin-bottom:0!important}
.gtfast-container.gtfast-my-sm{margin-top:12px!important;margin-bottom:12px!important}
.gtfast-container.gtfast-my-md{margin-top:24px!important;margin-bottom:24px!important}
.gtfast-container.gtfast-my-lg{margin-top:40px!important;margin-bottom:40px!important}

/* Spectra Container Block (jika plugin Spectra/UAGB aktif) */
.wp-block-uagb-container:not(.alignfull) .uagb-container-inner-blocks-wrap{
  max-width:var(--container);
  margin-left:auto;
  margin-right:auto;
  padding-left:24px;
  padding-right:24px;
}
.wp-block-uagb-container.alignfull{
  padding-left:24px;
  padding-right:24px;
}
.wp-block-uagb-container.alignfull .uagb-container-inner-blocks-wrap{
  max-width:var(--container);
  margin-left:auto;
  margin-right:auto;
}

/* Reset */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth}
/* v1.2.5.17 — Prevent horizontal scrollbar caused by full-width blocks (alignfull/100vw). */
html,body{max-width:100%;overflow-x:hidden}
@supports (overflow: clip){
  html,body{overflow-x:clip}
}
body{margin:0;font-family:var(--font);color:var(--c-contrast);line-height:1.6;background:var(--c-base);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
img,svg,video{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline}
button{font:inherit;cursor:pointer}
h1,h2,h3,h4,h5,h6{margin:0 0 .5em;line-height:1.15;letter-spacing:-0.02em;font-weight:800}
p{margin:0 0 1em}
:focus-visible{outline:2px solid var(--c-contrast);outline-offset:2px;border-radius:4px}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}
.container{max-width:var(--container);margin:0 auto;padding:0 24px}

/* =====================================================
   Header
   ===================================================== */
.site-header{background:var(--c-cream)}
.site-header .container{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:18px;padding-bottom:18px}
.site-brand{font-weight:900;font-size:1.35rem;letter-spacing:.25em;color:var(--c-contrast)}
.site-brand a{text-decoration:none}
.site-brand img{max-height:32px;width:auto}
.main-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:28px}
.main-nav a{font-size:.9rem;font-weight:500;color:var(--c-contrast);padding:6px 2px}
.main-nav a:hover{text-decoration:none;color:var(--c-subtle)}
.header-tools{display:flex;align-items:center;gap:14px}
.icon-btn{background:none;border:0;padding:6px;color:var(--c-contrast);display:inline-flex}
.icon-btn svg{width:18px;height:18px}
.nav-toggle{display:none;background:none;border:0;padding:6px}
.nav-toggle svg{width:24px;height:24px}

@media (max-width:860px){
  .nav-toggle{display:inline-flex}
  .main-nav{position:absolute;left:0;right:0;top:100%;background:var(--c-cream);border-top:1px solid var(--c-border);display:none;z-index:50}
  .site-header{position:relative}
  .main-nav.is-open{display:block}
  .main-nav ul{flex-direction:column;gap:0;padding:8px 24px 16px}
  .main-nav a{display:block;padding:10px 0;border-bottom:1px solid var(--c-border)}
}

/* =====================================================
   Hero
   ===================================================== */
.hero{background:var(--c-cream);padding:24px 0 56px}
.hero h1{font-size:clamp(2.4rem,5.2vw,4.4rem);font-weight:800;letter-spacing:-0.03em;margin:0 0 36px;max-width:14ch}
.hero h1 em,.hero h1 strong{font-style:normal;font-weight:900}
.hero-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:36px}
.hero-card{position:relative;border-radius:var(--radius);overflow:hidden;aspect-ratio:4/3;background:var(--c-muted)}
.hero-card img{width:100%;height:100%;object-fit:cover}
.hero-card .pill{position:absolute;left:12px;bottom:12px}
.pill{display:inline-flex;align-items:center;gap:6px;padding:6px 14px 6px 12px;border-radius:var(--radius-pill);background:var(--c-accent);color:var(--c-contrast);font-size:.72rem;font-weight:700;line-height:1;text-decoration:none}
.pill::after{content:"›";font-weight:900;font-size:.9rem;line-height:1;margin-left:2px}
.pill.is-plain::after{content:""}
.hero-bottom{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.hero-bottom p{font-size:.82rem;color:var(--c-subtle);margin:0;max-width:46ch}
.newsletter-inline{display:flex;background:#fff;border-radius:var(--radius-pill);padding:6px;align-items:center;box-shadow:0 1px 0 rgba(0,0,0,.04)}
.newsletter-inline input{flex:1;border:0;background:transparent;padding:10px 18px;font:inherit;outline:none;color:var(--c-contrast)}
.newsletter-inline button{background:var(--c-contrast);color:#fff;border:0;border-radius:var(--radius-pill);padding:10px 22px;font-weight:600;font-size:.85rem}

@media (max-width:780px){
  .hero-cards{grid-template-columns:repeat(2,1fr)}
  .hero-bottom{grid-template-columns:1fr;gap:20px}
}

/* =====================================================
   Section heading
   ===================================================== */
.section{padding:72px 0}
.section-title{text-align:center;font-size:clamp(1.8rem,3.4vw,2.6rem);margin:0 0 48px;font-weight:600}
.section-title strong{font-weight:900}
.section-title.left{text-align:left;font-weight:500}

/* =====================================================
   Post grid (3-col)
   ===================================================== */
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
.post-card .thumb{aspect-ratio:4/3;border-radius:var(--radius);overflow:hidden;background:var(--c-muted);margin-bottom:14px}
.post-card .thumb img{width:100%;height:100%;object-fit:cover}
.post-meta{display:flex;align-items:center;gap:10px;font-size:.78rem;color:var(--c-subtle);margin-bottom:8px;flex-wrap:wrap}
.post-meta .avatar{width:24px;height:24px;border-radius:50%;object-fit:cover}
.post-meta .author{color:var(--c-contrast);font-weight:600}
.post-meta .dot{width:3px;height:3px;border-radius:50%;background:var(--c-subtle)}
.post-card h3{font-size:1.05rem;font-weight:800;line-height:1.35;margin:0}
.post-card h3 a{text-decoration:none}
.post-card h3 a:hover{text-decoration:underline}

@media (max-width:780px){
  .post-grid{grid-template-columns:1fr;gap:28px}
}

/* v1.1.16 — Related posts column overrides & meta hiding */
.related.is-cols-1 .related-grid{grid-template-columns:1fr}
.related.is-cols-2 .related-grid{grid-template-columns:repeat(2,1fr)}
.related.is-cols-3 .related-grid{grid-template-columns:repeat(3,1fr)}
.related.is-cols-4 .related-grid{grid-template-columns:repeat(4,1fr)}
@media (max-width:980px){
  .related.is-cols-3 .related-grid,
  .related.is-cols-4 .related-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:600px){
  .related .related-grid{grid-template-columns:1fr}
}
.related.hide-author .post-card .post-meta .avatar,
.related.hide-author .post-card .post-meta .author{display:none}
.related.hide-date   .post-card .post-meta time{display:none}
.related.hide-cat    .post-card .post-meta .pill{display:none}
/* Hide stray separator dot when surrounding meta is hidden */
.related.hide-author.hide-date .post-card .post-meta .dot,
.related.hide-author .post-card .post-meta .dot,
.related.hide-date   .post-card .post-meta .dot{display:none}

/* =====================================================
   Authors block
   ===================================================== */
.authors-wrap{display:grid;grid-template-columns:340px 1fr;gap:32px;align-items:start}
.author-card{background:var(--c-accent);border-radius:var(--radius-lg);padding:36px 28px;text-align:center;position:relative}
.author-card .avatar-lg{width:96px;height:96px;border-radius:50%;background:#fff;margin:0 auto 16px;overflow:hidden;border:4px solid #fff}
.author-card .avatar-lg img{width:100%;height:100%;object-fit:cover}
.author-card h3{font-size:1.15rem;margin:0 0 10px}
.author-card p{font-size:.82rem;color:var(--c-contrast);opacity:.85;margin:0 0 18px;line-height:1.55}
.author-card .socials{display:flex;justify-content:center;gap:8px}
.author-card .socials a{width:34px;height:34px;border-radius:50%;background:#fff;display:inline-flex;align-items:center;justify-content:center}
.author-card .socials svg{width:14px;height:14px}
.author-list{display:flex;flex-direction:column;gap:14px}
.author-row{display:grid;grid-template-columns:120px 1fr;gap:18px;align-items:center;background:#fff;border:1px solid var(--c-border);border-radius:var(--radius);padding:14px;text-decoration:none}
.author-row:hover{text-decoration:none;border-color:#d4d0c4}
.author-row .thumb{aspect-ratio:4/3;border-radius:var(--radius-sm);overflow:hidden;background:var(--c-muted)}
.author-row .thumb img{width:100%;height:100%;object-fit:cover}
.author-row .meta{font-size:.7rem;color:var(--c-subtle);margin-bottom:6px;display:flex;gap:10px;align-items:center}
.author-row h4{font-size:.95rem;margin:0;font-weight:700;line-height:1.4;color:var(--c-contrast)}
.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:32px}
.section-head h2{margin:0;font-size:clamp(1.6rem,3vw,2.2rem);font-weight:500}
.section-head h2 strong{font-weight:900}
.btn-ghost{display:inline-block;padding:8px 18px;border:1px solid var(--c-border);border-radius:var(--radius-pill);font-size:.8rem;font-weight:600;background:#fff;color:var(--c-contrast);text-decoration:none}

@media (max-width:780px){
  .authors-wrap{grid-template-columns:1fr}
  .author-row{grid-template-columns:90px 1fr}
}

/* =====================================================
   Featured posts (3 top + 3 compact)
   ===================================================== */
.featured-compact{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:36px}
.featured-row{display:grid;grid-template-columns:120px 1fr;gap:14px;align-items:center}
.featured-row .thumb{aspect-ratio:4/3;border-radius:var(--radius-sm);overflow:hidden;background:var(--c-muted)}
.featured-row .thumb img{width:100%;height:100%;object-fit:cover}
.featured-row h4{font-size:.88rem;margin:0 0 6px;font-weight:700;line-height:1.4}
.featured-row .meta{font-size:.7rem;color:var(--c-subtle)}

@media (max-width:780px){
  .featured-compact{grid-template-columns:1fr;gap:20px}
}

/* =====================================================
   Newsletter band
   ===================================================== */
.newsletter-band{text-align:center;padding:72px 0}
.newsletter-band h2{font-size:clamp(1.6rem,3vw,2.2rem);font-weight:500;max-width:24ch;margin:0 auto 24px}
.newsletter-band h2 strong{font-weight:900}
.newsletter-band .newsletter-inline{max-width:460px;margin:0 auto 8px}
.newsletter-band small{color:var(--c-subtle);font-size:.72rem}

/* =====================================================
   Footer
   ===================================================== */
.site-footer{border-top:1px solid var(--c-border);padding:56px 0 28px;margin-top:24px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px}
.footer-grid h4{font-size:.95rem;font-weight:800;margin:0 0 16px}
.footer-grid ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}
.footer-grid a{font-size:.88rem;color:var(--c-contrast);text-decoration:none}
.footer-grid a:hover{color:var(--c-subtle)}
.footer-brand{font-weight:900;letter-spacing:.25em;font-size:1.35rem;margin-bottom:14px;display:inline-block}
.footer-brand img{max-height:32px;width:auto}
.footer-tagline{font-size:.85rem;color:var(--c-subtle);margin:0 0 16px;max-width:32ch}
.footer-socials{display:flex;gap:8px}
.footer-socials a{width:32px;height:32px;border-radius:50%;border:1px solid var(--c-border);display:inline-flex;align-items:center;justify-content:center;color:var(--c-contrast)}
.footer-socials svg{width:14px;height:14px}
.copyright{border-top:1px solid var(--c-border);margin-top:40px;padding-top:20px;text-align:center;font-size:.78rem;color:var(--c-subtle)}

@media (max-width:780px){
  .footer-grid{grid-template-columns:1fr 1fr;gap:32px}
}
@media (max-width:480px){
  .footer-grid{grid-template-columns:1fr}
}

/* =====================================================
   Single post — Editorial Wide
   ===================================================== */
.single-editorial{padding:24px 0 72px}
.single-editorial .post-hero{max-width:1080px;margin:0 auto 40px;border-radius:var(--radius-lg);overflow:hidden;background:var(--c-muted)}
.single-editorial .post-hero img{width:100%;height:auto;display:block}
.single-editorial .post-head{max-width:760px;margin:0 auto 32px;text-align:left}
.single-editorial .post-head h1{font-size:clamp(2rem,4.2vw,3.2rem);margin:14px 0 18px}
.single-editorial .entry-content{max-width:720px;margin:0 auto;font-size:1.05rem;line-height:1.75}
.entry-content h2{font-size:1.6rem;margin-top:1.8em}
.entry-content h3{font-size:1.25rem;margin-top:1.5em}
.entry-content p{margin:0 0 1.1em}
.entry-content img,.entry-content .wp-block-image{border-radius:var(--radius);overflow:hidden}
.entry-content blockquote{border-left:3px solid var(--c-accent);padding:8px 0 8px 20px;margin:1.5em 0;font-style:italic;color:var(--c-subtle)}
.entry-content a{text-decoration:underline}
.entry-content code{background:var(--c-muted);padding:2px 6px;border-radius:4px;font-size:.92em}
.entry-content pre{background:#0A0A0A;color:#fff;padding:20px;border-radius:var(--radius);overflow:auto;font-size:.88rem}
.entry-footer{max-width:720px;margin:48px auto 0;padding-top:24px;border-top:1px solid var(--c-border);font-size:.85rem;color:var(--c-subtle)}
.entry-footer .tags a{display:inline-block;padding:4px 12px;border:1px solid var(--c-border);border-radius:var(--radius-pill);margin:0 6px 6px 0;font-size:.75rem;color:var(--c-contrast);text-decoration:none}
.related{max-width:1080px;margin:64px auto 0}

/* =====================================================
   Single post — Magazine Sidebar
   ===================================================== */
.single-magazine{padding:48px 0 72px}
.single-magazine .wrap{display:grid;grid-template-columns:1fr 320px;gap:48px;max-width:1180px;margin:0 auto}
.single-magazine .post-head h1{font-size:clamp(1.8rem,3.4vw,2.6rem);margin:14px 0 18px}
.single-magazine .post-hero{border-radius:var(--radius);overflow:hidden;background:var(--c-muted);margin:24px 0 28px}
.single-magazine .post-hero img{width:100%;height:auto;display:block}
.single-magazine .entry-content{font-size:1rem;line-height:1.75}
.sidebar .widget{margin-bottom:32px}
.sidebar h4{font-size:.95rem;font-weight:800;margin:0 0 14px}
.sidebar .author-card{padding:28px 20px}
.sidebar .recent-list{display:flex;flex-direction:column;gap:14px}
.sidebar .recent-list a{display:grid;grid-template-columns:80px 1fr;gap:12px;align-items:center;text-decoration:none}
.sidebar .recent-list .thumb{aspect-ratio:4/3;border-radius:var(--radius-sm);overflow:hidden;background:var(--c-muted)}
.sidebar .recent-list .thumb img{width:100%;height:100%;object-fit:cover}
.sidebar .recent-list h5{margin:0;font-size:.82rem;font-weight:700;line-height:1.4;color:var(--c-contrast)}

@media (max-width:920px){
  .single-magazine .wrap{grid-template-columns:1fr}
}

/* =====================================================
   Archive / search / 404
   ===================================================== */
.archive-header{padding:48px 0 24px}
.archive-header h1{font-size:clamp(2rem,4vw,3rem);margin:0 0 8px}
.archive-header p{color:var(--c-subtle);margin:0}
.pagination{display:flex;justify-content:center;gap:8px;margin-top:48px}
.pagination .page-numbers{padding:8px 14px;border-radius:var(--radius-pill);border:1px solid var(--c-border);font-size:.85rem;color:var(--c-contrast);text-decoration:none}
.pagination .page-numbers.current{background:var(--c-contrast);color:#fff;border-color:var(--c-contrast)}

.notfound{padding:120px 0;text-align:center}
.notfound h1{font-size:clamp(4rem,12vw,9rem);margin:0;letter-spacing:-0.05em}
.notfound p{color:var(--c-subtle);font-size:1.1rem;margin:8px 0 28px}
.btn{display:inline-block;padding:12px 26px;border-radius:var(--radius-pill);background:var(--c-contrast);color:#fff;font-weight:600;font-size:.9rem;text-decoration:none}
.btn:hover{text-decoration:none;background:#222}

/* =====================================================
   Comments
   ===================================================== */
.comments-area{max-width:720px;margin:48px auto 0}
.comments-area h2{font-size:1.4rem;margin-bottom:24px}
.comment-list{list-style:none;padding:0;margin:0 0 32px}
.comment{border-bottom:1px solid var(--c-border);padding:18px 0}
.comment .comment-author{display:flex;gap:12px;align-items:center;margin-bottom:8px}
.comment .avatar{border-radius:50%}
.comment .fn{font-weight:700;font-size:.9rem}
.comment .says{display:none}
.comment-meta{font-size:.75rem;color:var(--c-subtle);margin-bottom:8px}
.comment-respond input[type=text],.comment-respond input[type=email],.comment-respond input[type=url],.comment-respond textarea{width:100%;padding:10px 14px;border:1px solid var(--c-border);border-radius:var(--radius-sm);font:inherit;margin-bottom:12px;background:#fff}
.comment-respond .submit{padding:10px 22px;border:0;border-radius:var(--radius-pill);background:var(--c-contrast);color:#fff;font-weight:600;cursor:pointer}

/* =====================================================
   Gutenberg / block content tweaks
   ===================================================== */
.entry-content .wp-block-image figcaption{font-size:.8rem;color:var(--c-subtle);text-align:center;margin-top:8px}
.entry-content .wp-block-quote{border-left:3px solid var(--c-accent);padding-left:20px;font-style:italic}
.entry-content .wp-block-button__link{background:var(--c-contrast);color:#fff;border-radius:var(--radius-pill);padding:10px 22px;font-weight:600;text-decoration:none}
.entry-content .wp-block-pullquote{border-top:2px solid var(--c-contrast);border-bottom:2px solid var(--c-contrast);padding:24px 0;text-align:center}

/* =====================================================
   Utility
   ===================================================== */
.alignwide{margin-left:calc(50% - 50vw + 24px);margin-right:calc(50% - 50vw + 24px);max-width:1200px;margin-left:auto;margin-right:auto}
.alignfull{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);max-width:100vw}

/* =====================================================
   v1.1 — Dark mode rules (only active when [data-theme="dark"])
   ===================================================== */
:root[data-theme="dark"] .site-header,
:root[data-theme="dark"] .hero{background:var(--c-cream)}
:root[data-theme="dark"] .post-card,
:root[data-theme="dark"] .author-card,
:root[data-theme="dark"] .widget,
:root[data-theme="dark"] .site-footer{background:var(--c-muted);color:var(--c-contrast)}
:root[data-theme="dark"] .comment-respond input,
:root[data-theme="dark"] .comment-respond textarea{background:var(--c-muted);color:var(--c-contrast);border-color:var(--c-border)}
:root[data-theme="dark"] .entry-content .wp-block-button__link,
:root[data-theme="dark"] .comment-respond .submit{background:var(--c-accent);color:#0A0A0A}

/* Breadcrumb */
.gt-breadcrumb{font-size:.8rem;color:var(--c-subtle);margin:18px 0}
.gt-breadcrumb ol{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:6px}
.gt-breadcrumb li+li::before{content:"/";margin-right:6px;color:var(--c-border)}
.gt-breadcrumb a{color:inherit;text-decoration:none}
.gt-breadcrumb a:hover{color:var(--c-contrast)}

/* Lazy comments placeholder */
#comments[data-gt-lazy="1"]:not(.is-loaded) .commentlist,
#comments[data-gt-lazy="1"]:not(.is-loaded) .comment-list,
#comments[data-gt-lazy="1"]:not(.is-loaded) #respond{opacity:0;transition:opacity .3s}
#comments.is-loaded .commentlist,
#comments.is-loaded .comment-list,
#comments.is-loaded #respond{opacity:1}

/* =====================================================
   v1.1 — Print stylesheet
   ===================================================== */
@media print{
  .site-header,.site-footer,.header-tools,.nav-toggle,.main-nav,
  .gt-modal,.related,#comments,.skip-link,.footer-grid{display:none!important}
  body{background:#fff;color:#000;font-size:12pt}
  a{color:#000;text-decoration:underline}
  .entry-content{max-width:none}
  .post-hero img{max-height:4in;object-fit:cover}
}

/* === v1.1.1 additions === */
/* Author box */
.gt-author-box{display:flex;gap:20px;align-items:flex-start;margin:48px 0;padding:24px;border:1px solid var(--c-border);border-radius:14px;background:var(--c-muted)}
.gt-author-box .gt-author-avatar img{border-radius:50%;width:72px;height:72px}
.gt-author-kicker{font-size:.75rem;text-transform:uppercase;letter-spacing:.12em;color:var(--c-subtle);margin:0 0 4px;font-weight:700}
.gt-author-name{margin:0 0 8px;font-size:1.15rem;font-weight:800}
.gt-author-name a{color:inherit;text-decoration:none}
.gt-author-desc{margin:0 0 10px;color:var(--c-subtle);line-height:1.55}
.gt-author-links{margin:0;font-size:.85rem}
.gt-author-links a{color:var(--c-contrast);text-decoration:underline}
@media(max-width:560px){.gt-author-box{flex-direction:column;text-align:left}}

/* 404 */
.notfound{padding:80px 0 100px;text-align:center}
.notfound-kicker{font-size:.8rem;text-transform:uppercase;letter-spacing:.18em;color:var(--c-subtle);font-weight:700;margin:0 0 12px}
.notfound h1{font-size:clamp(2.4rem,6vw,4rem);margin:0 0 16px;letter-spacing:-.02em}
.notfound-lead{max-width:520px;margin:0 auto 28px;color:var(--c-subtle)}
.notfound-search{max-width:480px;margin:0 auto 24px}
.notfound-actions{margin:8px 0 40px}
.notfound .btn{display:inline-block;background:var(--c-contrast);color:var(--c-base);padding:12px 22px;border-radius:999px;text-decoration:none;font-weight:700}
.notfound-recent{max-width:520px;margin:24px auto 0;text-align:left;border-top:1px solid var(--c-border);padding-top:24px}
.notfound-recent h2{font-size:1rem;text-transform:uppercase;letter-spacing:.1em;color:var(--c-subtle);margin:0 0 12px}
.notfound-recent ul{list-style:none;padding:0;margin:0}
.notfound-recent li{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--c-border)}
.notfound-recent li a{color:var(--c-contrast);text-decoration:none;font-weight:600}
.notfound-recent li span{color:var(--c-subtle);font-size:.85rem;white-space:nowrap}

/* Author archive header */
.author-archive-header{padding:56px 0 32px}
.author-archive-bio{display:flex;gap:24px;align-items:center}
.author-archive-bio .avatar img{border-radius:50%;width:96px;height:96px}
.author-archive-bio .kicker{font-size:.75rem;text-transform:uppercase;letter-spacing:.15em;color:var(--c-subtle);font-weight:700;margin:0 0 6px}
.author-archive-bio h1{margin:0 0 8px;font-size:clamp(1.8rem,3.5vw,2.6rem);letter-spacing:-.02em}
.author-archive-bio .bio{margin:0;color:var(--c-subtle);max-width:60ch}
@media(max-width:600px){.author-archive-bio{flex-direction:column;text-align:left;align-items:flex-start}}

/* Full-width template */
.tpl-fullwidth .post-head{padding:48px 24px 16px}
.tpl-fullwidth .alignfull-wrap > *{max-width:1180px;margin-left:auto;margin-right:auto;padding:0 24px}
.tpl-fullwidth .alignfull-wrap > .alignfull{max-width:none;padding:0}
.tpl-fullwidth .alignfull-wrap > .alignwide{max-width:1400px}
/* v1.1.12 — defeat legacy .single-editorial 720px cap on wide post templates */
body.single-fullwidth .entry-content,
body.single-landing .entry-content,
body.single-transparent .entry-content,
.tpl-fullwidth .entry-content,
.tpl-landing .entry-content{max-width:none;font-size:inherit;line-height:inherit}
body.single-fullwidth .post-hero,
body.single-landing .post-hero,
body.single-transparent .post-hero{max-width:1400px}

/* Landing template */
.gtfast-landing .tpl-landing{min-height:100vh}
.gtfast-landing .tpl-landing .post-head{padding:48px 24px 16px}

/* v1.1.13 — Author social icons */
.gt-author-socials{list-style:none;margin:12px 0 0;padding:0;display:flex;gap:8px;flex-wrap:wrap}
.gt-author-socials a{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--c-bg,#fff);border:1px solid var(--c-border);color:var(--c-contrast);text-decoration:none;transition:background .15s ease,color .15s ease}
.gt-author-socials a:hover{background:var(--c-contrast);color:var(--c-bg,#fff)}

/* v1.1.13 — Social share buttons */
.gt-share{display:inline-flex;align-items:center;gap:8px}
.gt-share-list{list-style:none;margin:0;padding:0;display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}
.gt-share-btn{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:var(--c-muted);color:var(--c-contrast);text-decoration:none;transition:background .15s ease,color .15s ease;border:1px solid transparent}
.gt-share-btn:hover{background:var(--c-contrast);color:var(--c-bg,#fff)}
.gt-share .gt-share-name{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.gt-share.is-block{display:flex;align-items:center;gap:12px;margin:28px 0 0;padding:16px 0;border-top:1px solid var(--c-border);border-bottom:1px solid var(--c-border);flex-wrap:wrap}
.gt-share.is-block .gt-share-label{font-size:.78rem;text-transform:uppercase;letter-spacing:.12em;color:var(--c-subtle);font-weight:700}
.gt-share.is-block .gt-share-btn{width:36px;height:36px}

/* v1.1.13 — post-meta with share on the right */
.post-meta{justify-content:space-between}
.post-meta .post-meta-main{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
@media(max-width:600px){.post-meta{flex-direction:column;align-items:flex-start;gap:10px}.gt-share.is-inline{margin-left:0}}

/* v1.1.13 — Sticky sidebar */
.gt-sidebar.is-sticky .gt-sidebar-inner{position:sticky;top:96px;max-height:calc(100vh - 120px);overflow-y:auto}

/* ============================================================
 * v1.1.14 — Table of Contents (Daftar Isi)
 * ============================================================ */
.gtfast-toc{margin:0 0 28px;border:1px solid var(--c-border);border-radius:var(--radius);background:var(--c-card);overflow:hidden}
.gtfast-toc__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid var(--c-border);background:var(--c-base)}
.gtfast-toc__toggle{display:inline-flex;align-items:center;gap:10px;background:transparent;border:0;padding:0;font-weight:800;font-size:1.05rem;color:var(--c-contrast)}
.gtfast-toc__icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:var(--c-muted);color:var(--c-contrast)}
.gtfast-toc__title{letter-spacing:-0.01em}
.gtfast-toc__collapse{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:8px;border:1px solid var(--c-border);background:var(--c-card);font-size:1.1rem;line-height:1;color:var(--c-contrast)}
.gtfast-toc__body{padding:10px 18px 14px;transition:max-height .25s ease}
.gtfast-toc.is-collapsed .gtfast-toc__body,
.gtfast-toc.is-collapsed .gtfast-toc__foot{display:none}
.gtfast-toc__list{list-style:none;margin:0;padding:0;counter-reset:gttoc}
.gtfast-toc__item{display:flex;align-items:flex-start;gap:14px;padding:10px 4px;border-bottom:1px solid transparent}
.gtfast-toc__item.is-sub{padding-left:36px}
.gtfast-toc__num{flex:0 0 34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--c-border);border-radius:10px;background:var(--c-card);font-weight:700;font-size:.9rem;color:var(--c-contrast)}
.gtfast-toc__item.is-sub .gtfast-toc__num{flex-basis:28px;height:28px;font-size:.78rem;border-radius:8px}
.gtfast-toc__link{color:var(--c-contrast);font-weight:600;text-decoration:underline;text-underline-offset:3px;line-height:1.45;padding-top:4px}
.gtfast-toc__link:hover{color:var(--c-accent);text-decoration-thickness:2px}
.gtfast-toc__foot{display:flex;justify-content:space-between;gap:12px;padding:12px 18px;border-top:1px solid var(--c-border);color:var(--c-subtle);font-size:.88rem;background:var(--c-base)}
@media(max-width:600px){.gtfast-toc__head{padding:12px 14px}.gtfast-toc__body{padding:8px 12px 12px}.gtfast-toc__item.is-sub{padding-left:24px}}

/* ============================================================
 * v1.1.14 — Search & Filter bar
 * ============================================================ */
.gtfast-sf{display:grid;grid-template-columns:1fr auto auto;gap:18px;align-items:end;padding:18px;border:1px solid var(--c-border);border-radius:var(--radius);background:var(--c-card);margin:0 0 16px}
.gtfast-sf__field{display:flex;flex-direction:column;gap:8px;min-width:0}
.gtfast-sf__label{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;font-weight:800;color:var(--c-subtle)}
.gtfast-sf input[type="search"],
.gtfast-sf select{width:100%;height:46px;padding:0 14px;border:1px solid var(--c-border);border-radius:var(--radius-sm);background:var(--c-base);color:var(--c-contrast);font:inherit;outline:none;transition:border-color .15s ease,box-shadow .15s ease}
.gtfast-sf input[type="search"]:focus,
.gtfast-sf select:focus{border-color:var(--c-contrast);box-shadow:0 0 0 3px color-mix(in oklab,var(--c-contrast) 10%,transparent)}
.gtfast-sf__select-wrap{position:relative}
.gtfast-sf__select-wrap::after{content:"";position:absolute;right:14px;top:50%;width:8px;height:8px;border-right:2px solid var(--c-subtle);border-bottom:2px solid var(--c-subtle);transform:translateY(-75%) rotate(45deg);pointer-events:none}
.gtfast-sf select{appearance:none;-webkit-appearance:none;padding-right:36px;min-width:200px}
.gtfast-sf__field--sort{min-width:220px}
.gtfast-sf__btn{height:46px;padding:0 24px;border:0;border-radius:var(--radius-pill);background:var(--c-accent);color:#0A0A0A;font-weight:800;letter-spacing:.01em;transition:transform .12s ease,filter .15s ease}
.gtfast-sf__btn:hover{filter:brightness(.95)}
.gtfast-sf__btn:active{transform:translateY(1px)}
.gtfast-sf__total{margin:6px 2px 22px;color:var(--c-subtle);font-size:.95rem}
.gtfast-sf__total strong{color:var(--c-contrast);font-weight:800}
@media(max-width:760px){.gtfast-sf{grid-template-columns:1fr;gap:14px}.gtfast-sf__field--submit{align-self:stretch}.gtfast-sf__btn{width:100%}}

/* v1.1.15 — TOC h4 sub-sub level */
.gtfast-toc__item.is-sub2{padding-left:60px}
.gtfast-toc__item.is-sub2 .gtfast-toc__num{flex-basis:24px;height:24px;font-size:.72rem;border-radius:6px}
@media(max-width:600px){.gtfast-toc__item.is-sub2{padding-left:40px}}
.gt-blog-intro{margin:0 0 18px}

/* =====================================================
   v1.1.21 — Category/Archive grid polish
   ===================================================== */
.archive .post-grid,
.search-results .post-grid,
.blog .post-grid{align-items:stretch}
.archive .post-card,
.search-results .post-card,
.blog .post-card{
  background:var(--c-card);
  border:1px solid var(--c-border);
  border-radius:18px;
  padding:14px;
  display:flex;flex-direction:column;
  overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow:0 1px 2px rgba(0,0,0,.03);
}
.archive .post-card:hover,
.search-results .post-card:hover,
.blog .post-card:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 28px -14px rgba(0,0,0,.18);
  border-color:#d8d4c7;
}
.archive .post-card .thumb,
.search-results .post-card .thumb,
.blog .post-card .thumb{
  border-radius:14px;
  aspect-ratio:16/10;
  margin-bottom:14px;
}
.archive .post-card .post-meta,
.search-results .post-card .post-meta,
.blog .post-card .post-meta{margin:2px 4px 8px}
.archive .post-card h3,
.search-results .post-card h3,
.blog .post-card h3{padding:0 4px;font-size:1.08rem;line-height:1.35}
.archive .post-card .excerpt,
.search-results .post-card .excerpt,
.blog .post-card .excerpt{padding:6px 4px 4px;color:var(--c-subtle);font-size:.92rem;line-height:1.55;margin-top:auto}
.archive-header,
.search-results .archive-header,
.blog .archive-header{padding:56px 0 28px;text-align:center}
.archive-header h1{margin-bottom:10px}
.archive-header p{max-width:640px;margin:0 auto;color:var(--c-subtle)}
@media (min-width:781px){
  .archive .post-grid,
  .search-results .post-grid,
  .blog .post-grid{grid-template-columns:repeat(3,1fr);gap:28px}
}
@media (max-width:780px){
  .archive .post-card,
  .search-results .post-card,
  .blog .post-card{padding:12px;border-radius:16px}
  .archive .post-card .thumb,
  .search-results .post-card .thumb,
  .blog .post-card .thumb{aspect-ratio:16/10;border-radius:12px}
}
:root[data-theme="dark"] .archive .post-card,
:root[data-theme="dark"] .search-results .post-card,
:root[data-theme="dark"] .blog .post-card,
:root[data-theme="dark"] .single .related .post-card{background:var(--c-muted);border-color:rgba(255,255,255,.08)}

/* v1.1.22 — Polish "Artikel terkait" (related posts) di single post,
   konsisten dengan kartu di halaman kategori/arsip. */
.single .related{margin-top:48px}
.single .related .section-title{font-weight:800;letter-spacing:-.01em;margin-bottom:24px}
.single .related .post-grid{align-items:stretch}
.single .related .post-card{
  background:var(--c-card);
  border:1px solid var(--c-border);
  border-radius:18px;
  padding:14px;
  display:flex;flex-direction:column;
  overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow:0 1px 2px rgba(0,0,0,.03);
}
.single .related .post-card:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 28px -14px rgba(0,0,0,.18);
  border-color:#d8d4c7;
}
.single .related .post-card .thumb{
  border-radius:14px;
  aspect-ratio:16/10;
  margin-bottom:14px;
}
.single .related .post-card .post-meta{margin:2px 4px 8px}
.single .related .post-card h3{padding:0 4px;font-size:1.08rem;line-height:1.35}
.single .related .post-card .excerpt{padding:6px 4px 4px;color:var(--c-subtle);font-size:.92rem;line-height:1.55;margin-top:auto}
@media (max-width:780px){
  .single .related .post-card{padding:12px;border-radius:16px}
  .single .related .post-card .thumb{border-radius:12px}
}


/* =====================================================
   v1.2 — Article listing shortcodes
   ===================================================== */
.gt-articles{margin:32px 0}
.gt-articles__title{font-size:.82rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--c-accent,#2f5d3a);margin:0 0 18px;padding-bottom:10px;border-bottom:1px solid var(--c-border)}

/* Recent / Artikel Lainnya — horizontal cards */
.gt-articles__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.gt-articles__item{display:grid;grid-template-columns:104px minmax(0,1fr);gap:16px;align-items:stretch;min-height:92px;background:var(--c-card,#fff);border:1px solid var(--c-border);border-radius:16px;padding:8px;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.gt-articles__item:hover{transform:translateY(-2px);box-shadow:0 10px 28px -16px rgba(0,0,0,.18);border-color:color-mix(in oklab,var(--c-border) 60%,var(--c-contrast) 20%)}
.gt-articles__thumb{position:relative;display:block;width:104px;height:92px;border-radius:12px;overflow:hidden;background:var(--c-muted);align-self:stretch}
.gt-articles__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.gt-articles__pill{position:absolute;left:6px;top:6px;background:rgba(20,20,20,.85);color:#fff;font-size:.6rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:4px 8px;border-radius:999px;backdrop-filter:blur(4px);max-width:calc(100% - 12px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gt-articles__body{display:flex;flex-direction:column;justify-content:center;gap:6px;padding:4px 8px 4px 0;min-width:0}
.gt-articles__date{font-size:.72rem;font-weight:800;letter-spacing:.1em;color:var(--c-subtle);text-transform:uppercase}
.gt-articles__heading{font-size:1.02rem;line-height:1.35;font-weight:700;margin:0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.gt-articles__heading a{text-decoration:none;color:inherit}
.gt-articles__heading a:hover{text-decoration:underline}
@media (max-width:560px){
  .gt-articles__item{grid-template-columns:88px minmax(0,1fr);gap:12px;min-height:80px}
  .gt-articles__thumb{width:88px;height:80px}
  .gt-articles__heading{font-size:.95rem}
}

/* Popular — numbered list */
.gt-popular__list{list-style:none;margin:0;padding:0;counter-reset:gtpop}
.gt-popular__item{display:grid;grid-template-columns:54px 1fr;gap:14px;align-items:start;padding:18px 4px;border-bottom:1px solid var(--c-border)}
.gt-popular__item:last-child{border-bottom:0}
.gt-popular__num{font-size:1.5rem;font-weight:700;color:var(--c-accent,#a8884a);letter-spacing:-.02em;line-height:1}
.gt-popular__body{display:flex;flex-direction:column;gap:6px}
.gt-popular__heading{font-size:1.02rem;font-weight:600;line-height:1.4;margin:0}
.gt-popular__heading a{text-decoration:none;color:inherit}
.gt-popular__heading a:hover{text-decoration:underline}
.gt-popular__meta{font-size:.7rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--c-subtle)}

/* Grid shortcode */
.gt-articles--grid .gt-articles__title{text-align:center;font-size:1.9rem;letter-spacing:-.01em;text-transform:none;font-weight:800;color:var(--c-contrast,#1a2332);border-bottom:0;margin-bottom:28px}
.gt-articles--grid .gt-grid{display:grid;gap:28px}
.gt-articles--grid.is-cols-1 .gt-grid{grid-template-columns:1fr}
.gt-articles--grid.is-cols-2 .gt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.gt-articles--grid.is-cols-3 .gt-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.gt-articles--grid.is-cols-4 .gt-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:768px){
  .gt-articles--grid .gt-grid,
  .gt-articles--grid.is-cols-2 .gt-grid,
  .gt-articles--grid.is-cols-3 .gt-grid,
  .gt-articles--grid.is-cols-4 .gt-grid{grid-template-columns:1fr}
  .gt-articles--grid .gt-articles__title{font-size:1.5rem}
}
.gt-articles--grid .post-card{background:var(--c-card,#fff);border:1px solid var(--c-border);border-radius:18px;padding:0;overflow:hidden;display:flex;flex-direction:column;transition:transform .15s ease,box-shadow .15s ease}
.gt-articles--grid .post-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px -18px rgba(0,0,0,.2)}
.gt-articles--grid .post-card .thumb{position:relative;border-radius:0;aspect-ratio:4/3;margin:0;overflow:hidden}
.gt-articles--grid .post-card .thumb img{width:100%;height:100%;object-fit:cover}
.gt-articles--grid .post-card .post-meta{padding:14px 18px 6px;margin:0}
.gt-articles--grid .post-card h3{padding:0 18px;font-size:1.1rem;line-height:1.4;font-weight:800;color:var(--c-accent,#e89a2b)}
.gt-articles--grid .post-card h3 a{color:inherit}
.gt-articles--grid .post-card .excerpt{padding:8px 18px 18px;color:var(--c-subtle);font-size:.95rem;line-height:1.6;margin-top:auto}

/* v1.2 — TOC: hide accordion toggle when shortcode disables it */
.gtfast-toc.is-no-collapse .gtfast-toc__collapse{display:none}

/* v1.2 — Spectra/Gutenberg compatibility: allow user padding/margin overrides */
.entry-content .wp-block-uagb-container[style*="padding"],
.entry-content .wp-block-group[style*="padding"]{padding:revert}
.entry-content .uagb-container-inner-blocks-wrap{padding:inherit}

/* ============================================================
 * v1.2.4 — Grid mobile polish, pagination, news grid
 * ============================================================ */

/* v1.2.5 — Mobile meta: tampilkan HANYA category pill + date dalam satu baris.
   Hide avatar/author/dot di mobile agar tidak wrap & terlihat rapi. */
@media (max-width:768px){
  .gt-articles--grid .post-card .post-meta{
    display:flex !important;flex-wrap:nowrap !important;align-items:center;
    justify-content:space-between;gap:10px;
    padding:14px 18px 6px;font-size:.78rem;
  }
  .gt-articles--grid .post-card .post-meta .pill{
    flex:0 1 auto;max-width:65%;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  }
  .gt-articles--grid .post-card .post-meta .avatar,
  .gt-articles--grid .post-card .post-meta .author,
  .gt-articles--grid .post-card .post-meta .dot{display:none !important}
  .gt-articles--grid .post-card .post-meta time{
    flex:0 0 auto;white-space:nowrap;color:var(--c-subtle);
  }
  .gt-articles--grid .post-card{padding-bottom:18px}
  .gt-articles--grid .post-card h3{padding-bottom:6px}
  .gt-articles--grid .post-card .excerpt{padding-bottom:18px}
}

/* Pagination (shared) */
.gt-pagination{margin:32px 0 8px;display:flex;justify-content:center}
.gt-pagination__list{list-style:none;margin:0;padding:0;display:inline-flex;gap:8px;flex-wrap:wrap}
.gt-pagination__item{display:inline-flex}
.gt-pagination a.page-numbers,
.gt-pagination span.page-numbers{
  display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 12px;
  border-radius:8px;border:1px solid var(--c-border);background:var(--c-card,#fff);
  color:var(--c-contrast,#1a2332);font-weight:600;font-size:.92rem;text-decoration:none;line-height:1;
  transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.gt-pagination a.page-numbers:hover{background:var(--c-muted);border-color:var(--c-contrast)}
.gt-pagination span.page-numbers.current{
  background:var(--c-accent,#e89a2b);color:var(--c-contrast,#1a2332);border-color:var(--c-accent,#e89a2b);
}
.gt-pagination span.page-numbers.dots{border-color:transparent;background:transparent}

/* News Grid wrapper */
.gt-news-grid{margin:32px 0}
.gt-news-grid__header{margin-bottom:20px}
.gt-news-grid__title{font-size:2.1rem;font-weight:800;letter-spacing:-.01em;margin:0 0 10px;color:var(--c-contrast,#1a2332)}
.gt-news-grid__subtitle{font-size:1rem;line-height:1.6;color:var(--c-subtle);margin:0;max-width:780px}
.gt-news-grid__filter{margin:0 0 28px}
.gt-news-grid__empty{padding:40px 0;text-align:center;color:var(--c-subtle)}
@media (max-width:768px){
  .gt-news-grid__title{font-size:1.5rem}
  .gt-news-grid__subtitle{font-size:.92rem}
}

/* ============================================================
 * v1.2.5 — Metro / Bento News Template
 * ============================================================ */
.gt-news-metro{margin:32px 0}
.gt-news-metro__header{margin-bottom:20px}
.gt-news-metro__title{font-size:2.1rem;font-weight:800;letter-spacing:-.01em;margin:0 0 10px;color:var(--c-contrast,#1a2332)}
.gt-news-metro__subtitle{font-size:1rem;line-height:1.6;color:var(--c-subtle);margin:0;max-width:780px}
.gt-news-metro__filter{margin:0 0 28px}
.gt-news-metro__empty{padding:40px 0;text-align:center;color:var(--c-subtle)}

/* Bento hero: 1 large feature (2x2) + 4 smaller cards (2x2 grid) on the right */
.gt-metro{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(180px,auto);gap:20px;margin-bottom:32px}
.gt-metro__feature{grid-column:span 2;grid-row:span 2;position:relative;overflow:hidden;border-radius:18px;min-height:380px}
.gt-metro__cell{position:relative;overflow:hidden;border-radius:14px;min-height:180px}
.gt-metro__feature a,.gt-metro__cell a{display:block;position:absolute;inset:0;color:#fff;text-decoration:none}
.gt-metro__feature img,.gt-metro__cell img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.gt-metro__feature:hover img,.gt-metro__cell:hover img{transform:scale(1.04)}
.gt-metro__feature::after,.gt-metro__cell::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 35%,rgba(0,0,0,.78) 100%);pointer-events:none}
.gt-metro__caption{position:absolute;left:0;right:0;bottom:0;padding:18px 20px;z-index:2;color:#fff}
.gt-metro__feature .gt-metro__title{font-size:1.4rem;line-height:1.25;font-weight:800;margin:0 0 8px;color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.4)}
.gt-metro__cell .gt-metro__title{font-size:.98rem;line-height:1.3;font-weight:700;margin:0 0 6px;color:#fff;text-shadow:0 1px 4px rgba(0,0,0,.5);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gt-metro__meta{font-size:.74rem;color:rgba(255,255,255,.85);display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.gt-metro__meta .dot{width:3px;height:3px;border-radius:50%;background:rgba(255,255,255,.7);display:inline-block}

/* Tablet: keep 4 cols but cells shrink */
@media (max-width:1024px){
  .gt-metro__feature{min-height:320px}
  .gt-metro__feature .gt-metro__title{font-size:1.2rem}
}

/* Mobile: stack — feature full width, small cells 2 cols */
@media (max-width:768px){
  .gt-metro{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(140px,auto);gap:14px;margin-bottom:24px}
  .gt-metro__feature{grid-column:span 2;grid-row:auto;min-height:260px}
  .gt-metro__cell{min-height:140px}
  .gt-news-metro__title{font-size:1.5rem}
  .gt-news-metro__subtitle{font-size:.92rem}
  .gt-metro__feature .gt-metro__title{font-size:1.1rem}
  .gt-metro__cell .gt-metro__title{font-size:.86rem}
}
