/* ===================================================================
   Psycholog theme — design system
   High-level component classes (psy-* prefix).
   No framework dependency. Self-contained.
   =================================================================== */

/* ── Tokens ─────────────────────────────────────────────────────── */
.psy-site {
    --psy-teal: #159bad;
    --psy-teal-dark: #0f7a8c;
    --psy-teal-soft: rgba(21, 155, 173, 0.08);
    --psy-teal-soft-2: rgba(21, 155, 173, 0.12);
    --psy-gold: #f6c453;
    --psy-gold-dark: #e0a52c;
    --psy-gold-soft: rgba(246, 196, 83, 0.13);
    --psy-gold-featured-text: #92400e;
    --psy-gold-featured-bg: #fef3c7;
    --psy-amber: #f59e0b;
    --psy-amber-soft: rgba(245, 158, 11, 0.08);
    --psy-amber-border: rgba(245, 158, 11, 0.4);
    --psy-text: #1f2430;
    --psy-text-2: #3a4050;
    --psy-muted: #6b7186;
    --psy-muted-2: #8a90a6;
    --psy-border: #e7e9f2;
    --psy-border-2: #d7dae6;
    --psy-bg: #f6f8ff;
    --psy-bg-2: #fbfbfd;
    --psy-white: #fff;
    --psy-radius: 1rem;
    --psy-radius-sm: 0.65rem;
    --psy-radius-lg: 1.5rem;
    --psy-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --psy-shadow-md: 0 1px 2px rgba(15, 23, 42, 0.05), 0 20px 40px -24px rgba(15, 23, 42, 0.22);
    --psy-shadow: var(--psy-shadow-md);
    --psy-shadow-teal: 0 1px 2px rgba(15, 23, 42, 0.05), 0 20px 36px -26px rgba(21, 155, 173, 0.35);
    --psy-container: 1600px;
    --psy-pad: 3rem;
    --psy-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --psy-transition: 0.2s ease;
    --psy-facebook: #1877f2;

    /* DaisyUI/Tailwind compatibility — maps catalog-public.css variables
       to psycholog theme tokens so shared partials render correctly. */
    --color-primary: var(--psy-teal);
    --color-primary-content: var(--psy-white);
    --color-base-content: var(--psy-text);
    --color-base-100: var(--psy-white);
    --color-base-200: var(--psy-bg-2);
    --color-base-300: var(--psy-border-2);
    --color-secondary: var(--psy-teal-dark);
    --color-secondary-content: var(--psy-white);
    --color-error: #dc2626;
    --color-error-content: var(--psy-white);
    --color-success: #15803d;
    --color-success-content: var(--psy-white);
    --color-warning: var(--psy-amber);
    --color-warning-content: var(--psy-text);
}

.psy-site {
    margin: 0;
    font-family: var(--psy-font);
    color: var(--psy-text);
    background: radial-gradient(circle at 15% 0%, rgba(21,155,173,0.16), transparent 48%),
                radial-gradient(circle at 85% 10%, rgba(246,196,83,0.18), transparent 42%),
                linear-gradient(180deg, var(--psy-bg) 0%, var(--psy-white) 26%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.psy-site a:not(.btn):not(.psy-btn):not(.is-active):not(.psy-day-switcher__day--active) {
    color: var(--psy-teal);
    text-decoration: none;
    transition: color var(--psy-transition), background var(--psy-transition), border-color var(--psy-transition), transform var(--psy-transition), box-shadow var(--psy-transition);
}
.psy-site a:not(.btn):not(.psy-btn):not(.is-active):not(.psy-day-switcher__day--active):hover { color: var(--psy-teal-dark); }

/* Global smooth transition for interactive elements */
.psy-site button,
.psy-site input,
.psy-site select {
    transition: border-color var(--psy-transition), background var(--psy-transition), color var(--psy-transition), box-shadow var(--psy-transition), transform var(--psy-transition);
}

.psy-container {
    max-width: var(--psy-container);
    margin: 0 auto;
    padding: 0 var(--psy-pad);
}

/* ── Header ─────────────────────────────────────────────────────── */
.psy-header {
    position: relative;
    z-index: 1000;
    background: linear-gradient(180deg, var(--psy-white) 0%, var(--psy-bg) 100%);
    border-bottom: 1px solid var(--psy-border);
}

.psy-header__top {
    display: flex;
    align-items: center;
    gap: 2rem;
    height: 76px;
}

.psy-header__logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
    color: var(--psy-text);
}

.psy-header__logo:hover { color: var(--psy-text); }

.psy-header__logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(160deg, var(--psy-gold), var(--psy-gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3a2a05;
    font-size: 1.4rem;
    font-weight: 700;
    flex-shrink: 0;
}

.psy-header__logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.psy-header__logo-name {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.psy-header__logo-sub {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--psy-muted-2);
}

.psy-header__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--psy-text-2);
    flex: 1;
    overflow: visible;
}

.psy-header__nav-link {
    padding: 0.5rem 0.85rem;
    border-radius: 0.6rem;
    color: inherit;
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

/* Ensure nav links (both <a> and <button>) share the same color */
.psy-site .psy-header__nav-link {
    color: var(--psy-text-2);
}

/* Dropdown triggers in header nav should be teal */
.psy-site .psy-header__nav-link.psy-dropdown__trigger {
    color: var(--psy-teal);
}

.psy-header__nav-link:hover { color: var(--psy-teal); background: var(--psy-teal-soft); }
.psy-header__nav-link--active { color: var(--psy-teal); background: var(--psy-teal-soft); }

.psy-header__actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

/* "Moje konto" + "Wyloguj" — visible on all screens (only for logged-in users) */
.psy-header__actions-mobile { display: flex; align-items: center; gap: 0.65rem; }

.psy-header__subnav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    height: 48px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--psy-text-2);
    overflow: visible;
}

.psy-header__subnav-link {
    padding: 0.4rem 0.8rem;
    border-radius: 0.55rem;
    color: inherit;
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.psy-header__subnav-link:hover { color: var(--psy-teal); }
.psy-header__subnav-link--active { color: var(--psy-teal); background: var(--psy-teal-soft); }

/* ── Buttons ────────────────────────────────────────────────────── */
.psy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.2rem;
    border-radius: var(--psy-radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: box-shadow 0.15s ease, background 0.15s ease;
}

.psy-btn--primary {
    background: var(--psy-teal);
    color: var(--psy-white);
    box-shadow: 0 1px 2px rgba(21, 155, 173, 0.35);
}
.psy-btn--primary:hover { background: var(--psy-teal-dark); color: var(--psy-white); }

.psy-btn--outline {
    border: 1px solid var(--psy-border-2);
    background: var(--psy-white);
    color: var(--psy-text-2);
}
.psy-btn--outline:hover { color: var(--psy-text-2); border-color: var(--psy-teal); }

.psy-btn--lg {
    padding: 0.85rem 1.6rem;
    border-radius: 0.75rem;
    font-size: 0.95rem;
}

.psy-btn--hero {
    box-shadow: 0 4px 14px -6px rgba(21, 155, 173, 0.55);
}

/* ── Main ───────────────────────────────────────────────────────── */
.psy-main { position: relative; z-index: 1; }

/* ── Hero ───────────────────────────────────────────────────────── */
.psy-hero {
    position: relative;
    border-radius: 1.25rem;
    overflow: visible;
    border: 1px solid var(--psy-border);
    box-shadow: var(--psy-shadow-md);
    margin: 2.25rem 0 0;
}

.psy-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    overflow: hidden;
}

.psy-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
        rgba(255,255,255,0.95) 0%,
        rgba(255,255,255,0.84) 38%,
        rgba(255,255,255,0.58) 62%,
        rgba(255,255,255,0.32) 100%),
        radial-gradient(circle at 90% 100%, rgba(21,155,173,0.22), transparent 55%);
    pointer-events: none;
}

.psy-hero__content {
    position: relative;
    z-index: 1;
    padding: 3.5rem 3rem 2.75rem;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.psy-hero__title {
    margin: 0;
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
}

.psy-hero__lead {
    margin: 1.1rem 0 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #4a5064;
    max-width: 34rem;
}

.psy-hero__actions {
    display: flex;
    gap: 0.85rem;
    margin-top: 1.75rem;
}

.psy-hero__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.psy-hero__feature {
    display: block;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--psy-border);
    border-radius: var(--psy-radius);
    padding: 1.15rem 1rem;
    box-shadow: var(--psy-shadow-sm);
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.psy-hero__feature:hover {
    box-shadow: 0 4px 16px -6px rgba(15,23,42,0.1);
    transform: translateY(-2px);
    border-color: var(--psy-teal);
}

.psy-hero__feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.7rem;
    background: var(--psy-teal-soft);
    color: var(--psy-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.psy-hero__feature-icon .psy-icon {
    width: 1.3rem;
    height: 1.3rem;
}

.psy-hero__feature-title {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
}

.psy-hero__feature-desc {
    margin: 0.3rem 0 0;
    font-size: 0.78rem;
    line-height: 1.4;
    color: var(--psy-muted);
}

/* ── Search bar ─────────────────────────────────────────────────── */
.psy-search-bar {
    position: relative;
    z-index: 1;
    margin: 0 3rem;
    background: var(--psy-white);
    border: 1px solid var(--psy-border);
    border-radius: 1.1rem;
    box-shadow: 0 1px 2px rgba(15,23,42,0.06), 0 16px 32px -20px rgba(15,23,42,0.25);
    padding: 1.5rem 1.75rem;
    display: grid;
    grid-template-columns: 1.1fr 1.4fr 1.4fr 1fr auto;
    gap: 1rem;
    align-items: center;
}

.psy-search-bar .psy-btn--primary {
    justify-self: end;
    align-self: center;
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    border-radius: 0.75rem;
}

.psy-search-bar__intro {
    grid-column: 1 / -1;
}

.psy-search-bar__intro-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.psy-search-bar__intro-sub {
    margin: 0.3rem 0 0;
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--psy-muted);
}

.psy-search-field {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--psy-border-2);
    border-radius: var(--psy-radius-sm);
    padding: 0.65rem 0.9rem;
    background: var(--psy-bg-2);
}

.psy-search-field input,
.psy-search-field select {
    border: none;
    background: transparent;
    font-size: 0.88rem;
    color: var(--psy-text);
    outline: none;
    width: 100%;
    font-family: inherit;
}

.psy-search-field input::placeholder { color: var(--psy-muted-2); }

/* Select — custom arrow, matching other fields */
.psy-search-field--select {
    position: relative;
}

.psy-search-field--select select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    color: var(--psy-muted-2);
    cursor: pointer;
    padding-right: 1.5rem;
}

.psy-search-field--select select:focus {
    color: var(--psy-teal);
}

.psy-search-field--select select option {
    color: var(--psy-text);
    background: var(--psy-white);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    line-height: 1.4;
}

.psy-search-field--select select option:checked,
.psy-search-field--select select option:hover {
    background: var(--psy-teal-soft);
    color: var(--psy-teal-dark);
}

.psy-search-field--select::after {
    content: '▾';
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: var(--psy-muted-2);
    pointer-events: none;
    transition: transform 0.2s ease, color 0.2s ease;
}

.psy-search-field--select:hover::after {
    color: var(--psy-teal);
}

/* Hide native arrow when custom select is inside */
.psy-search-field--select:has(.psy-custom-select)::after {
    display: none;
}

/* Type toggle — segmented switch (specialist / other) */
.psy-search-field--toggle {
    display: flex;
    align-items: center;
}

.psy-type-toggle {
    display: inline-flex;
    width: 100%;
    background: var(--psy-white);
    border: 1px solid var(--psy-border);
    border-radius: var(--psy-radius-sm);
    overflow: hidden;
}

.psy-type-toggle__btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.55rem 0.75rem;
    border: none;
    background: transparent;
    color: var(--psy-muted);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.psy-type-toggle__btn.is-active {
    background: var(--psy-teal);
    color: var(--psy-white);
}

.psy-type-toggle__btn:not(.is-active):hover {
    background: var(--psy-teal-soft);
    color: var(--psy-teal-dark);
}

/* ── Custom dropdown (replaces native select popup) ─────────────── */
.psy-custom-select {
    position: relative;
    width: 100%;
}

.psy-custom-select__trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    border: none;
    background: transparent;
    font-size: 0.88rem;
    font-family: inherit;
    font-weight: 500;
    color: var(--psy-muted-2);
    cursor: pointer;
    padding: 0;
    outline: none;
    text-align: left;
}

.psy-custom-select__trigger--active {
    color: var(--psy-teal);
}

