/* ==========================================================================
   FLOW STUDIO OLSZTYN — SYSTEM STYLU 2.1 (MIDNIGHT NAVY + CIEPŁY BEŻ · KARUNA)
   ========================================================================== */
:root {
    --flow-bg-deep: #0b1926;
    --flow-bg-mid: #112638;
    --flow-bg-elevated: #152e44;
    --flow-navy-dark: #0c1b29;
    --flow-beige: #d8cab8;
    --flow-beige-rich: #c8b39a;
    --flow-beige-soft: rgba(216, 202, 184, 0.22);
    --flow-beige-strong: rgba(216, 202, 184, 0.55);
    --flow-beige-light: #f5efe6;
    --flow-blue-link: #c5e7f5;
    --flow-surface: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(216, 202, 184, 0.025) 100%);
    --flow-surface-hover: linear-gradient(160deg, rgba(255, 255, 255, 0.095) 0%, rgba(216, 202, 184, 0.05) 100%);
    --flow-shadow-card: 0 14px 34px rgba(4, 11, 18, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    --flow-shadow-hover: 0 20px 44px rgba(4, 11, 18, 0.42), inset 0 1px 0 rgba(245, 239, 230, 0.14);
    --flow-max-width: 1240px;
}

html {
    scroll-behavior: smooth;
    background-color: var(--flow-bg-deep) !important;
}

body,
.site {
    background-color: var(--flow-bg-deep) !important;
    background-image:
        radial-gradient(ellipse 85% 50% at 50% -8%, rgba(34, 78, 112, 0.42) 0%, transparent 65%),
        radial-gradient(ellipse 55% 35% at 88% 18%, rgba(216, 202, 184, 0.065) 0%, transparent 60%),
        linear-gradient(180deg, #0f2335 0%, #0b1926 48%, #091420 100%) !important;
    background-attachment: fixed;
    color: rgba(255, 255, 255, 0.92);
}

/* ==========================================================================
1. DELIKATNY TYTUŁ H1 BEZ KRESKI (STRONA GŁÓWNA + PODSTRONY, BEZ BLOGA)
   ========================================================================== */
html body.home .entry-header,
html body.page .entry-header {
    display: block !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 18px auto 8px auto !important;
    padding: 0 !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

html body.home .entry-title,
html body.page .entry-title,
html body.home .wp-block-post-title,
html body.page .wp-block-post-title,
html body.home .entry-header h1,
html body.page .entry-header h1 {
    display: block !important;
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.16em !important;
    text-align: left !important;
    color: var(--flow-beige) !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
}

html body.home .entry-title::before,
html body.page .entry-title::before,
html body.home .wp-block-post-title::before,
html body.page .wp-block-post-title::before,
html body.home .entry-header h1::before,
html body.page .entry-header h1::before {
    content: none !important;
    display: none !important;
}

/* ==========================================================================
2. GÓRNE MENU I STOPKA POD MOTYW KARUNA (PEŁNA SZEROKOŚĆ + GRANAT)
   ========================================================================== */
#masthead,
.site-header {
    width: 100% !important;
    max-width: 100% !important;
    background: rgba(9, 20, 32, 0.94) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(216, 202, 184, 0.18) !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.24);
}

.sticky-wrapper,
.top-bar,
.site-branding-wrapper,
.site-header .site-branding,
.site-header .main-navigation,
.site-header .main-navigation > div {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.site-branding-wrapper {
    max-width: var(--flow-max-width) !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
}

/* Przyklejone menu podczas przewijania w Karunie */
.sticky-wrapper.is-sticky .site-branding-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    background: rgba(9, 20, 32, 0.96) !important;
    border-bottom: 1px solid rgba(216, 202, 184, 0.2) !important;
    padding-left: max(24px, calc((100vw - var(--flow-max-width)) / 2 + 24px)) !important;
    padding-right: max(24px, calc((100vw - var(--flow-max-width)) / 2 + 24px)) !important;
}

.top-bar {
    border-bottom: 1px solid rgba(216, 202, 184, 0.1) !important;
}

@media (min-width: 960px) {
    .main-navigation ul,
    .primary-navigation ul,
    .site-header nav ul {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 22px !important;
    }

    .main-navigation li,
    .primary-navigation li,
    .site-header nav li {
        margin: 0 !important;
        white-space: nowrap !important;
    }

    .main-navigation a,
    .primary-navigation a,
    .site-header nav a {
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        letter-spacing: 0.07em !important;
        color: rgba(255, 255, 255, 0.88) !important;
        text-decoration: none !important;
        padding: 6px 2px !important;
        transition: color 0.2s ease, opacity 0.2s ease !important;
    }

    .main-navigation a:hover,
    .primary-navigation a:hover,
    .site-header nav a:hover,
    .main-navigation .current-menu-item > a,
    .primary-navigation .current-menu-item > a,
    .site-header nav .current-menu-item > a {
        color: var(--flow-beige-light) !important;
    }

    .main-navigation > div > ul > li:last-child > a,
    .primary-navigation > div > ul > li:last-child > a,
    .site-header nav ul > li:last-child > a {
        background: linear-gradient(135deg, var(--flow-beige-light) 0%, var(--flow-beige) 100%) !important;
        color: var(--flow-navy-dark) !important;
        opacity: 1 !important;
        font-weight: 700 !important;
        padding: 10px 20px !important;
        border-radius: 9px !important;
        margin-left: 8px !important;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24) !important;
        transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
    }

    .main-navigation > div > ul > li:last-child > a:hover,
    .primary-navigation > div > ul > li:last-child > a:hover,
    .site-header nav ul > li:last-child > a:hover {
        filter: brightness(1.06);
        color: var(--flow-navy-dark) !important;
        transform: translateY(-1px);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34) !important;
    }

    /* Rozwijane podmenu (np. OFERTA) */
    .main-navigation ul ul,
    .primary-navigation ul ul {
        display: block !important;
        background: #0d1e2e !important;
        border: 1px solid rgba(216, 202, 184, 0.28) !important;
        border-radius: 10px !important;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45) !important;
        padding: 8px 0 !important;
    }

    .main-navigation ul ul li,
    .primary-navigation ul ul li {
        display: block !important;
        width: 100% !important;
    }

    .main-navigation ul ul a,
    .primary-navigation ul ul a {
        display: block !important;
        color: rgba(255, 255, 255, 0.9) !important;
        padding: 9px 18px !important;
    }

    .main-navigation ul ul a:hover,
    .primary-navigation ul ul a:hover {
        background: rgba(216, 202, 184, 0.12) !important;
        color: var(--flow-beige-light) !important;
    }
}

@media (max-width: 959px) {
    .menu-toggle {
        color: var(--flow-beige-light) !important;
        border: 1px solid rgba(216, 202, 184, 0.32) !important;
        background: rgba(216, 202, 184, 0.08) !important;
        border-radius: 8px !important;
    }

    .main-navigation.toggled ul {
        background: #0d1e2e !important;
        border-top: 1px solid rgba(216, 202, 184, 0.16) !important;
        padding: 12px 16px !important;
    }

    .main-navigation.toggled a {
        color: rgba(255, 255, 255, 0.9) !important;
    }

    .main-navigation > div > ul > li:last-child,
    .primary-navigation > div > ul > li:last-child,
    .site-header nav ul > li:last-child {
        text-align: left !important;
        border-bottom: none !important;
        padding-top: 14px !important;
        padding-bottom: 10px !important;
    }

    .main-navigation > div > ul > li:last-child > a,
    .primary-navigation > div > ul > li:last-child > a,
    .site-header nav ul > li:last-child > a {
        display: inline-block !important;
        width: auto !important;
        max-width: max-content !important;
        background: linear-gradient(135deg, var(--flow-beige-light) 0%, var(--flow-beige) 100%) !important;
        color: var(--flow-navy-dark) !important;
        opacity: 1 !important;
        font-weight: 700 !important;
        padding: 10px 22px !important;
        border-radius: 9px !important;
        margin: 0 !important;
    }
}

/* Stopka Karuny */
#colophon,
.site-footer {
    background: linear-gradient(180deg, rgba(8, 17, 27, 0.88) 0%, #071019 100%) !important;
    border-top: 1px solid rgba(216, 202, 184, 0.18) !important;
    margin-top: 56px;
    color: rgba(255, 255, 255, 0.82) !important;
}

.footer-widgets-wrapper,
.site-info {
    max-width: var(--flow-max-width) !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    background: transparent !important;
    box-sizing: border-box !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.site-footer a,
#colophon a {
    color: var(--flow-beige) !important;
    transition: color 0.2s ease;
}

.site-footer a:hover,
#colophon a:hover {
    color: var(--flow-beige-light) !important;
}

/* ==========================================================================
3. ODBLOKOWANIE SZEROKOŚCI 1240px W KARUNIE I TYPOGRAFIA
   ========================================================================== */
