/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  PSTET v8.1 — CLS-Zero Static Layout + iPhone App UI
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      8.1.0
*/

/* ==========================================================================
   CLS-ZERO AUDIT LOG (v8.0 → v8.1):
   
   1. 35+ `contain: layout style` added to isolate reflow
   2. 45+ fixed heights on variable-height elements
   3. Animations removed: blink, fadeUp, shimmer, pstet-ring-pulse
   4. Animations kept but GPU-only: tick (transform only), pstet-ring-spin
   5. content-visibility: auto on 8 below-fold sections
   6. aspect-ratio on all image containers
   7. html overflow-y: scroll (prevents scrollbar CLS)
   8. All gaps/margins/padding tightened 20-30%
   9. line-height reduced globally from 1.7 → 1.5 in body text
   10. All skeleton shimmer replaced with static placeholder
   ========================================================================== */

/* ==========================================================================
   SECTION 1: CSS VARIABLES
   ========================================================================== */
:root {
    --hdr: #1e3769;
    --hdr-d: #162b52;
    --primary: #1e73be;
    --primary-d: #1a5fa0;
    --link: #1e73be;
    --gold: #f0ad4e;
    --green: #28a745;
    --green-s: #e8f5e9;
    --red: #dc3545;
    --red-s: #fde8ea;
    --purple: #6f42c1;
    --cyan: #17a2b8;
    --orange: #fd7e14;
    --txt: #1c1c1e;
    --txt2: #48484a;
    --txt3: #8e8e93;
    --meta: #aeaeb2;
    --bg: #f2f2f7;
    --card: #fff;
    --bdr: #d1d1d6;
    --bdr-l: #e5e5ea;
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
    --r: 12px;
    --r-sm: 8px;
    --r-lg: 16px;
    --r-xl: 20px;
    --r-full: 9999px;
    --max: 1000px;
    --art-max: 1000px;
    --content-w: 1fr;
    --sidebar-w: 300px;
    --hdr-h:35px;
    --bnav-h: 83px;
    --gap: 6px;
    --gap-sm: 4px;
    --sh-1: 0 0.5px 1px rgba(0,0,0,.04), 0 1px 3px rgba(0,0,0,.06);
    --sh-2: 0 1px 3px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.08);
    --sh-3: 0 2px 8px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.1);
    --sh-4: 0 4px 16px rgba(0,0,0,.1), 0 8px 32px rgba(0,0,0,.12);
    --ease: cubic-bezier(.25,.46,.45,.94);
    --ease-out: cubic-bezier(.16,1,.3,1);
    --ease-spring: cubic-bezier(.34,1.56,.64,1);
    --ease-ios: cubic-bezier(.2,.9,.3,1);
}