.psy-custom-select__trigger-icon {
    opacity: 0.5;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.psy-custom-select__trigger-icon .psy-icon {
    width: 1rem;
    height: 1rem;
}

.psy-custom-select:focus-within .psy-custom-select__trigger-icon {
    opacity: 1;
    color: var(--psy-teal);
}

.psy-custom-select__trigger-value {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.psy-custom-select__caret {
    flex-shrink: 0;
    width: 0.85rem;
    height: 0.85rem;
    opacity: 0.5;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.psy-custom-select.is-open .psy-custom-select__caret {
    transform: rotate(180deg);
    opacity: 1;
    color: var(--psy-teal);
}

.psy-custom-select__menu {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0;
    right: 0;
    min-width: 100%;
    background: var(--psy-white);
    border: 1px solid var(--psy-border);
    border-radius: var(--psy-radius-sm);
    box-shadow: 0 8px 24px -8px rgba(15, 23, 42, 0.18);
    padding: 0.35rem;
    z-index: 200;
    max-height: 280px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

.psy-custom-select.is-open .psy-custom-select__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Raise the entire field above siblings when dropdown is open */
.psy-search-field--elevated {
    position: relative;
    z-index: 210;
}

.psy-custom-select__option {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: none;
    background: transparent;
    font-size: 0.85rem;
    font-family: inherit;
    font-weight: 500;
    color: var(--psy-text);
    text-align: left;
    cursor: pointer;
    border-radius: 0.35rem;
    line-height: 1.35;
    transition: background 0.12s ease, color 0.12s ease;
}

.psy-custom-select__option:hover {
    background: var(--psy-teal-soft);
    color: var(--psy-teal-dark);
}

.psy-custom-select__option--active {
    background: var(--psy-teal-soft);
    color: var(--psy-teal-dark);
    font-weight: 700;
}

.psy-custom-select__option--placeholder {
    color: var(--psy-muted-2);
    font-weight: 500;
    border-bottom: 1px solid var(--psy-border);
    margin-bottom: 0.25rem;
    padding-bottom: 0.55rem;
    border-radius: 0;
}

.psy-search-field__icon {
    opacity: 0.5;
    display: flex;
    align-items: center;
}

.psy-search-field__icon .psy-icon {
    width: 1rem;
    height: 1rem;
}

.psy-search-field:focus-within .psy-search-field__icon {
    opacity: 1;
    color: var(--psy-teal);
}

/* Play button in hero */
.psy-hero__play-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--psy-teal-soft);
    color: var(--psy-teal);
}

.psy-hero__bottom { height: 4.5rem; }

/* ── Trust strip ───────────────────────────────────────────────── */
.psy-trust-strip {
    background: transparent;
    border-top: 1px solid var(--psy-border);
    border-bottom: 1px solid var(--psy-border);
    padding: 0.85rem 0;
}

@media (max-width: 768px) {
    .psy-trust-strip { display: none; }
}

.psy-trust-strip__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    align-items: center;
    justify-content: center;
}

.psy-trust-strip__item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--psy-text);
    white-space: nowrap;
}

.psy-trust-strip__item .psy-icon {
    color: var(--psy-teal);
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .psy-trust-strip__inner {
        gap: 0.75rem 1.25rem;
    }
    .psy-trust-strip__item {
        font-size: 0.78rem;
    }
}

/* ── Section ────────────────────────────────────────────────────── */
.psy-section { margin: 2.75rem auto 0; }

.psy-section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.1rem;
}

.psy-section__title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.psy-section__lead {
    flex: 1 1 100%;
    margin: 0;
    font-size: 0.88rem;
    color: var(--psy-muted);
}

.psy-section__sub {
    margin: 0.35rem 0 0;
    font-size: 0.88rem;
    color: var(--psy-muted);
}

.psy-section__link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--psy-teal);
}

/* ── Day switcher (wolne terminy) ───────────────────────────────── */
.psy-day-switcher {
    background: linear-gradient(120deg, rgba(21,155,173,0.07), var(--psy-white) 55%);
    border: 1px solid var(--psy-border);
    border-radius: var(--psy-radius-lg);
    box-shadow: var(--psy-shadow-teal);
    padding: 1.5rem 1.75rem;
    text-align: center;
}

.psy-day-switcher__eyebrow {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--psy-teal);
}

.psy-day-switcher__title {
    margin: 0.3rem 0 0;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.psy-day-switcher__lead {
    margin: 0.4rem auto 0;
    font-size: 0.85rem;
    line-height: 1.45;
    color: #4a5064;
    max-width: 38rem;
}

.psy-day-switcher__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
}

.psy-day-switcher__day {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.7rem 0.3rem;
    border-radius: var(--psy-radius);
    border: 1px solid var(--psy-border-2);
    background: var(--psy-white);
    font-weight: 700;
    color: var(--psy-text-2);
    box-shadow: 0 1px 2px rgba(15,23,42,0.04);
    font-size: 0.82rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.psy-day-switcher__day:hover {
    border-color: var(--psy-teal);
    color: var(--psy-teal);
}

a.psy-day-switcher__day--active {
    border: 2px solid var(--psy-teal);
    background: var(--psy-teal);
    color: var(--psy-white);
    box-shadow: 0 8px 20px -8px rgba(21,155,173,0.55);
    transform: translateY(-2px);
}

a.psy-day-switcher__day--active:hover {
    color: var(--psy-white);
}

.psy-day-switcher__day-badge {
    font-size: 0.68rem;
    font-weight: 700;
    opacity: 0.85;
}

/* Compact variant on category pages */
.psy-day-switcher--category {
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.psy-day-switcher--category .psy-day-switcher__title {
    font-size: 1.25rem;
}

.psy-day-switcher--category .psy-day-switcher__lead {
    font-size: 0.8rem;
    margin-bottom: 0;
}

/* ── Event calendar (sidebar) ───────────────────────────────────── */
.psy-event-cal {
    background: var(--psy-white);
    border: 1px solid var(--psy-border);
    border-radius: var(--psy-radius-sm);
    padding: 0.85rem;
    margin-bottom: 1rem;
}

.psy-event-cal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.psy-event-cal__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.4rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--psy-text-2);
    background: var(--psy-bg-2);
    transition: background 0.15s ease, color 0.15s ease;
    flex-shrink: 0;
}

.psy-event-cal__nav:hover {
    background: var(--psy-teal-soft);
    color: var(--psy-teal-dark);
}

.psy-event-cal__month {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    text-transform: capitalize;
    color: var(--psy-text);
    flex: 1;
}

.psy-event-cal__grid {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.psy-event-cal__weekdays,
.psy-event-cal__week {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.15rem;
}

.psy-event-cal__wd {
    text-align: center;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--psy-muted-2);
    padding: 0.15rem 0;
}

.psy-event-cal__day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--psy-text-2);
    border-radius: 0.35rem;
    border: 1px solid transparent;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.psy-event-cal__day--outside {
    opacity: 0.3;
}

.psy-event-cal__day--today:not(.psy-event-cal__day--has-events) {
    border-color: var(--psy-teal);
    font-weight: 700;
    color: var(--psy-teal);
}

.psy-event-cal__day--has-events {
    background: var(--psy-teal-soft);
    font-weight: 700;
    color: var(--psy-teal-dark);
}

.psy-event-cal__day--has-events:hover {
    background: var(--psy-teal-soft-2);
    color: var(--psy-teal-dark);
}

.psy-event-cal__day--selected {
    background: var(--psy-teal) !important;
    color: var(--psy-white) !important;
    border-color: var(--psy-teal-dark);
}

.psy-event-cal__legend {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.65rem;
    color: var(--psy-muted);
    margin-top: 0.6rem;
}

.psy-event-cal__legend-dot {
    display: inline-block;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 0.2rem;
    background: var(--psy-teal-soft);
}

.psy-event-cal__clear {
    margin-left: auto;
    color: var(--psy-teal);
    font-weight: 600;
    text-decoration: none;
}

.psy-event-cal__clear:hover {
    color: var(--psy-teal-dark);
    text-decoration: underline;
}

/* ── Spec chips ─────────────────────────────────────────────────── */
.psy-spec-section {
    background: linear-gradient(115deg,
        var(--psy-teal-soft-2) 0%,
        var(--psy-gold-soft) 55%,
        rgba(255,255,255,0) 100%);
    border-radius: var(--psy-radius-lg);
    margin: 2rem var(--psy-pad) 0;
    padding: 1.75rem 0;
}

.psy-spec-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.psy-spec-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--psy-border-2);
    background: linear-gradient(90deg, var(--psy-white), var(--psy-teal-soft));
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--psy-text-2);
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.psy-spec-chip:hover { color: var(--psy-teal); border-color: var(--psy-teal); transform: translateY(-2px); box-shadow: 0 4px 12px -4px rgba(21,155,173,0.3); }

.psy-spec-chip--featured {
    border: 1px solid var(--psy-amber-border);
    background: linear-gradient(90deg, var(--psy-amber-soft), rgba(245,158,11,0.14));
    font-weight: 700;
    color: #92620a;
}

/* ── Content + sidebar grid ─────────────────────────────────────── */
.psy-content-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.5rem;
    align-items: start;
    margin: 2rem 0 4rem;
}

/* ── Article cards ──────────────────────────────────────────────── */
.psy-article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
}

.psy-article-card {
    background: var(--psy-white);
    border: 1px solid var(--psy-border);
    border-radius: var(--psy-radius);
    overflow: hidden;
    box-shadow: var(--psy-shadow-sm);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.psy-article-card:hover {
    box-shadow: 0 4px 16px -6px rgba(15,23,42,0.12);
    transform: translateY(-2px);
    border-color: var(--psy-border-2);
}

.psy-article-card__img {
    position: relative;
    aspect-ratio: 16/10;
    background: #f0f1f6;
    overflow: hidden;
}

.psy-article-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.psy-article-card__badge {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: rgba(31, 36, 48, 0.75);
    color: var(--psy-white);
    font-size: 0.68rem;
    font-weight: 700;
}

.psy-article-card__body {
    padding: 1rem 1.1rem 1.1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.psy-article-card__date {
    margin: 0 0 0.5rem;
    font-size: 0.72rem;
    color: var(--psy-muted-2);
    font-weight: 600;
}

.psy-article-card__title {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
}

.psy-article-card__title a { color: var(--psy-text); }
.psy-article-card__title a:hover { color: var(--psy-teal); }

.psy-article-card__excerpt {
    margin: 0.5rem 0 0;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--psy-muted);
}

/* ── Sidebar ────────────────────────────────────────────────────── */
.psy-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.psy-sidebar-card {
    background: var(--psy-white);
    border: 1px solid var(--psy-border);
    border-radius: var(--psy-radius);
    box-shadow: var(--psy-shadow-sm);
    overflow: hidden;
}

.psy-sidebar-card__head {
    padding: 1rem 1.15rem 0.85rem;
    background: linear-gradient(160deg, var(--psy-teal-soft), var(--psy-white) 70%);
    border-bottom: 1px solid #eef0f6;
}

.psy-sidebar-card__eyebrow {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--psy-muted-2);
}

.psy-sidebar-card__title {
    margin: 0.15rem 0 0;
    font-size: 1rem;
    font-weight: 800;
}

.psy-sidebar-card__body {
    padding: 0.7rem 0.85rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.psy-sidebar-card__footer {
    padding: 0 0.85rem 0.9rem;
}

.psy-sidebar-card__footer-link {
    display: block;
    text-align: center;
    padding: 0.55rem;
    border-radius: var(--psy-radius-sm);
    background: var(--psy-teal-soft);
    color: var(--psy-teal);
    font-size: 0.82rem;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease;
}

.psy-sidebar-card__footer-link:hover {
    background: var(--psy-teal);
    color: var(--psy-white);
}

/* ── Specialist item ────────────────────────────────────────────── */
.psy-specialist {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.55rem 0.5rem;
    border-radius: 0.7rem;
    transition: background 0.2s ease;
}

.psy-specialist:hover { background: var(--psy-teal-soft); }

.psy-specialist__avatar {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
    background: #e7e9f2;
}

.psy-specialist__name {
    margin: 0;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--psy-text);
}

.psy-specialist__meta {
    margin: 0.1rem 0 0;
    font-size: 0.75rem;
    color: var(--psy-muted);
}

.psy-specialist__type {
    display: inline-block;
    margin-top: 0.25rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--psy-teal-dark);
    background: var(--psy-teal-soft);
    padding: 0.15rem 0.45rem;
    border-radius: var(--psy-radius-sm);
}

/* ── Vertical slider (sidebar) ─────────────────────────────────── */
.psy-vslider {
    position: relative;
    padding: 0.5rem 0.85rem 0.9rem;
}

