/* Retained November photographs; previous decorations are restored. */
.how{background:linear-gradient(90deg,#063c3b05,#063c3b25),url('assets/karacsony-uj/girland-1-hatter.png') center/cover no-repeat}
.how>.wrap{padding-right:43%;min-height:520px}
.how .section-heading{text-align:left}
.how .section-heading p{color:#fff5e1}
.how .steps{grid-template-columns:1fr;gap:20px}
.how .steps article{display:grid;grid-template-columns:44px 1fr;column-gap:16px;text-align:left}
.how .step{grid-row:1/3;margin:0}
.how .steps h3{font-size:23px;margin:0 0 7px}
.how .steps p{grid-column:2;font-size:16px;margin:0;color:#e5ede4}
.extra{background:linear-gradient(90deg,#031f1ce8,#031f1c9c 50%,#031f1c38),url('assets/karacsony-uj/ajándék kutya.png') center/cover no-repeat;padding:105px 0;min-height:470px}
.extra-content>div{max-width:600px}.extra p{max-width:590px}
@media(max-width:1000px){.how>.wrap{padding-right:42%}.how .steps h3{font-size:21px}.extra-content>div{max-width:55%}}
@media(max-width:700px){.how{background:linear-gradient(#063c3bf2,#063c3be0),url('assets/karacsony-uj/girland-1-hatter.png') 75% center/cover}.how>.wrap{padding-right:0;min-height:0}.how .section-heading{text-align:center}.how .steps{gap:26px}.how .steps h3{font-size:23px}.extra{background:linear-gradient(#031f1cbf,#031f1ccf),url('assets/karacsony-uj/ajándék kutya.png') 63% center/cover;padding:70px 0;min-height:0}.extra-content>div{max-width:100%}}

/* Equal prominence for every organization, with photos on the first four. */
.featured-grid,.other-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.rescue-card{background:#ffffff08;border:1px solid #e0c18a80;border-radius:9px;padding:28px;box-shadow:0 0 16px #f2c8750d;text-align:center}
.rescue-image{margin-top:0}
.rescue-image::before,.other-card::before,.other-card::after{display:none}
.other-card:hover{background:#ffffff08;border-color:#e0c18a80}
.other-card .organization-logo-small,.other-card .organization-logo-herosz{width:140px;height:115px;padding:7px;margin:0 auto 20px}
.other-card .town{font-size:14px;color:#e3c994;margin-bottom:14px}
.other-card h3{font-size:29px;color:#fff8e8;margin-bottom:18px}
.other-card>p{font-size:16px;color:#dbe6df;line-height:1.65;max-width:440px;margin:0 auto 28px}
.other-card .rescue-actions{margin-top:auto;display:flex;flex-wrap:wrap;gap:18px;align-items:center;justify-content:center}
.other-card button.button{background:var(--red);color:white;border:1px solid transparent;border-radius:5px;padding:16px 26px;font-size:16px;font-weight:800;text-decoration:none;text-align:center;min-height:52px;margin-top:0}
.other-card button.button:hover{background:#941b28;transform:translateY(-2px)}
.others{border-top:0;padding-top:150px}
.others-title h2{font-size:clamp(30px,3.1vw,44px)}
@media(max-width:700px){.featured-grid,.other-grid{grid-template-columns:1fr;gap:26px}.rescue-card{padding:24px 20px}.rescue-image{margin-top:0}.other-card h3{font-size:27px}.other-card .rescue-actions{flex-direction:column}.other-card button.button{width:100%}}

/* Mobile hero gives the photograph its own space below the copy. */
.hero-mobile-photo{display:none}
@media(max-width:700px){
.hero{background:#063c3b;min-height:0;display:block}
.hero .hero-grid{padding:32px 0 24px}
.hero-copy{max-width:none;background:transparent;border:0;border-radius:0;padding:0;backdrop-filter:none}
.hero h1{font-size:clamp(43px,12.3vw,60px);line-height:1.12;margin:18px 0 20px}
.hero .season{font-size:11px;gap:6px;margin-bottom:14px}
.hero .intro{font-size:15px;line-height:1.65;margin-bottom:22px}
.hero .hero-foot{font-size:12px;line-height:1.6}
.hero .all-organizations{font-size:13px;margin-top:16px}
.hero-mobile-photo{display:block;width:100%;aspect-ratio:1.1;background:url('assets/christmas-hero.jpg') 88% center/cover no-repeat}
.hero-bottom{margin-top:0}
.header .brand{flex:1;min-width:0}.header .brand strong{font-size:13px}.header .brand svg{flex-shrink:0}
.header .menu-toggle{flex-shrink:0}
}

/* Let the illuminated dog remain fully visible on phones. */
@media(max-width:700px){
.how{background:#063c3b;padding-bottom:0}
.how>.wrap{padding-bottom:32px}
.how::after{content:'';display:block;position:static;transform:none;width:100%;height:auto;aspect-ratio:1.1;background:url('assets/karacsony-uj/girland-1-hatter.png') right center/cover no-repeat;pointer-events:none}
.how>.festive-edge{bottom:auto;height:calc(100% - 330px)}
}

/* Crop the narrow white edge from the uploaded Lyukó photograph. */
#szervezet-lyuko .photo-window>img{transform:scale(1.025);transform-origin:center}

/* Swap the final two backgrounds and leave the puppy's face unobstructed. */
.extra{background:linear-gradient(#530e1890,#530e1870),url('assets/zip-dekoracio/3.png') center/cover no-repeat}
.closing{background:linear-gradient(90deg,#031f1ce8,#031f1c9c 50%,#031f1c38),url('assets/karacsony-uj/ajándék kutya.png') center/cover no-repeat;text-align:left;padding:155px 0 110px;min-height:560px}
.closing .wrap>h2,.closing .wrap>p{max-width:55%}
.closing-star{display:none}
@media(max-width:700px){
.extra{background:linear-gradient(#530e18ad,#530e1890),url('assets/zip-dekoracio/3.png') center/cover no-repeat}
.closing{background:#063c3b;padding:137px 0 0;min-height:0}
.closing .wrap{padding-bottom:32px}
.closing .wrap>h2,.closing .wrap>p{max-width:100%}
.closing h2{font-size:clamp(40px,11vw,52px)}
.closing .button{width:100%;padding:15px 16px}
.closing::after{position:static;display:block;content:'';height:auto;width:100%;aspect-ratio:1.1;transform:none;background:url('assets/karacsony-uj/ajándék kutya.png') right center/cover no-repeat}
.closing>.festive-edge{display:none}
}

/* Center the copy and sharing action in the red section. */
.extra-content{align-items:center;text-align:center}
.extra-content>div{max-width:760px}
.extra p{margin-left:auto;margin-right:auto}
@media(max-width:1000px){.extra-content>div{max-width:760px}}
@media(max-width:700px){.extra-content>div{max-width:100%}}

/* Gold lights with a neutral grey veil retain their warmth. */
.extra{background:linear-gradient(#25252599,#25252599),url('assets/karacsony-uj/arany-hatter.png') center/cover no-repeat}
.extra h2,.extra p{color:#fffaf0;text-shadow:0 2px 8px #29231fcc}
@media(max-width:700px){.extra{background:linear-gradient(#25252599,#25252599),url('assets/karacsony-uj/arany-hatter.png') center/cover no-repeat}}

@media(min-width:701px){.closing{padding-bottom:150px}.closing::after{transform:none;bottom:0;height:115px}}

/* One continuous pair of light strings spans every section. */
main{position:relative;isolation:isolate}
main::before,main::after{content:'';position:absolute;top:0;bottom:0;width:18px;z-index:3;pointer-events:none;background:radial-gradient(ellipse at center,#fff8d5 0 2px,#ffd78b 2.5px,#eeb25450 4px,transparent 10px) center top/18px 52px repeat-y,linear-gradient(#b9a66a60,#b9a66a60) center/1px 100% no-repeat}
main::before{left:5px}main::after{right:5px}
main .festive-edge{display:none}
@media(max-width:700px){main::before,main::after{width:10px;background-size:10px 45px,1px 100%;opacity:.75}main::before{left:2px}main::after{right:2px}}

/* Move the lower garland to the top of the gold section. */
.extra{padding-top:165px}
.extra::before{content:'';display:block;position:absolute;top:0;left:0;right:0;height:115px;background:url('assets/festive-garland.svg') center top/950px 135px repeat-x;border:0;transform:none;opacity:1;pointer-events:none}
@media(min-width:701px){.closing{padding-bottom:80px}.closing::after{display:none}}
@media(max-width:700px){.extra{padding-top:135px}.extra::before{height:95px;background-size:760px 108px}}

/* Give the longer, personal campaign copy readable paragraph spacing. */
.hero .intro p{margin:0 0 14px}.hero .intro p:last-child{margin-bottom:0}.featured .section-heading>p,.others-intro{max-width:760px;margin-left:auto;margin-right:auto}.others-title .others-intro p{margin:18px 0 0;font-size:17px;line-height:1.8}

.others-intro .donation-message{font-family:"Great Vibes",Georgia,serif;font-size:clamp(38px,4.2vw,56px);font-weight:400;line-height:1.2;color:#e0c18a;margin:32px 0 16px}.others-intro strong{color:#fffaf0}

.organization-contacts{display:flex;flex-direction:column;align-items:center;gap:6px;margin-top:18px;padding-top:16px;border-top:1px solid #e0c18a35}
.contact-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 10px;color:#f0dfbb;text-decoration:underline;text-underline-offset:4px;font-size:15px;line-height:1.5}
.contact-link:hover{color:#fffaf0}.contact-link:focus-visible{outline:3px solid #e0c18a;outline-offset:3px}

.dialog-notice .donation-label{font-size:13px;color:#596a5c;margin-bottom:4px}.dialog-notice .account-number{font:700 clamp(16px,4.4vw,23px)/1.5 monospace;overflow-wrap:anywhere;margin:8px 0 16px}.dialog-notice .source-note{font-size:12px;color:#596a5c}.copy-status{font-size:14px;color:#123d2d;min-height:22px}#donation-dialog{max-height:90dvh;overflow-y:auto}
