/*
Theme Name: Medicare Child
Theme URI: https://medicare.bold-themes.com
Template: medicare
Author: BoldThemes
Author URI: https://bold-themes.com
Description: Responsive theme.
Tags: one-column,right-sidebar,fluid-layout,responsive-layout,custom-menu,featured-images,sticky-post,theme-options,threaded-comments,translation-ready
Version: 2.1.7.1779346810
Updated: 2026-05-21 09:00:10

*/

/* STRONA GŁÓWNA */
/* H1 pod logo */

/* ==========================================
   UKRYTY TEKST DLA CZYTNIKÓW EKRANU I SKANERÓW (WCAG)
   ========================================== */
.wcag-ukryte {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Zmniejsz logo na mobilce */
/* Logo — skaluj pełny obraz (USK+UWM) na mobile */
@media (max-width: 1024px) {
    .menuHolder .logo a img {
        max-width: calc(100vw - 30px) !important;
        height: auto !important;
    }
}

/* MOTTO */
/* 1. Kontener */
.baner-wcag {
    width: max-content !important;
    max-width: none !important;
    margin: 0 auto !important;
    background-color: rgba(0, 0, 0, 0.65) !important;
    padding: 15px 35px !important;
    border-radius: 8px !important;
    backdrop-filter: blur(5px) !important;
    text-align: left !important;
    color: #ffffff;
    white-space: nowrap !important;
}

/* 2. Tekst desktop */
.baner-wcag, .baner-wcag * {
    font-size: 56px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9) !important;
}

/* 3. Kolory spanów z edytora */
.baner-wcag span[style*="color"],
.baner-wcag font[color] {
    color: inherit;
}

/* 4. Mobile */
@media (max-width: 768px) {
    .baner-wcag {
        width: auto !important;
        max-width: 95% !important;
        white-space: normal !important;
        padding: 10px 15px !important;
    }
    .baner-wcag, .baner-wcag * {
        font-size: clamp(20px, 7.5vw, 36px) !important;
    }
}

/* Prawa strona od logo */

/* ── Zmienna koloru — zmieniana przez klasy na <body> ──────────── */
body                              { --hc: #1d77e5; }
body.home                         { --hc: #ffffff; }
body.home.btStickyHeaderActive,
body.home.btHeaderWithScroll      { --hc: #1d77e5; }

/* ── Typografia + kolor — jeden blok zamiast czterech ───────────── */
html body :is(.btIconWidgetTitle, .btIconWidgetText, .btIconWidgetText a),
html body .btMainMenuPort .menuPort ul li a,
html body .btMainMenuPort .menuPort ul li a span.itemInnerText {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--hc) !important;
}
html body .btIconWidgetIcon::before {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--hc) !important;
}

/* ── Catch-all: .btStickyHeaderActive jako element potomny ─────── */
html body .btStickyHeaderActive :is(.btIconWidgetTitle, .btIconWidgetText, .btIconWidgetText a),
html body .btStickyHeaderActive .btMainMenuPort .menuPort ul li a,
html body .btStickyHeaderActive .btIconWidgetIcon::before {
    color: #1d77e5 !important;
}

/* ── Hover / focus-visible ─────────────────────────────────────── */
html body .btMainMenuPort .menuPort ul li a:hover,
html body .btMainMenuPort .menuPort ul li a:focus-visible,
html body .btIconWidgetText a:hover {
    color: #0b2240 !important;
    text-decoration: underline !important;
}
body.home .btMainMenuPort .menuPort ul li a:hover,
body.home .btMainMenuPort .menuPort ul li a:focus-visible {
    color: #1d77e5 !important;
}

/* Aktualności */

/* ── WCAG: focus na .btIconWidget ──────────────────────────────── */
html body .btIconWidget:focus-within        { outline: 3px solid #ffcc00 !important; outline-offset: 3px !important; }
html body .btIconWidgetText a:focus,
html body .btIconWidgetText a:focus-visible { outline: none !important; }


/* Usunięcie linku i plusa z aktualności strona główna */
.btSingleLatestPost .bpgPhoto > a { display: none !important; }
.btSingleLatestPost > .btIco { display: none !important; }


/* elementy listy 16px */
.btText li,
.tabAccordionContent li {
    font-size: 16px !important;
}

/* working hours na 16px */
.btIcoText,
.btWorkingHoursInnerTitle,
.btWorkingHoursInnerContent {
    font-size: 16px !important;
}