/* ========================================
   台中市總工會 - Master CSS
   ======================================== */

@charset "UTF-8";

/* ── Reset & Base ─────────────────────── */
* {
    box-sizing: border-box;
}

html,
body {
    padding: 0;
    margin: 0;
    background-color: #fff;
    font-family: "Microsoft JhengHei", "PingFang TC", "Noto Sans TC", sans-serif;
    color: #333333;
    overflow-x: hidden !important;
    width: 100%;
}

body {
    padding-top: 0;
}

ul,
li {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

p {
    margin-bottom: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ── Utility Classes ──────────────────── */
.text-align-justify {
    text-align: justify;
}

.fz-12 {
    font-size: 0.75rem;
}

.fz-14 {
    font-size: 0.875rem;
}

.fz-16 {
    font-size: 1rem;
}

.fz-18 {
    font-size: 1.125rem;
}

.fz-20 {
    font-size: 1.25rem;
}

.fz-24 {
    font-size: 1.5rem;
}

.fz-32 {
    font-size: 2rem;
}

.text-gold {
    color: #B8860B;
}

.fz-18-14 {
    font-size: 1.125rem;
}

.fz-28-22 {
    font-size: 1.75rem;
}

.text-navy {
    color: #1E3A5F;
}

.text-gray {
    color: #6C757D;
}

.text-semanic {
    color: #555555;
}

.text-white {
    color: #fff;
}

.text-coffee {
    color: #61451F;
}

.bg-cream {
    background-color: #F5F5F5;
}

.bg-navy {
    background-color: #1E3A5F;
}

/* ── Header ───────────────────────────── */
.header {
    width: 100%;
    height: 72px;
    background-color: #fff;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.header .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 991.98px) {
    .header .container-fluid {
        padding: 0 16px !important;
    }

    .header-inner {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .navBox {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        z-index: 999;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
        overflow-y: auto;
        padding: 24px 20px;
    }

    .navBox.active {
        transform: translateX(0);
        visibility: visible;
    }

    .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        flex-direction: column !important;
    }

    .dropdown-menu li {
        display: block !important;
        width: 100% !important;
    }

    .dropdown-menu li a {
        display: block !important;
        width: 100% !important;
    }

    .fz-18-14 {
        font-size: 0.875rem;
    }

    .fz-28-22 {
        font-size: 1.375rem;
    }
}

.header-inner {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 44px;
    width: auto;
}

.nav-list,
#NavBox>ul {
    display: flex;
    flex-direction: column;
}

.nav-list>li>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1E3A5F;
    border-bottom: 1px solid #EDE8DF;
}

.nav-list>li>a:hover {
    color: #B8860B;
}

.dropdown-menu {
    display: none;
    padding-left: 20px;
    background: #F7F5F0;
    border-radius: 8px;
    margin: 8px 0;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: #333;
    border-bottom: 1px solid #EDE8DF;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    color: #B8860B;
    background: rgba(184, 134, 11, 0.06);
}

.has-dropdown.open>a {
    color: #B8860B;
}

/* Menu Toggle Button */
.menu-toggle {
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-icon {
    width: 44px;
    height: 44px;
    position: absolute;
    transition: all 0.3s ease;
}

.menu-icon--open {
    opacity: 1;
    transform: rotate(0deg);
}

.menu-icon--close {
    opacity: 0;
    transform: rotate(-90deg);
}

.menu-toggle.active .menu-icon--open {
    opacity: 0;
    transform: rotate(90deg);
}

.menu-toggle.active .menu-icon--close {
    opacity: 1;
    transform: rotate(0deg);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-venue {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #fff;
    color: #1E3A5F;
    border: 1.5px solid #1E3A5F;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-venue:hover {
    background: #1E3A5F;
    color: #fff;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #B8860B;
    color: #fff;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: #8B6914;
    color: #fff;
}

/* ── Desktop Styles (PC) ──────────────── */
@media (min-width: 992px) {

    /* Force show navBox as inline */
    .navBox {
        display: flex !important;
        visibility: visible !important;
        align-items: center !important;
        margin: 0 40px !important;
        transform: none !important;
        position: static !important;
        background: none !important;
        padding: 0 !important;
        flex: 1 !important;
        justify-content: center !important;
        height: auto !important;
        overflow: visible !important;
    }

    /* Force horizontal layout for nav list */
    .nav-list,
    #NavBox>ul {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 0 !important;
    }

    .nav-list>li {
        position: relative;
        display: block !important;
    }

    .nav-list>li>a {
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        padding: 24px 18px !important;
        font-size: 0.9rem !important;
        font-weight: 500 !important;
        color: #333;
        transition: color 0.3s !important;
        border-bottom: none !important;
        white-space: nowrap !important;
        position: relative;
    }

    .nav-list>li>a.active::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 15px;
        width: 90%;
        left: 50%;
        transform: translateX(-50%);
        height: 3px;
        border-radius: 2px;
        background-color: #B8860B;
        transition: transform 0.3s ease-in-out;
    }

    .nav-list>li>a:hover {
        color: #B8860B !important;
    }

    .dropdown-arrow {
        width: 10px;
        height: 10px;
        transition: transform 0.3s;
    }

    .has-dropdown:hover .dropdown-arrow {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        display: none !important;
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        min-width: 180px;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        padding: 8px 0;
        margin: 0 !important;
        z-index: 100;
        flex-direction: column !important;
    }

    /* 全寬度透明 hover 感應區，確保從任何角度下滑都不會中斷 */
    .dropdown-menu::after {
        content: '';
        position: absolute;
        top: -12px;
        left: 0;
        width: 100%;
        height: 12px;
    }

    /* 上方小三角形裝飾 */
    .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -6px;
        left: 24px;
        width: 12px;
        height: 12px;
        background: #fff;
        transform: rotate(45deg);
        border-top: 1px solid rgba(0, 0, 0, 0.04);
        border-left: 1px solid rgba(0, 0, 0, 0.04);
        box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.02);
        z-index: 1;
    }

    .has-dropdown:hover>.dropdown-menu {
        display: flex !important;
    }

    .dropdown-menu li {
        width: 100%;
    }

    .dropdown-menu li a {
        display: block;
        padding: 12px 20px;
        font-size: 0.875rem;
        color: #333;
        transition: all 0.2s;
        border-bottom: none;
        white-space: nowrap;
    }

    .dropdown-menu li a:hover {
        background: #F7F5F0;
        color: #B8860B;
    }

    .menu-toggle {
        display: none !important;
    }
}