#content,
.site-content {
    max-width: var(--flow-max-width) !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

#primary,
.content-area,
.no-sidebar .content-area,
.no-sidebar:not(.page-template-full-width-page):not(.page-template-front-page) .content-area,
body.page .content-area,
body.home .content-area,
body.page .site-main,
body.home .site-main,
body.page .hentry,
body.home .hentry,
body.page .entry-content,
body.home .entry-content,
.site-main:has(.flow-oferta),
.entry-content:has(.flow-oferta),
.wp-block-post-content:has(.flow-oferta),
.entry-content > *:has(.flow-oferta),
.wp-block-post-content > *:has(.flow-oferta),
.entry-content > .wp-block-html,
.wp-block-post-content > .wp-block-html,
.entry-content > .flow-oferta,
.wp-block-post-content > .flow-oferta {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
}

.flow-oferta {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.72;
    font-size: 1.04rem;
}

.flow-oferta strong {
    color: #ffffff;
}

.flow-oferta a:not(.flow-btn):not(.flow-btn-outline) {
    color: var(--flow-blue-link);
    text-decoration: underline;
    text-decoration-color: rgba(197, 231, 245, 0.42);
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.flow-oferta a:not(.flow-btn):not(.flow-btn-outline):hover {
    color: var(--flow-beige-light);
    text-decoration-color: var(--flow-beige);
}

.flow-oferta h2 {
    margin-top: 64px;
    margin-bottom: 22px;
    font-size: clamp(1.48rem, 2.2vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
    color: #ffffff;
    border-bottom: 1px solid rgba(216, 202, 184, 0.2);
    padding-bottom: 14px;
}

.flow-lead {
    font-size: clamp(1.16rem, 1.6vw, 1.32rem);
    font-weight: 500;
    line-height: 1.58;
    margin-bottom: 18px;
    color: var(--flow-beige-light);
    max-width: 960px;
}

.flow-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--flow-beige);
    margin: 0 0 10px 0;
}

.flow-eyebrow::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, var(--flow-beige) 0%, rgba(216, 202, 184, 0.25) 100%);
}

.flow-badge {
    display: inline-block;
    font-size: 0.77rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--flow-beige-light);
    background: rgba(216, 202, 184, 0.11);
    border: 1px solid rgba(216, 202, 184, 0.3);
    border-radius: 999px;
    padding: 4px 12px;
    margin: 4px 6px 8px 0;
}

/* ==========================================================================
4. STRONA GŁÓWNA (HERO + PASEK ZAUFANIA) ORAZ SEKCJE ZE ZDJĘCIAMI
   ========================================================================== */
.flow-home-hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
    padding: 20px 0 14px 0;
}

.flow-home-title {
    font-size: clamp(2.1rem, 3.6vw, 3rem) !important;
    line-height: 1.14 !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    text-transform: none !important;
    text-align: left !important;
    color: #ffffff !important;
    margin: 0 0 20px 0 !important;
}

.flow-home-hero-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 20px;
    border: 1px solid rgba(216, 202, 184, 0.28);
    box-shadow: 0 26px 56px rgba(0, 0, 0, 0.45);
    display: block;
}

.flow-trust-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 36px 0 54px 0;
    padding: 26px 28px;
    background: var(--flow-surface);
    border: 1px solid rgba(216, 202, 184, 0.2);
    border-top: 2px solid var(--flow-beige);
    border-radius: 18px;
    box-shadow: var(--flow-shadow-card);
}

.flow-trust-item strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--flow-beige-light);
    line-height: 1.2;
    margin-bottom: 4px;
}

.flow-trust-item span {
    display: block;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.42;
}

.flow-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 44px;
    align-items: center;
    margin-bottom: 36px;
}

.flow-hero-img {
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: 520px;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 20px;
    border: 1px solid rgba(216, 202, 184, 0.28);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.42);
    display: block;
}

.flow-foto-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.flow-foto-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center center;
    border-radius: 16px;
    border: 1px solid rgba(216, 202, 184, 0.24);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
    display: block;
}

/* Sekcja zdjęcie + tekst obok siebie (.flow-split) */
.flow-oferta .flow-split {
    display: grid !important;
    grid-template-columns: 1.08fr 1fr !important;
    gap: 44px !important;
    align-items: stretch !important;
    margin: 30px 0 46px 0 !important;
}

.flow-oferta .flow-split > div:first-child {
    display: flex;
}

.flow-oferta .flow-split > div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flow-oferta .flow-split img {
    width: 100% !important;
    height: 100% !important;
    min-height: 380px;
    max-height: 490px;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center 20% !important;
    border-radius: 18px;
    border: 1px solid rgba(216, 202, 184, 0.26);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.4);
    display: block;
}

.flow-oferta .flow-split .flow-btn-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 0 0;
}

/* ==========================================================================
5. SIATKI, KARTY OFERTY, IKONY SVG I KARTY ZESPOŁU
   ========================================================================== */
.flow-oferta .flow-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px;
    margin: 26px 0;
}

.flow-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 26px 0;
}

.flow-oferta .flow-karta {
    display: flex;
    flex-direction: column;
    min-width: 0 !important;
    overflow: hidden;
    background: var(--flow-surface);
    border: 1px solid rgba(216, 202, 184, 0.16);
    border-radius: 16px;
    padding: 28px 26px;
    box-shadow: var(--flow-shadow-card);
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.flow-oferta .flow-karta:hover {
    background: var(--flow-surface-hover);
    border-color: rgba(216, 202, 184, 0.48);
    transform: translateY(-3px);
    box-shadow: var(--flow-shadow-hover);
}

.flow-karta h3 {
    margin: 0 0 10px 0;
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
}

.flow-karta p {
    margin: 0 0 12px 0;
    font-size: 0.97rem;
    color: rgba(255, 255, 255, 0.86);
}

.flow-karta p:last-child {
    margin-bottom: 0;
}

.flow-card-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--flow-beige);
    margin-bottom: 8px;
}

/* Minimalistyczne ikony liniowe SVG oraz spójne numerki kroków 01/02/03 */
.flow-icon-box,
.flow-step-num {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(216, 202, 184, 0.14) 0%, rgba(216, 202, 184, 0.06) 100%);
    border: 1px solid rgba(216, 202, 184, 0.3);
    color: var(--flow-beige);
    margin-bottom: 18px;
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.flow-step-num {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1;
}

.flow-icon-box svg {
    width: 22px;
    height: 22px;
    display: block;
}

.flow-karta:hover .flow-icon-box,
.flow-karta:hover .flow-step-num {
    background: rgba(216, 202, 184, 0.2);
    border-color: var(--flow-beige);
    color: var(--flow-beige-light);
    transform: translateY(-1px);
}

.flow-card-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 16px;
}

.flow-card-sq {
    width: 96px !important;
    height: 96px !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 14px;
    border: 1px solid rgba(216, 202, 184, 0.26);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
    flex-shrink: 0;
    display: block;
}

.flow-oferta .flow-team-sq {
    width: 118px !important;
    min-width: 118px !important;
    max-width: 118px !important;
    height: 118px !important;
    max-height: 118px !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 15%;
    border-radius: 14px;
    border: 1px solid rgba(216, 202, 184, 0.28);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.36);
    flex-shrink: 0;
    display: block;
    margin: 0 !important;
}

.flow-oferta .flow-karta:has(.flow-team-sq) .flow-card-head {
    align-items: flex-start !important;
}

.flow-card-meta {
    min-width: 0;
}

.flow-card-meta .flow-card-tag {
    margin-bottom: 5px;
    line-height: 1.3;
}

.flow-card-meta h3 {
    margin: 0;
    font-size: 1.14rem;
    line-height: 1.25;
}

.flow-oferta .flow-team-creds {
    display: block;
    font-size: 0.82rem;
    color: var(--flow-beige);
    margin-top: 4px;
    line-height: 1.35;
}

.flow-card-prices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px 0;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(216, 202, 184, 0.14);
}

.flow-card-prices .flow-badge {
    margin: 0;
    padding: 4px 10px;
    font-size: 0.77rem;
    line-height: 1.3;
    border-radius: 6px;
    background: rgba(216, 202, 184, 0.09);
    border: 1px solid rgba(216, 202, 184, 0.26);
}

.flow-card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
}

.flow-card-links a {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--flow-beige-light) !important;
    background: rgba(216, 202, 184, 0.09);
    border: 1px solid rgba(216, 202, 184, 0.34);
    border-radius: 8px;
    text-decoration: none !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.flow-card-links a:hover {
    background: var(--flow-beige) !important;
    border-color: var(--flow-beige) !important;
    color: var(--flow-navy-dark) !important;
    transform: translateY(-1px);
}

@media (min-width: 761px) {
    .flow-oferta .flow-grid.flow-team-grid > .flow-karta {
        display: grid !important;
        grid-template-rows: subgrid !important;
        grid-row: span 4 !important;
        row-gap: 0 !important;
    }

    .flow-oferta .flow-grid.flow-team-grid > .flow-karta .flow-card-prices {
        align-items: flex-start;
        align-content: flex-start;
        align-self: stretch;
    }

    .flow-oferta .flow-grid.flow-team-grid > .flow-karta .flow-card-links {
        align-self: end;
    }
}

