/* bringazas.hu homepage prototype. Card language follows the jegyvasarlas.hu offer cards. */
:root{
  --blue:#570CFF;--blue-dark:#3d08b8;--blue-tint:#eee8ff;--navy:#570CFF;--bb-blue:#570CFF;
  /* ACCENT (one place). VARIANT B = neon lime (current). To go back to the coral variant swap the two lines:
     --accent:#fd4c5c;--accent-dark:#e23b4a;--accent-rgb:253,76,92;--on-accent:#fff;  (and set ACCENT_THEME = "coral" in scenes.py) */
  --accent:#DCFF20;--accent-dark:#c3e30c;--accent-rgb:220,255,32;--on-accent:#21201E;
  --ink:#0d1f3a;--ink-soft:#546480;--paper:#f4f6fa;--line:#e0e6f0;--white:#fff;
  --radius:20px;--gutter:20px;--pad:clamp(16px,4vw,64px);
  --shadow:0 1px 2px rgba(16,33,63,.05),0 6px 20px rgba(16,33,63,.06);
  --shadow-up:0 2px 4px rgba(16,33,63,.06),0 14px 34px rgba(16,33,63,.12);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:84px}
body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);line-height:1.5;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-family:Poppins,Inter,sans-serif;margin:0;letter-spacing:-.015em}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,input,select{font:inherit;color:inherit}
.wrap{width:100%;padding-inline:var(--pad)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ic{width:1.1em;height:1.1em;flex:none;vertical-align:-.15em}
:focus-visible{outline:3px solid #570CFF;outline-offset:2px;border-radius:8px}

/* prototype ribbon */
.proto{display:flex;align-items:center;justify-content:center;gap:12px;background:#fff3c4;color:#4a3a00;font-size:12.5px;padding:7px 12px;text-align:center}
.proto b{color:#2b2200}
.proto button{background:none;border:0;cursor:pointer;color:#7a6a2a;padding:2px;display:grid;place-items:center}
.proto.gone{display:none}

/* header */
.site-head{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.head-in{display:flex;align-items:center;gap:clamp(14px,2.4vw,40px);height:72px}
.wordmark{display:inline-flex;align-items:center;font-family:Poppins,sans-serif;font-weight:800;font-size:23px;letter-spacing:-.01em;text-transform:uppercase;color:var(--blue-dark);white-space:nowrap}
.wm-hu{color:var(--accent);margin-left:0}
.wordmark.on-dark{color:#fff}
.nav{display:flex;gap:clamp(14px,1.8vw,30px);margin-inline:auto 0;font-weight:600;font-size:15px}
.nav a{padding:8px 2px;border-bottom:2px solid transparent;color:var(--ink)}
.nav a:hover{color:var(--blue);border-bottom-color:var(--blue)}
.head-actions{display:flex;align-items:center;gap:10px;margin-left:clamp(0px,1vw,16px)}
.icon-btn{width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:#fff;display:grid;place-items:center;cursor:pointer;font-size:19px}
.icon-btn:hover{border-color:var(--blue);color:var(--blue)}
.menu-btn{display:none}
.search-bar{border-top:1px solid var(--line);background:#fff;padding:12px 0}
.search-bar form{display:flex;gap:10px}
.search-bar input{flex:1;height:46px;border:1px solid var(--line);border-radius:999px;padding:0 20px;background:var(--paper)}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 20px;border-radius:999px;border:1.5px solid transparent;font-weight:700;font-size:14.5px;cursor:pointer;white-space:nowrap;transition:transform .15s,box-shadow .15s,background .15s}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--blue);color:#fff}.btn-primary:hover{background:var(--blue-dark)}
.btn-accent{background:var(--accent);color:var(--on-accent);box-shadow:0 6px 16px rgba(var(--accent-rgb),.38)}.btn-accent:hover{background:var(--accent-dark)}
.btn-ghost{border-color:var(--line);background:#fff;color:var(--ink)}.btn-ghost:hover{border-color:var(--blue);color:var(--blue)}

/* sections */
.sec{padding-block:clamp(40px,5vw,80px)}
/* news band: pure white, framed by thin rules so it does not run into the white ad rows above and below */
#hirek{padding-top:clamp(24px,2.6vw,40px);background:#fff;border-block:1px solid var(--line)}
.sec.alt{background:#fff;border-block:1px solid var(--line)}
.head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px 40px;margin-bottom:clamp(20px,2.4vw,32px);flex-wrap:wrap}
.head h2{font-size:clamp(26px,2.7vw,40px);font-weight:800;line-height:1.12;margin-top:4px;max-width:30ch}
.head p{margin:10px 0 0;color:var(--ink-soft);max-width:62ch;font-size:clamp(16px,1.2vw,18px)}
.eyebrow{font-size:13.5px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:var(--blue)}
.more{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:var(--blue);white-space:nowrap}
.more:hover{color:var(--blue-dark)}.more .ic{transition:transform .15s}.more:hover .ic{transform:translateX(3px)}
.head-cta{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.empty{margin:24px 0 0;padding:28px;text-align:center;background:#fff;border:1px dashed var(--line);border-radius:var(--radius);color:var(--ink-soft)}

/* news */
.news{display:grid;gap:var(--gutter);grid-template-columns:repeat(10,minmax(0,1fr))}
/* news cards have no box: no fill, no border, no shadow - just photo + text on the page background */
.ncard{background:none;display:flex;flex-direction:column;grid-column:span 2}
.ncard[hidden]{display:none}
.nimg{display:block;aspect-ratio:16/9;overflow:hidden;border-radius:16px;background:var(--blue-tint)}
.nimg img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.ncard:hover .nimg img{transform:scale(1.04)}
.nbody{padding:16px 18px 18px;display:flex;flex-direction:column;gap:8px;flex:1}
.ncat{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:var(--c)}
.ncat::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--c)}
.ncard h3{font-size:21px;line-height:1.26;font-weight:700}
.ncard h3 a:hover{color:var(--blue)}
.nlead{margin:0;color:var(--ink-soft);font-size:16px;display:none}
/* all-mode: 1 lead + 4 compact + 15 regular */

/* generic cards (tours, services, events, stays) - jegyvasarlas.hu offer-card language */
.cards{display:grid;gap:var(--gutter)}
.cards-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.cards-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.card{position:relative;background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}
.card:hover{transform:translateY(-3px);box-shadow:var(--shadow-up)}
.card[hidden]{display:none}
.card-media{position:relative;aspect-ratio:16/9;overflow:hidden;background:var(--blue-tint)}
.card-media a{display:block;height:100%}
.card-media img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.card:hover .card-media img{transform:scale(1.04)}
.fav{position:absolute;top:10px;right:10px;width:36px;height:36px;border-radius:50%;border:0;background:#fff;color:var(--ink);display:grid;place-items:center;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.2);transition:transform .15s}
.fav:hover{transform:scale(1.08)}
.fav .ic{width:19px;height:19px}
.fav[aria-pressed=true]{background:var(--accent);color:var(--on-accent)}
.fav[aria-pressed=true] .ic path{fill:currentColor}
.card-body{padding:16px 18px 16px;display:flex;flex-direction:column;gap:8px;flex:1}
.card-label{font-size:13.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#6b7b77}
.card-title{font-size:21px;line-height:1.26;font-weight:700}
.card-title a:hover{color:var(--blue)}
.card-title a::after{content:"";position:absolute;inset:0;z-index:0}
.fav{z-index:2}
.card-loc{display:flex;align-items:flex-start;gap:8px;color:var(--ink-soft);font-size:16px}
.card-loc .ic{margin-top:3px;color:#8a9a96}
.stats{list-style:none;margin:2px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px 14px;font-size:15px}
.stats li{display:inline-flex;align-items:center;gap:6px;color:var(--ink)}
.stats .ic{color:var(--blue);width:1.25em;height:1.25em}
.stats b{font-weight:700}
.rating{display:flex;align-items:center;gap:5px;font-size:15px;color:var(--ink-soft)}
.rating .ic{color:#f2a900}.rating b{color:var(--ink)}
.amen{list-style:none;margin:2px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.amen li{display:inline-flex;align-items:center;gap:5px;background:var(--blue-tint);color:var(--blue-dark);border-radius:999px;padding:3px 10px 3px 8px;font-size:13.5px;font-weight:600}
.amen .ic{width:13px;height:13px}
.card-foot{padding-top:14px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:15.5px;position:relative;z-index:1}
.card-body>.stats,.card-body>.amen,.card-body>.rating,.card-body>.card-loc{margin-bottom:6px}
/* titles may wrap to 2-3 lines: the info rows + footer are pushed to the card bottom so they line up across a row */
.card-loc+.stats,.card-loc+.rating,.card-loc+.amen,.card-loc+.card-foot{margin-top:auto}
.card-loc{padding-bottom:0}
.card-foot .info{color:var(--ink-soft);min-width:0}
.card-foot .info b{color:var(--ink);font-weight:800;white-space:nowrap}
.card-foot .gpx{display:inline-flex;align-items:center;gap:6px;color:var(--blue);font-weight:700}
.cta{display:inline-flex;align-items:center;gap:6px;color:var(--on-accent);background:var(--accent);padding:7px 14px;border-radius:999px;font-weight:800;font-size:14.5px;white-space:nowrap}
.cta .ic{transition:transform .15s}.card:hover .cta .ic{transform:translateX(3px)}


/* newsletter */
.news-band{background:linear-gradient(125deg,#21201E 0%,#570CFF 100%);color:#fff;padding-block:clamp(36px,4.5vw,64px)}
.nl{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gutter);row-gap:24px;align-items:center}
.nl-copy{grid-column:span 6}.nl-form{grid-column:span 6}
.nl-ic{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:rgba(255,255,255,.14);font-size:26px;margin-bottom:14px}
.nl h2{font-size:clamp(24px,2.4vw,36px);font-weight:800}
.nl-copy p{margin:10px 0 0;color:#d3e0fa;max-width:50ch}
.nl-row{display:flex;gap:10px}
.nl-row input{flex:1;min-width:0;height:50px;border-radius:999px;border:0;padding:0 22px;font-size:15.5px;color:var(--ink)}
.nl-row .btn{height:50px}
.nl-topics{border:0;padding:0;margin:14px 0 0;display:flex;gap:18px;flex-wrap:wrap}
.nl label{font-size:14px;display:inline-flex;align-items:center;gap:8px;cursor:pointer}
.nl input[type=checkbox]{width:18px;height:18px;accent-color:var(--accent)}
.nl-consent{align-items:flex-start!important;margin-top:12px;color:#d3e0fa;font-size:13px!important}
.nl-consent a{text-decoration:underline}
.nl-msg{margin:12px 0 0;min-height:22px;font-weight:600;font-size:14.5px}
.nl-msg.ok{color:#b9f3d7}.nl-msg.err{color:#ffc9b8}

/* footer */
.site-foot{background:#001a3f;color:#a8b6d4;padding-block:clamp(36px,4vw,56px) 24px}
.foot-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gutter);row-gap:28px}
.foot-grid>div{grid-column:span 2;display:flex;flex-direction:column;gap:9px;font-size:14.5px}
.foot-grid>.foot-brand{grid-column:span 4}
.foot-brand p{margin:6px 0 0;max-width:34ch}
.site-foot h4{color:#fff;font-size:15px;margin-bottom:4px}
.site-foot a:hover{color:#fff}
.foot-bottom{margin-top:34px;padding-top:18px;border-top:1px solid #153463;display:flex;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;font-size:13px}
.foot-links{display:flex;gap:18px}

/* ---------- responsive ---------- */
@media(max-width:1359px){
  .cards-4{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1100px){
  .hide-m{display:none}
  .foot-grid>div{grid-column:span 3}.foot-grid>.foot-brand{grid-column:span 12}
}
@media(max-width:1099px){
  .nav{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;gap:0;background:#fff;border-bottom:1px solid var(--line);padding:8px var(--pad) 16px;box-shadow:0 18px 30px rgba(16,33,63,.12)}
  .nav.open{display:flex}
  .nav a{padding:14px 2px;border-bottom:1px solid var(--line);font-size:16px}
  .menu-btn{display:grid}
  .head-actions{margin-left:auto}
}
@media(max-width:899px){
  .cards-4,.cards-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nl-copy,.nl-form{grid-column:span 12}
}
@media(max-width:599px){
  .wordmark{font-size:20px}
  .head-in{height:64px}
  html{scroll-padding-top:72px}
  .hide-s{display:none}
  .proto{font-size:11.5px;text-align:left}
  /* card bands stack vertically on phones; the first items show, the rest unfold with a button */
  .cards-4,.cards-3{grid-template-columns:1fr;gap:14px}
  .cards.collapsed .card.extra{display:none}
  .head .more{display:none}
  .head-cta{width:100%}
  .head-cta .btn{width:100%}
  .head-cta .more{display:inline-flex}
  .nl-row{flex-direction:column}.nl-row .btn{width:100%}.nl-row input{flex:none;width:100%}
  .foot-grid>div{grid-column:span 6}
}
@media(min-width:1900px){
  html{font-size:112.5%}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}


/* text-only news list under the featured cards */
.news-more{margin-top:clamp(24px,2.6vw,36px);padding-top:clamp(20px,2vw,28px);border-top:1px solid var(--line)}
.news-more[hidden]{display:none}
.nrows{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(24px,3vw,56px)}
.nrow{border-bottom:1px solid var(--line)}
.nrow[hidden]{display:none}
.nrow a{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"cat" "title";gap:3px 14px;padding:14px 2px}
.nrow .ncat{grid-area:cat}
.nrow-title{grid-area:title;font-weight:700;font-size:18px;line-height:1.32}
.nrow a:hover .nrow-title{color:var(--blue)}
.nav-extra{display:none}
.bottom-nav{display:none}
.cards-more{display:none}
@media(max-width:899px){
  .nrows{grid-template-columns:1fr}
}
@media(max-width:1099px){
  .nav-extra{display:flex;flex-direction:column}
  .nav-extra a{padding:14px 2px;border-bottom:1px solid var(--line);font-size:16px;font-weight:700;color:var(--blue)}
}
@media(max-width:599px){
  body{padding-bottom:calc(104px + env(safe-area-inset-bottom))}
  .cards-more{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:14px;height:48px;border-radius:999px;border:1.5px solid var(--blue);background:#fff;color:var(--blue);font-weight:800;font-size:15px;cursor:pointer}
  .cards-more .ic{transition:transform .2s}
  .cards-more[aria-expanded=true] .ic{transform:rotate(90deg)}
  .cards-more[hidden]{display:none}
}

/* top utility bar (as on the live site) */
.util{background:var(--navy);color:#dbe6f7;font-size:13.5px}
.util-in{display:flex;align-items:center;justify-content:space-between;gap:16px;height:42px}
.util-links{display:flex;gap:clamp(14px,2.4vw,36px);overflow:hidden;white-space:nowrap}
.util-links a:hover{color:#fff}
.util-right{display:flex;align-items:center;gap:clamp(10px,1.4vw,20px);flex:none}
.util-item{display:inline-flex;align-items:center;gap:6px;color:#dbe6f7;font-size:13.5px}
.util-item b{font-weight:700;color:#fff}
.util-item .ic{width:16px;height:16px}
.util-soc{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#fff;color:var(--navy)}
.util-soc:hover{background:#dbe6f7}
.util-soc .ic{width:15px;height:15px}
.util-btn{display:inline-flex;align-items:center;height:28px;padding:0 16px;border-radius:999px;border:1.5px solid rgba(255,255,255,.75);color:#fff;font-weight:700;font-size:12.5px;white-space:nowrap}
.util-btn:hover{background:rgba(255,255,255,.14)}
/* advertisement band: a centred display ad in a light-grey box */
.ad-sec{padding-top:clamp(16px,2vw,28px);background:#fff}
.ad-box{text-align:center}
.ad{display:block;width:min(100%,max(970px,62vw),1280px);max-width:100%;overflow:hidden;margin-inline:auto}  /* slot WIDTH fixed by the design; HEIGHT follows the creative (img height:auto) */
.ad img{display:block;width:100%;max-width:100%;height:auto}
.ad picture{display:block}
.ad-sec{padding-bottom:clamp(14px,1.8vw,24px)}
.ad-sec.mid{padding-block:clamp(28px,3.2vw,52px)}
.ad-label{display:block;margin-top:8px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#7d8696}
@media(max-width:899px){
  .util-links a:nth-child(n+3){display:none}
  .util-soc{display:none}
}
@media(max-width:599px){
  .util-links a:nth-child(n+2){display:none}
  .util-item{display:none}
  .util-in{height:38px}
}

/* real service / stay cards: excerpt + tag chips, info rows pushed to the bottom */
.card-excerpt{margin:0;color:var(--ink-soft);font-size:16px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.card-title+.card-excerpt{margin-bottom:6px}
.card-excerpt+.amen,.card-excerpt+.card-foot{margin-top:auto}
.card-foot .cta:only-child{margin-left:auto}
.amen li:not(:has(.ic)){padding-left:10px}
/* account avatar + dropdown */
.account{position:relative}
.avatar{width:42px;height:42px;border-radius:50%;border:1.5px solid var(--line);background:var(--blue-tint);color:var(--blue);display:grid;place-items:center;cursor:pointer;transition:border-color .15s}
.avatar:hover,.avatar[aria-expanded=true]{border-color:var(--blue)}
.avatar .ic{width:22px;height:22px}
.acc-menu{position:absolute;right:0;top:calc(100% + 10px);min-width:190px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow-up);padding:6px;z-index:70}
.acc-menu[hidden]{display:none}
.acc-menu a{display:block;padding:11px 14px;border-radius:10px;font-weight:700;font-size:15px}
.acc-menu a:hover{background:var(--blue-tint);color:var(--blue)}
.acc-menu a:first-child{color:var(--blue)}

/* tour difficulty badge on the photo */
.diff{position:absolute;left:10px;bottom:10px;display:inline-flex;align-items:center;gap:7px;background:#fff;color:var(--ink);border-radius:999px;padding:4px 12px 4px 9px;font-size:13.5px;font-weight:800;box-shadow:0 2px 8px rgba(0,0,0,.2)}
.diff::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--d,#8a97ad)}
.diff[data-level="Könnyű"]{--d:#2f9e44}.diff[data-level="Közepes"]{--d:#3b78c8}.diff[data-level="Haladó"]{--d:#d6361f}.diff[data-level="Nehéz"]{--d:#7a1022}
/* few cards (e.g. 4 bike hotels): two columns on tablet instead of an orphan row */
@media(min-width:600px) and (max-width:1359px){.cards-4.few{grid-template-columns:repeat(2,minmax(0,1fr))}}

.cta:hover{background:var(--accent-dark)}

@media(max-width:599px){.ad{width:min(380px,100%)}}

/* amenity icon row on stay cards (SAMPLE pattern, identical on every card) */
.amen-ic{list-style:none;margin:2px 0 0;padding:0;display:flex;gap:8px}
.amen-ic li{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--blue-tint);color:var(--blue);cursor:help}
.amen-ic .ic{width:19px;height:19px}
.card-loc+.amen-ic,.card-excerpt+.amen-ic{margin-top:auto}
.card-body>.amen-ic{margin-bottom:6px}

/* phone: floating pill navigation, raised red centre button (csodalatosmagyarorszag.hu style) */
@media(max-width:599px){
  .bottom-nav{display:grid;grid-template-columns:repeat(5,1fr);align-items:end;position:fixed;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:60;background:#fff;border-radius:30px;padding:9px 4px 8px;box-shadow:0 10px 32px rgba(16,33,63,.24),0 0 0 1px rgba(16,33,63,.05)}
  .bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:4px;padding:4px 0 0;color:#4f5f7c;font-size:11px;font-weight:700;letter-spacing:-.01em;line-height:1.1;text-align:center}
  .bottom-nav a .ic{width:24px;height:24px}
  .bottom-nav a.is-active{color:var(--blue)}
  .bottom-nav .bn-main{margin-top:-30px;color:var(--ink)}
  .bottom-nav .bn-circle{display:grid;place-items:center;width:62px;height:62px;border-radius:50%;background:var(--accent);color:var(--on-accent);box-shadow:0 0 0 5px #fff,0 8px 18px rgba(var(--accent-rgb),.5)}
  .bottom-nav .bn-circle .ic{width:28px;height:28px}
  .bottom-nav .bn-main.is-active{color:var(--blue)}
  .bottom-nav .bn-main.is-active .bn-circle{background:var(--accent-dark)}
}

/* ======== NEWS: magazine layout (desktop), cards with the category pill on the photo ======== */
.news{display:grid;gap:var(--gutter);grid-template-columns:repeat(20,minmax(0,1fr))}
.ncard{position:relative;grid-column:span 4}
.ncard .ncat{position:absolute;top:12px;left:12px;z-index:2;background:rgba(255,255,255,.94);color:var(--c);padding:5px 12px;border-radius:999px;font-size:12px;letter-spacing:.05em;box-shadow:0 1px 5px rgba(0,0,0,.14)}
.ncard .ncat::before{display:none}
.nbody{padding:12px 2px 0;gap:6px}
.nexc{margin:0;color:var(--ink-soft);font-size:16px;line-height:1.5;display:none;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.mag-a,.mag-b,.mag-right{display:contents}
.news-more{margin:0;padding:0;border:0}
@media(min-width:1100px){
  /* 20-col grid, 3 rows: row 1 = [2 stacked cards | lead + text box], row 2 = [3 equal cards on ONE line], panel spans both rows */
  .news{grid-template-rows:auto auto}
  .news .mag-a{display:flex;flex-direction:column;gap:var(--gutter);grid-column:1 / 6;grid-row:1}
  .news .mag-b{display:flex;flex-direction:column;gap:var(--gutter);grid-column:6 / 16;grid-row:1}
  /* the columns of the magazine block are independent normal-flow stacks (no stretching, no space-between): content follows from the top, any spare height ends up at the BOTTOM of the column */
  .news .mag-a .ncard{flex:none;grid-column:auto}
  .news .mag-b>.ncard{grid-column:auto;flex:none}
  .news .mag-a,.news .mag-b{justify-content:flex-start}
  .news .is-side3{grid-column:1 / 6;grid-row:2}
  .news .is-under.u1{grid-column:6 / 11;grid-row:2}
  .news .is-under.u2{grid-column:11 / 16;grid-row:2}
  .news .is-under.u3{grid-column:16 / 21;grid-row:2}
  /* optional 5th photo card (SHOW_FIFTH_PHOTO_CARD in build.py): five cards of 4 columns */
  .news.has-u4 .is-side3{grid-column:1 / 5}
  .news.has-u4 .is-under.u1{grid-column:5 / 9}
  .news.has-u4 .is-under.u2{grid-column:9 / 13}
  .news.has-u4 .is-under.u3{grid-column:13 / 17}
  .news.has-u4 .is-under.u4{grid-column:17 / 21;grid-row:2}
  .news .mag-right{display:flex;grid-column:16 / 21;grid-row:1}
  .news .is-side .nexc,.news .is-side3 .nexc,.news .is-lead .nexc,.news .is-under .nexc{display:-webkit-box;-webkit-line-clamp:3}
  .news .is-under .nexc,.news .is-side3 .nexc{-webkit-line-clamp:4}
  .news .is-lead h3{font-size:clamp(32px,3.3vw,48px);line-height:1.14;font-weight:800;letter-spacing:-.02em}
  .news .is-lead .nbody{padding:16px 2px 0;gap:10px}
  .news .is-lead .nexc{font-size:19px;line-height:1.55;-webkit-line-clamp:5}
  .news .mag-right .news-more{flex:1;display:flex;flex-direction:column;padding:4px 0 8px 6px}
  .news .mag-right .nrows{display:flex;flex-direction:column;flex:1;justify-content:space-between}
  .news .mag-right .nrow{flex:1;display:flex}
  .news .mag-right .nrow a{width:100%;align-content:center;padding:7px 0}
  .news .mag-right .nrow-title{font-size:17px;line-height:1.3}
  .news .mag-right .nrow:last-child{border-bottom:0}
}
/* filtered view and tablets/phones: wrappers dissolve into one flat card grid, the story list goes below */
@media(max-width:1099px){
  .news{grid-template-columns:repeat(4,minmax(0,1fr))}
  .ncard{grid-column:span 2}
  .news .is-lead{grid-column:1 / -1;order:-1}
  .news .mag-right{order:99;grid-column:1 / -1;display:block}
  .news .news-more{margin-top:clamp(20px,2.4vw,32px);padding-top:clamp(18px,2vw,26px);border-top:1px solid var(--line)}
  .news .is-lead .nexc{display:-webkit-box}
  .news .is-lead h3{font-size:clamp(26px,3.6vw,36px);font-weight:800}
}
@media(max-width:899px){.news{grid-template-columns:repeat(4,minmax(0,1fr))}.ncard{grid-column:span 2}.news .is-lead{grid-column:1 / -1}}
/* phone: 2-column grid like csodalatosmagyarorszag.hu: photo + pill overlay + bold title, no card box, lead full width */
@media(max-width:599px){
  .news{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}
  .ncard{grid-column:auto}
  .news .is-lead{grid-column:1 / -1}
  .nimg{border-radius:16px}
  .news .ncard:hover .nimg img{transform:none}
  .nbody{padding:10px 2px 0;gap:0;flex:none}
  .ncard h3{font-size:17px;line-height:1.28}
  .news .is-lead h3{font-size:24px;line-height:1.2}
  .nexc,.news .is-lead .nexc{display:none}
  .ncard .ncat{top:9px;left:9px;padding:4px 11px;font-size:11px}
}

/* ======== main header: WHITE bar, dark text/logo, blue active item (no underline); the utility bar above stays dark blue ======== */
.site-head{background:#fff;backdrop-filter:none;border-bottom:0;box-shadow:var(--shadow)}  /* same shadow token as the tour cards (.card), instead of a 1 px line */
.site-head .wordmark{color:var(--bb-blue);font-style:italic;font-weight:900}
/* header logo is 50% larger than before (23 -> 34.5 px, phone 20 -> 30 px); line-height 1 so the bar keeps its fixed 72/64 px height.
   the whole logo is ONE colour (--bb-blue, now #570CFF), italic (leans right); the neon ".HU" and its outline are gone from the header (footer logo unchanged) */
.site-head .wordmark{font-size:34.5px;line-height:1}
.site-head .wm-hu{color:inherit}
/* the header CTA pill does not fit next to the big logo below ~680 px; it stays reachable as the last item of the menu */
@media(max-width:679px){.head-actions .btn.hide-s{display:none}}
@media(max-width:599px){
  .site-head .wordmark{font-size:clamp(19px,calc((100vw - 140px)/7.7),30px)}
  .head-actions{gap:6px}
  .site-head .icon-btn,.site-head .avatar{width:40px;height:40px}
}
.site-head .nav a{color:var(--ink);border-bottom-width:3px;padding:10px 2px 9px}
/* no underline on hover/active any more (the 3 px border stays transparent so the bar height is unchanged); the active item is shown by colour + a hair of extra weight (text-shadow, no width change) */
.site-head .nav a:hover{color:var(--bb-blue)}
.site-head .nav a.is-active{color:var(--bb-blue);text-shadow:.45px 0 0 currentColor}
.site-head .icon-btn,.site-head .avatar{background:#fff;border:1px solid var(--line);color:var(--ink)}
.site-head .icon-btn:hover,.site-head .avatar:hover,.site-head .avatar[aria-expanded=true]{border-color:var(--blue);color:var(--blue);background:var(--blue-tint)}
.search-bar{background:var(--paper);border-top:1px solid var(--line)}
.search-bar input{background:#fff;border:1px solid var(--line);color:var(--ink)}
.search-bar input::placeholder{color:#7d8aa3}
@media(max-width:1099px){
  .nav{background:#fff;border-bottom:1px solid var(--line)}
  .site-head .nav a{border-bottom:1px solid var(--line)}
  .nav-extra a{border-bottom:1px solid var(--line);color:var(--blue)}
}

/* last rest-row cards get wider when the count is not a multiple of 5 (set by build.py via --w) */
@media(min-width:1100px){.ncard.rw{grid-column:span var(--w)}}


/* the shops / services band has its own grey band; the ad rows are white */
#szolgaltatok{background:#eceff4}

/* two plain text stories inside the lead card (desktop magazine only): fills the space under the big photo story */
/* two plain text stories in their OWN box under the lead story (desktop only) */
.lead-box{display:none}
@media(min-width:1100px){
  .news .lead-box{display:block;border-top:1px solid var(--line);padding:2px 2px 0;flex:none}
  .lead-more{list-style:none;margin:0;padding:0}
  .lead-more li+li{border-top:1px solid var(--line)}
  .lead-more a{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"cat" "title";gap:3px 14px;padding:13px 0}
  .lead-more .ncat{position:static;grid-area:cat;background:none;box-shadow:none;padding:0;color:var(--c);font-size:12.5px;display:inline-flex;align-items:center;gap:7px}
  .lead-more .ncat::before{display:inline-block;content:"";width:8px;height:8px;border-radius:50%;background:var(--c)}
  .lead-more .lm-title{grid-area:title;font-weight:700;font-size:18px;line-height:1.32}
  .lead-more a:hover .lm-title{color:var(--blue)}
}

/* phone: no utility bar above the main menu */
@media(max-width:599px){.util{display:none}}

/* the 21st card is for the phone only (even 2-column grid there); hidden on tablet/desktop */
@media(min-width:1100px){.ncard.m-only{display:none}}


/* ======== news rhythm: the middle band of the grid = 4 HORIZONTAL cards (photo left, title + excerpt + date right), 2 per row ======== */
.news .ncard.is-h{flex-direction:row;align-items:flex-start;gap:clamp(16px,1.8vw,26px);border-top:1px solid var(--line);padding-top:clamp(16px,1.8vw,24px)}
.news .is-h .nimg{flex:0 0 44%;aspect-ratio:4/3}
.news .is-h .ncat{top:calc(clamp(16px,1.8vw,24px) + 12px)}
.news .is-h .nbody{flex:1;min-width:0;padding:2px 0 0;gap:8px}
.news .is-h h3{font-size:clamp(21px,1.9vw,27px);line-height:1.22}
.news .is-h .nexc{display:-webkit-box;-webkit-line-clamp:4}
@media(min-width:1100px){.news .ncard.is-h{grid-column:span 10}}
@media(max-width:1099px){.news .ncard.is-h{grid-column:1 / -1}}
@media(max-width:599px){
  .news .ncard.is-h{gap:14px;padding-top:14px}
  .news .is-h .nimg{flex:0 0 40%}
  .news .is-h .ncat{top:calc(14px + 9px)}
  .news .is-h h3{font-size:17px;line-height:1.28}
  .news .is-h .nexc{display:none}
  .news .is-h .nbody{padding:0}
}

/* desktop only: row 2 has a 4th photo card under the text panel; its twin (the last panel story) is hidden there, the panel is one shorter */
.ncard.d-only{display:none}
@media(min-width:1100px){.ncard.d-only{display:flex}.nrow.d-hide,.news .mag-right .nrow.d-hide{display:none}}

/* Turak band only: lighter card titles (Poppins 500 instead of 700) and a footer row (GPX + Reszletek) glued to the card bottom */
#turak .card-title{font-weight:500}
#turak .card-body>.card-foot{margin-top:auto}

/* ======== partner block (BalatonBike365): the last photo-card row of the news band on a full-bleed grey band, logo on top ======== */
.news .partner-band{grid-column:1 / -1;order:100;background:#eceff4;box-shadow:0 0 0 100vmax #eceff4;clip-path:inset(0 -100vmax);
  padding:clamp(22px,2.6vw,36px) 0 clamp(26px,3vw,44px);margin-top:clamp(16px,2vw,28px);margin-bottom:calc(-1 * clamp(40px,5vw,80px))}
.partner-head{display:flex;align-items:center;flex-wrap:wrap;gap:10px clamp(12px,1.6vw,20px);margin-bottom:clamp(16px,2vw,26px)}
.partner-logo{display:block;line-height:0}
.partner-logo img{display:block;height:40px;width:auto;max-width:100%}
/* the "Hirdetés" tag uses the SAME caption style as under the ad banners (.ad-label: 11 px, grey, letter-spaced caps, normal weight) - no border, no pill */
.partner-tag{margin:0}
.partner-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--gutter)}
.partner-grid .ncard{grid-column:auto}
@media(max-width:1099px){.partner-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:599px){
  .partner-grid{gap:22px 12px}
  .partner-logo img{height:32px}
}

/* desktop only (>= 1100 px): tighter side gutter so wide screens do not leave empty strips (header, content and footer share --pad); tablet/phone keep the old gutter */
@media(min-width:1100px){:root{--pad:clamp(24px,2.4vw,40px)}}

/* desktop order of the lower news rows: 4 photos (row 2) -> horizontal pair -> 5 photos -> horizontal pair -> partner band.
   Only the CSS order changes (the DOM keeps photo row, then the 4 horizontal cards), so tablet/phone keep their even pairing. */
@media(min-width:1100px){.news .ncard.is-h.hA{order:0}}
/* Update 60: the 5 text articles are the LAST news row, right before the partner block, at every width (order 1; photo and horizontal cards 0; partner block 100) */
.news .ncard.is-t{order:1}
/* tablet/phone only extra photo card (the Szeged story, hidden on desktop): keeps the photo cards in even pairs so that the first full-width horizontal card has no lone card above it */
.ncard.t-only{display:flex}
@media(min-width:1100px){.ncard.t-only{display:none}}

/* ======== text-only articles (the former 5-photo row): category label + title + excerpt, no photo ======== */
.news .ncard.is-t{border-top:1px solid var(--line);padding-top:clamp(14px,1.6vw,20px)}
.news .is-t .ncat{position:static;background:none;box-shadow:none;padding:0;border-radius:0;font-size:12.5px;letter-spacing:.07em;display:inline-flex;align-items:center;gap:7px;color:var(--c)}
.news .is-t .ncat::before{display:inline-block;content:"";width:8px;height:8px;border-radius:50%;background:var(--c)}
.news .is-t .nbody{padding:8px 0 0;gap:8px}
.news .is-t .nexc{display:-webkit-box;-webkit-line-clamp:4}
@media(max-width:599px){
  .news .is-t .nexc{display:none}
  .news .ncard.is-t{padding-top:12px}
  .news .is-t .ncat{font-size:11px}
}
@media(min-width:1100px) and (max-width:1359px){.news .is-t h3{font-size:18.5px}}

/* ======== unified network footer (sample: minta-lablec.jpg): dark blue gradient, sign-up top, 3 link columns, publisher line ======== */
.site-foot{background:linear-gradient(100deg,#21201E 0%,#2a1070 42%,#570CFF 100%);color:#e4ebf8;padding-block:clamp(36px,4vw,56px) 0}
.site-foot a{color:inherit}
.site-foot a:hover{color:#fff;text-decoration:underline}
.ft-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:clamp(24px,4vw,64px);row-gap:20px;align-items:start}
.ft-copy h2{font-size:clamp(26px,2.4vw,34px);font-weight:800;color:#fff;line-height:1.15}
.ft-copy p{margin:12px 0 0;max-width:56ch;color:#dbe5f7;font-size:16px;line-height:1.5}
.ft-row{display:flex;gap:12px}
.ft-row input{flex:1 1 0;min-width:0;height:46px;border-radius:10px;border:0;padding:0 16px;font-size:15.5px;color:var(--ink);background:#fff}
.ft-row input::placeholder{color:#6b7790}
.ft-btn{flex:none;height:46px;padding:0 24px;border:0;border-radius:10px;background:var(--accent);color:var(--on-accent);font-weight:800;font-size:15px;cursor:pointer}
.ft-btn:hover{background:var(--accent-dark)}
.ft-consent{display:flex;align-items:center;gap:12px;margin-top:16px;font-size:15px;color:#dbe5f7;cursor:pointer}
.ft-consent input{appearance:none;-webkit-appearance:none;flex:none;width:20px;height:20px;border-radius:50%;border:2px solid #fff;background:transparent;display:grid;place-items:center;cursor:pointer;margin:0}
.ft-consent input:checked{background:#fff;box-shadow:inset 0 0 0 4px #3d08b8}
.ft-consent input:focus-visible,.ft-btn:focus-visible,.ft-row input:focus-visible{outline:3px solid #fff;outline-offset:2px}
.site-foot .nl-msg{margin:10px 0 0;min-height:22px}
.ft-cols{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1.25fr);column-gap:clamp(24px,2.4vw,40px);row-gap:32px;margin-top:clamp(28px,3.4vw,48px)}
.ft-cols h3{font-size:17px;font-weight:700;color:#fff;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.2);margin-bottom:18px}
.ft-cols ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px;font-size:15.5px}
.ft-sites-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}
.ft-badges{display:flex;gap:14px;flex-wrap:wrap}
.ft-badge{display:inline-flex;align-items:center;gap:10px;height:46px;padding:0 14px;border:1px solid rgba(255,255,255,.65);border-radius:8px;color:#fff;line-height:1.05}
.ft-badge:hover{background:rgba(255,255,255,.1);text-decoration:none!important}
.ft-badge-ic{width:24px;height:24px;flex:none}
.ft-badge span{display:flex;flex-direction:column}
.ft-badge small{font-size:9.5px;letter-spacing:.04em;font-weight:500;opacity:.85}
.ft-badge b{font-size:17px;font-weight:700;letter-spacing:-.01em}
.ft-cols h3.ft-follow{margin-top:30px}
.ft-soc{display:flex;gap:12px}
.ft-soc a{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.16);color:#fff}
.ft-soc a:hover{background:rgba(255,255,255,.28);text-decoration:none!important}
.ft-soc .ic{width:19px;height:19px}
.ft-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px 24px;margin-top:clamp(28px,3.4vw,44px);padding-block:18px 22px;border-top:1px solid rgba(255,255,255,.16);font-size:14px;color:#dbe5f7}
.ft-bottom a{text-decoration:underline}
@media(max-width:1099px){
  .ft-top{grid-template-columns:minmax(0,1fr)}
  .ft-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ft-sites{grid-column:1 / -1}
}
@media(max-width:599px){
  .ft-cols{grid-template-columns:minmax(0,1fr)}
  .ft-sites-grid{grid-template-columns:minmax(0,1fr);row-gap:14px}
  .ft-sites-grid ul:first-child{margin-bottom:0}
  .ft-bottom{flex-direction:column}
}
@media(max-width:599px){
  /* the floating bottom nav needs room at the very end: give it to the dark footer instead of leaving a light strip under it */
  body{padding-bottom:0}
  .site-foot{padding-bottom:calc(92px + env(safe-area-inset-bottom))}
}

/* <= 1099 px: no account/avatar icon in the header; the hamburger is just three thick blue bars (no circle, no border) */
@media(max-width:1099px){
  .head-actions .account{display:none}
  .site-head .menu-btn{width:44px;height:44px;border:0;border-radius:8px;background:transparent;color:var(--bb-blue)}
  .site-head .menu-btn:hover,.site-head .menu-btn:focus-visible{background:transparent;border:0;color:var(--bb-blue)}
  .site-head .menu-btn .ic{width:30px;height:30px}
}

/* only with the optional 5th photo card: narrower cards at 1100-1359 px get a smaller title */
@media(min-width:1100px) and (max-width:1359px){
  .news.has-u4 .is-side h3,.news.has-u4 .is-side3 h3,.news.has-u4 .is-under h3{font-size:18.5px}
}
/* tablet/phone, only with the optional 5th photo card: 5 text articles in a 2-column grid would leave one alone, so the last one spans the full width */
@media(max-width:1099px){.news .ncard.is-t.tLast{grid-column:1 / -1}}
/* very narrow screens: a long Hungarian compound word must wrap instead of pushing the page wider */
.ncard h3,.nexc,.nrow-title{overflow-wrap:anywhere}

/* magazine block balance (desktop, OFF by default: BALANCE_MAGAZINE in build.py): the right panel sets the row height; the free space is absorbed by the PHOTOS of the lead and of the two left cards (flex-grow on an aspect-ratio box), so there is no empty gap in the lead column */
@media(min-width:1100px){
  .news.balance .is-lead .nimg,.news.balance .mag-a .ncard .nimg{flex:1 1 auto}
}
@media(min-width:1100px) and (max-width:1439px){
  /* narrow desktop: a slightly smaller panel list keeps the spare height at the bottom of the lead/left columns small (always on) */
  .news .mag-right .nrow-title{font-size:15.5px}
  .news .mag-right .nrow a{padding:5px 0}
}

/* ======== PROBE (Zoltan Telegram 1522): Turak band in TWO columns on phones (<= 599 px), like the news grid ======== */
@media(max-width:599px){
  #turak .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  #turak .card{border-radius:16px}
  #turak .card-body{padding:11px 11px 12px;gap:6px}
  #turak .card-title{font-size:15.5px;line-height:1.25;overflow-wrap:anywhere}
  #turak .stats{gap:4px 9px;font-size:12.5px}
  #turak .stats .ic{width:1.15em;height:1.15em}
  #turak .stats li[title="Menetidő"]{display:none}  /* phone only: no ride time, so the stats fit on ONE line (distance + elevation) */
  #turak .card-foot{flex-direction:column;align-items:stretch;gap:8px;padding-top:10px;font-size:13px}
  #turak .card-foot .gpx{gap:5px}
  #turak .card-foot .cta{justify-content:center;font-size:13px;padding:7px 10px}
  #turak .fav{width:32px;height:32px;top:8px;right:8px}
  #turak .fav .ic{width:17px;height:17px}
  #turak .diff{left:8px;bottom:8px;font-size:11.5px;padding:3px 10px 3px 8px;gap:6px}
}
@media(max-width:350px){#turak .stats{font-size:11.5px;gap:3px 6px}#turak .stats li{gap:4px}#turak .stats .ic{width:1em;height:1em}}


/* ======== Turak: 16 tours = 4 full desktop rows; header buttons removed, the lower "Osszes tura" button stays (Update 58) ======== */
/* grid: 2 columns up to 1099 px (16 = 8 full rows), 4 columns from 1100 px (16 = 4 x 4 full rows) */
@media(min-width:600px) and (max-width:1099px){#turak .cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1100px){#turak .cards{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* 4 narrower columns at 1100-1359 px: smaller title, footer in two rows like on phones */
@media(min-width:1100px) and (max-width:1359px){
  #turak .card-title{font-size:18.5px}
  #turak .card-foot{flex-direction:column;align-items:stretch;gap:8px}
  #turak .card-foot .cta{justify-content:center}
}

/* the lower "Osszes tura" button of the tours at 600 px and up (phones keep the existing full-width one); it stays visible as a placeholder for future tours (data-keep-btn) */
@media(min-width:600px){
  #turak .cards-more{display:flex;align-items:center;justify-content:center;gap:8px;margin:26px auto 0;height:48px;padding:0 30px;border-radius:999px;border:1.5px solid var(--blue);background:#fff;color:var(--blue);font-weight:800;font-size:15px;cursor:pointer}
  #turak .cards-more:hover{background:var(--blue-tint)}
  #turak .cards-more .ic{transition:transform .2s}
  #turak .cards-more[aria-expanded=true] .ic{transform:rotate(90deg)}
  #turak .cards-more[hidden]{display:none}
}

/* Turak fold at ALL widths (Update 59): 12 visible from 600 px up (4 x 3 on desktop, 6 x 2 on tablet), 10 on phones; the lower button opens the rest */
#turak .cards.collapsed .card.extra{display:none}

/* Update 62: desktop only (>= 1100 px) - the tour stats row (distance / elevation / time) sits right above the footer separator line on every card, so the stats of a whole grid row are on ONE line whatever the title length; the title stays on top */
@media(min-width:1100px){
  #turak .card-body>.stats{margin-top:auto;margin-bottom:14px}
  #turak .card-body>.card-foot{margin-top:0}
}
@media(min-width:1100px) and (max-width:1359px){
  /* narrow 4-column desktop: keep distance / elevation / time on ONE line */
  #turak .stats{font-size:12.5px;gap:4px 8px;flex-wrap:nowrap}
  #turak .stats li{gap:4px;white-space:nowrap}
  #turak .stats .ic{width:1.05em;height:1.05em}
}

/* ======== first banner (under the menu bar): Sziget Festival creative (class kept as ad-eb); same width handling as the other banners, the height follows the creative's OWN aspect ratio (landscape 1280x371, square on phones) ======== */

/* third banner (before Szolgaltatok): Madame Tussauds Budapest; landscape 1280x426 (3:1, like the other landscape banner) and square 1000x1000 on phones */

/* ======== sixth main-menu item ("Sport"): tighter header gaps between 1100 and 1279 px so the actions do not overflow (measured: +27 px at 1100) ======== */
@media(min-width:1100px) and (max-width:1279px){
  .head-in{gap:14px}
  .nav{gap:15px}
  .head-actions{margin-left:0}
}

/* ======== footer sign-up on phones (up to 640 px): Név, Email and the button stacked, full width, 52 px tall, 16 px text.
   Cause of the squashed fields: in the old column layout `.ft-row input{flex:1 1 0}` made the inputs collapse to ~19 px height (flex-basis 0 in a column). ======== */
@media(max-width:640px){
  .ft-row{flex-direction:column;gap:12px}
  .ft-row input{flex:none;width:100%;height:52px;padding:0 18px;font-size:16px;border-radius:12px}
  .ft-btn{width:100%;height:52px;font-size:16px;border-radius:12px}
  .ft-consent{margin-top:18px;min-height:44px;font-size:16px;line-height:1.35;gap:14px}
  .ft-consent input{width:24px;height:24px}
  .ft-consent input:checked{box-shadow:inset 0 0 0 5px #3d08b8}
}

/* ======== sister-site feed bands above the footer: Csodalatos Magyarorszag / Balaton / Budapest (design only, feed not wired) ======== */
.feeds{padding-block:clamp(28px,4vw,56px) clamp(32px,4.4vw,64px)}
.feeds .wrap{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(16px,2vw,26px)}
.feed{border-radius:clamp(20px,2.2vw,30px);padding:clamp(18px,2.2vw,30px);display:grid;grid-template-columns:minmax(200px,16%) minmax(0,1fr);column-gap:clamp(20px,2.4vw,36px);align-items:start;background:var(--fd-bg,#eef3fb)}
.fd-hu{--fd-bg:#e8f0fb}.fd-bl{--fd-bg:#e2f4f1}.fd-bp{--fd-bg:#fdf1e1}
.fd-head{display:flex;flex-direction:column;gap:18px;padding-top:4px}
.fd-copy h2{font-size:clamp(22px,1.7vw,28px);line-height:1.12;font-weight:800;color:var(--ink)}
.fd-copy p{margin:10px 0 0;color:var(--ink-soft);font-size:15.5px;line-height:1.5}
.fd-act{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.fd-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 24px;border:2px solid var(--blue);border-radius:10px;background:#fff;color:var(--blue);font-weight:800;font-size:15px;transition:background .15s,color .15s}
.fd-btn:hover{background:var(--blue);color:#fff}
.fd-src{font-size:12px;color:var(--ink-soft);letter-spacing:.02em}
.fd-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--gutter);min-width:0}
.fd-card{display:flex;flex-direction:column;min-width:0}
.fd-img{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;border-radius:16px;background:#fff}
.fd-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.fd-card:hover .fd-img img{transform:scale(1.04)}
.fd-pill{position:absolute;left:10px;top:10px;padding:4px 11px;border-radius:999px;background:#fff;color:var(--c);font-size:11.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;line-height:1.35;box-shadow:0 1px 3px rgba(16,33,63,.12)}
.fd-sample{position:absolute;left:10px;bottom:10px;padding:1px 8px;border-radius:999px;background:var(--accent);color:var(--on-accent);font-size:10.5px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;cursor:help}
.fd-card h3{margin-top:12px;font-family:Inter,sans-serif;font-size:15.5px;line-height:1.3;font-weight:700;letter-spacing:-.005em}
.fd-card h3 a:hover{color:var(--blue)}
/* below 1200 px five cards no longer fit: head on top, cards in a snap-scrolling strip (the next card peeks out) */
@media(max-width:1199px){
  .feed{grid-template-columns:minmax(0,1fr);row-gap:18px}
  .fd-head{flex-direction:row;align-items:flex-end;justify-content:space-between;gap:16px 24px;flex-wrap:wrap;padding-top:0}
  .fd-copy{flex:1 1 220px;min-width:0}
  .fd-act{flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px 14px;min-width:0;max-width:100%}
  .fd-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 2 * var(--gutter)) / 3.25);overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:8px;margin-bottom:-8px;scrollbar-width:thin}
  .fd-card{scroll-snap-align:start}
}
@media(max-width:699px){
  .fd-grid{grid-auto-columns:calc((100% - var(--gutter)) / 2.25);gap:14px}
  .fd-card h3{font-size:14.5px}
  .fd-copy h2{font-size:22px}
  .fd-btn{min-height:42px;padding:0 20px}
}
@media(max-width:479px){.fd-grid{grid-auto-columns:68%}}
.fd-img.is-ph{display:grid;place-items:center;color:#8a97b0;background:rgba(255,255,255,.7);border:1px dashed #c3cde0}
