/* Event posters, shared by index.html and events.html */

.ayce-poster {
    position: relative;
    width: min(100vw, 56.25vh);
    aspect-ratio: 9 / 16;
    container-type: inline-size;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.ayce-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ayce-poster > *:not(.ayce-frame) {
    position: absolute;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    white-space: nowrap;
    line-height: 1;
}

.ayce-logo {
    top: 8.9%;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 5.2cqw;
    letter-spacing: 0.02em;
}

.ayce-flag {
    top: 11.9%;
    left: 31.7% !important;
    right: auto !important;
    width: 37.5%;
    height: 0.75%;
    display: flex;
}

.ayce-flag span { flex: 1; }
.ayce-flag span:nth-child(1) { background-color: #009246; }
.ayce-flag span:nth-child(2) { background-color: #ffffff; }
.ayce-flag span:nth-child(3) { background-color: #ce2b37; }

.ayce-tagline {
    top: 13.4%;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.55cqw;
    letter-spacing: 0.3em;
}

.ayce-title {
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    font-size: 6.8cqw;
    letter-spacing: 0.02em;
    color: #c6a270;
}

.ayce-date { top: 25.8%; }
.ayce-name { top: 32.4%; }

.ayce-price {
    font-family: 'Poiret One', sans-serif;
    color: #bf9a70;
}

.ayce-price-adult {
    top: 41.3%;
    font-size: 10.5cqw;
}

.ayce-text {
    top: 53.2%;
    font-family: 'Libre Baskerville', serif;
    font-size: 3.05cqw;
    line-height: 1.47 !important;
}

.ayce-price-child {
    top: 64.5%;
    left: 18.3% !important;
    text-align: left;
    font-size: 8.9cqw;
}

.ayce-age {
    top: 68.5%;
    left: 20.9% !important;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-size: 2.85cqw;
}

.ayce-reserve {
    top: 73.9%;
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 4.1cqw;
    color: #c6a270;
    text-decoration: none;
}

.ayce-contact {
    font-family: 'Poppins', sans-serif;
    font-size: 2.95cqw;
    color: #ffffff;
    text-decoration: none;
}

.ayce-mail { top: 78.6%; }
.ayce-web { top: 81.5%; }


/* ---------- Opera Dinner poster (HTML version of the A1 poster) ---------- */
.opera-poster {
    position: relative;
    width: min(92vw, 440px);
    aspect-ratio: 924 / 1308;
    container-type: inline-size;
    overflow: hidden;
    color: #fff;
    background: #000 url('../images/opera-bg.webp') center bottom / cover no-repeat;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    font-family: 'Poppins', sans-serif;
}

.opera-poster > * { position: absolute; margin: 0; line-height: 1.1; }

.op-kicker {
    left: 0; right: 0;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.1cqw;
    letter-spacing: 0.42em;
    white-space: nowrap;
}
.op-kicker-1 { top: 2.2%; }
.op-kicker-2 { top: 5.6%; }

.op-script {
    font-family: 'Great Vibes', cursive;
    font-weight: 400;
    color: #fff;
    text-shadow: 3px 3px 0 rgba(120, 120, 120, 0.7);
    white-space: nowrap;
}
.op-opera  { top: 9.5%; left: 14%; font-size: 22cqw; }
.op-dinner { top: 19.5%; left: 41%; font-size: 22cqw; }

.op-date {
    top: 34.2%; right: 8%;
    font-weight: 600;
    font-size: 4.6cqw;
    letter-spacing: 0.25em;
}

.op-artists-title {
    top: 37.5%; left: 5.5%;
    font-family: 'Great Vibes', cursive;
    font-size: 7cqw;
}

.op-artists { top: 42.5%; left: 4%; list-style: none; padding: 0; }
.op-artists li { margin-bottom: 1.35cqw; }
.op-role { display: block; padding-left: 1.3cqw; font-size: 2.6cqw; font-weight: 300; color: #ddd; }
.op-name { display: block; font-size: 2.95cqw; font-weight: 600; }

.op-course {
    top: 55%; left: 35%; width: 38%;
    white-space: nowrap;
    text-align: center;
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 3.7cqw;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}
.op-course::before, .op-course::after {
    content: "";
    display: block;
    height: 1px;
    margin: 1.5cqw 0;
    background: linear-gradient(to right, transparent, #fff 20%, #fff 80%, transparent);
}
.op-course .op-five { color: #c9a227; font-size: 9cqw; font-weight: 400; vertical-align: -0.15em; }

.op-price {
    top: 68.5%; right: 2%; width: 26%;
    padding-right: 2.5cqw;
    border-right: 1px solid #fff;
}
.op-price strong {
    display: block;
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    font-size: 5.2cqw;
    padding-left: 2cqw;
}
.op-price .op-allin {
    display: block;
    font-family: 'Libre Baskerville', serif;
    font-size: 4.8cqw;
    white-space: nowrap;
    margin-left: -2cqw;
}
.op-price p {
    margin-top: 1cqw;
    font-size: 2.1cqw;
    font-style: italic;
    line-height: 1.45;
    text-shadow: 0 1px 4px #000;
}

.op-footer {
    left: 0; right: 0; bottom: 0;
    height: 8.8%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3cqw;
    font-size: 3cqw;
    line-height: 1.2;
}
.op-footer a { color: #fff; text-decoration: none; }
.op-book { text-align: center; }
.op-book strong { display: block; font-size: 3.1cqw; }
.op-logo { text-align: center; font-family: 'Cormorant Garamond', serif; font-size: 3.4cqw; }
.op-logo .op-flag { display: flex; width: 23cqw; height: 0.7cqw; margin: 0.8cqw auto 0.4cqw; }
.op-logo .op-flag span { flex: 1; }
.op-logo .op-flag span:nth-child(1) { background: #009246; }
.op-logo .op-flag span:nth-child(2) { background: #fff; }
.op-logo .op-flag span:nth-child(3) { background: #ce2b37; }
.op-logo small { display: block; font-size: 1.2cqw; letter-spacing: 0.3em; }
.op-place { text-align: right; font-size: 3.2cqw; }
.op-place strong { display: block; }


/* ---------- Lochem On Ice poster (HTML version of the A4 flyer) ---------- */
.ice-poster {
    position: relative;
    width: var(--ice-w);
    container-type: inline-size;
    overflow: hidden;
    /* cqw on the container itself resolves against the viewport, so size it from its own width */
    --ice-w: min(92vw, 440px);
    padding: 0 calc(var(--ice-w) * 0.05) calc(var(--ice-w) * 0.04);
    color: #fff;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(120, 170, 255, 0.35), transparent 55%),
        linear-gradient(170deg, #1d3f94 0%, #1a4a9e 45%, #1f5fa8 75%, #163b86 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    font-family: 'Poppins', sans-serif;
    font-size: calc(var(--ice-w) * 0.034);
    line-height: 1.45;
}
.ice-poster * { margin: 0; }

/* String of lights along the top */
.ice-lights {
    position: absolute;
    top: 0; left: -2%; right: -2%;
    height: 14cqw;
    pointer-events: none;
    background:
        radial-gradient(circle, #fff6c4 0 0.9cqw, rgba(255, 230, 140, 0.45) 1.1cqw, transparent 2.6cqw) 0 3cqw / 9cqw 7cqw repeat-x,
        radial-gradient(circle, #fff6c4 0 0.7cqw, rgba(255, 230, 140, 0.4) 0.9cqw, transparent 2.2cqw) 4.5cqw 8cqw / 9cqw 7cqw repeat-x;
}

.ice-head { position: relative; padding-top: 7cqw; text-align: center; }
.ice-badge {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    width: 34cqw;
    aspect-ratio: 1;
    border: 0.9cqw solid #0d1f3c;
    border-radius: 50%;
    background: radial-gradient(circle, #24489a, #1a3a80);
    font-family: 'Poiret One', sans-serif;
    line-height: 1.1;
}
.ice-badge .ice-town { font-size: 7cqw; }
.ice-badge .ice-sub { font-size: 4.6cqw; }

.ice-heading {
    margin-top: 6cqw;
    font-family: 'Poiret One', sans-serif;
    font-weight: 400;
    font-size: 6.4cqw;
    letter-spacing: 0.3em;
    line-height: 1.1;
}
.ice-heading .ice-script {
    display: block;
    font-family: 'Great Vibes', cursive;
    font-size: 12cqw;
    letter-spacing: 0;
}
.ice-heading-center { text-align: center; }

/* Programme: one "ticket" per activity */
.ice-program { list-style: none; padding: 0; margin-top: 4cqw; }
.ice-program li {
    display: grid;
    grid-template-columns: 15cqw 1fr auto;
    align-items: center;
    margin-bottom: 2.6cqw;
    background: #fff;
    color: #1d3570;
    border-radius: 3cqw;
}
.ice-day {
    padding: 2cqw 0;
    text-align: center;
    font-size: 2.6cqw;
    line-height: 1;
    border-right: 0.4cqw dashed #1d3570;
}
.ice-day strong { display: block; font-size: 7.6cqw; font-weight: 400; line-height: 1.05; }
.ice-what { padding: 2cqw 3cqw; font-size: 3.4cqw; line-height: 1.35; }
.ice-what time { display: block; font-size: 3.1cqw; }
.ice-what b { font-weight: 600; }
.ice-icon { padding: 0 3cqw; font-size: 7cqw; line-height: 1; }

/* Info */
.ice-info { margin-top: 2cqw; border-left: 0.6cqw solid #fff; padding-left: 3.5cqw; }
.ice-info h4 { margin-top: 3.5cqw; font-weight: 400; font-style: italic; }
.ice-info p { color: #fff; }
.ice-info a { font-weight: 600; }

.ice-together { margin-top: 6cqw; }
.ice-together h4 { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 5.2cqw; }
.ice-together p { font-family: 'Libre Baskerville', serif; font-size: 3.2cqw; line-height: 1.7; }

/* Entrance price "gift" */
.ice-entree {
    position: relative;
    width: 62cqw;
    margin: 9cqw auto 0;
    padding: 3cqw 4cqw;
    background: #f7bfd2;
    border: 1cqw solid #1f6b3a;
    color: #0d1f3c;
}
.ice-entree::before {
    content: "🎀";
    position: absolute;
    top: -7.5cqw; left: 50%;
    transform: translateX(-50%);
    font-size: 9cqw;
    line-height: 1;
}
.ice-entree h4 { font-weight: 700; font-size: 4.6cqw; line-height: 1.05; }
.ice-entree dl { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 0 2.5cqw; margin-top: 1.5cqw; }
.ice-entree dt { font-family: 'Poiret One', sans-serif; font-size: 7.6cqw; color: #1f5fa8; line-height: 1.1; }
.ice-entree dd { font-weight: 600; font-size: 2.9cqw; }
.ice-entree p { margin-top: 1cqw; text-align: center; font-size: 2.7cqw; font-weight: 600; font-style: italic; }

/* Sponsors */
.ice-sponsors { margin-top: 7cqw; }
.ice-sponsors ul { list-style: none; padding: 0; margin-top: 2.5cqw; display: flex; gap: 3cqw; align-items: stretch; }
.ice-sponsors li {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 16cqw;
    padding: 2cqw;
    background: #fff;
    color: #222;
    text-align: center;
    line-height: 1.1;
}
.ice-sponsors .ice-giornella { background: #0C2332; color: #fff; font-family: 'Cormorant Garamond', serif; font-size: 3.6cqw; }
.ice-sponsors .ice-giornella .ice-flag { display: flex; width: 70%; height: 0.6cqw; margin: 1cqw auto; }
.ice-sponsors .ice-giornella .ice-flag span { flex: 1; }
.ice-sponsors .ice-giornella .ice-flag span:nth-child(1) { background: #009246; }
.ice-sponsors .ice-giornella .ice-flag span:nth-child(2) { background: #fff; }
.ice-sponsors .ice-giornella .ice-flag span:nth-child(3) { background: #ce2b37; }
.ice-sponsors .ice-giornella small { font-size: 1.5cqw; letter-spacing: 0.2em; }
.ice-sponsors .ice-lux { font-family: 'Libre Baskerville', serif; font-weight: 700; font-size: 6cqw; }
.ice-sponsors .ice-lux small { font-family: 'Poppins', sans-serif; font-weight: 400; font-size: 2cqw; letter-spacing: 0.25em; }
.ice-sponsors .ice-lounge { flex: 0 0 24cqw; aspect-ratio: 1; min-height: 0; border-radius: 50%; background: #e9e2da; font-family: 'Great Vibes', cursive; font-size: 5cqw; color: #6b5a4a; }
