:root {
    --main-color: #3498db;
    --menu-color: #ffffff;
}

@media screen and (max-width: 768px) {
    .blog-container {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}


@media screen and (max-width: 1280px) {
    .header-sec {
        display: none;
    }

    .m-header-container {
        display: block !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
    }
}

html,
body {
    margin: 0;
}

* {
    box-sizing: border-box;
    font-family: 'Prompt', sans-serif;
}

a {
    text-decoration: none;
    color: var(--menu-color);
    cursor: pointer;
}

.full-h {
    height: 100%;

    .elementor-shortcode {
        height: 100%;
    }
}

.m-header-container {
    display: none;
}

.m-header-sec {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    position: absolute;
    z-index: 200;
    background-color: rgba(0, 0, 0, 0.7);
    width: 100%;
    color: white;
}

.m-menu-sec,
.m-logo-sec,
.m-lang-sec {
    display: flex;
    align-items: center;
    padding: 10px;
}

.m-menu-sec {
    justify-content: start;

    a {
        cursor: pointer;
    }
}

.m-logo-sec {
    justify-content: center;

    a {
        cursor: pointer;
    }
}

.m-lang-sec {
    justify-content: end;
}

.m-header-active-sec {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #CC9A3D;
    color: #ffffff;
    padding: 10px;
    z-index: 999;
    overflow-y: auto;
    &.active {
        display: block;
    }

    .btn-m-loc {
        border: 1px solid #ffffff;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: transparent;
        color: #ffffff;
        font-size: 16px;
        padding: 10px;
        border-radius: 8px;

        img {
            margin-right: 10px;
        }
    }
}

.my-header-m-menu,
ul.follow-sec {
    padding-inline-start: 0;
    list-style: none;

    li {
        margin-bottom: 20px;
        font-size: 14px;
    }
}

.h-social-active {
    margin-top: 20px;
}

.menu-tab {
    cursor: pointer;

    .bg-brush {
        display: none;
    }

    &.active {
        .bg-brush {
            display: block;
        }
    }
}

.box-shadow {
    -webkit-box-shadow: 1px 1px 20px -11px rgba(66, 68, 90, 1);
    -moz-box-shadow: 1px 1px 20px -11px rgba(66, 68, 90, 1);
    box-shadow: 1px 1px 20px -11px rgba(66, 68, 90, 1);
}

.menu-ns {
    display: block;
}

.menu-ng {
    display: none;
}

.head-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.head-s-menu {
    display: flex;
    align-items: center;
    justify-content: end;
}

.m-short-link {
    cursor: pointer;
}

.h-social {
    width: 48px;
    height: 48px;
    overflow: hidden;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.4);
    text-align: center;
    padding: 10px;
    top: 15px;
    left: 0;
    right: 0;
    margin: 0 auto;
    border-radius: 100px;
    transition: all 0.3s;
    &.active {
      border-radius: 8px !important;
      height: 233px !important;
      background-color: rgba(0, 0, 0, 0.5);
    }
    a {
        display: block;
        margin-bottom: 10px;
    }
}

.ham-menu {
    width: 30px;
    height: 30px;
    margin-top: 5px;
    .line-one {
        width: 100%;
        height: 3px;
        background-color: #ffffff;
        margin-bottom: 5px;
        transition: all 0.3s;
    }
    .line-two {
        width: 100%;
        height: 3px;
        background-color: #ffffff;
        margin-bottom: 5px;     
    }
    .line-three {
        width: 100%;
        height: 3px;
        background-color: #ffffff;
        transition: all 0.3s;     
    }
    &.active {
        .line-one {
            transform: rotate(30deg) translateY(8px) translateX(4px);
        }
        .line-two {
            display: none !important;  
        }
        .line-three {
            transform: rotate(-30deg) translateY(0px) translateX(-1px);  
        }        
    }       
}

.header-sec {
    width: 100%;
    position: absolute;
    z-index: 200;
    background-color: rgba(0, 0, 0, 0.7);

    .main-header-menu {
        display: grid;
        grid-template-columns: 0.6fr 3.6fr 1.2fr 0.4fr;
        max-width: 1440px;
        margin: 0 auto;

        .my-header-menu {
            margin-block-start: 0;
            margin-block-end: 0;
            padding: 20px;

            li {
                display: inline-block;
                margin-right: 24px;
                min-width: 80px;

                a {
                    width: 100%;
                    text-align: center;
                }
            }
        }
    }
}

