/*
Theme Name:        The Yellow Boom
Theme URI:         https://theyellowboom.com
Description:       Official WordPress theme for The Yellow Boom — Independent Indian News. Bold editorial design with opening animation, news-focused layouts, and full category support.
Author:            Kshitiz Kataria
Author URI:        https://theyellowboom.com
Version:           1.0.0
Requires at least: 6.0
Tested up to:      6.7
Requires PHP:      8.0
License:           GNU General Public License v2 or later
License URI:       http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       the-yellow-boom
Tags:              news, magazine, custom-colors, custom-header, featured-images, full-width-template, sticky-post, two-columns, three-columns, grid-layout, editor-style, block-styles
*/

/* ═══════════════════════════════════════════════════════════
   THE YELLOW BOOM — MASTER STYLESHEET
   ═══════════════════════════════════════════════════════════ */

:root {
  --y:       #F5C800;
  --yd:      #D4A900;
  --black:   #0A0A0A;
  --charcoal:#1C1C1C;
  --ink:     #2D2D2D;
  --grey:    #888888;
  --gl:      #E8E8E8;
  --bg:      #F7F5F0;
  --white:   #FEFEFE;
  --serif:   'Playfair Display', Georgia, serif;
  --body:    'Source Serif 4', Georgia, serif;
  --sans:    'DM Sans', sans-serif;
  --red:     #D32F2F;
}

/* ── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; font-family: var(--sans); }

/* ── OPENING ANIMATION ─────────────────────────────────── */
#tyb-intro {
  position: fixed; inset: 0; background: var(--black);
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  transition: opacity .65s ease, visibility .65s ease;
}
#tyb-intro.out { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-box { display: flex; flex-direction: column; align-items: center; }
.intro-name {
  font-family: var(--serif);
  font-size: clamp(36px, 8vw, 80px);
  font-weight: 900; letter-spacing: -.025em; line-height: 1;
  display: flex; align-items: center; gap: .25em; color: #fff;
}
.i-the  { opacity: 0; transform: translateX(-30px); animation: iSlL .55s .05s cubic-bezier(.16,1,.3,1) forwards; }
.i-yellow { position: relative; opacity: 0; transform: translateY(18px); animation: iSlU .55s .2s cubic-bezier(.16,1,.3,1) forwards; }
.i-ybg  { position: absolute; inset: 0 -6px; background: var(--y); border-radius: 3px; transform: scaleX(0); transform-origin: left center; z-index: 0; animation: iExp .42s .72s cubic-bezier(.16,1,.3,1) forwards; }
.i-ytx  { position: relative; z-index: 1; color: var(--black); }
.i-boom { opacity: 0; transform: translateX(30px); animation: iSlR .55s .2s cubic-bezier(.16,1,.3,1) forwards; }
.i-tag  { font-family: var(--sans); font-size: clamp(9px, 1.4vw, 11px); letter-spacing: .22em; text-transform: uppercase; color: #444; margin-top: 18px; text-align: center; opacity: 0; animation: iFd .5s 1.1s ease forwards; }
.i-line { height: 2px; background: var(--y); width: 0; margin: 13px auto 0; animation: iGw .85s 1.3s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes iSlL { to { opacity:1; transform:translateX(0); } }
@keyframes iSlR { to { opacity:1; transform:translateX(0); } }
@keyframes iSlU { to { opacity:1; transform:translateY(0); } }
@keyframes iExp { to { transform:scaleX(1); } }
@keyframes iFd  { to { opacity:1; } }
@keyframes iGw  { to { width:200px; } }

/* ── TOPBAR ────────────────────────────────────────────── */
.tyb-topbar {
  background: var(--black); color: #666;
  font-family: var(--sans); font-size: 11px; letter-spacing: .06em;
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 40px;
}
.tyb-topbar a { color: #666; transition: color .2s; }
.tyb-topbar a:hover { color: var(--y); }
.tyb-topbar-right { display: flex; gap: 20px; }

/* ── HEADER ────────────────────────────────────────────── */
.tyb-header {
  border-bottom: 3px solid var(--black); background: var(--white);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.tyb-header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; padding: 10px 40px; gap: 16px;
  max-width: 1400px; margin: 0 auto;
}
.tyb-header-left  { display: flex; align-items: center; gap: 12px; }
.tyb-header-right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.tyb-masthead { text-align: center; }
.tyb-site-title {
  font-family: var(--serif); font-size: 34px; font-weight: 900;
  letter-spacing: -.02em; color: var(--black); line-height: 1.2;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.tyb-site-title a { color: inherit; }
.tyb-site-title .yl { background: var(--y); padding: 0 9px; border-radius: 2px; }
.tyb-site-desc {
  font-family: var(--sans); font-size: 9px; letter-spacing: .18em;
  text-transform: uppercase; color: #aaa; margin-top: 2px;
}
.tyb-btn {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  padding: 8px 18px; border: none; transition: all .2s; cursor: pointer;
}
.tyb-btn-primary { background: var(--black); color: var(--y); }
.tyb-btn-primary:hover { background: var(--charcoal); }
.tyb-btn-outline { background: transparent; border: 1.5px solid var(--black); color: var(--black); }
.tyb-btn-outline:hover { background: var(--black); color: var(--white); }

/* ── NAVIGATION ────────────────────────────────────────── */
.tyb-nav { background: var(--black); }
.tyb-nav-inner {
  display: flex; align-items: center;
  padding: 0 40px; max-width: 1400px; margin: 0 auto;
  overflow-x: auto; scrollbar-width: none;
}
.tyb-nav-inner::-webkit-scrollbar { display: none; }
.tyb-nav-inner a,
.tyb-nav-inner .menu-item > a {
  font-family: var(--sans); font-size: 11.5px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: #aaa; padding: 11px 16px; white-space: nowrap;
  border-bottom: 2px solid transparent; transition: all .2s; display: block;
}
.tyb-nav-inner a:hover,
.tyb-nav-inner .current-menu-item > a,
.tyb-nav-inner .current-cat > a { color: var(--white); border-color: var(--y); }

/* ── BREAKING TICKER ───────────────────────────────────── */
.tyb-ticker {
  background: var(--y); overflow: hidden; padding: 7px 0;
  display: flex; align-items: center;
}
.tyb-ticker-label {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--black); color: var(--y); padding: 4px 14px;
  white-space: nowrap; flex-shrink: 0;
}
.tyb-ticker-scroll { overflow: hidden; flex: 1; }
.tyb-ticker-track {
  display: flex; gap: 60px;
  animation: tyb-ticker 35s linear infinite; padding-left: 40px;
}
.tyb-ticker-track span { font-family: var(--sans); font-size: 11.5px; font-weight: 500; color: var(--black); white-space: nowrap; }
.tyb-ticker-track span::before { content: "● "; font-size: 7px; }
@keyframes tyb-ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── LAYOUT ────────────────────────────────────────────── */
.tyb-container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ── SECTION HEADER ────────────────────────────────────── */
.tyb-section-header {
  display: flex; align-items: center; gap: 14px;
  padding: 28px 0 18px;
}
.tyb-section-header h2 {
  font-family: var(--serif); font-size: 22px; font-weight: 900;
  color: var(--black); white-space: nowrap;
}
.tyb-section-header::after { content: ''; flex: 1; height: 1px; background: var(--gl); }
.tyb-see-all {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: #888; white-space: nowrap;
}
.tyb-see-all:hover { color: var(--black); }

/* ── TAG ───────────────────────────────────────────────── */
.tyb-tag {
  font-family: var(--sans); font-size: 10px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--black); background: var(--y); padding: 3px 8px; display: inline-block;
}
.tyb-tag.outline { background: transparent; border: 1px solid var(--gl); color: #888; }

/* ── HERO ──────────────────────────────────────────────── */
.tyb-hero { padding: 36px 0 0; border-bottom: 2px solid var(--black); }
.tyb-hero-grid { display: grid; grid-template-columns: 1fr 320px; gap: 0; }
.tyb-hero-main { border-right: 1px solid var(--gl); padding-right: 32px; padding-bottom: 32px; }
.tyb-hero-main h1 {
  font-family: var(--serif); font-size: 46px; font-weight: 900;
  line-height: 1.08; letter-spacing: -.02em; color: var(--black); margin: 14px 0;
}
.tyb-hero-main h1 a { color: inherit; }
.tyb-hero-deck { font-size: 17px; color: #555; line-height: 1.6; font-weight: 300; margin-bottom: 16px; }
.tyb-hero-meta { font-family: var(--sans); font-size: 11.5px; color: #888; display: flex; gap: 16px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
.tyb-hero-meta strong { color: var(--ink); font-weight: 600; }
.tyb-hero-img { aspect-ratio: 16/9; overflow: hidden; }
.tyb-hero-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tyb-hero-img:hover img { transform: scale(1.02); }
.tyb-hero-caption { font-family: var(--sans); font-size: 10px; color: #aaa; margin-top: 6px; }

/* Sidebar */
.tyb-hero-sidebar { padding-left: 28px; padding-bottom: 32px; display: flex; flex-direction: column; }
.tyb-sidebar-art { padding: 14px 0; border-bottom: 1px solid var(--gl); }
.tyb-sidebar-art:last-child { border-bottom: none; }
.tyb-sidebar-art-inner { display: flex; gap: 10px; align-items: flex-start; }
.tyb-sidebar-thumb { width: 70px; height: 52px; flex-shrink: 0; overflow: hidden; background: var(--gl); }
.tyb-sidebar-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tyb-sidebar-art h3 { font-family: var(--serif); font-size: 16px; font-weight: 700; line-height: 1.25; margin: 5px 0 4px; }
.tyb-sidebar-art h3 a { color: var(--black); }
.tyb-sidebar-art h3 a:hover { color: #555; }
.tyb-sidebar-art .meta { font-family: var(--sans); font-size: 10.5px; color: #aaa; }

/* ── CARD GRIDS ────────────────────────────────────────── */
.tyb-card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-bottom: 32px; border-bottom: 1px solid var(--gl); }
.tyb-card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-bottom: 32px; border-bottom: 1px solid var(--gl); }
.tyb-card { display: flex; flex-direction: column; }
.tyb-card:hover .tyb-card-img img { transform: scale(1.04); }
.tyb-card:hover h3 a { color: #555; }
.tyb-card-img { aspect-ratio: 3/2; overflow: hidden; background: var(--gl); margin-bottom: 12px; }
.tyb-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tyb-card h3 { font-family: var(--serif); font-size: 18px; font-weight: 700; line-height: 1.25; margin: 8px 0; }
.tyb-card h3 a { color: var(--black); }
.tyb-card p { font-size: 13.5px; color: #555; line-height: 1.55; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tyb-card .tyb-meta { font-family: var(--sans); font-size: 10.5px; color: #aaa; margin-top: 10px; display: flex; gap: 12px; }

/* ── TWO COL ───────────────────────────────────────────── */
.tyb-two-col { display: grid; grid-template-columns: 1fr 340px; gap: 40px; padding: 28px 0 32px; border-bottom: 1px solid var(--gl); }
.tyb-most-read { border-left: 1px solid var(--gl); padding-left: 32px; }
.tyb-most-read-title { font-family: var(--serif); font-size: 18px; font-weight: 900; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--black); }
.tyb-most-read-item { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--gl); align-items: flex-start; }
.tyb-most-read-item:last-child { border-bottom: none; }
.tyb-most-read-num { font-family: var(--serif); font-size: 28px; font-weight: 900; color: var(--y); line-height: 1; flex-shrink: 0; width: 30px; }
.tyb-most-read-item h4 { font-family: var(--serif); font-size: 15px; font-weight: 700; line-height: 1.3; flex: 1; min-width: 0; }
.tyb-most-read-item h4 a { color: var(--black); }
.tyb-most-read-item h4 a:hover { color: #555; }
.tyb-most-read-thumb { width: 56px; height: 42px; flex-shrink: 0; overflow: hidden; }
.tyb-most-read-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ── OP-ED STRIP ───────────────────────────────────────── */
.tyb-opinion-strip { background: var(--black); padding: 32px 0; }
.tyb-opinion-header { display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.tyb-opinion-header h2 { font-family: var(--serif); font-size: 24px; font-weight: 900; color: var(--y); }
.tyb-opinion-header span { font-family: var(--sans); font-size: 11px; color: #444; letter-spacing: .08em; text-transform: uppercase; }
.tyb-opinion-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #333; }
.tyb-opinion-card { background: var(--charcoal); padding: 22px; cursor: pointer; transition: background .2s; }
.tyb-opinion-card:hover { background: #2a2a2a; }
.tyb-opinion-card a { color: inherit; }
.tyb-opinion-thumb { height: 110px; overflow: hidden; margin-bottom: 10px; }
.tyb-opinion-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.tyb-opinion-av { width: 44px; height: 44px; border-radius: 50%; background: var(--y); margin-bottom: 14px; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--black); }
.tyb-opinion-auth { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--y); margin-bottom: 8px; }
.tyb-opinion-card h3 { font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--white); line-height: 1.3; font-style: italic; }

/* ── FEATURE BANNER ────────────────────────────────────── */
.tyb-feature-banner { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-bottom: 2px solid var(--black); }
.tyb-feature-text { padding: 40px 40px 40px 0; display: flex; flex-direction: column; justify-content: center; }
.tyb-feature-text h2 { font-family: var(--serif); font-size: 36px; font-weight: 900; line-height: 1.1; letter-spacing: -.02em; margin: 14px 0; }
.tyb-feature-text h2 a { color: var(--black); }
.tyb-feature-text p { font-size: 15px; color: #555; line-height: 1.65; font-weight: 300; margin-bottom: 20px; }
.tyb-read-more { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--black); border-bottom: 2px solid var(--y); padding-bottom: 2px; display: inline-block; }
.tyb-feature-img { aspect-ratio: 1/1; overflow: hidden; }
.tyb-feature-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── SINGLE ARTICLE ────────────────────────────────────── */
.tyb-article-wrap { max-width: 780px; margin: 0 auto; }
.tyb-article-header { padding: 36px 0 28px; border-bottom: 1px solid var(--gl); }
.tyb-article-header h1 { font-family: var(--serif); font-size: 44px; font-weight: 900; line-height: 1.1; letter-spacing: -.02em; color: var(--black); margin: 16px 0; }
.tyb-article-deck { font-size: 20px; color: #555; line-height: 1.5; font-weight: 300; margin-bottom: 18px; }
.tyb-article-byline { font-family: var(--sans); font-size: 12px; color: #888; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.tyb-article-byline strong { color: var(--ink); font-weight: 600; }
.tyb-share-bar { display: flex; gap: 10px; margin: 20px 0; flex-wrap: wrap; }
.tyb-share-btn { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 8px 16px; border: 1.5px solid var(--gl); background: transparent; cursor: pointer; transition: all .2s; }
.tyb-share-btn:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.tyb-article-img { margin: 28px 0; overflow: hidden; }
.tyb-article-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.tyb-article-caption { font-family: var(--sans); font-size: 11px; color: #aaa; margin-top: 6px; }

/* Article body — spacing fix with !important */
.tyb-article-body { max-width: 700px; margin: 0 auto; padding-bottom: 48px; }
.tyb-article-body p { font-size: 18px !important; line-height: 1.85 !important; color: var(--ink) !important; margin-bottom: 28px !important; margin-top: 0 !important; }
.tyb-article-body h2 { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--black); margin: 40px 0 16px !important; }
.tyb-article-body h3 { font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--black); margin: 32px 0 12px !important; }
.tyb-article-body blockquote { border-left: 4px solid var(--y); padding: 14px 24px; margin: 32px 0 !important; font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--charcoal); line-height: 1.4; }
.tyb-article-body img { margin: 24px auto; border-radius: 2px; }
.tyb-article-body a { color: var(--black); border-bottom: 1px solid var(--y); }
.tyb-article-body ul, .tyb-article-body ol { margin: 0 0 28px 28px; }
.tyb-article-body li { font-size: 17px; line-height: 1.7; margin-bottom: 8px; }

/* Reading progress */
#tyb-rdp { position: fixed; top: 0; left: 0; width: 0; height: 3px; background: var(--y); z-index: 9998; }

/* ── ARCHIVE / CATEGORY PAGE ───────────────────────────── */
.tyb-archive-header { padding: 32px 0 20px; border-bottom: 2px solid var(--black); margin-bottom: 32px; }
.tyb-archive-header h1 { font-family: var(--serif); font-size: 40px; font-weight: 900; }
.tyb-archive-header p { font-family: var(--sans); font-size: 13px; color: #888; margin-top: 8px; }
.tyb-archive-hero { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-bottom: 40px; }
.tyb-archive-hero-main .tyb-card-img { aspect-ratio: 16/9; }
.tyb-archive-hero-main h2 { font-family: var(--serif); font-size: 32px; font-weight: 900; line-height: 1.1; margin: 12px 0 10px; }
.tyb-archive-hero-main h2 a { color: var(--black); }
.tyb-archive-sidebar-list { display: flex; flex-direction: column; gap: 18px; }
.tyb-archive-sidebar-item { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 18px; border-bottom: 1px solid var(--gl); }
.tyb-archive-sidebar-item:last-child { border-bottom: none; }
.tyb-archive-sidebar-item .thumb { width: 72px; height: 54px; flex-shrink: 0; overflow: hidden; background: var(--gl); }
.tyb-archive-sidebar-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.tyb-archive-sidebar-item h4 { font-family: var(--serif); font-size: 15px; font-weight: 700; line-height: 1.25; margin-bottom: 4px; }
.tyb-archive-sidebar-item h4 a { color: var(--black); }

/* ── NEWSLETTER ────────────────────────────────────────── */
.tyb-newsletter { background: var(--y); padding: 42px 0; }
.tyb-nl-inner { max-width: 560px; margin: 0 auto; text-align: center; padding: 0 24px; }
.tyb-nl-inner h2 { font-family: var(--serif); font-size: 30px; font-weight: 900; color: var(--black); margin-bottom: 8px; }
.tyb-nl-inner p { font-family: var(--sans); font-size: 13px; color: var(--charcoal); margin-bottom: 22px; }
.tyb-nl-form { display: flex; gap: 8px; max-width: 440px; margin: 0 auto; }
.tyb-nl-form input { flex: 1; font-family: var(--sans); font-size: 13px; padding: 12px 16px; border: 2px solid var(--black); background: var(--white); outline: none; min-width: 0; }
.tyb-nl-form button { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--black); color: var(--y); border: none; padding: 12px 22px; cursor: pointer; white-space: nowrap; }

/* ── FOOTER ────────────────────────────────────────────── */
.tyb-footer { background: var(--black); padding: 48px 0 24px; }
.tyb-footer-masthead { font-family: var(--serif); font-size: 28px; font-weight: 900; text-align: center; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid #222; }
.tyb-footer-masthead a { color: var(--white); }
.tyb-footer-masthead .yl { background: var(--y); padding: 2px 7px; color: var(--black); }
.tyb-footer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; padding-bottom: 32px; border-bottom: 1px solid #222; margin-bottom: 20px; }
.tyb-footer-col h4 { font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--y); margin-bottom: 12px; }
.tyb-footer-col a, .tyb-footer-col li a { display: block; font-family: var(--sans); font-size: 12px; color: #666; margin-bottom: 7px; transition: color .2s; list-style: none; }
.tyb-footer-col a:hover { color: var(--white); }
.tyb-footer-col ul { list-style: none; }
.tyb-footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.tyb-footer-bottom p { font-family: var(--sans); font-size: 11px; color: #444; }

/* ── PAGINATION ────────────────────────────────────────── */
.tyb-pagination { display: flex; gap: 8px; justify-content: center; padding: 40px 0; }
.tyb-pagination a, .tyb-pagination span { font-family: var(--sans); font-size: 13px; font-weight: 600; padding: 10px 18px; border: 1.5px solid var(--gl); color: var(--ink); transition: all .2s; }
.tyb-pagination a:hover, .tyb-pagination .current { background: var(--black); color: var(--white); border-color: var(--black); }

/* ── 404 ───────────────────────────────────────────────── */
.tyb-404 { text-align: center; padding: 100px 24px; }
.tyb-404 .num { font-family: var(--serif); font-size: 120px; font-weight: 900; color: var(--y); line-height: 1; }
.tyb-404 h1 { font-family: var(--serif); font-size: 32px; margin-bottom: 12px; }
.tyb-404 p { font-family: var(--sans); font-size: 15px; color: #888; margin-bottom: 24px; }

/* ── WIDGETS ───────────────────────────────────────────── */
.tyb-widget { margin-bottom: 32px; }
.tyb-widget-title { font-family: var(--serif); font-size: 18px; font-weight: 900; padding-bottom: 10px; border-bottom: 2px solid var(--black); margin-bottom: 16px; }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .tyb-card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .tyb-opinion-grid { grid-template-columns: repeat(2, 1fr); }
  .tyb-footer-grid { grid-template-columns: repeat(3, 1fr); }
  .tyb-two-col { grid-template-columns: 1fr; }
  .tyb-most-read { border-left: none; padding-left: 0; border-top: 1px solid var(--gl); padding-top: 20px; }
}
@media (max-width: 768px) {
  .tyb-topbar { display: none; }
  .tyb-header-inner { padding: 8px 16px; gap: 8px; }
  .tyb-site-title { font-size: 22px; gap: 5px; }
  .tyb-site-title .yl { padding: 0 6px; }
  .tyb-site-desc { display: none; }
  .tyb-nav-inner { padding: 0 10px; }
  .tyb-nav-inner a { padding: 10px 10px; font-size: 10px; }
  .tyb-container { padding: 0 16px; }
  .tyb-hero-grid { grid-template-columns: 1fr; }
  .tyb-hero-main { border-right: none; padding-right: 0; border-bottom: 1px solid var(--gl); padding-bottom: 24px; }
  .tyb-hero-main h1 { font-size: 28px; }
  .tyb-hero-sidebar { padding-left: 0; padding-top: 20px; }
  .tyb-card-grid-4, .tyb-card-grid-3 { grid-template-columns: 1fr; gap: 20px; }
  .tyb-opinion-grid { grid-template-columns: 1fr; }
  .tyb-feature-banner { grid-template-columns: 1fr; }
  .tyb-feature-text { padding: 24px 0; }
  .tyb-feature-text h2 { font-size: 26px; }
  .tyb-nl-form { flex-direction: column; }
  .tyb-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .tyb-footer-bottom { flex-direction: column; text-align: center; }
  .tyb-article-header h1 { font-size: 28px; }
  .tyb-article-deck { font-size: 16px; }
  .tyb-article-body p { font-size: 16px !important; }
  .tyb-archive-hero { grid-template-columns: 1fr; }
  .tyb-header-inner { grid-template-columns: auto 1fr auto; }
}
