/* Secretariat page */

.caremed-hero {
  position: relative;
  padding: 110px 0 78px;
  color: #fff;
  overflow: hidden;
}

.caremed-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(10, 59, 116, 0.88) 0%, rgba(21, 109, 194, 0.76) 52%, rgba(0, 176, 216, 0.62) 100%),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.18) 0, rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.12) 0, rgba(255, 255, 255, 0) 26%);
}

.caremed-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 33, 67, 0.18), rgba(7, 33, 67, 0.5));
}

.caremed-hero .container,
.caremed-hero .hero-content {
  position: relative;
  z-index: 1;
}

.caremed-hero .hero-content {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.caremed-hero .hero-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.caremed-hero h1 {
  margin: 22px 0 12px;
  font-size: 58px;
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.caremed-hero .lead {
  max-width: 820px;
  margin: 0 auto;
  font-size: 19px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
}

.pf-details.section {
  padding: 52px 0 64px;
  background:
    linear-gradient(180deg, #f5f8fc 0%, #eef3f9 48%, #f7f2eb 100%);
}

.pf-details .inner-content {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.secretariat-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.overview-card {
  position: relative;
  overflow: hidden;
  padding: 24px 24px 22px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.88));
  border: 1px solid rgba(17, 82, 147, 0.08);
  box-shadow: 0 18px 50px rgba(20, 58, 95, 0.08);
}

.overview-card::after {
  content: '';
  position: absolute;
  inset: auto -20px -20px auto;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 176, 216, 0.2), rgba(0, 176, 216, 0));
}

.overview-label {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

.overview-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 30px;
  line-height: 1;
  color: #0b315e;
}

.overview-card p {
  margin: 0;
  color: #4f6277;
  line-height: 1.65;
}

.secretariat-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) 330px;
  gap: 26px;
  align-items: start;
}

.secretariat-main {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.story-panel,
.section-block,
.sidebar-card,
.engagement-band {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(17, 82, 147, 0.08);
  box-shadow: 0 24px 60px rgba(16, 49, 84, 0.08);
}

.story-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 22px;
  padding: 24px;
}

.story-media,
.story-copy {
  min-width: 0;
}

.story-slider {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 100%;
}

.story-slider img {
  display: block;
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 22px;
}

.story-caption {
  margin: 14px 8px 0;
  color: #56697d;
  font-size: 14px;
  line-height: 1.7;
}

.eyebrow,
.section-kicker,
.sidebar-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(17, 82, 147, 0.08);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 6px;
}

.story-copy h2 {
  margin: 18px 0 14px;
  font-size: 40px;
  line-height: 1.12;
  color: #0b315e;
  letter-spacing: -0.04em;
}

.story-copy p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.85;
  color: #526477;
}

.story-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.story-highlights span {
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(17, 82, 147, 0.12), rgba(0, 176, 216, 0.12));
  color: #0f467f;
  font-size: 13px;
  font-weight: 600;
}

.pf-details .body-text {
  max-width: none;
  margin: 0;
  font-size: 16px;
  color: #485c70;
  line-height: 1.8;
  text-align: left;
}

.section-block {
  padding: 28px;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h3 {
  margin: 16px 0 10px;
  font-size: 34px;
  line-height: 1.15;
  color: #0b315e;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 0;
  max-width: 760px;
  color: #5a6d80;
  line-height: 1.75;
}

.composition-grid,
.institution-cards,
.results-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.content-card,
.inst-card,
.result-card {
  height: 100%;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(245, 249, 255, 0.92), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(17, 82, 147, 0.08);
}

.accent-card {
  background: linear-gradient(160deg, rgba(10, 59, 116, 0.96), rgba(26, 118, 209, 0.88));
  color: #fff;
}

.accent-card h4,
.accent-card .card-intro,
.accent-card li,
.accent-card strong {
  color: #fff;
}

.soft-card {
  background: linear-gradient(160deg, rgba(233, 247, 252, 0.9), rgba(255, 255, 255, 0.98));
}

.content-card h4,
.inst-card h5,
.result-card h5 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.2;
  color: #0e3e71;
}

.card-intro {
  margin: 0 0 16px;
  color: #607385;
  line-height: 1.7;
}

.feature-list,
.inst-card ul,
.result-card ul,
.quick-nav-card ul,
.contact-points {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-list li,
.inst-card li,
.result-card li,
.quick-nav-card li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  line-height: 1.7;
}

.feature-list li::before,
.inst-card li::before,
.result-card li::before,
.quick-nav-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
}

.accent-card .feature-list li::before {
  background: rgba(255, 255, 255, 0.72);
}

.compact-list li {
  margin-bottom: 10px;
}

.strong-list strong {
  color: inherit;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mission-card {
  height: 100%;
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(245, 248, 253, 0.98), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(17, 82, 147, 0.08);
}

.mission-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--tertiary));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 14px 24px rgba(17, 82, 147, 0.16);
}

.mission-card p {
  margin: 0;
  color: #5a6d80;
  line-height: 1.75;
}

.inst-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.9));
}

