/*
Theme Name: WTFTO Neutral Reporting (checkbox v10.4 + photos)
Theme URI: https://wtfto.ca/
Author: TerraHosting
Description: WTFT.O moderated community newsroom theme (v10.4) — removed explainer tagline + Spotlight hint.
Version:  1.2.2
License: GPLv2 or later
Text Domain: wtfto
*/



img{max-width:100%;height:auto}

:root{
  /* Palette: WTFTO Logo Teal */
  --bg:#f2fbfb; --bg2:#ffffff;
  --ink:#021b1b; --ink2:rgba(2,27,27,.82);
  --muted:rgba(2,27,27,.62); --line:rgba(2,27,27,.14);
  --card:rgba(255,255,255,.88);
  --shadow:0 22px 80px rgba(2,6,23,.16);
  --shadow2:0 12px 34px rgba(2,6,23,.12);
  --r:22px;

  /* Accents from logo */
  --a:#2fb9b2;  /* light teal */
  --b:#007070;  /* logo teal */
  --c:#003030;  /* deep teal */
  --d:#001818;  /* darkest */

  --mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
  --sans:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif;
}

html[data-theme="dark"]{
  --bg:#050713; --bg2:#06081b;
  --ink:#eaf0ff; --ink2:rgba(234,240,255,.80);
  --muted:rgba(234,240,255,.64); --line:rgba(255,255,255,.12);
  --card:rgba(255,255,255,.07);
  --shadow:0 22px 80px rgba(0,0,0,.48);
  --shadow2:0 12px 34px rgba(0,0,0,.36);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--sans);
  font-size:17px;
  line-height:1.65;
  -webkit-text-size-adjust:100%;
  background:linear-gradient(180deg,var(--bg),var(--bg2));
  color:var(--ink);
}
a{color:inherit}
.container{width:min(1120px,92vw); margin:0 auto}
.bg{position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden;}
.mesh{
  position:absolute; inset:-20%; z-index:0; pointer-events:none;
  background:
    radial-gradient(900px 600px at 12% 15%, color-mix(in srgb, var(--a) 34%, transparent), transparent 55%),
    radial-gradient(800px 550px at 86% 18%, color-mix(in srgb, var(--b) 34%, transparent), transparent 55%),
    radial-gradient(900px 650px at 62% 92%, color-mix(in srgb, var(--c) 28%, transparent), transparent 55%),
    radial-gradient(700px 520px at 20% 80%, color-mix(in srgb, var(--d) 26%, transparent), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  
  filter:saturate(1.15);
  animation: floatMesh 16s ease-in-out infinite;
  transform-origin:50% 50%;
}
@keyframes floatMesh{
  0%{ transform:translate3d(0,0,0) scale(1.02) rotate(0deg)}
  50%{ transform:translate3d(-1.5%,1.2%,0) scale(1.05) rotate(1deg)}
  100%{ transform:translate3d(0,0,0) scale(1.02) rotate(0deg)}
}
.vignette{position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(900px 600px at 50% 0%, rgba(255,255,255,.65), transparent 62%),
    radial-gradient(900px 600px at 50% 100%, rgba(2,6,23,.16), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,.22), rgba(2,6,23,.08));
}
html[data-theme="dark"] .vignette{
  background:
    radial-gradient(900px 600px at 50% 0%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(900px 600px at 50% 100%, rgba(0,0,0,.65), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.55));
}
header.topbar{
  position:sticky; top:0; z-index:1000;
  backdrop-filter: blur(12px);
  border-bottom:1px solid var(--line);
  background: rgba(255,255,255,.62);
  /* Make header visibly taller */
  min-height:168px;
  display:flex;
  align-items:center;
}
html[data-theme="dark"] header.topbar{background:rgba(7,10,18,.55); border-bottom-color:rgba(255,255,255,.12)}
header.topbar .nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:24px 0;
  gap:16px;
  flex-wrap:wrap;
}

