@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --teal: #00a0b0;
  --teal-dark: #007f8c;
  --black: #1a1a1a;
  --text: #333;
  --text-light: #666;
  --date-grey: #999;
  --border: #ddd;
  --border-dark: #333;
  --bg: #fff;
  --bg-alt: #f5f5f5;
  --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --max-width: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--teal); }
img { max-width: 100%; height: auto; display: block; }

/* ── TOP UTILITY BAR ── */
.top-utility-bar {
  background: #f0f0f0;
  border-bottom: 1px solid var(--border);
  padding: 5px 0;
  font-size: 12px;
}

.top-utility-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #555;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 2px;
  transition: background 0.2s;
}

.social-icon:hover { background: var(--teal); color: #fff; }
.social-icon.fb { background: #3b5998; }
.social-icon.tw { background: #1da1f2; }
.social-icon.ig { background: #c13584; }
.social-icon.yt { background: #ff0000; }

.top-right-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-right-links a {
  color: var(--text-light);
  font-size: 12px;
  font-weight: 600;
}

.top-right-links a:hover { color: var(--teal); }

.epaper-link {
  background: var(--teal);
  color: #fff !important;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.epaper-link:hover { background: var(--teal-dark); color: #fff !important; }

/* ── MASTHEAD ── */
.masthead {
  padding: 16px 20px 10px;
  background: var(--bg);
  border-bottom: 3px solid var(--black);
}

.masthead-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.masthead-ad-left,
.masthead-ad-right {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  overflow: hidden;
}

.masthead-ad-left img,
.masthead-ad-right img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.masthead-center {
  text-align: center;
}

.masthead-logo {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2.8rem;
  letter-spacing: 0.02em;
  color: var(--black);
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  line-height: 1.1;
}

.masthead-logo:hover { color: var(--black); }

.masthead-date {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--date-grey);
  margin-top: 4px;
  letter-spacing: 0.03em;
}

/* ── MAIN NAVIGATION ── */
.main-nav {
  background: var(--bg);
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  position: relative;
  z-index: 200;
}

.main-nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav-inner a {
  display: inline-block;
  padding: 9px 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
  transition: color 0.15s;
}

.main-nav-inner a:hover,
.main-nav-inner a.active {
  color: var(--teal);
}

.main-nav-inner .nav-sep {
  color: #bbb;
  padding: 0 10px;
  font-size: 13px;
  line-height: 1;
  user-select: none;
}

/* ── STICKY HEADER (shown on scroll) ── */
.sticky-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  flex-direction: column;
}

.sticky-header.visible { display: flex; }

/* Top row: logo */
.sticky-header-logo-row {
  text-align: center;
  padding: 6px 16px 4px;
  border-bottom: 1px solid #eee;
}

.sticky-logo {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.15rem;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--black);
  white-space: nowrap;
}

.sticky-logo:hover { color: var(--black); }

/* Bottom row: nav */
.sticky-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 0 16px;
  border-bottom: 2px solid var(--black);
}

.sticky-nav a {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--black);
  padding: 6px 0;
  white-space: nowrap;
}

.sticky-nav a:hover,
.sticky-nav a.active { color: var(--teal); }

.sticky-nav .nav-sep {
  color: #bbb;
  padding: 0 6px;
  font-size: 11px;
}

/* ── CONTAINER ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* ── AD PLACEHOLDER (banner) ── */
.ad-placeholder {
  background: #e8e8e8;
  border: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  margin: 16px 0;
  font-size: 11px;
  font-weight: 700;
  color: #aaa;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ad-placeholder.tall {
  height: 250px;
  flex-direction: column;
  gap: 6px;
}

.ad-placeholder.wide {
  height: 110px;
}

/* ── HOMEPAGE: TOP THREE CARDS ── */
.top-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px 0;
}

.top-card {
  display: block;
  cursor: pointer;
}

.top-card:hover .top-card-title { color: var(--teal); }

.top-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.top-card-body {
  padding: 14px 0 10px;
  text-align: center;
}

.top-card-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.top-card-sep {
  border: none;
  border-top: 1px dotted #bbb;
  margin: 0 auto 10px;
  width: 80%;
}

.top-card-excerpt {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.55;
}

