/*
Theme Name: Skillbook Resource Hub
Theme URI: https://www.skillbookacademy.com
Author: Skillbook Academy
Description: Resource hub theme — HubSpot replica design.
Version: 5.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: skillbook-resources
*/

/* Self-hosted Inter (variable, Latin subset). Replaces the external
   fonts.googleapis.com call that used to be enqueued. */
@font-face{
  font-family:'Inter';
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
  src:url('assets/fonts/inter-var.woff2') format('woff2-variations'),
      url('assets/fonts/inter-var.woff2') format('woff2');
}

/* ═══ TOKENS ═══ */
:root{
  --font:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --serif:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --orange:#ff4800;--orange-dk:#e04000;--orange-light:#fff3f0;
  --teal:#00a4bd;--teal-dk:#0091a7;
  --text:#1f1f1f;--text-dark:#1f1f1f;--text-light:rgba(0,0,0,.62);--text-muted:rgba(0,0,0,.47);
  --bg:#ffffff;--bg-light:#f5f8fa;--bg-warm:#fcfcfa;
  --border:rgba(0,0,0,.11);--border-light:rgba(0,0,0,.06);
  --hero-bg:#042729;--hero-text:#f8f5ee;
  --badge-bg:#fcc6b1;--badge-text:#1f1f1f;
  --r:4px;--rl:16px;--rxl:16px;
  --sh:0 1px 3px rgba(0,0,0,.08);
  --sh-m:0 4px 12px rgba(0,0,0,.1);
  --sh-l:0 8px 30px rgba(0,0,0,.12);
  --ease:.2s ease;
  --mw:1080px
}

