/* ==========================================================================
   DAYANAND ARYA VEDIC PUBLIC SCHOOL — COMPACT ABOUT US STYLING
   ========================================================================== */

/* 1. HERO BANNER */
.about-hero-banner {
  position: relative;
  background: linear-gradient(135deg, #07192f 0%, #0b2545 60%, #153a66 100%);
  padding: 3.8rem 0 4.8rem 0;
  color: #ffffff;
  overflow: hidden;
  text-align: center;
}

.about-hero-backdrop-glow {
  position: absolute;
  top: -80px;
  right: -40px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.2) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.about-hero-container {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
}

.about-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(217, 119, 6, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.3px;
  padding: 0.35rem 1.1rem;
  border-radius: 30px;
  margin-bottom: 1rem;
}

.about-hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.9rem 0;
  color: #ffffff;
}

.gold-gradient-text {
  background: linear-gradient(90deg, #fde68a 0%, #f59e0b 55%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-hero-subtext {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cbd5e1;
  max-width: 720px;
  margin: 0 auto 1.3rem auto;
}

.about-breadcrumb-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.38rem 1.15rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.about-breadcrumb-nav a {
  color: #f59e0b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.about-breadcrumb-nav a:hover {
  color: #ffffff;
}

.about-breadcrumb-nav .sep {
  color: #64748b;
}

.about-breadcrumb-nav .active {
  color: #e2e8f0;
}

/* 2. FLOATING FROSTED STATS BAR */
.about-floating-stats {
  position: relative;
  z-index: 10;
  margin-top: -2.4rem;
  margin-bottom: 0; /* Cleared margin leak */
}

.stats-floating-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.stat-glass-card {
  background: #ffffff;
  border: 1.5px solid #ede4d3;
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 10px 24px rgba(11, 37, 69, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(11, 37, 69, 0.11);
  border-color: #d97706;
}

.stat-ring {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fef5e7;
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.stat-glass-card:hover .stat-ring {
  transform: scale(1.06);
  background: #d97706;
  color: #ffffff;
}

.stat-details {
  display: flex;
  flex-direction: column;
}

.stat-count-flex {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: #0b2545;
  line-height: 1;
}

.stat-number.text-gold {
  color: #d97706;
}

.stat-suffix, .stat-suffix-small {
  color: #d97706;
  font-weight: 800;
}

.stat-suffix { font-size: 1.15rem; }
.stat-suffix-small { font-size: 0.88rem; margin-left: 2px; }

.stat-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 4px;
}

/* 3. STORY SECTION & LEADERSHIP */
.about-story-section {
  background: #ffffff;
  padding: 3.2rem 0; /* Reduced from 5rem */
  border-bottom: 1px solid #ede4d3;
}

.story-layout-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr;
  gap: 2.8rem;
  align-items: center;
}

.sub-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #d97706;
  margin-bottom: 0.5rem;
}

.sub-kicker.justify-center {
  justify-content: center;
}

.story-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.95rem;
  font-weight: 700;
  color: #0b2545;
  line-height: 1.25;
  margin: 0 0 1rem 0;
}

.story-lead-para {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #334155;
  margin-bottom: 0.9rem;
}

.story-para {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #64748b;
  margin-bottom: 1.1rem;
}

.story-highlight-box {
  position: relative;
  background: #fdfbf7;
  border-left: 4px solid #d97706;
  border-radius: 0 12px 12px 0;
  padding: 1.1rem 1.4rem 1.1rem 2.8rem;
}

.story-highlight-box .quote-icon {
  position: absolute;
  top: 1.1rem;
  left: 1rem;
  font-size: 1.05rem;
  color: #d97706;
  opacity: 0.6;
}

.story-highlight-box p {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 0.96rem;
  color: #0b2545;
  line-height: 1.5;
  margin: 0;
}

/* Secretary Spotlight Card */
.leader-profile-card {
  position: relative;
  background: linear-gradient(145deg, #ffffff 0%, #fffdfa 100%);
  border: 1.5px solid rgba(217, 119, 6, 0.35);
  border-radius: 20px;
  padding: 2.2rem 1.8rem 1.8rem 1.8rem;
  text-align: center;
  box-shadow: 0 12px 30px rgba(11, 37, 69, 0.06);
}

.leader-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #0b2545;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  border: 1px solid #d97706;
  white-space: nowrap;
}

.leader-avatar-box {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: radial-gradient(circle, #fef5e7 0%, #fedbb0 100%);
  border: 3px solid #ffffff;
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  color: #0b2545;
  margin: 0.2rem auto 0.9rem auto;
}

.leader-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0b2545;
  margin: 0 0 0.25rem 0;
}