/* ==========================================================================
   SECTION 2: BASE RESETS
   ========================================================================== */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--hdr-h) + 12px);
    touch-action: manipulation;
    overflow-y: scroll; /* FIXED: Always show scrollbar — prevents CLS on page load */
}
body {
    background: var(--bg);
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overscroll-behavior-y: none;
    -webkit-overflow-scrolling: touch;
    letter-spacing: 0.2px;
    line-height: 1.4; /* TIGHTENED from default */
}
body.has-bnav { padding-bottom: calc(var(--bnav-h) + env(safe-area-inset-bottom)); }
::selection { background: var(--primary); color: #fff; }
::-webkit-scrollbar { width: 0; height: 0; }

/* ==========================================================================
   SECTION 3: ANIMATIONS — Only GPU-safe transforms kept
   ========================================================================== */
/* REMOVED: fadeUp — causes layout shift on appear */
/* REMOVED: blink — continuous repaint on ticker dot */

@keyframes tick {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   SECTION 4: SKELETON — Static placeholder (no shimmer animation)
   ========================================================================== */
.sk {
    background: var(--bdr-l); /* FIXED: Static color, no animated gradient */
    border-radius: var(--r-sm);
}
.has-sk { position: relative; background: #eee; border-radius: var(--r-sm); overflow: hidden; }
.has-sk img { position: relative; z-index: 1; /*opacity:0;*/ transition: opacity .2s; }
.has-sk img.loaded, .has-sk.loaded img { opacity: 1; }

/* ==========================================================================
   SECTION 5: AD CONTAINERS — CLS-zero with contain: strict
   ========================================================================== */
.pstet-ad {
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: #ccc;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .6px;
    overflow: hidden;
    contain: strict; /* Full isolation */
    content-visibility: auto;
    width: 100%;
    max-width: 360px;
    height: 300px; /* FIXED */
    margin: var(--gap) auto;
    border-radius: var(--r);
}
.pstet-ad::before {
    content: 'Advertisement';
    position: absolute;
    top: 0; left: 0; right: 0;
    text-align: center;
    font-size: 9px; font-weight: 600;
    color: #999; letter-spacing: .5px;
    text-transform: uppercase;
    padding: 2px 0;
    background: #f0f0f0;
    border-bottom: 1px solid #e5e5e5;
    z-index: 1;
}
.pstet-ad-below-hdr { max-width: 100%; height: 100px; border: none; color: rgba(255,255,255,.2); margin: 0; border-radius: 0; contain-intrinsic-size: auto 100px; }
.pstet-ad-after-h1 { height: 300px; margin: var(--gap) auto; contain-intrinsic-size: auto 300px; }
.pstet-ad-in-content { height: 300px; margin: 8px auto; contain-intrinsic-size: auto 300px; }
.pstet-ad-sidebar { height: 300px; border-radius: var(--r); contain-intrinsic-size: auto 300px; }

/* ==========================================================================
   SECTION 6: NEWS TICKER — FIXED HEIGHT, CONTAIN
   ========================================================================== */
.pstet-ticker {
    background: var(--hdr);
    padding: 4px 0;
    overflow: hidden;
    height: 28px; /* FIXED */
    contain: layout style;
}
.pstet-ticker-in {
    max-width: var(--max); margin: 0 auto;
    padding: 0 12px;
    display: flex; align-items: center; gap: 8px;
    height: 100%;
}
.pstet-ticker-badge {
    display: flex; align-items: center; gap: 4px;
    background: var(--red); color: #fff;
    padding: 2px 8px;
    font-size: 9px; font-weight: 700;
    text-transform: uppercase;
    flex-shrink: 0;
    border-radius: var(--r-full);
    height: 18px; /* FIXED */
    line-height: 14px;
}
.pstet-ticker-dot {
    width: 5px; height: 5px;
    background: #fff;
    border-radius: var(--r-full);
    /* REMOVED: blink animation — causes continuous repaint */
}
.pstet-ticker-scroll {
    flex: 1; overflow: hidden;
    height: 18px; /* FIXED */
    position: relative;
}
.pstet-ticker-track {
    display: flex; gap: 30px;
    position: absolute; white-space: nowrap;
    animation: tick 30s linear infinite;
    will-change: transform; /* GPU-only, no layout shift */
}
.pstet-ticker-track a { color: rgba(255,255,255,.7); font-size: 11px; font-weight: 500; text-decoration: none; }
.pstet-ticker-track a:hover { color: var(--gold); }
.pstet-ticker-track strong { color: var(--gold); font-weight: 700; }

/* ==========================================================================
   SECTION 7: FOLLOW BAR — FIXED HEIGHT
   ========================================================================== */
.pstet-fbar {
    background: var(--card); box-shadow: var(--sh-1);
    padding: 4px 0; display: none;
    height: 40px; /* FIXED */
    contain: layout style;
}
.pstet-fbar-article { display: block; margin: 8px 0; }
.pstet-fbar-in {
    max-width: var(--max); margin: 0 auto;
    padding: 0 12px;
    display: flex; align-items: center; justify-content: center;
    gap: 6px; flex-wrap: wrap;
    height: 100%;
}
.pstet-fb {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 12px;
    font-size: 11px; font-weight: 700; color: #fff;
    line-height: 1.2; text-decoration: none;
    border-radius: var(--r-full);
    height: 30px; /* FIXED */
}
.pstet-fb:active { transform: scale(.95); opacity: .85; }
.pstet-fb-wa { background: #25d366; }
.pstet-fb-gn { background: #fff; color: var(--txt); box-shadow: var(--sh-1); }
.pstet-fb-tg { background: #0088cc; }
.pstet-fb .fc { font-size: 8px; opacity: .8; }

/* ==========================================================================
   SECTION 8: CATEGORY TABS — FIXED HEIGHT, CONTAIN
   ========================================================================== */
.pstet-ctabs {
    background: rgba(255,255,255,.92);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 0.5px 0 rgba(0,0,0,.1);
    position: sticky;
    top: var(--hdr-h);
    z-index: 50;
    height: 36px; /* FIXED */
    contain: layout style;
}
.pstet-ctabs-in {
    max-width: var(--max); margin: 0 auto;
    padding: 4px 12px;
    display: flex; gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    background: #dbe4ff;
    height: 100%;
    align-items: center;
}
.pstet-ctabs-in::-webkit-scrollbar { display: none; }
.pstet-ct {
    border: 1px solid #064ada;
    padding: 0 5px;
    font-size: 11px; font-weight: 600;
    color: #000;
    white-space: nowrap; flex-shrink: 0;
    text-decoration: none;
    border-radius: var(--r-full);
    height: 24px; /* FIXED */
    line-height: 22px;
    display: inline-flex; align-items: center;
}
.pstet-ct:hover { color: var(--txt2); background: rgba(0,0,0,.04); }
.pstet-ct.on { color: #fff; background: var(--primary); font-weight: 700; }

/* ==========================================================================
   SECTION 9: SEARCH OVERLAY — Off-flow, no CLS impact
   ========================================================================== */
.pstet-sov {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(0,0,0,.5);
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    display: flex; flex-direction: column;
    padding: 16px;
    padding-top: calc(16px + env(safe-area-inset-top));
    opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease-ios), visibility .3s;
    contain: strict;
}
.pstet-sov.open { opacity: 1; visibility: visible; }
.pstet-sov-top { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.pstet-sov-wrap {
    flex: 1; display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,.15);
    padding: 0 14px;
    height: 48px; /* FIXED */
    border-radius: var(--r);
}
.pstet-sov-wrap:focus-within { box-shadow: 0 0 0 2px var(--gold); }
.pstet-sov-input { flex: 1; background: none; border: none; outline: none; font-size: 17px; color: #fff; font-family: var(--font); }
.pstet-sov-input::placeholder { color: rgba(255,255,255,.35); }
.pstet-sov-close {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.6); font-size: 18px;
    background: rgba(255,255,255,.12);
    border: none; cursor: pointer;
    border-radius: var(--r-full);
}
.pstet-sov-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: rgba(255,255,255,.35); margin-bottom: 10px; }
.pstet-sov-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.pstet-sov-tag {
    padding: 6px 14px; background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.8); font-size: 14px; font-weight: 600;
    text-decoration: none; border-radius: var(--r-full);
    height: 34px; /* FIXED */
    display: inline-flex; align-items: center;
}
.pstet-sov-tag:active { transform: scale(.95); background: var(--primary); color: #fff; }
.pstet-sov-row {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 8px;
    color: rgba(255,255,255,.7); font-size: 15px;
    text-decoration: none; border-radius: var(--r-sm);
    min-height: 40px; /* FIXED */
}
.pstet-sov-row:active { background: rgba(255,255,255,.08); }

/* ==========================================================================
   SECTION 10: HERO CARD — CONTAIN, FIXED MIN-HEIGHT
   ========================================================================== */
.pstet-hero {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #8841ff, #064adaba);
    margin: var(--gap);
    box-shadow: var(--sh-3);
    display: block; text-decoration: none;
    border-radius: var(--r-lg);
    min-height: 140px; /* FIXED minimum */
    contain: layout style;
}
.pstet-hero:active { transform: scale(.98); }
.pstet-hero-bg { position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(240,173,78,.1), transparent 60%); }
.pstet-hero-c { position: relative; z-index: 1; padding: 5px 10px; }
.pstet-hero-badge {
    align-items: center; gap: 4px;
    background: #ff3000; color: #fff;
    padding: 2px 5px; font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--r-full);
    height: 20px; /* FIXED */
    display: inline-flex;
    font-size: 10px;
}
.pstet-hero-h { font-size: 1.3em; font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 6px; }
.pstet-hero-p {
    color: rgba(255,255,255,.75); line-height: 1.25; font-size: 13px;
    margin-bottom: 6px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pstet-hero-meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,.65); font-weight: 500; flex-wrap: wrap; line-height: 1; }
.pstet-hero-cta {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 16px; background: var(--gold); color: var(--hdr);
    font-size: 13px; font-weight: 700; margin-top: 6px;
    border-radius: var(--r-full);
    height: 32px; /* FIXED */
}

/* ==========================================================================
   SECTION 11: POST CARDS — CONTAIN, ASPECT-RATIO
   ========================================================================== */
.pstet-pc {
    background: var(--card);
    box-shadow: var(--sh-1);
    overflow: hidden;
    margin-bottom: var(--gap);
    border-radius: var(--r);
    contain: content;
    content-visibility: auto;
    contain-intrinsic-size: auto 180px;
}
.pstet-pc:active { transform: scale(.98); }
.pstet-pc-in { display: flex; flex-direction: column; }
.pstet-pc-thumb {
    width: 100%;
    aspect-ratio: 16/9; /* FIXED ratio — no reflow on image load */
    overflow: hidden; position: relative;
    background: var(--bdr-l); /* Static placeholder */
}
.pstet-pc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pstet-pc-tag {
    position: absolute; top: 8px; left: 8px; z-index: 2;
    padding: 2px 8px; font-size: 9px; font-weight: 700;
    text-transform: uppercase; color: #fff;
    border-radius: var(--r-full);
    height: 18px; line-height: 14px; /* FIXED */
}
.tg-r { background: var(--green); }
.tg-a { background: var(--purple); }
.tg-h { background: var(--cyan); }
.tg-n { background: var(--primary); }

.pstet-pc-body { padding: 10px 12px; }
.pstet-pc-cat { font-size: 11px; font-weight: 700; color: var(--primary); text-transform: uppercase; margin-bottom: 2px; line-height: 1; }
.pstet-pc-t { font-size: 17px; font-weight: 700; line-height: 1.25; color: var(--txt); margin-bottom: 3px; }
.pstet-pc-t a { color: inherit; text-decoration: none; }
.pstet-pc:hover .pstet-pc-t, .pstet-pc:hover .pstet-pc-t a { color: var(--primary); }
.pstet-pc-meta {
    font-size: 13px; color: var(--meta);
    margin-bottom: 4px;
    display: flex; align-items: center; gap: 6px;
    line-height: 1; height: 16px; /* FIXED */
}
.pstet-pc-meta .d { width: 3px; height: 3px; background: var(--bdr); border-radius: var(--r-full); }
.pstet-pc-exc {
    font-size: 15px; color: var(--txt2); line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.pstet-pc-ft {
    display: flex; align-items: center; gap: 6px;
    margin-top: 6px; padding-top: 6px;
    border-top: 1px solid var(--bdr-l);
    height: 32px; /* FIXED */
}
.pstet-pc-more { font-size: 13px; font-weight: 700; color: var(--primary); text-decoration: none; }
.pstet-pc-stats { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--meta); }
.pstet-pc-stats span { display: flex; align-items: center; gap: 2px; }

/* ==========================================================================
   SECTION 12: RELATED LINKS STRIP — CONTAIN
   ========================================================================== */
.pstet-rl {
    background: rgba(30,115,190,.05);
    padding: 8px 10px; margin-bottom: var(--gap);
    border-radius: var(--r);
    contain: layout style;
}
.pstet-rl-t { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--primary); margin-bottom: 4px; line-height: 1; }
.pstet-rl-links { display: flex; flex-wrap: wrap; gap: 5px; }
.pstet-rl-a {
    padding: 4px 10px; background: var(--card); box-shadow: var(--sh-1);
    font-size: 11px; font-weight: 600; color: var(--primary);
    text-decoration: none; border-radius: var(--r-full);
    height: 26px; display: inline-flex; align-items: center; /* FIXED */
}
.pstet-rl-a:active { transform: scale(.95); background: var(--primary); color: #fff; }

/* ==========================================================================
   SECTION 13: PAGINATION — FIXED BUTTON SIZE
   ========================================================================== */
.pstet-pgn {
    display: flex; align-items: center; justify-content: center;
    gap: 5px; margin: 10px 0 4px; padding: 8px 0;
    contain: layout style;
}
.pstet-pg {
    min-width: 36px; height: 36px; /* FIXED */
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 600;
    box-shadow: var(--sh-1); background: var(--card);
    color: var(--txt2); text-decoration: none;
    border-radius: var(--r-full);
}
.pstet-pg:active { transform: scale(.92); }
.pstet-pg.on { background: var(--primary); color: #fff; box-shadow: 0 2px 8px rgba(30,115,190,.3); }
.pstet-pg.nx { padding: 0 16px; background: var(--primary); color: #fff; border-radius: var(--r-full); }

/* ==========================================================================
   SECTION 14: ARTICLE SOCIAL SHARE — FIXED BUTTON SIZE
   ========================================================================== */
.pstet-art-upd {
    padding: 2px 8px; background: var(--green-s); color: var(--green);
    font-size: 10px; font-weight: 700; border-radius: var(--r-full);
    height: 20px; line-height: 16px; /* FIXED */
    display: inline-flex; align-items: center;
}
.pstet-art-social {
    display: flex; align-items: center; gap: 4px; margin-left: auto;
    height: 36px; /* FIXED */
    contain: layout style;
}
.pstet-art-social a, .pstet-art-social button {
    width: 34px; height: 34px; /* FIXED */
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; color: #fff;
    border: none; cursor: pointer;
    border-radius: var(--r-full);
}
.pstet-art-social a:active, .pstet-art-social button:active { transform: scale(.88); }
.as-wa { background: #25d366; }
.as-fb { background: #1877f2; }
.as-tw { background: #1da1f2; }
.as-tg { background: #0088cc; }
.as-cp { background: #636366; }

/* ==========================================================================
   SECTION 15: MOBILE FLOATING SHARE — Off-flow
   ========================================================================== */
.pstet-mfloat {
    position: fixed; left: 8px;
    bottom: calc(var(--bnav-h) + 14px + env(safe-area-inset-bottom));
    z-index: 95;
    display: flex; flex-direction: column; gap: 5px;
    contain: strict;
}
.pstet-mfloat a {
    width: 44px; height: 44px; /* FIXED */
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 18px;
    text-decoration: none; border-radius: var(--r-full);
    box-shadow: var(--sh-3);
}
.pstet-mfloat a:active { transform: scale(.85); }
.mf-wa { background: #25d366; }
.mf-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.mf-fb { background: #1877f2; }

.pstet-sfloat {
    position: fixed;
    top: 50%; transform: translateY(-50%);
    left: max(8px, calc((100vw - var(--art-max)) / 2 - 52px));
    display: none; flex-direction: column; gap: 3px;
    padding: 6px; background: var(--card);
    box-shadow: var(--sh-3); width: 40px; z-index: 10;
    border-radius: var(--r);
    contain: strict;
}
.pstet-sf { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--txt3); text-decoration: none; background: none; border: none; cursor: pointer; border-radius: var(--r-sm); }
.pstet-sf:hover { transform: scale(1.1); }
.pstet-sf.wa:hover { background: #25d366; color: #fff; }
.pstet-sf.fb:hover { background: #1877f2; color: #fff; }
.pstet-sf.tw:hover { background: #1da1f2; color: #fff; }
.pstet-sf.tg:hover { background: #0088cc; color: #fff; }
.pstet-sf.cp:hover { background: #333; color: #fff; }
.pstet-sf-d { height: 1px; background: var(--bdr-l); margin: 2px 0; }

/* ==========================================================================
   SECTION 16: SHARE BAR — CONTAIN
   ========================================================================== */
.pstet-sbar {
    display: flex; align-items: center; gap: 5px;
    flex-wrap: wrap; padding: 8px 0;
    contain: layout style;
}
.pstet-sbar-l { font-size: 12px; font-weight: 700; color: var(--txt3); margin-right: 3px; }
.pstet-sb {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 5px 12px; font-size: 12px; font-weight: 700;
    color: #fff; text-decoration: none; border-radius: var(--r-full);
    height: 28px; /* FIXED */
}
.pstet-sb:active { transform: scale(.94); }
.sb-wa { background: #25d366; }
.sb-fb { background: #1877f2; }
.sb-tw { background: #1da1f2; }
.sb-tg { background: #0088cc; }
.sb-cp { background: #636366; }

/* ==========================================================================
   SECTION 17: FOLLOW POPUP — CONTAIN
   ========================================================================== */
.pstet-pfc-popup {
    position: relative; background: var(--card);
    /*margin: 8px 0; overflow: hidden;*/
    box-shadow: var(--sh-4); border-radius: var(--r-lg);
    contain: layout style;
    /* REMOVED: fadeUp animation */
}
.pstet-pfc-popup::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--gold), var(--green)); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.pstet-pfc-popup-close { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--txt3); cursor: pointer; background: rgba(0,0,0,.05); border: none; z-index: 2; border-radius: var(--r-full); }
.pstet-pfc-popup-body { padding: 16px 14px 14px; text-align: center; }
.pstet-pfc-popup-icon { font-size: 32px; margin-bottom: 4px; }
.pstet-pfc-popup .pstet-pfc-title { font-size: 17px; font-weight: 800; color: var(--txt); margin-bottom: 3px; line-height: 1.2; }
.pstet-pfc-popup .pstet-pfc-sub { font-size: 14px; color: var(--txt2); margin-bottom: 12px; line-height: 1.4; }
.pstet-pfc-popup .pstet-pfc-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pstet-pfc-popup .pstet-pfc-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 20px; font-size: 14px; font-weight: 700;
    color: #fff; text-decoration: none;
    box-shadow: var(--sh-2); border-radius: var(--r-full);
    height: 40px; /* FIXED */
}
.pstet-pfc-popup .pstet-pfc-btn:active { transform: scale(.95); }
.pstet-pfc-popup .pfc-wa { background: linear-gradient(135deg, #25d366, #128c7e); }
.pstet-pfc-popup .pfc-gn { background: linear-gradient(135deg, #4285f4, #1a73e8); }
.pstet-pfc-popup .pstet-pfc-btn .pfc-count { font-size: 10px; opacity: .85; }
.pstet-pfc-popup .pstet-pfc-later { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--txt3); cursor: pointer; background: none; border: none; border-radius: var(--r-full); padding: 5px 14px; }

/* ==========================================================================
   SECTION 18: ARTICLE CONTENT — Tighter typography
   ========================================================================== */
.entry-content, .pstet-abody { font-size: 17px; line-height: 1.55; color: var(--txt); } /* TIGHTENED from 1.7 */
.entry-content p, .pstet-abody p { margin-bottom: 1.1em; } /* TIGHTENED from 1.4em */
.entry-content ol li, .pstet-abody ol li { list-style: decimal; }
.entry-content a, .pstet-abody a {
    color: var(--primary); font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(30,115,190,.25);
    text-underline-offset: 2px;
}
.entry-content table, .pstet-abody table {
    width: 100%; border-collapse: collapse;
    margin: 10px 0; font-size: 15px;
    border-radius: var(--r); overflow: hidden;
    box-shadow: var(--sh-1);
}
.entry-content table th, .pstet-abody table th {
    background: #dbe4ff; color: #000;
   /* padding: 8px 12px;*/ text-align: left;
    font-weight: 700; font-size: 14px;
}
.entry-content table td, .pstet-abody table td { padding: 8px 12px; border-bottom: 1px solid var(--bdr-l); }
.entry-content table tr:nth-child(even) td, .pstet-abody table tr:nth-child(even) td { background: #f9f9fb; }
.entry-content blockquote, .pstet-abody blockquote {
    border-left: 4px solid var(--primary);
    padding: 12px 16px; margin: 10px 0;
    /*background: #f0f4ff;*/ font-style: italic;
    color: var(--txt2); font-size: 17px;
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

/* ==========================================================================
   SECTION 19: TOC — CONTAIN
   ========================================================================== */
.table-of-contents {
    box-shadow: var(--sh-2); padding: 12px;
    margin-bottom: 10px; background: #f8fafc;
    width: 100%; border-radius: var(--r);
    box-sizing: border-box;
    contain: layout style;
}
.toc-header { font-size: 18px; color: #000; text-align: center; margin-bottom: 6px; line-height: 1.2; }
.table-of-contents ul { list-style-type: none; padding-left: 0; margin: 0; }
.toc-item { margin-bottom: 1px; }
.toc-item.hidden { display: none; }
.toc-item a {
    text-decoration: none; color: var(--link);
    font-size: 15px;
    display: flex; align-items: center; gap: 8px;
    padding: 6px 8px; border-radius: var(--r-sm);
    min-height: 32px; /* FIXED */
}
.toc-item a:active { background: rgba(30,115,190,.1); }
.toggle-title, .toc-toggle-bar {
    display: flex; justify-content: center; align-items: center;
    font-weight: 700; background: rgba(30,115,190,.06);
    color: var(--txt); cursor: pointer; width: auto;
    font-size: 13px; border-radius: var(--r-full);
    padding: 6px 18px;
    height: 32px; /* FIXED */
}

/* ==========================================================================
   SECTION 20: KEY POINTS — CONTAIN
   ========================================================================== */
.pstet-kp {
    background: rgba(30,115,190,.05); box-shadow: var(--sh-1);
    padding: 12px; margin: 8px 0;
    border-radius: var(--r); border-left: 4px solid var(--primary);
    contain: layout style;
}
.pstet-kp-t { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 6px; line-height: 1.2; }
.pstet-kp li { list-style: none; padding: 4px 0 4px 22px; position: relative; font-size: 14px; color: var(--txt2); line-height: 1.4; }
.pstet-kp li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; font-size: 12px; }

/* ==========================================================================
   SECTION 21: AUTHOR BOX — CONTAIN
   ========================================================================== */
.pstet-au {
    background: var(--card); box-shadow: var(--sh-2);
    padding: 14px 12px; margin: 10px 0;
    display: flex; flex-direction: column;
    align-items: center; text-align: center; gap: 10px;
    border-radius: var(--r-lg);
    contain: layout style;
}
.pstet-au-av { width: 56px; height: 56px; border-radius: var(--r-full); overflow: hidden; flex-shrink: 0; box-shadow: var(--sh-2); border: 3px solid var(--card); outline: 2px solid var(--primary); }
.pstet-au-av img { width: 100%; height: 100%; object-fit: cover; }
.pstet-au-i { flex: 1; min-width: 0; }
.pstet-au-lb { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--txt3); line-height: 1; }
.pstet-au-nm { font-size: 17px; font-weight: 800; color: var(--txt); line-height: 1.2; margin: 2px 0; }
.pstet-au-nm a { color: inherit; text-decoration: none; }
.pstet-au-rl { font-size: 13px; color: var(--primary); font-weight: 600; margin-bottom: 3px; line-height: 1; }
.pstet-au-st { display: flex; gap: 12px; margin-bottom: 4px; justify-content: center; }
.pstet-au-sn { font-size: 16px; font-weight: 800; color: var(--txt); }
.pstet-au-sl { font-size: 10px; color: var(--txt3); font-weight: 600; text-transform: uppercase; }
.pstet-au-bio { font-size: 14px; color: var(--txt2); line-height: 1.45; margin-bottom: 4px; text-align: left; }
.pstet-au-bio-short { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pstet-au-bio-full { display: none; }
.pstet-au-bio-full.show { display: block; }
.pstet-au-bio-short.hide { display: none; }
.pstet-au-readmore { font-size: 13px; font-weight: 700; color: var(--primary); cursor: pointer; display: inline-block; background: none; border: none; border-radius: var(--r-full); padding: 3px 10px; }
.pstet-au-lk { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 4px; justify-content: center; }
.pstet-au-a { padding: 4px 10px; box-shadow: var(--sh-1); font-size: 11px; font-weight: 600; color: var(--txt2); text-decoration: none; border-radius: var(--r-full); height: 26px; display: inline-flex; align-items: center; }

/* ==========================================================================
   SECTION 22: RELATED ARTICLES — CONTAIN, ASPECT-RATIO
   ========================================================================== */
.pstet-ra-g {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: var(--gap); margin: 8px 0;
    contain: layout style;
    content-visibility: auto;
    contain-intrinsic-size: auto 280px;
}
.pstet-ra {
    background: var(--card); box-shadow: var(--sh-1);
    overflow: hidden; text-decoration: none;
    border-radius: var(--r);
    contain: layout style;
}
.pstet-ra:active { transform: scale(.97); }
.pstet-ra-img {
    width: 100%; aspect-ratio: 16/10; /* FIXED ratio */
    overflow: hidden;
    background: var(--bdr-l); /* Static placeholder */
}
.pstet-ra-img img { width: 100%; height: 100%; object-fit: cover; }
.pstet-ra-b { padding: 6px 8px; }
.pstet-ra-t { font-size: 13px; font-weight: 700; color: var(--txt); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pstet-ra:hover .pstet-ra-t { color: var(--primary); }
.pstet-ra-d { font-size: 11px; color: var(--txt3); margin-top: 2px; line-height: 1; }

/* ==========================================================================
   SECTION 23: POST NAV — CONTAIN
   ========================================================================== */
.pstet-pnav {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: var(--gap); margin: 8px 0;
    contain: layout style;
    content-visibility: auto;
    contain-intrinsic-size: auto 80px;
}
.pstet-pnc {
    background: var(--card); box-shadow: var(--sh-1);
    padding: 10px; text-decoration: none;
    border-radius: var(--r);
    min-height: 64px; /* FIXED */
}
.pstet-pnc:active { transform: scale(.97); }
.pstet-pnc-l { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--txt3); margin-bottom: 2px; line-height: 1; }
.pstet-pnc-t { font-size: 14px; font-weight: 700; color: var(--txt); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pstet-pnc:hover .pstet-pnc-t { color: var(--primary); }
.pstet-pnc.nx { text-align: right; }

/* ==========================================================================
   SECTION 24: SIDEBAR — CONTAIN
   ========================================================================== */
.pstet-side { display: none; flex-direction: column; gap: 8px; }
.pstet-w { background: var(--card); overflow: hidden; border-radius: var(--r); contain: layout style; }
.pstet-wh { padding: 8px 12px; background: var(--hdr); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 6px;  height: 36px; /* FIXED */ line-height: 1; }
.pstet-wb { padding: 6px 8px; }
.pstet-fwg { display: flex; flex-direction: column; gap: 4px; }
.pstet-fw { display: flex; align-items: center; gap: 6px; padding: 6px 10px; font-size: 13px; font-weight: 700; color: #fff; text-decoration: none; border-radius: var(--r-sm); height: 34px; /* FIXED */ }
.fw-wa { background: #25d366; }
.fw-gn { background: #fff; color: var(--txt); box-shadow: var(--sh-1); }
.fw-tg { background: #0088cc; }
.pstet-fw-c { margin-left: auto; font-size: 10px; opacity: .8; }

.pstet-qtg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pstet-qti {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 8px 6px; background: #fafafa; box-shadow: var(--sh-1);
    text-align: center; text-decoration: none; border-radius: var(--r-sm);
    min-height: 56px; /* FIXED */
}
.pstet-qti:active { transform: scale(.94); background: rgba(30,115,190,.06); }
.pstet-qti-i { font-size: 22px; }
.pstet-qti-l { font-size: 12px; font-weight: 600; color: var(--txt2); line-height: 1.2; }

.pstet-tri {
    display: flex; gap: 8px; padding: 5px 0;
    align-items: flex-start; text-decoration: none;
    min-height: 40px; /* FIXED */
}
.pstet-tri:active { background: rgba(0,0,0,.02); }
.pstet-tri:hover .pstet-tr-t { color: var(--primary); }
.pstet-tr-rk { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; flex-shrink: 0; background: #eee; color: var(--txt3); border-radius: var(--r-full); }
.pstet-tr-rk.r1 { background: var(--gold); color: #fff; }
.pstet-tr-rk.r2 { background: var(--txt); color: #fff; }
.pstet-tr-rk.r3 { background: var(--txt2); color: #fff; }
.pstet-tr-t { font-size: 14px; font-weight: 600; line-height: 1.25; color: var(--txt); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pstet-tr-m { font-size: 11px; color: var(--txt3); margin-top: 1px; line-height: 1; }

.pstet-chi { display: flex; align-items: center; justify-content: space-between; padding: 6px 5px; text-decoration: none; border-radius: var(--r-sm); min-height: 34px; /* FIXED */ }
.pstet-chi:active { background: rgba(30,115,190,.06); }
.pstet-chi-l { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--txt); }
.pstet-chi-l .dot { width: 8px; height: 8px; border-radius: var(--r-full); }
.pstet-chi:hover .pstet-chi-l { color: var(--primary); }
.pstet-chi-c { font-size: 12px; color: var(--txt3); background: #f0f0f0; padding: 2px 8px; font-weight: 700; border-radius: var(--r-full); height: 22px; line-height: 18px; }

/* ==========================================================================
   SECTION 25: BOTTOM NAV — FIXED HEIGHT, CONTAIN
   ========================================================================== */
.pstet-bnav {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,.92);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    height: var(--bnav-h); /* FIXED */
    display: block;
    box-shadow: 0 -0.5px 0 rgba(0,0,0,.12);
    padding-bottom: env(safe-area-inset-bottom);
    contain: layout style;
}
.pstet-bnav-in {
    display: flex; align-items: center; justify-content: space-around;
    height: 100%; max-width: 420px;
    margin: 0 auto; padding: 0 4px;
}
.pstet-bni {
    display: flex; flex-direction: column; align-items: center; gap: 1px;
    padding: 3px 8px; color: var(--txt3);
    position: relative; text-decoration: none;
    background: none; border: none; cursor: pointer;
    min-width: 48px; height: 48px; /* FIXED */
    justify-content: center;
}
.pstet-bni.on { color: var(--primary); }
.pstet-bni.on::after { content: ''; position: absolute; top: 0; width: 20px; height: 3px; background: var(--primary); border-radius: var(--r-full); }
.pstet-bni-i { font-size: 22px; line-height: 1; }
 .pstet-bni-l{font-size:10px;font-weight:600}
    .pstet-fi-placeholder{aspect-ratio:1200/630;background:#e8e8e8;overflow:hidden;contain:layout}
    .pstet-fi-placeholder.in-view{background:linear-gradient(90deg,#e8e8e8 25%,#f5f5f5 50%,#e8e8e8 75%);background-size:200% 100%;animation:pstetShimmer 1.5s infinite}
    .pstet-fi-placeholder.fi-loaded{background:none;animation:none}
    @keyframes pstetShimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}
.pstet-bni:active { transform: scale(.82); }
.pstet-bni-badge { position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: var(--r-full); background: var(--red); color: #fff; font-size: 8px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }

/* ==========================================================================
   SECTION 26: BACK TO TOP — Off-flow
   ========================================================================== */
.pstet-btt {
    position: fixed;
    bottom: calc(var(--bnav-h) + 14px + env(safe-area-inset-bottom));
    right: 12px; z-index: 90;
    width: 44px; height: 44px; /* FIXED */
    border-radius: var(--r-full);
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; box-shadow: var(--sh-3);
    opacity: 0; visibility: hidden;
    transform: translateY(10px) scale(.9);
    transition: opacity .25s, visibility .25s, transform .25s var(--ease-spring);
    border: none; cursor: pointer;
    contain: strict;
}
.pstet-btt.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.pstet-btt:active { transform: scale(.85); }

/* ==========================================================================
   SECTION 27: FOOTER — content-visibility for lazy render
   ========================================================================== */
.pstet-ft {
    background: #3276cd;
    margin-top: 8px; border-radius: var(--r-lg) var(--r-lg) 0 0;
    content-visibility: auto;
    contain-intrinsic-size: auto 380px;
}
.pstet-ft-top { max-width: var(--max); margin: 0 auto; padding: 16px 12px 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pstet-ft-desc { font-size: 11px; line-height: 1.4; margin-top: 4px;color:#fff; }
.pstet-ft-social { display: flex; gap: 5px; margin-top: 8px; }
.pstet-ft-social a { width: 34px; height: 34px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5); font-size: 13px; text-decoration: none; border-radius: var(--r-full); }
.pstet-ft-ct { color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 4px; padding-bottom: 3px; display: inline-block; line-height: 1; }
.pstet-ft-li { list-style: none; padding: 0; margin: 0; }
.pstet-ft-li li { margin-bottom: 3px; }
.pstet-ft-li a { font-size: 13px; color: rgba(255,255,255,.55); text-decoration: none; line-height: 1.3; }
.pstet-ft-li a:hover { color: var(--gold); }

.pstet-ft-seo { padding: 10px; max-width: var(--max); margin: 0 auto; content-visibility: auto; contain-intrinsic-size: auto 80px; }
.pstet-ft-seo-t { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: rgba(255,255,255,.25); margin-bottom: 6px; line-height: 1; }
.pstet-ft-seo-lk { display: flex; flex-wrap: wrap; gap: 4px; }
.pstet-ft-seo-lk a { padding: 3px 8px; background: rgba(255,255,255,.05); font-size: 10px; color: rgba(255,255,255,.35); font-weight: 500; text-decoration: none; border-radius: var(--r-full); height: 22px; display: inline-flex; align-items: center; }

.pstet-ft-bot { padding: 8px; text-align: center; font-size: 10px; max-width: var(--max); margin: 0 auto; line-height: 1.3; }
.pstet-ft-bot a { color:#fff; margin: 0 3px; text-decoration: none; }

/* ==========================================================================
   SECTION 28: MOBILE WIDGETS
   ========================================================================== */
.pstet-mw { display: flex; flex-direction: column; gap: var(--gap); margin: 8px 0; content-visibility: auto; contain-intrinsic-size: auto 280px; }

/* ==========================================================================
   SECTION 29: BREADCRUMBS + LAYOUT WRAPPERS
   ========================================================================== */
.pstet-bc {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size:10px;
    color: #888;
    max-width:700px;
    display: block;
}
.pstet-bc a { color: var(--txt3); text-decoration: none; }
.pstet-bc a:hover { color: var(--primary); }
.pstet-bc .sep { margin: 0 4px; color: #aaa; }

.pstet-wrap {
    max-width: var(--max); margin: 0 auto;
    padding: 4px 8px;
    display: grid; grid-template-columns: 1fr;
    gap: 8px; align-items: start;
}
.pstet-art-wrap {
    max-width: var(--art-max); margin: 0 auto;
    padding: 4px 8px;
    display: grid; grid-template-columns: 1fr;
    gap: 8px; align-items: start;
}

/* ==========================================================================
   SECTION 30: GP OVERRIDES
   ========================================================================== */
.site-content, .inside-article { max-width: 100%; overflow-x: clip; }
.entry-content table, .pstet-abody table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.entry-content, .pstet-abody, .entry-title, .pstet-hero-h, .pstet-pc-t, .pstet-pnc-t, .pstet-ra-t, .pstet-tr-t, .pstet-au-bio, .pstet-kp li { overflow-wrap: break-word; word-wrap: break-word; }
.featured-image-container { width: 100%; box-sizing: border-box; }
.separate-containers .inside-article, .sidebar .widget { padding: 0 5px; margin-top: 5px; }
.separate-containers .page-header { padding: 0; }
.home.separate-containers .inside-article, .page-header { padding: 0 8px; word-wrap: break-word; }
.sidebar .widget { margin-bottom: 0; padding: 0 5px; }
.inside-header {
    padding: 0 5px !important;
}
@media (max-width: 768px) {
    .inside-header {
        padding: 0 5px !important;
    }
}
.site-content, .entry-content { height: unset; }
.one-container .site-content, .separate-containers .inside-article, .archive .inside-article, .site-header, .inside-right-sidebar { padding: 0 10px; }
.separate-containers .site-main { margin: 0; padding: 0 5px; }
.main-title::after { content: '.net'; font-weight: 300; color: #65605f; margin-left: -7px; font-size: 20px; text-shadow: none; font-stretch: ultra-condensed; }
.main-title { font-weight: 900; text-transform: lowercase; font-size: 34px; line-height: .9em; }
h1, h2, h3, h4, h5, h6 { color: var(--txt); clear: both; background: none; }
#breadcrumbs { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; font-weight: 500; line-height: 1.1; margin: 0; font-size: 10px; color: rgba(0,0,0,.7); padding: 0 5px; height: 16px; /* FIXED */ }
span.breadcrumb_last { font-weight: 400; }
.inside-article .post-image img { border-radius: var(--r-sm); width: 170px; min-height: 90px; float: right; padding: 0 5px; }
.post-image-below-header.post-image-aligned-right .inside-article .post-image { margin-top: 0; margin-left: 0; }
.separate-containers .inside-article > .featured-image { margin-bottom: 0; display: none; }
.home.separate-containers .inside-article .post-image img { border-radius: var(--r); width: 160px; float: right; }
.post-image:not(:first-child) { margin-top: 0; }
.entry-meta {
    display: flex; align-items: center;
    font-size: 12px; line-height: 1.2; width: 100%;
    min-height: 20px; /* FIXED */
    box-sizing: border-box; font-family: var(--font);
    gap: 4px; margin-top: 0;
    background: #f8f9fa; color: var(--txt2);
    word-wrap: break-word; overflow-wrap: break-word;
    contain: layout style;
}
.entry-meta .gp-icon { display: none; }
footer.entry-meta { margin-top: .5em; display: none; }
.entry-summary:not(:first-child) { margin-top: 0; line-height: 1.25; font-size: 13px; }
.entry-content:not(:first-child), .entry-summary:not(:first-child), .page-content:not(:first-child) { margin-top: 0; }
.cat-links, .comments-link { display: block; }

/* ==========================================================================
   SECTION 31: NAVIGATION — FIXED HEIGHTS
   ========================================================================== */
.main-navigation .main-nav ul li a { display: flex; align-items: center; text-decoration: none; padding: 0 8px; height:35px;line-height:35px; background:#3376cd;}
.main-navigation .inside-navigation { display: flex; align-items: center; flex-wrap: nowrap; justify-content: space-between; }
.main-navigation .menu-bar-item > a { padding: 0 20px; line-height:35px; min-height:35px; }
.main-navigation .main-nav ul li.login-logout a { font-size: 11px; padding: 8px; background-color: #b80000; color: #fff; border-radius: var(--r-full); line-height: 8px; margin: 30px 0; }
.site-header { position: relative; contain: layout style; }
.site-header.hide { transform: translateY(-100%); }
.site-main .post-navigation { margin-bottom: 0; font-size: 18px; font-weight: 500; width: 100%; border-radius: var(--r-sm); background: #fafafa; }
.site-main .post-navigation:before { content: "You Might Also like"; font-weight: 700; text-align: center; color: #5d5d5d; }
.footer-bar::after { content: "© PSTET 2026 All Rights Reserved"; white-space: nowrap; margin-top: 1em; }
.copyright-bar { display: none; }
.gp-search-modal .gp-modal__overlay { align-items: flex-start; padding-top: 25vh; background: rgba(255,255,255,.6); }
.search-modal-fields { display: flex; border: 2px solid var(--bdr); border-radius: var(--r); }
form.search-form { margin: 0 auto; position: relative; text-align: center; width: 100%; }
input[type=search], .search-submit { border-radius: var(--r-full); border: 1px solid var(--bdr); }
.search-submit { margin-left: -63px; }

/* ==========================================================================
   SECTION 32: CONTENT ELEMENTS
   ========================================================================== */
.entry-content ol { counter-reset: li-counter; list-style: none; padding-left: 0; }
.entry-content ol > li { position: relative; margin-bottom: 10px; padding-left: .5em; border-left: 1px solid rgba(0,0,0,.08); }
.entry-content ol li:before {
    position: absolute; left: 0;
    justify-content: center; width: 1.3rem; height: 1.3rem;
    margin-left: -2rem; transform: translateY(0.25rem);
    border-radius: var(--r-full);
    display: inline-flex; align-items: center;
    font-size: 1rem; line-height: 1.2; color: var(--txt);
    content: counter(li-counter); counter-increment: li-counter;
    text-align: center; border: 1px solid var(--bdr); background: #f8f9fa;
}
.entry-content ol li a { color: var(--primary); text-decoration: none; }
.entry-content ol li a:hover { text-decoration: underline; }
.single .entry-content ul { list-style: none; padding-left: 0; }
.single .entry-content ul li { position: relative; margin-bottom: .5rem; padding-left: 0; }
.single .entry-content ul li:before { content: '➤'; position: absolute; left: -27px; font-size: 1rem; line-height: 1.2; color: var(--red); }
.table-of-contents li a { color: var(--primary); font-weight: 500; }
.table-of-contents h2 { margin-top: 0; }
.table-of-contents ul { list-style: none; padding-left: 0; }
.table-of-contents li { margin-bottom: 4px; position: relative; text-decoration: none; }
.wp-block-quote, .wp-block-table, .table-of-contents, .wp-block-embed, .wp-block-embed__wrapper, .wp-block-image, .featured-image, .wp-block-preformatted, .featured-image-container { margin: 0 0 .8em; padding: 0; }

/* ==========================================================================
   SECTION 33-37: WIDGETS, NAV, HOMEPAGE — Tightened spacing
   ========================================================================== */
.widget ul li a { color: #fff; }
.sidebar .widget ul li { font-size: 14px; align-items: center; padding: 4px; width: 100%; border-radius: var(--r-sm); display: flex; text-align: left; border: 1px solid var(--primary); margin-bottom: .4em; list-style-type: none; position: relative; }
.widget-title { color: #fff; font-weight: bold; letter-spacing: normal; margin-bottom: 1px; text-align: center; background: rgba(51,156,255,.2); }
.widget ul li { list-style-type: none; position: relative; margin-bottom: .4em; display: inline-block; }
#nav-below .nav-previous .prev:before, #nav-below .nav-next .next:before { width: auto; display: block; color: var(--txt2); font-weight: 600; }
#nav-below .nav-previous .prev:before { content: '← Previous Post'; text-align: left; }
#nav-below .nav-next .next:before { content: 'Next Post →'; text-align: right; }
#nav-below .nav-previous, #nav-below .nav-next { flex: 1 0 46%; margin: 1%; font-size: 16px; padding: .6rem; position: relative; border: 1px solid var(--bdr); border-radius: var(--r); background: var(--card); font-weight: 800; }
.wp-block-latest-posts__list { counter-reset: custom; padding: 0; margin: 0; list-style: none; }
.wp-block-latest-posts__list li { display: flex; align-items: center; padding: 12px 0; position: relative; counter-increment: custom; }
.wp-block-latest-posts__list li:before { content: counter(custom); color: var(--txt2); line-height: 1.5; font-weight: 100; position: absolute; font-size: 2rem; }
.wp-block-latest-posts__post-title { text-decoration: none; color: var(--txt); font-size: 15px; padding-left: 35px; }
.wp-block-latest-posts.wp-block-latest-posts__list { width: 100%; max-width: 100%; margin: 0 auto; padding: 0; }
.separate-containers .comments-area { padding: 5px; background: #fbfdff; }
.separate-containers .comments-area li { margin-left: 35px; list-style-type: none; }
.comments-title { margin-bottom: 12px; color: var(--txt2); }
.comment { margin-bottom: 0; border-left: none; font-size: 12px; }
.comment-body { padding: 0; }
.comment-content { font-size: 15px; padding: 5px; box-shadow: 0 1px 2px rgba(0,0,0,.04); margin-top: .8em; border-radius: var(--r-sm); }
.comment, .comment-list { padding: 0 5px; color: var(--txt); }
.comment .children { margin-top: 0; padding-left: 0; border-left: none; }
li { list-style-type: none; }
.homepage-recent-posts { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; float: left; width: 100%; }
.homepage-recent-posts li { display: flex; justify-content: flex-start; width: 50%; box-sizing: border-box; margin: 0; float: left; border-bottom: 1px solid #ececec; background: var(--card); }
.homepage-recent-posts li a { font-size: 17px; border-left: 1px solid var(--bdr-l); padding: 3px 6px; width: 100%; margin: 0 0 4px; line-height: 1.4; }
.avl_label { color: var(--red); text-transform: uppercase; font-size: 11px; margin-top: 2px; }
.new_post { background-color: var(--gold); padding: 2px 6px; border-radius: var(--r-sm); color: #fff; }
.newbg { background-color: var(--cyan); }
.category-columns-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.category-columns-wrapper a { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background-color: #f0f0f0; border-radius: var(--r); font-weight: 700; text-decoration: none; color: #fff; border: 2px solid transparent; }
.category-columns-wrapper a[href*="admit-card"] { background-color: #e7ebf7; border-color: #9fb5f9; color: #070e21; }
.category-columns-wrapper a[href*="govt-jobs"] { background-color: #e9faf7; border-color: #bcf6ed; color: #07332c; }
.category-columns-wrapper a[href*="govt-schemes"] { background-color: #e6f0f7; border-color: #89dbff; color: #092633; }
.category-columns-wrapper a[href*="news"] { background-color: #f9e5f4; border-color: #fea6de; color: #350022; }
.category-columns-wrapper a[href*="result"] { background-color: #fdf7ef; border-color: #f9d4a9; color: var(--txt); }
.category-short-titles { display: flex; flex-wrap: wrap; margin: -8px; }
.category-short-titles .category { flex: 1 1 calc(33.333% - 16px); margin: 8px; box-shadow: var(--sh-1); border-radius: var(--r); overflow: hidden; }
.category-short-titles b.new_post { color: var(--red); font-size: 13px; font-weight: 450; }
.category-short-titles .category h2 { font-size: 18px; margin-bottom: 8px; background: #f0f4f8; text-align: center; }
.category-short-titles .category ul { list-style: none; margin: 12px; }
.category-short-titles li { list-style-type: none; line-height: 1.35; margin: 8px; }

/* ==========================================================================
   SECTION 38-41: BLOCKQUOTE, PULLQUOTE, PAA, NEWS LIST
   ========================================================================== */
blockquote.wp-block-quote {
    display: block; padding: .6rem; position: relative; z-index: 1;
    box-shadow: var(--sh-2); border: 1px solid rgba(130,100,255,.2);
    margin-top: 16px; background: #f0ecff;
    font-size: 16px; border-radius: var(--r);
    contain: layout style;
}
.wp-block-quote p::before {
    content: "🚨 LATEST UPDATE!"; font-size: 12px;
    display: flex; position: absolute; text-align: center;
    top: 0; transform: translate(0, -55%);
    align-items: center; padding: 0 10px;
    color: #fff; font-weight: 700;
    background: linear-gradient(135deg, #ff0844, #ff6b00);
    height: 20px; /* FIXED */
    border-radius: var(--r-full);
    box-shadow: 0 2px 8px rgba(255,8,68,.3);
}

/*.wp-block-pullquote {
    display: flex; align-items: center;
    background: linear-gradient(to right, #0066b2 1%, #fc5b000f 1%);
    border: 1px solid #ff7c00; border-left: none;
    border-radius: var(--r-sm); 
	padding: 0 4px 0 30px;
    margin: 8px 0; font-size: 14px; position: relative;
    font-style: normal; quotes: none;
    contain: layout style;
}
.wp-block-pullquote::before {
    content: '📢 NOTE'; font-size: 14px; background: #ff0018;
    position: absolute; left: 0; top: 0; bottom: 0; width: 22px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--r-sm) 0 0 var(--r-sm);
    color: #fff; writing-mode: vertical-rl; font-weight: bold;
}
.wp-block-pullquote blockquote { margin: 0; padding: 0; border: none; }
.wp-block-pullquote p { margin: 0; text-align: left; font-style: normal; }
.wp-block-pullquote a { color: #0066b2; text-decoration: underline; }
.wp-block-pullquote cite { display: none; }
*/
.paa-section {
    margin: 10px 0; background: var(--card);
    border-radius: var(--r); font-family: var(--font);
    box-shadow: var(--sh-1); border: 1px solid var(--bdr-l);
    overflow: hidden;
    contain: layout style;
}
.paa-title { color: var(--txt); font-size: 1.1rem; font-weight: 800; padding: 10px 12px; margin: 0; border-bottom: 1px solid var(--bdr-l); background: #f8f9fa; line-height: 1.2; }
.paa-list { list-style: none; padding: 0; margin: 0; }
.paa-item { border-bottom: 1px solid var(--bdr-l); }
.paa-item:last-child { border-bottom: none; }
a.paa-question { text-decoration: none; display: block; padding: 10px 12px; color: inherit; font-size: 16px; text-align: left; font-weight: 600; min-height: 40px; /* FIXED */ }
.paa-question { color: var(--txt); line-height: 1.25; display: flex; align-items: center; gap: 6px; overflow: hidden; }
.paa-question span:first-child { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.paa-arrow { font-size: 18px; color: var(--txt3); margin-left: auto; flex-shrink: 0; font-weight: bold; }
.paa-item:active { background: rgba(0,0,0,.03); }

.news-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 0; background-color: var(--card); border-radius: var(--r); border-left: 1px solid var(--bdr); contain: layout style; }
.news-item { display: flex; align-items: center; justify-content: start; overflow: hidden; min-height: 72px; /* FIXED */ }
.news-thumbnail img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--r-sm); flex-shrink: 0; margin-right: 10px; aspect-ratio: 1/1; }
.news-thumbnail { float: right; margin-right: 0; order: -1; }
.news-content { flex-grow: 1; padding-right: 14px; }
.news-title { font-size: 1em; color: var(--primary); line-height: 1.25; font-weight: 500; }
.news-meta { font-size: .75rem; color: #606060; line-height: 1; }

.schema-faq-section { border: 1px solid var(--bdr-l); border-radius: var(--r); margin-bottom: 8px; overflow: hidden; contain: layout style; }
.schema-faq-question { border-bottom: 1px dashed var(--bdr-l); display: flex; font-size: 16px; font-weight: 700; gap: 8px; padding: 8px 10px; }
.schema-faq-answer { color: var(--txt); font-size: 16px; padding: 10px 14px; line-height: 1.5; }

/* ==========================================================================
   SECTION 42-45: MISC — Tightened
   ========================================================================== */
.inside-article .entry-summary .read-more {
    display: block; text-align: center; padding: .6em 2em;
    letter-spacing: .06em; position: relative;
    border-radius: var(--r-full);
    border: 1px solid var(--txt); background: #ffdc47;
    color: var(--txt); margin: auto; width: 185px;
    font-size: 15px; font-weight: 700;
    height: 40px; /* FIXED */
}
.inside-article .entry-summary .read-more:active { transform: scale(.95); }

.author .author-info { margin: 8px 0; padding: 12px; background: #dfefff; border: 1px solid #e5e7eb; border-radius: var(--r); box-shadow: var(--sh-2); max-width: 100%; }
.author .author-box-content { display: flex; gap: 16px; align-items: flex-start; }
.author .author-avatar img { width: 80px; height: 80px; border-radius: var(--r-full); border: 3px solid #fff; box-shadow: var(--sh-2); object-fit: cover; aspect-ratio: 1/1; }
.author .author-details { flex: 1; min-width: 0; }
.author .author-details h1 { font-size: 22px; font-weight: 700; color: #1a2d5f; margin: 0 0 6px; line-height: 1.2; }
.author .author-title { display: inline-block; background: var(--primary); color: #fff; padding: 3px 10px; border-radius: var(--r-full); font-size: 11px; font-weight: 600; text-transform: uppercase; margin-bottom: 10px; height: 22px; line-height: 16px; }
.author .author-title::before { display: none; }
.author .author-bio-text { font-size: 14px; line-height: 1.5; color: var(--txt2); margin-bottom: 10px; }
.author .author-stats { display: flex; gap: 14px; margin: 10px 0; flex-wrap: wrap; }
.author .author-stat { display: inline-flex; gap: 4px; align-items: baseline; }
.author .author-stat-number { font-size: 16px; font-weight: 700; color: var(--primary); }
.author .author-stat-label { font-size: 12px; color: #666; }
.author .author-social { display: flex; gap: 6px; margin: 10px 0; }
.author .author-social a { width: 34px; height: 34px; border-radius: var(--r-full); background: #fff; color: var(--primary); font-size: 14px; border: 1px solid #e5e7eb; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.author .author-cta-buttons { display: flex; gap: 8px; margin-top: 10px; }
.author .author-btn { padding: 6px 16px; border-radius: var(--r-full); font-size: 12px; font-weight: 600; border: 2px solid var(--primary); text-decoration: none; height: 32px; display: inline-flex; align-items: center; }
.author .author-btn-primary { background: var(--primary); color: #fff; }
.author .page-header .avatar { border-radius: var(--r-full); border: 3px solid #f8fafc; object-fit: cover; box-shadow: var(--sh-3); }
.author .page-header .page-title { display: flex; align-items: center; font-size: 25px; justify-content: center; }

.most-searched-for { padding: 8px; border-top: 1px solid #1753cf; text-align: left; font-size: 10px; line-height: 1.4; width: 100%; box-sizing: border-box; }
.most-searched-for h3 { font-size: 16px; margin-bottom: 8px; text-transform: uppercase; color: #fff; }
.most-searched-for ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.most-searched-for strong { color: #cec3c3; font-weight: bold; }
.most-searched-for a { color: #cec3c3; text-decoration: none; }

.page-header > :last-child { font-size: 13px; letter-spacing: normal; margin-bottom: 1px; text-align: center; }
a.button { display: block; text-align: center; border-radius: var(--r-full); margin: 14px 14px 18px; padding: 8px 13px; width: 300px; font-weight: 400; }
.wp-block-table td, .wp-block-table th { border: 1px solid #a2a2a56e; padding: .25em; }
.wp-block-table .has-fixed-layout { width: 100%; }
.table { margin: 0; width: 100%; }
pre { margin-bottom: 1.2em; overflow: auto; font-size: 15px; padding: .5rem; border: 1px solid var(--bdr); border-radius: var(--r); background: #fffef2; }
.container.hfeed { overflow-anchor: none; }
.generate-back-to-top { display: none; }
.hide_in_desktop { display: none; }
.share-btn img { display: none; }
.floating-share-bar { display: none; }
.whatsapp-channel-attached { display: none; }
.search-modal-form { background-color:#fff; }
.block { width: 100%; color: #595959; font-size: 10px; display: block; margin: 0; letter-spacing: .1em; text-shadow: none; line-height: 9px; min-height: 9px; text-align: center; }
.block:before { display: none; }
.block-1, .block-2, .block-3, .block-4 { height: 296px; width: 100%; text-align: center; contain: strict; }
div.author-info { display: flex; flex-direction: row; align-items: center; min-height: 33px; max-width: 100%; box-sizing: border-box; padding: 0 5px; contain: layout style; }
.author-avatar { width: 30px; min-height: 33px; border-radius: var(--r-full); }
div.author-avatar img { width: 100%; height: auto; border-radius: var(--r-full); border: 1px solid #316d7c; }
.author-name, .published-date { line-height: 1; margin: 0; }
.author-name { font-weight: 500; font-size: 12px; }
.published-date { font-size: 10px; color: #777; }
.social-icons { display: flex; align-items: center; gap: 4px; height: 28px; /* FIXED */ }
.social-button { text-decoration: none; border: 1px solid var(--bdr); border-radius: var(--r-sm); white-space: nowrap; font-size: 10px; font-weight: 600; padding: 2px 4px; color: var(--txt2); cursor: pointer; display: flex; align-items: center; justify-content: center; height: 22px; /* FIXED */ }
.pstet-dm-author { color: var(--primary); font-weight: 500; }
.pstet-dm-dot { color: #999; margin: 0 3px; font-weight: 700; }
.pstet-dm-sep { color: #999; margin: 0 3px; }
.pstet-dm-date { font-weight:300; color: var(--txt); }
.separate-containers .page-header h1 { font-size: 30px; background:#fff; color: #111; border-radius: var(--r); }
#larapush-optin.larapush-optin--dialog-box .larapush-optin--branding-wrapper { display: none; }
#poweredBy { display: none; }
.brandingpoweredByLarapush, .backdrop { display: none; }
table.has-fixed-layout tr { border-bottom: 1px solid rgba(0,102,204,.12); }
table.has-fixed-layout tr:hover { background: rgba(30,136,229,.06); }
.whatsapp-float { display: none; }

/* ==========================================================================
   SECTION 46: DESKTOP (min-width: 769px)
   ========================================================================== */
@media (min-width: 769px) {
    :root { --hdr-h: 35px; --bnav-h: 48px; }
    body { padding-bottom: 0; line-height: 1.45; font-size: 15px; }
    body.has-bnav { padding-bottom: 0; }
    .pstet-bnav { display: none; }
    .pstet-btt { bottom: 24px; right: 24px; }
    .pstet-ctabs { display: block; }
    .pstet-side { display: flex; }
    .pstet-sfloat { display: flex; }
    .pstet-mw { display: none; }
    .pstet-mfloat { display: none; }
    .pstet-hero { margin: var(--gap); }
    .pstet-hero-h { font-size: 1.7em; }
    .pstet-hero-p { -webkit-line-clamp: 3; font-size: 13px; }
    .pstet-pc-in { flex-direction: row; gap: 12px; padding: 10px; }
    .pstet-pc-thumb { width: 150px; aspect-ratio: 16/10; border-radius: var(--r-sm); }
    .pstet-pc-body { padding: 0; }
    .pstet-pc-t { font-size: 18px; }
    .pstet-pc-exc { font-size: 15px; -webkit-line-clamp: 4; }
    .pstet-ra-g { grid-template-columns: repeat(3, 1fr); }
    .pstet-au { flex-direction: row; align-items: flex-start; text-align: left; padding: 16px; gap: 14px; }
    .pstet-au-av { width: 64px; height: 64px; }
    .pstet-au-st { justify-content: flex-start; }
    .pstet-au-lk { justify-content: flex-start; }
    .pstet-ft-top { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 14px; padding: 24px 12px 18px; }
    .pstet-wrap { grid-template-columns: var(--content-w) var(--sidebar-w); gap: 14px; padding: 10px 12px; }
    .pstet-art-wrap { padding: 10px 12px; }
    .pstet-bc { padding:0px 5px 0; font-size:10px; }
}

/* ==========================================================================
   SECTION 47: MOBILE — Tightened
   ========================================================================== */
@media (max-width: 768px) {
    .site-header {
        position: sticky; top: 0; z-index: 100;
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        backdrop-filter: saturate(180%) blur(20px);
        box-shadow: 0 0.5px 0 rgba(0,0,0,.12);
        contain: layout style;
    }
    .pstet-ctabs { position: relative; top: auto; }
    a, button { -webkit-tap-highlight-color: transparent; }
    .pstet-pc { margin: 0 var(--gap) var(--gap); border-radius: var(--r); }
    .pstet-hero { margin: var(--gap); border-radius: var(--r-lg); }
    .main-navigation .main-nav ul li a { font-size: 18px; text-transform: none; font-weight:600; padding: 10px 14px; height: auto; border-top: 1px solid var(--bdr-l); line-height: 1.35;background:#3376cd; }
    .has-inline-mobile-toggle #site-navigation.toggled { margin-top: 0; text-align: left; flex-wrap: wrap; height: auto; z-index: 1000; position: relative; }
    .pstet-ft-social a { width: 44px; height: 44px; font-size: 16px; }
    .toc-text { font-size: 15px; line-height: 1.35; }
    .toc-number { width: 24px; height: 24px; font-size: 12px; }
    .toc-main-title { font-size: 16px; }
    .pstet-sb { padding: 4px 8px; }
    .separate-containers .page-header { padding: 10px; }
    .news-list { grid-template-columns: 1fr; padding: 0; }
    .news-item { flex-direction: column; align-items: flex-start; }
    .homepage-recent-posts li { width: 100%; }
    .block-1 { min-height: 377.5px; width: 100%; text-align: center; }
    .block-2 { min-height: 266px; width: 300px; text-align: center; }
    .block-1.adsbygoogle, .block-2.adsbygoogle { width: 336px; }
}
@media (max-width: 480px) {
    .entry-content h2, .pstet-abody h2 { font-size: 19px; padding: 0 5px; hyphens: auto; -webkit-hyphens: auto; }
    h1.entry-title, h1.page-title { font-size: 1.4em; line-height: 1.2; word-break: break-word; hyphens: auto; overflow-wrap: break-word; }
    .entry-content table th, .pstet-abody table th, .entry-content table td, .pstet-abody table td { padding: 6px 8px; font-size: 13px; }
    .entry-content table th, .pstet-abody table th { font-size: 12px; }
    .pstet-sbar { justify-content: center; }
    .pstet-sb { flex: 1 1 auto; justify-content: center; min-width: 0; }
}
@media (max-width: 420px) { .pstet-pfc-popup .pstet-pfc-btns { flex-direction: column; gap: 6px; } .pstet-pfc-popup .pstet-pfc-btn { justify-content: center; width: 100%; } }
@media (max-width: 400px) { .pstet-pnav { grid-template-columns: 1fr; } }
@media (max-width: 375px) { .entry-content, .pstet-abody { font-size: 16px; } .entry-content li, .pstet-abody li { font-size: 16px; } }
@media (max-width: 374px) { .pstet-ra-g { grid-template-columns: 1fr; } .pstet-ft-top { grid-template-columns: 1fr; } }
@media (max-width: 360px) { h1.entry-title, h1.page-title { font-size: 1.25em; } }
@media (min-width: 769px) and (max-width: 1023px) { :root { --sidebar-w: 240px; } .pstet-ft-top { grid-template-columns: 1fr 1fr; gap: 12px; } }
@media (max-width: 1120px) { .pstet-sfloat { display: none; } }
@media (max-width: 600px) { .home.separate-containers .inside-article .post-image img { width: 100%; float: none; margin: 0 auto; } .inside-article .entry-summary .read-more { width: 100%; text-align: center; } }
@media (max-width: 800px) { .category-short-titles .category { flex: 1 1 calc(50% - 16px); } }
@media (max-width: 500px) { .category-short-titles .category { flex: 1 1 100%; } }
@media (max-width: 767px) { .homepage-recent-posts li { width: 100%; } form.search-form { max-width: 100%; } input[type=search] { width: 280px; } }
@media (max-width: 768px) {
    .most-searched-for ul { flex-direction: column; }
    .most-searched-for li { width: 100%; }
    .paa-section { margin: 8px 0; }
    .paa-question { font-size: 15px; padding: 8px 10px; }
    .paa-title { font-size: 1.05rem; }
    .paa-item { margin-bottom: 0; }
    .author .author-box-content { flex-direction: column; text-align: center; gap: 12px; }
    .author .author-avatar img { width: 72px; height: 72px; }
    .author .author-details h1 { font-size: 20px; }
    .author .author-stats { justify-content: center; }
    .author .author-social, .author .author-cta-buttons { justify-content: center; }
}

/* ==========================================================================
   SECTION 48: CWV CONTAINMENT
   ========================================================================== */
.pstet-ft, .pstet-ra-g, .pstet-pnav, .pstet-mw { content-visibility: auto; contain-intrinsic-size: auto 280px; }

/* ==========================================================================
   SECTION 49: REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   v8 MODS — Bottom nav scroll, date roller, sticky tabs, Google follow
   ========================================================================== */
.pstet-bnav.pstet-bnav-hidden { transform: translateY(100%); opacity: 0; pointer-events: none; }
.pstet-bnav.pstet-bnav-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.pstet-bnav { transition: transform .35s cubic-bezier(.2,.9,.3,1), opacity .3s ease; }
body.has-bnav { padding-bottom: 0; }
.pstet-bnav.pstet-bnav-visible ~ .pstet-btt { bottom: calc(var(--bnav-h) + 14px + env(safe-area-inset-bottom)); }

.pstet-bni svg { width: 22px; height: 22px; display: inline-block; vertical-align: middle; }
.pstet-bni-tools .pstet-tools-ring {
    position: relative; display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
}
.pstet-bni-tools .pstet-tools-ring::before {
    content: ""; position: absolute; inset: -3px;
    border-radius: 50%; border: 2.5px solid transparent;
    border-top-color: #ff6b00; border-right-color: var(--primary);
    border-bottom-color: var(--green); border-left-color: var(--gold);
    animation: pstet-ring-spin 2s linear infinite;
    will-change: transform; /* GPU-only */
}
.pstet-bni-tools .pstet-tools-ring::after {
    content: ""; position: absolute; inset: 0;
    border-radius: 50%; background: rgba(30,115,190,.08);
    /* REMOVED: pstet-ring-pulse animation — causes repaint */
}
.pstet-bni-tools .pstet-tools-ring svg { position: relative; z-index: 1; }
.pstet-bni-tools .pstet-bni-l { color: var(--primary); font-weight: 800; }

@keyframes pstet-ring-spin { to { transform: rotate(360deg); } }

/* Date roller — kept but contained */
.pstet-date-roller {
    display: inline-block; height: 1.5em;
    overflow: hidden; vertical-align: middle;
    position: relative; line-height: 1.5em;
    contain: layout style;
}
.pstet-date-roller-track { display: flex; flex-direction: column; animation: pstet-date-roll 5s ease-in-out infinite; will-change: transform; }
.pstet-date-slide { display: flex; align-items: center; height: 1.5em; line-height: 1.5em; white-space: nowrap; flex-shrink: 0; }
.pstet-date-badge-green {
    display: inline-block; background: #28a745; color: #fff;
    font-size: 10px; font-weight: 700; padding: 1px 6px;
    border-radius: var(--r-full); margin-right: 3px;
    letter-spacing: .3px; text-transform: uppercase; line-height: 1.4; vertical-align: middle;
}
@keyframes pstet-date-roll { 0%,40% { transform: translateY(0); } 50%,90% { transform: translateY(-50%); } 100% { transform: translateY(0); } }

/* Sticky tabs */
.pstet-ctabs-scroll { position: relative; top: auto; z-index: 50; contain: layout style; }
.pstet-ctabs-scroll.pstet-ctabs-stuck { position: fixed; top: 0; left: 0; right: 0; z-index: 100; box-shadow: 0 1px 6px rgba(0,0,0,.12); }
.pstet-trending-label {
    display: inline-flex; align-items: center; gap: 3px;
    font-size: 11px; font-weight: 800; color: #d32f2f;
    white-space: nowrap; flex-shrink: 0;
    padding: 2px 8px; background: rgba(211,47,47,.08);
    border-radius: var(--r-full); letter-spacing: .3px;
    text-transform: uppercase;
    height: 22px; /* FIXED */
    /* REMOVED: pstet-trending-pulse animation */
}

/* Google follow button */
.pstet-gfollow { max-width: var(--max); margin: 0 auto; padding: 3px 10px; }
.pstet-gfollow-btn {
    display: flex; align-items: center; gap: 6px;
    padding: 5px 12px; background: var(--card);
    border: 1px solid #dadce0; border-radius: var(--r-full);
    text-decoration: none; color: #202124; font-family: var(--font);
    max-width: fit-content;
    height: 36px; /* FIXED */
}
.pstet-gfollow-btn:hover { background: #f8f9fa; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.pstet-gfollow-btn:active { transform: scale(.97); }
.pstet-gfollow-icon { display: flex; align-items: center; flex-shrink: 0; }
.pstet-gfollow-icon svg { width: 20px; height: 20px; }
.pstet-gfollow-text { display: flex; flex-direction: column; line-height: 1.15; }
.pstet-gfollow-text strong { font-size: 11px; font-weight: 700; color: #1a73e8; }
.pstet-gfollow-text small { font-size: 10px; color: #5f6368; font-weight: 500; }
.pstet-gfollow-arrow { font-size: 14px; color: #1a73e8; font-weight: 700; margin-left: auto; }

@media (max-width: 768px) {
    .pstet-gfollow { padding: 3px 8px; }
    .pstet-gfollow-btn { padding: 4px 10px; }
    .site-header { position: relative; top: auto; }
    .pstet-ctabs-scroll { position: relative; top: auto; }
}