
/* Schválené rozložení Soumarského rašeliniště pro ostatní výlety. */
#app[data-tf-template="soumarske-vzor"] .detail-layout{grid-template-columns:minmax(0,1fr)}
#app[data-tf-template="soumarske-vzor"] .detail-layout > div{min-width:0;width:100%}
@media (min-width: 1440px){#app[data-tf-template="soumarske-vzor"] .detail-prose.review-full{width:100%;max-width:none}}

#app[data-tf-template="soumarske-vzor"] .tf-trip-hero{margin:0 0 28px}
#app[data-tf-template="soumarske-vzor"] .tf-trip-hero a{display:block;overflow:hidden;border-radius:18px;box-shadow:0 8px 26px #1424191a}
#app[data-tf-template="soumarske-vzor"] .tf-trip-hero img{display:block;width:100%;max-height:520px;aspect-ratio:16/9;object-fit:cover}
#app[data-tf-template="soumarske-vzor"] .detail-gallery-first{margin-top:20px}
#app[data-tf-template="soumarske-vzor"] .tf-trip-video{aspect-ratio:16/9;width:100%;overflow:hidden;border-radius:14px;background:#121717}
#app[data-tf-template="soumarske-vzor"] .tf-trip-video iframe{display:block;width:100%;height:100%;border:0}
#app[data-tf-template="soumarske-vzor"] .tf-club-section{overflow:hidden;background:#172e29;color:#fff;border-radius:18px;padding:26px;margin-top:36px}
#app[data-tf-template="soumarske-vzor"] .tf-club-head h2{font-size:clamp(22px,3vw,29px);margin:8px 0 9px;line-height:1.2}
#app[data-tf-template="soumarske-vzor"] .tf-club-head p{margin:0 0 19px;color:#d2ded9;line-height:1.65;max-width:780px}
#app[data-tf-template="soumarske-vzor"] .tf-club-label{display:inline-block;font-size:15px;font-weight:900;letter-spacing:.04em;color:#f9ffe9;background:#36674b;border:2px solid #cce7a5;border-radius:12px;padding:10px 15px;box-shadow:0 3px 14px #0003}
#app[data-tf-template="soumarske-vzor"] .tf-club-options{display:grid;gap:10px}
#app[data-tf-template="soumarske-vzor"] .tf-club-option{display:flex;gap:13px;align-items:center;background:#fff0;border:1px solid #6d897b;border-radius:12px;padding:14px}
#app[data-tf-template="soumarske-vzor"] .tf-club-option>span:first-child{font-size:24px;min-width:30px;text-align:center}
#app[data-tf-template="soumarske-vzor"] .tf-club-option>div{flex:1}
#app[data-tf-template="soumarske-vzor"] .tf-club-option strong{display:block}
#app[data-tf-template="soumarske-vzor"] .tf-club-option p{font-size:13px;color:#d0e1d8;line-height:1.45;margin:5px 0 0}
#app[data-tf-template="soumarske-vzor"] .tf-club-locked{font-size:11px;font-weight:800;color:#dceec4;white-space:nowrap}
#app[data-tf-template="soumarske-vzor"] .tf-club-status{font-size:14px;color:#e0f5ce;margin:19px 0 0}
#app[data-tf-template="soumarske-vzor"] .tf-club-status a,#app[data-tf-template="soumarske-vzor"] .tf-club-explain{color:#f0ffb9;text-decoration:underline;text-underline-offset:3px;font-weight:750}
#app[data-tf-template="soumarske-vzor"] .tf-club-status a:hover,#app[data-tf-template="soumarske-vzor"] .tf-club-explain:hover{color:#fff}
#app[data-tf-template="soumarske-vzor"] .tf-nearby-empty{grid-column:1/-1;color:#667773}
#app[data-tf-template="soumarske-vzor"] .tf-nearby-controls{display:flex;gap:12px;justify-content:flex-end;margin-top:15px}
#app[data-tf-template="soumarske-vzor"] .tf-nearby-controls[hidden]{display:none}
#app[data-tf-template="soumarske-vzor"] .tf-nearby-controls button{width:42px;height:42px;border-radius:50%;font-size:22px;color:#18392b;background:#e7f1e3;border:1px solid #b9cfb1;cursor:pointer}
#app[data-tf-template="soumarske-vzor"] .tf-nearby-controls button:hover{background:#cee0c4}
@media(min-width:701px) and (max-width:950px){#app[data-tf-template="soumarske-vzor"] .tf-nearby-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
#app[data-tf-template="soumarske-vzor"] .tf-related-compact{padding-top:28px}
#app[data-tf-template="soumarske-vzor"] .tf-nearby-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
#app[data-tf-template="soumarske-vzor"] .tf-nearby-tile{display:block;position:relative;aspect-ratio:4/3;border-radius:13px;overflow:hidden;background:#d6e0d5;box-shadow:0 5px 17px #10231c10}
#app[data-tf-template="soumarske-vzor"] .tf-nearby-tile img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s}
#app[data-tf-template="soumarske-vzor"] .tf-nearby-tile:hover img{transform:scale(1.045)}
#app[data-tf-template="soumarske-vzor"] .tf-nearby-tile strong{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#061713dd);color:white;font-size:14px;padding:34px 12px 12px;text-shadow:0 1px 2px #0005}
#app[data-tf-template="soumarske-vzor"] .tf-play-mark{font-size:12px;margin-right:4px}
@media(max-width:700px){#app[data-tf-template="soumarske-vzor"] .tf-nearby-tiles{grid-template-columns:minmax(0,1fr);gap:10px}#app[data-tf-template="soumarske-vzor"] .tf-club-section{padding:19px}#app[data-tf-template="soumarske-vzor"] .tf-club-option{flex-wrap:wrap}#app[data-tf-template="soumarske-vzor"] .tf-club-locked{margin-left:auto}#app[data-tf-template="soumarske-vzor"] .tf-nearby-tile strong{font-size:12px;padding:24px 9px 9px}}


/* Po třech dlaždicích na PC, po dvou na tabletu, po jedné na mobilu. */
@media (min-width:701px) and (max-width:950px){#app[data-tf-template="soumarske-vzor"] .tf-nearby-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Sdílený vzhled detailu: osobní ubytování používá shodné rozložení jako výlety, bez grafických karet. */
#app[data-tf-template="stay-vzor"] .detail-layout{grid-template-columns:minmax(0,1fr)}
#app[data-tf-template="stay-vzor"] .detail-layout>div{min-width:0;width:100%}
#app[data-tf-template="stay-vzor"] .tf-trip-hero{margin:0 0 28px}
#app[data-tf-template="stay-vzor"] .tf-trip-hero a{display:block;overflow:hidden;border-radius:18px;box-shadow:0 8px 26px #1424191a}
#app[data-tf-template="stay-vzor"] .tf-trip-hero img{display:block;width:100%;max-height:520px;aspect-ratio:16/9;object-fit:cover}
#app[data-tf-template="stay-vzor"] .detail-gallery-first{margin-top:20px}
#app[data-tf-template="stay-vzor"] .detail-prose.review-full{max-width:none}

/* Sjednocené proklikávací fotografie dalších tipů u ubytování, bez dalšího načítání databáze. */
#app[data-tf-template="stay-vzor"] .tf-related-compact{padding-top:28px}
#app[data-tf-template="stay-vzor"] .tf-nearby-tiles{display:grid;grid-template-columns:minmax(0,1fr);gap:22px}
#app[data-tf-template="stay-vzor"] .tf-nearby-tile{display:block;position:relative;width:100%;aspect-ratio:16/9;max-height:550px;border-radius:17px;overflow:hidden;background:#d6e0d5;box-shadow:0 8px 24px #10231c20}
#app[data-tf-template="stay-vzor"] .tf-nearby-tile img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s}
#app[data-tf-template="stay-vzor"] .tf-nearby-tile:hover img{transform:scale(1.045)}
#app[data-tf-template="stay-vzor"] .tf-nearby-tile strong{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#061713ea);color:white;font-size:clamp(16px,2.1vw,24px);padding:70px 25px 22px;text-shadow:0 1px 3px #0008}
#app[data-tf-template="stay-vzor"] .tf-nearby-empty{grid-column:1/-1;color:#667773}
@media(min-width:701px) and (max-width:950px){#app[data-tf-template="stay-vzor"] .tf-nearby-tiles{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){#app[data-tf-template="stay-vzor"] .tf-nearby-tiles{grid-template-columns:minmax(0,1fr);gap:15px}#app[data-tf-template="stay-vzor"] .tf-nearby-tile strong{font-size:16px;padding:44px 14px 14px}}

/* Schválená univerzální šablona: plaketou se liší jen ubytování hodnocené 1. */
#app[data-tf-template="stay-vzor"] .tf-approved-gold-plaque{display:inline-flex;align-items:center;gap:12px;margin:12px 0 8px;padding:7px 15px 7px 7px;border:1px solid #e0c77e;background:#fff9e7;border-radius:16px;color:#6b4910;font-size:15px;font-weight:850}
#app[data-tf-template="stay-vzor"] .tf-approved-gold-plaque img{display:block;width:94px;height:94px;object-fit:contain}
#app[data-tf-template="stay-vzor"] .tf-stay-no-photo{display:grid;place-items:center;min-height:200px;border:1px dashed #becfc1;background:#f1f6ef;border-radius:18px;color:#546f57;font-weight:700;padding:25px;text-align:center}
#app[data-tf-template="stay-vzor"] .tf-stay-reservation-actions{display:flex;flex-wrap:wrap;gap:10px}
#app[data-tf-template="stay-vzor"] .tf-stay-reservation-actions a{white-space:normal}
#app[data-tf-template="stay-vzor"] .tf-stay-intro{margin-bottom:22px}
#app[data-tf-template="stay-vzor"] .tf-stay-intro h3{margin:0 0 14px;font-size:18px;color:#1d3827}
#app[data-tf-template="stay-vzor"] .tf-nearby-pending{display:grid;align-items:end;padding:12px;background:linear-gradient(135deg,#29402e,#506f51);min-height:130px}
#app[data-tf-template="stay-vzor"] .tf-nearby-pending strong{position:static;background:none;padding:0}
@media(max-width:700px){#app[data-tf-template="stay-vzor"] .tf-approved-gold-plaque{gap:8px;font-size:12px}#app[data-tf-template="stay-vzor"] .tf-approved-gold-plaque img{width:70px;height:70px}}

/* Jeden společný rezervační blok pro všechna ubytování; kontakty Chebského dvora nezaniknou. */
#app[data-tf-template="stay-vzor"] .tf-stay-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 18px;margin:20px 0}
#app[data-tf-template="stay-vzor"] .tf-stay-contact-grid>div{padding:12px 14px;background:#f3f8f0;border:1px solid #dae7d7;border-radius:11px;min-width:0}
#app[data-tf-template="stay-vzor"] .tf-stay-contact-grid small{display:block;font-weight:750;font-size:12px;color:#516c58;margin-bottom:5px}
#app[data-tf-template="stay-vzor"] .tf-stay-contact-grid a{overflow-wrap:anywhere;color:#245c2f;text-decoration:underline;font-weight:750}
#app[data-tf-template="stay-vzor"] .tf-stay-booking-note{margin-top:15px;line-height:1.65}
#app[data-tf-template="stay-vzor"] .tf-stay-summary{max-width:800px;line-height:1.65;color:#566d5b}
@media(max-width:700px){#app[data-tf-template="stay-vzor"] .tf-stay-contact-grid{grid-template-columns:minmax(0,1fr)}}

/* Video-style velké proklikávací náhledy souvisejících výletů a míst, bez malých mapových karet. */
#app[data-tf-template="stay-vzor"] .tf-nearby-tile:focus-visible{outline:4px solid #2a7b42;outline-offset:3px}
#app[data-tf-template="stay-vzor"] .tf-nearby-tile.tf-nearby-video::before{content:"▶";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1;display:grid;place-items:center;width:86px;height:60px;border-radius:18px;background:#e62323;color:white;font-size:32px;box-shadow:0 8px 28px #0007}
#app[data-tf-template="stay-vzor"] .tf-nearby-tile.tf-nearby-video:hover::before{background:#b90f0f}
#app[data-tf-template="stay-vzor"] .tf-nearby-tiles .tf-nearby-pending{min-height:260px}
@media(max-width:700px){#app[data-tf-template="stay-vzor"] .tf-nearby-tile.tf-nearby-video::before{width:60px;height:44px;font-size:23px}}

/* Jasně označený cíl doporučení; vizuálně stejná karta pro web i YouTube. */
#app[data-tf-template="stay-vzor"] .tf-nearby-tile[data-tf-destination]::after,
#app[data-tf-template="soumarske-vzor"] .tf-nearby-tile[data-tf-destination]::after{
 position:absolute;top:16px;right:16px;z-index:3;padding:7px 12px;
 border-radius:999px;background:#102920eb;color:#fff;font-size:12px;
 font-weight:800;letter-spacing:.01em;box-shadow:0 3px 13px #0005;
}
#app[data-tf-template="stay-vzor"] .tf-nearby-tile[data-tf-destination="youtube"]::after,
#app[data-tf-template="soumarske-vzor"] .tf-nearby-tile[data-tf-destination="youtube"]::after{
 content:"▶ Video na YouTube ↗";background:#b71c1cf2;
}
#app[data-tf-template="stay-vzor"] .tf-nearby-tile[data-tf-destination="detail"]::after,
#app[data-tf-template="soumarske-vzor"] .tf-nearby-tile[data-tf-destination="detail"]::after{
 content:"Detail na Tady Fóťa →";
}
@media(max-width:700px){
 #app[data-tf-template="stay-vzor"] .tf-nearby-tile[data-tf-destination]::after,
 #app[data-tf-template="soumarske-vzor"] .tf-nearby-tile[data-tf-destination]::after{
  top:10px;right:10px;font-size:11px;padding:6px 10px;
 }
}
