/*
 * Giới thiệu trang chủ.
 * Bám reference GOLDEN CARGO: dải xanh có mũi nhọn và lưới điểm mạnh phẳng.
 */

.gc-home-about {
    overflow: hidden;
    color: var(--project-color-text);
    background: var(--project-color-background);
    margin-top: 20px;
}

.gc-home-about__heading {
    position: relative;
    display: flex;
    min-height: 90px;
    align-items: center;
    background: var(--project-color-primary);
}

.gc-home-about__heading::after {
    position: absolute;
    z-index: 1;
    top: 100%;
    left: 50%;
    width: 0;
    height: 0;
    border-top: 20px solid var(--project-color-primary);
    border-right: 20px solid transparent;
    border-left: 20px solid transparent;
    content: "";
    transform: translateX(-50%);
}

.gc-home-about__heading h2 {
    margin: 0;
    color: var(--project-color-inverse);
    font-size: var(--project-font-size-section-title);
    font-weight: var(--project-font-weight-regular);
    line-height: var(--project-line-height-heading);
    text-align: center;
    text-transform: uppercase;
}

.gc-home-about__content {
    padding-top: 72px;
    padding-bottom: 78px;
}

.gc-home-about__intro {
    max-width: 900px;
    margin: 0 auto 34px;
    color: var(--project-color-text);
    font-size: 15px;
    line-height: 1.75;
    text-align: center;
}

.gc-home-about__intro > :last-child {
    margin-bottom: 0;
}

.gc-home-about__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 38px;
    row-gap: 42px;
}

.gc-home-about__item {
    min-width: 0;
}

.gc-home-about__item-heading {
    display: grid;
    min-height: 62px;
    align-items: center;
    grid-template-columns: 50px minmax(0, 1fr);
    column-gap: 12px;
}

.gc-home-about__icon {
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
}

.gc-home-about__icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.74;
}

.gc-home-about__item h3 {
    margin: 0;
    color: var(--project-color-text);
    font-size: 16px;
    font-weight: var(--project-font-weight-bold);
    line-height: 1.45;
    text-transform: uppercase;
    transition: color var(--project-transition);
}

.gc-home-about__line {
    display: block;
    width: 100%;
    height: 1px;
    margin-top: 8px;
    background: var(--project-color-border);
    transition: background-color var(--project-transition);
}

.gc-home-about__description {
    margin-top: 13px;
    color: var(--project-color-text);
    font-size: 14px;
    line-height: 1.75;
}

.gc-home-about__description > :last-child {
    margin-bottom: 0;
}

.gc-home-about__item:hover h3 {
    color: #0000ee;
}

.gc-home-about__item:hover .gc-home-about__line {
    background-color: #ed1c24;
}

@media (max-width: 1199px) {
    .gc-home-about__heading {
        min-height: 90px;
    }

    .gc-home-about__heading h2 {
        font-size: 30px;
    }

    .gc-home-about__content {
        padding-top: 58px;
        padding-bottom: 62px;
    }

    .gc-home-about__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 42px;
    }
}

@media (max-width: 575px) {
    .gc-home-about__heading {
        min-height: 76px;
    }

    .gc-home-about__heading::after {
        border-top-width: 18px;
        border-right-width: 18px;
        border-left-width: 18px;
    }

    .gc-home-about__heading h2 {
        font-size: 23px;
    }

    .gc-home-about__content {
        padding-top: 44px;
        padding-bottom: 50px;
    }

    .gc-home-about__intro {
        margin-bottom: 30px;
        font-size: 14px;
        text-align: left;
    }

    .gc-home-about__grid {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 34px;
    }

    .gc-home-about__item-heading {
        min-height: 56px;
        grid-template-columns: 46px minmax(0, 1fr);
        column-gap: 12px;
    }

    .gc-home-about__icon {
        width: 46px;
        height: 46px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gc-home-about__item h3,
    .gc-home-about__line {
        transition: none;
    }
}