/* ── Medium Desktop Header Responsive (992px - 1320px) ── */
@media (min-width: 992px) and (max-width: 1320px) {
    .header .container-fluid {
        padding: 0 20px !important;
    }

    .navBox {
        margin: 0 12px !important;
    }

    .nav-list>li>a {
        padding: 24px 8px !important;
        font-size: 0.85rem !important;
    }

    .btn-venue,
    .btn-contact {
        padding: 8px 12px !important;
        font-size: 0.825rem !important;
    }

    .logo img {
        height: 38px;
    }
}

body.active {
    overflow: hidden;
}

/* ── Banner ───────────────────────────── */
.banner-section {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.banner-section picture {
    display: block;
    width: 100%;
}

.banner-section .owl-carousel,
.banner-section .owl-stage-outer,
.banner-section .owl-stage,
.banner-section .item {
    width: 100%;
}

.banner-section .owl-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.banner-section .owl-dot span {
    width: 10px !important;
    height: 10px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    margin: 0 5px !important;
    border-radius: 50% !important;
}

.banner-section .owl-dot.active span {
    background: #B8860B !important;
}

.banner-section picture img,
.banner-section .item>img {
    width: 100%;
    height: 620px;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    display: flex;
    align-items: center;
}

.banner-content {
    max-width: 600px;
    color: #fff;
}

.banner-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: #D6AB29;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.banner-title {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.3rem;
    line-height: 1.2;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-title span {
    color: #D5BC9A;
}

.banner-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 28px;
    line-height: 1.6;
    max-width: 500px;
}

.btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: #fff;
    color: #1E3A5F;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.btn-white img {
    width: 16px !important;
    height: 16px !important;
}

.btn-white:hover {
    background: #B8860B;
    color: #fff;
    transform: translateY(-2px);
}

.btn-DeepBlue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: #172B43;
    color: #fff;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.btn-DeepBlue img {
    width: 16px !important;
    height: 16px !important;
}

.btn-DeepBlue:hover {
    background: #172B43;
    color: #fff;
    transform: translateY(-2px);
}

.border-right {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 991.98px) {

    .border-right {
        border-right: none;
    }

    .banner-section picture img,
    .banner-section .item>img {
        height: 560px !important;
    }

    .banner-overlay {
        align-items: flex-end !important;
        padding-bottom: 55px !important;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.45) 50%, transparent 100%);
    }

    .banner-content {
        max-width: 100%;
        padding: 0 10px;
    }

    .banner-badge {
        font-size: 0.75rem;
        padding: 5px 12px;
        margin-bottom: 14px;
    }

    .banner-title {
        font-size: 1.85rem;
        line-height: 1.3;
        margin-bottom: 14px;
    }

    .banner-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 22px;
    }

    .btn-white {
        padding: 10px 22px !important;
        font-size: 0.9rem !important;
    }
}

@media (max-width: 575.98px) {
    .banner-title {
        font-size: 1.5rem;
        line-height: 1.35;
    }

    .banner-badge {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    .banner-subtitle {
        font-size: 0.875rem;
    }

    .btn-white {
        padding: 9px 18px !important;
        font-size: 0.85rem !important;
    }
}

/* ── Stats Bar ────────────────────────── */
.stats-bar {
    background: #3A3A3A;
    padding: 24px 0;
}

.stats-bar .stat-item {
    text-align: center;
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stats-bar .stat-item:last-child {
    border-right: none;
}

.stats-bar .stat-num {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
}

.stats-bar .stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 767.98px) {
    .stats-bar .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 12px 0;
    }

    .stats-bar .stat-item:last-child {
        border-bottom: none;
    }
}

/* ── About Us ─────────────────────────── */
.about-us-section {
    padding: 70px 0;
}

.about-us-img img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.about-us-text .label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #BE8943;
    font-weight: 600;
    margin-bottom: 12px;
}

.about-us-text .label span {
    color: #A8ABB2;
}

.about-us-text h1 {
    font-size: 2.125rem;
    font-weight: 700;
    color: #1E3A5F;
    line-height: 1.4;
    margin-bottom: 20px;
}

.about-us-text h1 span {
    color: #BE8943;
}

.about-us-text p {
    font-size: 1rem;
    color: #595959;
    line-height: 1.9;
    margin-bottom: 24px;
}

.btn-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #B8860B;
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.btn-arrow:hover {
    color: #61451F;
    gap: 12px;
}

.btn-black {
    color: #2C2C2C;
}

@media (max-width: 991.98px) {
    .about-us-section {
        padding: 50px 0;
    }

    .about-us-img img {
        width: 100%;
    }

    .about-us-text h2 {
        font-size: 1.75rem;
    }
}

/* ── News Section ─────────────────────── */
.news-section {
    padding: 70px 0;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.section-title .en {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
}

.section-title .zh {
    font-size: 1.625rem;
    font-weight: 700;
    color: #1E3A5F;
    margin-top: 4px;
}

.section-title .see-all {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #B8860B;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.section-title .see-all:hover {
    text-decoration: underline;
}

.news-main-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
    transition: box-shadow 0.3s ease;
}

.news-main-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.news-main-card .news-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.news-main-card .news-body {
    padding: 24px;
}

.news-main-card .news-label {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 10px;
}

.label-red {
    background: #B95B54;
    color: #fff;
}

