/* BloomTech Daily — shared styles (light theme, dark ticker/header) */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green: #00C853;
  --green-bright: #00E676;
  --green-dark: #00A54F;
  --green-dim: rgba(0, 200, 83, 0.1);
  --green-glow: rgba(0, 230, 118, 0.22);
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F8F8;
  --bg-card: #FFFFFF;
  --bg-hover: #F0F0F0;
  --bg-dark: #111111;
  --bg-ticker: #0A0A0A;
  --border: #E5E5E5;
  --border-light: #EEEEEE;
  --border-strong: #1A1A1A;
  --text-primary: #1A1A1A;
  --text-secondary: #555555;
  --text-muted: #999999;
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: #B0B0B0;
  --red: #E53935;
  --amber: #C77700;
  --display: 'Clash Display', 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Roboto Mono', ui-monospace, monospace;
}

html { font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--sans); background: var(--bg-primary); color: var(--text-primary); line-height: 1.5; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font-family: var(--sans); border: none; outline: none; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
main { min-height: 60vh; }

/* ========== TICKER (dark) ========== */
.ticker-bar { background: var(--bg-ticker); border-bottom: 1px solid #1F1F1F; height: 32px; display: flex; align-items: center; font-size: 12px; overflow: hidden; position: relative; color: var(--text-on-dark); }
.ticker-meta { display: flex; align-items: center; gap: 10px; padding: 0 16px; white-space: nowrap; flex-shrink: 0; border-right: 1px solid #1F1F1F; height: 100%; z-index: 2; background: var(--bg-ticker); }
.ticker-live { display: flex; align-items: center; gap: 5px; color: #FF5252; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; font-size: 10px; }
.ticker-live::before { content: ''; width: 6px; height: 6px; background: #FF5252; border-radius: 50%; animation: pulse-dot 1.5s ease-in-out infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.ticker-label { color: var(--text-on-dark-muted); font-weight: 500; letter-spacing: 0.03em; }
.ticker-date { color: #777; font-size: 11px; }
.ticker-scroll-wrap { flex: 1; overflow: hidden; position: relative; }
.ticker-scroll-wrap::before, .ticker-scroll-wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 20px; z-index: 1; pointer-events: none; }
.ticker-scroll-wrap::before { left: 0; background: linear-gradient(to right, var(--bg-ticker) 0%, transparent 100%); }
.ticker-scroll-wrap::after { right: 0; background: linear-gradient(to left, var(--bg-ticker) 0%, transparent 100%); }
.ticker-track { display: flex; gap: 32px; animation: scroll-ticker 60s linear infinite; width: max-content; padding-left: 20px; }
.ticker-track:hover { animation-play-state: paused; }
@keyframes scroll-ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ticker-item { display: flex; align-items: center; gap: 6px; white-space: nowrap; font-family: var(--mono); font-size: 11.5px; font-weight: 500; }
.ticker-symbol { color: var(--text-on-dark-muted); font-weight: 600; }
.ticker-price { color: var(--text-on-dark); }
.ticker-change.up { color: #00E676; }
.ticker-change.down { color: #FF5252; }

/* ========== HEADER (dark) ========== */
.site-header { background: var(--bg-dark); border-bottom: 1px solid #000; position: sticky; top: 0; z-index: 100; color: var(--text-on-dark); }
.header-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 56px; display: flex; align-items: center; }
.header-left { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-right: 36px; }
.header-logo-link { display: flex; align-items: center; gap: 10px; }
.header-logo { width: 32px; height: 32px; background: #00C853; border-radius: 6px; padding: 2px; }
.header-brand { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: 0.015em; text-transform: uppercase; color: var(--text-on-dark); }
.header-nav { display: flex; align-items: center; gap: 0; flex-wrap: nowrap; }
.header-nav a { font-size: 15.5px; font-weight: 500; color: #D0D0D0; padding: 8px 14px; transition: color 0.15s; letter-spacing: 0; white-space: nowrap; }
.header-nav a:hover { color: #fff; }
.header-nav a.active { color: var(--green-bright); }
.subscribe-btn { background: var(--green-bright); color: #000; font-size: 11px; font-weight: 700; padding: 6px 14px; text-transform: uppercase; letter-spacing: 0.06em; cursor: pointer; transition: background 0.15s; border: none; margin-left: auto; white-space: nowrap; }

/* Intermediate breakpoint — switch to mobile drawer earlier so nav doesn't squish */
@media (max-width: 1024px) {
  .header-nav { display: none; }
  .mobile-menu-btn { display: flex !important; }
  .header-left { margin-right: 0; }
  .subscribe-btn { margin-left: auto; }
}
.subscribe-btn:hover { background: #00ff88; }

/* ========== HERO SECTION (homepage) ========== */
.hero-section { padding: 40px 0 32px; border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.hero-main { }
.hero-tag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--green-dark); background: var(--green-dim); padding: 4px 10px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.hero-image-wrap { width: 100%; aspect-ratio: 16/9; background: #EEE; overflow: hidden; margin-bottom: 20px; }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; transition: transform 0.4s ease; }
.hero-main:hover .hero-image-wrap img { transform: scale(1.02); }
.hero-title-link { display: block; }
.hero-headline { font-family: var(--display); font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.06; margin-bottom: 16px; color: var(--text-primary); transition: color 0.15s; }
.hero-title-link:hover .hero-headline { color: var(--green-dark); }
.hero-excerpt { font-size: 16.5px; color: var(--text-secondary); line-height: 1.55; margin-bottom: 16px; max-width: 760px; }
.hero-byline { font-family: var(--mono); font-size: 11.5px; color: var(--text-muted); letter-spacing: 0.03em; text-transform: uppercase; }
.hero-byline span { color: var(--text-primary); font-weight: 600; }

/* ========== SIDEBAR TOP STORIES ========== */
.sidebar-stories { border-left: 1px solid var(--border); padding-left: 32px; }
.sidebar-label { font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-primary); padding-bottom: 12px; border-bottom: 2px solid var(--border-strong); margin-bottom: 18px; position: relative; }
.sidebar-label::before { content: ''; position: absolute; left: -32px; top: 2px; bottom: 8px; width: 3px; background: var(--green); }
.sidebar-story-link { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); transition: background 0.15s; }
.sidebar-story-link:last-child { border-bottom: none; }
.sidebar-story-link:hover .sidebar-story-title { color: var(--green-dark); }
.sidebar-story { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.sidebar-num { font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--text-muted); line-height: 1; padding-top: 2px; }
.sidebar-story-tag { font-size: 10px; font-weight: 700; color: var(--green-dark); background: var(--green-dim); padding: 2px 6px; letter-spacing: 0.08em; text-transform: uppercase; display: inline-block; margin-bottom: 6px; }
.sidebar-story-title { font-family: var(--display); font-size: 15px; font-weight: 600; line-height: 1.25; color: var(--text-primary); letter-spacing: -0.005em; margin-bottom: 6px; transition: color 0.15s; }
.sidebar-story-meta { font-family: var(--mono); font-size: 10.5px; color: var(--text-muted); letter-spacing: 0.03em; }

/* ========== MODEL OF THE WEEK ========== */
.motw-section { padding: 32px 0; border-bottom: 1px solid var(--border); background: var(--bg-secondary); }
.motw-card { background: #0F0F0F; color: #fff; padding: 36px 40px; border-radius: 4px; display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; position: relative; border-top: 2px solid var(--green); }
.motw-badge { display: flex; flex-direction: column; gap: 6px; }
.motw-eyebrow { font-size: 11px; color: var(--green-bright); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--mono); }
.motw-week { font-size: 10px; color: var(--text-on-dark-muted); letter-spacing: 0.08em; font-family: var(--mono); }
.motw-content { }
.motw-name { font-family: var(--display); font-size: 32px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 4px; }
.motw-company { font-size: 13px; color: var(--text-on-dark-muted); margin-bottom: 12px; }
.motw-desc { font-size: 14.5px; color: #D0D0D0; line-height: 1.55; margin-bottom: 14px; max-width: 640px; }
/* Stat row — FT/Bloomberg tearsheet style. No chips, no green highlight. */
.motw-stats { display: flex; flex-wrap: wrap; gap: 28px; align-items: baseline; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 6px; }
.motw-stat { font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,0.55); letter-spacing: 0.06em; text-transform: uppercase; padding: 0; background: transparent; border: none; font-weight: 400; }
.motw-stat strong { color: #FFFFFF; font-weight: 700; font-size: 13.5px; letter-spacing: 0; text-transform: none; margin-right: 6px; }
.motw-stat.neutral { background: transparent; border: none; color: rgba(255,255,255,0.55); }
.motw-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; position: relative; z-index: 1; }
.motw-link { background: var(--green-bright); color: #000; font-size: 12px; font-weight: 700; padding: 10px 20px; letter-spacing: 0.05em; text-transform: uppercase; border-radius: 2px; transition: background 0.15s; }
.motw-link:hover { background: #fff; }
.motw-count { font-size: 11px; color: var(--text-on-dark-muted); font-family: var(--mono); }

/* ========== ARTICLES SECTION ========== */
.articles-section { padding: 40px 0; border-bottom: 1px solid var(--border); }
.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 2px solid var(--border-strong); }
.section-title { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; position: relative; padding-left: 14px; }
.section-title::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; background: var(--green); }
.section-link { font-family: var(--mono); font-size: 12px; color: var(--green-dark); letter-spacing: 0.02em; transition: color 0.15s; }
.section-link:hover { color: var(--text-primary); }

.grid-row-1 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.grid-row-2 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
.article-card { }
.article-card-link { display: block; }
.article-card-link:hover .article-title { color: var(--green-dark); }
.article-image-wrap { width: 100%; aspect-ratio: 16/9; background: #EEE; overflow: hidden; margin-bottom: 14px; }
.article-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; transition: transform 0.35s ease; }
.article-card-link:hover .article-image-wrap img { transform: scale(1.03); }
.article-tag { display: inline-block; font-size: 10px; font-weight: 700; color: var(--green-dark); background: var(--green-dim); padding: 3px 8px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.article-title { font-family: var(--display); font-size: 22px; line-height: 1.18; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; color: var(--text-primary); transition: color 0.15s; }
.article-title.small { font-size: 18px; }
.article-excerpt { font-size: 14px; color: var(--text-secondary); line-height: 1.55; margin-bottom: 10px; }
.article-meta { font-family: var(--mono); font-size: 11px; color: var(--text-muted); letter-spacing: 0.03em; text-transform: uppercase; }
.article-meta span { color: var(--text-primary); font-weight: 600; }

/* ========== MORE STORIES SECTION ========== */
.more-section { padding: 40px 0 56px; }
.more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; }
.more-article { border-bottom: 1px solid var(--border); padding-bottom: 20px; }
.more-article-link { display: block; }
.more-article-link:hover .more-article-title { color: var(--green-dark); }
.more-article-with-img { display: grid; grid-template-columns: 1fr 140px; gap: 20px; align-items: start; }
.more-article-tag { font-size: 10px; font-weight: 700; color: var(--green-dark); background: var(--green-dim); padding: 3px 8px; letter-spacing: 0.08em; text-transform: uppercase; display: inline-block; margin-bottom: 10px; }
.more-article-title { font-family: var(--display); font-size: 18px; line-height: 1.22; font-weight: 600; letter-spacing: -0.005em; margin-bottom: 8px; color: var(--text-primary); transition: color 0.15s; }
.more-article-excerpt { font-size: 13.5px; color: var(--text-secondary); line-height: 1.55; margin-bottom: 10px; }
.more-article-meta { font-family: var(--mono); font-size: 10.5px; color: var(--text-muted); letter-spacing: 0.03em; }
.more-article-thumb { width: 140px; height: 100px; object-fit: cover; object-position: center 28%; background: #EEE; }

/* ========== NEWSLETTER CTA (inline) ========== */
.newsletter-cta { background: var(--bg-secondary); border: 1px solid var(--border); border-left: 4px solid var(--green); padding: 32px 36px; margin: 40px 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
.newsletter-text h3 { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.newsletter-text p { font-size: 14px; color: var(--text-secondary); }
.newsletter-form { display: flex; gap: 0; }
.newsletter-form input { background: #FFF; border: 1px solid #CCC; color: var(--text-primary); padding: 11px 16px; font-size: 13px; width: 280px; }
.newsletter-form input:focus { border-color: var(--green-dark); outline: 2px solid rgba(0, 200, 83, 0.15); }
.newsletter-form button { background: #1A1A1A; color: #FFF; font-size: 12px; font-weight: 700; padding: 11px 20px; text-transform: uppercase; letter-spacing: 0.04em; cursor: pointer; transition: background 0.15s; white-space: nowrap; }
.newsletter-form button:hover { background: var(--green-dark); }
.newsletter-fine { font-size: 11px; color: var(--text-muted); text-align: right; margin-top: 6px; font-family: var(--mono); }

/* ========== CATEGORY PAGE ========== */
.category-header { padding: 48px 0 8px; }
.category-title { font-family: var(--display); font-size: clamp(40px, 5vw, 64px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-bottom: 14px; }
.category-desc { font-size: 17px; color: var(--text-secondary); max-width: 720px; line-height: 1.55; }

.category-featured { padding: 32px 0; border-bottom: 2px solid var(--border-strong); margin-bottom: 0; }
.category-featured-link { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.category-featured-link:hover .hero-headline { color: var(--green-dark); }
.category-featured-image { aspect-ratio: 16/10; background: #EEE; overflow: hidden; }
.category-featured-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; transition: transform 0.4s ease; }
.category-featured-link:hover .category-featured-image img { transform: scale(1.02); }
.category-featured-text .hero-headline { font-size: clamp(24px, 2.6vw, 36px); }
.category-featured-text .hero-excerpt { font-size: 15px; }

.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.category-card { border-bottom: 1px solid var(--border); padding-bottom: 20px; }
.category-card-link { display: block; }
.category-card-link:hover .category-card-title { color: var(--green-dark); }
.category-card-image { aspect-ratio: 16/10; background: #EEE; overflow: hidden; margin-bottom: 14px; }
.category-card-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; transition: transform 0.35s ease; }
.category-card-link:hover .category-card-image img { transform: scale(1.03); }
.category-card-text { }
.category-card-title { font-family: var(--display); font-size: 20px; line-height: 1.18; font-weight: 600; letter-spacing: -0.005em; margin: 8px 0; color: var(--text-primary); transition: color 0.15s; }
.category-card-excerpt { font-size: 13.5px; color: var(--text-secondary); line-height: 1.55; margin-bottom: 10px; }

/* ========== STORY PAGE ========== */
.story-page { padding: 40px 0 64px; }
.story-container { max-width: 820px; }
.story-breadcrumb { font-family: var(--mono); font-size: 11.5px; color: var(--text-muted); letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 24px; }
.story-breadcrumb a { color: var(--green-dark); }
.story-breadcrumb a:hover { color: var(--text-primary); }
.breadcrumb-sep { color: var(--border); margin: 0 8px; }

.story-header { margin-bottom: 32px; }
.story-tag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--green-dark); background: var(--green-dim); padding: 4px 10px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; }
.story-headline { font-family: var(--display); font-size: clamp(32px, 4vw, 52px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; margin-bottom: 20px; color: var(--text-primary); }
.story-deck { font-size: 19px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 24px; font-weight: 400; }
.story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--text-muted); letter-spacing: 0.03em; padding-top: 18px; border-top: 1px solid var(--border); }
.story-date { color: var(--text-primary); font-weight: 600; }
.story-sep { color: var(--border); }
.story-source a { color: var(--green-dark); font-weight: 500; transition: color 0.15s; }
.story-source a:hover { color: var(--text-primary); text-decoration: underline; }

.story-hero-image { margin: 32px 0; }
.story-hero-image img { width: 100%; max-height: 480px; aspect-ratio: 16/9; object-fit: cover; object-position: center 25%; background: #EEE; border-radius: 2px; }
.story-hero-image figcaption { font-family: var(--mono); font-size: 11px; color: var(--text-muted); letter-spacing: 0.03em; padding-top: 10px; }

.story-body { font-size: 18px; line-height: 1.65; color: var(--text-primary); }
.story-body p { margin-bottom: 24px; }
.story-body p:first-of-type { font-size: 19px; color: var(--text-primary); font-weight: 400; }
.story-body .story-original-link { font-size: 14.5px; color: var(--text-secondary); font-style: italic; padding-top: 24px; margin-top: 32px; border-top: 1px solid var(--border); }
.story-body .story-original-link a { color: var(--green-dark); font-weight: 500; font-style: normal; text-decoration: underline; }

/* ========== RELATED / MORE IN CATEGORY ========== */
.story-related { padding: 40px 0; border-top: 2px solid var(--border-strong); background: var(--bg-secondary); margin-top: 48px; }
.story-related .section-title { margin-bottom: 20px; font-size: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.related-card { }
.related-card-link { display: block; }
.related-card-link:hover .related-card-title { color: var(--green-dark); }
.related-card-image { aspect-ratio: 16/10; background: #EEE; overflow: hidden; margin-bottom: 10px; }
.related-card-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; transition: transform 0.3s ease; }
.related-card-link:hover .related-card-image img { transform: scale(1.03); }
.related-card-title { font-family: var(--display); font-size: 15px; line-height: 1.25; font-weight: 600; letter-spacing: -0.005em; margin: 6px 0; color: var(--text-primary); transition: color 0.15s; }

/* ========== FOOTER (dark) ========== */
.site-footer { background: var(--bg-dark); border-top: 1px solid #000; padding: 28px 0; color: var(--text-on-dark-muted); }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-left { display: flex; align-items: center; gap: 12px; }
.footer-logo { width: 24px; height: 24px; background: #0A0A0A; border-radius: 4px; padding: 2px; }
.footer-brand { font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--text-on-dark); }
.footer-tagline { font-size: 12px; color: #777; margin-left: 36px; margin-top: 4px; }
.footer-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: #B0B0B0; transition: color 0.15s; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 11px; color: #777; font-family: var(--mono); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 320px; gap: 32px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .sidebar-stories { border-left: none; padding-left: 0; border-top: 2px solid var(--border-strong); padding-top: 20px; }
  .sidebar-label::before { display: none; }
  .category-featured-link { grid-template-columns: 1fr; }
  .grid-row-1 { grid-template-columns: 1fr; }
  .grid-row-2 { grid-template-columns: 1fr 1fr; }
  .more-grid { grid-template-columns: 1fr; }
  .motw-card { grid-template-columns: 1fr; gap: 20px; padding: 24px 20px; }
  .motw-cta { align-items: flex-start; }
  .newsletter-cta { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .header-nav { display: none; }
  .ticker-meta { padding: 0 10px; gap: 8px; }
  .ticker-date { display: none; }
  .grid-row-2 { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .story-headline { font-size: 28px; }
  .story-body { font-size: 16px; }
  .newsletter-form { flex-direction: column; gap: 8px; }
  .newsletter-form input { width: 100%; }
  .more-article-with-img { grid-template-columns: 1fr; }
  .more-article-thumb { width: 100%; height: 180px; }
}

/* ========== LIVE BUZZ (HN + GitHub) ========== */
.buzz-section { padding: 48px 0 32px; background: var(--bg-secondary); }
.buzz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.buzz-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--border-strong); }
.buzz-title { font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; position: relative; padding-left: 14px; }
.buzz-title::before { content: ''; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; background: var(--green); }
.buzz-source { font-family: var(--mono); font-size: 12px; color: var(--green-dark); transition: color 0.15s; }
.buzz-source:hover { color: var(--text-primary); }
.buzz-list { display: flex; flex-direction: column; gap: 0; }
.buzz-item { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); transition: background 0.15s; align-items: start; }
.buzz-item:last-child { border-bottom: none; }
.buzz-item:hover { background: var(--bg-secondary); padding-left: 8px; padding-right: 8px; }
.buzz-item:hover .buzz-headline { color: var(--green-dark); }
.buzz-rank { font-family: var(--display); font-size: 16px; font-weight: 700; color: var(--text-muted); line-height: 1; padding-top: 2px; }
.buzz-content { min-width: 0; }
.buzz-headline { font-family: var(--display); font-size: 14.5px; font-weight: 600; line-height: 1.3; color: var(--text-primary); letter-spacing: -0.005em; margin-bottom: 4px; transition: color 0.15s; overflow-wrap: break-word; }
.buzz-meta { font-family: var(--mono); font-size: 10.5px; color: var(--text-muted); letter-spacing: 0.02em; line-height: 1.4; }
.buzz-points { color: var(--green-dark); font-weight: 600; }
.buzz-domain { color: var(--text-secondary); }
.buzz-loading { padding: 20px 0; color: var(--text-muted); font-size: 13px; font-family: var(--mono); }

@media (max-width: 860px) {
  .buzz-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Live Pulse section indicator */
.buzz-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #FF5252;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

/* ========== THIS WEEK — EDITOR'S PICKS ========== */
.thisweek-section { padding: 56px 0 48px; background: var(--bg-secondary); border-top: 1px solid var(--border); }
.thisweek-header { margin-bottom: 28px; align-items: end; }
.thisweek-eyebrow { display: block; font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--green-dark); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px; }
.thisweek-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.thisweek-card { background: var(--bg); border: 1px solid var(--border); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.thisweek-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.thisweek-card:hover .thisweek-title { color: var(--green-dark); }
.thisweek-link { display: block; padding: 0 0 20px; }
.thisweek-image { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--border); margin-bottom: 16px; }
.thisweek-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.thisweek-rank { position: absolute; top: 12px; left: 12px; background: var(--text-primary); color: var(--bg); font-family: var(--display); font-size: 13px; font-weight: 700; padding: 4px 10px; letter-spacing: 0.06em; }
.thisweek-tag { display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--green-dark); letter-spacing: 0.1em; text-transform: uppercase; margin: 0 20px 10px; }
.thisweek-title { font-family: var(--display); font-size: 18px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; color: var(--text-primary); margin: 0 20px 12px; transition: color 0.15s; }
.thisweek-meta { font-family: var(--mono); font-size: 11px; color: var(--text-muted); letter-spacing: 0.04em; margin: 0 20px; }

@media (max-width: 860px) {
  .thisweek-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ========== CATEGORY SECTIONS (homepage editorial buckets) ========== */
.cat-section { padding: 48px 0 16px; border-top: 1px solid var(--border); }
.cat-section:first-of-type { border-top: 2px solid var(--border-strong); }
.cat-section-header { margin-bottom: 24px; align-items: baseline; }
.cat-section-title { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; position: relative; padding-left: 14px; }
.cat-section-title::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; background: var(--green); }
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; }
.cat-article { padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.cat-article:hover .cat-article-title { color: var(--green-dark); }
.cat-article-link { display: block; }
.cat-article-with-img { display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: start; }
.cat-article-thumb { width: 140px; height: 95px; object-fit: cover; object-position: center 28%; background: var(--border); }
.cat-article-tag { display: inline-block; font-family: var(--mono); font-size: 10.5px; font-weight: 700; color: var(--green-dark); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.cat-article-title { font-family: var(--display); font-size: 16.5px; font-weight: 700; line-height: 1.3; letter-spacing: -0.005em; color: var(--text-primary); margin-bottom: 8px; transition: color 0.15s; }
.cat-article-excerpt { font-size: 14px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 8px; }
.cat-article-meta { font-family: var(--mono); font-size: 10.5px; color: var(--text-muted); letter-spacing: 0.04em; }

@media (max-width: 860px) {
  .cat-grid { grid-template-columns: 1fr; gap: 24px; }
  .cat-article-with-img { grid-template-columns: 110px 1fr; gap: 12px; }
  .cat-article-thumb { width: 110px; height: 75px; }
  .cat-article-title { font-size: 15px; }
}

/* Secondary newsletter CTA — truly flat, no tint/gradient (Bloomberg/FT) */
.newsletter-cta-secondary { background: #FFFFFF !important; border: 1px solid var(--border) !important; border-top: 2px solid var(--text-primary) !important; padding: 28px 32px !important; }
.newsletter-cta-secondary h3 { color: var(--text-primary); font-size: 20px; }
.newsletter-cta-secondary p { color: var(--text-secondary); }

/* ========== STORY BYLINE ========== */
.story-byline { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; padding-top: 6px; flex-wrap: wrap; }
.byline-name { font-size: 14.5px; color: var(--text-primary); }
.byline-name strong { font-weight: 700; color: var(--text-primary); }
.byline-title { font-family: var(--mono); font-size: 11.5px; color: var(--text-muted); letter-spacing: 0.04em; text-transform: uppercase; padding: 2px 8px; background: var(--green-dim); color: var(--green-dark); }
.story-readtime { color: var(--text-secondary); }

/* ========== SEARCH BAR (header) — icon-only, Bloomberg/TechCrunch style ========== */
.search-trigger { display: inline-flex; align-items: center; justify-content: center; background: transparent; border: none; padding: 6px; color: var(--text-on-dark, #fff); cursor: pointer; transition: opacity 0.15s; margin-left: 6px; margin-right: 0; width: 30px; height: 30px; }
.search-trigger:hover { opacity: 0.7; }
.search-trigger svg { width: 18px; height: 18px; }
.search-trigger-label, .search-shortcut { display: none; }  /* icon-only — hide label/chip on all sizes */
/* ========== INLINE DROP-DOWN SEARCH (Bloomberg/TechCrunch style) ========== */
.search-bar { display: none; background: #0A0A0A; border-bottom: 1px solid rgba(255,255,255,0.1); }
.search-bar.is-open { display: block; animation: searchBarSlide 0.18s ease-out; }
@keyframes searchBarSlide { from { transform: translateY(-8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.search-bar-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 14px; height: 64px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.search-bar-icon { width: 18px; height: 18px; color: rgba(255,255,255,0.55); flex-shrink: 0; }
.search-bar input { flex: 1; padding: 0; height: 64px; font-size: 18px; border: none; outline: none; background: transparent; color: #FFFFFF; font-family: var(--display); letter-spacing: -0.01em; }
.search-bar input::placeholder { color: rgba(255,255,255,0.4); font-weight: 400; }
.search-bar-close { background: transparent; border: 1px solid rgba(255,255,255,0.15); color: #FFFFFF; cursor: pointer; padding: 0; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; transition: all 0.15s; }
.search-bar-close:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.05); }
.search-bar-close svg { width: 14px; height: 14px; }
.search-bar-results { max-width: 1280px; margin: 0 auto; padding: 0 24px; max-height: 60vh; overflow-y: auto; }
.search-bar-results.has-results { padding: 14px 24px 22px; }
.search-bar-results .search-result { background: transparent; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 14px 6px; }
.search-bar-results .search-result:hover, .search-bar-results .search-result.is-active { background: rgba(255,255,255,0.04); padding-left: 12px; padding-right: 12px; }
.search-bar-results .search-result-tag { color: var(--green-bright); }
.search-bar-results .search-result-title { color: #FFFFFF; }
.search-bar-results .search-result-deck { color: rgba(255,255,255,0.5); }
.search-bar-results .search-empty { color: rgba(255,255,255,0.45); padding: 20px 6px; }
.search-result { display: block; padding: 14px 20px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background 0.1s; }
.search-result:hover, .search-result.is-active { background: var(--bg-secondary); }
.search-result-tag { display: inline-block; font-family: var(--mono); font-size: 10px; color: var(--green-dark); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.search-result-title { font-family: var(--display); font-size: 15.5px; font-weight: 700; line-height: 1.3; color: var(--text-primary); margin-bottom: 4px; }
.search-result-deck { font-size: 13px; color: var(--text-secondary); line-height: 1.4; }
.search-empty { padding: 32px 20px; text-align: center; color: var(--text-muted); font-size: 14px; }
.search-shortcut { font-family: var(--mono); font-size: 11px; padding: 2px 6px; border: 1px solid var(--border); border-radius: 3px; color: var(--text-muted); margin-left: 4px; }

/* ========== TOPIC PAGES ========== */
.topic-header { padding: 56px 0 24px; border-bottom: 2px solid var(--border-strong); }
.topic-eyebrow { display: block; font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--green-dark); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }
.topic-title { font-family: var(--display); font-size: clamp(36px, 5vw, 56px); font-weight: 700; letter-spacing: -0.025em; line-height: 1; margin-bottom: 12px; }
.topic-desc { font-size: 16px; color: var(--text-secondary); line-height: 1.5; max-width: 680px; }
.topic-count { font-family: var(--mono); font-size: 12.5px; color: var(--text-muted); margin-top: 16px; letter-spacing: 0.04em; }

/* Story page: topic tags row */
.story-tags-row { padding: 24px 0 0; margin-top: 8px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.story-tags-label { font-family: var(--mono); font-size: 11px; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; margin-right: 4px; }
.story-topic-tag { display: inline-block; font-family: var(--mono); font-size: 11.5px; color: var(--green-dark); padding: 4px 10px; border: 1px solid var(--border); transition: all 0.15s; text-decoration: none; }
.story-topic-tag:hover { background: var(--green-dim); border-color: var(--green); color: var(--green-dark); }

/* Story page: bottom byline / author bio */
.story-byline-bottom { padding: 28px 0 0; margin-top: 28px; border-top: 1px solid var(--border); }
.byline-bio { font-size: 14px; color: var(--text-secondary); line-height: 1.55; font-style: italic; }
.byline-bio strong { color: var(--text-primary); font-weight: 700; font-style: normal; }

/* ==================================================================
   MOBILE-FIRST RESPONSIVE OVERRIDES
   Tested at 320px (iPhone SE), 375px (iPhone X), 390px (iPhone 14), 430px (iPhone 14 Plus).
   Strategy: hide desktop nav <860px, show hamburger; tighten everything; cap image heights.
   ================================================================== */

/* Hamburger button: hidden by default (desktop), shown on mobile */
.mobile-menu-btn { display: none; align-items: center; justify-content: center; width: 32px; height: 32px; background: transparent; border: none; padding: 0; cursor: pointer; color: #FFFFFF; transition: opacity 0.15s; }
.mobile-menu-btn svg { width: 22px; height: 22px; stroke-width: 2; }
.mobile-menu-btn:hover { opacity: 0.7; }

/* Drawer (off-canvas on mobile) */
.mobile-drawer { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: none; z-index: 9998; }
.mobile-drawer.is-open { display: block; }
.mobile-drawer-inner { position: absolute; top: 0; right: 0; width: min(320px, 85vw); height: 100vh; background: #FFFFFF; padding: 24px 24px 32px; display: flex; flex-direction: column; box-shadow: -8px 0 24px rgba(0,0,0,0.15); overflow-y: auto; z-index: 1; }
.mobile-drawer-close { align-self: flex-end; width: 40px; height: 40px; background: transparent; border: none; padding: 0; cursor: pointer; color: var(--text-primary); }
.mobile-drawer-close svg { width: 24px; height: 24px; }
.mobile-drawer-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.mobile-drawer-nav a { font-family: var(--display); font-size: 22px; font-weight: 700; padding: 12px 0; color: var(--text-primary); border-bottom: 1px solid var(--border); text-decoration: none; transition: color 0.15s; }
.mobile-drawer-nav a:hover { color: var(--green-dark); }
.mobile-drawer-cta { margin-top: 32px; background: var(--green); color: var(--text-primary); padding: 14px 18px; text-align: center; font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-decoration: none; }
.mobile-drawer-cta:hover { background: var(--green-dark); color: var(--bg); }

/* Tablet & smaller: 860px and below */
@media (max-width: 860px) {
  /* This Week — single column on mobile */
  .thisweek-grid { grid-template-columns: 1fr !important; gap: 18px !important; }
  .thisweek-image { aspect-ratio: 16/9; }
  .thisweek-title { font-size: 17px; margin: 0 18px 10px; }

  /* Category sections — single column, compact thumbs */
  .cat-grid { grid-template-columns: 1fr !important; gap: 22px !important; }
  .cat-section { padding: 36px 0 8px; }
  .cat-section-title { font-size: 20px; }

  /* Tools page grid — 2-up max */
  .tools-grid { grid-template-columns: 1fr 1fr !important; gap: 14px !important; }
}

/* Phone: 640px and below — most aggressive */
@media (max-width: 640px) {
  /* HEADER: mobile-safe spacing. Icons pushed right via margin-left:auto on search. */
  .header-nav { display: none; }
  .header-inner { padding: 0 16px !important; height: 56px !important; }
  .header-left { margin-right: 0 !important; }
  .subscribe-btn { display: none; }  /* Hidden on phone, accessible via drawer */
  .search-trigger { padding: 5px; margin: 0 8px 0 auto !important; width: 32px; height: 32px; }
  .search-trigger svg { width: 22px; height: 22px; stroke-width: 2; }
  .search-trigger-label, .search-shortcut { display: none; }
  .mobile-menu-btn { display: inline-flex; margin: 0 !important; }

  /* Compact site brand */
  .site-brand, .brand-logo, .header-brand { font-size: 16px; letter-spacing: 0.04em; white-space: nowrap; }

  /* Container padding tighter */
  .container { padding-left: 16px; padding-right: 16px; }

  /* Hero / featured story */
  .hero-section { padding-top: 24px; padding-bottom: 24px; }
  .hero-title, .category-featured-title, .topic-title, .story-headline { font-size: clamp(26px, 7vw, 32px) !important; line-height: 1.1; }
  .hero-deck, .category-featured-deck { font-size: 16px; }
  .category-featured-image { aspect-ratio: 16/9; }
  .hero-image-wrap img, .category-featured-image img { max-height: 280px; object-fit: cover; }

  /* Top stories sidebar — compact */
  .sidebar-stories { padding-top: 16px; }
  .sidebar-story-rank { font-size: 16px; }
  .sidebar-story-title { font-size: 14px; }

  /* Latest section grids → 1 col */
  .grid-row-1 { grid-template-columns: 1fr !important; gap: 18px !important; }
  .grid-row-2 { grid-template-columns: 1fr !important; gap: 18px !important; }
  .article-image-wrap { aspect-ratio: 16/9; max-height: 220px; }

  /* Live Pulse → 1 col */
  .buzz-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .buzz-section { padding: 32px 0 16px; }
  .buzz-headline { font-size: 14px; }

  /* Newsletter form → stacked */
  .newsletter-cta { padding: 20px 18px !important; gap: 16px !important; }
  .newsletter-cta h3 { font-size: 18px; }
  .newsletter-form { flex-direction: column !important; gap: 8px !important; }
  .newsletter-form input { width: 100% !important; }
  .newsletter-form button { width: 100%; }
  .newsletter-cta-secondary h3 { font-size: 18px; }

  /* This Week / Cat / Topic sections — extra compact */
  .thisweek-section { padding: 36px 0 28px; }
  .thisweek-title { font-size: 16px; line-height: 1.25; }
  .cat-section { padding: 28px 0 4px; }
  .cat-section-title { font-size: 18px; }
  .cat-article-title { font-size: 15px; line-height: 1.3; }
  .cat-article-excerpt { font-size: 13.5px; }
  .cat-article-with-img { grid-template-columns: 100px 1fr !important; gap: 12px; align-items: start; }
  .cat-article-thumb { width: 100px !important; height: 70px !important; }

  /* Topic page */
  .topic-header { padding: 32px 0 16px; }
  .topic-desc { font-size: 14px; }
  .topic-count { font-size: 11px; }

  /* Story page */
  .story-header { padding-top: 16px; }
  .story-deck { font-size: 16px; }
  .story-byline { gap: 8px; flex-direction: row; flex-wrap: wrap; }
  .byline-name { font-size: 14px; }
  .byline-title { font-size: 10.5px; padding: 1px 6px; }
  .story-meta { font-size: 13px; flex-wrap: wrap; gap: 6px; }
  .story-hero-image img { max-height: 280px !important; }
  .story-body { font-size: 16.5px; line-height: 1.6; }
  .story-body p { margin-bottom: 18px; }

  /* Story tags / byline-bottom */
  .story-tags-row { padding: 18px 0 0; }
  .story-byline-bottom { padding: 20px 0 0; margin-top: 20px; }
  .byline-bio { font-size: 13.5px; }

  /* Footer */
  .site-footer { padding: 28px 0 28px; }
  .footer-inner, .footer-grid { gap: 16px; }
  .footer-links a { font-size: 13px; }

  /* Search bar — mobile tightening */
  .search-bar-inner { padding: 0 16px; height: 56px; }
  .search-bar input { font-size: 16px; height: 56px; }
  .search-bar-results { padding: 0 16px; max-height: calc(100vh - 130px); }
  .search-bar-results.has-results { padding: 12px 16px 16px; }

  /* Drawer nav text bigger for thumb-friendly tap */
  .mobile-drawer-inner { padding: 20px 20px 28px; }

  /* Ticker more compact on small phones */
  .ticker-meta { font-size: 11px; }
  .ticker-stock { font-size: 11.5px; }

  /* Ensure no horizontal overflow */
  body, html { overflow-x: hidden; max-width: 100vw; }
  img { max-width: 100%; height: auto; }
}

/* Very small phones (320px iPhone SE, old Android) */
@media (max-width: 380px) {
  .container { padding-left: 14px; padding-right: 14px; }
  .site-brand, .brand-logo, .header-brand { font-size: 14px; }
  /* Very small phones (320px iPhone SE) — 14px container, smaller icons */
  .header-inner { padding: 0 12px !important; }
  .search-trigger { width: 28px; height: 28px; padding: 4px; margin: 0 4px 0 auto !important; justify-content: center; }
  .search-trigger svg { width: 20px; height: 20px; }
  .mobile-menu-btn { width: 28px; height: 28px; margin: 0 !important; }
  .mobile-menu-btn svg { width: 20px; height: 20px; }
  .hero-title, .category-featured-title, .topic-title, .story-headline { font-size: clamp(22px, 7vw, 28px) !important; }
  .cat-article-with-img { grid-template-columns: 88px 1fr !important; gap: 10px; }
  .cat-article-thumb { width: 88px !important; height: 60px !important; }
}

/* ========================================================== */
/* SUBSCRIBE WIDGET — bt-subscribe                            */
/* Native form, calls /api/subscribe, no iframe. Uses brand   */
/* fonts (Inter + Clash Display).                              */
/* ========================================================== */
.bt-subscribe { width: 100%; max-width: 560px; margin-left: auto; margin-right: auto; }
.bt-sub-form {
  display: flex;
  gap: 0;
  width: 100%;
}
.bt-sub-input {
  flex: 1 1 auto;
  min-width: 0;
  background: #FFFFFF;
  border: 1px solid #1A1A1A;
  border-right: none;
  color: #1A1A1A;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 400;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.bt-sub-input::placeholder { color: #999; }
.bt-sub-input:focus {
  border-color: #00C853;
  box-shadow: 0 0 0 2px rgba(0, 200, 83, 0.15);
  z-index: 1;
}
.bt-sub-input:disabled { background: #F5F5F5; cursor: wait; }

.bt-sub-btn {
  flex: 0 0 auto;
  background: #0A0A0A;
  color: #FFFFFF;
  border: 1px solid #0A0A0A;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 13px 22px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  border-radius: 0;
}
.bt-sub-btn:hover:not(:disabled) {
  background: #00C853;
  color: #0A0A0A;
  border-color: #00C853;
}
.bt-sub-btn:disabled { opacity: 0.7; cursor: wait; }

.bt-sub-status {
  margin-top: 10px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  min-height: 0;
}
.bt-sub-status.bt-sub-success {
  color: #007A3E;
  background: rgba(0, 200, 83, 0.08);
  border-left: 3px solid #00C853;
  padding: 12px 14px;
  margin-top: 0;
}
.bt-sub-status.bt-sub-error { color: #C62828; }

/* Mobile — stack input above button for thumb-friendly tap */
@media (max-width: 640px) {
  .bt-sub-form { flex-direction: column; gap: 8px; }
  .bt-sub-input {
    border: 1px solid #1A1A1A;
    width: 100%;
  }
  .bt-sub-btn { width: 100%; }
}