.latest-post {
    overflow: hidden;
    border-radius: 4px;
    height: 100%;

    .blog-thumbnail {
        background-color: #C6C6C6;
        padding-top: 40%;
        background-size: cover;
        background-position: center;
    }

    .blog-content {
        padding-bottom: 20px;

        .blog-title {
            color: #000000 !important;
            margin-block-start: 0;
            margin-block-end: 0;
            color: #1A1A1A;
            font-weight: 500;
            font-size: 18px;
        }

        .blog-desc {
            color: #545554 !important;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            color: #545554;
            font-size: 16px;
        }
    }

    .blog-date {
        color: #545554;
        font-size: 14px;
        margin-bottom: 20px;
        text-align: right;
        display: flex;
        align-items: center;
        justify-content: end;

        a {
            color: #1A1A1A;
            font-size: 16px;
            font-weight: 600;
            font-family: 'Anuphan', sans-serif;
        }
    }

    .btn-post-link {
        text-align: right;

        a {
            color: #CC9A3D;
            font-weight: 600;
        }
    }
}

.blog-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;

    .blog-item {
        overflow: hidden;
        border: 1px solid #DBB877;
        border-radius: 4px;
        height: 100%;

        .blog-thumbnail {
            background-color: #C6C6C6;
            padding-top: 60%;
            background-size: cover;
            background-position: center;
        }

        .blog-content {
            border-bottom: 1px solid #DBB877;
            padding-bottom: 20px;

            .blog-title {
                color: #000000 !important;
                margin-block-start: 0;
                margin-block-end: 0;
                color: #1A1A1A;
                font-weight: 500;
                font-size: 18px;
            }

            .blog-desc {
                color: #545554 !important;
                display: -webkit-box;
                -webkit-line-clamp: 3;
                -webkit-box-orient: vertical;
                overflow: hidden;
                text-overflow: ellipsis;
                color: #545554;
                font-size: 16px;
            }
        }

        .blog-date {
            color: #545554;
            font-size: 14px;
            margin-top: 20px;
        }
    }
}

.nav-links {
    margin: 40px 0;
    text-align: center;
}

.page-numbers {
    display: inline-block;
    padding: 6px 12px;
    margin: 2px;
    border: 1px solid #CC9A3D;
    text-decoration: none;
    color: #CC9A3D;
    border-radius: 4px;
}

.page-numbers.current {
    background: #CC9A3D;
    color: #fff;
}

.blog-filter-buttons {
    text-align: right;
    margin: 60px 0;

    .filter-btn {
        font-size: 18px;
        display: inline-block;
        border: 1px solid #CC9A3D;
        color: #CC9A3D;
        text-align: center;
        border-radius: 4px;
        font-weight: 500;
        padding: 10px 20px;
        min-width: 88px;

        &.active {
            color: #ffffff;
            background-color: #CC9A3D;
        }
    }
}

.post-content {
    font-family: 'Anuphan', sans-serif;
    font-size: 16px;
    line-height: 21px;
    font-size: #545554;
}

.blog-hero {
    width: 100%;
    background-size: cover;
    background-position: center;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;

    h2 {
        margin: 0;
        font-family: "Prompt", Sans-serif;
        font-size: 48px;
        font-weight: 700;
        color: #FFFFFF;
        margin-bottom: 20px;
    }
}

.single-post-container {
    width: 100%;

    .blog-sec {
        margin: 0 auto;
        max-width: 1240px;
        padding: 0 20px;
    }
}

.single-post {
    .post-thumbnail {
        width: 100%;
        background-color: #C6C6C6;
        min-height: 600px;
        background-size: cover;
        background-position: center;
        margin-top: 60px;
        border-radius: 4px;
    }
}

.footer-sec {
    background-color: #222;

    .footer-grid {
        margin: 0 auto;
        max-width: 1240px;
        display: grid;
        grid-template-columns: 1.5fr 1fr 0.8fr 0.5fr;
        color: #fff;
        padding: 40px 20px;
        gap: 30px;
    }
}