.flow-note {
    background: linear-gradient(90deg, rgba(216, 202, 184, 0.11) 0%, rgba(216, 202, 184, 0.04) 100%);
    border: 1px solid rgba(216, 202, 184, 0.18);
    border-left: 3px solid var(--flow-beige);
    border-radius: 0 14px 14px 0;
    padding: 18px 24px;
    margin: 28px 0;
    font-size: 0.96rem;
}

.flow-note p {
    margin: 0;
}

.flow-lista {
    padding-left: 20px;
    margin: 16px 0 24px 0;
}

.flow-lista li {
    margin-bottom: 12px;
}

.flow-lista li::marker {
    color: var(--flow-beige);
}

/* Ramka pod nowoczesne wykresy i schematy SVG */
.flow-diagram-box {
    margin: 34px 0;
    padding: 28px 26px;
    background: linear-gradient(160deg, rgba(17, 38, 56, 0.85) 0%, rgba(11, 25, 38, 0.92) 100%);
    border: 1px solid rgba(216, 202, 184, 0.24);
    border-top: 2px solid var(--flow-beige);
    border-radius: 18px;
    box-shadow: var(--flow-shadow-card);
    overflow: hidden;
}

.flow-diagram-box svg {
    width: 100%;
    height: auto;
    display: block;
}

.flow-diagram-caption {
    margin: 14px 0 0 0;
    font-size: 0.85rem;
    color: var(--flow-beige);
    opacity: 0.88;
    text-align: center;
}

/* ==========================================================================
6. PRZYCISKI CTA I SEKCJA ZAMYKAJĄCA
   ========================================================================== */
.flow-btn-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0;
}

.flow-cta-box .flow-btn-wrap {
    justify-content: center;
}

.flow-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ffffff 0%, var(--flow-beige-light) 55%, var(--flow-beige) 100%) !important;
    color: var(--flow-navy-dark) !important;
    font-weight: 700 !important;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.flow-btn:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.38);
}

.flow-btn-outline {
    display: inline-block;
    background: rgba(216, 202, 184, 0.06) !important;
    color: var(--flow-beige-light) !important;
    border: 1px solid rgba(216, 202, 184, 0.45) !important;
    font-weight: 600 !important;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 14px 26px;
    border-radius: 10px;
    text-decoration: none !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.flow-btn-outline:hover {
    background: rgba(216, 202, 184, 0.16) !important;
    border-color: var(--flow-beige) !important;
    transform: translateY(-1px);
}

.flow-cta-box {
    margin-top: 56px;
    padding: 44px 32px;
    text-align: center;
    background:
        radial-gradient(ellipse 75% 65% at 50% 0%, rgba(216, 202, 184, 0.12) 0%, transparent 70%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.065) 0%, rgba(216, 202, 184, 0.03) 100%);
    border: 1px solid rgba(216, 202, 184, 0.26);
    border-top: 2px solid var(--flow-beige);
    border-radius: 20px;
    box-shadow: var(--flow-shadow-card);
}

.flow-cta-box h2 {
    margin-top: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.flow-cta-box > p:not(.flow-eyebrow):not(.flow-nap) {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.flow-nap {
    margin-top: 22px;
    font-size: 0.88rem;
    color: var(--flow-beige);
    opacity: 0.88;
}

/* ==========================================================================
7. CENNIK, NAWIGACJA KATEGORII I FAQ
   ========================================================================== */
.flow-jump-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 38px 0;
}

.flow-jump-nav a {
    display: inline-block;
    padding: 9px 18px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--flow-beige-light) !important;
    background: var(--flow-surface);
    border: 1px solid rgba(216, 202, 184, 0.24);
    border-radius: 999px;
    text-decoration: none !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.flow-jump-nav a:hover {
    background: rgba(216, 202, 184, 0.16);
    border-color: var(--flow-beige);
    transform: translateY(-1px);
}

.flow-section-anchor {
    scroll-margin-top: 90px;
}

.flow-cennik {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 22px 0;
    background: var(--flow-surface);
    border: 1px solid rgba(216, 202, 184, 0.18);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--flow-shadow-card);
}

.flow-cennik th,
.flow-cennik td {
    border: none;
    border-bottom: 1px solid rgba(216, 202, 184, 0.12);
    padding: 16px 20px;
    text-align: left;
}

.flow-cennik tbody tr:last-child td {
    border-bottom: none;
}

.flow-cennik th {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--flow-beige);
    background: rgba(216, 202, 184, 0.08);
    border-bottom: 1px solid rgba(216, 202, 184, 0.24);
}

.flow-cennik td:last-child,
.flow-cennik th:last-child {
    text-align: right;
    font-weight: 700;
    white-space: nowrap;
}

.flow-cennik tbody td:last-child {
    color: var(--flow-beige-light);
}

.flow-cennik tbody tr:hover {
    background: rgba(216, 202, 184, 0.05);
}

.flow-price-sub {
    display: block;
    font-size: 0.84rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.72);
    margin-top: 3px;
}

.flow-faq {
    background: var(--flow-surface);
    border: 1px solid rgba(216, 202, 184, 0.16);
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.flow-faq[open],
.flow-faq:hover {
    border-color: rgba(216, 202, 184, 0.38);
    background: var(--flow-surface-hover);
}

.flow-faq summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    list-style: none;
}

.flow-faq summary::-webkit-details-marker {
    display: none;
}

.flow-faq summary::after {
    content: "+";
    color: var(--flow-beige);
    font-size: 1.3rem;
    font-weight: 400;
    flex-shrink: 0;
}

.flow-faq[open] summary::after {
    content: "−";
}

.flow-faq p {
    margin: 14px 0 0 0;
    font-size: 0.96rem;
    color: rgba(255, 255, 255, 0.86);
}

/* ==========================================================================
8. FORMULARZE (WODGURU + KONTAKT) I GRAFIK ZAJĘĆ GRUPOWYCH
   ========================================================================== */
.flow-form-box {
    max-width: 980px;
    margin: 28px auto;
    padding: 32px 30px;
    background: var(--flow-surface);
    border: 1px solid rgba(216, 202, 184, 0.22);
    border-top: 2px solid var(--flow-beige);
    border-radius: 18px;
    box-shadow: var(--flow-shadow-card);
}

.flow-form-box label,
.flow-form-box .grunion-field-label {
    display: block !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: var(--flow-beige-light) !important;
    margin-bottom: 6px !important;
}

.flow-form-box .grunion-field-wrap,
.flow-form-box .wp-block-jetpack-field-select,
.flow-form-box .wp-block-jetpack-field-textarea {
    margin-bottom: 18px !important;
}

.flow-form-box input[type="text"],
.flow-form-box input[type="email"],
.flow-form-box input[type="tel"],
.flow-form-box select,
.flow-form-box textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background-color: rgba(255, 255, 255, 0.065) !important;
    border: 1px solid rgba(216, 202, 184, 0.24) !important;
    border-radius: 9px !important;
    color: #ffffff !important;
    font-family: inherit !important;
    font-size: 0.98rem !important;
    line-height: 1.4 !important;
    padding: 12px 14px !important;
    margin: 0 !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.flow-form-box input[type="text"],
.flow-form-box input[type="email"],
.flow-form-box input[type="tel"],
.flow-form-box select {
    height: 48px !important;
}

.flow-form-box select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    padding-right: 40px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23d8cab8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 14px !important;
    color-scheme: dark;
    cursor: pointer;
}

.flow-form-box select option {
    background-color: var(--flow-navy-dark) !important;
    color: #ffffff !important;
}

.flow-form-box textarea {
    height: 115px !important;
    min-height: 115px !important;
    resize: vertical;
}

.flow-form-box input:focus,
.flow-form-box select:focus,
.flow-form-box textarea:focus {
    outline: none !important;
    border-color: var(--flow-beige) !important;
    background-color: rgba(255, 255, 255, 0.11) !important;
}

