/* ═══════════════════════════════════════════════════════════════════════
   TeluguSeva Child Theme — Design System
   Consolidated from the approved HTML mockups. Blue/white/green palette per
   Satish's explicit decision to keep the existing palette rather than the
   blueprint's original green-nav proposal (see project notes).
   ═══════════════════════════════════════════════════════════════════════ */

/* Standard, universal best-practice reset — never explicitly set in this
   stylesheet before. Its absence is a very plausible cause of widespread
   (multi-section, not single-component) padding/width miscalculations,
   since padding was used extensively throughout combined with percentage
   and max-width values, all implicitly assuming — without guaranteeing —
   this behavior. Ensures padding is INCLUDED within an element's declared
   width, rather than added on top of it. */
*,
*::before,
*::after{box-sizing:border-box}

:root{
  --navy:#0A1F4E;
  --sky:#1565C0;
  --sky-light:#E3F2FD;
  --sky-pale:#E8F1FC;
  --green:#1B8A4A;
  --green-pale:#E8F5E9;
  --orange:#F57C00;
  --orange-pale:#FFF3E0;
  --teal:#00796B;
  --teal-pale:#E0F2F1;
  --red:#C0392B;
  --red-pale:#FDEDEB;
  --off:#F8FAFF;
  --line:#E3E9F5;
  --text:#1A2B4A;
  --text-soft:#5C6B85;
  --radius:8px;
  --radius-lg:14px;
  --shadow:0 2px 10px rgba(10,31,78,.08);
  --shadow-lg:0 8px 24px rgba(10,31,78,.12);
}

body{font-family:'Hind','Noto Sans Telugu',sans-serif;color:var(--text);background:var(--off)!important;font-size:15px;line-height:1.6}
h1,h2,h3,.article-title,.topic-hero-title,.hero-title,.sec-title{font-family:'Tiro Telugu','Noto Sans Telugu',serif}
a{text-decoration:none;color:inherit!important}
img{max-width:100%;height:auto}

/* ═══ LAYOUT PRIMITIVES ═══ */
.section{padding:32px 0}
.section-inner{max-width:1200px;margin:0 auto;padding:0 20px}
/* Sections intentionally blend into the light-blue page background now —
   only individual card components (.qc, .cert-item, .scheme-card, etc.)
   are white. bg-off/bg-white kept as class names for backward-compat with
   existing templates, but both now resolve to transparent. */
.section.bg-off{background:transparent}
.section.bg-white{background:transparent}
.sec-hdr{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:12px;flex-wrap:wrap}
.sec-title{font-size:19px;color:var(--navy);font-weight:400}
.sec-more{font-size:12.5px;color:var(--sky);font-weight:600}

