/* ============================================================ */
/* ===== BANNER PRINCIPAL ===== */
/* ============================================================ */

.gov-banner {
  background: linear-gradient(135deg, #005198 0%, #26314d 100%);
  color: #ffffff;
  padding: 70px 25px;
  text-align: center;
}

.gov-banner-inner {
  max-width: 950px;
  margin: 0 auto;
}

.gov-banner-super {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #B8CDDE;
  margin-bottom: 10px;
}

.gov-banner h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 15px;
}

.gov-banner-sub {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto;
  max-width: 820px;
}

/* ============================================================ */
/* ===== SECCIÓN PRINCIPAL ===== */
/* ============================================================ */

.gov-section {
  padding: 55px 25px;
  background: #f0f7ff;
}

.gov-container {
  max-width: 1000px;
  margin: 0 auto;
}

.gov-heading {
  text-align: center;
  margin-bottom: 35px;
}

.gov-heading .gov-super {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #B8CDDE;
  background: #005198;
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.gov-heading h2 {
  color: #005198;
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 8px;
}

.gov-heading-sub {
  color: #555555;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0 auto;
}

.gov-cdn {
  display: block;
}

.gov-cdn-image img {
  display: block;
  width: 100%;
  max-width: 900px;
  max-height: 460px;
  height: auto;
  margin: 0 auto;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
  border-top: 4px solid #005198;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.gov-cdn-image img:hover {
  transform: scale(1.01);
}

.gov-cdn-text {
  max-width: 880px;
  margin: 30px auto 0;
  text-align: justify;
}

.gov-cdn-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 18px;
}

.gov-image-caption {
  text-align: center;
  font-size: 13px;
  color: #888888;
  margin-top: 10px;
  font-style: italic;
}

/* ============================================================ */
/* ===== MIEMBROS DEL CONSEJO DIRECTIVO NACIONAL ===== */
/* ============================================================ */

.gov-members-section {
  background: #ffffff;
}

.member-block {
  display: flex;
  gap: 40px;
  align-items: center;
  background: #f7fbfe;
  border: 1px solid #e3eefb;
  border-top: 4px solid #005198;
  border-radius: 14px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.member-block-reverse {
  flex-direction: row-reverse;
}

.member-photo {
  flex-shrink: 0;
}

.member-photo img {
  width: 300px;
  height: 400px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #005198;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.member-photo img:hover {
  transform: scale(1.02);
}

.member-info {
  flex: 1;
}

.member-role {
  display: inline-block;
  background: #005198;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.member-info h3 {
  color: #005198;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.member-cv-label {
  font-size: 14px;
  font-weight: 700;
  color: #26314d;
  margin-bottom: 12px;
}

.member-cv {
  font-size: 15px;
  line-height: 1.75;
  color: #333333;
  text-align: justify;
  margin-bottom: 12px;
}

.member-full {
  display: none;
}

.member-block.open .member-full {
  display: block;
  padding-top: 4px;
}

.member-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #005198;
  color: #ffffff;
  border: none;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 20px;
  cursor: pointer;
  margin-bottom: 12px;
  transition: background 0.3s;
}

.member-toggle:hover {
  background: #26314d;
}

.member-toggle i {
  transition: transform 0.3s ease;
}

.member-block.open .member-toggle i {
  transform: rotate(180deg);
}

/* ============================================================ */
/* ===== LIGHTBOX ===== */
/* ============================================================ */

.gov-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.gov-lightbox.active {
  display: flex;
}

.gov-lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
}

.gov-lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 36px;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.3s;
}

.gov-lightbox-close:hover {
  color: #B8CDDE;
}

/* ============================================================ */
/* ===== RESPONSIVE ===== */
/* ============================================================ */

@media (max-width: 768px) {
  .gov-banner {
    padding: 45px 18px;
  }

  .gov-banner h2 {
    font-size: 26px;
  }

  .gov-section {
    padding: 35px 14px;
  }

  .gov-heading h2 {
    font-size: 24px;
  }

  .gov-cdn-image img {
    max-height: 320px;
  }

  .member-block,
  .member-block-reverse {
    flex-direction: column;
    gap: 20px;
    padding: 22px;
  }

  .member-photo img {
    width: 220px;
    height: 300px;
    border-radius: 50%;
  }

  .member-info h3 {
    font-size: 20px;
  }
}
