:root {
    --primary-orange: #E64800;
    --text-color: #444;
    --light-grey: #CCC;
    --dark-grey: #444;
    --white: #FFFFFF;
    --black: #000000;
}

/* cms内页整体间距 */
.page-container {
    padding-left: 20px;
    padding-right: 20px;
}

/* Margin 垂直方向 */
.my-b-xl {
    margin-bottom: 50px;
}

/* Padding 全方向 */
.p-2xl {
    padding: 40px;
}

.p-xl {
    padding: 30px;
}

.p-lg {
    padding: 25px;
}

.p-md {
    padding: 20px;
}

.p-sm {
    padding: 15px;
}

.p-xs {
    padding: 10px;
}

.p-xxs {
    padding: 8px;
}

/* Padding 垂直方向 */

/* 双向（上下） */
.py-tb-2xl {
    padding-top: 40px;
    padding-bottom: 40px;
}

.py-tb-xl {
    padding-top: 30px;
    padding-bottom: 30px;
}

.py-tb-lg {
    padding-top: 25px;
    padding-bottom: 25px;
}

.py-tb-md {
    padding-top: 20px;
    padding-bottom: 20px;
}

.py-tb-sm {
    padding-top: 15px;
    padding-bottom: 15px;
}

.py-tb-xs {
    padding-top: 10px;
    padding-bottom: 10px;
}

.py-tb-xxs {
    padding-top: 8px;
    padding-bottom: 8px;
}

/* 单向（上） */
.py-t-2xl {
    padding-top: 40px;
}

.py-t-xl {
    padding-top: 30px;
}

.py-t-lg {
    padding-top: 25px;
}

.py-t-md {
    padding-top: 20px;
}

.py-t-sm {
    padding-top: 15px;
}

.py-t-xs {
    padding-top: 10px;
}

.py-t-xxs {
    padding-top: 8px;
}

/* 单向（下） */
.py-b-2xl {
    padding-bottom: 40px;
}

.py-b-xl {
    padding-bottom: 30px;
}

.py-b-lg {
    padding-bottom: 25px;
}

.py-b-md {
    padding-bottom: 20px;
}

.py-b-sm {
    padding-bottom: 15px;
}

.py-b-xs {
    padding-bottom: 10px;
}

.py-b-xxs {
    padding-bottom: 8px;
}

/* Padding 水平方向 */

/* 双向（左右） */
.px-lr-2xl {
    padding-left: 40px;
    padding-right: 40px;
}

.px-lr-xl {
    padding-left: 30px;
    padding-right: 30px;
}

.px-lr-lg {
    padding-left: 25px;
    padding-right: 25px;
}

.px-lr-md {
    padding-left: 20px;
    padding-right: 20px;
}

.px-lr-sm {
    padding-left: 15px;
    padding-right: 15px;
}

.px-lr-xs {
    padding-left: 10px;
    padding-right: 10px;
}

.px-lr-xxs {
    padding-left: 8px;
    padding-right: 8px;
}

/* 单向（左） */
.px-l-2xl {
    padding-left: 40px;
}

.px-l-xl {
    padding-left: 30px;
}

.px-l-lg {
    padding-left: 25px;
}

.px-l-md {
    padding-left: 20px;
}

.px-l-sm {
    padding-left: 15px;
}

.px-l-xs {
    padding-left: 10px;
}

.px-l-xxs {
    padding-left: 8px;
}

/* 单向（右） */
.px-r-2xl {
    padding-right: 40px;
}

.px-r-xl {
    padding-right: 30px;
}

.px-r-lg {
    padding-right: 25px;
}

.px-r-md {
    padding-right: 20px;
}

.px-r-sm {
    padding-right: 15px;
}

.px-r-xs {
    padding-right: 10px;
}

.px-r-xxs {
    padding-right: 8px;
}