/* ═══ BREADCRUMB ═══ */
.breadcrumb{background:var(--off);padding:6px 0}
.breadcrumb-inner{max-width:1200px;margin:0 auto;padding:0 20px;font-size:12.5px;color:var(--text-soft);display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.breadcrumb-inner a{color:var(--sky);font-weight:500}
.breadcrumb-inner a:hover{text-decoration:underline}
@media(max-width:768px){
  .breadcrumb-inner{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .breadcrumb-inner::-webkit-scrollbar{display:none}
  .breadcrumb-inner a,.breadcrumb-inner span{flex-shrink:0}
  body.single-post .breadcrumb{padding:4px 0}
  /* Bottom Share row (below article body) — shrink on mobile only; the
     top meta-bar row already has its own .share-row--compact sizing. */
  .share-row:not(.share-row--compact) .share-btn{padding:5px 11px;font-size:11px;gap:5px}
  /* Tighter stacked-card gaps, Single Article only (doesn't touch
     Department/Topic/Service Hub's shared .topic-layout/.side-card). */
  .topic-layout--article{gap:14px}
}

/* ═══ SINGLE ARTICLE SECTION SPACING ═══ */
.article-section{padding:12px 0 10px}
@media(max-width:768px){
  .article-section{padding:10px 0 6px}
}
/* GeneratePress itself applies its own top/bottom padding to its content
   wrapper (Customizer "Container"/Spacing settings) — the same class of
   issue already confirmed for WIDTH further below in this file. That
   GP-injected padding sits one level above .article-section in the DOM,
   so it was adding real, dominant vertical space that no amount of
   editing .article-section's own padding could visibly affect. Zeroed
   out here, scoped to Single Article only, so .article-section's padding
   becomes the only thing controlling this gap, as intended. */
body.single-post #primary,
body.single-post .content-area,
body.single-post .site-content{padding-top:0!important;padding-bottom:0!important;margin-bottom:0!important}
/* Article-only outer gutter (does NOT touch the shared .section-inner
   used by every other template) and the main card's own padding —
   both scoped to Single Article specifically, per explicit request. */
.article-inner{max-width:1221px;margin:0 auto;padding:0 20px}
.article-card{padding:28px 30px}
.topic-layout--article .side-card{margin-bottom:14px}
@media(max-width:768px){
  .article-inner{padding:0 10px}
  .article-card{padding:16px 14px}
}
/* ═══ REGIONAL HUB HERO (photo-backed, per-state via term meta) ═══ */
.hero{position:relative;min-height:250px;overflow:hidden;display:flex;align-items:center;z-index:1;background:linear-gradient(135deg,#0A1F4E 0%,#123a7a 45%,#1565C0 100%)}
@media(min-width:769px){
  .hero{width:101.75%}
}
@media(max-width:768px){
  .hero{width:100vw;margin-left:calc(-50vw + 50%);margin-right:calc(-50vw + 50% - 30px)}
}
.hero-bg-left{position:absolute;left:0;top:0;bottom:0;width:34%;background-size:cover;background-position:center top;background-repeat:no-repeat;-webkit-mask-image:linear-gradient(to right,rgba(0,0,0,.9) 55%,rgba(0,0,0,0) 100%);mask-image:linear-gradient(to right,rgba(0,0,0,.9) 55%,rgba(0,0,0,0) 100%);opacity:.85}
.hero-bg-right{position:absolute;right:0;top:0;bottom:0;width:34%;background-size:cover;background-position:center 35%;background-repeat:no-repeat;-webkit-mask-image:linear-gradient(to left,rgba(0,0,0,.9) 55%,rgba(0,0,0,0) 100%);mask-image:linear-gradient(to left,rgba(0,0,0,.9) 55%,rgba(0,0,0,0) 100%);opacity:.85}
.hero-content{position:relative;z-index:2;max-width:1200px;margin:0 auto;padding:0 20px;text-align:center;width:100%}
.hero-tag{display:inline-block;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.3);color:#fff;font-size:12px;padding:6px 16px;border-radius:16px;margin-bottom:14px}
.hero-title{font-size:26px;color:#fff;font-weight:400;line-height:1.4;margin-bottom:10px;text-shadow:0 2px 10px rgba(0,0,0,.3)}
.hero-sub{font-size:13.5px;color:rgba(255,255,255,.85);max-width:640px;margin:0 auto 16px}
.hub-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.hub-pill{display:flex;align-items:center;gap:6px;background:rgba(255,255,255,.15);backdrop-filter:blur(4px);border:1.5px solid rgba(255,255,255,.4);color:#fff;padding:9px 20px;border-radius:22px;font-size:13.5px;font-weight:600}
.hub-pill:hover{background:rgba(255,255,255,.28);border-color:#fff}

/* ═══ TOPIC/DEPARTMENT/SERVICE HERO (light card, no photo) ═══ */
.topic-hero{background:#fff;border-bottom:1px solid var(--line);padding:30px 0}
@media(min-width:769px){
  .topic-hero{width:101.75%}
}
@media(max-width:768px){
  .topic-hero{width:100vw;margin-left:calc(-50vw + 50%);margin-right:calc(-50vw + 50% - 30px)}
}
.topic-hero-inner{display:flex;align-items:center;gap:26px}
.topic-hero-icon{width:76px;height:76px;border-radius:50%;background:var(--sky);color:#fff;display:flex;align-items:center;justify-content:center;font-size:34px;flex-shrink:0;box-shadow:0 6px 18px rgba(21,101,192,.3)}
.topic-hero-text{flex:1}
.topic-hero-title{font-size:30px;color:var(--navy);font-weight:400;margin-bottom:8px}
.topic-hero-sub{font-size:13.5px;color:var(--text-soft);line-height:1.6;max-width:640px}
.topic-hero-badges{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.topic-badge{display:flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:7px 14px;font-size:12px;color:var(--navy)}
.topic-badge .tb-check{color:var(--green);font-weight:700}

/* ═══ TWO-COLUMN HUB/ARTICLE LAYOUT ═══ */
.topic-layout{display:grid;grid-template-columns:2fr 1fr;gap:26px;align-items:start}
@media(min-width:901px){.topic-layout--article{grid-template-columns:2.4fr 1fr;gap:13px}}
@media(min-width:901px){
  .topic-layout--article .topic-sidebar{position:sticky;top:20px}
}
@media(max-width:900px){.topic-layout{grid-template-columns:1fr}}

/* ═══ HOMEPAGE: GOVERNMENT HUB CARDS ═══ */
.cat-hub{background:transparent;padding:28px 0}
@media(max-width:768px){
  .cat-hub{padding:12px 0}
  .dept-section{padding-bottom:12px!important}
  .cyber-section{padding-top:12px!important}
  .popular-section{padding-top:12px!important}
}
.cat-hub-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
@media(max-width:768px){.cat-hub-grid{grid-template-columns:repeat(3,1fr)}}
.ch{background:#fff;border:1.5px solid var(--line);border-radius:var(--radius-lg);padding:18px 14px;text-align:center;transition:border-color .2s,box-shadow .2s,transform .2s}
.ch:hover{border-color:var(--sky);box-shadow:var(--shadow);transform:translateY(-2px)}
.ch-flag{font-size:28px;margin-bottom:8px}
.ch-flag-map{display:flex;align-items:center;justify-content:center;height:36px;color:var(--sky)}
.ch-flag-map svg{height:36px;width:auto;max-width:56px}
.ch-flag-map--andhra-pradesh svg{height:40px;max-width:62px}
.ch-flag-map--andhra-pradesh svg path,
.ch-flag-map--telangana svg path{stroke:currentColor;stroke-width:40;paint-order:stroke}
.ch-title{font-size:13.5px;color:var(--navy);margin-bottom:2px}
.ch-sub{font-size:11px;color:var(--text-soft)}

/* ═══ CERTIFICATES / SERVICES GRID ═══ */
.cert-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
@media(max-width:768px){.cert-grid{grid-template-columns:repeat(3,1fr)}}
.cert-item{background:#fff;border:1.5px solid var(--line);border-radius:var(--radius);padding:14px 10px;text-align:center;transition:border-color .2s,box-shadow .2s}
.cert-item:hover{border-color:var(--sky);box-shadow:var(--shadow)}
.cert-icon{font-size:26px;margin-bottom:6px}
.cert-name{font-size:11.5px;color:var(--navy);line-height:1.4}

/* ═══ SCHEMES GRID ═══ */
.schemes-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
@media(max-width:768px){.schemes-grid{grid-template-columns:repeat(2,1fr)}}
.scheme-card{background:#fff;border:1.5px solid var(--line);border-radius:var(--radius-lg);padding:16px 12px;text-align:center;transition:border-color .2s,box-shadow .2s,transform .2s}
.scheme-card:hover{border-color:var(--sky);box-shadow:var(--shadow-lg);transform:translateY(-2px)}
.sc-logo{width:56px;height:56px;border-radius:var(--radius);margin:0 auto 10px;display:flex;align-items:center;justify-content:center;font-size:26px}
.sc-logo.green{background:var(--green-pale)}
.sc-logo.blue{background:var(--sky-pale)}
.sc-logo.orange{background:var(--orange-pale)}
.sc-logo.teal{background:var(--teal-pale)}
.sc-logo.red{background:#FFEBEE}
.sc-logo.gold{background:#FFFDE7}
.sc-name{font-size:12px;color:var(--navy);line-height:1.5}
.sc-label{font-size:10px;color:var(--text-soft);margin-top:2px}

/* ═══ SIMPLE ICON+LABEL SERVICE CARDS (homepage Citizen Services / Regional Hub Services) ═══ */
.cs-simple-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}
@media(max-width:768px){.cs-simple-grid{grid-template-columns:repeat(3,1fr)}}
.cs-simple-card{background:#fff;border:1.5px solid var(--line);border-radius:var(--radius-lg);padding:18px 10px;text-align:center;transition:border-color .2s,box-shadow .2s}
.cs-simple-card:hover{border-color:var(--sky);box-shadow:var(--shadow)}
.cs-simple-icon{width:44px;height:44px;border-radius:50%;margin:0 auto 8px;display:flex;align-items:center;justify-content:center;font-size:20px;overflow:hidden}
.cs-simple-icon img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.cs-simple-name{font-size:12px;color:var(--navy);line-height:1.4}

/* ═══ DEPARTMENT CHIPS ═══ */
.dept-grid{display:flex;flex-wrap:wrap;gap:10px}
.dept-chip{display:flex;align-items:center;gap:6px;background:#fff;border:1.5px solid var(--line);border-radius:20px;padding:10px 18px;font-size:13px;color:var(--navy);transition:border-color .2s,background .2s}
.dept-chip:hover{border-color:var(--sky);background:var(--sky-light)}

/* ═══ LATEST UPDATES (homepage / regional hub) ═══ */
.latest-updates{display:flex;flex-direction:column;gap:2px}
.lu-item{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.lu-item:last-child{border-bottom:none}
.lu-thumb{flex-shrink:0;width:56px;height:56px;border-radius:8px;overflow:hidden;background:var(--sky-pale);display:flex;align-items:center;justify-content:center}
.lu-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.lu-thumb-fallback{font-size:22px}
.lu-content{min-width:0;flex:1}
.lu-new{display:inline-block;background:var(--green);color:#fff;font-size:9px;font-weight:700;padding:2px 6px;border-radius:3px;margin-bottom:3px}
.lu-title{font-size:13px;color:var(--navy);line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lu-date{display:none}

/* ═══ NOTIFICATIONS / UPDATES / ARTICLES (date or GO badge list) ═══ */
.upd-list{display:flex;flex-direction:column;gap:10px}
.upd-item{display:flex;align-items:center;gap:14px;background:#fff;border:1.5px solid var(--line);border-radius:var(--radius);padding:11px 14px;transition:border-color .2s}
.upd-item:hover{border-color:var(--sky)}
.upd-date-badge{flex-shrink:0;width:46px;text-align:center;background:var(--sky-pale);border-radius:var(--radius);padding:6px 0}
.upd-date-badge.notif-badge{width:auto;padding:6px 10px;white-space:nowrap}
.upd-date-day{font-size:16px;font-weight:700;color:var(--sky);line-height:1}
.upd-date-badge.notif-badge .upd-date-day{font-size:11px}
.upd-date-month{font-size:8.5px;color:var(--sky);margin-top:2px}
.upd-title{font-size:12.5px;color:var(--navy);flex:1;font-weight:400}
.upd-arrow{color:var(--text-soft);flex-shrink:0}

/* ═══ SIDEBAR: SHARED CARD SHELL ═══ */
.side-card{background:#fff;border:1.5px solid var(--line);border-radius:var(--radius-lg);padding:18px;margin-bottom:20px}
.side-card-title{font-size:14px;color:#fff;background:var(--navy);margin:-18px -18px 14px -18px;padding:11px 18px;border-radius:var(--radius-lg) var(--radius-lg) 0 0;font-weight:500;display:flex;align-items:center;gap:6px}
.side-list-item{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}
.side-list-item:last-child{border-bottom:none;padding-bottom:0}
.side-list-item:first-child{padding-top:0}
.side-list-icon{width:34px;height:34px;border-radius:50%;background:var(--sky-pale);display:flex;align-items:center;justify-content:center;font-size:15px;flex-shrink:0}
.side-list-title{font-size:12.5px;color:var(--navy)}
.side-list-sub{font-size:10.5px;color:var(--text-soft);margin-top:2px}
.side-list-arrow{color:var(--text-soft);flex-shrink:0;margin-left:auto}

.related-link-item{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);font-size:12.5px;color:var(--navy)}
.related-link-item:last-child{border-bottom:none;padding-bottom:0}
.related-link-item:first-child{padding-top:0}
.related-link-arrow{margin-left:auto;color:var(--text-soft)}

.related-guide-item{display:flex;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line)}
.related-guide-item:last-child{border-bottom:none;padding-bottom:0}
.related-guide-item:first-child{padding-top:0}
.related-guide-num{flex-shrink:0;width:22px;height:22px;border-radius:50%;background:var(--sky-pale);color:var(--sky);font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center}
.related-guide-title{font-size:12px;color:var(--navy);line-height:1.4}

.most-read-item{display:flex;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line)}
.most-read-item:last-child{border-bottom:none;padding-bottom:0}
.most-read-item:first-child{padding-top:0}
.most-read-num{flex-shrink:0;width:22px;height:22px;border-radius:50%;background:#FFF3E0;color:#F57C00;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center}
.most-read-title{font-size:12px;color:var(--navy);line-height:1.4}

.whatsapp-cta{background:#E7F9EF;border-radius:var(--radius-lg);padding:16px;margin-bottom:20px;text-align:center}
.whatsapp-cta-icon{font-size:26px;margin-bottom:6px}
.whatsapp-cta-title{font-size:12.5px;color:var(--navy);margin-bottom:10px}
.whatsapp-cta-btn{display:inline-block;background:#1B8A4A;color:#fff;padding:9px 18px;border-radius:var(--radius);font-size:12px;font-weight:600}

/* ═══ SERVICE LANDING: QUICK INFO + ACTION BUTTONS ═══ */
.qi-row{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}
.qi-row:last-child{border-bottom:none;padding-bottom:0}
.qi-row:first-child{padding-top:0}
.qi-label{font-size:11.5px;color:var(--text-soft);flex-shrink:0}
.qi-value{font-size:12.5px;color:var(--navy);font-weight:600;text-align:right}
.side-btn-primary{display:block;text-align:center;background:var(--green);color:#fff;padding:12px;border-radius:var(--radius);font-size:13px;font-weight:600;margin-bottom:10px}
.side-btn-outline{display:block;text-align:center;border:1.5px solid var(--sky);color:var(--sky);padding:11px;border-radius:var(--radius);font-size:13px;font-weight:600}

/* ═══ ARTICLE / SERVICE PAGE: TOC, CHECKLISTS, DOCUMENTS ═══ */
.toc-box{background:#fff;border:1.5px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;margin:18px 0 24px}
.toc-box-title{font-size:14px;color:#fff;background:var(--navy);padding:11px 18px;font-weight:500}
.toc-box-list{display:flex;flex-direction:column;gap:2px;padding:10px 12px}
.toc-box-list a{display:flex;align-items:center;gap:10px;padding:8px 6px;border-radius:8px;font-size:12.5px;color:var(--text)}
.toc-box-list a:hover{background:var(--off)}
.toc-num{width:20px;height:20px;border-radius:50%;background:var(--sky-pale);color:var(--sky);font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}

.check-list{display:flex;flex-direction:column;gap:10px}
.check-item{display:flex;align-items:flex-start;gap:10px;font-size:13px;color:var(--text);line-height:1.5}
.check-item .ci-mark{flex-shrink:0;width:20px;height:20px;border-radius:50%;background:var(--green-pale);color:var(--green);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;margin-top:1px}

.doc-list{display:flex;flex-direction:column;gap:10px}
.doc-item{display:flex;align-items:center;gap:12px;background:#fff;border:1.5px solid var(--line);border-radius:var(--radius);padding:12px 14px;font-size:13px;color:var(--navy)}

/* ═══ ARTICLE TYPOGRAPHY, META, SHARE ═══ */
.article-tag{display:inline-block;background:var(--sky-pale);color:var(--sky);font-size:11px;font-weight:700;padding:5px 12px;border-radius:14px;margin-bottom:12px}
.article-title{font-size:26px;color:var(--navy);font-weight:600;line-height:1.4;margin-bottom:14px}
.article-meta{display:flex;flex-wrap:wrap;gap:16px;font-size:12px;color:var(--text-soft);margin-bottom:18px}
.article-meta span{display:flex;align-items:center;gap:5px}
.share-row{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap}
.share-btn{display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:20px;padding:7px 14px;font-size:12px;color:var(--navy)}
button.share-btn{-webkit-appearance:none;appearance:none;background:#fff;font-family:inherit;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.share-btn.wa{background:#E7F9EF;border-color:#B7E8CB;color:#1B8A4A}
.share-btn.fb{background:#E8F0FE;border-color:#C6D9FB;color:#1565C0}
.share-btn.copy-link{background:var(--off);border-color:var(--line);color:var(--navy)}
.share-btn.copy-link:hover{background:var(--sky-pale)}
.share-btn.copy-link.copied{background:#E7F9EF;border-color:#B7E8CB;color:#1B8A4A}
.share-row--compact{gap:6px;margin-top:0}
.share-row--compact .share-btn{padding:4px 9px;font-size:10.5px;gap:4px}

.article-body{font-size:16px;color:var(--text);line-height:1.9;font-weight:500;word-spacing:2px}
.article-body h2{font-size:19px;color:var(--red);font-weight:600;margin:28px 0 12px;scroll-margin-top:20px}
.article-body h2:first-child{margin-top:0}
.article-body h3{font-size:16.5px;color:var(--navy);font-weight:600;margin:22px 0 10px;line-height:1.4;scroll-margin-top:20px}
.article-body h3:first-child{margin-top:0}
.article-body p{margin-bottom:14px}
.article-body ul{margin:0 0 14px;padding-left:22px}
.article-body li{margin-bottom:6px}
.article-body img{max-width:100%;height:auto;display:block;border-radius:12px}
.article-body figure{margin:22px 0}
.article-body figure img{margin:0 auto;box-shadow:0 2px 10px rgba(10,31,78,.08)}
.article-body figure.aligncenter img,.article-body figure.is-resized img{margin-left:auto;margin-right:auto}
.article-body figcaption{font-size:12px;color:var(--text-soft);text-align:center;margin-top:8px;line-height:1.5}
.article-body p img{margin:22px auto;box-shadow:0 2px 10px rgba(10,31,78,.08)}

/* ═══ ARTICLE CONTENT BOXES — authors add these via a Custom HTML block
   inside the article body, using the markup patterns below. All scoped
   to .article-body so they never affect anything outside article content. ═══ */

/* Step-by-step box — numbered process, e.g. "how to apply online"
   <div class="step-box">
     <div class="step-box-head"><div class="step-box-title">టైటిల్</div></div>
     <div class="step-item">
       <div class="step-num-circle">1</div>
       <div class="step-content">
         <div class="step-title">స్టెప్ టైటిల్</div>
         <div class="step-desc">వివరణ</div>
         <span class="step-note">గమనిక (optional)</span>
       </div>
     </div>
     ...repeat .step-item...
   </div> */
.article-body .step-box{background:#fff;border:1.5px solid var(--line);border-radius:8px;overflow:hidden;margin:20px 0}
.article-body .step-box-head{background:linear-gradient(135deg,var(--navy),var(--sky));padding:10px 14px}
.article-body .step-box-title{font-family:'Tiro Telugu',serif;font-size:15px;color:#fff}
.article-body .step-item{display:flex;align-items:flex-start;gap:12px;padding:12px 14px;border-bottom:1px solid var(--line)}
.article-body .step-item:last-child{border-bottom:none}
.article-body .step-num-circle{width:28px;height:28px;border-radius:50%;background:var(--sky);color:#fff;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:2px}
.article-body .step-content{flex:1}
.article-body .step-title{font-family:'Tiro Telugu',serif;font-size:14.5px;color:var(--navy);margin-bottom:3px}
.article-body .step-desc{font-size:13px;color:var(--text-soft);line-height:1.6}
.article-body .step-note{display:inline-flex;align-items:center;gap:4px;background:var(--sky-pale);color:var(--sky);font-size:11px;font-weight:600;padding:2px 8px;border-radius:3px;margin-top:5px}

/* Benefit/amount box — highlight a scheme amount, e.g. "₹15,000"
   <div class="benefit-box">
     <div class="benefit-icon">💰</div>
     <div class="benefit-text">
       <div class="benefit-amount">₹15,000</div>
       <div class="benefit-label">వార్షికంగా</div>
       <div class="benefit-note">గమనిక (optional)</div>
     </div>
   </div> */
.article-body .benefit-box{background:linear-gradient(135deg,var(--green),#1E9050);border-radius:8px;padding:16px 18px;margin:20px 0;display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.article-body .benefit-icon{font-size:36px;flex-shrink:0}
.article-body .benefit-text{flex:1}
.article-body .benefit-amount{font-family:'Tiro Telugu',serif;font-size:22px;color:#fff;font-weight:700;line-height:1.2}
.article-body .benefit-label{font-size:12px;color:rgba(255,255,255,.75);margin-top:3px}
.article-body .benefit-note{font-size:11.5px;color:rgba(255,255,255,.65);margin-top:6px}

/* Eligibility checklist
   <div class="eligibility-box">
     <div class="elig-title">✅ అర్హతలు</div>
     <ul class="elig-list">
       <li><span class="elig-check">✓</span> షరతు</li>
     </ul>
   </div> */
.article-body .eligibility-box{background:var(--green-pale);border:1.5px solid rgba(27,138,74,.2);border-left:4px solid var(--green);border-radius:6px;padding:14px 16px;margin:20px 0}
.article-body .elig-title{font-family:'Tiro Telugu',serif;font-size:15px;color:var(--green);font-weight:700;margin-bottom:10px;display:flex;align-items:center;gap:6px}
.article-body .elig-list{list-style:none;display:flex;flex-direction:column;gap:6px;margin:0;padding:0}
.article-body .elig-list li{display:flex;align-items:flex-start;gap:8px;font-size:13.5px;color:var(--text-soft)}
.article-body .elig-check{color:var(--green);font-size:14px;flex-shrink:0;margin-top:2px}

/* Documents-required checklist (reuses the site's orange/amber tone)
   <div class="docs-box">
     <div class="docs-title">📋 కావాల్సిన పత్రాలు</div>
     <ul class="docs-list">
       <li><span class="docs-icon">•</span> పత్రం పేరు</li>
     </ul>
   </div> */
.article-body .docs-box{background:var(--orange-pale);border:1.5px solid rgba(245,124,0,.25);border-left:4px solid var(--orange);border-radius:6px;padding:14px 16px;margin:20px 0}
.article-body .docs-title{font-family:'Tiro Telugu',serif;font-size:15px;color:var(--orange);font-weight:700;margin-bottom:10px;display:flex;align-items:center;gap:6px}
.article-body .docs-list{list-style:none;display:flex;flex-direction:column;gap:6px;margin:0;padding:0}
.article-body .docs-list li{display:flex;align-items:flex-start;gap:8px;font-size:13.5px;color:var(--text-soft)}
.article-body .docs-icon{color:var(--orange);font-size:14px;flex-shrink:0;margin-top:2px}

/* Warning/caution box
   <div class="warning-box">
     <div class="warn-title">⚠️ గమనిక</div>
     <div class="warn-text">హెచ్చరిక టెక్స్ట్</div>
   </div> */
.article-body .warning-box{background:var(--red-pale);border:1.5px solid rgba(192,57,43,.2);border-left:4px solid var(--red);border-radius:6px;padding:14px 16px;margin:20px 0}
.article-body .warn-title{font-family:'Tiro Telugu',serif;font-size:15px;color:var(--red);font-weight:700;margin-bottom:6px}
.article-body .warn-text{font-size:13.5px;color:var(--text-soft);line-height:1.65}

/* Helpline box — large phone number
   <div class="helpline-box">
     <div class="hl-icon">📞</div>
     <div class="hl-text">
       <div class="hl-title">టోల్‌ఫ్రీ నంబర్</div>
       <div class="hl-number">1800-XXX-XXXX</div>
       <div class="hl-desc">వివరణ (optional)</div>
     </div>
   </div> */
.article-body .helpline-box{background:linear-gradient(135deg,var(--teal),#0E8A5E);border-radius:8px;padding:16px 18px;display:flex;align-items:center;gap:14px;margin:20px 0}
.article-body .hl-icon{font-size:32px;flex-shrink:0}
.article-body .hl-text{flex:1}
.article-body .hl-title{font-family:'Tiro Telugu',serif;font-size:15px;color:#fff;margin-bottom:4px}
.article-body .hl-number{font-size:28px;font-weight:700;color:#fff;line-height:1.1}
.article-body .hl-desc{font-size:11.5px;color:rgba(255,255,255,.65);margin-top:4px}

/* ═══ AD SLOTS — reserve space only when actually rendering (empty
   Publisher ID / Slot ID means teluguseva_ad_slot() prints nothing at
   all, so this CSS only ever affects a page once ads are truly live) ═══ */
.ad-slot{min-height:280px;margin:24px 0;padding:10px;background:var(--off);border:1px solid var(--line);border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden}
.ad-slot-label{font-size:10px;color:var(--text-soft);text-transform:uppercase;letter-spacing:.5px;margin-bottom:6px}
.ad-slot ins.adsbygoogle{width:100%}
/* Sidebar slot — desktop only, matches the article layout's own
   901px desktop breakpoint (.topic-layout--article) */
.ad-slot--sidebar{display:none}
@media(min-width:901px){
  .ad-slot--sidebar{display:flex;min-height:250px}
}
.article-callout{background:var(--sky-light);border-left:3px solid var(--sky);border-radius:6px;padding:14px 16px;margin:16px 0;font-size:13px;color:var(--navy);display:flex;gap:10px}

/* Blockquote — any <blockquote> an author adds, no special class needed */
.article-body blockquote{border-left:4px solid var(--sky);background:var(--sky-pale);margin:22px 0;padding:14px 18px;border-radius:0 8px 8px 0}
.article-body blockquote p{margin:0;font-style:italic;color:var(--navy);font-size:15px;line-height:1.7}
.article-body blockquote p:not(:last-child){margin-bottom:10px}

/* Tables — .article-table for authors who add the class explicitly, and a
   plain "table" fallback so a native Gutenberg Table block just works too */
.article-table,
.article-body table{width:100%;border-collapse:collapse;margin:18px 0;font-size:13px;overflow-x:auto;display:block}
.article-table th,
.article-body table th{background:var(--navy);color:#fff;text-align:left;padding:10px 14px;font-weight:600;white-space:nowrap}
.article-table td,
.article-body table td{padding:9px 14px;border-bottom:1px solid var(--line);color:var(--text);vertical-align:top;line-height:1.6}
.article-table tr:nth-child(even) td,
.article-body table tr:nth-child(even) td{background:var(--off)}
.article-table tr:hover td,
.article-body table tr:hover td{background:var(--sky-pale)}

/* Prev/Next article navigation — below the author box, main column only */
.prev-next{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px;padding-top:20px;border-top:1px solid var(--line)}
.pn-card{padding:14px 16px;border:1.5px solid var(--line);border-radius:var(--radius);text-decoration:none;background:#fff;transition:border-color .15s,background .15s}
.pn-card:hover{border-color:var(--sky);background:var(--sky-pale)}
.pn-label{display:block;font-size:10px;font-weight:700;color:var(--sky);text-transform:uppercase;letter-spacing:.08em;margin-bottom:6px}
.pn-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-family:'Tiro Telugu',serif;font-size:13px;color:var(--navy);line-height:1.4}
.pn-next{text-align:right}
@media(max-width:600px){
  .prev-next{grid-template-columns:1fr;gap:10px}
  .pn-next{text-align:left}
}

.tag-list{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}
.tag-chip{background:var(--off);border:1px solid var(--line);border-radius:14px;padding:5px 12px;font-size:11px;color:var(--text-soft)}

.author-box{display:flex;align-items:center;gap:12px;background:var(--off);border-radius:var(--radius-lg);padding:14px 16px;margin:24px 0}
.author-avatar{width:38px;height:38px;border-radius:50%;background:var(--sky);color:#fff;display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0}
.author-name{font-size:12.5px;color:var(--navy)}
.author-sub{font-size:11px;color:var(--text-soft);margin-top:2px}

/* ═══ FAQ ACCORDION — native <details>/<summary>, zero JS ═══ */
details.faq-acc{border:1.5px solid var(--line);border-radius:var(--radius);margin-bottom:10px;overflow:hidden}
details.faq-acc summary{cursor:pointer;padding:14px 18px;font-size:13.5px;color:var(--navy);font-weight:400;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:10px}
details.faq-acc summary::-webkit-details-marker{display:none}
details.faq-acc summary::after{content:'+';font-size:18px;color:var(--sky);flex-shrink:0;line-height:1}
details.faq-acc[open] summary::after{content:'−'}
details.faq-acc[open] summary{border-bottom:1px solid var(--line)}
.faq-acc-a{padding:14px 18px;font-size:12.5px;color:var(--text-soft);line-height:1.65}

/* ═══ RESPONSIVE: MOBILE (real @media, not the mockups' phone-frame simulation) ═══ */
@media(max-width:600px){
  .topic-hero-inner{flex-wrap:wrap;gap:14px}
  .topic-hero-icon{width:52px;height:52px;font-size:24px}
  .topic-hero-title{font-size:20px}
  .article-title{font-size:19px}
  .article-meta{flex-wrap:wrap;row-gap:8px}
  .pc-grid,.cert-grid{grid-template-columns:repeat(2,1fr)!important}
  .schemes-grid{grid-template-columns:repeat(1,1fr)!important}
  .hero-bg-left,.hero-bg-right{width:24%;opacity:.4}
}


/* ═══ FOOTER CONTENT (hooked via generate_footer) ═══ */
.ts-footer{background:var(--navy);padding:36px 0 0}
.ts-footer-inner{max-width:1200px;margin:0 auto;padding:0 20px;display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:28px}
.ts-footer-col a,
.ts-footer-col a:visited{display:block;color:rgba(255,255,255,.8)!important;font-size:12.5px;padding:5px 0}
.ts-footer-col a:hover,
.ts-footer-col a:visited:hover{color:#fff!important}
.ts-footer-col-title{color:#fff;font-size:13px;font-weight:600;margin-bottom:10px}
.ts-footer-logo{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.ts-footer-logo-mark{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;display:flex;align-items:center;justify-content:center;font-size:15px;flex-shrink:0}
.ts-footer-logo-te{color:#fff;font-size:14px}
.ts-footer-logo-en{color:rgba(255,255,255,.6);font-size:9px;letter-spacing:.5px}
.ts-footer-desc{color:rgba(255,255,255,.7);font-size:11.5px;line-height:1.6;margin-bottom:14px}
.ts-footer-social{display:flex;gap:10px}
.ts-footer-social a{font-size:18px}
.ts-footer-disclaimer{color:rgba(255,255,255,.6);font-size:11px;line-height:1.6;margin-bottom:10px}
.ts-footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:30px;padding:16px 20px;text-align:center;color:rgba(255,255,255,.6);font-size:11.5px}
@media(max-width:768px){
  .ts-footer-inner{grid-template-columns:1fr 1fr;gap:24px}
}

/* ═══ HOMEPAGE HERO + QUICK ACTIONS (hardcoded in front-page.php) ═══ */
.ts-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#0A1F4E 0%,#123a7a 45%,#1565C0 100%);padding:44px 0 40px}
@media(min-width:769px){
  .ts-hero{width:101.75%}
}
@media(max-width:768px){
  .ts-hero{width:100vw;margin-left:calc(-50vw + 50%);margin-right:calc(-50vw + 50% - 30px)}
  html,body{overflow-x:hidden}
}
.ts-hero-content{position:relative;z-index:2;text-align:center;max-width:720px;margin:0 auto}
.ts-hero-tag{display:inline-block;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.3);color:#fff;font-size:12px;padding:6px 16px;border-radius:16px;margin-bottom:16px}
.ts-hero-title{font-size:28px;color:#fff;font-weight:400;line-height:1.45;margin-bottom:12px;text-shadow:0 2px 10px rgba(0,0,0,.25)}
.ts-hero-sub{font-size:14px;color:rgba(255,255,255,.85);margin-bottom:24px}
.ts-hero-search{display:flex;max-width:558px;margin:0 auto;gap:0;background:#fff;border-radius:50px;overflow:hidden;box-shadow:0 4px 24px rgba(0,0,0,.3)}
.ts-hero-search-input{flex:1;border:none;padding:13px 20px;font-size:12.5px;outline:none;background:transparent}
.ts-hero-search-btn{border:none;background:var(--sky);color:#fff;padding:13px 25px;font-size:12.5px;font-weight:700;cursor:pointer;white-space:nowrap}
.ts-hero-search-btn:hover{background:var(--navy)}



@media(max-width:768px){
  .ts-hero-title{font-size:21px}
  .ts-hero-search{flex-direction:column;box-shadow:none;border-radius:8px;overflow:visible;background:transparent;gap:8px}
  .ts-hero-search-input,.ts-hero-search-btn{border-radius:8px}
  .ts-hero-search-input{margin-bottom:8px}
}

/* ═══ HEADER ICONS (WhatsApp / YouTube / Search) ═══ */
/* Rendered by generate_after_header_content, which is inside the actual
   GeneratePress .inside-header wrapper. Keep the group in normal header flow
   instead of fixed positioning or JavaScript DOM movement. */
.site-header .inside-header{display:flex;align-items:center}
.ts-header-icons{position:relative;display:flex;align-items:center;gap:8px;margin:0 0 0 auto;padding:0;flex-shrink:0;z-index:20}
.ts-header-icon-link{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--sky-pale);color:var(--sky);font-size:15px;border:none;cursor:pointer;transition:background .15s,transform .15s;line-height:1;text-decoration:none}
.ts-header-icon-link svg{display:block;flex:none}
.ts-header-icon-link--brand{background:var(--off)}
.ts-header-icon-link--brand:hover{background:var(--line)}
.ts-header-icon-link:hover{background:var(--sky-light);transform:translateY(-1px)}
@media(max-width:1100px){
  .ts-header-icons{gap:6px}
  .ts-header-icon-link{width:30px;height:30px}
}
/* Mobile: Search only. WhatsApp + YouTube are desktop-only header icons. */
@media(max-width:768px){
  .ts-header-icons{gap:0;margin-left:auto}
  .ts-header-icons .ts-header-icon-link--brand{display:none}
  .ts-header-icon-link{width:32px;height:32px}
}


/* ═══ SEARCH OVERLAY (CSS-only, checkbox-toggled — no JS) ═══ */
/* opacity:0 alone (below) wasn't always enough to hide this on mobile —
   the mobile search checkbox had the identical problem and needed a
   more robust off-screen treatment (see the v1.4.14 rule further down
   this file); applying the same fix here defensively. */
.ts-search-toggle-checkbox{position:absolute;opacity:0;pointer-events:none}
.ts-search-toggle-checkbox,
#ts-search-toggle.ts-search-toggle-checkbox,
input.ts-search-toggle-checkbox[type="checkbox"] {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 1px !important;
    min-height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    opacity: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    pointer-events: none !important;
}
.ts-search-overlay{display:none;position:fixed;inset:0;z-index:1000;align-items:center;justify-content:center}
.ts-search-toggle-checkbox:checked ~ .ts-search-overlay{display:flex}
.ts-search-overlay-bg{position:absolute;inset:0;background:rgba(10,31,78,.6);backdrop-filter:blur(10px);cursor:pointer}

.ts-search-overlay-card{position:relative;z-index:1;background:#fff;padding:26px 28px;border-radius:20px;box-shadow:0 20px 60px rgba(10,31,78,.35);width:90%;max-width:500px;
  animation:ts-search-pop .22s ease-out}
@keyframes ts-search-pop{from{opacity:0;transform:scale(.94) translateY(8px)}to{opacity:1;transform:scale(1) translateY(0)}}

.ts-search-overlay-title{font-family:'Tiro Telugu','Noto Sans Telugu',serif;font-size:16px;color:var(--navy);font-weight:400;margin-bottom:14px}

.ts-search-overlay-form{position:relative;display:flex;align-items:center;gap:10px}
.ts-search-overlay-input{-webkit-appearance:none;appearance:none;flex:1;border:1.5px solid var(--line);border-radius:26px;padding:13px 18px;font-size:15px;outline:none;background:var(--off);transition:border-color .15s,background .15s}
.ts-search-overlay-input::-webkit-search-decoration,.ts-search-overlay-input::-webkit-search-cancel-button,.ts-search-overlay-input::-webkit-search-results-button,.ts-search-overlay-input::-webkit-search-results-decoration{-webkit-appearance:none;appearance:none}
.ts-search-overlay-input:focus{border-color:var(--sky);background:#fff}
.ts-search-overlay-btn{display:flex;align-items:center;gap:7px;border:none;background:var(--sky);color:#fff;padding:13px 22px;border-radius:26px;font-size:14px;font-weight:600;cursor:pointer;flex-shrink:0;transition:background .15s}
.ts-search-overlay-btn:hover{background:#0f4c99}
.ts-search-overlay-close{position:absolute;top:16px;right:18px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;color:var(--text-soft);font-size:14px;cursor:pointer}
.ts-search-overlay-close:hover{background:var(--off);color:var(--navy)}

@media(max-width:600px){
  .ts-search-overlay-card{padding:20px 18px;width:92%}
  .ts-search-overlay-title{font-size:14px;margin-bottom:10px}
  .ts-search-overlay-input{padding:11px 14px;font-size:14px}
  .ts-search-overlay-btn{padding:11px 16px;font-size:13px}
}

/* ═══ LATEST UPDATES ANNOUNCEMENT BAR ═══ */
.ts-updates-dismiss-checkbox{position:absolute;opacity:0;pointer-events:none}
.ts-updates-dismiss-checkbox:checked ~ .ts-updates-bar{display:none}

.ts-updates-bar{max-width:1200px;margin:10px auto 0;padding:0 20px}
.ts-updates-bar-inner{width:99%;background:var(--sky-pale);border:1px solid var(--line);border-radius:10px;padding:10px 12px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;position:relative}

.ts-updates-bar-icon{flex-shrink:0;width:32px;height:32px;border-radius:50%;background:var(--sky);color:#fff;display:flex;align-items:center;justify-content:center;font-size:15px;animation:ts-bell-pulse 2.4s ease-in-out infinite}
@keyframes ts-bell-pulse{0%,100%{box-shadow:0 0 0 0 rgba(21,101,192,.35)}50%{box-shadow:0 0 0 6px rgba(21,101,192,0)}}

.ts-updates-bar-link{display:flex;align-items:center;gap:10px;min-width:0;flex:1}
.ts-updates-bar-new{flex-shrink:0;background:#ff661a;color:#fff;font-size:10px;font-weight:700;padding:3px 9px;border-radius:10px;letter-spacing:.3px}
.ts-updates-bar-title{font-size:12.5px;color:var(--navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.ts-updates-bar-all{flex-shrink:0;font-size:11.5px;font-weight:600;color:var(--sky);background:#fff;border:1px solid var(--line);padding:7px 14px;border-radius:20px;transition:background .15s,border-color .15s}
.ts-updates-bar-all:hover{background:var(--sky-light);border-color:var(--sky)}

.ts-updates-bar-close{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;color:var(--text-soft);font-size:12px;cursor:pointer;transition:background .15s,color .15s}
.ts-updates-bar-close:hover{background:#fff;color:var(--navy)}

@media(max-width:600px){
  .ts-updates-bar{padding:0 14px;margin-top:8px}
  .ts-updates-bar-inner{padding:8px 8px 8px 6px;gap:8px}
  .ts-updates-bar-icon{display:none}
  .ts-updates-bar-new{font-size:9px;padding:2px 7px}
  .ts-updates-bar-title{font-size:11.5px}
  .ts-updates-bar-all{display:none}
}

/* ═══ CYBER SAFETY BAR (homepage) ═══ */
.cyber-bar{background:transparent;border:none;padding:0}
.cyber-bar-inner{max-width:none;margin:0;padding:20px 24px;display:flex;align-items:center;gap:16px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg)}
.cyber-chips{display:flex;gap:10px;flex-wrap:wrap;flex:1}
.cyber-chip{display:flex;align-items:center;gap:6px;background:var(--sky-pale);border:1px solid var(--line);color:var(--text);padding:8px 16px;border-radius:20px;font-size:12.5px;transition:background .15s,border-color .15s}
.cyber-chip:hover{background:var(--sky-light);border-color:var(--sky)}

/* ═══ BOTTOM SECTION (Latest Updates + Citizen Tools + WhatsApp CTA, homepage) ═══ */
.bottom-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px}
/* Scoped to .bottom-grid only (unique to front-page.php) so this never
   touches .latest-updates/.sec-title/.sec-hdr's other, shared usages
   elsewhere (taxonomy-state.php, taxonomy-topic.php, or any other
   section on the homepage itself). */
.bottom-grid .latest-updates,
.bottom-grid .citizen-tools{background:#fff;border:1.5px solid var(--line);border-radius:var(--radius-lg);padding:18px}
.bottom-grid .sec-hdr{background:var(--navy);margin:-18px -18px 14px -18px;padding:11px 18px;border-radius:var(--radius-lg) var(--radius-lg) 0 0}
.bottom-grid .sec-title{color:#fff}
.bottom-grid .sec-more{color:rgba(255,255,255,.85)}
.citizen-tools{background:#fff;border:1.5px solid var(--line);border-radius:var(--radius-lg);padding:20px}
.ct-item{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.ct-item:last-child{border-bottom:none}
.ct-icon{width:38px;height:38px;border-radius:var(--radius);background:var(--sky-pale);display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0}
.ct-text{font-size:13px;color:var(--navy);font-weight:400}
.ct-sub{font-size:11px;color:var(--text-soft)}
.wa-cta-compact{display:flex;align-items:center;gap:12px;background:linear-gradient(135deg,#075E54,#25D366);border-radius:var(--radius-lg);padding:14px 16px;margin-top:14px;transition:opacity .15s}
.wa-cta-compact:hover{opacity:.92}
.wa-cta-compact-icon{flex-shrink:0;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center;font-size:18px}
.wa-cta-compact-text{flex:1;min-width:0}
.wa-cta-compact-title{color:#fff;font-size:13px;font-weight:600}
.wa-cta-compact-sub{color:rgba(255,255,255,.85);font-size:11px;margin-top:1px}
.wa-cta-compact-arrow{flex-shrink:0;color:#fff;font-size:18px}
@media(max-width:768px){
  .bottom-grid{grid-template-columns:1fr}
}

/* ═══ PRIMARY NAV: colors now read dynamically from GP's actual saved
   Customizer settings via PHP (see inc/nav-hover-fix.php), not hardcoded
   here — see that file for the full explanation. ═══ */

/* ═══ SITE TAGLINE (below logo, styled to sit more elegantly than WP default) ═══ */
.site-description{font-size:13px!important;color:var(--text-soft)!important;font-weight:400!important;margin-top:2px!important;letter-spacing:.2px}

/* ═══ SITE TITLE COLOR WHEN INSIDE STICKY NAVIGATION ═══ */
/* GP's own forum confirms: sticky nav's logo/title color is meant to
   inherit from Colors > Primary Navigation, but the site title text
   specifically needs an explicit rule to reliably show white against the
   blue sticky bar (same category of GP Customizer-CSS unreliability
   already confirmed for Nav/Footer colors this project — see CHANGELOG
   1.0.36, 1.0.62). Scoped broadly (any .site-title within .main-navigation
   or #site-navigation) since GP's exact sticky-title markup wasn't
   independently confirmed. */
.main-navigation .site-title,
.main-navigation .site-title a,
#site-navigation .site-title,
#site-navigation .site-title a{color:#fff!important}

/* ═══ MOBILE HAMBURGER MENU ICON SIZE ═══ */
/* Both approaches confirmed via GeneratePress's own staff-provided
   answers on their official support forum:
   - .menu-toggle font-size controls the button/touch-target size
   - .gp-icon.icon-menu-bars svg controls the actual icon graphic size */
@media(max-width:768px){
  .main-navigation .menu-toggle{font-size:20px!important;color:var(--navy)!important}
  .main-navigation .gp-icon.icon-menu-bars svg{height:1.3em;width:1.3em;fill:var(--navy)!important;color:var(--navy)!important}
}

/* ═══ MOBILE TITLE VERTICAL ALIGNMENT (match search/hamburger row) ═══ */
@media(max-width:768px){
  .site-header .inside-header{display:flex;align-items:center;padding-top:14px;padding-bottom:14px}
  .site-branding{display:flex;align-items:center;margin:0}
  .site-title{margin:0}
}

/* ═══ MOBILE TITLE COLOR (navy, since mobile header is now white — matches desktop) ═══ */
@media(max-width:768px){
  .site-title,
  .site-title a{color:var(--navy)!important}
}

/* ═══ MOBILE TITLE SIZE ═══ */
/* Explicit px value, not calc(1em + 2px) — that would have been wrong if
   GP sets an explicit font-size directly on .site-title (likely, for a
   prominent logo-style title) rather than inheriting from a parent, since
   1em would then reference the parent's much smaller size instead. */
@media(max-width:768px){
  .site-title,
  .site-title a{font-size:34px!important}
}

/* ═══ HERO SEARCH BAR: hidden on mobile ═══ */
@media(max-width:768px){
  .ts-hero-search{display:none}
}

/* ═══ HERO BOTTOM PADDING: reduced on mobile only (desktop untouched) ═══ */
@media(max-width:768px){
  .ts-hero{padding-bottom:12px}
}

/* ═══ WHATSAPP CTA BANNER: taller on desktop only (fills leftover column space; mobile already fine) ═══ */
@media(min-width:769px){
  .wa-cta-compact{padding:26px 20px;margin-top:20px}
  .wa-cta-compact-icon{width:48px;height:48px;font-size:22px}
  .wa-cta-compact-title{font-size:15px}
  .wa-cta-compact-sub{font-size:12.5px;margin-top:3px}
}

/* ═══ MOBILE HEADER BACKGROUND: white (matches desktop), not blue ═══ */
/* Confirmed via GeneratePress's own official documentation: "The mobile
   header inherits your navigation colors set in Customize > Colors >
   Primary Navigation" — NOT the desktop Header color. Changing Primary
   Navigation directly would also change the desktop nav's blue color
   (unwanted). Multiple GP staff forum threads confirm the correct,
   independent fix: target the real `#mobile-header` ID directly. */
@media(max-width:768px){
  #mobile-header{background-color:#fff!important;border-bottom:1px solid var(--line)}
}

/* ═══ MOBILE CONTENT WRAPPER OFFSET FIX ═══ */
/* Diagnostic outlines (red on .section-inner, lime on a card) confirmed:
   cards fit their .section-inner correctly, but .section-inner ITSELF
   sits shifted left relative to the true screen — flush left, large gap
   before the true right edge. Since .section-inner has no explicit width
   (only max-width, which doesn't constrain anything on mobile), it simply
   fills its PARENT's width — meaning the actual issue is in GP's own main
   content wrapper, not any of our own section/card CSS. Forcing that
   wrapper to the true full-bleed viewport width fixes it at the source,
   same reliable technique already used for the Hero.
   #primary / .content-area / .site-content cover GP's common wrapper
   class names — whichever exists gets the fix. */
@media(max-width:768px){
  #primary,
  .content-area,
  .site-content{width:100vw!important;max-width:100vw!important;margin-left:calc(-50vw + 50%)!important;margin-right:calc(-50vw + 50%)!important}
}

/* ═══ REMOVE LEFTOVER EMPTY SPACE FROM GP's NOW-EMPTY COPYRIGHT CONTAINER ═══ */
/* .site-info is GP's confirmed class (from their own official docs/forum)
   for the copyright bar wrapper. We removed its actual content (1.1.5),
   but the empty container itself may still occupy space via its own
   padding — collapse it entirely. */
.site-info{display:none!important}


/* ═══ MOBILE HEADER SEARCH ═══ */
.ts-mobile-search-toggle-checkbox{position:absolute;opacity:0;pointer-events:none}
.ts-mobile-header-search{display:none;align-items:center;margin-left:auto;flex-shrink:0;z-index:20}
.ts-mobile-header-search .ts-header-icon-link{width:32px;height:32px}
.ts-mobile-search-overlay{display:none}
.ts-mobile-search-toggle-checkbox:checked ~ .ts-mobile-search-overlay{display:flex}

@media(max-width:768px){
  .ts-mobile-header-search{display:flex}
  /* The mobile header contains only the Search icon. Desktop icon group is
     hidden by GeneratePress/mobile-header separation and is additionally
     suppressed here as a safety measure. */
  .ts-header-icons{display:none!important}
}
@media(min-width:769px){
  .ts-mobile-header-search,
  .ts-mobile-search-overlay,
  .ts-mobile-search-toggle-checkbox{display:none!important}
}


/* v1.4.14: hide the mobile search toggle control completely.
   The label remains clickable; only the native checkbox is removed visually. */
.ts-mobile-search-toggle-checkbox,
#ts-mobile-search-toggle.ts-mobile-search-toggle-checkbox,
input.ts-mobile-search-toggle-checkbox[type="checkbox"] {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 1px !important;
    min-height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    opacity: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    pointer-events: none !important;
}
