/* =========================================================
   MID AUTUMN BANNER
   ThichLamBanh
   ========================================================= */


/* =========================================================
   RESET
   ========================================================= */

.tlb-mid-autumn-wrap,
.tlb-mid-autumn-wrap *,
.tlb-mid-autumn-wrap *::before,
.tlb-mid-autumn-wrap *::after {
    box-sizing: border-box;
}


/* =========================================================
   WRAPPER
   ========================================================= */

.tlb-mid-autumn-wrap {
    width: 100%;

    padding:
        10px
        20px
        0;

    font-family:
        "Be Vietnam Pro",
        Arial,
        sans-serif;
}


/* =========================================================
   BANNER
   ========================================================= */

.tlb-mid-autumn {
    position: relative;

    display: block;

    width: min(1440px, 100%);
    height: 155px;

    margin: 0 auto;

    overflow: hidden;

    border-radius: 13px;

    color: #7b354b;
    background: #f8c3ce;

    text-decoration: none;

    box-shadow:
        0 2px 10px rgba(130, 20, 58, .05);

    transition:
        box-shadow .2s ease;
}


/* =========================================================
   BACKGROUND IMAGE
   ========================================================= */

.tlb-mid-autumn__visual {
    position: absolute;

    z-index: 1;

    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    pointer-events: none;
}


.tlb-mid-autumn__visual img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    pointer-events: none;
    user-select: none;

    -webkit-user-drag: none;
}


/* =========================================================
   CONTENT
   ========================================================= */

.tlb-mid-autumn__content {
    position: relative;

    z-index: 5;

    width: 48%;
    height: 100%;

    padding:
        22px
        0
        0
        235px;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.tlb-mid-autumn__eyebrow {
    display: block;

    margin-bottom: 2px;

    color: #d40b4d;

    font-size: 11px;
    line-height: 1.3;

    font-weight: 700;

    letter-spacing: .1px;
}


/* =========================================================
   TITLE
   ========================================================= */

.tlb-mid-autumn__content h2 {
    margin: 0;

    color: #c80748;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 37px;
    line-height: 1;

    letter-spacing: 1px;

    font-weight: 700;

    text-shadow:
        0 1px 0 rgba(255, 255, 255, .35);
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.tlb-mid-autumn__content p {
    margin:
        5px
        0
        0;

    color: #713044;

    font-size: 10px;
    line-height: 1.4;

    font-weight: 600;
}


/* =========================================================
   BUTTON
   ========================================================= */

.tlb-mid-autumn__button {
    display: inline-flex;

    height: 26px;

    margin-top: 9px;

    padding:
        0
        18px;

    align-items: center;
    justify-content: center;

    border-radius: 5px;

    color: #fff;
    background: #e90052;

    font-size: 8px;
    line-height: 1;

    font-weight: 700;

    box-shadow:
        0 4px 10px rgba(150, 0, 45, .15);

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}


.tlb-mid-autumn:hover .tlb-mid-autumn__button {
    transform: translateY(-1px);

    background: #cf0048;

    box-shadow:
        0 6px 15px rgba(150, 0, 45, .22);
}


/* =========================================================
   DECORATION GLOW
   ========================================================= */

.tlb-mid-autumn__glow {
    position: absolute;

    z-index: 2;

    display: block;

    border-radius: 50%;

    pointer-events: none;
}


.tlb-mid-autumn__glow--1 {
    top: -120px;
    left: -120px;

    width: 300px;
    height: 300px;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, .18),
            transparent 68%
        );
}


.tlb-mid-autumn__glow--2 {
    top: -230px;
    right: 25%;

    width: 350px;
    height: 350px;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, .08),
            transparent 68%
        );
}


/* =========================================================
   HOVER / FOCUS
   ========================================================= */

.tlb-mid-autumn:hover {
    box-shadow:
        0 5px 18px rgba(130, 20, 58, .10);
}


.tlb-mid-autumn:focus-visible {
    outline:
        2px
        solid
        #ed0754;

    outline-offset:
        3px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1200px) {

    .tlb-mid-autumn__content {
        width: 52%;

        padding-left: 100px;
    }

}


/* =========================================================
   TABLET SMALL
   ========================================================= */

@media (max-width: 1000px) {

    .tlb-mid-autumn__content {
        width: 55%;

        padding:
            22px
            0
            0
            40px;
    }


    .tlb-mid-autumn__content h2 {
        font-size: 34px;
    }


    .tlb-mid-autumn__visual img {
        object-position: center center;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .tlb-mid-autumn-wrap {
        padding:
            10px
            12px
            0;
    }


    .tlb-mid-autumn {
        height: 170px;

        border-radius: 12px;
    }


    .tlb-mid-autumn__content {
        width: 68%;
        height: 100%;

        padding:
            25px
            0
            0
            20px;
    }


    .tlb-mid-autumn__eyebrow {
        margin-bottom: 3px;

        font-size: 8px;
    }


    .tlb-mid-autumn__content h2 {
        font-size: 25px;

        letter-spacing: .5px;
    }


    .tlb-mid-autumn__content p {
        width: 85%;

        margin-top: 5px;

        font-size: 8px;
        line-height: 1.4;
    }


    .tlb-mid-autumn__button {
        height: 25px;

        margin-top: 10px;

        padding:
            0
            14px;

        font-size: 8px;
    }


    .tlb-mid-autumn__visual img {
        object-fit: cover;

        object-position: 62% center;
    }


    .tlb-mid-autumn__glow--1 {
        opacity: .5;
    }


    .tlb-mid-autumn__glow--2 {
        opacity: .35;
    }

}


/* =========================================================
   MOBILE SMALL
   ========================================================= */

@media (max-width: 480px) {

    .tlb-mid-autumn {
        height: 165px;
    }


    .tlb-mid-autumn__content {
        width: 72%;

        padding:
            23px
            0
            0
            17px;
    }


    .tlb-mid-autumn__eyebrow {
        font-size: 7px;
    }


    .tlb-mid-autumn__content h2 {
        font-size: 22px;
    }


    .tlb-mid-autumn__content p {
        width: 90%;

        font-size: 7.5px;
    }


    .tlb-mid-autumn__button {
        height: 24px;

        margin-top: 9px;

        padding:
            0
            13px;

        font-size: 7.5px;
    }


    .tlb-mid-autumn__visual img {
        object-position: 65% center;
    }

}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .tlb-mid-autumn,
    .tlb-mid-autumn__button {
        transition: none;
    }

}