.psy-vslider__viewport {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-height: 22rem;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.psy-vslider__viewport::-webkit-scrollbar {
    display: none;
}

.psy-vslider [data-psy-vslider-item] {
    scroll-snap-align: start;
    flex-shrink: 0;
}

.psy-vslider__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 1.75rem;
    margin: 0.35rem auto 0;
    border: 1px solid var(--psy-border);
    border-radius: var(--psy-radius-sm);
    background: var(--psy-white);
    color: var(--psy-teal);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.psy-vslider__btn:hover:not(:disabled) {
    background: var(--psy-teal);
    color: var(--psy-white);
}

.psy-vslider__btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.psy-specialist__avatar--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--psy-muted-2);
    font-size: 0.8rem;
    font-weight: 700;
}

.psy-specialist__info {
    min-width: 0;
}

/* ── Sidebar item (blog post / event sidebar) ────────────────────── */
.psy-sidebar-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.55rem 0.5rem;
    border-radius: 0.6rem;
    text-decoration: none;
    transition: background 0.2s ease;
}

.psy-sidebar-item:hover {
    background: var(--psy-teal-soft);
}

.psy-sidebar-item__tag {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--psy-teal-dark);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.psy-sidebar-item__title {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--psy-text);
    line-height: 1.35;
}

.psy-sidebar-item__date {
    font-size: 0.72rem;
    color: var(--psy-muted);
}

.psy-sidebar-item__date--accent {
    color: var(--psy-teal-dark);
    font-weight: 600;
}

/* ── Event item ─────────────────────────────────────────────────── */
.psy-event-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.6rem 0.4rem;
    border-radius: 0.7rem;
    transition: background 0.2s ease;
}

.psy-event-item:hover { background: var(--psy-teal-soft); }

.psy-event-item__date {
    flex-shrink: 0;
    width: 2.9rem;
    text-align: center;
    border: 1px solid var(--psy-border);
    border-radius: 0.6rem;
    padding: 0.3rem 0;
    line-height: 1.1;
}

.psy-event-item__date-month {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--psy-muted-2);
    text-transform: uppercase;
}

.psy-event-item__date-day {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--psy-teal);
}

.psy-event-item__title {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--psy-text);
    line-height: 1.3;
}

.psy-event-item__meta {
    margin: 0.15rem 0 0;
    font-size: 0.74rem;
    color: var(--psy-muted);
}

/* ── Footer ─────────────────────────────────────────────────────── */
.psy-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--psy-border);
    background: linear-gradient(180deg, rgba(21,155,173,0.04), var(--psy-white) 30%, #f6f7fb 100%);
}

.psy-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
    max-width: var(--psy-container);
    margin: 0 auto;
    padding: 2.5rem var(--psy-pad) 1.5rem;
}

.psy-footer__brand-name {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--psy-text);
}

.psy-footer__brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: linear-gradient(160deg, var(--psy-gold), var(--psy-gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3a2a05;
    font-weight: 700;
}

.psy-footer__tagline {
    margin: 0.75rem 0 0;
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--psy-muted);
    max-width: 26rem;
}

.psy-footer__col-title {
    margin: 0 0 0.6rem;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--psy-muted-2);
}

.psy-footer__col-links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--psy-text-2);
}

.psy-footer__col-links a { color: var(--psy-text-2); }
.psy-footer__col-links a:hover { color: var(--psy-teal); }

.psy-footer__bottom {
    border-top: 1px solid var(--psy-border);
    padding: 1rem var(--psy-pad) 1.75rem;
    max-width: var(--psy-container);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--psy-muted-2);
}

.psy-footer__legal {
    display: flex;
    gap: 0.9rem;
}

.psy-footer__legal a { color: var(--psy-muted-2); }
.psy-footer__legal a:hover { color: var(--psy-teal); }

/* ── Breadcrumbs ────────────────────────────────────────────────── */
.psy-breadcrumbs {
    padding: 1rem var(--psy-pad);
    font-size: 0.85rem;
    color: var(--psy-muted);
    max-width: var(--psy-container);
    margin: 0 auto;
}

.psy-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.psy-breadcrumbs a { color: var(--psy-muted); }
.psy-breadcrumbs a:hover { color: var(--psy-teal); }
.psy-breadcrumbs__current { color: var(--psy-text-2); font-weight: 600; }

@media (max-width: 768px) {
    .psy-breadcrumbs { display: none; }
}

/* ── Dropdown ───────────────────────────────────────────────────── */
.psy-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.psy-dropdown__trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    background: none;
    border: none;
    font: inherit;
    color: var(--psy-teal);
    padding: 0.5rem 0.85rem;
    border-radius: 0.6rem;
    transition: color 0.2s ease, background 0.2s ease;
}

.psy-dropdown__trigger:hover {
    color: var(--psy-teal);
    background: var(--psy-teal-soft);
}

.psy-dropdown__caret {
    width: 0.85rem;
    height: 0.85rem;
    opacity: 0.5;
    transition: transform 0.2s ease, opacity 0.2s ease;
    flex-shrink: 0;
}

.psy-dropdown:hover .psy-dropdown__trigger,
.psy-dropdown:focus-within .psy-dropdown__trigger {
    color: var(--psy-teal);
    background: var(--psy-teal-soft);
}

.psy-dropdown:hover .psy-dropdown__caret,
.psy-dropdown:focus-within .psy-dropdown__caret {
    transform: rotate(180deg);
}

.psy-dropdown__menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 14rem;
    max-width: 22rem;
    background: var(--psy-white);
    border: 1px solid var(--psy-border);
    border-radius: var(--psy-radius-sm);
    box-shadow: 0 8px 24px -8px rgba(15, 23, 42, 0.18);
    padding: 0.4rem;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.psy-dropdown:hover .psy-dropdown__menu,
.psy-dropdown:focus-within .psy-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.psy-dropdown__item {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--psy-teal);
    transition: background 0.15s ease, color 0.15s ease;
}

.psy-dropdown__item:hover {
    background: var(--psy-teal-soft);
    color: var(--psy-teal-dark);
}

.psy-dropdown__item--active {
    background: var(--psy-teal-soft);
    color: var(--psy-teal-dark);
    font-weight: 700;
}

.psy-dropdown__item--parent {
    font-weight: 700;
    color: var(--psy-teal);
    border-bottom: 1px solid var(--psy-border);
    margin-bottom: 0.25rem;
    padding-bottom: 0.6rem;
}

/* ── Dropdown: nested groups (3-level, collapsible) ────────────── */
.psy-dropdown__group {
    padding: 0.15rem 0;
}

.psy-dropdown__group + .psy-dropdown__group {
    border-top: 1px solid var(--psy-border);
    margin-top: 0.25rem;
    padding-top: 0.25rem;
}

.psy-dropdown__toggle {
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--psy-teal);
    padding: 0.4rem 0.6rem;
    border-radius: 0.4rem;
    transition: background 0.15s ease, color 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    line-height: 1.3;
}

.psy-dropdown__toggle:hover,
.psy-dropdown__toggle:focus-visible {
    background: var(--psy-teal-soft);
    color: var(--psy-teal-dark);
    outline: none;
}

.psy-dropdown__toggle span {
    flex: 1;
}

.psy-dropdown__caret--small {
    width: 0.7rem;
    height: 0.7rem;
    transition: transform 0.25s ease, opacity 0.15s ease;
    flex-shrink: 0;
    opacity: 0.5;
}

.psy-dropdown__toggle:hover .psy-dropdown__caret--small {
    opacity: 0.9;
}

.psy-dropdown__group[data-collapsible].is-open > .psy-dropdown__toggle {
    background: var(--psy-teal-soft);
    color: var(--psy-teal-dark);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.psy-dropdown__group[data-collapsible].is-open .psy-dropdown__caret--small {
    transform: rotate(180deg);
    opacity: 0.9;
}

/* Collapsed by default — animated expand */
.psy-dropdown__sublist {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.2s ease;
    padding: 0 0;
    background: var(--psy-teal-soft);
    border-radius: 0 0 0.4rem 0.4rem;
}

.psy-dropdown__group[data-collapsible].is-open .psy-dropdown__sublist {
    max-height: 60rem;
    opacity: 1;
    padding: 0.2rem 0.3rem 0.3rem;
}

.psy-dropdown__item--sub {
    padding: 0.35rem 0.6rem 0.35rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--psy-teal);
    border-radius: 0.3rem;
    line-height: 1.3;
    position: relative;
}

.psy-dropdown__item--sub::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 50%;
    width: 0.25rem;
    height: 0.25rem;
    border-radius: 50%;
    background: var(--psy-teal);
    opacity: 0.3;
    transform: translateY(-50%);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.psy-dropdown__item--sub:hover {
    color: var(--psy-teal-dark);
    background: rgba(255, 255, 255, 0.7);
}

.psy-dropdown__item--sub:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1.3);
}

/* Wide dropdown for categories with many sub-items */
.psy-dropdown:has(.psy-dropdown__group) .psy-dropdown__menu {
    min-width: 18rem;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

/* ── Icons (Lucide SVG) ─────────────────────────────────────────── */
.psy-icon {
    width: 1.5rem;
    height: 1.5rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
}

.psy-icon--sm {
    width: 0.85rem;
    height: 0.85rem;
}

.psy-icon--lg {
    width: 2rem;
    height: 2rem;
}

/* ── Skip link ──────────────────────────────────────────────────── */
.psy-site .psy-skip-link {
    position: absolute;
    left: -9999px;
    z-index: 100;
    padding: 0.5rem 1rem;
    background: var(--psy-teal);
    color: var(--psy-white);
    border-radius: var(--psy-radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
}

.psy-skip-link:focus {
    left: 0.5rem;
    top: 0.5rem;
}

/* ── Theme switcher ─────────────────────────────────────────────── */
.psy-theme-switcher {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 9999;
}

.psy-theme-switcher__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 1px solid var(--psy-border-2);
    background: var(--psy-white);
    color: var(--psy-text);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.15s ease;
}

.psy-theme-switcher__toggle:hover { transform: scale(1.05); }

.psy-theme-switcher__panel {
    position: absolute;
    right: 0;
    bottom: 3.25rem;
    min-width: 11rem;
    padding: 0.6rem;
    border-radius: 0.5rem;
    border: 1px solid var(--psy-border-2);
    background: var(--psy-white);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.psy-theme-switcher__title {
    margin: 0 0 0.4rem;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.5;
}

.psy-theme-switcher__hint {
    margin: 0 0 0.5rem;
    font-size: 0.7rem;
    opacity: 0.6;
    line-height: 1.3;
}

.psy-theme-switcher__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.4rem 0.6rem;
    margin-bottom: 0.15rem;
    border: 1px solid transparent;
    border-radius: 0.35rem;
    background: none;
    color: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.psy-theme-switcher__option--active {
    border-color: var(--psy-teal);
    background: var(--psy-teal-soft);
    color: var(--psy-teal);
}

/* ── Admin preview banner ───────────────────────────────────────── */
.psy-admin-banner {
    margin: 0 var(--psy-pad);
    padding: 1rem 0;
}

.psy-admin-banner__inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--psy-gold-featured-bg);
    background: #fffbeb;
    border-radius: var(--psy-radius-sm);
    padding: 0.625rem 1rem;
    font-size: 0.85rem;
    color: var(--psy-gold-featured-text);
}

/* ── Responsive ─────────────────────────────────────────────────── */
/* Mobile toggle (hamburger) — hidden on desktop */
.psy-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 1px solid var(--psy-border-2);
    border-radius: var(--psy-radius-sm);
    background: var(--psy-white);
    cursor: pointer;
    flex-shrink: 0;
}

.psy-mobile-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--psy-text-2);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.psy-mobile-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.psy-mobile-toggle.is-active span:nth-child(2) {
    opacity: 0;
}
.psy-mobile-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Featured specialists slider ─────────────────────────────────── */
.psy-featured-slider-section {
    margin: 2rem 0 0;
}

.psy-featured-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1rem;
    overflow: hidden;
    max-width: 100%;
}

.psy-featured-slider__track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 0.5rem 0.25rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
    min-width: 0;
    justify-content: center;
}

.psy-featured-slider__track::-webkit-scrollbar {
    display: none;
}

.psy-featured-slider__btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid var(--psy-border);
    background: var(--psy-white);
    color: var(--psy-text-2);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
    box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.1);
    z-index: 2;
}

.psy-featured-slider__btn:hover {
    background: var(--psy-teal-soft);
    color: var(--psy-teal-dark);
    border-color: var(--psy-teal);
    transform: scale(1.08);
}