.footer-col {
    h4 {
        font-weight: 600;
        font-size: 18px;
    }
}

.grid-item {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    color: #fff;
    gap: 30px;
}

.sc-menu {
    list-style: none;
    padding-inline-start: 0;

    li {
        display: inline-block;

        a {
            margin-right: 10px;
        }
    }
}

.footer-menu {
    list-style: none;
    padding-inline-start: 0;

    li {
        margin-bottom: 20px;

        a {
            font-size: 14px;
        }
    }
}

.my-header-menu li {
    a {
        padding: 10px 20px;
        color: #fff;
        text-decoration: none;
        transition: all 0.3s ease;
        background-color: transparent;
        display: inline-block;
    }
}

/* Active/current page state */
.my-header-menu .current-menu-item a,
.my-header-menu .current_page_item a {
    background-image: url('assets/images/vector.png');
    background-size: 88px 55px;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}

.lang-select {
    background-color: transparent;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    appearance: none;
    margin-right: 20px;
	&:focus {
	  background-color: #000000;
	  color: white;
	}
}

.h-btn-lang,
.h-btn-near-location {
    display: flex;
    align-items: center;
    justify-content: center;
}

.h-btn-near-location {
    cursor: pointer;
    background-color: #ffffff;
    padding: 10px 20px;
    border-radius: 4px;
    border: 2px solid #CC9A3D;
    font-family: "Prompt", Sans-serif;
    font-size: 18px;
}

.contact-form {
    width: 100%;
    margin: auto;
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form label {
    font-weight: 500;
    font-family: 'Prompt', sans-serif;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 10px;
    border: 1px solid #d6a84b;
    border-radius: 4px;
    font-size: 14px;
    resize: vertical;
    font-family: 'Prompt', sans-serif;

    &::placeholder {
        color: #A0A1A0;
    }

}

.contact-form button {
    margin-top: 10px;
    padding: 12px;
    background-color: #d6a84b;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    width: 130px;
    font-size: 16px;
    font-family: 'Prompt', sans-serif;
}

.contact-form button:hover {
    background-color: #b8903e;
}

.input-search-map {
    border-radius: 4px;
    border: 1px solid #CC9A3D;
    font-family: 'Prompt', sans-serif;
    font-size: 18px;
    padding: 10px;
    width: 100%;

    &::placeholder {
        color: #A0A1A0;
    }
}

.accordion {
    background-color: #c6922b;
    color: #000;
    cursor: pointer;
    padding: 15px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    transition: background-color 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion.active,
.accordion:hover {
    background-color: #b58224;
}

.accordion img {
    transition: transform 0.3s ease;
}

.accordion.active img {
    transform: rotate(180deg);
}

.panel {
    padding: 15px;
    background-color: #fff;
    display: none;
    border: 1px solid #CC9A3D;
    border-top: none;
}

.accordion-box {
    margin-bottom: 20px;
}


.info-item {
    margin: 8px 0;
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #665344;
}

.info-item {
    img {
        width: 24px;
        margin-right: 10px;
    }
}

.timeline-container {
    background: linear-gradient(to right, #bd902e, #f28d20);
    color: white;
    border-radius: 50px;
    margin: 40px auto;
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.timeline-header {
    text-align: center;
    margin-bottom: 10px;
    font-weight: 500;
    display: grid;
    grid-template-columns: 0.5fr 0.32fr 0.5fr;
    padding: 0 40px;
    font-size: 20px;
    font-family: 'Prompt', sans-serif;
}

.timeline-track {
    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
}

.years {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    scroll-behavior: smooth;
    z-index: 1;
    max-width: 100%;
}

.year {
    color: #906640;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.3s;
    font-size: 18px;
    font-family: 'Prompt', sans-serif;
}

.year.active {
    color: white;
}

.timeline-footer {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}

.next-button {
    color: white;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    margin-left: 15px;
    font-size: 16px;
}

.years::-webkit-scrollbar {
    height: 8px;
}

.years::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 4px;
}

.years::-webkit-scrollbar-track {
    background: transparent;
}