/* Body box borders */
.md-content {
  border-left: 2px solid rgba(64, 81, 181, 1); /* light vertical line */
}

.md-grid {
  max-width: 80%; 
}

.md-header__button.md-logo {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.md-header__button.md-logo img,
.md-header__button.md-logo svg {
  height: 70px;
  width: auto;
}


.md-header__button.custom-header__logo {
  display: flex;
  align-items: center;
  padding: 0 0.25rem;
  margin-left: 0.25rem;
  padding-left: 100px;
}

.md-header__button.custom-header__logo img,
.md-header__button.custom-header__logo svg {
  height: 32px;
  width: auto;
  display: block;
}

.custom-header__rightside_logo {
  position: relative;
  top: 0.5rem;
  right: 1rem;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.custom-header__rightside_logo img,
.custom-header__rightside_logo svg {
  height: 35px;
  width: auto;
}


.custom-footer {
  background: var(--md-default-bg-color);
  color: var(--md-default-fg-color);
  border-top: 2px solid rgba(64, 81, 181, 1);
  padding: 2rem 1rem;
  font-size: 0.95rem;
}

.custom-footer .md-footer__inner {
  max-width: var(--md-content-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.custom-footer .footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.footer-branding .site-title {
  font-weight: 700;
  margin: 0;
}
.footer-branding .site-desc {
  margin: 0.25rem 0 0;
  color: var(--md-gray-600);
}

.footer-links a {
  margin-right: 1rem;
  text-decoration: none;
  color: inherit;
}
.footer-links a:hover {
  text-decoration: underline;
}

.footer-images {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-images img {
  height: auto;
  width: auto;
  opacity: 0.9;
  transition: opacity .15s ease, transform .15s ease;
}
.footer-images a:hover img {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(64, 81, 181, 1);
  padding-top: 1rem;
}

.footer-social img {
  width: 24px;
  height: 24px;
  margin-right: 0.5rem;
  opacity: 0.85;
  transition: opacity .15s ease;
}
.footer-social a:hover img {
  opacity: 1;
}


/* 1. Contenedor de la Cuadrícula (Grid Container) */
.grid-container {
    display: grid;
    /* Define 3 columnas de igual ancho */
    grid-template-columns: repeat(2, 1fr);
    gap: 45px; /* Espacio entre las columnas */
    margin: 45px 0;
}

/* 2. Estilo de cada Tarjeta de Miembro */
.video-block {
    text-align: center;
    /* Ajustes visuales para la tarjeta */
}

/* 3. Estilo para la Imagen Circular */
.video-block img.circle {
    /* Define un tamaño fijo y asegura que sea cuadrada */
    width: 150px;
    height: 150px;
    object-fit: cover; /* Recorta la imagen para que quepa */
    border-radius: 50%; /* ¡Esto la hace circular! */
    margin: 0 auto 10px auto;
    display: block;
}

/* 4. Adaptación a móviles (Responsive Design) */
@media (max-width: 900px) {
    /* En pantallas más pequeñas, cambia a 1 columna */
    .grid-container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 700px) {
  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .md-header__button.custom-header__logo img {
    height: 26px;
  }
}
