/*
Theme Name: BotosaniLife
Theme URI: https://botosanilife.ro
Author: RBT Media
Author URI: https://rbtmedia.ro
Description: Tema proprie BotosaniLife (agenda și ghidul orașului). Datele vin din pluginul RBT City Platform. Paleta Heritage: bleumarin, auriu, crem.
Version: 1.0.0
Requires PHP: 8.0
Text Domain: botosanilife
*/

/* =========================================================
   Tokeni
   ========================================================= */
:root {
    --ink: #14213d;
    --ink-2: #1c2c50;
    --ink-3: #0e1830;
    --gold: #c9a227;
    --gold-dark: #8a6d12;
    --gold-soft: #e9d9a6;
    --cream: #f7f3ec;
    --line: #e6dfd1;
    --text: #1d1b18;
    --muted: #6b665d;
    --ok: #2f7d4f;
    --bad: #b3261e;
    --radius: 14px;
    --shadow: 0 6px 24px rgba(20, 33, 61, .08);
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --wrap: 1200px;
    /* aliasuri pentru conținutul vechi (pagini scrise cu --rbt-*) */
    --rbt-ink: var(--ink); --rbt-ink-2: var(--ink-2); --rbt-gold: var(--gold); --rbt-gold-soft: var(--gold-soft);
    --rbt-cream: var(--cream); --rbt-line: var(--line); --rbt-text: var(--text); --rbt-muted: var(--muted);
}

