/* Lord Yachting – cookie consent theme (19.11.2026.)
   Colours and fonts from css/style.css: navy #000051, gold #fbc02d, text #3c3c3c,
   Inter-Regular for text, Cardillac for headings. */

#cc-main {
    --cc-font-family: "Inter-Regular", sans-serif;
    --cc-modal-border-radius: .3rem;
    --cc-btn-border-radius: .3rem;
    --cc-bg: #ffffff;
    --cc-primary-color: #000051;
    --cc-secondary-color: #3c3c3c;
    --cc-link-color: #000051;

    /* Equal weight: every button has the same look */
    --cc-btn-primary-bg: #000051;
    --cc-btn-primary-color: #ffffff;
    --cc-btn-primary-border-color: #000051;
    --cc-btn-primary-hover-bg: #fbc02d;
    --cc-btn-primary-hover-color: #000000;
    --cc-btn-primary-hover-border-color: #fbc02d;
    --cc-btn-secondary-bg: #000051;
    --cc-btn-secondary-color: #ffffff;
    --cc-btn-secondary-border-color: #000051;
    --cc-btn-secondary-hover-bg: #fbc02d;
    --cc-btn-secondary-hover-color: #000000;
    --cc-btn-secondary-hover-border-color: #fbc02d;

    --cc-separator-border-color: #d0d0dc;
    --cc-toggle-on-bg: #000051;
    --cc-toggle-off-bg: #8888a5;
    --cc-toggle-readonly-bg: #d0d0dc;
    --cc-toggle-readonly-knob-icon-color: #d0d0dc;
    --cc-cookie-category-block-bg: #f0f0f2;
    --cc-cookie-category-block-border: #f0f0f2;
    --cc-cookie-category-block-hover-bg: #e6e6e6;
    --cc-cookie-category-block-hover-border: #e6e6e6;
    --cc-cookie-category-expanded-block-bg: #ffffff;
    --cc-cookie-category-expanded-block-hover-bg: #f0f0f2;
    --cc-footer-bg: #f0f0f2;
    --cc-footer-color: #3c3c3c;
    --cc-footer-border-color: #d0d0dc;
    --cc-overlay-bg: rgba(0, 0, 81, .45);
}

#cc-main .cm__title,
#cc-main .pm__title {
    font-family: "Cardillac", serif;
    font-weight: normal;
    letter-spacing: .02em;
}

#cc-main .cm__desc,
#cc-main .pm__section-desc {
    line-height: 1.6;
}

#cc-main a,
#cc-main .cc__link {
    text-decoration: underline;
    text-underline-offset: 2px;
}

#cc-main .cm__btn:focus-visible,
#cc-main .pm__btn:focus-visible,
#cc-main a:focus-visible,
#cc-main .section__toggle:focus-visible + .toggle__icon {
    outline: 3px solid #fbc02d;
    outline-offset: 2px;
}

/* Footer links "Cookie settings" / "Cookie policy" use the existing footer style */
.footer__links a[data-cc] { cursor: pointer; }

/* ---------- shared small button ---------- */
.ly-cc-btn {
    display: inline-block;
    font: inherit;
    font-size: .875rem;
    line-height: 1.2;
    color: #ffffff;
    background: #000051;
    border: 1px solid #000051;
    border-radius: .3rem;
    padding: .55rem .9rem;
    margin: 0 .4rem .4rem 0;
    cursor: pointer;
}
.ly-cc-btn::after { content: none !important; }
.ly-cc-btn:hover { background: #fbc02d; border-color: #fbc02d; color: #000; }
.ly-cc-btn:focus-visible { outline: 3px solid #fbc02d; outline-offset: 2px; }

/* ---------- Google Translate placeholder (looks like the widget select) ---------- */
.ly-gt-btn {
    display: inline-block;
    font: inherit;
    font-size: .875rem;
    background: #e6e6e6;
    color: #3c3c3c;
    border: none;
    border-radius: 3px;
    padding: 6px 8px;
    cursor: pointer;
}
.ly-gt-btn::after { content: none !important; }
#google_translate_element .ly-gt-btn { margin-top: 16px; width: 140px; text-align: left; }
#google_translate_elementMobile .ly-gt-btn { margin: 16px 10px 0 20px; width: 55%; text-align: left; }
.ly-gt-btn:focus-visible { outline: 3px solid #fbc02d; outline-offset: 2px; }

.ly-gt-prompt {
    position: fixed;
    z-index: 2147483000;
    left: 50%;
    top: 5.5rem;              /* below the navigation, never covers the cookie banner */
    transform: translateX(-50%);
    width: min(28rem, calc(100% - 2rem));
    background: #ffffff;
    color: #3c3c3c;
    border-radius: .3rem;
    box-shadow: 0 .5rem 2rem rgba(0, 0, 81, .25);
    padding: 1.1rem 1.2rem .6rem;
    font-family: "Inter-Regular", sans-serif;
    font-size: .875rem;
    line-height: 1.5;
}
.ly-gt-prompt p { margin: 0 0 .7rem; opacity: 1; }
.ly-gt-prompt a { color: #000051; text-decoration: underline; }
.ly-gt-prompt__title { font-family: "Cardillac", serif; font-size: 1.15rem; color: #000051; }

/* ---------- small legal links on mail/ and pdf/ pages (no regular footer there) ---------- */
.ly-cc-mini {
    clear: both;
    text-align: center;
    font-family: "Inter-Regular", sans-serif;
    font-size: .8125rem;
    padding: 1.5rem 1rem 2rem;
    color: #3c3c3c;
}
.ly-cc-mini a { color: #000051; text-decoration: underline; margin: 0 .5rem; }
@media print { .ly-cc-mini, .ly-gt-btn, .ly-gt-prompt, #cc-main { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
    #cc-main { --cc-modal-transition-duration: 0s; }
}
