.modal {
    z-index: 200000;
}

.modal-backdrop {
    z-index: 199000;
}

/* =====================================================
   ARTYKUŁY — nagłówek sekcji
   ===================================================== */
.town-articles-header {
    padding: 0.25rem 0 1rem;
}

.town-articles-title {
    font-size: 1.65rem;
    font-weight: 300;
    color: #555;
    margin-bottom: 0;
    line-height: 1.25;
}

/* =====================================================
   ARTYKUŁY — duże karty (top 3)
   ===================================================== */
.town-art-card {
    background: #fff;
    border-radius: 20px;
    border: none;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s;
}

.town-art-card:hover {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

.town-art-card-img {
    height: 190px;
    background-size: cover;
    background-position: center;
    background-color: #e9ecef;
}

.town-art-card-body {
    padding: 1.2rem;
}

.town-art-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.town-art-card-desc {
    font-size: 0.82rem;
    color: #999;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.town-art-read-more {
    font-size: 0.85rem;
    color: #2bb1e8;
    /* jasnoniebieski z mockupu */
    font-weight: 400;
    text-decoration: none;
}

.town-art-read-more:hover {
    text-decoration: underline;
    color: #1a8cc2;
}

/* =====================================================
   ARTYKUŁY — lista (bottom 3)
   ===================================================== */
.town-art-list {
    margin-bottom: 1rem;
}

.town-art-list-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: #fff;
    border: none;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s;
    overflow: hidden;
}

.town-art-list-item:hover {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

.town-art-list-thumb {
    flex-shrink: 0;
    display: block;
    width: 200px;
}

.town-art-list-thumb img {
    display: block;
    width: 100%;
    height: 130px;
    object-fit: cover;
}

.town-art-list-body {
    flex: 1;
    min-width: 0;
    padding: 1.2rem 1.2rem 1.2rem 0;
}

.town-art-list-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #444;
    display: block;
    margin-bottom: 0.4rem;
    line-height: 1.35;
}

.town-art-list-desc {
    font-size: 0.82rem;
    color: #999;
    margin-bottom: 0.6rem;
    line-height: 1.45;
}

/* responsive small screen fix for list items */
@media (max-width: 575.98px) {
    .town-art-list-item {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.8rem;
    }

    .town-art-list-thumb {
        width: 100%;
        border-radius: 12px;
        overflow: hidden;
        margin-bottom: 1rem;
    }

    .town-art-list-thumb img {
        height: auto;
        max-height: 180px;
    }

    .town-art-list-body {
        padding: 0;
    }
}

/* =====================================================
   ARTYKUŁY — przycisk "zobacz więcej"
   ===================================================== */
.town-art-more-btn {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.01em;
    background-color: #ffb800 !important;
    /* bardziej pomarańczowo-złoty */
    border-color: #ffb800 !important;
    color: #333 !important;
    box-shadow: none;
    padding: 0.6rem 2.5rem;
}

.town-art-more-btn:hover {
    background-color: #e6a600 !important;
    border-color: #e6a600 !important;
}

/* =====================================================
   FAQ — nagłówek "FAQ: {Miasto}"
   ===================================================== */
.town-faq-main-title {
    font-size: 1.8rem;
    font-weight: 300;
    color: #555;
    line-height: 1.2;
}

/* =====================================================
   FAQ — accordion
   ===================================================== */
.town-faq-accordion {
    width: 100%;
    margin: 0 auto;
}

.town-faq-acc-item {
    border: none !important;
    border-radius: 20px !important;
    overflow: hidden;
    background: #fff;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s;
}

.town-faq-acc-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.town-faq-acc-btn {
    font-size: 1.05rem;
    font-weight: 300;
    color: #555;
    background: #fff;
    padding: 1.25rem 1.8rem;
    box-shadow: none !important;
}

.town-faq-acc-btn:not(.collapsed) {
    color: #555;
    background: #fff;
    box-shadow: none !important;
}

.accordion-header .town-faq-acc-btn {
    background: #fff;
}

.town-faq-acc-btn::after {
    /* chevron blue line */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232bb1e8'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
    flex-shrink: 0;
}

.town-faq-acc-body {
    font-size: 0.9rem;
    font-weight: 300;
    color: #777;
    line-height: 1.7;
    background: #fff;
    padding: 2.2rem 1.8rem 2rem 1.8rem;
}

/* =====================================================
   O mieście
   ===================================================== */
.town-about-section {
    background: #fff;
    border-radius: 20px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.town-section-title {
    font-size: 1.45rem;
    font-weight: 300;
    color: #555;
    border-left: none;
    padding-left: 0;
}

.town-about-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #777;
}

/* =====================================================
   PAGINACJA
   ===================================================== */
.town-pagination-container .pagination {
    gap: 4px;
}

.town-pagination-container .page-link {
    border-radius: 6px !important;
    color: #0d6efd;
    border: 1px solid #dee2e6;
    padding: 0.375rem 0.65rem;
    font-size: 0.9rem;
}

.town-pagination-container .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.town-pagination-container .page-item.disabled .page-link {
    color: #adb5bd;
    pointer-events: none;
}

.town-pagination-container .page-link:hover {
    background-color: #e9f0ff;
    border-color: #0d6efd;
    color: #0d6efd;
}