@import url('https:css2?family=Noto+Sans+SC:wght@100..900&family=Noto+Sans+TC:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: "Poppins", "Noto Sans TC", "Noto Sans SC", sans-serif !important;
}
 html.modal-open, body.modal-open {
     overflow: hidden !important;
     height: 100%;
     overscroll-behavior: none;
}
 body div.frame-container {
     background-image: linear-gradient(to bottom, #e0f7ff, #b4eee9);
     color: #000000;
     justify-content: center;
}
 .container {
     width: 100%;
     display: flex;
     flex-direction: column;
     align-items: center;
     overflow-x: hidden;
}
 .cmp-container {
     width: 100%;
}
 .hero-section {
     background: linear-gradient(to bottom, #dbeafe, #e0f2fe);
     width: 100%;
     display: flex;
     flex-direction: column;
     align-items: center;
     text-align: center;
     position: relative;
}
 .top-nav {
     width: 100%;
     max-width: 1200px;
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 20px 40px;
}
 .logos {
     font-weight: bold;
     color: #1e3a8a;
     font-size: 1.2rem;
}
 .dept-info {
     color: #3b82f6;
     text-align: right;
     font-size: 0.9rem;
     font-weight: 500;
}
 .hero-text {
     margin-top: 40px;
}
 .hero-text h1 {
     color: #3b82f6;
     font-size: 3rem;
     line-height: 1.3;
}
 .hero-graphic {
     margin-top: 30px;
     padding: 100px;
     background: rgba(0, 0, 0, 0.5);
     border-radius: 15px;
}
 .welcome-card {
     background-color: #ffffff;
     border-radius: 15px;
     padding: 50px;
     max-width: 1000px;
     width: 90%;
     margin: -80px auto 60px auto;
     position: relative;
     z-index: 10;
     text-align: center;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
 .welcome-card h1 {
     margin-bottom: 20px;
     font-size: 2.4rem;
     color: goldenrod;
}
 .welcome-card p {
     color: goldenrod;
     line-height: 1.6;
     margin-bottom: 30px;
}
 .nav-tabs {
     display: flex;
     gap: 20px;
     margin-bottom: 50px;
     border: 0px;
}
 .nav-tabs button {
     background: transparent;
     border: 1.5px solid #3b82f6;
     padding: 10px 40px;
     border-radius: 8px;
     font-size: 1rem;
     font-weight: 600;
     cursor: pointer;
     width: 80%;
}
 .nav-tabs button.purple {
     background: #ffffff;
     border: 0px;
     color: #8a17e8;
}
 .nav-tabs button.purple:hover {
     background: #8a17e8;
     color: #ffffff;
     box-shadow: 0 0 8px #888888;
}
 .nav-tabs button.yellow {
     background: #ffffff;
     border: 0px;
     color: #fdad06;
}
 .nav-tabs button.yellow:hover {
     background: #fdad06;
     color: #ffffff;
     box-shadow: 0 0 8px #888888;
}
 .nav-tabs button.blue {
     background: #ffffff;
     border: 0px;
     color: #1fa6fa;
}
 .nav-tabs button.blue:hover {
     background: #1fa6fa;
     color: #ffffff;
     box-shadow: 0 0 8px #888888;
}
 .event-section {
     width: 100%;
     background-color: nil;
     padding: 60px 20px;
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 80px;
}
 .event-row {
     display: flex;
     align-items: center;
     justify-content: space-between;
     max-width: 1100px;
     width: 100%;
     gap: 50px;
     align-items: flex-start;
}
 .event-row.reverse {
     flex-direction: row-reverse;
}
 .event-text {
     flex: 1;
}
 .event-image {
     flex: 1;
     width: 100%;
     height: 250px;
     width: auto;
     border-radius: 15px;
     display: flex;
     object-fit: cover;
     object-position: center;
     color: #9ca3af;
}
 .section-title {
     font-size: 2.45rem;
     color: #478ce6;
     font-weight: bold;
     letter-spacing: 1px;
     text-align: center;
}
 .tag {
     display: inline-block;
     padding: 20px 25px;
     color: #fff;
     font-weight: bold;
     font-size: 1.2rem;
     border-radius: 15px;
     margin-bottom: 20px;
}
 .tag.blue {
     background-color: #3594c0;
}
 .tag.orange {
     background-color: #f8a847;
}
 .tag.purple {
     background-color: #c577b3;
}
 .tag.green {
     background-color: #3d9954;
}
 .tag.pink {
     background-color: #fc5d5d;
}
 .event-text p {
     color: #000000;
     line-height: 1.6;
     text-align: left;
}
 .souvenirs-title {
     grid-area: title;
     color: #478ce6;
     font-size: 2.5rem;
     font-weight: 700;
     margin-bottom: 0.5rem;
     text-align: left;
     text-shadow: none;
}
 .souvenirs-card {
     background-color: #ffffff;
     border-radius: 15px;
     padding: 40px 50px;
     max-width: 1100px;
     margin: 0 auto;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
     display: grid;
     grid-template-columns: 1fr 1fr;
     grid-template-areas: "title image" "text image";
     gap: 10px 40px;
     align-items: start;
}
 .souvenirs-text {
     grid-area: text;
     color: #000000;
     font-size: 1rem;
     line-height: 1.6;
}
 .souvenirs-text p {
     margin-bottom: 1.25rem;
}
 .souvenirs-image-container {
     grid-area: image;
     display: flex;
     justify-content: flex-end;
}
 .souvenirs-remarks {
     font-size: 0.9rem;
     color: #6b7280;
     margin-top: 1.5rem;
     margin-bottom: 0 !important;
}
 .souvenirs-image {
     width: 100%;
     max-width: 450px;
     height: 300px;
     object-fit: cover;
     border-radius: 15px;
}
 .cta-section {
     text-align: center;
     padding: 12.5vh 20px;
     display: flex;
     flex-direction: column;
     align-items: center;
}
 .cta-text {
     font-size: 1.2rem;
     font-weight: bold;
     margin-bottom: 25px;
     line-height: 1.5;
     color: #111827;
}
 .btn-register {
     background-color: #478ce6;
     color: #ffffff;
     font-size: 1.1rem;
     font-weight: 700;
     padding: 14px 36px;
     border: none;
     border-radius: 15px;
     cursor: pointer;
     box-shadow: 0 4px 14px rgba(45, 170, 218, 0.4);
     transition: transform 0.2s ease, background-color 0.2s ease;
}
 .btn-register:hover {
     background-color: #366db5;
     transform: translateY(-2px);
}
 .close-btn.top {
     position: fixed;
     top: 20px;
     right: 25px;
     background-color: rgb(28, 90, 133, 0.7);
     color: #ffffff;
     font-size: 0.8rem;
     font-weight: 700;
     padding: 5px 10px;
     border: none;
     border-radius: 5px;
     cursor: pointer;
     transition: background-color 0.2s ease;
     z-index: 500;
     height: 30px;
}
 .close-btn.top:hover {
     background-color: #0f2f46;
}
 .close-btn.btn-register {
     background-color: #1c5a85;
     color: #ffffff;
     font-size: 1.1rem;
     font-weight: 700;
     padding: 14px 36px;
     border: none;
     border-radius: 15px;
     cursor: pointer;
     box-shadow: 0 4px 14px rgba(45, 170, 218, 0.4);
     transition: transform 0.2s ease, background-color 0.2s ease;
     margin-top: 32px;
}
 .close-btn.btn-register:hover {
     background-color: #0f2f46;
     transform: translateY(-2px);
}
 dialog.activity-dialog {
     width: 100vw;
     height: 100vh;
     max-width: 100vw;
     max-height: 100vh;
     margin: 0;
     padding: 0;
     border: none;
     background-color: #ffffff;
     overflow-y: auto;
     z-index: 500;
     overscroll-behavior: contain;
}
 dialog.activity-dialog::backdrop {
     background-color: rgba(0, 0, 0, 0.6);
}
 .dialog-content {
     position: relative;
     max-width: 1000px;
     margin: 0 auto;
     padding: 60px 20px 40px;
     box-sizing: border-box;
}
 .open-btn {
     cursor: pointer;
}
 dialog#dialog-grand-opening {
     padding: 0;
     border: none;
     border-radius: 15px;
     width: 100%;
     max-height: 100%;
     overflow: hidden;
     box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
 .dialog-container {
     position: relative;
     width: 100%;
     height: 100%;
     max-height: 100%;
     display: flex;
     flex-direction: column;
}
 .dialog-scroll-content {
     overflow-y: auto;
     max-height: 100%;
     width: 100%;
     scroll-behavior: smooth;
}
 .dialog-scroll-content::-webkit-scrollbar {
     width: 8px;
}
 .dialog-scroll-content::-webkit-scrollbar-track {
     background: rgba(0, 0, 0, 0.05);
}
 .dialog-scroll-content::-webkit-scrollbar-thumb {
     background: rgba(43, 164, 216, 0.5);
     border-radius: 4px;
}
 .dialog-scroll-content::-webkit-scrollbar-thumb:hover {
     background: rgba(43, 164, 216, 0.8);
}
 .hkbu-hanging-header {
     position: absolute;
     top: 20px;
     right: 145px;
     display: flex;
     align-items: flex-end;
     gap: 16px;
     z-index: 2;
}
 [lang=zh-HK] .hkbu-hanging-header {
     right: 100px;
}
 [lang=zh-CN] .hkbu-hanging-header {
     right: 100px;
}
 .hkbu-lang-expand-wrapper {
     display: inline-flex;
     align-items: center;
     height: 30px;
     background-color: rgb(28, 90, 133, 0.7);
     border: none;
     border-bottom: none;
     border-radius: 5px;
     box-shadow: 0 -3px 6px rgba(0, 0, 0, 0.05);
     overflow: hidden;
     cursor: pointer;
     transition: background-color 1s ease, box-shadow 1s ease;
}
 .hkbu-lang-expand-wrapper:hover, .hkbu-lang-expand-wrapper:focus-within {
     background-color: rgb(28, 90, 133, 0.7);
}
 .hkbu-lang-icon-btn {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     width: 36px;
     height: 36px;
     padding: 0;
     color: #404951;
     background: transparent;
     border: none;
     cursor: pointer;
     flex-shrink: 0;
     transition: color 0.5s ease;
}
 .hkbu-lang-expand-wrapper:hover .hkbu-lang-icon-btn {
     color: #000000;
}
 .hkbu-lang-horizontal-menu {
     display: flex;
     align-items: center;
     gap: 2px;
     margin: 0;
     padding: 0;
     list-style: none;
     white-space: nowrap;
     max-width: 0;
     opacity: 0;
     transform: translateX( 12px );
     transition: max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease-in-out, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease-in-out;
}
 .hkbu-lang-expand-wrapper:hover .hkbu-lang-horizontal-menu, .hkbu-lang-expand-wrapper:focus-within .hkbu-lang-horizontal-menu {
     max-width: 160px;
     opacity: 1;
     padding-right: 8px;
     transform: translateX(0);
}
 .hkbu-lang-horizontal-menu .toolbar-menu-item {
     display: inline-block;
     padding: 4px 8px;
     font-size: 13px;
     font-weight: 600;
     color: #404951;
     background: transparent;
     border: none;
     border-radius: 4px;
     text-decoration: none;
     cursor: pointer;
     transition: background-color 0.2s, color 0.2s;
     color: white;
}
 .hkbu-lang-horizontal-menu .toolbar-menu-item:hover {
     background-color: #404951;
     color: #ffffff;
}
 .hkbu-lang-horizontal-menu .toolbar-menu-item li {
     color: white;
}
 .hkbu-lang-horizontal-menu .toolbar-menu-item.active {
     color: #b5eee9;
     font-weight: 700;
}
 .dialog-hero {
     position: relative;
     width: 100%;
     height: 50vh;
     flex-shrink: 0;
     overflow: hidden;
     background: rgb(224, 247, 255);
}
 .hero-video {
     width: 100%;
     object-fit: cover;
}
 .hero-overlay {
     position: absolute;
     inset: 0;
     background: rgba(0, 0, 0, 0.1);
     border-radius: 16px;
     box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
     backdrop-filter: blur(10px);
     -webkit-backdrop-filter: blur(10px);
     display: flex;
     align-items: center;
     justify-content: center;
}
 .hero-title {
     color: #ffffff;
     font-size: 2.2rem;
     font-weight: 700;
     text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
     text-align: center;
     margin: 0;
     padding: 0 20px;
}
 .dialog-body-blue {
     background: linear-gradient(180deg, #e0f7ff 0%, #edfffd, #b4eee9 100%);
     padding: 40px 30px;
}
 .dialog-white-card {
     background-color: #ffffff;
     border-radius: 15px;
     padding: 40px 40px;
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
     max-width: 800px;
     margin: 5vh auto;
}
 .dialog-image-wrapper {
     width: 100%;
     border-radius: 15px;
     overflow: hidden;
     margin-bottom: 40px;
}
 .dialog-image {
     width: 100%;
     height: auto;
     display: block;
}
 .event-title {
     font-size: 1.35rem;
     font-weight: 700;
     color: #000000;
     margin-bottom: 20px;
}
 .pills-group {
     display: flex;
     flex-direction: column;
     gap: 10px;
     margin-bottom: 20px;
}
 .info-pill {
     display: inline-block;
     color: #ffffff;
     padding: 8px 18px;
     border-radius: 15px;
     font-size: 0.9rem;
     width: fit-content;
}
 .info-pill.blue {
     background-color: #2ba4d8;
}
 .info-pill.orange {
     background-color: #f39c12;
}
 .info-pill.purple {
     background-color: #c577b3;
}
 .info-pill.green {
     background-color: #3d994f;
}
 .info-pill.pink {
     background-color: #fc5d5d;
}
 .dialog-info .event-description p {
     color: #000000;
     font-size: 0.95rem;
     line-height: 1.6;
     margin-bottom: 40px;
}
 .dialog-info p.section-subtitle {
     margin-top: 20px;
     margin-bottom: 0 !important;
}
 .dialog-cta {
     text-align: center;
     margin-top: 40px;
}
 .dialog-cta .cta-text {
     color: #000000;
     font-weight: 600;
     margin-bottom: 20px;
     line-height: 1.5;
}
 .feature-list {
     line-height: 1.6;
     padding-left: 20px;
     margin-bottom: 40px;
}
 .carnival-section {
     margin-bottom: 40px;
}
 .carnival-section:last-child {
     margin-bottom: 0px;
}
 .carnival-section ul.feature-list {
     margin-bottom: 0px;
}
 .exhibit-img {
     width: 100%;
     border-radius: 15px;
     margin-top: 20px;
}
 .photo-collage-container {
     margin: 20px 0;
     width: 100%;
}
 .photo-collage-grid {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 20px;
     width: 100%;
     max-width: 900px;
     margin: 0 auto;
}
 .collage-item {
     width: 100%;
     aspect-ratio: 1 /1;
     overflow: hidden;
     border-radius: 15px;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
 .collage-item img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
     transition: transform 0.3s ease;
}
 .feature-list.custom-bullet {
     list-style-image: url("list-icon.png");
     padding-left: 20px;
}
 @media screen and (max-width: 768px) {
     .event-section {
         padding: 40px 20px;
         gap: 40px;
    }
     .event-row, .event-row.reverse {
         flex-direction: column-reverse;
         background-color: #ffffff;
         border-radius: 15px;
         padding: 20px;
         box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
         gap: 20px;
    }
     .event-image {
         width: 100%;
         height: 200px;
    }
     .dialog-white-card {
         padding: 24px;
         margin: 5vh auto;
    }
     .dialog-hero {
         height: 25vh;
    }
     .souvenirs-card {
         padding: 30px 20px;
         grid-template-columns: 1fr;
         grid-template-areas: "title" "image" "text";
         gap: 20px;
    }
     .souvenirs-title {
         text-align: center;
         font-size: 2.45rem;
    }
     .souvenirs-image-container {
         justify-content: center;
    }
     .souvenirs-image {
         max-height: 250px;
    }
}