.label-semantic {
    background: #555555;
    color: #fff;
}

.label-green {
    background: #738D6C;
    color: #fff;
}

.news-main-card .news-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1E3A5F;
    margin: 12px 0;
    line-height: 1.5;
}

.news-main-card .news-date {
    font-size: 0.8125rem;
    color: #999;
}

.news-list-item-top {
    border-top: 1px solid #D1D1D1;
}

.news-list-item {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #D1D1D1;
    text-decoration: none;
    transition: background 0.2s;
}

/* .news-list-item:last-child {
    border-bottom: none;
} */

.news-list-item:hover .news-list-title {
    color: #B8860B;
}

.news-list-label {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.875rem;
    margin-right: 12px;
    flex-shrink: 0;
}

.news-list-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #1E3A5F;
    flex: 1;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
}

.news-list-date {
    font-size: 0.875rem;
    color: #999;
    flex-shrink: 0;
    /* margin-left: 16px; */
}

/* ── Quick Access ─────────────────────── */
.quick-access-section {
    padding: 70px 0;
}

.quick-access-text .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #B8860B;
    font-weight: 600;
    margin-bottom: 12px;
}

.quick-access-text h3 {
    font-size: 1.625rem;
    font-weight: 700;
    color: #1E3A5F;
    line-height: 1.5;
    margin-bottom: 16px;
}

.quick-access-text h3 span {
    color: #B8860B;
}

.quick-access-text p {
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 24px;
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #B8860B;
    color: #fff;
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-gold:hover {
    background: #8B6914;
    color: #fff;
    transform: translateY(-2px);
}

.btn-gold-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 10px;
    background: transparent;
    color: #172B43;
    border: 2px solid #D4D4D4;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-gold-outline:hover {
    background: #172B43;
    color: #fff;
}

.btn-gold-outline.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

/* ── Moments / Events ─────────────────── */
.moments-section {
    padding: 70px 0;
    background: #F5F5F5;
}

.moments-carousel .owl-item {
    padding: 0 10px;
}

.moment-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    display: block;
    text-decoration: none;
}

.moment-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.moment-card:hover img {
    transform: scale(1.05);
}

.moment-card .moment-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
}

.moment-card .moment-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 6px;
}

.moment-card .moment-title {
    font-size: 1rem;
    font-weight: 600;
}

/* ── Bottom Quick Access Strip ────────── */
.bottom-quick-strip {
    background: #B8860B;
    padding: 0;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 28px;
    color: #fff;
    text-decoration: none;
    border-right: 1px solid #C29862;
    transition: background 0.3s;
}

.strip-item:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
}

.bottom-quick-strip [class*="col-"]:last-child .strip-item {
    border-right: none !important;
}

.strip-item .strip-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.strip-item .strip-text {
    flex: 1;
}

.strip-item .strip-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.strip-item .strip-sub {
    font-size: 0.875rem;
    opacity: 0.85;
}

.strip-item .strip-arrow {
    opacity: 0.8;
}

@media (max-width: 991.98px) {
    .strip-item {
        border-right: none !important;
        border-bottom: 1px solid #C29862 !important;
    }

    .bottom-quick-strip [class*="col-"]:last-child .strip-item {
        border-bottom: none !important;
    }
}

/* ── Footer ───────────────────────────── */
.footer {
    background-image: url('../images/footer.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    /* background-position: center; */
    position: relative;
    color: #fff;
}

.footer-space {
    padding: 0 60px;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 18, 28, 0.4);
    pointer-events: none;
}

.footer>[class*="container"] {
    position: relative;
    z-index: 1;
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-logo-img {
    height: 46px;
    width: auto;
}

.footer-brand-title {
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

.footer-brand-sub {
    font-size: 0.75rem;
    letter-spacing: 0.3px;
}

.footer-nav-group h6 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    white-space: nowrap;
}

.footer-nav-group h6 a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-nav-group h6 a:hover {
    opacity: 0.8;
}

.footer-nav-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-group ul li {
    margin-bottom: 6px;
}

.footer-nav-group ul li a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}

.footer-nav-group ul li a:hover {
    color: #fff;
}

.footer-subscribe-input-group {
    width: 320px;
    border-radius: 4px;
    overflow: hidden;
    height: 42px;
}

