/* ============ KSH Premium UI — magazine design system ============ */
:root{
  --gfg-blue:#1a73e8; --gfg-blue-d:#1558b0; --gfg-navy:#0f2a43;
  --gfg-text:#3a4f63; --gfg-muted:#6b7d90; --gfg-light:#eaf2fd;
  --gfg-border:#e2e8f0; --gfg-radius:16px;
  --gfg-font:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --gfg-head:'Plus Jakarta Sans','Inter',sans-serif;
}
body{font-family:var(--gfg-font);color:var(--gfg-text)}
h1,h2,h3,h4,h5,h6{font-family:var(--gfg-head);color:var(--gfg-navy);font-weight:700;letter-spacing:-.01em}
a{color:var(--gfg-blue)}
a:hover{color:var(--gfg-blue-d)}
::selection{background:var(--gfg-blue);color:#fff}
.gfg-wrap{max-width:1200px;margin:0 auto;padding:0 20px}
/* hide Astra's own header/footer — replaced by KSH chrome */
#masthead.site-header,.ast-site-header{display:none!important}
#colophon.site-footer,.ast-site-footer{display:none!important}
/* full-bleed sections inside Astra container */
.gfg-hero,.gfg-news{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}

/* ---------- topbar ---------- */
.gfg-topbar{background:var(--gfg-navy);color:#dbe7f3;font-size:.8rem}
.gfg-topbar-in{display:flex;align-items:center;gap:18px;padding-top:8px;padding-bottom:8px}
.gfg-date{white-space:nowrap;color:#a9bfd4}
.gfg-trending{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gfg-trending strong{background:#e11d48;color:#fff;font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;padding:3px 10px;border-radius:999px;margin-right:8px}
.gfg-trending a{color:#fff;text-decoration:none}
.gfg-trending a:hover{text-decoration:underline}
.gfg-top-links{display:flex;gap:16px;white-space:nowrap}
.gfg-top-links a{color:#dbe7f3;text-decoration:none}
.gfg-top-links a:hover{color:#fff}

/* ---------- header ---------- */
.gfg-header{background:#fff;position:sticky;top:0;z-index:200;box-shadow:0 2px 14px rgba(15,42,67,.08)}
.gfg-header-in{display:flex;align-items:center;gap:24px;padding-top:12px;padding-bottom:12px}
.gfg-brand{display:flex;align-items:center;gap:12px;text-decoration:none;flex-shrink:0}
.gfg-brand img{border-radius:12px}
.gfg-brand-t{display:flex;flex-direction:column;line-height:1.15}
.gfg-brand-t strong{font-family:var(--gfg-head);font-size:1.25rem;color:var(--gfg-navy)}
.gfg-brand-t small{font-size:.72rem;color:var(--gfg-muted);letter-spacing:.04em}
.gfg-nav{flex:1}
.gfg-menu{display:flex;gap:4px;list-style:none;margin:0;padding:0;justify-content:center;flex-wrap:wrap}
.gfg-menu a{display:block;padding:10px 14px;color:var(--gfg-navy);font-weight:600;font-size:.95rem;text-decoration:none;border-radius:10px}
.gfg-menu a:hover{color:var(--gfg-blue);background:var(--gfg-light)}
.gfg-menu .current-menu-item a{color:var(--gfg-blue)}
.gfg-header-actions{display:flex;gap:8px;margin-left:auto}
.gfg-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:10px;border:1px solid var(--gfg-border);background:#fff;color:var(--gfg-navy);cursor:pointer}
.gfg-icon-btn:hover{background:var(--gfg-blue);border-color:var(--gfg-blue);color:#fff}
.gfg-icon-btn svg{width:20px;height:20px}
.gfg-nav-toggle{display:none}
.gfg-search-drop{display:none;padding:0 0 14px}
.gfg-search-drop.open{display:block}
.gfg-search-drop form{display:flex;gap:8px}
.gfg-search-drop input{flex:1;border:2px solid var(--gfg-border);border-radius:999px;padding:10px 18px;font-size:.95rem;font-family:var(--gfg-font)}
.gfg-search-drop input:focus{outline:none;border-color:var(--gfg-blue)}
.gfg-search-drop button{background:var(--gfg-blue);color:#fff;border:none;border-radius:999px;padding:10px 26px;font-weight:600;cursor:pointer}
.gfg-mobile-nav{display:none;border-top:1px solid var(--gfg-border)}
.gfg-mobile-nav.open{display:block}
.gfg-m-menu{list-style:none;margin:0;padding:8px 20px 16px}
.gfg-m-menu a{display:block;padding:11px 4px;color:var(--gfg-navy);font-weight:600;text-decoration:none;border-bottom:1px solid var(--gfg-border)}

/* ---------- hero ---------- */
.gfg-hero{background:linear-gradient(120deg,#dbe9fd 0%,#eef5fe 55%,#f7faff 100%);overflow:hidden}
.gfg-hero-in{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center;padding-top:56px;padding-bottom:56px}
.gfg-hero-text h1{font-size:2.7rem;line-height:1.18;margin:0 0 16px}
.gfg-hero-text h1 span{color:var(--gfg-blue)}
.gfg-hero-text>p{font-size:1.08rem;color:var(--gfg-text);margin:0 0 26px;max-width:34rem}
.gfg-hero-search{display:flex;align-items:center;background:#fff;border-radius:999px;padding:6px;box-shadow:0 10px 30px rgba(26,115,232,.16);max-width:34rem}
.gfg-hs-icon{display:inline-flex;color:var(--gfg-muted);padding:0 6px 0 14px}
.gfg-hs-icon svg{width:20px;height:20px}
.gfg-hero-search input{flex:1;border:none;font-size:1rem;padding:12px 8px;font-family:var(--gfg-font);background:transparent;min-width:0}
.gfg-hero-search input:focus{outline:none}
.gfg-hero-search button{background:var(--gfg-blue);color:#fff;border:none;border-radius:999px;padding:13px 34px;font-size:1rem;font-weight:700;cursor:pointer;font-family:var(--gfg-font)}
.gfg-hero-search button:hover{background:var(--gfg-blue-d)}
.gfg-popular{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:18px;font-size:.88rem}
.gfg-popular span{font-weight:700;color:var(--gfg-navy)}
.gfg-popular a{background:#fff;border:1px solid var(--gfg-border);color:var(--gfg-text);text-decoration:none;padding:6px 14px;border-radius:999px;font-size:.82rem}
.gfg-popular a:hover{border-color:var(--gfg-blue);color:var(--gfg-blue)}
.gfg-hero-img img{width:100%;height:auto;border-radius:20px;box-shadow:0 24px 60px rgba(15,42,67,.18);display:block}

/* ---------- quick cards ---------- */
.gfg-cards{margin-top:-34px;position:relative;z-index:5}
.gfg-cards-in{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.gfg-card{background:#fff;border:1px solid var(--gfg-border);border-radius:var(--gfg-radius);padding:18px 14px;display:flex;gap:12px;align-items:center;text-decoration:none;box-shadow:0 6px 18px rgba(15,42,67,.06);transition:transform .18s ease,box-shadow .18s ease}
.gfg-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(26,115,232,.14)}
.gfg-card-ic{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;flex-shrink:0;border-radius:14px;background:var(--gfg-light);color:var(--gfg-blue)}
.gfg-card-ic svg{width:24px;height:24px}
.gfg-card-t{display:flex;flex-direction:column;line-height:1.3}
.gfg-card-t strong{color:var(--gfg-navy);font-size:.9rem}
.gfg-card-t small{color:var(--gfg-muted);font-size:.76rem}

/* ---------- featured + latest ---------- */
.gfg-feat{padding:64px 0 8px}
.gfg-sec-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}
.gfg-sec-head h2{margin:0;font-size:1.6rem;display:flex;align-items:center;gap:10px}
.gfg-sec-ic{display:inline-flex;color:var(--gfg-blue)}
.gfg-sec-ic svg{width:22px;height:22px}
.gfg-see-all{font-weight:600;text-decoration:none;font-size:.92rem}
.gfg-feat-grid{display:grid;grid-template-columns:1.15fr 1fr .85fr;gap:26px;align-items:start}
.gfg-big-card{display:block;background:#fff;border:1px solid var(--gfg-border);border-radius:20px;overflow:hidden;text-decoration:none;box-shadow:0 8px 24px rgba(15,42,67,.07);transition:transform .18s ease,box-shadow .18s ease}
.gfg-big-card:hover{transform:translateY(-4px);box-shadow:0 16px 36px rgba(26,115,232,.14)}
.gfg-big-card img{width:100%;height:260px;object-fit:cover;display:block}
.gfg-big-body{display:block;padding:22px}
.gfg-pill{display:inline-block;color:#fff;font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;padding:4px 12px;border-radius:999px;text-decoration:none;margin-bottom:10px}
.gfg-big-body h3{margin:0 0 10px;font-size:1.35rem;line-height:1.4}
.gfg-big-body p{margin:0 0 14px;color:var(--gfg-muted);font-size:.95rem;line-height:1.65}
.gfg-meta{display:inline-flex;align-items:center;gap:6px;color:var(--gfg-muted);font-size:.8rem}
.gfg-meta svg{width:14px;height:14px}
.gfg-small-card{display:flex;gap:14px;background:#fff;border:1px solid var(--gfg-border);border-radius:16px;overflow:hidden;text-decoration:none;padding:12px;margin-bottom:14px;transition:transform .18s ease,box-shadow .18s ease}
.gfg-small-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(26,115,232,.12)}
.gfg-sc-img{flex-shrink:0;width:132px}
.gfg-sc-img img{width:132px;height:104px;object-fit:cover;border-radius:10px;display:block}
.gfg-sc-body h4{margin:0 0 8px;font-size:.98rem;line-height:1.45}
.gfg-side{background:#fff;border:1px solid var(--gfg-border);border-radius:20px;padding:22px;box-shadow:0 8px 24px rgba(15,42,67,.06)}
.gfg-side h3{margin:0 0 16px;font-size:1.1rem;display:flex;align-items:center;gap:8px}
.gfg-side-item{display:flex;gap:12px;text-decoration:none;padding:10px 0;border-bottom:1px solid var(--gfg-border)}
.gfg-side-item:last-child{border-bottom:none}
.gfg-side-img{flex-shrink:0}
.gfg-side-img img{width:76px;height:64px;object-fit:cover;border-radius:10px;display:block}
.gfg-side-t strong{display:block;color:var(--gfg-navy);font-size:.86rem;line-height:1.45;font-weight:600;margin-bottom:6px}
.gfg-side-item:hover .gfg-side-t strong{color:var(--gfg-blue)}
.gfg-side-t small{display:inline-flex;align-items:center;gap:5px;color:var(--gfg-muted);font-size:.75rem}
.gfg-side-t small svg{width:12px;height:12px}

/* ---------- newsletter ---------- */
.gfg-news{background:linear-gradient(120deg,#e3eefd,#f2f7fe);margin-top:56px}
.gfg-news-in{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center;padding-top:44px;padding-bottom:44px}
.gfg-news-text{display:flex;gap:16px;align-items:flex-start}
.gfg-news-ic{display:inline-flex;align-items:center;justify-content:center;width:54px;height:54px;flex-shrink:0;border-radius:16px;background:var(--gfg-blue);color:#fff}
.gfg-news-ic svg{width:26px;height:26px}
.gfg-news-text h3{margin:0 0 8px;font-size:1.4rem}
.gfg-news-text p{margin:0;color:var(--gfg-muted);font-size:.95rem;line-height:1.6}
.gfg-news-form .fluentform{margin:0}
.gfg-news-form .ff-el-group{margin-bottom:0}
.gfg-news-form input[type="email"]{width:100%;border:2px solid var(--gfg-border)!important;border-radius:12px!important;padding:13px 16px!important;font-size:.95rem!important;font-family:var(--gfg-font)!important;background:#fff!important}
.gfg-news-form input[type="email"]:focus{border-color:var(--gfg-blue)!important;outline:none}
.gfg-news-form .ff-btn-submit,.gfg-news-form button[type="submit"]{background:var(--gfg-blue)!important;border:none!important;border-radius:12px!important;padding:13px 34px!important;font-weight:700!important;font-size:.95rem!important;width:100%;margin-top:10px;cursor:pointer}
.gfg-news-form .ff-btn-submit:hover,.gfg-news-form button[type="submit"]:hover{background:var(--gfg-blue-d)!important}
.gfg-news-form .ff-el-form-control{margin-bottom:0}

/* ---------- footer ---------- */
.gfg-footer{background:#0b2545;color:#c6d6e8;margin-top:0}
.gfg-footer-in{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:36px;padding-top:52px;padding-bottom:40px}
.gfg-brand--light .gfg-brand-t strong{color:#fff}
.gfg-brand--light .gfg-brand-t small{color:#8fa9c4}
.gfg-f-note{font-size:.85rem;line-height:1.7;color:#8fa9c4;margin:16px 0 0;max-width:22rem}
.gfg-f-col h4{color:#fff;font-size:1rem;margin:0 0 16px}
.gfg-f-col a{display:block;color:#c6d6e8;text-decoration:none;font-size:.9rem;padding:6px 0}
.gfg-f-col a:hover{color:#fff;text-decoration:underline}
.gfg-f-bottom{border-top:1px solid rgba(255,255,255,.12)}
.gfg-f-bottom-in{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;padding-top:18px;padding-bottom:18px;font-size:.82rem;color:#8fa9c4}
.gfg-f-bottom-links{display:flex;gap:18px}
.gfg-f-bottom-links a{color:#c6d6e8;text-decoration:none}
.gfg-f-bottom-links a:hover{color:#fff}
#gfg-to-top{position:fixed;right:22px;bottom:22px;width:48px;height:48px;border-radius:50%;background:var(--gfg-blue);color:#fff;border:none;cursor:pointer;display:none;align-items:center;justify-content:center;z-index:300;box-shadow:0 10px 24px rgba(26,115,232,.4)}
#gfg-to-top.show{display:inline-flex}
#gfg-to-top svg{width:22px;height:22px}

/* ---------- single post premium ---------- */
#gfg-progress{position:fixed;top:0;left:0;height:4px;width:0;background:linear-gradient(90deg,var(--gfg-blue),#5aa2f5);z-index:99999;border-radius:0 4px 4px 0}
.gfg-crumb{font-size:.84rem;color:var(--gfg-muted);margin-bottom:14px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.gfg-crumb a{text-decoration:none;font-weight:600}
.gfg-crumb-cur{color:var(--gfg-navy);font-weight:600}
.gfg-feat-img{margin:4px 0 10px}
.gfg-feat-img img{width:100%;height:auto;border-radius:18px;box-shadow:0 12px 32px rgba(15,42,67,.12);display:block}
.single-post .entry-content{font-size:1.12rem;line-height:1.85;color:#33475c}
.single-post .entry-content p{margin-bottom:1.5rem}
.single-post .entry-content>p:first-of-type::first-letter{font-size:3.3em;float:left;line-height:.85;padding-right:.14em;padding-top:.05em;font-weight:700;color:var(--gfg-blue);font-family:var(--gfg-head)}
.single-post .entry-content h2{font-size:1.7rem;margin:2.6rem 0 1.1rem;padding-bottom:.55rem;border-bottom:3px solid #dbe9fd;line-height:1.35}
.single-post .entry-content h3{font-size:1.32rem;margin:2.1rem 0 .9rem;line-height:1.4}
.single-post .entry-content h4{font-size:1.12rem;margin:1.8rem 0 .7rem;color:var(--gfg-blue)}
.single-post .entry-content blockquote{border-left:4px solid var(--gfg-blue);background:#f0f6fe;padding:1.25rem 1.5rem;border-radius:0 14px 14px 0;margin:2rem 0;font-style:italic}
.single-post .entry-content blockquote p{margin:0}
.single-post .entry-content ul,.single-post .entry-content ol{margin-bottom:1.6rem;padding-left:1.4rem}
.single-post .entry-content li{margin-bottom:.55rem}
.single-post .entry-content li::marker{color:var(--gfg-blue);font-weight:700}
.single-post .entry-content a{color:var(--gfg-blue);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1.5px}
.single-post .entry-content a:hover{color:var(--gfg-blue-d)}
.single-post .entry-content table{border-collapse:separate;border-spacing:0;width:100%;margin:2rem 0;border:1px solid var(--gfg-border);border-radius:14px;overflow:hidden;box-shadow:0 4px 14px rgba(15,42,67,.06);font-size:1rem}
.single-post .entry-content thead th{background:var(--gfg-blue);color:#fff;padding:.9rem 1.1rem;text-align:left;font-weight:600;border:none}
.single-post .entry-content tbody td{padding:.8rem 1.1rem;border-top:1px solid #edf2f5}
.single-post .entry-content tbody tr:nth-child(even){background:#f8fbff}
.single-post .entry-content tbody tr:hover{background:#f0f6fe}
.single-post .entry-content details{background:#fbfdff;border:1px solid var(--gfg-border);border-radius:14px;padding:1rem 1.3rem;margin-bottom:.85rem}
.single-post .entry-content details[open]{box-shadow:0 6px 18px rgba(15,42,67,.07);border-color:#bcd7fa}
.single-post .entry-content summary{font-weight:600;cursor:pointer;color:var(--gfg-navy);list-style:none}
.single-post .entry-content summary::-webkit-details-marker{display:none}
.single-post .entry-content summary::before{content:"+";display:inline-block;width:1.6em;height:1.6em;line-height:1.6em;text-align:center;border-radius:50%;background:var(--gfg-blue);color:#fff;font-weight:700;margin-right:.7em;font-size:.85em}
.single-post .entry-content details[open] summary::before{content:"–"}
.single-post .entry-content details p{margin:.9rem 0 .3rem}
.single-post .post-thumb img{border-radius:18px;box-shadow:0 12px 32px rgba(15,42,67,.12)}
.entry-content figcaption{font-size:.88rem;color:var(--gfg-muted);text-align:center;margin-top:.6rem}
.gfg-author{display:flex;gap:18px;background:linear-gradient(135deg,#f2f7fe,#eaf2fd);border:1px solid #d3e3fa;border-radius:18px;padding:1.6rem;margin-top:2.5rem;align-items:flex-start}
.gfg-author-av img{border-radius:50%;width:72px;height:72px}
.gfg-author-t strong{color:var(--gfg-navy);font-size:1.05rem}
.gfg-author-t p{margin:.4rem 0 0;color:var(--gfg-muted);font-size:.92rem;line-height:1.6}
.gfg-postnav{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:1.4rem}
.gfg-pn{background:#fff;border:1px solid var(--gfg-border);border-radius:14px;padding:1rem 1.2rem;text-decoration:none;display:block;transition:border-color .18s ease,transform .18s ease}
.gfg-pn:hover{border-color:var(--gfg-blue);transform:translateY(-2px)}
.gfg-pn small{display:block;color:var(--gfg-muted);font-size:.76rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;margin-bottom:6px}
.gfg-pn strong{color:var(--gfg-navy);font-size:.94rem;line-height:1.45;font-weight:600}
.gfg-pn-next{text-align:right}
.yarpp-related{margin-top:2.5rem;padding-top:2rem;border-top:2px solid #eef4f8}
.yarpp-related>h3,.yarpp-related .yarpp-title{font-size:1.45rem;margin-bottom:1.3rem}
.yarpp-thumbnails-horizontal .yarpp-thumbnail{border:1px solid var(--gfg-border);border-radius:14px;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}
.yarpp-thumbnails-horizontal .yarpp-thumbnail:hover{transform:translateY(-4px);box-shadow:0 10px 24px rgba(15,42,67,.10)}
.yarpp-thumbnails-horizontal .yarpp-thumbnail-title{font-weight:600;color:var(--gfg-navy)}

/* ---------- archives ---------- */
.ast-archive-post{border:1px solid var(--gfg-border);border-radius:18px;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease}
.ast-archive-post:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(26,115,232,.12)}
.blog .entry-title a,.archive .entry-title a{text-decoration:none}
.blog .entry-title a:hover,.archive .entry-title a:hover{color:var(--gfg-blue)}

/* ---------- responsive ---------- */
@media(max-width:1024px){
  .gfg-cards-in{grid-template-columns:repeat(3,1fr)}
  .gfg-feat-grid{grid-template-columns:1fr 1fr}
  .gfg-side{grid-column:1/-1}
}
@media(max-width:900px){
  .gfg-nav{display:none}
  .gfg-nav-toggle{display:inline-flex}
  .gfg-top-links{display:none}
  .gfg-hero-in{grid-template-columns:1fr;padding-top:40px;padding-bottom:40px}
  .gfg-hero-text h1{font-size:2.1rem}
  .gfg-hero-img{order:-1}
  .gfg-news-in{grid-template-columns:1fr}
  .gfg-footer-in{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .gfg-cards-in{grid-template-columns:repeat(2,1fr)}
  .gfg-feat-grid{grid-template-columns:1fr}
  .gfg-trending{display:none}
  .gfg-postnav{grid-template-columns:1fr}
  .gfg-pn-next{text-align:left}
  .single-post .entry-content{font-size:1.05rem;line-height:1.8}
  .single-post .entry-content h2{font-size:1.45rem}
  .single-post .entry-content>p:first-of-type::first-letter{font-size:2.9em}
  .single-post .entry-content .wp-block-table{overflow-x:auto}
  .gfg-f-bottom-in{flex-direction:column;align-items:flex-start}
}

/* ============ article page — reference magazine layout (v1.1) ============ */
.gfg-article-page{padding:26px 0 56px}
.gfg-article-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:34px;align-items:start;margin-top:8px}
.gfg-article-title{font-size:2.15rem;line-height:1.32;margin:10px 0 16px}
/* byline */
.gfg-byline{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:14px 0;border-top:1px solid var(--gfg-border);border-bottom:1px solid var(--gfg-border);margin-bottom:20px}
.gfg-byline-av img{border-radius:50%;width:44px;height:44px;display:block}
.gfg-byline-meta{display:flex;flex-direction:column;gap:3px;font-size:.85rem;color:var(--gfg-muted)}
.gfg-byline-meta>strong{color:var(--gfg-navy);font-size:.93rem}
.gfg-byline-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.gfg-byline-sep{color:#c3d0dd}
/* share buttons */
.gfg-share{margin-left:auto;display:inline-flex;align-items:center;gap:8px}
.gfg-share-label{font-size:.85rem;font-weight:600;color:var(--gfg-muted)}
.gfg-share-btn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;border:none;cursor:pointer;color:#fff;position:relative;padding:0}
.gfg-share-btn svg{width:16px;height:16px}
.gfg-share-facebook{background:#1877f2}
.gfg-share-x{background:#14171a}
.gfg-share-whatsapp{background:#25d366}
.gfg-share-copy{background:var(--gfg-blue)}
.gfg-share-btn:hover{transform:translateY(-2px);box-shadow:0 6px 14px rgba(15,42,67,.25)}
.gfg-share-copy.copied::after{content:"Copied!";position:absolute;top:-32px;left:50%;transform:translateX(-50%);background:var(--gfg-navy);color:#fff;font-size:.7rem;font-weight:600;padding:4px 10px;border-radius:6px;white-space:nowrap}
.gfg-article-main .gfg-feat-img{margin:0 0 22px}
/* table of contents */
.gfg-toc{background:#f2f7fe;border:1px solid #dbe9fd;border-radius:16px;padding:20px 22px;margin:0 0 26px}
.gfg-toc-title{margin:0 0 14px;font-size:1.05rem;display:flex;align-items:center;gap:10px}
.gfg-toc-title span{font-weight:400;color:var(--gfg-muted);font-size:.85rem}
.gfg-toc-list{list-style:none;margin:0;padding:0;columns:2;column-gap:28px;counter-reset:gfg-toc}
.gfg-toc-list li{counter-increment:gfg-toc;break-inside:avoid;margin-bottom:11px;padding-left:2.5em;position:relative;font-size:.92rem;line-height:1.5}
.gfg-toc-list li::before{content:counter(gfg-toc);position:absolute;left:0;top:.05em;width:1.7em;height:1.7em;border-radius:50%;background:var(--gfg-blue);color:#fff;font-size:.78rem;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.gfg-toc-list a{color:var(--gfg-navy);text-decoration:none;font-weight:500}
.gfg-toc-list a:hover{color:var(--gfg-blue)}
/* numbered section headings */
.gfg-article-content{counter-reset:gfg-sec}
.gfg-article-content h2{counter-increment:gfg-sec;scroll-margin-top:110px}
.gfg-article-content h2::before{content:counter(gfg-sec);display:inline-flex;align-items:center;justify-content:center;min-width:1.55em;height:1.55em;padding:0 .32em;margin-right:.6em;border-radius:10px;background:var(--gfg-blue);color:#fff;font-size:.66em;font-weight:700;vertical-align:.14em}
/* sidebar */
.gfg-article-side{display:flex;flex-direction:column;gap:20px;position:sticky;top:96px;min-width:0}
.gfg-widget{background:#fff;border:1px solid var(--gfg-border);border-radius:16px;padding:20px;box-shadow:0 6px 18px rgba(15,42,67,.05)}
.gfg-w-title{margin:0 0 14px;font-size:1.02rem;display:flex;align-items:center;gap:8px}
.gfg-w-title .gfg-sec-ic svg{width:18px;height:18px}
.gfg-w-search{display:flex;gap:8px}
.gfg-w-search input{flex:1;min-width:0;border:2px solid var(--gfg-border);border-radius:10px;padding:10px 14px;font-size:.9rem;font-family:var(--gfg-font)}
.gfg-w-search input:focus{outline:none;border-color:var(--gfg-blue)}
.gfg-w-search button{background:var(--gfg-blue);border:none;border-radius:10px;color:#fff;width:44px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.gfg-w-search button:hover{background:var(--gfg-blue-d)}
.gfg-w-search button svg{width:18px;height:18px}
.gfg-w-post{display:flex;gap:12px;text-decoration:none;padding:10px 0;border-bottom:1px solid var(--gfg-border)}
.gfg-w-post:last-child{border-bottom:none;padding-bottom:0}
.gfg-w-thumb{flex-shrink:0}
.gfg-w-thumb img{width:88px;height:70px;object-fit:cover;border-radius:10px;display:block}
.gfg-w-pt{flex:1;min-width:0}
.gfg-w-pt strong{display:block;color:var(--gfg-navy);font-size:.87rem;line-height:1.45;font-weight:600;margin-bottom:5px}
.gfg-w-post:hover .gfg-w-pt strong,.gfg-w-pop:hover .gfg-w-pt strong{color:var(--gfg-blue)}
.gfg-w-pt small{color:var(--gfg-muted);font-size:.75rem}
.gfg-w-pop{display:flex;gap:12px;align-items:flex-start;text-decoration:none;padding:9px 0;border-bottom:1px solid var(--gfg-border)}
.gfg-w-pop:last-child{border-bottom:none;padding-bottom:0}
.gfg-w-num{flex-shrink:0;width:34px;height:34px;border-radius:50%;background:var(--gfg-blue);color:#fff;font-weight:700;display:inline-flex;align-items:center;justify-content:center;font-size:.9rem}
.gfg-w-cats{list-style:none;margin:0;padding:0}
.gfg-w-cats li{border-bottom:1px solid var(--gfg-border)}
.gfg-w-cats li:last-child{border-bottom:none}
.gfg-w-cats a{display:flex;justify-content:space-between;align-items:center;gap:10px;text-decoration:none;color:var(--gfg-navy);font-weight:500;font-size:.9rem;padding:9px 2px}
.gfg-w-cats a:hover{color:var(--gfg-blue)}
.gfg-w-count{background:var(--gfg-light);color:var(--gfg-blue);font-size:.75rem;font-weight:700;border-radius:8px;padding:2px 10px;flex-shrink:0}
.gfg-w-news{background:linear-gradient(135deg,#eaf2fd,#f4f9ff)}
.gfg-w-news p{font-size:.88rem;color:var(--gfg-muted);margin:0 0 12px;line-height:1.6}
/* topbar + footer social */
.gfg-top-social{display:flex;gap:6px;align-items:center;flex-shrink:0}
.gfg-soc{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;color:#fff}
.gfg-soc svg{width:13px;height:13px;display:block}
.gfg-soc-facebook{background:#1877f2}
.gfg-soc-x{background:#000}
.gfg-soc-youtube{background:#ff0000}
.gfg-soc-instagram{background:linear-gradient(45deg,#f09433,#dc2743,#bc1888)}
.gfg-soc:hover{transform:translateY(-2px)}
.gfg-f-social{display:flex;gap:10px;margin-top:4px}
.gfg-f-social .gfg-soc{width:36px;height:36px}
.gfg-f-social .gfg-soc svg{width:17px;height:17px}
.gfg-footer-in{grid-template-columns:1.4fr 1fr 1fr 1fr 1fr}
/* article responsive */
@media(max-width:1024px){
  .gfg-article-grid{grid-template-columns:1fr}
  .gfg-article-side{position:static;display:grid;grid-template-columns:1fr 1fr;align-items:start}
}
@media(max-width:640px){
  .gfg-article-side{grid-template-columns:1fr}
  .gfg-toc-list{columns:1}
  .gfg-article-title{font-size:1.65rem}
  .gfg-share{margin-left:0}
  .gfg-byline-av img{width:38px;height:38px}
}

/* ============ homepage fixes + hero polish (v1.1.1) ============ */
/* close the white gap between header and hero */
.gfg-news{overflow:hidden}
/* hero polish */
.gfg-hero{position:relative}
.gfg-hero::before{content:"";position:absolute;width:480px;height:480px;border-radius:50%;background:radial-gradient(circle,rgba(26,115,232,.14),transparent 70%);top:-160px;right:-120px;pointer-events:none}
.gfg-hero::after{content:"";position:absolute;width:380px;height:380px;border-radius:50%;background:radial-gradient(circle,rgba(26,115,232,.10),transparent 70%);bottom:-140px;left:-100px;pointer-events:none}
.gfg-hero-in{position:relative;z-index:1;padding-top:60px;padding-bottom:60px}
.gfg-hero-badge{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid #cfe2fb;color:var(--gfg-blue);font-size:.8rem;font-weight:700;letter-spacing:.02em;padding:8px 16px;border-radius:999px;margin-bottom:18px;box-shadow:0 4px 12px rgba(26,115,232,.10)}
.gfg-hero-text h1{font-size:3rem}
.gfg-hero-search{padding:8px}
.gfg-hero-search input{padding:14px 10px;font-size:1.02rem}
.gfg-hero-search button{flex-shrink:0}
.gfg-hero-img{position:relative}
.gfg-hero-float{position:absolute;background:rgba(255,255,255,.96);border:1px solid var(--gfg-border);border-radius:14px;box-shadow:0 12px 28px rgba(15,42,67,.16);padding:10px 18px;display:flex;align-items:center;gap:10px;z-index:2}
.gfg-hero-float strong{font-family:var(--gfg-head);font-size:1.5rem;color:var(--gfg-blue);line-height:1}
.gfg-hero-float span{font-size:.78rem;color:var(--gfg-muted);font-weight:600;line-height:1.35}
.gfg-hf-1{top:22px;left:-20px}
.gfg-hf-2{bottom:22px;right:-16px}
/* solid blue header search toggle — always clearly visible */
.gfg-search-toggle{background:var(--gfg-blue);border-color:var(--gfg-blue);color:#fff}
.gfg-search-toggle:hover{background:var(--gfg-blue-d);border-color:var(--gfg-blue-d);color:#fff}
@media(max-width:900px){
  .gfg-hero-text h1{font-size:2.3rem}
  .gfg-hf-1{left:10px}
  .gfg-hf-2{right:10px}
}

/* ============ AdSense readiness (v1.2.0) ============ */
/* cookie consent banner */
.gfg-cookie{position:fixed;left:16px;right:16px;bottom:16px;z-index:9999;background:#0f2a43;color:#e6eef7;border-radius:14px;padding:16px 20px;display:flex;gap:16px;align-items:center;box-shadow:0 18px 40px rgba(0,0,0,.28);max-width:660px;margin:0 auto}
.gfg-cookie p{margin:0;font-size:.85rem;line-height:1.55;color:#c9d6e5}
.gfg-cookie a{color:#7fb3ff;text-decoration:underline}
.gfg-cookie-btns{display:flex;gap:12px;align-items:center;flex-shrink:0}
.gfg-cookie-accept{background:var(--gfg-blue);color:#fff;border:none;border-radius:999px;padding:10px 24px;font-weight:700;cursor:pointer;font-size:.9rem}
.gfg-cookie-accept:hover{background:var(--gfg-blue-d)}
.gfg-cookie-more{color:#c9d6e5;font-size:.85rem;white-space:nowrap}
.gfg-cookie.hide{display:none}
@media(max-width:640px){.gfg-cookie{flex-direction:column;align-items:flex-start;gap:12px}}
/* medical advice notice on articles */
.gfg-med-note{background:#fff8e6;border:1px solid #f0d48a;border-left:4px solid #f59e0b;border-radius:12px;padding:16px 20px;margin:28px 0;font-size:.92rem;color:#5b4a1e;line-height:1.65}
.gfg-med-note a{color:var(--gfg-blue);font-weight:600}

/* ============ GFG: hero code-window visual ============ */
.gfg-hero-visual{position:relative;padding:10px 0}
.gfg-codewin{background:#0f2a43;border-radius:18px;box-shadow:0 28px 60px rgba(15,42,67,.30);overflow:hidden;border:1px solid #1d3a5c;transform:rotate(1.5deg)}
.gfg-codewin-bar{display:flex;align-items:center;gap:12px;background:#0b2138;padding:12px 16px}
.gfg-cw-dots{display:inline-flex;gap:7px}
.gfg-cw-dots i{width:11px;height:11px;border-radius:50%;background:#f87171;display:block}
.gfg-cw-dots i:nth-child(2){background:#fbbf24}
.gfg-cw-dots i:nth-child(3){background:#34d399}
.gfg-cw-title{color:#8fb0cc;font-size:.78rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.gfg-codewin-body{padding:22px 24px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.92rem;line-height:2;color:#d7e6f5}
.gfg-codewin-body p{margin:0}
.gfg-c-p{color:#7fb3ff;font-weight:700;margin-right:8px}
.gfg-c-g{color:#34d399;font-weight:700;margin-right:8px}
.gfg-c-cursor{color:#7fb3ff;animation:gfg-blink 1.1s steps(1) infinite}
@keyframes gfg-blink{50%{opacity:0}}

/* ============ GFG: CTA band ============ */
.gfg-cta{background:linear-gradient(120deg,#0f2a43,#1558b0);margin-top:64px;width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
.gfg-cta-in{display:flex;align-items:center;justify-content:space-between;gap:28px;padding-top:44px;padding-bottom:44px;flex-wrap:wrap}
.gfg-cta-text{display:flex;gap:18px;align-items:flex-start}
.gfg-cta-ic{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;flex-shrink:0;border-radius:16px;background:rgba(255,255,255,.14);color:#fff}
.gfg-cta-ic svg{width:28px;height:28px}
.gfg-cta-text h3{margin:0 0 8px;color:#fff;font-size:1.45rem}
.gfg-cta-text p{margin:0;color:#c9d9ec;font-size:.96rem}
.gfg-cta-btn{background:#fff;color:var(--gfg-navy);font-weight:700;text-decoration:none;padding:15px 34px;border-radius:999px;font-size:1rem;flex-shrink:0;box-shadow:0 10px 24px rgba(0,0,0,.20)}
.gfg-cta-btn:hover{background:var(--gfg-light);color:var(--gfg-blue-d)}

/* ============ GFG: blog page ============ */
.gfg-blog{padding:48px 0 64px}
.gfg-blog-head{text-align:center;margin-bottom:28px}
.gfg-blog-head h1{font-size:2.4rem;margin:0 0 10px}
.gfg-blog-head p{color:var(--gfg-muted);font-size:1.02rem;margin:0}
.gfg-filters{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-bottom:36px}
.gfg-filter{background:#fff;border:1px solid var(--gfg-border);color:var(--gfg-text);text-decoration:none;padding:9px 20px;border-radius:999px;font-size:.88rem;font-weight:600}
.gfg-filter:hover{border-color:var(--gfg-blue);color:var(--gfg-blue)}
.gfg-filter.on{background:var(--gfg-blue);border-color:var(--gfg-blue);color:#fff}
.gfg-blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.gfg-blog-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--gfg-border);border-radius:18px;overflow:hidden;text-decoration:none;box-shadow:0 8px 22px rgba(15,42,67,.06);transition:transform .18s ease,box-shadow .18s ease}
.gfg-blog-card:hover{transform:translateY(-5px);box-shadow:0 16px 34px rgba(26,115,232,.14)}
.gfg-bc-img{display:block;aspect-ratio:16/9;overflow:hidden;background:var(--gfg-light)}
.gfg-bc-img img{width:100%;height:100%;object-fit:cover;display:block}
.gfg-bc-body{display:flex;flex-direction:column;gap:10px;padding:20px 22px 24px;flex:1}
.gfg-bc-body h3{margin:0;font-size:1.08rem;line-height:1.45;color:var(--gfg-navy)}
.gfg-bc-body p{margin:0;font-size:.9rem;color:var(--gfg-muted);line-height:1.6;flex:1}
.gfg-meta{display:inline-flex;align-items:center;gap:6px;font-size:.8rem;color:var(--gfg-muted)}
.gfg-meta svg{width:14px;height:14px}
.gfg-pagenav{display:flex;justify-content:center;gap:8px;margin-top:44px;flex-wrap:wrap}
.gfg-pagenav .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 14px;border:1px solid var(--gfg-border);border-radius:12px;background:#fff;color:var(--gfg-navy);text-decoration:none;font-weight:600;font-size:.9rem}
.gfg-pagenav .page-numbers.current{background:var(--gfg-blue);border-color:var(--gfg-blue);color:#fff}
.gfg-pagenav a.page-numbers:hover{border-color:var(--gfg-blue);color:var(--gfg-blue)}
.gfg-blog-empty{text-align:center;color:var(--gfg-muted);padding:40px 0}

/* ============ GFG: inner page template ============ */
.gfg-page{padding:44px 0 64px}
.gfg-crumb{display:flex;align-items:center;gap:8px;font-size:.86rem;color:var(--gfg-muted);margin-bottom:22px;flex-wrap:wrap}
.gfg-crumb a{color:var(--gfg-blue);text-decoration:none;font-weight:600}
.gfg-crumb-cur{color:var(--gfg-navy);font-weight:600}
.gfg-page-card{background:#fff;border:1px solid var(--gfg-border);border-radius:20px;padding:44px 48px;box-shadow:0 10px 30px rgba(15,42,67,.06)}
.gfg-page-title{font-size:2.2rem;margin:0 0 24px}
.gfg-page-content{font-size:1.02rem;line-height:1.75}
.gfg-page-content h2{font-size:1.5rem;margin:36px 0 14px}
.gfg-page-content h3{font-size:1.2rem;margin:28px 0 12px}
.gfg-page-content p{margin:0 0 18px}
.gfg-page-content ul,.gfg-page-content ol{margin:0 0 20px;padding-left:24px}
.gfg-page-content li{margin-bottom:8px}

/* ============ GFG responsive ============ */
@media(max-width:1000px){
  .gfg-blog-grid{grid-template-columns:repeat(2,1fr)}
  .gfg-page-card{padding:32px 26px}
}
@media(max-width:700px){
  .gfg-blog-grid{grid-template-columns:1fr}
  .gfg-hero-visual{margin-top:8px}
  .gfg-codewin{transform:none}
  .gfg-cta-in{flex-direction:column;align-items:flex-start}
  .gfg-page-title{font-size:1.7rem}
}