/* Prevent overlap: let middle links flex, keep actions to the right */
.brand{flex:0 1 auto; min-width: 0;}
.navlinks{flex:1 1 320px; justify-content:center;}
.navActions{flex:0 0 auto; margin-left:auto; display:flex; gap:10px; align-items:center; flex-wrap:wrap; justify-content:flex-end;}

.brand{display:flex; gap:12px; align-items:center; text-decoration:none}

.logo{
  width:96px; height:96px; border-radius:28px;
  overflow:hidden;
  flex:0 0 auto;
  padding:4px;
  display:grid; place-items:center;
  box-shadow: var(--shadow2);
  align-self:center;
}
.logoImg, .logo img{
  width:100%; height:100%;
  max-width:96px; max-height:96px;
  object-fit:contain;
  display:block;
}
.logo .custom-logo{
  width:100%; height:100%;
  max-width:96px; max-height:96px;
  object-fit:contain;
  display:block;
}

/* Keep the header comfortable on small screens */
@media (max-width:560px){
  .nav{padding:16px 0;}
  .logo{width:72px; height:72px; border-radius:22px;}
  .logoImg, .logo img, .logo .custom-logo{width:100%; height:100%; max-width:72px; max-height:72px;}
}
.brand b{font-weight:1100; letter-spacing:-.4px}
.brand small{display:block; color:var(--muted); font-weight:900}
.navlinks{display:flex; gap:14px; align-items:center; flex-wrap:wrap}
.navlinks a{color:var(--ink2); text-decoration:none; font-weight:1000}
.navlinks a:hover{text-decoration:underline}

/* Ensure header nav has no bullet dots (Safari/Chrome) */
.navlinks ul,
.navlinks .menu{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:14px;
  align-items:center;
}
.navlinks li{list-style:none; margin:0; padding:0;}
.btn{
  display:inline-flex; gap:10px; align-items:center; justify-content:center;
  border-radius:18px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.78);
  padding:10px 12px;
  font-weight:1000;
  cursor:pointer;
  box-shadow: var(--shadow2);
  text-decoration:none;
}
html[data-theme="dark"] .btn{background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.16); color:#fff}
.btn:hover{transform:translateY(-1px)}

.btn.iconOnly{padding:10px; width:42px; height:42px;}
.btn.iconOnly svg{width:18px; height:18px; display:block;}