.psy-featured-card {
    flex: 0 0 auto;
    width: 200px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem 1rem;
    border-radius: var(--psy-radius);
    border: 1px solid var(--psy-border-2);
    background: var(--psy-white);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.psy-featured-card:hover {
    box-shadow: 0 8px 24px -8px rgba(15, 23, 42, 0.18);
    transform: translateY(-3px);
    border-color: var(--psy-teal);
}

.psy-featured-card__photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 0.75rem;
    background: var(--psy-teal-soft);
}

.psy-featured-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.psy-featured-card__avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--psy-teal-dark);
}

.psy-featured-card__body {
    min-width: 0;
    width: 100%;
}

.psy-featured-card__name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--psy-text);
    margin: 0 0 0.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.psy-featured-card__spec {
    font-size: 0.8rem;
    color: var(--psy-teal-dark);
    font-weight: 500;
    margin: 0 0 0.1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.psy-featured-card__city {
    font-size: 0.78rem;
    color: var(--psy-muted);
    margin: 0 0 0.6rem;
}

.psy-featured-card__link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--psy-teal);
    text-decoration: none;
}

@media (max-width: 768px) {
    .psy-featured-slider { padding: 0 0.5rem; gap: 0.4rem; }
    .psy-featured-slider__track { justify-content: flex-start; }
    .psy-featured-slider__btn { width: 2rem; height: 2rem; }
    .psy-featured-slider__btn .psy-icon { width: 1rem; height: 1rem; }
    .psy-featured-card { width: 150px; padding: 0.85rem 0.6rem; }
    .psy-featured-card__photo { width: 60px; height: 60px; }
    .psy-featured-card__name { font-size: 0.82rem; }
    .psy-spec-section { padding: 1.25rem 0; }
    .psy-spec-chips { gap: 0.45rem; }
    .psy-spec-chip { padding: 0.4rem 0.75rem; font-size: 0.78rem; }
}

/* Mobile menu panel */
.psy-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 82vw;
    height: 100vh;
    background: var(--psy-white);
    border-left: 1px solid var(--psy-border);
    box-shadow: -8px 0 32px -8px rgba(15, 23, 42, 0.2);
    z-index: 1000;
    overflow-y: auto;
    padding: 3.5rem 0.6rem 1rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    visibility: hidden;
}

.psy-mobile-menu__top {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--psy-border);
}

.psy-mobile-menu__account {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--psy-teal);
    text-decoration: none;
    border-radius: 0.4rem;
    transition: background 0.15s ease;
}

.psy-mobile-menu__account:hover {
    background: var(--psy-teal-soft);
}

.psy-mobile-menu__account .psy-icon {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
}

.psy-mobile-menu.is-open {
    transform: translateX(0);
    visibility: visible;
}

.psy-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.psy-mobile-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.psy-mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.psy-mobile-menu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.35rem 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--psy-text-2);
    text-decoration: none;
    border-radius: 0.4rem;
    transition: background 0.15s ease, color 0.15s ease;
    width: 100%;
    background: none;
    border: none;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}

.psy-mobile-menu__link:hover {
    background: var(--psy-teal-soft);
    color: var(--psy-teal-dark);
}

.psy-mobile-menu__toggle .psy-dropdown__caret {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.psy-mobile-menu__group.is-open > .psy-mobile-menu__toggle .psy-dropdown__caret {
    transform: rotate(180deg);
}

.psy-mobile-menu__sublist {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s ease;
    padding-left: 0.4rem;
}

.psy-mobile-menu__group.is-open > .psy-mobile-menu__sublist {
    max-height: 60rem;
    opacity: 1;
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
}

.psy-mobile-menu__sublink {
    display: block;
    padding: 0.28rem 0.45rem;
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--psy-text-2);
    text-decoration: none;
    border-radius: 0.35rem;
    transition: background 0.15s ease, color 0.15s ease;
    width: 100%;
    background: none;
    border: none;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}

.psy-mobile-menu__sublink:hover {
    background: var(--psy-teal-soft);
    color: var(--psy-teal-dark);
}

.psy-mobile-menu__sublink--nested {
    padding-left: 0.9rem;
    font-size: 0.72rem;
    color: var(--psy-muted);
}

.psy-mobile-menu__sublist--nested {
    padding-left: 0.3rem;
}

.psy-mobile-menu__divider {
    height: 1px;
    background: var(--psy-border);
    margin: 0.35rem 0;
}

.psy-mobile-menu__actions {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.psy-btn--block {
    width: 100%;
    justify-content: center;
}

@media (max-width: 1280px) {
    .psy-header__top { gap: 1rem; }
    .psy-header__nav { gap: 0.1rem; font-size: 0.82rem; }
    .psy-header__nav-link { padding: 0.4rem 0.6rem; }
    .psy-header__subnav { gap: 0.25rem; font-size: 0.78rem; }
    .psy-header__subnav-link { padding: 0.35rem 0.6rem; }
    .psy-header__logo-sub { display: none; }
}

@media (max-width: 1200px) {
    .psy-header__subnav { gap: 0.15rem; font-size: 0.74rem; }
    .psy-header__subnav-link { padding: 0.3rem 0.5rem; }
}

@media (max-width: 1150px) {
    .psy-header__top { gap: 0.5rem; }
    .psy-header__nav { gap: 0; font-size: 0.76rem; }
    .psy-header__nav-link { padding: 0.35rem 0.45rem; }
    .psy-header__subnav { gap: 0.1rem; font-size: 0.72rem; }
    .psy-header__subnav-link { padding: 0.3rem 0.45rem; }
}

@media (max-width: 1024px) {
    .psy-site { --psy-pad: 2rem; }
    .psy-header__nav { display: none; }
    .psy-header__subnav { display: none; }
    .psy-header__actions-desktop { display: none !important; }
    .psy-header__actions-mobile { gap: 0.35rem; }
    .psy-header__actions-mobile .psy-btn { font-size: 0.72rem; padding: 0.35rem 0.6rem; }
    .psy-mobile-toggle { display: flex; }
    .psy-hero__content { grid-template-columns: 1fr; }
    .psy-search-bar {
        grid-template-columns: 1fr 1fr;
        margin: 0 2rem;
    }
    .psy-search-bar__intro { grid-column: 1 / -1; }
    .psy-content-grid { grid-template-columns: 1fr; }
    .psy-article-grid { grid-template-columns: repeat(2, 1fr); }
    .psy-day-switcher__grid { grid-template-columns: repeat(4, 1fr); }
    .psy-footer__grid { grid-template-columns: 1fr 1fr; }
    .psy-events-grid { grid-template-columns: 1fr; }
    .psy-events-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .psy-site { --psy-pad: 0.75rem; }
    .psy-header__top { height: 60px; gap: 1rem; }
    .psy-header__logo-text { display: none; }
    .psy-header__actions .psy-btn--outline { display: none; }
    .psy-hero__content { padding: 1.25rem 0.75rem 1rem; }
    .psy-hero__title { font-size: 1.4rem; }
    .psy-hero__lead { font-size: 0.85rem; line-height: 1.5; }
    .psy-hero__actions { gap: 0.5rem; margin-top: 1.25rem; }
    .psy-hero__features { display: none; }
    .psy-search-bar {
        grid-template-columns: 1fr;
        margin: 0 0.5rem;
        padding: 0.85rem 0.75rem;
        gap: 0.6rem;
        border-radius: 0.85rem;
    }
    .psy-search-bar__intro { margin-bottom: 0.25rem; }
    .psy-search-bar__intro-title { font-size: 0.9rem; }
    .psy-search-bar__intro-sub { font-size: 0.72rem; }
    .psy-search-field { padding: 0.5rem 0.7rem; gap: 0.4rem; }
    .psy-search-field input,
    .psy-search-field select { font-size: 0.82rem; }
    .psy-search-bar .psy-btn--primary { padding: 0.6rem 1.2rem; font-size: 0.85rem; border-radius: 0.6rem; }
    .psy-type-toggle__btn { padding: 0.45rem 0.5rem; font-size: 0.78rem; }
    .psy-day-switcher { padding: 1rem 0.75rem; }
    .psy-day-switcher__grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
    .psy-day-switcher__title { font-size: 1.1rem; }
    .psy-day-switcher__lead { font-size: 0.76rem; }
    .psy-section__title { font-size: 1.1rem; }
    .psy-section__sub { font-size: 0.78rem; }
    .psy-page-head__title { font-size: 1.2rem; }
    .psy-page-head__lead { font-size: 0.8rem; }
    .psy-poland-map__title { font-size: 0.95rem; }
    .psy-spec-section { margin: 1.25rem 0.5rem 0; }
    .psy-article-grid { grid-template-columns: 1fr; }
    .psy-footer__grid { grid-template-columns: 1fr; }
    .psy-footer__bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
    .psy-trust-strip__inner { gap: 0.5rem 1rem; }
    .psy-trust-strip__item { font-size: 0.72rem; }
}

@media (max-width: 480px) {
    .psy-site { --psy-pad: 0.5rem; }
    .psy-hero__title { font-size: 1.2rem; }
    .psy-hero__lead { font-size: 0.8rem; }
    .psy-hero__actions { flex-direction: column; align-items: stretch; }
    .psy-hero__actions .psy-btn { width: 100%; justify-content: center; }
    .psy-hero__content { padding: 1rem 0.5rem 0.85rem; }
    .psy-search-bar { margin: 0 0.25rem; padding: 0.75rem 0.5rem; gap: 0.5rem; }
    .psy-search-field { padding: 0.45rem 0.6rem; }
    .psy-search-field input,
    .psy-search-field select { font-size: 0.78rem; }
    .psy-day-switcher { padding: 0.85rem 0.5rem; }
    .psy-spec-section { margin: 1rem 0.25rem 0; padding: 1rem 0; }
    .psy-spec-chips { gap: 0.35rem; }
    .psy-spec-chip { padding: 0.35rem 0.6rem; font-size: 0.74rem; }
    .psy-featured-slider__btn { width: 1.75rem; height: 1.75rem; }
    .psy-featured-card { width: 130px; padding: 0.75rem 0.5rem; }
    .psy-day-switcher__title { font-size: 1rem; }
    .psy-section__title { font-size: 1rem; }
    .psy-page-head__title { font-size: 1.1rem; }
}

/* ── Events section (psychological + christian) ─────────────────── */
.psy-events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.psy-events-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* Responsive overrides (must come after base definitions above) */
@media (max-width: 1024px) {
    .psy-events-grid { grid-template-columns: 1fr; }
    .psy-events-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .psy-events-list { grid-template-columns: 1fr; }
}

.psy-event-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--psy-border);
    border-radius: var(--psy-radius);
    background: var(--psy-white);
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.psy-event-card:hover {
    border-color: var(--psy-teal);
    box-shadow: var(--psy-shadow-sm);
    transform: translateY(-1px);
}

.psy-event-card__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--psy-radius);
    background: var(--psy-teal-soft);
    color: var(--psy-teal-dark);
}

.psy-event-card__date-day {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
}

.psy-event-card__date-month {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.15rem;
}

.psy-event-card__body {
    min-width: 0;
}

.psy-event-card__title {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--psy-text);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.psy-event-card:hover .psy-event-card__title {
    color: var(--psy-teal);
}

.psy-event-card__meta {
    margin: 0.2rem 0 0;
    font-size: 0.75rem;
    color: var(--psy-muted);
}

/* ── Area page ──────────────────────────────────────────────────── */
.psy-area-head {
    margin-bottom: 1.5rem;
}

.psy-area-head__title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.psy-area-head__count {
    margin: 0.35rem 0 0;
    font-size: 0.88rem;
    color: var(--psy-muted);
}

.psy-area-children {
    margin-bottom: 1.75rem;
}

.psy-area-children__label {
    margin: 0 0 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--psy-teal);
}

.psy-area-children__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.psy-area-children__select {
    position: relative;
    max-width: 24rem;
}

.psy-area-children__select .psy-custom-select__trigger {
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--psy-border-2);
    border-radius: var(--psy-radius-sm);
    background: var(--psy-bg-2);
}

.psy-area-map {
    margin-bottom: 1.75rem;
}

.psy-area-map__caption {
    margin: 0.5rem 0 0;
    font-size: 0.75rem;
    color: var(--psy-muted);
}

.psy-area-listings {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.psy-listing-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--psy-border);
    border-radius: var(--psy-radius);
    overflow: hidden;
    background: var(--psy-white);
    box-shadow: var(--psy-shadow-sm);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.psy-listing-card:hover {
    box-shadow: var(--psy-shadow);
    transform: translateY(-2px);
}

.psy-listing-card__photo {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--psy-bg-2);
    overflow: hidden;
}

.psy-listing-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.psy-listing-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 2rem;
    font-weight: 800;
    color: var(--psy-teal);
    opacity: 0.4;
}

.psy-listing-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1rem;
    flex: 1;
}

