/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --cream:    #f2ede6;
  --bg:       #f5f0e8;
  --dark:     #111109;
  --dark2:    #1a1a14;
  --border:   #ddd8cf;
  --border2:  #2a2a22;
  --accent:   #c0392b;
  --accent2:  #e04e20;
  --text:     #1a1a14;
  --muted:    #7a7060;
  --white:    #ffffff;

  --font-serif:   'Playfair Display', 'Georgia', serif;
  --font-heading: 'Inter', sans-serif;
  --font-body:    'Source Serif 4', 'Georgia', serif;
  --font-sans:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --ease: cubic-bezier(.16,1,.3,1);
  --max-w: 1400px;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5 { font-family: var(--font-serif); line-height: 1.15; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
#page { display: flex; flex-direction: column; min-height: 100vh; }
#content { flex: 1; }

/* ============================================================
   TOP BAR
   ============================================================ */
#top-bar {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: .7rem;
  letter-spacing: .04em;
}
.top-bar__inner {
  display: flex;
  align-items: center;
  height: 34px;
  gap: 1.5rem;
}
.top-bar__left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  white-space: nowrap;
  color: var(--muted);
}
.top-bar__edition {
  padding-left: 1rem;
  border-left: 1px solid var(--border);
}

/* Ticker */
.top-bar__ticker {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}
.ticker-track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: ticker-scroll 50s linear infinite;
}

.ticker-updated {
  display: none;
  align-items: center;
  gap: .25rem;
  font-family: var(--font-mono);
  font-size: .6rem;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: .75rem;
  border-right: 1px solid var(--border);
  margin-right: .75rem;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-mono);
  font-size: .65rem;
  color: var(--text);
}
.ticker-name { color: var(--muted); font-weight: 500; }
.ticker-price { font-weight: 600; color: var(--text); }
.ticker-change--up   { color: #1a7a3c; font-weight: 600; }
.ticker-change--down { color: var(--accent); font-weight: 600; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Actions */
.top-bar__actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.top-bar__search {
  display: flex;
  align-items: center;
  gap: .3rem;
  color: var(--muted);
  font-size: .65rem;
  font-family: var(--font-sans);
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .2s;
}
.top-bar__search:hover { color: var(--text); }
.top-bar__subscribe {
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3em .8em;
  border-radius: 2px;
  transition: background .2s;
}
.top-bar__subscribe:hover { background: #a93226; }

/* ============================================================
   MASTHEAD
   ============================================================ */
#masthead {
  background: var(--cream);
  border-bottom: 2px solid var(--dark);
  text-align: center;
  padding: 1.5rem 0 0;
}
.masthead__inner { display: flex; justify-content: center; }
.masthead__wordmark { text-align: center; }
.masthead__tagline {
  font-family: var(--font-sans);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .5rem;
}
.masthead__sitename {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--dark);
  display: block;
  line-height: 1;
  letter-spacing: -.01em;
  margin-bottom: .4rem;
}
.masthead__sitename em {
  font-style: italic;
  color: var(--accent);
}
.masthead__sitename:hover { opacity: .85; }
.masthead__sub {
  font-family: var(--font-sans);
  font-size: .62rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10rem;
}
/* Fix 4: space between wordmark and nav */
#masthead { padding-bottom: 0; }
.masthead__inner { padding-bottom: 2rem; }

/* Primary nav */
#primary-nav {
  border-top: 1px solid var(--border);
  background: var(--cream);
}
#primary-nav .container { position: relative; }
.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.nav-list li a {
  display: block;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
  padding: .75em 1em;
  border-right: 1px solid var(--border);
  transition: background .2s, color .2s;
}
.nav-list li:first-child a { border-left: 1px solid var(--border); }
.nav-list li a:hover,
.nav-list li.current-menu-item > a { background: var(--dark); color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .75rem;
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); }

/* ============================================================
   NEWS TICKER BAR
   ============================================================ */
