/* Homepage hero — static file (no Blade @ rules). Load after app.css. Midnight slate + coral. */
.ep-hero .ep-btn-hero-outline {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    backdrop-filter: blur(10px);
}
.ep-hero .ep-btn-hero-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}
.ep-hero {
    position: relative;
    overflow: hidden;
    background-color: #141416;
    background-image:
        linear-gradient(
            165deg,
            rgba(20, 20, 22, 0.88) 0%,
            rgba(52, 58, 66, 0.72) 45%,
            rgba(20, 20, 22, 0.9) 100%
        ),
        url("/background.png");
    /* cover = full area without stretching/distorting the image */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 24px 0 40px;
    color: #f5f2ed;
}
/* Fill the viewport below the fixed header (`--ep-header-height` in app.css) */
.ep-hero--fullscreen {
    min-height: calc(100vh - var(--ep-header-height, 80px));
    min-height: calc(100svh - var(--ep-header-height, 80px));
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.ep-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 125% 90% at 50% 28%,
        rgba(255, 107, 66, 0.08) 0%,
        rgba(0, 0, 0, 0.5) 100%
    );
    pointer-events: none;
}
/* No fade strip — background stays full-bleed until the next section */
.ep-hero::after {
    display: none;
}
.ep-hero-wrap {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 28px 0;
    width: 100%;
}
.ep-hero-tagline--context {
    margin-bottom: 14px;
}