.psy-listing-card__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.psy-listing-card__title a {
    color: var(--psy-text);
    text-decoration: none;
}

.psy-listing-card__title a:hover {
    color: var(--psy-teal);
}

.psy-listing-card__badge {
    flex-shrink: 0;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--psy-teal-dark);
    background: var(--psy-teal-soft);
    padding: 0.2rem 0.5rem;
    border-radius: var(--psy-radius-sm);
}

.psy-listing-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: auto;
}

.psy-listing-card__badge--type {
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.68rem;
    color: var(--psy-text-2);
    background: var(--psy-bg-2);
}

.psy-listing-card__badge--featured {
    color: var(--psy-gold-featured-text);
    background: var(--psy-gold-featured-bg);
}

.psy-listing-card__category {
    margin: 0;
    font-size: 0.75rem;
    color: var(--psy-muted);
}

.psy-listing-card__excerpt {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--psy-text-2);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.psy-listing-card__actions {
    padding-top: 0.5rem;
}

/* ── Therapist card (circular avatar + name) ────────────────────── */
.psy-therapist-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--psy-border);
    border-radius: var(--psy-radius);
    background: var(--psy-white);
    box-shadow: var(--psy-shadow-sm);
    padding: 1.5rem 1.25rem 1.25rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.psy-therapist-card:hover {
    box-shadow: var(--psy-shadow);
    transform: translateY(-2px);
}

.psy-therapist-card--compact {
    padding: 1.25rem 1rem 1rem;
}

.psy-therapist-card__avatar-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 0.85rem;
}

.psy-therapist-card__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--psy-teal-soft);
    border: 3px solid var(--psy-white);
    box-shadow: 0 0 0 2px var(--psy-teal);
    flex-shrink: 0;
}

.psy-therapist-card--compact .psy-therapist-card__avatar {
    width: 88px;
    height: 88px;
}

.psy-therapist-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.psy-therapist-card__avatar-placeholder {
    font-size: 2rem;
    font-weight: 800;
    color: var(--psy-teal);
    opacity: 0.5;
}

.psy-therapist-card--compact .psy-therapist-card__avatar-placeholder {
    font-size: 1.5rem;
}

.psy-therapist-card__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    flex: 1;
}

.psy-therapist-card__name {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.psy-therapist-card--compact .psy-therapist-card__name {
    font-size: 0.9rem;
}

.psy-therapist-card__name a {
    color: var(--psy-text);
    text-decoration: none;
}

.psy-therapist-card__name a:hover {
    color: var(--psy-teal);
}

.psy-therapist-card__category {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--psy-teal-dark);
}

.psy-therapist-card__excerpt {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--psy-text-2);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.psy-therapist-card__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    margin-top: auto;
    padding-top: 0.75rem;
    width: 100%;
}

.psy-therapist-card__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem;
}

.psy-therapist-card__badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--psy-teal-dark);
    background: var(--psy-teal-soft);
    padding: 0.2rem 0.5rem;
    border-radius: var(--psy-radius-sm);
}

.psy-therapist-card__badge--type {
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.68rem;
    color: var(--psy-text-2);
    background: var(--psy-bg-2);
}

.psy-therapist-card__badge--featured {
    color: #92400e;
    background: #fef3c7;
}

.psy-therapist-card__link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--psy-teal);
    text-decoration: none;
    transition: color 0.15s ease;
}

.psy-therapist-card__link:hover {
    color: var(--psy-teal-dark);
    text-decoration: underline;
}

/* ── Availability page layout ───────────────────────────────────── */
.psy-page-head {
    margin-bottom: 1.5rem;
}

.psy-page-head__title {
    margin: 0 0 0.35rem;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--psy-text);
}

@media (max-width: 768px) {
    .psy-page-head__title { font-size: 1.2rem; }
    .psy-page-head__lead { font-size: 0.8rem; }
}

.psy-page-head__lead {
    margin: 0;
    font-size: 0.9rem;
    color: var(--psy-muted);
    line-height: 1.5;
}

.psy-availability-days {
    background: var(--psy-white);
    border: 1px solid var(--psy-border);
    border-radius: var(--psy-radius);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.psy-availability-days__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.psy-availability-days__intro {
    flex-shrink: 0;
}

.psy-availability-days__eyebrow {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--psy-teal);
}

.psy-availability-days__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--psy-text);
}

@media (max-width: 768px) {
    .psy-availability-days__title { font-size: 0.95rem; }
}

/* Day buttons (button-style switcher on availability page) */
.psy-availability-days__buttons {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.4rem;
    flex: 1;
    min-width: 0;
}

.psy-avail-day-select,
.psy-avail-hour-select {
    display: none;
}

@media (max-width: 768px) {
    .psy-availability-days__buttons {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .psy-availability-days__buttons {
        display: none;
    }
    .psy-avail-day-select {
        display: block;
        width: 100%;
        padding: 0.6rem 0.75rem;
        border: 1px solid var(--psy-border-2);
        border-radius: var(--psy-radius-sm);
        background: var(--psy-white);
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--psy-text);
        font-family: inherit;
    }
}

@media (max-width: 768px) {
    .psy-availability-days {
        padding: 0.85rem;
    }
    .psy-availability-days__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    .psy-availability-days__buttons {
        width: 100%;
    }
}

.psy-avail-day-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    padding: 0.5rem 0.5rem;
    border: 1px solid var(--psy-border);
    border-radius: 0.55rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--psy-text-2);
    text-decoration: none;
    background: var(--psy-white);
    text-align: center;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.psy-avail-day-btn:hover {
    border-color: var(--psy-teal);
    color: var(--psy-teal);
    transform: translateY(-1px);
}

a.psy-avail-day-btn.is-active {
    background: var(--psy-teal);
    border-color: var(--psy-teal);
    color: var(--psy-white);
    transform: translateY(-1px);
}

a.psy-avail-day-btn.is-active:hover {
    color: var(--psy-white);
}

.psy-avail-day-btn.is-today:not(.is-active) {
    border-color: var(--psy-teal);
    color: var(--psy-teal);
}

.psy-avail-day-btn__badge {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.8;
}

.psy-availability-layout {
    display: grid;
    grid-template-columns: 200px 1fr 320px;
    gap: 1.5rem;
    align-items: start;
}

.psy-availability-hours {
    background: var(--psy-white);
    border: 1px solid var(--psy-border);
    border-radius: var(--psy-radius);
    padding: 1rem;
    position: sticky;
    top: 1rem;
}

.psy-availability-hours__eyebrow {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--psy-teal);
}

.psy-availability-hours__title {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .psy-availability-hours__title { font-size: 0.85rem; }
}

.psy-availability-hours__body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.psy-hour-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--psy-border);
    border-radius: var(--psy-radius-sm);
    background: var(--psy-white);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--psy-text-2);
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

.psy-hour-btn:hover {
    border-color: var(--psy-teal);
    color: var(--psy-teal-dark);
}

.psy-hour-btn.is-active {
    background: var(--psy-teal);
    border-color: var(--psy-teal);
    color: var(--psy-white);
}

.psy-hour-btn__count {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    background: var(--psy-bg-2);
    color: var(--psy-text-2);
}

.psy-hour-btn.is-active .psy-hour-btn__count {
    background: rgba(255,255,255,0.25);
    color: var(--psy-white);
}

.psy-availability-results__summary {
    margin: 0 0 1rem;
    font-size: 0.85rem;
    color: var(--psy-muted);
}

.psy-availability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.psy-availability-pagination {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.psy-availability-pagination .pagination {
    display: flex;
    gap: 0.25rem;
    list-style: none;
    padding: 0;
}

.psy-availability-pagination .page-link {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.7rem;
    border: 1px solid var(--psy-border);
    border-radius: var(--psy-radius-sm);
    font-size: 0.82rem;
    color: var(--psy-text-2);
    text-decoration: none;
    transition: all 0.15s ease;
}

.psy-availability-pagination .page-item.active .page-link {
    background: var(--psy-teal);
    border-color: var(--psy-teal);
    color: var(--psy-white);
}

.psy-availability-pagination .page-link:hover {
    border-color: var(--psy-teal);
    color: var(--psy-teal-dark);
}

.psy-availability-pagination .page-item.active .page-link:hover {
    color: var(--psy-white);
}

@media (max-width: 1024px) {
    .psy-availability-layout {
        grid-template-columns: 1fr;
    }
    .psy-availability-hours {
        position: static;
    }
}

@media (max-width: 480px) {
    .psy-availability-hours__body {
        display: none;
    }
    .psy-avail-hour-select {
        display: block;
        width: 100%;
        padding: 0.6rem 0.75rem;
        border: 1px solid var(--psy-border-2);
        border-radius: var(--psy-radius-sm);
        background: var(--psy-white);
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--psy-text);
        font-family: inherit;
    }
}

/* ── Availability filters (category chips) ──────────────────────── */
.psy-avail-filters {
    background: var(--psy-white);
    border: 1px solid var(--psy-border);
    border-radius: 0.75rem;
    padding: 1rem;
    position: sticky;
    top: 1rem;
}

.psy-avail-filters__head {
    margin-bottom: 0.85rem;
}

.psy-avail-filters__eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--psy-teal);
    margin: 0 0 0.2rem;
}

.psy-avail-filters__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--psy-text);
}

.psy-avail-filters__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--psy-muted);
    margin: 0 0 0.5rem;
}

.psy-avail-filters__label--sub {
    margin-top: 1rem;
}

.psy-avail-filters__sub-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.75rem;
}

.psy-avail-filters__label--inline {
    margin: 0;
    flex-shrink: 0;
}

.psy-avail-filters__chips--inline {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.psy-avail-filters__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.psy-avail-filters__chips .psy-chip--toggle {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
}

.psy-avail-filters__chips a.psy-chip--toggle.is-active {
    background: var(--psy-teal);
    color: var(--psy-white);
    border-color: var(--psy-teal);
}

.psy-avail-filters__chips a.psy-chip--toggle.is-active:hover {
    background: var(--psy-teal-dark);
    color: var(--psy-white);
}

.psy-avail-filters__chips .psy-chip--sub {
    font-size: 0.75rem;
    padding: 0.3rem 0.65rem;
    background: var(--psy-bg-2);
    border-color: var(--psy-border);
}

/* Consultation mode checkboxes */
.psy-avail-filters__modes {
    margin-top: 1.25rem;
    border-top: 1px solid var(--psy-border);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.psy-mode-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--psy-text-2);
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.12s ease, color 0.12s ease;
}

.psy-mode-check:hover {
    background: var(--psy-bg-2);
    color: var(--psy-text);
}

.psy-mode-check__box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    border: 2px solid var(--psy-border);
    border-radius: 0.3rem;
    flex-shrink: 0;
    color: var(--psy-white);
    transition: all 0.12s ease;
}

.psy-mode-check.is-active {
    color: var(--psy-teal-dark);
}

.psy-mode-check.is-active .psy-mode-check__box {
    background: var(--psy-teal);
    border-color: var(--psy-teal);
}

.psy-mode-check__label {
    line-height: 1.2;
}

/* ── Category page layout ───────────────────────────────────────── */
.psy-category-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 2rem;
    align-items: start;
}

.psy-category-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.psy-category-head__title {
    margin: 0 0 0.25rem;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--psy-text);
}

.psy-category-head__count {
    margin: 0;
    font-size: 0.85rem;
    color: var(--psy-muted);
}

.psy-category-subcats {
    margin-bottom: 1.5rem;
}

.psy-category-subcats__title {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--psy-muted);
}

.psy-category-subcats__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.psy-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--psy-border);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--psy-text-2);
    text-decoration: none;
    transition: all 0.15s ease;
}

.psy-chip:hover {
    border-color: var(--psy-teal);
    color: var(--psy-teal-dark);
    background: var(--psy-teal-soft);
}

.psy-category-map {
    margin-bottom: 1.5rem;
    border: 1px solid var(--psy-border);
    border-radius: var(--psy-radius);
    overflow: hidden;
}

.psy-category-map__caption {
    margin: 0.5rem 0 0;
    font-size: 0.75rem;
    color: var(--psy-muted);
}

.psy-category-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 1rem;
}

.psy-sidebar-card {
    background: var(--psy-white);
    border: 1px solid var(--psy-border);
    border-radius: var(--psy-radius);
    padding: 1rem;
}

.psy-sidebar-card__title {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--psy-muted);
}

.psy-sidebar-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.psy-sidebar-card__list a {
    display: block;
    padding: 0.4rem 0.5rem;
    font-size: 0.85rem;
    color: var(--psy-text-2);
    text-decoration: none;
    border-radius: var(--psy-radius-sm);
    transition: all 0.15s ease;
}

