/* Przeniesione z single-object.php (wcześniej osadzone w HTML). */
/* ========================================================================== 
   SINGLE OBJECT MODERN — SAMODZIELNY ARKUSZ
   Docelowo można przenieść go do assets/css/single-object.css.
   ========================================================================== */
:root {
    --zwp-primary: #176b45;
    --zwp-primary-dark: #0f5132;
    --zwp-accent: #d4872e;
    --zwp-text: #172033;
    --zwp-muted: #667085;
    --zwp-soft: #f5f7f6;
    --zwp-border: #e4e9e6;
    --zwp-white: #ffffff;
    --zwp-radius: 18px;
    --zwp-shadow: 0 12px 35px rgba(24, 49, 38, 0.08);
}

.modern-object-page {
    background: #fbfcfb;
    color: var(--zwp-text);
}

.modern-object-page .site-main,
.modern-entry-container {
    width: 100%;
}

.modern-entry-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 24px 80px;
}

.object-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 18px;
    color: #475569 !important;
    font-size: 14px;
}

.object-breadcrumbs a {
    color: var(--zwp-primary) !important;
    text-decoration: none;
    font-weight: 650;
}

.object-breadcrumbs span {
    color: #475569 !important;
}

.object-breadcrumbs a:hover { text-decoration: underline; }

/* HERO */
.serwis-hero-header {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    border-radius: 26px;
    box-shadow: var(--zwp-shadow);
    background: linear-gradient(135deg, var(--zwp-primary-dark), var(--zwp-primary));
    isolation: isolate;
}

.serwis-hero-header--no-image { min-height: 380px; }

.hero-bg,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-bg {
    z-index: -2;
    background-size: cover;
    background-position: center;
    transform: scale(1.001);
    transition: transform .7s ease;
}

.serwis-hero-header:hover .hero-bg { transform: scale(1.025); }

.hero-overlay {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(5, 22, 15, .86) 0%, rgba(5, 22, 15, .48) 48%, rgba(5, 22, 15, .12) 78%),
        linear-gradient(0deg, rgba(5, 22, 15, .72) 0%, transparent 58%);
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 500px;
    max-width: 930px;
    padding: 56px;
    color: #fff;
}

.serwis-hero-header--no-image .hero-content { min-height: 380px; }

.hero-badges-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 18px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(9px);
    color: #fff;
    font-size: 13px;
    font-weight: 750;
}

.hero-badge--category { background: rgba(23,107,69,.88); }

.entry-title {
    max-width: 880px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.35rem, 5vw, 4.35rem);
    line-height: 1.04;
    letter-spacing: -.035em;
    text-wrap: balance;
    text-shadow: 0 3px 20px rgba(0,0,0,.25);
}

.hero-excerpt {
    max-width: 800px;
    margin: 18px 0 0;
    color: rgba(255,255,255,.9);
    font-size: clamp(1rem, 1.6vw, 1.22rem);
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.object-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 12px 20px;
    border: 0;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.object-btn:hover { transform: translateY(-2px); }

.object-btn--primary {
    background: var(--zwp-primary);
    color: #fff !important;
    box-shadow: 0 9px 24px rgba(15,81,50,.25);
}

.object-btn--primary:hover { background: var(--zwp-primary-dark); }

.object-btn--glass {
    border: 1px solid rgba(255,255,255,.32);
    background: rgba(255,255,255,.15);
    color: #fff !important;
    backdrop-filter: blur(9px);
}

.object-btn--glass:hover { background: rgba(255,255,255,.25); }
.object-btn--wide { width: 100%; }

.hero-photo-credit {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: min(320px, calc(100% - 28px));
    padding: 7px 11px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    background: rgba(8,22,16,.58);
    color: rgba(255,255,255,.78);
    font-size: 12px;
    line-height: 1.25;
    box-shadow: 0 5px 18px rgba(0,0,0,.16);
    backdrop-filter: blur(8px);
}

.hero-photo-credit i {
    flex: 0 0 auto;
    color: rgba(255,255,255,.9);
    font-size: 11px;
}

.hero-photo-credit__label {
    color: rgba(255,255,255,.68);
}

.hero-photo-credit__author {
    overflow: hidden;
    color: #fff !important;
    font-weight: 750;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

a.hero-photo-credit__author:hover {
    color: #fff !important;
    text-decoration: underline;
}


/* SZYBKIE INFORMACJE */
.object-quick-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
    gap: 12px;
    margin: -24px 28px 26px;
    position: relative;
    z-index: 4;
}

.quick-info-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 86px;
    padding: 15px 16px;
    border: 1px solid var(--zwp-border);
    border-radius: 15px;
    background: rgba(255,255,255,.97);
    color: var(--zwp-text);
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(28,54,42,.09);
    transition: transform .2s ease, border-color .2s ease;
}

