/* PE Presswire — restrained financial-news look. No webfonts, no JS. */
:root {
  --ink: #17202a;
  --ink-soft: #5b6672;
  --rule: #d9dde2;
  --accent: #0a3d62;      /* deep navy */
  --accent-hot: #b02a20;  /* wire-service red, used sparingly */
  --bg: #ffffff;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Masthead */
.masthead { border-bottom: 1px solid var(--rule); }
.masthead-inner { text-align: center; padding: 18px 20px 10px; }
.dateline { margin: 0; font-size: 12px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; }
.logo { display: inline-block; font-family: var(--serif); font-size: 42px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.logo:hover { text-decoration: none; }
.tagline { margin: 2px 0 0; font-size: 13px; color: var(--ink-soft); }
.topnav { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 3px solid var(--ink); box-shadow: 0 1px 4px rgba(23, 32, 42, .06); }
.topnav .nav-brand { font-family: var(--serif); font-weight: 700; font-size: 15px; text-transform: none; letter-spacing: 0; }
.topnav .wrap { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; padding: 10px 20px; }
.topnav a { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--ink); }
.topnav a:hover { color: var(--accent); text-decoration: none; }
.topnav .nav-advertise { color: var(--accent-hot); }

/* Kickers, metadata */
.kicker { margin: 0 0 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.kicker a { color: var(--accent-hot); }
.meta { font-size: 12px; color: var(--ink-soft); margin: 6px 0 0; }
.dek { font-family: var(--serif); font-size: 18px; color: var(--ink-soft); margin: 8px 0 0; }
.dek-sm { font-size: 14px; color: var(--ink-soft); margin: 4px 0 0; }

/* Homepage top grid */
.top-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.lead-story h1 { font-family: var(--serif); font-size: 34px; line-height: 1.15; margin: 6px 0 0; }
.lead-story img { margin-bottom: 14px; }
.secondary .story-row { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.secondary .story-row:first-child { padding-top: 0; }
.secondary .story-row:last-child { border-bottom: 0; }
.secondary h2 { font-family: var(--serif); font-size: 18px; line-height: 1.25; margin: 2px 0 0; }

/* Section bands */
.section-head { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; border-bottom: 2px solid var(--ink); padding-bottom: 6px; margin: 30px 0 12px; }
.section-head a:hover { color: var(--accent); text-decoration: none; }
.headline-list .headline-item { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.headline-list h3 { font-family: var(--serif); font-size: 17px; line-height: 1.3; margin: 0; font-weight: 700; }
.card-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card h3 { font-family: var(--serif); font-size: 16px; line-height: 1.3; margin: 8px 0 0; }
.card img { aspect-ratio: 16 / 9; object-fit: cover; }

/* Article page */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding: 28px 0; }
.article-body h1 { font-family: var(--serif); font-size: 36px; line-height: 1.15; margin: 6px 0 0; }
.article-body figure { margin: 20px 0; }
.article-body figcaption { font-size: 12px; color: var(--ink-soft); margin-top: 6px; }
.prose { font-family: var(--serif); font-size: 18px; line-height: 1.65; margin-top: 20px; max-width: 680px; }
.prose p { margin: 0 0 1.1em; }
.prose h2, .prose h3 { font-family: var(--sans); line-height: 1.3; }
.page-title { font-family: var(--serif); font-size: 30px; margin: 26px 0 6px; }
.section-feed-link { font-family: var(--sans); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-hot); border: 1px solid var(--accent-hot); border-radius: 3px; padding: 3px 8px; vertical-align: middle; margin-left: 12px; }
.section-feed-link:hover { background: var(--accent-hot); color: #fff; text-decoration: none; }

.preview-banner { background: #fff3cd; border: 1px solid #f0c14b; color: #664d03; font-family: var(--sans); font-size: 13px; font-weight: 600; padding: 10px 16px; margin: 16px 0 -8px; border-radius: 3px; }

/* Ads — clearly labeled, no layout shift */
.ad { margin: 18px 0; text-align: center; }
.ad-label { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); margin-bottom: 4px; }
.ad-leaderboard { min-height: 0; }
.ad-leaderboard img { margin: 0 auto; max-height: 120px; width: auto; }
.ad-sidebar img { margin: 0 auto; }
.ad-banner { position: relative; display: block; max-width: 728px; margin: 0 auto; }
.ad-banner-bg { width: 100%; height: auto; display: block; border-radius: 3px; }
.ad-banner-overlay { position: absolute; inset: 0; display: flex; align-items: center; gap: 4%; padding: 0 4%; padding-right: 24%; pointer-events: none; }
.ad-banner-logo { height: 64%; width: auto; flex: none; }
.ad-banner-text { text-align: left; color: #fff; min-width: 0; flex: 1; }
.ad-banner-text strong { display: block; font-family: "Montserrat", var(--sans); font-size: clamp(13px, 2vw, 17px); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.ad-banner-text span { display: block; font-family: "Montserrat", var(--sans); font-size: clamp(9px, 1.4vw, 12px); color: #9ACA3C; margin-top: 3px; }
.ad-banner-cta { flex: none; background: #97D700; color: #051C2C; font-family: "Montserrat", var(--sans); font-weight: 700; font-size: clamp(10px, 1.5vw, 13px); padding: .5em 1.1em; border-radius: 999px; white-space: nowrap; }
.ad-banner:hover { text-decoration: none; }
.ad-banner:hover .ad-banner-cta { background: #fff; }
.ad-sidebar .ad-banner-overlay { flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: 8%; }
.ad-native { display: flex; align-items: center; gap: 14px; border: 1px solid var(--rule); border-left: 3px solid #97D700; background: #f7f8f9; padding: 14px 16px; text-align: left; }
.ad-native-logo { height: 34px; width: auto; flex: none; }
.ad-native-copy { flex: 1; min-width: 0; }
.ad-native-copy strong { display: block; font-family: var(--serif); font-size: 17px; }
.ad-native-copy > span { font-size: 13px; color: var(--ink-soft); }
.ad-native-cta { flex: none; font-family: "Montserrat", var(--sans); font-size: 12.5px; font-weight: 700; color: #051C2C; background: #97D700; padding: .5em 1em; border-radius: 999px; white-space: nowrap; }
.ad-native:hover { text-decoration: none; border-color: var(--accent); border-left-color: #97D700; }
.headline-item.after-ad { border-top: 1px solid var(--rule); }

/* Latest / category listing pages */
.listing-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding: 8px 0 28px; }
.listing-feature { padding-bottom: 22px; border-bottom: 1px solid var(--rule); margin-bottom: 22px; }
.listing-feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 12px; }
.listing-feature h2 { font-family: var(--serif); font-size: 28px; line-height: 1.18; margin: 2px 0 0; }
.listing-row { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.listing-row:last-of-type { border-bottom: 0; }
.listing-row-thumb { flex: none; width: 180px; aspect-ratio: 16 / 9; background: #f4f5f7; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.listing-row-thumb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.listing-row-body { flex: 1; min-width: 0; }
.listing-row-body h3 { font-family: var(--serif); font-size: 19px; line-height: 1.28; margin: 2px 0 0; }
.section-nav { display: flex; flex-direction: column; gap: 2px; }
.section-nav a { padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 14px; font-weight: 600; }
.section-nav a:last-child { border-bottom: 0; }
.section-nav a.current { color: var(--accent-hot); }
.section-nav a:hover { color: var(--accent); text-decoration: none; }

@media (max-width: 860px) {
  .listing-layout { grid-template-columns: 1fr; }
  .listing-row { flex-direction: column; }
  .listing-row-thumb { width: 100%; }
}

/* Advertise page: static (non-tracked) example creatives */
.ad-page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding: 8px 0 28px; }
.ad-sample { margin-bottom: 28px; }
.ad-sample-label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin-bottom: 8px; }
.ad-sample .ad-banner { pointer-events: none; }
.ad-sample-logo { font-family: "Montserrat", var(--sans); font-weight: 700; color: #fff; font-size: clamp(11px, 1.6vw, 14px); flex: none; opacity: .85; }
.ad-sample .ad-sidebar .ad-banner-overlay { flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; padding: 8%; }

@media (max-width: 860px) {
  .ad-page-layout { grid-template-columns: 1fr; }
}

/* Sidebar, pagination, footer */
.sidebar .related .headline-item h3 { font-size: 15px; }
.sidebar-item { display: flex; gap: 10px; align-items: flex-start; }
.sidebar-item img { width: 92px; height: 52px; object-fit: cover; flex: none; border-radius: 2px; }
/* Hairline frame keeps light logo-card thumbnails from washing into the page */
.sidebar-item img, .card img, .lead-story img, .headline-list img { border: 1px solid var(--rule); }
.sidebar-item h3 { line-height: 1.25; }
.sidebar .ad-native { margin-top: 18px; }
.pagination { display: flex; gap: 16px; justify-content: center; padding: 24px 0; font-size: 14px; }
.empty { color: var(--ink-soft); padding: 40px 0; text-align: center; }
.sitefooter { border-top: 3px solid var(--ink); margin-top: 40px; padding: 20px 0 30px; }
.sitefooter p { font-size: 12px; color: var(--ink-soft); margin: 4px 0; }
.footnav { display: flex; gap: 20px; margin-bottom: 10px; }
.footnav a { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }

/* Static pages */
.page-prose { max-width: 680px; padding-bottom: 20px; }
.page-prose p, .page-prose li { font-family: var(--serif); font-size: 17px; line-height: 1.65; }
.page-prose h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .05em; margin-top: 28px; }
.page-prose a { color: var(--accent); text-decoration: underline; }

@media (max-width: 860px) {
  .top-grid, .article-layout { grid-template-columns: 1fr; }
  .card-row { grid-template-columns: repeat(2, 1fr); }
  .logo { font-size: 32px; }
  .lead-story h1 { font-size: 27px; }
  .article-body h1 { font-size: 28px; }
}
@media (max-width: 480px) {
  .card-row { grid-template-columns: 1fr; }
}
