﻿/* =========================================================
   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: 2.2rem;
    color: #800000;
    margin-bottom: 12px;
}

.ps-bloque p {
    font-size: 1.4rem;
    line-height: 1.65;
    text-align: justify;
    margin-bottom: 16px;
}

.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.4rem;
  background: #ffece5;
  box-shadow: 2px 2px 0px rgba(0,0,0,0.15);
  font-family: "Montserrat", serif;
  max-width: 900px;
  margin: 2rem auto;
  position: relative;
}

.recorte-prensa::before,
.recorte-prensa::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 45px;
  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.2rem;
  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
   ========================================================= */

/* Quitamos el fondo del bloque */  
.ps-contacto { 
	background: none; 
	padding-top: 1rem; 
}

.ps-contacto-circulos {
  display: flex;
  flex-wrap: wrap; /* permite saltar a otra línea */
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  position: relative;
}

.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; /* Evita que el texto desborde */
}

.circulo svg {
  width: 80px;
  height: 80px;
  margin-bottom: 0.5rem;
  stroke: #800000;  /* color del icono */
}

/* Tamaños distintos */
.horario {
  width: 550px;
  height: 550px;
  transform: translateY(10px);
}

.contacto-email {
  width: 450px;
  height: 450px;
  transform: translateY(10px);
}

.cuenta-bancaria {
  width: 550px;
  height: 550px;
  transform: translateY(-20px);
}

.contacto-telf {
  width: 300px;
  height: 300px;
  transform: translateY(10px);
}

.contacto-direccion {
  width: 450px;
  height: 450px;
  transform: translateY(15px);
}

.horario .valor {
    font-size: 3.4rem;
    text-align: center;
    color: #800000;
    font-weight: bold;
    display: inline-block;
    margin: 0 auto;
    word-break: break-word;
    max-width: 90%;
}

.ps-contacto-circulos .circulo .dato {
  font-size: 3.8rem;
  line-height: 1;
}

/* Texto dentro del círculo */  
.valor {
  color: #800000;
  text-align: center;      /* centra cada línea */
  line-height: 1.3;
  display: inline-block;   /* permite que el bloque se centre */
  margin: 0 auto;          /* centra el bloque dentro del círculo */
  word-wrap: break-word;   /* permite el desbordamiento */
  max-width: 90%;          /* evita que toque los bordes */
}

.ps-contacto-circulos .circulo .valor {
  display: inline-block !important;
  text-align: center !important;
  margin: 0 auto !important;
  word-break: break-word !important;
  max-width: 90% !important;
}

/* =========================================================
   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;
}