#breaking-bar {
  background: var(--dark);
  overflow: hidden;
  height: 34px;
  border-bottom: 1px solid var(--border2);
}
.breaking-bar__inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.breaking-bar__label {
  font-family: var(--font-sans);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--white);
  background: var(--accent);
  padding: .25em .65em;
  white-space: nowrap;
  margin-right: 1.25rem;
  flex-shrink: 0;
  text-transform: uppercase;
}
.breaking-bar__scroll {
  overflow: hidden;
  flex: 1;
  mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
}
.breaking-bar__track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 55s linear infinite;
}
.breaking-bar__item {
  font-family: var(--font-sans);
  font-size: .7rem;
  color: rgba(255,255,255,.8);
  transition: color .2s;
  white-space: nowrap;
	
}

.breaking-bar__item { cursor: pointer; }


.breaking-bar__item:hover { color: var(--white); }
.breaking-bar__sep {
  color: var(--accent);
  margin: 0 .75rem;
  font-size: .65rem;
}

/* ============================================================
   SHARED COMPONENTS
   ============================================================ */
.cat-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}
.cat-badge--hot { color: var(--accent2); }
.cat-badge:hover { text-decoration: underline; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--dark);
  padding: .65em 1.25em;
  border-radius: 2px;
  transition: background .2s;
}
.btn:hover { background: var(--accent); }

.section-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.section-heading__label {
  font-family: var(--font-sans);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--white);
  background: var(--dark);
  padding: .4em .75em;
  white-space: nowrap;
  flex-shrink: 0;
}
.section-heading__line {
  flex: 1;
  border: none;
  border-top: 1px solid var(--border);
}

/* Widget */
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.widget-title {
  font-family: var(--font-sans);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--dark);
}
.sidebar-widget--newsletter p {
  font-family: var(--font-sans);
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: .875rem;
}
.nl-form { display: flex; flex-direction: column; gap: .4rem; }
.nl-input {
  background: var(--bg);
  border: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: .78rem;
  padding: .55em .75em;
  outline: none;
  transition: border-color .2s;
}
.nl-input:focus { border-color: var(--dark); }
.nl-input::placeholder { color: var(--muted); }
.nl-btn { width: 100%; }

/* Side list */
.side-list { display: flex; flex-direction: column; gap: 0; }
.side-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: .75rem;
  padding: .875rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.side-item:last-child { border-bottom: none; }
.side-item__thumb {
  width: 72px;
  height: 54px;
  flex-shrink: 0;
  overflow: hidden;
  display: block;
  background: var(--border);
}
.side-item__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.side-item:hover .side-item__thumb img { transform: scale(1.06); }
/* Placeholder shown when no image */
.side-item__thumb-placeholder {
  width: 72px;
  height: 54px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.side-item__thumb-placeholder svg { opacity: .25; }
.side-item__info { min-width: 0; }
.side-item__title {
  display: block;
  font-family: var(--font-serif);
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: .25rem;
  transition: color .2s;
}
.side-item__title:hover { color: var(--accent); }
.side-item__meta {
  font-family: var(--font-sans);
  font-size: .6rem;
  color: var(--muted);
  margin: 0;
}

/* Pagination */
.pagination { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.pagination .nav-links { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.pagination a, .pagination span {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 500;
  color: var(--muted);
  padding: .4em .75em;
  border: 1px solid var(--border);
  background: var(--white);
  transition: background .2s, color .2s, border-color .2s;
}
.pagination a:hover { background: var(--dark); color: var(--white); border-color: var(--dark); }
.pagination .current { background: var(--dark); color: var(--white); border-color: var(--dark); }

/* Post tags */
.post-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.5rem 0; }
.tag-chip {
  font-family: var(--font-sans);
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: .3em .65em;
  transition: color .2s, border-color .2s;
}
.tag-chip:hover { color: var(--text); border-color: var(--text); }

/* ============================================================
   FEATURED POST
   ============================================================ */
.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 0;
  margin-bottom: 0;
  border-bottom: 2px solid var(--dark);
}
.featured-post__img-wrap {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--border);
}
.featured-post__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.featured-post:hover .featured-post__img-wrap img { transform: scale(1.03); }
.featured-post__body { padding: 1rem 0; }
.featured-post__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: .875rem;
  color: var(--dark);
}
.featured-post__title a:hover { color: var(--accent); }
.featured-post__excerpt {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.featured-post__meta {
  font-family: var(--font-sans);
  font-size: .72rem;
  color: var(--muted);
  margin: 0;
}

/* ============================================================
   BLOG LAYOUT (list + sidebar)
   ============================================================ */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  padding-top: 2.5rem;
  align-items: start;
}
.blog-feed { min-width: 0; }

