/* ============================================================
   UTAZÁSKERESÖ — GLOBÁLIS DESIGN RENDSZER
   prototype.css — priority 9999 — felülír mindent
   ============================================================ */

/* ── 1. DESIGN TOKENEK ─────────────────────────────────────── */
:root {
  --bg:           #FAF7F2;
  --bg-soft:      #F2EDE4;
  --bg-card:      #FFFFFF;
  --ink:          #1B1814;
  --ink-soft:     #5C544A;
  --ink-mute:     #8A8076;
  --border:       #E8E1D4;
  --border-soft:  #F0EAE0;

  --primary:      #1F4A3D;
  --primary-hover:#163528;
  --primary-soft: #E8F0EC;

  --accent:       #E25A3C;
  --accent-hover: #C9472C;
  --accent-soft:  #FBE5DC;

  --gold:         #C9954A;

  --font-display: 'Instrument Serif', 'Times New Roman', serif;
  --font-body:    'Manrope', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   22px;
  --r-xl:   32px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(28,24,20,.04), 0 1px 3px rgba(28,24,20,.04);
  --shadow-md: 0 4px 14px rgba(28,24,20,.06), 0 1px 3px rgba(28,24,20,.04);
  --shadow-lg: 0 20px 50px rgba(28,24,20,.12), 0 6px 18px rgba(28,24,20,.06);

  --max-w:  1280px;
  --gutter: 32px;
}

/* ── 2. GLOBÁLIS LISTEO RESET ──────────────────────────────── */

/* 2a. Linkek aláhúzása KI — Listeo <a>{text-decoration:underline} semlegesítés */
a, a:hover, a:focus, a:active,
.listing-item a, .listing-item a:hover,
.listing-item-container a, .listing-item-container a:hover,
.blog-card a, .blog-card a:hover,
.uf-card a, .uf-card a:hover,
.uk-card-link, .uk-card-link:hover,
.uk-blog-card a, .uk-blog-card a:hover,
.exp-card, .exp-card:hover,
.exp-card *, .uk-card *, .blog-card * {
  text-decoration: none !important;
}

/* 2b. Lista bullet-ok eltávolítása nav / header területeken */
header ul, header ol,
#uk-site-header ul, #uk-site-header ol,
.site-header ul, .site-header ol,
.nav-main ul, .nav-main ol,
.mobile-menu-nav ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}

/* 2c. Tipográfia — globális kényszer Manrope-ra */
body,
body button,
body input,
body select,
body textarea,
body .btn,
body .button,
body .nav-main a,
body .mobile-menu-nav a {
  font-family: var(--font-body) !important;
}

h1, h2, h3,
.uk-h1, .uk-h2, .uk-h3,
.uk-card-title,
.uk-blog-card h3 {
  font-family: var(--font-display) !important;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.eyebrow, .uk-eyebrow, .badge-mono,
.uk-card-price-from,
.uk-blog-card-meta {
  font-family: var(--font-mono) !important;
}

/* 2d. Listeo primary color reset — gombok zöldre */
body .button,
body a.button,
body input[type="submit"],
body button[type="submit"],
body .panel-apply,
body #backtotop a {
  background-color: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
}
body .button:hover,
body a.button:hover {
  background-color: var(--primary-hover) !important;
}

/* 2e. Logo link — soha nem aláhúzott, saját szín */
.logo, .logo:hover, .logo:visited {
  color: var(--ink) !important;
  text-decoration: none !important;
}

/* 2f. Listeo natív header elrejtése ha custom headerünk van */
body.uk-custom-header #header-container {
  display: none !important;
}

/* 2g. Titlebar (Főoldal / breadcrumb) elrejtése a főoldalon */
body.home #titlebar {
  display: none !important;
}

