/*
Theme Name: MODWEEN Press 2.1
Theme URI: https://modween.com
Author: MODWEEN
Description: Responsive editorial WordPress theme with progressive Load More, category discovery and advertising slots.
Version: 2.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: modween-press
*/
:root{
  --forest:#102e24;
  --dark:#071a14;
  --lime:#00E676;
  --lime-bright:#00FFA3;
  --cream:#f7f7ed;
  --ink:#14251d;
  --muted:#66736a;
  --line:#dce4d7;
  --brand-neon:#00E676;
  --brand-glow:rgba(0,230,118,0.45);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.55 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto;display:block}
.container{width:min(1240px,calc(100% - 36px));margin:auto}
.skip-link{position:absolute;left:-9999px;top:10px;background:white;padding:10px;z-index:100}
.skip-link:focus{left:10px}

/* ==========================================================================
   HEADER & BRANDING (Verge + TechCrunch Hybrid)
   ========================================================================== */
.site-header{
  background:linear-gradient(180deg,#061711 0%,#0c261e 100%);
  color:white;
  position:sticky;
  top:0;
  z-index:100;
  box-shadow:0 3px 20px rgba(0,0,0,0.5);
  border-bottom:1px solid rgba(0,230,118,0.22);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:72px;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:12px;
  text-decoration:none!important;
  user-select:none;
}
.brand-emblem-wrap{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  filter:drop-shadow(0 2px 8px rgba(0,0,0,0.5));
  transition:transform .3s cubic-bezier(.16,1,.3,1),filter .3s ease;
}
.brand-shimmer,
.brand-emblem-wrap::after{
  content:'';
  position:absolute;
  inset:-2px;
  border-radius:10px;
  background:linear-gradient(115deg,transparent 20%,rgba(0,230,118,0.35) 45%,rgba(200,236,116,0.65) 50%,rgba(0,230,118,0.35) 55%,transparent 80%);
  opacity:.75;
  mix-blend-mode:screen;
  pointer-events:none;
  background-size:220% 220%;
  animation:emblemShimmer 4.2s ease-in-out infinite;
}
@keyframes emblemShimmer{
  0%,20%{background-position:180% 0%}
  50%,100%{background-position:-80% 100%}
}
.brand-svg{
  display:block;
  overflow:visible;
  transition:transform .3s cubic-bezier(.16,1,.3,1);
}
.brand-text{
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.brand-name{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  font-weight:950;
  font-size:1.68rem;
  letter-spacing:-.055em;
  color:#ffffff;
  line-height:1;
  text-transform:uppercase;
  display:inline-flex;
  align-items:center;
  transition:letter-spacing .25s ease,text-shadow .25s ease;
}
.brand-slash,
.brand-accent{
  color:#00E676;
  margin-left:2px;
  font-weight:900;
  letter-spacing:-.02em;
}
.brand-badge{
  font-size:.65rem;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
  background:#00E676;
  color:#061b14;
  padding:3px 6px;
  border-radius:4px;
  line-height:1;
  box-shadow:0 0 10px rgba(0,230,118,0.4);
  transition:all .25s ease;
}
.brand:hover .brand-emblem-wrap,.brand:focus-visible .brand-emblem-wrap{
  transform:scale(1.08) rotate(-1.5deg);
  filter:drop-shadow(0 0 12px rgba(0,230,118,0.55)) drop-shadow(0 0 22px rgba(0,230,118,0.3));
}
.brand:hover .brand-name{
  letter-spacing:-.038em;
  text-shadow:0 0 18px rgba(0,230,118,0.4);
}
.brand:hover .brand-badge{
  background:#00FFA3;
  box-shadow:0 0 14px rgba(0,255,163,0.7);
}

/* ==========================================================================
   NAVIGATION, TOPICS DROPDOWN & SEARCH
   ========================================================================== */
.nav{
  display:flex;
  gap:16px;
  margin-left:auto;
  align-items:center;
}
.nav-dropdown{
  position:relative;
}
.nav-dropdown-btn,
.dropdown-trigger{
  display:inline-flex;
  align-items:center;
  gap:7px;
  background:rgba(0,230,118,0.12);
  color:#00E676;
  border:1px solid rgba(0,230,118,0.38);
  border-radius:8px;
  padding:8px 14px;
  font-size:.85rem;
  font-weight:800;
  letter-spacing:-.01em;
  cursor:pointer;
  transition:all .22s cubic-bezier(.16,1,.3,1);
}
.nav-dropdown-btn:hover,
.dropdown-trigger:hover,
.nav-dropdown.is-open .nav-dropdown-btn,
.nav-dropdown.is-open .dropdown-trigger{
  background:#00E676;
  color:#061b14;
  border-color:#00E676;
  box-shadow:0 0 14px rgba(0,230,118,0.45);
}
.nav-dropdown-btn .chevron-icon,
.dropdown-trigger .dropdown-chevron{
  transition:transform .24s cubic-bezier(.16,1,.3,1);
}
.nav-dropdown.is-open .nav-dropdown-btn .chevron-icon,
.nav-dropdown.is-open .dropdown-trigger .dropdown-chevron{
  transform:rotate(180deg);
}
.nav-dropdown-panel,
.dropdown-panel{
  display:none;
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  width:330px;
  background:rgba(8,22,17,0.97);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border:1px solid rgba(0,230,118,0.3);
  border-radius:12px;
  padding:16px;
  box-shadow:0 18px 45px rgba(0,0,0,0.65),0 0 24px rgba(0,230,118,0.12);
  z-index:200;
}
.nav-dropdown.is-open .nav-dropdown-panel,
.nav-dropdown.is-open .dropdown-panel{
  display:block;
  animation:dropdownAnim .22s cubic-bezier(.16,1,.3,1);
}
@keyframes dropdownAnim{
  from{opacity:0;transform:translateY(-8px)}
  to{opacity:1;transform:translateY(0)}
}
.dropdown-header,
.dropdown-panel-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid rgba(255,255,255,0.08);
  padding-bottom:10px;
  margin-bottom:8px;
}
.dropdown-eyebrow,
.dropdown-tag{
  font-size:.68rem;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:#00E676;
}
.dropdown-meta,
.dropdown-subtext{
  font-size:.7rem;
  color:#8da496;
}
.dropdown-grid{
  display:flex;
  flex-direction:column;
  gap:3px;
  max-height:360px;
  overflow-y:auto;
}
.dropdown-item,
.dropdown-cat-item,
.dropdown-topic-item{
  display:flex;
  align-items:center;
  padding:7px 10px;
  border-radius:7px;
  color:#f0f7f2;
  font-size:.86rem;
  font-weight:700;
  transition:all .18s ease;
  text-decoration:none!important;
}
.dropdown-item:hover,
.dropdown-cat-item:hover,
.dropdown-topic-item:hover{
  background:rgba(0,230,118,0.14);
  color:#00E676;
  transform:translateX(4px);
}
.cat-bullet,
.topic-indicator{
  color:#00E676;
  font-weight:900;
  margin-right:8px;
  font-family:monospace;
}
.cat-name,
.topic-name{
  flex-grow:1;
}
.cat-count,
.topic-count{
  font-size:.7rem;
  background:rgba(255,255,255,0.09);
  color:#9ab4a3;
  padding:2px 7px;
  border-radius:10px;
  font-weight:600;
}
.dropdown-footer{
  border-top:1px solid rgba(255,255,255,0.08);
  margin-top:8px;
  padding-top:8px;
}
.dropdown-all-link{
  display:block;
  color:#00E676;
  font-size:.8rem;
  font-weight:750;
  text-align:right;
  text-decoration:none!important;
  transition:opacity .2s ease;
}
.dropdown-all-link:hover{
  opacity:.85;
}

.nav-primary-links{
  display:flex;
  align-items:center;
  gap:12px;
}
.nav-primary-links a{
  font-size:.85rem;
  font-weight:750;
  color:#e4ece6;
  padding:6px 10px;
  border-radius:6px;
  transition:color .2s ease,background .2s ease;
  text-decoration:none!important;
}
.nav-primary-links a:hover{
  color:#00E676;
  background:rgba(255,255,255,0.06);
}

/* Search bar (TechCrunch expandable pill) */
.header-search{
  position:relative;
}
.search-form-pill,
.header-search-form{
  display:flex;
  align-items:center;
}
.search-field-pill{
  display:flex;
  align-items:center;
  position:relative;
  background:rgba(6,20,15,0.85);
  border:1px solid rgba(255,255,255,0.18);
  border-radius:24px;
  padding:4px 6px 4px 12px;
  transition:all .25s cubic-bezier(.16,1,.3,1);
  box-shadow:inset 0 1px 3px rgba(0,0,0,0.3);
}
.search-field-pill:focus-within{
  background:rgba(4,14,10,0.95);
  border-color:#00E676;
  box-shadow:0 0 0 3px rgba(0,230,118,0.22),0 0 16px rgba(0,230,118,0.3);
}
.search-field-icon{
  color:#8ba594;
  flex-shrink:0;
  transition:color .2s ease;
}
.search-field-pill:focus-within .search-field-icon{
  color:#00E676;
}
.search-field-pill input{
  border:0;
  background:transparent;
  color:#ffffff;
  font-size:.84rem;
  padding:5px 8px;
  width:130px;
  outline:none;
  transition:width .28s cubic-bezier(.16,1,.3,1);
}
.search-field-pill input::placeholder{
  color:#779180;
}
.search-field-pill:focus-within input{
  width:185px;
}
.search-action-btn{
  border:0;
  background:#00E676;
  color:#061912;
  width:26px;
  height:26px;
  border-radius:50%;
  display:grid;
  place-items:center;
  cursor:pointer;
  padding:0;
  flex-shrink:0;
  transition:all .2s ease;
}
.search-action-btn:hover{
  background:#00FFA3;
  transform:scale(1.08);
  box-shadow:0 0 10px rgba(0,255,163,0.6);
}

.menu-toggle{
  display:none;
}

/* ==========================================================================
   TICKER, HERO, STORY GRID, SIDEBAR
   ========================================================================== */
.ticker{border-bottom:1px solid var(--line);padding:11px 0;font-size:.86rem}.ticker strong{color:var(--forest);margin-right:12px}.ticker a{margin-right:17px}
.section-head{display:flex;align-items:baseline;justify-content:space-between;border-bottom:3px solid var(--forest);padding-bottom:8px;margin:30px 0 18px;gap:12px}
.section-head h2{margin:0;font-size:1.55rem;letter-spacing:-.04em}.section-head a{font-size:.86rem;color:var(--forest);font-weight:800}
.hero{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:24px;margin-top:24px}
.hero-main{position:relative;min-height:430px;background:var(--dark);color:white;overflow:hidden;border-radius:9px}
.hero-main img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.hero-main:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 15%,#071b16ed)}
.hero-content{position:absolute;z-index:1;bottom:0;padding:27px}
.hero-content h1{font-size:clamp(1.6rem,3vw,2.6rem);line-height:1.15;letter-spacing:-.04em;margin:9px 0}
.eyebrow{font-size:.7rem;text-transform:uppercase;letter-spacing:.1em;font-weight:900;color:#2e7e49}.hero-content .eyebrow{color:var(--lime)}
.hero-side{display:grid;gap:14px}
.mini-story{display:grid;grid-template-columns:112px 1fr;gap:12px;border-bottom:1px solid var(--line);padding-bottom:12px}
.mini-story img{width:112px;height:86px;object-fit:cover;border-radius:6px}
.mini-story h3{font-size:1rem;line-height:1.28;margin:5px 0}
.meta{font-size:.75rem;color:var(--muted)}
.layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:36px}
.story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.story-card{min-width:0}
.story-card img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:7px;background:#e1e8dc}
.story-card h3{font-size:1.05rem;line-height:1.3;letter-spacing:-.025em;margin:8px 0}
.story-card .eyebrow{display:block;margin-top:10px}
.sidebar{padding-top:5px}
.side-list{display:grid;gap:14px}
.side-list article{border-bottom:1px solid var(--line);padding-bottom:13px}
.side-list h3{font-size:.94rem;line-height:1.35;margin:4px 0}
.ad-slot{min-height:145px;border:1px dashed #b7c9b5;display:grid;place-items:center;color:#708173;font-size:.72rem;letter-spacing:.07em;margin:24px 0;background:#f1f4e9}
.load-wrap{text-align:center;padding:35px 0}
.load-more,.btn{border:0;background:var(--lime);color:var(--dark);padding:10px 16px;border-radius:6px;font-weight:800;cursor:pointer}
.load-more{min-width:200px}
.load-more:hover{filter:brightness(.95)}
.load-more[disabled]{opacity:.55;cursor:wait}
.category-strip{display:flex;gap:10px;overflow:auto;padding:15px 0}
.category-strip a{white-space:nowrap;border:1px solid var(--line);border-radius:20px;padding:7px 14px;font-size:.85rem;font-weight:700}
.category-strip a:hover{background:var(--lime);color:#061912}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{
  background:linear-gradient(180deg,#0a1f18 0%,#05110d 100%);
  color:#e9f3e4;
  margin-top:50px;
  padding:48px 0 36px;
  border-top:1px solid rgba(0,230,118,0.25);
}
.footer-grid{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,1.8fr);
  gap:36px;
}
.footer-brand-col{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.footer-brand{
  margin-bottom:14px;
}
.footer-tagline{
  font-size:.88rem;
  color:#9ab4a3;
  line-height:1.6;
  margin:0;
}
.footer-nav-col .footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:12px 22px;
  align-items:center;
}
.footer-links a{
  font-size:.88rem;
  color:#c7ded0;
  font-weight:600;
  transition:color .2s ease;
  text-decoration:none!important;
}
.footer-links a:hover{
  color:#00E676;
}

/* ==========================================================================
   ARTICLE & MISC
   ========================================================================== */
.article-layout{display:grid;grid-template-columns:minmax(0,790px) 290px;gap:50px;margin-top:35px}
.article-title{font-size:clamp(2rem,5vw,3.4rem);letter-spacing:-.055em;line-height:1.12;margin:12px 0}
.article-body{font-size:1.12rem;line-height:1.8;overflow-wrap:anywhere}
.article-body img{margin:20px auto}
.article-body a{text-decoration:underline;color:var(--forest)}
.article-body iframe{max-width:100%}
.article-body blockquote{border-left:4px solid var(--forest);padding-left:20px;margin-left:0}
.article-cover{width:100%;border-radius:9px;margin:22px 0}
.pagination{margin:25px 0}
.pagination .page-numbers{display:inline-block;padding:8px 13px;border:1px solid var(--line);margin:3px}
.pagination .current{background:var(--forest);color:white}
.progress{height:3px;position:fixed;top:0;left:0;background:var(--lime);width:0;z-index:100}
.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}
.screen-reader-text:focus{clip:auto;width:auto;height:auto;position:static}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media(max-width:1100px){
  .nav-primary-links{display:none}
}
@media(max-width:1050px){
  .story-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .container{width:min(100% - 28px,600px)}
  .header-inner{min-height:64px;flex-wrap:wrap}
  .brand-name{font-size:1.4rem}
  .brand-emblem-wrap{width:36px;height:36px}
  .brand-svg{width:32px;height:32px}
  .menu-toggle{
    display:flex;
    align-items:center;
    gap:8px;
    margin-left:auto;
    border:1px solid rgba(0,230,118,0.35);
    background:rgba(0,230,118,0.1);
    color:white;
    border-radius:7px;
    padding:7px 11px;
    font-size:.85rem;
    font-weight:700;
    cursor:pointer;
  }
  .menu-toggle-icon{
    display:flex;
    flex-direction:column;
    gap:4px;
    width:15px;
  }
  .menu-toggle-icon span{
    display:block;
    height:2px;
    background:#00E676;
    border-radius:2px;
  }
  .nav{
    display:none;
    order:5;
    width:100%;
    margin:10px 0 6px;
    padding:16px;
    background:rgba(7,20,15,0.98);
    border:1px solid rgba(0,230,118,0.22);
    border-radius:12px;
    flex-direction:column;
    align-items:stretch;
    gap:14px;
    box-shadow:0 12px 30px rgba(0,0,0,0.6);
  }
  .nav.open{display:flex}
  .nav-dropdown{width:100%}
  .nav-dropdown-btn,
  .dropdown-trigger{
    width:100%;
    justify-content:space-between;
    padding:10px 14px;
    font-size:.92rem;
  }
  .nav-dropdown-panel,
  .dropdown-panel{
    position:static;
    width:100%;
    margin-top:8px;
    box-shadow:none;
    border:1px solid rgba(0,230,118,0.2);
  }
  .nav-primary-links{
    display:flex;
    flex-direction:column;
    gap:2px;
  }
  .nav-primary-links a{
    padding:10px 6px;
    border-bottom:1px solid rgba(255,255,255,0.06);
    font-size:.94rem;
  }
  .header-search{width:100%}
  .search-form-pill,
  .header-search-form{width:100%}
  .search-field-pill{width:100%}
  .search-field-pill input{width:100%!important}
  
  .footer-grid{grid-template-columns:1fr;gap:24px}
  .hero{grid-template-columns:1fr;gap:17px}
  .hero-main{min-height:330px}
  .hero-content{padding:19px}
  .hero-side{grid-template-columns:1fr 1fr}
  .mini-story{grid-template-columns:1fr}
  .mini-story img{width:100%;height:100px}
  .layout,.article-layout{grid-template-columns:1fr;gap:12px}
  .story-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
  .story-card h3{font-size:.95rem}
  .sidebar{display:block}
  .sidebar .ad-slot{min-height:90px}
  .article-body{font-size:1.04rem}
  .ticker{overflow:hidden;white-space:nowrap}
  .section-head h2{font-size:1.35rem}
}
@media(max-width:380px){
  .story-grid{grid-template-columns:1fr}
  .hero-side{grid-template-columns:1fr 1fr}
  .mini-story h3{font-size:.87rem}
}
@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}
  .brand-shimmer,
  .brand-emblem-wrap::after{display:none!important}
}