.results-cards .result-card {
  position: relative;
  overflow: hidden;
}

.success-card {
  background: linear-gradient(145deg, rgba(239, 252, 247, 0.98), rgba(255, 255, 255, 0.98));
}

.challenge-card {
  background: linear-gradient(145deg, rgba(255, 246, 239, 0.98), rgba(255, 255, 255, 0.98));
}

.success-card::after,
.challenge-card::after {
  content: '';
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
}

.success-card::after {
  background: radial-gradient(circle, rgba(33, 191, 115, 0.18), rgba(33, 191, 115, 0));
}

.challenge-card::after {
  background: radial-gradient(circle, rgba(240, 128, 55, 0.2), rgba(240, 128, 55, 0));
}

.engagement-band {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  padding: 28px;
  background: linear-gradient(135deg, rgba(8, 56, 109, 0.98), rgba(26, 118, 209, 0.92));
}

.engagement-band h3 {
  margin: 14px 0 10px;
  font-size: 30px;
  color: #fff;
  letter-spacing: -0.03em;
}

.engagement-band p {
  margin: 0;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
}

.pf-details .share {
  margin: 0;
  padding: 0;
  border: none;
}

.pf-details .share h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 18px;
}

.pf-details .share ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pf-details .share a {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.pf-details .share a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.secretariat-sidebar {
  min-width: 0;
}

.sidebar-stack {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sidebar-card {
  padding: 22px;
}

.quick-nav-card ul {
  margin-top: 16px;
}

.quick-nav-card li {
  padding-left: 0;
  margin-bottom: 10px;
}

.quick-nav-card li::before {
  display: none;
}

.quick-nav-card a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(17, 82, 147, 0.05);
  color: #0f467f;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.quick-nav-card a:hover {
  background: rgba(17, 82, 147, 0.12);
  transform: translateX(4px);
}

.emphasis-card {
  background: linear-gradient(160deg, rgba(15, 70, 127, 0.98), rgba(21, 109, 194, 0.92));
  color: #fff;
}

.emphasis-card .sidebar-label,
.emphasis-card h4,
.emphasis-card p,
.emphasis-card li,
.emphasis-card strong,
.emphasis-card span {
  color: #fff;
}

.fact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.fact-list li {
  padding: 16px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.fact-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 28px;
  line-height: 1;
}

.fact-list span {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.contact-card h4 {
  margin: 14px 0 12px;
  font-size: 24px;
  color: #0b315e;
}

.contact-card p {
  margin: 0 0 16px;
  color: #5e7183;
  line-height: 1.75;
}

.contact-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.contact-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #496072;
}

.contact-points i {
  width: 18px;
  margin-top: 5px;
  color: var(--primary);
}

.sidebar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 12px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--tertiary));
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 18px 28px rgba(17, 82, 147, 0.16);
}

.sidebar-cta:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

@media (max-width: 1199px) {
  .secretariat-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .sidebar-stack {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .story-panel {
    grid-template-columns: 1fr;
  }

  .story-slider img {
    min-height: 340px;
  }

  .mission-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .caremed-hero {
    padding: 86px 0 62px;
  }

  .caremed-hero h1 {
    font-size: 44px;
  }

  .caremed-hero .lead {
    font-size: 17px;
  }

  .section-heading h3,
  .story-copy h2 {
    font-size: 30px;
  }

  .sidebar-stack {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .caremed-hero {
    padding: 64px 0 48px;
  }

  .caremed-hero .hero-breadcrumb {
    padding: 8px 12px;
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .caremed-hero h1 {
    font-size: 34px;
  }

  .caremed-hero .lead {
    font-size: 15px;
    line-height: 1.65;
  }

  .pf-details.section {
    padding: 28px 0 40px;
  }

  .secretariat-overview,
  .composition-grid,
  .institution-cards,
  .results-cards,
  .mission-grid,
  .fact-list {
    grid-template-columns: 1fr;
  }

  .story-panel,
  .section-block,
  .sidebar-card,
  .engagement-band {
    padding: 20px;
    border-radius: 22px;
  }

  .overview-card {
    padding: 20px 18px;
    border-radius: 22px;
  }

  .story-slider img {
    min-height: 250px;
  }

  .section-heading h3,
  .story-copy h2,
  .engagement-band h3 {
    font-size: 26px;
  }

  .engagement-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 575px) {
  .caremed-hero {
    padding: 52px 0 38px;
  }

  .caremed-hero .hero-breadcrumb {
    padding: 7px 10px;
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .caremed-hero h1 {
    font-size: 28px;
  }

  .caremed-hero .lead {
    font-size: 14px;
  }

  .overview-card,
  .story-panel,
  .section-block,
  .sidebar-card,
  .engagement-band {
    padding: 18px;
  }

  .pf-details.section {
    padding: 24px 0 34px;
  }

  .overview-card strong {
    font-size: 24px;
  }

  .section-heading h3,
  .story-copy h2,
  .engagement-band h3 {
    font-size: 22px;
  }

  .story-highlights span,
  .quick-nav-card a {
    font-size: 12px;
  }
}
