/* Markets Brief — Times-inspired broadsheet */
*, *::before, *::after { box-sizing: border-box; }

body.theme-times {
  margin: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 17px;
  line-height: 1.55;
  color: #121212;
  background: #fff;
}

.theme-times a { color: #121212; text-decoration: none; }
.theme-times a:hover { text-decoration: underline; }

.times-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* —— Top utility bar —— */
.times-utility {
  background: #121212;
  color: #ccc;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}
.times-utility-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.times-utility a { color: #fff; text-decoration: none; }
.times-utility-nav { display: flex; gap: 16px; align-items: center; }

/* —— Masthead —— */
.times-masthead {
  text-align: center;
  padding: 20px 0 12px;
  border-bottom: 1px solid #121212;
}
.times-date {
  font-family: Georgia, serif;
  font-size: 13px;
  color: #555;
  margin-bottom: 8px;
  text-transform: capitalize;
}
.times-logo-link { text-decoration: none !important; color: inherit; }
.times-logo {
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.1;
}
.times-tagline {
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #666;
  margin: 8px 0 0;
  font-style: italic;
}

/* —— Nav —— */
.times-nav {
  border-bottom: 1px solid #ddd;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 600;
}
.times-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}
.times-nav li { border-right: 1px solid #eee; }
.times-nav li:last-child { border-right: none; }
.times-nav a {
  display: block;
  padding: 12px 14px;
  text-decoration: none !important;
  color: #121212;
  text-transform: capitalize;
}
.times-nav a:hover { background: #f5f5f5; }

.times-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  padding: 8px;
  cursor: pointer;
}

/* —— Promo / ads —— */
.times-promo-bar {
  background: #121212;
  color: #fff;
  margin: 16px 0;
  font-family: Arial, sans-serif;
  font-size: 13px;
}
.times-promo-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  justify-content: center;
}
.times-promo-label {
  background: #0066cc;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
}
.times-promo-text { color: #ccc; max-width: 420px; }
.times-btn {
  display: inline-block;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  border-radius: 2px;
}
.times-btn--primary { background: #0066cc; color: #fff !important; }
.times-btn--outline { border: 1px solid #121212; color: #121212 !important; padding: 6px 12px; }

.times-ad-kicker {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
  margin-bottom: 6px;
}

.times-rail-ad {
  border: 1px solid #ddd;
  padding: 14px;
  margin-bottom: 16px;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 13px;
  background: #fafafa;
}
.times-rail-ad-name {
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.times-inline-ad {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 14px 0;
  margin: 20px 0;
  font-family: Arial, sans-serif;
  font-size: 13px;
  text-align: center;
  color: #444;
}

.times-mid-ad {
  border: 1px solid #e0e0e0;
  background: #f9f9f9;
  padding: 16px;
  margin: 24px 0;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

/* —— Main layout —— */
.times-main { padding: 20px 0 40px; }

.times-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 2px solid #121212;
}
.times-hero-img img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
}
.times-hero-cat {
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #c00;
  margin-bottom: 8px;
}
.times-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin: 0 0 12px;
  font-weight: 700;
}
.times-hero h1 a { text-decoration: none !important; }
.times-hero h1 a:hover { text-decoration: underline !important; }
.times-hero-deck {
  font-size: 1.05rem;
  color: #333;
  margin: 0 0 10px;
}
.times-hero time {
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #888;
}

.times-home-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}
.times-stories-col { min-width: 0; }

.times-story {
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}
.times-story-cat {
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #c00;
  margin-right: 8px;
}
.times-story time {
  font-family: Arial, sans-serif;
  font-size: 11px;
  color: #999;
}
.times-story h2, .times-story h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 6px 0 8px;
  font-weight: 700;
}
.times-story h2 a, .times-story h3 a { text-decoration: none !important; }
.times-story p {
  font-size: 0.95rem;
  color: #444;
  margin: 0;
  line-height: 1.5;
}

.times-section-h {
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 2px solid #121212;
  padding-bottom: 6px;
  margin: 0 0 12px;
}

.times-rail-story {
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  line-height: 1.3;
}
.times-rail-story a { font-weight: 600; }

.times-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}
.times-more-item h3 {
  font-size: 1rem;
  margin: 4px 0;
  line-height: 1.25;
}

/* —— Category —— */
.times-page-h {
  font-size: 2rem;
  margin: 0 0 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid #121212;
}
.times-breadcrumb {
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #888;
  margin-bottom: 20px;
}

/* —— Article —— */
.times-article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}
.times-article-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #ddd;
}
.times-article-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.12;
  margin: 10px 0;
}
.times-byline {
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: #666;
  font-style: italic;
}
.times-article-hero {
  margin: 0 0 20px;
}
.times-article-hero img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}
.times-article-body {
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 680px;
}
.times-article-body p { margin: 0 0 1.1em; }
.times-article-body img { max-width: 100%; height: auto; }

.times-source {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #eee;
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #888;
}
.times-source a { color: #666; text-decoration: underline; }

.times-pagination {
  margin-top: 24px;
  font-family: Arial, sans-serif;
  font-size: 13px;
  text-align: center;
}

.times-footer {
  border-top: 2px solid #121212;
  margin-top: 40px;
  padding: 24px 0;
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #666;
}
.times-footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.times-footer a { color: #444; margin-right: 12px; }
.times-footer-meta { margin: 0; color: #888; }
.times-footer-meta a { margin-right: 0; }

@media (max-width: 900px) {
  .times-hero { grid-template-columns: 1fr; }
  .times-home-grid, .times-article-grid { grid-template-columns: 1fr; }
  .times-more-grid { grid-template-columns: 1fr; }
  .times-nav-toggle { display: block; }
  .times-nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
  }
  .times-nav ul.is-open { display: flex; }
  .times-nav li { border-right: none; border-bottom: 1px solid #eee; }
}
