/* ═══════════════════════════════════════
   GOSSHIPS GHOST THEME — COMPLETE STYLES
   ═══════════════════════════════════════ */

:root {
  --black: #0A0A0A;
  --near-black: #111111;
  --dark: #1A1A1A;
  --charcoal: #2A2A2A;
  --mid: #666666;
  --light: #999999;
  --pale: #D4D4D4;
  --bone: #E8E4DF;
  --warm: #F5F3F0;
  --white: #FFFFFF;
  --accent: #D4380D;
  --accent-hover: #B82D0A;
  --gold: #8B6914;
  --green: #1a6b3c;
  --serif: 'EB Garamond', Georgia, serif;
  --sans: 'IBM Plex Sans', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;
  --max-w: 1240px;
  --gap: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--sans); background: var(--warm); color: var(--black); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; transition: opacity 0.15s; }
img { display: block; max-width: 100%; }
.w { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gap); }

/* ─── TOPBAR ─── */
.topbar { background: var(--black); font-family: var(--mono); font-size: 11px; color: var(--light); padding: 7px 0; letter-spacing: 0.3px; }
.topbar .w { display: flex; justify-content: space-between; align-items: center; }
.topbar-links a { color: var(--pale); margin-left: 24px; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; }
.topbar-links a:hover { color: var(--white); opacity: 1; }

/* ─── MASTHEAD ─── */
.masthead { background: var(--white); padding: 24px 0 18px; text-align: center; border-bottom: 1px solid var(--bone); }
.masthead-logo { font-family: var(--serif); font-size: 56px; font-weight: 800; letter-spacing: 8px; text-transform: uppercase; color: var(--black); line-height: 1; }
.masthead-logo a { color: inherit; }
.masthead-sub { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 4px; color: var(--light); margin-top: 8px; }
.masthead-rule { width: 48px; height: 3px; background: var(--accent); margin: 12px auto 0; }

/* ─── MAIN NAV ─── */
.nav { background: var(--black); position: sticky; top: 0; z-index: 900; border-bottom: 2px solid var(--accent); }
.nav .w { display: flex; justify-content: center; }
.nav a { color: var(--pale); font-family: var(--mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 1.8px; padding: 14px 28px; position: relative; opacity: 1; }
.nav a::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform 0.25s; }
.nav a:hover { color: var(--white); opacity: 1; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--white); }

/* ─── BREAKING TICKER ─── */
.ticker { background: var(--near-black); overflow: hidden; padding: 9px 0; border-bottom: 1px solid var(--charcoal); }
.ticker-inner { display: flex; align-items: center; }
.ticker-badge { background: var(--accent); color: var(--white); font-family: var(--mono); font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; padding: 4px 16px; flex-shrink: 0; animation: pulse 2.5s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.65} }
.ticker-scroll { color: var(--pale); font-size: 12px; font-weight: 400; white-space: nowrap; animation: marquee 55s linear infinite; margin-left: 20px; }
.ticker-scroll b { color: var(--white); font-weight: 600; }
.ticker-scroll .dot { color: var(--accent); margin: 0 16px; }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ─── SECTION SYSTEM ─── */
.section { padding: 40px 0; }
.section-alt { background: var(--white); }
.section-header { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 2px solid var(--black); margin-bottom: 28px; }
.section-title { font-family: var(--serif); font-size: 30px; font-weight: 700; }
.section-link { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--mid); }
.section-link:hover { color: var(--accent); opacity: 1; }

/* ─── TAGS / META ─── */
.tag { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; display: inline-block; margin-bottom: 4px; }
.tag-news, .tag-maritime-news { color: var(--accent); }
.tag-gosship, .tag-maritime-gosship { color: var(--mid); border-bottom: 1px solid var(--mid); padding-bottom: 1px; }
.tag-analysis, .tag-industry-analysis { color: var(--green); }
.meta { font-family: var(--mono); font-size: 11px; color: var(--light); letter-spacing: 0.3px; }
.meta .dot { margin: 0 6px; color: var(--pale); }

