body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    max-width: var(--full-size);
    font-family: "Noto Sans Thai", serif;
    background-color: #fff;
    overflow-x: hidden;
}
/* =================== BANNER =================== */
#banner {
    position: relative;
    width: var(--full-size);
    height: 400px;
    overflow: hidden;
}

.banner-background img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    filter: brightness(0.7);
}

.context_banner {
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}

#banner h1 {
    font-size: 48px;
    font-weight: bold;
    margin: 0;
}

#banner p {
    font-size: 22px;
    margin-top: 10px;
}

.container {
    width: var(--full-minisize);
}

.con_link {
    display: flex;
    justify-content: flex-start;
    width: var(--full-minisize);
}

.text_con_link {
    color: #BABABA;
    font-weight: 600;
}

.text_con_link_active {
    color: var(--bg_santa_main);
    font-weight: 600;
}

.text_con_link_current {
    color: #000;
    font-weight: bold;
}

.category-title {
    font-size: 32px;
    color: var(--bg_santa_main);
    font-weight: bold;
    margin: 20px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.blog-card {
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    width: 380px;
}

.image-container {
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.blog-title {
    margin-top: 10px;
    font-weight: bold;
    font-size: 14px;
    color: #333;
    text-align: start;
}

/* Pagination style */
.pagination {
    display: flex;
    justify-content: center;
    margin: 30px 30px;
}

.pagination a {
    color: black;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 50%;
    margin: 0 4px;
    background-color: #eee;
}


.pagination .active {
    background: var(--bg_santa_main);
    color: #fff;
    font-weight: bold;
}

.blog-card a {
    text-decoration: none;
}


@media (min-width:1101px) and (max-width: 1919px) {
    #banner {
        width: 100%;
    }
    #blog-list {
        width: 90%;
    }
    .container {
        width: 90%;
    }
    .con_link {
        width: 90%;
    }
}

@media (max-width:1100px) {

    #banner,
    #section1 {
        width: 100%;
    }

    #section1 {
        height: auto;
    }

    #banner h1 {
        font-size: 20px;
    }

    #banner p {
        font-size: 15px;
    }

    .context_banner {
        top: 65%;
    }

    #banner {
        height: auto;
    }

    .banner-background img {
        height: 220px;
        object-fit: cover;
    }

    #blog-list {
        width: 90%;
    }

    .con_link {
        width: 100%;
    }

    .con_link p {
        font-size: 14px;
        text-align: start;
    }
    .blog-grid {
        width: 90%;
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }
    .blog-card {
        width: 100%;
    }
    .category-title {
        font-size: 20px;
    } 
}