/* Hajozas.hu layer: loaded LAST (after wp.css). The palette itself (navy #1E2E51, logo red #E51835, --title-hover, --cs-tick) is set in styles.css :root and in the colour
   literals of the copied bringazas-2026 files; this file holds the rules that exist only on the boating site: the logo image, the menu / bottom bar details, the two-row
   provider band and the VisitBalaton365 partner band. Source of every rule: the approved artifact V21 (site/styles.css of hajozas-redesign). */

/* header logo: the real hajozas.hu logo image (assets/img/hajozas-logo.png, 720 x 140) replaces the text wordmark */
.site-head .brand{display:block;flex:none;line-height:0}
.site-head .brand img{display:block;height:58px;width:auto}
@media(max-width:599px){
  .site-head .brand img{height:clamp(30px,calc((100vw - 130px)/5.6),46px)}
  /* with the weather chip the logo gets the rest of the width (chip + search + hamburger + gaps + page padding = 220 px; the logo ratio is 5.14 : 1) */
  .site-head .head-in.has-weather .brand img{height:clamp(24px,calc((100vw - 220px)/5.14),46px)}
  .site-head .head-actions{gap:6px}
}
/* very narrow phones: chip, search and hamburger get a little smaller so the logo (24 px minimum height) fits with room to spare */
@media(max-width:359px){
  .site-head .head-weather{height:36px;padding:0 8px 0 6px;gap:3px;font-size:14px}
  .site-head .head-weather .ic{width:18px;height:18px}
  .site-head .head-actions{gap:4px}
  .site-head .icon-btn{width:36px;height:36px}
  .site-head .menu-btn{width:38px;height:38px}
}
/* top bar: active item navy without underline, hover = the red of the logo */
.site-head .nav a:hover{color:var(--accent)}

/* the heading links of the home bands (Szolgaltatok, Esemenyek) get the same red hover / focus as every title */
#szolgaltatok .head h2 a:hover,#szolgaltatok .head h2 a:focus-visible,#esemenyek .head h2 a:hover,#esemenyek .head h2 a:focus-visible{color:var(--title-hover)}

/* Szolgaltatok band: exactly TWO rows at every width that has columns (Zoltan): 8 cards = 4 + 4 from 1360 px, 3 + 3 from 900 px, 2 + 2 from 600 px; phones show the first 2 and unfold the rest with the button */
@media(min-width:900px) and (max-width:1359px){.cards-prov>.card:nth-child(n+7){display:none}}
@media(min-width:600px) and (max-width:899px){.cards-prov>.card:nth-child(n+5){display:none}}

/* Szolgaltatok band on the homepage: phones show the first two cards and a link to the list page (the fold button became a link); the heading is a link too */
@media(max-width:599px){.cards-prov>.card:nth-child(n+3){display:none}}

