/* TSS Stories — styles for the story archive, story pages and story rails. */

.tsss-page{padding:18px 12px 50px;max-width:1400px;margin:0 auto}

/* breadcrumbs */
.tsss-crumbs{font-size:12px;color:#555;margin:6px 0 18px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.tsss-crumbs a{color:#777}
.tsss-crumbs a:hover{color:#ff2d55}
.tsss-crumbs span{color:#333}
.tsss-crumbs-here{color:#aaa}

/* layout */
.tsss-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:26px;align-items:start}
@media(max-width:1024px){.tsss-layout{grid-template-columns:1fr}}
.tsss-main{min-width:0}
.tsss-side{position:sticky;top:70px;display:flex;flex-direction:column;gap:18px}
@media(max-width:1024px){.tsss-side{position:static}}

/* article head */
.tsss-pill{display:inline-block;background:rgba(255,45,85,.12);border:1px solid rgba(255,45,85,.35);color:#ff8095;
  padding:4px 14px;border-radius:100px;font-size:11px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;margin-bottom:14px}
.tsss-pill:hover{background:rgba(255,45,85,.22);color:#fff}
.tsss-title{font-size:clamp(24px,3.6vw,40px);line-height:1.22;font-weight:800;color:#fff;letter-spacing:-.4px;margin-bottom:14px}
.tsss-meta{display:flex;flex-wrap:wrap;gap:14px;font-size:12px;color:#666;padding-bottom:16px;border-bottom:1px solid #1a1a1a;margin-bottom:18px}
.tsss-meta strong{color:#a78bfa;font-weight:600}
.tsss-summary{font-size:17px;line-height:1.75;color:#bbb;font-style:italic;background:#101010;border-left:3px solid #ff2d55;
  padding:14px 18px;border-radius:0 8px 8px 0;margin-bottom:20px}
.tsss-cover{margin:0 0 22px;border-radius:10px;overflow:hidden;background:#111}
.tsss-cover img{width:100%;height:auto;max-height:440px;object-fit:cover;display:block}
.tsss-cover figcaption{font-size:11px;color:#444;padding:7px 10px;background:#0c0c0c;text-align:right}

/* table of contents */
.tsss-toc{background:#0e0e0e;border:1px solid #1e1e1e;border-radius:8px;padding:14px 18px;margin:0 0 26px}
.tsss-toc-title{display:block;font-size:11px;letter-spacing:.8px;text-transform:uppercase;color:#ff2d55;font-weight:700;margin-bottom:10px}
.tsss-toc ol{margin:0;padding-left:20px;columns:2;column-gap:26px}
@media(max-width:640px){.tsss-toc ol{columns:1}}
.tsss-toc li{font-size:13px;color:#999;margin-bottom:6px;break-inside:avoid}
.tsss-toc a{color:#999}
.tsss-toc a:hover{color:#fff}

/* body */
.tsss-body{font-size:18px;line-height:1.95;color:#d8d8d8}
.tsss-body p{margin:0 0 1.5em}
.tsss-body h2{font-size:23px;font-weight:800;color:#fff;margin:38px 0 14px;padding-top:18px;border-top:1px solid #1a1a1a;letter-spacing:-.2px}
.tsss-body h2:first-child{margin-top:0;padding-top:0;border-top:none}
.tsss-body p:first-of-type::first-letter{font-size:3.2em;font-weight:800;float:left;line-height:.85;margin:4px 10px 0 0;color:#ff2d55;font-family:Georgia,serif}
@media(max-width:640px){.tsss-body{font-size:16.5px;line-height:1.85}}

/* ads inside the story */
.tsss-ad{margin:26px auto;text-align:center;background:#0c0c0c;border:1px solid #1a1a1a;border-radius:8px;padding:8px;overflow:hidden}
.tsss-ad-label{display:block;font-size:10px;letter-spacing:1.4px;text-transform:uppercase;color:#3a3a3a;margin-bottom:6px}
.tsss-ad-box{display:flex;justify-content:center;min-height:1px}
.tsss-ad-box>*{max-width:100%}
.tsss-ad--top{margin:0 0 24px}
.tsss-ad--side{margin:0}

/* faq */
.tsss-faq{margin:38px 0 0;background:#0e0e0e;border:1px solid #1e1e1e;border-radius:10px;padding:18px 20px}
.tsss-faq h2{font-size:20px;color:#fff;margin-bottom:12px}
.tsss-faq details{border-top:1px solid #1a1a1a;padding:10px 0}
.tsss-faq details:first-of-type{border-top:none}
.tsss-faq summary{cursor:pointer;list-style:none}
.tsss-faq summary::-webkit-details-marker{display:none}
.tsss-faq summary h3{display:inline;font-size:15px;color:#ff8095;font-weight:700}
.tsss-faq summary h3::before{content:"＋ ";color:#555;font-weight:400}
.tsss-faq details[open] summary h3::before{content:"－ "}
.tsss-faq p{font-size:14px;line-height:1.75;color:#999;margin:8px 0 0}

/* tags */
.tsss-tags{display:flex;flex-wrap:wrap;gap:8px;margin:26px 0 0}
.tsss-tags a{background:#151515;border:1px solid #262626;color:#888;font-size:12px;padding:5px 13px;border-radius:100px}
.tsss-tags a:hover{color:#fff;border-color:#ff2d55}

/* author */
.tsss-author{display:flex;gap:14px;align-items:flex-start;background:#101010;border:1px solid #1c1c1c;border-radius:10px;padding:16px;margin:26px 0 0}
.tsss-author-av{flex:0 0 44px;height:44px;border-radius:50%;background:linear-gradient(140deg,#ff2d55,#a78bfa);
  color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center;font-size:18px}
.tsss-author strong{color:#fff;font-size:14px}
.tsss-author p{font-size:13px;line-height:1.7;color:#777;margin-top:5px}

/* seo note / related */
.tsss-seo-note{margin:34px 0 0;border-top:1px solid #1a1a1a;padding-top:22px}
.tsss-seo-note h2{font-size:19px;color:#fff;margin-bottom:10px}
.tsss-seo-note p{font-size:14px;line-height:1.85;color:#888;margin-bottom:12px}
.tsss-seo-note a{color:#ff8095}
.tsss-seo-note a:hover{color:#fff;text-decoration:underline}
.tsss-related{margin-top:36px}
.tsss-related h2{font-size:19px;color:#fff;margin-bottom:14px}

/* cards */
.tsss-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:16px}
.tsss-grid--strip{padding:0 20px 10px}
.tsss-card{background:#111;border:1px solid #1c1c1c;border-radius:10px;overflow:hidden;display:flex;flex-direction:column;transition:border-color .2s,transform .2s}
.tsss-card:hover{border-color:#ff2d55;transform:translateY(-2px)}
.tsss-card-thumb{position:relative;aspect-ratio:16/9;background:#161616;overflow:hidden}
.tsss-card-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.tsss-card-nothumb{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:40px;background:linear-gradient(150deg,#1b0d16,#0a0a10)}
.tsss-card-time{position:absolute;right:8px;bottom:8px;background:rgba(0,0,0,.85);color:#fff;font-size:11px;padding:2px 8px;border-radius:3px}
.tsss-card-body{padding:13px 14px 15px;display:flex;flex-direction:column;gap:8px;flex:1}
.tsss-card-cat{font-size:10.5px;letter-spacing:.7px;text-transform:uppercase;color:#a78bfa;font-weight:700}
.tsss-card-title{font-size:16px;line-height:1.35;font-weight:700;color:#fff;margin:0}
.tsss-card-sum{font-size:12.5px;line-height:1.65;color:#666;margin:0;flex:1}
.tsss-card-meta{display:flex;flex-wrap:wrap;gap:10px;font-size:11px;color:#555;align-items:center;margin-top:2px}
.tsss-card-go{color:#ff2d55;font-weight:700;margin-left:auto}

/* archive head */
.tsss-arch-head{padding:6px 0 20px;border-bottom:1px solid #1a1a1a;margin-bottom:22px}
.tsss-arch-head h1{font-size:clamp(24px,3.4vw,36px);color:#fff;font-weight:800;letter-spacing:-.4px;margin-bottom:10px}
.tsss-arch-intro{font-size:15px;line-height:1.8;color:#999;max-width:900px;margin:0 0 16px}
.tsss-filter{display:flex;flex-wrap:wrap;gap:8px}
.tsss-filter a{font-size:12.5px;color:#999;border:1px solid #242424;background:#101010;padding:6px 15px;border-radius:100px}
.tsss-filter a:hover{color:#fff;border-color:#ff2d55}
.tsss-filter a.is-on{background:#ff2d55;border-color:#ff2d55;color:#fff;font-weight:600}
.tsss-filter em{font-style:normal;opacity:.55;font-size:11px;margin-left:3px}
.tsss-empty{color:#666;font-size:15px;padding:40px 0;text-align:center}

/* pagination */
.tsss-pager{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;margin:38px 0 0}
.tsss-pager a{min-width:38px;text-align:center;padding:9px 6px;border:1px solid #242424;background:#101010;color:#999;border-radius:6px;font-size:13px}
.tsss-pager a:hover{border-color:#ff2d55;color:#fff}
.tsss-pager a.is-on{background:#ff2d55;border-color:#ff2d55;color:#fff;font-weight:700}

/* sidebar rails */
.tsss-rail{background:#0e0e0e;border:1px solid #1c1c1c;border-radius:10px;padding:14px 16px}
.tsss-rail h2{font-size:13px;letter-spacing:.8px;text-transform:uppercase;color:#ff2d55;font-weight:700;margin-bottom:12px}
.tsss-rail-item{display:block;padding:9px 0;border-top:1px solid #1a1a1a}
.tsss-rail-item:first-of-type{border-top:none}
.tsss-rail-title{display:block;font-size:13.5px;line-height:1.45;color:#ccc;font-weight:600}
.tsss-rail-item:hover .tsss-rail-title{color:#fff}
.tsss-rail-meta{display:block;font-size:11px;color:#555;margin-top:3px}
.tsss-cats{display:flex;flex-direction:column;gap:7px}
.tsss-cats a{font-size:13px;color:#aaa;display:flex;justify-content:space-between;gap:8px}
.tsss-cats a:hover{color:#ff2d55}
.tsss-cats em{font-style:normal;color:#555;font-size:11px}
.tsss-tags--side{margin:0}

/* homepage strip + video page rail */
.tsss-strip{margin:26px 0 6px}
.tsss-strip .tss-section-head h2{color:#ff2d55}
.tsss-vrail{background:#0e0e0e;border:1px solid #1c1c1c;border-radius:10px;padding:14px 16px;margin-top:14px}
.tsss-vrail h3{font-size:13px;letter-spacing:.8px;text-transform:uppercase;color:#ff2d55;font-weight:700;margin-bottom:10px}
.tsss-vrail a{display:block;font-size:13px;color:#bbb;padding:8px 0;border-top:1px solid #1a1a1a;line-height:1.45}
.tsss-vrail a:first-of-type{border-top:none}
.tsss-vrail a:hover{color:#fff}
.tsss-vrail span{display:block;font-size:11px;color:#555;margin-top:2px}

/* ===================== readability + image sizing overrides ===================== */

/* ---- images: cap size, keep aspect, never overflow ---- */
.tsss-page img,.tsss-strip img{max-width:100%!important}
.tsss-card-thumb{aspect-ratio:16/9!important;overflow:hidden!important}
.tsss-card-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;max-width:100%!important;max-height:100%!important;display:block!important}
.tsss-card{max-width:460px!important}
.tsss-cover{max-width:900px!important;margin-left:auto!important;margin-right:auto!important}
.tsss-cover img{width:100%!important;height:auto!important;max-height:430px!important;object-fit:cover!important;max-width:100%!important;display:block!important}
/* in-article images can never blow out the column */
.tsss-body img,.tsss-page figure img{max-width:100%!important;height:auto!important}
/* don't let ad images inherit the big-image rules */
.tsss-ad img,.tsss-ad-box img{height:auto!important;max-height:none!important}

/* homepage "Latest Taboo Stories" strip: smaller, tidy cards */
.tsss-strip{padding:0!important;margin:26px 0 6px!important}
.tsss-strip .tss-section-head{padding-left:0!important;padding-right:0!important}
.tsss-grid--strip{padding:0!important;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))!important;gap:16px!important;max-width:1100px!important}
.tsss-strip .tsss-card{max-width:380px!important}
.tsss-strip .tsss-card-title{font-size:17px!important;line-height:1.4!important}
@media(max-width:640px){.tsss-grid--strip{grid-template-columns:1fr 1fr!important;gap:10px!important}}

/* story grid cards */
.tsss-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))!important}

/* ---- bigger, better-looking titles ---- */
.tsss-title{font-size:clamp(28px,4.2vw,54px)!important;line-height:1.08!important;font-weight:800!important;letter-spacing:-.02em!important;color:#fff!important;margin-bottom:16px!important;padding-bottom:14px!important;border-bottom:3px solid #ff2d55!important}
.tsss-title::first-letter{text-transform:uppercase}
.tsss-card-title{font-size:18px!important;line-height:1.32!important;font-weight:800!important;color:#fff!important;letter-spacing:-.01em!important}
.tsss-arch-head h1{font-size:clamp(28px,4vw,44px)!important;line-height:1.1!important;font-weight:800!important;letter-spacing:-.02em!important;color:#fff!important}
.tsss-rail h2,.tsss-faq h2,.tsss-related h2,.tsss-seo-note h2{font-size:21px!important;font-weight:800!important;color:#fff!important}
.tsss-body h2{font-size:27px!important;line-height:1.25!important;font-weight:800!important;letter-spacing:-.01em!important}
@media(max-width:640px){.tsss-title{font-size:30px!important}.tsss-card-title{font-size:16px!important}.tsss-body h2{font-size:23px!important}}

/* ---- bigger, easier-to-read text everywhere on story pages ---- */
.tsss-page{font-size:18px!important;line-height:1.75!important}
.tsss-body{font-size:21px!important;line-height:2.0!important;color:#ececec!important}
.tsss-body p{margin-bottom:1.55em!important}
.tsss-summary{font-size:19px!important;line-height:1.75!important}
.tsss-arch-intro{font-size:18px!important;line-height:1.85!important;color:#cfcfcf!important}
.tsss-card-sum{font-size:15px!important;line-height:1.65!important;color:#a8a8a8!important}
.tsss-card-meta{font-size:13px!important}
.tsss-seo-note p{font-size:16px!important;line-height:1.85!important}
.tsss-faq p{font-size:16px!important;line-height:1.8!important}
.tsss-rail-title{font-size:15px!important;line-height:1.45!important}
.tsss-rail-meta{font-size:12px!important}
.tsss-toc li{font-size:14.5px!important;line-height:1.5!important}
.tsss-meta{font-size:13px!important}
.tsss-crumbs{font-size:13px!important}
@media(max-width:640px){
  .tsss-page{font-size:17px!important}
  .tsss-body{font-size:19px!important;line-height:1.9!important}
  .tsss-summary{font-size:18px!important}
  .tsss-arch-intro{font-size:17px!important}
}

