/*
 * LOURDES · Portada más despejada · Prueba visual v0.2
 * Se carga EXCLUSIVAMENTE en el inicio mediante wp_enqueue_scripts.
 * Los 14 documentos HTML, imágenes, textos, enlaces y footer permanecen intactos.
 * No establece estilos globales en las páginas internas.
 */

/* Escritorio: más aire entre bloques y fotografías más protagonistas. */
@media (min-width: 921px) {
  .hero { height: 392px; }
  .hero-inner { max-width: 1280px; padding: 52px 7%; }
  .hero h1 { font-size: clamp(41px, 4.15vw, 56px); max-width: 525px; line-height: 1.035; margin: 15px 0 17px; }
  .hero-text { max-width: 390px; line-height: 1.58; margin-bottom: 20px; }
}
.hero-photo { background-size: cover, auto 100%; }
.quick-wrap { max-width: 1280px; margin-bottom: 25px; }
.quick-grid { min-height: 86px; border-radius: 11px; }
.shortcut { gap: 8px; }

.container { max-width: 1280px; padding-left: 3.2%; padding-right: 3.2%; }
.section-kicker { margin-bottom: 14px; }
.community { margin-top: 34px; }
.community-grid, .news-grid { gap: 20px; }
.community-card, .news-card { border-radius: 9px; }
.community-card > img { height: 178px; }
.community-card-content { min-height: 112px; padding: 17px 18px 19px; }
.community-card h3 { margin-bottom: 9px; }
.community-card p { margin-bottom: 12px; line-height: 1.5; }

.features-grid { gap: 20px; margin-top: 35px; }
.feature { padding: 24px 24px 23px; border-radius: 9px; }
.feature .section-kicker { margin-bottom: 9px; }
.feature-head { margin-bottom: 18px; }
.feature-content { min-height: 192px; height: auto; }
.feature-content img { width: 46%; min-height: 192px; }
.feature-info { padding: 20px 20px; }
.feature-info p { line-height: 1.5; }

.jesuit { margin-top: 35px; height: 206px; border-radius: 9px; }
.jesuit-copy { padding: 20px 30px; }
.jesuit-copy h2 { font-size: 33px; margin-bottom: 12px; }
.jesuit-copy p { font-size: 14px; line-height: 1.5; margin-bottom: 14px; }

.news-section { margin-top: 40px; }
.news-header { margin-bottom: 18px; }
.news-card > img { height: 166px; }
.news-card-copy { min-height: 174px; padding: 15px 17px 18px; }
.news-card h3 { margin-bottom: 9px; line-height: 1.17; }
.news-card p { line-height: 1.48; margin-bottom: 12px; }

.miniblocks { gap: 20px; margin-top: 37px; margin-bottom: 31px; }
.miniblock { padding: 22px; border-radius: 9px; }
.miniblock h2 { margin-bottom: 16px; }
.miniblock-row img { height: 155px; }
.miniblock-copy p { line-height: 1.5; }

/* Tabletas: menos tarjetas por fila para no empequeñecer las imágenes. */
@media (min-width: 651px) and (max-width: 920px) {
  .hero { height: 365px; }
  .hero-inner { padding: 42px 8%; }
  .hero h1 { font-size: 47px; max-width: 425px; }
  .community-grid, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .community-card > img, .news-card > img { height: 210px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-content { min-height: 200px; }
  .feature-content img { min-height: 200px; }
  .jesuit { height: 205px; }
  .news-card-copy { min-height: 148px; }
  .miniblocks { grid-template-columns: 1fr; }
}

/* Móvil: accesos legibles, tarjetas amplias y nada apelotonado. */
@media (max-width: 650px) {
  .hero { min-height: 448px; }
  .hero-inner { padding: 58px 8% 108px; }
  .quick-wrap { margin: -43px 14px 27px; padding: 0; }
  .quick-grid { grid-template-columns: repeat(6, minmax(0,1fr)); min-height: 0; }
  .shortcut { grid-column: span 2; min-height: 75px; gap: 7px; }
  .shortcut:nth-child(4), .shortcut:nth-child(5) { grid-column: span 3; }
  .shortcut span { font-size: 12px; }
  .shortcut:not(:last-child):after { display: none; }
  .shortcut:nth-child(-n+3) { border-bottom: 1px solid #eee4da; }
  .shortcut:nth-child(1), .shortcut:nth-child(2), .shortcut:nth-child(4) { border-right: 1px solid #eee4da; }
  .community { margin-top: 29px; }
  .community-grid, .news-grid { gap: 16px; }
  .community-card > img { height: 185px; }
  .community-card-content { min-height: 0; }
  .features-grid { gap: 18px; margin-top: 31px; }
  .feature { padding: 20px; }
  .feature-content { min-height: 170px; }
  .feature-content img { min-height: 170px; }
  .feature-info { padding: 16px; }
  .jesuit { height: 205px; margin-top: 31px; }
  .jesuit-copy { padding: 12px; }
  .jesuit-copy p { font-size: 11px; }
  .news-section { margin-top: 33px; }
  .news-card > img { height: 180px; }
  .news-card-copy { min-height: 0; padding: 15px; }
  .miniblocks { gap: 18px; margin-top: 32px; }
  .miniblock-row img { height: 166px; }
}

/* Teléfonos angostos: una foto de tamaño completo por tarjeta. */
@media (max-width: 520px) {
  .community-grid, .news-grid { grid-template-columns: minmax(0, 1fr); }
  .community-card > img { height: 225px; }
  .news-card > img { height: 224px; }
  .community-card-content { padding: 17px 18px 19px; }
  .community-card h3, .news-card h3 { font-size: 21px; }
  .community-card p, .news-card p { font-size: 14px; }
  .feature-content { display: flex; flex-direction: column; height: auto; }
  .feature-content img { width: 100%; height: 203px; min-height: 0; }
  .feature-info { min-height: 135px; padding: 18px; }
  .feature-head { gap: 12px; }
  .feature h2 { font-size: 26px; }
  .jesuit { height: 218px; }
  .jesuit-copy h2 { font-size: 23px; }
  .jesuit-copy p { font-size: 11px; }
}
@media (max-width: 390px) {
  .hero h1 { font-size: 39px; }
  .community-card > img { height: 208px; }
  .news-card > img { height: 208px; }
  .feature-content { height: auto; }
  .news-card h3, .community-card h3 { font-size: 21px; }
}