.leader-designation {
  font-size: 0.78rem;
  font-weight: 700;
  color: #d97706;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 0.9rem;
}

.leader-statement {
  font-size: 0.85rem;
  line-height: 1.55;
  color: #64748b;
  margin-bottom: 1.2rem;
}

.leader-card-footer {
  padding-top: 0.85rem;
  border-top: 1px dashed #e2e8f0;
  font-size: 0.7rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.8px;
}

/* 4. WHAT WE IMPART */
.about-impart-section {
  background: #fcfbf8;
  padding: 3.2rem 0; /* Reduced from 5.5rem */
  border-bottom: 1px solid #ede4d3;
}

.impart-main-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.1rem;
  color: #0b2545;
  margin: 0 0 0.5rem 0;
}

.impart-lead-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #64748b;
  max-width: 660px;
  margin: 0 auto 2.2rem auto; /* Reduced from 3.5rem */
}

.impart-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.impart-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #ede4d3;
  border-radius: 16px;
  padding: 1.8rem 1.8rem;
  box-shadow: 0 4px 16px rgba(11, 37, 69, 0.04);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.impart-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(11, 37, 69, 0.08);
  border-color: rgba(217, 119, 6, 0.35);
}

.impart-card-watermark {
  position: absolute;
  top: 1rem;
  right: 1.3rem;
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1;
  pointer-events: none;
  transition: color 0.25s ease;
}

.impart-card:hover .impart-card-watermark {
  color: #fde68a;
}

.impart-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fef5e7;
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.1rem;
  transition: transform 0.25s ease, background 0.25s ease;
}

.impart-card:hover .impart-icon-wrap {
  transform: scale(1.08) rotate(4deg);
  background: #d97706;
  color: #ffffff;
}

.impart-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  color: #0b2545;
  margin: 0 0 0.55rem 0;
}

.impart-card-body {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

.impart-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #ea580c, #f59e0b);
  transition: width 0.3s ease;
}

.impart-card:hover .impart-bottom-bar {
  width: 100%;
}

/* 5. VISION & MISSION DUAL PANELS */
.about-vm-section {
  background: #ffffff;
  padding: 3.2rem 0; /* Reduced from 5rem */
  border-bottom: 1px solid #ede4d3;
}

.vm-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}

.vm-block {
  border-radius: 18px;
  padding: 2.2rem 2rem;
  transition: transform 0.25s ease;
}

.vm-block:hover {
  transform: translateY(-3px);
}

.vm-block-vision {
  background: linear-gradient(145deg, #07192f 0%, #0b2545 100%);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(7, 25, 47, 0.12);
}

.vm-block-mission {
  background: #fffdfa;
  border: 1.5px solid rgba(217, 119, 6, 0.35);
  box-shadow: 0 12px 28px rgba(217, 119, 6, 0.06);
}

.vm-tag-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 0.9rem;
}

.vm-block-vision .vm-tag-ribbon {
  background: rgba(245, 158, 11, 0.22);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.vm-block-mission .vm-tag-ribbon {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fed7aa;
}

.vm-title-serif {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.45rem;
  margin: 0 0 0.8rem 0;
  line-height: 1.3;
}

.vm-block-vision .vm-title-serif { color: #ffffff; }
.vm-block-mission .vm-title-serif { color: #0b2545; }

.vm-content {
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

.vm-block-vision .vm-content { color: #cbd5e1; }
.vm-block-mission .vm-content { color: #64748b; }

/* 6. CORE VALUES PILLS */
.about-values-section {
  background: #fcfbf8;
  padding: 3.2rem 0 3.8rem 0; /* Reduced from 5rem 0 6rem */
  border-bottom: 1px solid #ede4d3;
}

.values-main-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.1rem;
  color: #0b2545;
  margin: 0 0 0.4rem 0;
}

.values-subtitle {
  font-size: 0.92rem;
  color: #64748b;
  margin: 0 auto 1.8rem auto; /* Reduced from 2.5rem */
}

.values-pill-cluster {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  max-width: 900px;
  margin: 0 auto;
}

.val-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #ffffff;
  border: 1.5px solid #ede4d3;
  padding: 0.65rem 1.4rem;
  border-radius: 30px;
  box-shadow: 0 3px 10px rgba(11, 37, 69, 0.03);
  font-size: 0.86rem;
  font-weight: 700;
  color: #0b2545;
  transition: all 0.22s ease;
  cursor: default;
}

.val-pill i {
  color: #d97706;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.val-pill:hover {
  background: #0b2545;
  border-color: #0b2545;
  color: #ffffff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 18px rgba(11, 37, 69, 0.14);
}

.val-pill:hover i {
  color: #fcd34d;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
  .stats-floating-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .story-layout-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .impart-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-hero-headline {
    font-size: 1.95rem;
  }
  .vm-layout-grid {
    grid-template-columns: 1fr;
  }
  .stats-floating-grid {
    grid-template-columns: 1fr;
  }
  .about-floating-stats {
    margin-top: -1.6rem;
  }
  .about-story-section,
  .about-impart-section,
  .about-vm-section,
  .about-values-section {
    padding: 2.4rem 0;
  }
}

/* ==========================================================================
   OUR TEACHERS SECTION — COMPACT HORIZONTAL CARDS
   ========================================================================== */

.about-teachers-section {
  background: #fdfbf7;
  padding: 03rem 0;
  border-bottom: 1px solid #ede4d3;
  position: relative;
}

.teachers-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
  
}
.container-teachers {
  max-width: 92%;
  margin: 0 auto;
  padding: 0 1.2rem;
}



.teachers-main-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #0b2545;
  line-height: 1.25;
  margin: 0.25rem 0 0 0;
}

.btn-teachers-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #0b2545;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.6rem 1.3rem;
  border-radius: 30px;
  text-decoration: none;
  border: 1px solid #0b2545;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-teachers-view-all:hover {
  background: #d97706;
  border-color: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.25);
}

