/* ============================================================
   COMMON UTILITY CLASSES
   ============================================================ */

.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}

.section-label-line {
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: #f16522;
}

.section-label-text {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F16522;
}

/* Section Title Large */
.section-title-lg {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 48px;
  font-style: italic;
  line-height: 1.15;
  color: #231f20;
  margin-bottom: 0;
}
h2.section-title-lg.impact-engagements-title.mb-4 {
  padding-bottom: 13px !important;
}
.section-title-lg em {
  font-style: italic;
  color: #f16522;
}

.section-desc {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #6b7280;
}

/* Primary Button */
.primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #f16522;
  color: #ffffff;
  padding: 14px 32px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition:
    background-color 0.2s,
    transform 0.2s;
}

.primary-btn:hover {
  background-color: #d4561a;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
}

.primary-btn:active {
  transform: translateY(0);
}

.primary-btn i {
  font-size: 12px;
}

/* Outline Button */
.outline-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  color: #231f20;
  padding: 14px 32px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.outline-btn:hover {
  background-color: #f9f9f9;
  border-color: #f16522;
  color: #f16522;
  text-decoration: none;
}

.outline-btn:active {
  transform: scale(0.98);
}

.outline-btn i {
  font-size: 12px;
}

@media (max-width: 768px) {
  .section-title-lg {
    font-size: 28px;
    margin-bottom: 0;
  }

  .primary-btn,
  .outline-btn {
    padding: 12px 24px;
    font-size: 13px;
  }
}

.education-container {
  max-width: 1920px;
  margin: 0 auto;
  padding: var(--section-pad-y) 140px;
}

@media (max-width: 1279px) {
  .education-container {
    padding: var(--section-pad-y) 80px;
  }
}

@media (max-width: 991px) {
  .education-container {
    padding: var(--section-pad-y) 40px;
  }
}

@media (max-width: 767px) {
  .education-container {
    padding: var(--section-pad-y) 24px;
  }
}

/* Hero Section */

.research-hero-breadcrumb {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  z-index: 2;
  width: min(1086px, calc(100% - 32px));
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  border-radius: 16px 16px 0 0;
}

.research-hero-breadcrumb::before,
.research-hero-breadcrumb::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.research-hero-breadcrumb::before {
  left: -16px;
  background: radial-gradient(circle at 0 0, transparent 16px, #ffffff 16.5px);
}

.research-hero-breadcrumb::after {
  right: -16px;
  background: radial-gradient(circle at 100% 0, transparent 16px, #ffffff 16.5px);
}

.research-hero-breadcrumb a,
.research-hero-current {
  font-family: "DM Sans", sans-serif;
  font-style: normal;
  font-size: 12px;
  line-height: 18px;
  color: #0d1b2a;
  text-decoration: none;
}

.research-hero-breadcrumb a {
  font-weight: 400;
}

.research-hero-breadcrumb a:hover {
  color: #f16522;
}

.research-hero-sep {
  font-size: 12px;
  line-height: 12px;
  color: #9ca3af;
}

.research-hero-current {
  font-weight: 600;
  color: #f16522;
}

/* ============================================================
   Overview Tab Styles
   ============================================================ */

.overview-desc {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #4b5563;
}

.overview-grid-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .overview-grid-img {
    height: 200px;
  }
}

/* Programme counting values (left column, under description) */
.impact-count-row {
  overflow: visible;
}

.count-card.impact-count-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-bottom: 4px solid #f16522;
  border-radius: var(--radius-card, 25px);
  box-shadow: 0 8px 24px rgba(13, 27, 42, 0.06);
  padding: 20px 22px 16px;
  text-align: left;
  height: 100%;
}

.impact-count-card .count-number {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.15;
  color: #f16522;
  margin: 0 0 6px;
}

.impact-count-card .count-label {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.45;
  color: #0d1b2a;
  margin: 0;
}

/* ============================================================
    Recent Impact Highlights
   ============================================================ */
    .hover-imgclr{
        position: relative;
        overflow: hidden;
    }
 .hover-imgclr:before{
   width: 64px;
    height: 64px;
    position: absolute;
    content: "";
    right: 0;
    background: #F47920 !important;
    clip-path: polygon(100% 0, 100% 100%, 0 0);
    background:
    linear-gradient(
        90deg,
        #1C2B4A 0%,
        rgba(0, 0, 0, 0) 30%
    ),
    linear-gradient(
        0deg,
        rgba(28, 43, 74, 0.55) 0%,
        rgba(0, 0, 0, 0) 50%
    );
}