/* Newsroom editions */
.newsroom { padding-top: 18px; }
.section-head h1 { font-size: clamp(1.65rem, 4vw, 2.45rem); margin: 0; }
.newsroom .hero { margin-top: 0; }
.hero-main { isolation: isolate; }
.hero-side .mini-story h2 { font-size: 1rem; line-height: 1.25; margin: 4px 0; }
.hero .eyebrow a { color: inherit; }
.story-copy { padding: 10px 0; min-width: 0; overflow-wrap: anywhere; }
.story-card h2, .story-card h3 { font-size: 1.03rem; line-height: 1.3; margin: 4px 0; }
.story-card > a { display: block; }
.story-card img { aspect-ratio: 30 / 19; width: 100%; height: auto; object-fit: cover; }
.story-card { min-width: 0; }
.ranked-stories { margin: 0; padding-left: 1.5rem; }
.ranked-stories li { border-bottom: 1px solid var(--line); padding: 9px 0 9px 5px; font-weight: 650; }
.ranked-stories li::marker { color: var(--forest); font-weight: 800; }
.sidebar-section, .newsletter, .ad-slot { margin-bottom: 24px; }
.newsletter { background: var(--forest); color: var(--cream); padding: 16px; }
.newsletter h2 { margin: 0 0 6px; font-size: 1.05rem; }
.newsletter a { color: var(--lime-bright); display: inline-flex; align-items: center; min-height: 44px; gap: 8px; }
.sidebar .ad-slot { display: block; min-height: 250px; width: 100%; margin: 0 0 24px; }
.ad-slot > span { display: block; margin-bottom: 8px; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.ad-widget { width: 100%; min-width: 0; }
.author-box, .disclosure { padding: 16px; border-left: 3px solid var(--forest); background: #edf1e5; }
.author-box { margin: 16px 0 24px; }
.author-box :first-child { margin-top: 0; }
.author-box :last-child { margin-bottom: 0; }
.byline { text-decoration: underline; font-weight: 700; }
.adjacent-stories { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.search-grid { margin-top: 20px; }
.feed-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.feed-pagination .load-more { background: var(--forest); color: white; }
.custom-logo-link img { width: auto; max-height: 46px; max-width: 212px; }
.nav-primary-links ul, .footer-links ul { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0; }
#main :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
:root { scroll-padding-top: 84px; }
body.admin-bar .site-header { top: 32px; }
.skip-link:focus { z-index: 110; color: var(--ink); }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
@media (max-width: 760px) {
  .newsroom .hero-main { min-height: 255px; }
  .newsroom .hero-content { padding: 15px; }
  .newsroom .hero-side { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
  .newsroom .mini-story { display: block; }
  .newsroom .mini-story img { display: none; }
  .newsroom .mini-story h2 { font-size: .92rem; }
  .newsroom .story-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .newsroom .story-card { display: flex; gap: 12px; align-items: center; }
  .newsroom .story-card > a { width: 92px; flex: none; }
  .newsroom .story-copy { flex: 1; }
  .newsroom .story-card + .story-card { border-top: 1px solid var(--line); }
  .nav.open { max-height: 68vh; overflow-y: auto; }
}
@media (max-width: 600px) {
  body.admin-bar .site-header { top: 0; }
}



/* ==========================================================================
   MODWEEN MODERN EDITORIAL UI ENHANCEMENTS
   Inspired by motion-sites & react-bits (GPU-accelerated, 0kb runtime JS overhead)
   ========================================================================== */

/* 1. Header & Quick Actions */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(7, 26, 20, 0.88);
  border-bottom: 1px solid rgba(0, 230, 118, 0.15);
  transition: transform 0.25s ease, background 0.25s ease;
}

/* Header Write for Us Contributor Pill */
.nav .contributor-nav-pill, .nav a[href*="write-for-us"] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.15), rgba(0, 255, 163, 0.25)) !important;
  border: 1px solid rgba(0, 230, 118, 0.4) !important;
  color: #00FFA3 !important;
  font-weight: 600 !important;
  padding: 5px 12px !important;
  border-radius: 9999px !important;
  font-size: 13px !important;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform, box-shadow;
}