/* Blog list item — matches screenshot style */
.blog-item {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.75rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.blog-item:last-of-type { border-bottom: none; }
.blog-item__thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--border);
  flex-shrink: 0;
}
.blog-item__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.blog-item:hover .blog-item__thumb img { transform: scale(1.04); }
.blog-item__no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: .65rem;
  letter-spacing: .1em;
  color: var(--muted);
  aspect-ratio: 4/3;
}
.blog-item__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: .5rem;
  color: var(--dark);
}
.blog-item__title a:hover { color: var(--accent); }
.blog-item__excerpt {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: .75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-item__meta {
  font-family: var(--font-sans);
  font-size: .68rem;
  color: var(--muted);
  margin: 0;
}

.no-posts { color: var(--muted); padding: 2rem 0; font-family: var(--font-sans); }

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-layout { padding: 2rem 0 4rem; }
.single-article { max-width: 100%; }

.single-header { max-width: 100%; 0 0 1.5rem; text-align: left; }
.single-header .cat-badge { margin-bottom: .75rem; }
.single-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: .875rem;
}
.single-meta {
  font-family: var(--font-sans);
  font-size: .72rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.5rem;
}
.single-meta__dot { color: var(--border); }

.single-featured-img { margin-top: .5rem; margin-bottom: 2rem;  }
.single-featured-img img { width: 100%; max-height: 520px; object-fit: cover; }
.single-featured-img figcaption {
  font-family: var(--font-sans);
  font-size: .68rem;
  color: var(--muted);
  padding: .4rem 0;
  border-bottom: 1px solid var(--border);
}

/* Two-column layout */
.single-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 5rem;
  align-items: start;
}
.single-content-col { min-width: 0; }
.single-sidebar { position: sticky; top: 1.5rem; }

/* Article content typography */
.single-content {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  max-width: 100%;
  margin-bottom: 2rem;
  
}
.single-content h2 { font-size: 1.45rem; margin: 2rem 0 .75rem; }
.single-content h3 { font-size: 1.2rem; margin: 1.5rem 0 .5rem; }
.single-content p { margin-bottom: 1.25em; }
.single-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.single-content blockquote {
  border-left: 3px solid var(--accent);
  padding: .75rem 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--muted);
  background: var(--cream);
}
.single-content img { margin: 1.5rem 0; }
.single-content ul { padding-left: 1.4rem; list-style: disc; margin-bottom: 1em; }
.single-content ol { padding-left: 1.4rem; list-style: decimal; margin-bottom: 1em; }
.single-content li { margin-bottom: .35em; }

/* Widget areas */
.single-widget-area { margin-bottom: 2rem; }

/* Source Box */
.source-box {
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  font-family: var(--font-sans);
}
.source-box__heading {
  font-family: var(--font-sans);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .75rem;
}
.source-box__row {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  font-size: .82rem;
  margin-bottom: .35rem;
}
.source-box__row:last-child { margin-bottom: 0; }
.source-box__label { color: var(--muted); font-size: .72rem; flex-shrink: 0; }
.source-box__value { color: var(--text); font-weight: 500; }
.source-box__link {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: opacity .2s;
}
.source-box__link:hover { opacity: .75; }

/* Post navigation */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.nav-previous, .nav-next { padding: .5rem; }
.nav-next { text-align: right; }
.nav-dir {
  display: block;
  font-family: var(--font-sans);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .3rem;
}
.nav-t {
  font-family: var(--font-serif);
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}
.nav-previous a:hover .nav-t,
.nav-next a:hover .nav-t { color: var(--accent); }

/* ============================================================
   COMMENTS — styled clean
   ============================================================ */
.single-comments {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 2px solid var(--dark);
}
#comments { font-family: var(--font-sans); }
.comments-title, #reply-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
}
#reply-title { font-size: 1.1rem; margin-bottom: 1rem; }
#reply-title small { font-size: .7rem; }
#reply-title a { color: var(--accent); }

