html,
body {
    height: 100%;
    margin: 0;
}

body {
    overflow: hidden;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    background: #FAF8F3;
}

.page {
    height: 100vh;
}

.left-side {
    height: 100vh;
    background: #F50072;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-y: auto;
}

.mobile-nav {
    display: none;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

.logo a {
    text-decoration: none;
}

.logo a h1 {
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    font-size: clamp(52px, 5vw, 70px);
    font-weight: 800;
    color: #FF8A2A;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.sidebar-middle {
    margin-top: 20px;
    margin-bottom: auto;
    border-top: 1px solid #D8D3CC;
    padding-top: 6px;
    border-bottom: 1px solid #D8D3CC;
    padding-bottom: 16px;
}

.nav-links {
    padding-bottom: 16px;
    border-bottom: 1px solid #D8D3CC;
}

.nav-links .accordion-item {
    border: none;
    background: transparent;
}

.nav-links .accordion-button {
    padding: 10px 0;
    background: transparent;
    color: #FFFFFF;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
    text-transform: uppercase;
    box-shadow: none;
}

.nav-links .accordion-button:not(.collapsed) {
    background: transparent;
    color: #FFFFFF;
    box-shadow: none;
}

.nav-links .accordion-button:focus {
    border: none;
    outline: none;
    box-shadow: none;
}

.nav-links .accordion-button::after {
    width: 12px;
    height: 12px;
    margin-left: auto;
    background-size: 12px;
    filter: brightness(0) invert(1);
    transition: transform 0.25s ease;
}

.nav-links .accordion-body {
    padding: 0 0 6px 15px;
}

.nav-links .accordion-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links .accordion-body li {
    margin-bottom: 10px;
}

.nav-links .accordion-body a {
    color: #FFFFFF;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 300;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.nav-links .accordion-body a:hover {
    opacity: .8;
}

.desktop-search-btn {
    padding-top: 16px;
    border: none;
    background: transparent;
    color: #111111;
    font-size: 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .3s ease, opacity .3s ease;
}

.desktop-search-btn:hover {
    opacity: .8;
    transform: scale(1.1);
}

.desktop-search-btn:focus {
    outline: none;
    box-shadow: none;
}

.sidebar-bottom {
    border-top: 1px solid #D8D3CC;
    padding-top: 16px;
}

.sidebar-bottom p {
    color: #111111;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
    text-transform: uppercase;
    box-shadow: none;
}

.offcanvas.search-offcanvas {
    position: fixed;
    top: 0;
    right: 0;
    left: 16.666667%;
    width: auto;
    height: auto;
    min-height: 250px;
    background: #FAF8F3;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}


.search-offcanvas .offcanvas-header {
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-offcanvas .offcanvas-title {
    margin: 0;
    font-size: 32px;
    font-weight: 600;
    color: #111111;
}

.search-close-btn {
    padding: 6px;
    border: none;
    background: transparent;
    color: #111111;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
}

.search-close-btn:hover {
    color: #F50072;
}

.search-close-btn:focus {
    outline: none;
    box-shadow: none;
}

.search-offcanvas .offcanvas-body {
    padding: 0px 24px;
}

.search-form {
    width: 100%;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #111111;
}

.search-input-wrapper input {
    width: 100%;
    padding: 12px 45px 12px 0;
    border: none;
    outline: none;
    box-shadow: none;
    border-radius: 0;
    background: transparent;
    font-family: "Poppins", sans-serif;
    font-size: 18px;
}

.search-input-wrapper input::placeholder {
    color: #888888;
}

.search-input-wrapper button {
    position: absolute;
    right: 0;
    border: none;
    background: transparent;
    color: #111111;
    font-size: 20px;
    cursor: pointer;
}

.search-input-wrapper button:hover {
    color: #F50072;
}

.left-side,
.right-side,
.custom-offcanvas .offcanvas-body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.left-side::-webkit-scrollbar,
.right-side::-webkit-scrollbar,
.custom-offcanvas .offcanvas-body::-webkit-scrollbar {
    display: none;
}

.right-side {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    -ms-overflow-style: none;
}

.blog-cards {
    padding: 24px 12px 0px 12px;
}

.blog-card {
    position: relative;
    display: block;
    height: clamp(350px, 45vh, 500px);
    overflow: hidden;
    color: white;
    text-decoration: none;
}

.blog-card:hover {
    color: white;
    text-decoration: none;
}

.blog-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.blog-card:hover img {
    opacity: 0.7;
    transform: scale(1.02);
}

.blog-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.05),
            rgba(0, 0, 0, 0.55));
}

.card-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 18px;
    display: flex;
    flex-direction: column;
}

.card-bottom {
    margin-top: auto;
}

