/* ========== Global Styles ========== */
* {
    box-sizing: border-box;
}

html {
    font-size: 14px;
}

body {
    font-size: 1rem;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #222;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Noto Sans Thai", sans-serif;
    margin: 12px 0;
    line-height: 1.35;
}

a {
    color: #3498db;
    text-decoration: none;
    transition: ease 0.3s;
}

a:hover {
    color: #2980b9;
    text-decoration: none;
}

.mg-horizontal {
    margin-left: 16px;
    margin-right: 16px;
}

.mg-vertical {
    margin-top: 24px;
    margin-bottom: 24px;
}

.clear-margin {
    margin: 0;
}

.clear-margin-top {
    margin-top: 0;
}

.clear-margin-bottom {
    margin-bottom: 0;
}

.bd-solid {
    border: 1px solid;
}

.bd-solid-black {
    border-color: gray;
}

.bd-solid-black {
    border-color: black;
}

.bg-primary {
    background: #2c3e50;
}

.bg-secondary {
    background: #ecf0f1;
}

.pd-horizontal {
    padding-left: 24px;
    padding-right: 24px;
}

.pd-vertical {
    padding-top: 24px;
    padding-bottom: 24px;
}

.align-center {
    display: block;
    text-align: center;
}

.align-left {
    text-align: left;
}

.align-right {
    text-align: right;
}

.radius-16 {
    border-radius: 16px;
}

.radius-24 {
    border-radius: 24px;
}

.grid {
    display: grid;
    gap: 24px;
}

.text-white {
    color: white;
}

.text-black {
    color: black;
}

.container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1400px;
}

.container-space {
    display: block;
}

.container-space-vertical.site-footer {
    display: none;
}

.container.page.property {
    max-width: 1024px;
}

/* ========== Header Styles ========== */

h1.site-name {
    margin: 0;
    line-height: 1;
    font-size: 2.5rem;
    text-align: center;
}

h1.site-name a {
    text-decoration: none;
    color: #fff;
}

/* ========== Menu Styles ========== */

.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #ffffff;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 999;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
}

.mobile-nav .nav-item {
    text-align: center;
    color: #555;
    font-size: 12px;
    text-decoration: none;
    flex: 1;
    font-family: "Noto Sans Thai", sans-serif;
}

.mobile-nav .nav-item i {
    font-size: 18px;
    display: block;
    margin-bottom: 2px;
}

.mobile-nav .nav-item:hover {
    background: #f0f0f0;
}

.menu {
    text-align: right;
    line-height: 1;
    margin-top: 12px;
}

.menu a {
    color: #ECF0F1;
    margin-right: 24px;
    font-family: "Noto Sans Thai", sans-serif;
    font-weight: bolder;
    text-decoration: none;
}

.menu a:last-child {
    margin-right: 0;
}

.menu a span {
    margin-left: 8px;
}

.menu a:hover {
    color: #1ABC9C;
}

.menu {
    display: none;
}

/* ========== Footer Styles ========== */

.site-footer {
    display: none;
}

/* ========== Small devices: Tablets (≥ 576px) ========== */
@media (min-width: 576px) {

    html {
        font-size: 15px;
    }

}

/* ========== Medium devices: Tablets landscape (≥ 768px) ========== */
@media (min-width: 768px) {

    html {
        font-size: 16px;
    }

    .grid.header {
        grid-template-columns: 1fr;
    }

    .grid.property {
        grid-template-columns: 1fr 1fr;
    }

}

/* ========== Large devices: Laptops (≥ 992px) ========== */
@media (min-width: 992px) {

    html {
        font-size: 17px;
    }

    .grid.property {
        grid-template-columns: 1fr 1fr 1fr;
    }

}

/* ========== Extra Large: Desktop (≥ 1200px) ========== */
@media (min-width: 1200px) {

    html {
        font-size: 18px;
    }

    .grid.header {
        grid-template-columns: 1fr 1fr;
    }

    h1.site-name {
        text-align: left;
    }

    .mobile-nav {
        display: none;
    }

    .menu {
        display: block;
    }

    .grid.property {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .site-footer {
        display: block;
    }

    .container-space-vertical.site-footer {
        display: block;
    }

}

/* ========== Extra Extra Large: 4K / Ultra-wide (≥ 1400px) ========== */
@media (min-width: 1400px) {

    html {
        font-size: 19px;
    }

}