/* Content stack only — no card / glass background (text & CTAs sit on the hero image) */
.ep-hero-panel {
    max-width: min(680px, 100%);
    margin-left: auto;
    margin-right: auto;
    padding: clamp(8px, 2vw, 16px) 0;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    animation: ep-hero-panel-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes ep-hero-panel-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .ep-hero-panel {
        animation: none;
    }
}
.ep-hero-panel .ep-hero-tagline {
    margin-bottom: 18px;
}
/* UET mark + presenter line — logo scales; tagline reads larger on busy hero */
.ep-hero-presenter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(12px, 2.5vw, 20px);
    margin-bottom: 18px;
    max-width: min(52rem, 100%);
    margin-left: auto;
    margin-right: auto;
}
.ep-hero-presenter-logo {
    display: block;
    width: auto;
    height: clamp(52px, 11vw, 96px);
    max-width: min(220px, 72vw);
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.75)) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}
.ep-hero-presenter .ep-hero-tagline {
    margin-bottom: 0;
}
.ep-hero-panel .ep-hero-tagline:not(.ep-hero-tagline--context)::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin: 14px auto 0;
    border-radius: 99px;
    background: linear-gradient(90deg, transparent, #ff6b42 30%, #fdba8c 70%, transparent);
    opacity: 0.95;
}
.ep-hero-mini-nav {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 28px;
    padding: 8px 10px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(20, 20, 22, 0.55);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
.ep-hero-pill {
    padding: 6px 13px;
    border-radius: 8px;
    color: #f5f2ed;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: all 0.15s ease;
    cursor: pointer;
}
.ep-hero-pill:hover {
    color: #fff;
    background: rgba(255, 107, 66, 0.2);
    border-color: rgba(255, 107, 66, 0.45);
}
.ep-hero-tagline {
    color: #fff7ed;
    font-size: clamp(0.8125rem, 2.1vw, 1.0625rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
    text-shadow:
        0 0 1px rgba(0, 0, 0, 0.95),
        0 1px 2px rgba(0, 0, 0, 0.95),
        0 2px 12px rgba(0, 0, 0, 0.75),
        0 0 28px rgba(255, 107, 66, 0.35);
}
.ep-hero-presenter .ep-hero-tagline {
    padding: 10px 16px 12px;
    border-radius: 12px;
    background: rgba(12, 12, 14, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.ep-hero-title {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    max-width: 100%;
}
/* Reset global .ep-hero-title rules from app.css — typography lives on inner spans */
.ep-hero-panel .ep-hero-title {
    font-size: unset;
    font-weight: unset;
    line-height: normal;
    letter-spacing: normal;
    text-shadow: none;
    max-width: none;
    text-wrap: unset;
}
.ep-hero-title-main {
    display: block;
    color: #fff;
    font-size: clamp(1.35rem, 4.2vw, 2.65rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-wrap: balance;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.85),
        0 8px 32px rgba(0, 0, 0, 0.55),
        0 0 40px rgba(255, 107, 66, 0.15);
}
.ep-hero-title-accent {
    display: block;
    font-size: clamp(1.05rem, 3vw, 1.85rem);
    font-weight: 700;
    letter-spacing: 0.42em;
    text-indent: 0.42em;
    text-transform: uppercase;
    line-height: 1.2;
    background: linear-gradient(100deg, #fecaca 0%, #fdba8c 45%, #fb923c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 14px rgba(255, 107, 66, 0.35));
}
/* Compact key dates directly under the headline (homepage content settings) */
.ep-hero-keydates {
    margin-top: clamp(14px, 3vw, 22px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: clamp(10px, 2.5vw, 18px);
}
.ep-hero-keydates-item {
    min-width: min(160px, 42vw);
    padding: 10px 16px 11px;
    border-radius: 12px;
    text-align: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.ep-hero-keydates-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}
.ep-hero-keydates-value {
    display: block;
    font-size: clamp(13px, 1.55vw, 15px);
    font-weight: 700;
    line-height: 1.35;
    color: #faf8f5;
    letter-spacing: 0.02em;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.85),
        0 2px 14px rgba(0, 0, 0, 0.45);
}
.ep-hero--fullscreen .ep-hero-title-main {
    font-size: clamp(1.5rem, 5vw, 3rem);
}
.ep-hero-subtitle {
    margin: 0 auto;
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
    color: #fed7aa;
    max-width: 46rem;
    text-wrap: balance;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.95),
        0 2px 20px rgba(0, 0, 0, 0.6),
        0 0 1px rgba(0, 0, 0, 0.85);
}
.ep-hero-date {
    margin-top: 18px;
    color: #faf8f5;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.92), 0 2px 16px rgba(0, 0, 0, 0.55);
}
.ep-hero-mode {
    margin-top: 8px;
    margin-left: auto;
    margin-right: auto;
    max-width: 40rem;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 600;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 2px 20px rgba(0, 0, 0, 0.6);
}
.ep-hero-location {
    color: #d6d3d1;
    margin-top: 5px;
    font-size: 15px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.88), 0 2px 12px rgba(0, 0, 0, 0.45);
}
.ep-hero-desc {
    margin: 24px auto 0;
    max-width: 860px;
    font-size: clamp(16px, 2.1vw, 18px);
    line-height: 1.6;
    color: #e7e5e4;
    font-variant: normal;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 2px 14px rgba(0, 0, 0, 0.5);
}
.ep-hero-tracks {
    margin: 14px auto 0;
    color: #d6d3d1;
    max-width: 900px;
    font-size: 15px;
    line-height: 1.65;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.88), 0 2px 12px rgba(0, 0, 0, 0.45);
}
.ep-hero-actions {
    margin-top: clamp(22px, 4vw, 32px);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.ep-hero .ep-hero-cta-primary.ep-btn-hero-primary {
    min-width: 172px;
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 15px;
    letter-spacing: 0.02em;
    box-shadow:
        0 4px 0 rgba(194, 65, 12, 0.35),
        0 14px 32px -10px rgba(255, 107, 66, 0.65);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ep-hero .ep-hero-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 6px 0 rgba(194, 65, 12, 0.4),
        0 20px 40px -12px rgba(255, 107, 66, 0.72);
}
.ep-hero .ep-hero-cta-secondary.ep-btn-hero-outline {
    min-width: 160px;
    padding: 14px 26px;
    border-radius: 14px;
    font-size: 15px;
    border-width: 1.5px;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.ep-hero .ep-hero-cta-secondary:hover {
    transform: translateY(-3px);
}
@media (max-width: 640px) {
    .ep-hero { padding: 20px 0 36px; }
    .ep-hero--fullscreen {
        min-height: calc(100svh - var(--ep-header-height, 80px));
        min-height: calc(100vh - var(--ep-header-height, 80px));
    }
    .ep-hero-panel {
        padding: 8px 12px 16px;
    }
    .ep-hero-title-accent {
        letter-spacing: 0.22em;
        text-indent: 0.22em;
        font-size: clamp(0.95rem, 4.5vw, 1.35rem);
    }
    .ep-hero-mini-nav {
        gap: 6px;
        padding: 6px 8px;
        margin-bottom: 20px;
    }
    .ep-hero-pill { padding: 5px 10px; font-size: 11px; }
    .ep-hero .ep-btn-hero-primary,
    .ep-hero .ep-btn-hero-outline { width: 100%; justify-content: center; }
}

/* Welcome message split layout */
.ep-welcome-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: clamp(18px, 3vw, 34px);
    align-items: start;
}

.ep-welcome-copy {
    max-width: 100%;
    margin: 0;
}

.ep-welcome-copy p {
    text-align: justify;
    text-justify: inter-word;
}

.ep-welcome-greeting,
.ep-welcome-signoff,
.ep-welcome-platform-note {
    text-align: left !important;
}

.ep-welcome-speaker-box {
    background: linear-gradient(180deg, #fffdfb 0%, #faf8f5 100%);
    border: 1px solid #ebe6df;
    border-radius: 18px;
    padding: 14px 14px 12px;
    box-shadow: 0 16px 32px -22px rgba(20, 20, 22, 0.25);
    text-align: center;
}

.ep-welcome-speaker-image {
    display: block;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
    border-radius: 14px;
    border: 1px solid var(--border, #e7e2dc);
    background: var(--bg-soft, #f3efe8);
    object-fit: cover;
}

.ep-welcome-speaker-caption {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.35;
}

.ep-welcome-speaker-caption strong {
    font-size: 14px;
    color: #1c1917;
    letter-spacing: 0.01em;
}

.ep-welcome-speaker-caption span {
    font-size: 11px;
    color: #78716c;
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 600;
    line-height: 1.45;
    text-wrap: balance;
}

@media (max-width: 900px) {
    .ep-welcome-layout {
        grid-template-columns: 1fr;
    }

    .ep-welcome-speaker-box {
        max-width: 300px;
        margin: 4px auto 0;
    }
}