.psy-sidebar-card__list a:hover {
    background: var(--psy-teal-soft);
    color: var(--psy-teal-dark);
}

@media (max-width: 1024px) {
    .psy-category-layout {
        grid-template-columns: 1fr;
    }
    .psy-category-sidebar {
        position: static;
    }
}

/* ── Listing page (single) ──────────────────────────────────────── */
.psy-listing-header {
    margin-bottom: 1.5rem;
}

.psy-listing-header__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}

.psy-chip--primary {
    background: var(--psy-teal);
    color: var(--psy-white) !important;
    border-color: var(--psy-teal);
}

.psy-chip--primary:hover {
    background: var(--psy-teal-dark);
    color: var(--psy-white) !important;
    border-color: var(--psy-teal-dark);
}

.psy-chip--featured {
    color: var(--psy-gold-featured-text);
    background: var(--psy-gold-featured-bg);
    border-color: #fde68a;
}

.psy-chip--type {
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.72rem;
    color: var(--psy-text-2);
    background: var(--psy-bg-2);
}

.psy-chip--open {
    color: #15803d;
    background: #dcfce7;
    border-color: #bbf7d0;
}

.psy-chip--muted {
    color: var(--psy-muted);
    background: var(--psy-bg-2);
}

.psy-chip__dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    margin-right: 0.2rem;
}

.psy-listing-header__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.psy-listing-header__title-wrap {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
    flex: 1;
}

.psy-listing-header__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--psy-white);
    box-shadow: 0 0 0 2px var(--psy-teal);
    flex-shrink: 0;
}

.psy-listing-header__title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--psy-text);
}

.psy-listing-header__cta {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.psy-btn--block {
    width: 100%;
    justify-content: center;
}

.psy-btn--left {
    justify-content: flex-start;
}

.psy-listing-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: start;
}

/* Dolny rząd: Harmonogram · Mapa · Wolne terminy */
.psy-listing-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.psy-listing-bottom__map {
    min-width: 0;
}

.psy-listing-bottom .psy-hours-card {
    margin: 0;
}

.psy-listing-bottom .psy-hours-card__body--map {
    padding: 0;
    overflow: hidden;
    border-radius: 0 0 var(--psy-radius-sm) var(--psy-radius-sm);
}

.psy-listing-bottom .psy-listing-main__map-caption {
    padding: 0.5rem 0.75rem 0;
    font-size: 0.72rem;
}

@media (max-width: 1024px) {
    .psy-listing-bottom {
        grid-template-columns: 1fr;
    }
}

.psy-listing-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.psy-listing-main__heading {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.psy-listing-hero {
    position: relative;
    border-radius: var(--psy-radius);
    overflow: hidden;
    border: 1px solid var(--psy-border);
    background: var(--psy-bg-2);
    box-shadow: var(--psy-shadow-sm);
}

.psy-listing-hero__img {
    width: 100%;
    max-height: 28rem;
    object-fit: cover;
}

.psy-listing-main__map {
    border: 1px solid var(--psy-border);
    border-radius: var(--psy-radius);
    overflow: hidden;
}

.psy-listing-main__map-caption {
    margin: 0.5rem 0 0;
    font-size: 0.75rem;
    color: var(--psy-muted);
}

.psy-gallery__title {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.psy-gallery__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.5rem;
}

.psy-gallery__thumb {
    display: block;
    position: relative;
    border: 1px solid var(--psy-border);
    border-radius: var(--psy-radius-sm);
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    background: var(--psy-bg-2);
    transition: border-color 0.15s ease;
}

.psy-gallery__thumb:hover {
    border-color: var(--psy-teal);
}

.psy-gallery__thumb-img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.psy-info-card {
    background: var(--psy-white);
    border: 1px solid var(--psy-border);
    border-radius: var(--psy-radius);
    overflow: hidden;
}

.psy-info-card__head {
    padding: 1rem 1.25rem 0.5rem;
}

.psy-info-card__head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.psy-info-card__eyebrow {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--psy-teal);
}

.psy-info-card__title {
    margin: 0.15rem 0 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--psy-text);
}

.psy-info-card__title--lg {
    font-size: 1.15rem;
}

.psy-info-card__detail {
    margin: 0.35rem 0 0;
    font-size: 0.78rem;
    color: var(--psy-muted);
}

.psy-info-card__body {
    padding: 0.75rem 1.25rem 1.25rem;
}

.psy-info-card__body--stack {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.psy-info-card__social {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.psy-info-card__body--about {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.psy-about-photo-wrap {
    position: relative;
    flex-shrink: 0;
}

.psy-about-photo {
    display: block;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--psy-white);
    box-shadow: 0 0 0 2px var(--psy-teal);
}

/* AI badge na okrągłym zdjęciu — wyśrodkowany na dole, nie w rogu (róg ucięty) */
.psy-about-photo-wrap .catalog-ai-badge {
    right: 50%;
    transform: translateX(50%);
    bottom: 0.25rem;
}

/* AI badge na głównym zdjęciu hero — wyśrodkowany na dole */
.psy-listing-hero .catalog-ai-badge {
    right: 50%;
    transform: translateX(50%);
    bottom: 0.65rem;
}

.psy-about-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.psy-about-social {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .psy-info-card__body--about {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .psy-about-content {
        width: 100%;
    }
}

.psy-info-card__muted {
    font-size: 0.82rem;
    color: var(--psy-muted);
    margin: 0;
}

.psy-page-html {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--psy-text);
}

.psy-page-html p {
    margin: 0 0 0.85rem;
}

.psy-page-html p:last-child {
    margin-bottom: 0;
}
.psy-page-html ul,
.psy-page-html ol {
    margin: 0 0 0.85rem;
    padding-left: 1.5rem;
}
.psy-page-html ul {
    list-style: disc;
}
.psy-page-html ol {
    list-style: decimal;
}
.psy-page-html li {
    margin: 0.25rem 0;
}
.psy-page-html li::marker {
    color: var(--psy-teal);
}

.psy-slider-nav {
    display: flex;
    gap: 0.25rem;
    flex-shrink: 0;
}

.psy-slider-nav__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--psy-border);
    border-radius: var(--psy-radius-sm);
    background: var(--psy-white);
    cursor: pointer;
    color: var(--psy-text-2);
    transition: all 0.15s ease;
}

.psy-slider-nav__btn:hover {
    border-color: var(--psy-teal);
    color: var(--psy-teal);
}

.psy-slider-hint {
    margin: 0.5rem 0 0;
    font-size: 0.75rem;
    color: var(--psy-muted);
}

.psy-link {
    color: var(--psy-teal);
    text-decoration: none;
}

.psy-link:hover {
    color: var(--psy-teal-dark);
    text-decoration: underline;
}

.psy-info-rows {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.psy-info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.psy-info-row__icon {
    flex-shrink: 0;
    color: var(--psy-teal);
    opacity: 0.7;
    margin-top: 0.1rem;
}

.psy-info-row__label {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--psy-muted);
}

.psy-info-row__value {
    margin: 0;
    font-size: 0.88rem;
    color: var(--psy-text);
}

.psy-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin: 0;
}

.psy-info-chip {
    background: var(--psy-bg-2);
    border-radius: var(--psy-radius-sm);
    padding: 0.5rem 0.75rem;
}

.psy-info-chip__label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--psy-muted);
    margin: 0 0 0.15rem;
}

.psy-info-chip__value {
    font-size: 0.85rem;
    color: var(--psy-text);
    margin: 0;
}

.psy-info-chip__hint {
    font-size: 0.72rem;
    color: var(--psy-muted);
    margin: 0.2rem 0 0;
}

.psy-hours-card {
    background: var(--psy-white);
    border: 1px solid var(--psy-border);
    border-radius: var(--psy-radius);
}

.psy-hours-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 1rem 1.25rem 0.5rem;
}

.psy-hours-card__head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.psy-hours-card__eyebrow {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--psy-teal);
}

.psy-hours-card__title {
    margin: 0.15rem 0 0;
    font-size: 1rem;
    font-weight: 700;
}

.psy-hours-card__detail {
    margin: 0.35rem 0 0;
    font-size: 0.78rem;
    color: var(--psy-muted);
}

.psy-hours-card__body {
    padding: 0.5rem 1.25rem 1.25rem;
}

.psy-hours-247 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--psy-text-2);
    font-size: 0.88rem;
}

.psy-hours-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.psy-hours-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.35rem 0.5rem;
    border-radius: var(--psy-radius-sm);
    font-size: 0.82rem;
}

.psy-hours-row--today {
    background: var(--psy-teal-soft);
    font-weight: 600;
}

.psy-hours-row--closed {
    color: var(--psy-muted);
}

.psy-hours-row__day {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--psy-text);
}

.psy-hours-row__today {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--psy-teal-dark);
    background: var(--psy-white);
    padding: 0.1rem 0.3rem;
    border-radius: 999px;
}

.psy-hours-row__time {
    color: var(--psy-text-2);
    font-variant-numeric: tabular-nums;
}

.psy-hours-status {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
}

.psy-hours-status--open {
    color: #15803d;
    background: #dcfce7;
}

.psy-hours-status--closed {
    color: var(--psy-muted);
    background: var(--psy-bg-2);
}

.psy-hours-status__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.psy-listing-aside {
    position: sticky;
    top: 1rem;
}

.psy-listing-aside-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.psy-listing-related {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--psy-border);
}

@media (max-width: 1024px) {
    .psy-listing-grid {
        grid-template-columns: 1fr;
    }
    .psy-listing-aside {
        position: static;
    }
}

/* ── Shared page components ─────────────────────────────────────── */
.psy-eyebrow {
    margin: 0 0 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--psy-teal);
}

.psy-page-head__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.psy-page-head__actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.psy-chips-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.85rem;
}

.psy-subcat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.75rem 0 0.5rem;
}

.psy-subcat-chips a.psy-chip--toggle.is-active {
    background: var(--psy-teal);
    color: var(--psy-white);
    border-color: var(--psy-teal);
}

.psy-subcat-chips a.psy-chip--toggle.is-active:hover {
    background: var(--psy-teal-dark);
    color: var(--psy-white);
}

.psy-chip--dropdown {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
}

.psy-btn--ghost {
    background: transparent;
    border: 1px solid transparent;
    color: var(--psy-text-2);
}

.psy-btn--ghost:hover {
    color: var(--psy-teal);
    background: var(--psy-teal-soft);
}

.psy-btn--danger {
    background: var(--color-error);
    color: var(--psy-white);
    border: none;
    box-shadow: 0 1px 2px rgba(220, 38, 38, 0.3);
}

.psy-btn--danger:hover {
    background: #b91c1c;
    color: var(--psy-white);
}

.psy-btn--outline {
    background: var(--psy-white);
    border: 1px solid var(--psy-border);
    color: var(--psy-text);
}

.psy-site .psy-btn--outline:hover {
    border-color: var(--psy-teal);
    color: var(--psy-teal-dark);
}

/* ── Blog / events grid ─────────────────────────────────────────── */
.psy-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

/* ── Article (blog post / event show) ───────────────────────────── */
.psy-article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    align-items: start;
}

.psy-article-main {
    min-width: 0;
}

.psy-article-main .psy-article {
    max-width: none;
    margin: 0;
}

.psy-article-sidebar {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 1rem;
}

@media (max-width: 1024px) {
    .psy-article-layout {
        grid-template-columns: 1fr;
    }
    .psy-article-sidebar {
        position: static;
    }
}

.psy-article {
    max-width: 48rem;
    margin: 0 auto;
    width: 100%;
    min-width: 0;
}

.psy-article--center {
    max-width: 48rem;
    margin: 0 auto;
}

.psy-article__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.psy-article__date {
    font-size: 0.82rem;
    color: var(--psy-muted);
}

.psy-article__title {
    margin: 0 0 1rem;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--psy-text);
}

.psy-article__sponsored {
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.psy-article__sponsored-text {
    font-size: 0.82rem;
    color: var(--psy-muted);
}

.psy-article__excerpt {
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--psy-text-2);
    margin: 0 0 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid var(--psy-teal);
}

.psy-article__hero {
    position: relative;
    margin: 0 0 1.5rem;
    border-radius: var(--psy-radius);
    overflow: hidden;
    border: 1px solid var(--psy-border);
    background: var(--psy-bg-2);
    aspect-ratio: 16 / 9;
    box-shadow: var(--psy-shadow-sm);
}

.psy-article__hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.psy-article__divider {
    height: 2px;
    border-radius: 999px;
    background: var(--psy-teal-soft);
    margin: 0 0 1.5rem;
}

/* ── FAQ chips row ──────────────────────────────────────────────── */
.psy-faq-chips {
    margin-bottom: 2rem;
}

