﻿body {
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    min-height: 100vh !important;
}

.landing-page {
    background: url(/Content/images/page5/desktop_bg.jpg) no-repeat top center;
    background-size: cover;
    background-color: rgb(241,90,37);
    /*aspect-ratio: 1921 / 3043;  width / height */
    height: auto; /* let aspect-ratio determine height */
    /* Minimum of viewport height so short screens can scroll beyond the fold */
    min-height: 100dvh;
}

.footer-desktop {
    width: 100%;
    background-color: rgb(241,90,37);
    bottom:0;
}

.footer-mobile {
    display: none !important;
}

.content {
    /*position: relative;*/
    margin-top: 35%;
    height:75%;
}

.AW-desktop {
    display: block;
    margin: 0 auto;
	width:70%;
}

.AW-mobile {
    display:none;
}

.detailed-text {
    font-size: 1.5rem;
    width: 100%;
	padding: 0 20%;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 4 equal columns */
    gap: 10px; /* Optional spacing between columns */
}

.grid-container-mobile {
    display: none;
}

.vote {
    color: #d1d3d4;
    font-size: 1.3rem;
    font-family: "Red Rose", serif;
    text-align: left;
    padding-left: 20px;
    display: flex;
    align-items: stretch; /* đảm bảo 2 khối cao bằng nhau */
}

.voteClick {
    margin-bottom: 0;
}

.img-heart {
    cursor: pointer;
}

.btn-access {
    margin: 0 5px!important;
}

.filter-box {
    font-size: 1.5rem;
    text-align: right;
    padding-right: 2%;
    background: rgb(241,90,37);
}

    .filter-box > label {
        cursor: pointer;
    }

.grid-col {
    padding: 5px;
    text-align: center;
    max-height: 1000px;
    overflow-y: scroll;
    background-color: rgb(241,90,37);
}

    .grid-col::-webkit-scrollbar {
        width: 4px;
    }

    .grid-col::-webkit-scrollbar-track {
        background: transparent; /* ✅ Removes default white */
    }

    .grid-col::-webkit-scrollbar-thumb {
        background-color: #fff;
        border-radius: 4px;
    }

        .grid-col::-webkit-scrollbar-thumb:hover {
            background-color: #666;
        }
@media only screen and (max-width: 767px) {

    .grid-col {
        max-height:none;
        overflow-y:unset;
    }

    .landing-page {
        background: url(/Content/images/page5/Mobile_BG.jpg) no-repeat top center;
        background-size: contain;
    }

    .footer {
        background-image: url(/Content/images/page5/Mobile_FT.png);
        background-size: contain;
    }

    .grid-container {
        display:none;
    }

    .grid-container-mobile {
        display: unset;
    }

    .footer-desktop {
        display: none !important;
    }

    .footer-mobile {
        width: 100%;
        background-color: rgb(241,90,37);
        display: unset !important;
    }

    .content {
        margin-top:55%;
    }

    .AW-desktop {
        display:none;
    }

    .AW-mobile {
        width: 95%;
        display: block;
        margin: 0 auto;
    }

    .detailed-text {
        font-size:1.2rem;
    }

    .filter-box {
        font-size: 1.2rem;
        text-align: center;
        margin-top:20px;
    }
}