.impact-highlights {
  background-color: #f8f7f4;
}

.impact-highlights .section-desc {
  max-width: 760px;
  margin: 0 auto;
}

/* Featured Stories wrapper sits inside another .education-container,
   so we remove nested padding to keep spacing visually consistent. */
.mep-featured-stories-section {
  background-color: transparent;
  margin-top: 30px;
}

.mep-featured-stories-section .education-container {
  padding: 0;
}

/* ============================================================
   Featured Story Cards
   ============================================================ */

.mep-featured-story-card {
  border: 1px solid #e4e7eb;
  border-radius: 0;
  background-color: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.mep-featured-story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  border-color: #d8dde3;
}

.mep-featured-story-media {
  position: relative;
  display: block;
}

.mep-featured-story-image {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.mep-featured-story-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  min-height: 18px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
}

.mep-featured-story-badge-orange {
  background-color: #f16522;
}

.mep-featured-story-badge-teal {
  background-color: #0b8ea0;
}

.mep-featured-story-badge-purple {
  background-color: #7a5ab2;
}

.mep-featured-story-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mep-featured-story-title {
  margin-bottom: 10px;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.28;
  color: #1C2B4A;
}

.mep-featured-story-text {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #6b7280;
}

@media (max-width: 1199.98px) {
  .mep-featured-stories-section {
    margin-top: 24px;
  }

  .mep-featured-story-image {
    height: 250px;
  }
}

@media (max-width: 991.98px) {
  .impact-highlights .section-desc {
    max-width: 100%;
  }

  .mep-featured-story-image {
    height: 240px;
  }
}

@media (max-width: 767.98px) {
  .mep-featured-stories-section {
    margin-top: 18px;
  }

  .mep-featured-story-image {
    height: 215px;
  }

  .mep-featured-story-body {
    padding: 12px;
  }

  .mep-featured-story-text {
    font-size: 13px;
    line-height: 1.62;
  }
}

/* ============================================================
   Browse All Engagements Section
   ============================================================ */

/* ============================================================
   Engagement Cards
   ============================================================ */
.impact-engagement-card {
    border-top: 4px solid #F16522 !important;
}
#engagements-list-container > .col-12:nth-child(1) .impact-engagement-card {
    border-top: 4px solid #F16522;
}

#engagements-list-container > .col-12:nth-child(2) .impact-engagement-card {
    border-top: 4px solid #1C2B4A;
}

#engagements-list-container > .col-12:nth-child(3) .impact-engagement-card {
    border-top: 4px solid #0D6E7A;
}

#engagements-list-container > .col-12:nth-child(4) .impact-engagement-card {
    border-top: 4px solid #0D6E7A;
}
.impact-engagement-card {
  border: 1px solid #e4e7eb;
  border-radius: 0;
  overflow: hidden;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.impact-engagement-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  border-color: #d8dde3;
}

.impact-engagement-media {
  position: relative;
  display: block;
}


.impact-engagement-date-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px 13px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.02em;
  text-align: left;
}

.impact-engagement-image {
  width: 100%;
  height: 158px;
  object-fit: cover;
  display: block;
}

.impact-engagement-badge {
  position: absolute;
  top: 9px;
  left: 9px;
  min-height: 17px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
}

.impact-engagement-badge-conference {
  background-color: #f16522;
}

.impact-engagement-badge-policy {
  background-color: #1c2b4a;
}

.impact-engagement-badge-workshop {
  background-color: #0b8ea0;
}