.quick-info-card:hover {
    transform: translateY(-3px);
    border-color: rgba(23,107,69,.35);
}

.quick-info-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
    background: #e9f4ee;
    color: var(--zwp-primary);
}

.quick-info-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.quick-info-copy small {
    color: var(--zwp-muted);
    font-size: 11px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .045em;
}

.quick-info-copy strong {
    overflow: hidden;
    margin-top: 3px;
    color: var(--zwp-text);
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quick-info-card--status.is-open .quick-info-icon { background: #dcfce7; color: #15803d; }
.quick-info-card--status.is-closed .quick-info-icon { background: #fee2e2; color: #b91c1c; }

/* NAWIGACJA KOTWICOWA */
.object-section-nav {
    position: sticky;
    top: 76px;
    z-index: 900;
    margin: 0 0 34px;
    border: 1px solid var(--zwp-border);
    border-radius: 14px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 7px 22px rgba(28,54,42,.06);
    backdrop-filter: blur(12px);
}

body.admin-bar .object-section-nav { top: 108px; }

.object-section-nav__inner {
    display: flex;
    overflow-x: auto;
    padding: 5px;
    scrollbar-width: none;
}
.object-section-nav__inner::-webkit-scrollbar { display: none; }

.object-section-nav a {
    flex: 0 0 auto;
    padding: 11px 15px;
    border-radius: 10px;
    color: #475467;
    text-decoration: none;
    font-size: 14px;
    font-weight: 750;
}
.object-section-nav a:hover { background: #edf5f0; color: var(--zwp-primary); }

.object-anchor-section { scroll-margin-top: 150px; }
body.admin-bar .object-anchor-section { scroll-margin-top: 182px; }

/* LAYOUT */
.serwis-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, .82fr);
    align-items: start;
    gap: 38px;
    /* main.css (stary układ) dodaje 0 40px – przez to treść była węższa niż nagłówek,
       a na telefonie zostawało tylko ok. 280 px szerokości. */
    padding: 0;
}

.serwis-main-content { min-width: 0; }

.serwis-section,
.sidebar-widget,
.object-discovery-section,
.object-city-cta {
    border: 1px solid var(--zwp-border);
    border-radius: var(--zwp-radius);
    background: #fff;
    box-shadow: 0 8px 28px rgba(28,54,42,.045);
}

.serwis-section {
    margin-bottom: 28px;
    padding: 30px;
}

.section-heading-row,
.object-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 24px;
    padding: 0 0 15px;
    border-bottom: 1px solid var(--zwp-border);
    color: var(--zwp-text);
    font-size: clamp(1.55rem, 2.3vw, 2rem);
    line-height: 1.2;
}

.section-heading i { color: var(--zwp-accent); }
.section-heading-row .section-heading { flex: 1; }
.section-counter { margin-bottom: 24px; color: var(--zwp-muted); font-size: 13px; }

/* GALERIA */
.gallery-grid--modern {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.gallery-figure {
    position: relative;
    overflow: hidden;
    margin: 0;
    border-radius: 14px;
    background: #eef2ef;
}

.gallery-figure--featured { grid-column: 1 / -1; }

.gallery-item {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.gallery-figure--featured .gallery-item { aspect-ratio: 16 / 8; }

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.gallery-item:hover .gallery-image { transform: scale(1.035); }

.gallery-zoom {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: var(--zwp-primary);
    box-shadow: 0 5px 15px rgba(0,0,0,.14);
}

.gallery-caption {
    padding: 9px 12px;
    border-top: 1px solid var(--zwp-border);
    background: #fff;
    color: var(--zwp-muted);
    font-size: 12px;
    text-align: center;
}

/* TREŚĆ */
.entry-content {
    color: #344054;
    font-size: 1.04rem;
    line-height: 1.78;
}

.entry-content > :first-child { margin-top: 0; }
.entry-content > :last-child { margin-bottom: 0; }

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: var(--zwp-text);
    line-height: 1.25;
    text-wrap: balance;
}

.entry-content h2 {
    margin: 48px 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--zwp-border);
    font-size: 1.8rem;
}

.entry-content h3 { margin: 34px 0 13px; font-size: 1.38rem; }
.entry-content p { margin: 0 0 18px; }
.entry-content ul, .entry-content ol { padding-left: 1.35rem; }
.entry-content img { border-radius: 14px; }

.entry-content .highlight-box {
    margin: 34px 0;
    padding: 25px;
    border: 1px solid #dceae1;
    border-left: 5px solid var(--zwp-primary);
    border-radius: 14px;
    background: linear-gradient(135deg, #f4faf6, #edf6f0);
}

.entry-content .cta-link a,
.entry-content .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 10px;
    background: var(--zwp-primary);
    color: #fff !important;
    text-decoration: none;
    font-weight: 750;
}

/* SIDEBAR */
.serwis-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.serwis-sidebar-primary,
.serwis-sidebar-secondary {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.serwis-sidebar-primary {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

@media (min-width: 901px) {
    .serwis-sidebar-primary {
        position: sticky;
        top: 78px;
        z-index: 5;
    }
    body.admin-bar .serwis-sidebar-primary { top: 110px; }
}

.sidebar-widget { padding: 22px; }

.sidebar-widget-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 17px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--zwp-border);
    color: var(--zwp-text);
    font-size: 1.08rem;
    line-height: 1.3;
}

.sidebar-widget-title i { color: var(--zwp-primary); }

/* GODZINY */
.zwp-hours-widget { background: linear-gradient(145deg, #fff, #fbfdfb); }

.zwp-hours-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    padding: 8px 13px;
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}
.zwp-hours-badge.zwp-open { background: #15803d; }
.zwp-hours-badge.zwp-closed { background: #b91c1c; }

.zwp-hours-display {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 13px;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    background: #f0fdf4;
}
.zwp-hours-display.zwp-closed { border-color: #fecaca; background: #fef2f2; }

.zwp-hours-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    background: #fff;
    color: #15803d;
    box-shadow: 0 3px 12px rgba(0,0,0,.08);
}
.zwp-hours-display.zwp-closed .zwp-hours-icon { color: #b91c1c; }

.zwp-hours-text { display: flex; flex-direction: column; }
.zwp-hours-text small { color: var(--zwp-muted); font-size: 11px; text-transform: uppercase; font-weight: 750; }
.zwp-hours-text strong { margin-top: 2px; color: var(--zwp-text); font-size: 19px; }

.zwp-hours-next,
.zwp-hours-description {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px;
    padding: 11px 12px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
}
.zwp-hours-next { background: #eff6ff; color: #1e40af; }
.zwp-hours-description { background: #fffbeb; color: #92400e; }

.zwp-hours-months {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #d0d5dd;
}

.zwp-month {
    padding: 7px 3px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 750;
    text-align: center;
}
.zwp-month.zwp-open { background: #dcfce7; color: #166534; }
.zwp-month.zwp-closed { background: #f2f4f7; color: #98a2b3; }
.zwp-month.zwp-current { box-shadow: inset 0 0 0 2px rgba(23,107,69,.35); }

/* PLANER CTA */
.widget-plan-cta {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 13px;
    background: linear-gradient(145deg, #153d2c, #176b45);
    color: #fff;
}

.widget-plan-cta__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255,255,255,.14);
}
.widget-plan-cta h2 { margin: 2px 0 5px; color: #fff; font-size: 1.08rem; }
.widget-plan-cta p { margin: 0; color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.5; }
.widget-plan-cta .object-btn { grid-column: 1 / -1; margin-top: 5px; background: #fff; color: var(--zwp-primary-dark) !important; box-shadow: none; }

/* LISTY */
.details-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.details-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid #f0f2f1;
}
.details-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.details-list li:first-child { padding-top: 0; }

.details-list li > i {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 10px;
    background: #edf6f0;
    color: var(--zwp-primary);
}

.details-list li > span { display: flex; min-width: 0; flex-direction: column; }
.details-list small, .info-item small { color: var(--zwp-muted); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .04em; }
.details-list strong { margin-top: 2px; color: var(--zwp-text); font-size: 14px; overflow-wrap: anywhere; }
.details-list a { color: var(--zwp-text); text-decoration: none; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.details-list a:hover { color: var(--zwp-primary); }

/* MAPA */
.widget-map__canvas {
    width: 100%;
    height: 290px;
    overflow: hidden;
    border: 1px solid var(--zwp-border);
    border-radius: 13px;
    background: #eef2ef;
}

.widget-map__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    margin-top: 12px;
    padding: 12px 15px;
    border-radius: 11px;
    background: var(--zwp-primary);
    color: #fff !important;
    text-decoration: none;
    font-weight: 800;
}
.widget-map__btn:hover { background: var(--zwp-primary-dark); }

.sidebar-widget .leaflet-popup,
.sidebar-widget .leaflet-popup-content,
.sidebar-widget .leaflet-popup-tip-container,
.sidebar-widget .leaflet-popup-close-button { display: none !important; }
.sidebar-widget .zwp-pin, .sidebar-widget .leaflet-marker-icon { cursor: default; }

/* SZLAKI */
.trails-list-container { display: flex; flex-direction: column; gap: 10px; }

.trail-info-box {
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    align-items: center;
    gap: 11px;
    padding: 12px;
    border: 1px solid var(--zwp-border);
    border-radius: 12px;
    background: #f8faf9;
    color: var(--zwp-text);
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease;
}
.trail-info-box:hover { transform: translateX(3px); border-color: rgba(23,107,69,.35); }
.trail-icon { font-size: 1.5rem; }
.trail-text { display: flex; min-width: 0; flex-direction: column; }
.trail-text small { color: var(--zwp-muted); font-size: 10px; text-transform: uppercase; font-weight: 750; }
.trail-text strong { overflow: hidden; margin-top: 2px; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.trail-arrow { color: var(--zwp-primary); }

/* INFO I SOCIALE */
.info-list-vertical { display: flex; flex-direction: column; gap: 10px; }
.info-item {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    padding: 10px;
    border: 1px solid #edf0ee;
    border-radius: 11px;
    background: #fafbfa;
}
.icon-box {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 10px;
    background: #edf6f0;
    color: var(--zwp-primary);
}
.text-box { display: flex; min-width: 0; flex-direction: column; }
.text-box a, .text-box strong { margin-top: 2px; color: var(--zwp-text); text-decoration: none; font-size: 13px; overflow-wrap: anywhere; }
.text-box a:hover { color: var(--zwp-primary); }

.social-links-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--zwp-border);
    border-radius: 10px;
    background: #f8faf9;
    color: var(--zwp-text) !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 750;
}
.social-btn:hover { border-color: rgba(23,107,69,.35); color: var(--zwp-primary) !important; }

/* UDOGODNIENIA */
.zwp-premium-amenities-wrapper { display: flex; flex-direction: column; gap: 26px; }
.zwp-amenity-cat-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 13px;
    color: #61706a;
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .075em;
}
.zwp-amenity-cat-title::after { content: ''; height: 1px; flex: 1; background: var(--zwp-border); }
.zwp-amenity-items-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.zwp-amenity-single-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 14px;
    border: 1px solid var(--zwp-border);
    border-radius: 12px;
    background: #fafcfa;
    transition: transform .2s ease, border-color .2s ease;
}
.zwp-amenity-single-item:hover { transform: translateY(-2px); border-color: rgba(212,135,46,.45); }
.zwp-amenity-single-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 10px;
    background: #f6eadc;
    color: #a7631f;
}
.zwp-amenity-single-text { color: var(--zwp-text); font-size: 13px; font-weight: 750; line-height: 1.35; }

/* SEKCJE ODKRYWANIA */
.object-discovery-section {
    margin-top: 34px;
    padding: 34px;
}

.object-section-header { margin-bottom: 22px; }
.object-section-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--zwp-primary);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .09em;
}
.object-section-header h2,
.object-city-cta h2 {
    margin: 0;
    color: var(--zwp-text);
    font-size: clamp(1.65rem, 2.8vw, 2.25rem);
    line-height: 1.18;
}
.object-section-header p,
.object-city-cta p { margin: 8px 0 0; color: var(--zwp-muted); line-height: 1.6; }
.object-section-more { color: var(--zwp-primary); text-decoration: none; font-weight: 800; white-space: nowrap; }

.object-card-grid { display: grid; gap: 20px; }
.object-card-grid--four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.object-card-grid--three { grid-template-columns: repeat(3, minmax(0,1fr)); }

.object-card {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--zwp-border);
    border-radius: 15px;
    background: #fff;
    color: var(--zwp-text);
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}
.object-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(28,54,42,.09); }

.object-card__image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #edf1ee;
}
.object-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.object-card:hover .object-card__image img { transform: scale(1.045); }
.object-card__placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: #98a2b3; font-size: 2rem; }
.object-card__distance {
    position: absolute;
    left: 10px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,.94);
    color: var(--zwp-primary-dark);
    font-size: 11px;
    font-weight: 850;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.object-card__content { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.object-card__content small { color: var(--zwp-muted); font-size: 11px; font-weight: 750; text-transform: uppercase; }
.object-card__content h3 { margin: 5px 0 14px; color: var(--zwp-text); font-size: 1.03rem; line-height: 1.35; }
.object-card__content > span { margin-top: auto; color: var(--zwp-primary); font-size: 12px; font-weight: 800; }

.object-city-cta {
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    align-items: center;
    gap: 22px;
    margin-top: 34px;
    padding: 30px 34px;
    background: linear-gradient(135deg, #f2f8f4, #fffaf3);
}
.object-city-cta__icon {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: var(--zwp-primary);
    color: #fff;
    font-size: 1.45rem;
}

/* MOBILE ACTIONS */
.object-mobile-actions { display: none; }

/* RESPONSYWNOŚĆ */
@media (max-width: 1100px) {
    .object-card-grid--four { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .serwis-layout-grid { gap: 26px; grid-template-columns: minmax(0,1.65fr) minmax(285px,.85fr); }
}

@media (max-width: 900px) {
    .modern-entry-container { padding: 12px 16px 92px; }
    .serwis-hero-header, .hero-content { min-height: 430px; }
    .hero-content { padding: 36px 28px 42px; }
    .object-quick-info { margin: -18px 12px 22px; grid-template-columns: repeat(2, minmax(0,1fr)); }
    .serwis-layout-grid { grid-template-columns: 1fr; }
    .serwis-sidebar { display: contents; }
    .serwis-sidebar-primary { position: static; order: -1; }
    .serwis-main-content { order: 0; }
    .serwis-sidebar-secondary { order: 1; }

    /* Na telefonie przed treścią trafiają tylko godziny i planer.
       Lokalizacja, mapa, kontakt i pozostałe widgety są wyświetlane po treści. */
    .object-section-nav { top: 66px; }
    body.admin-bar .object-section-nav { top: 112px; }

    .object-anchor-section { scroll-margin-top: 136px; }
    body.admin-bar .object-anchor-section { scroll-margin-top: 182px; }

    .object-card-grid--three { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .object-city-cta { grid-template-columns: auto 1fr; }
    .object-city-cta .object-btn { grid-column: 1 / -1; width: 100%; }

    .object-mobile-actions {
        position: fixed;
        left: 50%;
        bottom: 12px;
        z-index: 100;
        display: grid;
        width: min(94vw, 520px);
        grid-template-columns: repeat(3, 1fr);
        overflow: hidden;
        border: 1px solid rgba(255,255,255,.25);
        border-radius: 16px;
        background: rgba(15,36,27,.94);
        box-shadow: 0 12px 35px rgba(0,0,0,.24);
        transform: translateX(-50%);
        backdrop-filter: blur(12px);
    }
    .object-mobile-actions a,
    .object-mobile-actions button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-height: 56px;
        padding: 8px;
        border: 0;
        border-right: 1px solid rgba(255,255,255,.13);
        background: transparent;
        color: #fff;
        text-decoration: none;
        font-size: 12px;
        font-weight: 750;
        cursor: pointer;
    }
    .object-mobile-actions > :last-child { border-right: 0; }
}

@media (max-width: 640px) {
    .object-breadcrumbs { font-size: 12px; }
    .serwis-hero-header, .hero-content { min-height: 390px; }
    .serwis-hero-header { border-radius: 20px; }
    .hero-content { padding: 28px 20px 50px; }
    .entry-title { font-size: 2.35rem; }
    .hero-excerpt { font-size: .98rem; line-height: 1.55; }
    .hero-actions { gap: 8px; }
    .hero-actions .object-btn { flex: 1 1 calc(50% - 8px); padding-inline: 12px; }
    .hero-actions .object-share-btn { flex-basis: 100%; }
    .hero-photo-credit { left: 10px; right: 10px; bottom: 8px; max-width: none; justify-content: center; }

    .object-quick-info { grid-template-columns: 1fr 1fr; margin-inline: 8px; }
    .quick-info-card { min-height: 76px; padding: 12px; }
    .quick-info-icon { width: 36px; height: 36px; flex-basis: 36px; }
    .quick-info-copy strong { font-size: 13px; }

    .serwis-section, .sidebar-widget, .object-discovery-section { padding: 21px; border-radius: 15px; }
    .gallery-grid--modern { grid-template-columns: 1fr; }
    .gallery-figure--featured { grid-column: auto; }
    .gallery-figure--featured .gallery-item, .gallery-item { aspect-ratio: 4 / 3; }
    .section-heading-row { align-items: flex-start; }
    .section-counter { display: none; }

    .object-card-grid--four,
    .object-card-grid--three { grid-template-columns: 1fr; }
    .object-section-header { align-items: flex-start; flex-direction: column; }
    .object-city-cta { grid-template-columns: 1fr; padding: 24px; text-align: left; }
    .object-city-cta__icon { width: 54px; height: 54px; }

    .zwp-amenity-items-grid { grid-template-columns: 1fr; }
    .social-links-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
    .object-quick-info { grid-template-columns: 1fr; }
    .hero-actions .object-btn { flex-basis: 100%; }
}

@media print {
    .object-section-nav,
    .hero-actions,
    .object-mobile-actions,
    .widget-plan-cta,
    .object-share-btn { display: none !important; }
    .serwis-layout-grid { grid-template-columns: 1fr; }
    .serwis-hero-header { min-height: 260px; box-shadow: none; }
    .hero-content { min-height: 260px; }
}