/* ── SECTION HEADER (newspaper style) ── */
.section-header {
  border-top: 3px solid var(--black);
  border-bottom: 1px solid var(--black);
  text-align: center;
  margin: 28px 0 20px;
  padding: 6px 0;
}

.section-header h2 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
}

/* ── HOMEPAGE MAIN CONTENT LAYOUT ── */
.homepage-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
  margin-bottom: 40px;
}

/* ── NEWS LIST ITEMS ── */
.news-list {
  list-style: none;
}

.news-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.news-item:first-child {
  padding-top: 0;
}

.news-thumb {
  width: 150px;
  height: 105px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.news-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.news-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.news-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
  transition: color 0.2s;
}

.news-item:hover .news-title { color: var(--teal); }

.news-excerpt {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
}

.news-date {
  font-size: 12px;
  color: var(--date-grey);
}

.news-read-more {
  font-size: 12px;
  color: var(--teal);
  font-weight: 600;
}

.news-read-more:hover { text-decoration: underline; }

/* ── SIDEBAR ── */
.sidebar {
  min-width: 0;
}

.sidebar-section {
  margin-bottom: 26px;
}

.sidebar-section-header {
  border-top: 3px solid var(--black);
  border-bottom: 1px solid var(--black);
  text-align: center;
  padding: 5px 0;
  margin-bottom: 14px;
}

.sidebar-section-header h3 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
}

.sidebar-recent-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.sidebar-recent-item:last-child { border-bottom: none; }

.sidebar-thumb {
  width: 70px;
  height: 50px;
  object-fit: cover;
  display: block;
}

.sidebar-item-title {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--black);
  transition: color 0.2s;
}

.sidebar-recent-item:hover .sidebar-item-title { color: var(--teal); }

.sidebar-item-date {
  font-size: 11px;
  color: var(--date-grey);
  margin-top: 3px;
}

.sidebar-ad-box {
  background: #fff;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #aaa;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  overflow: hidden;
}

.sidebar-ad-box img {
  width: 100%;
  height: auto;
  display: block;
}

.like-us-box {
  background: #3b5998;
  color: #fff;
  padding: 16px;
  text-align: center;
  margin-bottom: 16px;
}

.like-us-box .like-us-title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.85;
}

.like-us-box .like-us-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.like-us-btn {
  display: inline-block;
  background: #fff;
  color: #3b5998;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 2px;
}

/* ── ARTICLE PAGE ── */

/* Breadcrumbs */
.breadcrumb-bar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}

.breadcrumb-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.breadcrumb {
  font-size: 12px;
  color: var(--date-grey);
}

.breadcrumb a {
  color: var(--teal);
}

.breadcrumb a:hover { text-decoration: underline; }

.breadcrumb .sep {
  margin: 0 5px;
  color: #ccc;
}

.share-circles {
  display: flex;
  gap: 6px;
  align-items: center;
}

.share-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.2s;
}

.share-circle:hover { opacity: 0.85; }
.share-circle.sc-fb { background: #3b5998; }
.share-circle.sc-tw { background: #1da1f2; }
.share-circle.sc-wa { background: #25d366; }
.share-circle.sc-em { background: #888; }

/* Article Header */
.article-header {
  max-width: 860px;
  margin: 28px auto 0;
  padding: 0 20px;
  text-align: center;
}

.article-category-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.article-header h1 {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 14px;
}

.article-dotted-sep {
  border: none;
  border-top: 1px dotted #bbb;
  width: 60%;
  margin: 0 auto 14px;
}

.article-date {
  font-size: 12px;
  color: var(--date-grey);
  margin-bottom: 12px;
}

.article-byline {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 6px;
}

.article-byline strong {
  color: var(--black);
}

.article-subtitle {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.5;
  max-width: 680px;
  margin: 0 auto 20px;
}

/* Feature Image */
.article-feature-image {
  max-width: 860px;
  margin: 20px auto 6px;
  padding: 0 20px;
}

.article-feature-image img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}

.article-image-caption {
  max-width: 860px;
  margin: 0 auto 24px;
  padding: 0 20px;
  font-size: 11px;
  color: var(--date-grey);
  font-style: italic;
  line-height: 1.5;
  text-align: center;
}

/* Article Layout */
.article-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  padding: 0 16px 40px;
}

/* Article Body */
.article-body {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text);
}

.article-body p {
  margin-bottom: 1.3em;
}

.article-body h2 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 1.8em 0 0.7em;
  color: var(--black);
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}

