* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin-top: 0 !important;
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}


:root {
    /* Primary - Niebieski (główny kolor marki) */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    /* Główny */
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;

    /* Secondary - Zielony (akcenty, sukces) */
    --secondary-50: #f0fdf4;
    --secondary-100: #dcfce7;
    --secondary-200: #bbf7d0;
    --secondary-300: #86efac;
    --secondary-400: #4ade80;
    --secondary-500: #22c55e;
    /* Główny */
    --secondary-600: #16a34a;
    --secondary-700: #15803d;

    /* Accent - Pomarańczowy (CTA, wyróżnienia) */
    --accent-50: #fffbeb;
    --accent-100: #fef3c7;
    --accent-200: #fde68a;
    --accent-300: #fcd34d;
    --accent-400: #fbbf24;
    --accent-500: #f59e0b;
    /* Główny */
    --accent-600: #d97706;

    /* Neutralne */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;


    /* Tła */
    --bg-primary: var(--white);
    --bg-secondary: var(--gray-50);
    --bg-tertiary: var(--gray-100);
    --bg-simple-grey: #fff;

    /* Teksty */
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --text-muted: var(--gray-400);
    --text-inverse: var(--white);

    /* Komponenty */
    --border-color: var(--gray-200);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);

    /* Statusy */
    --success: var(--secondary-500);
    --warning: var(--accent-500);
    --danger: #ef4444;
    --info: var(--primary-500);

    --agro-green-dark: #2d5a3d;
    --agro-green: #4a7c59;
    --agro-green-light: #6b9b7a;
    --agro-sage: #87a96b;
    --agro-cream: #f5f1e8;
    --agro-wheat: #e8d5a3;
    --agro-gold: #c9a227;
    --agro-brown: #8b6914;
    --agro-earth: #5c4033;
    --agro-white: #fdfcfa;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Open Sans', sans-serif;
    --fs-base: clamp(1rem, 2vw + 0.5rem, 1.25rem);
    --fs-h1: clamp(2rem, 5vw + 1rem, 3.5rem);
    --fs-h2: clamp(1.5rem, 4vw + 0.5rem, 2.5rem);
    --fs-h3: clamp(1.25rem, 3vw + 0.4rem, 2rem);
    --lh-heading: 1.2;
    --lh-body: 1.6;
    --space: 1rem;

    --container-max: 1440px;
    --container-narrow: 800px;
    --container-wide: 1440px;
    --container-padding: clamp(1rem, 5vw, 3rem);
}

/* Dark mode (opcjonalnie) */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: var(--gray-900);
        --bg-secondary: var(--gray-800);
        --text-primary: var(--gray-100);
        --text-secondary: var(--gray-300);
        --border-color: var(--gray-700);
    }
}


body {
    font-family: 'Inter', sans-serif;
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: flex-end;
    background-color: white;
    max-width: 1600px;
    width: 100%;
    margin: auto;
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: var(--lh-body);
    color: #333;
    
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}


.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 120px;
    background: transparent;
    background-color: #00000053;
    box-shadow: var(--shadow-sm);
    transition: background-color 0.3s ease;
}

.serwis-description p {margin: 15px 0;}
.serwis-description li {
    margin-left: 40px;
    font-size: 18px;
}

.site-header.scrolled {
    background: var(--bg-simple-grey);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.site-header.scrolled a {color: #023021;}
.site-header .logo {
    color: var(--primary-600);
}
.header-container {
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-brand a {
    text-decoration: none;
    display: block;
}

.header-brand img {
    width: auto;
    max-height: 115px;
    display: block;
    margin: -10px 0 0 0;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #2266a9;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.header-navigation {
    margin-left: auto;
    margin-right: 20px;
}

.primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.primary-menu li {
    position: relative;
}

.primary-menu a {
    color: #0e1720;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    font-weight: 500;
    padding: 10px 15px;
    display: block;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer !important;    
}


.primary-menu a:hover,
.primary-menu .current-menu-item a {
    color: #3498db;
}

.primary-menu .current-menu-item a {
    font-weight: 600;
}

.primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border: 1px solid #e0e0e0;
    min-width: 200px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.primary-menu li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
}
@media (max-width: 450px) {
  

    .header-brand img {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        margin-top: 40px;
    }
.header-brand img {
    height: 20%;
    margin: 40px 0 0 0;
    width: 150px;
}
    .header-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin-right: 0;
        background-color: white;
        border-top: 1px solid #e0e0e0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .header-navigation.active {
        display: block;
    }

    .primary-menu {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }

    .primary-menu a {
        padding: 15px 20px;
    }

    .primary-menu a:hover {
        padding-left: 25px;
    }

    .primary-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        padding: 0;
        display: none;
        box-shadow: none;
        border: none;
        background-color: #f8f9fa;
    }

    .primary-menu li.menu-open>.sub-menu {
        display: block;
    }

    .primary-menu .sub-menu a {
        padding-left: 40px;
        font-size: 20px;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}


.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

footer {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}


/* ===================================
   SEARCH SECTION - HOME PAGE
   =================================== */
.home-search-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--agro-green-dark) 0%, var(--agro-green) 50%, var(--agro-sage) 100%);
    margin-bottom: 60px;

}

.search-box {
    
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.45);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.search-title {
    font-size: 32px;
    color: #2c3e50;
    margin: 0 0 10px 0;
    text-align: center;
    font-weight: 700;
}

.search-title i {
    color: #3498db;
    margin-right: 10px;
}

.search-subtitle {
    text-align: center;
    color: #7f8c8d;
    margin: 0 0 30px 0;
    font-size: 16px;
}

.search-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.search-field {
    position: relative;
}

.search-field label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 14px;
}

.search-field label i {
    color: #3498db;
    margin-right: 5px;
}

.search-field select,
.search-field input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fff;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.search-field input[type="text"]::-moz-placeholder {
    color: grey;
    opacity: 1;
}
.search-field input[type="text"]:-ms-input-placeholder {
    color: grey;
}

.search-field input[type="text"]::placeholder {
    color: grey;
    opacity: 1;
}

.search-field select:focus,
.search-field input[type="text"]:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-submit-field {
    display: flex;
    align-items: flex-end;
}

