/*
Theme Name: Garuda Clean
Theme URI: https://www.garuda.website/
Author: Garuda Website
Author URI: https://www.garuda.website/
Description: Garuda Clean — a clean, fast, Medium-style WordPress theme. Rounded cards, full-height menu drawer, dark/light mode with separate transparent logos per mode, full-width featured image on single posts, and complete built-in SEO (dynamic titles, meta description, canonical, Open Graph, Twitter Card, JSON-LD). No page builders, no heavy frameworks. The "Theme by Garuda Website" credit is locked and can only be removed with an official Garuda license key (Theme Settings > License).
Version: 1.0.14
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary — Garuda Website. Credit removal requires a valid Garuda license key.
Text Domain: garuda-clean
Tags: blog, news, one-column, two-columns, right-sidebar, custom-menu, featured-images, threaded-comments, translation-ready, dark-mode
*/

/* ============ Variables ============ */
:root{
  --bg:#ffffff; --surface:#ffffff; --surface-2:#f7f7f7; --text:#14161a; --muted:#6b7280;
  --line:#e9ebee; --link:#2563eb; --accent:#ffb300;
  --card-radius:16px; --img-radius:10px;
  --header-h:60px; --maxw:1200px; --content-w:760px;
}
[data-theme="dark"]{
  --bg:#14161a; --surface:#1b1e24; --surface-2:#1b1e24; --text:#f1f1f1; --muted:#9ca3af;
  --line:#2a2e36; --link:#2dd4bf;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
a{color:var(--link)}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 16px}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ============ Header (Pezmp3 style) ============ */
.site-header{position:sticky;top:0;z-index:60;background:var(--bg);border-bottom:1px solid var(--line)}
.header-in{display:flex;align-items:center;gap:12px;height:var(--header-h);max-width:var(--maxw);margin:0 auto;padding:0 16px}
.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:0;background:transparent;color:var(--text);cursor:pointer;border-radius:50%;flex:0 0 auto}
.icon-btn svg{width:22px;height:22px}
.icon-btn:hover{background:var(--surface-2)}
.brand{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--text);margin-right:auto;min-width:0}
.brand-bars{display:inline-flex;align-items:flex-end;gap:2.5px;height:22px;flex:0 0 auto}
.brand-bars i{display:block;width:4.5px;border-radius:3px}
.brand-bars i:nth-child(1){height:10px;background:#29b6f6}
.brand-bars i:nth-child(2){height:16px;background:#66bb3a}
.brand-bars i:nth-child(3){height:22px;background:#ffb300}
.brand-bars i:nth-child(4){height:15px;background:#f57d00}
.brand-bars i:nth-child(5){height:19px;background:#ec407a}
.brand-bars i:nth-child(6){height:12px;background:#7e57c2}
.brand-name{font-size:23px;font-weight:800;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brand img{max-height:38px;width:auto}
.custom-logo-link{display:flex;align-items:center;margin-right:auto;min-width:0;flex:0 1 auto}
.custom-logo{max-height:38px;width:auto;max-width:220px}
/* Dual logos (Customizer > Garuda Clean Logo): show the one matching the
   current mode. html[data-theme] is set before first paint, so there is
   no flash of the wrong logo. */
.brand-logo-dark{display:none}
html[data-theme="dark"] .brand-logo-dark{display:flex}
html[data-theme="dark"] .brand-logo-light{display:none}
.header-actions{display:flex;align-items:center;gap:2px}
[data-theme="light"] .icon-moon{display:block}[data-theme="light"] .icon-sun{display:none}
[data-theme="dark"] .icon-moon{display:none}[data-theme="dark"] .icon-sun{display:block}

/* Search panel under header */
.search-panel{display:none;border-top:1px solid var(--line);background:var(--bg)}
.search-panel.open{display:block}
.search-panel form{display:flex;gap:8px;max-width:var(--maxw);margin:0 auto;padding:12px 16px}
.search-panel input[type="search"]{flex:1;padding:11px 14px;font-size:16px;color:var(--text);background:var(--surface-2);border:1px solid var(--line);border-radius:999px;outline:none}
.search-panel button{padding:11px 20px;border:0;border-radius:999px;background:var(--text);color:var(--bg);font-weight:700;cursor:pointer}

/* ============ Menu drawer (v1.0.9: Pezmp3 layout, measured from
   pezmp3.com on a 360px phone; menu text 16px per owner rule) ============
   300px panel (max 86vw), full 100dvh, dimmed scrim on the rest of
   the page. Top bar 60px with the header logo + close button. Menu
   and category rows: 16px / weight 500, 20px icons, 12px icon gap,
   52.4px row pitch (13px padding x2 + 26.4px line-height).
   Category rows carry a live post-count pill (31x24px).
   Social icons in 38px boxes, 8px apart. Legal links 13px on one
   line (nowrap); copyright and theme credit 13px muted on
   separate lines. */
.drawer{position:fixed;top:0;left:0;bottom:0;width:300px;max-width:86vw;height:100dvh;z-index:100;background:var(--bg);color:var(--text);
  display:flex;flex-direction:column;transform:translateX(-102%);transition:transform .28s ease;visibility:hidden}
.drawer.open{transform:none;visibility:visible}
.drawer-scrim{position:fixed;inset:0;z-index:99;background:rgba(0,0,0,.5);opacity:0;visibility:hidden;transition:opacity .28s ease}
.drawer-scrim.open{opacity:1;visibility:visible}
.drawer-top{display:flex;align-items:center;justify-content:space-between;height:var(--header-h);padding:0 16px;border-bottom:1px solid var(--line);flex:0 0 auto}
.drawer-nav{flex:1;overflow-y:auto;padding:14px 20px 8px}
.drawer-nav a{display:flex;align-items:center;gap:12px;padding:13px 4px;font-size:16px;font-weight:500;color:var(--text);text-decoration:none}
.drawer-nav a:hover{color:var(--link)}
.drawer-nav a svg{width:20px;height:20px;flex:0 0 auto}
.drawer-nav a .cat-count{margin-left:auto;min-width:31px;height:24px;padding:0 6px;border-radius:999px;background:#f0f1f3;color:#3a3f47;font-size:13px;font-weight:600;display:inline-flex;align-items:center;justify-content:center}
[data-theme="dark"] .drawer-nav a .cat-count{background:#2a2e36;color:#e5e7eb}
.drawer-sep{height:1px;background:var(--line);border:0;margin:14px 0}
.drawer-foot{padding:18px 20px 22px;flex:0 0 auto}
.social-row{display:flex;gap:8px;margin-bottom:16px}
.social-row a{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid var(--line);border-radius:10px;color:var(--text);text-decoration:none}
.social-row a svg{width:18px;height:18px}
.drawer-legal{display:flex;gap:20px;flex-wrap:nowrap;white-space:nowrap;margin-bottom:14px}
.drawer-legal a{color:var(--text);font-size:13px;font-weight:500;text-decoration:none}
.drawer-copy{font-size:13px;color:var(--muted);line-height:1.55;margin:0 0 4px}
.gc-credit{font-size:13px;color:var(--muted)}
.gc-credit a{color:var(--muted);font-weight:600}

/* ============ Section titles ============ */
.section-title{display:flex;align-items:center;gap:14px;font-size:21px;font-weight:800;margin:30px 0 16px}
.section-title::after{content:"";flex:1;height:1px;background:var(--line)}

/* ============ Category label "— in Fashion" ============ */
.cat-label{display:inline-flex;align-items:center;gap:8px;font-size:14.5px;color:var(--text);text-decoration:none}
.cat-label::before{content:"";width:26px;height:2px;background:var(--line);border-radius:2px}
.cat-label .in-word{font-style:italic;font-weight:800}
.cat-c1{color:#f43f8e}.cat-c2{color:#2563eb}.cat-c3{color:#f57d00}.cat-c4{color:#66bb3a}
.cat-c5{color:#7e57c2}.cat-c6{color:#29b6f6}.cat-c7{color:#e91e9c}.cat-c8{color:#ff5a2a}

/* ============ Post cards ============ */
.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.post-card{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:var(--card-radius);overflow:hidden;height:100%;min-width:0}
.post-card .thumb{display:block;aspect-ratio:16/9;overflow:hidden}
.post-card .thumb img{width:100%;height:100%;object-fit:cover;border-radius:var(--img-radius);display:block}
.post-card .card-body{display:flex;flex-direction:column;gap:8px;padding:14px 16px 16px;flex:1}
.post-card h3{font-size:17.5px;line-height:1.35;margin:0;font-weight:750}
.post-card h3 a{color:var(--text);text-decoration:none}
.post-card .excerpt{font-size:14.5px;color:var(--muted);margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.post-card time{margin-top:auto;padding-top:6px;font-size:13px;color:var(--muted)}

/* Featured post — one precise card, image fills left column */
.featured-card{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);background:var(--surface);border:1px solid var(--line);border-radius:var(--card-radius);overflow:hidden;margin-top:22px;min-width:0}
.featured-card .f-thumb{display:block;min-height:100%}
.featured-card .f-thumb img{width:100%;height:100%;object-fit:cover;display:block;border-radius:0}
.featured-card .f-body{display:flex;flex-direction:column;gap:10px;padding:26px}
.featured-card h2{font-size:27px;line-height:1.25;margin:0;font-weight:800}
.featured-card h2 a{color:var(--text);text-decoration:none}
.featured-card .excerpt{color:var(--muted);margin:0}
.featured-card time{margin-top:auto;font-size:13.5px;color:var(--muted)}

/* ============ Hero row (home) ============ */
.hero-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:22px}
.hero-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--card-radius);padding:12px 12px 18px;box-shadow:0 4px 16px rgba(20,24,40,.06);display:flex;flex-direction:column;transition:box-shadow .25s ease,transform .25s ease,border-color .25s ease;min-width:0}
.hero-card:hover{box-shadow:0 10px 28px rgba(20,24,40,.1);transform:translateY(-2px)}
.hero-card .thumb{display:block;overflow:hidden;border-radius:var(--img-radius)}
.hero-card .thumb img{width:100%;aspect-ratio:3/2;object-fit:cover;display:block;transition:transform .45s ease}
.hero-card:hover .thumb img{transform:scale(1.05)}
.hero-card .cat-label{margin:15px 6px 0}
.hero-card h2{font-size:21px;line-height:1.25;margin:7px 6px 0;font-weight:800}
.hero-card h2 a{color:var(--text);text-decoration:none}
.hero-card h2 a:hover{color:var(--link)}
.hero-card time{margin:8px 6px 0;font-size:12.5px;color:var(--muted)}

/* ============ Layout / sidebar ============ */
.layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:34px;align-items:start;padding-bottom:40px}
.main-col{min-width:0}
.sidebar .widget{margin-bottom:26px}
/* The Popular/Recent widgets render .side-card inside the widget
   wrapper, which already carries the 26px gap — drop the card's own
   bottom margin there so the spacing stays exactly one 26px. */
.sidebar .widget .side-card{margin-bottom:0}
.sidebar .widget-title{font-size:16px;font-weight:800;margin:0 0 10px;padding-bottom:8px;border-bottom:1px solid var(--line)}
.sidebar ul{list-style:none;margin:0;padding:0}
.sidebar li{padding:6px 0}
.sidebar a{color:var(--text);text-decoration:none}
.sidebar{min-width:0}

/* ============ Sidebar cards: Popular Posts + Recent Posts, like
   Garuda Lite (v1.0.11) ============
   .side-card: 14px radius, 16px 18px 18px padding, 1px border.
   Section head 21px/800 ink + 52px line (theme .section-title size).
   Items: number 12px/500 muted, meta 13px muted ("Nov 29 — in
   Guide"), title 17.5px/750 ink clamped to 2 lines, excerpt 14.5px
   muted clamped to 2 lines. Item 01 shows its featured image large,
   16:9, radius 10px.
   FONT (v1.0.13, owner rule "samakan dengan default"): the cards
   use the theme's own default font — body system stack
   (-apple-system, Segoe UI, Roboto, Helvetica, Arial), explicitly
   font-family:inherit here — NOT Lite's thin look. The difference
   the owner saw was Lite's styling, not a different family: title
   was 16px/400 muted grey, excerpt 13px, meta 12px, section head
   19px/400 muted. Sizes now match the theme's own .post-card
   (title 17.5px/750, excerpt 14.5px, date 13px; 15.5px title on
   phones) and .section-title (21px/800). */
.side-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:16px 18px 18px;margin-bottom:26px;font-family:inherit}
.side-card .section-head{font-size:21px;font-weight:800;color:var(--text);letter-spacing:-.02em;margin:0 0 6px;display:flex;align-items:center;gap:10px}
.side-card .section-head::after{content:"";width:52px;height:1px;background:var(--muted);opacity:.55;flex:none}
.pop{display:flex;gap:12px;padding:11px 0;border-bottom:1px solid var(--line);text-decoration:none;align-items:flex-start}
.pop:last-child{border-bottom:0;padding-bottom:2px}
.pop-no{font-size:12px;font-weight:500;color:var(--muted);min-width:20px;text-align:right;flex:none;line-height:1.35;padding-top:22px;font-variant-numeric:tabular-nums;letter-spacing:.02em}
.pop-main{display:flex;flex-direction:column;min-width:0}
.pop-meta{font-size:13px;color:var(--muted);line-height:1.4;margin:0 0 4px}
.pop-ttl{font-size:17.5px;font-weight:750;line-height:1.35;color:var(--text);display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pop-exc{font-size:14.5px;font-weight:400;color:var(--muted);line-height:1.65;margin:4px 0 0;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pop:hover .pop-ttl{color:var(--link)}
.pop-first{flex-wrap:wrap;row-gap:10px}
.pop-hero{flex:0 0 100%;display:block;border-radius:10px;overflow:hidden}
.pop-hero img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px}
.pop-first .pop-main{flex:1 1 0%}
.pagination{display:flex;gap:8px;justify-content:center;margin:30px 0}
.pagination a,.pagination span{padding:8px 14px;border:1px solid var(--line);border-radius:999px;color:var(--text);text-decoration:none}
.pagination .current{background:var(--text);color:var(--bg)}
.ad-slot{margin:26px 0;text-align:center}

/* ============ Single post ============ */
.breadcrumb{display:flex;align-items:center;gap:7px;font-size:14px;color:var(--muted);padding:16px 0 4px;white-space:nowrap;overflow:hidden}
.breadcrumb a{color:var(--link);text-decoration:none;border-bottom:1px dashed var(--link);flex:0 0 auto}
.breadcrumb .sep{flex:0 0 auto}
.breadcrumb .crumb-current{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text);font-weight:600;min-width:0}
/* Breadcrumb lives inside .single-head on single posts (v1.0.5), so its
   left edge aligns with the "in Category" label and the H1. The label
   sits above the breadcrumb (v1.0.10); the 6px top margins keep the old
   16px gap above the block (10px .single-head margin + 6px). */
.single-head .cat-label{margin-top:6px}
.single-head .breadcrumb{padding-top:6px}
.single-head{max-width:var(--content-w);margin:10px auto 0}
.single-head h1{font-size:36px;line-height:1.2;margin:10px 0 14px;font-weight:850;letter-spacing:-.01em}
.byline{display:flex;align-items:center;gap:12px;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.byline .avatar{border-radius:50%}
.byline .who{line-height:1.35}
.byline .who .name{font-weight:700}
.byline .who .meta{font-size:14px;color:var(--muted)}
.share-row{display:flex;gap:9px;padding:14px 0}
.share-row a{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid var(--line);border-radius:50%;color:var(--text);text-decoration:none}
.share-row a svg{width:18px;height:18px}
/* Featured image as a full cover (v1.0.7, owner rule): the figure breaks
   out of the .wrap side padding (margin -16px) so the image spans the
   full content width — edge to edge of the screen on phones — with
   square corners and a fixed 16:9 cover crop (object-fit:cover).
   The caption keeps the 16px side padding so its text never touches
   the screen edge. Breadcrumb/title stay in .single-head above it. */
.hero-full{margin:8px -16px 0}
.hero-full img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;border-radius:0}
.hero-full figcaption{font-size:13.5px;color:var(--muted);padding:8px 16px 0;text-align:center}
.entry-content{font-size:17.5px;line-height:1.75}
.entry-content p{margin:0 0 1.1em}
.entry-content a{color:#2563eb;text-decoration:underline dotted;text-underline-offset:3px}
[data-theme="dark"] .entry-content a{color:#2dd4bf}
.entry-content h2{font-size:26px;margin:1.4em 0 .5em;line-height:1.3;scroll-margin-top:76px}
.entry-content h3{font-size:21px;margin:1.2em 0 .45em;scroll-margin-top:76px}
.entry-content img{border-radius:var(--img-radius)}
.entry-content figure{margin:1.2em 0}
.entry-content figure.wp-block-table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%;margin:1.2em 0}
/* Table standard (v1.0.6): one column max 4 words; on phones the table
   keeps its natural width and scrolls left-right inside its figure —
   words stay whole, never split letter by letter. */
.entry-content figure.wp-block-table table{display:table;width:max-content;min-width:560px;table-layout:auto;border-collapse:collapse}
.entry-content figure.wp-block-table th,.entry-content figure.wp-block-table td{white-space:nowrap;word-break:normal;overflow-wrap:normal;hyphens:none;padding:10px 14px;font-size:14px;border:1px solid var(--line);text-align:left}
/* Bare tables (not wrapped in a figure): same behaviour via the table itself */
.entry-content>table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;width:100%;border-collapse:collapse}
.entry-content>table th,.entry-content>table td{white-space:nowrap;word-break:normal;overflow-wrap:normal;hyphens:none;padding:10px 14px;font-size:14px;border:1px solid var(--line);text-align:left}
.post-tags{display:flex;flex-wrap:wrap;gap:8px;margin:26px 0}
.post-tags a{padding:6px 13px;border:1px solid var(--line);border-radius:999px;color:var(--text);text-decoration:none;font-size:14px}
.author-box{display:flex;gap:16px;border:1px solid var(--line);border-radius:var(--card-radius);padding:20px;margin:26px 0}
.author-box .avatar{border-radius:50%;flex:0 0 auto}
.author-box h4{margin:0 0 5px;font-size:17px}
.author-box p{margin:0;color:var(--muted);font-size:15px}
.back-home{display:inline-block;margin:8px 0 30px;padding:11px 22px;border:1px solid var(--line);border-radius:999px;color:var(--text);text-decoration:none;font-weight:700}
.related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}

/* ============ Footer (page ends at ad box — no links, no credit) ============ */
.site-footer{padding:10px 0 84px}
.site-footer .ad-slot{margin-bottom:0}

/* ============ Mobile bottom bar ============ */
.mobile-bar{position:fixed;left:0;right:0;bottom:0;z-index:80;display:none;background:var(--bg);border-top:1px solid var(--line)}
.mobile-bar button,.mobile-bar a{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 0 9px;background:none;border:0;color:var(--text);font-size:11.5px;font-weight:600;text-decoration:none;cursor:pointer;font-family:inherit}
.mobile-bar svg{width:21px;height:21px}

/* ============ Responsive ============ */
@media (max-width:900px){
  .hero-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .post-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .layout{grid-template-columns:minmax(0,1fr)}
  .featured-card{grid-template-columns:minmax(0,1fr)}
  .featured-card .f-thumb img{aspect-ratio:16/9}
  .featured-card .f-body{padding:18px}
  .featured-card h2{font-size:22px}
  .single-head h1{font-size:29px}
  .mobile-bar{display:flex}
  .site-footer{padding-bottom:96px}
}
@media (max-width:520px){
  .hero-grid{grid-template-columns:1fr}
  /* Archive/category grid: 1 card per row, FORCED (v1.0.12). The
     v1.0.9 fix removed the inline 2-column style from archive.php,
     but a phone that still holds the OLD cached category HTML
     (inline style="grid-template-columns:repeat(2,1fr)" from
     <=v1.0.8) keeps showing 2 cards — an inline style beats a plain
     stylesheet rule. !important beats the stale inline style, so
     the grid is 1 column on phones whatever HTML the cache serves.
     The version bump (style.css?ver=1.0.12) busts the CSS cache too. */
  .post-grid{grid-template-columns:1fr!important;gap:16px}
  .post-card .card-body{padding:11px 12px 13px}
  .post-card h3{font-size:15.5px}
  .pop-ttl{font-size:15.5px}
  .brand-name{font-size:20px}
  .related-grid{grid-template-columns:1fr;gap:16px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* ============ Table of contents, like Garuda Lite (v1.0.10) ============
   Built automatically from the article's H2/H3 by main.js (hierarchical
   numbering: H2 = 1. 2. 3. ...; H3 = sub-items 4.1, 4.2, ...). Desktop
   >=1025px: sticky "Contents" sidebar on the LEFT of the article;
   phones/tablets <=1024px: fixed button on the right edge + "Contents"
   panel sliding in from the right. Hidden entirely when the article
   has fewer than 2 headings (JS hides both). Inline TOC boxes injected
   by plugins are never shown — the TOC lives only here, like Lite. */
.toc-zone{position:relative}
.toc-btn{position:fixed;right:0;left:auto;top:50%;transform:translateY(-50%);z-index:85;width:34px;height:44px;border-radius:12px 0 0 12px;border:1px solid var(--line);border-right:0;background:var(--surface);color:var(--text);cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:-4px 4px 14px rgba(0,0,0,.14)}
.toc-btn svg{width:18px;height:18px}
.toc-btn[hidden]{display:none}
.toc-overlay{position:fixed;inset:0;z-index:86;background:rgba(0,0,0,.5);opacity:0;pointer-events:none;transition:opacity .28s ease}
.toc-overlay.open{opacity:1;pointer-events:auto}
.toc-panel{position:fixed;top:0;right:0;left:auto;z-index:87;width:330px;max-width:86vw;height:100vh;height:100dvh;background:var(--surface);color:var(--text);border-left:1px solid var(--line);box-shadow:-8px 0 30px rgba(0,0,0,.22);padding:18px 20px 24px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;transform:translateX(106%);visibility:hidden;transition:transform .32s ease,visibility 0s linear .32s}
.toc-panel.open{transform:translateX(0);visibility:visible;transition:transform .32s ease}
.admin-bar .toc-panel{top:32px;height:calc(100vh - 32px);height:calc(100dvh - 32px)}
@media (max-width:782px){.admin-bar .toc-panel{top:46px;height:calc(100vh - 46px);height:calc(100dvh - 46px)}}
@media (prefers-reduced-motion:reduce){.toc-panel,.toc-overlay{transition:none}}
.toc-head{display:flex;align-items:center;gap:10px;margin:0 0 10px}
.toc-panel h4{margin:0;font-size:15px;font-weight:600;letter-spacing:0;text-transform:none;color:var(--muted)}
.toc-close{margin-left:auto;width:38px;height:38px;border-radius:50%;border:0;background:transparent;color:var(--text);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;font:inherit}
.toc-close:hover{background:rgba(127,127,127,.14);color:var(--text)}
.toc-close svg{width:19px;height:19px}
.toc-panel ol{list-style:none;margin:0;padding:0}
.toc-panel li{margin:0}
.toc-panel a{display:flex;gap:9px;font-size:15px;font-weight:500;text-decoration:none;line-height:1.45;color:var(--text);padding:6px 4px;border-radius:8px}
.toc-panel a:hover{color:var(--link);background:var(--surface-2)}
.toc-num{flex:none;font-weight:600;color:var(--text);min-width:26px}
.toc-panel a:hover .toc-num{color:var(--link)}
.toc-item-sub a{padding-left:22px;font-size:14px}
.toc-item-sub .toc-num{min-width:34px}
.toc-sidebar{display:none}
@media (max-width:760px){.toc-panel a{font-size:14px}}
@media (min-width:1025px){
  .single .layout{grid-template-columns:219px minmax(0,1fr) 320px}
  .toc-btn{display:none}
  .toc-sidebar{display:block;position:sticky;top:84px;max-height:calc(100vh - 104px);overflow-y:auto;overflow-x:hidden;min-width:0;text-align:left;padding:2px 6px 10px 0}
  .admin-bar .toc-sidebar{top:116px;max-height:calc(100vh - 136px)}
  .toc-side-title{margin:0 0 8px;font-size:15px;font-weight:600;letter-spacing:0;text-transform:none;color:var(--muted)}
  .toc-sidebar ol{list-style:none;margin:0;padding:0}
  .toc-sidebar li{margin:0}
  .toc-sidebar a{display:flex;gap:9px;font-size:14px;font-weight:500;text-decoration:none;line-height:1.45;color:var(--text);padding:6px 4px;border-radius:8px}
  .toc-sidebar a:hover{color:var(--link);background:var(--surface-2)}
  .toc-sidebar a:hover .toc-num{color:var(--link)}
  .toc-sidebar .toc-item-sub a{padding-left:22px;font-size:13.5px}
  .toc-sidebar .toc-item-sub .toc-num{min-width:34px}
}
/* Inline TOC boxes from plugins/blocks are never shown inside articles.
   v1.0.14: Slim SEO auto-inserts <nav class="sseo-toc"> into the article
   body (handles sseo-toc-inline-css / sseo-schema); the v1.0.10 list did
   not include its class, so the box still showed. The theme's own TOC
   (toc-panel / toc-sidebar, titled "Contents") uses different classes
   and is NOT affected by this rule. */
.entry-content .wp-block-table-of-contents,.entry-content .ez-toc-container,.entry-content #ez-toc-container,.entry-content #toc_container,.entry-content .toc_container,.entry-content .lwptoc,.entry-content .simpletoc,.entry-content .toc-container,.entry-content .table-of-contents,.entry-content .wp-block-rank-math-toc-block,.entry-content .ub_table-of-contents,.entry-content .sseo-toc,.entry-content .sseo-toc-block-placeholder{display:none!important}
.sseo-toc,.sseo-toc-block-placeholder{display:none!important}