/* ── 3. LISTING KÁRTYA (uk-card) ───────────────────────────── */
.uk-card {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .15s, transform .15s;
  display: flex;
  flex-direction: column;
}
.uk-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.uk-card-link,
.uk-card-link:hover,
.uk-card-link:visited {
  color: inherit !important;
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.uk-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}
.uk-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.uk-card:hover .uk-card-img img { transform: scale(1.03); }

.uk-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.uk-card-title {
  font-family: var(--font-display) !important;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
}
.uk-card:hover .uk-card-title { color: var(--primary); }

.uk-card-meta {
  font-size: 12px;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: 6px;
}
.uk-card-host {
  display: flex;
  align-items: center;
  gap: 8px;
}
.uk-card-host-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.uk-card-host-name {
  font-size: 13px;
  color: var(--ink-soft);
}
.uk-card-vibes {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.uk-vibe {
  font-family: var(--font-mono) !important;
  font-size: 10px;
  letter-spacing: .04em;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: var(--bg-soft);
  color: var(--ink-soft);
}
.uk-card-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--border-soft);
  margin-top: auto;
}
.uk-card-price-from {
  font-family: var(--font-mono) !important;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: lowercase;
  color: var(--ink-mute);
}
.uk-card-price-value {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--font-body) !important;
}

/* ── 4. BLOG KÁRTYA (uk-blog-card) ────────────────────────── */
.uk-blog-card {
  background: transparent;
  text-decoration: none !important;
  color: var(--ink);
  display: block;
}
.uk-blog-card:hover { color: var(--ink); }
.uk-blog-card a,
.uk-blog-card a:hover { text-decoration: none !important; color: inherit !important; }

.uk-blog-card-img {
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--bg-soft);
}
.uk-blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.uk-blog-card:hover .uk-blog-card-img img { transform: scale(1.03); }

.uk-blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono) !important;
  font-size: 11px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.uk-blog-card-tag {
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: var(--primary-soft);
  color: var(--primary);
}
.uk-blog-card h3 {
  font-family: var(--font-display) !important;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 10px;
  color: var(--ink);
}
.uk-blog-card:hover h3 { color: var(--primary); }
.uk-blog-card p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

/* ── 5. HERO KERESŐ (vízszintes) ───────────────────────────── */
.uk-search-box {
  display: grid;
  grid-template-columns: 1.6fr 1.4fr 1fr auto;
  align-items: stretch;
  background: var(--bg-card);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-soft);
  overflow: hidden;
}
.uk-search-field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 20px;
  border-right: 1px solid var(--border-soft);
}
.uk-search-divider { display: none; }
.uk-search-label {
  font-family: var(--font-mono) !important;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 4px;
  display: block;
}
.uk-search-input {
  border: none !important;
  outline: none !important;
  background: none !important;
  font-family: var(--font-body) !important;
  font-size: 15px;
  color: var(--ink);
  width: 100%;
  padding: 0 !important;
  box-shadow: none !important;
}
.uk-search-input::placeholder { color: var(--ink-mute); }
.uk-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  background: var(--primary) !important;
  color: #fff !important;
  border: none !important;
  cursor: pointer;
  font-family: var(--font-body) !important;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .15s;
}
.uk-search-btn:hover { background: var(--primary-hover) !important; }

@media (max-width: 760px) {
  .uk-search-box {
    grid-template-columns: 1fr;
    border-radius: var(--r-lg);
  }
  .uk-search-field { border-right: none; border-bottom: 1px solid var(--border-soft); }
  .uk-search-btn { margin: 8px 10px 10px; padding: 14px; border-radius: var(--r-md); }
}

/* ── 6. SZERVEZŐ-BOX STAT-OK ───────────────────────────────── */
.uk-org-stats,
.organizer-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.uk-org-stat,
.organizer-stat {
  background: rgba(255,255,255,.15);
  border-radius: var(--r-md);
  padding: 20px 22px;
  backdrop-filter: blur(4px);
}
.uk-org-stat-num,
.organizer-stat-val {
  font-family: var(--font-display) !important;
  font-size: 36px;
  line-height: 1;
  color: #fff;
  margin-bottom: 6px;
}
.uk-org-stat-label,
.organizer-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  font-family: var(--font-body) !important;
}

