* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: #f5f3ee;
    color: #202020;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background-color: #1e2b26;
}

.logo {
    color: white;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

.category-page {
    width: 88%;
    max-width: 1100px;
    min-height: 70vh;
    margin: 40px auto;
}

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: #2468b4;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

.category-header {
    margin-bottom: 35px;
}

.category-header p {
    margin: 0 0 8px;
    color: #9b4e36;
    font-size: 15px;
    font-weight: bold;
}

.category-header h1 {
    margin: 0;
    font-size: 42px;
    line-height: 1.2;
}

.places {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.place-card {
    overflow: hidden;
    background-color: white;
}

.place-card img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.place-card-content {
    padding: 24px;
}

.region {
    margin: 0 0 8px;
    color: #9b4e36;
    font-size: 14px;
    font-weight: bold;
}

.place-card h2 {
    margin: 0 0 12px;
    font-size: 25px;
    line-height: 1.3;
}

.place-card h2 a {
    color: #202020;
    text-decoration: none;
}

.place-card h2 a:hover {
    color: #2468b4;
}

.place-card-content > p {
    margin: 0 0 20px;
    color: #555;
}

.details-link {
    color: #2468b4;
    font-weight: bold;
    text-decoration: none;
}

.details-link:hover {
    text-decoration: underline;
}

.empty-message {
    grid-column: 1 / -1;
    padding: 35px;
    background-color: white;
    text-align: center;
}

.main-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    padding: 25px 8%;
    background-color: #1e2b26;
    color: white;
}

.main-footer p {
    margin: 0;
}

.main-footer a {
    color: white;
    text-decoration: none;
}

.main-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 750px) {
    .main-header {
        padding: 18px 5%;
    }

    nav {
        gap: 12px;
    }

    .category-page {
        width: 92%;
        margin: 25px auto;
    }

    .category-header h1 {
        font-size: 32px;
    }

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

    .place-card img {
        height: 240px;
    }

    .main-footer {
        padding: 22px 5%;
    }
}