/* ==========================================================================
   SurGeo Global - News & Media Styles
   Matching Figma: News & Media Frame
   ========================================================================== */

/* Dark Hero Banner */
.sg-news-banner {
  background-color: #0d1021 !important;
  padding: 60px 20px 45px;
  position: relative;
  text-align: left;
}
.sg-news-banner .sg-cs-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.sg-news-banner .sg-single-breadcrumb {
  margin-bottom: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 6px;
}
.sg-news-banner .sg-single-breadcrumb a {
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}
.sg-news-banner .sg-single-breadcrumb a:hover {
  color: #a6ffe3 !important;
}
.sg-news-banner .sg-single-breadcrumb .sg-sep {
  color: rgba(255, 255, 255, 0.35);
  margin: 0 4px;
}
.sg-news-banner .sg-single-breadcrumb .sg-current {
  color: #a6ffe3;
  font-weight: 600;
}
.sg-news-banner .banner_badge span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #a6ffe3 !important;
  border-radius: 100px;
  padding: 5px 14px 5px 26px;
  font-size: 12px;
  font-weight: 700;
  display: inline-block;
  position: relative;
}
.sg-news-banner .banner_badge span:before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  background: #a6ffe3;
  border-radius: 50%;
}
.sg-news-banner .sg-cs-banner-title {
  font-size: 64px;
  font-weight: 900;
  color: #ffffff !important;
  margin: 18px 0 14px 0;
  line-height: 1.1;
  letter-spacing: -1.5px;
}
.sg-news-banner .sg-cs-banner-title mark {
  color: #a6ffe3;
  background: none;
}
.sg-news-banner .sg-cs-banner-desc {
  max-width: 680px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 24px 0;
}
.sg-news-banner .sg-cs-banner-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.sg-news-banner .sg-cs-stat-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.9);
}

/* Subnav Bar */
.sg-news-subnav-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 40;
}
.sg-news-subnav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}
.sg-news-subnav-inner::-webkit-scrollbar {
  display: none;
}
.sg-news-subnav-link {
  display: inline-block;
  padding: 16px 0;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}
.sg-news-subnav-link:hover {
  color: #0d1021;
}
.sg-news-subnav-link.is-active {
  color: #0052cc;
  border-bottom-color: #0052cc;
}

/* Announcements Archive Container */
.sg-news-page-wrap {
  background: #f8fafc;
  padding: 48px 20px 80px;
}
.sg-news-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Section Header */
.sg-announcements-section-head {
  margin-bottom: 28px;
}
.sg-announcements-title {
  font-size: 32px;
  font-weight: 800;
  color: #0d1021;
  letter-spacing: -0.6px;
  margin: 0 0 16px 0;
}
.sg-announcements-title mark {
  color: #0052cc;
  background: none;
}

/* Category Pill Filters Bar */
.sg-news-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}
.sg-news-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sg-news-pill {
  appearance: none;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.sg-news-pill:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0d1021;
}
.sg-news-pill.is-active {
  background: #0d1021;
  color: #ffffff;
  border-color: #0d1021;
}
.sg-news-pill-count {
  font-size: 11px;
  opacity: 0.8;
}
.sg-news-results-count {
  font-size: 13.5px;
  font-weight: 600;
  color: #64748b;
}

/* Announcements List & Cards */
.sg-announcements-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 60px;
}
.sg-announcement-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 160px 1fr 220px;
  gap: 32px;
  align-items: center;
  box-shadow: 0 4px 16px rgba(13, 16, 33, 0.03);
  transition: all 0.25s ease;
}
.sg-announcement-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 30px rgba(13, 16, 33, 0.08);
  transform: translateY(-2px);
}

/* Card Left: Pill & Date */
.sg-ann-left-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sg-ann-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  width: fit-content;
}
.sg-ann-badge-green {
  background: #e6f9f0;
  color: #00875a;
  border: 1px solid #b3f0d3;
}
.sg-ann-badge-blue {
  background: #e8f0fe;
  color: #0052cc;
  border: 1px solid #c2dbff;
}
.sg-ann-badge-purple {
  background: #f3e8ff;
  color: #6b21a8;
  border: 1px solid #e9d5ff;
}
.sg-ann-badge-orange {
  background: #fff4e5;
  color: #b76e00;
  border: 1px solid #ffe2b3;
}
.sg-ann-date {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

/* Card Middle: Content */
.sg-ann-mid-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sg-ann-title {
  font-size: 18.5px;
  font-weight: 700;
  color: #0d1021;
  line-height: 1.35;
  margin: 0;
}
.sg-ann-title a {
  color: #0d1021;
  text-decoration: none;
  transition: color 0.2s ease;
}
.sg-ann-title a:hover {
  color: #0052cc;
}
.sg-ann-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sg-ann-readbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #0052cc;
  text-decoration: none;
  margin-top: 4px;
  transition: gap 0.2s ease;
}
.sg-ann-readbtn:hover {
  gap: 10px;
  color: #003d99;
}

/* Card Right: Thumbnail */
.sg-ann-thumb-col {
  width: 220px;
  height: 130px;
  border-radius: 10px;
  overflow: hidden;
  background: #e2e8f0;
  flex-shrink: 0;
}
.sg-ann-thumb-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.sg-announcement-card:hover .sg-ann-thumb-col img {
  transform: scale(1.05);
}