.impact-engagement-body {
  padding: 11px 13px 13px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.impact-engagement-meta {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  color: #9ca3af;
}

.impact-engagement-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.impact-engagement-meta i {
  font-size: 9px;
}

.impact-engagement-location {
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  color: #adb5bd;
}

.impact-engagement-location i {
  font-size: 9px;
}

.impact-engagement-location{
 font-size: 12px;
 color: #9CA3AF
}

.impact-engagement-card-title {
  margin-bottom: 9px;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  color: #1f2937;
}

.impact-engagement-text {
  margin-bottom: 12px;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  line-height: 1.68;
  color: #6b7280;
  padding-bottom: 15px;
}
.impact-engagement-readmore.impact-engagement-readmore-conference{
 border-top: 1px solid #F3F4F6;
 padding: 15px;
}

.impact-engagement-readmore {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.impact-engagement-readmore i {
  font-size: 10px;
}

.impact-engagement-readmore-conference {
  color: #f16522;
}

.impact-engagement-readmore-conference:hover {
  color: #d4561a;
}

.impact-engagement-readmore-policy {
  color: #1c2b4a;
}

.impact-engagement-readmore-policy:hover {
  color: #111827;
}

.impact-engagement-readmore-workshop {
  color: #0b8ea0;
}

.impact-engagement-readmore-workshop:hover {
  color: #087686;
}

/* ============================================================
   Engagement Footer Button (reuse outline-btn)
   ============================================================ */

.impact-engagements-footer {
  margin-top: 38px;
}

.impact-engagements-more-btn.outline-btn {
  border-color: #1c2b4a;
  color: #1c2b4a;
  background-color: #ffffff;
  min-height: 44px;
  padding: 10px 30px;
  font-size: 12px;
  font-weight: 700;
}

.impact-engagements-more-btn.outline-btn:hover {
  background-color: #1c2b4a;
  border-color: #1c2b4a;
  color: #ffffff;
}

/* ============================================================
   Browse All Engagements Responsiveness
   ============================================================ */

@media (max-width: 1199.98px) {
  .impact-engagement-image {
    height: 188px;
  }
}

@media (max-width: 991.98px) {
  .impact-engagement-image {
    height: 212px;
  }

  .impact-engagements-footer {
    margin-top: 28px;
  }
}

@media (max-width: 767.98px) {
  .impact-engagement-image {
    height: 205px;
  }

  .impact-engagement-body {
    padding: 11px;
  }

  .impact-engagement-text {
    font-size: 13px;
    line-height: 1.62;
  }

  .impact-engagements-more-btn.outline-btn {
    width: 100%;
    justify-content: center;
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ============================================================
   Impact Events Page --- Latest Events Section
   ============================================================ */

/* ============================================================
   Left Column --- Featured Event Cards
   ============================================================ */

.impact-event-feature-card {
  position: relative;
  border: 1.5px solid #dfe3e8;
  padding: 10px;
  overflow: hidden !important;
  background-color: #ffffff;
  border-radius: var(--radius-card, 25px);
  isolation: isolate;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.impact-event-feature-card::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%) rotate(0deg);
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 60deg,
    #f16522 95deg,
    #ffa370 115deg,
    #f16522 135deg,
    transparent 170deg,
    transparent 360deg
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
  animation: edgeLineRotate 4s linear infinite;
  animation-play-state: paused;
}

.impact-event-feature-card::after {
  content: "";
  position: absolute;
  inset: 1.5px;
  background-color: #ffffff;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}

.impact-event-feature-card > * {
  position: relative;
  z-index: 1;
}

.impact-event-feature-card:hover {
  border-color: transparent !important;
  box-shadow: 0 8px 24px rgba(241, 101, 34, 0.16), var(--card-hover-shadow) !important;
}

.impact-event-feature-card:hover::before {
  opacity: 1;
  animation-play-state: running;
}

@keyframes edgeLineRotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.education-container .section-title-lg {
  padding-bottom: 15px !important;
}

.impact-event-feature-image-link {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-card, 25px);
  isolation: isolate;
}

.impact-event-feature-image {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.impact-event-feature-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  min-height: 20px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  background-color: #0b8ea0;
  color: #ffffff;
  font-family: "DM Sans", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.impact-event-feature-badge--orange {
  background-color: #f16522;
}

.impact-event-feature-badge--navy {
  background-color: #1c2b4a;
}

.impact-event-feature-badge--teal {
  background-color: #0b8ea0;
}

.impact-event-feature-badge--purple {
  background-color: #7b5ea7;
}

.impact-event-feature-body {
  padding: 12px 24px 12px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.impact-event-feature-date {
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #9ca3af;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
}

.impact-event-feature-date i {
  font-size: 11px;
}

.impact-event-feature-title {
  margin-bottom: 12px;
  font-family: "Playfair Display", serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: #1f2937;
}

.impact-event-feature-text {
  margin-bottom: 20px;
  max-width: 560px;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  line-height: 1.8;
  color: #6b7280;
}

.impact-event-feature-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #f16522;
  text-decoration: none;
}

.impact-event-feature-link:hover {
  color: #d4561a;
}

.impact-event-feature-link i {
  font-size: 13px;
}

/* ============================================================
   Right Column --- Sidebar Widgets
   ============================================================ */

.impact-events-sidebar-widget {
  border: 1px solid #dfe3e8;
}

.impact-events-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #e7eaee;
}

.impact-events-sidebar-title {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
}

.impact-events-sidebar-view-all {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #f16522;
}

.impact-events-sidebar-view-all:hover {
  color: #d4561a;
}

.impact-upcoming-list {
  padding: 8px 12px 6px;
}

.impact-upcoming-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 24px;
  padding: 10px 0;
  border-bottom: 1px solid #eff2f5;
}

.impact-upcoming-item-last {
  border-bottom: 0;
}

.impact-upcoming-date-box {
  width: 46px;
  background-color: #1c2b4a;
  color: #ffffff;
  text-align: center;
  padding: 4px 2px;
  height: 49px;
  padding: 11px
}

.impact-upcoming-date-day {
  display: block;
  font-family: "Playfair", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.impact-upcoming-date-month {
  display: block;
  margin-top: 3px;
  font-family: "DM Sans", sans-serif;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  color: #F16522;
}

.impact-upcoming-type {
  margin: 0 0 3px;
  font-family: "DM Sans", sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f16522;
}

.impact-upcoming-text {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  color: #1C2B4A
}

.impact-events-newsletter {
  background-color: #1c2b4a;
  padding: 16px 14px 14px;
}

.impact-events-newsletter-icon {
  margin: 0 0 8px;
  color: #f16522;
  font-size: 15px;
  line-height: 1;
}

.impact-events-newsletter-title {
  margin: 0 0 6px;
  font-family: "Playfair Display", serif;
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
}

.impact-events-newsletter-text {
  margin-bottom: 13px;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
}

.impact-events-newsletter-form {
  display: grid;
  gap: 6px;
}

.impact-events-newsletter-input {
  width: 100%;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background-color: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  padding: 8px 10px;
}

.impact-events-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.impact-events-newsletter-input:focus {
  outline: none;
  border-color: #f16522;
}

.impact-events-newsletter-btn {
  width: 100%;
  height: 34px;
  border: 0;
  background-color: #f16522;
  color: #ffffff;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background-color 0.2s;
}

.impact-events-newsletter-btn:hover {
  background-color: #d4561a;
}

/* ============================================================
   Latest Events Responsiveness
   ============================================================ */

@media (max-width: 1199.98px) {
  .impact-event-feature-body {
    padding: 12px;
  }
}

@media (max-width: 767.98px) {
  .impact-event-feature-body {
    padding: 12px;
  }

  .impact-upcoming-list {
    padding: 8px 10px 6px;
  }
}

/* ============================================================
   Resources Page — Type Tab Filter (pixel-matched to design)
   Pattern mirrors education custom-tabs (MPH / MEP)
   ============================================================ */

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

.resources-tabs-desktop {
  display: none;
}

.resources-tabs-mobile {
  display: none;
}

@media (min-width: 1200px) {
  .resources-tabs-desktop {
    display: block;
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 1100px;
    max-width: calc(100% - 48px);
    height: 50px;
    z-index: 1000;
  }

  .resources-tabs {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    width: 1100px;
    max-width: 100%;
    height: 50px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    background: #ffffff;
    border: 0;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
  }

  .resources-tabs.nav-tabs {
    border-bottom: 0 !important;
  }

  /*
   * Same padding on every side of every label:
   * [pad]Blog[pad]|[pad]Infographic[pad]|…|[pad]Conference Proceeding[pad]
   * → left edge, dividers, and right edge all share identical spacing
   */
  .resources-tabs .nav-item {
    flex: 0 0 auto;
    display: flex;
    align-items: stretch;
    margin: 0;
    height: 100%;
    position: relative;
  }

  .resources-tabs.nav-tabs .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 100%;
    margin: 0;
    padding: 0 14px;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #f16522 !important;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    position: relative;
    white-space: nowrap;
    box-sizing: border-box;
    cursor: pointer;
  }

  .resources-tabs.nav-tabs .nav-link span {
    display: block;
    padding: 0;
    border: 0 !important;
    color: #f16522;
    line-height: 20px;
    white-space: nowrap;
  }

  /* Divider sits between equal pads of adjacent items */
  .resources-tabs .nav-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 1px;
    height: 16px;
    margin: auto 0;
    background: #e5e7eb;
    pointer-events: none;
    z-index: 1;
  }

  .resources-tabs .nav-item:not(:last-child) .nav-link::before {
    content: none;
    display: none;
  }

  .resources-tabs.nav-tabs .nav-link:hover,
  .resources-tabs.nav-tabs .nav-link:focus {
    border: 0 !important;
    color: #f16522 !important;
    background: transparent !important;
  }

  .resources-tabs.nav-tabs .nav-link.active {
    color: #f16522 !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 2px solid #f16522 !important;
    font-weight: 600;
  }

  .resources-tabs.nav-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #f16522;
    pointer-events: none;
  }
}