/* Comment list */
.comment-list { margin-bottom: 2rem; }
.comment {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.comment:last-child { border-bottom: none; }
.comment-author .fn {
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 600;
  color: var(--dark);
  font-style: normal;
}
.comment-author img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  float: left;
  margin-right: .75rem;
  border: 2px solid var(--border);
}
.comment-meta {
  font-size: .68rem;
  color: var(--muted);
  margin-bottom: .5rem;
}
.comment-meta a { color: var(--muted); }
.comment-body p { font-size: .9rem; color: var(--text); line-height: 1.65; }
.comment-body p:last-child { margin-bottom: 0; }
.reply a {
  font-family: var(--font-sans);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: .25em .6em;
  margin-top: .5rem;
  display: inline-block;
  transition: color .2s, border-color .2s;
}
.reply a:hover { color: var(--text); border-color: var(--text); }

/* Comment form */
.comment-form { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.comment-form-comment { grid-column: 1 / -1; }
.comment-form-comment textarea,
.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: .85rem;
  color: var(--text);
  padding: .65em .875em;
  outline: none;
  transition: border-color .2s;
  resize: vertical;
}
.comment-form-comment textarea { min-height: 140px; }
.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-url input:focus,
.comment-form-comment textarea:focus { border-color: var(--dark); }
.comment-form label {
  display: block;
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .3rem;
}
.form-submit { grid-column: 1 / -1; margin: 0; }
.comment-submit-btn {
  font-size: .75rem;
  padding: .7em 1.5em;
}
.logged-in-as {
  font-family: var(--font-sans);
  font-size: .75rem;
  color: var(--muted);
  margin-bottom: .75rem;
  grid-column: 1 / -1;
}
.logged-in-as a { color: var(--text); text-decoration: underline; }
.comment-form-cookies-consent { grid-column: 1 / -1; }
.comment-form-cookies-consent label { text-transform: none; letter-spacing: 0; font-size: .75rem; }

/* ============================================================
   FOOTER
   ============================================================ */
