@media (max-width: 991px) {
    .main-page-nav.bottom-nav {
        bottom: auto !important;
    }
}

body {
    background-image: url(../img/bg-1920.webp);
    background-size: 100vw calc(100vh - 70px);
    background-repeat: no-repeat;
}

@media (max-width: 991px) {
    body {
        background-size: 100vw auto;
    }
}

@media (max-width: 767px) {
    body {
        background-size: 100vw auto;
    }
    
    #home.home-banner .container {
        transform: translateY(10px);
    }
    
    #home.home-banner img {
        max-width: 120px;
    }
    
    #home.home-banner .heading {
        font-size: 27px !important;
        margin: 10px 0 !important;
        line-height: 35px !important;
    }
    
    #home.home-banner p {
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    body {
        background-size: 100vw 25vh;
    }
}

.categories-container .categories-name a p {
    color: #007bff !important;
    font-weight: 600;
    margin: 0.25rem 0 !important;
}

.categories-container .categories-name a p:hover {
    color: #212622 !important;
}

.categories-container .categories-name a p:hover span {
    background-color: #212622;
}

.post-container .single-post a {
    color: #007bff;
    font-weight: 600;
}

.post-container .single-post a:hover {
    color: #212622;
}

/* FIX PENTRU SPAȚIEREA PARAGRAFELOR - EXCLUDE CATEGORIILE */
p:not(.categories-container p), .text_obisnuit, .text_obisnuit2 {
    margin: 1rem 0 !important;
}

/* Stilizare pentru meniul lateral modern */
.side-menu.center {
    background: #e90d22;
}

.side-menu .sidebar-menu {
    background: #ffffff;
    border-radius: 15px;
    padding: 20px;
    margin: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.side-menu .sidebar-menu li {
    margin-bottom: 8px;
    border-bottom: none;
}

.side-menu .sidebar-menu li a {
    color: #333333 !important;
    font-size: 18px;
    font-weight: 500;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: left;
    justify-content: flex-start;
}

.side-menu .sidebar-menu li a:hover {
    background-color: #f5f5f5;
    transform: none;
}

/* Iconițe roșii pentru fiecare element */
.side-menu .sidebar-menu li a:before {
    content: "";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 15px;
    font-size: 18px;
    color: #e90d22;
    width: 20px;
}

/* Iconițe specifice */
.side-menu .sidebar-menu li:nth-child(1) a:before {
    content: "\f015";
}

.side-menu .sidebar-menu li:nth-child(2) a:before {
    content: "\f02d";
}

.side-menu .sidebar-menu li:nth-child(3) a:before {
    content: "\f075";
}

.side-menu .sidebar-menu li:nth-child(4) a:before {
    content: "\f007";
}

.side-menu .sidebar-menu li:nth-child(5) a:before {
    content: "\f0e0";
}
@media (max-width: 1440px) { body { background-image: url(../img/bg-1440.webp); } }
@media (max-width: 767px) { body { background-image: url(../img/bg-768.webp); } }