/* VisitBalaton365 partner band (last row of the homepage news grid, component = .partner-band above; cards = the feed-band cards; colours of the band / button / chips as in the design sample) */
.news .partner-band.partner-vb{background:#e9f2f9;box-shadow:0 0 0 100vmax #e9f2f9}
.partner-vb .partner-logo img{height:auto;width:min(230px,60vw)}
.partner-vb .partner-logo{mix-blend-mode:multiply}
/* "Osszes" link exactly as in the bringazas-2026 partner band (wp.css): right end of the band header from 980 px, below that the header link is replaced by a full-width pill under the cards */
.partner-head .partner-more{margin-left:auto}
.partner-more-bottom{display:none}
@media(max-width:979px){
  .partner-head .partner-more{display:none}
  .partner-more-bottom{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:22px;height:48px;border-radius:999px;border:1.5px solid var(--blue);background:#fff;color:var(--blue);font-weight:800;font-size:15px}
  .partner-more-bottom:hover{background:var(--blue-tint)}
}
.partner-vb .fd-pill{background:var(--pb,#fff);box-shadow:none}
@media(max-width:599px){.partner-vb .partner-logo img{height:auto;width:min(200px,55vw)}}

/* phone bottom bar: every label on ONE line (Zoltan TG 2981; vertical centring: TG 2984, next block). The five items are as wide as their labels (the long "Hirdess nálunk" gets the room the short ones do not need), spread evenly; all items have the same height, so the icons share one line. */
@media(max-width:599px){
  .bottom-nav{grid-template-columns:repeat(5,auto);justify-content:space-between;padding-inline:14px}
  .bottom-nav a span{white-space:nowrap}
}
/* all five items are alike now (no raised centre button): the icon + label block is centred vertically in the pill, equal space above and below (Zoltan TG 2984) */
@media(max-width:599px){
  .bottom-nav{align-items:center;padding-block:10px}
  .bottom-nav a{padding:0}
}
@media(max-width:359px){
  .bottom-nav{padding-inline:10px}
}


/* menu items with an icon (class ico-<name> on the WordPress menu item, see inc/nav-walker.php): the icon is for the phone / tablet menu and the expandable panel, the top bar shows text only */
.nav-bar .nav-link .ic{display:none}
.mp-nav .nav-link .ic,.site-head .nav-pop .nav-link .ic{color:var(--blue);flex:none}
.mp-nav .nav-link:hover .ic,.mp-nav .nav-link.is-current .ic{color:inherit}

/* list pages (providers, events): the finder look of the approved artifact: 280 px filter column, soft grey chips with a solid navy chosen state (the bringazas tour finder look of wp.css is
   outlined chips on a 320 px column); the phone dialog / pill behaviour of wp.css stays as it is */
@media(min-width:980px){.finder{grid-template-columns:280px minmax(0,1fr);gap:clamp(24px,2.6vw,40px)}}
.finder-filter{border-radius:18px;padding:clamp(16px,1.8vw,22px)}
.finder-filter h2{font-size:20px}
.finder-filter .ff-label,.finder-filter legend{font-size:15px;font-weight:800;letter-spacing:0;text-transform:none;color:var(--ink)}
.finder-filter input[type=search]{border:1.5px solid var(--line);border-radius:12px}
.finder-filter .ff-opt span{border:0;background:#f1f4fa;min-height:36px;height:36px;padding:0 14px;font-size:14.5px;color:var(--ink)}
.finder-filter .ff-opt small{font-size:12px;font-weight:700;color:var(--ink-soft)}
.finder-filter .ff-opt input:checked + span{background:var(--blue);color:#fff;border:0}
.finder-filter .ff-opt input:checked + span small{color:#dbe6f7}
.fr-count{margin:0 0 16px;font-weight:700;color:var(--ink-soft)}
.fr-count b{color:var(--ink)}
/* phone / tablet menu: icon and label side by side like the panel items of the artifact */
@media(max-width:1099px){
  .site-head .nav .nav-link{display:flex;align-items:center;gap:14px}
  .site-head .nav .nav-link .ic{width:24px;height:24px}
}

/* [lenyithato_blokk] collapsible blocks inside articles (hajozas-core content-compat.php): native <details>, the summary is the title */
.lenyithato_blokk{margin:1.6em 0;border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}
.lenyithato_blokk .block_item+.block_item{border-top:1px solid var(--line)}
.lenyithato_blokk .block_title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;font-weight:800;font-size:17px;cursor:pointer;list-style:none;color:var(--ink)}
.lenyithato_blokk .block_title::-webkit-details-marker{display:none}
.lenyithato_blokk .block_title::after{content:"";flex:none;width:10px;height:10px;border:solid var(--blue);border-width:0 2.5px 2.5px 0;transform:rotate(45deg) translateY(-2px);transition:transform .18s}
.lenyithato_blokk .block_item[open]>.block_title::after{transform:rotate(-135deg) translateY(-2px)}
.lenyithato_blokk .block_title:hover{color:var(--title-hover)}
.lenyithato_blokk .block_title:focus-visible{outline:3px solid var(--blue-tint);outline-offset:-3px}
.lenyithato_blokk .block_content{padding:0 18px 16px}
@media(prefers-reduced-motion:reduce){.lenyithato_blokk .block_title::after{transition:none}}