.content {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.content > *:not(:last-child) {
    margin-bottom: 50px;
}

/* Module Container */
.module-container {
    background: var(--white);
    border-radius: 20px;
    width: 100%;
    padding: 40px;
}

.module-container > *:not(:last-child) {
    margin-bottom: 30px;
}

/* Sub-heading */
.sub-heading {
    border-bottom: 1px solid var(--light-grey);
    padding-bottom: 20px;
}

.sub-heading p {
    font-weight: 700;
    font-size: 14px;
    line-height: 18.2px;
    color: var(--dark-grey);
}

/* Text Content */

.enquiry-info-content {
    color: var(--black);
}
.sub-text-heading{
   
    color: var(--black);
}
.text-content {
   
    color: var(--black);
}

.text-content ul {
    list-style: disc;
    padding-left: 20px;
}

.text-content li {
    margin-bottom: 0;
    font-size: 18px;
}

.text-content li:last-child {
    margin-bottom: 0;
}

.text-content h3 {
    padding-bottom: 25px;
}

.text-content p {
    padding-bottom: 25px;
}

/* Content Container */
.content-container {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 1160px;
}

.content-container > *:not(:last-child) {
    margin-bottom: 30px;
}

/* Programme Info */
.programme-info {
    font-weight: 400;
    font-size: 18px;
    line-height: 23.4px;
    color: var(--black);
}

/* Text & Image Block */
.text-image-block {
    padding-top: 30px;
}

.text-image-block > *:not(:last-child) {
    margin-bottom: 30px;
}

.text-image-container {
    display: flex;
    flex-direction: row;
}

.text-image-container > *:not(:last-child) {
    margin-right: 30px;
}

/* Photo Container */
.photo-container {
    width: 520px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.photo-container > *:not(:last-child) {
    margin-bottom: 20px;
}

.thumbnail {
    width: 100%;
    aspect-ratio: 400 / 300;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.photo-caption {
    color: var(--text-color);
}

/* Indicators */
.indicators {
    height: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--light-grey);
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator-dot:not(:last-child) {
    margin-right: 8px;
}

.indicator-dot.active {
    background: var(--primary-orange);
}

/* Content Block */
.content-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 0;
    padding-bottom: 20px;
}

.content-block > *:not(:last-child) {
    margin-bottom: 20px;
}

.content-block .text-content {
   
    color: var(--black);
}



/* Image Carousel */
.image-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 400 / 300;
    overflow: hidden;
    border-radius: 8px;
}

.carousel-images {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-image.active {
    opacity: 1;
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Responsive Design */

/* Photo */
.cover-photo img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* 圖片模組樣式 */
.image-module {
    display: flex;
    flex-direction: column;
}

.image-module.single-image .image-wrapper {
    width: 100%;
}

.image-module.single-image .image-wrapper img {
    width: 100%;
    height: auto;
    padding-bottom: 10px;
}

.image-module.two-images {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.image-module.two-images .image-wrapper {
    flex: 1;
}

.image-module.two-images .image-wrapper img {
    width: 100%;
    height: 295px;
    object-fit: cover;
    mix-blend-mode: multiply;
    padding-bottom: 10px;
}

.image-module.three-images {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.image-module.three-images .image-wrapper {
    flex: 1;
}

.image-module.three-images .image-wrapper img {
    width: 100%;
    height: 191px;
    object-fit: cover;
    mix-blend-mode: multiply;
    padding-bottom: 10px;
}

.image-module.four-images {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.image-module.four-images .image-wrapper {
    flex: 1;
}

.image-module.four-images .image-wrapper img {
    width: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    padding-bottom: 10px;
}

/* 贊助商 Logo 模組樣式 */
.sponsor-logos-container {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.sponsor-logos-module {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.sponsor-logos-module .sub-heading {
    border-bottom: 1px solid var(--light-grey);
    padding-bottom: 20px;
}

.sponsor-logos-module .sub-heading p {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 18.2px;
    color: var(--dark-grey);
}

.sponsor-logos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.sponsor-logo-large {
    height: 82px;
    width: 200px;
    position: relative;
    flex-shrink: 0;
}

.sponsor-logo-large img {
    position: absolute;
    inset: 0;
    max-width: none;
    object-fit: contain;
    object-position: center;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.sponsor-logo-small {
    height: 56px;
    width: 137px;
    position: relative;
    flex-shrink: 0;
}

.sponsor-logo-small img {
    position: absolute;
    inset: 0;
    max-width: none;
    object-fit: contain;
    object-position: center;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.sponsor-logo-small img.object-cover {
    object-fit: cover;
}

/* Icon Styles */
.icon-wrapper {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper svg {
    width: 100%;
    height: 100%;
    display: block;
}

.icon-wrapper span {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    font-size: 26px;
}

/* Event Info Item */
.event-info-item {
    display: flex;
    gap: 15px;
    width: 520px;
}

.event-info-item.full-width {
    width: 100%;
}

.event-info-content {
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 1px;
}

.event-info-content p,
.event-info-content div {
    color: var(--black);
    margin: 0;
}

.event-info-content .regular-text {
    font-weight: 400;
}

.event-info-content ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.event-info-content ol {
    list-style: decimal;
    padding-left: 27px;
    margin: 0;
}

/* Event Info Grid */
.event-info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.event-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* CTA Button */
.cta-button-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    width: 100%;
}

/* Footnote */
.footnote {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    width: 100%;
}

.footnote p {
    color: var(--black);
    margin: 0;
}

.footnote a {
    color: var(--primary-orange);
    text-decoration: underline;
    text-underline-offset: 23%;
}

.footnote a:hover {
    opacity: 0.8;
}

.text-ul {
    padding-bottom: 25px;
}

/* Enquiry Info List */
.enquiry-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.enquiry-info-item {
    display: flex;
    gap: 15px;
    width: 100%;
}

.enquiry-info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 60px 50px;
    justify-content: flex-start;
}

.enquiry-person {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: calc((100% - 50px) / 2);
    min-width: 0;
}

@media (max-width: 1350px) {
    .my-b-xl {
        margin-bottom: 30px;
    }

    .content {
        width: 100%;
    }

    .module-container {
        padding: 20px;
    }

    .sub-heading {
        padding-bottom: 10px;
    }

    .sub-heading p {
        font-weight: 700;
        font-size: 12px;
        line-height: 15.6px;
        color: var(--dark-grey);
    }

    .module-container .text-lg {
        font-size: 16px;
    }

    .module-container > *:not(:last-child) {
        margin-bottom: 20px;
    }

    .text-content li {
        font-size: 16px;
    }

    .text-image-block {
        padding-top: 20px;
    }

    .text-image-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .text-image-container > *:not(:last-child) {
        margin-right: 0px;
    }

    .text-image-block .text-base {
        font-size: 14px;
    }

    .indicators {
        margin-bottom: 30px;
    }

    .text-image-block .text-content h3 {
        padding-bottom: 20px;
    }

    .photo-container {
        width: 100%;
        max-width: 100%;
    }

    .photo-container img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .module-container .text-base {
        font-size: 14px;
    }

    .cover-photo img {
        border-radius: 10px;
    }

    .image-module.single-image .image-wrapper img {
        width: 100%;
        padding-bottom: 20px;
        height: auto;
    }

    .image-module.two-images {
        flex-direction: column;
    }

    .image-module.two-images .image-wrapper img {
        height: auto;
    }

    .image-module.three-images {
        flex-direction: column;
    }

    .image-module.three-images .image-wrapper img {
        height: auto;
    }

    .image-module.four-images {
        flex-direction: column;
    }

    .image-module.four-images .image-wrapper {
        flex: 1 1 calc(50% - 15px);
        min-width: calc(50% - 15px);
    }

    .image-module.four-images .image-wrapper img {
        height: auto;
        min-height: 150px;
    }

    .photo-slideshow {
        flex-direction: column;
        gap: 20px;
    }

    .sponsor-logos-container {
        padding: 20px;
        gap: 30px;
    }

    .sponsor-logos-module {
        gap: 20px;
    }

    .sponsor-logos-grid {
        gap: 15px;
    }

    .sponsor-logo-large {
        height: 61px;
        width: 148px;
    }

    .sponsor-logo-small {
        height: 39px;
        width: 94px;
    }

    .event-info-grid {
        gap: 15px;
    }

    .event-info-item {
        gap: 10px;
        align-items: start;
        width: 100%;
    }

    .icon-wrapper {
        width: auto;
    }

    .icon-wrapper span {
        font-size: 16px;
    }

    .event-info-content ol {
        padding-left: 15px;
    }

    .event-info-grid {
        flex-direction: column;
    }

    .cta-button-container,
    .footnote {
        padding-top: 10px;
    }

    .enquiry-info-list {
        gap: 15px;
    }

    .enquiry-person {
        width: 100%;
        gap: 15px;
    }

    .enquiry-info-grid {
        gap: 40px;
    }
}