:root{
  --dark:#2E3138; --dark-2:#25272C; --red:#D8232A; --paper:#F2F2F2; --white:#FFFFFF;
  --ink:#242427; --ink-dim:#6E6E72; --line:#E6E6E6; --track:#D8D9DB; --track-dark:rgba(255,255,255,0.14);
  --heading:'Montserrat', sans-serif; --body:'Inter', sans-serif;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto;} *{animation-duration:.001ms !important; transition-duration:.001ms !important;} }
body{margin:0; background:var(--paper); color:var(--ink); font-family:var(--body); line-height:1.6;}
a{color:inherit;}
::selection{background:var(--red); color:#fff;}

.topbar{position:sticky; top:0; z-index:50; background:var(--dark); display:flex; align-items:center; justify-content:space-between; padding:14px clamp(16px,4vw,40px);}
.topbar .brand{font-family:var(--heading); font-weight:700; color:#fff; font-size:14px; letter-spacing:.04em; text-decoration:none;}
.topbar .brand span{color:var(--red);}
.topbar .topbar-right{display:flex; align-items:center; gap:14px;}
.topbar .topbar-right button[type=submit]{
    font-family: var(--body);
    font-size: 13px;
    color: #cfd0d3;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    padding: 6px 10px; 
  }
.toc-toggle{font-family:var(--body); font-size:13px; color:#cfd0d3; background:none; border:1px solid rgba(255,255,255,0.25); border-radius:4px; padding:8px 16px; cursor:pointer;}
.toc-toggle:hover{border-color:var(--red); color:#fff;}

.toc-overlay{position:fixed; inset:0; z-index:70; background:rgba(37,39,44,0.97); display:flex; align-items:center; justify-content:center; opacity:0; pointer-events:none; transition:opacity .3s ease;}
.toc-overlay.open{opacity:1; pointer-events:auto;}
.toc-close{position:absolute; top:20px; right:clamp(16px,4vw,40px); background:none; border:none; color:#cfd0d3; font-size:14px; cursor:pointer;}
.toc-close:hover{color:var(--red);}
.toc-list{list-style:none; margin:0; padding:0; width:min(480px,86vw);}
.toc-list li{border-top:1px solid rgba(255,255,255,0.12);}
.toc-list li:last-child{border-bottom:1px solid rgba(255,255,255,0.12);}
.toc-list a{display:flex; justify-content:space-between; padding:14px 4px; text-decoration:none; font-family:var(--heading); font-weight:600; font-size:18px; color:#e6e6e8;}
.toc-list a .n{color:#8b8d92; font-size:13px; font-weight:400;}
.toc-list a:hover, .toc-list a.active{color:var(--red);}

.sheet{max-width:1180px; margin:32px auto; background:#fff; box-shadow:0 20px 50px rgba(0,0,0,0.12); display:grid; grid-template-columns:340px 1fr; border-radius:4px; overflow:hidden;}
.side{background:var(--dark); color:#e6e6e8; padding:38px 30px;}
.photo-box{width:100%; /* aspect-ratio:1/1.05; */ background:#fff; border-radius:4px; overflow:hidden; display:flex; align-items:center; justify-content:center; margin-bottom:28px;}
.photo-box svg{width:78%; height:78%;}
.bar-header{background:var(--red); color:#fff; font-family:var(--heading); font-weight:700; font-size:13px; letter-spacing:.08em; padding:11px 16px; border-radius:2px; margin:0 0 18px;}
.side-block{margin-bottom:34px;}
.side-block:last-child{margin-bottom:0;}
.contact-row{display:flex; align-items:center; gap:12px; margin-bottom:12px; font-size:13px; color:#d3d4d7;}
.contact-row .ic{width:26px; height:26px; border:1px solid rgba(255,255,255,0.3); border-radius:3px; display:flex; align-items:center; justify-content:center; flex-shrink:0;}
.contact-row .ic svg{width:13px; height:13px; stroke:#e6e6e8;}
.contact-row a{text-decoration:none; color:#d3d4d7;}
.contact-row a:hover{color:#fff;}
.pub-row{margin-bottom:14px; display:block; text-decoration:none;}
.pub-row:last-child{margin-bottom:0;}
.pub-label{display:flex; justify-content:space-between; font-size:12.5px; color:#d3d4d7; margin-bottom:6px;}
.pub-label b{color:#fff; font-weight:600;}
.pub-row.current .pub-label b{color:var(--red);}
.pub-label .count{color:var(--red); font-weight:700; font-family:var(--heading);}
.pub-track{height:6px; background:var(--track-dark); border-radius:3px; overflow:hidden;}
.pub-fill{height:100%; background:var(--red); border-radius:3px;}
.interest-grid{display:flex; flex-wrap:wrap; gap:14px;}
.interest-grid .ic{width:38px; height:38px; border:1px solid rgba(255,255,255,0.3); border-radius:50%; display:flex; align-items:center; justify-content:center;}
.interest-grid svg{width:17px; height:17px; stroke:#e6e6e8;}

.main{padding:44px clamp(24px,4vw,56px);}
.crumb{font-family:var(--heading); font-size:12px; letter-spacing:.08em; color:var(--ink-dim); text-transform:uppercase; margin:0 0 18px;}
.crumb a{color:var(--ink-dim); text-decoration:none;}
.crumb a:hover{color:var(--red);}
.name-block{margin-bottom:36px;}
.name-block .eyebrow{font-family:var(--heading); font-size:12.5px; letter-spacing:.14em; color:var(--ink-dim); text-transform:uppercase; margin:0 0 4px;}
.name-block h1{font-family:var(--heading); font-weight:800; font-size:clamp(28px,4vw,40px); margin:0 0 6px; letter-spacing:.01em; line-height:1.1;}
.name-block h1 span{display:block; font-weight:600; color:var(--ink-dim); font-size:0.55em; letter-spacing:.06em; margin-top:6px;}

.entry-section{margin-bottom:44px;}
.entry-head{display:flex; align-items:center; gap:12px; border-bottom:2px solid var(--ink); padding-bottom:10px; margin-bottom:20px;}
.entry-head .ic{width:22px; height:22px; flex-shrink:0;}
.entry-head .ic svg{width:100%; height:100%; stroke:var(--red);}
.entry-head h2{font-family:var(--heading); font-weight:700; font-size:18px; letter-spacing:.03em; margin:0; text-transform:uppercase;}
.entry-head .cnt{margin-left:auto; font-family:var(--body); font-weight:600; font-size:12.5px; color:var(--ink-dim); text-transform:none; letter-spacing:0;}
.entry{padding:16px 0; border-bottom:1px solid var(--line);}
.entry:last-child{border-bottom:none; padding-bottom:0;}
.entry-top{display:flex; justify-content:space-between; align-items:baseline; gap:12px; flex-wrap:wrap;}
.entry-title{color:var(--red); font-weight:700; font-size:15px;}
.entry-date{font-size:12.5px; color:var(--ink-dim); white-space:nowrap;}
.entry-sub{font-weight:700; font-size:14.5px; margin:2px 0 6px;}
.entry p{margin:0; color:var(--ink-dim); font-size:14px; max-width:64ch;}
.track-row{display:flex; justify-content:space-between; align-items:center; padding:12px 0; border-bottom:1px solid var(--line); font-size:14px;}
.track-row:last-child{border-bottom:none;}
.track-row a{color:var(--red); text-decoration:none; font-weight:600; font-size:13px;}

/* article list rows */
.article-row{display:block; padding:18px 0; border-bottom:1px solid var(--line); text-decoration:none; color:var(--ink);}
.article-row:first-child{padding-top:0;}
.article-row:last-child{border-bottom:none;}
.article-row .a-top{display:flex; justify-content:space-between; align-items:baseline; gap:12px; flex-wrap:wrap;}
.article-row .a-title{font-family:var(--heading); font-weight:700; font-size:15.5px; color:var(--ink);}
.article-row:hover .a-title{color:var(--red);}
.article-row .a-date{font-size:12px; color:var(--ink-dim); white-space:nowrap;}
.article-row .a-excerpt{margin:6px 0 0; font-size:13.5px; color:var(--ink-dim); max-width:66ch;}
.article-row .a-more{display:inline-block; margin-top:8px; font-size:12.5px; font-weight:700; color:var(--red);}

.pager{display:flex; justify-content:space-between; margin:8px 0 40px; gap:16px;}
.pager a{flex:1; border:1px solid var(--line); border-radius:4px; padding:14px 18px; text-decoration:none; color:var(--ink);}
.pager a:hover{border-color:var(--red);}
.pager .lbl{display:block; font-size:11px; color:var(--ink-dim); text-transform:uppercase; letter-spacing:.06em; margin-bottom:4px;}
.pager .to{font-family:var(--heading); font-weight:700; font-size:14px;}
.pager .next{text-align:right;}
.back-link{display:inline-flex; align-items:center; gap:6px; margin:0 0 26px; font-size:13px; font-weight:600; color:var(--ink-dim); text-decoration:none;}
.back-link:hover{color:var(--red);}

.media-section{margin:0 0 40px;}
.media-section .entry-head{margin-bottom:18px;}
.media-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-bottom:14px; cursor:pointer;}
.media-grid img{width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:6px; border:1px solid var(--line); display:block;}
.video-card{position:relative; border-radius:6px; overflow:hidden; border:1px solid var(--line); background:var(--dark); cursor:pointer;}
.video-card img{width:100%; aspect-ratio:16/7; object-fit:cover; display:block; opacity:.9;}
.video-card .play{position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:64px; height:64px; border-radius:50%; background:var(--red); display:flex; align-items:center; justify-content:center;}
.video-card .play svg{width:22px; height:22px; fill:#fff; margin-left:3px;}
.media-caption{font-size:12px; color:var(--ink-dim); margin:8px 0 0;}

.engage{display:flex; align-items:center; gap:14px; margin:0 0 40px; padding:18px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
.vote-btn{display:flex; align-items:center; gap:8px; background:none; border:1px solid var(--line); border-radius:999px; padding:9px 18px; font-family:var(--body); font-size:14px; font-weight:600; color:var(--ink-dim); cursor:pointer; transition:border-color .15s ease, color .15s ease;}
.vote-btn svg{width:16px; height:16px; stroke:currentColor; fill:none; stroke-width:1.8;}
.vote-btn:hover{border-color:var(--red); color:var(--red);}
.vote-btn.active{border-color:var(--red); color:#fff; background:var(--red);}
.vote-btn.active svg{stroke:#fff;}
.engage-note{margin-left:auto; font-size:12px; color:var(--ink-dim);}

.comments{margin-bottom:20px;}
.comments-head{display:flex; align-items:baseline; gap:10px; margin-bottom:6px;}
.comments-head h2{font-family:var(--heading); font-weight:700; font-size:18px; text-transform:uppercase; letter-spacing:.03em; margin:0;}
.comments-head .cnt{color:var(--red); font-family:var(--heading); font-weight:700;}
.comments-hint{font-size:12.5px; color:var(--ink-dim); margin:0 0 22px;}
.comment-form{display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:30px;}
.comment-form input, .comment-form textarea{font-family:var(--body); font-size:14px; padding:11px 14px; border:1px solid var(--line); border-radius:4px; color:var(--ink); background:#fff;}
.comment-form textarea{grid-column:1 / -1; min-height:90px; resize:vertical;}
.comment-form button{grid-column:1 / -1; justify-self:start; background:var(--red); color:#fff; border:none; border-radius:4px; font-family:var(--heading); font-weight:700; font-size:13px; letter-spacing:.04em; padding:12px 26px; cursor:pointer;}
.comment-form button:hover{background:#B71B21;}
.comment-list{list-style:none; margin:0; padding:0;}
.comment-item{padding:16px 0; border-top:1px solid var(--line);}
.comment-item:last-child{border-bottom:1px solid var(--line);}
.comment-top{display:flex; justify-content:space-between; gap:12px; margin-bottom:6px;}
.comment-name{font-weight:700; font-size:14px;}
.comment-time{font-size:12px; color:var(--ink-dim);}
.comment-text{font-size:14px; color:var(--ink-dim); margin:0;}
.comment-empty{font-size:13.5px; color:var(--ink-dim); padding:14px 0;}

footer.site-foot{max-width:1180px; margin:0 auto 60px; padding:0 clamp(24px,4vw,56px); font-size:12px; color:#8b8d92;}

.index-hero{max-width:1180px; margin:40px auto 0; padding:0 clamp(24px,4vw,56px);}
.index-hero h1{font-family:var(--heading); font-weight:800; font-size:clamp(30px,4.5vw,46px); margin:0 0 10px;}
.index-hero p{max-width:60ch; color:var(--ink-dim); font-size:16px;}
.tiles{max-width:1180px; margin:30px auto 60px; padding:0 clamp(24px,4vw,56px); display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:18px;}
.tile{background:#fff; border:1px solid var(--line); border-radius:6px; padding:24px; text-decoration:none; color:var(--ink); display:flex; flex-direction:column; gap:10px; transition:border-color .15s ease;}
.tile:hover{border-color:var(--red);}
.tile .ic{width:24px; height:24px;}
.tile .ic svg{width:100%; height:100%; stroke:var(--red);}
.tile h3{font-family:var(--heading); font-size:17px; margin:0;}
.tile-count{font-size:12px; color:var(--ink-dim);}

.auth input, .auth textarea {
    font-family: var(--body);
    font-size: 14px;
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--ink);
    background: #fff;
    width: 100%;
}
.auth button {
    grid-column: 1 / -1;
    justify-self: start;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: var(--heading);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .04em;
    padding: 12px 26px;
    cursor: pointer;
    width: 100%;
}

 

@media (max-width:820px){
  .sheet{grid-template-columns:1fr; margin:0;}
  .side{padding:30px 22px;}
  .comment-form{grid-template-columns:1fr;}
  .pager{flex-direction:column;}
  .media-grid{grid-template-columns:1fr 1fr;}
}