/* ─── HERO (HOMEPAGE) ─── */
.hero { padding: 36px 0; background: var(--white); }
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0; }
.hero-main { padding-right: 36px; border-right: 1px solid var(--bone); }
.hero-img { width: 100%; height: 360px; overflow: hidden; margin-bottom: 16px; background: var(--bone); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-main h2 { font-family: var(--serif); font-size: 36px; font-weight: 700; line-height: 1.18; margin-bottom: 12px; }
.hero-main h2 a:hover { color: var(--charcoal); opacity: 1; }
.hero-main .excerpt { font-size: 15px; color: var(--mid); line-height: 1.65; margin-bottom: 12px; }
.hero-sidebar { padding-left: 36px; }
.hero-side-item { padding: 18px 0; border-bottom: 1px solid var(--bone); }
.hero-side-item:first-child { padding-top: 0; }
.hero-side-item:last-child { border-bottom: none; }
.hero-side-item h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.3; margin-bottom: 6px; }
.hero-side-item h3 a:hover { color: var(--charcoal); opacity: 1; }
.hero-side-item .excerpt { font-size: 13px; color: var(--mid); line-height: 1.5; }

/* ─── CARD GRIDS ─── */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.card {}
.card-img { width: 100%; height: 170px; overflow: hidden; margin-bottom: 12px; background: var(--bone); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.25,0.1,0.25,1); }
.card:hover .card-img img { transform: scale(1.04); }
.card h3 { font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.3; margin-bottom: 6px; }
.card h3 a:hover { opacity: 0.7; }
.card .excerpt { font-size: 13px; color: var(--mid); line-height: 1.5; margin-bottom: 8px; }

/* ─── NEWSLETTER ─── */
.newsletter { background: var(--black); padding: 48px 0; text-align: center; }
.newsletter h3 { font-family: var(--serif); font-size: 32px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.newsletter p { color: var(--light); font-size: 14px; margin-bottom: 24px; }
.newsletter-form { display: inline-flex; max-width: 480px; width: 100%; }
.newsletter-form input { flex: 1; padding: 13px 16px; font-family: var(--sans); font-size: 14px; border: 1px solid var(--charcoal); background: var(--near-black); color: var(--white); outline: none; }
.newsletter-form input::placeholder { color: var(--mid); }
.newsletter-form button { background: var(--accent); color: var(--white); border: none; padding: 13px 32px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.newsletter-form button:hover { background: var(--accent-hover); }

/* ─── LATEST TWO-COL ─── */
.latest-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; }
.list-item { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--bone); }
.list-item-img { height: 85px; overflow: hidden; background: var(--bone); }
.list-item-img img { width: 100%; height: 100%; object-fit: cover; }
.list-item h3 { font-family: var(--serif); font-size: 16px; font-weight: 600; line-height: 1.3; margin-bottom: 4px; }
.list-item .excerpt { font-size: 12px; color: var(--mid); line-height: 1.4; margin-bottom: 4px; }

/* ─── SIDEBAR ─── */
.sidebar-box { margin-bottom: 36px; }
.sidebar-head { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; padding-bottom: 10px; border-bottom: 2px solid var(--black); margin-bottom: 16px; }
.rank-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--bone); align-items: flex-start; }
.rank-num { font-family: var(--serif); font-size: 32px; font-weight: 800; color: var(--bone); line-height: 1; min-width: 32px; }
.rank-item h5 { font-family: var(--serif); font-size: 15px; font-weight: 600; line-height: 1.3; margin-bottom: 2px; }
.rank-item span.rank-cat { font-family: var(--mono); font-size: 10px; color: var(--light); text-transform: uppercase; letter-spacing: 0.5px; }

/* ─── ANALYSIS CARD ─── */
.analysis-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--white); border: 1px solid var(--bone); overflow: hidden; transition: box-shadow 0.3s; }
.analysis-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.06); }
.analysis-card-img { height: 280px; overflow: hidden; background: var(--bone); }
.analysis-card-img img { width: 100%; height: 100%; object-fit: cover; }
.analysis-card-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.analysis-card-body h3 { font-family: var(--serif); font-size: 26px; font-weight: 700; line-height: 1.25; margin-bottom: 12px; }
.analysis-card-body .excerpt { font-size: 14px; color: var(--mid); line-height: 1.65; margin-bottom: 14px; }
.read-time { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--light); }
.read-time b { color: var(--green); }

