
/* =========================================================
   WASSO HOSPITAL — LEADERSHIP + LIVE UPDATES
   Load this file AFTER home-classic-modern.css
   ========================================================= */

.home-page .home-leadership {
  --lead-primary: #075985;
  --lead-primary-dark: #04364f;
  --lead-secondary: #0f766e;
  --lead-accent: #f59e0b;
  --lead-heading: #0f172a;
  --lead-text: #5b6b7c;
  --lead-border: #dbe7ee;
  --lead-shadow: 0 24px 65px rgba(15, 23, 42, 0.12);

  position: relative;
  overflow: hidden;
  padding: 88px 0 96px !important;
  background:
    radial-gradient(circle at 8% 14%, rgba(14, 116, 144, 0.08), transparent 26%),
    radial-gradient(circle at 92% 84%, rgba(15, 118, 110, 0.08), transparent 28%),
    linear-gradient(180deg, #f7fbfd 0%, #ffffff 100%);
}

.home-page .home-leadership::before {
  content: "";
  position: absolute;
  top: -170px;
  right: -130px;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: rgba(7, 89, 133, 0.05);
  pointer-events: none;
}

.home-page .home-leadership > .container {
  position: relative;
  z-index: 2;
}

/* Announcement strip */
.home-page .home-alert {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  margin: 0 0 28px;
  padding: 14px 18px;
  border: 1px solid #fde6b5;
  border-radius: 16px;
  color: #7c4a03;
  background:
    linear-gradient(90deg, rgba(255, 247, 224, 0.98), rgba(255, 252, 243, 0.98));
  box-shadow: 0 12px 32px rgba(146, 97, 13, 0.08);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-page .home-alert:hover {
  color: #7c4a03;
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(146, 97, 13, 0.13);
}

.home-page .home-alert-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 11px;
  color: #ffffff;
  background: linear-gradient(135deg, #d97706, #f59e0b);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.35px;
  white-space: nowrap;
}

.home-page .home-alert-text {
  min-width: 0;
  overflow: hidden;
  color: #6b4408;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-page .home-alert-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9a6109;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.home-page .home-alert-action i {
  transition: transform 0.3s ease;
}

.home-page .home-alert:hover .home-alert-action i {
  transform: translateX(4px);
}

/* Main two-column layout */
.home-page .home-leadership-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.58fr) minmax(340px, 0.82fr);
  gap: 28px;
  align-items: stretch;
  width: 100%;
}

/* Leadership card */
.home-page .leadership-card {
  display: grid !important;
  grid-template-columns: minmax(300px, 43%) minmax(0, 57%);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--lead-border);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--lead-shadow);
}

.home-page .leadership-photo-wrap {
  position: relative;
  min-width: 0;
  min-height: 540px;
  overflow: hidden;
  background: #dfeaf0;
}

.home-page .leadership-photo {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 540px;
  object-fit: cover !important;
  object-position: center 18%;
  transition: transform 0.65s ease;
}

.home-page .leadership-card:hover .leadership-photo {
  transform: scale(1.035);
}

.home-page .leadership-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 31, 50, 0.24), transparent 42%);
  pointer-events: none;
}

.home-page .leadership-photo-badge {
  position: absolute;
  z-index: 3;
  left: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(3, 31, 50, 0.82);
  box-shadow: 0 12px 25px rgba(3, 31, 50, 0.18);
  backdrop-filter: blur(9px);
  font-size: 12px;
  font-weight: 800;
}

.home-page .leadership-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 48px 44px;
}

.home-page .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
  color: var(--lead-secondary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.15px;
  text-transform: uppercase;
}

.home-page .section-kicker::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--lead-accent);
}

.home-page .leadership-content h2 {
  margin: 0 0 18px;
  color: var(--lead-heading);
  font-family: "Poppins", sans-serif;
  font-size: clamp(31px, 3.4vw, 46px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -1px;
}

.home-page .leadership-content p {
  margin: 0 0 17px;
  color: var(--lead-text);
  font-size: 15px;
  line-height: 1.85;
}

.home-page .leadership-content .leadership-intro {
  color: #334155;
  font-size: 17px;
  font-weight: 500;
}

.home-page .leadership-person {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--lead-border);
}

.home-page .leadership-person > div {
  min-width: 0;
}

.home-page .leadership-person strong {
  display: block;
  margin-bottom: 5px;
  color: var(--lead-heading);
  font-size: 16px;
  font-weight: 800;
}

.home-page .leadership-person span {
  display: block;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.home-page .leadership-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid #bde6df;
  border-radius: 11px;
  color: var(--lead-secondary);
  background: #effcf8;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  transition: 0.3s ease;
}

