/* =============================================================================
   BonTrip — pagina unui eveniment (/{lang}/e/{slug})

   Hero cu imagine + doua coloane: textul la stanga, faptele (cand, unde, link)
   la dreapta. Aceleasi culori ca listarea si ca paginile de continut.
   ========================================================================== */

.ep-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Hero ---------- */
.ep-hero {
    padding: 64px 20px 56px;
    background: linear-gradient(135deg, #101828, #1d2939);
    background-size: cover;
    background-position: center;
    color: #fff;
}
.ep-hero--image { background-blend-mode: normal; }

.ep-hero-inner {
    max-width: 1160px;
    margin: 0 auto;
}

.ep-breadcrumb {
    font-size: 13px;
    color: rgba(255,255,255,.72);
    margin-bottom: 18px;
}
.ep-breadcrumb a { color: rgba(255,255,255,.88); text-decoration: none; }
.ep-breadcrumb a:hover { color: #fff; text-decoration: underline; }
.ep-sep { padding: 0 7px; opacity: .5; }
.ep-current { color: #fff; }

.ep-hero h1 {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    margin: 0;
    color: #fff;
}
.ep-lead {
    max-width: 760px;
    margin: 16px 0 0;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255,255,255,.86);
}

/* ---------- Banda pentru evenimentele incheiate ---------- */
.ep-past-note {
    background: #fff7ed;
    border-bottom: 1px solid #fed7aa;
    padding: 14px 0;
}
.ep-past-note .ep-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #7c2d12;
}
.ep-past-note i { color: #ea580c; }
.ep-past-note a {
    color: #16a34a;
    font-weight: 700;
    text-decoration: none;
}
.ep-past-note a:hover { text-decoration: underline; }

/* ---------- Asezare ---------- */
.ep-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 40px;
    padding-top: 46px;
    padding-bottom: 80px;
    align-items: start;
}

/* ---------- Corpul evenimentului ---------- */
/* HTML scris in admin, deci stilam elementele generice. */
.ep-body {
    font-size: 16px;
    line-height: 1.8;
    color: #344054;
}
.ep-body > *:first-child { margin-top: 0; }
.ep-body h2 {
    font-size: 24px;
    line-height: 1.3;
    color: #101828;
    margin: 34px 0 14px;
}
.ep-body h3 {
    font-size: 19px;
    line-height: 1.35;
    color: #101828;
    margin: 26px 0 10px;
}
.ep-body p { margin: 0 0 16px; }
.ep-body ul,
.ep-body ol { margin: 0 0 16px; padding-left: 22px; }
.ep-body li { margin-bottom: 7px; }
.ep-body a { color: #16a34a; }
.ep-body img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 18px 0;
}
.ep-body blockquote {
    margin: 20px 0;
    padding: 14px 20px;
    border-left: 3px solid #16a34a;
    background: #f8fafb;
    border-radius: 0 12px 12px 0;
    color: #475467;
}

/* ---------- Taxonomii ---------- */
.ep-taxonomies {
    margin-top: 44px;
    padding-top: 30px;
    border-top: 1px solid #eef2f6;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.ep-tax-group h2 {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #94a3b8;
    margin: 0 0 12px;
}
.ep-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ep-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #475467;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}
.ep-chip:hover {
    box-shadow: 0 6px 16px rgba(16,24,40,.08);
}
.ep-chip i { font-size: 11px; opacity: .8; }
/* Tagurile n-au pagina proprie, deci nu se comporta ca link-uri. */
.ep-chip--plain { background: #f8fafb; cursor: default; }
.ep-chip--plain:hover { transform: none; box-shadow: none; }

/* ---------- Coloana din dreapta ---------- */
.ep-aside {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 24px;
}

.ep-card {
    background: #f8fafb;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    padding: 22px 24px;
}
.ep-card-title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #94a3b8;
    margin: 0 0 14px;
}

.ep-fact {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px solid #eef2f6;
}
.ep-fact:last-of-type { border-bottom: 0; }
.ep-fact-label {
    font-size: 13px;
    color: #94a3b8;
}
.ep-fact-value {
    font-size: 14.5px;
    font-weight: 700;
    color: #101828;
    text-align: right;
}

.ep-note {
    margin: 10px 0 0;
    font-size: 12.5px;
    color: #94a3b8;
}

.ep-address {
    margin: 0 0 14px;
    font-style: normal;
    font-size: 14.5px;
    line-height: 1.65;
    color: #344054;
}

.ep-map {
    height: 220px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}
.ep-map-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #16a34a;
    text-decoration: none;
}
.ep-map-link:hover { text-decoration: underline; }

.ep-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    transition: box-shadow .15s ease;
}
.ep-cta:hover {
    box-shadow: 0 10px 24px rgba(22,163,74,.28);
    color: #fff;
}

.ep-back {
    font-size: 13.5px;
    font-weight: 700;
    color: #475467;
    text-decoration: none;
    padding: 4px 2px;
}
.ep-back:hover { color: #16a34a; }

/* ---------- Mobil ---------- */
@media (max-width: 960px) {
    .ep-layout {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 34px;
        padding-bottom: 60px;
    }
    /* Pe o coloana, "sticky" ar tine cardurile lipite degeaba. */
    .ep-aside { position: static; }
}

@media (max-width: 640px) {
    .ep-hero { padding: 44px 16px 40px; }
    .ep-lead { font-size: 15.5px; }
    .ep-body { font-size: 15.5px; }
    .ep-body h2 { font-size: 21px; }
    .ep-card { padding: 18px 20px; }
}
