/* ==================================================
   Banner 圖片
================================================== */

.hero-banner-image {
    position: relative;
    width: 100%;
    overflow: hidden;
}

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

/* ==================================================
   浮動導覽列
================================================== */

.navbar {
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.floating-menu {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1280px, calc(100% - 40px));
    z-index: 9999;

    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(140, 179, 105, 0.35);
    border-radius: 999px;
    padding: 8px 18px;

    box-shadow: 0 12px 32px rgba(76, 46, 5, 0.14);
}

.floating-menu .container {
    max-width: 100%;
}

/* 導覽列文字 */
.nav-link {
    color: var(--color-brown);
    font-weight: 700;
    font-size: 17px;
    margin: 0 3px;
    padding: 8px 10px !important;
    border-radius: 999px;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active,
.nav-link:focus {
    color: var(--color-bluegray);
    background: rgba(244, 226, 133, 0.55);
}

/* Bootstrap 下拉箭頭顏色 */
.dropdown-toggle::after {
    color: var(--color-brown);
}

/* ==================================================
   下拉選單
================================================== */

.dropdown-menu {
    border: 1px solid rgba(140, 179, 105, 0.28);
    border-radius: 16px;
    padding: 10px;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 32px rgba(76, 46, 5, 0.16);
    z-index: 10000;
}

.dropdown-item {
    border-radius: 10px;
    color: var(--color-brown);
    font-size: 16px;
    font-weight: 600;
    padding: 9px 16px;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(140, 179, 105, 0.20);
    color: var(--color-bluegray);
}

.dropdown-item.disabled {
    color: rgba(76, 46, 5, 0.45);
}

/* ==================================================
   使用者登入區
================================================== */

.nav-user-area {
    margin-left: 10px;
    white-space: nowrap;
}

.nav-user-info {
    display: flex;
    align-items: center;
    gap: 8px;

    background: rgba(244, 226, 133, 0.35);
    border: 1px solid rgba(140, 179, 105, 0.35);
    border-radius: 999px;
    padding: 6px 12px;
}

.nav-user-name {
    font-weight: 700;
    color: var(--color-brown);
    font-size: 15px;
}

.nav-user-role {
    font-size: 12px;
    color: var(--color-brown);
    background: var(--color-yellow);
    border-radius: 999px;
    padding: 3px 9px;
    font-weight: 700;
}
.mobile-conference-title { 
    display: none; 
}
@media (max-width: 991px) {
    .floating-menu {
        top: 10px;
        width: calc(100% - 20px);
        border-radius: 22px;
        padding: 10px 14px;
    }

    .navbar-toggler {
        border-color: rgba(76, 46, 5, 0.28);
        margin-left: auto;
    }

    .navbar-collapse {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(76, 46, 5, 0.15);
        background: rgba(255, 255, 255, 0.96);
        border-radius: 16px;
        padding: 12px;
    }

    .nav-link {
        font-size: 16px;
        padding: 10px 12px !important;
    }

    .dropdown-item {
        font-size: 15px;
    }

    .nav-user-area {
        width: 100%;
        margin-left: 0;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(76, 46, 5, 0.15);
        flex-direction: column;
        align-items: stretch !important;
    }

    .nav-user-area .btn {
        width: 100%;
    }

    .nav-user-info {
        justify-content: center;
    }
    .floating-menu .container { 
        display: flex; 
        align-items: center; 
        justify-content: space-between; 
        flex-wrap: wrap; gap: 10px; 
    } 
    .mobile-conference-title {
        display: flex;
        align-items: center;
        flex: 1;
        min-width: 0;
        margin-right: 10px;
        gap: 10px;
    }
    .mobile-title-main {
        display: block;
        color: var(--color-brown);
        font-size: 13px;
        font-weight: 800;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .mobile-title-sub { 
        display: block;
        color: var(--color-bluegray);
        font-size: 11px;
        font-weight: 700;
        line-height: 1.3;
        margin-top: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .navbar-toggler { 
        flex: 0 0 auto; 
        margin-left: 0; 
    } 
    .navbar-collapse { 
        width: 100%; 
    }
    .mobile-title-text {
    flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .mobile-title-logo {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }
    .mobile-title-icon {
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
    }   


}
/* ==================================================
   Footer 聯絡資訊：白色框專業版
================================================== */

.site-footer {
    padding: 36px 0;
    background:
        linear-gradient(
            135deg,
            rgba(244, 226, 133, 0.96) 0%,
            rgba(213, 215, 128, 0.94) 42%,
            rgba(140, 179, 105, 0.92) 100%
        );
    color: #3A445D;
}

/* 白色內容框 */
.footer-inner-box {
    padding: 30px 34px 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 14px 36px rgba(76, 46, 5, 0.12);
    backdrop-filter: blur(8px);
}

/* 主要內容區 */
.footer-main {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 40px;
    align-items: center;
}

/* 左側校徽校名 */
.footer-logo-area {
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.footer-school-logo {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
}

/* 右側聯絡資訊 */
.footer-contact-area {
    padding-left: 32px;
    border-left: 2px solid rgba(76, 46, 5, 0.16);
}

.footer-contact-area h3 {
    margin-bottom: 16px;
    color: #4C2E05;
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

/* 聯絡資訊排列 */
.footer-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
}

.footer-contact-item {
    display: block;
    padding: 0 0 8px;
    background: transparent;
    box-shadow: none;
    border: none;
    text-align: left;
}

.footer-label {
    display: block;
    color: #4C2E05;
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    white-space: normal;
    margin-bottom: 2px;
}

.footer-contact-item p {
    margin: 0;
    color: #263247;
    font-size: 0.98rem;
    line-height: 1.55;
    word-break: break-word;
}

/* 底部版權 */
.footer-bottom {
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px solid rgba(76, 46, 5, 0.14);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(58, 68, 93, 0.7);
    font-size: 0.84rem;
}

/* ==================================================
   Footer RWD
================================================== */

@media (max-width: 991px) {
    .site-footer {
        padding: 30px 0;
    }

    .footer-inner-box {
        padding: 26px 22px 20px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 22px;
        text-align: center;
    }

    .footer-school-logo {
        max-width: 300px;
        margin: 0 auto;
    }

    .footer-contact-area {
        padding-left: 0;
        border-left: none;
        padding-top: 18px;
        border-top: 1px solid rgba(76, 46, 5, 0.14);
    }

    .footer-contact-area h3 {
        text-align: center;
    }

    .footer-contact-item {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .site-footer {
        padding: 24px 0;
    }

    .footer-inner-box {
        padding: 22px 16px 18px;
        border-radius: 18px;
    }

    .footer-school-logo {
        max-width: 260px;
    }

    .footer-contact-area h3 {
        font-size: 1.25rem;
        margin-bottom: 14px;
    }

    .footer-label {
        font-size: 0.9rem;
    }

    .footer-contact-item p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .footer-bottom {
        margin-top: 18px;
        padding-top: 12px;
    }

    .footer-bottom p {
        font-size: 0.78rem;
    }
}