.card-content>span {
    padding: 4px 8px;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #FFFFFF;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-block;
    width: fit-content;
    background: rgba(0, 0, 0, 0.45);
}

.card-content h2 {
    width: 60%;
    margin: 0 0 12px;
    font-size: 26px;
    text-transform: capitalize;
    color: #FFFFFF;
    letter-spacing: -0.5px;
    font-weight: 400;
    line-height: 1;
}

.card-content p {
    width: 50%;
    margin-bottom: 28px;
    font-size: 14px;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1.3;
}

.card-content small {
    font-family: "Poppins", sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: #FFFFFF;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.load-more {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 24px 0px;
}

.load-more-btn {
    padding: 12px 32px;
    border: 1px solid #111111;
    background: transparent;
    color: #111111;

    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;

    cursor: pointer;
    transition: all 0.25s ease;
}

.load-more-btn:hover {
    background: #111111;
    color: #FFFFFF;
}


.site-footer {
    position: fixed;
    left: 16.666667%;
    right: 0;
    bottom: 0;

    width: auto;
    margin: 0;
    padding: 18px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid #D8D3CC;
    background: #FAF8F3;
    color: #292929;
    font-size: 14px;

    z-index: 1000;
}


.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #111111;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
}

.footer-links a::after {
    content: '';
    top: 100%;
    left: 0;
    width: 0%;
    height: .8px;
    background-color: #555555;
    position: absolute;
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: #555555;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-links span {
    color: #D8D3CC;
}

.copyright {
    white-space: nowrap;
    color: #111111;

}


@media (max-width: 1150px) {

    .card-content h2 {
        width: 80%;
    }

    .card-content p {
        width: 60%;
    }

    .site-footer {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

    .footer-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px 12px;
    }

    .copyright {
        white-space: normal;
    }
}


@media (max-width: 768px) {

    .left-side {
        display: none;
    }

    .mobile-nav {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1050;
        width: 100%;
        height: 70px;
        padding: 0 20px;
        align-items: center;
        justify-content: space-between;
        background: #F50072;
    }

    .mobile-logo {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-logo h1 {
        margin: 0;
        color: #FF8A2A;
        font-size: 40px;
        font-weight: 800;
        text-transform: uppercase;
    }

    .menu-btn,
    .search-btn {
        padding: 8px;
        border: none;
        background: transparent;
        color: #111111;
        font-size: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .menu-btn:focus,
    .search-btn:focus {
        outline: none;
        box-shadow: none;
    }

    .offcanvas.custom-offcanvas {
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        max-height: calc(100vh - 70px);
        background: #FAF8F3;
        z-index: 1040;
        border: none;
        box-shadow: none;
    }


    #offcanvasTop {
        padding: 0px;
    }

    .custom-offcanvas .offcanvas-body {
        padding: 18px 30px;
        overflow-y: auto;
    }

    .mobile-menu {
        width: 100%;
    }

    .mobile-menu .accordion-item {
        border: none;
        background: transparent;
    }


    .mobile-menu .accordion-button {
        padding: 10px 0;
        background: transparent;
        color: #111111;
        font-family: "Poppins", sans-serif;
        font-size: 18px;
        font-weight: 500;
        box-shadow: none;
    }

    .mobile-menu .accordion-button:not(.collapsed) {
        color: #111111;
        background: transparent;
        box-shadow: none;
    }

    .mobile-menu .accordion-button:focus {
        border: none;
        box-shadow: none;
    }

    .mobile-menu .accordion-button::after {
        width: 18px;
        height: 18px;
        background-size: 18px;
        transition: transform 0.25s ease;
    }

    .mobile-menu .accordion-body {
        padding: 0 0 6px 15px;
    }

    .mobile-menu .accordion-body ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-menu .accordion-body li {
        margin-bottom: 10px;
    }

    .mobile-menu .accordion-body a {
        color: #111111;
        text-decoration: none;
        font-size: 16px;
        font-weight: 300;
        transition: color 0.2s ease;
    }

    .mobile-menu .accordion-body a:hover {
        color: #555555;
    }

    .offcanvas.search-offcanvas {
        position: fixed;
        background-color: #FAF8F3;

        top: 70px;
        left: 0;
        right: 0;

        width: 100%;
        height: auto;

        min-height: 220px;
        z-index: 1040;
    }


    .search-close-btn {
        display: none;
    }

    .right-side {
        width: 100%;
        max-width: 100%;
        height: calc(100vh - 70px);
        margin-top: 70px;
        overflow-y: auto;
    }

    .site-footer {
        left: 0;
        right: 0;
        width: 100%;
        padding: 16px 20px;
    }

    .blog-cards {
        padding: 24px 12px 0px 12px;
    }

    .blog-card {
        height: 350px;
    }

    .card-content h2 {
        width: 80%;
    }

    .card-content p {
        width: 60%;
    }
}