.footer-sub-input {
    flex: 1;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-right: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.875rem;
    padding: 0 14px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.footer-sub-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-sub-input:focus {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: none;
}

.btn-subscribe-submit {
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #C29862;
    color: #fff;
    border: none;
    padding: 0 20px;
    font-weight: 700;
    font-size: 0.875rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.btn-subscribe-submit:hover {
    background-color: #a8814f;
    color: #fff;
}

.footer-social-icons a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.2s;
}

.footer-social-icons a:hover {
    transform: translateY(-2px);
}

.footer-social-icons a img {
    width: 24px;
    height: 24px;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.hover-white:hover {
    color: #fff !important;
}

@media (max-width: 991.98px) {
    .footer-top {
        padding: 40px 0 24px;
    }

    .footer-nav-list {
        gap: 1.5rem !important;
    }

    .footer-space {
        padding: 0 16px;
    }
}

/* ── Page Header (inner pages) ────────── */
.page-header {
    background: #F7F5F3;
    color: #555555;
    padding: 50px 0;
}

.page-header h1,
.page-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.page-header h1 span,
.page-header h2 span {
    color: #ECE6DF;
}

.page-header .subtitle {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 4px;
}

.page-header .en-title {
    font-size: 0.8125rem;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-header .breadcrumb {
    margin-bottom: 0;
    font-size: 0.875rem;
}

.page-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb .active {
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 991.98px) {
    .page-header {
        padding: 36px 0;
    }

    .page-header h1,
    .page-header h2 {
        font-size: 1.5rem;
    }
}

/* ── Section Spacing ──────────────────── */
.section-padding {
    padding: 70px 0;
}

/* ── Sub Page Nav Tabs ─────────────────── */
.sub-page-nav {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.sub-page-nav::-webkit-scrollbar {
    display: none;
}

.sub-page-border {
    max-width: 900px;
    margin: 0 auto;
    border-bottom: 1px solid #D1D1D1;

}

.sub-page-nav-list {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sub-page-nav-link {
    display: block;
    padding: 16px 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #4A4A4A;
    text-decoration: none;
    position: relative;
    white-space: nowrap;
    transition: color 0.2s;
}

.sub-page-nav-link:hover,
.sub-page-nav-link.active {
    color: #BE8943;
}

.sub-page-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 3px;
    background-color: #BE8943;
}

@media (max-width: 991.98px) {
    .sub-page-nav .container {
        display: inline-block;
        min-width: 100%;
        width: max-content;
    }

    .sub-page-border {
        max-width: none;
        width: max-content;
        min-width: 100%;
    }

    .sub-page-nav-list {
        justify-content: flex-start;
        gap: 24px;
        padding: 0 16px;
        width: max-content;
        min-width: 100%;
    }
}

/* ── About Us Detail Content ────────────── */
.about-intro-container {
    max-width: 900px;
    margin: 0 auto;
}

.about-block-title {
    color: #C29862;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 14px;
    margin-top: 36px;
}

.about-block-title:first-child {
    margin-top: 0;
}

.about-text {
    color: #4A4A4A;
    line-height: 1.9;
    margin-bottom: 16px;
}

.about-task-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.about-task-list li {
    color: #4A4A4A;
    line-height: 1.9;
    margin-bottom: 4px;
}

.org-chart-wrapper {
    background-color: #F4F4F4;
    border-radius: 16px;
    padding: 40px 24px;
    margin-top: 40px;
    text-align: center;
}

.org-chart-wrapper img {
    max-width: 100%;
    height: auto;
}

.btn-back-home {
    display: inline-block;
    padding: 8px 36px;
    border: 1px solid #C29862;
    color: #C29862;
    background-color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-back-home:hover {
    background-color: #C29862;
    color: #fff;
}

/* ── Back to Top ──────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: #B8860B;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #8B6914;
    transform: translateY(-3px);
}

@media (max-width: 767.98px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 38px;
        height: 38px;
    }
}

/* ── Hover White ──────────────────────── */
.hover-white:hover {
    color: #fff !important;
}

.director-img {
    position: relative;
    width: 100%;
}

.director-img::before {
    content: '';
    display: block;
    padding-top: 133%;
}

.director-img-container {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
    border-radius: 12px;
}

.director-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bylaws-table-box {
    width: 100%;
    overflow-x: auto;
}

.bylaws-table-box table {
    width: 100%;
    min-width: 900px;
    font-size: 12px;
    table-layout: fixed;
}

.bylaws-table-box table th,
.bylaws-table-box table td {
    width: 12.5%;
    text-align: center;
}

.bylaws-table-box table th {
    border: 1px solid #D1D1D1;
    background-color: #ECE6DF;
    padding: 12px 0;
}

.bylaws-table-box table td {
    border: 1px solid #D1D1D1;
    padding: 12px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.table-responsive table {
    width: 100%;
    min-width: 900px;
    font-size: 12px;
}

.table-responsive table th,
.table-responsive table td {
    border: 1px solid #D1D1D1;
    padding: 6px;
    text-align: center;
}

.table-responsive table th {
    background-color: #ECE6DF;
    padding: 12px 6px;
}

.table-responsive table td {
    vertical-align: middle;
}

.table-responsive.table-intro table {
    min-width: auto;
    max-width: 400px;
}

.table-responsive.unions-table table td {
    height: 50px;
    vertical-align: middle;
}

@media (max-width: 991.98px) {
    .table-responsive.table-intro table {
        max-width: 100%;
    }
}

.unions-pagination {
    border: 1px solid #D1D1D1;
    margin-top: -1px;
    padding: 12px 16px;
    background-color: #F7F5F3;
}

/* ── News Page Styles ─────────────────── */
.news-page-list {
    margin-bottom: 30px;
}

.news-page-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid #E5E5E5;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.news-page-item:hover .news-page-title {
    color: #B8860B;
}

.news-page-date {
    flex-shrink: 0;
    width: 70px;
    text-align: left;
}

.news-page-date .year-month {
    font-size: 14px;
    text-align: center;
    color: #888888;
    line-height: 1.2;
    display: block;
}

.news-page-date .day {
    font-size: 40px;
    text-align: center;
    margin-top: 6px;
    font-weight: 700;
    color: #C5A059;
    line-height: 1.1;
    display: block;
}

.news-page-content {
    flex: 1;
    min-width: 0;
}

.news-page-top {
    /* display: flex; */
    /* align-items: center; */
    margin-bottom: 6px;
}

.news-tag {
    display: inline-block;
    padding: 5px 12px 2px;
    border-radius: 4px;
    font-size: 14px;
    color: #FFFFFF;
    font-weight: 500;
}

.news-tag--notice {
    background-color: #B5524B;
}

.news-tag--service {
    background-color: #4E555B;
}

.news-tag--event {
    background-color: #5A7D52;
}

.news-page-arrow {
    color: #333333;
    font-size: 18px;
    flex-shrink: 0;
    align-self: center;
    margin-left: auto;
    transition: transform 0.2s ease, color 0.2s ease;
}

.news-page-item:hover .news-page-arrow {
    transform: translateX(4px);
    color: #B8860B;
}

.news-page-title {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    line-height: 1.6;
    margin: 0;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 767.98px) {
    .news-page-item {
        gap: 16px;
        padding: 16px 0;
    }

    .news-page-date {
        width: 60px;
    }

    .news-page-date .year-month {
        font-size: 14px;
    }

    .news-page-date .day {
        font-size: 40px;
    }

    .news-page-title {
        font-size: 15px;
    }
}

.pagination-custom a {
    padding: 6px 8px;
    color: #172B43;
}

.pagination-custom a:hover {
    color: #BE8943;
}

.pagination-custom a.active {
    color: #BE8943;
}

.pagination-custom .btn-gold-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 10px;
    background: transparent;
    color: #172B43;
    border: 2px solid #D4D4D4;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-custom .btn-gold-outline:hover {
    background: #172B43;
    color: #fff;
}

.pagination-custom .btn-gold-outline.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.news-detail-content h1 {
    font-size: 28px;
    font-weight: bold;
}

.news-detail-body p {
    font-size: 16px;
    margin-bottom: 16px;
}

.news-detail-body img {
    margin-bottom: 16px;
    max-width: 100%;
    height: auto;
}

/* ── Event Cards Styles ─────────────────── */
.card-event {
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    height: 100%;
    display: block;
}

.card-event:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.card-event:hover .event-title {
    color: #B8860B;
}

.card-event .event-img {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background-color: #E6E6E6;
    aspect-ratio: 16 / 10;
    width: 100%;
}

.card-event .event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-event .event-body {
    padding-top: 14px;
}

.card-event .event-title {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 6px;
    line-height: 1.4;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-event .event-date {
    font-size: 14px;
    color: #888888;
}

/* ── Event Detail Gallery & Lightbox Styles ── */
.event-detail-breadcrumb {
    font-size: 14px;
    color: #888888;
    margin-bottom: 16px;
}

.event-detail-breadcrumb a {
    color: #888888;
    text-decoration: none;
    transition: color 0.2s ease;
}

.event-detail-breadcrumb a:hover {
    color: #B8860B;
}

.event-detail-breadcrumb span {
    color: #333333;
}

.event-gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background-color: #E6E6E6;
    aspect-ratio: 16 / 10;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.event-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-gallery-item:hover img {
    transform: scale(1.03);
}

.event-gallery-item .zoom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.event-gallery-item:hover .zoom-overlay {
    opacity: 1;
}

.event-gallery-item .zoom-overlay svg {
    color: #FFFFFF;
}

.lightbox-modal .modal-dialog {
    max-width: fit-content !important;
    margin: 1.75rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100% - 3.5rem);
}

.lightbox-modal .modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
    width: auto;
    display: inline-block;
}

.lightbox-modal .modal-body {
    position: relative;
    padding: 0;
    display: inline-block;
    max-width: 90vw;
    max-height: 85vh;
}

.lightbox-modal img {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: block;
    object-fit: contain;
}

.lightbox-modal .btn-close-lightbox {
    position: absolute;
    top: -14px;
    right: -14px;
    z-index: 1056;
    background: #FFFFFF;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, background 0.2s ease;
}

.lightbox-modal .btn-close-lightbox:hover {
    background: #F0F0F0;
    transform: scale(1.1);
}

/* ── Industry Training Page Styles ── */
.training-intro-box {
    color: #555555;
    font-size: 16px;
    line-height: 1.8;
    padding-bottom: 30px;
    border-bottom: 1px solid #E5E5E5;
}

.training-intro-box h4 {
    font-size: 20px;
    font-weight: bold;
    color: #172B43;
    margin-bottom: 16px;
    line-height: 1.5;
}

.training-intro-box a {
    color: #555555;
    text-decoration: underline;
    transition: all .2s ease;
}

.training-intro-box a:hover {
    color: #BE8943;
}

.training-course-item {
    padding: 36px 0;
    border-bottom: 1px solid #E5E5E5;
}

.training-course-item:last-child {
    border-bottom: none;
}

.training-course-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
}

.training-course-title {
    font-size: 28px;
    font-weight: bold;
    color: #61451F;
    margin-bottom: 8px;
}

.training-course-code {
    color: #BE8943;
    margin-bottom: 16px;
}

.training-course-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
    color: #555555;
    line-height: 1.8;
}

.training-course-link {
    color: #BE8943;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.training-course-link:hover {
    color: #B8860B;
    transform: translateX(4px);
}

/* ── Seminars Training Page Table Styles ── */
.seminar-title {
    font-size: 24px;
    font-weight: bold;
    color: #BE8943;
    margin-bottom: 24px;
}

.seminar-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.seminar-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #D1D1D1;
    background-color: #FFFFFF;
    font-size: 14px;
    color: #333333;
    min-width: 700px;
}

