/* Explain: Styles for accessibility link and cookie consent banner. */
/* Legal & accessibility helpers: skip-to-content link + cookie-consent banner. */

/* Skip link (accessibility — visible on keyboard focus only) */
.skip-link {
    position: absolute;
    inset-inline-start: 1rem;
    top: -64px;
    z-index: 100;
    background: var(--primary-color);
    color: #fff;
    padding: 0.7rem 1.15rem;
    border-radius: 0 0 10px 10px;
    font-weight: 600;
    font-family: var(--font-body);
    box-shadow: var(--shadow-md);
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 0;
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Cookie consent banner — slim bar pinned to the bottom of the screen. */
.legal-cookie-banner {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 90;
    background: #fff;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -6px 18px rgba(10, 61, 98, 0.12);
    padding: 0.5rem 0.85rem;
    max-height: 90px;
    overflow: hidden;
}
.legal-cookie-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.45rem 0.85rem;
    align-items: center;
    justify-content: space-between;
}
.legal-cookie-text {
    font-size: 0.8rem;
    line-height: 1.3;
    color: var(--text-muted);
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
}
.legal-cookie-text a {
    color: var(--primary-color);
    text-decoration: underline;
    white-space: nowrap;
}
.legal-cookie-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.45rem;
    flex: 0 0 auto;
}
.legal-cookie-actions .btn {
    min-height: 34px;
    padding: 0.3rem 1rem;
    font-size: 0.82rem;
    border-radius: 9px;
}

@media (min-width: 900px) {
    .legal-cookie-banner { padding: 0.65rem 1.25rem; max-height: none; }
    .legal-cookie-text { font-size: 0.85rem; }
}