/* Województwo podkarpackie – style strony /wojewodztwo-podkarpackie/ (uzupełniają wspolpraca.css) */

.container-top {
    background: url('img/przyroda-podkarpacia.jpg') center / cover;
}

.container-top-cover {
    background: rgba(54, 0, 109, 0.35);
    text-align: center;
    padding: 0 16px;
    box-sizing: border-box;
}

@media(max-width:768px) {
    .container-top,
    .container-top-cover {
        height: 420px;
    }

    .top-title {
        font-size: 3.4rem;
    }

    .top-subtitle {
        font-size: 2rem;
    }

    .top-p {
        font-size: 1.7rem;
    }
}

/* treść ----------------------------------------------- */

.wp-article p,
.wp-article li {
    font-size: 1.7rem;
    line-height: 2.8rem;
}

.wp-article a {
    color: #427c02;
    font-weight: 700;
}

.wp-article a:hover {
    color: #2f5a01;
}

.wp-paragraph {
    margin-top: 40px;
}

.wp-paragraph>h2 {
    scroll-margin-top: 90px;
    margin-top: 60px;
    margin-bottom: 16px;
}

.wp-paragraph h3 {
    margin-top: 32px;
    margin-bottom: 10px;
}

.wp-lead {
    font-size: 1.9rem !important;
    line-height: 3rem !important;
}

.wp-summary {
    margin: 24px 0;
    padding: 18px 22px;
    background: #f7f3fb;
    border-left: 4px solid rgb(255, 193, 7);
    font-size: 1.7rem;
    line-height: 2.7rem;
}

/* spis treści */

.wp-toc {
    margin: 30px 0 0;
    padding: 18px 22px;
    border: 1px solid #e6e0ee;
    border-radius: 6px;
}

.wp-toc-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.wp-toc ol {
    margin: 0;
    padding-left: 22px;
    columns: 2;
    column-gap: 30px;
}

.wp-toc li {
    font-size: 1.6rem !important;
    line-height: 2.6rem !important;
    break-inside: avoid;
}

@media(max-width:768px) {
    .wp-toc ol {
        columns: 1;
    }
}

/* liczby */

.wp-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0 28px;
}

@media(max-width:768px) {
    .wp-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

.wp-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    background: #36006d;
    color: #fff;
    border-radius: 6px;
}

.wp-stat-value {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.2;
    color: rgb(255, 193, 7);
}

.wp-stat-label {
    font-size: 1.4rem;
    line-height: 1.9rem;
}

@media(max-width:768px) {
    .wp-stat-value {
        font-size: 2.1rem;
    }
}

/* tabele (nadpisują czarne obramowania z wspolpraca.css) */

.wp-table-wrap {
    overflow-x: auto;
    margin: 16px 0 24px;
}

.wp-table,
.wp-table tr,
.wp-table td,
.wp-table th {
    border: 0;
}

.wp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.6rem;
    line-height: 2.4rem;
}

.wp-table caption {
    text-align: left;
    font-weight: 700;
    font-size: 1.7rem;
    padding-bottom: 8px;
}

.wp-table th,
.wp-table td {
    padding: 9px 12px;
    border-bottom: 1px solid #e6e0ee;
    text-align: left;
    vertical-align: top;
}

.wp-table tbody th {
    width: 32%;
    font-weight: 600;
    background: #faf8fc;
}

.wp-table thead th {
    background: #36006d;
    color: #fff;
    font-weight: 600;
}

.wp-table-powiaty td:not(.wp-links) {
    min-width: 92px;
    width: 40%;
}

@media(max-width:768px) {
    .wp-table-powiaty th,
    .wp-table-powiaty td {
        padding: 8px 6px;
    }
}

.wp-table-powiaty tbody tr:nth-child(even) td {
    background: #faf8fc;
}

.wp-links a {
    display: inline-block;
    margin: 2px 4px 2px 0;
    padding: 1px 9px;
    border: 1px solid #cfe3b5;
    border-radius: 12px;
    font-size: 1.4rem;
    font-weight: 600 !important;
    white-space: nowrap;
}

.wp-links a:hover {
    background: #f1f8e7;
}

/* mapa */

.wp-map {
    margin: 24px 0;
}

.wp-map svg {
    display: block;
    width: 100%;
    max-width: 560px;
    height: auto;
    margin: auto;
}

.wp-map-area {
    fill: #f1ecf7;
    stroke: #36006d;
    stroke-width: 2;
    stroke-linejoin: round;
}

.wp-map-neighbour {
    font-size: 13px;
    letter-spacing: 2px;
    fill: #9a8fab;
}

.wp-map-city circle {
    fill: #36006d;
}

.wp-map-city text,
.wp-map-peak text,
.wp-map-lake text {
    font-size: 12px;
    font-weight: 600;
    fill: #222;
    paint-order: stroke;
    stroke: #fff;
    stroke-width: 3px;
}

.wp-map-capital circle {
    fill: rgb(255, 193, 7);
    stroke: #36006d;
    stroke-width: 2;
}

.wp-map-capital text {
    font-size: 15px;
    font-weight: 700;
}

a.wp-map-city:hover text,
a.wp-map-peak:hover text,
a.wp-map-lake:hover text {
    fill: #427c02;
}

.wp-map-peak path {
    fill: #7a4b1c;
}

.wp-map-lake ellipse {
    fill: #4a90c8;
}

.wp-map figcaption {
    margin-top: 8px;
    font-size: 1.3rem;
    line-height: 1.9rem;
    color: #666;
    text-align: center;
}

/* karty krain i działów */

.wp-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0 24px;
}

.wp-cards-tools {
    grid-template-columns: repeat(3, 1fr);
}

@media(max-width:768px) {
    .wp-cards,
    .wp-cards-tools {
        grid-template-columns: 1fr;
    }
}

.wp-article a.wp-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    border: 1px solid #e6e0ee;
    border-radius: 6px;
    color: #222;
    font-weight: 400;
    text-decoration: none;
    transition: border-color .2s, box-shadow .2s;
}

.wp-article a.wp-card:hover {
    border-color: #36006d;
    box-shadow: 0 4px 14px rgba(54, 0, 109, .12);
}

.wp-card strong {
    font-size: 1.8rem;
    color: #36006d;
}

.wp-card strong::after {
    content: ' →';
    color: rgb(255, 193, 7);
}

.wp-card span {
    font-size: 1.5rem;
    line-height: 2.2rem;
}

/* oś czasu */

.wp-timeline {
    list-style: none;
    margin: 16px 0;
    padding: 0 0 0 18px;
    border-left: 3px solid rgb(255, 193, 7);
}

.wp-timeline li {
    position: relative;
    margin: 0 0 12px;
}

.wp-timeline li::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 9px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #36006d;
}

/* symbole regionu */

.wp-symbols {
    padding-left: 22px;
}

/* pory roku */

.wp-seasons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
}

@media(max-width:768px) {
    .wp-seasons {
        grid-template-columns: 1fr;
    }
}

.wp-season {
    padding: 14px 18px;
    background: #faf8fc;
    border-radius: 6px;
}

.wp-season-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #36006d;
}

.wp-season p {
    margin: 6px 0 0;
}

/* FAQ */

.wp-faq details {
    border-bottom: 1px solid #e6e0ee;
    padding: 12px 0;
}

.wp-faq summary {
    cursor: pointer;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 2.6rem;
}

.wp-faq details p {
    margin: 10px 0 0;
}

.wp-sources {
    margin-top: 40px;
}

.wp-sources em {
    font-size: 1.4rem;
    line-height: 2.1rem;
    color: #666;
}
