/* Event landing v2 — mobile B + boxed desktop split */

.event-landing-modern {
    --landing-ink: #1a1f24;
    --landing-ink-soft: #3a434c;
    --landing-muted: #6b757f;
    --landing-paper: #f3f1ed;
    --landing-cream: #faf8f5;
    --landing-line: rgba(26, 31, 36, 0.1);
    --landing-accent: #8b6b4a;
    --landing-accent-deep: #6e5238;
    width: 100%;
    font-family: Outfit, system-ui, -apple-system, sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(139, 107, 74, 0.1), transparent 58%),
        #e8e4de;
    padding: 0 0 1.5rem;
}

.event-landing-modern .landing-status-wrap {
    width: min(1080px, calc(100% - 1.5rem));
    margin: 0.85rem auto 0;
}

.event-landing-modern .landing-status {
    border-radius: 0.75rem;
    font-size: 0.9rem;
}

.event-landing-modern .landing-shell {
    width: min(1080px, calc(100% - 1.25rem));
    margin: 0.85rem auto 0;
    background: var(--landing-cream);
    border: 1px solid rgba(26, 31, 36, 0.08);
    border-radius: 1.15rem;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(26, 31, 36, 0.08);
}

/* Mobile quick nav: Gallery | Wishes list — κάτω από header, πάνω από cover */
.event-landing-modern .landing-quick-nav {
    display: none;
}

@media (max-width: 991.98px) {
    .event-landing-modern .landing-quick-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        border-bottom: 1px solid var(--landing-line);
        background: rgba(243, 241, 237, 0.95);
    }

    .event-landing-modern .landing-quick-nav__btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        min-height: 2.35rem;
        padding: 0.45rem 0.65rem;
        font-size: 0.78rem;
        font-weight: 500;
        letter-spacing: 0.01em;
        color: var(--landing-ink-soft);
        text-decoration: none;
        border: 0;
        background: transparent;
        transition: background 0.15s ease, color 0.15s ease;
    }

    .event-landing-modern .landing-quick-nav__btn + .landing-quick-nav__btn {
        border-left: 1px solid var(--landing-line);
    }

    .event-landing-modern .landing-quick-nav__btn i {
        font-size: 0.9rem;
        opacity: 0.75;
    }

    .event-landing-modern .landing-quick-nav__btn:active,
    .event-landing-modern .landing-quick-nav__btn:hover {
        background: rgba(139, 107, 74, 0.08);
        color: var(--landing-ink);
    }
}

/* Home landing μόνο — όχι upload/challenges pages */
.event-landing-modern .landing-shell:not(.landing-shell--page) {
    max-height: 1050px;
}

.event-landing-modern .landing-split {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* —— Hero —— */
.event-landing-modern .landing-hero {
    position: relative;
    /* Ψηλότερο στο mobile ώστε να μην κόβονται κεφάλια από το cover */
    min-height: clamp(280px, 68vw, 420px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    background: var(--landing-ink);
}

.event-landing-modern .landing-hero__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    display: block;
    width: 100%;
    height: 100%;
}

.event-landing-modern .landing-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Προτεραιότητα στο πάνω μέρος της φωτό (πρόσωπα) */
    object-position: center 18%;
    display: block;
    transform: scale(1.01);
}

@media (max-width: 991.98px) {
    .event-landing-modern .landing-hero__media img {
        object-position: center top;
    }
}

.event-landing-modern .landing-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(18, 16, 14, 0.18) 0%,
        rgba(18, 16, 14, 0.55) 48%,
        rgba(18, 16, 14, 0.88) 100%
    );
}

.event-landing-modern .landing-hero__media--empty {
    background:
        radial-gradient(ellipse at 30% 20%, rgba(139, 107, 74, 0.35), transparent 55%),
        var(--landing-ink);
}

.event-landing-modern .landing-hero__media--empty::after {
    display: none;
}

.event-landing-modern .landing-hero__zoom {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    width: 2.1rem;
    height: 2.1rem;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: zoom-in;
}

.event-landing-modern .landing-hero__copy {
    position: relative;
    z-index: 1;
    padding: 1.15rem 1.15rem 1.25rem;
}

.event-landing-modern .landing-hero__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.88;
}

.event-landing-modern .landing-hero__title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.7rem, 6.5vw, 2.2rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 0.4rem;
}

.event-landing-modern .landing-hero__lead {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.45;
    opacity: 0.92;
    max-width: 32ch;
}

/* —— Side / actions —— */
.event-landing-modern .landing-side {
    padding: 1rem 1rem 1.25rem;
}

.event-landing-modern .landing-side__kicker {
    margin: 0 0 0.55rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--landing-muted);
}

.event-landing-modern .landing-primary,
.event-landing-modern .landing-secondary {
    display: grid;
    gap: 0.45rem;
}

.event-landing-modern .landing-primary {
    margin-bottom: 0.55rem;
}

.event-landing-modern .landing-secondary {
    margin-bottom: 0.85rem;
}

