/* =============================================
   KOPARECZKA BIALYSTOK - Styles
   Wypozyczalnia maszyn budowlanych
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --orange: #f97316;
    --orange-dark: #ea580c;
    --orange-light: #fff7ed;
    --orange-50: #fff7ed;
    --dark: #111827;
    --dark-lighter: #1f2937;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --white: #ffffff;
    --red: #ef4444;
    --green: #22c55e;
    --radius: 16px;
    --radius-sm: 8px;
    --shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container: 1280px;
    --nav-height: 132px;
    --top-bar-height: 40px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

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

.text-orange { color: var(--orange); }

/* --- TOP BAR --- */
.top-bar {
    background: var(--dark);
    color: var(--gray-400);
    font-size: .85rem;
    padding: .5rem 0;
    display: none;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 1.5rem;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: .4rem;
}
.top-bar-item svg { color: var(--orange); flex-shrink: 0; }

.top-bar-phone {
    display: flex;
    align-items: center;
    gap: .4rem;
    color: var(--white);
    font-weight: 700;
}
.top-bar-phone svg { color: var(--orange); }
.top-bar-phone:hover { color: var(--orange); }

/* --- NAVBAR --- */
.navbar {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    transition: box-shadow .3s;
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-height);
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 4px 0;
}
.logo img {
    height: calc(var(--nav-height) - 8px); /* wypełnia cały navbar minus 4px padding góra+dół */
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 0;
}

.nav-link {
    display: block;
    padding: 0 1.25rem;
    height: var(--nav-height);
    line-height: var(--nav-height);
    font-weight: 600;
    font-size: .9rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: .02em;
    transition: color .2s;
    border-bottom: 3px solid transparent;
}
.nav-link:hover { color: var(--orange); }
.nav-link.active {
    color: var(--dark);
    border-bottom-color: var(--orange);
    font-weight: 700;
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: .5rem;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}
.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all .3s;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- HERO --- */
.hero {
    background: var(--dark);
    color: var(--white);
    padding: 3.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(249,115,22,.15) 0%, transparent 50%);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
    font-size: 2.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -.02em;
    margin-bottom: .75rem;
    line-height: 1.1;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray-400);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- MAIN WYNAJEM LAYOUT --- */
.main-content {
    padding: 2.5rem 0;
}

.wynajem-layout {
    display: flex;
    gap: 2rem;
}

/* --- SIDEBAR KATEGORII --- */
.categories-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.sidebar-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    position: sticky;
    top: calc(var(--nav-height) + 1.5rem);
    border: 1px solid var(--gray-200);
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid var(--gray-100);
}
.sidebar-title svg { color: var(--orange); }

.categories-list {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.category-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .65rem .85rem;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: inherit;
    font-size: .9rem;
    color: var(--gray-600);
    font-weight: 500;
    transition: all .2s;
}
.category-btn:hover {
    background: var(--gray-100);
    color: var(--dark);
}
.category-btn.active {
    background: var(--orange-light);
    color: var(--orange-dark);
    font-weight: 700;
}
.category-btn .category-icon {
    display: flex;
    align-items: center;
    margin-right: .5rem;
}
.category-btn .category-icon svg {
    width: 18px;
    height: 18px;
}
.category-btn.active .category-icon svg { stroke: var(--orange); }
.category-btn .category-name { flex: 1; text-align: left; display: flex; align-items: center; gap: .5rem; }
.category-count {
    font-size: .75rem;
    background: var(--gray-200);
    color: var(--gray-600);
    padding: .1rem .5rem;
    border-radius: 99px;
    font-weight: 600;
}
.category-btn.active .category-count {
    background: var(--orange);
    color: var(--white);
}

/* --- MACHINES GRID --- */
.machines-section { flex: 1; min-width: 0; }

.machines-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--gray-400);
    font-size: 1rem;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--gray-500);
}
.no-results p { margin-top: .5rem; font-size: .95rem; }

