/* FISHING.HU lake pages (single-horgaszto.php, archive-horgaszto.php, card-horgaszto.php). Loaded after wp.css; builds on the tour page look (tura.css: .t-hero, .t-data, .t-stat, .t-ic). */

/* list page title: same look as the section headings */
.head h1.h-list-title{font-size:clamp(26px,2.7vw,40px);font-weight:800;line-height:1.12;margin-top:4px;max-width:30ch}
.h-finder .finder-count{margin-bottom:12px}

/* card: stats row with the lake icons */
.card .h-stats{margin-top:2px}
.card .h-stats .ic{color:var(--blue)}

/* hero: photo + map, one of them alone fills the row */
.horgaszto .t-hero.h-hero-one{grid-template-columns:minmax(0,1fr)}
.horgaszto .t-hero.h-hero-one .t-cover{aspect-ratio:16/9;min-height:0}
@media(min-width:900px){.horgaszto .t-hero.h-hero-one .t-cover{aspect-ratio:21/9}}
.horgaszto .t-mapbox{gap:12px}
.h-map{position:relative;isolation:isolate;aspect-ratio:5/4;min-height:300px;background:var(--blue-tint);line-height:1.4}
@media(min-width:900px){.horgaszto .t-hero:not(.h-hero-one) .h-map{flex:1 1 auto;aspect-ratio:auto;min-height:340px}.horgaszto .t-hero:not(.h-hero-one) .t-mapbox{display:flex}}
.h-map .h-leaflet{position:absolute;inset:0;z-index:0}
.h-map-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--blue-dark);font-weight:800;font-size:17px;text-decoration:none}
.h-map-fallback .ic{width:30px;height:30px;color:var(--blue)}
.h-map-fallback span{display:flex;flex-direction:column;line-height:1.25}
.h-map-fallback small{font-size:12.5px;font-weight:600;color:var(--ink-soft)}
.h-map.has-leaflet .h-map-fallback{display:none}
.h-map .bz-tip{background:#fff;border:0;border-radius:8px;box-shadow:0 1px 5px rgba(0,0,0,.3);color:var(--ink);font:700 13px/1.2 Poppins,Inter,sans-serif;padding:3px 8px}

/* data boxes: own grid (the tour layout counts its boxes, the number here varies) */
.horgaszto .h-data h2,.horgaszto .h-services h2,.horgaszto .h-box h2{font-size:clamp(20px,1.8vw,26px);line-height:1.2;font-weight:800;margin:0 0 clamp(12px,1.4vw,18px)}
.h-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media(min-width:620px){.h-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}
@media(min-width:1100px){.h-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}}
.h-grid .t-stat,.h-grid .t-stat:last-child,.h-grid .t-feat,.h-grid .t-feat:last-child:nth-child(odd){grid-column:auto;padding:14px 14px 15px;gap:5px}
.h-grid .t-val{white-space:normal;line-height:1.15}
.h-grid .t-val b{font-size:clamp(24px,2.1vw,32px)}
.h-grid .t-val.t-txt b{font-size:clamp(17px,1.5vw,20px);line-height:1.2;display:block}
.h-grid .t-val small{font-size:14px}
.h-grid .h-fishbox{grid-column:1 / -1;flex-direction:column;align-items:flex-start;gap:8px}
.h-fishbox .t-lab{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-soft)}

