/* =========================================================================
   Balkon3 — "Меридијан" editorial layout
   Ported from the approved standalone designs. Design tokens alias the
   theme.json presets so Site Editor global-style changes propagate here.
   Language-agnostic: no hard-coded copy, works for mk / sq / en / el / tr.
   ========================================================================= */

:root{
  --paper:        var(--wp--preset--color--base, #fefdfc);
  --paper-2:      var(--wp--preset--color--surface, #f1f0ed);
  --ink:          var(--wp--preset--color--contrast, #15171b);
  --ink-soft:     var(--wp--preset--color--ink-soft, #3b4046);
  --muted:        var(--wp--preset--color--muted, #878c93);
  --muted-2:      var(--wp--preset--color--muted-2, #a6abb2);
  --rule:         var(--wp--preset--color--rule, #e7e4e0);
  --rule-strong:  var(--wp--preset--color--rule-strong, #d6d3ce);
  --accent:       var(--wp--preset--color--accent, #d21343);
  --accent-deep:  var(--wp--preset--color--accent-deep, #ae0e36);
  --blue:         var(--wp--preset--color--blue, #006da9);
  --blue-deep:    var(--wp--preset--color--blue-deep, #015585);
  --live:         var(--wp--preset--color--accent, #d21343);
  --kicker:       #5f6772;
  --pink-bg:      var(--wp--preset--color--pink-bg, #fbe4eb);
  --pink-border:  var(--wp--preset--color--pink-border, #f1c2cf);
  --blue-bg:      var(--wp--preset--color--blue-bg, #e4f0f7);
  --blue-border:  var(--wp--preset--color--blue-border, #bfdcec);
  --dark:         var(--wp--preset--color--dark, #0c1c2b);
  --dark-2:       var(--wp--preset--color--dark-2, #16304a);
  --footer-bg:    var(--wp--preset--color--surface, #f1f0ed);
  --display: var(--wp--preset--font-family--display, 'Playfair Display', Georgia, serif);
  --serif:   var(--wp--preset--font-family--serif, 'Source Serif 4', Georgia, serif);
  --sans:    var(--wp--preset--font-family--sans, 'Source Sans 3', system-ui, sans-serif);
  --maxw:1280px;
  --gap:42px;
}

*{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
body.wp-site-blocks,
body{
  margin:0; background:var(--paper); color:var(--ink);
  font-family:var(--sans); font-size:16px; line-height:1.5;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
img{display:block; max-width:100%; height:auto;}
a{color:inherit; text-decoration:none;}

/* container — the design's 1280 wrap */
.wrap,.b3-wrap{max-width:var(--maxw); margin-inline:auto; padding-inline:32px; width:100%;}

/* kill root padding on our own full-bleed sections; we manage gutters via .wrap */
.wp-site-blocks > *{margin-block:0;}

/* kickers / labels */
.kicker,
.is-style-kicker{
  font-family:var(--sans); font-weight:700; font-size:12px;
  letter-spacing:.13em; text-transform:uppercase; color:var(--kicker);
  margin:0;
}
.lead .kicker,.b3-article .a-kicker .kicker,.cat-feature .kicker,
.is-style-kicker.has-accent-color{color:var(--accent);}
.meta{
  font-family:var(--sans); font-weight:600; font-size:11.5px;
  letter-spacing:.1em; text-transform:uppercase; color:var(--muted);
}

/* ===== Utility bar ===== */
.util{border-bottom:1px solid var(--rule);}
.util .wrap{display:flex; align-items:center; justify-content:space-between; min-height:38px;}
.util span,.util a{font-size:10.5px; letter-spacing:.09em; text-transform:uppercase; color:var(--muted-2); font-weight:600; white-space:nowrap;}
.util .left{display:flex; gap:22px;}
.util .right{display:flex; gap:22px;}
.util a{transition:color .15s;}
.util a:hover{color:var(--accent);}

/* ===== Header / logo ===== */
.logo,.b3-logo{display:inline-flex; align-items:center; line-height:0; flex:0 0 auto;}
.logo img,.b3-logo img,.wp-block-site-logo img{height:34px; width:auto; display:block;}
.wp-block-site-title{font-family:var(--display); font-weight:900; font-size:26px; letter-spacing:-.02em;}
.wp-block-site-title a{color:var(--ink);}
@media(max-width:560px){.logo img,.wp-block-site-logo img{height:26px;}}

/* ===== Nav ===== */
.b3-nav{border-top:1px solid var(--ink); border-bottom:1px solid var(--ink);}
.b3-nav .wrap{position:relative; display:flex; align-items:center; justify-content:space-between; gap:36px; min-height:74px;}
.b3-nav .wp-block-navigation{margin-left:auto;}
.b3-nav .wp-block-navigation__container{gap:22px;}
.b3-nav .wp-block-navigation-item__content{
  font-family:var(--sans); font-size:15px; font-weight:600; letter-spacing:.01em; white-space:nowrap;
  color:var(--ink); padding:4px 0; position:relative; transition:color .15s;
}
.b3-nav .wp-block-navigation-item__content:hover{color:var(--accent);}
.b3-nav .wp-block-navigation .wp-block-navigation-submenu__toggle{color:inherit;}
.b3-nav .wp-block-navigation__submenu-container{
  background:var(--paper); border:1px solid var(--rule-strong);
  box-shadow:0 18px 44px rgba(0,0,0,.13); padding:8px 0; min-width:216px;
}
.b3-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content{padding:9px 20px; font-size:14px;}
.b3-nav .wp-block-navigation__submenu-container .wp-block-navigation-item:hover{background:var(--paper-2);}

/* mobile menu toggle color */
.b3-nav .wp-block-navigation__responsive-container-open,
.b3-nav .wp-block-navigation__responsive-container-close{color:var(--ink);}

/* Mobile overlay panel — style the core Navigation overlay to match the site
   instead of WP's bare default, and make submenus expand inline (not as a
   floating desktop dropdown box) inside the vertical list. */
.b3-nav .wp-block-navigation__responsive-container.is-menu-open{
  background:var(--paper); color:var(--ink); padding:0;
}
.b3-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{
  padding:8px 26px 40px; width:100%;
}
/* Fill the screen width on mobile so the left-aligned list spans the panel. */
.b3-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{width:100%;}
.b3-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close{
  top:20px; right:22px; color:var(--ink); opacity:.8; transition:opacity .15s, transform .15s;
}
.b3-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close:hover{opacity:1; transform:rotate(90deg);}

/* Top-level items stack full-width, each separated by a hairline rule so the
   menu reads as a clean editorial list rather than a cramped cluster. */
.b3-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{
  gap:0; flex-direction:column; align-items:stretch !important; justify-content:flex-start !important;
}
/* The desktop nav is right-justified (items-justified-right). In the overlay make
   each item a full-width block with a left-aligned link, so labels start at the
   edge and the submenu accent rail hugs its text (instead of stranding right). */
.b3-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item{
  display:block !important; width:100%; text-align:left;
}
.b3-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{
  display:block; width:100%; margin:0 !important; text-align:left;
}
.b3-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item{
  border-bottom:1px solid var(--rule);
}
.b3-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{
  font-family:var(--serif); font-size:21px; font-weight:600; color:var(--ink);
  padding:15px 2px; display:block; transition:color .15s;
}
.b3-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover,
.b3-nav .wp-block-navigation__responsive-container.is-menu-open .current-menu-item > .wp-block-navigation-item__content{
  color:var(--accent);
}
/* Parent items: keep the label and its chevron toggle on one centred row with a
   comfortable tap target. */
.b3-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu{position:relative;}
.b3-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu__toggle{
  position:absolute; top:0; right:0; height:52px; width:52px; display:flex;
  align-items:center; justify-content:center; color:var(--muted); background:none; border:none;
  z-index:2; cursor:pointer; /* sit above the parent link so the tap toggles, not navigates */
}
/* Keep the parent label clear of (and below) the chevron's tap zone. */
.b3-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu > .wp-block-navigation-item__content{
  position:relative; z-index:1; padding-right:52px;
}
.b3-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu__toggle svg{
  width:18px; height:18px; transition:transform .2s;
}
.b3-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu__toggle[aria-expanded="true"] svg{transform:rotate(180deg);}
/* Sub-items expand inline (not a floating desktop box), indented behind an accent
   rail so the hierarchy is obvious. */
/* Submenus start collapsed in the overlay; the chevron toggles each one open.
   Visibility is keyed to the toggle button's aria-expanded (set by theme.js), and
   the container is the sibling right after that button. */
.b3-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container{
  position:static !important; min-width:0; box-shadow:none; border:none;
  background:var(--paper-2); margin:0 -26px; padding:0; /* full-bleed tinted tray */
  display:none !important;
}
.b3-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu__toggle[aria-expanded="true"] ~ .wp-block-navigation__submenu-container{
  display:block !important; padding:4px 0 8px;
}
.b3-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item{
  border:none; padding-left:26px; border-left:2px solid var(--accent); margin-left:26px;
}
.b3-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content{
  font-family:var(--sans); font-size:16px; font-weight:600; color:var(--ink-soft); padding:9px 26px 9px 0;
}
.b3-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover{color:var(--accent);}

/* ===== Focus bar ===== */
.focusbar{background:var(--dark); color:#e7ecf1;}
.focusbar .wrap{display:flex; align-items:stretch; gap:0; min-height:50px; overflow:hidden;}
.focusbar .ft{flex:0 0 auto; display:inline-flex; align-items:center; gap:9px; background:var(--accent); color:#fff; font-family:var(--sans); font-weight:800; font-size:12px; letter-spacing:.12em; text-transform:uppercase; padding:0 16px; margin-left:-32px; padding-left:32px;}
.focusbar .ticker{flex:1 1 auto; min-width:0; overflow:hidden; display:flex; align-items:center;}
.focusbar .ticker-track{display:flex; flex-wrap:nowrap; align-items:center; will-change:transform;}
.focusbar .ticker-track > ul{flex:0 0 auto; list-style:none; margin:0; padding:0; display:flex; align-items:center;}
.focusbar li{flex:0 0 auto; display:flex; align-items:center; padding:0 22px; border-left:1px solid rgba(255,255,255,.14);}
.focusbar li:first-child{border-left:none;}
/* Restore the divider at the seam between the real list and its looped clone. */
.focusbar .ticker-track > ul + ul li:first-child{border-left:1px solid rgba(255,255,255,.14);}
.focusbar a{font-family:var(--serif); font-weight:600; font-size:15px; color:#e7ecf1; white-space:nowrap; transition:color .15s;}
.focusbar a:hover{color:#fff;}
@media (prefers-reduced-motion: no-preference){
	.focusbar .ticker-track.is-ticking{animation:b3-ticker var(--b3-ticker-dur,40s) linear infinite;}
	.focusbar .ticker:hover .ticker-track.is-ticking,
	.focusbar .ticker:focus-within .ticker-track.is-ticking{animation-play-state:paused;}
}
@keyframes b3-ticker{from{transform:translateX(0);} to{transform:translateX(-50%);}}

/* ===== Section header ===== */
.b3-section{padding:54px 0;}
.sec-head{display:flex; align-items:baseline; justify-content:space-between; gap:20px; border-bottom:2px solid var(--ink); padding-bottom:14px; margin-bottom:30px;}
.sec-title{display:flex; align-items:center; gap:12px; font-family:var(--display); font-weight:800; font-size:clamp(26px,3.4vw,38px); line-height:1; color:var(--ink); margin:0;}
.sec-title .ic{color:var(--accent); display:flex;}
.sec-link{flex:0 0 auto; font-family:var(--sans); font-weight:700; font-size:12.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink); display:inline-flex; align-items:center; gap:7px; transition:color .15s; white-space:nowrap;}
.sec-link:hover{color:var(--accent);}
.sec-link svg{transition:transform .18s;}
.sec-link:hover svg{transform:translateX(3px);}

/* ===== Hero ===== */
.b3-hero{padding:38px 0 54px;}
.hero-grid{display:flex; gap:var(--gap); align-items:flex-start;}
.hero-grid>.hero-main{flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:46px;}
.hero-top{display:flex; gap:0; align-items:flex-start;}
.hero-top>.toplist{flex:0 0 236px;}
.hero-top>.lead{flex:1 1 auto; min-width:0; max-width:100%; border-left:1px solid var(--rule-strong); margin-left:36px; padding-left:36px;}
.hero-grid>.sidebar{flex:0 0 318px;}

/* На Балкон grid under hero */
.balkon-block{border-top:1px solid var(--rule); padding-top:30px; margin-top:6px;}
.balkon-grid{display:flex; flex-wrap:wrap; gap:32px;}
.balkon-grid>.bk{flex:0 0 calc(50% - 16px); min-width:0; display:block;}
.bk .bkimg,.bk img{width:100%; height:300px; object-fit:cover; margin-bottom:14px;}
.bk .kicker{display:block; margin-bottom:9px;}
.bk h3{font-family:var(--serif); font-weight:700; font-size:20px; line-height:1.2; letter-spacing:-.005em; margin:0; transition:color .15s; text-transform:none;}
.bk .bkexc{font-size:15px; line-height:1.5; color:var(--ink-soft); margin:9px 0 0;}
.bk:hover h3{color:var(--accent);}
.bk:hover .bkimg,.bk:hover img{filter:brightness(.96);}

/* top stories */
.toplist h3{font-family:var(--sans); font-weight:700; font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--ink); margin:0 0 4px;}
.toplist .rule{height:2px; background:var(--ink); margin-bottom:6px;}
.toplist .item{display:block; padding:18px 0; border-bottom:1px solid var(--rule);}
.toplist .item:last-child{border-bottom:none;}
.toplist .item .kicker{display:block; margin-bottom:8px;}
.toplist .item h4{font-family:var(--serif); font-weight:700; font-size:21px; line-height:1.18; margin:0 0 9px; letter-spacing:-.005em; transition:color .15s;}
.toplist .item:hover h4{color:var(--accent);}
.toplist .item time{font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); font-weight:600;}

/* lead (center) */
.lead .img,.lead .lead-img img{width:100%; height:350px; object-fit:cover; margin-bottom:18px;}
.lead-link{display:block;}
.lead .kicker{display:block; margin-bottom:14px;}
.lead h2{font-family:var(--display); font-weight:800; font-size:clamp(32px,3.65vw,48px); line-height:1.04; letter-spacing:-.015em; margin:0 0 18px; text-transform:none;}
.lead .dek{font-family:var(--sans); font-size:18px; line-height:1.5; color:var(--ink-soft); margin:0 0 18px; max-width:30em;}
.lead .lead-foot{display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:6px;}
.lead .lead-foot time{font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); font-weight:600;}
.lead .readmore{display:inline-flex; align-items:center; gap:8px; font-family:var(--sans); font-weight:700; font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--ink); border:1.5px solid var(--ink); padding:11px 20px; transition:background .15s, color .15s, border-color .15s;}
.lead .readmore:hover{background:var(--accent); border-color:var(--accent); color:#fff;}

/* lead slider */
.lead-slider{position:relative;}
.lead-viewport{overflow:hidden;}
.lead-track{display:flex; transition:transform .5s cubic-bezier(.4,0,.2,1);}
.lead-slide{flex:0 0 100%; min-width:0;}
.lead-nav{display:flex; justify-content:flex-end; gap:10px; margin-top:18px;}
.lead-arrow{width:46px; height:46px; border:1.5px solid var(--ink); background:none; color:var(--ink); cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background .15s, color .15s, border-color .15s;}
.lead-arrow:hover{background:var(--accent); border-color:var(--accent); color:#fff;}

/* ===== Sidebar ===== */
.sidebar{display:flex; flex-direction:column; gap:24px;}
.card-pink,.is-style-card-pink{background:var(--pink-bg); padding:26px 24px; text-align:center;}
.card-pink .kicker{display:block; margin-bottom:12px;}
.card-pink h4{font-family:var(--display); font-weight:700; font-size:23px; line-height:1.15; margin:0 0 10px;}
.card-pink p{font-size:14.5px; color:var(--ink-soft); margin:0 0 16px;}
.card-pink .cta{font-family:var(--sans); font-weight:700; font-size:12px; letter-spacing:.1em; text-transform:uppercase; border-bottom:2px solid var(--ink); padding-bottom:3px; display:inline-flex; gap:7px; align-items:center;}

.card-guide,.is-style-card-guide{border:1px solid var(--blue-border); background:var(--blue-bg); padding:22px;}
.card-guide .ktop{display:flex; align-items:center; gap:8px; color:var(--blue); margin-bottom:12px;}
.card-guide .ktop .kicker{color:var(--blue);}
.card-guide h4{font-family:var(--serif); font-weight:700; font-size:21px; line-height:1.18; margin:0 0 8px;}
.card-guide p{font-size:14px; color:var(--ink-soft); margin:0 0 14px;}
.card-guide .cta{font-family:var(--sans); font-weight:700; font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--blue); display:inline-flex; gap:6px; align-items:center;}

.trending{border:1px solid var(--rule-strong); padding:22px 22px 8px;}
.trending .thead{display:flex; align-items:center; gap:9px; color:var(--accent); margin-bottom:6px;}
.trending .titem{display:flex; gap:16px; align-items:flex-start; padding:16px 0; border-bottom:1px solid var(--rule);}
.trending .titem:last-child{border-bottom:none;}
.trending .num{font-family:var(--display); font-weight:800; font-size:30px; line-height:.9; color:var(--blue); flex:0 0 auto; min-width:42px;}
.trending .titem p{font-family:var(--serif); font-weight:600; font-size:17px; line-height:1.22; margin:0; transition:color .15s;}
.trending .titem:hover p{color:var(--accent);}
/* trending as a Query Loop: number via CSS counter */
.trending .wp-block-post-template{counter-reset:b3trend; list-style:none; margin:0; padding:0;}
.trending .wp-block-post-template li{counter-increment:b3trend; display:flex; gap:16px; align-items:flex-start; padding:16px 0; border-bottom:1px solid var(--rule); position:relative;}
.trending .wp-block-post-template li::before{content:counter(b3trend); font-family:var(--display); font-weight:800; font-size:30px; line-height:.9; color:var(--blue); min-width:42px;}
.trending .wp-block-post-template li:last-child{border-bottom:none;}
.trending .wp-block-post-title{font-family:var(--serif); font-weight:600; font-size:17px; line-height:1.22; margin:0;}
.trending .wp-block-post-title a:hover{color:var(--accent);}

.newsletter,.is-style-card-dark{background:var(--dark); color:#f3efe7; padding:30px 26px;}
.newsletter h4{font-family:var(--display); font-weight:700; font-size:30px; line-height:1.04; margin:0 0 12px; color:#f3efe7;}
.newsletter p{font-size:15px; color:#b7b1a6; margin:0 0 22px; line-height:1.45;}
.newsletter form{display:flex; flex-direction:column; gap:0;}
.newsletter input[type=email],.newsletter input[type=text]{background:none; border:none; border-bottom:1px solid #4a443b; color:#fff; font-family:var(--sans); font-size:15px; padding:8px 0; outline:none;}
.newsletter input::placeholder{color:#8c867b;}
.newsletter input:focus{border-color:#f3efe7;}
.newsletter button{margin-top:16px; background:#fff; color:var(--ink); border:none; font-family:var(--sans); font-weight:700; font-size:12.5px; letter-spacing:.1em; text-transform:uppercase; padding:14px; cursor:pointer; transition:background .15s,color .15s;}
.newsletter button:hover{background:var(--accent); color:#fff;}

.ad{position:relative; width:300px; height:300px; max-width:100%; margin:0 auto; display:flex; align-items:center; justify-content:center; text-align:center; padding:28px; background:var(--paper-2); border:2px dashed var(--accent); overflow:hidden;}
.ad .lab{font-family:var(--display); font-weight:800; font-size:30px; line-height:1.15; letter-spacing:-.01em; color:var(--ink);}

/* ===== Videos ===== */
.vid-grid{display:flex; gap:32px;}
.vid-grid>.vid{flex:1 1 0; min-width:0;}
.vid{display:block;}
.vid .frame{position:relative; height:210px; overflow:hidden; margin-bottom:14px;}
.vid .frame img{width:100%; height:100%; object-fit:cover; transition:transform .4s ease;}
.vid:hover .frame img{transform:scale(1.04);}
.vid .play{position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:62px; height:62px; border-radius:50%; background:rgba(255,255,255,.92); display:flex; align-items:center; justify-content:center; transition:transform .2s, background .2s;}
.vid:hover .play{transform:translate(-50%,-50%) scale(1.08); background:#fff;}
.vid h4{font-family:var(--serif); font-weight:700; font-size:21px; line-height:1.18; margin:0; transition:color .15s;}
.vid:hover h4{color:var(--accent);}

/* ===== Promo split (banner + post list) ===== */
.promo-split{display:flex; gap:44px; align-items:stretch;}
.promo-split.reverse{flex-direction:row-reverse;}
.promo-banner{flex:0 0 46%; max-width:46%; align-self:center; overflow:hidden; display:block;}
.promo-banner img{width:100%; height:auto; object-fit:contain; display:block; transition:transform .5s ease;}
.promo-banner:hover img{transform:scale(1.03);}
.promo-list{flex:1 1 0; min-width:0; display:flex; flex-direction:column;}
.prow{display:flex; gap:22px; align-items:center; padding:22px 0; border-bottom:1px solid var(--rule); flex:1 1 0;}
.prow:first-child{padding-top:0;}
.prow:last-child{border-bottom:none; padding-bottom:0;}
.prow-img,.prow img{flex:0 0 168px; width:168px; height:118px; object-fit:cover; transition:filter .3s;}
.prow:hover .prow-img{filter:brightness(.95);}
.prow-b{flex:1 1 0; min-width:0;}
.prow-b .kicker{display:block; margin-bottom:9px;}
.prow-b h4{font-family:var(--serif); font-weight:700; font-size:20px; line-height:1.2; letter-spacing:-.005em; margin:0; transition:color .15s; text-transform:none;}
.prow-b p{font-family:var(--sans); font-size:14.5px; color:var(--ink-soft); line-height:1.5; margin:9px 0 0; max-width:42em;}
.prow:hover h4{color:var(--accent);}

/* ===== Dark section (videos / sport) ===== */
.b3-dark{background:var(--dark); color:#f3efe7;}
.b3-dark .sec-head{border-color:#2b333c;}
.b3-dark .sec-title{color:#fff;}
.b3-dark .sec-link{color:#cfc9bd;}
.b3-dark .sec-link:hover{color:#fff;}
.vid-grid-4{display:flex; flex-wrap:wrap; gap:30px;}
.vid-grid-4>.vid{flex:0 0 calc(25% - 22.5px); max-width:calc(25% - 22.5px); min-width:0;}
.b3-dark .vid .frame{height:158px;}
.b3-dark .vid .kicker{display:block; margin-bottom:8px; color:#ed5c7c;}
.b3-dark .vid h4{font-size:17px; color:#f3efe7;}
.b3-dark .vid:hover h4{color:#fff;}

/* ===== Travel cards ===== */
.card4{display:flex; gap:30px;}
.card4>.tcard{flex:1 1 0; min-width:0;}
.tcard{display:block;}
.tcard .timg,.tcard img{width:100%; height:240px; object-fit:cover; margin-bottom:14px; transition:filter .3s;}
.tcard .kicker{display:block; margin-bottom:9px;}
.tcard h4{font-family:var(--serif); font-weight:700; font-size:21px; line-height:1.16; margin:0; letter-spacing:-.005em; transition:color .15s;}
.tcard:hover h4{color:var(--accent);}

/* ===== Gallery as posts ===== */
.galposts{display:flex; flex-wrap:wrap; gap:30px;}
.galposts>.gpost{flex:0 0 calc(25% - 22.5px); min-width:0; display:block;}
.gpost .gpframe{overflow:hidden; margin-bottom:13px;}
.gpost .gpimg,.gpost img{width:100%; height:210px; object-fit:cover; transition:transform .45s ease;}
.gpost:hover .gpimg,.gpost:hover img{transform:scale(1.05);}
.gpost .kicker{display:block; margin-bottom:8px;}
.gpost h4{font-family:var(--serif); font-weight:700; font-size:18px; line-height:1.22; margin:0; transition:color .15s; text-transform:none;}
.gpost:hover h4{color:var(--accent);}

/* ===== Footer ===== */
.b3-footer{background:var(--dark); color:#cfd6dd; padding:62px 0 30px;}
.foot-grid{display:flex; gap:36px; align-items:flex-start;}
.foot-grid>.foot-brand{flex:1.4 1 0; min-width:0;}
.foot-grid>.foot-col{flex:1 1 0; min-width:0;}
.foot-brand .flogo{margin-bottom:16px; line-height:0;}
.foot-brand .flogo img{height:34px; width:auto;}
.foot-brand p{font-size:14.5px; color:#9aa6b2; margin:0; max-width:18em; line-height:1.5;}
.foot-col h5{font-size:11.5px; letter-spacing:.12em; text-transform:uppercase; color:#fff; font-weight:700; margin:6px 0 16px;}
.b3-footer .wp-block-navigation{flex-direction:column; align-items:flex-start;}
.b3-footer .wp-block-navigation__container{flex-direction:column; align-items:flex-start; gap:11px;}
.foot-col ul{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:11px;}
.foot-col .wp-block-social-links{flex-direction:row; gap:12px;}
.b3-footer a{font-size:14.5px; color:#aeb8c2; transition:color .15s;}
.b3-footer a:hover{color:#fff;}
.b3-footer .wp-block-navigation-item__content{color:#aeb8c2;}
.b3-footer .wp-block-navigation-item__content:hover{color:#fff;}
.foot-bottom{display:flex; align-items:center; justify-content:space-between; margin-top:46px; padding-top:22px; border-top:1px solid rgba(255,255,255,.12); font-size:12.5px; color:#7f8b97;}
.foot-bottom .links{display:flex; gap:8px;}
.foot-bottom .links a:hover{color:#cfd6dd;}

/* ===== Page + article shell ===== */
.b3-page{padding:60px 0 70px;}
.page-grid{display:flex; gap:var(--gap); align-items:flex-start;}
.page-grid>.page-main{flex:1 1 auto; min-width:0;}
.page-grid>.sidebar{flex:0 0 318px;}

/* breadcrumb */
.crumbs{display:flex; align-items:center; gap:9px; font-size:12px; letter-spacing:.07em; text-transform:uppercase; color:var(--muted); font-weight:600; margin-bottom:24px;}
.crumbs a:hover{color:var(--accent);}
.crumbs .sep{color:var(--rule-strong);}
.crumbs .cur{color:var(--accent);}

/* ===== Category / archive header ===== */
.b3-breadcrumbs{font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); margin-bottom:14px; display:flex; gap:8px; align-items:center;}
.b3-breadcrumbs a{color:var(--muted); text-decoration:none;}
.b3-breadcrumbs a:hover{color:var(--ink);}
.b3-breadcrumbs .current{color:var(--ink); font-weight:700;}
.cat-head{border-bottom:2px solid var(--ink); padding-bottom:20px; margin-bottom:32px;}
.cat-head .kicker{display:block; margin-bottom:11px;}
.cat-head h1{font-family:var(--display); font-weight:800; font-size:clamp(40px,5vw,58px); line-height:1; letter-spacing:-.015em; margin:0 0 14px;}
.cat-head p{font-size:17px; color:var(--ink-soft); margin:0; max-width:44em; line-height:1.5;}

/* featured (first) post — used by first item of an archive query */
.cat-feature{display:flex; gap:32px; padding-bottom:36px; margin-bottom:34px; border-bottom:1px solid var(--rule);}
.cat-feature .cf-img{flex:0 0 56%; max-width:56%; overflow:hidden;}
.cat-feature .cf-img img{width:100%; height:330px; object-fit:cover; transition:transform .4s ease;}
.cat-feature:hover .cf-img img{transform:scale(1.03);}
.cat-feature .cf-body{flex:1 1 0; min-width:0; align-self:center;}
.cat-feature .kicker{display:block; margin-bottom:12px;}
.cat-feature h2{font-family:var(--display); font-weight:800; font-size:clamp(26px,2.7vw,34px); line-height:1.08; letter-spacing:-.01em; margin:0 0 14px; text-transform:none;}
.cat-feature p{font-size:16px; color:var(--ink-soft); line-height:1.5; margin:0 0 16px;}
.cat-feature:hover h2{color:var(--accent);}

/* list rows — Query Loop post template */
.cat-list .wp-block-post-template{margin:0; padding:0; list-style:none; display:flex; flex-direction:column;}
.cat-row,.cat-list .wp-block-post-template > li{display:flex; gap:26px; padding:26px 0; border-bottom:1px solid var(--rule);}
.cat-list .wp-block-post-template > li:first-child{padding-top:0;}
.cat-list .wp-block-post-template > li:last-child{border-bottom:none;}
.cr-img,.cat-list .wp-block-post-featured-image{flex:0 0 250px; overflow:hidden;}
.cr-img img,.cat-list .wp-block-post-featured-image img{width:250px; height:166px; object-fit:cover; transition:transform .4s ease;}
.cat-list .wp-block-post-template > li:hover .wp-block-post-featured-image img{transform:scale(1.04);}
.cr-body{flex:1 1 0; min-width:0;}
.cat-row h3,.cat-list .wp-block-post-title{font-family:var(--serif); font-weight:700; font-size:24px; line-height:1.2; letter-spacing:-.005em; margin:0 0 10px; transition:color .15s; text-transform:none;}
.cat-list .wp-block-post-title a:hover{color:var(--accent);}
.cat-row p,.cat-list .wp-block-post-excerpt{font-size:15px; color:var(--ink-soft); line-height:1.5; margin:0 0 12px; max-width:46em;}

/* First (most recent) post in the list gets a larger, featured treatment. */
.cat-list .wp-block-post-template > li:first-child{gap:36px;}
.cat-list .wp-block-post-template > li:first-child .wp-block-post-featured-image{flex:0 0 430px;}
.cat-list .wp-block-post-template > li:first-child .wp-block-post-featured-image img{width:430px !important; height:300px !important;}
.cat-list .wp-block-post-template > li:first-child .wp-block-post-title{font-size:34px;}
.cat-list .wp-block-post-template > li:first-child .wp-block-post-excerpt{font-size:16px; max-width:50em;}
.rmeta{font-size:11.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); font-weight:600; display:flex; gap:14px; align-items:center;}
.rmeta .dot{width:3px; height:3px; border-radius:50%; background:var(--muted-2); display:inline-block;}

/* pagination — core query pagination mapped to .pager look */
.pager,.wp-block-query-pagination{display:flex; gap:8px; align-items:center; justify-content:center; margin-top:42px; padding-top:8px;}
.wp-block-query-pagination{flex-wrap:wrap;}
.wp-block-query-pagination-numbers .page-numbers,
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next,
.pager a{min-width:44px; height:44px; padding:0 14px; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--rule-strong); font-family:var(--sans); font-weight:700; font-size:14px; color:var(--ink); transition:.15s;}
.wp-block-query-pagination-numbers .page-numbers:hover,
.wp-block-query-pagination-previous:hover,
.wp-block-query-pagination-next:hover,
.pager a:hover{border-color:var(--accent); color:var(--accent);}
.wp-block-query-pagination-numbers .page-numbers.current,
.pager a.active{background:var(--ink); border-color:var(--ink); color:#fff;}

/* ===== Single post ===== */
.b3-article .a-kicker{display:inline-flex; align-items:center; gap:8px; margin-bottom:16px;}
.b3-article .a-kicker .kicker,.b3-article .wp-block-post-terms{color:var(--accent); font-weight:700; font-size:12px; letter-spacing:.13em; text-transform:uppercase;}
.b3-article h1,.b3-article .wp-block-post-title{font-family:var(--display); font-weight:800; font-size:clamp(34px,4.2vw,52px); line-height:1.04; letter-spacing:-.015em; margin:0 0 20px; text-transform:none;}
.b3-article .standfirst,.b3-article .wp-block-post-excerpt{font-family:var(--serif); font-style:italic; font-weight:500; font-size:22px; line-height:1.45; color:var(--ink-soft); margin:0 0 26px; max-width:38em;}
.b3-article .artmeta{display:flex; align-items:center; gap:16px; padding:16px 0; border-top:1px solid var(--rule); border-bottom:1px solid var(--rule); margin-bottom:28px; flex-wrap:wrap;}
.b3-article .artmeta .avatar{width:42px; height:42px; border-radius:50%; background:var(--pink-bg); color:var(--accent-deep); display:flex; align-items:center; justify-content:center; font-family:var(--display); font-weight:800; font-size:17px; flex:0 0 auto;}
.b3-article .artmeta .who{display:flex; flex-direction:column; gap:2px;}
.b3-article .artmeta .who b{font-size:14px; font-weight:700; color:var(--ink);}
.b3-article .artmeta .who span,.b3-article .artmeta .wp-block-post-date{font-size:11.5px; letter-spacing:.07em; text-transform:uppercase; color:var(--muted); font-weight:600;}
/* Byline row actually renders the core Post Author block (single.html), not the
   hand-built .avatar/.who above. Align its avatar + name on the same centre line
   as the date, and give the Gravatar a circular crop (Task #6A). */
.b3-article .artmeta .wp-block-post-author{display:flex; align-items:center; gap:12px; margin:0;}
.b3-article .artmeta .wp-block-post-author__avatar{display:flex; line-height:0; flex:0 0 auto;}
.b3-article .artmeta .wp-block-post-author__name{font-size:14px; font-weight:700; color:var(--ink); margin:0; line-height:1.2;}
/* Circular avatar for the core Post Author block wherever it appears (byline + author box). */
.wp-block-post-author__avatar img{border-radius:50%; display:block; object-fit:cover;}
.lede-figure,.b3-article .wp-block-post-featured-image{margin:0 0 30px;}
.lede-figure img,.b3-article > .wp-block-post-featured-image img{width:100%; height:auto; display:block;}
.lede-figure figcaption{font-size:13px; color:var(--muted); line-height:1.4; border-left:2px solid var(--rule-strong); padding-left:12px; margin-top:10px;}

/* article body typography (applied to core post content) */
.b3-body,.b3-article .wp-block-post-content{font-family:var(--serif); font-size:19px; line-height:1.65; color:#2c2f35;}
.b3-body p,.b3-article .wp-block-post-content p{margin:0 0 24px;}
.b3-article .wp-block-post-content > p:first-of-type::first-letter{font-family:var(--display); font-weight:800; font-size:62px; line-height:.8; float:left; padding:6px 12px 0 0; color:var(--accent);}
.b3-body h2,.b3-article .wp-block-post-content h2{font-family:var(--display); font-weight:800; font-size:28px; line-height:1.12; letter-spacing:-.01em; margin:38px 0 16px; color:var(--ink);}
.b3-body blockquote,.b3-article .wp-block-post-content blockquote,
.b3-article .wp-block-post-content .wp-block-quote{margin:30px 0; padding:6px 0 6px 26px; border-left:3px solid var(--accent); font-family:var(--display); font-weight:700; font-size:25px; line-height:1.28; color:var(--ink); font-style:normal;}
.b3-body figure,.b3-article .wp-block-post-content figure{margin:30px 0;}
.b3-body figure figcaption,.b3-article .wp-block-post-content figcaption{font-size:13px; color:var(--muted); margin-top:9px;}
/* Responsive video/embeds in article body (covers raw/legacy <iframe> too, not
 * just core Embed blocks). Never overflow; on mobile fill the column width and
 * let the intrinsic width/height attrs keep the aspect ratio via height:auto. */
.b3-article iframe{max-width:100%;}
.b3-body a,.b3-article .wp-block-post-content a{color:var(--blue); border-bottom:1px solid var(--blue-border); transition:.15s;}
.b3-body a:hover,.b3-article .wp-block-post-content a:hover{border-color:var(--blue);}

/* tags */
.b3-tags,.b3-article .wp-block-post-terms.is-tags{display:flex; flex-wrap:wrap; gap:9px; margin:34px 0 0; padding-top:28px; border-top:1px solid var(--rule);}
.b3-tags a{font-size:12.5px; font-weight:600; letter-spacing:.02em; color:var(--ink-soft); border:1px solid var(--rule-strong); padding:7px 14px; border-radius:99px; transition:.15s;}
.b3-tags a:hover{border-color:var(--accent); color:var(--accent);}

/* author box */
.author-box{display:flex; gap:18px; align-items:flex-start; background:var(--paper-2); padding:24px 26px; margin-top:30px;}
.author-box .ab-av{width:56px; height:56px; border-radius:50%; background:var(--accent); color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--display); font-weight:800; font-size:22px; flex:0 0 auto;}
.author-box .ab-body h4{font-family:var(--display); font-weight:700; font-size:20px; margin:0 0 6px;}
.author-box .ab-body p{font-size:14.5px; color:var(--ink-soft); line-height:1.5; margin:0;}

/* related */
.b3-related{margin-top:54px;}
.b3-related .sec-head{margin-bottom:26px;}
.related-grid{display:flex; gap:30px; flex-wrap:wrap;}
.related-grid .wp-block-post-template{display:flex; gap:30px; flex-wrap:wrap; margin:0; padding:0; list-style:none; width:100%;}
.related-grid .wp-block-post-template > li{flex:1 1 0; min-width:0;}
.related-grid .wp-block-post-template > li{margin-block-start:0;}
.related-grid .wp-block-post-featured-image img{width:100%; height:170px; object-fit:cover; margin-bottom:13px; transition:transform .4s ease;}
.related-grid .wp-block-post-template > li:hover .wp-block-post-featured-image img{transform:scale(1.04);}
.related-grid .wp-block-post-title{font-family:var(--serif); font-weight:700; font-size:18px; line-height:1.22; margin:0;}
.related-grid .wp-block-post-title a:hover{color:var(--accent);}

/* in-content ad band */
.ad-lead{width:100%; min-height:120px; margin:8px 0 30px; display:flex; align-items:center; justify-content:center; text-align:center; padding:24px; background:var(--paper-2); border:2px dashed var(--accent);}
.ad-lead .lab{font-family:var(--display); font-weight:800; font-size:24px; color:var(--ink); letter-spacing:-.01em;}

/* ===== Static content pages (prose) ===== */
.prose{font-family:var(--serif); font-size:18px; line-height:1.65; color:#2c2f35; max-width:42em;}
.prose p{margin:0 0 22px;}
.prose > p:first-of-type{font-size:21px; line-height:1.5; color:var(--ink-soft);}
.prose h2{font-family:var(--display); font-weight:800; font-size:27px; line-height:1.12; letter-spacing:-.01em; margin:36px 0 14px; color:var(--ink);}
.prose a{color:var(--blue); border-bottom:1px solid var(--blue-border); transition:.15s;}
.prose a:hover{border-color:var(--blue);}
.prose ul{margin:0 0 22px; padding-left:1.15em;}
.prose li{margin-bottom:9px;}

.values{display:flex; gap:28px; margin:34px 0 8px; flex-wrap:wrap;}
.values .val{flex:1 1 0; min-width:0; border-top:2px solid var(--accent); padding-top:16px;}
.values .val h4{font-family:var(--display); font-weight:700; font-size:20px; margin:0 0 8px;}
.values .val p{font-family:var(--sans); font-size:14.5px; color:var(--ink-soft); line-height:1.5; margin:0;}

.stats{display:flex; gap:46px; margin:6px 0 32px; flex-wrap:wrap;}
.stats .st .n{font-family:var(--display); font-weight:800; font-size:42px; line-height:1; color:var(--accent);}
.stats .st .l{font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); font-weight:600; margin-top:9px;}

.impressum{max-width:48em;}
.imp-row{display:flex; gap:24px; padding:18px 2px; border-bottom:1px solid var(--rule);}
.imp-row:first-child{border-top:1px solid var(--rule);}
.imp-row dt{flex:0 0 210px; font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); font-weight:700; margin:3px 0 0;}
.imp-row dd{flex:1 1 0; min-width:0; margin:0; font-family:var(--serif); font-size:17px; color:var(--ink); line-height:1.55;}
.imp-row dd a{color:var(--blue); border-bottom:1px solid var(--blue-border);}

.contact-wrap{display:flex; gap:50px; align-items:flex-start; flex-wrap:wrap;}
.contact-form{flex:1 1 360px; min-width:0;}
.contact-info{flex:1 1 250px; min-width:0;}
.b3-field{margin-bottom:18px;}
.b3-field label{display:block; font-size:12px; letter-spacing:.07em; text-transform:uppercase; color:var(--muted); font-weight:700; margin-bottom:8px;}
.b3-field input,.b3-field textarea{width:100%; border:1px solid var(--rule-strong); background:var(--paper); font-family:var(--sans); font-size:15px; padding:12px 14px; outline:none; color:var(--ink); transition:border-color .15s;}
.b3-field input:focus,.b3-field textarea:focus{border-color:var(--accent);}
.b3-field textarea{min-height:158px; resize:vertical;}
.info-block{margin-bottom:24px;}
.info-block h4{font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); font-weight:700; margin:0 0 8px;}
.info-block p{font-family:var(--serif); font-size:17px; color:var(--ink); line-height:1.5; margin:0;}
.info-block a{color:var(--blue); border-bottom:1px solid var(--blue-border);}
.contact-form .b3-submit{margin-top:6px; background:var(--ink); color:#fff; border:1.5px solid var(--ink); font-family:var(--sans); font-weight:700; font-size:12.5px; letter-spacing:.09em; text-transform:uppercase; padding:14px 26px; cursor:pointer; transition:background .15s, border-color .15s, color .15s;}
.contact-form .b3-submit:hover{background:var(--accent); border-color:var(--accent); color:#fff;}
/* Contact form fields as authored in the standalone design (.field / .sent). */
.field{margin-bottom:18px;}
.field label{display:block; font-size:12px; letter-spacing:.07em; text-transform:uppercase; color:var(--muted); font-weight:700; margin-bottom:8px;}
.field input,.field textarea{width:100%; border:1px solid var(--rule-strong); background:var(--paper); font-family:var(--sans); font-size:15px; padding:12px 14px; outline:none; color:var(--ink); transition:border-color .15s;}
.field input:focus,.field textarea:focus{border-color:var(--accent);}
.field textarea{min-height:158px; resize:vertical;}
.contact-form button{background:var(--ink); color:#fff; border:none; font-family:var(--sans); font-weight:700; font-size:13px; letter-spacing:.08em; text-transform:uppercase; padding:14px 30px; cursor:pointer; transition:background .15s;}
.contact-form button:hover{background:var(--accent);}
.contact-form .sent{display:none; margin-top:16px; color:var(--blue-deep); font-size:14px; font-weight:600;}

/* ===== Search overlay ===== */
.search-overlay{position:fixed; inset:0; background:rgba(20,17,12,.4); backdrop-filter:blur(3px); z-index:60; display:none; align-items:flex-start; justify-content:center;}
.search-overlay.open{display:flex;}
.search-panel{background:var(--paper); width:100%; max-width:760px; margin-top:14vh; padding:40px; box-shadow:0 30px 80px rgba(0,0,0,.3);}
.search-panel label{font-size:11.5px; letter-spacing:.13em; text-transform:uppercase; color:var(--muted); font-weight:700;}
.search-panel input[type=search]{width:100%; border:none; border-bottom:2px solid var(--ink); background:none; font-family:var(--display); font-size:34px; padding:14px 0; outline:none; color:var(--ink);}

/* ===== Responsive ===== */
@media(max-width:1080px){
  .hero-grid{flex-direction:column;}
  .hero-grid>.hero-main,.hero-grid>.sidebar{flex:1 1 auto; width:100%;}
  .hero-top{flex-direction:column;}
  .hero-top>.lead{order:-1; width:100%; max-width:100%; border-left:none; margin-left:0; padding-left:0;}
  .sidebar{flex-direction:row; flex-wrap:wrap; gap:22px;}
  .sidebar>*{flex:1 1 calc(50% - 11px); min-width:0;}
  .sidebar>.newsletter,.sidebar>.trending{flex-basis:100%;}
  .page-grid{flex-direction:column;}
  .page-grid>.page-main,.page-grid>.sidebar{flex:1 1 auto; width:100%;}
  .page-grid>.sidebar{flex-direction:row; flex-wrap:wrap; gap:22px;}
  .page-grid>.sidebar>*{flex:1 1 calc(50% - 11px);}
}
@media(max-width:1040px){
  /* Collapse to the hamburger earlier than WP's 600px default. Show the toggle
     AND hide the inline menu, otherwise both render at once (tablet widths). The
     open overlay (.is-menu-open) is untouched so the modal still shows. */
  .b3-nav .wp-block-navigation__responsive-container-open{display:flex;}
  .b3-nav .wp-block-navigation__responsive-container:not(.is-menu-open){display:none !important;}
}
@media(max-width:820px){
  .wrap,.b3-wrap{padding-inline:20px;}
  .vid-grid,.card4,.related-grid .wp-block-post-template{flex-wrap:wrap;}
  .vid-grid>.vid,.card4>.tcard{flex:1 1 40%;}
  .vid-grid-4>.vid{flex:0 0 calc(50% - 15px); max-width:none;}
  .foot-grid{flex-wrap:wrap;}
  .foot-grid>.foot-brand,.foot-grid>.foot-col{flex:1 1 40%;}
  .galposts>.gpost{flex:0 0 calc(50% - 15px);}
  .promo-split,.promo-split.reverse{flex-direction:column; gap:26px;}
  .promo-banner,.promo-split.reverse .promo-banner{flex-basis:auto; max-width:none;}
  .balkon-grid>.bk{flex-basis:100%;}
  .cat-feature{flex-direction:column; gap:18px;}
  .cat-feature .cf-img{flex-basis:auto; max-width:none;}
  .cat-row,.cat-list .wp-block-post-template > li{flex-direction:column; gap:14px;}
  .cr-img,.cat-list .wp-block-post-featured-image{flex-basis:auto;}
  .cr-img img,.cat-list .wp-block-post-featured-image img{width:100%; height:288px;}
  /* First-post highlight: stack full-width like the rest, just a touch taller. */
  .cat-list .wp-block-post-template > li:first-child{gap:14px;}
  .cat-list .wp-block-post-template > li:first-child .wp-block-post-featured-image{flex-basis:auto;}
  .cat-list .wp-block-post-template > li:first-child .wp-block-post-featured-image img{width:100% !important; height:240px !important;}
  .cat-list .wp-block-post-template > li:first-child .wp-block-post-title{font-size:28px;}
}
@media(max-width:768px){
  /* Related posts: one full-width post per row instead of 3 shrunk into a row. */
  .related-grid .wp-block-post-template > li{flex-basis:100% !important;}
  /* Hide the utility bar entirely on mobile (links live in the nav/footer). */
  .util{display:none;}
  /* Article embeds fill the column and keep aspect ratio on mobile. */
  .b3-article iframe{width:100%; height:auto;}
  /* Unified mobile featured-image height: every post image renders 288px tall
     on mobile (Tasks #1 / #4 / #6). Kept in this single 768px block so the
     value is set once per selector, no conflicting duplicate breakpoints.
     (.cr-img / .cat-list images are already set to 288px in the 820px block.) */
  .related-grid .wp-block-post-featured-image img{height:288px;}
  .gallery-grid .wp-block-post-featured-image img{height:288px;}
  .vid .frame,
  .b3-dark .vid .frame{height:288px;}
  .videos-grid .wp-block-post-featured-image img{height:288px;}
  /* Promo-list images stay their thumbnail size here; they only go full-width
     at <=560px (below), where 288px is applied so they aren't tall & narrow. */
}
@media(max-width:560px){
  .vid-grid>.vid,.card4>.tcard,.sidebar>*{flex-basis:100% !important;}
  .vid-grid-4>.vid{flex:0 0 100%;}
  .galposts>.gpost{flex:0 0 100%;}
  .lead h2{font-size:34px;}
  /* Hero (lead) slider on mobile: shorter image, tighter headline/dek and
     full-width arrows so a single slide fits the phone without scrolling. */
  .lead-slider .wp-block-post-featured-image img{height:240px; margin-bottom:14px;}
  .lead-slider .wp-block-post-title{font-size:28px; margin-bottom:12px;}
  .lead-slider .wp-block-post-excerpt{font-size:15.5px; margin-bottom:14px;}
  .lead-slider .lead-foot{flex-wrap:wrap; gap:12px;}
  .lead-nav{justify-content:center; gap:14px; margin-top:14px;}
  .lead-arrow{width:52px; height:52px;}
  .foot-grid>.foot-brand,.foot-grid>.foot-col{flex-basis:100%;}
  .prow{flex-direction:column; align-items:flex-start; gap:12px;}
  .prow-img,.prow img{flex-basis:auto; width:100%; height:190px;}
  .values .val{flex:1 1 100%;}
  .imp-row{flex-direction:column; gap:6px;}
  .imp-row dt{flex-basis:auto;}
}

/* =========================================================================
   Homepage Query-Loop grids — maps core Query/Post-Template markup onto the
   editorial card grids. Grids are driven here (not by block layout) so the
   design stays exact and responsive.
   ========================================================================= */

/* generic: strip list chrome from every homepage post-template */
.hero-main .wp-block-post-template,
.videos-grid .wp-block-post-template,
.travel-grid .wp-block-post-template,
.gallery-grid .wp-block-post-template,
.promo-list .wp-block-post-template,
.trending .wp-block-post-template{list-style:none; margin:0; padding:0;}

/* --- Top stories (left rail) --- */
.toplist .wp-block-query{margin:0;}
.toplist .wp-block-post-template > li{display:block; padding:18px 0; border-bottom:1px solid var(--rule);}
.toplist .wp-block-post-template > li:last-child{border-bottom:none;}
.toplist .wp-block-post-terms{margin-bottom:8px;}
.toplist .wp-block-post-title{font-family:var(--serif); font-weight:700; font-size:21px; line-height:1.18; margin:0 0 9px; letter-spacing:-.005em;}
.toplist .wp-block-post-title a:hover{color:var(--accent);}
.toplist .wp-block-post-date{font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); font-weight:600;}

/* --- Lead slider (Query Loop as track) --- */
.lead-slider .wp-block-query{margin:0;}
.lead-slider .wp-block-post-template{display:flex; flex-wrap:nowrap; transition:transform .5s cubic-bezier(.4,0,.2,1); margin:0; padding:0; list-style:none;}
.lead-slider .wp-block-post-template > li{flex:0 0 100%; min-width:0; margin:0;}
.lead-slider .wp-block-post-featured-image img{width:100%; height:350px; object-fit:cover; margin-bottom:18px;}
.lead-slider .wp-block-post-terms{margin-bottom:14px;}
.lead-slider .wp-block-post-title{font-family:var(--display); font-weight:800; font-size:clamp(32px,3.65vw,48px); line-height:1.04; letter-spacing:-.015em; margin:0 0 18px; text-transform:none;}
.lead-slider .wp-block-post-title a:hover{color:var(--accent-deep);}
.lead-slider .wp-block-post-excerpt{font-family:var(--sans); font-size:18px; line-height:1.5; color:var(--ink-soft); margin:0 0 18px; max-width:30em;}
.lead-slider .wp-block-post-excerpt p{margin:0;}
.lead-slider .lead-foot{display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:6px;}
.lead-slider .lead-foot .wp-block-post-date{font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); font-weight:600;}
.lead-slider .readmore,.lead-slider .wp-block-read-more{display:inline-flex; align-items:center; gap:8px; font-family:var(--sans); font-weight:700; font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--ink); border:1.5px solid var(--ink); padding:11px 20px; transition:background .15s,color .15s,border-color .15s; text-decoration:none;}
.lead-slider .readmore:hover,.lead-slider .wp-block-read-more:hover{background:var(--accent); border-color:var(--accent); color:#fff;}

/* --- На Балкон grid (2 columns) --- */
.balkon-grid .wp-block-query{margin:0;}
.balkon-grid .wp-block-post-template{display:grid; grid-template-columns:1fr 1fr; gap:32px; list-style:none; margin:0; padding:0;}
.balkon-grid .wp-block-post-template > li{margin:0; min-width:0;}
.balkon-grid .wp-block-post-featured-image img{width:100%; height:300px; object-fit:cover; margin-bottom:14px;}
.balkon-grid .wp-block-post-terms{margin-bottom:9px;}
.balkon-grid .wp-block-post-title{font-family:var(--serif); font-weight:700; font-size:20px; line-height:1.2; letter-spacing:-.005em; margin:0; text-transform:none;}
.balkon-grid .wp-block-post-title a:hover{color:var(--accent);}
.balkon-grid .wp-block-post-excerpt{font-size:15px; line-height:1.5; color:var(--ink-soft); margin:9px 0 0;}
.balkon-grid .wp-block-post-excerpt p{margin:0;}

/* --- Videos (dark, 4 columns) with play overlay --- */
.videos-grid .wp-block-query{margin:0;}
.videos-grid .wp-block-post-template{display:grid; grid-template-columns:repeat(4,1fr); gap:30px; list-style:none; margin:0; padding:0;}
.videos-grid .wp-block-post-template > li{margin:0; min-width:0;}
.videos-grid .wp-block-post-featured-image{position:relative; overflow:hidden; margin-bottom:13px;}
.videos-grid .wp-block-post-featured-image img{width:100%; height:158px; object-fit:cover; transition:transform .4s ease;}
.videos-grid .wp-block-post-template > li:hover .wp-block-post-featured-image img{transform:scale(1.05);}
.videos-grid .wp-block-post-featured-image::after{content:""; position:absolute; top:50%; left:50%; width:52px; height:52px; transform:translate(-50%,-50%); border-radius:50%; background:rgba(255,255,255,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%2315171b'%3E%3Cpolygon points='8,5 19,12 8,19'/%3E%3C/svg%3E") no-repeat center; background-size:18px; pointer-events:none;}
.videos-grid .wp-block-post-title{font-family:var(--serif); font-weight:700; font-size:17px; line-height:1.2; margin:0; color:#f3efe7;}
.videos-grid .wp-block-post-title a:hover{color:#fff;}

/* --- Travel & Locations (4 columns) --- */
.travel-grid .wp-block-query{margin:0;}
.travel-grid .wp-block-post-template{display:grid; grid-template-columns:repeat(4,1fr); gap:30px; list-style:none; margin:0; padding:0;}
.travel-grid .wp-block-post-template > li{margin:0; min-width:0;}
.travel-grid .wp-block-post-featured-image img{width:100%; height:240px; object-fit:cover; margin-bottom:14px;}
.travel-grid .wp-block-post-terms{margin-bottom:9px;}
.travel-grid .wp-block-post-title{font-family:var(--serif); font-weight:700; font-size:21px; line-height:1.16; margin:0; letter-spacing:-.005em;}
.travel-grid .wp-block-post-title a:hover{color:var(--accent);}

/* --- Gallery (4 columns) --- */
.gallery-grid .wp-block-query{margin:0;}
.gallery-grid .wp-block-post-template{display:grid; grid-template-columns:repeat(4,1fr); gap:30px; list-style:none; margin:0; padding:0;}
.gallery-grid .wp-block-post-template > li{margin:0; min-width:0;}
.gallery-grid .wp-block-post-featured-image{overflow:hidden; margin-bottom:13px;}
.gallery-grid .wp-block-post-featured-image img{width:100%; height:210px; object-fit:cover; transition:transform .45s ease;}
.gallery-grid .wp-block-post-template > li:hover .wp-block-post-featured-image img{transform:scale(1.05);}
.gallery-grid .wp-block-post-title{font-family:var(--serif); font-weight:700; font-size:18px; line-height:1.22; margin:0; text-transform:none;}
.gallery-grid .wp-block-post-title a:hover{color:var(--accent);}

/* --- Promo list rows --- */
.promo-list .wp-block-post-template{display:flex; flex-direction:column; list-style:none; margin:0; padding:0;}
.promo-list .wp-block-post-template > li{display:flex; gap:22px; align-items:center; padding:22px 0; border-bottom:1px solid var(--rule); margin:0;}
.promo-list .wp-block-post-template > li:first-child{padding-top:0;}
.promo-list .wp-block-post-template > li:last-child{border-bottom:none; padding-bottom:0;}
.promo-list .wp-block-post-featured-image{flex:0 0 168px; width:168px;}
.promo-list .wp-block-post-featured-image img{width:168px; height:118px; object-fit:cover;}
.promo-list .prow-b{flex:1 1 0; min-width:0;}
.promo-list .prow-b .wp-block-post-date{font-family:var(--sans); font-weight:700; font-size:12px; letter-spacing:.13em; text-transform:uppercase; color:var(--kicker); margin-bottom:9px;}
.promo-list .prow-b .wp-block-post-title{font-family:var(--serif); font-weight:700; font-size:20px; line-height:1.2; letter-spacing:-.005em; margin:0; text-transform:none;}
.promo-list .prow-b .wp-block-post-title a:hover{color:var(--accent);}
.promo-list .prow-b .wp-block-post-excerpt{font-size:14.5px; color:var(--ink-soft); line-height:1.5; margin:9px 0 0; max-width:42em;}
.promo-list .prow-b .wp-block-post-excerpt p{margin:0;}

/* promo banner placeholder when no image chosen yet */
.promo-banner .wp-block-image{margin:0;}
.promo-banner img{width:100%; height:auto; display:block;}
.promo-banner .wp-block-image:not(:has(img[src])){min-height:260px; background:var(--paper-2); border:2px dashed var(--rule-strong); border-radius:2px;}

/* homepage grid responsiveness */
@media(max-width:1080px){
  .balkon-grid .wp-block-post-template{grid-template-columns:1fr 1fr;}
}
@media(max-width:820px){
  .videos-grid .wp-block-post-template,
  .travel-grid .wp-block-post-template,
  .gallery-grid .wp-block-post-template{grid-template-columns:1fr 1fr;}
}
@media(max-width:560px){
  .balkon-grid .wp-block-post-template,
  .videos-grid .wp-block-post-template,
  .travel-grid .wp-block-post-template,
  .gallery-grid .wp-block-post-template{grid-template-columns:1fr;}
  .promo-list .wp-block-post-template > li{flex-direction:column; align-items:flex-start; gap:12px;}
  .promo-list .wp-block-post-featured-image,.promo-list .wp-block-post-featured-image img{flex-basis:auto; width:100%; height:288px;}
}

/* Collapse featured-image containers that have no <img> (posts with no
   thumbnail). Broken image URLs are hidden at runtime by theme.js. */
.wp-block-post-featured-image:not(:has(img)){display:none;}

/* Collapse AdSense slots that get no ad (data-ad-status="unfilled"), so an empty
   ad reserves no space (e.g. the 280px gap under the header on pages with no ad
   served). Filled ads keep data-ad-status="filled" and are unaffected. */
ins.adsbygoogle[data-ad-status="unfilled"]{display:none !important;}