.btn-teachers-view-all i {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.btn-teachers-view-all:hover i {
  transform: translateX(3px);
}

/* 3-Column Horizontal Card Layout */
.teachers-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.teacher-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #ede4d3;
  border-radius: 14px;
  padding: 1.1rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  box-shadow: 0 4px 14px rgba(11, 37, 69, 0.03);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.teacher-card:hover {
  transform: translateY(-4px);
  border-color: #f59e0b;
  box-shadow: 0 12px 28px rgba(11, 37, 69, 0.08);
}

/* Compact Portrait Frame */
.teacher-avatar-frame {
  position: relative;
  width: 96px;
  height: 112px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0b2545;
  box-shadow: 0 4px 10px rgba(11, 37, 69, 0.12);
}

.teacher-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.teacher-card:hover .teacher-avatar-img {
  transform: scale(1.08);
}

.teacher-wing-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(11, 37, 69, 0.92);
  color: #fde68a;
  font-size: 0.58rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 3px 2px;
}

/* Card Content Details */
.teacher-card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.teacher-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #d97706;
  margin-bottom: 0.2rem;
}

.teacher-meta-tag i {
  font-size: 0.62rem;
}

.teacher-role-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0b2545;
  margin: 0 0 0.4rem 0;
  line-height: 1.25;
  transition: color 0.2s ease;
}

.teacher-card:hover .teacher-role-title {
  color: #d97706;
}

.teacher-desc {
  font-size: 0.8rem;
  line-height: 1.45;
  color: #64748b;
  margin: 0;
}

/* Micro Accent Glow on Bottom */
.card-glow-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #d97706, #f59e0b);
  transition: width 0.3s ease;
}

.teacher-card:hover .card-glow-bar {
  width: 100%;
}

.teachers-mobile-cta {
  display: none;
  text-align: center;
  margin-top: 1.4rem;
}

/* Responsive Adjustments */
@media (max-width: 1120px) {
  .teachers-cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .teacher-avatar-frame {
    width: 90px;
    height: 105px;
  }
}

@media (max-width: 768px) {
  .about-teachers-section {
    padding: 2.2rem 0;
  }
  .teachers-header-row {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1.2rem;
  }
  .teachers-header-row .btn-teachers-view-all {
    display: none;
  }
  .teachers-mobile-cta {
    display: block;
  }
  .teachers-main-title {
    font-size: 1.45rem;
  }
  .teacher-card {
    padding: 0.9rem;
    gap: 0.9rem;
  }
}

/* Secretary Portrait Container */
.leader-avatar-box {
  width: 130px;
  height: 130px;
  margin: 0 auto 18px auto;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--dav-gold-500, #f59e0b);
  box-shadow: 0 8px 24px rgba(11, 37, 69, 0.14);
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Portrait Image Framing */
.leader-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%; /* Preserves forehead, hair, and neckline */
  display: block;
  transition: transform 0.4s ease;
}

.leader-profile-card:hover .leader-avatar-img {
  transform: scale(1.06);
}

/* ==========================================================================
   GOVERNANCE SECTION REDESIGN WITH PORTRAITS
   ========================================================================== */