/* =========================================================
   Bază
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font: 16px/1.6 var(--sans); color: var(--text); background: #fff; overflow-x: hidden; }
img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(30px, 4.4vw, 48px); }
h2 { font-size: clamp(23px, 3vw, 32px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; background: #fff; padding: 10px 14px; border-radius: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 780px; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); }
.eyebrow a { color: inherit; text-decoration: none; }

/* Butoane */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: 15px; line-height: 1.1; text-decoration: none; transition: transform .15s ease, background .15s ease; background: var(--ink); color: #fff; }
.btn:hover { transform: translateY(-1px); color: #fff; background: var(--ink-3); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #d8b23a; color: var(--ink); }
.btn--line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--line-light { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); color: #fff; }
.btn--line-light:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn--small { padding: 8px 14px; font-size: 14px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; color: inherit; }
.icon-btn:hover { background: rgba(255,255,255,.12); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.link-more { font-weight: 700; text-decoration: none; white-space: nowrap; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font-size: 11px; letter-spacing: .04em; font-weight: 700; text-transform: uppercase; }
.badge--gold { background: var(--gold); color: var(--ink); }
.badge--alert { background: var(--bad); color: #fff; }
.badge--open { background: #e3f3e8; color: var(--ok); }
.badge--closed { background: #f7e4e2; color: var(--bad); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.chip { padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3); color: #fff; font-weight: 600; font-size: 14px; text-decoration: none; }
.chip:hover, .chip.is-active { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.chip--ghost { background: transparent; border-color: transparent; text-decoration: underline; text-decoration-color: var(--gold); }

/* =========================================================
   Header
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--ink); color: #fff; border-bottom: 2px solid var(--gold); }
.site-header__bar { display: flex; align-items: center; gap: 18px; min-height: 72px; transition: min-height .2s ease; }
.is-scrolled .site-header__bar { min-height: 58px; }
.site-logo { display: block; flex: 0 0 auto; }
.site-logo__img { height: 44px; width: auto; transition: height .2s ease; }
.is-scrolled .site-logo__img { height: 36px; }
.site-logo__text { font: 700 22px var(--serif); color: #fff; }
.site-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.site-nav .menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav .menu > li { position: relative; }
.site-nav .menu a { display: block; padding: 10px 12px; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 8px; }
.site-nav .menu > li > a:hover, .site-nav .current-menu-item > a { color: var(--gold-soft); }
.site-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 230px; list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: 12px; box-shadow: 0 14px 40px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease; }
.site-nav .menu > li:hover > .sub-menu, .site-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { color: var(--text); font-weight: 500; }
.site-nav .sub-menu a:hover { background: var(--cream); color: var(--ink); }
.menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); opacity: .7; }
.site-nav__cta { margin-left: 8px; padding: 9px 16px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.site-nav__cta:hover { background: #d8b23a; color: var(--ink); }
.nav-toggle { display: none; color: #fff; }
.search-toggle { color: #fff; }
.site-search { background: var(--ink-2); padding: 14px 0; }
.search-form { display: flex; gap: 10px; }
.search-form input[type=search] { flex: 1; min-width: 0; padding: 13px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 16px; }
.search-form--inline { max-width: 560px; margin-top: 18px; }

@media (max-width: 960px) {
    .nav-toggle { display: inline-flex; }
    .site-header__bar { justify-content: space-between; gap: 8px; min-height: 60px; }
    .site-logo__img { height: 34px; }
    .site-nav { position: fixed; inset: 60px 0 0 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 12px 20px 40px; background: var(--ink); overflow-y: auto; transform: translateX(-100%); transition: transform .25s ease; }
    .nav-open .site-nav { transform: none; }
    .nav-open { overflow: hidden; }
    .site-nav .menu { flex-direction: column; align-items: stretch; }
    .site-nav .menu a { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid rgba(255,255,255,.1); border-radius: 0; }
    .site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; display: none; background: transparent; box-shadow: none; padding: 0 0 0 14px; }
    .site-nav .is-open > .sub-menu { display: block; }
    .site-nav .sub-menu a { color: rgba(255,255,255,.85); font-size: 16px; }
    .site-nav .sub-menu a:hover { background: transparent; color: var(--gold-soft); }
    .site-nav__cta { margin: 20px 0 0; text-align: center; padding: 14px; font-size: 16px; }
}

/* =========================================================
   Secțiuni generale
   ========================================================= */
.section { padding: 56px 0; }
.section--tight { padding-top: 32px; padding-bottom: 56px; }
.section--cream { background: var(--cream); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 22px; }
.section__head .eyebrow { margin-bottom: 4px; }
.section__title { margin: 0; }
.section__title--spaced { margin-top: 48px; }
.page-head { background: var(--ink); color: #fff; padding: 42px 0 38px; margin-bottom: 0; }
.page-head__title { color: #fff; margin: 0; }
.page-head__lead { color: rgba(255,255,255,.85); max-width: 720px; margin-top: 12px; font-size: 17px; }
.page-head__lead p { margin: 0 0 .5em; }
.page-head .eyebrow { color: var(--gold-soft); }
.page-head--post { padding-bottom: 32px; }
.breadcrumbs, .rank-math-breadcrumb { font-size: 13px; margin: 0 0 14px; color: rgba(255,255,255,.7); }
.breadcrumbs a, .rank-math-breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.breadcrumbs p, .rank-math-breadcrumb p { margin: 0; }
.notice { padding: 12px 16px; border-radius: 10px; background: #fff7e0; border-left: 4px solid var(--gold); color: var(--text); }
.btl-empty { padding: 18px 20px; border-radius: 12px; background: var(--cream); }

/* Conținut editorial */
.entry-content { font-size: 17px; line-height: 1.75; }
.entry-content > * { max-width: 100%; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.3em; }
.entry-content img { border-radius: 10px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content blockquote { margin: 1.4em 0; padding: 6px 0 6px 20px; border-left: 4px solid var(--gold); font-style: italic; color: var(--muted); }
.entry-content--page { padding-top: 36px; padding-bottom: 56px; }
.post-cover { margin: -18px auto 26px; }
.post-cover img { border-radius: var(--radius); width: 100%; }
.share-row { padding-bottom: 48px; }
.alignleft { float: left; margin: 0 20px 12px 0; }
.alignright { float: right; margin: 0 0 12px 20px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: 13px; color: var(--muted); }

/* =========================================================
   Carduri și grile (markup din pluginul RBT City Platform)
   ========================================================= */
.btl-grid { display: grid; gap: 22px; }
.btl-grid--events { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.btl-grid--locations { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.btl-grid--3 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.btl-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.btl-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.btl-card__media { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--ink); overflow: hidden; }
.btl-card__media--wide { aspect-ratio: 3 / 2; }
.btl-card__img { width: 100%; height: 100%; object-fit: cover; }
.btl-card__placeholder { position: absolute; inset: 0; background: linear-gradient(135deg, var(--ink), var(--ink-2)); }
.btl-card__date { position: absolute; left: 12px; top: 12px; display: flex; flex-direction: column; align-items: center; min-width: 52px; padding: 6px 8px; border-radius: 12px; background: #fff; color: var(--ink); line-height: 1.05; box-shadow: 0 4px 14px rgba(20,33,61,.2); }
.btl-card__date b { font-size: 22px; font-weight: 800; }
.btl-card__date small { font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--gold-dark); }
.btl-card__date--big { left: 16px; top: 16px; min-width: 64px; padding: 8px 10px; }
.btl-card__date--big b { font-size: 28px; }
.btl-card__flag { position: absolute; right: 12px; top: 12px; padding: 5px 11px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.btl-card__flag--status { top: auto; bottom: 12px; background: var(--bad); color: #fff; }
.btl-card__open { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #fff; }
.btl-card__open.is-open { color: var(--ok); }
.btl-card__open.is-closed { color: var(--bad); }
.btl-card__body { padding: 14px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.btl-card__kicker { margin: 0 0 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); }
.btl-card__title { margin: 0 0 8px; font-size: 18px; line-height: 1.3; }
.btl-card__title a { color: var(--ink); text-decoration: none; }
.btl-card__title a::after { content: ""; position: absolute; inset: 0; }
.btl-card__meta { margin: 0; font-size: 14px; color: var(--muted); }
.btl-card__excerpt { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--text); }
.btl-card.is-past .btl-card__media { filter: grayscale(.6); opacity: .85; }
.btl-verified { display: inline-flex; width: 16px; height: 16px; align-items: center; justify-content: center; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 10px; vertical-align: 1px; }

/* Listă compactă de evenimente */
.btl-elist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.btl-elist__item a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--text); }
.btl-elist__item a:hover { border-color: var(--gold); }
.btl-elist__date { flex: 0 0 50px; display: flex; flex-direction: column; align-items: center; padding: 6px 0; border-radius: 10px; background: var(--ink); color: #fff; line-height: 1.05; }
.btl-elist__date b { font-size: 20px; }
.btl-elist__date small { font-size: 10px; letter-spacing: .06em; color: var(--gold-soft); }
.btl-elist__body { display: flex; flex-direction: column; min-width: 0; }
.btl-elist__body strong { font-size: 15px; line-height: 1.3; color: var(--ink); }
.btl-elist__body small { color: var(--muted); font-size: 13px; }
.btl-elist__item.is-past .btl-elist__date { background: #8b8f98; }

.btl-pagination { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.btl-pagination .page-numbers { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; background: #fff; color: var(--ink); font-weight: 600; }
.btl-pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.btl-section { margin: 0 0 40px; }
.btl-section__title { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 16px; }
.btl-subtitle { margin: 28px 0 12px; font-size: 20px; }
.btl-more { margin: 18px 0 0; }

/* Carusel (homepage) */
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 270px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.carousel > * { scroll-snap-align: start; }
.carousel-nav { display: flex; gap: 6px; }
.carousel-nav .icon-btn { border: 1.5px solid var(--ink); color: var(--ink); font-size: 22px; }
.carousel-nav .icon-btn:hover { background: var(--ink); color: #fff; }

/* Card articol */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.post-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.post-card__media { position: relative; display: block; aspect-ratio: 1200 / 630; background: var(--ink); overflow: hidden; }
.post-card__img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 14px 16px 18px; }
.post-card__title { font-size: 19px; margin: 0 0 8px; }
.post-card__title a { text-decoration: none; color: var(--ink); }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card__excerpt { margin: 0; font-size: 14px; color: var(--muted); }

/* =========================================================
   Homepage
   ========================================================= */
.home-hero { position: relative; background: radial-gradient(ellipse at 85% 0%, rgba(201,162,39,.22), transparent 55%), linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%); color: #fff; padding: 64px 0 52px; overflow: hidden; }
.home-hero .eyebrow { color: var(--gold-soft); }
.home-hero__title { color: #fff; font-size: clamp(36px, 6vw, 64px); margin: 0 0 12px; }
.home-hero__lead { font-size: clamp(17px, 2vw, 20px); color: rgba(255,255,255,.88); max-width: 640px; }
.home-hero__lead strong { color: var(--gold-soft); }
.home-hero__search { display: flex; gap: 10px; max-width: 640px; margin-top: 24px; padding: 6px; border-radius: 999px; background: #fff; }
.home-hero__search input { flex: 1; min-width: 0; border: 0; padding: 12px 16px; font-size: 16px; border-radius: 999px; background: transparent; }
.home-hero__search input:focus { outline: none; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px 36px; border-radius: 20px; background: var(--ink); color: #fff; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; max-width: 640px; }

/* =========================================================
   Eveniment
   ========================================================= */
.event-hero { background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%); color: #fff; padding: 34px 0 40px; }
.event-hero__grid { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: 40px; align-items: start; }
.event-hero__poster { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); aspect-ratio: 4 / 5; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.event-hero__img { width: 100%; height: 100%; object-fit: cover; }
.event-hero .eyebrow { color: var(--gold-soft); }
.event-hero__title { color: #fff; font-size: clamp(28px, 4vw, 46px); }
.event-hero .facts li { color: rgba(255,255,255,.9); }
.event-hero .facts a { color: #fff; }
.event-hero .facts .icon { color: var(--gold); }
.event-hero .btn--line { border-color: rgba(255,255,255,.55); color: #fff; }
.event-hero .btn--line:hover { background: rgba(255,255,255,.15); }
.event-hero .notice { margin: 8px 0 14px; }
.facts { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.facts .icon { flex: 0 0 auto; margin-top: 2px; color: var(--gold-dark); }
.event-body, .loc-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; padding-top: 40px; padding-bottom: 56px; }
.side-title { font-size: 20px; margin: 0 0 14px; }
.date-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.date-list__item { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; }
.date-list__when { font-weight: 700; flex: 1 1 260px; }
.date-list__meta { color: var(--muted); font-size: 14px; }
.date-list__item.is-past { opacity: .55; }
.place-box { padding: 20px; border-radius: var(--radius); background: var(--cream); }

/* =========================================================
   Locație
   ========================================================= */
.loc-hero { position: relative; background: var(--ink); color: #fff; padding: 46px 0 40px; overflow: hidden; isolation: isolate; }
.loc-hero__bg { position: absolute; inset: 0; z-index: -1; }
.loc-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.loc-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ink) 10%, rgba(20,33,61,.55) 100%); }
.loc-hero__inner { padding-top: 40px; }
.loc-hero .eyebrow { color: var(--gold-soft); }
.loc-hero__title { color: #fff; margin: 0 0 8px; }
.loc-hero__tagline { color: rgba(255,255,255,.88); font-size: 18px; max-width: 640px; }
.info-card { position: sticky; top: 96px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.info-card .facts { margin: 0 0 14px; }
.info-card .facts a { word-break: break-word; }
.social-row { display: flex; gap: 8px; margin: 0 0 18px; }
.social-row a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: var(--cream); color: var(--ink); }
.hours { width: 100%; border-collapse: collapse; font-size: 14px; }
.hours th { text-align: left; font-weight: 600; padding: 6px 0; }
.hours td { text-align: right; padding: 6px 0; color: var(--muted); }
.hours tr + tr { border-top: 1px solid var(--line); }
.hours .is-today th, .hours .is-today td { color: var(--ink); font-weight: 800; }
.claim { margin: 14px 4px 0; font-size: 14px; color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.gallery-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.map-embed { display: flex; align-items: center; justify-content: center; min-height: 160px; border-radius: var(--radius); background: var(--cream); overflow: hidden; }
.map-embed.is-loaded { min-height: 0; }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; }
.menu-box { padding: 20px; border-radius: var(--radius); background: var(--cream); }

@media (max-width: 960px) {
    .event-hero__grid { grid-template-columns: 1fr; gap: 24px; }
    .event-hero__poster { max-width: 360px; }
    .event-body, .loc-body { grid-template-columns: 1fr; gap: 28px; }
    .info-card { position: static; }
    .loc-body__side { order: -1; }
    .cta-band { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
}
@media (max-width: 600px) {
    .wrap { padding: 0 16px; }
    .section { padding: 40px 0; }
    .home-hero { padding: 40px 0 36px; }
    .home-hero__search { flex-direction: column; border-radius: 18px; }
    .home-hero__search .btn { width: 100%; }
    .section__head { flex-direction: column; align-items: flex-start; }
    .btl-grid--events { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .btl-grid--events .btl-card__title { font-size: 15px; }
    .btl-grid--events .btl-card__body { padding: 10px 10px 12px; }
    .btl-grid--events .btl-card__excerpt { display: none; }
    .btl-grid--events .btl-card__meta { font-size: 12px; }
    .actions .btn { flex: 1 1 auto; }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--ink); color: var(--cream); margin-top: 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding-top: 52px; padding-bottom: 40px; }
.site-footer .site-logo__img { height: 40px; margin-bottom: 14px; }
.site-footer p { color: rgba(247,243,236,.8); font-size: 15px; }
.site-footer__title { font: 700 16px var(--sans); color: var(--gold-soft); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer__social { display: flex; gap: 8px; }
.site-footer__social a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.08); }
.site-footer__bottom { background: var(--ink-3); padding: 16px 0; font-size: 14px; color: #c9b98a; }
.site-footer__bottom a { color: #c9b98a; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* =========================================================
   Conținutul existent al paginilor (port din tema child)
   ========================================================= */
.rbt-landing p { font-size: 17px; line-height: 1.7; color: #3a3330; }
.rbt-landing .rbt-landing__lead { font-size: 19px; color: var(--text); margin: 0 0 8px; }
.rbt-landing ul li { font-size: 16px; line-height: 1.7; color: #3a3330; margin-bottom: 6px; }
.rbt-events-heading { margin: 46px 0 20px; font-size: clamp(22px, 3.2vw, 30px); }
.rbt-events-heading:first-child { margin-top: 10px; }
.rbt-landing-cats { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
.rbt-landing-cats a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 600; text-decoration: none; }
.rbt-landing-cats a:hover { border-color: var(--ink); }
.rbt-landing-venues { list-style: none; padding: 0 !important; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.rbt-landing-venues__item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; margin: 0 !important; }
.rbt-landing-venues__item a { font-weight: 600; color: var(--ink); }
.rbt-landing-venues__item span { font-size: 13px; color: var(--muted); white-space: nowrap; }
.rbt-faq { margin: 10px 0 0; }
.rbt-faq-item { border-bottom: 1px solid var(--line); padding: 14px 0; }
.rbt-faq-item summary { cursor: pointer; font-weight: 700; font-size: 17px; color: var(--ink); }
.rbt-faq-item p { margin: 10px 0 0; }
.rbt-table-wrap { overflow-x: auto; margin: 16px 0 8px; }
.rbt-table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border: 1px solid var(--line); }
.rbt-table th { background: var(--ink); color: #fff; text-align: left; padding: 10px 12px; font-size: 14px; }
.rbt-table td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; color: #3a3330; }
.rbt-table td:nth-child(2) { white-space: nowrap; font-weight: 700; color: var(--ink); }
.rbt-callout { margin: 20px 0; padding: 16px 18px; border-left: 4px solid var(--gold); background: var(--cream); border-radius: 8px; }
.rbt-callout p { margin: 0; }
.rbt-offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 16px 0 8px; }
.rbt-offer { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 4px 18px rgba(20,33,61,.07); display: flex; flex-direction: column; }
.rbt-offer img { width: 100%; height: auto; display: block; border-radius: 0; }
.rbt-offer__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.rbt-offer__body h3 { margin: 0 0 6px; font-size: 20px; }
.rbt-offer__price { margin: 0 0 10px !important; font-size: 26px !important; font-weight: 800; color: var(--ink) !important; }
.rbt-offer__price span { font-size: 15px; font-weight: 400; color: var(--muted); }
.rbt-offer ul { list-style: none !important; padding: 0 !important; margin: 0 0 14px !important; }
.rbt-offer ul li { margin: 0 0 4px !important; font-size: 15px; }
.rbt-offer__btn { margin-top: auto; display: block; text-align: center; padding: 12px 16px; border-radius: 10px; background: var(--ink); color: #fff !important; font-weight: 700; text-decoration: none !important; }
.rbt-offer__btn:hover { background: var(--ink-3); }
.rbt-offer__more { margin: 8px 0 0 !important; font-size: 14px !important; text-align: center; color: var(--muted) !important; }
@media (max-width: 640px) {
    .rbt-table thead { display: none; }
    .rbt-table, .rbt-table tbody, .rbt-table tr, .rbt-table td { display: block; width: 100%; }
    .rbt-table tr { border-top: 1px solid var(--line); padding: 8px 0; }
    .rbt-table td { border: 0; padding: 4px 12px; }
    .rbt-table td:nth-child(2) { white-space: normal; }
}

/* Paginile de program: hero cu ilustrație ([rbt_venue_hero]) */
.btl-program-page .entry-content--page { padding-top: 0; }
.rbt-vhero { --c1: #23205c; --c2: #3b2f86; --accent: #ff7a59; --art: rgba(255,255,255,.22);
    position: relative; overflow: hidden; width: 100vw; margin: 0 0 40px calc(50% - 50vw); padding: 70px 0 60px;
    background: linear-gradient(120deg, var(--c1) 0%, var(--c2) 100%); color: #fff; isolation: isolate; }
.rbt-vhero__photo { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .28; filter: grayscale(.3); mix-blend-mode: luminosity; }
.rbt-vhero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 15% 20%, rgba(255,255,255,.12), transparent 55%), linear-gradient(90deg, var(--c1) 0%, transparent 75%); }
.rbt-vhero__art { position: absolute; right: max(2vw, calc(50% - 600px)); top: 50%; transform: translateY(-50%); width: min(46vw, 520px); color: var(--art); z-index: -1; pointer-events: none; }
.rbt-vhero__art svg { width: 100%; height: auto; display: block; }
.rbt-vhero__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.rbt-vhero__eyebrow { display: inline-block; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff !important; font-size: 12px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.rbt-vhero__title { color: #fff; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.08; margin: 0 0 14px; max-width: 760px; }
.rbt-vhero__tagline { color: rgba(255,255,255,.88) !important; font-size: 18px !important; max-width: 620px; margin: 0 0 22px; }
.rbt-vhero__stats { list-style: none; padding: 0 !important; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.rbt-vhero__stats li { padding: 9px 14px; border-radius: 10px; background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.14); font-size: 14px; color: #fff !important; margin: 0 !important; }
.rbt-vhero__stats a { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); }
.rbt-vhero__stats strong { color: var(--accent); }
.rbt-vhero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.rbt-vhero__btn { display: inline-block; padding: 12px 22px; border-radius: 999px; border: 1px solid rgba(255,255,255,.5); color: #fff !important; font-weight: 700; text-decoration: none !important; }
.rbt-vhero__btn--primary { background: var(--accent); border-color: var(--accent); color: #1a1414 !important; }
.rbt-vhero--theatre { --c1: #4a0f1a; --c2: #8a1c2c; --accent: #f2c14e; --art: rgba(242,193,78,.28); }
.rbt-vhero--concert { --c1: #1b1747; --c2: #3e2f8f; --accent: #ff8a65; --art: rgba(255,138,101,.25); }
.rbt-vhero--pub { --c1: #0b3326; --c2: #14614a; --accent: #f4b942; --art: rgba(244,185,66,.26); }
.rbt-vhero--youth { --c1: #3a0d4f; --c2: #b0256f; --accent: #ffd166; --art: rgba(255,209,102,.26); }
.rbt-vhero--arena { --c1: #06142e; --c2: #0f3a6b; --accent: #4dd0e1; --art: rgba(77,208,225,.28); }
.rbt-vhero--cinema { --c1: #111; --c2: #3b0d0d; --accent: #ef4444; --art: rgba(239,68,68,.25); }
.rbt-vhero--philharmonic { --c1: #0d1b3e; --c2: #1f3b73; --accent: #d4af37; --art: rgba(212,175,55,.3); }
.rbt-vhero--kids { --c1: #0b4f5c; --c2: #1a8a8a; --accent: #ffd23f; --art: rgba(255,210,63,.3); }
@media (max-width: 767px) {
    .rbt-vhero { padding: 44px 0 40px; }
    .rbt-vhero__art { width: 80vw; right: -18vw; top: auto; bottom: -10px; transform: none; opacity: .7; }
    .rbt-vhero__tagline { font-size: 16px !important; }
}

/* Feed homepage ([rbt_social_feed]) */
.rbt-feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; align-items: start; }
.rbt-post { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.rbt-post__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.rbt-post__avatar { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--gold-soft); font-size: 13px; font-weight: 700; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--gold); text-decoration: none; }
.rbt-post__avatar img { width: 100%; height: 100%; object-fit: cover; }
.rbt-post__who { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.rbt-post__who a, .rbt-post__who strong { color: var(--text); font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
.rbt-post__who span { color: var(--muted); font-size: 12px; }
.rbt-post__media { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--ink); overflow: hidden; }
.rbt-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.rbt-post__media:hover img { transform: scale(1.03); }
.rbt-post__placeholder { position: absolute; inset: 0; background: var(--ink); }
.rbt-post__date { position: absolute; left: 12px; top: 12px; display: flex; flex-direction: column; align-items: center; min-width: 50px; padding: 6px 8px; border-radius: 12px; background: #fff; color: var(--ink); line-height: 1.05; box-shadow: 0 4px 14px rgba(20,33,61,.18); }
.rbt-post__date small { font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--gold-dark); }
.rbt-post__date b { font-size: 22px; font-weight: 800; }
.rbt-post__badge { position: absolute; right: 12px; top: 12px; padding: 5px 11px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 700; }
.rbt-post__actions { display: flex; align-items: center; gap: 6px; padding: 12px 14px 2px; }
.rbt-post__icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--text) !important; cursor: pointer; }
.rbt-post__icon:hover { background: var(--cream); }
.rbt-post__icon.is-copied { color: var(--ok) !important; }
.rbt-post__body { padding: 6px 14px 16px; }
.rbt-post__title { margin: 0 0 4px; font-size: 17px; line-height: 1.3; }
.rbt-post__title a { color: var(--text); text-decoration: none; }
.rbt-post__meta { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.rbt-post__caption { margin: 0 0 8px; color: var(--text); font-size: 14px; line-height: 1.5; }
.rbt-post__caption a { color: var(--muted); font-weight: 600; }
.rbt-post__tags { margin: 0; font-size: 13px; }
.rbt-post__tags a, .rbt-post__tags span { color: var(--gold-dark); font-weight: 600; margin-right: 4px; text-decoration: none; }
.rbt-post--article .rbt-post__media { aspect-ratio: auto; }
.rbt-post--article .rbt-post__media img { height: auto; max-height: 560px; }
.rbt-feed__more { text-align: center; margin: 28px 0 0; }
.rbt-feed__more a { display: inline-block; padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--ink); color: var(--ink); font-weight: 700; text-decoration: none; }
@media (max-width: 767px) { .rbt-feed { grid-template-columns: 1fr; gap: 18px; } }