@media (max-width: 1199px) {
  .resources-tabs-mobile {
    display: block;
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 20px auto 0;
    padding: 0 24px;
  }

  .resources-tabs-desktop {
    display: none;
  }
}

.resources-type-select {
  display: block;
  width: 100%;
  padding: 12px 40px 12px 16px;
  background-color: #ffffff;
  border: 2px solid #f16522;
  color: #f16522;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  border-radius: 6px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23f16522' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.resources-type-select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(241, 101, 34, 0.2);
}

.resources-empty-msg {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(13, 27, 42, 0.55);
  margin: 8px 0 0;
}

.resources-tab-pane {
  display: none;
}

.resources-tab-pane.is-active {
  display: block;
}

/* Clearance for floating tab bar + triangle */
.resources-content {
  padding-top: 100px;
}

@media (max-width: 1199px) {
  .resources-content {
    padding-top: 48px;
  }
}

@media (max-width: 767px) {
  .resources-tabs-mobile {
    max-width: 100%;
    padding: 0 16px;
    margin-top: 16px;
  }

  .resources-content {
    padding-top: 40px;
  }
}

/* ============================================================
   Bangladesh Health Watch Section
   ============================================================ */

.bhw-section {
  background-color: #f9f8fa;
}

.bhw-title {
  margin-bottom: 14px;
}

