
/* ---------- Cookie notice: compact on small screens ---------- */

@media (max-width: 575.98px) {
    .cky-consent-container { max-height: 62vh; overflow-y: auto; }
    .cky-consent-container .cky-consent-bar { padding: 14px 16px !important; }
    .cky-notice .cky-title { font-size: 15px !important; margin-bottom: 6px !important; }
    .cky-notice-des, .cky-notice-des p { font-size: 12.5px !important; line-height: 1.45 !important; }
    .cky-consent-bar .cky-notice-btn-wrapper { display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; gap: 8px !important; width: 100% !important; margin-top: 10px !important; }
    .cky-consent-bar .cky-notice-btn-wrapper .cky-btn { flex: 1 1 0 !important; width: auto !important; margin: 0 !important; padding: 9px 8px !important; font-size: 12px !important; min-height: 40px; }
}

/* ---------- Breadcrumb / hero text legibility ---------- */

.breadcumb-wrapper .breadcumb-title,
.breadcumb-wrapper .breadcumb-content,
.breadcumb-wrapper .breadcumb-content * { text-shadow: 0 1px 3px rgba(0,0,0,.55); }

/* ---------- Cookie preference panel: full-width sheet on small screens ----------
   The panel is 845 px wide inside a 390 px viewport, which pushed every page
   15 px past the viewport. It is now a scrollable sheet that cannot widen the
   document, and it keeps its own scrolling when open. */

@media (max-width: 767.98px) {
    .cky-preference-wrapper { position: fixed !important; inset: 0 !important; overflow: auto !important; z-index: 999999 !important; }
    .cky-preference-center { width: 100% !important; max-width: 100% !important; left: 0 !important; right: 0 !important; margin: 0 !important; transform: none !important; border-radius: 0 !important; }
    .cky-preference { max-width: 100% !important; }
    .cky-preference-header, .cky-preference-body-wrapper, .cky-preference-content-wrapper { max-width: 100% !important; }
}