/* ═══ RESET ═══ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--font);color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;font-size:16px;line-height:1.6}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
button{cursor:pointer;border:none;font-family:var(--font);background:none}
ul,ol{list-style:none}
h1{font-family:var(--serif)}
h2,h3,h4,h5,h6{font-family:var(--font)}
select{font-family:var(--font)}
.w{max-width:var(--mw);margin:0 auto;padding:0 2rem}

/* ═══ NAV ═══ */
.nav{position:sticky;top:0;z-index:100;background:var(--bg);border-bottom:1px solid var(--border-light)}
.nav-in{display:flex;align-items:center;justify-content:space-between;height:64px}
.nav-logo{display:flex;align-items:center;gap:.5rem;font-weight:700;font-size:1.1rem;color:var(--text-dark)}
.nav-logo img{height:32px}
.nav-m{display:flex;align-items:center;gap:1.75rem}
.nav-m a{font-size:.9rem;font-weight:500;color:var(--text);transition:color var(--ease)}
.nav-m a:hover{color:var(--orange)}
.nav-m a.on{color:var(--orange);font-weight:600}
.nav-cta{background:var(--orange)!important;color:#fff!important;padding:.55rem 1.2rem;border-radius:var(--r);font-size:.85rem;font-weight:600;transition:background var(--ease)}
.nav-cta:hover{background:var(--orange-dk)!important}
.ham{display:none;flex-direction:column;gap:5px;padding:.5rem}
.ham span{display:block;width:20px;height:2px;background:var(--text);border-radius:2px}

/* Mobile Nav */
.mob-nav{display:none;position:fixed;top:64px;left:0;right:0;bottom:0;background:var(--bg);z-index:99;padding:2rem;flex-direction:column;gap:.25rem;overflow-y:auto}
.mob-nav.is-open{display:flex}
.mob-nav a{font-size:1.05rem;font-weight:500;color:var(--text);padding:.9rem 0;border-bottom:1px solid var(--border-light)}
.mob-nav a:hover{color:var(--orange)}
.mob-nav .nav-cta{margin-top:1rem;text-align:center;display:block;padding:.75rem;border-bottom:none;border-radius:var(--r)}

/* ═══ HERO ═══ */
.hero{background:var(--hero-bg);padding:6rem 0 5.5rem;text-align:center;position:relative;overflow:hidden}
.hero .w{position:relative;z-index:2}
.hero-top{display:flex;flex-direction:column;align-items:center;gap:1rem}
.hero-text{max-width:85%;width:85%}
.hero-label{display:none}
.hero h1{font-family:var(--serif);font-size:48px;font-weight:500;color:var(--hero-text);line-height:1.15;margin-bottom:16px}
.hero h1 em{font-style:italic}
.hero-sub{font-size:18px;color:var(--hero-text);opacity:1;font-weight:300;line-height:1.78;max-width:85%;margin:0 auto 24px}
.hero-btns{display:flex;align-items:center;justify-content:center;gap:1rem;margin-top:.5rem}
.hero-btn-primary{display:inline-flex;align-items:center;gap:.4rem;padding:16px 40px;background:var(--orange);color:#fff;font-size:18px;font-weight:500;border-radius:8px;transition:all var(--ease);border:2px solid transparent}
.hero-btn-primary:hover{background:var(--orange-dk);border-color:var(--orange-dk)}
.hero-btn-secondary{display:inline-flex;align-items:center;gap:.4rem;padding:16px 40px;background:rgba(0,0,0,.11);color:var(--hero-text);font-size:18px;font-weight:500;border-radius:8px;border:2px solid var(--hero-text);transition:all var(--ease)}
.hero-btn-secondary:hover{background:rgba(0,0,0,.18)}
.hero-search{display:none}

/* ═══ FEATURED RESOURCES ═══ */
.featured{padding:4rem 0 3.5rem;background:#f8f5ee}
.featured-head{text-align:center;margin-bottom:2rem}
.featured-head h2{font-family:var(--font);font-size:48px;font-weight:500;color:var(--text-dark);margin-bottom:1.5rem}
.featured-tabs{display:flex;align-items:center;justify-content:center;gap:0;border-bottom:1px solid var(--border)}
.featured-tabs button{padding:.85rem 1.5rem;font-size:16px;font-weight:500;color:var(--text-light);background:none;border:none;border-bottom:3px solid transparent;margin-bottom:-1px;cursor:pointer;transition:all var(--ease);white-space:nowrap}
.featured-tabs button:hover{color:var(--text-dark)}
.featured-tabs button.active{color:var(--text-dark);font-weight:600;border-bottom-color:var(--orange)}
.featured-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2.5rem;margin-top:2rem;min-height:320px}
.featured-grid.is-loading{opacity:.4;pointer-events:none}

/* Featured Card */
.feat-card{position:relative;display:flex;flex-direction:column;text-decoration:none;color:inherit;background:#fff;border:1px solid rgba(0,0,0,.11);border-radius:16px;overflow:hidden;transition:transform .2s,box-shadow .2s}
.feat-card:hover{transform:translateY(-4px);box-shadow:0 6px 20px rgba(0,0,0,.08)}
.feat-card-img{height:208px;background:#fcfcfa;overflow:hidden;margin:0 24px}
.feat-card-img img{width:100%;height:100%;object-fit:contain}
.feat-card-content{padding:16px 24px 24px;border-top:1px solid rgba(0,0,0,.08)}
.feat-card-cat{font-size:14px;font-weight:700;color:#111;margin-bottom:.35rem}
.feat-card-title{font-size:16px;font-weight:700;color:#111;line-height:1.75;margin-bottom:.4rem}
.feat-card-desc{font-size:14px;color:#111;line-height:1.57;opacity:.62}

/* ═══ BROWSE ALL RESOURCES ═══ */
.browse{padding:4rem 0 3rem;background:#fff}
.browse-head{text-align:center;margin-bottom:2rem}
.browse-head h2{font-family:var(--font);font-size:48px;font-weight:500;color:var(--text-dark);margin-bottom:.5rem}
.browse-head p{font-size:24px;font-weight:500;color:var(--text-dark)}

/* Filter Bar */
.filter-bar{display:grid;grid-template-columns:1fr 1fr 1fr;gap:1rem;margin-bottom:.75rem;align-items:end}
.filter-group{display:flex;flex-direction:column;gap:.5rem}
.filter-group label{font-size:15px;font-weight:700;color:var(--text);text-transform:none;letter-spacing:0}
.filter-group select{padding:8px 40px 8px 16px;height:45px;border-radius:var(--r);border:1px solid var(--text-muted);font-size:16px;color:var(--text);background:var(--bg);cursor:pointer;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%231f1f1f' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;outline:none;transition:border-color var(--ease)}
.filter-group select:focus{border-color:var(--orange)}
.filter-search{display:flex;flex-direction:column;gap:.5rem}
.filter-search label{font-size:15px;font-weight:700;color:var(--text);text-transform:none;letter-spacing:0}
.filter-search-input{position:relative}
.filter-search-input input{width:100%;padding:8px 16px 8px 40px;height:45px;border-radius:var(--r);border:1px solid var(--text-muted);font-size:16px;color:var(--text);background:var(--bg);outline:none;font-family:var(--font);transition:border-color var(--ease)}
.filter-search-input input::placeholder{color:var(--text-muted)}
.filter-search-input input:focus{border-color:var(--orange)}
.filter-search-input svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:var(--text-muted)}
.filter-row{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:1rem;margin-bottom:.75rem;align-items:end}
.browse-meta{display:flex;justify-content:flex-end;margin-bottom:1.25rem;font-size:14px;color:var(--text-light)}

/* Card Grid */
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2.5rem}

/* Browse Card */
.card{position:relative;background:var(--bg);border-radius:var(--rl);overflow:hidden;display:flex;flex-direction:column;transition:all var(--ease);border:1px solid var(--border)}
.card:hover{box-shadow:var(--sh-m);transform:translateY(-3px)}
.card-img{overflow:hidden;height:200px;background:var(--bg-light);display:flex;align-items:center;justify-content:center;margin:0 24px}
.card-img img{width:100%;height:100%;object-fit:contain}
.card-badges{position:absolute;top:.6rem;left:.6rem;display:flex;gap:.35rem}
.badge-type{position:absolute;top:12px;right:0;display:inline-block;background:#fcc6b1;color:var(--text-dark);font-size:12px;font-weight:500;padding:5px 12px 5px 14px;border-radius:20px 0 0 20px;z-index:2}
.card-body{padding:16px 24px 24px;display:flex;flex-direction:column;flex:1;border-top:1px solid rgba(0,0,0,.08)}
.card-cat{font-size:14px;font-weight:700;color:#111;text-transform:none;letter-spacing:normal;margin-bottom:.25rem}
.card-cat::before{display:none}
.card-body h3{font-size:16px;font-weight:700;color:#111;line-height:1.75;margin-bottom:.4rem}
.card-body h3 a{color:#111;transition:color var(--ease)}
.card-body h3 a:hover{color:var(--orange)}
.card-excerpt{font-size:14px;color:var(--text-light);line-height:1.57;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:auto}
.read-link{font-size:14px;font-weight:600;color:#1a73e8;display:inline-flex;align-items:center;gap:.35rem;margin-top:.85rem;text-decoration:none;border-bottom:2px solid #1a73e8;padding-bottom:2px;transition:color var(--ease)}
.read-link:hover{color:#0d47a1}
.read-link svg{width:14px;height:14px;transition:transform var(--ease);display:none}
.read-link:hover svg{transform:translateX(3px)}
.card-foot{display:none}

/* Pagination */
.pagination{display:flex;align-items:center;justify-content:center;gap:.35rem;margin-top:2.5rem}
.pagination a,.pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 .5rem;border-radius:var(--r);font-size:.85rem;font-weight:500;color:var(--text);border:1px solid var(--border);background:var(--bg);transition:all var(--ease);cursor:pointer;text-decoration:none}
.pagination a:hover{border-color:var(--orange);color:var(--orange)}
.pagination span.current{background:var(--orange);color:#fff;border-color:var(--orange)}
.pagination span.dots{border:none;background:none;min-width:auto;cursor:default}
.pagination a.prev,.pagination a.next{font-size:.75rem;font-weight:700}

/* ═══ NEWSLETTER ═══ */
.nl{padding:3rem 0;background:var(--bg-light)}
.nl-box{background:var(--orange);border-radius:var(--rxl);padding:3rem;display:flex;flex-direction:column;align-items:center;text-align:center;gap:1rem}
.nl-left{max-width:500px}
.nl-left h2{font-family:var(--font);font-size:32px;font-weight:500;color:#fff;margin-bottom:.5rem}
.nl-left p{color:rgba(255,255,255,.8);font-size:.9rem;line-height:1.6}
.nl-right{display:flex;gap:.5rem;width:100%;max-width:420px;margin-top:.5rem}
.nl-right input{flex:1;padding:.7rem 1rem;border-radius:var(--r);border:none;font-size:.85rem;font-family:var(--font);color:var(--text);background:var(--bg);outline:none}
.nl-right input::placeholder{color:var(--text-muted)}
.nl-right button{padding:.7rem 1.25rem;background:var(--text-dark);color:#fff;border-radius:var(--r);font-weight:600;font-size:.85rem;white-space:nowrap;transition:background var(--ease)}
.nl-right button:hover{background:#1a2a38}

/* ═══ EVENTS SHOWCASE ═══ */
.showcase-events{padding:4rem 0;background:#fdf5f0}
.sc-section-h1{font-family:var(--font);font-size:48px;font-weight:500;color:var(--text-dark);text-align:center;margin:0 0 2.5rem;line-height:1.25}
.sc-row{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
.sc-img{border-radius:20px;overflow:hidden}
.sc-img img{width:100%;height:auto;display:block;border-radius:20px}
.sc-img a{display:block}
.sc-content h2{font-family:var(--font);font-size:32px;font-weight:700;color:var(--text-dark);margin-bottom:.75rem}
.sc-desc{font-size:16px;color:var(--text-light);line-height:1.6;margin-bottom:1.25rem}
.sc-bullets{list-style:none;padding:0;margin:0 0 1.75rem;display:flex;flex-direction:column;gap:.65rem}
.sc-bullets li{font-size:15px;color:var(--text-dark);display:flex;align-items:center;gap:.6rem}
.sc-bullets li::before{content:'';width:20px;height:20px;flex-shrink:0;background:var(--orange);mask-size:20px 20px;-webkit-mask-size:20px 20px;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat}
.sc-bullet-schedule::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E")}
.sc-bullet-speaker::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z'/%3E%3Cpath d='M19 10v2a7 7 0 0 1-14 0v-2'/%3E%3Cline x1='12' y1='19' x2='12' y2='23'/%3E%3Cline x1='8' y1='23' x2='16' y2='23'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z'/%3E%3Cpath d='M19 10v2a7 7 0 0 1-14 0v-2'/%3E%3Cline x1='12' y1='19' x2='12' y2='23'/%3E%3Cline x1='8' y1='23' x2='16' y2='23'/%3E%3C/svg%3E")}
.sc-bullet-location::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E")}
.sc-cta{display:inline-flex;align-items:center;gap:.5rem;font-size:14px;font-weight:600;color:var(--text-dark);text-transform:uppercase;letter-spacing:1px;padding:12px 28px;border:2px solid var(--text-dark);border-radius:var(--r);transition:all var(--ease)}
.sc-cta:hover{background:var(--text-dark);color:#fff}
.sc-cta svg{transition:transform var(--ease)}
.sc-cta:hover svg{transform:translateX(3px)}

/* ═══ COMMUNITY CUE CARDS ═══ */
.community{padding:4rem 0;background:var(--bg)}
.community-head{margin-bottom:2rem;text-align:center}
.community-head h2{font-family:var(--font);font-size:36px;font-weight:500;color:var(--text-dark);line-height:1.3;max-width:600px;margin:0 auto}
.cue-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.cue-card{background:var(--bg-light);border:1px solid var(--border-light);border-radius:var(--rl);padding:2rem 1.5rem 1.75rem;transition:all var(--ease);display:flex;flex-direction:column}
.cue-card:hover{border-color:var(--orange);box-shadow:var(--sh-m);transform:translateY(-3px)}
.cue-icon{width:56px;height:56px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:1.25rem}
.cue-icon.agile{background:#ede9fe}
.cue-icon.ai{background:#d1fae5}
.cue-icon.cert{background:#dbeafe}
.cue-icon svg{width:28px;height:28px}
.cue-icon.agile svg{color:#7C3AED}
.cue-icon.ai svg{color:#059669}
.cue-icon.cert svg{color:#2563EB}
.cue-card h3{font-size:1.05rem;font-weight:700;color:var(--text-dark);margin-bottom:.5rem}
.cue-card p{font-size:.85rem;color:var(--text-light);line-height:1.65;flex:1}
.cue-card a{font-size:.8rem;font-weight:700;color:var(--teal);display:inline-flex;align-items:center;gap:.3rem;margin-top:1rem;transition:color var(--ease)}
.cue-card a:hover{color:var(--teal-dk)}
.cue-card a svg{width:14px;height:14px}

/* ═══ FOLLOW US ═══ */
.follow{padding:2rem 0;background:var(--bg);border-top:1px solid var(--border-light)}
.follow-in{display:flex;align-items:center;justify-content:center;gap:1.5rem;flex-wrap:wrap}
.follow-label{font-size:.85rem;font-weight:600;color:var(--text)}
.follow-icons{display:flex;gap:.5rem}
.follow-icons a{width:36px;height:36px;border-radius:50%;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;transition:all var(--ease)}
.follow-icons a svg{width:15px;height:15px;transition:all var(--ease)}
.follow-icons a.si-x svg{color:#14171A}
.follow-icons a.si-x:hover{border-color:#14171A;background:#14171A}
.follow-icons a.si-x:hover svg{color:#fff}
.follow-icons a.si-fb svg{color:#1877F2}
.follow-icons a.si-fb:hover{border-color:#1877F2;background:#1877F2}
.follow-icons a.si-fb:hover svg{color:#fff}
.follow-icons a.si-ig svg{color:#E4405F}
.follow-icons a.si-ig:hover{border-color:#E4405F;background:#E4405F}
.follow-icons a.si-ig:hover svg{color:#fff}
.follow-icons a.si-yt svg{color:#FF0000}
.follow-icons a.si-yt:hover{border-color:#FF0000;background:#FF0000}
.follow-icons a.si-yt:hover svg{color:#fff}
.follow-icons a.si-li svg{color:#0A66C2}
.follow-icons a.si-li:hover{border-color:#0A66C2;background:#0A66C2}
.follow-icons a.si-li:hover svg{color:#fff}

/* ═══ FOOTER ═══ */
.ft{background:#2d3e50;padding:3rem 0 1.5rem;color:rgba(255,255,255,.45)}
.ft-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:2.5rem;padding-bottom:2.5rem;border-bottom:1px solid rgba(255,255,255,.08)}
.ft-brand{display:flex;flex-direction:column;gap:.7rem}
.ft-brand img{max-height:48px;max-width:220px;width:auto;height:auto;object-fit:contain;margin-bottom:.5rem}
.ft-brand p{font-size:.78rem;line-height:1.6;max-width:240px}
.ft-col h5{font-size:.68rem;font-weight:600;color:rgba(255,255,255,.6);text-transform:uppercase;letter-spacing:.08em;margin-bottom:.9rem}
.ft-col ul{display:flex;flex-direction:column;gap:.45rem}
.ft-col ul a{font-size:.78rem;color:rgba(255,255,255,.4);transition:color var(--ease)}
.ft-col ul a:hover{color:var(--orange)}
.ft-bot{display:flex;justify-content:space-between;align-items:center;padding-top:1.25rem;font-size:.73rem}
.ft-soc{display:flex;gap:.5rem}
.ft-soc a{width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;transition:all var(--ease)}
.ft-soc a:hover{background:var(--orange);border-color:var(--orange)}
.ft-soc svg{width:13px;height:13px;color:rgba(255,255,255,.4)}
.ft-soc a:hover svg{color:#fff}

/* ═══ ANIMATIONS ═══ */
@keyframes fadeUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
.an{opacity:0;animation:fadeUp .4s ease forwards}
.d1{animation-delay:.05s}.d2{animation-delay:.1s}.d3{animation-delay:.15s}
.d4{animation-delay:.2s}.d5{animation-delay:.25s}.d6{animation-delay:.3s}

/* ═══ RESPONSIVE ═══ */
@media(max-width:1024px){
  .hero h1{font-size:36px}
  .featured-head h2,.browse-head h2{font-size:36px}
  .featured-grid{grid-template-columns:repeat(2,1fr)}
  .grid{grid-template-columns:repeat(2,1fr)}
  .cue-grid{grid-template-columns:1fr 1fr}
  .ft-grid{grid-template-columns:1fr 1fr}
  .filter-row{grid-template-columns:1fr 1fr}
  .featured-tabs{flex-wrap:wrap;gap:0}
}
@media(max-width:768px){
  .hero h1{font-size:28px}
  .hero{padding:3.5rem 0 3rem}
  .hero-sub{font-size:16px}
  .hero-btn-primary,.hero-btn-secondary{padding:12px 28px;font-size:16px}
  .hero-btns{flex-direction:column;gap:.5rem}
  .featured-head h2,.browse-head h2{font-size:28px}
  .browse-head p{font-size:18px}
  .featured-grid{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr}
  .cue-grid{grid-template-columns:1fr}
  .sc-section-h1{font-size:28px;margin-bottom:1.75rem}
  .sc-row{grid-template-columns:1fr;gap:2rem}
  .nav-m{display:none}.ham{display:flex}
  .ft-grid{grid-template-columns:1fr}
  .ft-bot{flex-direction:column;gap:.7rem;text-align:center}
  .filter-row{grid-template-columns:1fr}
  .featured-tabs button{padding:.6rem .9rem;font-size:14px}
}
@media(max-width:480px){
  .hero h1{font-size:24px}
  .featured-head h2,.browse-head h2{font-size:24px}
  .browse-head p{font-size:16px}
}

/* ═══ LOADING STATE ═══ */
.grid.is-loading{opacity:.4;pointer-events:none;transition:opacity .2s ease}
.browse-count{font-size:14px;color:var(--text-light)}

/* ═══ VIDEO PAGE ═══ */

/* Breadcrumb */
.vp-breadcrumb-bar{background:var(--bg-light);border-bottom:1px solid var(--border-light);padding:.75rem 0}
.vp-breadcrumb-list{display:flex;align-items:center;gap:0;list-style:none;padding:0;margin:0;font-size:13px}
.vp-breadcrumb-list li{color:var(--text-muted)}
.vp-breadcrumb-list li+li::before{content:'/';margin:0 8px;color:var(--border)}
.vp-breadcrumb-list li a{color:var(--text-muted);transition:color .2s}
.vp-breadcrumb-list li a:hover{color:var(--orange)}
.vp-breadcrumb-list li.current{color:var(--text-dark);font-weight:500}

/* Hero Video Embed */
.vp-hero{padding:2rem 0 0;background:#fff}
.vp-embed{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;border-radius:12px;background:#000;box-shadow:0 8px 30px rgba(0,0,0,.15)}
.vp-embed iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}
.vp-embed--img{background:var(--bg-light)}
.vp-embed--img img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}

/* Main Content */
.vp-main{padding:2.5rem 0 4rem}
.vp-layout{max-width:820px;margin:0 auto}

/* Meta Row */
.vp-meta-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:1rem}
.vp-type-badge{display:inline-block;background:var(--badge-bg);color:var(--badge-text);font-size:12px;font-weight:600;padding:4px 14px;border-radius:50px}
.vp-tag{display:inline-block;background:var(--orange);color:#fff;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;padding:4px 12px;border-radius:50px}
.vp-meta-sep{width:1px;height:16px;background:var(--border);margin:0 4px}
.vp-meta-item{display:flex;align-items:center;gap:5px;font-size:13px;color:var(--text-muted)}
.vp-meta-item svg{width:14px;height:14px}

/* Title */
.vp-title{font-family:var(--serif);font-size:2.25rem;font-weight:700;color:var(--text-dark);margin-bottom:1rem;line-height:1.25}

/* Author Row */
.vp-author-row{display:flex;align-items:center;gap:12px;margin-bottom:1.5rem}
.vp-author-avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;border:2px solid var(--border-light)}
.vp-author-name{display:block;font-size:14px;font-weight:600;color:var(--text-dark)}
.vp-author-date{display:block;font-size:12px;color:var(--text-muted);margin-top:1px}

/* Divider */
.vp-divider{border:none;border-top:1px solid var(--border);margin:0 0 2rem}

/* Description */
.vp-description{margin-bottom:2rem}
.vp-description p{font-size:1rem;line-height:1.85;color:var(--text);margin-bottom:1.25rem}
.vp-description h2,.vp-description h3{font-family:var(--font);color:var(--text-dark);margin:2rem 0 .75rem}
.vp-description h2{font-size:1.5rem;font-weight:700}
.vp-description h3{font-size:1.25rem;font-weight:600}
.vp-description ul,.vp-description ol{margin:0 0 1.25rem 1.5rem;line-height:1.85;color:var(--text)}
.vp-description img{max-width:100%;height:auto;border-radius:8px;margin:1.5rem 0}

/* Key Takeaways */
.vp-takeaways{background:var(--orange-light);border-radius:12px;padding:1.5rem 2rem;margin-bottom:2.5rem}
.vp-takeaways-label{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:1px;color:var(--orange);margin-bottom:.75rem}
.vp-takeaways-body{font-size:15px;line-height:1.7;color:var(--text)}
.vp-takeaways-body p{margin-bottom:.5rem}
.vp-takeaways-body ul{margin:0 0 0 1.25rem}
.vp-takeaways-body li{margin-bottom:.35rem}

/* Share */
.vp-share{display:flex;align-items:center;gap:1rem;padding:1.5rem 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin-bottom:3rem}
.vp-share-label{font-size:14px;font-weight:600;color:var(--text-dark)}
.vp-share-links{display:flex;gap:8px}
.vp-share-btn{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;border:1px solid var(--border);background:#fff;color:var(--text-muted);cursor:pointer;transition:all .2s}
.vp-share-btn:hover{border-color:var(--orange);color:var(--orange);background:var(--orange-light)}
.vp-share-btn svg{width:16px;height:16px}

/* Related Videos Section */
.vp-related{margin-top:1rem;padding-top:3rem;border-top:1px solid var(--border-light)}
.vp-related-header{margin-bottom:2rem}
.vp-related-header h2{font-family:var(--font);font-size:1.75rem;font-weight:700;color:var(--text-dark);margin-bottom:.25rem}
.vp-related-header p{font-size:15px;color:var(--text-muted)}
.vp-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}

/* Related Video Card */
.vp-rcard{text-decoration:none;color:inherit;display:flex;flex-direction:column;border-radius:12px;overflow:hidden;border:1px solid var(--border);background:#fff;transition:transform .25s ease,box-shadow .25s ease}
.vp-rcard:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(0,0,0,.1)}
.vp-rcard-thumb{position:relative;aspect-ratio:16/9;overflow:hidden;background:var(--bg-light)}
.vp-rcard-thumb img{width:100%;height:100%;object-fit:contain;transition:transform .4s ease}
.vp-rcard:hover .vp-rcard-thumb img{transform:scale(1.05)}
.vp-rcard-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#042729,#0a4a4f);color:rgba(255,255,255,.3)}
.vp-rcard-placeholder svg{width:48px;height:48px}
.vp-rcard-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:48px;height:48px;background:rgba(255,255,255,.92);border-radius:50%;display:flex;align-items:center;justify-content:center;transition:transform .3s ease;box-shadow:0 2px 8px rgba(0,0,0,.15)}
.vp-rcard:hover .vp-rcard-play{transform:translate(-50%,-50%) scale(1.1)}
.vp-rcard-play svg{width:16px;height:16px;margin-left:2px}
.vp-rcard-type{position:absolute;top:10px;right:0;background:var(--badge-bg);color:var(--badge-text);font-size:11px;font-weight:600;padding:4px 12px 4px 14px;border-radius:20px 0 0 20px;z-index:2}
.vp-rcard-duration{position:absolute;bottom:8px;right:8px;background:rgba(0,0,0,.75);color:#fff;font-size:11px;font-weight:600;padding:3px 8px;border-radius:4px;backdrop-filter:blur(4px)}
.vp-rcard-body{padding:14px 16px 18px;display:flex;flex-direction:column;flex:1}
.vp-rcard-cat{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:var(--orange);margin-bottom:6px}
.vp-rcard-title{font-size:14px;font-weight:700;color:var(--text-dark);line-height:1.4;margin-bottom:auto;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.vp-rcard-date{font-size:12px;color:var(--text-muted);margin-top:10px}

@media(max-width:1024px){
  .vp-related-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .vp-related-grid{grid-template-columns:1fr 1fr}
  .vp-title{font-size:1.75rem}
  .vp-author-row{margin-bottom:1rem}
  .vp-share{flex-direction:column;align-items:flex-start;gap:.75rem}
}
@media(max-width:480px){
  .vp-related-grid{grid-template-columns:1fr}
  .vp-title{font-size:1.5rem}
  .vp-meta-row{gap:8px}
}

/* ═══════════════════════════════════════════════════════════
   STANDALONE ARTICLE TEMPLATE — Contentful-inspired design
   ═══════════════════════════════════════════════════════════ */

/* ── Tokens ── */
.sa-hero,.sa-content-section,.sa-recommended{
  --sa-text:#2B2D31;--sa-muted:#6B7280;--sa-blue:#1770E5;--sa-blue-dk:#1260c7;
  --sa-gray:#55575B;--sa-bg:#EFF2F6;--sa-green:#E5FBE3;
  --sa-border:#DDE5EC;--sa-mw:1216px;--sa-font:var(--font)
}

/* ── READING PROGRESS BAR ── */
.sa-progress-bar{position:fixed;top:0;left:0;width:100%;height:6px;background:rgba(0,0,0,.08);z-index:9999}
.sa-progress-fill{height:100%;width:0;background-image:linear-gradient(90deg,#ff4800,#ff8c00,#ffca28);border-radius:0 3px 3px 0;transition:width .15s linear;will-change:width}

/* ── HERO ── */
.sa-hero{background:var(--sa-bg);overflow:hidden}
.sa-hero-grid{max-width:var(--sa-mw);margin:0 auto;padding:0 2rem;display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:center}
.sa-hero-text{padding:80px 0 64px}
.sa-breadcrumb{font-size:16px;color:var(--sa-text);margin-bottom:24px}
.sa-breadcrumb a{color:var(--sa-blue);text-decoration:none;transition:color .2s}
.sa-breadcrumb a:hover{color:var(--sa-blue-dk)}
.sa-breadcrumb span{margin:0 6px;color:var(--sa-text)}
.sa-breadcrumb-current{color:var(--sa-text)}
.sa-title{font-family:var(--sa-font);font-size:48px;font-weight:600;line-height:1.14;letter-spacing:-1px;color:var(--sa-text);margin-bottom:16px}
.sa-meta{display:flex;flex-wrap:wrap;align-items:center;gap:20px;margin-top:4px}
.sa-meta-item{display:inline-flex;align-items:center;gap:6px;font-size:15px;color:var(--sa-muted);font-weight:400}
.sa-meta-item svg{flex-shrink:0;opacity:.7}
.sa-read-time{font-weight:500;color:var(--sa-text);background:rgba(0,0,0,.06);padding:4px 12px;border-radius:20px;font-size:14px}
.sa-read-time svg{opacity:.9}
.sa-updated-date{color:var(--sa-blue)}
.sa-hero-img{display:flex;align-items:center;justify-content:center;padding:32px 0}
.sa-featured-img{width:100%;max-width:592px;height:auto;border-radius:20px;display:block;object-fit:cover}
.sa-img-placeholder{width:100%;max-width:592px;aspect-ratio:16/10;background:var(--sa-border);border-radius:20px}

/* ── CONTENT GRID (Sidebar + Article) ── */
.sa-content-section{max-width:var(--sa-mw);margin:0 auto;padding:64px 2rem}
.sa-content-grid{display:grid;grid-template-columns:260px 1fr;gap:48px}

/* ── SIDEBAR ── */
.sa-sidebar{position:relative}
.sa-sidebar-sticky{position:sticky;top:90px;display:flex;flex-direction:column;gap:20px}
.sa-sidebar-sticky .sa-toc{flex:1;display:flex;flex-direction:column;min-height:0;margin:0}
.sa-sidebar-label{font-size:16px;font-weight:600;color:var(--sa-text);margin-bottom:16px}
/* Sidebar "Written by" card — matches pillar sidebar design: white bg, grey border */
.sa-author-block{margin-bottom:24px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px}
.sa-author-row{display:flex;align-items:center;gap:12px}
.sa-avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;flex-shrink:0}
.sa-avatar-fallback{background:var(--sa-blue);color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:600}
.sa-author-name{font-size:14px;font-weight:600;color:var(--sa-text);margin:0}
.sa-author-role{font-size:14px;font-weight:400;color:var(--sa-text);margin:2px 0 0}
/* TOC sidebar card — uses pillar TOC styling (.plr-toc-list + scroll spy JS)
   Override: container chrome matches the Written-by card (white bg + grey border) */
.sa-toc{margin-top:0;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px;box-shadow:none}
.sa-sidebar-sticky .sa-toc .plr-toc-list{max-height:calc(100vh - 360px);overflow-y:auto;scroll-behavior:smooth;scrollbar-width:none;-ms-overflow-style:none}
.sa-sidebar-sticky .sa-toc .plr-toc-list::-webkit-scrollbar{display:none}
.sa-toc-list{list-style:none;padding:0;margin:0}
.sa-toc-item.active .sa-toc-link{color:var(--sa-blue);font-weight:600}
.sa-toc-link{display:block;padding:8px 16px;font-size:14px;color:var(--sa-gray);text-decoration:none;transition:color .2s}
.sa-toc-link:hover{color:var(--sa-blue)}
.sa-toc-sub{padding-left:12px}

/* ── TL;DR / KEY TAKEAWAYS ── */
.sa-tldr{background:var(--sa-green);border-radius:20px;padding:32px;margin-bottom:32px}
.sa-tldr-heading{font-size:18px;font-weight:400;color:var(--sa-text);margin-bottom:16px;display:flex;align-items:center;gap:8px}
.sa-tldr-heading strong{font-weight:700;font-size:20px}
.sa-tldr-heading em{font-style:italic;color:var(--sa-gray)}
.sa-tldr-icon{font-size:22px;line-height:1}
.sa-tldr-content{font-size:16px;line-height:1.6;color:var(--sa-text)}
.sa-tldr-content ul{padding-left:24px;list-style:disc}
.sa-tldr-content li{padding-bottom:8px}
.sa-tldr-content p{margin-bottom:8px}

/* ── ARTICLE BODY ── */
.sa-body{max-width:840px}
.sa-body p{font-size:20px;line-height:1.63;color:var(--sa-text);margin:0;padding-bottom:24px}
.sa-body h2{font-size:32px;font-weight:600;line-height:1.25;letter-spacing:-0.32px;color:var(--sa-text);padding-top:48px;padding-bottom:16px;margin:0}
.sa-body h3{font-size:26px;font-weight:600;line-height:1.15;letter-spacing:-0.32px;color:var(--sa-text);padding-top:32px;padding-bottom:8px;margin:0}
.sa-body h4{font-size:22px;font-weight:600;color:var(--sa-text);padding-top:24px;padding-bottom:8px;margin:0}
.sa-body a{color:var(--sa-blue);text-decoration:none}
.sa-body a:hover{text-decoration:underline}
.sa-body ul,.sa-body ol{padding-left:24px;margin:0;padding-bottom:24px}
.sa-body ul{list-style:disc}
.sa-body ol{list-style:decimal}
.sa-body li{font-size:20px;line-height:1.63;color:var(--sa-text);padding-bottom:8px}
.sa-body blockquote{margin:0 0 24px;padding:20px 28px;background:var(--sa-bg);border-radius:12px;font-size:20px;line-height:1.63;color:var(--sa-gray);font-style:italic}
.sa-body blockquote p{padding-bottom:0}
.sa-body img{max-width:100%;height:auto;border-radius:12px;margin:8px 0 24px}
.sa-body pre{background:#1e1e2e;color:#cdd6f4;padding:24px;border-radius:12px;overflow-x:auto;margin:0 0 24px;font-size:15px;line-height:1.7}
.sa-body code{font-family:'Fira Code',Consolas,monospace;font-size:.9em}
.sa-body p code{background:var(--sa-bg);padding:2px 6px;border-radius:4px;color:#d63384}
.sa-body figure{margin:0 0 24px}
.sa-body figcaption{font-size:14px;color:var(--sa-gray);text-align:center;margin-top:8px}
.sa-body hr{border:none;border-top:1px solid var(--sa-border);margin:48px 0}
.sa-body table{width:100%;border-collapse:collapse;margin:0 0 24px;font-size:16px}
.sa-body th{text-align:left;font-weight:600;padding:12px 16px;background:var(--sa-bg);border-bottom:2px solid var(--sa-border)}
.sa-body td{padding:12px 16px;border-bottom:1px solid var(--sa-border)}

/* ── KEY TAKEAWAY / CALLOUT BOX ── */
.skb-callout{position:relative;border:2px solid #1b3a4b;border-radius:12px;padding:32px 28px 24px;margin:32px 0;background:#f0f6fa}
.skb-callout-label{position:absolute;top:-14px;left:24px;display:inline-block;background:#1b3a4b;color:#fff;font-size:13px;font-weight:700;letter-spacing:1.2px;padding:5px 16px;border-radius:6px}
.skb-callout-body{margin-top:8px;font-size:18px;line-height:1.7;color:#2B2D31}
.skb-callout-body p{margin:0 0 12px}
.skb-callout-body p:last-child{margin-bottom:0}

/* ── FAQ ACCORDION ── */
.skb-faq{margin:48px 0}
.evt-faq{padding:48px 0 0}
.evt-faq .skb-faq{margin:0}
.skb-faq-title{font-size:32px;font-weight:700;color:#1b3a4b;margin-bottom:24px}
.skb-faq-list{display:flex;flex-direction:column;gap:12px}
.skb-faq-item{border:1px solid rgba(0,0,0,.1);border-radius:12px;background:#fff;overflow:hidden;transition:box-shadow .2s}
.skb-faq-item:hover{box-shadow:0 2px 8px rgba(0,0,0,.06)}
.skb-faq-item.open{border-color:rgba(0,0,0,.15)}
.skb-faq-question{display:flex;align-items:center;justify-content:space-between;width:100%;padding:20px 24px;border:none;background:none;cursor:pointer;text-align:left;font-family:inherit;font-size:18px;font-weight:600;color:#1b3a4b;gap:16px;transition:color .2s}
.skb-faq-question:hover{color:#ff4800}
.skb-faq-icon{flex-shrink:0;color:#ff4800;transition:transform .3s ease}
.skb-faq-item.open .skb-faq-icon{transform:rotate(45deg)}
.skb-faq-answer{max-height:0;overflow:hidden;transition:max-height .35s ease}
.skb-faq-item.open .skb-faq-answer{max-height:600px}
.skb-faq-answer-inner{padding:0 24px 20px;font-size:16px;line-height:1.7;color:#4b5563}
.skb-faq-answer-inner p{margin:0 0 12px}
.skb-faq-answer-inner p:last-child{margin-bottom:0}

/* ── AUTHOR BIO BOX ── */
/* Author bio box — matches pillar "Meet the Authors" card: white bg, #0e3b65 border */
.sa-author-bio-heading{font-family:var(--serif);font-size:1.75rem;font-weight:800;color:#0f172a;margin:56px 0 24px;letter-spacing:-.01em}
.sa-author-bio-box{background:#fff;border:1px solid #0e3b65;border-radius:16px;padding:32px 36px;margin-top:0}
.sa-author-bio-box .sa-bio-name{color:#0e3b65}
.sa-author-bio-box .sa-bio-footer{border-top-color:#e5e7eb}
.sa-bio-header{display:flex;align-items:center;gap:20px;margin-bottom:24px}
.sa-bio-avatar{width:88px;height:88px;border-radius:50%;object-fit:cover;flex-shrink:0;border:3px solid var(--sa-border)}
.sa-bio-avatar-fallback{background:#c4c8cc;color:#1b3a4b;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:700;border:3px solid var(--sa-border)}
.sa-bio-name{font-size:22px;font-weight:700;color:var(--sa-text);margin:0 0 4px}
.sa-bio-role{font-size:15px;color:var(--sa-muted);margin:0;line-height:1.4}
.sa-bio-text{font-size:16px;line-height:1.75;color:#374151;margin:0 0 24px}
.sa-bio-creds{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}
.sa-bio-cred{font-size:14px;font-weight:600;color:var(--sa-text);background:#fff;border:1px solid var(--sa-border);padding:8px 18px;border-radius:8px}
.sa-bio-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding-top:20px;border-top:1px solid var(--sa-border)}
.sa-bio-socials{display:flex;gap:10px}
.sa-bio-social{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;background:var(--sa-text);color:#fff;transition:background .2s}
.sa-bio-social:hover{background:var(--orange)}
.sa-bio-more{font-size:15px;font-weight:600;color:var(--orange);text-decoration:none;transition:color .2s}
.sa-bio-more:hover{color:var(--orange-dk)}

/* ── PROS & CONS ── */
.skb-proscons{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:32px 0}
.skb-pros{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;padding:28px 28px 24px}
.skb-cons{background:#fef2f2;border:1px solid #fecaca;border-radius:12px;padding:28px 28px 24px}
.skb-proscons-label{display:flex;align-items:center;gap:8px;margin-bottom:16px}
.skb-proscons-label span{font-size:20px;font-weight:700}
.skb-pros .skb-proscons-label span{color:#16a34a}
.skb-cons .skb-proscons-label span{color:#dc2626}
.skb-proscons-list{list-style:disc;padding-left:20px;margin:0}
.skb-proscons-list li{font-size:16px;line-height:1.7;color:#1f2937;margin-bottom:8px}
.skb-proscons-list li:last-child{margin-bottom:0}
@media(max-width:640px){.skb-proscons{grid-template-columns:1fr}}

/* ── CTA BOX ── */
.skb-cta-box{margin:40px 0;padding:4px;border-radius:20px;background:linear-gradient(135deg,#ff4800,#ff8c00,#ffca28)}
.skb-cta-inner{background:#fff;border-radius:16px;padding:40px 32px;text-align:center}
.skb-cta-title{font-size:22px;font-weight:700;color:#1b3a4b;margin:0 0 12px}
.skb-cta-text{font-size:16px;line-height:1.6;color:#4b5563;margin:0 0 24px;max-width:400px;margin-left:auto;margin-right:auto}
.skb-cta-btn{display:inline-block;background:#ff4800;color:#fff;font-size:18px;font-weight:600;padding:14px 48px;border-radius:12px;text-decoration:none;transition:background .2s,transform .2s}
.skb-cta-btn:hover{background:#e04000;transform:translateY(-1px)}

/* ── CONTENT CALLOUTS ── */
.skb-content-callout{font-family:var(--font)}
.skb-content-callout p{margin:0 0 8px}
.skb-content-callout p:last-child{margin-bottom:0}

/* Quick Summary Block */
.skb-quick-summary{background:#f0f4f8;border-radius:16px;padding:28px 32px;margin:32px 0}
.skb-qs-heading{font-family:var(--font);font-size:1.2rem;font-weight:700;color:#1f2937;margin-bottom:14px}
.skb-qs-content{font-family:var(--font);font-size:1rem;line-height:1.75;color:#374151}
.skb-qs-content p{margin:0 0 10px}
.skb-qs-content p:last-child{margin-bottom:0}
.skb-qs-content a{color:var(--orange);font-weight:500;text-decoration:none;border-bottom:1px solid rgba(255,107,53,.3);transition:border-color .2s}
.skb-qs-content a:hover{border-bottom-color:var(--orange)}
.skb-qs-content ul,.skb-qs-content ol{margin:8px 0 12px;padding-left:0}
.skb-qs-content ul li,.skb-qs-content ol li{padding:4px 0 4px 24px;position:relative}
.skb-qs-content ul li::before{content:'';position:absolute;left:8px;top:13px;width:6px;height:6px;border-radius:50%;background:var(--orange)}
.skb-qs-content ol{counter-reset:qs-counter}
.skb-qs-content ol li{counter-increment:qs-counter}
.skb-qs-content ol li::before{content:counter(qs-counter) '.';position:absolute;left:2px;top:4px;font-weight:700;color:var(--orange);font-size:.9rem}
.skb-qs-content strong{color:#1f2937;font-weight:600}

/* ── TAGS ── */
.sa-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:48px;padding-top:32px;border-top:1px solid var(--sa-border)}
.sa-tag{font-size:14px;font-weight:400;color:var(--sa-text);background:var(--sa-bg);padding:7px 12px;border-radius:6px;border:1px solid var(--sa-border)}

/* ── RECOMMENDED READING ── */
.sa-recommended{background:var(--sa-bg);padding:64px 0 80px;border-top:1px solid var(--sa-border)}
.sa-recommended-wrap{max-width:var(--sa-mw);margin:0 auto;padding:0 2rem}
.sa-recommended-header{margin-bottom:40px}
.sa-recommended-heading{font-size:32px;font-weight:700;color:var(--sa-text);margin:0 0 8px}
.sa-recommended-sub{font-size:16px;color:var(--sa-muted);margin:0}
.sa-recommended-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.sa-rec-card{display:flex;flex-direction:column;background:#fff;border-radius:16px;border:1px solid var(--sa-border);overflow:hidden;text-decoration:none;color:inherit;transition:transform .2s,box-shadow .2s}
.sa-rec-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(0,0,0,.08)}
.sa-rec-img{position:relative;aspect-ratio:16/10;overflow:hidden;background:#fff;display:flex;align-items:center;justify-content:center;padding:12px}
.sa-rec-badge{position:absolute;top:12px;right:12px;background:#f8d7c8;color:var(--sa-text);font-size:12px;font-weight:500;padding:4px 12px;border-radius:4px;z-index:2}
.sa-rec-thumb{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;transition:transform .3s}
.sa-rec-card:hover .sa-rec-thumb{transform:scale(1.04)}
.sa-rec-body{padding:20px 24px 24px;display:flex;flex-direction:column;flex:1}
.sa-rec-cat{font-size:12px;font-weight:700;color:var(--orange);text-transform:uppercase;letter-spacing:1px;margin-bottom:8px}
.sa-rec-title{font-size:18px;font-weight:600;color:var(--sa-text);line-height:1.4;margin:0 0 10px}
.sa-rec-card:hover .sa-rec-title{color:var(--sa-blue)}
.sa-rec-excerpt{font-size:14px;line-height:1.6;color:var(--sa-muted);margin:0 0 auto;padding-bottom:16px}
.sa-rec-meta{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--sa-muted);padding-top:12px;border-top:1px solid var(--sa-border)}
.sa-rec-time{font-weight:500}

/* ── RESPONSIVE ── */
@media(max-width:1024px){
  .sa-hero-grid{grid-template-columns:1fr;gap:0}
  .sa-hero-text{padding:48px 0 24px}
  .sa-hero-img{padding:0 0 32px}
  .sa-title{font-size:36px}
  .sa-content-grid{grid-template-columns:220px 1fr;gap:32px}
  .sa-recommended-heading{font-size:28px}
  .sa-recommended-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .sa-content-grid{grid-template-columns:1fr}
  .sa-sidebar-sticky{position:static}
  .sa-toc{display:none}
  .sa-title{font-size:28px}
  .sa-meta{gap:12px}
  .sa-meta-item{font-size:13px}
  .sa-body p,.sa-body li{font-size:18px}
  .sa-body h2{font-size:26px}
  .sa-body h3{font-size:22px}
  .sa-recommended-heading{font-size:24px}
  .sa-recommended-grid{grid-template-columns:1fr}
  .sa-hero-text{padding:32px 0 16px}
  .sa-author-bio-box{padding:28px 20px}
  .sa-bio-header{gap:14px}
  .sa-bio-avatar{width:64px;height:64px}
}

/* ═══════════════════════════════════════════════════════════════
   AI PROMPT ARTICLE TEMPLATE  (.aip-*)
   ═══════════════════════════════════════════════════════════════ */

/* ── Progress Bar ── */
.aip-progress-bar{position:fixed;top:0;left:0;width:100%;height:4px;z-index:9999;background:transparent;pointer-events:none}
.aip-progress-fill{height:100%;width:0;background:linear-gradient(90deg,var(--orange),#ff6a33);transition:width .1s linear;border-radius:0 2px 2px 0}

/* ── Breadcrumb ── */
.aip-breadcrumb-bar{background:var(--bg-light);border-bottom:1px solid var(--border-light);padding:12px 0}
.aip-breadcrumb{display:flex;align-items:center;gap:8px;font-size:.82rem;color:var(--text-muted);flex-wrap:wrap}
.aip-breadcrumb a{color:var(--text-light);transition:color var(--ease)}
.aip-breadcrumb a:hover{color:var(--orange)}
.aip-bc-sep{color:var(--border);font-size:.75rem}
.aip-bc-current{color:var(--text-dark);font-weight:500}

/* ── Article Header ── */
.aip-header{background:linear-gradient(135deg,#f5f8fa 0%,#fff3f0 100%);padding:48px 0 40px;border-bottom:1px solid var(--border-light)}
.aip-hero-split{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.aip-hero-content{display:flex;flex-direction:column;justify-content:center}
.aip-cat-badge{display:inline-block;background:none;color:var(--teal);font-family:var(--font);font-size:.82rem;font-weight:600;margin-bottom:14px;text-decoration:none;letter-spacing:.02em;transition:color var(--ease)}
.aip-cat-badge:hover{color:var(--teal-dk)}
.aip-title{font-family:var(--serif);font-size:2.25rem;font-weight:700;color:var(--text-dark);line-height:1.25;margin-bottom:20px}
.aip-meta-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-family:var(--font);font-size:.85rem;color:var(--text-light)}
.aip-meta-dot{color:var(--border);font-size:.6rem}
.aip-meta-item{display:inline-flex;align-items:center;gap:4px}
.aip-hero-thumb{border-radius:12px;overflow:hidden}
.aip-hero-img{width:100%;height:100%;object-fit:cover;display:block;border-radius:12px}

/* ── Post Tags (shared across all templates) ── */
.skb-post-tags{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:24px 0;margin-bottom:8px;border-top:1px solid var(--border-light)}
.skb-tags-label{font-family:var(--font);font-size:.8rem;font-weight:600;color:var(--text-muted)}
.skb-post-tag{display:inline-block;font-family:var(--font);font-size:.78rem;font-weight:500;color:var(--text-light);background:var(--bg-light);padding:5px 14px;border-radius:20px;border:1px solid var(--border-light);transition:all var(--ease);text-decoration:none}
.skb-post-tag:hover{color:var(--orange);border-color:var(--orange);background:var(--orange-light)}

/* ── Content Grid ── */
.aip-content-section{padding:48px 0 64px}
.aip-grid{display:grid;grid-template-columns:300px 1fr;gap:48px}
.aip-sidebar{order:-1}
.aip-article{order:1}

/* ── Quick Summary ── */
.aip-summary{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:var(--rl);padding:24px 28px;margin-bottom:36px}
.aip-summary-heading{display:flex;align-items:center;gap:8px;font-size:.95rem;color:#15803d;margin-bottom:12px}
.aip-summary-content{font-size:.92rem;color:#166534;line-height:1.7}
.aip-summary-content p{margin-bottom:8px}
.aip-summary-content p:last-child{margin-bottom:0}
.aip-summary-content ul,.aip-summary-content ol{padding-left:0;list-style:none;margin:8px 0 0}
.aip-summary-content li{position:relative;padding-left:22px;margin-bottom:8px;line-height:1.6}
.aip-summary-content li:last-child{margin-bottom:0}
.aip-summary-content li::before{content:'';position:absolute;left:0;top:8px;width:8px;height:8px;background:#16a34a;border-radius:50%;opacity:.7}

/* ── Article Body ── */
.aip-body{font-size:1.1rem;line-height:1.8;color:var(--text-dark)}
.aip-body p{margin-bottom:1.5em}
.aip-body h2{font-family:var(--font);font-size:1.65rem;font-weight:700;color:var(--text-dark);margin:2.5em 0 .75em;padding-bottom:.5em;border-bottom:2px solid var(--border-light)}
.aip-body h3{font-family:var(--font);font-size:1.3rem;font-weight:700;color:var(--text-dark);margin:2em 0 .6em}
.aip-body h4{font-size:1.1rem;font-weight:700;margin:1.5em 0 .5em}
.aip-body ul,.aip-body ol{padding-left:1.5em;margin-bottom:1.5em}
.aip-body ul{list-style:disc}
.aip-body ol{list-style:decimal}
.aip-body li{margin-bottom:.5em;line-height:1.7}
.aip-body a{color:var(--orange);font-weight:500;text-decoration:underline;text-underline-offset:2px}
.aip-body a:hover{color:var(--orange-dk)}
.aip-body blockquote{background:var(--bg-light);padding:22px 28px;margin:1.5em 0;border-radius:var(--r);font-style:italic;color:var(--text-light)}
.aip-body pre{background:#1e293b;color:#e2e8f0;padding:20px 24px;border-radius:var(--rl);overflow-x:auto;margin:1.5em 0;font-size:.88rem;line-height:1.6}
.aip-body code{background:var(--bg-light);padding:2px 6px;border-radius:var(--r);font-size:.9em}
.aip-body pre code{background:none;padding:0}
.aip-body img{border-radius:var(--rl);margin:1.5em 0}
.aip-body table{width:100%;border-collapse:collapse;margin:1.5em 0;font-size:.95rem}
.aip-body th,.aip-body td{padding:12px 16px;border:1px solid var(--border);text-align:left}
.aip-body th{background:var(--bg-light);font-weight:600}
.aip-body figure{margin:1.5em 0}
.aip-body figcaption{font-size:.82rem;color:var(--text-muted);text-align:center;margin-top:8px}

/* ── AI Transparency Badge ── */
.aip-transparency{display:flex;align-items:flex-start;gap:16px;background:linear-gradient(135deg,#1e40af 0%,#3b82f6 100%);border-radius:var(--rl);padding:24px 28px;margin:40px 0;color:#fff}
.aip-transparency-icon{flex-shrink:0;width:48px;height:48px;background:rgba(255,255,255,.15);border-radius:12px;display:flex;align-items:center;justify-content:center}
.aip-transparency-label{display:block;font-size:1rem;font-weight:700;margin-bottom:4px}
.aip-transparency-reviewer{display:block;font-size:.88rem;opacity:.9;margin-bottom:6px}
.aip-transparency-note{display:block;font-size:.78rem;opacity:.7;line-height:1.5}

/* ── Sources ── */
.aip-sources{margin:40px 0;padding:28px;background:var(--bg-light);border-radius:var(--rl);border:1px solid var(--border-light)}
.aip-sources-heading{font-family:var(--font);font-size:1.3rem;margin-bottom:16px;padding-bottom:12px;border-bottom:2px solid var(--border-light)}
.aip-sources-list{list-style:none;padding:0;counter-reset:none}
.aip-source-item{display:flex;align-items:baseline;gap:10px;padding:8px 0;font-size:.9rem;line-height:1.6;border-bottom:1px solid var(--border-light)}
.aip-source-item:last-child{border-bottom:none}
.aip-source-num{flex-shrink:0;width:24px;height:24px;background:var(--orange-light);color:var(--orange);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700}
.aip-source-item a{color:var(--orange);text-decoration:underline;text-underline-offset:2px;word-break:break-all}
.aip-source-item a:hover{color:var(--orange-dk)}

/* ── Author Bio ── */
.aip-author-bio{background:var(--bg);border:1px solid var(--border);border-radius:var(--rl);padding:32px;margin-top:40px}
.aip-bio-header{display:flex;align-items:center;gap:16px;margin-bottom:16px}
.aip-bio-avatar{width:72px;height:72px;border-radius:50%;object-fit:cover;flex-shrink:0}
.aip-bio-avatar-fallback{display:flex;align-items:center;justify-content:center;background:var(--orange);color:#fff;font-size:1.5rem;font-weight:700}
.aip-bio-name{font-family:var(--font);font-size:1.15rem;font-weight:700;color:var(--text-dark);margin-bottom:2px}
.aip-bio-role{font-size:.85rem;color:var(--text-light)}
.aip-bio-text{font-size:.92rem;color:var(--text-light);line-height:1.7;margin-bottom:14px}
.aip-bio-creds{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px}
.aip-bio-cred{background:var(--bg-light);color:var(--text-light);font-size:.75rem;font-weight:500;padding:4px 10px;border-radius:var(--r);border:1px solid var(--border-light)}
.aip-bio-footer{display:flex;align-items:center;justify-content:space-between;padding-top:16px;border-top:1px solid var(--border-light)}
.aip-bio-socials{display:flex;gap:10px}
.aip-bio-social{color:var(--text-muted);transition:color var(--ease)}
.aip-bio-social:hover{color:var(--orange)}
.aip-bio-more{font-size:.85rem;font-weight:600;color:var(--orange)}
.aip-bio-more:hover{color:var(--orange-dk)}

/* ── Sidebar ── */
.aip-sidebar-sticky{position:sticky;top:80px}
.aip-sidebar-label{font-family:var(--font);font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);margin-bottom:14px}

/* TOC */
/* ── Sidebar: Written By ── */
.aip-sidebar-author{margin-bottom:28px;padding:20px;background:var(--bg-light);border-radius:var(--rl);border:1px solid var(--border-light)}
.aip-sidebar-author-card{display:flex;align-items:center;gap:12px;text-decoration:none;transition:opacity var(--ease)}
.aip-sidebar-author-card:hover{opacity:.85}
.aip-sidebar-avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;flex-shrink:0}
.aip-sidebar-author-info{display:flex;flex-direction:column;gap:2px}
.aip-sidebar-author-name{font-family:var(--font);font-size:.92rem;font-weight:700;color:var(--text-dark)}
.aip-sidebar-author-role{font-family:var(--font);font-size:.78rem;color:var(--text-light)}

/* ── Sidebar: On This Page (TOC) ── */
.aip-toc{margin-bottom:28px;padding:20px;background:var(--bg-light);border-radius:var(--rl);border:1px solid var(--border-light)}
.aip-toc-list{padding:0;list-style:none}
.aip-toc-item{margin-bottom:2px}
.aip-toc-item.active .aip-toc-link{color:var(--orange);font-weight:600}
.aip-toc-link{display:block;padding:6px 14px;font-size:.84rem;color:var(--text-light);transition:all var(--ease);line-height:1.4}
.aip-toc-link:hover{color:var(--orange)}
.aip-toc-sub{padding-left:12px}
.aip-toc-sub .aip-toc-link{font-size:.8rem}

/* Newsletter */
.aip-newsletter{background:var(--hero-bg);border-radius:var(--rl);padding:24px;margin-bottom:28px;color:var(--hero-text)}
.aip-newsletter-heading{font-family:var(--font);font-size:1.1rem;font-weight:700;margin-bottom:6px}
.aip-newsletter-sub{font-size:.82rem;opacity:.8;line-height:1.5;margin-bottom:16px}
.aip-newsletter-form{display:flex;flex-direction:column;gap:8px}
.aip-newsletter-input{width:100%;padding:10px 14px;border:1px solid rgba(255,255,255,.2);border-radius:var(--r);background:rgba(255,255,255,.1);color:#fff;font-size:.88rem;font-family:var(--font)}
.aip-newsletter-input::placeholder{color:rgba(255,255,255,.5)}
.aip-newsletter-input:focus{outline:none;border-color:var(--orange);background:rgba(255,255,255,.15)}
.aip-newsletter-btn{width:100%;padding:10px 14px;background:var(--orange);color:#fff;border:none;border-radius:var(--r);font-size:.88rem;font-weight:600;font-family:var(--font);cursor:pointer;transition:background var(--ease)}
.aip-newsletter-btn:hover{background:var(--orange-dk)}
.aip-newsletter-note{font-size:.72rem;opacity:.5;margin-top:8px;text-align:center}

/* Sidebar Widgets */
.aip-widget{margin-bottom:28px;padding:20px;background:var(--bg-light);border-radius:var(--rl);border:1px solid var(--border-light)}

/* Course Cards */
.aip-course-card{display:flex;gap:14px;padding:14px 0;border-bottom:1px solid var(--border-light);align-items:center;transition:background var(--ease)}
.aip-course-card:last-child{border-bottom:none}
.aip-course-card:hover{background:rgba(0,0,0,.015)}
.aip-course-thumb{width:64px;height:48px;border-radius:6px;object-fit:cover;flex-shrink:0}
.aip-course-info{min-width:0;display:flex;flex-direction:column;gap:3px}
.aip-course-title{display:block;font-family:var(--font);font-size:.84rem;font-weight:600;color:var(--text-dark);line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;transition:color var(--ease)}
.aip-course-meta{font-family:var(--font);font-size:.72rem;color:var(--text-muted)}
.aip-course-card:hover .aip-course-title{color:var(--orange)}

/* Popular Articles */
.aip-popular-list{display:flex;flex-direction:column;gap:0}
.aip-popular-card{display:flex;gap:14px;padding:14px 0;border-bottom:1px solid var(--border-light);align-items:center;transition:background var(--ease)}
.aip-popular-card:last-child{border-bottom:none}
.aip-popular-card:hover{background:rgba(0,0,0,.015)}
.aip-popular-thumb-wrap{flex-shrink:0;width:72px;height:52px;border-radius:6px;overflow:hidden;background:var(--bg-light)}
.aip-popular-thumb{width:100%;height:100%;object-fit:cover;display:block}
.aip-popular-placeholder{width:100%;height:100%;background:linear-gradient(135deg,var(--bg-light) 0%,var(--border-light) 100%)}
.aip-popular-info{min-width:0;display:flex;flex-direction:column;gap:3px}
.aip-popular-title{font-family:var(--font);font-size:.84rem;font-weight:600;color:var(--text-dark);line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;transition:color var(--ease)}
.aip-popular-card:hover .aip-popular-title{color:var(--orange)}
.aip-popular-date{font-size:.72rem;color:var(--text-muted);letter-spacing:.01em}

/* Tag Cloud */
.aip-tag-cloud{display:flex;flex-wrap:wrap;gap:6px}
.aip-tag{display:inline-block;padding:4px 12px;font-size:.78rem;font-weight:500;color:var(--text-light);background:var(--bg);border:1px solid var(--border);border-radius:20px;transition:all var(--ease)}
.aip-tag:hover{border-color:var(--orange);color:var(--orange);background:var(--orange-light)}

/* ── Recommended Grid ── */
.aip-recommended{padding:72px 0;background:var(--bg-light);border-top:1px solid var(--border-light)}
.aip-recommended-heading{font-family:var(--font);font-size:1.5rem;font-weight:700;color:var(--text-dark);margin-bottom:6px;letter-spacing:-.02em}
.aip-recommended-sub{font-size:.88rem;color:var(--text-light);margin-bottom:36px}
.aip-recommended-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.aip-rec-card{background:var(--bg);border-radius:12px;overflow:hidden;border:1px solid var(--border-light);transition:box-shadow var(--ease),transform var(--ease)}
.aip-rec-card:hover{box-shadow:var(--sh-m);transform:translateY(-3px)}
.aip-rec-img{position:relative;aspect-ratio:16/10;overflow:hidden;background:var(--bg-light)}
.aip-rec-thumb{width:100%;height:100%;object-fit:cover}
.aip-img-placeholder{width:100%;height:100%;background:linear-gradient(135deg,var(--bg-light),var(--orange-light))}
.aip-rec-body{padding:20px 22px 22px}
.aip-rec-cat{display:inline-block;font-family:var(--font);font-size:.7rem;font-weight:600;color:var(--orange);text-transform:uppercase;letter-spacing:.04em;margin-bottom:8px}
.aip-rec-title{font-family:var(--font);font-size:.95rem;font-weight:700;color:var(--text-dark);line-height:1.4;margin-bottom:8px;letter-spacing:-.01em}
.aip-rec-excerpt{font-family:var(--font);font-size:.84rem;color:var(--text-light);line-height:1.55;margin-bottom:12px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.aip-rec-meta{display:flex;gap:12px;font-family:var(--font);font-size:.75rem;color:var(--text-muted)}

/* ── Responsive ── */
@media(max-width:768px){
  .aip-grid{grid-template-columns:1fr;gap:32px}
  .aip-sidebar-sticky{position:static}
  .aip-hero-split{grid-template-columns:1fr;gap:24px}
  .aip-hero-thumb{max-height:300px}
  .aip-title{font-size:1.65rem}
  .aip-meta-row{gap:6px}
  .aip-meta-dot{display:none}
  .aip-meta-row{flex-direction:column;align-items:flex-start;gap:6px}
  .aip-header{padding:32px 0 28px}
  .aip-body{font-size:1rem}
  .aip-body h2{font-size:1.35rem}
  .aip-body h3{font-size:1.15rem}
  .aip-recommended-grid{grid-template-columns:1fr}
  .aip-recommended-heading{font-size:1.35rem}
  .aip-author-bio{padding:24px 20px}
  .aip-bio-avatar{width:56px;height:56px}
  .aip-content-section{padding:32px 0 48px}
}
@media(max-width:480px){
  .aip-title{font-size:1.4rem}
  .aip-header{padding:24px 0 20px}
  .aip-summary{padding:18px 20px}
  .aip-sources{padding:20px}
  .aip-body h2{font-size:1.2rem}
  .aip-body p,.aip-body li{font-size:.95rem}
  .aip-recommended-grid{gap:16px}
  .aip-bio-header{flex-direction:column;text-align:center}
  .aip-bio-footer{flex-direction:column;gap:12px;align-items:center}
}

/* Old stp- styles removed — see consolidated block below */
/* ═══════════════════════════════════════════════════════════════
   PILLAR ARTICLE TEMPLATE (plr-)
   ═══════════════════════════════════════════════════════════════ */

/* Layout */
.plr-content-section{padding:40px 0 60px}
.plr-grid{display:grid;grid-template-columns:300px 1fr;gap:48px}
.plr-sidebar{order:-1}
.plr-article{order:1}
.plr-article{min-width:0}

/* Header */
.plr-header{margin-bottom:40px}
.plr-cat-badge{display:inline-block;background:var(--orange-light);color:var(--orange);font-size:.8rem;font-weight:600;padding:5px 14px;border-radius:20px;margin-bottom:16px;text-transform:uppercase;letter-spacing:.5px}
.plr-title{font-family:var(--serif);font-size:2rem;font-weight:800;color:var(--text-dark);line-height:1.2;margin-bottom:20px}
.plr-subtitle{font-size:1.05rem;color:var(--text-light);line-height:1.7;margin-bottom:24px;max-width:680px}

/* Meta row */
.plr-meta-row{display:flex;flex-wrap:wrap;align-items:center;gap:20px;padding:16px 0;border-top:1px solid var(--border-light);border-bottom:1px solid var(--border-light)}
.plr-meta-author{display:flex;align-items:center;gap:10px}
.plr-meta-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover}
.plr-meta-avatar-fallback{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--hero-bg),#0a3d40);color:#fff;font-weight:700;font-size:.85rem}
.plr-meta-author-info{display:flex;flex-direction:column;line-height:1.3}
.plr-meta-name{font-weight:600;font-size:.9rem;color:var(--text-dark)}
.plr-meta-role{font-size:.78rem;color:var(--text-muted)}
.plr-meta-sep{width:1px;height:20px;background:var(--border)}
.plr-meta-item{display:flex;align-items:center;gap:6px;font-size:.84rem;color:var(--text-light)}
.plr-meta-item svg{color:var(--text-muted)}
.plr-updated-badge{display:inline-flex;align-items:center;gap:6px;background:#e8f5e9;color:#2e7d32;font-size:.78rem;font-weight:600;padding:4px 12px;border-radius:20px}
.plr-share-btns{display:flex;align-items:center;gap:8px}
.plr-share-btn{width:36px;height:36px;border-radius:8px;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;color:var(--text-light);font-size:.9rem;cursor:pointer;transition:all .2s;background:#fff}
.plr-share-btn:hover{border-color:var(--orange);color:var(--orange);background:var(--orange-light)}

/* Pillar Navigation Box */
.plr-nav-box{background:linear-gradient(135deg,#f4fdf8,#eef5ff);border:2px solid #d4e4f7;border-radius:16px;padding:32px;margin-bottom:40px;position:relative;overflow:hidden}
.plr-nav-box::before{content:'';position:absolute;top:0;left:0;width:6px;height:100%;background:linear-gradient(180deg,var(--hero-bg),var(--orange));border-radius:3px 0 0 3px}
.plr-nav-title{font-family:var(--font);font-size:1.25rem;font-weight:800;color:var(--text-dark);margin-bottom:8px;display:flex;align-items:center;gap:10px}
.plr-nav-subtitle{font-size:.88rem;color:var(--text-light);margin-bottom:20px}
.plr-module-list{display:flex;flex-direction:column}
.plr-module-item{display:flex;align-items:flex-start;gap:12px;padding:10px 0;border-bottom:1px solid rgba(0,0,0,.06);cursor:pointer;transition:all .2s;text-decoration:none;color:inherit}
.plr-module-item:last-child{border-bottom:none}
.plr-module-item:hover{padding-left:6px}
.plr-module-item:hover .plr-module-num{background:var(--orange);color:#fff}
.plr-module-num{width:28px;height:28px;min-width:28px;border-radius:8px;background:#d4e4f7;color:var(--text-dark);display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700;transition:all .2s;flex-shrink:0;margin-top:2px}
.plr-module-text{font-size:.88rem;color:var(--text);font-weight:500;line-height:1.4;padding-top:3px}
.plr-module-text a{color:var(--text);text-decoration:none}
.plr-module-text a:hover{color:var(--orange)}
.plr-module-text svg{margin-left:6px;vertical-align:middle;opacity:.6}

/* Subtopic link variant in module list */
.plr-module-subtopic{background:rgba(255,72,0,.08);border-radius:10px;padding:10px 14px;margin:4px 0;border-bottom:none}
.plr-module-subtopic .plr-module-num{background:var(--orange);color:#fff}
.plr-module-subtopic .plr-module-text{color:var(--orange);font-weight:600}

/* Article Body */
.plr-body{font-size:1.05rem;color:var(--text);line-height:1.78}
.plr-body h2{font-family:var(--font);font-size:1.65rem;font-weight:700;color:var(--text-dark);margin:48px 0 18px;padding-top:12px;border-top:2px solid var(--border-light)}
.plr-body h2:first-of-type{border-top:none;margin-top:0}
.plr-body h3{font-family:var(--font);font-size:1.25rem;font-weight:700;color:var(--text-dark);margin:32px 0 12px}
.plr-body p{margin-bottom:18px}
.plr-body ul,.plr-body ol{margin:16px 0 24px;padding-left:0}
.plr-body ul li,.plr-body ol li{padding:6px 0 6px 28px;position:relative;color:var(--text)}
.plr-body ul li::before{content:'';position:absolute;left:8px;top:15px;width:7px;height:7px;border-radius:50%;background:var(--orange)}
/* Ordered list numbering — counter lives on .plr-body (not per <ol>) so that
   multiple consecutive <ol> blocks (e.g. from Google Docs copy-paste where each
   list item becomes its own <ol>) continue the count instead of restarting at 1.
   The counter resets at each heading so intentionally separate lists still
   renumber cleanly under a new H2/H3/H4. */
.plr-body{counter-reset:list-counter}
.plr-body h2,.plr-body h3,.plr-body h4,.plr-body h5,.plr-body h6{counter-reset:list-counter}
.plr-body ol{counter-reset:none}
.plr-body ol li{counter-increment:list-counter}
.plr-body ol li::before{content:counter(list-counter) '.';position:absolute;left:2px;top:6px;font-weight:700;color:var(--orange);font-size:.95rem}
.plr-body a{color:var(--text-dark);font-weight:500;border-bottom:1px solid rgba(0,0,0,.2)}
.plr-body a:hover{color:var(--orange);border-bottom-color:var(--orange)}
.plr-body strong{color:var(--text-dark);font-weight:600}
.plr-body blockquote{background:var(--orange-light);padding:26px 32px;margin:28px 0;border-radius:12px;font-style:italic;color:var(--text-light);font-size:1.05rem;line-height:1.7}
.plr-body blockquote cite{display:block;margin-top:10px;font-style:normal;font-weight:600;color:var(--text-dark);font-size:.9rem}

/* Tables */
.plr-body .styled-table-wrap,
.plr-body table{overflow-x:auto;margin:24px 0 32px;border-radius:12px;box-shadow:0 0 8px rgba(0,0,0,.08)}
.plr-body table{width:100%;border-collapse:collapse;font-size:.92rem}
.plr-body thead{background:var(--hero-bg)}
.plr-body th{padding:14px 18px;color:#fff;font-weight:600;text-align:left;font-size:.85rem;text-transform:uppercase;letter-spacing:.3px}
.plr-body td{padding:14px 18px;border-bottom:1px solid var(--border-light);color:var(--text)}
.plr-body tbody tr:hover{background:var(--bg-light)}
.plr-body tbody tr:last-child td{border-bottom:none}

/* Subtopic Hub */
.plr-subtopic-hub{margin:48px 0}
.plr-hub-header{display:flex;align-items:center;gap:12px;margin-bottom:8px}
.plr-hub-header h2{font-family:var(--font);font-size:1.6rem;margin:0;border:none;padding:0}
.plr-hub-sub{color:var(--text-light);font-size:.92rem;margin-bottom:28px}
.plr-subtopic-grid{display:grid;grid-template-columns:1fr;gap:18px}
.plr-subtopic-card{background:#fff;border:2px solid var(--border-light);border-radius:14px;padding:24px 28px;display:flex;align-items:flex-start;gap:18px;transition:all .25s;cursor:pointer;position:relative;overflow:hidden;text-decoration:none;color:inherit}
.plr-subtopic-card::before{content:'';position:absolute;top:0;left:0;width:4px;height:100%;background:var(--orange);opacity:0;transition:opacity .25s}
.plr-subtopic-card:hover{border-color:var(--orange);box-shadow:0 4px 20px rgba(255,72,0,.12);transform:translateY(-2px)}
.plr-subtopic-card:hover::before{opacity:1}
.plr-subtopic-num{width:42px;height:42px;min-width:42px;border-radius:12px;background:linear-gradient(135deg,var(--hero-bg),#0a3d40);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1rem;flex-shrink:0}
.plr-subtopic-content{flex:1}
.plr-subtopic-content h4{font-family:var(--font);font-size:1.05rem;color:var(--text-dark);margin-bottom:6px;font-weight:700}
.plr-subtopic-content p{font-size:.88rem;color:var(--text-light);line-height:1.6;margin-bottom:10px}
.plr-subtopic-footer{display:flex;align-items:center;justify-content:space-between}
.plr-subtopic-time{font-size:.78rem;color:var(--text-muted);display:flex;align-items:center;gap:5px}
.plr-subtopic-arrow{color:var(--orange);font-weight:600;font-size:.85rem;display:flex;align-items:center;gap:6px;transition:gap .2s}
.plr-subtopic-card:hover .plr-subtopic-arrow{gap:10px}

/* FAQ */
.plr-faq{margin:48px 0}
.plr-faq .skb-faq-title{font-family:var(--font);font-size:1.6rem;margin-bottom:24px}

/* Author Bio */
.plr-author-bio{background:var(--bg-light);border-radius:16px;padding:32px;margin:48px 0;display:flex;gap:24px;align-items:flex-start;border:1px solid var(--border-light)}
.plr-bio-photo{flex-shrink:0}
.plr-bio-avatar{width:90px;height:90px;min-width:90px;border-radius:50%;object-fit:cover}
.plr-bio-avatar-fallback{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--hero-bg),#0a3d40);color:#fff;font-size:1.8rem;font-weight:800;width:90px;height:90px;border-radius:50%}
.plr-bio-content{flex:1}
.plr-bio-label{font-size:.72rem;text-transform:uppercase;letter-spacing:1.5px;color:var(--text-muted);margin-bottom:4px;font-weight:600}
.plr-bio-name{font-family:var(--font);font-size:1.2rem;color:var(--text-dark);margin-bottom:4px;font-weight:800}
.plr-bio-role{font-size:.88rem;color:var(--text-light);margin-bottom:12px}
.plr-bio-text{font-size:.9rem;color:var(--text-light);line-height:1.7;margin-bottom:14px}
.plr-bio-creds{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.plr-bio-cred{background:#e8f5e9;color:#2e7d32;font-size:.72rem;font-weight:600;padding:4px 12px;border-radius:20px}
.plr-bio-footer{display:flex;align-items:center;justify-content:space-between;margin-top:8px}
.plr-bio-socials{display:flex;gap:10px}
.plr-bio-social{width:32px;height:32px;border-radius:8px;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;color:var(--text-light);transition:all .2s}
.plr-bio-social:hover{border-color:var(--text-dark);color:var(--text-dark);background:var(--bg-light)}
.plr-bio-more{font-size:.85rem;color:var(--orange);font-weight:600;display:inline-flex;align-items:center;gap:6px}
.plr-bio-more:hover{gap:10px}

/* Related Content */
.plr-related{margin:0}
.plr-related-heading{font-family:var(--font);font-size:1.5rem;margin-bottom:24px}
.plr-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.plr-related-card{background:#fff;border-radius:12px;box-shadow:var(--sh);overflow:hidden;transition:all .25s;text-decoration:none;color:inherit}
.plr-related-card:hover{transform:translateY(-4px);box-shadow:var(--sh-m)}
.plr-related-img{height:160px;background:var(--bg-light);overflow:hidden;display:flex;align-items:center;justify-content:center}
.plr-related-thumb{width:100%;height:100%;object-fit:cover}
.plr-img-placeholder{width:100%;height:100%;background:linear-gradient(135deg,var(--bg-light),#d4e4f7)}
.plr-related-body{padding:18px}
.plr-related-cat{font-size:.72rem;font-weight:600;color:var(--orange);text-transform:uppercase;letter-spacing:.5px;margin-bottom:6px;display:block}
.plr-related-body h4{font-family:var(--font);font-size:1rem;color:var(--text-dark);margin-bottom:8px;line-height:1.4;font-weight:700}
.plr-related-meta{font-size:.78rem;color:var(--text-muted);display:flex;align-items:center;gap:12px}

/* Recent Posts */
.plr-recent{margin:0 0 48px}
.plr-recent-heading{font-family:var(--font);font-size:1.2rem;margin-bottom:16px;color:var(--text-dark);font-weight:700}
.plr-recent-list{display:flex;flex-direction:column;gap:0}
.plr-recent-item{display:flex;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid var(--border-light);text-decoration:none;color:inherit;transition:background .2s}
.plr-recent-item:last-child{border-bottom:none}
.plr-recent-item:hover{background:var(--bg-light);border-radius:8px;padding-left:8px}
.plr-recent-num{width:32px;height:32px;min-width:32px;border-radius:8px;background:var(--bg-light);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.85rem;color:var(--text-dark)}
.plr-recent-info{flex:1}
.plr-recent-info h5{font-family:var(--font);font-size:.92rem;color:var(--text-dark);font-weight:600;margin-bottom:2px;line-height:1.4}
.plr-recent-info span{font-size:.76rem;color:var(--text-muted)}

/* ── Sidebar ── */
.plr-sidebar{position:relative}
.plr-sidebar-sticky{position:sticky;top:90px;display:flex;flex-direction:column;gap:24px}
.plr-sidebar-toc-card{flex:1;display:flex;flex-direction:column;min-height:0}
.plr-sidebar-extra{display:flex;flex-direction:column;gap:24px;margin-top:24px}

/* Full-width sections below the grid */
.plr-fullwidth-section{padding:56px 0;border-top:2px solid var(--border-light)}
.plr-sidebar-card{background:#fff;border-radius:12px;box-shadow:0 0 8px rgba(0,0,0,.08);padding:24px}
.plr-sidebar-title{font-family:var(--font);font-size:1rem;font-weight:700;color:var(--text-dark);margin-bottom:16px;padding-bottom:10px;border-bottom:2px solid var(--border-light)}

/* Author */
.plr-sidebar-author-row{display:flex;align-items:center;gap:12px}
.plr-sidebar-avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;flex-shrink:0}
.plr-sidebar-avatar-fallback{display:flex;align-items:center;justify-content:center;background:var(--orange);color:#fff;font-size:.9rem;font-weight:700}
.plr-sidebar-author-name{display:block;font-family:var(--font);font-size:.92rem;font-weight:700;color:var(--text-dark)}
.plr-sidebar-author-namelink{color:inherit;text-decoration:none;transition:color .2s}
.plr-sidebar-author-namelink:hover{color:#1a56db}
.plr-sidebar-avatar-link{display:inline-block;line-height:0}
.plr-sidebar-author-role{display:block;font-family:var(--font);font-size:.78rem;color:var(--text-light);margin-top:2px}

/* TOC */
.plr-toc-list{display:flex;flex-direction:column;gap:2px;list-style:none;padding:0;margin:0;max-height:calc(100vh - 340px);overflow-y:auto;scroll-behavior:smooth;scrollbar-width:none;-ms-overflow-style:none}
.plr-toc-list::-webkit-scrollbar{display:none}
.plr-toc-link{display:block;padding:7px 12px;font-size:.84rem;color:var(--text-light);border-radius:6px;transition:background-color .2s,color .2s;line-height:1.4}
.plr-toc-link:hover{color:var(--text-dark);background:var(--bg-light)}
.plr-toc-link.active{color:var(--orange);background:var(--orange-light);font-weight:600}
.plr-toc-h3{padding-left:24px;font-size:.8rem;color:var(--text-muted)}
.plr-toc-h4{padding-left:36px;font-size:.78rem;color:var(--text-muted)}
.plr-toc-h5{padding-left:48px;font-size:.76rem;color:var(--text-muted)}
.plr-toc-h6{padding-left:56px;font-size:.74rem;color:var(--text-muted)}

/* Newsletter Sidebar */
.plr-sidebar-newsletter{background:linear-gradient(135deg,var(--hero-bg),#0a3d40);color:#fff;border-radius:12px;padding:24px}
.plr-sidebar-newsletter h4{color:#fff;font-size:1.05rem;margin-bottom:6px;font-weight:700}
.plr-sidebar-newsletter p{color:rgba(255,255,255,.75);font-size:.84rem;margin-bottom:16px}
.plr-nl-form{display:flex;flex-direction:column;gap:10px}
.plr-nl-input{width:100%;padding:11px 14px;border-radius:8px;border:none;font-size:.88rem;font-family:var(--font);outline:none}
.plr-nl-btn{width:100%;padding:12px;background:var(--orange);color:#fff;border:none;border-radius:8px;font-size:.88rem;font-weight:600;cursor:pointer;font-family:var(--font);transition:background .2s}
.plr-nl-btn:hover{background:var(--orange-dk)}

/* Advisor CTA */
.plr-sidebar-advisor{text-align:center;background:linear-gradient(135deg,#ffeeda,#fff5eb);border:2px solid #ffcc80;box-shadow:none}
.plr-sidebar-advisor svg{margin-bottom:10px}
.plr-sidebar-advisor h4{font-size:1rem;color:var(--text-dark);margin-bottom:6px;font-weight:700}
.plr-sidebar-advisor p{font-size:.84rem;color:var(--text-light);margin-bottom:16px}
.plr-advisor-btn{display:inline-flex;align-items:center;justify-content:center;width:100%;padding:11px 20px;background:transparent;color:var(--orange);border:2px solid var(--orange);border-radius:8px;font-size:.85rem;font-weight:600;transition:all .2s;font-family:var(--font)}
.plr-advisor-btn:hover{background:var(--orange);color:#fff}

/* Sidebar Articles */
.plr-sidebar-articles{display:flex;flex-direction:column;gap:12px}
.plr-sidebar-article{display:flex;gap:12px;align-items:center;text-decoration:none;color:inherit;padding:6px 0;border-bottom:1px solid var(--border-light);transition:background .2s}
.plr-sidebar-article:last-child{border-bottom:none}
.plr-sidebar-article:hover{background:var(--bg-light);border-radius:6px;padding-left:4px}
.plr-sidebar-art-thumb{width:56px;height:42px;border-radius:6px;overflow:hidden;flex-shrink:0;background:var(--bg-light)}
.plr-sidebar-art-img{width:100%;height:100%;object-fit:cover}
.plr-sidebar-placeholder{background:linear-gradient(135deg,var(--bg-light),#d4e4f7)}
.plr-sidebar-art-info{flex:1;min-width:0}
.plr-sidebar-art-title{font-size:.82rem;font-weight:600;color:var(--text-dark);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.35}
.plr-sidebar-art-date{font-size:.72rem;color:var(--text-muted)}

/* ── Responsive ── */
@media(max-width:1024px){
  .plr-grid{grid-template-columns:1fr;gap:0}
  .plr-sidebar{display:none}
}
@media(max-width:768px){
  .plr-title{font-size:1.8rem}
  .plr-meta-row{gap:12px;flex-direction:column;align-items:flex-start}
  .plr-meta-sep{display:none}
  .plr-body{font-size:1rem}
  .plr-body h2{font-size:1.35rem}
  .plr-body h3{font-size:1.15rem}
  .plr-related-grid{grid-template-columns:1fr}
  .plr-content-section{padding:32px 0 48px}
  .plr-author-bio{flex-direction:column;align-items:center;text-align:center;padding:24px 20px}
  .plr-bio-creds{justify-content:center}
  .plr-bio-socials{justify-content:center}
  .plr-bio-footer{flex-direction:column;gap:12px;align-items:center}
  .plr-subtopic-card{flex-direction:column}
  .plr-nav-box{padding:24px 20px}
  .plr-share-btns{flex-wrap:wrap}
}
@media(max-width:480px){
  .plr-title{font-size:1.5rem}
  .plr-subtitle{font-size:.95rem}
  .plr-body h2{font-size:1.2rem}
  .plr-body p,.plr-body li{font-size:.95rem}
  .plr-related-grid{gap:16px}
}

/* ── Social Share Icons ── */
.plr-social-share{display:flex;align-items:center;gap:16px;padding:28px 0;margin:32px 0 0;border-top:2px solid var(--border-light);border-bottom:2px solid var(--border-light)}
.plr-social-label{font-size:.88rem;font-weight:600;color:var(--text-light);white-space:nowrap}
.plr-social-icons{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.plr-social-icon{width:44px;height:44px;border-radius:50%;border:1.5px solid var(--border);display:flex;align-items:center;justify-content:center;background:#fff;cursor:pointer;transition:all .25s}
.plr-social-icon:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.12)}
.plr-social-linkedin{color:#0077b5;border-color:rgba(0,119,181,.3)}
.plr-social-linkedin:hover{background:#0077b5;color:#fff;border-color:#0077b5}
.plr-social-twitter{color:#000;border-color:rgba(0,0,0,.2)}
.plr-social-twitter:hover{background:#000;color:#fff;border-color:#000}
.plr-social-facebook{color:#1877f2;border-color:rgba(24,119,242,.3)}
.plr-social-facebook:hover{background:#1877f2;color:#fff;border-color:#1877f2}
.plr-social-email{color:#ea4335;border-color:rgba(234,67,53,.3)}
.plr-social-email:hover{background:#ea4335;color:#fff;border-color:#ea4335}
.plr-social-copy{color:var(--orange);border-color:rgba(255,72,0,.3)}
.plr-social-copy:hover{background:var(--orange);color:#fff;border-color:var(--orange)}

/* ── Section Header (shared) ── */
.plr-section-header{margin-bottom:28px}
.plr-section-header h2{font-family:var(--font);font-size:1.6rem;font-weight:800;color:var(--text-dark);margin-bottom:8px}
.plr-section-header p{font-size:.92rem;color:var(--text-light);margin:0}

/* ── Chapters Grid (Contentful-style) ── */
.plr-chapters{margin:0}
/* No top border on Chapters — the Share/Tags band above it provides visual separation */
.plr-chapters.plr-fullwidth-section{border-top:none}

/* Share + Tags band (moved out of the article, placed above Chapters) */
.plr-share-tags-band{padding:24px 0;border-top:none;border-bottom:1px solid var(--border-light,#e5e7eb)}
.plr-share-tags-band .plr-social-share{border:none;margin:0;padding:0 0 16px;justify-content:center;text-align:center}
.plr-share-tags-band .plr-social-share + .skb-post-tags{padding-top:16px;padding-bottom:0;margin-bottom:0;border-top:1px solid var(--border-light,#e5e7eb);border-bottom:none;justify-content:center;text-align:center}
.plr-chapters-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.plr-chapter-card{background:#fff;border-radius:16px;overflow:hidden;border:1px solid #0e3b65;transition:all .3s;text-decoration:none;color:inherit;display:flex;flex-direction:column;box-shadow:none}
.plr-chapter-card:hover{border-color:#0e3b65;background:#f4f7fb;box-shadow:0 6px 20px rgba(14,59,101,.12)}
.plr-chapter-img{padding:20px 20px 0;background:#fff}
.plr-chapter-img img{width:100%;height:180px;object-fit:cover;border-radius:12px;transition:transform .3s}
.plr-chapter-card:hover .plr-chapter-img img{transform:scale(1.03)}
.plr-chapter-img-ph{height:180px;border-radius:12px;background:linear-gradient(135deg,#d4e4f7,#eef5ff)}
.plr-chapter-body{padding:20px 24px 24px;flex:1;display:flex;flex-direction:column}
.plr-chapter-num{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:1px;color:var(--text-muted);margin-bottom:6px}
.plr-chapter-body h4{font-family:var(--font);font-size:1.1rem;font-weight:700;color:var(--text-dark);margin-bottom:10px;line-height:1.4}
.plr-chapter-body p{font-size:.85rem;color:var(--text-light);line-height:1.6;flex:1;margin-bottom:12px}
.plr-chapter-arrow{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:#eef2f7;color:#0e3b65;transition:all .25s;align-self:flex-end}
.plr-chapter-card:hover .plr-chapter-arrow{background:#0e3b65;color:#fff}

/* ── Up Next ── */
.plr-upnext{margin-top:40px;padding:28px 32px;border:2px solid var(--border);border-radius:14px;background:var(--bg-light)}
.plr-upnext-label{display:inline-block;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:1.2px;color:var(--text-muted);margin-bottom:12px}
.plr-upnext-content{display:flex;align-items:center;justify-content:space-between;gap:24px}
.plr-upnext-text{flex:1;min-width:0}
.plr-upnext-title{font-family:var(--font);font-size:1.1rem;font-weight:700;color:var(--orange);display:inline-block;margin-bottom:4px;transition:color .2s}
.plr-upnext-title:hover{color:var(--orange-dk);text-decoration:underline}
.plr-upnext-desc{font-size:.88rem;color:var(--text-light);line-height:1.55;margin:0}
.plr-upnext-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 22px;border-radius:8px;background:var(--orange);color:#fff;font-size:.88rem;font-weight:600;white-space:nowrap;transition:background .2s}
.plr-upnext-btn:hover{background:var(--orange-dk);color:#fff}
.plr-upnext-btn svg{flex-shrink:0}
@media(max-width:600px){
  .plr-upnext-content{flex-direction:column;align-items:flex-start}
}

/* ── Meet the Authors ── */
.plr-meet-authors{margin:0}
/* ── Meet the Authors card — full-width horizontal layout, #0e3b65 theme ── */
.plr-authors-grid{display:grid;gap:24px}
.plr-authors-multi{grid-template-columns:repeat(2,1fr)}
.plr-authors-single{grid-template-columns:1fr;max-width:900px;margin:0 auto}
.plr-author-card{background:#fff;border-radius:16px;padding:28px 28px;border:1px solid #0e3b65;display:flex;flex-direction:column;gap:0;box-shadow:none;transition:box-shadow .2s}
.plr-authors-single .plr-author-card{padding:32px 36px}
.plr-author-card:hover{box-shadow:0 8px 24px rgba(14,59,101,.1)}
.plr-author-card-header{display:flex;gap:20px;align-items:center;margin-bottom:20px}
.plr-author-card-photo{flex-shrink:0;width:80px;height:80px;border-radius:50%;overflow:hidden}
.plr-author-card-photo img{width:80px;height:80px;border-radius:50%;object-fit:cover;display:block}
.plr-author-card-photo a{display:block;height:100%;width:100%}
.plr-author-card-fallback{width:80px;height:80px;border-radius:50%;background:linear-gradient(135deg,#0e3b65,#1a56db);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.6rem;font-weight:800}
.plr-author-card-info{flex:1;min-width:0}
.plr-author-card-info h4{font-family:var(--font);font-size:1.25rem;font-weight:800;color:#0e3b65;margin:0 0 4px;line-height:1.3}
.plr-author-card-namelink{color:inherit;text-decoration:none;transition:color .2s}
.plr-author-card-namelink:hover{color:#1a56db}
.plr-author-card-role{font-size:.95rem;color:#6b7280;display:block;line-height:1.5}
.plr-author-card-role strong{color:#374151;font-weight:600}
.plr-author-card-bio{font-size:.95rem;color:#374151;line-height:1.7;margin:0 0 20px}
.plr-author-card-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:18px;border-top:1px solid #e5e7eb;flex-wrap:wrap}
.plr-author-card-socials{display:flex;gap:8px}
.plr-author-card-socials a{width:32px;height:32px;border-radius:6px;display:flex;align-items:center;justify-content:center;color:#4b5563;transition:all .2s;background:transparent}
.plr-author-card-socials a:hover{color:#0e3b65;background:#eef2f7}
.plr-author-more-link{color:#0e3b65;font-size:.95rem;font-weight:700;text-decoration:none;transition:opacity .2s;display:inline-flex;align-items:center;gap:4px}
.plr-author-more-link:hover{opacity:.75;text-decoration:underline}

/* ── Related Resources ── */
.plr-related-type{position:absolute;top:12px;left:12px;background:rgba(0,0,0,.7);color:#fff;font-size:.68rem;font-weight:600;padding:4px 10px;border-radius:6px;text-transform:uppercase;letter-spacing:.5px}
.plr-related-img{position:relative}

/* ── Page CTA (Contentful-style — full-width before footer) ── */
.plr-page-cta{margin:0;border-radius:0;overflow:hidden;color:#fff;width:100%}
.plr-page-cta-inner{padding:80px 48px;text-align:center;max-width:680px;margin:0 auto}
.plr-page-cta-logo{height:40px;margin-bottom:24px;filter:brightness(0) invert(1)}
.plr-page-cta-inner h2{font-family:var(--serif);font-size:2rem;font-weight:800;color:#fff;margin-bottom:40px;line-height:1.3}
.plr-page-cta-cards{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.plr-page-cta-card{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);border-radius:14px;padding:28px 24px;text-align:left;text-decoration:none;color:#fff;transition:all .3s;position:relative}
.plr-page-cta-card:hover{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.3);transform:translateY(-2px)}
.plr-page-cta-card h4{font-family:var(--font);font-size:1.1rem;font-weight:700;margin-bottom:8px;color:#fff}
.plr-page-cta-card p{font-size:.88rem;color:rgba(255,255,255,.7);line-height:1.6;margin-bottom:16px}
.plr-page-cta-arrow{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:var(--orange);color:#fff;transition:all .25s}
.plr-page-cta-card:hover .plr-page-cta-arrow{background:#fff;color:var(--orange)}

/* ── Updated CTA Block ── */
.skb-cta-box{border-radius:16px;padding:48px 40px;text-align:center;margin:32px 0;background:#0f1c2e}
.skb-cta-inner{max-width:560px;margin:0 auto}
.skb-cta-title{font-family:var(--font);font-size:1.5rem;font-weight:800;color:#fff;margin-bottom:12px}
.skb-cta-text{font-size:1rem;color:rgba(255,255,255,.75);line-height:1.7;margin-bottom:24px}
.skb-cta-btn{display:inline-flex;align-items:center;padding:14px 32px;background:var(--orange);color:#fff;border-radius:8px;font-size:.95rem;font-weight:600;transition:all .2s;text-decoration:none;font-family:var(--font)}
.skb-cta-btn:hover{background:var(--orange-dk);transform:translateY(-1px);box-shadow:0 4px 16px rgba(255,107,53,.35)}

/* ── Responsive for new sections ── */
@media(max-width:1024px){
  .plr-chapters-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .plr-chapters-grid{grid-template-columns:1fr}
  .plr-authors-multi{grid-template-columns:1fr}
  .plr-author-card{padding:24px 20px}
  .plr-author-card-footer{flex-direction:column;align-items:flex-start;gap:12px}
  .plr-page-cta-cards{grid-template-columns:1fr}
  .plr-page-cta-inner{padding:48px 28px}
  .plr-page-cta-inner h2{font-size:1.5rem}
  .plr-social-share{flex-direction:column;align-items:flex-start;gap:12px}
  .plr-author-card-header{flex-direction:column;align-items:center;text-align:center;gap:12px}
  .plr-author-card-info h4{text-align:center}
  .plr-author-card-socials{justify-content:center}
  .skb-cta-box{padding:36px 24px}
  .skb-cta-title{font-size:1.2rem}
}
@media(max-width:480px){
  .plr-chapter-img img{height:140px}
  .plr-page-cta-inner{padding:36px 20px}
}

/* ═══════════════════════════════════════════════════════════════
   SUBTOPIC TEMPLATE (stp-) — Child article of pillar guide
   ═══════════════════════════════════════════════════════════════ */

/* ── Pillar Banner ── */
.stp-pillar-banner{background:linear-gradient(135deg,var(--hero-bg) 0%,#0a3d40 100%);color:#fff;padding:14px 0}
.stp-pillar-banner-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.stp-pillar-banner-left{display:flex;align-items:center;gap:14px;flex:1;min-width:0}
.stp-pillar-icon{flex-shrink:0;width:40px;height:40px;background:rgba(255,255,255,.15);border-radius:10px;display:flex;align-items:center;justify-content:center}
.stp-pillar-label{font-size:.68rem;font-weight:600;text-transform:uppercase;letter-spacing:1.2px;color:rgba(255,255,255,.6);margin-bottom:2px}
.stp-pillar-title-link{color:#fff;font-family:var(--font);font-weight:700;font-size:.92rem;transition:color .2s}
.stp-pillar-title-link:hover{color:var(--orange-light)}
.stp-pillar-position{font-size:.75rem;color:rgba(255,255,255,.55);margin-top:2px}
.stp-pillar-nav{display:flex;align-items:center;gap:8px;flex-shrink:0}
.stp-pillar-nav-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.2);border-radius:6px;font-size:.8rem;font-weight:500;cursor:pointer;transition:background .2s;text-decoration:none}
.stp-pillar-nav-btn:hover{background:rgba(255,255,255,.22);color:#fff}
.stp-pillar-nav-btn.disabled{opacity:.35;cursor:default;pointer-events:none}

/* ── Grid Layout (sidebar LEFT, content RIGHT — same as pillar) ── */
.stp-content-section{padding:40px 0 0}
.stp-grid{display:grid;grid-template-columns:300px 1fr;gap:48px}
.stp-sidebar{order:-1;position:relative}
.stp-article{order:1;min-width:0}

/* ── Article Header ── */
.stp-header{margin-bottom:36px}
.stp-title{font-family:var(--serif);font-size:2.4rem;font-weight:800;color:var(--text-dark);line-height:1.2;margin:12px 0 14px}
.stp-subtitle{font-size:1.1rem;color:var(--text-light);line-height:1.55;margin-bottom:20px}
.stp-meta-row{display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:16px 0;border-top:1px solid var(--border-light);border-bottom:1px solid var(--border-light)}

/* ── Sidebar Sticky — identical to pillar (.plr-sidebar-sticky) ── */
.stp-sidebar-sticky{position:sticky;top:90px;display:flex;flex-direction:column;gap:24px}

/* TOC card + list — mirrors pillar exactly (sticky now only has Author + TOC) */
.stp-sidebar-sticky .plr-sidebar-toc-card{flex:1;display:flex;flex-direction:column;min-height:0}
.stp-sidebar-sticky .plr-toc-list{max-height:calc(100vh - 400px);overflow-y:auto;scroll-behavior:smooth;scrollbar-width:none;-ms-overflow-style:none}
.stp-sidebar-sticky .plr-toc-list::-webkit-scrollbar{display:none}

/* ── Up Next Full-Width Section ── */
/* ── Up Next — 2-button orange theme (matches reference) ─────────── */
.stp-upnext-section{padding:56px 0 72px}
.stp-upnext-inner{background:#f5f7fa;border-radius:14px;padding:32px 40px;border:1px solid #e5e7eb;box-shadow:none}
.stp-upnext-label{display:inline-flex;align-items:center;gap:6px;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:1.4px;color:#4b5563;margin:0 0 14px;padding:4px 0}
.stp-upnext-label svg{flex-shrink:0;color:#6b7280}
.stp-upnext-content{margin-bottom:24px;max-width:720px}
.stp-upnext-title-link{display:inline-block;font-family:var(--font);font-size:1.5rem;font-weight:800;color:var(--orange,#ff4800);text-decoration:none;line-height:1.3;margin-bottom:10px;letter-spacing:-.005em;transition:opacity .2s}
.stp-upnext-title-link:hover{opacity:.85;text-decoration:underline;text-underline-offset:3px}
.stp-upnext-desc{font-size:.95rem;color:#4b5563;line-height:1.6;margin:6px 0 0}
.stp-upnext-nav{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.stp-upnext-btn{display:inline-flex;align-items:center;gap:8px;padding:12px 26px;border-radius:8px;font-size:.9rem;font-weight:600;text-decoration:none;transition:all .2s;cursor:pointer;line-height:1}
.stp-upnext-prev{background:#fff;color:#1f2937;border:1.5px solid #d1d5db}
.stp-upnext-prev:hover{background:#f9fafb;border-color:#1f2937}
.stp-upnext-next{background:var(--orange,#ff4800);color:#fff;border:1.5px solid var(--orange,#ff4800);box-shadow:0 2px 6px rgba(255,72,0,.2)}
.stp-upnext-next:hover{background:var(--orange-dk,#e04000);border-color:var(--orange-dk,#e04000);box-shadow:0 4px 12px rgba(255,72,0,.3)}
.stp-upnext-btn svg{transition:transform .2s;flex-shrink:0}
.stp-upnext-next:hover svg{transform:translateX(3px)}
.stp-upnext-prev:hover svg{transform:translateX(-3px)}

/* ── Subtopic Custom CTA Section (Contentful-style) ── */
.stp-cta-section{padding:80px 0;border-top:1px solid #e5e7eb}
.stp-cta-inner{max-width:920px;margin:0 auto;text-align:center}
.stp-cta-logo{margin-bottom:24px}
.stp-cta-logo img{max-height:48px;width:auto}
.stp-cta-headline{font-family:var(--serif);font-size:2.4rem;font-weight:800;color:var(--text-dark);line-height:1.2;margin-bottom:48px}
.stp-cta-boxes{display:grid;grid-template-columns:1fr 1fr;gap:24px;text-align:left}
.stp-cta-box{position:relative;background:#fff;border-radius:16px;padding:36px 32px;border:1.5px solid #e0e4ea;transition:all .3s;text-decoration:none;color:inherit;display:flex;flex-direction:column}
.stp-cta-box:hover{border-color:#a4b3d1;box-shadow:0 8px 30px rgba(0,0,0,.07);transform:translateY(-2px)}
.stp-cta-box h4{font-family:var(--font);font-size:1.15rem;font-weight:700;color:#1a56db;margin-bottom:10px;line-height:1.35}
.stp-cta-box p{font-size:.92rem;color:#6b7280;line-height:1.65;margin:0;flex:1}
.stp-cta-arrow{position:absolute;bottom:24px;right:24px;width:36px;height:36px;border-radius:50%;background:#111827;color:#fff;display:flex;align-items:center;justify-content:center;transition:all .2s}
.stp-cta-box:hover .stp-cta-arrow{background:#1a56db}

/* ── Responsive ── */
@media(max-width:900px){
  .stp-grid{grid-template-columns:1fr;gap:0}
  .stp-sidebar{order:0;margin-bottom:32px}
  .stp-sidebar-sticky{position:static}
  .stp-pillar-banner-inner{flex-direction:column;align-items:flex-start}
  .stp-pillar-nav{width:100%;justify-content:space-between}
  .stp-cta-boxes{grid-template-columns:1fr}
  .stp-cta-headline{font-size:1.75rem}
  .stp-cta-section{padding:56px 0}
  .stp-upnext-section{padding:40px 0 48px}
  .stp-upnext-inner{padding:24px 20px}
  .stp-upnext-title-link{font-size:1.25rem}
}
@media(max-width:600px){
  .stp-title{font-size:1.8rem}
  .stp-pillar-nav{flex-direction:column}
  .stp-pillar-nav-btn{width:100%;justify-content:center}
  .stp-upnext-inner{padding:24px 20px}
  .stp-upnext-nav{flex-direction:column;gap:12px}
  .stp-upnext-btn{width:100%;justify-content:center}
  .stp-cta-headline{font-size:1.5rem}
  .stp-cta-box{padding:28px 24px}
  .stp-cta-inner{padding:0 8px}
}

/* ═══════════════════════════════════════════════════════════════
   EVENT TEMPLATE (evt-) — Contentful-style · White/Grey theme
   ═══════════════════════════════════════════════════════════════ */

/* ── Section 1: Hero ── */
.evt-hero{background:#fff;padding:64px 0 56px;border-bottom:1px solid #e8e8e8}
.evt-hero-wrap{max-width:1200px;margin:0 auto;padding:0 2rem;display:grid;grid-template-columns:1fr 440px;gap:56px;align-items:start}

/* Hero Left */
.evt-hero-left{display:flex;flex-direction:column;padding-top:8px}
.evt-hero-type{display:inline-block;font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:2px;color:#6b7280;margin-bottom:20px}
.evt-hero-title{font-family:var(--serif);font-size:2.75rem;font-weight:800;line-height:1.15;color:var(--text-dark);margin-bottom:20px}
.evt-hero-excerpt{font-size:1.1rem;line-height:1.75;color:#4b5563;margin-bottom:28px}

/* Hero Details — exactly 2 rows: Date + Time */
.evt-hero-details{display:flex;flex-direction:column;gap:12px;margin-bottom:28px}
.evt-hero-detail{display:flex;align-items:center;gap:12px;font-size:1.02rem;color:#374151;font-weight:500}
.evt-hero-detail svg{color:#6b7280;flex-shrink:0}

/* Hero Content — post body inline on left side */
.evt-hero-content{font-size:1.05rem;color:#374151;line-height:1.8}
.evt-hero-content p{margin-bottom:16px}
.evt-hero-content p:last-child{margin-bottom:0}
.evt-hero-content a{color:#2563eb;font-weight:500;text-decoration:underline;text-underline-offset:2px}
.evt-hero-content a:hover{color:#1d4ed8}
.evt-hero-content strong{color:var(--text-dark);font-weight:700}
.evt-hero-content ul,.evt-hero-content ol{margin:12px 0 16px;padding-left:0}
.evt-hero-content ul li,.evt-hero-content ol li{padding:6px 0 6px 24px;position:relative;color:#374151}
.evt-hero-content ul li::before{content:'';position:absolute;left:6px;top:15px;width:6px;height:6px;border-radius:50%;background:#6b7280}
.evt-hero-content h2{font-family:var(--font);font-size:1.5rem;font-weight:700;color:var(--text-dark);margin:28px 0 12px}
.evt-hero-content h3{font-family:var(--font);font-size:1.25rem;font-weight:700;color:var(--text-dark);margin:24px 0 10px}

/* Hero Right — Form Card with Featured Image */
.evt-hero-right{display:flex;flex-direction:column}
.evt-hero-form{background:#f9fafb;border:1px solid #e5e7eb;border-radius:16px;overflow:hidden}
.evt-hero-form-img{width:100%;overflow:hidden}
.evt-form-thumb{width:100%;height:auto;display:block;object-fit:cover;max-height:220px}
.evt-hero-form-inner{padding:24px 28px 28px}
.evt-hero-form-title{font-family:var(--font);font-size:1.2rem;font-weight:700;color:var(--text-dark);margin-bottom:6px}
.evt-hero-form-sub{font-size:.9rem;color:#6b7280;margin-bottom:20px;line-height:1.55}

/* Past event card in hero */
.evt-hero-past{background:#f9fafb;border:1px solid #e5e7eb;border-radius:16px;overflow:hidden;text-align:center}
.evt-hero-past .evt-hero-form-img{margin-bottom:0}
.evt-hero-past h3{font-family:var(--font);font-size:1.5rem;color:var(--text-dark);margin-bottom:12px;padding:32px 28px 0}
.evt-hero-past p{font-size:1rem;color:#6b7280;margin-bottom:24px;line-height:1.6;padding:0 28px}
.evt-past-btn{display:inline-block;padding:14px 36px;background:#111827;color:#fff;border-radius:10px;font-size:1rem;font-weight:600;font-family:var(--font);transition:all .2s;text-decoration:none;margin:0 28px 28px}
.evt-past-btn:hover{background:#374151;color:#fff}

/* ── Form Styles ── */
.evt-form-grid{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px}
.evt-form-field{width:100%}
.evt-form-field--half{width:calc(50% - 5px)}
.evt-form-input{width:100%;padding:11px 14px;border:1.5px solid #d1d5db;border-radius:10px;font-size:.9rem;font-family:var(--font);color:var(--text-dark);background:#fff;outline:none;transition:all .2s;-webkit-appearance:none;appearance:none}
.evt-form-input::placeholder{color:#9ca3af;font-weight:400}
.evt-form-input:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.1)}
.evt-form-input:hover:not(:focus){border-color:#9ca3af}
.evt-form-textarea{resize:vertical;min-height:80px;line-height:1.5}
.evt-form-select{cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;padding-right:44px}

/* Submit Button */
.evt-form-submit{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:13px 24px;background:#111827;color:#fff;border:none;border-radius:10px;font-size:.95rem;font-weight:600;font-family:var(--font);cursor:pointer;transition:all .25s;position:relative}
.evt-form-submit:hover{background:#374151;transform:translateY(-1px);box-shadow:0 4px 16px rgba(0,0,0,.15)}
.evt-form-submit:active{transform:translateY(0)}
.evt-form-submit:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}
.evt-form-submit-arrow{transition:transform .2s}
.evt-form-submit:hover .evt-form-submit-arrow{transform:translateX(3px)}

/* Loading spinner */
.evt-form-submit.is-loading .evt-form-submit-text{opacity:0}
.evt-form-submit.is-loading .evt-form-submit-arrow{display:none}
.evt-form-submit.is-loading::after{content:'';position:absolute;width:20px;height:20px;border:3px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:evtSpin .6s linear infinite}
@keyframes evtSpin{to{transform:rotate(360deg)}}

/* Privacy & validation */
.evt-form-privacy{font-size:.78rem;color:#9ca3af;line-height:1.5;margin-top:14px}
.evt-form-privacy a{color:#374151;font-weight:500;text-decoration:underline}
.evt-form-privacy a:hover{color:#111827}
.evt-form-input:invalid:not(:placeholder-shown){border-color:#ef4444}
.evt-form-input:valid:not(:placeholder-shown){border-color:#22c55e}

/* Success & Error */
.evt-reg-success{text-align:center;padding:48px 20px}
.evt-reg-success-icon{margin-bottom:20px}
.evt-reg-success h3{font-family:var(--font);font-size:1.6rem;color:var(--text-dark);margin-bottom:10px}
.evt-reg-success p{font-size:1rem;color:#6b7280}
.evt-form-error{background:#fef2f2;border:1px solid #fecaca;border-radius:10px;padding:12px 16px;margin-bottom:14px;font-size:.9rem;color:#dc2626;display:none}

/* ── Section 2: What You'll Learn — 3 columns ── */
.evt-sec-title{font-family:var(--font);font-size:2.25rem;font-weight:800;color:var(--text-dark);margin-bottom:48px;text-align:left}
.evt-learn{padding:80px 0;background:#f9fafb;border-bottom:1px solid #e8e8e8}
.evt-learn-wrap{max-width:1200px;margin:0 auto;padding:0 2rem}
.evt-learn-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.evt-learn-card{background:#fff;border-radius:16px;padding:40px 32px;border:1px solid #e5e7eb;transition:all .3s}
.evt-learn-card:hover{transform:translateY(-4px);box-shadow:0 8px 30px rgba(0,0,0,.08);border-color:#d1d5db}
.evt-learn-icon{width:56px;height:56px;border-radius:14px;background:transparent;display:flex;align-items:center;justify-content:center;margin-bottom:28px;color:#1f2937}
.evt-learn-card-title{font-family:var(--font);font-size:1.2rem;font-weight:700;color:var(--text-dark);margin-bottom:12px;line-height:1.35}
.evt-learn-card-desc{font-size:.97rem;color:#6b7280;line-height:1.7;margin:0}

/* ── Section 4: Meet the Presenters ── */
.evt-presenters{padding:88px 0;background:#fff;border-bottom:1px solid #e8e8e8}
.evt-presenters-wrap{max-width:1200px;margin:0 auto;padding:0 2rem}
.evt-presenters-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.evt-presenter{background:#eef2f7;border:1px solid #dfe4eb;border-radius:16px;padding:32px;display:flex;flex-direction:column;transition:all .3s}
.evt-presenter:hover{box-shadow:0 8px 30px rgba(0,0,0,.06);border-color:#c9d0da}
.evt-presenter-header{display:flex;align-items:center;gap:18px;margin-bottom:18px}
.evt-presenter-photo{width:72px;height:72px;min-width:72px;border-radius:50%;overflow:hidden;background:#d8dfe8;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.evt-presenter-photo img{width:100%;height:100%;object-fit:cover}
.evt-presenter-initials{color:#6b7280;font-weight:800;font-size:1.25rem}
.evt-presenter-meta{flex:1;min-width:0}
.evt-presenter-name{font-family:var(--font);font-size:1.1rem;color:var(--text-dark);margin-bottom:2px;font-weight:700;line-height:1.3}
.evt-presenter-role{font-size:.88rem;color:#6b7280;margin-bottom:1px;font-weight:500;line-height:1.4}
.evt-presenter-company{font-size:.88rem;color:#374151;font-weight:700;line-height:1.4}
.evt-presenter-bio{font-size:.9rem;color:#4b5563;line-height:1.7;margin-bottom:14px}
.evt-presenter-link{display:inline-flex;align-items:center;gap:6px;font-size:.85rem;color:#374151;font-weight:600;transition:color .2s;text-decoration:none}
.evt-presenter-link:hover{color:#2563eb}

/* ── Section 5: Related Resources ── */
.evt-related{padding:88px 0;background:#fff;border-top:1px solid #e8e8e8}
.evt-related-wrap{max-width:1200px;margin:0 auto;padding:0 2rem}
.evt-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.evt-related-card{background:#eef2f7;border:2px solid transparent;border-radius:20px;overflow:hidden;text-decoration:none;color:inherit;display:flex;flex-direction:column;transition:all .3s;padding:20px 20px 28px}
.evt-related-card:hover{border-color:#93a3d1;box-shadow:0 8px 30px rgba(0,0,0,.06)}
.evt-related-img{height:220px;border-radius:12px;overflow:hidden;background:#dde3ed;margin-bottom:20px;display:flex;align-items:center;justify-content:center}
.evt-related-thumb{width:100%;height:100%;object-fit:contain;padding:12px;transition:transform .35s}
.evt-related-card:hover .evt-related-thumb{transform:scale(1.03)}
.evt-related-placeholder{width:100%;height:100%;background:linear-gradient(135deg,#dde3ed,#c8d0de)}
.evt-related-body{display:flex;flex-direction:column;flex:1;padding:0 4px}
.evt-related-title{font-family:var(--font);font-size:1.15rem;color:var(--text-dark);margin-bottom:8px;line-height:1.45;font-weight:700}
.evt-related-type{font-size:.88rem;color:#6b7280;margin-bottom:auto;font-weight:500}
.evt-related-arrow{display:flex;align-items:center;justify-content:flex-end;margin-top:16px;width:36px;height:36px;border-radius:50%;border:1.5px solid #9ca3af;margin-left:auto;color:#6b7280;justify-content:center;transition:all .2s}
.evt-related-card:hover .evt-related-arrow{border-color:#374151;color:#374151}
.evt-related-pagination{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:48px}
.evt-related-page{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;font-size:.95rem;font-weight:600;color:#6b7280;text-decoration:none;transition:all .2s;border:1px solid transparent}
.evt-related-page:hover{background:#f3f4f6;color:#374151}
.evt-related-page.active{background:#111827;color:#fff;border-color:#111827}
.evt-related-next{width:40px;height:40px}

/* ── Responsive ── */
@media(max-width:1024px){
  .evt-hero-wrap{grid-template-columns:1fr;gap:40px}
  .evt-hero-right{max-width:520px}
  .evt-presenters-grid{grid-template-columns:1fr}
  .evt-related-grid{grid-template-columns:1fr;max-width:480px}
}
@media(max-width:768px){
  .evt-hero{padding:40px 0 40px}
  .evt-hero-title{font-size:2rem}
  .evt-hero-excerpt{font-size:1rem}
  .evt-hero-form-inner{padding:20px 20px 24px}
  .evt-sec-title{font-size:1.75rem;margin-bottom:32px}
  .evt-learn-grid{grid-template-columns:1fr}
  .evt-learn,.evt-presenters,.evt-related{padding:56px 0}
  .evt-related-img{height:180px}
  .evt-presenter-header{gap:14px}
  .evt-presenter-photo{width:60px;height:60px;min-width:60px}
  .evt-presenter-link{justify-content:center}
  .evt-form-field--half{width:100%}
  .evt-form-submit{width:100%}
  .evt-hero-content{font-size:.98rem}
}
@media(max-width:480px){
  .evt-hero-title{font-size:1.7rem}
  .evt-hero{padding:28px 0 32px}
  .evt-learn-card{padding:28px 24px}
  .evt-presenter{padding:28px 24px}
  .evt-form-thumb{max-height:160px}
}

/* ═══════════════════════════════════════════════════════════════
   AUTHOR PROFILE PAGE (auth-) — HubSpot-inspired layout
   1) Hero (centered)   2) Highly Recommended   3) More from {author}
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. Hero — horizontal: large photo LEFT, text RIGHT on cream bg ──── */
.auth-hero{padding:88px 0;background:#faf5eb}
.auth-hero-inner{max-width:1120px;margin:0 auto;display:grid;grid-template-columns:340px 1fr;gap:72px;align-items:center}
.auth-hero-photo{width:340px;height:340px;border-radius:50%;overflow:hidden;background:#e9e2d4;flex-shrink:0}
.auth-hero-photo img{width:100%;height:100%;object-fit:cover;display:block}
.auth-hero-initial{display:flex;width:100%;height:100%;align-items:center;justify-content:center;font-size:7rem;font-weight:700;color:#9b8f76;background:linear-gradient(135deg,#ede6d6 0%,#d8cfbb 100%)}
.auth-hero-text{display:flex;flex-direction:column;align-items:flex-start}
.auth-hero-name{font-family:var(--font);font-size:2.5rem;font-weight:700;color:#111827;margin:0 0 20px;line-height:1.1;letter-spacing:-.02em}
.auth-hero-socials{display:flex;gap:10px;margin:0 0 24px;justify-content:flex-start}
.auth-social{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;color:#fff;background:#1f2937;border:1px solid #1f2937;transition:all .2s;text-decoration:none}
.auth-social:hover{background:#0e3b65;border-color:#0e3b65;transform:translateY(-2px)}
.auth-hero-meta-line{color:#4b5563;margin:0 0 16px;line-height:1.5;font-size:1rem}
.auth-hero-meta-line strong{color:#111827;font-weight:700}
.auth-hero-bio{color:#374151;line-height:1.75;margin:0;font-size:1.05rem;max-width:640px}
.auth-hero-bio p{margin:0 0 12px}
.auth-hero-bio p:last-child{margin-bottom:0}

/* Shared section heading */
.auth-section-heading{color:#0f172a;margin:0 0 32px;letter-spacing:-.01em;max-width:1120px;margin-left:auto;margin-right:auto;text-align:left}

/* ── 2. Highly Recommended — 2-col: featured (left) + compact list (right) ── */
.auth-recommended{padding:72px 0 56px;background:#fff}
.auth-rec-layout{display:grid;grid-template-columns:1.25fr 1fr;gap:56px;max-width:1200px;margin:0 auto;align-items:start}

/* LEFT: Featured card (big image + title + excerpt + meta) */
/* Featured card — cream background, image sits at top full-bleed with rounded corners preserved by card overflow */
.auth-featured-card{display:flex;flex-direction:column;background:#faf5eb;border-radius:14px;overflow:hidden;text-decoration:none;color:inherit;transition:transform .3s}
.auth-featured-card:hover{transform:translateY(-3px)}
.auth-featured-thumb{aspect-ratio:16/10;overflow:hidden;background:#faf5eb;display:flex;align-items:center;justify-content:center;padding:12px 24px}
.auth-featured-thumb img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block;transition:transform .4s}
.auth-featured-card:hover .auth-featured-thumb img{transform:scale(1.03)}
.auth-featured-body{padding:24px 28px 28px}
.auth-featured-title{font-size:1.5rem;font-weight:800;color:#0f172a;line-height:1.3;margin:0 0 12px;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
.auth-featured-card:hover .auth-featured-title{color:#0e3b65}
.auth-featured-excerpt{color:#4b5563;line-height:1.6;margin:0 0 20px;font-size:1rem}
.auth-featured-meta{display:flex;align-items:center;gap:14px;color:#6b7280;font-size:.9rem;padding-top:8px}
.auth-featured-author{font-weight:600;color:#4b5563}

/* RIGHT: Highly Recommended column */
/* Highly Recommended — orange-underlined heading + stacked rows divided by hairlines (no card borders) */
.auth-rec-list{display:flex;flex-direction:column}
.auth-rec-heading{font-family:var(--font);font-size:1.1rem;font-weight:700;color:#111827;letter-spacing:.02em;margin:0 0 16px;padding:0 0 14px;border-bottom:2px solid var(--orange,#ff4800);display:block;width:100%}
.auth-rec-compact{display:grid;grid-template-columns:128px 1fr;gap:18px;align-items:center;padding:20px 0;border-bottom:1px solid #e5e7eb;text-decoration:none;color:inherit;transition:opacity .2s;background:transparent}
.auth-rec-compact:last-of-type{border-bottom:none}
.auth-rec-compact:hover{opacity:.88}
.auth-rec-compact-thumb{aspect-ratio:1/1;overflow:hidden;border-radius:8px;background:#f3f4f6;border:none;padding:6px;display:flex;align-items:center;justify-content:center}
.auth-rec-compact-thumb img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block}
.auth-rec-compact-body{display:flex;flex-direction:column;gap:12px;min-width:0}
.auth-rec-compact-title{font-size:1rem;font-weight:700;color:#0f172a;line-height:1.35;margin:0}
.auth-rec-compact:hover .auth-rec-compact-title{color:#0e3b65}
.auth-rec-compact-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#6b7280;font-size:.88rem;font-family:var(--font)}
.auth-rec-compact-author{font-weight:400;color:#6b7280}
.auth-rec-compact-date{color:#9ca3af;flex-shrink:0;font-weight:400}

/* ── 3. More from [author] (3-column grid of article cards) ── */
.auth-more{padding:64px 0 96px;background:#fff}
.auth-more-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;max-width:1120px;margin:0 auto}
.auth-more-card{display:block;background:#fff;border:1px solid #0e3b65;border-radius:14px;overflow:hidden;text-decoration:none;color:inherit;transition:all .25s}
.auth-more-card:hover{border-color:#0e3b65;transform:translateY(-3px);box-shadow:0 10px 28px rgba(14,59,101,.18)}
.auth-more-thumb{aspect-ratio:16/10;background:#fff;overflow:hidden;border-bottom:1px solid #0e3b65;display:flex;align-items:center;justify-content:center;padding:14px}
.auth-more-thumb img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block;transition:transform .4s}
.auth-more-card:hover .auth-more-thumb img{transform:scale(1.04)}
.auth-more-body{padding:22px 22px 24px;display:flex;flex-direction:column;gap:10px}
.auth-more-title{color:#0f172a;margin:0;line-height:1.35;font-weight:700}
.auth-more-card:hover .auth-more-title{color:#0e3b65}
.auth-more-meta{display:flex;align-items:center;gap:6px;color:#6b7280;flex-wrap:wrap}
.auth-articles-empty{text-align:center;color:#6b7280;padding:40px 0}

@media(max-width:900px){
  .auth-hero{padding:56px 0}
  .auth-hero-inner{grid-template-columns:1fr;gap:32px;text-align:center}
  .auth-hero-photo{width:220px;height:220px;margin:0 auto}
  .auth-hero-text{align-items:center}
  .auth-hero-name{font-size:2.75rem;text-align:center}
  .auth-hero-socials{justify-content:center}
  .auth-hero-bio{text-align:center;margin:0 auto}
  .auth-recommended,.auth-more{padding:48px 0}
  .auth-rec-layout{grid-template-columns:1fr;gap:40px}
  .auth-more-grid{grid-template-columns:repeat(2,1fr);gap:22px}
}
@media(max-width:600px){
  .auth-hero{padding:40px 0}
  .auth-hero-photo{width:160px;height:160px}
  .auth-hero-initial{font-size:4rem}
  .auth-hero-name{font-size:2rem;margin-bottom:18px}
  .auth-featured-title{font-size:1.25rem}
  .auth-rec-compact{grid-template-columns:90px 1fr;gap:14px;padding:16px 0}
  .auth-rec-compact-title{font-size:.95rem}
  .auth-more-grid{grid-template-columns:1fr;gap:24px}
}

/* ═══════════════════════════════════════════════════════════════
   UNIFIED TYPOGRAPHY SYSTEM
   ---------------------------------------------------------------
   Single scale based on the pillar template. Placed at end of the
   stylesheet so it overrides all earlier per-template size rules
   without needing !important. Font family is Inter everywhere
   (handled by --font / --serif at the top).

   Scale:
     H1 (page/article title) : 2rem    (~32px)
     H2 (section headings)   : 1.65rem (~26px)
     H3 (sub-section)        : 1.25rem (~20px)
     H4 (card titles)        : 1.1rem  (~18px)
     H5                      : 1rem    (~16px)
     H6                      : 0.95rem (~15px)
     Body (p, li, body copy) : 1.05rem (~17px)
     Small / meta / caption  : 0.9rem  (~14px)
   ═══════════════════════════════════════════════════════════════ */

/* H1 — article titles, page hero headings, all large display text */
.plr-title,
.aip-title,
.sa-title,
.stp-title,
.sc-section-h1,
.hero h1,
.featured-head h2,
.browse-head h2,
.auth-articles-heading{
  font-family:var(--font);
  font-size:2rem;
  font-weight:800;
  line-height:1.2;
  letter-spacing:-.01em;
}

/* H2 — section headings ("Meet the Authors", "Chapters in this guide", FAQ, etc.) */
.plr-body h2,
.aip-body h2,
.sa-body h2,
.skb-faq-title,
.plr-faq .skb-faq-title,
.plr-section-header h2,
.plr-hub-header h2,
.plr-meet-authors h2,
.plr-related-heading,
.sa-author-bio-heading,
.plr-chapters h2,
.plr-chapters-grid + h2,
.community-head h2,
.nl-left h2,
.sc-content h2,
.auth-section-heading{
  font-family:var(--font);
  font-size:1.65rem;
  font-weight:700;
  line-height:1.3;
  letter-spacing:-.005em;
}

/* H3 — sub-section headings inside article body, card titles */
.plr-body h3,
.aip-body h3,
.sa-body h3,
.auth-article-title,
.auth-rec-title,
.auth-more-title,
.sa-bio-name,
.plr-author-card-info h4{
  font-family:var(--font);
  font-size:1.25rem;
  font-weight:700;
  line-height:1.35;
}

/* H4 — card titles */
.plr-body h4,
.aip-body h4,
.sa-body h4,
.plr-chapter-body h4,
.auth-article-card h4,
.sa-bio-role{
  font-family:var(--font);
  font-size:1.1rem;
  font-weight:700;
  line-height:1.4;
}

/* H5 */
.plr-body h5,
.aip-body h5,
.sa-body h5{
  font-family:var(--font);
  font-size:1rem;
  font-weight:700;
  line-height:1.45;
}

/* H6 */
.plr-body h6,
.aip-body h6,
.sa-body h6{
  font-family:var(--font);
  font-size:.95rem;
  font-weight:700;
  line-height:1.5;
}

/* Body copy — paragraphs, list items, body containers */
.plr-body,
.aip-body,
.sa-body,
.plr-body p,
.plr-body li,
.aip-body p,
.aip-body li,
.sa-body p,
.sa-body li,
.plr-subtitle,
.stp-subtitle,
.hero-sub,
.browse-head p,
.plr-author-card-bio,
.auth-hero-bio,
.sa-bio-text{
  font-family:var(--font);
  font-size:1.05rem;
  line-height:1.7;
}

/* Meta / small / caption text */
.plr-meta-item,
.plr-meta-row,
.aip-meta-row,
.aip-meta-item,
.sa-meta-item,
.sa-meta,
.plr-updated-badge,
.plr-author-card-role,
.auth-hero-meta,
.auth-hero-subtitle,
.auth-hero-location,
.auth-rec-meta,
.auth-more-meta,
.skb-faq-question,
.skb-faq-answer-inner,
.plr-body blockquote cite,
.plr-body table,
.aip-body table,
.sa-body table,
.plr-body th,
.aip-body pre,
.sa-body pre,
.plr-body ol li::before{
  font-family:var(--font);
  font-size:.9rem;
  line-height:1.6;
}

/* Responsive clamps — keep headings readable on small screens but preserve the scale */
@media(max-width:768px){
  .plr-title,.aip-title,.sa-title,.stp-title,.sc-section-h1,.hero h1,.featured-head h2,.browse-head h2,.auth-hero-name,.auth-articles-heading{font-size:1.65rem}
  .plr-body h2,.aip-body h2,.sa-body h2,.skb-faq-title,.plr-faq .skb-faq-title,.plr-section-header h2,.plr-hub-header h2,.plr-meet-authors h2,.plr-related-heading,.sa-author-bio-heading,.community-head h2,.nl-left h2,.sc-content h2{font-size:1.4rem}
  .plr-body h3,.aip-body h3,.sa-body h3,.auth-article-title,.sa-bio-name,.plr-author-card-info h4{font-size:1.15rem}
  .plr-body,.aip-body,.sa-body,.plr-body p,.plr-body li,.aip-body p,.aip-body li,.sa-body p,.sa-body li,.plr-subtitle,.stp-subtitle,.hero-sub,.browse-head p,.plr-author-card-bio,.auth-hero-bio,.sa-bio-text{font-size:1rem}
}
@media(max-width:480px){
  .plr-title,.aip-title,.sa-title,.stp-title,.sc-section-h1,.hero h1,.featured-head h2,.browse-head h2,.auth-hero-name,.auth-articles-heading{font-size:1.5rem}
  .plr-body h2,.aip-body h2,.sa-body h2,.skb-faq-title,.plr-faq .skb-faq-title,.plr-section-header h2,.plr-hub-header h2,.plr-meet-authors h2,.plr-related-heading,.sa-author-bio-heading,.community-head h2,.nl-left h2,.sc-content h2{font-size:1.25rem}
}

/* ═══ WP ═══ */
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}

/* YouTube facade (Phase 11.4). Renders as a poster image with a play button.
   The real iframe is injected via main.js on first interaction. */
.vp-facade{position:relative;cursor:pointer;background:#000;overflow:hidden}
.vp-facade img{width:100%;height:auto;display:block;aspect-ratio:16/9;object-fit:cover;opacity:.92;transition:opacity .15s}
.vp-facade:hover img,.vp-facade:focus-visible img{opacity:1}
.vp-facade-play{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}
.vp-facade-play::before{content:"";width:84px;height:84px;border-radius:50%;background:rgba(255,255,255,.96);transition:transform .2s}
.vp-facade:hover .vp-facade-play::before{transform:scale(1.06)}
.vp-facade-play::after{content:"";position:absolute;width:0;height:0;border-left:24px solid #1f1f1f;border-top:15px solid transparent;border-bottom:15px solid transparent;margin-left:6px}
.vp-facade:focus-visible{outline:3px solid var(--orange);outline-offset:2px}

/* ═══════════════════════════════════════════════════════════════
   FACETWP INTEGRATION
   FacetWP's default CSS is dequeued by inc/facetwp.php — these
   rules style its output (.facetwp-* classes) plus the wrapping
   .sk-facets / .sk-facet structure that templates render around it.
   ═══════════════════════════════════════════════════════════════ */
.sk-facets{display:flex;gap:1.25rem;flex-wrap:wrap;align-items:flex-start}
.sk-facets--bar{flex-direction:row}
.sk-facets--sidebar{flex-direction:column;gap:1.5rem}
.sk-facet{flex:1 1 200px;min-width:160px}
.sk-facets--sidebar .sk-facet{flex:1 1 auto;width:100%}
.sk-facet__label{font-size:14px;font-weight:700;color:var(--text);text-transform:none;letter-spacing:0;margin-bottom:.5rem;display:block}

/* FacetWP search facet — match the existing .filter-search look */
.facetwp-type-search{position:relative}
.facetwp-type-search input.facetwp-search{width:100%;height:45px;padding:8px 16px 8px 40px;border-radius:var(--r);border:1px solid var(--text-muted);font-size:16px;color:var(--text);background:var(--bg);outline:none;font-family:var(--font);transition:border-color var(--ease)}
.facetwp-type-search input.facetwp-search:focus{border-color:var(--text)}
.facetwp-type-search input.facetwp-search::placeholder{color:var(--text-muted)}
.facetwp-type-search::before{content:"";position:absolute;left:14px;top:50%;transform:translateY(-50%);width:16px;height:16px;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");background-size:contain;background-repeat:no-repeat;opacity:.47;pointer-events:none}

/* FacetWP checkbox facet — clean list style with count badges */
.facetwp-type-checkboxes{display:flex;flex-direction:column;gap:.4rem}
.facetwp-checkbox{display:flex;align-items:center;gap:.6rem;padding:.4rem .25rem;cursor:pointer;font-size:14px;color:var(--text);user-select:none;border-radius:var(--r);transition:background var(--ease)}
.facetwp-checkbox:hover{background:var(--bg-light)}
.facetwp-checkbox:before{content:"";width:16px;height:16px;flex-shrink:0;border:1.5px solid var(--text-muted);border-radius:3px;background:var(--bg);transition:all var(--ease);display:inline-block}
.facetwp-checkbox.checked:before{background:var(--orange);border-color:var(--orange);background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 6.5L5 9L9.5 3.5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-size:12px 12px;background-repeat:no-repeat;background-position:center}
.facetwp-checkbox.disabled{opacity:.4;cursor:not-allowed}
.facetwp-checkbox .facetwp-counter{margin-left:auto;font-size:12px;color:var(--text-muted);font-weight:500;font-variant-numeric:tabular-nums}
.facetwp-checkbox.checked .facetwp-counter{color:var(--text-light)}

/* FacetWP dropdown facet (used in bar layout for type/topic when compact) */
.facetwp-type-dropdown select.facetwp-dropdown{padding:8px 40px 8px 16px;height:45px;border-radius:var(--r);border:1px solid var(--text-muted);font-size:16px;color:var(--text);background:var(--bg);cursor:pointer;width:100%;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%231f1f1f' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;outline:none}

/* Reset button — coral pill matching theme accents */
.sk-facet__reset{font-size:13px;color:var(--orange);background:transparent;border:1px solid var(--orange);border-radius:999px;padding:.5rem 1rem;cursor:pointer;font-weight:600;transition:all var(--ease);align-self:flex-start;font-family:var(--font)}
.sk-facet__reset:hover{background:var(--orange);color:#fff}
.sk-facets--bar .sk-facet__reset{align-self:center}

/* FacetWP pager — numbered pages, matches existing .pagination aesthetic */
.sk-facet-pager{display:flex;align-items:center;justify-content:space-between;margin-top:2rem;flex-wrap:wrap;gap:1rem}
.sk-facet-pager__count{font-size:14px;color:var(--text-light)}
.facetwp-pager{display:flex;gap:.25rem;align-items:center}
.facetwp-pager .facetwp-page{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 .6rem;border-radius:var(--r);font-size:14px;color:var(--text);background:transparent;cursor:pointer;text-decoration:none;transition:all var(--ease);font-variant-numeric:tabular-nums}
.facetwp-pager .facetwp-page:hover{background:var(--bg-light)}
.facetwp-pager .facetwp-page.active{background:var(--orange);color:#fff;font-weight:600;cursor:default}
.facetwp-pager .facetwp-page.disabled{opacity:.35;cursor:not-allowed;pointer-events:none}

/* Loading state — fade the grid while FacetWP refetches */
.facetwp-loading,.facetwp-template.facetwp-loading{opacity:.5;pointer-events:none;transition:opacity var(--ease)}

/* Make the FacetWP-wrapped grid behave like the existing .grid */
.facetwp-template > .sk-grid,.facetwp-template > .grid{display:grid;gap:1.5rem}
@media (min-width:768px){.facetwp-template > .sk-grid,.facetwp-template > .grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1024px){.facetwp-template > .sk-grid,.facetwp-template > .grid{grid-template-columns:repeat(3,1fr)}}

/* Archive sidebar variant — sticky on desktop so facets stay in view */
.filter-side--facetwp{position:sticky;top:88px}
@media (max-width:768px){.filter-side--facetwp{position:static}}

/* Compact bar layout on the front-page browse section
   ─────────────────────────────────────────────────
   The base .filter-row is a 3-column grid for the legacy <select> layout.
   When FacetWP renders we replace that single grid cell with a flex bar,
   so we collapse the grid first and let .sk-facets--bar own the row. */
.filter-row--facetwp{display:block}
.filter-row--facetwp .sk-facets--bar{width:100%;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:flex-end;gap:1rem}
.filter-row--facetwp .sk-facet--search{flex:1 1 320px;min-width:240px}
.filter-row--facetwp .sk-facet--type,
.filter-row--facetwp .sk-facet--topic{flex:0 1 220px;min-width:160px}
.filter-row--facetwp .sk-facet__reset{flex:0 0 auto;align-self:flex-end;margin-bottom:0}
@media (max-width:768px){
  .filter-row--facetwp .sk-facets--bar{flex-wrap:wrap}
  .filter-row--facetwp .sk-facet--search,
  .filter-row--facetwp .sk-facet--type,
  .filter-row--facetwp .sk-facet--topic{flex:1 1 100%;min-width:0}
}
