/* Estilos de la plantilla de noticias (tomados de las páginas de noticias originales) */

.post {
  padding: 6rem 2rem;
  background: var(--gris-claro);
}

.post .container {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  box-shadow: var(--sombra-media);
  border-radius: 16px;
  overflow: hidden;
}

.post-header {
  padding: 2rem 2rem 0;
}

.post-header h1 {
  color: var(--azul-principal);
  margin-bottom: 0.5rem;
}

.post-meta {
  color: var(--texto-suave);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.post-body {
  padding: 1rem 2rem 2rem;
  line-height: 1.9;
  color: var(--texto);
}

.post-body h2 {
  color: var(--azul-principal);
  margin-top: 1.5rem;
}

.post-body img {
  max-width: 100%;
  height: auto;
}

.post-image {
  margin: 1.5rem 0;
  text-align: center;
}

.post-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.post-nav {
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem 2rem;
}

.breadcrumb {
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--gris-claro);
  background: #fff;
}

.breadcrumb a {
  color: var(--azul-principal);
  text-decoration: none;
}

/* Videos */
.video-responsive {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 1.5rem auto;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background: #000;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .video-responsive {
    max-width: 100%;
    padding-bottom: 56.25%;
  }
}

.video-vertical {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 1.5rem auto;
  padding-bottom: 125%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background: #000;
}

.video-vertical iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 768px) {
  .video-vertical {
    max-width: 500px;
    padding-bottom: 62%;
  }
}

.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  margin: 1.5rem 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

/* Bloques de contenido */
.event-info {
  background: linear-gradient(135deg, var(--azul-principal), var(--azul-secundario));
  color: white;
  padding: 2rem;
  border-radius: 12px;
  margin: 1.5rem 0;
}

.event-info h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.info-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
}

.info-item i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.projects-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.project-card {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--azul-principal);
}

.project-card h4 {
  color: var(--azul-principal);
  margin-bottom: 0.5rem;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.program-item {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--azul-principal);
}

/* Recuadro destacado: verde por defecto, azul con class="highlight-box azul" */
.highlight-box {
  background: #e8f5e8;
  padding: 1.5rem;
  border-radius: 12px;
  margin: 1.5rem 0;
  border-left: 4px solid #28a745;
}

.highlight-box.azul {
  background: linear-gradient(135deg, var(--azul-principal), var(--azul-secundario));
  color: white;
  padding: 2rem;
  text-align: center;
  border-left: 0;
}

.highlight-box h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.whatsapp-cta {
  background: #25D366;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  margin: 1rem 0;
  font-weight: bold;
}

.whatsapp-cta:hover {
  background: #128C7E;
}

/* Bloques: botón, videos de archivo y otros servicios */
.boton-contenedor {
  text-align: center;
  margin: 2rem 0;
}

.boton-arp {
  background: var(--azul-principal);
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
}

.boton-arp:hover {
  opacity: 0.9;
  color: white;
}

.video-archivo,
.video-oembed {
  margin: 1.5rem auto;
  max-width: 720px;
  text-align: center;
}

.video-archivo video {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background: #000;
}

.video-oembed iframe {
  max-width: 100%;
}