html[data-theme="dark"] .fbIcon{color:#7CFFB2;}
html[data-theme="dark"] .fbIcon:hover{color:#9CFFD0;}
.btn.primary{
  border-color: rgba(79,70,229,.35);
  background:linear-gradient(90deg, rgba(0,209,178,.34), rgba(79,70,229,.34));
}
.pill, .tag{
  display:inline-flex; align-items:center; gap:8px;
  border-radius:999px;
  border:1px solid var(--line);
  padding:6px 10px;
  background: rgba(255,255,255,.82);
  font-weight:1000;
  color:var(--ink2);
  text-decoration:none;
}
html[data-theme="dark"] .pill, html[data-theme="dark"] .tag{background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.14); color:rgba(234,240,255,.86)}
main.container{position:relative; z-index:2; padding:26px 0 60px}
.section{margin:18px 0}
.card{
  border-radius:28px;
  border:1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.pad{padding:16px}
.titleRow{display:flex; align-items:baseline; justify-content:space-between; gap:12px}
.titleRow span{color:var(--muted); font-weight:900}
.grid{display:grid; grid-template-columns:1.2fr .8fr; gap:14px}
@media(max-width:980px){.grid{grid-template-columns:1fr}}
.kicker{display:flex; gap:10px; flex-wrap:wrap; align-items:center}
.gradientText{
  background: linear-gradient(90deg, var(--a), var(--b));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.sectionDivider{
  height:18px; border-radius:999px; margin:12px 0 18px;
  background: linear-gradient(90deg, var(--a), var(--b), var(--c));
  opacity:.95;
}
.wowBanner{
  border-radius:28px; padding:16px;
  border:1px solid rgba(79,70,229,.22);
  background:
    radial-gradient(800px 260px at 15% 30%, color-mix(in srgb, var(--b) 20%, transparent), transparent 60%),
    radial-gradient(700px 240px at 70% 10%, color-mix(in srgb, var(--a) 18%, transparent), transparent 55%),
    radial-gradient(700px 240px at 95% 80%, color-mix(in srgb, var(--c) 14%, transparent), transparent 58%),
    rgba(255,255,255,.82);
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
}
html[data-theme="dark"] .wowBanner{background:
    radial-gradient(800px 260px at 15% 30%, rgba(79,70,229,.18), transparent 60%),
    radial-gradient(700px 240px at 70% 10%, rgba(0,209,178,.16), transparent 55%),
    radial-gradient(700px 240px at 95% 80%, rgba(255,45,85,.14), transparent 58%),
    rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}
.wowGrid{position:relative; display:grid; grid-template-columns:1.1fr .9fr; gap:14px}
@media(max-width:980px){.wowGrid{grid-template-columns:1fr}}
.wowCopy h2{margin:0 0 8px; font-size:26px; letter-spacing:-.4px}
.wowCopy p{margin:0; color:var(--ink2); font-weight:900}
.wowCallouts{display:grid; grid-template-columns:repeat(2,1fr); gap:10px}
@media(max-width:560px){.wowCallouts{grid-template-columns:1fr}}
.callout{
  border-radius:18px; border:1px solid var(--line);
  background: rgba(255,255,255,.86); padding:12px; box-shadow:var(--shadow2)
}
html[data-theme="dark"] .callout{background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.14)}
.callout b{display:flex; align-items:center; gap:10px; font-size:14px}
.callout small{display:block; margin-top:6px; color:var(--muted); font-weight:900}
.spark{width:10px; height:10px; border-radius:999px; background:linear-gradient(90deg,var(--a),var(--b),var(--c),var(--d)}
.statsRow{display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:12px}
@media(max-width:900px){.statsRow{grid-template-columns:1fr}}
.stat{
  border-radius:22px; border:1px solid var(--line);
  background: rgba(255,255,255,.86); padding:14px; box-shadow:var(--shadow2); position:relative; overflow:hidden;
}
html[data-theme="dark"] .stat{background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.14)}
.stat b{display:block; font-size:12px; color:var(--muted); font-weight:900}
.stat .num{font-size:34px; font-weight:1100; letter-spacing:-.8px; margin-top:4px}
.stat .hint{margin-top:6px; color:var(--ink2); font-weight:900}
.spotWrap{
  border-radius:28px; border:1px solid var(--line);
  background: rgba(255,255,255,.78); box-shadow:var(--shadow); overflow:hidden
}
html[data-theme="dark"] .spotWrap{background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.12)}
.spotHead{display:flex; justify-content:space-between; align-items:baseline; gap:12px; padding:14px 16px; border-bottom:1px solid var(--line)}
html[data-theme="dark"] .spotHead{border-bottom-color:rgba(255,255,255,.12)}
.scroller{display:flex; gap:12px; padding:14px 16px 16px; overflow-x:auto; scroll-snap-type:x mandatory}
.spotCard{
  flex:0 0 360px; scroll-snap-align:start;
  border-radius:22px; border:1px solid var(--line);
  background: rgba(255,255,255,.86); box-shadow:var(--shadow2); overflow:hidden
}
html[data-theme="dark"] .spotCard{background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.14)}
.spotCard .img{height:150px; background:#0b0f14; border-bottom:1px solid var(--line)}
.spotCard .img img{width:100%; height:100%; object-fit:cover; display:block}
.spotCard .body{padding:12px 14px 14px}
.spotCard .body b{display:block; font-size:12px; color:var(--muted)}
.spotCard .body h4{margin:8px 0; font-size:16px}
.spotCard .body p{margin:0; color:var(--ink2); font-weight:900}
.steps{display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-top:12px}
@media(max-width:980px){.steps{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.steps{grid-template-columns:1fr}}
.step{border-radius:22px; border:1px solid var(--line); background: rgba(255,255,255,.86); box-shadow:var(--shadow2); padding:14px}
html[data-theme="dark"] .step{background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.14)}
.step i{font-style:normal; font-size:22px; display:inline-grid; place-items:center; width:42px; height:42px; border-radius:16px; border:1px solid var(--line); background: rgba(255,255,255,.82)}
html[data-theme="dark"] .step i{background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.14)}
.step h4{margin:10px 0 6px}
.step p{margin:0; color:var(--ink2); font-weight:900; font-size:14px}

