/* ============================================================================================== */
/* =========================================== about intro ====================================== */
/* ============================================================================================== */

#about-intro-section {
    position: relative;
    background-color: rgba(var(--customize-color-white), 1);
}

#about-intro-section .about-intro-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 80px;
}

#about-intro-section .about-intro-col {
    min-width: 0;
}

#about-intro-section .about-intro-col.is-content {
    display: flex;
    flex: 1 1 50%;
    flex-direction: column;
    align-items: flex-start;
}

#about-intro-section .about-intro-col.is-media {
    flex: 1 1 50%;
}

/* ============================================================================================== */
/* ========================================= about highlight ==================================== */
/* ============================================================================================== */

#about-highlight-section {
    position: relative;
    background-color: rgba(var(--customize-color-white), 1);
}

#about-highlight-section .about-highlight-items {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 40px;
    list-style: none;
    padding: 80px 0 80px 0;
    margin: 0;
}

#about-highlight-section .about-highlight-item {
    min-width: 0;
    text-align: center;
}

#about-highlight-section .about-highlight-icon {
    font-size: 60px;
    line-height: 70px;
    margin-bottom: 20px;
}

#about-highlight-section .about-highlight-title {
    font-size: var(--customize-h2-font-size);
    line-height: var(--customize-h2-line-height);
}

#about-highlight-section .about-highlight-number {
    font-family: 'rubik';
    font-size: 45px;
    line-height: 55px;
    font-weight: 500;
}

#about-highlight-section .about-highlight-description {
    margin-top: 2px;
}

/* ============================================================================================== */
/* ========================================= about gallery ====================================== */
/* ============================================================================================== */

#about-gallery-section {
    position: relative;
    z-index: 2;
}

#about-gallery-section+#about-location-section {
    margin-top: -100px;
    z-index: 1;
}

#about-gallery-section+#about-location-section .container {
    padding-top: 150px;
}

/* ============================================================================================== */
/* ========================================= about location ===================================== */
/* ============================================================================================== */

#about-location-section {
    position: relative;
    background-color: rgba(var(--customize-color-gray-light), 1);
}

#about-location-section .about-location-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 80px;
}

#about-location-section .about-location-col.is-content {
    display: flex;
    flex: 1 1 50%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#about-location-section .about-location-col.is-media {
    flex: 1 1 50%;
}

#about-location-section .about-location-col.is-media .pin-map {
    /* The coordinates and sizes are relative to the 800x500 map image. */
    --pin-x: 40.125%;
    --pin-y: 85%;
    --pin-offset-y: 1%;
    --pin-size: 6.25%;
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

#about-location-section .about-location-col.is-media .pin-map>.pin {
    position: absolute;
    left: var(--pin-x);
    top: calc(var(--pin-y) + var(--pin-offset-y));
    width: var(--pin-size);
    aspect-ratio: 1;
    z-index: 2;
    background: url('../../images/site/about/pin.png') center / contain no-repeat;
    filter: drop-shadow(0 4px 4px rgba(193, 14, 29, 0.2));
    transform: translate(-50%, -100%);
    transform-origin: 50% 100%;
    animation: about-location-pin-bounce 1.8s ease-in-out infinite;
}

#about-location-section .about-location-col.is-media .pin-map>.base {
    position: absolute;
    left: var(--pin-x);
    top: var(--pin-y);
    /* width: 8.75%; */
    width: 15%;
    aspect-ratio: 2 / 1;
    z-index: 1;
    border-radius: 50%;
    background: radial-gradient(ellipse at center,
            rgba(201, 15, 32, 0.3) 0 22%,
            rgba(224, 66, 81, 0.2) 23% 48%,
            rgba(240, 132, 142, 0.1) 49% 68%,
            rgba(240, 132, 142, 0) 70%);
    transform: translate(-50%, -50%) scale(0.82);
    transform-origin: center;
    animation: about-location-base-pulse 1.8s ease-in-out infinite;
}

@keyframes about-location-pin-bounce {

    0%,
    100% {
        transform: translate(-50%, -100%);
    }

    50% {
        transform: translate(-50%, calc(-100% - 15%));
    }
}

@keyframes about-location-base-pulse {

    0%,
    100% {
        opacity: 0.72;
        transform: translate(-50%, -50%) scale(0.82);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.08);
    }
}

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

    #about-location-section .about-location-col.is-media .pin-map>.pin,
    #about-location-section .about-location-col.is-media .pin-map>.base {
        animation: none;
    }
}

/* xxl */
@media (min-width: 1400px) {}

/* xxl - 1 */
@media (min-width:1500px) and (max-width: 1599.98px) {}

/* xxl - 2 */
@media (min-width: 1400px) and (max-width: 1499.98px) {}

/* xl */
@media (min-width: 1200px) and (max-width: 1399.98px) {}

/* lg */
@media (min-width: 992px) and (max-width: 1199.98px) {

    /* ========================================================================================== */
    /* ===================================== about highlight ==================================== */
    /* ========================================================================================== */

    #about-highlight-section .about-highlight-items {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* md */
@media (min-width: 768px) and (max-width: 991.98px) {

    /* ========================================================================================== */
    /* ======================================= about intro ====================================== */
    /* ========================================================================================== */

    #about-intro-section .about-intro-row {
        flex-direction: column;
        gap: 35px;
    }

    /* ========================================================================================== */
    /* ===================================== about highlight ==================================== */
    /* ========================================================================================== */

    #about-highlight-section .about-highlight-items {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    /* ========================================================================================== */
    /* ===================================== about location ===================================== */
    /* ========================================================================================== */

    #about-location-section .about-location-row {
        gap: 35px;
    }
}

/* sm - xs */
@media (max-width: 767.98px) {

    /* ========================================================================================== */
    /* ======================================= about intro ====================================== */
    /* ========================================================================================== */

    #about-intro-section .about-intro-row {
        flex-direction: column;
        gap: 35px;
    }

    /* ========================================================================================== */
    /* ===================================== about highlight ==================================== */
    /* ========================================================================================== */

    #about-highlight-section .about-highlight-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px 20px;
        padding: 40px 0;
    }

    #about-highlight-section .about-highlight-title {
        font-size: 20px;
    }

    #about-highlight-section .about-highlight-number {
        font-size: 34px;
    }

    /* ========================================================================================== */
    /* ===================================== about location ===================================== */
    /* ========================================================================================== */

    #about-location-section .about-location-row {
        flex-direction: column;
        gap: 30px;
    }

    #about-location-section .about-location-col {
        flex-basis: auto;
        width: 100%;
    }

}

/* sm */
@media (min-width: 576px) and (max-width: 767.98px) {}

/* xs */
@media (max-width: 575.98px) {

    /* ========================================================================================== */
    /* ======================================= about intro ====================================== */
    /* ========================================================================================== */

    #about-intro-section .about-intro-title {
        margin-bottom: 20px;
    }

    #about-intro-section .about-intro-action,
    #about-intro-section .about-intro-download-btn {
        width: 100%;
    }

    /* ========================================================================================== */
    /* ===================================== about location ===================================== */
    /* ========================================================================================== */

    #about-location-section .about-location-title-sub {
        font-size: 20px;
    }

    #about-location-section .about-location-contact-btn {
        width: 100%;
    }
}

/* xs custom */
@media (max-width: 399.98px) {

    /* ========================================================================================== */
    /* ===================================== about highlight ==================================== */
    /* ========================================================================================== */

    #about-highlight-section .about-highlight-items {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}