/* Trang Nhom giai phap Measure (modules/solutions/measure.tpl) - theo html/demo/giai_phap_Measure/trang Measure.jpg */
.page-measure {
    color: var(--navy)
}

.measure-wrap {
    width: min(100% - 64px, 1380px);
    margin: auto
}

/* Nut dung chung (chi gan qua class, khong ap cho moi <a>) */
.page-measure .measure-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: var(--brand);
    border: 1px solid var(--brand);
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: filter .2s
}

.page-measure .measure-btn:hover {
    filter: brightness(1.06);
    color: #fff
}

.page-measure .measure-btn--outline {
    background: #fff;
    border-color: #244e72;
    color: var(--navy)
}

.page-measure .measure-btn--outline:hover {
    color: var(--brand);
    border-color: var(--brand)
}

/* Hero */
.measure-hero {
    min-height: 380px;
    background: linear-gradient(90deg, #effaff 0%, #effaffe6 42%, #effaff1f 72%), url('../images/intro.jpg');
    background-position: 76% center;
    background-size: cover;
    background-repeat: no-repeat
}

.measure-hero .measure-wrap {
    padding: 26px 0 40px
}

.measure-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    color: #587085;
    font-size: 14px
}

.measure-breadcrumb a {
    color: inherit;
    text-decoration: none
}

.measure-breadcrumb a:hover {
    color: var(--brand);
    text-decoration: underline
}

.measure-breadcrumb [aria-current] {
    color: var(--navy)
}

.measure-hero h1 {
    margin: 26px 0 12px;
    font-size: 44px;
    line-height: 1.08
}

.measure-hero p {
    max-width: 540px;
    margin: 0;
    color: #405b73;
    font-size: 16px;
    line-height: 1.5
}

.measure-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px
}

/* 4 loi ich */
.measure-benefits {
    background: #fff;
    border-bottom: 1px solid #e2ebf0
}

.measure-benefits .measure-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 22px 0
}

.measure-benefits article {
    display: flex;
    align-items: flex-start;
    gap: 12px
}

.measure-benefits i {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    padding: 11px;
    background: #e6f2fb;
    border-radius: 50%
}

.measure-benefits i img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.measure-benefits strong {
    display: block;
    margin: 2px 0 4px;
    font-size: 16px
}

.measure-benefits small {
    display: block;
    color: #697b8d;
    font-size: 14px;
    line-height: 1.35
}

/* Gioi thieu */
.measure-intro {
    padding: 48px 0
}

.measure-intro .measure-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center
}

.measure-intro h2,
.measure-groups h2,
.measure-industries h2,
.measure-cta h2 {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.15
}

.measure-intro p {
    margin: 0 0 22px;
    color: #5f7285;
    font-size: 16px;
    line-height: 1.55
}

.measure-intro img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 8px
}

/* Cac nhom giai phap chinh */
.measure-groups {
    padding: 44px 0;
    background: #effaff
}

.measure-groups h2,
.measure-industries h2 {
    margin-bottom: 28px;
    text-align: center;
    font-size: 28px
}

/* Gach cam ngan duoi tieu de khoi (theo mau) */
.measure-groups h2::after,
.measure-industries h2::after {
    content: '';
    display: block;
    width: 36px;
    height: 3px;
    margin: 10px auto 0;
    background: var(--brand);
    border-radius: 3px
}

.measure-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px
}

.measure-cards article {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 10px;
    border: 1px solid #dce7ed;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(8, 45, 81, .05);
    transition: box-shadow .2s, transform .2s
}

.measure-cards article:hover {
    box-shadow: 0 10px 24px rgba(8, 45, 81, .1);
    transform: translateY(-2px)
}

/* Anh nam trong the (co le trang 4 phia), bo goc rieng - theo mau */
.measure-card__img {
    display: block;
    overflow: hidden;
    border-radius: 6px
}

.measure-cards img {
    display: block;
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform .3s
}

.measure-cards article:hover img {
    transform: scale(1.04)
}

.measure-cards article > div {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 12px 4px 4px
}

.measure-cards h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3
}

.measure-cards h3 a {
    color: inherit;
    text-decoration: none
}

.measure-cards p {
    flex: 1;
    margin: 0;
    color: #66788b;
    font-size: 14px;
    line-height: 1.45
}

.measure-cards .measure-more {
    margin-top: 12px;
    color: var(--brand);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none
}

.measure-cards .measure-more:hover {
    text-decoration: underline
}

/* Ung dung trong cac nganh */
.measure-industries {
    padding: 44px 0
}

.measure-industries__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px
}

.page-measure .measure-industries__grid a {
    position: relative;
    display: block;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    color: #fff;
    text-decoration: none
}

.measure-industries__grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s
}

.measure-industries__grid a:hover img {
    transform: scale(1.05)
}

.measure-industries__grid span {
    position: absolute;
    inset: auto 0 0;
    padding: 30px 14px 12px;
    background: linear-gradient(180deg, rgba(0, 45, 85, 0) 0%, rgba(0, 45, 85, .88) 100%);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3
}

/* Lien he cuoi trang */
.measure-cta {
    padding: 52px 0;
    background-color: #073a66;
    background-position: right center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff
}

.measure-cta h2 {
    max-width: 640px
}

.measure-cta p {
    max-width: 560px;
    margin: 0 0 22px;
    color: #d9e8f4;
    font-size: 16px;
    line-height: 1.5
}

@media (max-width: 1023px) {
    .measure-cards {
        grid-template-columns: repeat(2, 1fr)
    }

    .measure-industries__grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .measure-benefits .measure-wrap {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width: 767px) {
    .measure-wrap {
        width: min(100% - 30px, 1380px)
    }

    .measure-hero {
        min-height: 0;
        background-position: 68% center
    }

    .measure-hero h1 {
        font-size: 32px
    }

    .measure-intro .measure-wrap {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .measure-intro img {
        height: 240px
    }

    .measure-intro h2,
    .measure-groups h2,
    .measure-industries h2,
    .measure-cta h2 {
        font-size: 24px
    }

    .measure-cards,
    .measure-benefits .measure-wrap {
        grid-template-columns: 1fr
    }

    .measure-industries__grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .page-measure .measure-btn {
        font-size: 15px;
        padding: 12px 14px;
    }
}