/* --- MACHINE CARD --- */
.machine-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-200);
    transition: box-shadow .3s, transform .3s;
}
.machine-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.machine-image {
    height: 240px;
    overflow: hidden;
    position: relative;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.machine-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform .5s;
}
.machine-card:hover .machine-image img { transform: scale(1.05); }

.machine-badge {
    position: absolute;
    top: .75rem;
    right: .75rem;
    padding: .25rem .75rem;
    border-radius: 99px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.machine-badge.available { background: var(--green); color: var(--white); }
.machine-badge.unavailable { background: var(--red); color: var(--white); }

.machine-content {
    padding: 1.25rem 1.25rem .5rem;
    flex: 1;
}

.machine-category {
    font-size: .75rem;
    text-transform: uppercase;
    color: var(--orange);
    font-weight: 600;
    letter-spacing: .05em;
    margin-bottom: .35rem;
}

.machine-name {
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: .75rem;
    line-height: 1.2;
}

.machine-specs {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}
.machine-specs .spec-row:nth-child(n+4) {
    display: none;
}
.machine-specs.expanded .spec-row:nth-child(n+4) {
    display: flex;
}
.spec-row {
    display: flex;
    justify-content: space-between;
    padding-bottom: .35rem;
    border-bottom: 1px solid var(--gray-100);
    font-size: .85rem;
}
.spec-label { font-weight: 600; color: var(--orange-dark); }
.spec-value { color: var(--gray-600); }

.specs-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--orange);
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    padding: .5rem 0 0;
    font-family: inherit;
    text-align: left;
    transition: color .2s;
}
.specs-toggle:hover { color: var(--orange-dark); text-decoration: underline; }
.specs-toggle.visible { display: block; }

.machine-price {
    background: var(--orange);
    color: var(--white);
    padding: 1rem 1.25rem;
    text-align: center;
    transition: background .2s;
}
.machine-price:hover { background: var(--orange-dark); }
.price-main {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
}
.price-brutto {
    display: block;
    font-size: .9rem;
    opacity: .85;
    margin-top: .15rem;
}
.price-ask {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
}
.price-ask-phone {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    margin-top: .25rem;
}

/* --- INFO BANNER --- */
.info-banner {
    background: var(--gray-100);
    padding: 4rem 0;
    border-top: 1px solid var(--gray-200);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform .3s;
}
.info-card:hover { transform: translateY(-4px); }

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--orange-light);
    margin-bottom: 1.25rem;
}
.info-icon svg { color: var(--orange); }

.info-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: .5rem;
    color: var(--dark);
}
.info-card p {
    color: var(--gray-600);
    font-size: .95rem;
    line-height: 1.6;
}
.info-card a { color: var(--orange); font-weight: 600; }
.info-card a:hover { text-decoration: underline; }

/* --- FOOTER --- */
.footer {
    background: var(--dark);
    color: var(--white);
}

.footer .container {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.footer-col h5 {
    color: var(--orange);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 1rem;
}

.footer-text-lg {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gray-300);
    margin-bottom: .35rem;
}
.footer-text-sm {
    font-size: .9rem;
    color: var(--gray-400);
}
.footer-link { transition: color .2s; }
.footer-link:hover { color: var(--orange); }

/* Map */
.footer-map {
    width: 100%;
    border-top: 4px solid var(--orange);
}
.footer-map iframe {
    display: block;
    width: 100%;
    height: 350px;
}

/* Copyright */
.footer-bottom {
    background: #0a0f1a;
    padding: 1rem 0;
    text-align: center;
}
.footer-bottom p {
    font-size: .85rem;
    color: var(--gray-500);
}

/* --- PODSTRONY: Mini Hero --- */
.page-hero {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}
.page-hero h1 {
    font-size: 2.25rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: .5rem;
}
.page-hero p {
    color: var(--gray-400);
    font-size: 1.05rem;
}

/* --- USLUGI --- */
.uslugi-intro {
    max-width: 700px;
    margin: 0 auto 2.5rem;
    text-align: center;
    color: var(--gray-600);
    font-size: 1.05rem;
    line-height: 1.7;
}

