
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Source+Sans+3:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --ink: #1a2b3c;
  --accent: #3b82f6;
  --bg: #eff6ff;
  --surface: #ffffff;
  --border: #cdd5e3;
  --muted: #5d6e8a;
  --max-w: 1260px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; }
body { font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.6; }
a { color: inherit; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ── Header ── */
.site-header { background: var(--ink); position: sticky; top: 0; z-index: 100; transition: background 0.25s ease, box-shadow 0.25s ease; border-bottom: 1px solid rgba(255,255,255,0.08); }
.site-header.scrolled { background: rgba(26,43,60,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 2px 20px rgba(0,0,0,0.25); border-bottom-color: transparent; }
.site-header.scrolled .header-inner { padding: 0.65rem 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0; transition: padding 0.25s ease; }
.logo-link { text-decoration: none; }
.logo-wordmark { font-family: 'Playfair Display', Georgia, serif; font-size: 2.1rem; font-weight: 900; color: #fff; letter-spacing: -1px; line-height: 1; transition: all 0.25s ease; }
.logo-wordmark span { color: #93c5fd; }
.logo-tagline { display: block; font-size: 0.7rem; color: rgba(255,255,255,0.45); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 0.2rem; }
.header-nav { padding: 0.55rem 0; }
.header-nav ul { list-style: none; display: flex; gap: 2rem; align-items: center; }
.header-nav a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; transition: all 0.25s ease; }
.header-nav a:hover { color: #fff; }
.header-nav .nav-cta a { background: var(--accent); color: #fff; padding: 0.4rem 1.1rem; border-radius: 20px; transition: all 0.25s ease; }
.header-nav .nav-cta a:hover { background: #2563eb; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,0.4); }

/* ── Hamburger ── */
.hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; width: 38px; height: 38px; background: none; border: none; cursor: pointer; gap: 5px; padding: 0; }
.hamburger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,0.8); border-radius: 2px; transition: all 0.25s ease; transform-origin: center; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Search ── */
.header-search { display: flex; align-items: center; gap: 0; position: relative; }
.search-toggle { background: none; border: none; color: rgba(255,255,255,0.7); padding: 0.4rem; cursor: pointer; display: flex; align-items: center; transition: all 0.25s ease; border-radius: 50%; }
.search-toggle:hover { color: #fff; background: rgba(255,255,255,0.1); }
.search-toggle svg { width: 16px; height: 16px; }
.search-expand { display: flex; align-items: center; overflow: hidden; }
.search-input { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); border-radius: 20px; color: #fff; padding: 0.38rem 0.85rem; font-size: 0.8rem; font-family: inherit; width: 0; opacity: 0; outline: none; transition: width 0.3s ease, opacity 0.3s ease, padding 0.3s ease; pointer-events: none; }
.search-input::placeholder { color: rgba(255,255,255,0.4); }
.header-search.expanded .search-input { width: 200px; opacity: 1; pointer-events: auto; }
.search-btn { background: var(--accent); border: none; color: #fff; padding: 0.38rem 0.65rem; cursor: pointer; display: flex; align-items: center; border-radius: 0 20px 20px 0; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.header-search.expanded .search-btn { opacity: 1; pointer-events: auto; }
.search-btn svg { width: 14px; height: 14px; }

/* ── Category nav ── */
.cat-nav { background: var(--surface); border-bottom: 1px solid var(--border); padding: 0.6rem 0; }
.cat-nav-list { list-style: none; display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; padding: 0; }
.cat-nav-list::-webkit-scrollbar { display: none; }
.cat-nav-link { display: block; padding: 0.35rem 0.85rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-decoration: none; border-radius: 20px; white-space: nowrap; transition: all 0.25s ease; background: transparent; }
.cat-nav-link:hover { background: rgba(59,130,246,0.08); color: var(--accent); }
.cat-nav-link.active { background: var(--accent); color: #fff; }

/* ── Category badge ── */
.cat-badge { display: inline-block; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.15rem 0.5rem; border-radius: 1px; margin-bottom: 0.45rem; }
.cat-tournaments { background: #eff6ff; color: #1e40af; }
.cat-players     { background: #fffbeb; color: #b45309; }
.cat-online      { background: #eff6ff; color: #3b82f6; }
.cat-theory      { background: #faf5ff; color: #7c3aed; }
.cat-news        { background: #f0f4f9; color: #5d6e8a; }

/* ── Search results page ── */
.search-wrap { padding: 2.5rem 0 4rem; }
.search-header { margin-bottom: 2rem; }
.search-header h1 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.75rem; font-weight: 700; }
.search-header p { color: var(--muted); margin-top: 0.4rem; }
.search-form-large { display: flex; gap: 0.5rem; max-width: 560px; margin-bottom: 2.5rem; }
.search-form-large input { flex: 1; padding: 0.75rem 1rem; border: 2px solid var(--border); border-radius: 2px; font-size: 1rem; font-family: inherit; outline: none; }
.search-form-large input:focus { border-color: var(--accent); }
.search-form-large button { background: var(--accent); color: #fff; border: none; padding: 0.75rem 1.5rem; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; cursor: pointer; border-radius: 2px; font-family: inherit; }
.search-no-results { color: var(--muted); padding: 2rem 0; }

/* ── Topbar ── */
.topbar { background: #070f1c; border-bottom: 1px solid rgba(255,255,255,0.07); padding: 0.45rem 0; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar-date { font-size: 0.7rem; color: rgba(255,255,255,0.4); letter-spacing: 0.06em; }
.topbar-tag { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }

/* ── Hero ── */
.hero-wrap { padding: 1.5rem 0 0; }
.hero-card { position: relative; height: 560px; overflow: hidden; background: #111; display: block; text-decoration: none; color: inherit; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.72; transition: opacity 0.6s ease, transform 0.6s ease; }
.hero-card:hover .hero-bg { opacity: 0.58; transform: scale(1.03); }
.hero-grad { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.45) 40%, rgba(0,0,0,0.1) 100%); }
.hero-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 2.75rem 3rem; max-width: 820px; }
.hero-badge { display: inline-block; background: var(--accent); color: #fff; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 0.22rem 0.65rem; margin-bottom: 1rem; }
.hero-title { font-family: 'Playfair Display', Georgia, serif; font-size: 3.25rem; font-weight: 900; line-height: 1.08; color: #fff; margin-bottom: 1rem; text-shadow: 0 2px 16px rgba(0,0,0,0.35); }
.hero-excerpt { color: rgba(255,255,255,0.8); font-size: 1.05rem; line-height: 1.65; margin-bottom: 1.1rem; max-width: 580px; }
.hero-meta { color: rgba(255,255,255,0.45); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* ── Spotlight row ── */
.spotlight { display: grid; grid-template-columns: 3fr 2fr; gap: 1.25rem; margin: 1.25rem 0 0; }
.spotlight-main { height: 370px; }
.spotlight-stack { display: flex; flex-direction: column; gap: 1.25rem; }
.spotlight-side { flex: 1; background: var(--surface); border: 1px solid var(--border); display: flex; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow 0.2s; }
.spotlight-side:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.spotlight-side-img { width: 130px; flex-shrink: 0; background-size: cover; background-position: center; background-color: var(--border); }
.spotlight-side-body { padding: 1rem 1.15rem; display: flex; flex-direction: column; justify-content: center; gap: 0.35rem; }
.spotlight-side-eyebrow { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.spotlight-side-title { font-family: 'Playfair Display', Georgia, serif; font-size: 0.9rem; font-weight: 700; line-height: 1.35; color: var(--ink); }
.spotlight-side-date { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ── Overlay card (spotlight main) ── */
.overlay-card { position: relative; overflow: hidden; display: block; text-decoration: none; background: #111; height: 100%; }
.overlay-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.78; transition: opacity 0.5s ease, transform 0.6s ease; }
.overlay-card:hover .overlay-bg { opacity: 0.62; transform: scale(1.05); }
.overlay-grad { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.3) 55%, transparent 100%); }
.overlay-content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem 1.75rem; }
.overlay-eyebrow { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 0.5rem; }
.overlay-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1.35rem; font-weight: 700; line-height: 1.25; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,0.3); }
.overlay-meta { margin-top: 0.6rem; font-size: 0.68rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.06em; }

/* ── Section label ── */
.section-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); border-top: 3px solid var(--accent); padding-top: 0.55rem; margin: 2rem 0 1.25rem; }

/* ── News grid ── */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; padding-bottom: 3rem; }
.news-card { background: var(--surface); border: 1px solid var(--border); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: box-shadow 0.25s, transform 0.25s; }
.news-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.12); transform: translateY(-3px); }
.card-img-wrap { overflow: hidden; height: 200px; flex-shrink: 0; }
.card-img { width: 100%; height: 100%; background-size: cover; background-position: center; background-color: var(--border); transition: transform 0.55s ease; }
.news-card:hover .card-img { transform: scale(1.07); }
.card-body { padding: 1rem 1.2rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card-eyebrow { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.45rem; }
.card-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1rem; font-weight: 700; line-height: 1.35; margin-bottom: 0.55rem; }
.card-excerpt { font-size: 0.85rem; color: var(--muted); line-height: 1.55; flex: 1; margin-bottom: 0.75rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-date { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.grid-empty { grid-column: 1 / -1; text-align: center; padding: 3rem; color: var(--muted); }

/* ── Signup banner ── */
.signup-banner { background: var(--ink); padding: 3.5rem 0; text-align: center; }
.signup-banner h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 2rem; color: #fff; margin-bottom: 0.6rem; }
.signup-banner p { color: rgba(255,255,255,0.6); margin-bottom: 1.5rem; }
.signup-form { display: flex; gap: 0.5rem; max-width: 420px; margin: 0 auto; }
.signup-form input { flex: 1; padding: 0.75rem 1rem; border: none; border-radius: 2px; font-size: 1rem; font-family: inherit; }
.btn-accent { background: var(--accent); color: #fff; border: none; padding: 0.75rem 1.4rem; border-radius: 2px; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; font-family: inherit; }
.btn-accent:hover { background: #2563eb; }

/* ── Footer ── */
.site-footer { background: #070f1c; color: rgba(255,255,255,0.4); padding: 1.75rem 0; text-align: center; font-size: 0.8rem; letter-spacing: 0.04em; }

/* ── Article page ── */
.article-wrap { padding: 2.5rem 0 4rem; }
.article-inner { max-width: 760px; margin: 0 auto; }
.article-eyebrow { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); border-bottom: 2px solid var(--accent); padding-bottom: 0.15rem; display: inline-block; margin-bottom: 1.1rem; }
.article-h1 { font-family: 'Playfair Display', Georgia, serif; font-size: 2.6rem; font-weight: 700; line-height: 1.18; margin-bottom: 1.25rem; }
.article-meta { display: flex; align-items: center; gap: 1.5rem; font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; padding: 0.75rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 2rem; }
.article-hero { width: 100%; margin-bottom: 2rem; overflow: hidden; }
.article-hero img { width: 100%; height: auto; max-height: 480px; object-fit: cover; display: block; }
.article-body { font-size: 1.1rem; line-height: 1.85; color: #222; }
.article-body p { margin-bottom: 1.4rem; }
.article-body p:first-child::first-letter { font-family: 'Playfair Display', Georgia, serif; font-size: 4.2rem; font-weight: 900; float: left; line-height: 0.78; margin: 0.12rem 0.1rem 0 0; color: var(--accent); }
.article-source { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.article-source-link { font-size: 0.85rem; font-weight: 700; color: var(--accent); text-decoration: none; letter-spacing: 0.04em; }
.article-source-link:hover { text-decoration: underline; }
.article-cta { margin-top: 2.5rem; padding: 1.5rem 1.75rem; background: var(--bg); border-left: 4px solid var(--accent); }
.article-cta p { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.75rem; }

/* ── Related ── */
.related-wrap { background: var(--bg); border-top: 1px solid var(--border); padding: 2.5rem 0 3rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.25rem; }

/* ── Archive ── */
.archive-wrap { padding: 2.5rem 0 4rem; }
.archive-list { margin-top: 1.5rem; }
.archive-item { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: baseline; padding: 1.1rem 0; border-bottom: 1px solid var(--border); }
.archive-item:first-child { border-top: 1px solid var(--border); }
.archive-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1rem; font-weight: 600; }
.archive-title a { text-decoration: none; color: var(--ink); }
.archive-title a:hover { color: var(--accent); }
.archive-date { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-card { height: 420px; }
  .hero-title { font-size: 2.25rem; }
  .hero-content { padding: 2rem 1.5rem; }
  .spotlight { grid-template-columns: 1fr; }
  .spotlight-main { height: 280px; }
  .news-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .header-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ink); border-top: 1px solid rgba(255,255,255,0.1); padding: 1rem 1.5rem 1.5rem; box-shadow: 0 8px 24px rgba(0,0,0,0.3); z-index: 99; }
  .site-header { position: relative; }
  .header-nav.open { display: block; }
  .header-nav ul { flex-direction: column; gap: 0; align-items: stretch; }
  .header-nav ul li { border-bottom: 1px solid rgba(255,255,255,0.07); }
  .header-nav a { display: block; padding: 0.85rem 0; }
  .header-nav .nav-cta { border-bottom: none; margin-top: 0.75rem; }
  .header-nav .nav-cta a { display: block; text-align: center; border-radius: 20px; padding: 0.65rem 1.1rem; }
  .header-search.expanded .search-input { width: calc(100vw - 120px); }
}
@media (max-width: 600px) {
  .hero-card { height: 340px; }
  .hero-title { font-size: 1.7rem; }
  .hero-excerpt { display: none; }
  .spotlight-side { flex-direction: column; }
  .spotlight-side-img { width: 100%; height: 120px; }
  .news-grid, .related-grid { grid-template-columns: 1fr; }
  .logo-wordmark { font-size: 1.5rem; }
  .article-h1 { font-size: 1.85rem; }
  .archive-item { grid-template-columns: 1fr; gap: 0.25rem; }
}

/* ── Tag chips ── */
.tag-chip { display:inline-block; background:rgba(59,130,246,0.08); color:var(--accent); font-size:0.65rem; font-weight:600; padding:0.15rem 0.5rem; border-radius:9999px; text-decoration:none; letter-spacing:0.04em; }
.article-tags { display:flex; flex-wrap:wrap; gap:0.35rem; margin-top:0.6rem; }

/* ── Pagination ── */
.pagination { display:flex; justify-content:center; gap:0.5rem; padding:2rem 0; flex-wrap:wrap; }
.page-btn { display:inline-block; padding:0.4rem 0.75rem; border:1px solid var(--border); color:var(--ink); text-decoration:none; font-size:0.8rem; font-weight:600; border-radius:2px; }
.page-btn:hover { background:var(--bg); }
.page-btn.active { background:var(--accent); color:#fff; border-color:var(--accent); }
.page-btn.disabled { color:var(--muted); cursor:default; }

/* ── Search highlight ── */
.search-highlight mark, .news-grid mark { background:#fef08a; padding:0 2px; border-radius:2px; font-style:normal; }

/* ── New badge ── */
.badge-new { display:inline-flex; align-items:center; gap:0.25rem; background:#16a34a; color:#fff; font-size:0.55rem; font-weight:800; letter-spacing:0.12em; text-transform:uppercase; padding:0.1rem 0.4rem; border-radius:2px; vertical-align:middle; margin-left:0.3rem; }
.badge-new::before { content:""; width:5px; height:5px; border-radius:50%; background:#fff; box-shadow:0 0 0 0 rgba(255,255,255,0.7); animation:badgepulse 1.8s ease-out infinite; }
@keyframes badgepulse { 0%{box-shadow:0 0 0 0 rgba(255,255,255,0.7);} 70%{box-shadow:0 0 0 5px rgba(255,255,255,0);} 100%{box-shadow:0 0 0 0 rgba(255,255,255,0);} }

/* ── Reading progress bar ── */
.reading-progress { position:fixed; top:0; left:0; right:0; height:3px; background:transparent; z-index:9999; pointer-events:none; }
.reading-progress-fill { height:100%; width:0; background:var(--accent); opacity:0.55; transition:width 0.08s linear; }

/* ── Share buttons ── */
.article-share { display:flex; align-items:center; flex-wrap:wrap; gap:0.5rem; margin-top:1.5rem; padding-top:1.5rem; border-top:1px solid var(--border); }
.share-label { font-size:0.75rem; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:0.08em; margin-right:0.25rem; }
.share-btn { display:inline-flex; align-items:center; gap:0.4rem; padding:0.4rem 0.8rem; border-radius:2px; font-size:0.75rem; font-weight:600; text-decoration:none; border:1px solid var(--border); background:var(--surface); color:var(--ink); cursor:pointer; font-family:inherit; transition:transform 0.1s, box-shadow 0.15s; }
.share-btn:hover { transform:translateY(-1px); box-shadow:0 2px 8px rgba(0,0,0,0.08); }
.share-btn svg { flex-shrink:0; }
.share-twitter { background:#000; color:#fff; border-color:#000; }
.share-linkedin { background:#0a66c2; color:#fff; border-color:#0a66c2; }
.share-btn.copied { background:#16a34a; color:#fff; border-color:#16a34a; }

/* ── Latest today strip ── */
.latest-strip { background:var(--ink); border-bottom:1px solid rgba(255,255,255,0.08); }
.latest-inner { display:flex; align-items:stretch; gap:0; }
.latest-label { display:flex; align-items:center; gap:0.45rem; font-size:0.62rem; font-weight:800; letter-spacing:0.14em; text-transform:uppercase; color:var(--accent); white-space:nowrap; flex-shrink:0; padding:0.7rem 1rem 0.7rem 0; border-right:1px solid rgba(255,255,255,0.1); margin-right:1rem; }
.latest-label::before { content:""; width:7px; height:7px; border-radius:50%; background:#16a34a; box-shadow:0 0 0 0 rgba(22,163,74,0.7); animation:badgepulse 1.6s ease-out infinite; flex-shrink:0; }
.latest-scroll { display:flex; gap:1.1rem; overflow-x:auto; scrollbar-width:none; flex:1; min-width:0; padding:0.55rem 0; }
.latest-scroll::-webkit-scrollbar { display:none; }
.latest-item { display:flex; align-items:center; gap:0.55rem; text-decoration:none; color:rgba(255,255,255,0.7); flex-shrink:0; max-width:280px; transition:color 0.15s; }
.latest-item:hover { color:#fff; }
.latest-thumb { width:36px; height:36px; flex-shrink:0; background-size:cover; background-position:center; background-color:rgba(255,255,255,0.05); border-radius:2px; }
.latest-text { font-size:0.78rem; font-weight:600; line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
@media (max-width: 600px) {
  .latest-label { padding:0.55rem 0.7rem 0.55rem 0; margin-right:0.7rem; font-size:0.55rem; }
  .latest-item { max-width:220px; }
}

/* ── Trending section ── */
.trending-section { margin:2rem 0 0; }
.trending-head { display:flex; align-items:baseline; justify-content:space-between; border-top:3px solid var(--accent); padding-top:0.55rem; margin-bottom:1.25rem; }
.trending-title { font-family:'Playfair Display',Georgia,serif; font-size:1.25rem; font-weight:700; color:var(--ink); }
.trending-list { list-style:none; display:flex; flex-direction:column; gap:0; background:var(--surface); border:1px solid var(--border); }
.trending-item { display:flex; align-items:center; gap:1rem; padding:0.85rem 1.1rem; border-bottom:1px solid var(--border); }
.trending-item:last-child { border-bottom:none; }
.trending-rank { font-family:'Playfair Display',Georgia,serif; font-size:1.5rem; font-weight:900; color:var(--border); flex-shrink:0; width:1.8rem; text-align:center; line-height:1; }
.trending-item:first-child .trending-rank { color:var(--accent); }
.trending-link { text-decoration:none; flex:1; min-width:0; }
.trending-link:hover .trending-art-title { color:var(--accent); }
.trending-art-title { display:block; font-family:'Playfair Display',Georgia,serif; font-size:0.95rem; font-weight:700; color:var(--ink); line-height:1.35; margin-bottom:0.2rem; }
.trending-art-meta { font-size:0.68rem; color:var(--muted); text-transform:uppercase; letter-spacing:0.06em; }

/* ── Newsletter box (article page) ── */
.newsletter-box { background:var(--ink); border-radius:2px; padding:1.5rem 1.75rem; margin-top:2rem; }
.newsletter-box-title { font-family:'Playfair Display',Georgia,serif; font-size:1.15rem; font-weight:700; color:#fff; margin-bottom:0.4rem; }
.newsletter-box-desc { font-size:0.85rem; color:rgba(255,255,255,0.55); margin-bottom:1rem; }
.newsletter-box-form { display:flex; gap:0.5rem; }
.newsletter-box-form input[type="email"] { flex:1; padding:0.6rem 0.85rem; border:none; border-radius:2px; font-size:0.9rem; font-family:inherit; background:rgba(255,255,255,0.1); color:#fff; }
.newsletter-box-form input[type="email"]::placeholder { color:rgba(255,255,255,0.35); }
.newsletter-box-form button { background:var(--accent); color:#fff; border:none; padding:0.6rem 1.1rem; border-radius:2px; font-weight:700; font-size:0.8rem; text-transform:uppercase; letter-spacing:0.06em; cursor:pointer; font-family:inherit; white-space:nowrap; }
.newsletter-box-form button:hover { background:#2563eb; }
@media (max-width:600px) { .newsletter-box-form { flex-direction:column; } }

/* ── Signup section ── */
.signup-section { background:var(--ink); padding:3.5rem 0; text-align:center; }
.signup-inner { max-width:560px; margin:0 auto; }
.signup-title { font-family:'Playfair Display',Georgia,serif; font-size:2rem; color:#fff; margin-bottom:0.6rem; }
.signup-desc { color:rgba(255,255,255,0.6); margin-bottom:1.5rem; }
.signup-form { display:flex; gap:0.5rem; max-width:420px; margin:0 auto; }
.signup-input { flex:1; padding:0.75rem 1rem; border:none; border-radius:2px; font-size:1rem; font-family:inherit; }
.signup-btn { background:var(--accent); color:#fff; border:none; padding:0.75rem 1.4rem; border-radius:2px; font-weight:700; font-size:0.85rem; letter-spacing:0.06em; text-transform:uppercase; cursor:pointer; font-family:inherit; }
.signup-btn:hover { background:#2563eb; }
.signup-success { color:#86efac; font-size:1rem; font-weight:600; margin-top:1rem; display:none; }