/* ─── CATEGORY HERO (TAG PAGES) ─── */
.cat-hero { background: var(--black); padding: 48px 0 44px; text-align: center; position: relative; overflow: hidden; }
.cat-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: repeating-linear-gradient(90deg, transparent 0, transparent 60px, rgba(255,255,255,0.015) 60px, rgba(255,255,255,0.015) 61px); }
.cat-hero h1 { font-family: var(--serif); font-size: 48px; font-weight: 800; color: var(--white); letter-spacing: 2px; position: relative; }
.cat-hero p { font-family: var(--sans); color: var(--light); font-size: 15px; margin-top: 10px; position: relative; }
.cat-hero-rule { width: 40px; height: 3px; background: var(--accent); margin: 16px auto 0; position: relative; }
.cat-hero.gosship-hero .cat-hero-rule { background: var(--gold); }
.cat-hero.analysis-hero .cat-hero-rule { background: var(--green); }

/* ─── NEWS FEED (TAG PAGE) ─── */
.news-feed { padding: 32px 0 48px; }
.news-feed-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; }
.news-item { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--bone); }
.news-item:last-child { border-bottom: none; }
.news-item-img { height: 130px; overflow: hidden; background: var(--bone); }
.news-item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.news-item:hover .news-item-img img { transform: scale(1.03); }
.news-item h3 { font-family: var(--serif); font-size: 20px; font-weight: 700; line-height: 1.25; margin-bottom: 6px; }
.news-item h3 a:hover { color: var(--charcoal); opacity: 1; }
.news-item .excerpt { font-size: 13px; color: var(--mid); line-height: 1.55; margin-bottom: 8px; }

/* ─── NEWSLETTER SIDEBAR ─── */
.newsletter-side { background: var(--black); padding: 28px 24px; margin-bottom: 36px; }
.newsletter-side h4 { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.newsletter-side p { color: var(--light); font-size: 12px; margin-bottom: 14px; }
.newsletter-side input { width: 100%; padding: 10px 12px; background: var(--near-black); border: 1px solid var(--charcoal); color: var(--white); font-family: var(--sans); font-size: 13px; margin-bottom: 8px; }
.newsletter-side input::placeholder { color: var(--mid); }
.newsletter-side button { width: 100%; background: var(--accent); color: var(--white); border: none; padding: 10px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; cursor: pointer; }
.newsletter-side button:hover { background: var(--accent-hover); }

/* ─── SINGLE POST ─── */
.post-header { background: var(--white); padding: 48px 0 36px; border-bottom: 1px solid var(--bone); }
.post-header .w { max-width: 780px; }
.post-header .tag { margin-bottom: 12px; }
.post-header h1 { font-family: var(--serif); font-size: 42px; font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.post-header .post-excerpt { font-size: 18px; color: var(--mid); line-height: 1.6; margin-bottom: 16px; }
.post-header .meta { margin-bottom: 0; }
.post-feature { max-width: 960px; margin: 0 auto; padding: 32px var(--gap) 0; }
.post-feature img { width: 100%; height: auto; }
.post-body { max-width: 780px; margin: 0 auto; padding: 36px var(--gap) 60px; }
.post-body h2 { font-family: var(--serif); font-size: 28px; font-weight: 700; margin: 32px 0 16px; }
.post-body h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin: 24px 0 12px; }
.post-body p { font-family: var(--serif); font-size: 18px; line-height: 1.75; margin-bottom: 20px; color: var(--charcoal); }
.post-body blockquote { border-left: 3px solid var(--accent); padding-left: 20px; margin: 24px 0; font-style: italic; color: var(--mid); }
.post-body ul, .post-body ol { font-family: var(--serif); font-size: 18px; line-height: 1.75; margin: 0 0 20px 24px; color: var(--charcoal); }
.post-body img { margin: 24px 0; }
.post-body a { color: var(--accent); text-decoration: underline; }
.post-body a:hover { color: var(--accent-hover); }

/* ─── STORE ─── */
.store-hero { background: var(--black); padding: 64px 0; text-align: center; }
.store-hero h1 { font-family: var(--serif); font-size: 48px; font-weight: 800; color: var(--white); letter-spacing: 2px; }
.store-hero p { color: var(--light); font-size: 15px; margin-top: 10px; }
.store-hero-rule { width: 40px; height: 3px; background: var(--accent); margin: 16px auto 0; }
.store-empty { padding: 80px 0; text-align: center; }
.store-empty-icon { font-size: 64px; margin-bottom: 20px; color: var(--pale); }
.store-empty h2 { font-family: var(--serif); font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.store-empty p { color: var(--mid); font-size: 15px; margin-bottom: 28px; max-width: 440px; margin-left: auto; margin-right: auto; }
.store-categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); padding: 48px 0; }
.store-cat-card { background: var(--white); border: 1px solid var(--bone); padding: 36px 24px; text-align: center; transition: box-shadow 0.3s; }
.store-cat-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.store-cat-card h3 { font-family: var(--serif); font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.store-cat-card p { font-size: 13px; color: var(--mid); margin-bottom: 14px; }
.store-cat-badge { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--light); font-weight: 600; }