.seminar-table th {
    background-color: #ECE6DF;
    color: #392914;
    font-weight: bold;
    text-align: center;
    padding: 14px 16px;
    border: 1px solid #D1D1D1;
    white-space: nowrap;
}

.seminar-table td {
    padding: 16px;
    border: 1px solid #D1D1D1;
    vertical-align: middle;
    line-height: 1.7;
}

.seminar-table td.col-name {
    width: 35%;
    text-align: center;
    font-weight: 500;
}

.seminar-table td.col-date {
    width: 15%;
    text-align: center;
    white-space: nowrap;
}

.seminar-table td.col-content {
    width: 50%;
    text-align: left;
}

.seminar-course-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.seminar-course-list li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 4px;
}

.seminar-course-list li:last-child {
    margin-bottom: 0;
}

.seminar-course-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #333333;
}

.seminar-divider {
    border: none;
    border-top: 1px dashed #CCCCCC;
    margin: 10px 0;
}

/* ── Download Page Styles ── */
.download-filter-label {
    font-size: 15px;
    font-weight: bold;
    color: #172B43;
    white-space: nowrap;
}

.download-select {
    border: 1px solid #D1D1D1;
    border-radius: 6px;
    padding: 8px 36px 8px 14px;
    font-size: 14px;
    color: #333333;
    background-color: #FFFFFF;
    min-width: 260px;
    cursor: pointer;
}

.download-select:focus {
    border-color: #BE8943;
    box-shadow: 0 0 0 0.2rem rgba(190, 137, 67, 0.15);
}

