/* Public site styles — same design tokens as assets/css/admin.css so the
   public pages and admin shell feel like one product. */
:root{
  --paper:#FFFFFF; --ink:#10140F; --ink-soft:#57615A;
  --green:#22B25B; --green-bright:#36E07A; --green-deep:#0F7A3C;
  --green-50:#EFFBF2; --green-100:#D7F3DF; --gold:#FBBF24; --gold-deep:#6B3F02; --line:#E4E9E4;
  --shadow:0 24px 60px -28px rgba(16,20,15,.35);
}
*{box-sizing:border-box;}
body{margin:0; background:var(--paper); color:var(--ink); font-family:'Plus Jakarta Sans',sans-serif; line-height:1.5;}
a{color:inherit; text-decoration:none;}
h1,h2,h3{font-family:'Baloo 2',sans-serif; margin:0;}
section{scroll-margin-top:92px;}
.container{max-width:1180px; margin:0 auto; padding:0 24px;}
.eyebrow{display:inline-flex; align-items:center; gap:8px; font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--green-deep); background:var(--green-50); border:1px solid var(--green-100); padding:6px 14px; border-radius:999px;}
.btn-primary{display:inline-flex; align-items:center; justify-content:center; gap:8px; background:var(--green-bright); color:#06240F; font-weight:700; font-size:15px; padding:15px 28px; border-radius:999px; border:none; cursor:pointer; transition:transform .12s ease, opacity .12s ease;}
.btn-primary:hover{opacity:.92;}
.btn-ghost{display:inline-flex; align-items:center; justify-content:center; gap:8px; background:#F2F4F1; color:var(--ink); font-weight:700; font-size:15px; padding:15px 28px; border-radius:999px; border:none; cursor:pointer; transition:background .12s ease;}
.btn-ghost:hover{background:#E7EAE5;}
.card{background:#fff; border-radius:24px; box-shadow:0 1px 2px rgba(16,20,15,.05), 0 20px 40px -28px rgba(16,20,15,.22);}
.grid-3{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:22px;}
.grid-2{display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:22px;}
.badge-row{display:flex; gap:6px; flex-wrap:wrap;}
.badge-row::-webkit-scrollbar{display:none; height:0;}
.badge-row > *{flex-shrink:0; white-space:nowrap;}

/* Homepage hero quick-nav grid (one tile per listing category) */
.hero-grid{display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:10px; max-width:560px;}
.hero-tile{padding:16px 8px; display:flex; flex-direction:column; align-items:center; gap:9px; text-align:center; transition:transform .12s ease, box-shadow .12s ease;}
.hero-tile:hover{transform:translateY(-2px); box-shadow:0 1px 2px rgba(16,20,15,.06), 0 24px 44px -24px rgba(16,20,15,.3);}
.hero-tile-icon{width:36px; height:36px; border-radius:10px; background:var(--green-50); color:var(--green-deep); display:flex; align-items:center; justify-content:center; flex-shrink:0;}
.hero-tile-label{font-size:12px; font-weight:700; line-height:1.3;}

/* Falling dollar-sign decoration behind the hero */
.money-rain{position:absolute; inset:0; overflow:hidden; pointer-events:none; z-index:0;}
.money-rain span{position:absolute; top:-10%; display:inline-block; color:var(--green-bright); opacity:.22; font-family:'Baloo 2',sans-serif; font-weight:700; will-change:transform; animation-name:moneyFall; animation-timing-function:linear; animation-iteration-count:infinite;}
.money-rain span.gold{color:var(--gold);}
@keyframes moneyFall{
  0%{ transform:translateY(0) rotate(0deg); opacity:0; }
  8%{ opacity:.26; }
  92%{ opacity:.22; }
  100%{ transform:translateY(128vh) rotate(18deg); opacity:0; }
}
@media (prefers-reduced-motion: reduce){ .money-rain{display:none;} }

@media (max-width: 480px){
  .badge-row{gap:5px;}
  .badge-row > *{font-size:9.5px !important; padding:4px 7px !important;}
}
@media (max-width: 980px){
  .grid-3{grid-template-columns:repeat(2, minmax(0,1fr));}
  .hero-row{flex-direction:column;}
  .hero-right{width:100% !important;}
}
@media (max-width: 640px){
  .grid-3{grid-template-columns:1fr;}
  .grid-2{grid-template-columns:1fr;}
  .job-row{flex-direction:column; align-items:flex-start !important;}
  .job-row > .job-info{flex:0 0 auto !important; width:100%;}
  .job-votes > div{flex:1 1 100% !important; margin-left:0 !important;}
  .job-apply{width:100%;}
  .hero-grid{grid-template-columns:repeat(2, minmax(0,1fr)) !important; max-width:320px !important;}
}
@media (max-width: 720px){
  .header-row{flex-wrap:nowrap !important;}
  .header-logo{height:24px !important;}
  .header-btns{gap:8px !important;}
  .header-btns .btn-ghost, .header-btns .btn-primary{padding:9px 14px !important; font-size:13px !important;}
  /* One swipeable row on phones instead of wrapping to two lines. The next
     item peeks in cut off, and .has-more (site-header.php) fades the right
     edge until the end of the row. */
  .subnav-links{gap:18px !important; font-size:13px !important; padding-left:16px !important; padding-right:0 !important; flex-wrap:nowrap !important; justify-content:flex-start !important; overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch;}
  .subnav-wrap.has-more .subnav-links{-webkit-mask-image:linear-gradient(90deg, #000 88%, transparent); mask-image:linear-gradient(90deg, #000 88%, transparent);}
  .subnav-links::-webkit-scrollbar{display:none;}
  .subnav-links a{white-space:nowrap; flex-shrink:0;}
  .subnav-links a:last-child{padding-right:28px;}
}
/* Small phones: tighten up so the next section still peeks in at the edge. */
@media (max-width: 380px){
  .subnav-links{gap:14px !important;}
  .subnav-links a{font-size:12.5px !important;}
}

/* Section tabs (Cash Advance page): pills that jump to a section below */
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto;} }
.section-tabs{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:26px;}
.section-tabs a{display:inline-flex; align-items:center; font-size:13.5px; font-weight:700; padding:10px 18px; border-radius:999px; border:1.5px solid var(--line); background:#fff; color:var(--ink-soft); text-decoration:none;}
.section-tabs a.active{background:var(--ink); border-color:var(--ink); color:#fff;}
.list-section{scroll-margin-top:130px;}

/* Site header — dark sticky two-tier nav, matches the design canvas */
.site-header{position:sticky; top:0; z-index:50; background:#123524; border-bottom:1px solid rgba(255,255,255,.08);}
.site-header-inner{display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px clamp(20px,4vw,48px); flex-wrap:wrap;}
.site-nav a:hover, .site-nav a.active{color:#fff;}

/* Site footer */
.site-footer{background:#10140F; color:rgba(255,255,255,.7); padding:44px 24px 28px; margin-top:60px;}
.site-footer .container{display:flex; flex-wrap:wrap; gap:32px; justify-content:space-between;}
.site-footer a{color:rgba(255,255,255,.7); font-size:13.5px;}
.site-footer a:hover{color:#fff;}
.site-footer-col{display:flex; flex-direction:column; gap:10px; min-width:140px;}
.site-footer-bottom{border-top:1px solid rgba(255,255,255,.1); margin-top:32px; padding-top:20px; font-size:12.5px; color:rgba(255,255,255,.45); text-align:center;}

/* Blog index */
.blog-hero{padding:48px 0 8px;}
.blog-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:22px; margin:28px 0 60px;}
.post-card{display:block; border-radius:16px; overflow:hidden; border:1px solid var(--line); background:#fff;}
.post-card-image{height:160px; background:linear-gradient(135deg, var(--green-100), var(--green-50)); display:flex; align-items:center; justify-content:center; color:var(--green-deep); font-family:'Baloo 2'; font-weight:700;}
.post-card-body{padding:18px;}
.post-card-category{font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; color:var(--green-deep); margin-bottom:8px;}
.post-card-title{font-size:17px; font-weight:700; margin-bottom:8px;}
.post-card-excerpt{font-size:13.5px; color:var(--ink-soft);}
.post-card-meta{font-size:12px; color:var(--ink-soft); margin-top:12px;}
@media (max-width: 860px){ .blog-grid{grid-template-columns:1fr;} }

/* Single post */
.post-header{padding:40px 0 0;}
.post-category-pill{display:inline-block; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; color:var(--green-deep); background:var(--green-50); padding:5px 12px; border-radius:999px; margin-bottom:16px;}
.post-title{font-size:34px; font-weight:800; margin-bottom:16px; max-width:760px;}
.post-byline{display:flex; align-items:center; gap:10px; color:var(--ink-soft); font-size:13.5px; margin-bottom:28px;}
.post-avatar{width:36px; height:36px; border-radius:999px; background:var(--green-100); color:var(--green-deep); display:flex; align-items:center; justify-content:center; font-weight:800; font-size:14px; overflow:hidden;}
.post-avatar img{width:100%; height:100%; object-fit:cover;}
.post-hero{width:100%; max-height:420px; object-fit:cover; border-radius:16px; margin-bottom:32px; background:var(--green-50);}
.post-body{max-width:720px; font-size:16px; color:var(--ink);}
.post-body h2{font-size:22px; margin:32px 0 14px;}
.post-body h3{font-size:19px; margin:28px 0 12px; scroll-margin-top:110px;}
.post-body a{color:var(--green-deep); text-decoration:underline;}
.post-body .btn-primary, .post-body .post-glance-row{color:#06240F; text-decoration:none;}
.post-body .post-glance-row{color:var(--ink);}
.post-body p{margin:0 0 18px; line-height:1.75;}
.post-body blockquote{border-left:3px solid var(--green-bright); margin:24px 0; padding:4px 0 4px 20px; font-style:italic; color:var(--ink-soft);}
.post-body ul{margin:0 0 18px; padding-left:22px;}
.post-body li{margin-bottom:8px;}
.post-cta{background:var(--green-50); border-radius:16px; padding:24px; margin:32px 0; display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;}
.post-cta-text{font-weight:700; font-size:15px;}
.post-offer{border:1.5px solid var(--line); border-radius:18px; padding:22px; margin:28px 0; background:#fff; scroll-margin-top:120px;}
.post-offer-head{display:flex; align-items:center; gap:14px;}
.post-offer-num{width:34px; height:34px; border-radius:999px; background:var(--green-bright); color:#06240F; display:flex; align-items:center; justify-content:center; font-family:'Baloo 2'; font-weight:800; font-size:17px; flex-shrink:0;}
.post-offer-label{display:inline-block; font-size:10.5px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; color:var(--gold-deep); background:var(--gold); padding:3px 9px; border-radius:999px; margin-bottom:4px;}
.post-offer-name{font-size:20px; margin:0; line-height:1.2;}
.post-offer-text{margin-top:12px;}
.post-offer-text p{margin:0 0 10px;}
.post-glance{border:1.5px solid var(--green-100); background:var(--green-50); border-radius:16px; padding:16px 18px; margin:8px 0 26px;}
.post-glance-title{font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-soft); margin-bottom:6px;}
.post-glance-row{display:flex; align-items:center; gap:10px; padding:8px 0; border-top:1px solid var(--green-100); color:var(--ink); font-size:14px; text-decoration:none;}
.post-glance-row:first-of-type{border-top:none;}
.post-glance-num{width:22px; font-family:'Baloo 2'; font-weight:800; color:var(--green-deep);}
@media (max-width: 640px){ .post-title{font-size:26px;} .post-cta-offer > a{width:100%; text-align:center;} }

/* Listing pages (Referral Cash / Surveys / Work From Home) */
.listing-hero{padding:48px 0 20px;}
.pins-grid{display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:22px; margin-bottom:28px;}
@media (max-width: 640px){ .pins-grid{grid-template-columns:minmax(0,1fr);} }
.pin-card{border-radius:16px; padding:20px; border:1.5px solid var(--line); background:#fff; position:relative;}
.pin-ribbon{display:inline-block; font-size:10.5px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; padding:4px 10px; border-radius:999px; margin-bottom:12px;}
.pin-ribbon.featured{background:#FEF3C7; color:#92400E;}
.pin-ribbon.sponsored{background:#F2F4F1; color:var(--ink-soft);}
.listing-row{display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px 22px; border-bottom:1px solid var(--line); flex-wrap:wrap;}
.listing-row:last-child{border-bottom:none;}
.listing-name{font-weight:700; font-size:15px;}
.listing-tag{font-size:12.5px; color:var(--ink-soft); margin-top:2px;}
.listing-payout{font-weight:800; color:var(--green-deep); font-size:15px;}
.verified-badge{display:inline-flex; align-items:center; gap:4px; font-size:11px; font-weight:700; color:var(--green-deep); background:var(--green-50); padding:2px 8px; border-radius:999px; margin-left:8px;}

/* Per-listing share button + popover */
.share-wrap{position:relative; display:inline-block;}
.share-btn{width:32px; height:32px; border-radius:999px; border:1.5px solid var(--line); background:#fff; font-size:14px; cursor:pointer; display:flex; align-items:center; justify-content:center; padding:0;}
.share-btn:hover{background:#F2F4F1;}
.share-menu{display:none; position:absolute; right:0; top:calc(100% + 6px); z-index:30; background:#fff; border:1px solid var(--line); border-radius:12px; box-shadow:0 8px 24px -8px rgba(16,20,15,.25); padding:6px; min-width:170px; flex-direction:column;}
.share-menu.open{display:flex;}
.share-item{display:flex; align-items:center; gap:8px; font-size:13px; font-weight:600; color:var(--ink); background:none; border:none; text-align:left; padding:8px 10px; border-radius:8px; cursor:pointer; width:100%; text-decoration:none;}
.share-item:hover{background:var(--green-50); color:var(--green-deep);}

/* Offer detail (offer.php), Leaderboard (leaderboard.php), Partners (partner-apply.php) */
.offer-wrap{max-width:760px; margin:0 auto;}
.offer-prose p, .offer-prose li{font-size:15.5px; line-height:1.75; color:var(--ink);}
.offer-prose p{margin:0;}
.offer-prose ul{padding-left:20px; margin:0;}
/* A listing's "Offer page content" article inside the offer prose. */
.offer-prose .offer-content{margin-top:22px;}
.offer-prose .offer-content p{margin:0 0 18px;}
.offer-prose .offer-content ul{margin:0 0 18px; padding-left:22px;}
.offer-prose .offer-content h2{font-size:19px; margin:28px 0 10px;}
.offer-prose .offer-content h3{font-size:17px; margin:24px 0 10px;}
.offer-thumb{width:100%; aspect-ratio:16/10; border-radius:18px 18px 0 0; display:flex; align-items:center; justify-content:center; font-family:'Baloo 2',sans-serif; font-weight:700; font-size:24px; color:#fff;}
.lb-tabs{display:inline-flex; background:#fff; border:1px solid var(--line); border-radius:999px; padding:4px; margin-top:26px; gap:4px;}
.lb-tab{padding:10px 20px; border-radius:999px; font-weight:700; font-size:13.5px; color:var(--ink-soft);}
.lb-tab.active{background:var(--green-bright); color:#06240F;}
.partner-field label{display:block; font-size:13px; font-weight:700; margin-bottom:6px; color:var(--ink);}
.partner-field input, .partner-field select, .partner-field textarea{width:100%; border:1.5px solid var(--line); border-radius:12px; padding:12px 14px; font-size:14.5px; font-family:inherit; color:var(--ink); background:#fff; outline:none; transition:border-color .12s ease;}
.partner-field input:focus, .partner-field select:focus, .partner-field textarea:focus{border-color:var(--green-bright);}
.partner-field textarea{resize:vertical; min-height:100px;}
.form-grid-2{display:grid; grid-template-columns:1fr 1fr; gap:16px;}
@media (max-width: 860px){
  .podium{flex-direction:column !important; align-items:center !important;}
  .podium > div{width:100%; max-width:340px !important; transform:none !important;}
  .podium-1{order:1 !important;} .podium-2{order:2 !important;} .podium-3{order:3 !important;}
}
@media (max-width: 720px){ .form-grid-2{grid-template-columns:1fr;} }
@media (max-width: 640px){ .lb-stats{display:none !important;} .lb-score{min-width:64px !important;} }

/* Blog post table-of-contents <details> — hide the default disclosure marker, the icon+chevron carry that job instead. */
summary{list-style:none;}
summary::-webkit-details-marker{display:none;}
summary::marker{content:'';}

/* Auth pages (Login / Register / Forgot Password / Reset Password) — the
   distraction-free split-screen layout: dark green brand panel on the left,
   the form on the right. No site nav/footer on these pages on purpose. */
.auth-wrap{min-height:100vh; display:flex;}
.auth-left{flex:1 1 42%; background:linear-gradient(160deg, #0E2A18, var(--green-deep)); padding:clamp(32px,4vw,56px); display:flex; flex-direction:column; justify-content:space-between; min-height:100vh;}
.auth-left-heading{font-size:clamp(24px,2.6vw,30px); color:#fff; line-height:1.25;}
.auth-perk{display:flex; align-items:flex-start; gap:12px;}
.auth-perk-icon{width:36px; height:36px; border-radius:10px; background:rgba(255,255,255,.14); display:flex; align-items:center; justify-content:center; flex-shrink:0; color:#fff;}
.auth-right{flex:1 1 58%; display:flex; align-items:center; justify-content:center; padding:clamp(24px,5vw,48px);}
.auth-tabs{display:flex; gap:4px; background:#F2F4F1; border-radius:14px; padding:4px; margin-bottom:28px;}
.auth-tab{flex:1; text-align:center; padding:12px; border-radius:12px; border:none; background:transparent; color:var(--ink-soft); font-weight:700; font-size:14.5px; text-decoration:none; display:block;}
.auth-tab.active{background:#fff; color:var(--ink); box-shadow:0 1px 2px rgba(16,20,15,.08);}
.auth-field{margin-bottom:16px;}
.auth-field label{display:block; font-size:13px; font-weight:700; margin-bottom:6px; color:var(--ink);}
.auth-field input{width:100%; border:1.5px solid var(--line); border-radius:12px; padding:13px 14px; font-size:14.5px; color:var(--ink); background:#fff; outline:none; transition:border-color .12s ease;}
.auth-field input:focus{border-color:var(--green-bright);}
.auth-divider{display:flex; align-items:center; gap:12px; color:var(--ink-soft); font-size:12.5px; margin:22px 0;}
.auth-divider::before,.auth-divider::after{content:""; flex:1; height:1px; background:var(--line);}
.auth-social-row{display:flex; gap:10px;}
.auth-social-btn{display:flex; align-items:center; justify-content:center; gap:10px; width:100%; padding:12px; border-radius:12px; border:1.5px solid var(--line); background:#fff; color:var(--ink); font-weight:700; font-size:14px;}
@media (max-width: 920px){ .auth-left{display:none;} }

/* Static pages (Terms, Privacy, etc.) */
.page-body{max-width:760px; padding:48px 0 70px; font-size:15.5px;}
.page-body h1{font-size:30px; margin-bottom:24px;}
.page-body h2{font-size:20px; margin:28px 0 12px;}
.page-body p{margin:0 0 16px; line-height:1.75; color:var(--ink);}
.page-body ul{margin:0 0 16px; padding-left:22px;}

/* Info & legal pages (About, Contact, Terms, Privacy, Affiliate Disclosure) */
.info-hero{background:var(--green-50);}
.info-hero-center{padding:clamp(44px,6vw,72px) clamp(20px,4vw,48px) clamp(32px,5vw,52px); text-align:center;}
.info-hero-legal{padding:clamp(40px,6vw,64px) clamp(20px,4vw,48px) 10px;}
.info-prose{max-width:720px; margin:0 auto;}
.info-prose a{color:var(--green-deep); text-decoration:underline;}
.info-prose strong{color:var(--ink);}
.info-legal > :first-child{margin-top:10px;}
.info-legal h2{font-size:21px; margin:38px 0 10px;}
.info-legal p, .info-legal li{font-size:15px; line-height:1.7; color:var(--ink-soft);}
.info-legal p{margin:0 0 15px;}
.info-legal ul{padding-left:20px; margin:10px 0 15px;}
.info-story h2{font-size:22px; margin:28px 0 12px;}
.info-story h2:first-child{margin-top:0;}
.info-story p{font-size:15.5px; line-height:1.75; color:var(--ink-soft); margin:0 0 16px;}
.info-story ul{padding-left:20px; margin:0 0 16px; color:var(--ink-soft); line-height:1.75;}
.info-icon{width:42px; height:42px; border-radius:12px; background:var(--green-50); display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-bottom:14px;}
.contact-layout{max-width:1100px; margin:0 auto; display:flex; gap:32px; flex-wrap:wrap; align-items:flex-start;}
.contact-side{flex:1 1 280px; display:flex; flex-direction:column; gap:16px;}
.contact-card{display:flex; align-items:flex-start; gap:14px; padding:20px; border-radius:20px;}
.contact-form{flex:2 1 420px; padding:clamp(26px,4vw,34px); display:flex; flex-direction:column; gap:18px; border-radius:20px;}
.contact-form .form-grid-2{display:grid; grid-template-columns:1fr 1fr; gap:16px;}
.contact-form .field label{display:block; font-size:13px; font-weight:700; margin-bottom:6px; color:var(--ink);}
.contact-form .field input, .contact-form .field select, .contact-form .field textarea{width:100%; border:1.5px solid var(--line); border-radius:12px; padding:12px 14px; font-size:14.5px; font-family:inherit; color:var(--ink); background:#fff; outline:none; transition:border-color .12s ease;}
.contact-form .field input:focus, .contact-form .field select:focus, .contact-form .field textarea:focus{border-color:var(--green-bright);}
.contact-form .field textarea{resize:vertical; min-height:120px;}
.contact-form button{font-family:inherit;}
@media (max-width: 720px){ .contact-form .form-grid-2{grid-template-columns:1fr;} }

/* Quick facts box on a listing's own page */
.offer-facts{display:grid; grid-template-columns:repeat(auto-fit, minmax(170px, 1fr)); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:18px; overflow:hidden;}
.offer-fact{background:#fff; padding:14px 16px; min-width:0;}
.offer-fact-label{font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; color:var(--ink-soft); margin-bottom:4px;}
.offer-fact-value{font-size:14.5px; font-weight:700; color:var(--ink); overflow-wrap:anywhere;}

/* "Check your email" reminder after an unconfirmed member Claps (includes/clap-pending-toast.php) */
.clap-toast{position:fixed; top:84px; left:50%; transform:translateX(-50%); z-index:160; width:min(560px, calc(100% - 32px)); display:flex; align-items:center; gap:14px; padding:14px 16px 14px 18px; border-radius:16px; background:#fff; border:1px solid rgba(251,191,36,.6); box-shadow:0 24px 50px -20px rgba(16,20,15,.4); font-size:13.5px; line-height:1.5; color:var(--ink);}
.clap-toast > div{flex:1; min-width:0;}
.clap-toast-link{font-weight:700; color:var(--green-deep); white-space:nowrap; text-decoration:underline;}
.clap-toast-close{width:28px; height:28px; flex-shrink:0; border-radius:999px; border:none; background:#F2F4F1; color:var(--ink-soft); display:flex; align-items:center; justify-content:center; cursor:pointer;}

/* Category page FAQ (includes/seo.php) */
.cat-faq{padding:clamp(48px,6vw,72px) clamp(20px,4vw,48px) clamp(56px,7vw,88px);}
.cat-faq-updated{font-size:13px; color:var(--ink-soft); margin:8px 0 20px;}
.cat-faq-item{background:#fff; border:1px solid var(--line); border-radius:16px; margin-bottom:10px;}
.cat-faq-item summary{list-style:none; cursor:pointer; padding:16px 48px 16px 20px; font-weight:700; font-size:15px; position:relative;}
.cat-faq-item summary::-webkit-details-marker{display:none;}
.cat-faq-item summary::after{content:"+"; position:absolute; right:20px; top:50%; transform:translateY(-50%); font-size:20px; font-weight:600; color:var(--green-deep);}
.cat-faq-item[open] summary::after{content:"\2212";}
.cat-faq-item p{margin:0; padding:0 20px 18px; font-size:14.5px; line-height:1.65; color:var(--ink-soft);}

/* Accessibility: keyboard users can jump past the header, and always see where focus is. */
.skip-link{position:absolute; left:12px; top:-60px; z-index:300; background:#fff; color:var(--ink); font-weight:700; padding:10px 16px; border-radius:10px; box-shadow:0 8px 24px rgba(0,0,0,.2);}
.skip-link:focus{top:12px;}
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, [tabindex]:focus-visible{outline:3px solid var(--green-bright); outline-offset:2px;}
.auth-field input:focus-visible{box-shadow:0 0 0 3px rgba(34,178,91,.25);}

/* Blog post Sources box ([sources] in a pasted article) */
.post-sources{margin:28px 0 8px; border:1px solid var(--line); border-radius:12px; background:#FAFBFA; font-size:13px;}
.post-sources summary{cursor:pointer; padding:10px 14px; font-weight:700; color:var(--ink-soft); list-style:none;}
.post-sources summary::-webkit-details-marker{display:none;}
.post-sources summary::before{content:"\25B8"; display:inline-block; margin-right:8px; transition:transform .15s ease;}
.post-sources[open] summary::before{transform:rotate(90deg);}
.post-sources ol{margin:0; padding:0 14px 12px 34px; color:var(--ink-soft); line-height:1.6;}
.post-sources a{color:var(--green-deep); text-decoration:underline; overflow-wrap:anywhere;}

/* Blog byline: author name opens a bio pop-up; Fact checked / Reviewed by row. */
.sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;}
.byline-name{display:inline-flex; align-items:center; gap:6px; background:none; border:none; padding:0; font:inherit; font-size:14px; font-weight:700; color:#fff; cursor:pointer;}
.byline-name svg{opacity:.8;}
.byline-name:hover{text-decoration:underline;}
.byline-trust{display:flex; align-items:center; gap:10px 14px; flex-wrap:wrap; margin-top:14px; font-size:12.5px; color:rgba(255,255,255,.88);}
.byline-chip{display:inline-flex; align-items:center; gap:6px; background:rgba(255,255,255,.18); color:#fff; border:none; border-radius:999px; padding:5px 12px 5px 10px; font:inherit; font-size:12.5px; font-weight:700; cursor:pointer;}
.byline-chip:hover{background:rgba(255,255,255,.28);}
.byline-reviewed button{background:none; border:none; padding:0; font:inherit; font-weight:700; color:#fff; text-decoration:underline; text-decoration-color:rgba(255,255,255,.5); text-underline-offset:2px; cursor:pointer;}
.author-dialog{position:fixed; inset:0; margin:auto; width:min(420px, calc(100vw - 32px)); max-height:calc(100vh - 32px); border:none; border-radius:20px; padding:24px; color:var(--ink); background:#fff; box-shadow:0 24px 60px -12px rgba(16,20,15,.35);}
.author-dialog::backdrop{background:rgba(16,20,15,.45);}
.author-dialog-close{position:absolute; top:10px; right:12px; width:34px; height:34px; border:none; border-radius:999px; background:transparent; font-size:24px; line-height:1; color:var(--ink-soft); cursor:pointer;}
.author-dialog-close:hover{background:var(--green-50); color:var(--ink);}
.author-social{display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:999px; background:var(--green-50); color:var(--green-deep);}
.author-social:hover{background:var(--green-100);}

/* Images placed in a post (a paragraph that's just ![alt](url)). */
.post-figure{margin:26px 0;}
.post-figure img{display:block; width:100%; height:auto; border-radius:14px; background:var(--green-50);}
.post-figure figcaption{font-size:13px; color:var(--ink-soft); text-align:center; margin-top:8px; line-height:1.5;}

/* [table] comparison tables in posts. */
.post-table-wrap{margin:24px 0; overflow-x:auto; border:1px solid var(--line); border-radius:14px; background:#fff; -webkit-overflow-scrolling:touch;}
.post-table-wrap:focus-visible{outline:3px solid var(--green-deep); outline-offset:2px;}
.post-table{width:100%; border-collapse:collapse; font-size:14.5px; line-height:1.45; min-width:480px;}
.post-table caption{caption-side:top; text-align:left; font-weight:800; font-size:15px; padding:14px 16px 4px;}
.post-table th, .post-table td{padding:11px 16px; text-align:left; vertical-align:top; border-bottom:1px solid var(--line);}
.post-table thead th{background:var(--green-50); color:var(--green-deep); font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; white-space:nowrap;}
.post-table tbody th{font-weight:700;}
.post-table tbody tr:last-child th, .post-table tbody tr:last-child td{border-bottom:none;}
.post-table tbody tr:nth-child(even){background:#FAFBF9;}
.post-table a{color:var(--green-deep); font-weight:700;}

/* ⓘ next to the No Clap: why members said No (render_no_breakdown). */
.no-why{position:relative; flex:0 0 auto; align-self:center;}
.no-why summary{list-style:none; width:26px; height:26px; border-radius:999px; border:1.5px solid var(--line); background:#fff; color:var(--ink-soft); font:700 12px/23px Georgia,serif; font-style:italic; text-align:center; cursor:pointer;}
.no-why summary::-webkit-details-marker{display:none;}
.no-why[open] summary{border-color:var(--ink-soft); color:var(--ink);}
.no-why-pop{position:absolute; right:0; bottom:calc(100% + 8px); z-index:30; width:260px; max-width:calc(100vw - 40px); background:#fff; border:1px solid var(--line); border-radius:14px; padding:14px; box-shadow:0 18px 40px -16px rgba(0,0,0,.3); text-align:left;}
.no-why-title{font-size:12.5px; font-weight:800; margin-bottom:8px;}
.no-why-row{display:flex; justify-content:space-between; gap:10px; font-size:12.5px; color:var(--ink-soft); padding:4px 0; border-top:1px solid #F2F4F1;}
.no-why-row strong{color:var(--ink); white-space:nowrap;}
.no-why-note{font-size:11px; color:var(--ink-soft); margin-top:8px; line-height:1.45;}
.clap-reason-opt{display:block; width:100%; text-align:left; padding:13px 16px; border-radius:12px; border:1.5px solid var(--line); background:#fff; font:inherit; font-size:14px; font-weight:600; color:var(--ink); cursor:pointer;}
.clap-reason-opt:hover, .clap-reason-opt:focus-visible{border-color:var(--green-bright); background:var(--green-50);}

/* Admin preview bar (post.php / offer.php with ?preview=1) */
.preview-bar{background:#FEF3C7;border-bottom:1px solid #F59E0B;color:#78350F;font-size:14px}
.preview-bar-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px}
.preview-bar-link{color:#78350F;font-weight:700;text-decoration:underline;white-space:nowrap}