/* Modal */
.modal{position:fixed; inset:0; display:none; align-items:center; justify-content:center; z-index:4000;
  background: rgba(2,6,23,.20);
  padding:16px;
}
html[data-theme="dark"] .modal{background:rgba(0,0,0,.60)}
.modal.open{display:flex}
.modalCard{
  width:min(860px, 100%);
  border-radius:24px; border:1px solid var(--line);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  overflow:hidden;
}
html[data-theme="dark"] .modalCard{background:rgba(10,14,28,.80); border-color:rgba(255,255,255,.12)}
.modalHead{display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px 14px; border-bottom:1px solid var(--line)}
html[data-theme="dark"] .modalHead{border-bottom-color:rgba(255,255,255,.12)}
.closeBtn{border:none; background:transparent; font-size:18px; cursor:pointer; color:var(--muted)}
.modalBody{padding:14px 16px 16px}
.input, textarea, select{
  width:100%;
  border-radius:16px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.86);
  padding:10px 12px;
  font: inherit;
  font-weight:900;
  color:var(--ink);
}
html[data-theme="dark"] .input, html[data-theme="dark"] textarea, html[data-theme="dark"] select{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  color:#fff;
}
.formRow{display:grid; grid-template-columns:1fr 1fr; gap:12px}
@media(max-width:800px){.formRow{grid-template-columns:1fr}}
.warn{
  border-left:4px solid rgba(255,45,85,.60);
  background: rgba(255,45,85,.10);
  border-radius:16px; padding:10px 12px;
  color: var(--ink2); font-weight:1000;
}
html[data-theme="dark"] .warn{color:rgba(234,240,255,.84); background: rgba(255,45,85,.08)}
.footer{margin-top:28px; padding:16px 0 34px; color:var(--muted); font-weight:900; text-align:center}

/* Safety: prevent logo from blowing up if CSS cache/load issues */
.logoImg, .logo img, .logo .custom-logo{max-width:100% !important; height:auto !important;}
.logo{max-width:56px; max-height:56px;}


/* Hero logo filler */


/* Hero split (text + QR) */
.heroSplit{
  display:flex;
  gap:14px;
  align-items:stretch;
  flex-wrap:nowrap;          /* keep side-by-side */
}
.heroSplit > .card{min-width:0;}
.heroCard{flex:1 1 auto; min-width:0;}
.heroQRCard{flex:0 0 210px; max-width:230px; display:flex; align-items:center; justify-content:center;}
.heroQRCard.pad{padding:16px !important;} /* make QR card smaller than the main hero card */

.heroCard h1{font-size:clamp(28px, 5.2vw, 46px) !important;}

.heroQRBox{display:flex; flex-direction:column; align-items:center; gap:10px; text-align:center;}
.heroQRTitle{font-weight:900; letter-spacing:-.2px;}
.heroQRLink{display:inline-flex; border-radius:16px; overflow:hidden; box-shadow:var(--shadow2); border:1px solid var(--line); background:rgba(255,255,255,.8)}
.heroQRImg{display:block; width:120px; height:120px; image-rendering:auto}
.heroQRCaption{color:var(--muted); font-weight:800; font-size:13px;}