.about-governance-section {
  padding: 85px 0 95px 0;
  background: #bfcce3;
  border-top: 1px solid var(--dav-slate-200);
}

.gov-header-block {
  margin-bottom: 45px;
}

.gov-subtitle {
  color: var(--dav-slate-600);
  max-width: 660px;
  margin: 8px auto 0 auto;
  font-size: 0.94rem;
  line-height: 1.6;
}

.governance-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.gov-card {
  background: #ffffff;
  border: 1px solid var(--dav-slate-200);
  border-radius: 22px;
  padding: 34px 32px;
  box-shadow: 0 8px 24px rgba(11, 37, 69, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.3s ease, 
              border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.gov-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--dav-gold-500) 0%, var(--dav-navy-800) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gov-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(11, 37, 69, 0.09);
  border-color: rgba(217, 119, 6, 0.35);
}

.gov-card:hover::before {
  opacity: 1;
}

/* Portrait Top Header */
.gov-card-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--dav-slate-100);
}

.gov-photo-wrap {
  position: relative;
  width: 82px;
  height: 82px;
  flex-shrink: 0;
  border-radius: 18px;
  padding: 3px;
  background: linear-gradient(135deg, var(--dav-gold-500) 0%, #cbd5e1 100%);
  box-shadow: 0 6px 18px rgba(11, 37, 69, 0.12);
}

.gov-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  border-radius: 15px;
  display: block;
  background: #f1f5f9;
}

.gov-photo-badge {
  position: absolute;
  bottom: -6px;
  right: -6px;
  width: 26px;
  height: 26px;
  background: var(--dav-navy-800);
  color: var(--dav-gold-500);
  border-radius: 50%;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.gov-title-meta {
  display: flex;
  flex-direction: column;
}

.gov-designation-badge {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--dav-gold-600);
  margin-bottom: 2px;
}

.gov-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dav-navy-800);
  margin: 0 0 2px 0;
  line-height: 1.25;
}

.gov-org-sub {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
}

/* Pull Quotes */
.gov-quote-block {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  color: var(--dav-navy-800);
  font-weight: 700;
  line-height: 1.45;
  padding: 12px 16px;
  background: var(--dav-gold-50);
  border-left: 3px solid var(--dav-gold-500);
  border-radius: 0 10px 10px 0;
  margin-bottom: 16px;
}

/* Body Content */
.gov-message-body {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--dav-slate-600);
  margin: 0;
  text-align: justify;
}

/* Card Footer Strip */
.gov-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--dav-slate-100);
  margin-top: 20px;
  padding-top: 14px;
}

.gov-signature-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #94a3b8;
}

@media (max-width: 992px) {
  .governance-grid-4 {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 600px) {
  .gov-card {
    padding: 24px 20px;
  }
  .gov-card-top {
    gap: 14px;
  }
  .gov-photo-wrap {
    width: 72px;
    height: 72px;
  }
  .gov-title {
    font-size: 1.2rem;
  }
  .gov-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ==========================================================================
   PROMINENT EXECUTIVE PORTRAIT STYLING (GOVERNANCE SECTION)
   ========================================================================== */

/* Top header section with expanded room for larger portraits */
.gov-card-top {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--dav-slate-100);
}

/* Enlarge photo container to a prominent portrait frame */
.gov-photo-wrap {
  position: relative;
  width: 140px;
  height: 175px;
  flex-shrink: 0;
  border-radius: 18px;
  padding: 4px;
  background: linear-gradient(145deg, #f59e0b 0%, #cbd5e1 50%, #0b2545 100%);
  box-shadow: 0 10px 24px rgba(11, 37, 69, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gov-card:hover .gov-photo-wrap {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 28px rgba(217, 119, 6, 0.2);
}

/* Portrait photo styling */
.gov-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%; /* Keeps head and shoulders properly centered */
  border-radius: 14px;
  display: block;
  background: #f1f5f9;
}

/* Floating role emblem badge */
.gov-photo-badge {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 32px;
  height: 32px;
  background: var(--dav-navy-800);
  color: var(--dav-gold-500);
  border-radius: 50%;
  border: 3px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

/* Meta info beside the portrait */
.gov-title-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 6px;
}

.gov-designation-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--dav-gold-600);
  margin-bottom: 4px;
}

.gov-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--dav-navy-800);
  margin: 0 0 4px 0;
  line-height: 1.25;
}

.gov-org-sub {
  font-size: 0.84rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .gov-card-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  
  .gov-photo-wrap {
    width: 130px;
    height: 160px;
  }
  
  .gov-title-meta {
    align-items: center;
    padding-top: 0;
  }
}