/* Cookie consent card and click-to-load embed placeholders */
.cookie-consent {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1080;
    width: min(340px, calc(100vw - 40px));
    padding: 14px 16px 12px;
    border-radius: 14px;
    background: rgba(0, 43, 54, 0.92);
    color: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 20, 28, 0.35);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    font-size: 0.8125rem;
    line-height: 1.45;
    animation: cookie-consent-in 320ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes cookie-consent-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-consent { animation: none; }
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent__title {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.cookie-consent__text {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0 0 12px;
}

.cookie-consent__text i {
    flex: 0 0 auto;
    margin-top: 1px;
    font-size: 1.05rem;
    color: var(--brand-gold, #E7CE67);
}

.cookie-consent__actions {
    display: flex;
    gap: 8px;
}

.cookie-consent__actions button {
    flex: 1 1 0;
    padding: 7px 6px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.cookie-consent__actions button:hover,
.cookie-consent__actions button:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
    outline: none;
}

.cookie-consent__meta {
    display: flex;
    gap: 14px;
    margin-top: 9px;
    font-size: 0.72rem;
}

.cookie-consent__meta a,
.cookie-consent__meta button {
    padding: 0;
    border: 0;
    background: none;
    color: rgba(255, 255, 255, 0.6);
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}

.cookie-consent__meta a:hover,
.cookie-consent__meta button:hover,
.cookie-consent__meta a:focus-visible,
.cookie-consent__meta button:focus-visible {
    color: #ffffff;
    outline: none;
}

.cookie-consent__settings {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.76rem;
}

.cookie-consent__settings[hidden] {
    display: none;
}

.cookie-consent__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 0;
    cursor: pointer;
}

.cookie-consent__row input {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 auto;
    width: 30px;
    height: 17px;
    margin: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    cursor: pointer;
    transition: background 0.15s ease;
}

.cookie-consent__row input::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #ffffff;
    transition: transform 0.15s ease;
}

.cookie-consent__row input:checked {
    background: var(--brand-gold, #E7CE67);
}

.cookie-consent__row input:checked::after {
    transform: translateX(13px);
}

.cookie-consent__row input:focus-visible {
    outline: 2px solid rgba(231, 206, 103, 0.7);
    outline-offset: 2px;
}

.cookie-consent__muted {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
}

.cookie-consent__save {
    align-self: flex-end;
    margin-top: 2px;
    padding: 6px 14px;
    border-radius: 9px;
    border: 0;
    background: var(--brand-gold, #E7CE67);
    color: #003845;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
}

.cookie-consent__save:hover,
.cookie-consent__save:focus-visible {
    background: #f1dc84;
    outline: none;
}

@media (max-width: 480px) {
    .cookie-consent {
        left: 10px;
        right: 10px;
        bottom: 10px;
        width: auto;
    }
}

.embed-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
}

.embed-placeholder__card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px 24px;
    border-radius: 12px;
    background: linear-gradient(180deg, #005365 0%, #002b36 100%);
    color: #ffffff;
    text-align: center;
}

.embed-placeholder__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    border: 0;
    background: var(--brand-gold, #E7CE67);
    color: #003845;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.embed-placeholder__button i {
    font-size: 1.4rem;
    line-height: 1;
}

.embed-placeholder__button:hover,
.embed-placeholder__button:focus-visible {
    background: #f1dc84;
}

.embed-placeholder__notice {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 420px;
}

.embed-placeholder.is-loaded iframe {
    display: block;
    width: 100%;
    border: 0;
}
