/*
Theme Name: CISAR Majella
Theme URI: https://cisarmajella.org/
Author: CISAR Majella
Description: Tema WordPress modificabile per la Sezione CISAR Majella IQ6FW.
Version: 0.10.0
Requires at least: 6.1
Requires PHP: 7.4
Text Domain: cisar-majella
*/
:root{--navy:#17365f;--blue:#2e6fae;--silver:#d8e5f4;--paper:#f6f8fb;--text:#102746;--line:rgba(23,54,95,.2);--wide:1180px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--text);font-family:Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}h1,h2,h3{font-family:Arial,Helvetica,sans-serif}.site-header{min-height:92px;padding:12px 4vw;background:linear-gradient(105deg,#102746,#2d65a3);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:30px;position:sticky;top:0;z-index:20;box-shadow:0 3px 12px rgba(15,39,73,.22)}.logos{display:flex;align-items:center;gap:16px}.logo-national{width:64px;height:64px;background:#fff;border-radius:50%;padding:2px}.logo-divider{width:1px;height:50px;background:#fff5}.logo-majella{width:270px;height:66px;object-fit:cover;border-radius:4px}.site-nav ul{display:flex;gap:28px;list-style:none;margin:0;padding:0;font-weight:700}.site-nav a:hover{color:#d8e5f4}.hero{max-width:var(--wide);margin:auto;padding:90px 30px;display:grid;grid-template-columns:1.1fr .9fr;gap:70px;align-items:center}.kicker,.section-label{text-transform:uppercase;letter-spacing:.13em;font-size:12px;font-weight:800;color:var(--blue)}.hero h1,.section-title{font-size:clamp(48px,6vw,84px);line-height:.98;letter-spacing:-.055em;margin:18px 0 28px}.hero p{font-size:20px;line-height:1.55;color:#49617f}.btn{display:inline-block;margin-top:18px;background:var(--blue);color:#fff;padding:15px 22px;font-weight:700;box-shadow:4px 4px 0 var(--navy)}.frequency{min-height:420px;background:linear-gradient(145deg,#102746,#3674b5);color:#fff;padding:38px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:14px 14px 0 #c7d6e8}.frequency strong{font-size:clamp(48px,6vw,82px);letter-spacing:-.06em}.frequency .rings{text-align:center;font-size:80px;color:#d8e5f4}.frequency footer{border-top:1px solid #fff5;padding-top:18px;display:flex;justify-content:space-between;font-weight:700}.notice{background:var(--silver);border-block:1px solid #7896ba;padding:17px 5vw;display:flex;gap:38px;overflow:hidden;white-space:nowrap;font-weight:700}.section{padding:105px max(7vw,30px)}.section-inner{max-width:var(--wide);margin:auto}.intro{display:grid;grid-template-columns:1fr 2fr;gap:40px}.intro p{font-size:20px;line-height:1.6;color:#49617f}.network{background:#e8eef6}.cards{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--navy)}.card{padding:25px;min-height:190px;border-right:1px solid var(--navy)}.card:last-child{border:0}.card h3{font-size:36px;margin:60px 0 5px}.posts{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.post-card{background:#fff;border:1px solid var(--line);padding:28px}.post-card h3{font-size:25px}.post-card a{font-weight:700;color:var(--blue)}.archive{background:linear-gradient(120deg,#102746,#244f82);color:#fff;text-align:center}.archive p{max-width:700px;margin:0 auto;font-size:19px;line-height:1.6;color:#c9d7e8}.site-footer{padding:55px max(7vw,30px);display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:35px}.footer-logos{display:flex;align-items:center;gap:14px}.footer-logos img:first-child{width:58px}.footer-logos img:last-child{width:210px}.site-footer small{grid-column:1/-1;border-top:1px solid var(--line);padding-top:20px}@media(max-width:900px){.site-nav{display:none}.logo-majella{width:190px}.hero{grid-template-columns:1fr}.intro{grid-template-columns:1fr}.cards{grid-template-columns:1fr 1fr}.posts{grid-template-columns:1fr}.site-footer{grid-template-columns:1fr 1fr}}@media(max-width:560px){.site-header{padding:10px 16px}.logo-national{width:46px;height:46px}.logo-majella{width:160px;height:48px}.hero,.section{padding:65px 22px}.hero h1{font-size:49px}.cards{grid-template-columns:1fr}.site-footer{grid-template-columns:1fr}}

/* Normalizzazione dei contenuti importati dal vecchio sito. */
.post-card{overflow:hidden;line-height:1.7}
.post-card h1{color:var(--blue);font-size:clamp(34px,5vw,56px);line-height:1.08}
.post-card h2,.post-card h3{color:var(--navy);line-height:1.2}
.post-card p,.post-card li,.post-card td,.post-card th,.post-card span,.post-card font{color:var(--text)!important;font-family:Arial,Helvetica,sans-serif!important;font-size:max(16px,1em)!important;line-height:1.7!important}
.post-card a{color:var(--blue)!important;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.post-card img{display:block;max-width:100%!important;height:auto!important;margin:18px auto}
.post-card figure{max-width:100%;margin:24px 0}
.post-card table{display:block;width:100%!important;max-width:100%;overflow-x:auto;border-collapse:collapse;background:#fff}
.post-card th,.post-card td{min-width:110px;padding:10px 12px!important;border:1px solid var(--line)!important;background:#fff!important;vertical-align:top}
.post-card th{background:var(--silver)!important;font-weight:700}
.post-card iframe,.post-card video,.post-card object,.post-card embed{max-width:100%}
@media(max-width:560px){.post-card{padding:20px}.post-card h1{font-size:34px}.post-card th,.post-card td{min-width:95px;padding:8px!important}}
.page-navigation{display:flex;align-items:center;gap:12px;margin:0 0 22px}
.back-button,.home-button{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;border:1px solid var(--navy);border-radius:4px;font:700 15px Arial,Helvetica,sans-serif;cursor:pointer}
.back-button{background:var(--navy);color:#fff}
.home-button{background:#fff;color:var(--navy)}
.back-button:hover,.back-button:focus{background:var(--blue)}
.home-button:hover,.home-button:focus{background:var(--silver)}
.frequency .station-name{display:flex;flex-direction:column;font-size:clamp(54px,7vw,92px);line-height:.9;letter-spacing:-.05em}
.frequency .station-name small{margin-top:18px;font-size:clamp(20px,2.3vw,32px);line-height:1.08;letter-spacing:-.02em;color:#d8e5f4}
.station-icons{display:flex;align-items:center;justify-content:center;gap:26px;font-size:clamp(38px,5vw,62px)}
.station-icons span{position:relative;display:grid;place-items:center;width:1.35em;height:1.35em;border:1px solid #ffffff66;border-radius:50%;background:#ffffff12}
.station-icons span::before{content:"";width:.14em;height:.14em;border-radius:50%;background:#fff;box-shadow:0 0 12px #fff}
.station-icons span::after{content:"";position:absolute;width:.62em;height:.62em;border:3px solid #d8e5f4;border-top-color:transparent;border-bottom-color:transparent;border-radius:50%}
.propagation-mark{display:flex;align-items:center;justify-content:center;color:#d8e5f4}
.propagation-mark svg{display:block;width:min(100%,430px);height:150px;filter:drop-shadow(0 0 8px rgba(216,229,244,.18))}
.memory-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:42px;text-align:left}
.memory-gallery figure{margin:0;background:#fff;color:var(--navy);border:1px solid #ffffff30;overflow:hidden}
.memory-gallery a{display:block;overflow:hidden}
.memory-gallery img{display:block;width:100%;height:240px;object-fit:cover;transition:transform .25s ease}
.memory-gallery a:hover img,.memory-gallery a:focus img{transform:scale(1.035)}
.memory-gallery figcaption{min-height:64px;padding:15px 17px;font-weight:700;line-height:1.35}
@media(max-width:900px){.memory-gallery{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.memory-gallery{grid-template-columns:1fr}.memory-gallery img{height:220px}}