.event-landing-modern .landing-action {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--landing-ink);
    border-radius: 0.9rem;
    min-height: 3.4rem;
    transition: transform 0.15s ease, background 0.15s ease;
}

.event-landing-modern .landing-action:hover,
.event-landing-modern .landing-action:focus-visible {
    color: var(--landing-ink);
    transform: translateY(-1px);
}

.event-landing-modern .landing-action--primary {
    justify-content: flex-start;
    padding: 0.8rem 0.95rem;
}

.event-landing-modern .landing-action--fill .landing-action__icon {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.event-landing-modern .landing-action--soft .landing-action__icon {
    background: rgba(26, 31, 36, 0.08);
    color: var(--landing-ink);
}

.event-landing-modern .landing-action--primary .landing-action__chev {
    margin-left: auto;
}

.event-landing-modern .landing-action--fill {
    background: var(--landing-ink);
    color: #fff;
}

.event-landing-modern .landing-action--fill:hover,
.event-landing-modern .landing-action--fill:focus-visible {
    color: #fff;
    background: #242a30;
}

.event-landing-modern .landing-action--soft {
    background: #ebe6df;
}

.event-landing-modern .landing-action--soft:hover,
.event-landing-modern .landing-action--soft:focus-visible {
    background: #e3ddd5;
}

.event-landing-modern .landing-action--row {
    padding: 0.7rem 0.85rem;
    background: #fff;
    border: 1px solid var(--landing-line);
}

.event-landing-modern .landing-action__icon {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 0.55rem;
    background: var(--landing-paper);
    color: var(--landing-accent-deep);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.event-landing-modern .landing-action__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.event-landing-modern .landing-action__title {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.event-landing-modern .landing-action__hint {
    font-size: 0.74rem;
    font-weight: 400;
    color: var(--landing-muted);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-landing-modern .landing-action--fill .landing-action__hint {
    color: rgba(255, 255, 255, 0.72);
}

.event-landing-modern .landing-action__chev {
    flex-shrink: 0;
    opacity: 0.65;
    font-size: 1.05rem;
    line-height: 1;
}

/* —— Details —— */
.event-landing-modern .landing-details {
    border-top: 1px solid var(--landing-line);
    padding-top: 0.95rem;
}

.event-landing-modern .landing-details__list {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

.event-landing-modern .landing-details__row {
    display: grid;
    gap: 0.18rem;
}

.event-landing-modern .landing-details dt {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--landing-muted);
}

.event-landing-modern .landing-details dd {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--landing-ink);
    overflow-wrap: anywhere;
}

.event-landing-modern .landing-details a {
    color: var(--landing-accent-deep);
}

/* —— Desktop boxed split —— */
@media (min-width: 992px) {
    .event-landing-modern {
        padding: 1.15rem 1.25rem 2rem;
        display: flex;
        flex-direction: column;
    }

    .event-landing-modern .landing-status-wrap {
        width: min(1080px, 100%);
        margin: 0 auto 0.85rem;
    }

    .event-landing-modern .landing-shell {
        width: min(1080px, 100%);
        margin: 0 auto;
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        min-height: min(72vh, 640px);
    }

    .event-landing-modern .landing-shell:not(.landing-shell--page) {
        max-height: 1050px;
    }

    .event-landing-modern .landing-split {
        flex: 1;
        display: grid;
        grid-template-columns: 1.12fr 0.98fr;
        min-height: 0;
    }

    .event-landing-modern .landing-hero {
        min-height: 100%;
        max-height: none;
        border-radius: 0;
    }

    .event-landing-modern .landing-hero__copy {
        padding: 2rem 1.75rem 2.15rem;
    }

    .event-landing-modern .landing-hero__title {
        font-size: clamp(2.2rem, 3.2vw, 3.1rem);
        max-width: 12ch;
    }

    .event-landing-modern .landing-hero__lead {
        font-size: 1.02rem;
        max-width: 30ch;
    }

    .event-landing-modern .landing-hero__zoom {
        top: 1rem;
        right: 1rem;
    }

    .event-landing-modern .landing-side {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 1.5rem 1.45rem 1.5rem 1.35rem;
        overflow-y: auto;
    }
}

@media (max-width: 380px) {
    .event-landing-modern .landing-shell {
        width: calc(100% - 0.75rem);
        border-radius: 1rem;
    }

    .event-landing-modern .landing-side {
        padding: 0.9rem 0.85rem 1.1rem;
    }
}

/* —— Shared subpages (challenges / upload) —— */
.event-landing-modern .landing-shell--page {
    padding: 1.25rem 1.15rem 1.35rem;
    min-height: auto;
}

@media (min-width: 992px) {
    .event-landing-modern .landing-shell--page {
        padding: 1.75rem 1.75rem 1.6rem;
        min-height: auto;
        flex: 0 1 auto;
    }
}

.event-landing-modern .event-page-head {
    margin-bottom: 1.15rem;
}

.event-landing-modern .event-page-head__eyebrow {
    margin: 0 0 0.4rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--landing-accent-deep);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.event-landing-modern .event-page-head__title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.55rem, 4.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 0.45rem;
    color: var(--landing-ink);
}

.event-landing-modern .event-page-head__lead {
    margin: 0;
    color: var(--landing-muted);
    font-size: 0.95rem;
    line-height: 1.45;
    max-width: 40ch;
}

.event-landing-modern .event-page-foot {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--landing-line);
}

.event-landing-modern .landing-back {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--landing-ink-soft);
    font-size: 0.88rem;
    font-weight: 600;
}