.flow-form-box [class*="telephone"] > div,
.flow-form-box [class*="phone"] > div {
    background-color: rgba(255, 255, 255, 0.065) !important;
    border: 1px solid rgba(216, 202, 184, 0.24) !important;
    border-radius: 9px !important;
    height: 48px !important;
    padding: 0 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.flow-form-box [class*="telephone"] > div:focus-within,
.flow-form-box [class*="phone"] > div:focus-within {
    border-color: var(--flow-beige) !important;
    background-color: rgba(255, 255, 255, 0.11) !important;
}

.flow-form-box [class*="telephone"] > div input,
.flow-form-box [class*="telephone"] > div button,
.flow-form-box [class*="telephone"] > div select,
.flow-form-box [class*="telephone"] > div > div:not([role="listbox"]),
.flow-form-box [class*="phone"] > div input,
.flow-form-box [class*="phone"] > div button,
.flow-form-box [class*="phone"] > div select,
.flow-form-box [class*="phone"] > div > div:not([role="listbox"]) {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #ffffff !important;
    height: 100% !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.flow-form-box [class*="telephone"] svg,
.flow-form-box [class*="phone"] svg {
    color: var(--flow-beige) !important;
    stroke: var(--flow-beige) !important;
    fill: none !important;
}

.flow-form-box [class*="telephone"] [role="listbox"],
.flow-form-box [class*="telephone"] ul,
.flow-form-box [class*="phone"] [role="listbox"],
.flow-form-box [class*="phone"] ul {
    background-color: var(--flow-navy-dark) !important;
    border: 1px solid rgba(216, 202, 184, 0.3) !important;
    color: #ffffff !important;
}

.flow-form-box button[type="submit"],
.flow-form-box .wp-block-button__link {
    background: linear-gradient(135deg, #ffffff 0%, var(--flow-beige-light) 55%, var(--flow-beige) 100%) !important;
    color: var(--flow-navy-dark) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 14px 28px !important;
    border-radius: 10px !important;
    border: none !important;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.flow-form-box button[type="submit"]:hover,
.flow-form-box .wp-block-button__link:hover {
    filter: brightness(1.06);
}

.flow-calendar-box {
    max-width: 100% !important;
    width: 100% !important;
    margin: 22px auto 36px auto !important;
    padding: 16px !important;
    background: var(--flow-surface) !important;
    border: 1px solid rgba(216, 202, 184, 0.22) !important;
    border-radius: 18px !important;
    box-shadow: var(--flow-shadow-card) !important;
    overflow: hidden;
}

.flow-calendar-box iframe {
    width: 100% !important;
    min-height: 620px;
    border: none !important;
    border-radius: 12px !important;
    background: #ffffff;
    display: block;
}

.flow-grafik-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    max-width: 100%;
    margin: 24px auto 38px auto;
}

.flow-day-card {
    min-width: 0;
    overflow-wrap: break-word;
    background: var(--flow-surface);
    border: 1px solid rgba(216, 202, 184, 0.18);
    border-top: 2px solid var(--flow-beige);
    border-radius: 14px;
    padding: 18px 12px 16px 12px;
    box-shadow: var(--flow-shadow-card);
    transition: border-color 0.25s ease, background 0.25s ease;
}

.flow-day-card:hover {
    background: var(--flow-surface-hover);
    border-color: var(--flow-beige-strong);
}

.flow-day-title {
    margin: 0 0 18px 0;
    padding-bottom: 12px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--flow-beige-light);
    border-bottom: 1px solid rgba(216, 202, 184, 0.26);
    text-align: center;
    white-space: nowrap;
}

.flow-slot {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 12px 10px 12px 12px;
    margin-bottom: 14px;
    background: rgba(216, 202, 184, 0.055);
    border: 1px solid rgba(216, 202, 184, 0.14);
    border-left: 2.5px solid var(--flow-beige);
    border-radius: 10px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.flow-slot:hover {
    background: rgba(216, 202, 184, 0.12);
    border-color: rgba(216, 202, 184, 0.34);
    border-left-color: var(--flow-beige-light);
}

.flow-slot:last-child {
    margin-bottom: 0;
}

.flow-slot-time {
    font-size: 0.77rem;
    font-weight: 700;
    color: var(--flow-beige-light);
    background: rgba(216, 202, 184, 0.14);
    border: 1px solid rgba(216, 202, 184, 0.32);
    border-radius: 6px;
    padding: 2px 8px;
    line-height: 1.3;
}

.flow-slot-info strong {
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.32;
}

.flow-slot-info span {
    display: block;
    font-size: 0.79rem;
    color: var(--flow-beige);
    opacity: 0.88;
    margin-top: 3px;
}

/* ==========================================================================
9. SZABLON PROFILU SPECJALISTY (PORTRET 4:5 + BIO + KURSY)
   ========================================================================== */
.flow-oferta .flow-bio-hero {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    background:
        radial-gradient(ellipse 65% 80% at 15% 10%, rgba(216, 202, 184, 0.09) 0%, transparent 65%),
        var(--flow-surface);
    border: 1px solid rgba(216, 202, 184, 0.22);
    border-top: 2px solid var(--flow-beige);
    border-radius: 20px;
    padding: 36px;
    margin: 18px 0 40px 0;
    box-shadow: var(--flow-shadow-card);
}

.flow-oferta .flow-bio-photo {
    width: 270px !important;
    height: 338px !important;
    aspect-ratio: 4 / 5 !important;
    object-fit: cover !important;
    object-position: center 12% !important;
    border-radius: 16px !important;
    border: 1px solid rgba(216, 202, 184, 0.3) !important;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.42) !important;
    display: block !important;
    margin: 0 !important;
}

.flow-oferta .flow-bio-hero-body {
    min-width: 0;
}

.flow-oferta .flow-bio-hero-body .flow-eyebrow {
    margin: 0 0 10px 0 !important;
}

.flow-oferta .flow-bio-hero-body h2 {
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    border: none !important;
    font-size: clamp(1.7rem, 2.4vw, 2.1rem);
    line-height: 1.18;
    color: #ffffff;
}

.flow-oferta .flow-bio-hero-lead {
    margin: 0 0 18px 0 !important;
    font-size: 1.08rem;
    line-height: 1.58;
    color: rgba(255, 255, 255, 0.92);
}

.flow-oferta .flow-bio-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px 0;
}

.flow-oferta .flow-bio-badges .flow-badge {
    margin: 0 !important;
}

.flow-oferta .flow-bio-hero-body .flow-btn-wrap {
    margin: 0 !important;
}

.flow-oferta .flow-bio-story {
    display: grid;
    grid-template-columns: 1.4fr 0.85fr;
    gap: 36px;
    align-items: start;
    margin: 0 0 48px 0;
}

.flow-oferta .flow-bio-story-text p {
    margin: 0 0 16px 0;
    line-height: 1.72;
}

.flow-oferta .flow-bio-story-text p:last-child {
    margin-bottom: 0;
}

.flow-oferta .flow-bio-facts {
    background: var(--flow-surface);
    border: 1px solid rgba(216, 202, 184, 0.22);
    border-top: 2px solid var(--flow-beige);
    border-radius: 16px;
    padding: 26px 24px;
    box-shadow: var(--flow-shadow-card);
}

.flow-oferta .flow-bio-facts h3 {
    margin: 0 0 14px 0 !important;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--flow-beige);
}

.flow-oferta .flow-fact-row {
    padding: 11px 0;
    border-bottom: 1px solid rgba(216, 202, 184, 0.12);
    font-size: 0.93rem;
    line-height: 1.48;
}

.flow-oferta .flow-fact-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.flow-oferta .flow-fact-row span {
    display: block;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--flow-beige);
    opacity: 0.88;
    margin-bottom: 3px;
}

.flow-oferta .flow-fact-row strong {
    color: #ffffff;
    font-weight: 600;
}

.flow-oferta .flow-facts-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(216, 202, 184, 0.14);
}

.flow-oferta .flow-facts-links a {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--flow-beige-light) !important;
    background: rgba(216, 202, 184, 0.1);
    border: 1px solid rgba(216, 202, 184, 0.34);
    border-radius: 7px;
    padding: 6px 12px;
    text-decoration: none !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.flow-oferta .flow-facts-links a:hover {
    background: var(--flow-beige) !important;
    border-color: var(--flow-beige) !important;
    color: var(--flow-navy-dark) !important;
}

.flow-oferta .flow-qual-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
}

.flow-oferta .flow-qual-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    margin: 0 !important;
    border-bottom: 1px solid rgba(216, 202, 184, 0.1);
    font-size: 0.95rem;
    line-height: 1.48;
}

.flow-oferta .flow-qual-list li:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.flow-oferta .flow-qual-year {
    min-width: 88px;
    text-align: center;
    box-sizing: border-box;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--flow-beige-light);
    background: rgba(216, 202, 184, 0.12);
    border: 1px solid rgba(216, 202, 184, 0.3);
    border-radius: 6px;
    padding: 3px 8px;
    line-height: 1.4;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ==========================================================================
10. BLOG (/blog/) — SIATKA KART I POJEDYNCZE ARTYKUŁY
   ========================================================================== */
body.blog .site-main,
body.archive .site-main {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    max-width: 100% !important;
    width: 100%;
    margin: 0 auto !important;
    padding: 16px 0 56px 0;
    box-sizing: border-box;
}

body.blog .site-main > :not(article),
body.archive .site-main > :not(article) {
    grid-column: 1 / -1;
}