.article-body blockquote {
  border-left: 3px solid var(--teal);
  padding: 8px 0 8px 18px;
  margin: 1.5em 0;
  font-style: italic;
  color: var(--text-light);
  font-size: 1.05rem;
}

.article-body .dropcap::first-letter {
  float: left;
  font-family: var(--font-head);
  font-size: 4rem;
  font-weight: 900;
  line-height: 0.8;
  margin-right: 8px;
  margin-top: 8px;
  color: var(--teal);
}

/* Inline Photos */
.article-photo {
  margin: 1.8em 0;
}

.article-photo img {
  width: 100%;
  height: auto;
}

.article-photo figcaption {
  font-size: 11px;
  color: var(--date-grey);
  font-style: italic;
  margin-top: 6px;
  line-height: 1.5;
}

.article-photo-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 1.8em 0;
}

.article-photo-duo img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.article-photo-duo figcaption {
  grid-column: 1 / -1;
  font-size: 11px;
  color: var(--date-grey);
  font-style: italic;
  line-height: 1.5;
}

@media (max-width: 580px) {
  .article-photo-duo { grid-template-columns: 1fr; }
  .article-photo-duo img { height: 200px; }
}

/* Share & Tags */
.article-share-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 24px 0 16px;
  flex-wrap: wrap;
}

.article-share-bar span {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  margin-right: 4px;
}

.article-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--text);
  transition: all 0.2s;
}

.article-share-btn:hover {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 30px;
}

.article-tags a {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--text-light);
  transition: all 0.2s;
}

.article-tags a:hover {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

/* Article Sidebar */
.article-sidebar {
  padding-top: 0;
}

/* ── FOOTER ── */
.site-footer {
  background: #1a1a1a;
  color: #aaa;
  padding: 36px 20px 20px;
  margin-top: 40px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid #333;
}

.footer-brand-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.3rem;
  text-transform: uppercase;
  text-decoration: underline;
  color: #fff;
  margin-bottom: 10px;
  display: block;
}

.footer-brand p {
  font-size: 12px;
  line-height: 1.65;
  color: #888;
}

.footer-col h4 {
  color: #ddd;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 7px; }

.footer-col a {
  font-size: 12px;
  color: #777;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--teal); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 16px auto 0;
  text-align: center;
  font-size: 11px;
  color: #555;
}

.footer-bottom a { color: #666; }
.footer-bottom a:hover { color: var(--teal); }

/* ── INLINE ADS (within article body) ── */
.inline-ad {
  margin: 28px 0;
  text-align: center;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  padding: 10px;
}

.inline-ad img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

.inline-ad-label {
  display: block;
  font-size: 9px;
  color: #bbb;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── CTA READ MORE BUTTON ── */
a.cta-read-more,
a.cta-read-more:visited,
a.cta-read-more:link {
  display: inline-block;
  background: #e74c3c !important;
  color: #fff !important;
  padding: 18px 50px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
  animation: cta-pulse 2s ease-in-out infinite;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

a.cta-read-more:hover {
  background: #c0392b !important;
  color: #fff !important;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.5);
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4); }
  50% { box-shadow: 0 4px 25px rgba(231, 76, 60, 0.7), 0 0 40px rgba(231, 76, 60, 0.2); }
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .masthead-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .masthead-ad-left,
  .masthead-ad-right { display: none; }

  .homepage-layout {
    grid-template-columns: 1fr;
  }

  .top-cards {
    grid-template-columns: 1fr;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .masthead-logo { font-size: 2rem; }
  .top-cards { gap: 14px; }
  .news-item { grid-template-columns: 100px 1fr; }
  .news-thumb { width: 100px; height: 72px; }
  .article-header h1 { font-size: 1.7rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .main-nav-inner { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }

  .sticky-logo { font-size: 1rem; }
  .sticky-nav a { font-size: 9px; letter-spacing: 0.03em; }
  .sticky-nav .nav-sep { padding: 0 4px; font-size: 10px; }
}