/* Hero inset QR (inside the main hero card) */
.heroCardInset{position:relative;}
.heroCardInset{padding-right:210px;}
.heroInsetQR{box-sizing:border-box;}
/* IMPORTANT:
   Do NOT hide the desktop QR based on pointer/hover media queries.
   Many modern desktop/laptop devices report a coarse pointer (touchscreen),
   which caused the QR to flash then disappear on desktop.

   Instead, we only hide the QR when JS detects a real phone/tablet
   and adds html.wtfto-mobile.
*/

/* JS fallback: main.js adds html.wtfto-mobile when it detects a phone/tablet */
html.wtfto-mobile .heroCardInset{padding-right:16px !important;}
html.wtfto-mobile .heroInsetQR,
html.wtfto-mobile .heroQRCard{display:none !important;}



/* Keep side-by-side even on small screens by shrinking the QR column */
@media(max-width:560px){
  .heroSplit{gap:10px;}
  .heroQRCard{flex-basis:170px; max-width:190px;}
  .heroQRImg{width:110px; height:110px;}
}
@media(max-width:420px){
  .heroQRCard{flex-basis:150px; max-width:170px;}
  .heroQRImg{width:96px; height:96px;}
  .heroQRTitle{font-size:13px;}
  .heroQRCaption{font-size:12px;}
}
.heroQRLink{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:18px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow);
  padding:10px;
  text-decoration:none;
}
html[data-theme="dark"] .heroQRLink{background:rgba(255,255,255,.08);}
.heroQRImg{
  width:min(140px, 18vw);
  height:auto;
  aspect-ratio:1/1;
  display:block;
  border-radius:14px;
}

/* Service area line in header */
.serviceArea{display:block; margin-top:6px; color:var(--muted); font-size:.95rem; line-height:1.2}


/* Simple list styling for policy pages */
.bullets{margin:10px 0 0 18px;}
.bullets li{margin:6px 0;}


/* FINAL override: force agreements box to half width on desktop */
body.page-template-template-submit #submitAgreements,
body.page-template #submitAgreements,
#page #submitAgreements,
#content #submitAgreements{
  width:50% !important;
  max-width:520px !important;
  display:block !important;
  margin-left:0 !important;
  margin-right:auto !important;
  justify-self:start !important;
  align-self:start !important;
}
@media(max-width:820px){
  body.page-template-template-submit #submitAgreements,
  body.page-template #submitAgreements,
  #page #submitAgreements,
  #content #submitAgreements{
    width:100% !important;
    max-width:100% !important;
  }
}



/* Submit page – agreements box (Before you submit) */
.agreements-outer{
  display:flex;
  justify-content:flex-start;
  margin-top:12px;
}
.agreements-box{
  width:50%;
  max-width:520px;
  min-width:320px;
  padding:16px;
  border:1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.92);
  border-radius: 12px;
}
.agreements-title{
  font-weight: 800;
  margin-bottom: 10px;
}
.agreements-item{
  display:flex;
  align-items:flex-start;
  gap:10px;
  line-height:1.5;
  width:100%;
  margin-top:6px;           /* closer to the line above */
  padding-top:0;
}
.agreements-item + .agreements-item{
  margin-top:10px;          /* put the 2nd checkbox directly underneath with a clear gap */
}
.agreements-item:first-of-type{
  margin-top:0;
}
.agreements-item input[type="checkbox"]{
  width:auto !important;
  display:inline-block !important;
  flex:0 0 auto;
  margin-top:4px;
  transform: scale(1.15);
}
@media (max-width: 820px){
  .agreements-outer{justify-content:stretch;}
  .agreements-box{width:100%; max-width:100%; min-width:0;}
}