.home-page .leadership-link:hover {
  color: #ffffff;
  border-color: var(--lead-secondary);
  background: var(--lead-secondary);
  transform: translateY(-2px);
}

/* Updates panel */
.home-page .updates-panel {
  position: relative;
  display: flex !important;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 28px;
  color: #ffffff;
  background:
    radial-gradient(circle at 110% -10%, rgba(245, 158, 11, 0.17), transparent 34%),
    linear-gradient(150deg, #042f47 0%, #075985 57%, #0f766e 125%);
  box-shadow: var(--lead-shadow);
}

.home-page .updates-panel::before {
  content: "";
  position: absolute;
  right: -95px;
  bottom: -110px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.home-page .updates-head,
.home-page .updates-list,
.home-page .updates-support {
  position: relative;
  z-index: 2;
}

.home-page .updates-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.home-page .section-kicker-light {
  color: #99f6e4;
}

.home-page .section-kicker-light::before {
  background: #fbbf24;
}

.home-page .updates-head h2 {
  margin: 7px 0 0;
  color: #ffffff !important;
  font-family: "Poppins", sans-serif;
  font-size: 29px;
  line-height: 1.2;
  font-weight: 800;
}

.home-page .updates-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(134, 239, 172, 0.25);
  border-radius: 999px;
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.10);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-page .updates-live > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 5px rgba(74, 222, 128, 0.11);
  animation: homeLivePulse 1.8s ease-in-out infinite;
}

.home-page .updates-list {
  display: grid !important;
  gap: 12px;
  margin: 0;
}

.home-page .update-item {
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.075);
  text-decoration: none;
  backdrop-filter: blur(7px);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.home-page .update-item:hover {
  color: #ffffff;
  transform: translateX(5px);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.13);
}

.home-page .update-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fbbf24;
  background: rgba(255, 255, 255, 0.10);
  font-size: 21px;
}

.home-page .update-copy {
  min-width: 0;
}

.home-page .update-copy strong {
  display: block;
  margin-bottom: 3px;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 800;
}

.home-page .update-copy small {
  display: block;
  overflow: hidden;
  color: #cbd5e1;
  font-size: 11px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-page .update-count {
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 10px;
  color: #422006;
  background: #fbbf24;
  font-size: 12px;
  font-weight: 900;
}

.home-page .updates-support {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 13px;
  margin-top: auto;
  padding-top: 22px;
}

.home-page .updates-support > i {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  background: rgba(245, 158, 11, 0.20);
  font-size: 19px;
}

.home-page .updates-support small {
  display: block;
  margin-bottom: 3px;
  color: #bae6fd;
  font-size: 11px;
}

.home-page .updates-support strong {
  display: block;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 800;
}

.home-page .updates-support a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: #073b50;
  background: #fbbf24;
  transition: 0.3s ease;
}

.home-page .updates-support a:hover {
  color: #073b50;
  transform: translateX(3px);
  background: #fde68a;
}

@keyframes homeLivePulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.55;
    transform: scale(0.82);
  }
}

@media (max-width: 1199px) {
  .home-page .home-leadership-grid {
    grid-template-columns: 1fr;
  }

  .home-page .updates-panel {
    min-height: 520px;
  }
}

@media (max-width: 991px) {
  .home-page .leadership-card {
    grid-template-columns: 1fr;
  }

  .home-page .leadership-photo-wrap,
  .home-page .leadership-photo {
    min-height: 460px;
    max-height: 560px;
  }

  .home-page .leadership-photo {
    object-position: center 16%;
  }
}

@media (max-width: 767px) {
  .home-page .home-leadership {
    padding: 64px 0 70px !important;
  }

  .home-page .home-alert {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .home-page .home-alert-text {
    white-space: normal;
  }

  .home-page .home-alert-action {
    justify-content: flex-start;
  }

  .home-page .leadership-photo-wrap,
  .home-page .leadership-photo {
    min-height: 390px;
  }

  .home-page .leadership-content {
    padding: 30px 24px;
  }

  .home-page .leadership-person {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-page .leadership-link {
    white-space: normal;
  }

  .home-page .updates-panel {
    min-height: auto;
    padding: 25px 20px;
  }
}

@media (max-width: 480px) {
  .home-page .leadership-photo-wrap,
  .home-page .leadership-photo {
    min-height: 330px;
  }

  .home-page .update-item {
    grid-template-columns: 43px minmax(0, 1fr) auto;
    padding: 12px;
  }

  .home-page .update-icon {
    width: 43px;
    height: 43px;
  }

  .home-page .update-copy small {
    white-space: normal;
  }
}
