/* Homepage introduction: Figma frame 1:2, 1440 x 1041. */
.dt-about-figma, .dt-about-figma * {
    box-sizing: border-box;
}

.dt-about-figma {
    position: relative;
    min-height: 1041px;
    overflow: hidden;
    isolation: isolate;
    color: #4d4d4d;
    background: #fff url('/Design/img/TieuHocTraTan1/AboutFigma/decor-bottom.png') center 342px / 100% 796px no-repeat;
}

    .dt-about-figma::before {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 234px;
        background: url('/Design/img/TieuHocTraTan1/AboutFigma/decor-top.png') left top / contain no-repeat;
        content: '';
        pointer-events: none;
    }

.dt-about-figma__inner {
    position: relative;
    width: min(1440px, 100%);
    min-height: 1041px;
    margin: 0 auto;
}

.dt-about-figma__copy {
    position: absolute;
    top: 0;
    left: 80px;
    z-index: 2;
    width: 630px;
}

.dt-about-figma__eyebrow {
    position: absolute;
    top: 157px;
    left: 0;
    color: #233874;
    font: 500 24px/1.37 'Inter_24pt-Medium', Arial, sans-serif;
}

.dt-about-figma__copy h2 {
    position: absolute;
    top: 198px;
    left: 0;
    width: 620px;
    margin: 0;
    color: #e3161d;
    font: 500 41px/1.37 'iCielPequena', 'BalooDa2-ExtraBold', Arial, sans-serif;
    text-transform: uppercase;
    white-space: nowrap;
    transform: scaleX(.91);
    transform-origin: left top;
}

.dt-about-figma__tagline {
    position: absolute;
    top: 255px;
    left: 0;
    margin: 0;
    color: #106b36;
    font: 400 24px/1.4 'ICIEL-Pacifico', cursive;
    white-space: nowrap;
}

.dt-about-figma__summary {
    position: absolute;
    top: 303px;
    left: 0;
    width: 600px;
    color: #4d4d4d;
    font: 400 16px/1.5 'Inter_24pt-Regular', Arial, sans-serif;
    text-align: justify;
}

    .dt-about-figma__summary p {
        margin: 0;
    }