/* === Agreements checkbox hard alignment overrides (v1.1.7) === */
.agreements-outer{display:flex; justify-content:flex-start !important;}
#submitAgreements.agreements-box{
  width:50% !important;
  max-width:520px !important;
  margin:18px 0 0 0 !important; /* far left */
}
.agreements-item{display:flex !important; align-items:flex-start !important;}
.agreements-item input[type="checkbox"]{
  width:auto !important;
  min-width:18px !important;
  max-width:18px !important;
  flex:0 0 18px !important;
  display:inline-block !important;
  margin:4px 0 0 0 !important;
}
@media (max-width: 820px){
  #submitAgreements.agreements-box{width:100% !important; max-width:100% !important;}
}


/* === Agreements stacking/align fix (v10) ===
   Forces each agreement onto its own row, with the second checkbox directly underneath the first checkbox.
*/
body.page-template-template-submit #submitAgreements .agreements-item,
body.page-template #submitAgreements .agreements-item,
#submitAgreements .agreements-item{
  display:grid !important;
  grid-template-columns: 18px 1fr;
  column-gap: 10px;
  align-items:start !important;
  width:100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-template-template-submit #submitAgreements .agreements-item + .agreements-item,
body.page-template #submitAgreements .agreements-item + .agreements-item,
#submitAgreements .agreements-item + .agreements-item{
  margin-top: 10px !important;
}

body.page-template-template-submit #submitAgreements .agreements-item input[type="checkbox"],
body.page-template #submitAgreements .agreements-item input[type="checkbox"],
#submitAgreements .agreements-item input[type="checkbox"]{
  width: 18px !important;
  height: 18px !important;
  display:inline-block !important;
  margin: 2px 0 0 0 !important;
  transform:none !important;
}

body.page-template-template-submit #submitAgreements .agreements-item span,
body.page-template #submitAgreements .agreements-item span,
#submitAgreements .agreements-item span{
  display:block;
}



/* === FORCE agreements lines to stack (v10.1) === */
body.page-template-template-submit .agreements-box .agreements-item,
body.page-template .agreements-box .agreements-item{
  display: grid !important;
  grid-template-columns: 18px 1fr !important;
  column-gap: 10px !important;
  align-items: start !important;
  width: 100% !important;
  margin: 0 !important;
}
body.page-template-template-submit .agreements-box .agreements-item + .agreements-item,
body.page-template .agreements-box .agreements-item + .agreements-item{
  margin-top: 10px !important;
}
body.page-template-template-submit .agreements-box .agreements-item input[type="checkbox"],
body.page-template .agreements-box .agreements-item input[type="checkbox"]{
  width: auto !important;
  max-width: none !important;
  display: inline-block !important;
  margin-top: 4px !important;
  transform: scale(1.15) !important;
}


/* === Agreements stack fix v10.2 (inline-safe) === */
body.page-template-template-submit #submitAgreements .agreements-list{display:flex !important; flex-direction:column !important; gap:10px !important;}
body.page-template-template-submit #submitAgreements .agreements-item{display:flex !important; width:100% !important;}
body.page-template-template-submit #submitAgreements .agreements-item input[type="checkbox"]{width:auto !important; flex:0 0 18px !important;}

/* === Mobile readability tweaks (v11) === */
img, video, iframe{max-width:100%; height:auto;}
@media (max-width: 720px){
  header.topbar{min-height:auto !important;}
  header.topbar .nav{padding:14px 0 !important;}
  .navlinks{justify-content:flex-start !important;}
  .navActions{width:100% !important; justify-content:flex-start !important;}
  .navActions .btn{flex:1 1 auto;}
  main.container{padding:18px 0 48px !important;}
  .section{margin:14px 0 !important;}
  .pad{padding:14px !important;}
  .card{border-radius:24px !important;}
  .btn{padding:12px 14px !important; border-radius:16px !important;}
  .kicker{gap:8px;}
  .pill{padding:7px 10px;}
}