.uslugi-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.usluga-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--gray-200);
}
.usluga-card .usluga-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--orange-light);
    margin-bottom: 1rem;
}
.usluga-card .usluga-icon svg { color: var(--orange); }
.usluga-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: .5rem;
    color: var(--dark);
}
.usluga-card p { color: var(--gray-600); font-size: .9rem; }

.uslugi-lista {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem 2rem;
    margin-bottom: 3rem;
}
.uslugi-lista-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .95rem;
    color: var(--gray-800);
    padding: .5rem 0;
}
.uslugi-lista-item svg { color: var(--orange); flex-shrink: 0; }

/* CTA */
.cta-section {
    background: var(--orange);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}
.cta-section h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: .5rem; }
.cta-section .cta-phone {
    font-size: 2rem;
    font-weight: 900;
    display: block;
    margin: .75rem 0;
    color: var(--white);
}
.cta-section .cta-phone:hover { opacity: .85; }
.cta-section p { font-size: 1.05rem; opacity: .9; }

/* --- DO POBRANIA --- */
.downloads-section {
    padding: 3rem 0;
    max-width: 700px;
    margin: 0 auto;
}

.document-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid var(--gray-200);
}
.document-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: #fee2e2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.document-icon svg { color: #dc2626; }
.document-info h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .35rem; }
.document-info p { color: var(--gray-600); font-size: .9rem; margin-bottom: 1rem; }

.btn-orange {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: .6rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: .9rem;
    transition: background .2s;
}
.btn-orange:hover { background: var(--orange-dark); }

.downloads-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    color: var(--gray-600);
    font-size: .9rem;
    text-align: center;
}
.downloads-note a { color: var(--orange); font-weight: 600; }

/* --- KONTAKT --- */
.kontakt-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    padding: 3rem 0;
}

.kontakt-form h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: .35rem;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: .7rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: .95rem;
    font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(249,115,22,.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    margin-bottom: 1.25rem;
}
.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: .2rem;
    flex-shrink: 0;
}
.checkbox-group label {
    font-size: .85rem;
    color: var(--gray-600);
    line-height: 1.4;
    cursor: pointer;
}

.btn-submit {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: .75rem 2rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s;
}
.btn-submit:hover { background: var(--orange-dark); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }

.form-message {
    padding: .75rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    font-size: .9rem;
    display: none;
}
.form-message.success { display: block; background: #dcfce7; color: #166534; }
.form-message.error { display: block; background: #fee2e2; color: #991b1b; }

/* Kontakt info */
.kontakt-info { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--orange-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-icon svg { color: var(--orange); }
.contact-item h4 { font-size: .9rem; font-weight: 700; color: var(--dark); margin-bottom: .2rem; }
.contact-item p { color: var(--gray-600); font-size: .9rem; }
.contact-item a { color: var(--gray-800); font-weight: 500; }
.contact-item a:hover { color: var(--orange); }

.kontakt-map {
    margin-top: 2rem;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}
.kontakt-map iframe {
    display: block;
    width: 100%;
    height: 400px;
}

/* --- RESPONSIVE --- */
@media (min-width: 1024px) {
    .top-bar { display: block; }
}

@media (max-width: 1023px) {
    .wynajem-layout { flex-direction: column; }
    
    .categories-sidebar {
        width: 100%;
    }
    .sidebar-card {
        position: static;
        padding: 1rem;
    }
    .categories-list {
        flex-direction: row;
        overflow-x: auto;
        gap: .5rem;
        padding-bottom: .5rem;
        -webkit-overflow-scrolling: touch;
    }
    .category-btn {
        white-space: nowrap;
        flex-shrink: 0;
        padding: .5rem .85rem;
        font-size: .85rem;
    }
    .sidebar-title { margin-bottom: .75rem; font-size: 1rem; }
}

@media (max-width: 768px) {
    /* Nav */
    .mobile-toggle { display: flex; }
    .nav-menu {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--gray-200);
    }
    .nav-menu.open { display: flex; }
    .nav-link {
        height: auto;
        line-height: normal;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid var(--gray-100);
    }
    .nav-link.active { border-bottom-color: var(--gray-100); border-left: 3px solid var(--orange); }
    
    /* Hero */
    .hero { padding: 2rem 0; }
    .hero h1 { font-size: 1.75rem; }
    .hero-subtitle { font-size: 1rem; }
    
    /* Grid */
    .machines-grid { grid-template-columns: 1fr; }
    
    /* Info banner */
    .info-grid { grid-template-columns: 1fr; gap: 1rem; }
    
    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    
    /* Uslugi */
    .uslugi-cards { grid-template-columns: 1fr; }
    .uslugi-lista { grid-template-columns: 1fr; }
    
    /* Kontakt */
    .kontakt-layout { grid-template-columns: 1fr; gap: 2rem; }
    
    /* Document */
    .document-card { flex-direction: column; text-align: center; }
    
    /* Page hero */
    .page-hero h1 { font-size: 1.5rem; }
    .page-hero { padding: 2rem 0; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.4rem; }
    .machine-name { font-size: 1.1rem; }
    .machine-image { height: 180px; }
}

/* ============================================
   PORADNIK / BLOG
   ============================================ */

.poradnik-section {
    padding: 3rem 0 4rem;
}

.poradnik-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray-500);
}
.poradnik-empty p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.poradnik-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.poradnik-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
    transition: box-shadow .2s, transform .2s;
}
.poradnik-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
    transform: translateY(-2px);
}

