/* ============ HEADER / NAV ============ */
.news-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* VIDEO */
.news-video {
  position: absolute;
  top: -16px;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scaleY(-1);
  object-fit: cover;
  z-index: 1;
}

/* OVERLAY */
.news-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* CONTENT */
.news-hero .container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  max-width: 850px;
  margin-top: 120px;
}


.hero-content h1 {
  font-size: 64px;
  line-height: 1.05;
  font-weight: 600;
  color: rgba(41, 37, 36, 1);
  margin-bottom: 20px;
}

.hero-content h1 span {
  font-style: italic;
  font-weight: 400;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.hero-content p {
  max-width: 700px;
  line-height: 1.2;
  color: #4F4F4F;
  font-size: 16px;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.hero-band .wrap {
  position: relative;
  z-index: 2;
}

nav .caret {
  font-size: 10px;
  transition: transform 0.15s ease;
}

.strip {
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 16px;
  width: fit-content;
  margin-bottom: 10px;
}

.strip>span {
  white-space: nowrap;
}

.strip .tag {
  background: #000000;
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 12px;
  letter-spacing: 0.02em;
  margin-right: 10px;
}

.strip .read-more {
  font-weight: 600;
  color: #f25532;
  white-space: nowrap;
  font-size: 14px;
}


/* ============ ANNOUNCEMENTS LISTING PAGE ============ */
.section {
  padding: 24px 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-head h2 {
  font-size: 32px;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section-head .filters {
  display: flex;
  gap: 8px;
  white-space: nowrap;
}

.announcements-container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
}

.filters button {
  border: 1px solid #e2e8f0;
  background: #ffffff;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 13px;
  color: #4a5565;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

.filters button:hover {
  border-color: #07142b;
  color: #07142b;
}

.filters button.active {
  background: #07142b;
  color: #ffffff !important;
  border-color: #07142b;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(7, 20, 43, 0.15);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;

}

.card .card-img {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  overflow: hidden;
}

.card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

@keyframes glowIn {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }

  50% {
    opacity: 1.2;
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-img {
  height: 150px;
  background: linear-gradient(135deg, var(--grad-blue), var(--grad-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: transform 0.5s ease;
}

.card-img-wrapper {
  overflow: hidden;
  height: 150px;
}

.card-tag {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  display: block;
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-size: 18px;
  line-height: 1.4;
  margin: 0 0 12px;
  font-weight: 700;
}

.card-meta {
  font-size: 12px;
  color: var(--muted);
}

/* ============ ANNOUNCEMENT DETAIL PAGE ============ */
.detail {
  padding: 10px 0 40px 0px;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  display: none;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.detail-content {}

.detail .breadcrumb {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 18px;
}

.detail .breadcrumb a {
  color: #f25532;
  font-weight: 600;
  cursor: pointer;
}

.detail-tag {
  display: inline-block;
  background: #f3e9fb;
  color: #f25532;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 14px;
  margin-bottom: 16px;
}

.detail h1 {
  font-size: 40px;
  line-height: 1.25;
  margin: 0 0 16px 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.detail .byline {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 15px;
}

.detail-content h3 {
  margin-top: 32px;
  margin-bottom: 16px;
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
}

.detail .featured-img {
  height: 450px;
  margin: 0 auto 32px auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg,
      var(--grad-blue),
      var(--grad-purple),
      var(--grad-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.detail .caption {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}

.detail p.body-text {
  font-size: 16px;
  line-height: 1.7;
  color: #4a5565;
  margin-bottom: 24px;
}

.detail ul.body-text,
.detail ol.body-text {
  font-size: 16px;
  line-height: 1.7;
  color: #4a5565;
  margin-bottom: 24px;

}

.detail ul.body-text li,
.detail ol.body-text li {
  margin-bottom: 12px;
}

.premium-quote-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #eef0f3;
  border-radius: 16px;
  padding: 16px 32px;
  margin: 35px 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.02);
  overflow: hidden;
}

.premium-quote-content {
  position: relative;
  z-index: 1;
}

.premium-quote-content p {
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: #191c1e;
  margin: 0 0 32px 0;
}

.premium-quote-author {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid #eef0f3;
  padding-top: 20px;
}

.premium-quote-author-info {
  display: flex;
  flex-direction: column;
}

.premium-quote-name {
  font-size: 16px;
  font-weight: 700;
  color: #191c1e;
  margin-bottom: 4px;
}

.premium-quote-title {
  font-size: 14px;
  color: #6b6b6b;
  font-weight: 500;
}



/* Logos and Share */
.logo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
  margin: 24px 0 16px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.marks {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.logo-mark {
  border: 1px solid #e7e5e5;
  background: #fff;
  border-radius: 8px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #191c1e;
  font-weight: 700;
  height: 44px;
}

.logo-mark small {
  font-weight: 400;
  color: #4a5565;
  margin-left: 6px;
  font-size: 12.5px;
}

.logo-mark img {
  height: 24px;
  width: auto;
}

.logo-plus {
  color: #9ca3af;
  font-size: 18px;
  font-weight: 300;
}

.share-btn {
  border: 1px solid #e7e5e5;
  background: #fff;
  border-radius: 24px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #191c1e;
  cursor: pointer;
  transition: box-shadow 0.3s;
  height: 40px;
}

.share-btn:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.footer-meta {
  font-size: 12.5px;
  color: var(--muted);
}



/* Tabs */
.tabs-container {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.tab-btn {
  border: 1px solid #e7e5e5;
  background: #ffffff;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 6px;
  color: #434656;
  font-size: 14px;
  font-weight: 500;
  box-shadow:
    0px 4px 6px -4px #0000001a,
    0px 10px 15px -3px #0000001a;
  transition: 0.3s;
}

.tab-btn:hover:not(.active) {
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

/* Case Study Styles */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.cs-card {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s;
  border: 1px solid #f3f4f6;
}

.cs-card:hover {
  box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px;
}

.cs-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: #191c1e;
}

.cs-card p {
  color: #4a5565;
  line-height: 1.5;
  font-size: 14.5px;
  font-weight: 400;
  margin: 0;
}

.cs-summary-bar {
  background: #f8fafc;
  color: #191c1e;
  border-radius: 16px;
  padding: 24px 32px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 32px;
  border-left: 5px solid #f25532;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.cs-callout {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
  border-left: 4px solid #f25532;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.cs-callout .k {
  font-weight: 700;
  color: #f25532;
  font-size: 13px;
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cs-timeline {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
  overflow-x: auto;
  padding-bottom: 16px;
}

.cs-tl-step {
  flex: 1;
  min-width: 150px;
  position: relative;
  padding-right: 20px;
}

.cs-tl-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 36px;
  right: 0;
  height: 2px;
  background: #e5e7eb;
}

.cs-tl-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
  background: #f25532;
  box-shadow: 0 0 0 4px #fff;
}

.cs-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.cs-split .box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.cs-split h3 {
  font-size: 15px;
  color: #f25532;
  margin: 0 0 16px;
  font-weight: 700;
  margin-top: 0;
  letter-spacing: 0.5px;
}

.cs-agent-row {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid #e5e7eb;
}

.cs-agent-row:last-child {
  border-bottom: none;
}

.cs-agent-tag {
  flex: 0 0 180px;
  font-size: 15px;
  font-weight: 600;
  color: #f25532;
}

/* Media Queries */

/* Tablet Viewport: 768px to 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
  .news-hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero-content {
    margin-top: 60px;
  }

  .hero-content h1 {
    font-size: 44px;
    line-height: 1.15;
  }

  .hero-content p {
    font-size: 15px;
    line-height: 1.6;
  }

  .card-grid,
  .cs-grid,
  .cs-split {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .detail h1 {
    font-size: 34px;
  }

  .detail .featured-img {
    height: 320px;
  }

  .premium-quote-card {
    padding: 20px 24px;
  }

  .premium-quote-content p {
    font-size: 18px;
  }

  .cs-timeline {
    flex-direction: column;
    gap: 24px;
  }

  .cs-tl-step:not(:last-child)::after {
    display: none;
  }

  .cs-agent-row {
    flex-direction: column;
    gap: 8px;
  }

  .cs-agent-tag {
    flex: none;
    width: 100%;
  }
}

/* Mobile Large Viewport: 480px to 767px */
@media (min-width: 480px) and (max-width: 767px) {
  .news-hero {
    min-height: auto;
    padding: 100px 0 50px;
  }

  .hero-content {
    margin-top: 40px;
  }

  .hero-content h1 {
    font-size: 34px;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 14px;
    line-height: 1.6;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
    justify-content: center;
  }

  .strip {
    white-space: normal;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
  }

  .strip>span {
    white-space: normal;
    font-size: 13px;
    line-height: 1.4;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .section-head h2 {
    font-size: 26px;
  }

  .filters {
    flex-wrap: wrap;
    width: 100%;
    gap: 8px;
  }

  .filters button {
    flex: 1;
    min-width: calc(50% - 6px);
    text-align: center;
  }

  .card-grid,
  .cs-grid,
  .cs-split {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .detail h1 {
    font-size: 28px;
    line-height: 1.25;
  }

  .detail .featured-img {
    height: 240px;
  }

  .premium-quote-card {
    padding: 18px 20px;
  }

  .premium-quote-content p {
    font-size: 16px;
    line-height: 1.5;
  }

  .cs-timeline {
    flex-direction: column;
    gap: 20px;
  }

  .cs-tl-step:not(:last-child)::after {
    display: none;
  }

  .cs-agent-row {
    flex-direction: column;
    gap: 8px;
  }

  .cs-agent-tag {
    flex: none;
    width: 100%;
  }

  .logo-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .tabs-container {
    flex-direction: column;
    width: 100%;
  }

  .tab-btn {
    width: 100%;
    text-align: center;
  }
}

/* Small Mobile Viewport: 320px to 479px */
@media (min-width: 320px) and (max-width: 479px) {
  .news-hero {
    min-height: auto;
    padding: 85px 0 40px;
  }

  .hero-content {
    margin-top: 24px;
  }

  .hero-content h1 {
    font-size: 26px;
    line-height: 1.25;
  }

  .hero-content p {
    font-size: 13px;
    line-height: 1.55;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
    justify-content: center;
    font-size: 13px;
  }

  .strip {
    white-space: normal;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
  }

  .strip>span {
    white-space: normal;
    font-size: 12px;
    line-height: 1.4;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .section-head h2 {
    font-size: 22px;
  }

  .filters button {
    width: 100%;
    text-align: center;
    padding: 8px 12px;
    font-size: 12.5px;
  }

  .card-grid,
  .cs-grid,
  .cs-split {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .detail h1 {
    font-size: 22px;
    line-height: 1.3;
  }

  .detail .featured-img {
    height: 180px;
  }

  .detail p.body-text,
  .detail ul.body-text,
  .detail ol.body-text {
    font-size: 14px;
    line-height: 1.6;
  }

  .premium-quote-card {
    padding: 14px;
  }

  .premium-quote-content p {
    font-size: 14.5px;
    line-height: 1.45;
  }

  .cs-summary-bar,
  .cs-callout,
  .cs-split .box {
    padding: 16px 14px;
  }

  .cs-timeline {
    flex-direction: column;
    gap: 16px;
  }

  .cs-tl-step:not(:last-child)::after {
    display: none;
  }

  .cs-agent-row {
    flex-direction: column;
    gap: 6px;
  }

  .cs-agent-tag {
    flex: none;
    width: 100%;
  }

  .logo-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .tabs-container {
    flex-direction: column;
    width: 100%;
    gap: 6px;
  }

  .tab-btn {
    width: 100%;
    text-align: center;
    padding: 8px 12px;
    font-size: 12.5px;
  }
}
