﻿
/* Countdown Start */
.fy-card {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    overflow: hidden;
}

.countdown-title img {
    display: block;
    width: 100%;
    max-width: 520px;
    height: auto;
    margin: 0 auto;
}

.fy-countdown-timer {
    width: 100%;
    max-width: 520px;
    margin: 2rem auto;
    text-align: center;
    font-family: "Manrope", sans-serif;
}

.countdown-timer-main {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: .7rem;
}

    .countdown-timer-main strong {
        font-size: clamp(4.5rem, 18vw, 7rem);
        font-weight: 400;
        line-height: 1;
        color: #000;
    }

    .countdown-timer-main span {
        font-size: clamp(1.5rem, 6vw, 2rem);
        color: #000;
    }

.countdown-timer-sub {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 1.2rem;
    margin-top: .8rem;
}

    .countdown-timer-sub div {
        display: flex;
        align-items: baseline;
        gap: .3rem;
    }

    .countdown-timer-sub strong {
        font-size: clamp(2rem, 8vw, 3rem);
        font-weight: 400;
        line-height: 1;
        color: #000;
    }

    .countdown-timer-sub span {
        font-size: clamp(.85rem, 3vw, 1rem);
        color: #000;
    }

.countdown-gratitude .countdown-gratitude-en {
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    line-height: 2.2;
    /*    font-size: clamp(1.5rem, 8vw, 1.7rem);*/
    font-size: clamp(2rem, 9vw, 2.5rem);
    padding: 1rem 0;
}

.countdown-gratitude .countdown-gratitude-cn {
    font-family: "Noto Serif SC", serif;
    font-weight: 500;
    line-height: 2.2;
    letter-spacing: .18em;
    font-size: clamp(2rem, 6vw, 2.5rem);
}

    .countdown-gratitude .countdown-gratitude-en p,
    .countdown-gratitude .countdown-gratitude-cn p {
        margin-bottom: 0.1rem;
    }

.countdown-meet {
    font-family: "Ma Shan Zheng", cursive;
    font-weight: 400;
    color: rgb(219, 0, 0);
    margin-top: 3rem;
    font-size: clamp(2rem, 6vw, 4rem);
    text-spacing: normal;
    padding: 0;
}

/* Countdown End */
@media (max-width: 1024px) {
    .fy-countdown {
        width: 100%;
        padding-left: clamp(1rem, 4vw, 3rem);
        padding-right: clamp(1rem, 4vw, 3rem);
    }

    .countdown-gratitude .countdown-gratitude-en {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .countdown-gratitude .countdown-gratitude-cn {
        font-size: clamp(1.5rem, 6vw, 2rem);
    } 
}

@media (max-width: 768px) {
    /* Countdown Start */
    .countdown-timer-main strong {
        font-size: clamp(3.5rem, 18vw, 5.5rem);
    }

    .countdown-timer-sub {
        flex-wrap: wrap;
        gap: .75rem 1rem;
    }

    .fy-countdown-grid {
        gap: .6rem;
        margin-top: 1rem;
    }

        .fy-countdown-grid div {
            padding: .7rem .2rem;
        }

        .fy-countdown-grid strong {
            font-size: 1.35rem;
        }

        .fy-countdown-grid span {
            font-size: .55rem;
            letter-spacing: .08em;
        }

    .countdown-title {
        padding: 3rem 1rem;
    }

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

    .countdown-gratitude .countdown-gratitude-en,
    .countdown-gratitude .countdown-gratitude-cn {
        font-size: clamp(1rem, 6vw, 1.5rem);
    }
    /* Countdown End */
}

@media (max-width: 540px) {
    /* Countdown Start */
    .fy-countdown-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: .35rem;
    }

        .fy-countdown-grid div {
            padding: .55rem .1rem;
        }

    .countdown-gratitude .countdown-gratitude-en,
    .countdown-gratitude .countdown-gratitude-cn {
        font-size: clamp(1rem, 5vw, 1.3rem);
    }

    /* Countdown End */
}

@media (max-width: 430px) {
    /* Countdown Start */
    .fy-countdown {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .countdown-timer-main {
        gap: .4rem;
    }

    .fy-countdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: .6rem;
        margin-top: 1rem;
    }

        .fy-countdown-grid div {
            padding: .7rem .2rem;
        }

        .fy-countdown-grid strong {
            font-size: 1.35rem;
        }

        .fy-countdown-grid span {
            font-size: .55rem;
            letter-spacing: .08em;
        }

    .countdown-title {
        padding: 3rem 1rem;
    }

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

    .countdown-timer-sub {
        gap: .7rem;
    }

        .countdown-timer-sub strong {
            font-size: clamp(1.6rem, 9vw, 2rem);
        }

        .countdown-timer-sub span {
            font-size: .8rem;
        }

    .countdown-gratitude .countdown-gratitude-en,
    .countdown-gratitude .countdown-gratitude-cn {
        font-size: clamp(1rem, 4.8vw, 1.25rem);
    }
    /* Countdown End */
}

@media (max-width: 360px) {
    /* Countdown Start */
    .fy-countdown {
        padding-left: .75rem;
        padding-right: .75rem;
    }

    .countdown-timer-sub {
        gap: .6rem;
    }

    .countdown-timer-sub span {
        font-size: .72rem;
    }

    .fy-countdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: .5rem;
    }

        .fy-countdown-grid strong {
            font-size: 1.25rem;
        }

        .fy-countdown-grid span {
            font-size: .5rem;
        }
    /* Countdown End */
}
