﻿/* =========================================================
   TIPOGRAFÍA BASE
   ========================================================= */

.proyecto-solidario {
    font-family: 'Montserrat', sans-serif;
}

/* =========================================================
   CONTENEDOR PRINCIPAL
   ========================================================= */

.proyecto-solidario {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 35px;
}

/* =========================================================
   BLOQUES GENERALES
   ========================================================= */

.ps-titulo {
	font-size: 3.1rem;
	color: #701705;
	line-height: 1.65;
	
}.ps-bloque {
    background: #ffece5; /* Peach Breeze */
    border-radius: 12px;
    padding: 28px 40px;
    margin: 25px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.ps-bloque h2 {
    font-size: 2rem;
    color: #800000;
    margin-bottom: 12px;
}

.ps-bloque p {
    font-size: 1.25rem;
    line-height: 1.65;
    text-align: justify;
    margin-bottom: 16px;
}

.ps-bloque img {
  display: block;
  margin: 0 auto;
}

.ps-galeria {
    background: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    margin: 40px 0;
}

.ps-video.ps-bloque.ps-galeria {
    background: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* =========================================================
   RECORTE DE PRENSA
   ========================================================= */

.recorte-prensa {
  border: 1px solid #ccc;
  padding: 1.8rem;
  background: #ffece5;
  box-shadow: 2px 2px 0px rgba(0,0,0,0.15);
  font-family: "Montserrat", serif;
  max-width: 850px;
  margin: 2rem auto;
  position: relative;
}

.recorte-prensa::before,
.recorte-prensa::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 35px;
  background: #f5f5f5;
  border: 1px solid #ccc;
  top: -10px;
  transform: rotate(-3deg);
}

.recorte-prensa::after {
  right: 50px;
  transform: rotate(3deg);
}

.recorte-prensa::before {
  left: 50px;
}

.recorte-titulo {
	font-size: 1.8rem;
	color: #800000;
	margin-bottom: 0.8rem;
	font-weight: bold;
}

.recorte-grafica img {
  width: 100%;
  height: auto;
  margin: 0.25rem;
  /*border: 1px solid #ddd;
  box-shadow: 1px 1px 0 rgba(0,0,0,0.1);*/
}

.recorte-texto {
  font-size: 1.25rem;
  line-height: 1.6;
}

.recorte-fuente {
  display: block;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #555;
  font-style: italic;
}

/* =========================================================
   VÍDEO
   ========================================================= */

/* Bloque del vídeo sin fondo ni padding extra */
.ps-video {
    background: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    margin: 40px 0;
}

.ps-video-wrapper {
    width: 85%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);

/* ALTURA AUTOMÁTICA → el vídeo define la altura */
    height: auto;
}

.ps-video-wrapper video {
    width: 100%;
    height: auto;      /* CLAVE: evita que se estire verticalmente */
    display: block;
    background: #000;
    object-fit: contain; /* mantiene proporción sin recortar */
}

/* =========================================================
   CONTACTO — VERSIÓN ESCRITORIO
   ========================================================= */

.ps-contacto { 
  background: none; 
  padding-top: 1rem; 
}

.contacto-desktop .ps-contacto-circulos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  position: relative;
}

.contacto-desktop .circulo {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: #ffece5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: "Montserrat", serif;
  text-align: center;
  padding: 1.2rem;
  overflow: hidden;
}

.contacto-desktop .circulo svg {
  width: 80px;
  height: 80px;
  margin-bottom: 0.5rem;
  stroke: #800000;
}

/* Variantes */
.contacto-desktop .horario {
  width: 450px;
  height: 450px;
  transform: translateY(10px);
}

.contacto-desktop .contacto-email {
  width: 450px;
  height: 450px;
  transform: translateY(30px);
}

.contacto-desktop .cuenta-bancaria {
  width: 500px;
  height: 500px;
  transform: translateY(10px);
}

.contacto-desktop .contacto-telf {
  width: 300px;
  height: 300px;
  transform: translateY(10px);
}

.contacto-desktop .contacto-direccion {
  width: 450px;
  height: 450px;
  transform: translateY(15px);
}

/* Texto */
.contacto-desktop .horario .valor {
  font-size: 3.4rem;
  color: #800000;
  font-weight: bold;
  line-height: 1.1;
  max-width: 90%;
  margin: 0 auto;
  word-break: break-word;
}

.contacto-desktop .circulo .dato {
  font-size: 3.8rem;
  line-height: 1;
}

.contacto-desktop .valor {
  color: #800000;
  text-align: center;
  line-height: 1.3;
  display: inline-block;
  margin: 0 auto;
  max-width: 90%;
  word-break: break-word;
}

/* Escritorio */
.contacto-desktop {
  display: block;
}

.contacto-mobile {
  display: none;
}

/* =========================================================
   CONTACTO — VERSIÓN MÓVIL
   ========================================================= */

.contacto-mobile {
  display: none;
}

@media (max-width: 768px) {

  /* Ocultar escritorio */
  .contacto-desktop {
    display: none;
  }

  /* Mostrar móvil */
  .contacto-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 1.5rem;
  }

  .ps-bloque h2 {
    font-size: 1.6rem;
    color: #800000;
    margin-bottom: 12px;
  }
  
  .ps-bloque p {
    font-size: 1rem;
    line-height: 1.5;
    text-align: left;
    margin-bottom: 12px;
  }
  
  .recorte-titulo {
	font-size: 1.4rem;
	color: #800000;
	margin-bottom: 0.8rem;
	font-weight: bold;
  }

  .recorte-texto {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  /* Círculo base móvil */
  .contacto-mobile .circulo-m {
    width: 280px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: #ffece5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    text-align: center;
  }

  /* Iconos */
.contacto-mobile .circulo-m svg {
  width: 40px;
  height: auto;
  display: block;
  margin-bottom: 0.3rem;
  stroke: #800000;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

  /* Contenedor del texto */
  .contacto-mobile .contenido-m {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 90%;
  }

  /* Título */
  .contacto-mobile .titulo-m {
    all: unset;
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #800000;
    line-height: 1.2;
    margin-bottom: 0.2rem;
    text-align: center;
  }

  /* Texto principal */
  .contacto-mobile .valor-m {
    all: unset;
    display: block;
    font-size: 1rem;
    color: #800000;
    line-height: 1.25;
    text-align: center;
    max-width: 90%;
    word-break: break-word;
  }

  /* IBAN */
  .contacto-mobile .iban-m {
    font-weight: 600;
    margin-top: 0.3rem;
  }

  /* Logo */
  .contacto-mobile .logo-m {
    width: 70px;
    margin-top: 0.4rem;
  }

  /* Ajustes por tipo */
  .contacto-mobile .donativos-m {
    width: 300px;
  }

  .contacto-mobile .direccion-m {
    width: 260px;
  }
}

/* =========================================================
   CARRUSEL
   ========================================================= */

.ps-carousel {
    position: relative;
    width: 85%;
    max-width: 900px;
    margin: 40px auto;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    background: #000;
}

/* Pista que contiene las imágenes */
.ps-carousel-track {
    display: flex;
    transition: transform 0.4s ease;
}

/* Cada imagen ocupa todo el carrusel */
.ps-carousel-track img {
    width: 100%;
    height: 500px; /* ajusta a tu gusto */
    object-fit: cover; /* ajusta contenido sin deformar */
    flex-shrink: 0;
}

/* Botones */
.ps-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.8);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: background 0.2s ease;
}

.ps-carousel-btn:hover {
    background: rgba(255,255,255,1);
}

.ps-prev {
    left: 15px;
}

.ps-next {
    right: 15px;
}