/* ─── STORE PROMO (HOMEPAGE) ─── */
.store-promo { background: var(--warm); padding: 48px 0; text-align: center; }
.store-promo h2 { font-family: var(--serif); font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.store-promo p { color: var(--mid); font-size: 14px; margin-bottom: 28px; }

/* ─── BUTTONS ─── */
.btn { display: inline-block; background: var(--black); color: var(--white); padding: 13px 40px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; border: none; cursor: pointer; transition: background 0.2s; }
.btn:hover { background: var(--charcoal); opacity: 1; }
.btn-accent { background: var(--accent); }
.btn-accent:hover { background: var(--accent-hover); }

/* ─── SHARE ─── */
.share { display: flex; gap: 6px; margin-top: 10px; }
.share a { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; padding: 3px 10px; border: 1px solid var(--pale); color: var(--mid); }
.share a:hover { border-color: var(--black); color: var(--black); opacity: 1; }

/* ─── PAGINATION ─── */
.pagination { display: flex; gap: 6px; padding: 36px 0 0; font-family: var(--mono); font-size: 13px; }
.pagination a, .pagination span { padding: 8px 14px; border: 1px solid var(--pale); color: var(--mid); }
.pagination a:hover { background: var(--black); color: var(--white); border-color: var(--black); opacity: 1; }
.pagination span.active, .pagination a.active { background: var(--black); color: var(--white); border-color: var(--black); }

/* ─── FOOTER ─── */
.footer { background: var(--near-black); padding: 52px 0 0; color: var(--pale); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--charcoal); }
.footer h4 { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; color: var(--white); margin-bottom: 18px; }
.footer-about p { font-size: 13px; color: var(--light); line-height: 1.7; }
.footer-col a { display: block; font-size: 13px; color: var(--light); margin-bottom: 10px; }
.footer-col a:hover { color: var(--white); opacity: 1; }
.footer-sub input { width: 100%; padding: 10px 12px; background: var(--dark); border: 1px solid var(--charcoal); color: var(--white); font-family: var(--sans); font-size: 13px; margin-bottom: 8px; }
.footer-sub input::placeholder { color: var(--mid); }
.footer-sub button { width: 100%; background: var(--accent); color: var(--white); border: none; padding: 10px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; cursor: pointer; }
.footer-sub button:hover { background: var(--accent-hover); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-size: 11px; color: var(--mid); font-family: var(--mono); }
.footer-social a { color: var(--light); margin-left: 20px; font-size: 11px; }
.footer-social a:hover { color: var(--white); opacity: 1; }