.download-search-input-box {
    border: 1px solid #D1D1D1;
    border-radius: 6px;
    background-color: #FFFFFF;
    padding: 0 10px 0 12px;
    height: 42px;
    width: 240px;
}

@media (max-width: 991.98px) {
    .download-search-input-box {
        width: 100%;
    }
}

.search-input-icon {
    margin-right: 8px;
    flex-shrink: 0;
}

.download-search-input {
    border: none;
    background: transparent;
    padding: 0;
    font-size: 14px;
    color: #333333;
    box-shadow: none !important;
    height: 100%;
}

.search-clear-btn {
    border: none;
    background: transparent;
    color: #B5B5B5;
    padding: 0 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.search-clear-btn:hover {
    color: #666666;
}

.btn-download-search {
    background-color: #BE8943;
    border: 1px solid #BE8943;
    border-radius: 6px;
    margin-left: 6px;
    width: 44px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background-color 0.2s ease;
}

.btn-download-search:hover {
    background-color: #A67332;
    border-color: #A67332;
}

.download-table-wrapper {
    width: 100%;
    /* overflow-x: auto;
    -webkit-overflow-scrolling: touch; */
}

.download-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #D1D1D1;
    background-color: #FFFFFF;
    font-size: 15px;
    color: #333333;
    /* min-width: 600px; */
}

.download-table th {
    background-color: #ECE6DF;
    color: #392914;
    font-weight: bold;
    text-align: center;
    padding: 14px 16px;
    border: 1px solid #D1D1D1;
    white-space: nowrap;
}

.download-table td {
    padding: 16px 20px;
    border: 1px solid #D1D1D1;
    vertical-align: middle;
    line-height: 1.6;
}

.download-table td.col-num {
    width: 10%;
    text-align: center;
    color: #666666;
}

.download-table td.col-name {
    width: 72%;
    text-align: left;
    color: #333333;
}

.download-table td.col-date {
    width: 18%;
    text-align: center;
    color: #666666;
    white-space: nowrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    margin-left: 12px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    flex: 0 0 auto;
}

.download-btn:hover {
    transform: translateY(2px);
    opacity: 0.8;
}

/* ── Calendar Page Styles ── */
.cal-nav-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 28px;
}

.cal-month-title {
    font-size: 22px;
    font-weight: 700;
    color: #172B43;
    letter-spacing: 1px;
}

.cal-nav-btn {
    border: none;
    background: transparent;
    font-size: 18px;
    color: #666666;
    cursor: pointer;
    padding: 4px 12px;
    transition: color 0.2s ease;
}

.cal-nav-btn:hover {
    color: #BE8943;
}

.cal-grid-wrapper {
    width: 100%;
}

.cal-table-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-top: 1px solid #E5DFD9;
    border-left: 1px solid #E5DFD9;
    background-color: #FFFFFF;
}

.cal-header-cell {
    border-right: 1px solid #E5DFD9;
    border-bottom: 1px solid #E5DFD9;
    padding: 14px 4px;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
}

.cal-header-cell.sun {
    color: #C34949;
}

.cal-header-cell.weekday {
    color: #666666;
}

.cal-header-cell.sat {
    color: #2B4E75;
}

.cal-day-cell {
    border-right: 1px solid #E5DFD9;
    border-bottom: 1px solid #E5DFD9;
    min-height: 100px;
    padding: 8px;
    cursor: pointer;
    background-color: #FFFFFF;
    transition: background-color 0.2s ease;
    display: flex;
    flex-direction: column;
}

.cal-day-cell.empty-cell {
    cursor: default;
    background-color: #FAF9F8;
}

.cal-day-cell:not(.empty-cell):hover {
    background-color: #FAF7F4;
}

.cal-day-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 6px;
}

.cal-day-num {
    font-size: 14px;
    color: #333333;
    font-weight: 500;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.cal-day-cell.selected .cal-day-num {
    background-color: #BE8943;
    color: #FFFFFF;
    font-weight: bold;
}

.cal-event-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 12px;
}

.cal-event-pill {
    line-height: 1.4;
    display: flex;
}

.cal-event-pill .brown {
    color: #BE8943;
    margin-right: 4px;
}

.cal-event-pill .blue {
    color: #2B4E75;
    margin-right: 4px;
}

/* Mobile Dots Representation */
.cal-dots-container {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin-top: 2px;
}

