/**
 * WPP Base Theme — Component Styles
 *
 * Hero, banners, spotlight, news, announcements, art & culture,
 * sidebar, footer, and all card types.
 *
 * All colors and font families reference CSS custom properties
 * from site-config.json. No hardcoded colors or font families.
 */

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero-section {
  padding: 30px 0;
  background: var(--white);
}
.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}
.hero-main-image {
  width: 100%;
  height: 340px;
  background: linear-gradient(135deg, #1a3a5c 0%, #2a5a8c 40%, #3a7abd 100%);
  position: relative;
  overflow: hidden;
}
.hero-main-image::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(transparent, rgba(0,0,0,0.3));
}
.hero-main-image .img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 14px;
}
.hero-credit {
  font-size: 10px;
  color: var(--gray-text);
  margin-top: 4px;
}
.hero-main h2 {
  font-family: var(--font-condensed);
  font-size: 36px;
  font-weight: 700;
  color: var(--dark-navy);
  margin-top: 14px;
  line-height: 1.2;
}
.hero-main h2 a { color: inherit; }
.hero-main h2 a:hover { color: var(--blue); }
.hero-main .meta {
  font-size: 13px;
  color: var(--gray-text);
  margin-top: 8px;
}
.hero-main .excerpt {
  font-size: 16px;
  color: #444;
  margin-top: 10px;
  line-height: 1.6;
}

