/* หน้าตาเว็บสาธารณะ — ไม่เกี่ยวกับระบบ */
header.sticky {
    background: rgba(255, 255, 255, 0.96) !important;
    border-bottom: 1px solid #e7eeea;
    box-shadow: none !important;
}
html.dark header.sticky {
    background: rgba(15, 23, 20, 0.94) !important;
    border-bottom-color: #24332c;
}
header.sticky > nav {
    max-width: none !important;
    width: 100% !important;
    padding: 0.7rem 1.25rem !important;
    gap: 0.75rem;
    flex-wrap: nowrap !important;
}
header.sticky > nav > a {
    flex: 0 0 auto;
    white-space: nowrap;
}
header.sticky nav > a img {
    box-shadow: 0 0 0 3px #e7f5ee;
}
header.sticky nav > div.hidden.md\:flex {
    gap: 0.1rem;
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap !important;
}
header.sticky nav > div.hidden.md\:flex > a,
header.sticky nav > div.hidden.md\:flex > div {
    flex: 0 0 auto;
}
header.sticky nav > div.hidden.md\:flex > a,
header.sticky nav > div.hidden.md\:flex > div > button {
    font-size: 0.84rem;
    font-weight: 600;
    padding: 0.32rem 0.28rem;
    border-radius: 999px;
    border-bottom-width: 0 !important;
    white-space: nowrap;
}
header.sticky nav > div.hidden.md\:flex > a.border-b-2,
header.sticky nav > div.hidden.md\:flex > a.border-green-700 {
    background: #e7f6ee;
    color: #0c6b45 !important;
}
html.dark header.sticky nav > div.hidden.md\:flex > a.border-b-2,
html.dark header.sticky nav > div.hidden.md\:flex > a.border-green-700 {
    background: #143528;
    color: #b7ebc9 !important;
}
header.sticky nav > div.hidden.md\:flex > a[href="forms.html"],
header.sticky nav > div.hidden.md\:flex > a[href="#news"],
header.sticky nav > div.hidden.md\:flex > a[href="index.html#news"] {
    margin-left: 0.35rem;
    box-shadow: inset 1px 0 0 #d9e5de;
}
header.sticky nav > div.hidden.md\:flex > a[href="login.html"] {
    margin-left: 0.45rem;
    background: #0f6b4c;
    color: #fff !important;
    border-bottom-width: 0 !important;
    box-shadow: none;
}
header.sticky nav > div.hidden.md\:flex > a[href="login.html"] ion-icon {
    display: none !important;
}
header.sticky nav > div.hidden.md\:flex > a[href="login.html"] span {
    display: inline !important;
}
header.sticky nav > div.hidden.md\:flex > a[href="login.html"]:hover {
    background: #0b543c;
}
@media (max-width: 1399px) {
    header.sticky nav > div.hidden.md\:flex { display: none !important; }
    header.sticky nav > div.md\:hidden { display: flex !important; }
    #mobile-menu:not(.hidden) { display: block !important; }
}
body { overflow-x: clip; }

.page-band {
    background: #146c43;
    color: #fff;
}
.page-band .container,
.page-band > div {
    max-width: 72rem;
}
.page-band + main {
    padding-top: 1.75rem !important;
}

main > section.w-full.relative,
section.w-full.h-\[50vh\] {
    height: auto !important;
    background: #f4f1ea !important;
}
html.dark main > section.w-full.relative,
html.dark section.w-full.h-\[50vh\] {
    background: #1c1917 !important;
}
.main-hero-swiper {
    height: auto !important;
    background: #f4f1ea;
}
html.dark .main-hero-swiper,
html.dark .main-hero-swiper .swiper-slide {
    background: #1c1917 !important;
}
.main-hero-swiper .swiper-slide {
    background: #f4f1ea !important;
}
.main-hero-swiper .swiper-slide img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    background: #f4f1ea;
}
.main-hero-swiper .swiper-slide > div {
    min-height: 180px;
}
.swiper-button-next,
.swiper-button-prev {
    color: #145c3a !important;
    background: #fff;
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(20, 40, 30, 0.16);
}
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 16px !important;
    font-weight: 700;
}
.swiper-pagination-bullet-active {
    background: #0f6b4c !important;
    border-color: #0f6b4c !important;
}

#home-action-banners {
    background: #f7f6f3 !important;
    border-color: #eceae4 !important;
}
#home-action-banners > .container {
    padding-top: 0.85rem !important;
    padding-bottom: 0.85rem !important;
}
#news {
    padding-top: 2.25rem !important;
    padding-bottom: 1.25rem !important;
}
#news .max-w-3xl.mx-auto.text-center {
    margin-bottom: 1.35rem !important;
}
#news h2 {
    font-size: 1.85rem !important;
}
#news .mt-24 {
    margin-top: 1.75rem !important;
}
#news-list-container {
    gap: 1rem !important;
}
#news-list-container > div {
    transform: none !important;
    border: 1px solid #e7eeea;
    box-shadow: 0 10px 30px rgba(16, 40, 30, 0.05) !important;
}
#news-list-container img {
    object-fit: contain !important;
    background: #f4f1ea;
    height: 15rem;
}
#calendar-section {
    padding-top: 1.5rem !important;
    padding-bottom: 2.75rem !important;
}
#calendar-section > div > .flex {
    margin-bottom: 1.15rem !important;
}
#contact {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}
footer.bg-gray-800 {
    background: #10241c !important;
}
