/* 3.9.351 – Hegységek gyűjtőoldala, „A közelben”, főoldali „Hová mennél?” csempék */

.tkhub{margin:22px 0 10px;padding-left:0!important;padding-right:0!important}
.tkhub-empty{padding:28px;border:1px dashed #cfdde3;border-radius:16px;color:#59677b}

/* Fülek */
.tkhub-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.tkhub-tabs button{display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 14px;border:1px solid #e6e8ec;border-radius:12px;background:#f4f6f8;color:#20343f;font:500 14px Poppins,sans-serif;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.tkhub-tabs button b{font-weight:600;color:#59677b}
.tkhub-tabs button:hover{background:#eef4f7;border-color:#c9dbe2;color:#006887}
.tkhub-tabs button[aria-selected="true"]{background:#fff;border-color:#b7d2dc;color:#00566f;font-weight:600;box-shadow:0 1px 3px rgba(23,58,74,.12)}
.tkhub-tabs button[aria-selected="true"] b{color:#00566f}

/* Kártyarács – ugyanaz a rács és kártya, mint a túralistán */
.tkhub-item[hidden]{display:none!important}
.tkhub-card .tk-tour-result-card__media{position:relative}
.tkhub-kind{position:absolute;top:10px;left:10px;z-index:2;box-shadow:0 1px 4px rgba(0,0,0,.18);padding:5px 11px;border-radius:999px;font:600 11.5px Poppins,sans-serif;color:#fff;background:#0c3b48}
.tkhub-kind--taj{background:#6f8a35}
.tkhub-stats{display:flex!important;flex-wrap:wrap;gap:6px 16px!important;grid-template-columns:none!important}
.tkhub-stats span{display:inline-flex!important;align-items:center;gap:6px;flex-direction:row!important}
.tkhub-stats span::before,.tkhub-stats span::after{content:none!important;display:none!important}
.tkhub-stats svg{width:16px;height:16px;flex:none;fill:none;stroke:#2a6481;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.tkhub-stats small{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.tkhub-stats strong{white-space:nowrap;font:600 13.5px Poppins,sans-serif!important;color:#20343f}
body.dark .tkhub-stats strong{color:#d4dee8}
body.dark .tkhub-stats svg{stroke:#80c9db}

/* Kép nélkül */
.tkhub-noimg{display:grid;place-items:center;width:100%;height:100%;min-height:100%;background:#2a6481;color:rgba(255,255,255,.55)}
.tkhub-noimg svg{width:44px;height:44px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}

/* „A közelben” – a hegységoldal alján */
.tkhub-near{margin:34px 0 8px;padding:20px 22px;border:1px solid #e2ebef;border-radius:20px;background:#fff}
.tkhub-near__head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:14px}
.tkhub-near__head h2{margin:0!important;font:700 20px/1.3 Poppins,sans-serif!important;color:#12303b!important}
.tkhub-near__head a{font:600 13.5px Poppins,sans-serif;color:#006887;text-decoration:none;white-space:nowrap}
.tkhub-near__head a:hover{text-decoration:underline}
.tkhub-near__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.tkhub-near__card{display:flex;align-items:center;gap:12px;padding:8px;border:1px solid #e2ebef;border-radius:14px;color:#12303b;text-decoration:none;transition:border-color .15s,box-shadow .15s,transform .15s}
.tkhub-near__card:hover{border-color:#b7d2dc;box-shadow:0 6px 18px rgba(23,58,74,.1);transform:translateY(-1px)}
.tkhub-near__img{width:62px;height:62px;flex:none;border-radius:10px;overflow:hidden}
.tkhub-near__img img{width:100%;height:100%;object-fit:cover;display:block}
.tkhub-near__img .tkhub-noimg svg{width:26px;height:26px}
.tkhub-near__txt{display:flex;flex-direction:column;min-width:0}
.tkhub-near__txt strong{font:600 15px/1.3 Poppins,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tkhub-near__txt small{font-size:12.5px;color:#59677b}
@media (max-width:991px){.tkhub-near__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:480px){.tkhub-near{padding:16px}.tkhub-near__grid{grid-template-columns:1fr}}

/* Főoldal: „Hová mennél?” – a főoldal többi blokkjának dobozában (tk-modern-tour-listing).
   1 nagy + 6 kicsi csempe; mobilon oldalra pöccinthető. */
.tkhub-home__grid{display:grid;grid-template-columns:1.45fr 1fr 1fr 1fr;grid-template-rows:210px 210px;gap:22px}
.tkhub-home .tkhub-tile{position:relative;display:block;border-radius:var(--tk-radius-card,20px);overflow:hidden;background:#2a6481;color:#fff!important;text-decoration:none!important;isolation:isolate;box-shadow:0 10px 30px rgba(18,48,59,.08);transition:transform .25s ease,box-shadow .25s ease}
.tkhub-home .tkhub-tile.is-big{grid-row:span 2}
.tkhub-home .tkhub-tile img,.tkhub-home .tkhub-tile .tkhub-noimg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.tkhub-home .tkhub-tile::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,30,38,0) 42%,rgba(8,30,38,.8) 100%);z-index:1;transition:background .25s ease}
.tkhub-home .tkhub-tile:is(:hover,:focus-visible){transform:translateY(-3px);box-shadow:0 18px 40px rgba(18,48,59,.16);color:#fff!important}
.tkhub-home .tkhub-tile:is(:hover,:focus-visible) img{transform:scale(1.05)}
.tkhub-home .tkhub-tile:is(:hover,:focus-visible)::after{background:linear-gradient(180deg,rgba(8,30,38,.05) 30%,rgba(8,30,38,.85) 100%)}
.tkhub-home .tkhub-tile:focus-visible{outline:3px solid #9ed14b;outline-offset:3px}
.tkhub-home .tkhub-tile__txt{position:absolute;left:20px;right:20px;bottom:18px;z-index:2;display:flex;flex-direction:column;gap:2px}
.tkhub-home .tkhub-tile__txt,.tkhub-home .tkhub-tile__txt *{color:#fff!important;text-decoration:none!important}
.tkhub-home .tkhub-tile__txt strong{font:700 20px/1.2 Poppins,sans-serif;letter-spacing:-.01em;text-shadow:0 1px 8px rgba(0,0,0,.3)}
.tkhub-home .tkhub-tile.is-big .tkhub-tile__txt strong{font-size:32px;letter-spacing:-.03em}
.tkhub-home .tkhub-tile__txt small{font:500 13.5px Poppins,sans-serif;opacity:.92}
.tkhub-home .tkhub-tile__txt em{display:inline-block;width:max-content;margin-bottom:6px;padding:5px 11px;border-radius:999px;background:#9ed14b;color:#0f2a33!important;font:700 11.5px Poppins,sans-serif;font-style:normal;letter-spacing:.02em}
.tkhub-home .tkhub-home__grid>.tkhub-tile:nth-child(n+8){display:none}
@media (max-width:991px){
 .tkhub-home__grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px;padding:4px 2px 10px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 .tkhub-home__grid::-webkit-scrollbar{display:none}
 .tkhub-home .tkhub-tile{flex:0 0 62%;height:250px;scroll-snap-align:start}
 .tkhub-home .tkhub-tile.is-big{flex-basis:78%}
 .tkhub-home .tkhub-home__grid>.tkhub-tile:nth-child(n+8){display:block}
 .tkhub-home .tkhub-tile:is(:hover,:focus-visible){transform:none}
}
@media (max-width:480px){.tkhub-home .tkhub-tile{flex-basis:72%;height:230px}.tkhub-home .tkhub-tile.is-big{flex-basis:84%}.tkhub-home .tkhub-tile.is-big .tkhub-tile__txt strong{font-size:25px}}
@media (prefers-reduced-motion:reduce){.tkhub-tile img,.tkhub-near__card{transition:none}}

/* Sötét mód */
body.dark .tkhub-tabs button{background:#12303a;border-color:#38505b;color:#d4dee8}
body.dark .tkhub-tabs button b{color:#b9c6d5}
body.dark .tkhub-tabs button:hover{background:#153b48;color:#80c9db}
body.dark .tkhub-tabs button[aria-selected="true"]{background:#173741;color:#80c9db;box-shadow:none}
body.dark .tkhub-tabs button[aria-selected="true"] b{color:#80c9db}
body.dark .tkhub-near__head h2{color:#eef2f7!important}
body.dark .tkhub-near__head a{color:#80c9db}
body.dark .tkhub-near__card{border-color:#38505b;color:#eef2f7}
body.dark .tkhub-near__card:hover{border-color:#4f8fa3}
@media (max-width:575px){.tkhub-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-right:-16px;padding-right:16px}.tkhub-tabs::-webkit-scrollbar{display:none}.tkhub-tabs button{flex:none;height:36px;padding:0 12px;font-size:13.5px}}
.tkhub-card .tk-tour-result-card__media .tkhub-noimg{min-height:190px}

/* 3.9.357 – a csempe sarkainál látszó vékony sötét szegély (a petrol háttér kilátszott a lekerekítésnél,
   hoverkor a nagyítás közben villant). A háttér átlátszó, a vágás clip-path-szel történik, a kép saját rétegen. */
.tkhub-home .tkhub-tile{background:transparent!important;overflow:hidden;clip-path:inset(0 round var(--tk-radius-card,20px));-webkit-mask-image:-webkit-radial-gradient(white,black);backface-visibility:hidden;transform:translateZ(0)}
.tkhub-home .tkhub-tile:is(:hover,:focus-visible){transform:translate3d(0,-3px,0)}
.tkhub-home .tkhub-tile img{border-radius:inherit;backface-visibility:hidden;will-change:transform}
.tkhub-home .tkhub-tile .tkhub-noimg{background:#2a6481}

/* 3.9.358 – a hover-sötétítés finoman úszik be (a színátmenet nem animálható, ezért egy külön réteg átlátszósága változik) */
.tkhub-home .tkhub-tile:is(:hover,:focus-visible)::after{background:linear-gradient(180deg,rgba(8,30,38,0) 42%,rgba(8,30,38,.8) 100%)!important}
.tkhub-home .tkhub-tile::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(8,30,38,.08) 20%,rgba(8,30,38,.55) 100%);opacity:0;transition:opacity .45s ease}
.tkhub-home .tkhub-tile:is(:hover,:focus-visible)::before{opacity:1}
.tkhub-home .tkhub-tile{transition:transform .35s ease,box-shadow .35s ease!important}
.tkhub-home .tkhub-tile img{transition:transform .7s cubic-bezier(.2,.7,.2,1)!important}
@media (prefers-reduced-motion:reduce){.tkhub-home .tkhub-tile::before,.tkhub-home .tkhub-tile,.tkhub-home .tkhub-tile img{transition:none!important}}