.poradnik-card-image {
    display: block;
    height: 200px;
    overflow: hidden;
    background: var(--gray-100);
}
.poradnik-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poradnik-card-content {
    padding: 1.25rem 1.5rem 1.5rem;
}

.poradnik-date {
    display: block;
    font-size: .8rem;
    color: var(--gray-400);
    margin-bottom: .5rem;
}

.poradnik-card-content h2 {
    font-size: 1.15rem;
    margin-bottom: .5rem;
    line-height: 1.35;
}
.poradnik-card-content h2 a {
    color: var(--gray-900);
    text-decoration: none;
}
.poradnik-card-content h2 a:hover {
    color: var(--orange);
}

.poradnik-card-content p {
    font-size: .9rem;
    color: var(--gray-500);
    line-height: 1.5;
    margin-bottom: .75rem;
}

.poradnik-read-more {
    display: inline-block;
    font-size: .9rem;
    font-weight: 600;
    color: var(--orange);
    text-decoration: none;
}
.poradnik-read-more:hover {
    text-decoration: underline;
}

/* === Single post === */

.page-hero-sm {
    padding: 1.5rem 0;
}

.breadcrumb {
    font-size: .85rem;
    color: var(--gray-400);
}
.breadcrumb a {
    color: var(--gray-400);
    text-decoration: none;
}
.breadcrumb a:hover {
    color: var(--orange);
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.wpis-article {
    padding: 2rem 0 4rem;
}

.wpis-header {
    margin-bottom: 2rem;
}
.wpis-header h1 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: .5rem;
}
.wpis-date {
    font-size: .85rem;
    color: var(--gray-400);
}

.wpis-image {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
}
.wpis-image img {
    width: 100%;
    height: auto;
    display: block;
}

.wpis-content {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--gray-700);
}
.wpis-content h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--gray-900);
}
.wpis-content h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 .75rem;
    color: var(--gray-900);
}
.wpis-content p {
    margin-bottom: 1rem;
}
.wpis-content ul, .wpis-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}
.wpis-content li {
    margin-bottom: .5rem;
}
.wpis-content a {
    color: var(--orange);
}
.wpis-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.wpis-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
    text-align: center;
}
.wpis-footer p {
    margin-top: 1rem;
    color: var(--gray-500);
    font-size: .9rem;
}
.wpis-footer a {
    color: var(--orange);
}

@media (max-width: 768px) {
    .poradnik-grid {
        grid-template-columns: 1fr;
    }
    .wpis-header h1 {
        font-size: 1.5rem;
    }
}