/* services */
.h-services{margin-top:clamp(22px,2.4vw,32px)}
.h-svc-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
@media(min-width:620px){.h-svc-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1100px){.h-svc-list{grid-template-columns:repeat(4,minmax(0,1fr))}}
.h-svc-list li{display:flex;align-items:center;gap:12px;min-width:0;padding:10px 14px 10px 10px;border:1px solid var(--line);border-radius:14px;background:#fff;font-weight:600;font-size:15.5px;line-height:1.25}
.h-svc-ic{flex:none;width:40px;height:40px;border-radius:50%;background:var(--blue-tint);color:var(--blue);display:grid;place-items:center}
.h-svc-ic .ic{width:22px;height:22px}

/* info boxes: prices, opening hours, rules, contact */
.h-info{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin-top:clamp(24px,2.8vw,40px)}
@media(min-width:860px){.h-info{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}}
.h-box{padding:clamp(18px,2vw,26px);border-radius:20px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);min-width:0}
.horgaszto .h-box h2{display:flex;align-items:center;gap:10px}
.horgaszto .h-box h2 .ic{width:26px;height:26px;color:var(--blue);flex:none}
.h-text{margin:0;font-size:16px;line-height:1.65;color:#26334d}
.h-ptable{width:100%;border-collapse:collapse;font-size:16px}
.h-ptable th,.h-ptable td{padding:10px 0;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.h-ptable tr:last-child th,.h-ptable tr:last-child td{border-bottom:0}
.h-ptable th{font-weight:600;color:#26334d;padding-right:16px}
.h-ptable td{text-align:right;font-weight:800;white-space:nowrap;color:var(--blue-dark)}
.h-contact ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.h-contact li{display:flex;align-items:flex-start;gap:12px;font-size:16px;line-height:1.4;word-break:break-word}
.h-contact li .ic{width:22px;height:22px;flex:none;margin-top:1px;color:var(--blue)}
.h-contact a{font-weight:700;color:var(--blue-dark)}
.h-contact a:hover{color:var(--blue);text-decoration:underline}
.h-checked{margin:clamp(18px,2vw,26px) 0 0;font-size:13.5px;line-height:1.55;color:var(--ink-soft)}
.h-src{display:block;margin-top:4px;word-break:break-all}

/* space between the article and the nearby-lakes heading */
.horgaszto + .head{margin-top:clamp(36px,4.5vw,64px)}

/* map without a photo: a wide, not a tall box */
.horgaszto .t-hero.h-hero-one .h-map{aspect-ratio:16/9;min-height:280px}
@media(min-width:900px){.horgaszto .t-hero.h-hero-one .h-map{aspect-ratio:21/8;min-height:320px}}

/* ======== home bands: Horgaszhelyek, Horgaszboltok (4 columns on desktop, 2 on phones, same compact cards as the home tours band) ======== */
.h-band .cards-more{display:flex;align-items:center;justify-content:center;gap:8px;width:fit-content;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}
.h-band .cards-more:hover{background:var(--blue-tint)}
.h-band .cards-more .ic{transition:transform .2s}
.h-band .cards-more:hover .ic{transform:translateX(3px)}
@media(max-width:599px){
  .h-band .cards-more{width:100%}
  .h-band .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .h-band .card{border-radius:16px}
  .h-band .card-body{padding:11px 11px 12px;gap:6px}
  .h-band .card-label{font-size:11.5px}
  .h-band .card-title{font-size:15.5px;line-height:1.25;overflow-wrap:anywhere}
  .h-band .card-loc{font-size:13px}
  .h-band .stats{gap:4px 9px;font-size:12.5px}
  .h-band .stats .ic{width:1.15em;height:1.15em}
  .h-band .stats li[title="Napijegy"],.h-band .stats li.h-hours{display:none}
  .h-band .card-foot{flex-direction:column;align-items:stretch;gap:8px;padding-top:10px;font-size:13px}
  .h-band .card-foot .cta{justify-content:center;font-size:13px;padding:7px 10px}
  .h-band .fav{width:32px;height:32px;top:8px;right:8px}
  .h-band .fav .ic{width:17px;height:17px}
}
@media(min-width:600px) and (max-width:1099px){.h-band .cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1100px){.h-band .cards{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1100px) and (max-width:1359px){
  .h-band .card-title{font-size:18.5px}
  .h-band .card-foot{flex-direction:column;align-items:stretch;gap:8px}
  .h-band .card-foot .cta{justify-content:center}
}
.h-band .card-body>.stats{margin-top:auto}
.h-band .card-body>.card-foot{margin-top:0}

/* shop cards: product icons in the stats row */
.card .h-stats li.h-more b{font-size:13px;color:var(--ink-soft)}
.card .h-stats li.h-hours b{font-weight:600;font-size:13.5px;color:var(--ink-soft)}

/* ticket button (field h_jegy_url): the big neon green call to action */
.h-ticket{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 26px;border-radius:999px;background:var(--accent);color:var(--on-accent);font-weight:800;font-size:17px;box-shadow:0 8px 20px rgba(var(--accent-rgb),.5);transition:background .15s,transform .15s}
.h-ticket:hover{background:var(--accent-dark);transform:translateY(-1px);text-decoration:none}
.h-ticket:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.h-ticket .ic{width:24px;height:24px}
.h-ticket-box{display:flex;width:100%;margin:0 0 14px}
/* card: small ticket button next to the details button */
.card-foot.has-ticket{gap:8px}
.card .h-cta-ticket .ic{width:16px;height:16px}
.card .cta.h-ghost{background:transparent;color:var(--blue);box-shadow:inset 0 0 0 1.5px var(--blue)}
.card .cta.h-ghost:hover{background:var(--blue-tint)}
.card-foot.has-ticket .h-cta-ticket{margin-right:auto}
@media(max-width:599px){.card-foot.has-ticket{flex-direction:column;align-items:stretch}.card-foot.has-ticket .cta{justify-content:center}.card-foot.has-ticket .h-cta-ticket{margin-right:0}}
@media(min-width:1100px) and (max-width:1359px){.card-foot.has-ticket{flex-direction:column;align-items:stretch}.card-foot.has-ticket .cta{justify-content:center}.card-foot.has-ticket .h-cta-ticket{margin-right:0}}

/* price table: a long price text wraps instead of widening the page */
.h-ptable{table-layout:auto;max-width:100%}
.h-ptable td{white-space:normal;overflow-wrap:anywhere;word-break:break-word;min-width:5.5em;max-width:55%}
.h-ptable th{overflow-wrap:anywhere}
/* data boxes: a long text (opening hours, town, phone) is cut after 2 lines, the full text sits in its own box below */
.h-grid .t-val.t-txt b{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
.h-ptable th{width:45%}
@media(max-width:599px){
  /* phone: ticket name above the price, so a long price text never squeezes the name */
  .h-ptable,.h-ptable tbody{display:block}
  .h-ptable tr{display:block;padding:10px 0;border-bottom:1px solid var(--line)}
  .h-ptable tr:last-child{border-bottom:0}
  .h-ptable th,.h-ptable td{display:block;width:auto;max-width:none;min-width:0;padding:0;border:0;text-align:left}
  .h-ptable td{margin-top:3px;font-size:17px}
}
