/*
Theme Name: ToListn Velvet Magazine
Theme URI: https://www.tolistn.online/
Author: ToListn
Description: Dark editorial relationship and social magazine theme. Self-contained classic WordPress theme with no required plugins.
Version: 2.4.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: tolistn-velvet
*/
:root{
 --page:#11151b;
 --header:#0d1117;
 --panel:#fff;
 --text:#1c2026;
 --muted:#737983;
 --soft:#e8ebef;
 --line:#e3e6ea;
 --accent:#e95b8b;
 --shadow:0 12px 35px rgba(12,16,22,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--page);color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;line-height:1.6}
a{color:inherit;text-decoration:none}img{display:block;max-width:100%;height:auto}button,input{font:inherit}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.container{width:min(1700px,calc(100% - 40px));margin:0 auto}
.site-header{height:76px;background:var(--header);color:#fff;border-bottom:1px solid rgba(255,255,255,.08);position:relative;z-index:50}.header-inner{height:76px;display:flex;align-items:center;gap:24px}.brand{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:850;letter-spacing:-.5px;white-space:nowrap}.custom-logo{max-height:42px;width:auto}.brand-mark{width:31px;height:31px;border-radius:9px;background:linear-gradient(135deg,#9b57ff,#e95b8b);position:relative;box-shadow:0 7px 18px rgba(140,70,220,.22)}.brand-mark:after{content:"♥";position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:16px}.primary-nav{flex:1;min-width:0}.primary-nav ul{display:flex;align-items:center;justify-content:center;gap:1px;list-style:none;margin:0;padding:0}.primary-nav li{margin:0}.primary-nav a{display:block;padding:27px 12px 23px;font-size:12px;font-weight:700;color:#d8dce1;border-bottom:2px solid transparent;white-space:nowrap}.primary-nav a:hover,.primary-nav .current-menu-item>a,.primary-nav .current-menu-ancestor>a,.primary-nav .current-category-ancestor>a{color:#fff;border-bottom-color:var(--accent)}.header-search{width:170px;flex:0 0 170px}.search-form{display:flex;align-items:center;gap:0;border:1px solid rgba(255,255,255,.14);background:#1b2129;border-radius:999px;overflow:hidden}.search-form input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:#fff;padding:8px 12px;font-size:11px}.search-form input::placeholder{color:#9097a0}.search-form button{width:35px;border:0;background:transparent;color:#cdd2d8;cursor:pointer;font-size:16px}
.site-main{padding:24px 0 70px}.page-grid{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:18px;align-items:start}.main-column{min-width:0}.sticky-sidebar{position:sticky;top:18px;align-self:start;display:flex;flex-direction:column;gap:18px;max-height:calc(100vh - 36px);overflow:auto;scrollbar-width:thin}
.hero-card{position:relative;min-height:480px;border-radius:12px;overflow:hidden;background:#222831;box-shadow:var(--shadow);margin-bottom:18px}.hero-media{position:absolute;inset:0;background:#262c34 center/cover no-repeat}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,8,12,.94) 0%,rgba(5,8,12,.72) 43%,rgba(5,8,12,.18) 83%),linear-gradient(0deg,rgba(5,8,12,.65),transparent 60%)}.hero-content{position:relative;z-index:2;color:#fff;max-width:680px;padding:88px 40px 55px}.hero-content h1{font-family:Georgia,"Times New Roman",serif;font-size:50px;line-height:1.02;letter-spacing:-1.5px;margin:18px 0 13px}.hero-content h1 a:hover{text-decoration:underline;text-decoration-color:rgba(255,255,255,.4)}.hero-content p{font-size:14px;line-height:1.65;color:#e1e4e7;max-width:610px;margin:0 0 20px}.post-category{display:inline-flex;align-items:center;color:#fff;background:var(--cat-color,var(--accent));padding:4px 8px;border-radius:4px;font-size:10px;line-height:1;font-weight:800;letter-spacing:.2px;text-transform:none}.hero-button{display:inline-flex;align-items:center;gap:8px;background:var(--accent);color:#fff;padding:10px 15px;border-radius:5px;font-size:12px;font-weight:800;transition:.2s}.hero-button:hover{filter:brightness(1.08);transform:translateY(-1px)}
.side-box{background:var(--panel);border:1px solid #e3e6ea;border-radius:12px;padding:18px;box-shadow:var(--shadow)}.side-heading{font-family:Georgia,"Times New Roman",serif;font-size:22px;line-height:1.15;font-weight:700;margin:0 0 14px}.popular-list{display:flex;flex-direction:column}.popular-item{display:grid;grid-template-columns:74px minmax(0,1fr);gap:10px;padding:11px 0;border-bottom:1px solid #e8eaed}.popular-item:last-child{border-bottom:0}.popular-thumb{width:74px;height:58px;border-radius:6px;overflow:hidden;background:#d9dde2}.popular-thumb img{width:100%;height:100%;object-fit:cover}.popular-copy{min-width:0}.popular-copy strong{display:block;font-size:12px;line-height:1.35;color:#242830;margin-bottom:4px}.popular-copy small{display:block;color:#80868e;font-size:10px;line-height:1.4}.side-empty,.search-box p{font-size:12px;color:var(--muted);margin:0}.search-box .search-form{background:#fff;border:1px solid #d9dde2;border-radius:7px;margin-top:13px}.search-box .search-form input{color:#20242a;padding:11px 12px;font-size:12px}.search-box .search-form input::placeholder{color:#969da5}.search-box .search-form button{color:#555d67}
.editorial-block{background:var(--panel);border-radius:12px;padding:21px 20px 22px;margin-bottom:18px;box-shadow:var(--shadow)}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:16px}.section-head h2{font-family:Georgia,"Times New Roman",serif;font-size:26px;line-height:1;margin:4px 0 0}.section-head>a{font-size:11px;font-weight:800;color:#777f88}.section-head>a:hover{color:var(--accent)}.section-kicker{display:block;color:var(--accent);font-size:9px;text-transform:uppercase;letter-spacing:1.1px;font-weight:850}.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.post-card{background:#fff;border:1px solid #e3e6ea;border-radius:9px;overflow:hidden;min-width:0;transition:.18s;box-shadow:0 5px 18px rgba(20,24,30,.04)}.post-card:hover{transform:translateY(-2px);box-shadow:0 12px 25px rgba(20,24,30,.09)}.post-thumb{display:block;aspect-ratio:1.55;background:#d9dde2;overflow:hidden}.post-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.post-card:hover .post-thumb img{transform:scale(1.025)}.thumb-placeholder{display:block;width:100%;height:100%;background:linear-gradient(135deg,#2c323b,#4b5563)}.post-body{padding:12px 13px 13px}.post-body h3{font-family:Georgia,"Times New Roman",serif;font-size:17px;line-height:1.25;margin:8px 0 6px}.post-body h3 a:hover{color:var(--accent)}.card-excerpt{font-size:11px;line-height:1.55;color:#747a83;margin:0 0 11px}.card-meta{font-size:9px;color:#9a9fa6;text-transform:none}.all-articles{margin-top:0}.all-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.archive-main .page-grid{padding-top:0}.archive-heading{background:#fff;border-radius:12px;padding:28px 25px;margin-bottom:18px;box-shadow:var(--shadow)}.archive-heading h1{font-family:Georgia,"Times New Roman",serif;font-size:40px;line-height:1.05;margin:6px 0 7px}.archive-description,.archive-heading p{font-size:13px;color:var(--muted);margin:0}.navigation.pagination{margin:28px 0 0}.nav-links{display:flex;justify-content:center;gap:6px;flex-wrap:wrap}.page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;border:1px solid #dfe3e7;background:#fff;border-radius:6px;font-size:11px}.page-numbers.current{background:var(--accent);border-color:var(--accent);color:#fff}.single-main{padding-top:24px}.article-card{background:#fff;border-radius:12px;box-shadow:var(--shadow);overflow:hidden}.article-header{padding:32px 34px 22px}.article-header h1{font-family:Georgia,"Times New Roman",serif;font-size:48px;line-height:1.05;letter-spacing:-1px;margin:15px 0 12px}.article-lead{font-size:15px;line-height:1.65;color:#6e747c;margin:0 0 13px}.article-meta{font-size:10px;color:#969ca3}.article-image{width:100%;background:#ddd}.article-image img{width:100%;max-height:680px;object-fit:cover}.entry-content{padding:30px 34px 42px;font-family:Georgia,"Times New Roman",serif;font-size:18px;line-height:1.85;color:#30343a}.entry-content h2,.entry-content h3,.entry-content h4{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.25}.entry-content a{color:var(--accent);text-decoration:underline}.entry-content blockquote{border-left:4px solid var(--accent);padding:4px 18px;margin:25px 0;color:#666d76}.article-footer{padding:0 34px 30px}.article-tags{font-size:11px;color:#858b93}.article-tags a{display:inline-block;margin-left:6px;color:var(--accent)}.comments-area{padding:28px 34px;border-top:1px solid #e5e8eb}.not-found{background:#fff;border-radius:12px;padding:70px 35px;text-align:center;box-shadow:var(--shadow)}.not-found h1{font-family:Georgia,serif;font-size:44px;margin:8px 0}.not-found p{color:var(--muted);margin-bottom:22px}.not-found .search-form{max-width:450px;margin:25px auto 0;background:#fff;border:1px solid #dfe3e7}.not-found .search-form input{color:#222}
.site-footer{background:#0d1117;color:#9fa6af;padding:42px 0 25px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.footer-brand{color:#fff;font-size:20px;font-weight:850;margin-bottom:9px}.site-footer p{font-size:11px;max-width:560px}.footer-menu ul{list-style:none;margin:0;padding:0;columns:2}.footer-menu li{margin:0 0 7px}.footer-menu a{font-size:11px;color:#c2c7cd}.footer-bottom{display:flex;justify-content:space-between;gap:15px;border-top:1px solid rgba(255,255,255,.08);margin-top:28px;padding-top:15px;font-size:10px}
@media(max-width:1050px){.container{width:min(100% - 30px,1700px)}.page-grid{grid-template-columns:minmax(0,1fr) 310px}.primary-nav a{padding-left:8px;padding-right:8px}.header-search{width:150px;flex-basis:150px}.hero-content h1{font-size:43px}.feature-grid,.all-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.site-header,.header-inner{height:auto}.header-inner{min-height:70px;flex-wrap:wrap;padding:10px 0}.primary-nav{order:3;flex-basis:100%;overflow:auto}.primary-nav ul{justify-content:flex-start;width:max-content}.primary-nav a{padding:7px 9px;border-bottom:0}.header-search{margin-left:auto}.page-grid{grid-template-columns:1fr}.sticky-sidebar{position:static;max-height:none;display:grid;grid-template-columns:1fr 1fr;overflow:visible}.hero-card{min-height:450px}.article-header h1{font-size:41px}}
@media(max-width:560px){.container{width:calc(100% - 20px)}.header-search{width:145px;flex-basis:145px}.brand{font-size:20px}.hero-card{min-height:480px}.hero-content{padding:65px 22px 35px}.hero-content h1{font-size:36px}.feature-grid,.all-grid,.sticky-sidebar{grid-template-columns:1fr}.editorial-block{padding:17px 14px}.section-head h2{font-size:23px}.article-header{padding:24px 20px 18px}.article-header h1{font-size:35px}.entry-content{padding:24px 20px 34px;font-size:17px}.article-footer{padding:0 20px 24px}.comments-area{padding:24px 20px}.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column}.not-found{padding:50px 20px}.not-found h1{font-size:34px}}

/* V2.1 corrections: fixed editorial tabs, true sticky sidebar, and page backdrop. */
:root{--page:#17131a}
.tabbed-editorial{margin-top:0}
.tab-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px}
.section-tabs{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.section-tab{appearance:none;border:0;background:transparent;color:#737983;cursor:pointer;padding:7px 11px;border-radius:6px;font-size:12px;font-weight:850;line-height:1.2}
.section-tab:hover{color:var(--accent);background:#f7edf1}
.section-tab.is-active{color:#fff;background:var(--accent);box-shadow:0 5px 14px rgba(233,91,139,.2)}
.tab-view-all{font-size:11px;font-weight:800;color:#777f88;white-space:nowrap}
.tab-view-all:hover{color:var(--accent)}
.tab-panel[hidden]{display:none!important}
.tab-panel{animation:tabFade .16s ease}
@keyframes tabFade{from{opacity:.4;transform:translateY(2px)}to{opacity:1;transform:none}}
.sticky-sidebar{overflow:visible;max-height:none}
@media(max-width:820px){.sticky-sidebar{overflow:visible;max-height:none}}

/* V2.3 layout: wider desktop canvas and safer internal links. */
@media(min-width:1500px){.container{width:min(1540px,calc(100% - 72px))}.page-grid{grid-template-columns:minmax(0,1fr) 340px;gap:22px}.header-inner{gap:28px}.header-search{width:180px;flex-basis:180px}}


/* V2.4 visual refinement: denser editorial information with more breathing room. */
.brand-icon-only{width:42px;height:42px;display:flex;align-items:center;justify-content:center;flex:0 0 42px}
.brand-icon{display:block;width:42px;height:42px;object-fit:cover;border-radius:10px}
/* Keep the header logo icon-only; never render the text wordmark beside it. */
.brand-icon-only + .primary-nav{margin-left:4px}

/* Dark right rail for a stronger magazine/sidebar contrast. */
.popular-box{background:#0b0f14;border-color:#242a33;color:#fff;box-shadow:0 14px 36px rgba(0,0,0,.18)}
.popular-box .side-heading{color:#fff}
.popular-box .popular-item{border-bottom-color:#252c35;padding:14px 0}
.popular-box .popular-item:last-child{border-bottom:0}
.popular-box .popular-thumb{background:#1b222b}
.popular-box .popular-copy strong{color:#f2f4f7;font-size:12px;line-height:1.4}
.popular-box .popular-copy small{color:#9ba3ad;font-size:10px;line-height:1.5}

/* Larger gaps + shorter images = more visible text per screen. */
.feature-grid{gap:22px}
.all-grid{gap:22px}
.post-thumb{aspect-ratio:1.9}
.post-body{padding:14px 15px 15px}
.post-body h3{margin-top:8px;margin-bottom:7px}
.card-excerpt{font-size:11.5px;line-height:1.62;margin-bottom:12px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.card-meta{font-size:9.5px}

/* Give the all-articles cards slightly more separation without making the layout sparse. */
.all-articles .all-grid{row-gap:24px;column-gap:22px}

@media(min-width:1500px){
  .feature-grid{gap:24px}
  .all-grid{gap:24px}
  .post-thumb{aspect-ratio:2.0}
  .brand-icon-only,.brand-icon{width:44px;height:44px}
}

/* V2.5 refinement: restore comfortable side whitespace on large screens. */
@media(min-width:1500px){
  .container{width:min(1540px,calc(100% - 72px));}
  .page-grid{grid-template-columns:minmax(0,1fr) 340px;gap:22px;}
  .brand-icon-only,.brand-icon{width:42px;height:42px;}
}
