/* ==========================================================================
   B-ALERT TEMPLATE PART: PROBLEM SECTION
   ========================================================================== */

.full-home-problem-section,
.full-solution-problem {
    background-color: var(--color-graphite);
    padding: 112px 32px !important;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .full-home-problem-section,
    .full-solution-problem {
        padding: 72px 24px !important;
    }
}

@media (max-width: 767px) {
    .full-home-problem-section,
    .full-solution-problem {
        padding: 32px 16px !important;
    }
}

/* 2. HEADER & TYPOGRAPHY */
.home-problem-header {
    text-align: center;
    margin-bottom: 50px;
    box-sizing: border-box;
}

.problem-subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    color: var(--color-stainless-steel);
    font-size: 14px;
}

.problem-title {
    text-transform: uppercase;
    margin: 0 auto;
    max-width: 700px;
    position: relative;
    padding-bottom: 20px;
    color: var(--color-information-white);
}

.problem-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background-color: var(--color-brushed-chrome);
}

/* 3. GRID & LAYOUT */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1363px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* 4. CARDS / ITEMS */
.problem-item {
    border-radius: 0 !important;
    background-color: var(--panel-graphite) !important;
    border: 1px solid var(--ba-border) !important;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
}

.problem-item:hover,
.problem-item.is-selected,
.problem-item.active {
    border-color: var(--color-brushed-chrome) !important;
    box-shadow: 0 0 24px var(--ba-chrome-glow) !important;
}

.problem-item-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 60%;
    border-bottom: 1px solid var(--ba-border);
}

.problem-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ICON KHỐI */
.problem-icon {
    position: absolute;
    bottom: -30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--color-carbon-black);
    border: 1px solid var(--ba-border) !important;
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.problem-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* 5. ITEM CONTENT */
.problem-item-content {
    padding: 50px 30px 40px;
    flex-grow: 1;
    background-color: transparent;
    box-sizing: border-box;
}

.problem-item-title {
    margin-bottom: 15px;
    margin-top: 0;
    color: var(--color-information-white);
}

.problem-item-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-brushed-chrome);
}

/* 6. RESPONSIVE MOBILE TỐI ƯU GỌN GÀNG */
@media (max-width: 991px) and (min-width: 768px) {
    .problem-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .problem-item-content {
        padding: 40px 16px 25px;
    }

    .problem-item-title {
        font-size: 15px;
    }

    .problem-item-desc {
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 480px;
        margin: 0 auto;
    }

    .problem-item {
        margin-bottom: 0;
    }

    .problem-item-img-wrapper {
        padding-top: 55%;
    }

    .problem-icon {
        width: 46px;
        height: 46px;
        bottom: -23px;
        left: 20px;
    }

    .problem-icon img {
        width: 22px;
        height: 22px;
    }

    .problem-item-content {
        padding: 34px 20px 24px;
    }

    .problem-item-title {
        font-size: 16px;
        line-height: 1.35;
        margin-bottom: 8px;
        letter-spacing: 0.5px;
    }

    .problem-item-desc {
        font-size: 13.5px;
        line-height: 1.55;
    }

    .problem-title {
        font-size: 24px;
    }

    .home-problem-header {
        margin-bottom: 24px !important;
    }
}

@media (max-width: 480px) {
    .problem-grid {
        gap: 14px;
    }

    .problem-item-content {
        padding: 30px 16px 20px;
    }

    .problem-item-title {
        font-size: 15px;
    }

    .problem-item-desc {
        font-size: 13px;
    }
}