/* ── Certificate thumb (button, not link) ───────────────────────── */
.psy-info-card button.catalog-h-slide__thumb {
    padding: 0;
    cursor: pointer;
    text-align: center;
}

/* ── Map lightbox ───────────────────────────────────────────────── */
.psy-map-lightbox {
    margin: auto;
    padding: 0;
    border: none;
    background: transparent;
    /* Room outside the frame for the close button. */
    max-width: min(90vw, 1000px);
    max-height: 90vh;
    width: 100%;
    overflow: visible;
}
.psy-map-lightbox::backdrop {
    background: rgba(0, 0, 0, 0.75);
}
.psy-map-lightbox[open] {
    display: block;
    overflow: visible;
}
.psy-map-lightbox__panel {
    position: relative;
    /* Margin so the close button can sit fully outside the white frame. */
    margin: 1.1rem 1.1rem 0.35rem;
    background: var(--psy-white);
    border-radius: var(--psy-radius);
    overflow: visible;
    box-shadow: var(--psy-shadow);
}
.psy-map-lightbox__close {
    position: absolute;
    top: -0.95rem;
    right: -0.95rem;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    margin: 0;
    padding: 0;
    padding-bottom: 2px;
    border: 1px solid color-mix(in oklab, #fff 28%, transparent);
    border-radius: 999px;
    background: color-mix(in oklab, var(--psy-white) 94%, transparent);
    box-shadow: 0 4px 14px -6px rgba(0, 0, 0, 0.45);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    color: var(--psy-text);
}
.psy-map-lightbox__close:hover {
    border-color: var(--psy-teal);
    background: color-mix(in oklab, var(--psy-teal-soft) 50%, var(--psy-white));
}
.psy-map-lightbox__map {
    width: 100%;
    height: min(70vh, 600px);
    background: var(--psy-bg-2);
    border-radius: var(--psy-radius) var(--psy-radius) 0 0;
    overflow: hidden;
}
.psy-map-lightbox__caption {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    color: var(--psy-muted);
    text-align: center;
    margin: 0;
}

.psy-article__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--psy-border);
}

/* ── Related section ────────────────────────────────────────────── */
.psy-related-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.psy-related-head__eyebrow {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--psy-teal);
}

.psy-related-head__title {
    margin: 0.15rem 0 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.psy-related-head__more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--psy-teal);
    text-decoration: none;
}

.psy-related-head__more:hover {
    color: var(--psy-teal-dark);
    text-decoration: underline;
}

/* ── Event date card ────────────────────────────────────────────── */
.psy-event-date-card__body {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.psy-event-date-card__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--psy-teal-soft);
    color: var(--psy-teal-dark);
    padding: 0.5rem 0.85rem;
    border-radius: var(--psy-radius-sm);
    line-height: 1;
    flex-shrink: 0;
    min-width: 4rem;
}

.psy-event-date-card__month {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.8;
}

.psy-event-date-card__day {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0.15rem 0;
}

.psy-event-date-card__year {
    font-size: 0.7rem;
    opacity: 0.7;
}

.psy-event-date-card__info {
    flex: 1;
    min-width: 0;
}

.psy-event-date-card__when {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
}

.psy-event-date-card__time {
    margin: 0.2rem 0 0;
    font-size: 0.82rem;
    color: var(--psy-muted);
}

.psy-event-cta .psy-info-card__body {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.psy-event-cta__text {
    flex: 1;
    min-width: 0;
}

.psy-event-cta__title {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
}

.psy-event-cta__sub {
    margin: 0.2rem 0 0;
    font-size: 0.82rem;
    color: var(--psy-muted);
}

/* ── User profile ───────────────────────────────────────────────── */
.psy-user-header {
    margin-bottom: 2rem;
}

.psy-user-header__body {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.psy-user-header__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--psy-border);
    flex-shrink: 0;
}

.psy-user-header__avatar--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--psy-teal-soft);
    color: var(--psy-teal);
}

.psy-user-header__info {
    min-width: 0;
    flex: 1;
}

.psy-user-header__name {
    margin: 0 0 0.35rem;
    font-size: 1.4rem;
    font-weight: 800;
}

.psy-user-header__bio {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--psy-text-2);
}

.psy-user-section {
    margin-bottom: 2.5rem;
}

/* ── Auth pages ─────────────────────────────────────────────────── */
.psy-auth-card {
    max-width: 28rem;
    margin: 0 auto;
}

.psy-auth-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.psy-auth-card__text {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: var(--psy-text-2);
    line-height: 1.5;
}

.psy-auth-card__actions {
    display: flex;
    gap: 0.5rem;
}

/* Magic login / add-listing form */
.psy-auth {
    width: 100%;
    max-width: 26rem;
    margin-inline: auto;
    margin-block: 3rem 4rem;
}
@media (min-width: 768px) {
    .psy-auth { margin-block: 6rem 8rem; }
}
.psy-auth__card { overflow: hidden; }
.psy-auth__body {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}
.psy-auth__form {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.psy-auth__step {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.psy-auth__step.is-hidden,
.psy-auth__branch.is-hidden,
.psy-auth__error.is-hidden,
.psy-auth__countdown.is-hidden,
.psy-auth__consent-wrap.is-hidden,
.psy-auth__form.is-hidden,
.psy-auth__no-domain.is-hidden {
    display: none !important;
}
.psy-auth__form--password {
    gap: 1rem;
}
.psy-auth__alt-password {
    text-align: center;
    margin-top: 0.5rem;
}
.psy-auth__alt-btn {
    background: none;
    border: none;
    color: var(--psy-muted, #6b7280);
    font-size: 0.85rem;
    text-decoration: underline;
    cursor: pointer;
    padding: 0.25rem;
}
.psy-auth__alt-btn:hover {
    color: var(--psy-text, #111);
}
.psy-auth__remember {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}
.psy-auth__field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    width: 100%;
    margin: 0;
    cursor: text;
}
.psy-auth__label {
    margin: 0;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.5;
    line-height: 1.3;
}
.psy-auth__input,
.psy-auth__select {
    min-height: 2.75rem;
    width: 100%;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--psy-border-2);
    border-radius: var(--psy-radius-sm);
    background: var(--psy-white);
    color: var(--psy-text);
    font: inherit;
    font-size: 0.95rem;
}
.psy-auth__input:focus,
.psy-auth__select:focus {
    outline: none;
    border-color: var(--psy-teal);
    box-shadow: 0 0 0 3px var(--psy-teal-soft);
}
.psy-auth__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.35rem;
    padding-top: 0.15rem;
}
.psy-auth__actions--row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 0.25rem;
}
.psy-auth__error {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-error);
    line-height: 1.4;
}
.psy-auth__alert {
    margin: 0;
    padding: 0.7rem 0.85rem;
    border-radius: var(--psy-radius-sm);
    font-size: 0.875rem;
    line-height: 1.45;
    border: 1px solid var(--psy-border);
    background: var(--psy-white);
}
.psy-auth__alert--error {
    border-color: rgba(220, 38, 38, 0.35);
    background: rgba(220, 38, 38, 0.06);
    color: rgba(220, 38, 38, 0.85);
}
.psy-auth__email-chip {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.85rem 0.95rem;
    border-radius: var(--psy-radius-sm);
    border: 1px solid var(--psy-border);
    background: var(--psy-bg-2);
}
.psy-auth__email-value {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    word-break: break-all;
}
.psy-auth__back {
    align-self: flex-start;
    margin: 0.2rem 0 0;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--psy-teal);
    cursor: pointer;
    text-decoration: none;
    line-height: 1.4;
}
.psy-auth__back:hover { text-decoration: underline; }
.psy-auth__branch {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.psy-auth__note {
    margin: 0;
    padding: 0.75rem 0.9rem;
    border-radius: var(--psy-radius-sm);
    border: 1px solid var(--psy-border);
    background: var(--psy-teal-soft);
    font-size: 0.875rem;
    line-height: 1.5;
}
.psy-auth__muted {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--psy-muted);
}
.psy-auth__consent {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 0;
    padding: 0.75rem 0.85rem;
    border-radius: var(--psy-radius-sm);
    border: 1px solid var(--psy-border);
    background: var(--psy-white);
    cursor: pointer;
    white-space: normal;
}
.psy-auth__consent-wrap { margin-top: 0.75rem; }
.psy-auth__consent-check {
    margin-top: 0.15rem;
    flex-shrink: 0;
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--psy-teal);
}
.psy-auth__consent-text {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--psy-text-2);
    min-width: 0;
    white-space: normal;
}
.psy-auth__countdown {
    margin-top: 0.75rem;
    padding: 0.6rem 0.85rem;
    border-radius: var(--psy-radius-sm);
    border: 1px solid var(--psy-border);
    background: var(--psy-bg-2);
}
.psy-auth__countdown-text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}
.psy-auth__countdown-cancel {
    background: none;
    border: none;
    color: var(--psy-teal);
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
    padding: 0;
    margin-left: 0.35rem;
}
.psy-auth__captcha { margin-top: 0.15rem; }
.psy-auth__legal {
    margin: 0;
    padding-top: 0.15rem;
    border-top: 1px solid var(--psy-border);
    font-size: 0.75rem;
    line-height: 1.55;
    color: var(--psy-muted);
}

/* Social login (OAuth) */
.psy-auth__oauth { margin-top: 1rem; }
.psy-auth__divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 0.75rem;
    color: var(--psy-muted);
    font-size: 0.75rem;
}
.psy-auth__divider::before,
.psy-auth__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--psy-border);
}
.psy-auth__oauth-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.psy-auth__oauth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--psy-radius-sm);
    border: 1px solid var(--psy-border-2);
    background: var(--psy-white);
    color: var(--psy-text);
    padding: 0.625rem 1rem;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}
.psy-auth__oauth-btn:hover {
    background: var(--psy-bg-2);
    border-color: var(--psy-muted-2);
}
.psy-auth__oauth-btn--facebook { color: var(--psy-facebook); }
.psy-auth__oauth-btn--facebook:hover {
    background: #f0f6ff;
    border-color: var(--psy-facebook);
}
.psy-auth__oauth-icon { flex-shrink: 0; }

/* ── Room availability (/wolne-pokoje) ──────────────────────────── */
.psy-room-form {
    margin-bottom: 1.5rem;
}
.psy-room-form__fields {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    align-items: flex-end;
}
.psy-room-form__field {
    flex: 1 1 auto;
    min-width: 8rem;
    max-width: 14rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.psy-room-form__label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.5;
}
.psy-room-form__input {
    width: 100%;
    min-height: 2.5rem;
    padding: 0.4rem 0.6rem;
    border: 1px solid var(--psy-border-2);
    border-radius: var(--psy-radius-sm);
    background: var(--psy-white);
    color: var(--psy-text);
    font: inherit;
    font-size: 0.9rem;
}
.psy-room-form__input:focus {
    outline: none;
    border-color: var(--psy-teal);
    box-shadow: 0 0 0 3px var(--psy-teal-soft);
}
.psy-room-summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}
.psy-room-summary__text {
    margin: 0;
    font-size: 0.875rem;
}
.psy-room-search-bottom {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.psy-room-search-hint {
    font-size: 0.8125rem;
    color: var(--color-error);
    text-align: center;
    min-height: 1.25rem;
}

/* ── Static page ────────────────────────────────────────────────── */
.psy-static-page {
    margin: 0 auto;
}

.psy-static-page--full {
    max-width: none;
}

.psy-static-page--narrow {
    max-width: 36rem;
}

.psy-static-page--sidebar {
    max-width: none;
}

/* ── Sidebar active state ───────────────────────────────────────── */
.psy-sidebar-card__list a.is-active {
    background: var(--psy-teal-soft);
    color: var(--psy-teal-dark);
    font-weight: 600;
}

.psy-sidebar-card__list summary.is-active {
    color: var(--psy-teal-dark);
    font-weight: 600;
}

/* Collapsible <details> in sidebar category list */
.psy-sidebar-card__list details > summary {
    list-style: none;
    cursor: pointer;
    padding: 0.4rem 0.5rem;
    font-size: 0.85rem;
    color: var(--psy-text-2);
    border-radius: var(--psy-radius-sm);
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
}

.psy-sidebar-card__list details > summary::-webkit-details-marker {
    display: none;
}

.psy-sidebar-card__list details > summary::after {
    content: '▾';
    font-size: 0.7rem;
    color: var(--psy-muted-2);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.psy-sidebar-card__list details[open] > summary::after {
    transform: rotate(180deg);
}

.psy-sidebar-card__list details > summary:hover {
    background: var(--psy-teal-soft);
    color: var(--psy-teal-dark);
}

.psy-sidebar-card__list details > ul {
    list-style: none;
    margin: 0.15rem 0 0.3rem;
    padding: 0 0 0 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.psy-sidebar-card__list details > ul a {
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
    color: var(--psy-muted);
}

.psy-sidebar-card__text {
    font-size: 0.82rem;
    color: var(--psy-muted);
    margin: 0 0 0.5rem;
}

.psy-area-empty__actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.75rem;
}

.psy-btn--sm {
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
}

.psy-area-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--psy-muted);
    font-size: 0.9rem;
}