.dt-about-figma__more {
    position: absolute;
    top: 541px;
    left: 0;
    display: inline-flex;
    width: 145px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    border-radius: 10px;
    background: linear-gradient(#009dff, #0033c7);
    color: #fff !important;
    font: 500 21px/1.37 'BalooDa2-Medium', Arial, sans-serif;
    text-decoration: none;
    transition: filter .22s ease, transform .22s ease;
}

    .dt-about-figma__more:hover, .dt-about-figma__more:focus-visible {
        color: #fff !important;
        filter: brightness(1.08);
        transform: translateY(-3px);
    }

    .dt-about-figma__more:focus-visible {
        outline: 3px solid #ffd600;
        outline-offset: 3px;
    }

.dt-about-figma__visual {
    position: absolute;
    top: -15px;
    left: 693px;
    z-index: 1;
    width: 721px;
    height: 692px;
}

.dt-about-figma__visual-main {
    position: absolute;
    top: 17px;
    left: 0;
    display: block;
    width: 690px;
    height: auto;
    transform: rotate(6.2deg);
}

.dt-about-figma__visual-logo {
    position: absolute;
    top: 21px;
    left: -97px;
    z-index: 1;
    display: block;
    width: 245px;
    height: 245px;
    object-fit: contain;
}

.dt-about-figma__places {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.dt-about-figma__place {
    position: absolute;
    top: 610px;
    width: 290px;
    height: 276px;
    margin: 0;
    pointer-events: auto;
}

.dt-about-figma__place--main {
    left: 80px;
}

.dt-about-figma__place--branch-1 {
    left: 350px;
}

.dt-about-figma__place--branch-2 {
    left: 620px;
}

.dt-about-figma__place > img {
    position: absolute;
    top: -8px;
    left: -8px;
    z-index: 1;
    display: block;
    width: 224px;
    height: 217px;
    object-fit: contain;
    transition: transform .3s ease;
}

.dt-about-figma__place--branch-1 > img {
    width: 225px;
}

.dt-about-figma__place:hover > img {
    transform: translateY(-4px);
}

.dt-about-figma__place figcaption {
    position: absolute;
    top: 176px;
    left: 83px;
    display: flex;
    width: 202px;
    height: 100px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 9px 6px;
    border: 1px solid #d8e9f5;
    border-radius: 0 30px 30px 30px;
    background: linear-gradient(180deg, rgba(244,248,253,.95), rgba(228,246,255,.8));
    box-shadow: 0 1px 4px rgba(19,88,132,.35);
    color: #1d428c;
    text-align: center;
}

.dt-about-figma__place--main figcaption {
    border: 0;
    background: linear-gradient(180deg, #1580ce, #06559f);
    color: #fff;
}

    .dt-about-figma__place--main figcaption::before {
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: url('/Design/img/TieuHocTraTan1/AboutFigma/card-texture.png') center / cover no-repeat;
        content: '';
        opacity: .5;
        pointer-events: none;
    }

.dt-about-figma__place figcaption strong, .dt-about-figma__place figcaption > span {
    position: relative;
    z-index: 1;
}

.dt-about-figma__place figcaption strong {
    font: 600 16px/1.37 'Inter_24pt-SemiBold', Arial, sans-serif;
    text-transform: uppercase;
}

.dt-about-figma__place figcaption > span {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
    margin-top: 3px;
    font: 400 14px/1.17 'Inter_24pt-Regular', Arial, sans-serif;
}

.dt-about-figma__place figcaption img {
    width: 15px;
    height: 19px;
    flex: 0 0 14px;
}

.dt-about-figma__place figcaption > span > span {
    display: block;
}

@media (max-width: 1399px) {
    .dt-about-figma {
        min-height: 0;
        padding: 100px 32px 155px;
        background-position: center bottom;
        background: #fff url('/Design/img/TieuHocTraTan1/AboutFigma/decor-bottom.png') center 370px / 100% 661px no-repeat;
    }

    .dt-about-figma__inner {
        display: grid;
        width: min(1180px, 100%);
        min-height: 0;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 6px 8px;
        align-items: start;
    }

    .dt-about-figma__copy, .dt-about-figma__eyebrow, .dt-about-figma__copy h2,
    .dt-about-figma__tagline, .dt-about-figma__summary, .dt-about-figma__more,
    .dt-about-figma__visual, .dt-about-figma__places, .dt-about-figma__place,
    .dt-about-figma__place > img, .dt-about-figma__place figcaption {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }

    .dt-about-figma__copy {
        width: 100%;
    }

    .dt-about-figma__eyebrow {
        display: block;
        font-size: 20px;
    }

    .dt-about-figma__copy h2 {
        width: 100%;
        margin-top: 5px;
        font-size: clamp(27px, 3vw, 38px);
        line-height: 145%;
        white-space: normal;
        transform: none;
    }

    .dt-about-figma__tagline {
        margin-top: 0;
        font-size: clamp(17px, 2vw, 23px);
        white-space: normal;
    }

    .dt-about-figma__summary {
        width: 100%;
        margin-top: 8px;
        font-size: 15px;
    }

        .dt-about-figma__summary p + p {
            margin-top: 9px;
        }

    .dt-about-figma__more {
        margin-top: 14px;
    }

    .dt-about-figma__visual {
        width: 100%;
        height: auto;
        /* aspect-ratio: 721 / 692; */
    }

    .dt-about-figma__visual-main {
        top: -89px;
        left: 2%;
        width: 96%;
    }

    .dt-about-figma::before {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 140px;
        background: url('/Design/img/TieuHocTraTan1/AboutFigma/decor-top.png') left top / contain no-repeat;
        content: '';
        pointer-events: none;
    }

    .dt-about-figma__visual-logo {
        top: -73px;
        left: -10%;
        width: 31%;
        height: auto;
    }

    .dt-about-figma__places {
        display: grid;
        grid-column: 1 / -1;
        width: min(800px, 100%);
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 4px;
        pointer-events: auto;
    }

    .dt-about-figma__place {
        width: 95%;
        height: auto;
        padding-top: min(18vw, 177px);
    }

    .dt-about-figma__place--branch-1 {
        left: -17px;
    }

    .dt-about-figma__place--branch-2 {
        left: -27px;
    }

    .dt-about-figma__place > img, .dt-about-figma__place--branch-1 > img {
        position: absolute;
        top: 0;
        left: 0;
        width: min(19vw, 205px);
        height: auto;
    }

    .dt-about-figma__place figcaption {
        width: calc(100% - 55px);
        height: 100px;
        margin-left: 55px;
    }
}

@media (max-width: 900px) {
    .dt-about-figma {
        padding: 85px 24px 150px;
        background-size: auto 46%;
    }

    .dt-about-figma__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .dt-about-figma__visual-main {
        top: 0;
        left: 8%;
        width: 80%;
        position: relative;
    }

    .dt-about-figma__copy {
        max-width: 680px;
    }

    .dt-about-figma__visual {
        width: min(680px, 100%);
        justify-self: center;
        aspect-ratio: auto;
    }

    .dt-about-figma__places {
        grid-column: 1;
        width: min(640px, 100%);
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dt-about-figma__place {
        padding-top: min(22vw, 180px);
        left: 0;
    }

        .dt-about-figma__place > img, .dt-about-figma__place--branch-1 > img {
            width: min(25vw, 190px);
        }

        .dt-about-figma__place figcaption {
            width: calc(100% - 25px);
            margin-left: 25px;
        }
}

@media (max-width: 600px) {
    .dt-about-figma {
        padding: 65px 16px 44px;
        background: #fff url('/Design/img/TieuHocTraTan1/AboutFigma/decor-bottom.png') center 98px / 100% 255px no-repeat;
        background-position: center bottom;
    }

        .dt-about-figma::before {
            width: 100%;
            height: 114px;
            background-size: auto 100px;
        }

    .dt-about-figma__inner {
        gap: 5px;
    }

    .dt-about-figma__eyebrow {
        font-size: 17px;
    }

    .dt-about-figma__copy h2 {
        font-size: clamp(25px, 7vw, 34px);
        overflow-wrap: anywhere;
    }

    .dt-about-figma__tagline {
        font-size: 18px;
    }

    .dt-about-figma__summary {
        font-size: 14px;
        line-height: 1.6;
    }

    .dt-about-figma__visual-logo {
        left: -14px;
        top: -2px;
    }

    .dt-about-figma__places {
        grid-template-columns: minmax(0, 1fr);
        gap: 1px;
    }

    .dt-about-figma__place {
        min-height: 99px;
        padding-top: 25px;
    }

        .dt-about-figma__place > img, .dt-about-figma__place--branch-1 > img {
            width: 106px;
        }

        .dt-about-figma__place figcaption {
            width: calc(100% - 118px);
            min-width: 170px;
            height: 72px;
            margin-left: 77px;
            padding-left: 16px;
        }
}

@media (prefers-reduced-motion: no-preference) {
    .dt-about-figma.is-pending .dt-about-figma__copy,
    .dt-about-figma.is-pending .dt-about-figma__visual,
    .dt-about-figma.is-pending .dt-about-figma__place {
        opacity: 0;
        transform: translateY(18px);
    }

    .dt-about-figma.is-visible .dt-about-figma__copy,
    .dt-about-figma.is-visible .dt-about-figma__visual,
    .dt-about-figma.is-visible .dt-about-figma__place {
        opacity: 1;
        transform: translateY(0);
        transition: opacity .55s ease, transform .55s ease;
    }

    .dt-about-figma.is-visible .dt-about-figma__visual {
        transition-delay: .08s;
    }

    .dt-about-figma.is-visible .dt-about-figma__place--main {
        transition-delay: .12s;
    }

    .dt-about-figma.is-visible .dt-about-figma__place--branch-1 {
        transition-delay: .18s;
    }

    .dt-about-figma.is-visible .dt-about-figma__place--branch-2 {
        transition-delay: .24s;
    }
}