/* =========================================================
   PRESIDENT / CHAIRMAN PROFILE PAGE (HAES)
   ========================================================= */
.haes-president-page {
  font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  color: #14213d;
}

/* Hero Background & Scrim */
.haes-president-page .aims-hero {
  position: relative;
  overflow: hidden;
  background-color: #0f1c33;
}

.haes-president-page .aims-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.haes-president-page .aims-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(15, 28, 51, 0.88) 0%,
    rgba(20, 33, 61, 0.78) 60%,
    rgba(201, 100, 73, 0.35) 100%
  );
  z-index: 1;
}

.haes-president-page .aims-hero-inner {
  position: relative;
  z-index: 2;
}

/* Light Colorful Luminous Background */
.haes-president-page .president-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #fffaf0 0%,
    #f6f9ff 38%,
    #fdf3f0 72%,
    #f3fbf7 100%
  );
}

/* Top Two-Column Split: Left Bio / Right Frameless Image */
.president-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.85fr);
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.president-eminence {
  font-size: 1.08rem;
  font-weight: 600;
  color: #c96449;
  margin-top: 0.35rem;
}

.president-designation {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #475569;
  margin-top: 0.25rem;
}

.president-quote {
  margin: 1.5rem 0 1.75rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid #c9a227;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
  border-radius: 0 14px 14px 0;
  box-shadow: 0 8px 24px rgba(20, 33, 61, 0.05);
}

.president-quote p {
  font-size: 1rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.75;
  color: #14213d;
  margin: 0;
}

.mandate-subheading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #14213d;
  margin-bottom: 0.5rem;
}

/* Right Side Image — Zero Frame, Border, or Box */
.president-visual {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.president-portrait-frameless {
  width: 100%;
  max-width: 410px;
  height: auto;
  display: block;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
}

/* Bottom Full-Width Secretariat Row: Title on top, Box directly below */
.president-secretariat-rows {
  position: relative;
  z-index: 2;
  margin-top: 2.5rem;
}

.president-secretariat-rows .aims-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.15rem;
}

.president-secretariat-rows .aims-row-heading {
  width: 100%;
  max-width: none;
}

.president-sec-card {
  display: block;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
}
.president-sec-card {
  display: block;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.secretariat-items-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  width: 100%;
}

.sec-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
}

.sec-item-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: #c96449;
  margin-bottom: 0.25rem;
}

.sec-item p,
.sec-item a {
  font-size: 0.88rem;
  font-weight: 500;
  color: #14213d;
  line-height: 1.55;
  text-decoration: none;
  margin: 0;
  overflow-wrap: anywhere;
}

.sec-item a:hover {
  color: #c96449;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1100px) {
  .secretariat-items-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .president-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .president-visual {
    justify-content: center;
  }

  .president-portrait-frameless {
    max-width: 320px;
  }
}

@media (max-width: 680px) {
  .secretariat-items-grid {
    grid-template-columns: 1fr;
  }
}