/* Tavern – Custom CSS a Freewebstore-hoz (Design → Theme Editor → Design → Custom CSS, Startup csomagtól).
   Minden szabály a .tv dobozra vonatkozik, amibe az oldalak tartalma kerül (freewebstore/oldalak/*.html),
   így a választott témától függetlenül ugyanúgy néz ki, és a téma többi részét nem bántja.
   A színek és méretek az eredeti oldaléval egyeznek (app/home.module.css). */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;800&family=Manrope:wght@400;600&display=swap');

.tv {
  --bg: #111111; --surface: #1a1715; --surface2: #241f1b; --surface3: #2e2722; --field: #3b2327;
  --ink: #ecebe8; --muted: #b3aaa1; --gold: #d9ac4f; --gold2: #e7c070; --on-gold: #111111;
  --small: 15px; --body: clamp(17px, 16px + 0.2vw, 18px); --lead: clamp(20px, 18px + 0.45vw, 24px);
  --h3: clamp(24px, 20px + 0.6vw, 30px); --head: clamp(36px, 24px + 3vw, 72px);
  --m: clamp(16px, 3vw, 48px); --r: 28px; --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --serif: 'Cinzel', Georgia, serif;
  background: var(--bg); color: var(--ink); font-family: 'Manrope', system-ui, sans-serif; font-size: var(--body); line-height: 1.55;
  padding: clamp(48px, 7vw, 120px) var(--m); border-radius: var(--r);
  display: flex; flex-direction: column; gap: clamp(64px, 8vw, 140px);
  overflow: hidden;
}
.tv *, .tv *::before, .tv *::after { box-sizing: border-box; }
.tv p, .tv figure, .tv ul, .tv h1, .tv h2, .tv h3 { margin: 0; }
.tv img { display: block; max-width: 100%; height: auto; }
.tv a { color: inherit; text-underline-offset: 0.2em; }
.tv a:focus-visible, .tv summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Címek és bevezetők */
.tv-sec { display: flex; flex-direction: column; gap: 40px; }
.tv-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.tv-h1, .tv-h2 { font-family: var(--serif); font-weight: 800; line-height: 1.02; letter-spacing: -0.01em; color: var(--ink); }
.tv-h1 { font-size: clamp(42px, 26px + 4.4vw, 96px); line-height: 1; }
.tv-h2 { font-size: var(--head); max-width: 18ch; }
.tv-h3 { font-family: var(--serif); font-weight: 800; font-size: var(--h3); line-height: 1.15; color: var(--gold); }
.tv-lead { font-size: var(--lead); color: var(--muted); max-width: 46ch; line-height: 1.45; }
.tv-muted { color: var(--muted); }
.tv-small { font-size: var(--small); }
.tv-sign { width: min(100%, 1100px); margin: 0 auto; }

/* Gombok */
.tv-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 28px; }
.tv-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; border-radius: 999px; background: var(--gold); color: var(--on-gold) !important; font-weight: 600; text-decoration: none !important; transition: transform 200ms var(--ease), background-color 200ms; }
.tv-btn:hover { background: var(--gold2); transform: scale(1.03); }
.tv-btn-ghost { background: var(--surface2); color: var(--ink) !important; }
.tv-btn-ghost:hover { background: var(--surface3); }
.tv-link { font-weight: 600; color: var(--gold) !important; text-decoration: none; }
.tv-link:hover { color: var(--gold2) !important; text-decoration: underline; }

/* Kép + szöveg kártya (kiemelt esemény, megérkezett, rólunk) */
.tv-card { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; border-radius: var(--r); overflow: hidden; background: var(--surface); text-decoration: none !important; }
.tv-card-warm { background: var(--field); }
.tv-card-pic img { width: 100%; height: 100%; object-fit: cover; }
.tv-card-text { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: clamp(24px, 3vw, 48px); }
.tv-card-text p { font-size: var(--lead); color: var(--muted); line-height: 1.45; }

/* Boltok csempéi */
.tv-tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.tv-tile { grid-column: span 6; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: clamp(24px, 3vw, 44px); border-radius: var(--r); background: var(--surface); }
.tv-tile-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 28px; align-items: center; }
.tv-tile-warm { background: var(--field); }
.tv-tile-text { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.tv-tile-name { font-family: var(--serif); font-weight: 800; font-size: clamp(30px, 22px + 1.4vw, 48px); line-height: 1.05; margin-bottom: 6px !important; color: var(--ink); }
.tv-tile-address { font-weight: 600; }
.tv-tile-map { border-radius: 20px; overflow: hidden; }
.tv-hours { list-style: none; padding: 0; margin: 6px 0 8px !important; display: grid; grid-template-columns: auto auto; gap: 2px 18px; font-size: var(--small); color: var(--muted); font-variant-numeric: tabular-nums; }
.tv-hours li { display: contents; }

/* Közösség: három kép, eltérő szélességgel */
.tv-gallery { display: flex; gap: 12px; height: min(70vh, 720px); min-height: 420px; }
.tv-gallery figure { position: relative; flex: 2 1 0; border-radius: var(--r); overflow: hidden; transition: flex-grow 600ms var(--ease); }
.tv-gallery figure:nth-child(1) { flex-grow: 4; }
.tv-gallery figure:nth-child(3) { flex-grow: 3; }
.tv-gallery figure:hover { flex-grow: 5; }
.tv-gallery img { width: 100%; height: 100%; object-fit: cover; }
.tv-gallery figcaption, .tv-badge { position: absolute; left: 16px; bottom: 16px; font-size: var(--small); background: rgba(17, 17, 17, 0.78); padding: 6px 14px; border-radius: 999px; }
.tv-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Kezdőknek */
.tv-welcome { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.tv-welcome-pic { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; max-height: 80vh; }
.tv-welcome-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.tv-welcome-pic figcaption { position: absolute; left: 16px; top: 16px; font-size: var(--small); background: rgba(17, 17, 17, 0.78); padding: 6px 12px; border-radius: 999px; }
.tv-welcome-text { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.tv-points { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.tv-points b { color: var(--gold); font-weight: 600; }
.tv-faq { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.tv-faq details { border-radius: 20px; background: var(--surface); padding: 4px 22px; transition: background-color 200ms; }
.tv-faq details[open] { background: var(--surface2); }
.tv-faq summary { list-style: none; cursor: pointer; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-weight: 600; }
.tv-faq summary::-webkit-details-marker { display: none; }
.tv-faq summary::after { content: ''; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform 250ms var(--ease); flex: none; }
.tv-faq details[open] summary::after { transform: rotate(225deg); }
.tv-faq p { padding: 0 0 18px; color: var(--muted); max-width: 52ch; }

/* Telefon */
@media (max-width: 900px) {
  .tv { border-radius: 0; }
  .tv-head { align-items: flex-start; text-align: left; }
  .tv-head.tv-center { align-items: center; text-align: center; }
  .tv-card, .tv-welcome { grid-template-columns: 1fr; }
  .tv-tiles { display: flex; flex-direction: column; }
  .tv-tile-wide { display: flex; flex-direction: column; align-items: flex-start; }
  .tv-gallery { flex-direction: column; height: auto; }
  .tv-gallery figure { flex: none !important; height: min(56vh, 520px); }
}
@media (prefers-reduced-motion: reduce) {
  .tv-btn, .tv-gallery figure, .tv-faq summary::after { transition: none; }
}