@import url("https://fonts.bunny.net/css2?family=Cormorant+Garamond:wght@400;600&family=Inter:wght@300;400;500&display=swap");

body {
    margin: 0;
    background: #f5f2ed;
    font-family: Inter, sans-serif;
    color: #222;
}

h1, h2, h3 {
    font-family: "Cormorant Garamond", serif;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Header */
.site-header {
    width: 100%;
    color: #333;
    position: static;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 2rem;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1a1a1a;
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    font-size: 1.5rem;
    text-decoration: none;
}

.brand small {
    display: block;
    font-family: Inter, sans-serif;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .65rem;
    color: #666;
    opacity: .85;
}

.brand-mark {
    width: 36px;
    height: 36px;
    background: transparent;
    color: #1a1a1a;
}

.site-nav {
    margin-left: auto;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a {
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: .82rem;
    font-weight: 500;
}

.site-nav .current-menu-item a,
.site-nav a[aria-current="page"] {
    border-bottom: 2px solid #2d5a27;
    padding-bottom: 8px;
    color: #1a1a1a;
}

.search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.search-form input {
    padding: 14px;
    width: 280px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #1a1a1a;
    font-family: Inter, sans-serif;
}

.search-form input::placeholder {
    color: #9ca3af;
}

.search-form input:focus {
    outline: none;
    border-color: #2d5a27;
    background: #fff;
}

.search-button {
    position: absolute;
    right: 8px;
    background: transparent;
    border: 0;
    color: #666;
    cursor: pointer;
}

.language-switcher select {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #1a1a1a;
    padding: 6px 8px;
    font-family: Inter, sans-serif;
}

.menu-toggle {
    display: none;
}

/* Main layout */
.wrap {
    width: 95%;
    max-width: 1500px;
    margin: auto;
}

.layout {
    display: grid;
    grid-template-columns: 2fr 1.18fr;
    gap: 18px;
    padding: 20px 0;
}

.hero {
    position: relative;
    min-height: 320px;
    height: auto;
    padding: 0;
    background-color: #184433;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid #ddd;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 1;
}

.overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 700px;
}

.overlay h2,
.overlay p,
.overlay .button {
    color: #fff;
}

.overlay h2 {
    font-size: clamp(2.5rem, 5vw, 60px);
    margin: 0 0 .5rem;
    text-shadow: 0 2px 6px rgba(0,0,0,.4);
}

.overlay p {
    font-size: 18px;
    margin: 0 0 1.5rem;
    text-shadow: 0 1px 3px rgba(0,0,0,.4);
}

.overlay .button {
    display: inline-block;
    background: #fff;
    color: #184433;
    border: 2px solid #fff;
    padding: 16px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: background .15s, color .15s, border-color .15s;
}

.overlay .button:hover,
.overlay .button:focus {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: #fff;
    border: 1px solid #ddd;
    margin-top: 18px;
}

.feature {
    display: block;
    padding: 20px;
    text-align: center;
    color: #222;
    border-right: 1px solid #ddd;
    transition: background .15s;
}

.feature:last-child {
    border-right: 0;
}

.feature:hover {
    background: #f8f6f3;
}

.feature-icon {
    font-size: 1.8rem;
}

.feature-icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.feature h3 {
    margin: .5rem 0 .25rem;
    font-size: 1.1rem;
    color: #222;
}

.feature p {
    font-size: .85rem;
    color: #555;
    margin: 0;
}

section > h2 {
    margin: 30px 0 18px;
    font-size: 2rem;
    color: #113d2f;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.cards article {
    background: #fff;
    border: 1px solid #ddd;
    padding: 12px;
}

.img {
    height: 180px;
    background: #c9b39b;
    overflow: hidden;
    margin-bottom: .75rem;
}

.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cards h3 {
    margin: 0 0 .5rem;
    font-size: 1.15rem;
    color: #113d2f;
}

.cards h3 a {
    color: #222;
}

.cards h3 a:hover {
    color: #184433;
}

.cards p {
    font-size: .85rem;
    color: #555;
    margin: 0 0 .75rem;
}

.sources {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    margin-top: 18px;
}

.sources h2 {
    margin: 0 0 16px;
    color: #113d2f;
}

.logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.logos a,
.logos span {
    border: 1px solid #ccc;
    padding: 8px 12px;
    border-radius: 0;
    color: #222;
    font-size: .85rem;
    transition: border-color .15s, background .15s;
}

.logos a:hover {
    border-color: #113d2f;
    background: #f8f6f3;
    color: #656565;
}

.box {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 18px;
}

.box h3 {
    margin: 0 0 16px;
    font-size: 1.2rem;
    color: #113d2f;
}

.map-wrap {
    width: 100%;
}

.poland-map {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    margin-bottom: .5rem;
}

.map-wrap h3 {
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #113d2f;
    margin: 1.25rem 0 .5rem;
}

.map-wrap h3:first-of-type {
    margin-top: 0;
}

.region-list {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    gap: 1rem;
}

.country-list {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

.region-list li,
.country-list li {
    margin-bottom: .4rem;
    break-inside: avoid;
}

.region-list a,
.country-list a {
    display: block;
    color: #184433;
    font-size: .85rem;
    text-decoration: none;
    transition: color .15s;
}

.region-list a:hover,
.country-list a:hover,
.region-list a:focus,
.country-list a:focus {
    color: #c29f62;
    text-decoration: underline;
}

.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tags a,
.tags span {
    border: 1px solid #ccc;
    padding: 8px 12px;
    border-radius: 0;
    color: #222;
    font-size: .85rem;
    transition: border-color .15s, background .15s;
}

.tags a:hover {
    border-color: #113d2f;
    background: #f8f6f3;
}

.source-spotlight {
    margin-top: 18px;
}

.source-spotlight h2 {
    margin: 0 0 16px;
    color: #113d2f;
}

.spotlight-card {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
    align-items: stretch;
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: border-color .15s, background .15s;
}

.spotlight-card:hover,
.spotlight-card:focus {
    border-color: #113d2f;
    background: #f8f6f3;
}

.spotlight-image {
    height: 100%;
    min-height: 180px;
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.spotlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.spotlight-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 180px;
    background: #f5f2ed;
    color: #666;
    font-size: .85rem;
}

.spotlight-body h3 {
    margin: 0 0 .5rem;
    color: #113d2f;
    font-size: 1.5rem;
}

.spotlight-body p {
    margin: 0;
    color: #555;
    font-size: .95rem;
    line-height: 1.5;
}

@media (max-width: 700px) {
    .spotlight-card {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.site-footer {
    color: #fff;
}

@media (max-width: 1100px) {
    .layout {
        grid-template-columns: 1fr;
    }
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .header-inner {
        gap: 1rem;
    }
}

@media (max-width: 700px) {
    .features,
    .cards {
        grid-template-columns: 1fr;
    }
    .search-form input {
        width: 100%;
    }
    .site-nav {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .feature {
        border-right: 0;
        border-bottom: 1px solid #ddd;
    }
    .feature:last-child {
        border-bottom: 0;
    }
    .footer-grid {
        flex-direction: column;
        text-align: center;
    }
}