.nav .contributor-nav-pill:hover, .nav a[href*="write-for-us"]:hover {
  background: #00E676 !important;
  color: #071a14 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 230, 118, 0.35);
}

/* 2. Interactive Story Cards (React-Bits Bento & Motion-Sites Lift) */
.story-card, .hero-lead, .hero-sub {
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease;
  will-change: transform;
}

.story-card:hover, .hero-sub:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 230, 118, 0.35);
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.35), 0 0 12px -2px rgba(0, 230, 118, 0.15);
}

.story-card img, .hero-lead img, .hero-sub img {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.story-card:hover img, .hero-lead:hover img, .hero-sub:hover img {
  transform: scale(1.03);
}

/* 3. Styled Key Points / Key Takeaways Box */
.article-body ul:first-of-type,
.article-body p:has(+ ul) + ul,
.article-body .key-takeaways-box {
  background: rgba(16, 46, 36, 0.35);
  border: 1px solid rgba(0, 230, 118, 0.25);
  border-left: 4px solid #00E676;
  border-radius: 12px;
  padding: 18px 24px 18px 38px;
  margin: 22px 0 28px 0;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.25);
  position: relative;
}

.article-body ul:first-of-type li,
.article-body p:has(+ ul) + ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.article-body ul:first-of-type li:last-child,
.article-body p:has(+ ul) + ul li:last-child {
  margin-bottom: 0;
}

