
:root{--cream:#f8f3e9;--ink:#171717;--red:#cf092e;--yellow:#ffd23d;--blue:#0869b4;--turq:#9de4df;--display:'Barlow Condensed',Impact,'Arial Narrow',sans-serif;--body:'Barlow',Arial,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--cream);color:var(--ink);font:17px/1.4 var(--body)}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}a:focus-visible,button:focus-visible{outline:3px solid #007f86;outline-offset:4px}.skip{position:absolute;left:-9999px}.skip:focus{left:10px;top:10px;background:white;z-index:10;padding:12px}.socialbar{background:var(--ink);color:white;display:flex;align-items:center;justify-content:center;gap:24px;padding:7px 20px;font-size:15px;font-weight:700}.socialbar b{color:var(--yellow)}.socials{display:flex;gap:16px;align-items:center}.socials a,.socials button{display:grid;place-items:center;width:26px;height:26px;background:none;border:0;color:inherit;padding:0}.socials svg{width:21px;height:21px;fill:currentColor}header{background:var(--cream);position:relative;z-index:2;border-bottom:1px solid #ddd5c8}.nav-wrap{max-width:1510px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:18px 4%;gap:30px}.logo{flex:0 1 330px;min-width:180px}.logo img{display:block;width:100%;mix-blend-mode:multiply}nav{display:flex;align-items:center;gap:clamp(16px,2.5vw,42px);font-size:clamp(15px,1.4vw,20px);font-weight:800;white-space:nowrap}nav a:hover{color:var(--red)}.shop{display:inline-block;background:var(--red);color:white!important;border:0;border-radius:7px;padding:12px 17px;font-weight:800}.shop:hover{background:#aa0826}.menu-toggle{display:none}.hero{min-height:400px;position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;padding:36px 6% 46px 36%;background:#f5ebd9}.hero-art{position:absolute;inset:0;z-index:-1}.hero-art img{width:100%;height:100%;object-fit:cover}.hero-copy{position:relative;max-width:900px;z-index:1}.eyebrow{font-size:14px;font-weight:800;letter-spacing:.15em;margin:0 0 8px}h1,h2,p{margin-top:0}h1{font:italic 900 clamp(64px,8.3vw,145px)/.84 var(--display);letter-spacing:-.025em;margin:0 0 25px;transform:rotate(-2deg)}h1 em{color:var(--red);font-style:inherit}.tagline{display:inline-block;background:var(--yellow);font-size:clamp(17px,2vw,30px);font-style:italic;font-weight:700;padding:6px 15px;transform:rotate(-1deg);margin:0}.sticker{position:absolute;right:3%;top:22px;transform:rotate(9deg);background:var(--red);color:white;font:italic 900 clamp(23px,3vw,46px)/.88 var(--display);padding:22px 20px;clip-path:polygon(50% 0,61% 12%,77% 3%,82% 21%,100% 25%,89% 43%,100% 59%,83% 66%,85% 87%,65% 84%,51% 100%,39% 86%,18% 94%,20% 73%,0 65%,11% 48%,0 30%,19% 24%,22% 5%,39% 15%);text-align:center}.impact{background:var(--ink);color:white;display:grid;grid-template-columns:repeat(3,1fr);padding:14px 5%;gap:20px}.impact>div{display:flex;justify-content:center;align-items:center;gap:16px;border-right:1px solid #ffffff80}.impact>div:last-child{border:0}.impact p{margin:0;font-weight:700;font-size:clamp(16px,1.8vw,27px);line-height:1.05}.impact strong{font-weight:800}.stat-icon{font-size:43px;line-height:1;color:var(--yellow)}.cards{max-width:1510px;margin:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:24px 3% 16px}.tile{position:relative;isolation:isolate;overflow:hidden;border-radius:15px;padding:19px;display:flex;flex-direction:column;min-height:260px;box-shadow:0 3px 0 #17171718}.yellow{background:var(--yellow)}.red{background:var(--red);color:white}.blue{background:var(--blue);color:white}.tile h2{font:italic 900 clamp(26px,3vw,48px)/.95 var(--display);max-width:100%;overflow-wrap:anywhere;margin:0 0 72px}.tile p{font-size:16px;font-weight:600;margin:0 0 16px;max-width:95%}.tile-art{position:absolute;right:10px;top:58px;width:110px;height:100px;z-index:-1;opacity:.75}.tile-art img{width:100%;height:100%;object-fit:contain}.tile button{margin-top:auto;align-self:flex-start;text-align:left;background:var(--cream);border:0;border-radius:7px;padding:9px 12px;color:var(--ink);font-size:14px;font-weight:800}.tile button:hover{background:white}.tile button span{padding-left:5px}.shop-banner{max-width:1400px;margin:4px auto 22px;display:flex;justify-content:center;align-items:center;gap:28px;padding:14px 4%;background:linear-gradient(100deg,transparent 0%,var(--yellow) 5%,var(--yellow) 65%,transparent 100%)}.shop-banner a{font:italic 900 clamp(23px,3vw,39px)/1 var(--display)}.shop-banner em{color:var(--red)}.shop-banner span{font-style:italic;font-weight:700}footer{background:var(--turq);position:relative;overflow:hidden;padding:30px 5% 0}.footer-grid{position:relative;z-index:1;max-width:1300px;margin:auto;display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.footer-grid>div{border-right:1px solid #17171755;padding-right:12px}.footer-grid>div:last-child{border:0}.footer-grid h2{font:italic 800 25px/1 var(--display);margin:0 0 15px}.footer-grid a,.footer-grid button{display:block;font-size:15px;margin:4px 0}.footer-grid button:not(.socials button){background:none;border:0;padding:0;text-align:left;color:inherit}.footer-grid a:hover,.footer-grid button:hover{text-decoration:underline}.footer-grid .socials a,.footer-grid .socials button{display:grid}.credits{font-size:14px}.skyline{display:block;width:100%;height:105px;object-fit:cover;object-position:bottom;margin-top:14px}.copyright{text-align:center;font-size:12px;background:#000;color:white;margin:70px -6% 0 -6%;padding:10px}dialog{max-width:420px;width:90%;border:0;border-radius:15px;padding:28px;background:var(--cream);color:var(--ink)}dialog::backdrop{background:#0009}.close{float:right;background:none;border:0;font-size:26px}.notice h2{font-family:var(--display)}@media(max-width:1050px){.nav-wrap{gap:18px}.logo{flex-basis:250px}nav{gap:15px}.hero{padding-left:32%;min-height:350px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.tile h2{font-size:40px}.footer-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.socialbar{font-size:13px;gap:12px}.nav-wrap{padding:14px 5%}.logo{max-width:245px;min-width:0}.menu-toggle{display:block;border:0;background:none;font-weight:800;white-space:nowrap}nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--cream);padding:20px 5%;box-shadow:0 6px 12px #0002;flex-direction:column;align-items:stretch;gap:16px}nav.open{display:flex}.hero{padding:30px 6% 180px;min-height:480px;align-items:flex-start}.hero-art img{object-position:20% bottom}.hero-copy{max-width:90%}h1{font-size:clamp(64px,12vw,96px)}.sticker{top:auto;bottom:20px;right:5%;font-size:32px}.impact{padding:14px 3%;gap:8px}.impact>div{gap:5px;flex-direction:column;text-align:center}.impact p{font-size:14px}.stat-icon{font-size:28px}.cards{padding:18px 4%;gap:12px}.tile{padding:15px;min-height:200px}.tile h2{font-size:clamp(25px,5vw,38px)}.tile p{font-size:24px !important}.tile-art{width:80px;top:65px;height:80px}.shop-banner{flex-direction:column;gap:8px;text-align:center}.footer-grid{gap:22px 12px}.footer-grid h2{font-size:22px}.footer-grid>div{border:0}.footer-grid a{overflow-wrap:anywhere}}@media(max-width:380px){.cards{grid-template-columns:1fr}.tile{min-height:230px}.footer-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}.green {
    background: #008C45;
    color: white;
}

