/* Poster Section — official conference poster + PDF download */

.poster-section {
    position: relative;
    background: linear-gradient(180deg, #F7EFF0 0%, #FCFAF8 100%);
    border-top: 3px solid var(--accent-gold, #C4963C);
    padding: 72px 0;
}

.poster-container {
    max-width: var(--container-max, 1140px);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 56px;
}

/* --- Poster image --- */

.poster-figure {
    margin: 0;
    flex: 0 0 auto;
}

.poster-trigger {
    display: block;
    position: relative;
    padding: 10px;
    background: #ffffff;
    border: 1px solid rgba(123, 45, 59, 0.18);
    border-radius: 3px;
    box-shadow: 0 18px 40px rgba(44, 19, 32, 0.18);
    cursor: zoom-in;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.poster-image {
    display: block;
    width: 380px;
    max-width: 100%;
    height: auto;
    border-radius: 1px;
}

.poster-zoom {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(44, 19, 32, 0.78);
    color: #ffffff;
    backdrop-filter: blur(2px);
    transition: background-color 0.3s ease;
}

.poster-zoom svg {
    width: 19px;
    height: 19px;
}

@media (hover: hover) and (pointer: fine) {
    .poster-trigger:hover {
        transform: translateY(-4px);
        box-shadow: 0 24px 50px rgba(44, 19, 32, 0.26);
    }

    .poster-trigger:hover .poster-zoom {
        background: var(--primary, #7B2D3B);
    }
}

.poster-trigger:focus-visible {
    outline: 3px solid var(--accent-gold, #C4963C);
    outline-offset: 4px;
}

/* --- Text column --- */

.poster-info {
    flex: 0 1 460px;
    min-width: 0;
}

.poster-eyebrow {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-gold, #C4963C);
    font-weight: 600;
    margin-bottom: 12px;
}

.poster-facts {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
}

.poster-facts li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.55;
    color: var(--text-primary, #2D2D2D);
}

.poster-facts li:first-child {
    font-weight: 700;
    color: var(--primary, #7B2D3B);
}

.poster-facts li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-gold, #C4963C);
}

/* --- Buttons --- */

.poster-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.poster-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.poster-btn--primary {
    background-color: var(--accent-gold, #C4963C);
    color: #ffffff;
}

.poster-btn__meta {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.8;
}

@media (hover: hover) and (pointer: fine) {
    .poster-btn--primary:hover {
        background-color: #D4A64C;
        transform: translateY(-2px);
    }
}

.poster-btn:focus-visible {
    outline: 3px solid var(--accent-gold, #C4963C);
    outline-offset: 3px;
}

/* --- Lightbox --- */

.poster-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 32px 20px;
    background: rgba(30, 13, 23, 0.97);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.poster-lightbox[hidden] {
    display: none;
}

.poster-lightbox.is-visible {
    opacity: 1;
}

.poster-lightbox__image {
    display: block;
    max-width: min(100%, 620px);
    max-height: calc(100vh - 150px);
    width: auto;
    height: auto;
    object-fit: contain;
    background: #ffffff;
    padding: 6px;
    border-radius: 2px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.poster-lightbox__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.poster-lightbox__close svg {
    width: 22px;
    height: 22px;
}

.poster-lightbox__download {
    display: inline-block;
    padding: 11px 26px;
    border-radius: 4px;
    background-color: var(--accent-gold, #C4963C);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .poster-lightbox__close:hover {
        background: rgba(255, 255, 255, 0.24);
    }

    .poster-lightbox__download:hover {
        background-color: #D4A64C;
    }
}

.poster-lightbox__close:focus-visible,
.poster-lightbox__download:focus-visible {
    outline: 3px solid var(--accent-gold, #C4963C);
    outline-offset: 3px;
}

/* --- Tablet --- */

@media (max-width: 1024px) {
    .poster-section {
        padding: 60px 0;
    }

    .poster-container {
        gap: 40px;
    }

    .poster-image {
        width: 320px;
    }
}

/* --- Stacked layout --- */

@media (max-width: 900px) {
    .poster-container {
        flex-direction: column;
        gap: 34px;
        text-align: center;
    }

    .poster-info {
        flex: 0 1 auto;
        max-width: 560px;
    }

    .poster-facts li {
        display: inline-block;
        padding-left: 0;
        text-align: center;
    }

    .poster-facts li::before {
        display: none;
    }

    .poster-actions {
        justify-content: center;
    }
}

/* --- Mobile --- */

@media (max-width: 768px) {
    .poster-section {
        padding: 46px 0;
    }

    .poster-image {
        width: 260px;
    }

    .poster-trigger {
        padding: 8px;
    }

    .poster-zoom {
        right: 16px;
        bottom: 16px;
        width: 36px;
        height: 36px;
    }

    .poster-facts li {
        font-size: 15px;
    }

    .poster-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .poster-btn {
        width: 100%;
        max-width: 280px;
    }

    .poster-lightbox {
        padding: 20px 14px;
        gap: 14px;
    }

    .poster-lightbox__image {
        max-height: calc(100vh - 140px);
    }

    .poster-lightbox__close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .poster-trigger,
    .poster-btn,
    .poster-lightbox {
        transition: none;
    }
}