/* ─── FADE IN ─── */
.fade-in { opacity: 0; transform: translateY(12px); animation: fadeUp 0.5s ease forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.fade-in:nth-child(1) { animation-delay: 0s; }
.fade-in:nth-child(2) { animation-delay: 0.08s; }
.fade-in:nth-child(3) { animation-delay: 0.16s; }
.fade-in:nth-child(4) { animation-delay: 0.24s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-main { border-right: none; padding-right: 0; padding-bottom: 24px; border-bottom: 1px solid var(--bone); }
  .hero-sidebar { padding-left: 0; padding-top: 16px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .latest-grid, .news-feed-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .analysis-card { grid-template-columns: 1fr; }
  .analysis-card-img { height: 200px; }
  .masthead-logo { font-size: 38px; letter-spacing: 4px; }
  .nav a { padding: 12px 14px; font-size: 10px; letter-spacing: 1px; }
  .store-categories { grid-template-columns: repeat(2, 1fr); }
  .news-item { grid-template-columns: 1fr; }
  .news-item-img { height: 200px; }
  .post-header h1 { font-size: 32px; }
}
@media (max-width: 600px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .list-item { grid-template-columns: 1fr; }
  .list-item-img { height: 160px; }
  .store-categories { grid-template-columns: 1fr; }
  .cat-hero h1 { font-size: 32px; }
}

/* ============================================
   CONFLICT MONITOR
   ============================================ */
.conflict-monitor-page {
  background: #0a0a0a;
  min-height: 100vh;
  padding: 40px 0 80px;
}
.conflict-header {
  text-align: center;
  padding: 60px 0 40px;
  border-bottom: 2px solid var(--accent);
  margin-bottom: 40px;
}
.conflict-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 6px 16px;
  margin-bottom: 20px;
  animation: pulse-badge 2s ease-in-out infinite;
}
@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.conflict-header h1 {
  font-family: var(--sans);
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 4px;
  margin: 0 0 16px;
}
.conflict-subtitle {
  font-family: var(--sans);
  font-size: 16px;
  color: #999;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}
.conflict-grid {
  display: grid;
  gap: 32px;
}
.conflict-card {
  background: #111;
  border-left: 4px solid var(--accent);
  transition: border-color 0.2s;
}
.conflict-card:hover {
  border-left-color: #ff4d1a;
}
.conflict-card-inner {
  padding: 32px;
}
.conflict-meta {
  margin-bottom: 16px;
}
.conflict-time {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 1px;
}
.conflict-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  margin-bottom: 20px;
}
.conflict-card h2 {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.3;
}
.conflict-card h2 a {
  color: #fff;
  text-decoration: none;
}
.conflict-card h2 a:hover {
  color: var(--accent);
}
.conflict-excerpt {
  font-family: var(--serif);
  font-size: 18px;
  color: #bbb;
  line-height: 1.6;
  margin-bottom: 20px;
}
.conflict-read {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 1px;
}
.conflict-read:hover {
  color: #ff4d1a;
}
.conflict-pagination {
  margin-top: 60px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}
.conflict-pagination a {
  color: var(--accent);
  font-family: var(--sans);
  font-weight: 600;
  text-decoration: none;
  padding: 12px 24px;
  border: 1px solid var(--accent);
  transition: background 0.2s, color 0.2s;
}
.conflict-pagination a:hover {
  background: var(--accent);
  color: #fff;
}
.conflict-pagination span {
  color: #666;
  font-family: var(--mono);
  font-size: 13px;
}

@media (max-width: 900px) {
  .conflict-header h1 { font-size: 32px; letter-spacing: 2px; }
  .conflict-card h2 { font-size: 22px; }
  .conflict-card-inner { padding: 24px; }
  .conflict-img { height: 200px; }
}

/* ——— NEWSLETTER BUTTON ——— */
.newsletter-btn { display: inline-block; background: var(--accent); color: var(--white); font-family: var(--sans); font-size: 14px; font-weight: 600; padding: 14px 32px; text-decoration: none; letter-spacing: 0.5px; transition: background 0.2s; }
.newsletter-btn:hover { background: #b52f0a; color: var(--white); }

/* ——— FLOATING SUBSCRIBE BUTTON ——— */
.gs-portal-btn { position: fixed; bottom: 24px; right: 24px; background: var(--accent); color: var(--white); font-family: var(--sans); font-size: 14px; font-weight: 600; padding: 14px 24px; text-decoration: none; z-index: 999; box-shadow: 0 4px 16px rgba(0,0,0,0.25); transition: background 0.2s, transform 0.2s; }
.gs-portal-btn:hover { background: #b52f0a; color: var(--white); transform: translateY(-2px); }

/* ——— ACCOUNT PAGE ——— */
.account-card { background: var(--white); border: 1px solid var(--bone); }
.account-section { padding: 24px 28px; }
.account-section h3 { font-family: var(--sans); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--mid); margin-bottom: 16px; }
.account-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; }
.account-label { font-family: var(--sans); font-size: 14px; color: var(--mid); }
.account-value { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--black); }
.account-edit { font-family: var(--sans); font-size: 13px; color: var(--accent); text-decoration: none; display: inline-block; margin-top: 12px; }
.account-edit:hover { color: #b52f0a; }
.account-divider { height: 1px; background: var(--bone); }
.account-actions { padding: 24px 28px; display: flex; gap: 12px; }
.account-btn { font-family: var(--sans); font-size: 13px; font-weight: 600; padding: 10px 20px; text-decoration: none; border: 1px solid var(--bone); color: var(--mid); transition: all 0.2s; }
.account-btn:hover { border-color: var(--black); color: var(--black); }
.account-btn-signout { color: var(--accent); border-color: var(--accent); }
.account-btn-signout:hover { background: var(--accent); color: var(--white); }

/* ——— GHOST EDITOR WIDTH CLASSES (required) ——— */
.kg-width-wide { position: relative; width: 85vw; min-width: 100%; margin-left: calc(50% - 42.5vw); margin-right: calc(50% - 42.5vw); }
.kg-width-full { position: relative; width: 100vw; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }
.kg-width-full img { max-width: 100%; }
.post-body .kg-width-wide, .post-body .kg-width-full { max-width: none; }

/* ——— GHOST CARD STYLES (required) ——— */
.kg-card { margin: 0 0 1.5em; }
.kg-embed-card { display: flex; flex-direction: column; align-items: center; width: 100%; }
.kg-image-card img { margin: 0 auto; max-width: 100%; height: auto; }
.kg-image-card figcaption, .kg-embed-card figcaption { font-family: var(--sans); font-size: 13px; color: var(--light); text-align: center; margin-top: 8px; }
.kg-gallery-card { margin: 1.5em 0; }
.kg-gallery-container { display: flex; flex-direction: column; }
.kg-gallery-row { display: flex; flex-direction: row; justify-content: center; }
.kg-gallery-image img { display: block; margin: 0; width: 100%; height: 100%; object-fit: cover; }
.kg-gallery-row:not(:first-of-type) { margin: 4px 0 0; }
.kg-gallery-image:not(:first-of-type) { margin: 0 0 0 4px; }
.kg-bookmark-card { width: 100%; background: var(--white); border: 1px solid var(--bone); }
.kg-bookmark-container { display: flex; text-decoration: none; color: inherit; }
.kg-bookmark-content { flex-grow: 1; padding: 20px; }
.kg-bookmark-title { font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.3; }
.kg-bookmark-description { font-size: 13px; color: var(--mid); margin-top: 8px; line-height: 1.5; max-height: 3em; overflow: hidden; }
.kg-bookmark-metadata { display: flex; align-items: center; margin-top: 12px; font-size: 12px; color: var(--light); }
.kg-bookmark-icon { width: 20px; height: 20px; margin-right: 8px; }
.kg-bookmark-publisher { margin-left: 8px; }
.kg-bookmark-thumbnail { position: relative; min-width: 30%; max-height: 100%; }
.kg-bookmark-thumbnail img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.kg-toggle-card { background: var(--white); border: 1px solid var(--bone); padding: 20px; margin-bottom: 1.5em; }
.kg-toggle-heading { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-family: var(--serif); font-size: 18px; font-weight: 600; }
.kg-toggle-content { margin-top: 12px; font-size: 16px; line-height: 1.6; }
.kg-callout-card { padding: 20px 28px; margin-bottom: 1.5em; border-left: 3px solid var(--accent); background: rgba(212,56,13,0.04); }
.kg-callout-emoji { margin-right: 8px; }
.kg-button-card { display: flex; justify-content: center; margin: 1.5em 0; }
.kg-button-card a { display: inline-block; background: var(--accent); color: var(--white); padding: 12px 28px; font-family: var(--sans); font-weight: 600; text-decoration: none; }
.kg-button-card a:hover { background: var(--accent-hover); }
.kg-header-card { padding: 4em 2em; text-align: center; }
.kg-header-card h2 { font-family: var(--serif); font-size: 3em; font-weight: 800; }
.kg-header-card p { font-size: 1.2em; margin-top: 0.5em; }

/* ——— KOENIG EDITOR — Required Classes ——— */
.kg-width-wide { position: relative; width: 85vw; min-width: 100%; margin-left: calc(50% - 42.5vw); margin-right: calc(50% - 42.5vw); }
.kg-width-full { position: relative; width: 100vw; left: calc(50% - 50vw); }
.kg-width-wide img, .kg-width-full img { max-width: 100%; }

.kg-image-card { margin: 0 0 1.5em; }
.kg-image-card img { margin: 0 auto; }
.kg-image-card figcaption { font-family: var(--sans); font-size: 13px; color: var(--light); text-align: center; padding-top: 8px; }

.kg-gallery-card { margin: 0 0 1.5em; }
.kg-gallery-container { display: flex; flex-direction: column; }
.kg-gallery-row { display: flex; flex-direction: row; justify-content: center; }
.kg-gallery-image img { display: block; margin: 0; width: 100%; height: 100%; object-fit: cover; }
.kg-gallery-row:not(:first-of-type) { margin: 0.75em 0 0 0; }
.kg-gallery-image:not(:first-of-type) { margin: 0 0 0 0.75em; }

.kg-bookmark-card { width: 100%; margin: 0 0 1.5em; }
.kg-bookmark-container { display: flex; text-decoration: none; border: 1px solid var(--bone); overflow: hidden; color: inherit; }
.kg-bookmark-content { flex-grow: 1; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; padding: 20px; }
.kg-bookmark-title { font-family: var(--sans); font-size: 15px; font-weight: 600; line-height: 1.4; }
.kg-bookmark-description { font-family: var(--sans); font-size: 13px; color: var(--mid); margin-top: 6px; max-height: 44px; overflow-y: hidden; }
.kg-bookmark-metadata { display: flex; align-items: center; font-family: var(--sans); font-size: 13px; color: var(--mid); margin-top: 12px; }
.kg-bookmark-icon { width: 22px; height: 22px; margin-right: 8px; }
.kg-bookmark-author::after { content: "·"; margin: 0 6px; }
.kg-bookmark-thumbnail { position: relative; min-width: 160px; max-width: 160px; }
.kg-bookmark-thumbnail img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }

.kg-embed-card { margin: 0 0 1.5em; }
.kg-embed-card > * { margin-left: auto; margin-right: auto; }

/* Koenig callout, toggle, button cards */
.kg-callout-card { margin: 0 0 1.5em; padding: 20px 28px; border-radius: 3px; display: flex; align-items: flex-start; }
.kg-callout-emoji { margin-right: 12px; font-size: 20px; }
.kg-callout-text { font-family: var(--serif); font-size: 17px; line-height: 1.6; }

.kg-toggle-card { margin: 0 0 1.5em; background: var(--white); border: 1px solid var(--bone); padding: 20px; }
.kg-toggle-heading-text { font-family: var(--sans); font-weight: 600; }
.kg-toggle-content { font-family: var(--serif); font-size: 17px; line-height: 1.6; margin-top: 12px; }

.kg-button-card { margin: 0 0 1.5em; text-align: center; }
.kg-btn { display: inline-block; padding: 12px 28px; font-family: var(--sans); font-weight: 600; text-decoration: none; border-radius: 0; }
.kg-btn-accent { background: var(--accent); color: #fff; }

.kg-header-card { margin: 0 0 1.5em; padding: 4em 2em; text-align: center; }

/* ——— MORE STORIES CAROUSEL ——— */
.stories-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
  margin: 0 -4px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
.stories-carousel::-webkit-scrollbar { height: 6px; }
.stories-carousel::-webkit-scrollbar-track { background: transparent; }
.stories-carousel::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

.carousel-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--bone);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.carousel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.carousel-card-img {
  width: 100%;
  height: 160px;
  overflow: hidden;
}
.carousel-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-card-body {
  padding: 14px 16px 18px;
}
.carousel-card-body .tag {
  font-size: 10px;
  margin-bottom: 6px;
  display: inline-block;
}
.carousel-card-body h3 {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
}
.carousel-card-body h3 a {
  color: var(--dark);
  text-decoration: none;
}
.carousel-card-body h3 a:hover { color: var(--accent); }
.carousel-card-body .meta {
  font-size: 11px;
}

@media (max-width: 600px) {
  .carousel-card { flex: 0 0 240px; }
  .carousel-card-img { height: 130px; }
  .carousel-card-body h3 { font-size: 14px; }
}