.search-submit-btn {
    width: 100%;
    padding: 12px 30px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.search-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.search-submit-btn i {
    margin-right: 8px;
}

#city-suggestions {
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.city-suggestions-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.city-suggestions-list li {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

.city-suggestions-list li:hover {
    background-color: #f5f5f5;
}

.city-filters .city-btn {
    background: var(--bg-simple-grey);
}

.city-filters .city-btn:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Quick Filters Enhanced */
.quick-filters {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    animation: fadeIn 0.5s ease;
    background: rgba(255, 255, 255, 0.45);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quick-filters-label {
    font-weight: 700;
    color: #2c3e50;
    margin-right: 15px;
    font-size: 15px;
    display: inline-block;
    vertical-align: middle;
}

.quick-filters-label i {
    color: #e74c3c;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.quick-filter-btn {
    padding: 10px 22px;
    background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
    color: #2c3e50;
    border: 0 solid transparent;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.quick-filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.quick-filter-btn:hover::before {
    left: 100%;
}

.quick-filter-btn:hover {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    border-color: #2980b9;
}

.filter-count {
    display: inline-block;
    background: rgba(52, 152, 219, 0.15);
    color: #2c3e50;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    margin-left: 8px;
    transition: all 0.3s ease;
}

.quick-filter-btn:hover .filter-count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* ===================================
   OBJECTS GRID & CARDS
   =================================== */
.objects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.object-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    border: none;
}

.object-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.object-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.object-distance {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.95);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
    color: #667eea;
    z-index: 1;
    font-size: 14px;
}

.object-thumb,
.object-image,
.object-card-image {
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
    position: relative;
}

.object-thumb img,
.object-image img,
.object-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.object-card:hover .object-card-image img,
.object-card:hover .object-image img {
    transform: scale(1.05);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e0e0e0;
    color: #999;
    font-size: 48px;
    background-image: linear-gradient(45deg, #e9e9e9 25%, transparent 25%, transparent 75%, #e9e9e9 75%, #e9e9e9),
        linear-gradient(45deg, #e9e9e9 25%, transparent 25%, transparent 75%, #e9e9e9 75%, #e9e9e9);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

.object-content,
.object-card-content {
    padding: 20px;
}

.object-title,
.object-card-title {
    font-size: 20px;
    margin: 0 0 15px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.4;
}

.object-title a,
.object-card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.object-title a:hover,
.object-card-title a:hover {
    color: #667eea;
}

.object-address,
.object-location,
.object-card-location {
    color: #666;
    font-size: 14px;
    margin: 10px 0;
}

.object-card-location i,
.object-location i {
    color: #e74c3c;
    margin-right: 5px;
}

.object-rating {
    color: #ffa500;
    font-weight: bold;
    margin: 10px 0;
}

.rating-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(255, 193, 7, 0.95);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.object-card-excerpt {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.object-card-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-tag {
    background-color: #ecf0f1;
    color: #34495e;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.object-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.object-meta i {
    color: #4CAF50;
    margin-right: 5px;
}

.object-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.btn-view,
.btn-map {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-view {
    background: #667eea;
    color: white;
    flex: 1;
    text-align: center;
    font-weight: 600;
}

.btn-view:hover {
    background: #5a67d8;
    color: white;
    padding-left: 5px;
}

.btn-map {
    background: #f0f0f0;
    color: #333;
}

.btn-map:hover {
    background: #e0e0e0;
}

/* ===================================
   SEARCH RESULTS PAGE
   =================================== */
.search-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 50px 20px;
    margin-bottom: 40px;
    color: #fff;
}

.search-header-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.search-results-title {
    font-size: 36px;
    margin: 0 0 20px 0;
    color: #fff;
}

.active-filters-display {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.active-filter {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

.active-filter strong {
    font-weight: 700;
}

.clear-filters {
    color: #fff;
    text-decoration: none;
    padding: 8px 15px;
    background: rgba(231, 76, 60, 0.8);
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.clear-filters:hover {
    background: rgba(231, 76, 60, 1);
}

.results-count {
    font-size: 18px;
    margin: 0;
    background: #4CAF50;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.no-results-found,
.no-results,
.no-posts-found,
.no-categories {
    text-align: center;
    padding: 80px 20px;
    color: #7f8c8d;
}

.no-results-found i,
.no-results i,
.no-posts-found i {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.no-results-found h2 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.btn-back-home,
.btn-back {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back-home:hover,
.btn-back:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn-back i {
    margin-right: 8px;
}


/* ===================================
   CATEGORY PAGE - UNIVERSAL & ARCHIVE
   =================================== */
.page-header,
.archive-header {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin-bottom: 40px;
    color: #fff;
}

.page-title,
.archive-title {
    font-size: 42px;
    color: #fff;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.category-description,
.archive-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

article {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;

}

.single-object article {
    margin-top: -120px;
    margin-bottom: 70px;
   
}

article:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.post-thumbnail {
    overflow: hidden;
    height: 200px;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

article:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content {
    padding: 20px;
}

.entry-title {
    font-size: 18px;
    margin: 0 0 15px 0;
}

.entry-title a {
    color: #2c3e50;
    text-decoration: none;
}

.entry-title a:hover {
    color: #3498db;
}

.entry-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 16px;
}

.read-more {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px; 
}

.read-more:hover {
    color: #2980b9;
}

.post-type-badge {
    display: inline-block;
    background: #3498db;
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* ===================================
   PAGINATION
   =================================== */
.pagination,
.pagination-wrapper {
    text-align: center;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.pagination .nav-links,
.pagination-wrapper ul,
.page-numbers {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination a,
.pagination span,
.pagination-wrapper a,
.pagination-wrapper span,
.btn-page,
.page-btn {
    padding: 0 16px;
    background: #fff;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
}

.pagination a:hover,
.pagination-wrapper a:hover,
.btn-page:hover,
.page-btn:hover {
    background: #3498db;
    color: #fff;
    border-color: #3498db;
    transform: translateY(-2px);
}

.pagination .current,
.pagination-wrapper .current,
.btn-page.active,
.page-btn--active {
    background: #3498db;
    color: #fff;
    border-color: #3498db;
}

.pagination .dots,
.dots,
.page-dots {
    border: none;
    background: transparent;
    color: #7f8c8d;
    padding: 0 5px;
}

/* ===================================
   SINGLE 'SERWIS' POST STYLING
   =================================== */
.serwis-hero-header {
    position: relative;
    height: 60vh;
    min-height: 700px;
    max-height: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0;
    margin-bottom: 50px;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 90%;
    margin: 0 auto;
    padding-top: 20px;
}

.serwis-hero-header .entry-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
    margin: 0;
    line-height: 1.2;
}

.hero-excerpt {
    font-size: 1.2rem;
    margin-top: 15px;
    opacity: 0.9;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.serwis-layout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.serwis-main-content .serwis-section {
    margin-bottom: 50px;
}

.serwis-main-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
    color: #2c3e50;
}

.serwis-main-content h2 i {
    margin-right: 10px;
    color: #f39c12;
}

.serwis-description p {
    font-size: 18px;
    line-height: 1.8;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-grid a {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid a:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.serwis-extras {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.serwis-options-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.serwis-options-list li {
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.serwis-options-list li i {
    color: #28a745;
    margin-right: 10px;
}

.serwis-notes {
    background-color: #f8f9fa;
    border-left: 4px solid #0073aa;
    padding: 20px;
    border-radius: 4px;
    font-style: italic;
}

.serwis-sidebar .sticky-sidebar-content {
    position: -webkit-sticky;
    position: sticky;
    top: 50px;
}

.sidebar-widget {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.sidebar-widget h3 i {
    margin-right: 8px;
    color: #f39c12;
}

.serwis-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1rem;
}

.serwis-details-list li {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.serwis-details-list li i {
    margin-right: 12px;
    color: #777;
    margin-top: 4px;
}

.serwis-details-list li strong {
    font-weight: 600;
    margin-right: 5px;
    display: block;
    color: #555;
    flex-shrink: 0;
}

.serwis-details-list a {
    color: #0073aa;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.2s ease;
}

.serwis-details-list a:hover {
    border-bottom: 1px solid #0073aa;
}

.serwis-entry-footer {
    max-width: 1200px;
    margin: 50px auto 0;
    padding: 20px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #666;
}

.serwis-categories {
    margin-bottom: 10px;
    margin-top: 20px;
    font-size: 1rem;
    color: #777;

}

.serwis-categories a {
    text-decoration: none !important;
    color: #0073aa;
}

.serwis-source-info a {
    color: #0073aa;
}

/* ===================================
   RELATED POSTS SECTION
   =================================== */
.related-serwisy-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.related-serwisy-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.related-serwisy-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #0073aa;
    margin: 10px auto 0;
}

.related-serwisy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-serwis-card {
    display: block;
    text-decoration: none;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-serwis-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.card-image-wrapper {
    height: 180px;
    width: 100%;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.card-meta {
    font-size: 0.9rem;
    color: #777;
    display: flex;
    align-items: center;
}

.card-meta i {
    margin-right: 6px;
    color: #0073aa;
}

/* ===================================
   FOOTER
   =================================== */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #95a5a6;
}

/* ===================================
   CATEGORY FILTER STYLES
   =================================== */
.category-filter-wrapper {
    background: linear-gradient(135deg, var(--agro-green-dark) 0%, var(--agro-green) 50%, var(--agro-sage) 100%);
    padding: 30px 20px;
    margin: 0 20px 40px 20px;
    border-radius: 24px;
}

.category-filter-container,
.category-filter-dropdown {
    max-width: 1200px;
    margin: 0 auto;
}

.filter-title {
    font-size: 18px;
    color: #2c3e50;
    margin: 0 0 20px 0;
    font-weight: 600;
}

.filter-title i {
    color: #3498db;
    margin-right: 8px;
}

.category-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.category-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #fff;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
}

.category-filter-btn:hover {
    background-color: #3498db;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.category-filter-btn.active {
    background-color: #3498db;
    color: #fff;
    border-color: #2980b9;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.category-filter-btn i {
    font-size: 14px;
}

.category-count {   
    padding: 2px 8px;
    border-radius: 12px;   
}

.category-filter-btn.active .category-count {
    background-color: rgba(255, 255, 255, 0.3);
}

.results-info {
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 0 20px;
    color: #7f8c8d;
    font-size: 15px;
}

.results-info strong {
    color: #2c3e50;
}

.filter-form {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-form label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
}

.filter-form label i {
    color: #3498db;
    margin-right: 5px;
}

#category-select {
    padding: 12px 20px;
    font-size: 15px;
    border: 2px solid #ddd;
    border-radius: 25px;
    background-color: #fff;
    color: #2c3e50;
    cursor: pointer;
    min-width: 250px;
    transition: all 0.3s ease;
}

#category-select:hover,
#category-select:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.filter-submit-btn {
    padding: 12px 24px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-submit-btn:hover {
    background-color: #2980b9;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header h2 {
    margin: 0;
}

.section-title {
    font-size: 34px;
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.section-title p {
font-size: 30px;
}

.section-description {
    font-size: 18px;
    color: #7f8c8d;
    margin: 0;
}

.view-all-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: #2980b9;
}

.view-all-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.view-all-link:hover i {
    transform: translateX(5px);
}

.home-categories-section {
    padding: 60px 0;
    background-color: var(--bg-simple-grey);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);    
}
.home-categories-section .container {
    max-width: 1600px !important;
}
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.category-card {
    position: relative;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: all 0.4s ease;
    display: block;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.category-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-card:hover .category-card-image img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
}

.category-card-content {
    padding: 25px;
}

.category-name {
    font-size: 18px;
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.category-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #7f8c8d;
    font-size: 16px;
}

.category-count i {
    color: #e74c3c;
}

.category-card-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3498db;
    font-size: 18px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.category-card:hover .category-card-arrow {
    opacity: 1;
    transform: scale(1);
}

.home-latest-section {
    padding: 60px 0;
    background: var(--bg-simple-grey);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.latest-objects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.object-card-mini {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.object-card-mini:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.object-card-mini .object-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.object-card-mini .object-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.object-card-mini .object-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.object-card-mini:hover .object-card-image img {
    transform: scale(1.05);
}

.object-card-mini .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e0e0e0;
    color: #999;
    font-size: 40px;
}

.object-card-mini .rating-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 193, 7, 0.95);
    color: #fff;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
}

.object-card-mini .object-card-content {
    padding: 18px;
}

.object-card-mini .object-card-title {
    font-size: 18px;
    margin: 0 0 8px 0;
    font-weight: 700;
    color: #2c3e50;
}

.object-card-mini .object-card-location {
    color: #7f8c8d;
    font-size: 14px;
}

.object-card-mini .object-card-location i {
    color: #e74c3c;
    margin-right: 5px;
}

/* ===================================
   CTA SECTIONS
   =================================== */
.cta-section {
    background: linear-gradient(135deg, #cbd0e8 0%, #626064 100%);
    padding: 80px 20px;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    color: white;
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 20px;
}

.cta-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    margin: 0 0 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}



.cta-with-image {
    background: #f8f9fa;
    padding: 80px 20px;
    margin: 60px 0;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-image img {
    width: 100%;
    height: auto;
}

.cta-icon {
    text-align: center;
    color: #667eea;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.cta-text h2 {
    font-size: 36px;
    color: #2c3e50;
    margin: 0 0 20px;
}

.cta-text p {
    font-size: 20px;
    color: #7f8c8d;
    margin: 0 0 30px;
}

.cta-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.cta-features li {
    padding: 10px 0;
    color: #2c3e50;
    font-size: 18px;
}

.cta-features i {
    color: #22c55e;
    margin-right: 10px;
}

.minimal-cta {
    text-align: center;
    padding: 60px 20px;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    margin: 60px 0;
}

.minimal-cta h2 {
    font-size: 32px;
    color: #2c3e50;
    font-weight: 300;
}

.cta-link {
    color: #667eea;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 3px solid #667eea;
    transition: all 0.3s ease;
}

.cta-link:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
}

.cta-with-stats {
    background: linear-gradient(180deg, var(--agro-green-dark) 0%, #1e3d2a 100%);
    padding: 0 20px;
    margin: 80px 0;
}

.cta-with-stats .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto 60px;
}

.cta-with-stats .stat-item {
    text-align: center;
}

.cta-with-stats .stat-number,
.map-header .stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
    display: block;
}

.cta-with-stats .stat-label,
.map-header .stat-label {
    font-size: 18px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    opacity: 0.9;
}

.cta-center {
    text-align: center;
    padding: 40px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.cta-center h2 {
    font-size: 36px;
    color: #2c3e50;
    margin: 0 0 20px;
}

.cta-center p {
    font-size: 20px;
    color: #2c3e50;
    margin: 0 0 30px;
}

.cta-newsletter {
    background: #2c3e50;
    padding: 80px 20px;
    margin: 60px 0;
}

.newsletter-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.newsletter-box h2 {
    font-size: 36px;
    margin: 0 0 20px;
}

.newsletter-box p {
    font-size: 20px;
    opacity: 0.9;
    margin: 0 0 40px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
}

.newsletter-form button {
    padding: 16px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

.newsletter-box small {
    opacity: 0.7;
    font-size: 14px;
}

/* ===================================
   CONTACT PAGE STYLES
   =================================== */
.contact-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 20px;
    text-align: center;
    color: white;
}

.contact-title {
    font-size: 48px;
    margin: 0 0 20px;
    font-weight: 700;
}

.contact-subtitle {
    font-size: 22px;
    opacity: 0.95;
    margin: 0;
}

.contact-main {
    padding: 80px 20px;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-bottom: 20px;
}

.info-card h3 {
    color: #2c3e50;
    font-size: 20px;
    margin: 0 0 15px;
}

.info-card p {
    color: #7f8c8d;
    margin: 0;
    line-height: 1.6;
}

.info-card a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-card a:hover {
    color: #764ba2;
}

.social-links {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.social-links h3 {
    color: #2c3e50;
    font-size: 20px;
    margin: 0 0 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: #f1f3f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c3e50;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.form-header {
    margin-bottom: 40px;
}

.form-header h2 {
    color: #2c3e50;
    font-size: 32px;
    margin: 0 0 15px;
}

.form-header p {
    color: #7f8c8d;
    font-size: 18px;
    margin: 0;
}

.wpforms-container {
    margin-top: 30px;
    width: 100%;
}

.wpforms-container .wpforms-field-label {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 8px;
    margin-left: 8px;
}

.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container select,
.wpforms-container textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    margin-bottom: 20px;
}

.wpforms-container input:focus,
.wpforms-container select:focus,
.wpforms-container textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.wpforms-submit-container {
    display: flex;
    justify-content: center;
}

.wpforms-container .wpforms-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, var(--agro-wheat) 0%, var(--agro-gold) 100%);
    color: var(--agro-earth);
    box-shadow:
        0 4px 15px rgba(201, 162, 39, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.1);
    margin-top: 40px;

}

.wpforms-container .wpforms-submit:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 25px rgba(201, 162, 39, 0.4),
        0 4px 10px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #f0e2b3 0%, #d4af37 100%);
}

.contact-map {
    position: relative;
    height: 450px;
    margin: 0;
}

.map-container {
    width: 100%;
    height: 100%;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.map-container:hover {
    filter: grayscale(0%);
}

.contact-faq {
    padding: 80px 20px;
    background: white;
}

.faq-title {
    text-align: center;
    font-size: 36px;
    color: #2c3e50;
    margin: 0 0 50px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.faq-item h3 {
    color: #2c3e50;
    font-size: 20px;
    margin: 0 0 15px;
}

.faq-item p {
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0;
}

.wpforms-container .wpforms-error {
    border-color: #e74c3c !important;
}

.wpforms-container .wpforms-error-container {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
}

.wpforms-confirmation-container {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

/* ===================================
   MAP PAGE - SVG ENHANCED
   =================================== */
.map-page-enhanced,
.map-page-vertical,
.poland-map-page {

    min-height: 100vh;
}

.map-header {
    background: linear-gradient(135deg, var(--agro-green-dark) 0%, var(--agro-green) 50%, var(--agro-sage) 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.map-header h1 {
    font-size: 42px;
    margin: 0 0 15px;
    font-weight: 700;
}

.map-header p {
    font-size: 20px;
    opacity: 0.95;
    margin: 0 0 40px;
}

.map-header .map-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.map-header .stat-box {
    text-align: center;
    background-color: transparent;
    transform: none;
}

.map-header .stat-box:hover {
    box-shadow: none;
    transform: none;
}

.map-section {
    padding: 40px 0;
    background: white;
    border-bottom: 1px solid #e0e0e0;
}

.map-wrapper,
.map-main-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

#poland-map {
    height: 500px;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.svg-map-responsive {
    max-width: 100%;
}

.svg-container {
    position: relative;
    width: 100%;
    padding-top: 65%;
    overflow: hidden;
}

.svg-container svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-45%, -50%);
}

.svg-map-container {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
    max-width: 1200px;
}

.poland-svg-map {
    width: 100%;
    height: auto;
    max-width: 800px;
    margin: 0 auto;
    display: block;
}

.voivodeship-path {
    stroke: white;
    stroke-width: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.voivodeship-path:hover {
    opacity: 0.8;
    filter: brightness(0.9);
}

.voivodeship-path.selected {
    animation: pulse-map 2s infinite;
}

@keyframes pulse-map {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

.voiv-label {
    pointer-events: none;
    fill: #333;
    font-size: 10px;
}

.voiv-name,
.voiv-label-name {
    font-size: 10px;
    font-weight: 600;
    fill: #333;
    pointer-events: none;
}

.voiv-count,
.voiv-label-count {
    font-size: 9px;
    font-weight: 500;
    fill: #1976d2;
    pointer-events: none;
}

.label-group {
    pointer-events: all;
    cursor: pointer;
}

.label-bg {
    transition: all 0.3s ease;
}

.map-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
    pointer-events: none;
    z-index: 1000;
    display: none;
}

.map-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.map-legend,
.quick-filters {
    background: transparent;
    padding: 20px;
    border-radius: 8px;
}

.map-legend h4 {
    margin: 0 0 15px;
    color: #333;
    font-size: 16px;
}

.legend-items {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 16px;
    background: white;
    border: 2px solid #4CAF50;
    color: #4CAF50;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    background: #4CAF50;
    color: white;
}

.custom-marker {
    cursor: pointer !important;
}

.marker-inner {
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.marker-name {
    font-size: 11px;
    font-weight: 600;
    color: #333;
}

.marker-count {
    font-size: 16px;
    font-weight: bold;
    color: #2E7D32;
}

.active-marker .marker-inner {
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    border-color: #4CAF50;
}

.user-marker {
    background: #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 3px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.map-popup {
    min-width: 200px;
}

.map-popup h4 {
    margin: 0 0 10px;
    color: #333;
}

.map-popup p {
    margin: 5px 0;
    color: #666;
}

.map-popup a {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
}

/* ===================================
   RESULTS SECTION
   =================================== */
.results-section {
    padding: 60px 20px;
    background: #f8f9fa;
    min-height: 400px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.results-header-left {
    flex: 1;
}

.results-header h2 {
    font-size: 32px;
    color: #333;
    margin: 0 0 8px;
}

.breadcrumb {
    margin-bottom: 10px;
    font-size: 14px;
    color: #6b7280;
}

.breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 8px;
}

.results-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-clear {
    background: #f44336;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.btn-clear:hover {
    background: #d32f2f;
}

.btn-retry {
    margin-top: 20px;
    padding: 10px 20px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

.btn-retry:hover {
    background: #1d4ed8;
}

.loader-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e2e8f0;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-wrapper p {
    margin-top: 20px;
    color: #64748b;
    font-size: 16px;
}

.error-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    background: #f8fafc;
    border-radius: 12px;
}

.error-message i {
    font-size: 60px;
    color: #f59e0b;
    margin-bottom: 20px;
}

.error-message h3 {
    margin: 0 0 10px;
    color: #374151;
}

.error-message p {
    margin: 0;
    color: #6b7280;
}

/* ===================================
   VOIVODESHIPS GRID
   =================================== */
.all-voivodeships {
    padding: 60px 20px;
    background: #f8fafc;
}

.all-voivodeships h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #1a1a1a;
}

.mobile-info {
    text-align: center;
    color: #6b7280;
    margin-bottom: 30px;
}

.voivodeships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.voiv-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.voiv-card:hover:not(.voiv-card-empty) {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #2563eb;
}

.voiv-card-empty {
    opacity: 0.5;
    cursor: not-allowed;
}

.voiv-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.voiv-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #1a1a1a;
}

.voiv-badge {
    background: #2563eb;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.voiv-badge-empty {
    background: #9ca3af;
}

.voiv-card-footer {
    font-size: 14px;
}

.available {
    color: #10b981;
}

.available i {
    margin-right: 5px;
}

.unavailable {
    color: #9ca3af;
}

/* ===================================
   SOCIAL MEDIA LINKS
   =================================== */
.social-media-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.sidebar-widget .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: var(--social-color, #333);
    color: #fff !important;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    width: auto;
    transition: transform 0.2s, opacity 0.2s, box-shadow 0.2s;
}

.social-link:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #fff !important;
}

.social-link i {
    font-size: 16px;
}

.social-link-label {
    display: inline-block;
}

.social-media-links--icons-only .social-link {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
}

.social-media-links--icons-only .social-link-label {
    display: none;
}

.social-media-links--buttons .social-link {
    width: auto;
    padding: 10px 20px;
    border-radius: 8px;
    gap: 8px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.social-media-links--buttons .social-link .sr-only {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    clip: auto;
}

/* ===================================
   RESPONSIVE STYLES
   =================================== */
@media (max-width: 992px) {
    .serwis-layout-grid {
        grid-template-columns: 1fr;
    }

    .serwis-sidebar .sticky-sidebar-content {
        position: static;
    }

    .serwis-hero-header .entry-title {
        font-size: 2.5rem;
    }

    .random-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-serwisy-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .social-links {
        grid-column: 1 / -1;
    }

    .cta-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-image {
        order: 2;
        max-width: 300px;
        margin: 0 auto;
    }

    .map-controls {
        grid-template-columns: 1fr;
    }

    #poland-map {
        height: 350px;
    }

    .results-header {
        flex-direction: column;
    }

    .all-voivodeships {
        display: block;
    }

    .map-section {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle,
    .contact-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .latest-objects-grid,
    .objects-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .search-fields {
        grid-template-columns: 1fr;
    }

    .search-box {
        padding: 25px;
    }

    .search-title {
        font-size: 24px;
    }

    .quick-filters {
        text-align: left;
    }

    .quick-filters-label {
        display: block;
        margin-bottom: 10px;
    }

    .search-results-grid {
        grid-template-columns: 1fr;
    }

    .active-filters-display {
        flex-direction: column;
    }

    .serwis-extras {
        grid-template-columns: 1fr;
    }

    .serwis-hero-header {
        height: 50vh;
        min-height: 300px;
    }

    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-title,
    .archive-title {
        font-size: 32px;
    }

    .cta-title {
        font-size: 32px;
    }

    .cta-description {
        font-size: 18px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .category-filter-buttons {
        gap: 8px;
    }

    .category-filter-btn {
        padding: 10px 18px;
        font-size: 14px;
    }

    .filter-title {
        font-size: 16px;
    }

    .contact-title {
        font-size: 36px;
    }

    .contact-form-wrapper {
        padding: 30px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .map-header h1 {
        font-size: 28px;
    }

    .map-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 36px;
    }

    .results-header h2 {
        font-size: 1.4rem;
    }

    .voivodeships-grid {
        grid-template-columns: 1fr;
    }

    .pagination {
        flex-direction: column;
        gap: 15px;
    }

    .page-prev,
    .page-next {
        width: 100%;
        justify-content: center;
    }

    .object-card-image,
    .object-thumb,
    .object-image {
        height: 200px;
    }

    .social-link {
        padding: 8px 12px;
        font-size: 13px;
    }

    #view-toggle {
        width: 100%;
    }

    .view-btn {
        flex: 1;
    }
}

@media (max-width: 600px) {
    .related-serwisy-grid {
        grid-template-columns: 1fr;
    }

    .related-serwisy-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .random-gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-image {
        height: 250px;
    }

    .home-gallery-section {
        padding: 40px 0;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .home-hero {
        padding: 60px 20px;
    }

    .hero-title {
        font-size: 28px;
    }

    .category-card-image {
        height: 200px;
    }

    .archive-header {
        padding: 40px 20px;
    }

    .archive-title {
        font-size: 28px;
    }

    .pagination-wrapper a,
    .pagination-wrapper span {
        padding: 8px 12px;
        font-size: 14px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }

    .voiv-card-header h3 {
        font-size: 1rem;
    }
}

/* ===================================
   UTILITIES
   =================================== */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none;
}


/* ===== SEKCJA CTA ===== */
.cta-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--agro-green-dark) 0%, var(--agro-green) 50%, var(--agro-sage) 100%);
    overflow: hidden;
}

/* Warstwa overlay z teksturą */
.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 30px 30px;
    opacity: 0.5;
}

/* Dekoracyjny pattern - fale/wzgórza */
.cta-pattern {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 120"><path fill="rgba(255,255,255,0.05)" d="M0,60 C360,120 720,0 1080,60 C1260,90 1380,75 1440,60 L1440,120 L0,120 Z"/><path fill="rgba(255,255,255,0.03)" d="M0,80 C480,20 960,100 1440,40 L1440,120 L0,120 Z"/></svg>');
    background-size: cover;
}

/* Kontener */
.cta-section .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Zawartość */
.cta-content {
    text-align: center;
}

/* Badge */
.cta-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--agro-wheat);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

/* Tytuł */
.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--agro-white);
    margin-bottom: 16px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Opis */
.cta-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ===== PRZYCISKI ===== */
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.cta-section .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

/* Przycisk główny */
.cta-section .btn-primary {
    background: linear-gradient(135deg, var(--agro-wheat) 0%, var(--agro-gold) 100%);
    color: var(--agro-earth);
    box-shadow:
        0 4px 15px rgba(201, 162, 39, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.1);
}

.cta-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 25px rgba(201, 162, 39, 0.4),
        0 4px 10px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #f0e2b3 0%, #d4af37 100%);
}

.cta-section .btn-primary:active {
    transform: translateY(-1px);
}

.cta-section .btn-primary svg {
    transition: transform 0.3s ease;
}

.cta-section .btn-primary:hover svg {
    transform: translateX(4px);
}

/* Przycisk drugorzędny */
.cta-section .btn-secondary {
    background: transparent;
    color: var(--agro-white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
}

.cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* ===== CECHY/FEATURES ===== */
.cta-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.feature-icon {
    font-size: 1.2rem;
}

/* ===== ANIMACJE ===== */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.cta-badge {
    animation: float 4s ease-in-out infinite;
}

/* ===== RESPONSYWNOŚĆ ===== */
@media (max-width: 768px) {
    .cta-section {
        padding: 60px 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-section .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .cta-features {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
}

/* =========================================
   1. Konfiguracja HERO (Wspólne style)
   ========================================= */
.page-hero,
.object-hero {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* Wysokość sekcji - dopasuj do potrzeb */
    min-height: 450px;
    display: flex;
    align-items: center;
    color: #fff;
    padding-top: 80px;
    /* Offset na menu */
    overflow: hidden;
}

/* Przyciemnienie tła (Overlay) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    /* Przyciemnienie 55% */
    z-index: 1;
}

/* Gradient dla wersji Object (ładniejszy efekt) */
.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.page-hero .container,
.object-hero .container {
    position: relative;
    z-index: 2;
    /* Treść nad overlayem */
    width: 100%;
}

/* =========================================
   2. Style dla Wersji Uniwersalnej
   ========================================= */
.hero-content.center-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-breadcrumbs {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.hero-breadcrumbs a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.hero-breadcrumbs a:hover {
    color: #eab308;
    /* Kolor akcentu (żółty/złoty) */
}

.hero-breadcrumbs .sep {
    margin: 0 8px;
    font-size: 0.8em;
    opacity: 0.7;
}

.hero-title {
    font-size: 3.5rem;
    /* Duży tytuł */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Fala na dole */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 2;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   3. Style dla Wersji OBJECT (Single)
   ========================================= */
.object-hero-content {
    max-width: 900px;
}

.hero-category-badge {
    display: inline-block;
    background: #eab308;
    /* Żółty kolor */
    color: #000;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-decoration: none;
    transition: 0.3s;
}

.hero-category-badge:hover {
    background: #fff;
}

.object-title {
    font-size: 1.4rem;

    margin-bottom: 25px;
    line-height: 1.1;

}

.object-meta-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 35px;
    font-size: 1.1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.meta-item i {
    color: #eab308;
    /* Kolor ikonek */
}

/* Przyciski */
.object-actions {
    display: flex;
    gap: 15px;
}



/* =========================================
   Responsywność (Mobile)
   ========================================= */
@media (max-width: 768px) {

    .page-hero,
    .object-hero {
        min-height: 350px;
        padding-top: 60px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .object-title {
        font-size: 2.5rem;
    }

    .object-meta-wrapper {
        gap: 15px;
        font-size: 0.95rem;
    }

    .object-actions {
        flex-direction: column;
        width: 100%;
    }

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

/* --- HERO SECTION --- */
.page-hero {
    position: relative;
    /* Konieczne dla overlay */
    width: 100%;

    /* TO TWORZY MIEJSCE NA ZDJĘCIE: */
    min-height: 450px;

    display: flex;
    align-items: center;
    /* Centrowanie pionowe treści */
    justify-content: center;
    /* Centrowanie poziome treści */

    /* Ustawienia tła */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    color: #ffffff;
    /* Biały tekst */
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
}

/* Przyciemnienie zdjęcia, żeby tekst był czytelny */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* 50% czerni */
    z-index: 1;
}

/* Treść musi być nad przyciemnieniem */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

/* Stylizacja tytułu */
.hero-title {
    font-size: 3rem;
    /* Duży nagłówek */
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

/* Stylizacja opisu */
.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsywność na telefony */
@media (max-width: 768px) {
    .page-hero {
        min-height: 300px;
        /* Mniejsze hero na telefonach */
    }

    .hero-title {
        font-size: 2rem;
    }
}


/* --- HERO SECTION --- */

.page-hero {
        position: relative;
        width: 100%;
        margin-top: -120px;
        /* Zakładam, że masz przezroczyste menu na górze */
        min-height: 650px;
        display: flex;
        align-items: center;
        justify-content: center;

        /* KLUCZOWA ZMIANA TUTAJ: */
        /* Najpierw gradient (jako przyciemnienie), potem URL do obrazka */
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('sciezka/do/twojego-obrazka.jpg');

        background-size: cover;
        /* Skaluje obrazek tak, aby pokrył całą sekcję */
        background-position: center;
        /* centruje obrazek */
        background-repeat: no-repeat;

        color: #ffffff;
        padding: 80px 20px;
        text-align: center;
        overflow: hidden;
    }


/* Przyciemnienie zdjęcia, żeby tekst był czytelny */
.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.02);
    /* 50% czerni */
    z-index: 1;
}



/* Treść musi być nad przyciemnieniem */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

/* Stylizacja tytułu */
.hero-title {
    font-size: 3rem;
    /* Duży nagłówek */
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

/* Stylizacja opisu */
.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}
.single-object .hero-title, .single-object .hero-content {
    width: 100%;
    text-align: center;
}
.single-object .hero-content {
    left: unset;
    bottom: 120px;
}

.single-object .hero-badges-wrapper {
    justify-content: center;
}
/* Responsywność na telefony */
@media (max-width: 768px) {
    .page-hero {
        min-height: 300px;
        /* Mniejsze hero na telefonach */
    }

    .hero-title {
        font-size: 2rem;
    }
}

/* --- Strona Kontaktowa --- */

/* Intro */
.contact-intro {
    padding: 60px 0 40px;
    text-align: center;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #1e293b;
}

.intro-content p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
}

/* Główny Grid */
.contact-main {
    padding-bottom: 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* Lewa kolumna węższa, prawa (formularz) szersza */
    gap: 40px;
}

/* Sidebar (Lewa strona) */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.contact-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.card-icon {
    font-size: 24px;
    color: #eab308;
    /* Twój kolor główny (żółty/złoty) */
    background: #fefce8;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.card-content h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    color: #0f172a;
}

.card-desc {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 15px;
    line-height: 1.5;
}

.contact-link {
    display: block;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    margin-bottom: 5px;
    transition: color 0.2s;
}

.contact-link:hover {
    color: #eab308;
}

.contact-link.phone {
    font-size: 1.2rem;
}

.hours {
    display: block;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 10px;
}

/* Social Media Box */
.social-box {
    background: #f8fafc;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.social-box h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.social-icons-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.social-btn:hover {
    background: #eab308;
    color: #fff;
}

/* Formularz (Prawa strona) */
.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.form-header {
    margin-bottom: 30px;
}

.sub-heading {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: #eab308;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.form-header h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

/* CTA: Dodaj obiekt */
.add-object-cta {
    background: linear-gradient(135deg, var(--agro-green-dark) 0%, var(--agro-green) 50%, var(--agro-sage) 100%);

    /* Główny kolor akcentowy */
    color: #0f172a;
    padding: 50px 0;
    margin: 40px 0;
}

.cta-box {
    display: flex;
    align-items: center;
    gap: 30px;
}

.cta-icon {
    font-size: 3rem;
    opacity: 0.8;
}

.cta-text h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
}

.cta-text p {
    margin: 0;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.cta-btn {
    margin-left: auto;
    width: auto;
    /* Przesuwa przycisk do prawej */
}

.btn-white {
    background: #fff;
    color: #0f172a;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-white:hover {
    background: #0f172a;
    color: #fff;
}

/* FAQ */
.contact-faq {
    padding: 60px 0 80px;
    background: #fff;
}

.section-title.center {
    text-align: center;
    margin-bottom: 50px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.faq-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.faq-icon {
    color: #eab308;
    font-size: 1.5rem;
    margin-top: 3px;
}

.faq-content h3 {
    font-size: 1.2rem;
    margin: 0 0 10px;
}

.faq-content p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsywność */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        order: -1;
        /* Formularz na górze na mobile */
    }
}

@media (max-width: 768px) {
    .cta-box {
        flex-direction: column;
        text-align: center;
    }

    .cta-btn {
        margin-left: 0;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Galeria - grid responsywny */
.serwis-gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.serwis-gallery .gallery-grid a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
}

.serwis-gallery .gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.serwis-gallery .gallery-grid a:hover img {
    transform: scale(1.05);
}

/* Tablet - 2 zdjęcia w linii */
@media (max-width: 992px) {
    .serwis-gallery .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile - 1 zdjęcie w linii */
@media (max-width: 576px) {
    .serwis-gallery .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Kontener całej sekcji */
.curiosity-box {
    background: #fff;
    border-left: 5px solid #f1c40f; /* Żółty pasek akcentujący */
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* Delikatny cień */
    padding: 25px;
    margin: 30px 0;
    position: relative;
    overflow: hidden; /* Żeby elementy ozdobne nie wystawały */
}

/* Tło delikatnie inne niż reszta strony (opcjonalnie) */
.curiosity-box {
    background: linear-gradient(to right, #fffcf5, #fff);
}

/* Nagłówek "Czy wiesz, że..." */
.curiosity-heading {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: #d35400; /* Bursztynowy kolor */
    display: flex;
    align-items: center;
    font-weight: 700;
}

/* Ikona żarówki */
.curiosity-heading i {
    color: #f1c40f;
    margin-right: 12px;
    font-size: 1.5rem;
    /* Animacja pulsowania */
    animation: pulse-bulb 2s infinite;
}

/* Treść wpisu (ciekawostki) */
.curiosity-content {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
    font-style: italic;
}

/* Usuwamy domyślne marginesy z paragrafów wewnątrz contentu */
.curiosity-content p:last-child {
    margin-bottom: 0;
}

/* Ozdobny znak wodny (wielki cudzysłów w tle) */
.curiosity-box::after {
    content: '"';
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 8rem;
    color: rgba(241, 196, 15, 0.1); /* Bardzo blady żółty */
    font-family: serif;
    pointer-events: none;
    line-height: 1;
}

/* Animacja żarówki */
@keyframes pulse-bulb {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; text-shadow: 0 0 10px rgba(241, 196, 15, 0.6); }
    100% { transform: scale(1); opacity: 1; }
}






/* Kontener całej sekcji */
.curiosity-box {
    background: #fff;
    border-left: 5px solid #f1c40f;
    /* Żółty pasek akcentujący */
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    /* Delikatny cień */
    padding: 25px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
    /* Żeby elementy ozdobne nie wystawały */
}

/* Tło delikatnie inne niż reszta strony (opcjonalnie) */
.curiosity-box {
    background: linear-gradient(to right, #fffcf5, #fff);
}

/* Nagłówek "Czy wiesz, że..." */
.curiosity-heading {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: #d35400;
    /* Bursztynowy kolor */
    display: flex;
    align-items: center;
    font-weight: 700;
}

/* Ikona żarówki */
.curiosity-heading i {
    color: #f1c40f;
    margin-right: 12px;
    font-size: 1.5rem;
    /* Animacja pulsowania */
    animation: pulse-bulb 2s infinite;
}

/* Treść wpisu (ciekawostki) */
.curiosity-content {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
    font-style: italic;
}

/* Usuwamy domyślne marginesy z paragrafów wewnątrz contentu */
.curiosity-content p:last-child {
    margin-bottom: 0;
}

/* Ozdobny znak wodny (wielki cudzysłów w tle) */
.curiosity-box::after {
    content: '"';
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 8rem;
    color: rgba(241, 196, 15, 0.1);
    /* Bardzo blady żółty */
    font-family: serif;
    pointer-events: none;
    line-height: 1;
}

/* Animacja żarówki */
@keyframes pulse-bulb {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
        text-shadow: 0 0 10px rgba(241, 196, 15, 0.6);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* --- PROFIL AUTORA (author.php) --- */

.author-profile-header {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

/* Opcjonalnie: Niebieski pasek na górze */
.author-profile-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: #3498db;
}

.profile-avatar img {
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: block;
}

.profile-info {
    flex-grow: 1;
}

.profile-info h1 {
    margin: 0 0 5px 0;
    font-size: 1.8rem;
    color: #2c3e50;
}

.join-date {
    color: #999;
    font-size: 0.9rem;
    margin: 0 0 10px 0;
}

.author-bio {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    max-width: 600px;
}

/* Statystyki */
.profile-stats {
    display: flex;
    gap: 20px;
    border-left: 1px solid #eee;
    padding-left: 30px;
}

.stat-item {
    text-align: center;
}

.stat-item .count {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #3498db;
}

.stat-item .label {
    font-size: 0.8rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mały przycisk edycji na feedzie autora */
.btn-edit-small {
    color: #999;
    font-size: 1rem;
    transition: color 0.2s;
}

.btn-edit-small:hover {
    color: #3498db;
}

/* Responsywność */
@media (max-width: 768px) {
    .author-profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-stats {
        border-left: none;
        border-top: 1px solid #eee;
        padding-left: 0;
        padding-top: 20px;
        width: 100%;
        justify-content: center;
    }
}


/* --- HERO MIASTA (CPT) --- */
.city-hero-header {
    position: relative;
    height: 450px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
}

.city-hero-header .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.city-hero-header .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.city-label {
    display: inline-block;
    background: #3498db;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 700;
}

.city-title {
    font-size: 4rem;
    font-weight: 800;
    margin: 0 0 20px 0;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.city-excerpt {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Opis tekstowy */
.city-description-box {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    max-width: 900px;
    margin: 0 auto;
}

/* Responsywność */
@media (max-width: 768px) {
    .city-hero-header {
        height: 350px;
    }

    .city-title {
        font-size: 2.5rem;
    }
}

/* --- SIATKA OBIEKTÓW NA STRONIE MIASTA --- */

.city-objects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 kolumny obok siebie */
    gap: 30px;
    margin-top: 30px;
}

/* KARTA OBIEKTU */
.city-object-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Efekt uniesienia po najechaniu */
.city-object-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #ddd;
}

/* --- ZDJĘCIE --- */
.city-card-image {
    position: relative;
    height: 220px;
    /* Stała wysokość */
    overflow: hidden;
    background-color: #f0f0f0;
}

.city-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Zoom zdjęcia po najechaniu */
.city-object-card:hover .city-img {
    transform: scale(1.05);
}

/* Placeholder (jeśli brak zdjęcia) */
.city-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ccc;
}

/* Badge (Strzałka) na zdjęciu */
.view-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3498db;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.city-object-card:hover .view-badge {
    opacity: 1;
    transform: translateY(0);
}

/* --- TREŚĆ --- */
.city-card-content {
    padding: 20px;
    flex-grow: 1;
    /* Rozciąga treść, aby karty były równe */
    display: flex;
    flex-direction: column;
}

.city-card-title {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
}

.city-object-card:hover .city-card-title {
    color: #3498db;
}

.city-card-address {
    margin: 0;
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-top: auto;
    /* Pycha adres na sam dół karty */
}

.city-card-address i {
    color: #e74c3c;
    /* Czerwona pinezka */
    margin-right: 5px;
}

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 992px) {
    .city-objects-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 kolumny na tabletach */
    }
}

@media (max-width: 600px) {
    .city-objects-grid {
        grid-template-columns: 1fr;
        /* 1 kolumna na telefonach */
    }

    .city-card-image {
        height: 200px;
    }
}

/* --- SIATKA OBIEKTÓW (MIASTO) --- */

.city-objects-grid {
    display: grid;
    /* Domyślnie 3 kolumny (PC) */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

/* KARTA OBIEKTU */
.city-object-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Równe wysokości */
}

.city-object-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #ddd;
}

/* ZDJĘCIE */
.city-card-image {
    position: relative;
    height: 220px;
    /* Sztywna wysokość zdjęcia */
    overflow: hidden;
    background-color: #f0f0f0;
}

.city-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.city-object-card:hover .city-img {
    transform: scale(1.05);
}

/* Badge ze strzałką */
.view-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3498db;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.city-object-card:hover .view-badge {
    opacity: 1;
    transform: translateY(0);
}

/* TREŚĆ */
.city-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.city-card-title {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
}

.city-card-address {
    margin: 0;
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-top: auto;
    /* Pycha adres na dół */
}

.city-card-address i {
    color: #e74c3c;
    margin-right: 5px;
}


/* --- RESPONSYWNOŚĆ --- */

/* Tablet (poniżej 992px) -> 2 kolumny */
@media (max-width: 992px) {
    .city-objects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Telefon (poniżej 600px) -> 1 kolumna */
@media (max-width: 600px) {
    .city-objects-grid {
        grid-template-columns: 1fr;
    }

    .city-card-image {
        height: 200px;
    }
}

/* --- SEKCJA MAPY NA STRONIE MIASTA --- */
.city-map-section {
    margin-top: 40px;
    margin-bottom: 40px;
}

#city-map {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    background-color: #f0f0f0;
    /* Tło ładowania */
}

/* Styl dymka na mapie (Leaflet Popup) */
.leaflet-popup-content-wrapper {
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
}

.leaflet-popup-content {
    margin: 10px;
    line-height: 1.4;
}
#city-map {
    min-height: 450px;
    /* Wymuszenie wysokości */
    width: 100%;
    display: block;
    background: #e0e0e0;
    /* Szare tło, żebyś widział kontener nawet jak mapa się nie załaduje */
}