.event-landing-modern .landing-back:hover {
    color: var(--landing-ink);
}

/* Challenges */
.event-landing-modern .challenge-grid {
    display: grid;
    gap: 0.65rem;
}

@media (min-width: 768px) {
    .event-landing-modern .challenge-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
    }
}

.event-landing-modern .challenge-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1rem 1rem 1.05rem;
    min-height: 5.25rem;
    border-radius: 1rem;
    text-decoration: none;
    color: var(--landing-ink);
    background: #fff;
    border: 1px solid var(--landing-line);
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.event-landing-modern .challenge-card:hover,
.event-landing-modern .challenge-card:focus-visible {
    color: var(--landing-ink);
    transform: translateY(-2px);
    border-color: rgba(139, 107, 74, 0.35);
    background: #fffcf8;
}

.event-landing-modern .challenge-card__icon {
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 0.8rem;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    color: #fff;
    background: var(--landing-ink);
}

.event-landing-modern .challenge-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.event-landing-modern .challenge-card__title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.event-landing-modern .challenge-card__hint {
    font-size: 0.8rem;
    color: var(--landing-muted);
}

.event-landing-modern .challenge-card__go {
    flex-shrink: 0;
    font-size: 1.15rem;
    opacity: 0.55;
}

/* Upload form */
.event-landing-modern .event-form-wrap {
    max-width: 460px;
}

.event-landing-modern .event-form__field {
    margin-bottom: 0.95rem;
}

.event-landing-modern .event-form__label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--landing-ink-soft);
}

.event-landing-modern .event-form__input,
.event-landing-modern .event-form__file {
    width: 100%;
    border: 1px solid var(--landing-line);
    border-radius: 0.75rem;
    background: #fff;
    padding: 0.7rem 0.85rem;
    font-size: 1rem;
    color: var(--landing-ink);
}

.event-landing-modern .event-form__input:focus,
.event-landing-modern .event-form__file:focus {
    outline: 2px solid rgba(139, 107, 74, 0.35);
    border-color: var(--landing-accent);
}

.event-landing-modern .event-form__help {
    margin: 0.35rem 0 0;
    font-size: 0.78rem;
    color: var(--landing-muted);
}

.event-landing-modern .event-form__limit {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0.7rem 0 0;
    padding: 0.7rem 0.85rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(139, 107, 74, 0.28);
    background: linear-gradient(180deg, rgba(255, 248, 235, 0.95), rgba(247, 236, 214, 0.88));
    color: var(--landing-ink);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
}

.event-landing-modern .event-form__limit i {
    flex: 0 0 auto;
    margin-top: 0.08rem;
    font-size: 1.1rem;
    color: var(--landing-accent);
}

.event-landing-modern .event-form__check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.86rem;
    color: var(--landing-ink-soft);
}

.event-landing-modern .event-form__drop {
    margin-bottom: 1.15rem;
    padding: 0.95rem;
    border-radius: 0.95rem;
    background: var(--landing-paper);
    border: 1px dashed rgba(26, 31, 36, 0.18);
}

.event-landing-modern .event-form__submit {
    width: 100%;
    border: 0;
    border-radius: 0.9rem;
    min-height: 3.15rem;
    background: var(--landing-ink);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}

.event-landing-modern .event-form__submit:hover,
.event-landing-modern .event-form__submit:focus-visible {
    background: #242a30;
}

.event-landing-modern .event-form__submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.event-landing-modern .event-form__meta {
    margin: 1rem 0 0;
    font-size: 0.82rem;
    color: var(--landing-muted);
}

.event-landing-modern .event-upload-overlay {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(232, 228, 222, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.event-landing-modern .event-upload-overlay.d-none {
    display: none !important;
}

.event-landing-modern .event-upload-overlay__card {
    width: min(420px, 92vw);
    background: var(--landing-cream);
    border: 1px solid var(--landing-line);
    border-radius: 1rem;
    padding: 1.25rem 1.15rem;
    box-shadow: 0 14px 36px rgba(26, 31, 36, 0.12);
}

.event-landing-modern .event-upload-overlay__title {
    font-weight: 700;
    margin-bottom: 0.65rem;
    color: var(--landing-ink);
}

.event-landing-modern .event-upload-overlay__note {
    font-size: 0.82rem;
    color: var(--landing-muted);
}