/* Typography: unified story content */
@media (min-width: 900px){
  body{font-size:18px;}
}
@media (max-width: 420px){
  body{font-size:16px;}
}

.wtfto-story-content{
  margin-top:14px;
  color:var(--ink2);
  font-weight:400;
  font-size:1.05rem; /* ~17-19px depending on base */
  line-height:1.75;
}
.wtfto-story-content *{
  font-family:inherit;
  font-size:inherit;
  line-height:inherit;
  font-weight:inherit;
}
.wtfto-story-content p{margin:0 0 1.1em;}
.wtfto-story-content p:last-child{margin-bottom:0;}
.wtfto-story-content a{
  color:var(--b);
  text-decoration:underline;
  text-underline-offset:.15em;
}


/* --- Story images (featured + gallery) --- */
.wtfto-featured-media{
  margin-top:14px;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--line);
  background:#0b0f14;
}
.wtfto-featured-media img{width:100%; height:auto; display:block}
.wtfto-caption{
  padding:10px 12px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-weight:900;
  font-size:13px;
  background: rgba(255,255,255,.05);
}

.wtfto-gallery{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:10px;
  margin-top:14px;
}
@media (max-width: 720px){
  .wtfto-gallery{grid-template-columns:1fr}
}
.wtfto-gallery-item{
  display:block;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--line);
  background:#0b0f14;
}
.wtfto-gallery-item img{width:100%; height:auto; display:block}

/* Thumbnails on story cards */
.storyThumb{
  height:170px;
  margin:-14px -14px 12px;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--line);
  background:#0b0f14;
}
.storyThumb img{width:100%; height:100%; object-fit:cover; display:block}

/* --- Comments --- */
.wtfto-comments{margin-top:16px}
.wtfto-comment-list{
  list-style:none;
  padding:0;
  margin:12px 0 0;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.wtfto-comment-list .comment-body{
  border:1px solid var(--line);
  border-radius:18px;
  padding:12px 14px;
  background: rgba(255,255,255,.06);
}
.wtfto-comment-list .comment-meta{
  color:var(--muted);
  font-weight:900;
  font-size:13px;
}
.wtfto-comment-list .comment-content{
  margin-top:8px;
  color:var(--ink);
}
.wtfto-comment-list .reply{
  margin-top:8px;
}
.wtfto-comment-list .reply a{
  font-weight:1000;
  text-decoration:none;
}
#respond .input, #respond textarea.input{
  width:100%;
}


/* ---- WTFTO: "No doxxing" info pill + modal ---- */
.pill.pillDoxing{
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.pillInfo{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.55);
  background:rgba(0,0,0,.15);
  color:inherit;
  font-weight:1000;
  font-size:12px;
  line-height:1;
  cursor:pointer;
  padding:0;
}
.pillInfo:focus{
  outline:2px solid rgba(255,255,255,.9);
  outline-offset:2px;
}

.wtftoModal{
  position:fixed;
  inset:0;
  display:none;
  z-index:9999;
}
/* CSS-only modal toggle (more reliable than JS across Safari/Chrome + caching) */
.wtftoModalToggle{ position:fixed; left:-9999px; top:auto; }
.wtftoModalToggle:checked + .wtftoModal{ display:block; }
.wtftoModal.is-open{ display:block; } /* kept for backwards compatibility */
.wtftoModalOverlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.6);
}
.wtftoModalDialog{
  position:relative;
  max-width:520px;
  margin:12vh auto 0;
  background:var(--card);
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  padding:18px 18px 16px;
  box-shadow:0 20px 60px rgba(0,0,0,.55);
  color:var(--ink);
}
.wtftoModalClose{
  position:absolute;
  top:10px;
  right:10px;
  width:34px;
  height:34px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:var(--ink);
  font-size:22px;
  line-height:1;
  cursor:pointer;
}
.wtftoModalClose:hover{ background:rgba(255,255,255,.10); }