.cal-text {
    max-width: 48px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* Event Detail Card */
.cal-detail-card {
    background-color: #F7F5F3;
    border: 1px solid #ECE6DF;
    border-radius: 16px;
    padding: 24px;
    position: relative;
    height: 100%;
}

.cal-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.cal-detail-date {
    font-size: 18px;
    font-weight: bold;
    color: #172B43;
    margin: 0;
}

.cal-detail-close {
    border: none;
    background: transparent;
    font-size: 20px;
    line-height: 1;
    color: #666666;
    cursor: pointer;
    display: none;
}

.cal-event-item {
    position: relative;
    padding-left: 20px;
    margin-bottom: 18px;
}

.cal-event-item:last-child {
    margin-bottom: 0;
}

.cal-event-item::before {
    content: "•";
    position: absolute;
    left: 0;
    top: -2px;
    font-size: 20px;
    line-height: 1.2;
    color: #BE8943;
}

.cal-event-item-title {
    font-size: 16px;
    font-weight: bold;
    color: #172B43;
    line-height: 1.4;
    margin-bottom: 4px;
}

.cal-event-item-meta {
    font-size: 13px;
    color: #777777;
}

.cal-no-events {
    font-size: 14px;
    color: #888888;
    padding: 12px 0;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .cal-table-grid {
        border: none;
        background: transparent;
    }

    .cal-header-cell {
        border: none;
        padding: 8px 0;
    }

    .cal-day-cell {
        border: none;
        min-height: 54px;
        padding: 4px 0;
        align-items: center;
        justify-content: center;
        background: transparent;
    }

    .cal-day-cell.empty-cell {
        background: transparent;
    }

    .cal-day-header {
        margin-bottom: 0;
        justify-content: center;
    }

    .cal-event-list {
        flex-direction: row;
        justify-content: center;
        align-self: center;

    }

    .cal-text {
        display: none;
    }

    .cal-dots-container {
        display: flex;
    }

    .cal-detail-close {
        display: block;
    }
}

/* ── Contact Page Styles ── */
.contact-title-gold {
    font-size: 24px;
    font-weight: bold;
    color: #BE8943;
    margin-bottom: 24px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 15px;
    color: #333333;
    line-height: 1.6;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-info-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info-text strong {
    color: #172B43;
}

.contact-info-text a {
    color: #333333;
    text-decoration: underline;
}

.contact-info-text a:hover {
    color: #BE8943;
}

.contact-social-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.contact-social-row a img {
    width: 32px;
    height: 32px;
    transition: transform 0.2s ease;
}

.contact-social-row a:hover img {
    transform: scale(1.1);
}

.contact-map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 320px;
    border: none;
    display: block;
}

.contact-map-tip {
    font-size: 13px;
    color: #888888;
    margin-top: 8px;
}

/* Contact Form Card */
.contact-form-card {
    background-color: #F7F5F2;
    border-radius: 16px;
    padding: 36px 32px;
}

.contact-label {
    font-size: 15px;
    font-weight: bold;
    color: #172B43;
    margin-bottom: 8px;
}

.contact-input-box {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #FFFFFF;
    border: 1px solid #D1D1D1;
    border-radius: 6px;
    height: 44px;
    padding: 0 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-input-box:focus-within {
    border-color: #BE8943;
    box-shadow: 0 0 0 0.2rem rgba(190, 137, 67, 0.15);
}

.contact-input-icon {
    margin-right: 10px;
    flex-shrink: 0;
}

.contact-input {
    border: none;
    background: transparent;
    padding: 0;
    font-size: 14px;
    color: #333333;
    height: 100%;
    box-shadow: none !important;
}

.contact-select {
    font-size: 14px;
    color: #333333;
    height: 44px;
}

.contact-select:invalid,
.contact-select:has(option[value=""]:checked) {
    color: #616A72;
}

.contact-select option {
    color: #333333;
}

.contact-clear-btn {
    border: none;
    background: transparent;
    color: #B5B5B5;
    padding: 0 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.contact-clear-btn:hover {
    color: #666666;
}

.contact-textarea {
    border: 1px solid #D1D1D1;
    border-radius: 6px;
    padding: 12px;
    font-size: 14px;
    color: #333333;
    background-color: #FFFFFF;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.2s ease;
}

.contact-textarea:focus {
    border-color: #BE8943;
    box-shadow: 0 0 0 0.2rem rgba(190, 137, 67, 0.15);
}

.btn-gold-submit {
    background-color: #BE8943;
    border: none;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 16px;
    border-radius: 8px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-gold-submit:hover {
    background-color: #A67332;
    color: #FFFFFF;
    transform: translateY(-2px);
}

@media (max-width: 991.98px) {
    .contact-form-card {
        padding: 24px 20px;
    }
}

/* ── Privacy Policy Styles ── */
.privacy-content {
    color: #333333;
    line-height: 1.8;
}

.privacy-content h2 {
    font-size: 22px;
    font-weight: bold;
    color: #BE8943;
    margin-top: 0;
    margin-bottom: 16px;
    border-bottom: 2px solid #F0ECE1;
    padding-bottom: 12px;
}

.privacy-content h3 {
    font-size: 20px;
    font-weight: bold;
    color: #BE8943;
    margin-top: 32px;
    margin-bottom: 12px;
}

.privacy-content p {
    font-size: 15px;
    color: #4C4C4C;
    margin-bottom: 16px;
    line-height: 1.8;
}

.privacy-content ul {
    margin-bottom: 24px;
    padding-left: 20px;
    list-style-type: disc;
}

.privacy-content ul li {
    font-size: 15px;
    color: #4C4C4C;
    margin-bottom: 8px;
    line-height: 1.8;
}

.privacy-content ul li a {
    color: #BE8943;
    text-decoration: underline;
}

.privacy-content ul li a:hover {
    color: #A67332;
}

/* ── Venue Rental Page Styles ── */
.note-box {
    font-size: 14px;
    color: #4C4C4C;
    line-height: 1.8;
}

.note-box p {
    margin-bottom: 0;
}

.note-box p strong {
    color: #172B43;
    font-size: 15px;
}

.venue-top {
    background-color: #F5F5F5;
    border-radius: 12px;
}

.venue-top h3 {
    color: #172B43;
    font-size: 28px;
}

.venue-top p {
    color: #BE8943;
    font-size: 28px;
}

.venue-title {
    border-left: 4px solid #BE8943;
    padding-left: 10px;
    font-size: 22px;
    font-weight: bold;
    color: #61451F;
    margin-bottom: 20px;
}

.venue-img-box img {
    border-radius: 12px;
    width: 100%;
    height: auto;
}

@media (max-width: 991.98px) {

    .venue-top h3 {
        font-size: 22px;
    }

    .venue-top p {
        font-size: 22px;
    }

    .venue-title {
        font-size: 18px;
    }
}

/* ── Step Indicator Process Styles ── */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 680px;
    margin: 0 auto 40px auto;
    padding: 0 16px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #E6E6E6;
    color: #B8B8B8;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.step-label {
    font-size: 16px;
    font-weight: 500;
    color: #8C8C8C;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.step-item.active .step-num {
    background-color: #BE8943;
    color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(190, 137, 67, 0.25);
}

.step-item.active .step-label {
    color: #61451F;
    font-weight: bold;
}

.step-item.completed .step-num {
    background-color: #738D6C;
    color: #FFFFFF;
}

.step-item.completed .step-label {
    color: #A8ABB2;
    font-weight: bold;
}



.step-line {
    flex-grow: 1;
    height: 3px;
    background-color: #D1D1D1;
    margin: 0 16px;
    min-width: 24px;
}

.step-line.active {
    background-color: #738D6C;
}

@media (max-width: 767.98px) {
    .step-indicator {
        margin-bottom: 28px;
    }

    .step-item {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .step-num {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .step-label {
        font-size: 12px;
    }

    .step-line {
        margin: 0 8px 20px 8px;
    }
}

/* ── Calendar & Venue Step 1 Booking Styles ── */

.booking-card-all {
    background-color: #F7F5F3;
    border-radius: 16px;
    border: 1px solid #ECE6DF;
    padding: 16px 20px;
}

.booking-card {
    height: 100%;
}

.booking-card h5 {
    font-size: 20px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-top: 16px;
}

.calendar-header {
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #2C2C2C;
    padding: 8px 0;
}

.Sunday {
    color: #B95B54;
}

.Saturday {
    color: #36659E;
}

.calendar-day {
    border: 1px solid #F7F5F3;
    border-radius: 8px;
    padding: 8px 2px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.calendar-day:hover:not(.disabled):not(.empty) {
    border: 1px solid #D1D1D1;
    border-radius: 8px;
}

.calendar-day.empty {
    background: transparent;
    border: none;
    cursor: default;
}

.calendar-day.disabled {
    color: #A0A0A0;
    cursor: not-allowed;
}

.calendar-day.selected {
    background-color: #FBF5E4;
    border: 1px solid #BE8943;
    color: #61451F;
}

.calendar-day .day-num {
    font-size: 15px;
    font-weight: bold;
    color: #172B43;
    line-height: 1.2;
}

.calendar-day.selected .day-num {
    color: #61451F !important;
}

.calendar-day.selected .day-status {
    color: #738D6C !important;
}

.calendar-day.disabled .day-num,
.calendar-day.disabled .day-status {
    color: #D1D1D1 !important;
}

.calendar-day .day-status {
    font-size: 11px;
    color: #738D6C;
    margin-top: 2px;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.calendar-day .day-status span {
    width: 5px;
    height: 5px;
    border-radius: 5px;
    background-color: #738D6C;
    text-align: center;
    display: block;
}

.calendar-day.disabled .day-status span {
    background-color: #D1D1D1;
}

/* Legend dots */
.calendar-legend {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    font-size: 13px;
    color: #666666;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot.available {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background-color: #738D6C;
}

.legend-dot.full {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background-color: #D1D1D1;
}

.legend-dot.selected {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background-color: #FBF5E4;
    border: 1px solid #BE8943;
}

/* Venue Option Card & Single-Select Radio Slot Styles */
.venue-option-card-box {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 16px;
}

.venue-option-card {
    padding-bottom: 16px;
    border-bottom: 1px solid #D1D1D1;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.venue-option-card:last-child {
    border-bottom: none;
}

.venue-option-card:hover {
    border-color: #BE8943;
}

.venue-option-thumb {
    width: 84px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.venue-option-title {
    font-size: 15px;
    font-weight: bold;
    color: #172B43;
}

.venue-option-capacity {
    font-size: 12px;
    color: #888888;
    font-weight: normal;
    margin-left: 6px;
}

/* Single-select Radio Slot Buttons */
.slot-radio-wrap {
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin: 0;
}

.slot-radio-wrap input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.slot-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 85px;
    padding: 10px 10px;
    border-radius: 8px;
    border: 1px solid #D1D1D1;
    background-color: #FFFFFF;
    color: #172B43;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    transition: all 0.2s ease;
    user-select: none;
}

.slot-btn small {
    font-size: 11px;
    opacity: 0.8;
}

.slot-radio-wrap input[type="radio"]:disabled+.slot-btn,
.slot-btn.disabled {
    background-color: #F5F5F5;
    border-color: #E0E0E0;
    color: #A0A0A0;
    cursor: not-allowed;
}

.slot-radio-wrap input[type="radio"]:checked+.slot-btn {
    background-color: #fff;
    border-color: #BE8943;
    color: #61451F;
    box-shadow: 0 2px 6px rgba(190, 137, 67, 0.3);
}

.slot-radio-wrap:hover input[type="radio"]:not(:disabled)+.slot-btn {
    border-color: #BE8943;
    color: #BE8943;
}

.slot-radio-wrap input[type="radio"]:checked:hover+.slot-btn {
    /* color: #FFFFFF; */
}

@media (max-width: 575.98px) {
    .calendar-grid {
        gap: 4px;
    }

    .calendar-day {
        min-height: 48px;
        padding: 4px 1px;
    }

    .calendar-day .day-num {
        font-size: 13px;
    }

    .calendar-day .day-status {
        font-size: 10px;
    }

    .slot-btn {
        min-width: 58px;
        padding: 5px 8px;
        font-size: 12px;
    }
}

.step-info {
    background-color: #F7F5F3;
    border: 1px solid #ECE6DF;
    border-radius: 16px;
}

.step-info-selected {
    background-color: #FFFFFF;
    border: 2px solid #BE8943;
    border-radius: 10px;
    padding: 16px;
}

.UnderReview {
    display: inline-block;
    padding: 6px 22px;
    background-color: #FBF5E4;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    color: #6B540F;
}

.UnderReview span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background-color: #6B540F;
}

.ApplicationNumber {
    display: inline-block;
    background-color: #fff;
    border: 1px solid #D1D1D1;
    padding: 13px 26px;
    border-radius: 8px;
    color: #A8ABB2;
    font-size: 14px;
}

.ApplicationNumber span {
    color: #171717;
    font-weight: bold;
    font-size: 16px;
}

.ApplicationInfo {
    display: inline-block;
    background-color: #fff;
    border: 1px solid #D1D1D1;
    padding: 13px 26px;
    border-radius: 8px;
}