.bhw-desc {
  font-size: 14px;
  line-height: 1.78;
  color: #5b6673;
  margin-bottom: 12px;
  max-width: 590px;
}

.bhw-primary-btn {
  padding: 10px 20px;
  min-height: 44px;
  font-size: 13px;
}

/* Image collage */
.bhw-collage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.bhw-collage-item {
  border: 1px solid #e4e7eb;
  overflow: hidden;
  background-color: #ffffff;
}

.bhw-collage-item-main {
  grid-column: 1 / 3;
}

.bhw-collage-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bhw-collage-item-main .bhw-collage-image {
  height: 258px;
}

.bhw-collage-item-sub .bhw-collage-image,
.bhw-collage-item-map .bhw-collage-image {
  height: 130px;
}

/* Vision / Mission / Core values */
.bhw-values-row {
  border-left: 0;
  border-right: 0;
}

.bhw-value-card {
  padding: 22px 16px 26px;
  height: 100%;
}

.bhw-value-card-middle {
  border-left: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
}
.bhw-value-card-last{
   border-right: 1px solid #e5e7eb;
}

.bhw-value-accent {
  display: inline-block;
  width: 40px;
  height: 3px;
  margin-bottom: 14px;
}

.bhw-value-accent-orange {
  background-color: #f16522;
}

.bhw-value-accent-teal {
  background-color: #1f8a84;
}

.bhw-value-title {
  margin-bottom: 8px;
  font-family: "Playfair Display", serif;
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
}

.bhw-value-text {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  line-height: 1.68;
  color: #6b7280;
  max-width: 360px;
}

@media (max-width: 1199.98px) {
  .bhw-collage-item-main .bhw-collage-image {
    height: 220px;
  }

  .bhw-collage-item-sub .bhw-collage-image,
  .bhw-collage-item-map .bhw-collage-image {
    height: 112px;
  }
}

@media (max-width: 991.98px) {
  .bhw-desc {
    max-width: 100%;
  }

  .bhw-collage-item-main .bhw-collage-image {
    height: 260px;
  }

  .bhw-collage-item-sub .bhw-collage-image,
  .bhw-collage-item-map .bhw-collage-image {
    height: 140px;
  }

  .bhw-values-row {
    border-bottom: 0;
  }
}

@media (max-width: 767.98px) {
  .bhw-section {
    padding-top: 8px;
  }

  .bhw-collage-grid {
    grid-template-columns: 1fr;
  }

  .bhw-collage-item-main {
    grid-column: auto;
  }

  .bhw-collage-item-main .bhw-collage-image,
  .bhw-collage-item-sub .bhw-collage-image,
  .bhw-collage-item-map .bhw-collage-image {
    height: 210px;
  }

  .bhw-value-card {
    padding: 18px 12px 20px;
  }

  .bhw-value-text {
    font-size: 12px;
    line-height: 1.58;
    max-width: 100%;
  }

  .bhw-value-card-middle {
    border: 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
  }
}