/* ── 7. ÚTI CÉLOK — leírás clamp ───────────────────────────── */
.uc-card-desc,
.uk-dest-card-desc,
.uc-dest-tagline {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: normal;
  overflow-wrap: break-word;
  white-space: normal;
}

/* ── 8. MAGAZIN KÁRTYÁK (blog-card meglévő + uk-blog-card) ── */
.blog-card,
.blog-card:hover {
  color: var(--ink) !important;
  text-decoration: none !important;
}
.blog-card h3,
.blog-card .blog-card-title {
  font-family: var(--font-display) !important;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 8px;
}
.blog-card:hover h3 { color: var(--primary); }

/* ── 9. HEADER FINOMÍTÁS ───────────────────────────────────── */
.site-header {
  background: rgba(250,247,242,.92) !important;
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.nav-main {
  display: flex !important;
  align-items: center;
  gap: 4px;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.nav-main a {
  font-family: var(--font-body) !important;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink) !important;
  text-decoration: none !important;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  transition: background .15s;
  display: inline-block;
}
.nav-main a:hover {
  background: var(--bg-soft) !important;
  text-decoration: none !important;
}
.logo {
  display: flex !important;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display) !important;
  font-size: 22px;
  color: var(--ink) !important;
  text-decoration: none !important;
  letter-spacing: -0.01em;
}
.logo-mark {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: var(--primary);
  border-radius: 50%;
  color: #fff;
  flex-shrink: 0;
}

/* Listeo user dropdown - „My Account" / „Logout" angol szöveg elrejtése */
.header-widget .user-name,
.user-menu .user-name {
  font-family: var(--font-body) !important;
}
/* Ha a Listeo logged_section jelenik meg (angolul), elrejti és a sajátunkat mutatja */
.header-actions .listeo-account-section {
  display: none;
}

/* ── 10. FOOTER ────────────────────────────────────────────── */
#footer a, #footer a:hover { text-decoration: none !important; }
#footer { font-family: var(--font-body) !important; }

/* ── 11. GLOBÁLIS SEGÉD OSZTÁLYOK ──────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: 64px 0; }
.section-tight { padding: 48px 0; }
.eyebrow {
  font-family: var(--font-mono) !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--r-md);
  font-family: var(--font-body) !important;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: background .15s;
}
.btn-primary { background: var(--primary) !important; color: #fff !important; }
.btn-primary:hover { background: var(--primary-hover) !important; }
.btn-accent  { background: var(--accent) !important; color: #fff !important; }
.btn-accent:hover { background: var(--accent-hover) !important; }
.btn-ghost { background: transparent !important; color: var(--ink) !important; border: 1px solid var(--border) !important; }
.btn-ghost:hover { background: var(--bg-soft) !important; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }

/* ── 12. GLOBÁLIS KONTÉNER RESET ───────────────────────────── */
/* Listeo / Bootstrap szivárgás megállítása — teljes szélesség */
html, body { width: 100%; max-width: 100vw; margin: 0; padding: 0; overflow-x: hidden; }
#wrapper, #main, #content, .site-content, .site-main, main {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
}
/* Elementor column-100 = teljes szélességű kolumna */
.elementor-column.elementor-col-100 {
  width: 100% !important;
}
/* Elementor boxed section container max-width */
.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1280px !important;
  width: 100% !important;
}
/* Sidebar elrejtése főoldalon */
.home #sidebar,
.home .widget-area,
.home aside.sidebar { display: none !important; }

/* ── 13. RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-main { display: none !important; }
  .header-actions { display: none !important; }
  .nav-burger { display: inline-flex !important; }
}
@media (max-width: 900px) {
  .container { padding: 0 20px; }
}