#colophon {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  margin-top: 4rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 4rem;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border2);
}
.footer__brand { }
.footer__sitename {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: .875rem;
  line-height: 1;
}
.footer__sitename em { font-style: italic; color: var(--accent); }
.footer__sitename:hover { opacity: .85; }
.footer__tagline {
  font-family: var(--font-sans);
  font-size: .8rem;
  line-height: 1.65;
  color: rgba(255,255,255,.55);
  max-width: 300px;
}
.footer__widgets { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
.footer__col { }
.footer__col-title {
  font-family: var(--font-sans);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border2);
}
/* Widget titles inside footer */
.footer__col .widget-title {
  font-family: var(--font-sans);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border2);
  border-top: none;
}
.footer__links { display: flex; flex-direction: column; gap: .45rem; }
.footer__links li a,
.footer__col ul li a {
  font-family: var(--font-sans);
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer__links li a:hover,
.footer__col ul li a:hover { color: var(--white); }
.footer__col .widget ul { list-style: none; display: flex; flex-direction: column; gap: .45rem; }
.footer__bottom {
  padding: 1.25rem 0;
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: .68rem;
  color: rgba(255,255,255,.35);
}
.footer__bottom-inner nav { display: flex; align-items: center; gap: .75rem; }
.footer__bottom-inner nav a { color: rgba(255,255,255,.35); transition: color .2s; }
.footer__bottom-inner nav a:hover { color: var(--white); }
.footer__bottom-inner nav span { color: rgba(255,255,255,.2); }

/* ============================================================
   ARCHIVE
   ============================================================ */
.archive-header {
  padding: 2rem 0 1.5rem;
  border-bottom: 2px solid var(--dark);
  margin-bottom: 2rem;
}
.archive-title { font-size: clamp(1.6rem, 4vw, 2.5rem); color: var(--dark); }
.archive-desc { font-family: var(--font-sans); font-size: .85rem; color: var(--muted); margin-top: .5rem; }

/* ============================================================
   404
   ============================================================ */
.not-found { padding: 6rem 0; text-align: center; }
.not-found h1 { font-size: 6rem; color: var(--border); line-height: 1; margin-bottom: .5rem; }
.not-found h2 { margin-bottom: 1rem; }
.not-found p { color: var(--muted); margin-bottom: 1.5rem; font-family: var(--font-sans); }

.source-box__company-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity .2s;
}
.source-box__company-link:hover { opacity: .75; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .blog-layout { grid-template-columns: 1fr 280px; gap: 2rem; }
  .single-body { grid-template-columns: 1fr 260px; gap: 3rem; }
}
@media (max-width: 860px) {
  .featured-post { grid-template-columns: 1fr; }
  .featured-post__img-wrap { aspect-ratio: 16/8; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-item { grid-template-columns: 180px 1fr; gap: 1.25rem; }
  .single-body { grid-template-columns: 1fr; }
  .single-sidebar { position: static; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__widgets { grid-template-columns: 1fr 1fr; }
  .top-bar__ticker { display: none; }
}
@media (max-width: 600px) {
  .blog-item { grid-template-columns: 1fr; }
  .blog-item__thumb { aspect-ratio: 16/8; width: 100%; }
  .footer__widgets { grid-template-columns: 1fr; }
  .nav-list { display: none; flex-direction: column; align-items: stretch; }
  .nav-list.open { display: flex; }
  .nav-list li a { border: none; border-bottom: 1px solid var(--border); text-align: center; }
  .nav-toggle { display: flex; }
  .post-navigation { grid-template-columns: 1fr; }
  .comment-form { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
}

.nav-list li.current-menu-item > a,
.nav-list li.current_page_item > a {
  background: #c0392b;
  color: var(--white);
}

.search-page-form {
    display: flex;
    gap: .5rem;
    margin: 1rem 0 2rem;
    max-width: 100%;
}
.search-page-form input[type="search"] {
    flex: 1;
    border: 1px solid var(--border);
    background: var(--white);
    font-family: var(--font-sans);
    font-size: .9rem;
    padding: .65em .875em;
    outline: none;
}
.search-page-form input[type="search"]:focus {
    border-color: var(--dark);
}

/* ============================================================
   SUBSCRIBE FORMS
   ============================================================ */
.vsub { font-family: var(--font-sans); }
.vsub--inline .vsub__form-wrap { display: flex; gap: .4rem; flex-wrap: wrap; }
.vsub--inline .vsub__input { flex: 1; min-width: 180px; }
.vsub--boxed { background: var(--dark); color: var(--white); padding: 2rem; margin: 2rem 0; text-align: center; }
.vsub--boxed .vsub__title { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: .5rem; }
.vsub--boxed .vsub__desc { color: rgba(255,255,255,.6); font-size: .85rem; margin-bottom: 1.25rem; }
.vsub--boxed .vsub__form-wrap { display: flex; flex-direction: column; gap: .5rem; max-width: 400px; margin: 0 auto; }
.vsub--boxed .vsub__input { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: var(--white); }
.vsub--boxed .vsub__input::placeholder { color: rgba(255,255,255,.4); }
.vsub--boxed .vsub__btn { background: var(--accent); width: 100%; }
.vsub--boxed .vsub__btn:hover { background: #a93226; }
.vsub--minimal .vsub__form-wrap { display: flex; gap: .4rem; }
.vsub--minimal .vsub__input { flex: 1; }
.vsub__input { background: var(--white); border: 1px solid var(--border); font-family: var(--font-sans); font-size: .82rem; color: var(--text); padding: .65em .875em; outline: none; transition: border-color .2s; width: 100%; }
.vsub__input:focus { border-color: var(--dark); }
.vsub__input::placeholder { color: var(--muted); }
.vsub__btn { white-space: nowrap; }
.vsub__msg { font-size: .75rem; margin: .5rem 0 0; min-height: 1.2em; font-weight: 500; }
.vsub__msg--success { color: #1a7a3c; }
.vsub__msg--error { color: var(--accent); }
.vsub__privacy { font-size: .65rem; color: var(--muted); margin: .4rem 0 0; }

/* Popup */
.spopup { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.spopup[hidden] { display: none; }
.spopup__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(2px); }
.spopup__box { position: relative; background: var(--white); width: 100%; max-width: 480px; padding: 2.5rem 2rem 2rem; border-top: 4px solid var(--accent); box-shadow: 0 20px 60px rgba(0,0,0,.25); z-index: 1; animation: popup-in .35s var(--ease); }
@keyframes popup-in { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.spopup__close { position: absolute; top: .875rem; right: .875rem; width: 28px; height: 28px; font-size: 1.2rem; color: var(--muted); line-height: 28px; text-align: center; cursor: pointer; border-radius: 50%; transition: background .2s, color .2s; }
.spopup__close:hover { background: var(--bg); color: var(--text); }
.spopup__icon { width: 52px; height: 52px; background: var(--bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; color: var(--accent); }
.spopup__title { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 900; text-align: center; margin-bottom: .5rem; color: var(--dark); }
.spopup__desc { text-align: center; font-size: .85rem; color: var(--muted); margin-bottom: 1.25rem; line-height: 1.55; }
.vsub--popup .vsub__form-wrap { display: flex; flex-direction: column; gap: .5rem; }
.vsub--popup .vsub__btn { width: 100%; padding: .8em; font-size: .8rem; }
.vsub--popup .vsub__privacy { text-align: center; }

.ep-wrap { font-family: var(--font-sans); margin: 1.5rem 0; }
.ep-header { display: flex; align-items: baseline; gap: 1.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.ep-title { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; color: var(--dark); margin: 0; }
.ep-updated { font-family: var(--font-mono); font-size: .68rem; color: var(--muted); display: flex; align-items: center; gap: .3rem; margin: 0; }
.ep-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.ep-table thead th { font-family: var(--font-sans); font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: .6rem 1rem; border-bottom: 2px solid var(--dark); text-align: left; background: var(--cream); }
.ep-table tbody tr { border-bottom: 1px solid var(--border); transition: background .15s; }
.ep-table tbody tr:hover { background: var(--cream); }
.ep-table tbody td { padding: .875rem 1rem; vertical-align: middle; }
.ep-name { font-family: var(--font-sans); font-weight: 600; font-size: .8rem; letter-spacing: .06em; color: var(--text); }
.ep-price { font-family: var(--font-mono); font-size: .92rem; font-weight: 600; color: var(--dark); }
.ep-up { color: #1a7a3c; font-family: var(--font-mono); font-size: .82rem; font-weight: 600; }
.ep-down { color: var(--accent); font-family: var(--font-mono); font-size: .82rem; font-weight: 600; }
.ep-arrow { font-size: .65rem; margin-right: .2rem; }
.ep-unit { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); }
.ep-source a { font-size: .75rem; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; display: inline-flex; align-items: center; gap: .25rem; transition: color .2s; }
.ep-source a:hover { color: var(--accent); }
.ep-disclaimer { font-size: .68rem; color: var(--muted); margin-top: .875rem; border-top: 1px solid var(--border); padding-top: .75rem; }

.sub-hero {
  margin: 0 0 2rem;
  overflow: hidden;
}
.sub-hero__img {
  display: block;
  width: 100%;
  max-height: 340px;
  overflow: hidden;
}
.sub-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sub-hero__form {
  background: var(--dark);
  padding: 2.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.sub-hero__title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .5rem;
}
.sub-hero__desc {
  color: rgba(255,255,255,.6);
  font-family: var(--font-sans);
  font-size: .88rem;
  line-height: 1.6;
  margin: 0;
}
.sub-hero__right .vsub--minimal .vsub__form-wrap {
  flex-direction: column;
  gap: .5rem;
}
.sub-hero__right .vsub--minimal .vsub__input {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  width: 100%;
}
.sub-hero__right .vsub--minimal .vsub__input::placeholder { color: rgba(255,255,255,.4); }
.sub-hero__right .vsub--minimal .vsub__input:focus { border-color: rgba(255,255,255,.5); }
.sub-hero__right .vsub--minimal .vsub__btn {
  width: 100%;
  background: var(--accent);
  padding: .8em;
}
.sub-hero__right .vsub--minimal .vsub__btn:hover { background: #a93226; }
.sub-hero__right .vsub__privacy { color: rgba(255,255,255,.35); text-align: right; }
@media (max-width: 700px) {
  .sub-hero__form { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 1.5rem; }
}

.sub-hero__img {
  margin-bottom: -30px;
}

.sub-hero {
  margin-left: -1.5rem;
  margin-right: -1.5rem;
}

.sub-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sub-hero {
  width: 100%;
  overflow: hidden;
}

.sub-hero__form {
  width: 100%;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.single-title,
.blog-item__title,
.featured-post__title,
.side-item__title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
}