.psy-area-empty__title {
    margin: 0 0 0.4rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--psy-text-2);
}

.psy-area-empty__sub {
    margin: 0 0 1.25rem;
    font-size: 0.9rem;
}

.psy-pagination {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.psy-pagination .pagination {
    display: flex;
    gap: 0.25rem;
    list-style: none;
    padding: 0;
}

.psy-pagination a,
.psy-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.5rem;
    border: 1px solid var(--psy-border-2);
    border-radius: var(--psy-radius-sm);
    font-size: 0.82rem;
    text-decoration: none;
    color: var(--psy-text-2);
}

.psy-pagination a:hover {
    border-color: var(--psy-teal);
    color: var(--psy-teal);
}

.psy-pagination .active span,
.psy-pagination .active a {
    background: var(--psy-teal);
    border-color: var(--psy-teal);
    color: var(--psy-white);
    font-weight: 700;
}

.psy-pagination .disabled span {
    opacity: 0.4;
    pointer-events: none;
}

/* ── Split row (wolne terminy + mapa) ───────────────────────────── */
.psy-split-row {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 1.5rem;
    align-items: start;
}

.psy-split-row__main,
.psy-split-row__side {
    min-width: 0;
}

@media (max-width: 1024px) {
    .psy-split-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .psy-split-row { display: flex; flex-direction: column; gap: 1.25rem; }
}

/* ── Poland voivodeship map ─────────────────────────────────────── */
.psy-poland-map {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.psy-poland-map__eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--psy-teal);
    margin: 0 0 0.3rem;
}

.psy-poland-map__title {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.psy-poland-map__lead {
    margin: 0 0 0.75rem;
    font-size: 0.78rem;
    color: var(--psy-muted);
}

.psy-poland-map__svg {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.psy-poland-map {
    position: relative;
}

.psy-poland-map__tooltip {
    position: absolute;
    pointer-events: none;
    background: var(--psy-teal-dark, #0f766e);
    color: var(--psy-white, #fff);
    padding: 0.3rem 0.6rem;
    border-radius: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    z-index: 10;
    opacity: 0;
    transform: translateY(-2px);
    transition: opacity 0.15s ease, transform 0.15s ease;
    box-shadow: 0 4px 12px -4px rgba(0,0,0,0.3);
}

.psy-poland-map__tooltip.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.psy-poland-map__region {
    cursor: pointer;
    text-decoration: none;
    display: inline;
}

.psy-poland-map__region path {
    fill: var(--psy-teal-soft, #e0f2f1);
    stroke: var(--psy-teal, #0d9488);
    stroke-width: 1;
    stroke-opacity: 0.5;
    transition: fill 0.2s ease, stroke-opacity 0.2s ease;
}

.psy-poland-map__region:hover path {
    fill: var(--psy-teal, #0d9488);
    stroke-opacity: 1;
}

.psy-poland-map__region:focus-visible path {
    fill: var(--psy-teal, #0d9488);
    stroke-opacity: 1;
    outline: 2px solid var(--psy-teal);
    outline-offset: 2px;
}

/* Active region (has listings) */
.psy-poland-map__region--active path {
    fill: var(--psy-teal, #0d9488);
    stroke-opacity: 0.8;
}

.psy-poland-map__region--active:hover path {
    fill: var(--psy-teal-dark, #0f766e);
}

/* Map inside sidebar — compact */
.psy-sidebar-card--map .psy-poland-map {
    text-align: center;
    margin-bottom: 0.75rem;
}

.psy-sidebar-card--map .psy-poland-map__svg {
    max-width: 260px;
}

.psy-sidebar-card__list--compact {
    columns: 2;
    column-gap: 0.5rem;
    font-size: 0.78rem;
}

/* ── Listing filters (catalog-filters) styled for psycholog sidebar ── */
.psy-sidebar .catalog-info-card {
    background: var(--psy-white);
    border: 1px solid var(--psy-border);
    border-radius: var(--psy-radius);
    padding: 1rem;
    margin-bottom: 1rem;
}

.psy-sidebar .catalog-info-card__head {
    margin-bottom: 0.75rem;
}

.psy-sidebar .catalog-info-card__eyebrow {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--psy-teal);
}

.psy-sidebar .catalog-info-card__title {
    margin: 0.15rem 0 0;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--psy-muted-2);
}

.psy-sidebar .catalog-filters__form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.psy-sidebar .catalog-filters__field {
    border: none;
    padding: 0;
    margin: 0;
}

.psy-sidebar .catalog-filters__legend {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--psy-text);
    margin-bottom: 0.35rem;
    padding: 0;
}

.psy-sidebar .catalog-filters__options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.75rem;
}

.psy-sidebar .catalog-filters__option {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--psy-text-2);
    cursor: pointer;
}

.psy-sidebar .catalog-filters__option--block {
    display: flex;
}

.psy-sidebar .catalog-filters__option-label {
    line-height: 1.2;
}

.psy-sidebar .catalog-filters__control {
    font-size: 0.8rem;
    border-radius: 0.4rem;
    border-color: var(--psy-border);
}

.psy-sidebar .catalog-filters__control:focus {
    border-color: var(--psy-teal);
    outline: none;
    box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.15);
}

.psy-sidebar .catalog-filters__actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.psy-sidebar .catalog-filters__actions .btn {
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 0.45rem;
    padding: 0.4rem 0.85rem;
}

.psy-sidebar .catalog-filters__actions .btn-primary {
    background: var(--psy-teal);
    border-color: var(--psy-teal);
    color: var(--psy-white);
}

.psy-sidebar .catalog-filters__actions .btn-primary:hover {
    background: var(--psy-teal-dark);
    border-color: var(--psy-teal-dark);
}

.psy-sidebar .catalog-filters__actions .btn-ghost {
    color: var(--psy-muted);
    background: transparent;
    border: 1px solid var(--psy-border);
}

.psy-sidebar .catalog-filters__actions .btn-ghost:hover {
    color: var(--psy-text);
    border-color: var(--psy-muted-2);
}

.psy-sidebar-card__list--compact li {
    break-inside: avoid;
    margin-bottom: 0.2rem;
}

.psy-sidebar-card__list--compact a {
    display: block;
    padding: 0.15rem 0;
}

/* ── Animations ──────────────────────────────────────────────────── */
@keyframes psy-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.psy-hero,
.psy-day-switcher,
.psy-spec-section,
.psy-content-grid {
    animation: psy-fade-in 0.4s ease-out;
}

/* ── Cookie consent — psycholog theme overrides ──────────────────── */
.kf-cookie {
    --psy-teal: #159bad;
    --psy-teal-dark: #0f7a8c;
    --psy-teal-soft: rgba(21, 155, 173, 0.08);
    --psy-text: #1f2430;
    --psy-text-2: #3a4050;
    --psy-muted: #6b7186;
    --psy-border: #e7e9f2;
    --psy-bg-2: #fbfbfd;
    --psy-white: #fff;
    --psy-radius-sm: 0.65rem;
    --psy-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-family: var(--psy-font);
    color: var(--psy-text);
}

.kf-cookie__bar {
    background: var(--psy-white);
    border-top: 1px solid var(--psy-border);
    box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.10);
}

.kf-cookie__title {
    font-weight: 700;
    color: var(--psy-text);
}

.kf-cookie__text {
    color: var(--psy-text-2);
}

.kf-cookie__link {
    color: var(--psy-teal);
    font-weight: 600;
}

.kf-cookie__link:hover {
    color: var(--psy-teal-dark);
}

.kf-cookie__btn {
    border: 1px solid var(--psy-border);
    background: var(--psy-white);
    color: var(--psy-text);
    font-weight: 600;
    padding: 0.55rem 1.1rem;
    border-radius: var(--psy-radius-sm);
    font-size: 0.85rem;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.kf-cookie__btn:hover {
    background: var(--psy-bg-2);
    border-color: var(--psy-teal);
    color: var(--psy-teal-dark);
}

.kf-cookie__btn--primary {
    background: var(--psy-teal);
    border-color: var(--psy-teal);
    color: var(--psy-white);
}

.kf-cookie__btn--primary:hover {
    background: var(--psy-teal-dark);
    border-color: var(--psy-teal-dark);
    color: var(--psy-white);
}

.kf-cookie__btn--ghost {
    background: transparent;
}

.kf-cookie__btn--ghost:hover {
    background: var(--psy-teal-soft);
}

.kf-cookie__panel-card {
    background: var(--psy-white);
    color: var(--psy-text);
    border-radius: var(--psy-radius-sm);
    border: 1px solid var(--psy-border);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
}

.kf-cookie__panel-head {
    border-bottom: 1px solid var(--psy-border);
}

.kf-cookie__panel-title {
    font-weight: 700;
    color: var(--psy-text);
}

.kf-cookie__icon-btn {
    background: var(--psy-bg-2);
    border-radius: var(--psy-radius-sm);
    color: var(--psy-muted);
}

.kf-cookie__icon-btn:hover {
    background: var(--psy-teal-soft);
    color: var(--psy-teal-dark);
}

.kf-cookie__panel-foot {
    border-top: 1px solid var(--psy-border);
}

.kf-cookie__cat {
    border: 1px solid var(--psy-border);
    border-radius: var(--psy-radius-sm);
    background: var(--psy-bg-2);
}

.kf-cookie__cat-title {
    font-weight: 700;
    color: var(--psy-text);
}

.kf-cookie__cat-desc {
    color: var(--psy-text-2);
}

.kf-cookie__pill {
    background: var(--psy-teal-soft);
    color: var(--psy-teal-dark);
    opacity: 1;
}

.kf-cookie__toggle {
    border: 1px solid var(--psy-border);
    background: var(--psy-bg-2);
}

.kf-cookie__toggle:checked {
    background: var(--psy-teal);
    border-color: var(--psy-teal);
}

.kf-cookie__details summary {
    color: var(--psy-teal);
}

.kf-cookie__list {
    color: var(--psy-text-2);
}

/* ── Reduced motion ──────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .psy-site {
        scroll-behavior: auto;
    }
    .psy-site a,
    .psy-site button,
    .psy-site input,
    .psy-site select,
    .psy-hero,
    .psy-day-switcher,
    .psy-spec-section,
    .psy-content-grid {
        transition: none !important;
        animation: none !important;
    }
}

/* ── Location autocomplete dropdown ─────────────────────────────── */
.psy-location-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    max-height: 280px;
    overflow-y: auto;
    background: var(--psy-white);
    border: 1px solid var(--psy-border);
    border-radius: var(--psy-radius-sm);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    margin-top: 4px;
}

.psy-location-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    font-size: 0.85rem;
    color: var(--psy-text);
    cursor: pointer;
    transition: background 0.1s ease;
}

.psy-location-option:hover,
.psy-location-option--active {
    background: var(--psy-teal-soft);
    color: var(--psy-teal-dark);
}

.psy-location-option__hint {
    font-size: 0.72rem;
    color: var(--psy-muted);
    font-weight: 400;
    white-space: nowrap;
}

.psy-location-option--active .psy-location-option__hint {
    color: var(--psy-teal);
}

/* ── FAQ accordion ─────────────────────────────────────────────── */
.join-vertical.faq-accordion {
    background: var(--psy-white);
    border: 1px solid var(--psy-border);
    border-radius: var(--psy-radius);
    box-shadow: var(--psy-shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
    overflow: hidden;
}

.faq-accordion .collapse {
    border: none !important;
    border-radius: var(--psy-radius-sm);
    background: var(--psy-bg-2);
    transition: background 0.2s ease;
}

.faq-accordion .collapse:hover {
    background: var(--psy-teal-soft);
}

.faq-accordion .collapse[open] .collapse-title,
.faq-accordion .collapse > input:checked ~ .collapse-title {
    color: var(--psy-teal-dark);
}

.faq-accordion .collapse-title {
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--psy-text);
}

.faq-accordion .collapse-content {
    padding: 0 1rem 0.85rem;
    font-size: 0.86rem;
    line-height: 1.6;
    color: var(--psy-text-2);
}

/* FAQ category chips — bigger */
.catalog-filter-chip.btn {
    min-height: 2.1rem !important;
    padding: 0.4rem 1rem !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
}