/* -- Hero Sidebar stories -- */
.hero-sidebar { display: flex; flex-direction: column; gap: 16px; }
.sidebar-story {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-border);
}
.sidebar-story:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-thumb {
  width: 100px; height: 68px;
  background: #ccc;
  flex-shrink: 0;
}
.hero-more-btn {
  display: block;
  text-align: center;
  padding: 12px 32px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  background: #fff;
  border: 2px solid var(--navy);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 8px;
  align-self: flex-end;
}
.hero-more-btn:hover { background: var(--navy); color: #fff; }

/* Placeholder gradient backgrounds for sidebar thumbnails */
.sidebar-thumb.t1 { background: linear-gradient(135deg, #8ba, #4a7); }
.sidebar-thumb.t2 { background: linear-gradient(135deg, #7aa, #49b); }
.sidebar-thumb.t3 { background: linear-gradient(135deg, #ab8, #6a5); }
.sidebar-thumb.t4 { background: linear-gradient(135deg, #a8b, #74a); }

.sidebar-story h4 {
  font-family: var(--font-condensed);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-navy);
  line-height: 1.3;
}
.sidebar-story h4:hover { color: var(--blue); }

/* ================================================================
   GENERAL ASSEMBLY / CTA BANNER
   ================================================================ */
.ga-banner {
  background: var(--navy);
  padding: 30px 0;
  margin: 10px 0;
}
.ga-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
  align-items: center;
}
.ga-tags {
  display: flex; gap: 8px; margin-bottom: 12px;
}
.ga-tag {
  background: var(--yellow);
  color: var(--dark-navy);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ga-banner h2 {
  font-family: var(--font-condensed);
  font-size: 34px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.ga-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.5;
}
.ga-btns { display: flex; gap: 12px; }
.ga-btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  border-radius: 3px;
}
.ga-btn.primary { background: var(--blue); color: #fff; }
.ga-btn.secondary { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.5); }
.ga-image {
  width: 100%; height: 180px;
  background: linear-gradient(135deg, #2a4a6c, #4a7aac);
  border-radius: 4px;
}

/* ================================================================
   AD BANNER
   ================================================================ */
.ad-banner {
  padding: 20px 0;
  text-align: center;
}
.ad-placeholder {
  width: 100%;
  height: 90px;
  background: linear-gradient(90deg, #e85d26, #d4451a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ================================================================
   SPOTLIGHT SECTION
   ================================================================ */
.spotlight-section {
  background: var(--gray-bg);
  padding: 40px 0;
}
.section-title {
  font-family: var(--font-condensed);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.spotlight-img {
  width: 100%; height: 200px;
  background: #bbb;
}
/* Placeholder gradient backgrounds for spotlight cards */
.spotlight-img.s1 { background: linear-gradient(135deg, #556, #889); }
.spotlight-img.s2 { background: linear-gradient(135deg, #664, #997); }
.spotlight-img.s3 { background: linear-gradient(135deg, #466, #799); }
.spotlight-card h3 {
  font-family: var(--font-condensed);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-navy);
  margin-top: 12px;
  line-height: 1.3;
}
.spotlight-card p {
  font-size: 14px;
  color: var(--gray-text);
  margin-top: 8px;
  line-height: 1.5;
}

/* ================================================================
   SPONSOR BANNER
   ================================================================ */
.sponsor-banner {
  padding: 20px 0;
  text-align: center;
}
.sponsor-placeholder {
  width: 100%;
  height: 80px;
  background: var(--light-blue);
  border: 1px solid var(--gray-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-text);
  font-size: 12px;
  font-weight: 600;
}

/* ================================================================
   NEWS SECTION
   ================================================================ */
.news-section {
  padding: 40px 0;
}
.news-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}

/* -- News Tabs -- */
.news-tabs {
  display: flex;
  border-bottom: 3px solid var(--navy);
  margin-bottom: 24px;
}
.news-tab {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-text);
  cursor: pointer;
  border: 1px solid var(--gray-border);
  border-bottom: none;
  background: var(--gray-bg);
  margin-right: 4px;
}
.news-tab.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* -- News Items -- */
.news-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-border);
}
.news-item:first-child { padding-top: 0; }
.news-thumb {
  width: 160px; height: 105px;
  background: #ccc;
  flex-shrink: 0;
}
/* Placeholder gradient backgrounds for news thumbnails */
.news-thumb.n1 { background: linear-gradient(135deg, #3a6, #285); }
.news-thumb.n2 { background: linear-gradient(135deg, #666, #888); }
.news-thumb.n3 { background: linear-gradient(135deg, #557, #779); }
.news-thumb.n4 { background: linear-gradient(135deg, #a86, #875); }
.news-thumb.n5 { background: linear-gradient(135deg, #6a8, #497); }
.news-thumb.n6 { background: linear-gradient(135deg, #876, #654); }
.news-thumb.n7 { background: linear-gradient(135deg, #567, #789); }

.news-category {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.news-content h3 {
  font-family: var(--font-condensed);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-navy);
  line-height: 1.25;
  margin-bottom: 6px;
}
.news-content h3 a { color: inherit; }
.news-content h3 a:hover { color: var(--blue); }
.news-content h3:hover { color: var(--blue); }
.news-meta {
  font-size: 13px;
  color: var(--gray-text);
  margin-bottom: 8px;
}
.news-excerpt {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
}
.news-links {
  margin-top: 8px;
  display: flex; gap: 8px;
}
.news-link {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  padding: 3px 10px;
  border: 1px solid var(--blue);
}

.load-more {
  display: block;
  margin: 24px auto 0;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  background: #fff;
  border: 2px solid var(--navy);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ================================================================
   NEWS SIDEBAR
   ================================================================ */
.sidebar-box {
  background: var(--navy);
  color: #fff;
  margin-bottom: 24px;
  text-align: center;
  overflow: hidden;
}
.sidebar-box-image {
  width: 100%;
  height: 100px;
  background-size: cover;
  background-position: center;
}
.sidebar-box-image-default {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar-box-label {
  font-family: var(--font-condensed);
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.2;
}
.sidebar-box-content {
  padding: 20px;
}
.sidebar-box h3 {
  font-family: var(--font-condensed);
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 8px;
}
.sidebar-box p {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 14px;
  line-height: 1.5;
}
.sidebar-box .btn-subscribe {
  background: var(--yellow);
  color: var(--dark-navy);
  border: none;
  padding: 8px 24px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}
.sidebar-newsletter {
  border: 1px solid var(--gray-border);
  padding: 20px;
  margin-bottom: 24px;
  text-align: center;
}
.sidebar-newsletter h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 10px;
}
.sidebar-newsletter input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--gray-border);
  font-size: 13px;
  margin-bottom: 10px;
}
.sidebar-newsletter button {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 8px 24px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  width: 100%;
}
.sidebar-ad {
  width: 100%;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  margin-bottom: 24px;
  overflow: hidden;
}
.sidebar-ad img { width: 100%; height: auto; }
.sidebar-ad span {
  display: flex;
  width: 100%;
  height: 250px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), #1a4a7a);
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.sidebar-promo {
  background: var(--gray-bg);
  padding: 16px;
  margin-bottom: 24px;
}
.sidebar-promo h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.sidebar-promo-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.sidebar-promo-thumb {
  width: 80px; height: 55px;
  background: #bbb;
}
/* Placeholder gradient backgrounds for sidebar promo thumbnails */
.sidebar-promo-thumb.sp1 { background: linear-gradient(135deg, #a87, #876); }
.sidebar-promo-thumb.sp2 { background: linear-gradient(135deg, #7a8, #698); }

.sidebar-promo-item h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-navy);
  line-height: 1.3;
}

/* ================================================================
   WATCH THE LATEST (sidebar)
   ================================================================ */
.watch-section {
  margin-bottom: 24px;
}
.watch-section h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--navy);
}
.watch-item {
  margin-bottom: 12px;
}
.watch-thumb {
  width: 100%; height: 160px;
  background: linear-gradient(135deg, #334, #556);
  position: relative;
}
.watch-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 50px; height: 50px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.watch-play::after {
  content: '';
  width: 0; height: 0;
  border-left: 16px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
}
.watch-item h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-navy);
  margin-top: 8px;
}

/* ================================================================
   ANNOUNCEMENTS SECTION
   ================================================================ */
.announcements-section {
  background: var(--navy);
  padding: 40px 0;
}
.announcements-section .section-title {
  color: #fff;
}
.announcements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.announcement-card {
  background: var(--white);
  overflow: hidden;
}
.announcement-img {
  width: 100%; height: 140px;
  background: #bbb;
}
/* Placeholder gradient backgrounds for announcement cards */
.announcement-img.a1 { background: linear-gradient(135deg, #5a8, #397); }
.announcement-img.a2 { background: linear-gradient(135deg, #87a, #659); }
.announcement-img.a3 { background: linear-gradient(135deg, #a75, #864); }
.announcement-img.a4 { background: linear-gradient(135deg, #579, #468); }

.announcement-card .card-body {
  padding: 14px;
}
.announcement-card h4 {
  font-family: var(--font-condensed);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-navy);
  line-height: 1.3;
}
.announcement-card .meta {
  font-size: 12px;
  color: var(--gray-text);
  margin-top: 6px;
}
.more-announcements {
  display: block;
  margin: 0 auto;
  padding: 12px 32px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ================================================================
   EXHIBIT / ART EXHIBITION BANNER
   ================================================================ */
.exhibit-banner {
  padding: 30px 0;
  text-align: center;
}
.exhibit-img {
  width: 100%;
  max-width: 800px;
  height: 180px;
  margin: 0 auto;
  background: linear-gradient(90deg, #d4451a, #e85d26, #f0a020);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-condensed);
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ================================================================
   ART & CULTURE SECTION
   ================================================================ */
.art-section {
  background: var(--dark-navy);
  padding: 40px 0;
}
.art-section .section-title {
  color: var(--yellow);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.art-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.art-main-img {
  width: 100%; height: 280px;
  background: linear-gradient(135deg, #a87, #765);
}
.art-main h3 {
  font-family: var(--font-condensed);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-top: 14px;
  line-height: 1.25;
}
.art-main h3 a { color: #fff; }
.art-main h3 a:hover { color: var(--blue); }
.art-main p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  margin-top: 10px;
  line-height: 1.6;
}
.art-sidebar-items { display: flex; flex-direction: column; gap: 16px; }
.art-side-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.art-side-thumb {
  width: 120px; height: 80px;
  background: #667;
}
/* Placeholder gradient backgrounds for art side thumbnails */
.art-side-thumb.at1 { background: linear-gradient(135deg, #789, #567); }
.art-side-thumb.at2 { background: linear-gradient(135deg, #897, #675); }
.art-side-thumb.at3 { background: linear-gradient(135deg, #978, #756); }

.art-side-item .art-cat {
  font-size: 11px;
  color: var(--yellow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.art-side-item h4 {
  font-family: var(--font-condensed);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-top: 4px;
}
.art-side-item h4 a { color: #fff; }
.art-side-item h4 a:hover { color: var(--blue); }
.art-side-item p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  line-height: 1.4;
}

.art-media-links { margin-top: 6px; display: flex; gap: 8px; }
.art-media-link {
  font-size: 10px;
  font-weight: 700;
  color: var(--blue);
  padding: 2px 8px;
  border: 1px solid var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.art-media-link:hover { background: var(--blue); color: #fff; }

.more-stories {
  display: block;
  margin: 24px auto 0;
  padding: 10px 28px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--dark-navy);
  padding: 40px 0 20px;
  color: rgba(255,255,255,0.7);
  border-top: 4px solid var(--blue);
}
.footer-top {
  display: grid;
  grid-template-columns: 220px 1fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-logo {
  display: block;
  margin-bottom: 8px;
}
.footer-logo img {
  height: 50px;
  width: auto;
}
.footer-logo-badges {
  display: flex; gap: 6px; margin-bottom: 12px;
}
.footer-logo-badge {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 2px;
  color: #fff;
}
.footer-logo-badge.r { background: var(--red); }
.footer-logo-badge.g { background: #5b8c2a; }
.footer-social {
  display: flex; gap: 8px; margin-top: 12px;
}
.footer-social a {
  width: 30px; height: 30px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 13px;
}
.footer-address {
  font-size: 11px;
  line-height: 1.6;
  margin-top: 12px;
  color: rgba(255,255,255,0.5);
}
.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.newsletter-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark-navy);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.footer-bottom {
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.helpdesk {
  display: flex; align-items: center; gap: 6px;
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