body.blog .site-main article,
body.archive .site-main article {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0 !important;
    padding: 28px 26px !important;
    background: var(--flow-surface);
    border: 1px solid rgba(216, 202, 184, 0.18);
    border-top: 2px solid var(--flow-beige);
    border-radius: 18px;
    box-shadow: var(--flow-shadow-card);
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

body.blog .site-main article:hover,
body.archive .site-main article:hover {
    background: var(--flow-surface-hover);
    border-color: rgba(216, 202, 184, 0.5);
    transform: translateY(-3px);
    box-shadow: var(--flow-shadow-hover);
}

body.blog article .post-thumbnail,
body.archive article .post-thumbnail {
    margin: 0 0 18px 0 !important;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(216, 202, 184, 0.22);
}

body.blog article .post-thumbnail img,
body.archive article .post-thumbnail img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

body.blog article:hover .post-thumbnail img,
body.archive article:hover .post-thumbnail img {
    transform: scale(1.03);
}

body.blog article .entry-header,
body.archive article .entry-header {
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

body.blog article .entry-title,
body.archive article .entry-title {
    font-size: 1.24rem !important;
    line-height: 1.32 !important;
    font-weight: 700 !important;
    text-transform: none !important;
    text-align: left !important;
    margin: 0 0 8px 0 !important;
}

body.blog article .entry-title a,
body.archive article .entry-title a {
    color: #ffffff !important;
    text-decoration: none !important;
}

body.blog article .entry-title a:hover,
body.archive article .entry-title a:hover {
    color: var(--flow-beige-light) !important;
}

body.blog article .entry-meta,
body.blog article .entry-footer,
body.archive article .entry-meta,
body.archive article .entry-footer {
    font-size: 0.78rem !important;
    letter-spacing: 0.04em;
    color: var(--flow-beige) !important;
    opacity: 0.88;
    margin: 0 0 12px 0 !important;
}

body.blog article .entry-meta a,
body.blog article .entry-footer a,
body.archive article .entry-meta a,
body.archive article .entry-footer a {
    color: var(--flow-beige) !important;
    text-decoration: none !important;
}

body.blog article .entry-content,
body.blog article .entry-summary,
body.archive article .entry-content,
body.archive article .entry-summary {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.95rem !important;
    line-height: 1.62 !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

body.blog article .more-link,
body.archive article .more-link {
    display: inline-flex;
    align-items: center;
    margin-top: 18px;
    padding: 8px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--flow-beige-light) !important;
    background: rgba(216, 202, 184, 0.1);
    border: 1px solid rgba(216, 202, 184, 0.35);
    border-radius: 8px;
    text-decoration: none !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

body.blog article .more-link:hover,
body.archive article .more-link:hover {
    background: var(--flow-beige) !important;
    color: var(--flow-navy-dark) !important;
}

body.blog .navigation,
body.archive .navigation {
    margin-top: 16px !important;
    padding-top: 20px;
    border-top: 1px solid rgba(216, 202, 184, 0.16);
}

body.single-post .site-main article {
    max-width: 860px !important;
    margin: 0 auto !important;
    padding: 16px 0 56px 0;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.76;
    font-size: 1.05rem;
}

body.single-post .entry-title {
    font-size: clamp(1.75rem, 3vw, 2.45rem) !important;
    line-height: 1.2 !important;
    text-align: left !important;
    text-transform: none !important;
    color: #ffffff !important;
}

body.single-post .entry-meta {
    color: var(--flow-beige) !important;
    font-size: 0.85rem;
    margin-bottom: 24px;
}

body.single-post .post-thumbnail img,
body.single-post .entry-content img {
    border-radius: 16px;
    border: 1px solid rgba(216, 202, 184, 0.22);
}

body.single-post .entry-content h2 {
    margin-top: 44px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    font-size: 1.48rem;
    color: #ffffff;
    border-bottom: 1px solid rgba(216, 202, 184, 0.22);
}

body.single-post .entry-content h3 {
    margin-top: 28px;
    margin-bottom: 10px;
    font-size: 1.18rem;
    color: var(--flow-beige-light);
}

body.single-post .entry-content a {
    color: var(--flow-beige-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ==========================================================================
11. RESPONSYWNOŚĆ (TABLET / TELEFON)
   ========================================================================== */
@media (max-width: 960px) {
    .flow-grafik-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        width: 100%;
        margin: 24px 0 36px 0;
    }

    .flow-day-card {
        padding: 20px 18px;
    }

    .flow-day-title {
        text-align: left;
        font-size: 0.9rem;
    }

    .flow-slot {
        flex-direction: row;
        align-items: flex-start;
        gap: 14px;
        padding: 14px;
        margin-bottom: 14px;
    }

    .flow-slot-info strong {
        font-size: 0.95rem;
    }
}

@media (max-width: 820px) {
    #content,
    .site-content,
    .site-branding-wrapper,
    .footer-widgets-wrapper,
    .site-info {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .flow-home-hero,
    .flow-oferta .flow-split {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .flow-oferta .flow-split img {
        height: auto !important;
        min-height: 0;
        max-height: none;
        aspect-ratio: 4 / 3 !important;
    }

    .flow-trust-bar {
        grid-template-columns: repeat(2, 1fr);
        padding: 18px;
    }

    .flow-oferta .flow-bio-hero {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 24px 20px;
    }

    .flow-oferta .flow-bio-photo {
        width: 220px !important;
        height: 275px !important;
    }

    .flow-oferta .flow-bio-hero-body h2 {
        font-size: 1.55rem;
    }

    .flow-oferta .flow-bio-story {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 780px) {
    body.blog .site-main,
    body.archive .site-main {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 760px) {
    .flow-hero,
    .flow-oferta .flow-grid,
    .flow-grid-3,
    .flow-foto-grid {
        grid-template-columns: 1fr !important;
        gap: 18px;
    }

    .flow-hero-img {
        max-height: 440px;
    }

    .flow-cennik th,
    .flow-cennik td {
        padding: 13px 12px;
        font-size: 0.92rem;
    }

    .flow-cennik td:last-child {
        white-space: normal;
    }

    .flow-calendar-box {
        padding: 10px !important;
        border-radius: 14px !important;
    }

    .flow-cta-box {
        padding: 32px 20px;
    }

    .flow-diagram-box {
        padding: 18px 14px;
    }
}

@media (max-width: 480px) {
    .flow-card-head {
        gap: 14px;
    }

    .flow-card-sq {
        width: 78px !important;
        height: 78px !important;
    }

    .flow-oferta .flow-team-sq {
        width: 88px !important;
        min-width: 88px !important;
        max-width: 88px !important;
        height: 88px !important;
        max-height: 88px !important;
    }
}
/* ==========================================================================
   INTERAKTYWNY DIAGRAM SVG (EKOSYSTEM FLOW STUDIO)
   ========================================================================== */
.flow-eco-svg a,
.flow-eco-svg a:hover {
    text-decoration: none !important;
    outline: none;
}

.flow-eco-item {
    cursor: pointer;
    transition: opacity 0.28s ease;
}

.flow-eco-svg:has(.flow-eco-item:hover) .flow-eco-item:not(:hover) {
    opacity: 0.52;
}

.flow-eco-card {
    transition: fill-opacity 0.25s ease, stroke 0.25s ease, stroke-opacity 0.25s ease, filter 0.25s ease;
}

.flow-eco-bar,
.flow-eco-link,
.flow-eco-ray {
    transition: stroke 0.25s ease, stroke-opacity 0.25s ease, stroke-width 0.25s ease, fill 0.25s ease, fill-opacity 0.25s ease;
}

.flow-eco-dot {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 0.25s ease, stroke 0.25s ease, filter 0.25s ease;
}

.flow-eco-arrow {
    transition: transform 0.25s ease, fill-opacity 0.25s ease, fill 0.25s ease;
}

/* Podświetlenie aktywnego filaru */
.flow-eco-item:hover .flow-eco-card,
.flow-eco-item:focus-visible .flow-eco-card {
    fill: url(#flow-eco-card-hover);
    stroke: #f5efe6;
    stroke-opacity: 0.85;
    filter: drop-shadow(0 8px 20px rgba(216, 202, 184, 0.16));
}

.flow-eco-item:hover .flow-eco-bar,
.flow-eco-item:focus-visible .flow-eco-bar {
    fill: #f5efe6;
    fill-opacity: 1;
}

.flow-eco-item:hover .flow-eco-link,
.flow-eco-item:focus-visible .flow-eco-link {
    stroke: #f5efe6;
    stroke-opacity: 0.95;
    stroke-width: 2.2;
}

.flow-eco-item:hover .flow-eco-ray,
.flow-eco-item:focus-visible .flow-eco-ray {
    stroke: #f5efe6;
    stroke-opacity: 0.85;
    stroke-width: 1.8;
    stroke-dasharray: none;
}

.flow-eco-item:hover .flow-eco-dot,
.flow-eco-item:focus-visible .flow-eco-dot {
    transform: scale(1.28);
    stroke: #f5efe6;
    filter: drop-shadow(0 0 8px rgba(245, 239, 230, 0.75));
}

.flow-eco-item:hover .flow-eco-arrow,
.flow-eco-item:focus-visible .flow-eco-arrow {
    fill: #f5efe6;
    fill-opacity: 1;
    transform: translateX(3px);
}

/* Spokojny ruch tła (wyłączany przy preferencji ograniczenia ruchu) */
.flow-eco-orbit {
    transform-box: fill-box;
    transform-origin: center;
    animation: flowEcoSpin 70s linear infinite;
}

@keyframes flowEcoSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .flow-eco-orbit {
        animation: none;
    }
}
/* ==========================================================================
   INTERAKTYWNY WYKRES REHABILITACJI SVG (4 ETAPY POWROTU DO SPRAWNOŚCI)
   ========================================================================== */
.flow-rehab-stage {
    cursor: pointer;
    outline: none;
    transition: opacity 0.28s ease;
}

.flow-rehab-svg:has(.flow-rehab-stage:hover) .flow-rehab-stage:not(:hover),
.flow-rehab-svg:has(.flow-rehab-stage:focus) .flow-rehab-stage:not(:focus) {
    opacity: 0.48;
}

.flow-rehab-zone {
    fill: #d8cab8;
    fill-opacity: 0;
    transition: fill-opacity 0.25s ease;
}

.flow-rehab-stage:hover .flow-rehab-zone,
.flow-rehab-stage:focus .flow-rehab-zone {
    fill-opacity: 0.065;
}

.flow-rehab-card {
    transition: stroke 0.25s ease, stroke-opacity 0.25s ease, filter 0.25s ease;
}

.flow-rehab-stage:hover .flow-rehab-card,
.flow-rehab-stage:focus .flow-rehab-card {
    fill: url(#flow-rehab-card-hover);
    stroke: #f5efe6;
    stroke-opacity: 0.85;
    filter: drop-shadow(0 8px 20px rgba(216, 202, 184, 0.16));
}

.flow-rehab-accent,
.flow-rehab-stem {
    transition: stroke 0.25s ease, stroke-opacity 0.25s ease, stroke-width 0.25s ease, fill 0.25s ease, fill-opacity 0.25s ease;
}

.flow-rehab-stage:hover .flow-rehab-accent,
.flow-rehab-stage:focus .flow-rehab-accent {
    fill: #f5efe6;
    fill-opacity: 1;
}

.flow-rehab-stage:hover .flow-rehab-stem,
.flow-rehab-stage:focus .flow-rehab-stem {
    stroke: #f5efe6;
    stroke-opacity: 0.9;
    stroke-width: 1.8;
    stroke-dasharray: none;
}

.flow-rehab-node {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.flow-rehab-stage:hover .flow-rehab-node,
.flow-rehab-stage:focus .flow-rehab-node {
    transform: scale(1.32);
    filter: drop-shadow(0 0 9px rgba(245, 239, 230, 0.8));
}
/* ==========================================================================
   INTERAKTYWNY SCHEMAT KOREKTY POSTAWY SVG (KOMPENSACJA -> NAWYK)
   ========================================================================== */
.flow-posture-node {
    cursor: pointer;
    outline: none;
    transition: opacity 0.28s ease;
}

.flow-posture-svg:has(.flow-posture-node:hover) .flow-posture-node:not(:hover),
.flow-posture-svg:has(.flow-posture-node:focus) .flow-posture-node:not(:focus) {
    opacity: 0.46;
}

.flow-posture-card {
    transition: stroke 0.25s ease, stroke-opacity 0.25s ease, filter 0.25s ease;
}

.flow-posture-node:hover .flow-posture-card,
.flow-posture-node:focus .flow-posture-card {
    fill: url(#flow-posture-card-hover);
    stroke: #f5efe6;
    stroke-opacity: 0.85;
    filter: drop-shadow(0 8px 22px rgba(216, 202, 184, 0.16));
}

.flow-posture-flow,
.flow-posture-accent {
    transition: stroke 0.25s ease, stroke-opacity 0.25s ease, stroke-width 0.25s ease, fill 0.25s ease, fill-opacity 0.25s ease;
}

.flow-posture-node:hover .flow-posture-flow,
.flow-posture-node:focus .flow-posture-flow {
    stroke: #f5efe6;
    stroke-opacity: 0.95;
    stroke-width: 2.2;
    stroke-dasharray: none;
}

.flow-posture-node:hover .flow-posture-accent,
.flow-posture-node:focus .flow-posture-accent {
    fill: #f5efe6;
    fill-opacity: 1;
}

.flow-posture-dot {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.flow-posture-node:hover .flow-posture-dot,
.flow-posture-node:focus .flow-posture-dot {
    transform: scale(1.25);
    filter: drop-shadow(0 0 8px rgba(245, 239, 230, 0.8));
}
/* ==========================================================================
   INTERAKTYWNA PIRAMIDA LTAD SVG (TRENING DZIECI I MŁODZIEŻY)
   ========================================================================== */
.flow-ltad-tier {
    cursor: pointer;
    outline: none;
    transition: opacity 0.28s ease;
}

.flow-ltad-svg:has(.flow-ltad-tier:hover) .flow-ltad-tier:not(:hover),
.flow-ltad-svg:has(.flow-ltad-tier:focus) .flow-ltad-tier:not(:focus) {
    opacity: 0.45;
}

.flow-ltad-shape,
.flow-ltad-card {
    transition: stroke 0.25s ease, stroke-opacity 0.25s ease, filter 0.25s ease;
}

.flow-ltad-tier:hover .flow-ltad-shape,
.flow-ltad-tier:focus .flow-ltad-shape,
.flow-ltad-tier:hover .flow-ltad-card,
.flow-ltad-tier:focus .flow-ltad-card {
    fill: url(#flow-ltad-hover);
    stroke: #f5efe6;
    stroke-opacity: 0.88;
    filter: drop-shadow(0 8px 20px rgba(216, 202, 184, 0.16));
}

.flow-ltad-link,
.flow-ltad-accent {
    transition: stroke 0.25s ease, stroke-opacity 0.25s ease, stroke-width 0.25s ease, fill 0.25s ease, fill-opacity 0.25s ease;
}

.flow-ltad-tier:hover .flow-ltad-link,
.flow-ltad-tier:focus .flow-ltad-link {
    stroke: #f5efe6;
    stroke-opacity: 0.95;
    stroke-width: 2.2;
    stroke-dasharray: none;
}

.flow-ltad-tier:hover .flow-ltad-accent,
.flow-ltad-tier:focus .flow-ltad-accent {
    fill: #f5efe6;
    fill-opacity: 1;
}

.flow-ltad-dot {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.flow-ltad-tier:hover .flow-ltad-dot,
.flow-ltad-tier:focus .flow-ltad-dot {
    transform: scale(1.32);
    filter: drop-shadow(0 0 8px rgba(245, 239, 230, 0.8));
}
/* ==========================================================================
   PRZEŁĄCZNIK DIAGRAMÓW SVG (DESKTOP vs MOBILE ≤ 768px)
   ========================================================================== */
.flow-diagram-box .flow-svg-desktop {
    display: block !important;
}

.flow-diagram-box .flow-svg-mobile {
    display: none !important;
}

@media (max-width: 768px) {
    .flow-diagram-box {
        padding: 18px 10px !important;
    }

    .flow-diagram-box .flow-svg-desktop {
        display: none !important;
    }

    .flow-diagram-box .flow-svg-mobile {
        display: block !important;
    }
}

.flow-svg-mobile .flow-eco-item:hover .flow-eco-card,
.flow-svg-mobile .flow-eco-item:active .flow-eco-card {
    fill: url(#flow-eco-card-hover-m);
    stroke: #f5efe6;
    stroke-opacity: 0.85;
}
.flow-svg-mobile .flow-ltad-tier:hover .flow-ltad-shape,
.flow-svg-mobile .flow-ltad-tier:focus .flow-ltad-shape,
.flow-svg-mobile .flow-ltad-tier:active .flow-ltad-shape,
.flow-svg-mobile .flow-ltad-tier:hover .flow-ltad-card,
.flow-svg-mobile .flow-ltad-tier:focus .flow-ltad-card,
.flow-svg-mobile .flow-ltad-tier:active .flow-ltad-card {
    fill: url(#flow-ltad-hover-m);
    stroke: #f5efe6;
    stroke-opacity: 0.88;
}
/* ==========================================================================
   POPRAWKA PODMENU "OFERTA" (RESET PRZYCISKU CTA + DESKTOP HOVER + MOBILE)
   ========================================================================== */

/* 1. Reset: beżowy przycisk TYLKO dla głównego "UMÓW SIĘ!", nigdy w podmenu */
.site-header nav ul ul > li:last-child,
.main-navigation ul ul > li:last-child,
.primary-navigation ul ul > li:last-child {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.site-header nav ul ul > li:last-child > a,
.main-navigation ul ul > li:last-child > a,
.primary-navigation ul ul > li:last-child > a {
    background: transparent !important;
    background-image: none !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
}

/* 2. Desktop: płynnie rozwijana lista pod OFERTA */
@media (min-width: 960px) {
    .main-navigation li.menu-item-has-children {
        position: relative !important;
    }

    .main-navigation li.menu-item-has-children > a::after {
        content: " ▾";
        font-size: 0.72em;
        color: var(--flow-beige);
        opacity: 0.85;
        margin-left: 3px;
    }

    .site-header nav ul ul,
    .main-navigation ul ul,
    .primary-navigation ul ul {
        display: block !important;
        gap: 0 !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        min-width: 260px !important;
        margin: 0 !important;
        padding: 10px 0 !important;
        background: #0d1e2e !important;
        border: 1px solid rgba(216, 202, 184, 0.28) !important;
        border-top: 2px solid var(--flow-beige) !important;
        border-radius: 12px !important;
        box-shadow: 0 22px 46px rgba(0, 0, 0, 0.52) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(6px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
        z-index: 9999 !important;
    }

    .main-navigation li.menu-item-has-children:hover > ul,
    .main-navigation li.menu-item-has-children:focus-within > ul {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0);
    }

    .site-header nav ul ul li,
    .main-navigation ul ul li {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }

    .site-header nav ul ul > li > a,
    .site-header nav ul ul > li:last-child > a,
    .main-navigation ul ul a {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 9px 18px !important;
        font-size: 0.82rem !important;
        font-weight: 500 !important;
        letter-spacing: 0.02em !important;
        text-transform: none !important;
        color: rgba(255, 255, 255, 0.88) !important;
        white-space: nowrap !important;
        border: none !important;
        border-radius: 0 !important;
    }

    .site-header nav ul ul > li > a:hover,
    .site-header nav ul ul > li:last-child > a:hover,
    .main-navigation ul ul a:hover {
        background: rgba(216, 202, 184, 0.12) !important;
        color: var(--flow-beige-light) !important;
        transform: none !important;
        filter: none !important;
        box-shadow: none !important;
    }
}

/* 3. Mobile: zgrabna, kompaktowa podlista z beżową linią po lewej */
@media (max-width: 959px) {
    .site-header nav ul ul,
    .main-navigation ul ul,
    .primary-navigation ul ul {
        position: static !important;
        display: block !important;
        left: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        margin: 4px 0 10px 10px !important;
        padding: 2px 0 2px 14px !important;
        background: transparent !important;
        border: none !important;
        border-left: 1.5px solid rgba(216, 202, 184, 0.34) !important;
        box-shadow: none !important;
    }

    .site-header nav ul ul li,
    .main-navigation ul ul li {
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .site-header nav ul ul > li > a,
    .site-header nav ul ul > li:last-child > a,
    .main-navigation ul ul a {
        display: block !important;
        padding: 7px 0 !important;
        font-size: 0.85rem !important;
        font-weight: 500 !important;
        letter-spacing: 0.02em !important;
        line-height: 1.35 !important;
        color: rgba(255, 255, 255, 0.8) !important;
        text-transform: none !important;
        border-top: none !important;
        border-bottom: 1px solid rgba(216, 202, 184, 0.1) !important;
    }

    .site-header nav ul ul > li:last-child > a,
    .main-navigation ul ul li:last-child > a {
        border-bottom: none !important;
    }

    .site-header nav ul ul > li > a:hover,
    .site-header nav ul ul > li:last-child > a:hover,
    .main-navigation ul ul a:hover {
        background: transparent !important;
        color: var(--flow-beige-light) !important;
    }
}
.flow-svg-mobile .flow-posture-node:hover .flow-posture-card,
.flow-svg-mobile .flow-posture-node:focus .flow-posture-card,
.flow-svg-mobile .flow-posture-node:active .flow-posture-card {
    fill: url(#flow-posture-card-hover-m);
    stroke: #f5efe6;
    stroke-opacity: 0.85;
}
.flow-svg-mobile .flow-rehab-stage:hover .flow-rehab-card,
.flow-svg-mobile .flow-rehab-stage:focus .flow-rehab-card,
.flow-svg-mobile .flow-rehab-stage:active .flow-rehab-card {
    fill: url(#flow-rehab-card-hover-m);
    stroke: #f5efe6;
    stroke-opacity: 0.85;
}
/* ==========================================================================
   INTERAKTYWNY DIAGRAM "FALA FLOW" SVG (STRONA GŁÓWNA: JAK PRACUJEMY)
   ========================================================================== */
.flow-wave-step {
    cursor: pointer;
    outline: none;
    transition: opacity 0.28s ease;
}

.flow-wave-svg:has(.flow-wave-step:hover) .flow-wave-step:not(:hover),
.flow-wave-svg:has(.flow-wave-step:focus) .flow-wave-step:not(:focus) {
    opacity: 0.46;
}

.flow-wave-card {
    transition: stroke 0.25s ease, stroke-opacity 0.25s ease, filter 0.25s ease;
}

.flow-wave-step:hover .flow-wave-card,
.flow-wave-step:focus .flow-wave-card {
    fill: url(#flow-wave-card-hover);
    stroke: #f5efe6;
    stroke-opacity: 0.85;
    filter: drop-shadow(0 8px 20px rgba(216, 202, 184, 0.16));
}

.flow-svg-mobile .flow-wave-step:hover .flow-wave-card,
.flow-svg-mobile .flow-wave-step:focus .flow-wave-card,
.flow-svg-mobile .flow-wave-step:active .flow-wave-card {
    fill: url(#flow-wave-card-hover-m);
    stroke: #f5efe6;
    stroke-opacity: 0.85;
}

.flow-wave-accent,
.flow-wave-stem {
    transition: stroke 0.25s ease, stroke-opacity 0.25s ease, stroke-width 0.25s ease, fill 0.25s ease, fill-opacity 0.25s ease;
}

.flow-wave-step:hover .flow-wave-accent,
.flow-wave-step:focus .flow-wave-accent {
    fill: #f5efe6;
    fill-opacity: 1;
}

.flow-wave-step:hover .flow-wave-stem,
.flow-wave-step:focus .flow-wave-stem {
    stroke: #f5efe6;
    stroke-opacity: 0.92;
    stroke-width: 1.9;
    stroke-dasharray: none;
}

.flow-wave-node {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.flow-wave-step:hover .flow-wave-node,
.flow-wave-step:focus .flow-wave-node {
    transform: scale(1.3);
    filter: drop-shadow(0 0 9px rgba(245, 239, 230, 0.82));
}
/* ==========================================================================
   GRAFIK ZAJĘĆ FLOW STUDIO (DESKTOP: WARIANT A LINIOWY + MOBILE: DNI)
   ========================================================================== */
.flow-sched-wrap {
    margin: 24px 0 40px;
}

/* --- DESKTOP: SIATKA LINIOWA (WARIANT A) --- */
.flow-sched-desktop {
    background: rgba(8, 21, 33, 0.55);
    border: 1px solid rgba(216, 202, 184, 0.2);
    border-radius: 16px;
    padding: 20px 18px 22px;
    overflow-x: auto;
}

.flow-sched-grid {
    display: grid;
    grid-template-columns: 56px repeat(6, minmax(128px, 1fr));
    min-width: 820px;
}

.flow-sched-head {
    padding: 0 8px 14px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--flow-beige, #d8cab8);
    border-bottom: 1px solid rgba(216, 202, 184, 0.22);
}

.flow-sched-time {
    padding: 12px 10px 12px 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(216, 202, 184, 0.68);
    border-bottom: 1px solid rgba(216, 202, 184, 0.08);
    display: flex;
    align-items: flex-start;
}

.flow-sched-cell {
    padding: 8px 6px;
    border-bottom: 1px solid rgba(216, 202, 184, 0.08);
    min-height: 62px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.flow-sched-grid > .flow-sched-gap {
    grid-column: 1 / -1;
    height: 36px;
    border-bottom: 1px solid rgba(216, 202, 184, 0.12);
}

.flow-sched-item {
    display: block;
    padding: 7px 10px;
    border-left: 2.5px solid rgba(216, 202, 184, 0.65);
    background: linear-gradient(90deg, rgba(216, 202, 184, 0.1), rgba(216, 202, 184, 0.015));
    border-radius: 0 8px 8px 0;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

.flow-sched-item:hover {
    background: linear-gradient(90deg, rgba(216, 202, 184, 0.2), rgba(216, 202, 184, 0.04));
    border-left-color: #f5efe6;
    transform: translateX(2px);
}

.flow-sched-item.is-special {
    border-left-color: #f5efe6;
    background: linear-gradient(90deg, rgba(216, 202, 184, 0.18), rgba(255, 255, 255, 0.03));
}

.flow-sched-name {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.28;
    color: #ffffff;
}

.flow-sched-meta {
    display: block;
    margin-top: 3px;
    font-size: 0.72rem;
    color: rgba(216, 202, 184, 0.82);
}

/* --- MOBILE: WIDOK DZIENNY Z CZYSTĄ PRZERWĄ --- */
.flow-sched-mobile {
    display: none;
}

@media (max-width: 820px) {
    .flow-sched-desktop {
        display: none;
    }

    .flow-sched-mobile {
        display: block;
    }

    .flow-sched-tabs {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        padding-bottom: 10px;
        margin-bottom: 14px;
        scrollbar-width: none;
    }

    .flow-sched-tabs::-webkit-scrollbar {
        display: none;
    }

    .flow-sched-tab {
        flex: 1 0 auto;
        min-width: 50px;
        padding: 9px 12px;
        border-radius: 10px;
        border: 1px solid rgba(216, 202, 184, 0.24);
        background: rgba(255, 255, 255, 0.04);
        color: rgba(255, 255, 255, 0.82);
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .flow-sched-tab.is-active {
        background: linear-gradient(135deg, #f5efe6, #d8cab8);
        border-color: #f5efe6;
        color: #0b1926;
    }

    .flow-sched-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .flow-sched-m-gap {
        height: 28px;
    }

    .flow-sched-m-row {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 13px 14px;
        background: rgba(255, 255, 255, 0.045);
        border: 1px solid rgba(216, 202, 184, 0.2);
        border-left: 3px solid rgba(216, 202, 184, 0.72);
        border-radius: 12px;
    }

    .flow-sched-m-row.is-special {
        background: rgba(216, 202, 184, 0.12);
        border-color: rgba(216, 202, 184, 0.36);
        border-left-color: #f5efe6;
    }

    .flow-sched-m-time {
        min-width: 48px;
        font-size: 0.92rem;
        font-weight: 700;
        color: #f5efe6;
    }

    .flow-sched-m-info {
        flex: 1;
    }

    .flow-sched-m-empty {
        padding: 20px;
        text-align: center;
        font-size: 0.88rem;
        color: rgba(255, 255, 255, 0.65);
        border: 1px dashed rgba(216, 202, 184, 0.22);
        border-radius: 12px;
    }
}
/* Ikonki SVG w grafiku (wariant subtelny — Desktop + Mobile) */
.flow-sched-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.flow-sched-text {
    min-width: 0;
}

.flow-sched-ico {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--flow-beige, #d8cab8);
    opacity: 0.55;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.flow-sched-ico svg {
    width: 100%;
    height: 100%;
    display: block;
}

.flow-sched-item:hover .flow-sched-ico,
.flow-sched-m-row:hover .flow-sched-ico {
    opacity: 0.9;
    transform: scale(1.06);
}

@media (max-width: 820px) {
    .flow-sched-m-row .flow-sched-ico {
        width: 24px;
        height: 24px;
        opacity: 0.55;
    }
}
/* ==========================================================================
   INTERAKTYWNY DIAGRAM "ZAPISY W 3 KROKACH" SVG (STRONA: GRAFIK)
   ========================================================================== */
.flow-join-step {
    cursor: pointer;
    outline: none;
    transition: opacity 0.28s ease;
}

.flow-join-svg:has(.flow-join-step:hover) .flow-join-step:not(:hover),
.flow-join-svg:has(.flow-join-step:focus) .flow-join-step:not(:focus) {
    opacity: 0.46;
}

.flow-join-card {
    transition: stroke 0.25s ease, stroke-opacity 0.25s ease, filter 0.25s ease;
}

.flow-join-step:hover .flow-join-card,
.flow-join-step:focus .flow-join-card {
    fill: url(#flow-join-card-hover);
    stroke: #f5efe6;
    stroke-opacity: 0.85;
    filter: drop-shadow(0 8px 20px rgba(216, 202, 184, 0.16));
}

.flow-svg-mobile .flow-join-step:hover .flow-join-card,
.flow-svg-mobile .flow-join-step:focus .flow-join-card,
.flow-svg-mobile .flow-join-step:active .flow-join-card {
    fill: url(#flow-join-card-hover-m);
    stroke: #f5efe6;
    stroke-opacity: 0.85;
}

.flow-join-accent,
.flow-join-stem {
    transition: stroke 0.25s ease, stroke-opacity 0.25s ease, fill 0.25s ease, fill-opacity 0.25s ease;
}

.flow-join-step:hover .flow-join-accent,
.flow-join-step:focus .flow-join-accent {
    fill: #f5efe6;
    fill-opacity: 1;
}

.flow-join-step:hover .flow-join-stem,
.flow-join-step:focus .flow-join-stem {
    stroke: #f5efe6;
    stroke-opacity: 0.92;
    stroke-dasharray: none;
}

.flow-join-node {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.flow-join-step:hover .flow-join-node,
.flow-join-step:focus .flow-join-node {
    transform: scale(1.12);
    filter: drop-shadow(0 0 10px rgba(245, 239, 230, 0.55));
}
/* ==========================================================================
   MOBILE: ZWIJANE PODMENU "OFERTA" (ROZWIJANIE STRZAŁKĄ)
   ========================================================================== */
.flow-sub-toggle {
    display: none;
}

@media (max-width: 959px) {
    .site-header nav li.menu-item-has-children,
    .main-navigation li.menu-item-has-children {
        position: relative !important;
    }

    /* Zostawia miejsce po prawej stronie napisu OFERTA na przycisk strzałki */
    .site-header nav li.menu-item-has-children > a,
    .main-navigation li.menu-item-has-children > a {
        padding-right: 48px !important;
    }

    /* Przycisk strzałki (wygodny obszar kliknięcia 44x44px) */
    .flow-sub-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 2px;
        right: 0;
        width: 44px;
        height: 44px;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        color: var(--flow-beige, #d8cab8) !important;
        font-size: 1rem;
        line-height: 1;
        cursor: pointer;
        transition: transform 0.22s ease, color 0.2s ease;
        z-index: 5;
    }

    .flow-sub-toggle:hover,
    .flow-sub-toggle:focus {
        color: #f5efe6 !important;
        outline: none;
    }

    /* Obrót strzałki po rozwinięciu */
    li.menu-item-has-children.flow-sub-open > .flow-sub-toggle {
        transform: rotate(180deg);
        color: #f5efe6 !important;
    }

    /* Domyślnie ukryte podmenu na mobile */
    .site-header nav li.menu-item-has-children > ul,
    .main-navigation li.menu-item-has-children > ul,
    .primary-navigation li.menu-item-has-children > ul {
        display: none !important;
    }

    /* Pokazuje się dopiero po kliknięciu strzałki */
    .site-header nav li.menu-item-has-children.flow-sub-open > ul,
    .main-navigation li.menu-item-has-children.flow-sub-open > ul,
    .primary-navigation li.menu-item-has-children.flow-sub-open > ul {
        display: block !important;
    }
}
/* ==========================================================================
   BLOG: MNIEJSZY OBRAZEK WYRÓŻNIAJĄCY 3:2 (UNIWERSALNY)
   ========================================================================== */

/* Pojedynczy wpis blogowy */
.single-post img.wp-post-image {
    width: 100% !important;
    max-width: min(640px, calc(100vw - 32px)) !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 3 / 2 !important;
    object-fit: cover !important;
    object-position: center 20% !important;
    display: block !important;
    margin: 28px auto !important;
    border-radius: 16px !important;
}

.single-post figure:has(> img.wp-post-image) {
    height: auto !important;
    max-height: none !important;
    background: transparent !important;
}

/* Lista wpisów (/blog/, kategorie, archiwa) */
.blog img.wp-post-image,
.archive img.wp-post-image {
    width: 100% !important;
    max-width: 480px !important;
    height: auto !important;
    aspect-ratio: 3 / 2 !important;
    object-fit: cover !important;
    object-position: center 20% !important;
    display: block !important;
    margin: 0 auto 20px !important;
    border-radius: 14px !important;
}
/* ==========================================================================
   BLOG FLOW STUDIO: DIAGRAMY SVG, CZERWONE FLAGI I BIBLIOGRAFIA
   ========================================================================== */
.flow-blog-panel {
    cursor: pointer;
    outline: none;
    transition: opacity 0.28s ease;
}

.flow-blog-svg:has(.flow-blog-panel:hover) .flow-blog-panel:not(:hover),
.flow-blog-svg:has(.flow-blog-panel:focus) .flow-blog-panel:not(:focus) {
    opacity: 0.48;
}

.flow-blog-card {
    transition: stroke 0.25s ease, stroke-opacity 0.25s ease, filter 0.25s ease;
}

.flow-blog-panel:hover .flow-blog-card,
.flow-blog-panel:focus .flow-blog-card {
    stroke: #f5efe6;
    stroke-opacity: 0.85;
    filter: drop-shadow(0 8px 20px rgba(216, 202, 184, 0.14));
}

.flow-alert-box {
    margin: 28px 0;
    padding: 22px 24px;
    background: rgba(216, 202, 184, 0.08);
    border: 1px solid rgba(216, 202, 184, 0.34);
    border-left: 4px solid #f5efe6;
    border-radius: 14px;
}

.flow-alert-box h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.flow-bib-box {
    margin-top: 40px;
    padding-top: 26px;
    border-top: 1px solid rgba(216, 202, 184, 0.2);
}

.flow-bib-list {
    margin: 14px 0 0;
    padding-left: 20px;
    font-size: 0.88rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
}

.flow-bib-list li {
    margin-bottom: 8px;
}

.flow-bib-list strong {
    color: #f5efe6;
}

.flow-disclaimer {
    margin-top: 22px;
    font-size: 0.84rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.64);
}