body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #fefbf7;
    color: #333;
}
header {
    height: 90vh;
    color: white;
    margin-bottom: 20px;
}
header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 20px;
}
.header-button {
    padding: 12px 24px;
    border: none;
    border-radius: 20px;
    background: rgba(255,255,255,0.9);
    color: #333;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}
.navbar a {
    margin: 0 10px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    background: #fdf9f4;
    margin-bottom: 20px;
}
.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
}
.card .image-amalfi {
    background: url('https://images.unsplash.com/photo-1568630128613-b1e0f9e3537b') center/cover no-repeat;
    height: 180px;
}
.card .image-alps {
    background: url('https://images.unsplash.com/photo-1606930740645-7ec406d78f79') center/cover no-repeat;
    height: 180px;
}
.card .content {
    padding: 16px;
}
.card h3 {
    margin: 0;
    font-family: 'Playfair Display', serif;
}
.card p {
    font-size: 0.9rem;
    color: #666;
}
.card a {
    display: inline-block;
    color: #0077cc;
    text-decoration: none;
}
.header-single{
    height: 60vh;
    margin-bottom: 30px;
}
.single-post-img{
    width: 100%;
    margin-bottom: 20px;
}
.breadcrumb{
    list-style: none;
    display: flex;
    padding: 0;
}
.breadcrumb li{
    margin-right: 5px;
}
.breadcrumb li a{
    color: #000;
    text-decoration: none;
}
.pagination .page-item {
    margin: 0 4px;
}
.pagination .page-link {
    border: none;
    background-color: #f3f3f3;
    color: #333;
    border-radius: 999px; /* pills style */
    padding: 8px 16px;
    transition: all 0.3s ease;
}
.pagination .page-link:hover {
    background-color: #ddd;
    color: #000;
}
.pagination .page-item.active .page-link {
    font-weight: bold;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    color: #000;
}
.pagination .page-item.disabled .page-link {
    background-color: #f3f3f3;
    color: #ccc;
}
.page-item:last-child .page-link, .pagination .page-item.disabled .page-link{
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
}
.navbar {
    display: flex;
    margin-left: auto;
}

.logo img{
    max-width: 100%;
}

.navbar a {
    text-decoration: none;
    position: relative;
}

.header-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

.menu-item {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: -15px;
    min-width: 150px;
    z-index: 10;
    flex-direction: column;
    background: hsla(0, 0%, 67.5%, 0.2);
}

.submenu a {
    padding: 10px;
    display: block;
    white-space: nowrap;
}

.menu-item:hover .submenu {
    display: flex;
}

.nav-wrap{
    padding: 10px 0;
    background: hsla(0, 0%, 67.5%, 0.2)
}
#scrollTopBtn{
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 999;
    background: #333;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}
#scrollTopBtn {
    opacity: 0;
    transition: opacity 0.5s ease;
}
#scrollTopBtn.show {
    opacity: 1;
}
#scrollTopBtn.hide {
    opacity: 0;
}
.views{
    margin-left: 15px;
}
/* Бургер-кнопка */
.navbar-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    z-index: 1001;
    border-radius: 5px;
    line-height: 25px;
}

.navbar-wrapper{
    margin-left: auto;
}

/* Мобильная версия (сайдбар) */
@media (max-width: 1400px) {
    .navbar a{
        color: #000;
        width: 100%;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 260px;
        background: #fff;
        padding: 30px 20px;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
        flex-direction: initial;
        overflow-y: auto;
    }

    .navbar.active {
        transform: translateX(0);
        align-content: baseline;
    }

    .navbar a{
        padding: 0;
        margin-bottom: 15px;
    }

    .menu-item {
        position: initial;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }

    .submenu {
        display: flex;
        position: initial;
        background: none;
        width: 100%;
        flex-wrap: wrap;
    }

    .menu-item.active .submenu {
        display: block;
    }
}