/* 4. Responsive & High-Performance Data Tables (Zero Overflow) */
.article-body table {
  width: 100% !important;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 14.5px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  display: table;
}

@media (max-width: 768px) {
  .article-body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
}

.article-body table th {
  background: #102e24;
  color: #00FFA3;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid rgba(0, 230, 118, 0.3);
}

.article-body table td {
  padding: 11px 16px;
  border-bottom: 1px solid rgba(220, 228, 215, 0.12);
  color: #f7f7ed;
}

.article-body table tr:nth-child(even) td {
  background: rgba(16, 46, 36, 0.2);
}

.article-body table tr:hover td {
  background: rgba(0, 230, 118, 0.08);
}

/* 5. Article Meta & Byline Micro-Interactions */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(220, 228, 215, 0.1);
}

.article-meta .byline-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 230, 118, 0.1);
  color: #00FFA3;
  padding: 3px 10px;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 12px;
}

/* 6. FAQ Accordion Clean Styling */
.aiseo-faq-block {
  margin: 36px 0;
  border-top: 2px solid rgba(0, 230, 118, 0.2);
  padding-top: 24px;
}

.aiseo-faq-item {
  background: rgba(16, 46, 36, 0.25);
  border: 1px solid rgba(0, 230, 118, 0.15);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.aiseo-faq-item:hover {
  border-color: rgba(0, 230, 118, 0.35);
  background: rgba(16, 46, 36, 0.4);
}

.aiseo-faq-question {
  margin: 0 0 6px 0;
  font-size: 16px;
  color: #00FFA3;
  font-weight: 600;
}

.aiseo-faq-answer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #e2e8f0;
}