footer {
    background: linear-gradient(
        rgba(255, 255, 255, 0.65),
        rgba(255, 255, 255, 0.65)
    ), url('img/peu.webp') no-repeat center bottom;
    background-size: cover;
    position: relative;
    min-height: 230px;
}
footer h3 {
    font-size: 22px;
}

footer p,
footer a {
    font-size: 14px;
}
.footer-grid > div {
    min-height: 130px;
    padding: 15px;
} 
@media (max-width: 760px) {
    .hero {
        justify-content: flex-end;
    }

    .hero-copy {
        text-align: right;
        margin-left: auto;
        margin-right: 0;
        max-width: 70%;
    }

    .hero-copy h1 {
        text-align: right;
        font-size: 60px;
    }

    .hero-copy .tagline {
        text-align: right;
        font-size: 24px;
    }
}

/* =========================
   AVÍS DE SEGURETAT
   ========================= */

.security-notice {
    background: #fff3d8;
    border-top: 3px solid #ffc107;
    border-bottom: 1px solid #e8d6a8;
    padding: 25px 5%;
    color: #292929;
}

.security-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.security-notice summary {
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
    line-height: 1.4;
}

.security-text {
    margin-top: 15px;
    font-size: 15px;
    line-height: 1.7;
}

.security-text p {
    margin: 0 0 12px;
}