/* Media Resources Section */
.sg-media-resources-section {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid #e2e8f0;
}
.sg-media-resources-heading {
  font-size: 32px;
  font-weight: 800;
  color: #0d1021;
  letter-spacing: -0.6px;
  margin: 0 0 32px 0;
}
.sg-media-resources-heading mark {
  color: #0052cc;
  background: none;
}
.sg-resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.sg-resource-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(13, 16, 33, 0.03);
}
.sg-res-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.sg-res-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f0f7ff;
  color: #0052cc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sg-res-title {
  font-size: 18px;
  font-weight: 800;
  color: #0d1021;
  margin: 0;
}
.sg-res-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 20px 0;
}
.sg-res-quote-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 20px;
}
.sg-btn-copy-boilerplate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0d1021;
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}
.sg-btn-copy-boilerplate:hover {
  background: #1e293b;
}

/* Resource List Links */
.sg-res-file-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sg-res-file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13.5px;
}
.sg-res-file-name {
  font-weight: 600;
  color: #1e293b;
}
.sg-res-file-link {
  color: #0052cc;
  text-decoration: none;
  font-weight: 700;
  font-size: 12.5px;
}
.sg-res-file-link:hover {
  text-decoration: underline;
}

/* Press Inquiries Box */
.sg-press-contact-box {
  background: #0d1021;
  border-radius: 10px;
  padding: 20px;
  color: #ffffff;
  margin-bottom: 20px;
}
.sg-press-contact-line {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}
.sg-press-contact-line strong {
  color: #a6ffe3;
}
.sg-btn-email-press {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0052cc;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s ease;
}
.sg-btn-email-press:hover {
  background: #003d99;
}

/* Bottom CTA Banner */
.sg-news-cta-banner {
  background: linear-gradient(135deg, #0d1021 0%, #151b3b 100%);
  border-radius: 16px;
  padding: 56px 40px;
  text-align: center;
  color: #ffffff;
  margin-top: 60px;
}
.sg-news-cta-title {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 14px 0;
}
.sg-news-cta-title mark {
  color: #a6ffe3;
  background: none;
}
.sg-news-cta-desc {
  max-width: 580px;
  margin: 0 auto 28px;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}
.sg-news-cta-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.sg-btn-cta-primary {
  background: #a6ffe3;
  color: #0d1021;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.sg-btn-cta-primary:hover {
  background: #84ffd6;
  transform: translateY(-2px);
}
.sg-btn-cta-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.sg-btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* ==========================================================================
   Single Announcement Page Styles
   ========================================================================== */
.sg-single-announcement-page {
  background: #f8fafc;
}
.sg-single-ann-banner {
  padding: 50px 20px 42px;
}
.sg-single-ann-title {
  font-size: 42px;
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin: 14px 0 18px 0;
  max-width: 950px;
}
.sg-single-ann-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.75);
}
.sg-single-ann-meta-bar .sg-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.sg-single-ann-meta-bar .sg-meta-item svg {
  stroke: #a6ffe3;
}
.sg-single-ann-meta-bar .sg-meta-sep {
  color: rgba(255, 255, 255, 0.35);
}

/* Single Announcement Main Layout */
.sg-single-ann-container {
  background: #f8fafc;
  padding: 48px 20px 80px;
}
.sg-single-ann-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
}
.sg-single-ann-main {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 40px 48px;
  box-shadow: 0 4px 20px rgba(13, 16, 33, 0.04);
}
.sg-single-ann-featured {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 36px;
  background: #0d1021;
  box-shadow: 0 8px 24px rgba(13, 16, 33, 0.08);
  border: 1px solid #e2e8f0;
}
.sg-single-ann-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
}
.sg-single-ann-lead {
  font-size: 19px;
  line-height: 1.65;
  color: #0d1021;
  font-weight: 500;
  background: #f0f7ff;
  border-left: 4px solid #0052cc;
  padding: 18px 24px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 32px;
}
.sg-single-ann-lead p {
  margin: 0;
}
.sg-single-ann-content.entry-content {
  font-size: 16.5px;
  line-height: 1.85;
  color: #334155;
}
.sg-single-ann-content h2 {
  font-size: 26px;
  font-weight: 800;
  color: #0d1021;
  margin: 40px 0 16px 0;
  letter-spacing: -0.5px;
}
.sg-single-ann-content h3 {
  font-size: 21px;
  font-weight: 700;
  color: #0d1021;
  margin: 32px 0 12px 0;
}
.sg-single-ann-content p {
  margin: 0 0 22px 0;
}
.sg-single-ann-content ul,
.sg-single-ann-content ol {
  margin: 0 0 24px 0;
  padding-left: 24px;
}
.sg-single-ann-content li {
  margin-bottom: 10px;
  line-height: 1.75;
}

/* Boilerplate Box on Single Announcement */
.sg-ann-boilerplate-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px 28px;
  margin: 36px 0;
}
.sg-ann-bp-title {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #0d1021;
  margin: 0 0 10px 0;
}
.sg-ann-bp-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 16px 0;
}

/* Footer toolbar */
.sg-ann-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 32px;
  margin-top: 40px;
  border-top: 1px solid #e2e8f0;
}

/* Related Announcements section */
.sg-ann-related-section {
  background: #ffffff;
  padding: 70px 20px;
  border-top: 1px solid #e2e8f0;
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .sg-announcement-card {
    grid-template-columns: 140px 1fr 180px;
    gap: 20px;
    padding: 22px;
  }
  .sg-single-ann-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sg-resources-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sg-announcement-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }
  .sg-ann-thumb-col {
    width: 100%;
    height: 180px;
    order: -1;
  }
  .sg-single-ann-title {
    font-size: 28px;
  }
  .sg-single-ann-main {
    padding: 24px 20px;
  }
}
