/*
 * TNG Single Insight — Advisory 2-column layout, #314250 hero
 * Applies to single 'post' via child-theme single.php
 */

/* Kill Astra's default container constraints on single posts so our hero can go full-width */
.single-post #primary{max-width:100% !important;padding:0 !important;margin:0 !important}
.single-post .site-content .ast-container{max-width:100% !important;padding:0 !important}

/* ---- HERO BAND (#314250, white text) ---- */
.tngs-hero{background:#314250;color:#fff}
.tngs-hero-in{max-width:1180px;margin:0 auto;padding:56px 40px;display:grid;grid-template-columns:1.25fr 1fr;gap:48px;align-items:center}
.tngs-hero-text .tngs-pill{display:inline-block;background:rgba(255,255,255,.14);color:#fff;font-family:'Roboto',sans-serif;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;padding:6px 14px;border-radius:999px;margin-bottom:16px}
.tngs-hero-text h1{font-family:'EB Garamond',Georgia,serif;color:#fff !important;font-size:clamp(30px,3.6vw,46px);font-weight:500;line-height:1.12;margin:0 0 18px}
.tngs-byline{display:flex;align-items:center;gap:12px;color:rgba(255,255,255,.85);font-family:'Roboto',sans-serif;font-size:14px}
.tngs-avatar{width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.3);display:flex;align-items:center;justify-content:center;color:#fff;font-family:'EB Garamond';font-size:17px}
.tngs-hero-img{margin:0}
.tngs-hero-img img{width:100%;height:auto;border-radius:14px;display:block;box-shadow:0 18px 50px rgba(0,0,0,.28)}

/* ---- 2-COLUMN BODY ---- */
.tngs-layout{max-width:1180px;margin:0 auto;padding:48px 40px 64px;display:grid;grid-template-columns:1fr 320px;gap:52px;align-items:start}
.tngs-main{min-width:0;max-width:none}
.tngs-side{position:sticky;top:24px;display:flex;flex-direction:column;gap:20px}

/* TOC */
.tngs-toc{border:1px solid var(--tng-line,#E2E0DB);border-radius:14px;padding:20px 22px}
.tngs-toc h4{font-family:'EB Garamond',serif;font-size:17px;color:#314250;margin:0 0 12px}
.tngs-toc a{display:block;color:#4B4B4B;text-decoration:none;font-family:'Roboto',sans-serif;font-size:13.5px;padding:7px 0;border-bottom:1px solid #F2F1EE;line-height:1.4}
.tngs-toc a:last-child{border-bottom:0}
.tngs-toc a:hover{color:#405363}

/* Key Facts */
.tngs-facts{background:#314250;color:#fff;border-radius:14px;padding:22px}
.tngs-facts h4{color:#fff;font-family:'EB Garamond';font-size:17px;margin:0 0 10px}
.tngs-facts div{font-family:'Roboto';font-size:13px;color:rgba(255,255,255,.85);padding:7px 0;border-bottom:1px solid rgba(255,255,255,.12)}
.tngs-facts div:last-child{border-bottom:0}

/* Sidebar CTA */
.tngs-sidecta{border:2px solid #405363;border-radius:14px;padding:22px;text-align:center}
.tngs-sidecta strong{font-family:'EB Garamond';color:#314250;font-size:19px}
.tngs-sidecta p{font-family:'Roboto';font-size:13px;color:#75767A;margin:8px 0 0}
.tngs-sidecta a{display:inline-block;background:#405363;color:#fff;padding:11px 24px;border-radius:999px;text-decoration:none;font-weight:600;margin-top:12px;font-family:'Roboto';font-size:14px}

/* ---- CONTENT TYPOGRAPHY ---- */
.tngs-main.entry-content{font-family:'Roboto',sans-serif;color:#4B4B4B;line-height:1.7}
.tngs-main.entry-content h2{font-family:'EB Garamond',serif;font-size:clamp(24px,2.6vw,32px);color:#314250;font-weight:500;margin:42px 0 14px;scroll-margin-top:90px}
.tngs-main.entry-content h3{font-family:'EB Garamond',serif;font-size:clamp(20px,2vw,25px);color:#405363;font-weight:500;margin:30px 0 10px}
.tngs-main.entry-content p{font-size:16.5px;margin:0 0 16px}
.tngs-main.entry-content cite{color:#75767A;font-style:italic;font-size:.92em}
.tngs-main.entry-content a{color:#314250;text-decoration:underline;text-underline-offset:3px}
.tngs-main.entry-content ul,.tngs-main.entry-content ol{padding-left:22px;margin:0 0 16px}
.tngs-main.entry-content li{margin:7px 0;font-size:16.5px}
.tngs-main.entry-content li strong{color:#314250}

/* Tables (brand-blue header) */
.tngs-main.entry-content table{width:100%;border-collapse:collapse;margin:22px 0;border-radius:12px;overflow:hidden;box-shadow:0 1px 3px rgba(64,83,99,.08)}
.tngs-main.entry-content th{background:#405363 !important;color:#fff !important;text-align:left;padding:13px 15px;font-family:'Roboto';font-weight:600;font-size:13px;border:1px solid #E6DED2}
.tngs-main.entry-content td{padding:13px 15px;border:1px solid #E6DED2;font-size:14px;background:#fff}
.tngs-main.entry-content tr:nth-child(even) td{background:#FAFAF9}

/* Figures */
.tngs-main.entry-content figure{margin:26px 0}
.tngs-main.entry-content figure img{width:100%;border-radius:12px;display:block}
.tngs-main.entry-content figcaption{color:#75767A;font-size:13px;text-align:center;margin-top:7px;font-style:italic}

/* Quick answer + CTA + FAQ (reuse ci- and tng- prefixes) */
.tngs-main .ci-quick-answer,.tngs-main .tng-quick-answer{background:#F5F1EA;border-left:4px solid #405363;border-radius:12px;padding:18px 22px;margin:22px 0}
.tngs-main details{border-left:4px solid #405363;background:#FAFAF9;padding:14px 18px;margin:10px 0;border-radius:8px}
.tngs-main details summary{cursor:pointer;font-weight:600;color:#314250;font-size:16px;list-style:none}
.tngs-main details summary::-webkit-details-marker{display:none}

@media(max-width:900px){
  .tngs-hero-in{grid-template-columns:1fr;gap:28px}
  .tngs-layout{grid-template-columns:1fr;gap:32px}
  .tngs-side{position:static}
}