.security-text a {
    color: #805400;
    text-decoration: underline;
    overflow-wrap: anywhere;
}


/* =========================
   PRESENTACIÓ DEL POSTU
   ========================= */

.about-postu {
    background: #ffffff;
    padding: 45px 5%;
    color: #171717;
}

.about-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.about-postu h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0 0 15px;
}

.about-line {
    width: 80px;
    height: 5px;
    background: #008C95;
    margin-bottom: 20px;
}

.about-postu p {
    font-size: 17px;
    line-height: 1.8;
    margin: 0 0 18px;
}

.about-postu strong {
    color: #008C95;
}

.about-button {
    display: inline-block;
    background: #171717;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 6px;
    margin-top: 5px;
}

.about-button:hover {
    background: #008C95;
    color: #ffffff;
}


/* ADAPTACIÓ A MÒBILS */

@media (max-width: 760px) {

    .security-notice {
        padding: 20px 5%;
    }

    .security-notice summary {
        font-size: 18px;
    }

    .security-text {
        font-size: 14px;
    }

    .about-postu {
        padding: 30px 5%;
    }

    .about-postu p {
        font-size: 15px;
        line-height: 1.7;
    }

}

.about-postu a {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.about-postu a[href="sr-postu.html"] {
    color: #9B7100;
}

.about-postu a[href="solidaritat.html"] {
    color: #CF092E;
}

.about-postu a[href="lleidatanament.html"] {
    color: #0869B4;
}

.about-postu a[href="premsa.html"] {
    color: #008C45;
}

.about-postu a:hover {
    color: #171717;
} 
.about-postu p {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.security-text p {
    font-size: 17px;
    line-height: 1.7;
}

/* Adaptació a mòbils */

@media (max-width: 760px) {
    .about-postu p {
        font-size: 18px;
        line-height: 1.6;
    }

    .security-text p {
        font-size: 16px;
    }
} footer h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

footer p,
footer a,
footer li {
    font-size: 18px;
    line-height: 1.6;
}

.copyright {
    font-size: 15px;
}

/* Adaptació a mòbils */

@media (max-width: 760px) {
    footer h3 {
        font-size: 22px;
    }

    footer p,
    footer a,
    footer li {
        font-size: 16px;
    }

    .copyright {
        font-size: 13px;
    }
}
/* Pàgina Sr. Postu */
.tile .tile-link{margin-top:auto;align-self:flex-start;background:var(--cream);border-radius:7px;padding:9px 12px;color:var(--ink);font-size:14px;font-weight:800;text-decoration:none}.tile .tile-link:hover{background:white}
.profile-wrap{max-width:1200px;margin:0 auto;width:90%}.profile-hero{background:var(--yellow);padding:52px 0}.profile-hero-grid{display:flex;align-items:center;justify-content:space-between;gap:25px}.profile-hero h1{font-size:clamp(54px,9vw,120px);margin:18px 0;line-height:.95}.profile-lead{font-size:clamp(20px,3vw,30px);font-weight:800;margin:0}.profile-stamp{background:var(--ink);color:var(--yellow);padding:24px;border-radius:50%;font:italic 900 32px/1 var(--display);transform:rotate(8deg);text-align:center;flex-shrink:0}.profile-nav{display:block;position:static;background:var(--ink);color:white;padding:0;box-shadow:none}.profile-nav .profile-wrap{display:flex;flex-wrap:wrap;gap:12px 30px;padding:16px 0}.profile-nav a{font-weight:800;color:white}.profile-nav a:hover{text-decoration:underline}.profile-section{padding:48px 0;background:white;scroll-margin-top:20px}.profile-section h2,.profile-end h2{font:italic 900 clamp(32px,5vw,52px)/1 var(--display);margin:0 0 24px;text-transform:uppercase}.profile-section h2:after{content:'';display:block;width:80px;height:5px;background:var(--yellow);margin-top:15px}.profile-section p,.profile-section li{font-size:20px;line-height:1.7}.profile-section p{margin:0 0 20px}.profile-section a:not(.profile-button){color:#805b00;text-decoration:underline;font-weight:700;overflow-wrap:anywhere}.profile-bio{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:35px;align-items:start}.profile-aside{background:var(--yellow);border-radius:12px;overflow:hidden}.profile-photo img{width:100%;display:block}.profile-aside p{padding:20px;margin:0}.profile-books,.profile-events{background:var(--cream)}.book-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.book-card{display:grid;grid-template-columns:110px 1fr;gap:20px;align-items:center;padding:22px;border-radius:12px;background:white;border:1px solid #17171720}.book-placeholder{background:var(--yellow);padding:15px;font:italic 900 24px/1.1 var(--display);min-height:155px;display:grid;align-content:center;box-shadow:4px 4px 0 var(--ink)}.book-card h3{font-size:27px;margin:0 0 8px}.book-card .eyebrow{font-size:12px;margin:0 0 10px}.profile-button{display:inline-block;background:var(--ink);color:white;padding:10px 14px;border-radius:6px;font-weight:800}.award-grid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.award-grid li{border-left:5px solid var(--yellow);background:var(--cream);padding:15px 20px;font-size:18px}.year-list{display:grid;gap:10px}.year-list details{background:white;border:1px solid #17171720;border-radius:8px;padding:15px 20px}.year-list summary{cursor:pointer;font-size:25px;font-weight:900}.year-list summary span{font-size:15px;font-weight:600;margin-left:10px}.year-list ul{padding-left:25px;margin-bottom:0}.year-list li{margin:8px 0}.profile-end{background:var(--yellow);padding:30px 0}.profile-end a{display:inline-block;margin:0 20px 10px 0;font-weight:800;text-decoration:underline}.profile-page a:focus-visible{outline:3px solid #0869b4;outline-offset:3px}nav a[aria-current=page]{text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:6px}
@media(max-width:760px){.profile-hero{padding:34px 0}.profile-stamp{font-size:19px;padding:15px}.profile-section{padding:30px 0}.profile-section p,.profile-section li{font-size:18px;line-height:1.6}.profile-bio,.book-grid,.award-grid{grid-template-columns:1fr}.profile-aside{max-width:420px}.profile-nav .profile-wrap{gap:10px 20px}.profile-nav a{font-size:15px}.book-card{padding:15px;gap:15px;grid-template-columns:90px 1fr}.book-placeholder{font-size:20px}.profile-hero h1{font-size:clamp(44px,11vw,70px)}.profile-hero-grid{gap:10px}}

/* Portades dels #PostuLlibres: miniatures i ampliació */
.book-card .book-zoom {display:block;position:relative;min-width:0;cursor:zoom-in;text-decoration:none;}
.book-zoom img {display:block;width:100%;height:auto;border-radius:3px;box-shadow:3px 4px 8px #0003;transition:transform .2s ease;}
.book-zoom:hover img {transform:scale(1.03);}
.book-zoom-label {display:block;text-align:center;font-size:12px;margin-top:8px;}
#book-lightbox {position:fixed;inset:0;margin:auto;padding:0;border:0;background:transparent;width:max-content;height:max-content;max-width:90vw;max-height:88dvh;overflow:visible;}
#book-lightbox::backdrop {background:rgba(0,0,0,.9);}
#book-lightbox img {display:block;width:auto;height:auto;max-width:86vw;max-height:82dvh;object-fit:contain;}
#book-lightbox .book-lightbox-close {position:absolute;top:-40px;right:0;border:0;background:#171717;color:white;border-radius:50%;width:36px;height:36px;font-size:28px;line-height:1;cursor:pointer;}
@media(prefers-reduced-motion:reduce){.book-zoom img{transition:none;}}

/* MIDA DE LA FOTO DEL SR. POSTU */

.profile-photo img {
    width: 100%;
    height: auto;
    max-height: 470px;
    object-fit: cover;
    object-position: center top;
}

.profile-aside {
    max-width: 360px;
    margin-left: auto;
}

/* Adaptació a mòbils */

@media (max-width: 760px) {
    .profile-photo img {
        max-height: 420px;
    }

    .profile-aside {
        max-width: 380px;
        margin: 0 auto;
    }
}
/* Pàgines interiors: colors de secció */
.section-red{--accent:#cf092e;--accent-text:#fff;--link:#b4082b}.section-blue{--accent:#0869b4;--accent-text:#fff;--link:#0869b4}.section-green{--accent:#008c45;--accent-text:#fff;--link:#006b35}.section-neutral{--accent:#008c95;--accent-text:#fff;--link:#006a72}
.profile-page[class*="section-"] .profile-hero{background:var(--accent);color:var(--accent-text)}
.profile-page[class*="section-"] .profile-hero h1{font-size:clamp(36px,8vw,100px);overflow-wrap:anywhere}
.profile-page[class*="section-"] .profile-section h2:after{background:var(--accent)}
.profile-page[class*="section-"] .profile-section a:not(.profile-button){color:var(--link)}
.impact-strip{background:#171717;color:#fff;padding:24px;border-radius:10px;display:grid;gap:8px}.impact-strip strong{font:italic 900 clamp(32px,6vw,65px)/1 var(--display)}
.cause-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.cause-card{background:white;border:1px solid #17171720;border-radius:12px;padding:18px;min-width:0}.cause-art{display:flex;align-items:center;justify-content:center;gap:8px}.cause-art a{min-width:0;flex:1}.cause-art img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;box-shadow:none}.cause-card h3{font-size:23px;margin:16px 0 8px}.cause-card p{font-size:17px;line-height:1.55;margin:0}.model-zoom{display:block;cursor:zoom-in}.model-zoom img{max-width:100%;object-fit:contain}.section-blue #metro .model-zoom{max-width:720px;margin:auto}.video-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.video-card{background:white;border:1px solid #17171720;border-radius:12px;padding:24px}.video-card h3{margin:0 0 20px;font-size:26px}.video-link{display:block;padding:24px 12px;background:#e8f3fb;text-align:center;border-radius:8px}.video-link span{font-size:24px;display:block;margin-bottom:8px}
.press-year{padding:24px 0}.press-year:nth-of-type(even){background:var(--cream)}.press-list{padding:0;list-style:none;margin:0}.press-list li{padding:12px 0;border-bottom:1px solid #17171720;font-size:18px}.press-list a{display:block}.profile-page [hidden]{display:none!important}#press-search{display:block;width:100%;max-width:650px;font:inherit;padding:12px;border:1px solid #777;border-radius:6px;margin:10px 0}#press-count{font-size:16px}.section-green label{font-weight:bold}
@media(max-width:1000px){.cause-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.cause-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cause-card{padding:12px}.cause-card h3{font-size:20px}.cause-card p{font-size:15px}.video-grid{grid-template-columns:1fr}.press-list li{font-size:16px}}
@media(max-width:350px){.cause-grid{grid-template-columns:1fr}}

/* Solidaritat: marcador mecànic i fitxes */
.impact-counter{background:#cf092e;color:white;border-radius:14px;padding:clamp(20px,4vw,48px);text-align:center;box-shadow:0 6px 0 #85051c}.impact-counter p{font-weight:900;margin:0 0 16px}.impact-digits{display:flex;align-items:center;justify-content:center;gap:clamp(2px,1vw,10px);margin:18px auto 24px;max-width:760px}.impact-digit{display:grid;place-items:center;overflow:hidden;flex:0 1 11%;height:clamp(48px,12vw,110px);background:linear-gradient(#fff,#e9e9e9 49%,#bdbdbd 50%,#fafafa 52%,#fff);color:#171717;border:2px solid #171717;border-radius:6px;box-shadow:0 5px 0 #171717;font:900 clamp(28px,8vw,82px)/1 Arial,sans-serif;font-variant-numeric:tabular-nums}.impact-dot,.impact-euro{font-size:clamp(24px,6vw,65px);font-weight:900}.impact-digit span{display:block}.impact-facts{display:flex;justify-content:center;gap:clamp(12px,5vw,60px);flex-wrap:wrap;border-top:1px solid #ffffff66;padding-top:18px}.impact-facts b{display:block;font-size:26px}.cause-card{display:flex;flex-direction:column}.cause-card .cause-shop{display:block;margin-top:auto;padding:10px 12px;background:#cf092e;color:white!important;border-radius:6px;font-size:14px;line-height:1.4;text-decoration:none!important}.cause-card p{margin-bottom:16px}.cause-card .cause-shop:hover{background:#a30725}.cause-card .cause-art{min-height:0}.video-embed{aspect-ratio:16/9;background:#171717;color:white;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;border-radius:8px;overflow:hidden;text-align:center;padding:12px}.video-embed:has(iframe){padding:0}.video-embed iframe{width:100%;height:100%;border:0}.video-activate{background:#cf092e;color:white;border:0;border-radius:7px;padding:12px 18px;font:inherit;font-weight:bold;cursor:pointer}.video-embed small{font-size:12px}.video-card .video-link{padding:10px;background:transparent;font-size:15px}

/* Millores de navegació i preferències */
.back-top{position:fixed;right:18px;bottom:18px;z-index:8;width:50px;height:50px;border:2px solid #171717;border-radius:50%;background:var(--yellow);color:#171717;font-size:26px;font-weight:800;box-shadow:3px 3px 0 #171717}
.back-top[hidden],.cookie-banner[hidden]{display:none!important}
.cookie-banner{position:fixed;bottom:0;left:0;right:0;z-index:20;background:var(--cream);color:var(--ink);border-top:3px solid var(--ink);padding:16px max(5%,env(safe-area-inset-left));box-shadow:0 -4px 20px #0002;max-height:85dvh;overflow:auto}
.cookie-banner p{margin:0 0 8px;max-width:950px}.cookie-banner a{text-decoration:underline}.cookie-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.cookie-actions button{background:#171717;color:white;border:2px solid #171717;border-radius:7px;padding:10px 16px;font-weight:800;min-width:145px}.cookie-settings{background:none;border:0;padding:0;text-align:left;text-decoration:underline;color:inherit}.video-external{display:inline-block;margin:8px 0;text-decoration:underline}
@media(hover:hover) and (pointer:fine){a,button{transition:color .18s,background-color .18s,box-shadow .18s,text-decoration-color .18s}main a:not(.book-zoom):hover,footer a:hover{text-decoration:underline;text-underline-offset:4px}nav a:not(.shop):hover{text-decoration:underline;text-underline-offset:6px}.shop:hover,.profile-button:hover,.cause-shop:hover,.back-top:hover{box-shadow:3px 3px 0 #17171755}.socials a:hover{color:inherit;opacity:.72}}
@media(prefers-reduced-motion:reduce){a,button{transition:none!important}}

/* Ajustos tècnics V7: accessibilitat i estabilitat visual */
.logo img{height:auto}.profile-photo img{height:auto}.cause-art img{height:auto}
.menu-toggle{min-height:44px}.back-top{bottom:max(18px,env(safe-area-inset-bottom))}
body:has(.cookie-banner:not([hidden])) .back-top{visibility:hidden}
.cookie-actions button:focus-visible,.video-activate:focus-visible{outline:3px solid #0869b4;outline-offset:3px}
@media(max-width:420px){.cookie-actions button{flex:1 1 100%}.profile-hero h1{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}.book-zoom:hover img{transform:none}}

/* V7.2: reserva d'espai i imatges adaptatives */
.socialbar .socials{min-width:152px;min-height:26px}
.logo img{aspect-ratio:1000/215;height:auto}
@media(max-width:760px){.hero{min-height:480px}footer{background-image:linear-gradient(rgba(255,255,255,.65),rgba(255,255,255,.65)),url('img/peu-v72-960.webp')}}
@media(min-width:761px) and (max-width:1600px){footer{background-image:linear-gradient(rgba(255,255,255,.65),rgba(255,255,255,.65)),url('img/peu-v72-1600.webp')}}
@media(max-width:760px) and (min-resolution:1.6dppx){footer{background-image:linear-gradient(rgba(255,255,255,.65),rgba(255,255,255,.65)),url('img/peu-v72-1600.webp')}} 

/* Crèdit de la fotografia de portada */

.photo-credit {
    position: absolute;
    bottom: 10px;
    right: 15px;
    z-index: 2;
    font-size: 13px;
    font-weight: 400;
    color: #444;
    background: rgba(0, 0, 0, 0.1);
    padding: 3px 8px;
    border-radius: 3px;
}

/* Adaptació a mòbils */

@media (max-width: 760px) {
    .photo-credit {
        font-size: 11px;
        bottom: 5px;
        right: 10px;
    }
}


/* Àrea de Premsa: hemeroteca desplegable per anys */
.section-green #hemeroteca { padding-bottom: 20px; }
.section-green .press-year { padding: 5px 0; background: #fff; }
.section-green .press-year:last-child { padding-bottom: 35px; }
.section-green .press-toggle { border: 1px solid #17171730; border-radius: 8px; background: var(--cream); }
.section-green .press-toggle summary { display: flex; align-items: center; gap: 12px; padding: 14px 20px; cursor: pointer; list-style: none; border-radius: 8px; }
.section-green .press-toggle summary::-webkit-details-marker { display: none; }
.section-green .press-toggle summary::after { content: ''; width: 10px; height: 10px; border-right: 2px solid #006b35; border-bottom: 2px solid #006b35; transform: rotate(45deg); margin-left: auto; margin-right: 4px; flex-shrink: 0; }
.section-green .press-toggle[open] summary { background: #e6f4eb; border-radius: 8px 8px 0 0; }
.section-green .press-toggle[open] summary::after { transform: rotate(225deg); }
.section-green .press-toggle summary:focus-visible, .press-actions button:focus-visible { outline: 3px solid #006b35; outline-offset: 3px; }
.section-green .press-year-label { font: italic 900 32px/1 var(--display); color: #006b35; }
.section-green .press-year-count { font-size: 15px; font-weight: 600; color: #444; }
.section-green .press-toggle .press-list { background: white; padding: 0 20px 8px; border-radius: 0 0 8px 8px; }
.section-green .press-list li:last-child { border-bottom: 0; }
.section-green #press-count { font-weight: 700; color: #006b35; }
.press-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.press-actions button { padding: 8px 14px; min-height: 44px; border: 1px solid #006b35; border-radius: 6px; background: white; color: #006b35; font-weight: 700; }
.press-actions button:hover { background: #e6f4eb; }
@media (max-width:760px) {
 .section-green .press-toggle summary { padding: 12px 14px; gap: 10px; }
 .section-green .press-year-label { font-size: 28px; }
 .section-green .press-toggle .press-list { padding: 0 14px 8px; }
}
