/* Trang tĩnh — layout ảnh trái / nội dung phải + tông xanh + hiệu ứng */

.page-static {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.page-static--split {
    max-width: 100%;
}

/* ----- Cột ảnh + cột chữ ----- */
.page-static__split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
}

@media (min-width: 992px) {
    .page-static__split {
        grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
        gap: 36px;
        align-items: stretch;
    }
}

.page-static__split-visual {
    margin: 0;
    padding: 18px;
    text-align: center;
    background: linear-gradient(165deg, #e3f2fd 0%, #f8fbff 40%, #ffffff 100%);
    border-radius: 16px;
    border: 1px solid rgba(21, 101, 192, 0.12);
    box-shadow: 0 8px 32px rgba(13, 71, 161, 0.07);
}

.page-static__split-visual picture,
.page-static__split-visual .page-static__split-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-static__split-visual picture {
    width: 100%;
    max-width: 100%;
}

.page-static__split-visual .page-static__split-img,
.page-static__split-visual img {
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    max-height: min(65vh, 520px);
    object-fit: contain;
    object-position: center center;
    border-radius: 10px;
}

.page-static__split-main {
    min-width: 0;
}

/* ----- Biến màu + lead ----- */
.page-static__lead--fx,
.page-static__body--fx {
    --static-blue: #1565c0;
    --static-blue-dark: #0d47a1;
}

.page-static__lead--fx {
    font-size: 1.06rem;
    line-height: 1.8;
    color: #1a365d !important;
    margin-bottom: 22px;
    padding: 20px 22px;
    background: linear-gradient(135deg, rgba(227, 242, 253, 0.98) 0%, #ffffff 55%, rgba(240, 247, 255, 0.9) 100%) !important;
    border-left: 4px solid var(--static-blue);
    border-radius: 0 14px 14px 0;
    box-shadow: 0 8px 28px rgba(13, 71, 161, 0.1);
    animation: page-static-fx-in 0.65s ease-out both;
}

.page-static__body--fx.baonoidung,
.page-static__lead--fx.baonoidung {
    font-size: 1rem;
    line-height: 1.75;
    color: #1e3a5f !important;
}

.page-static__body--fx.baonoidung h2,
.page-static__body--fx.baonoidung h3,
.page-static__lead--fx.baonoidung h2,
.page-static__lead--fx.baonoidung h3 {
    margin-top: 1.25em;
    margin-bottom: 0.5em;
    font-weight: 700;
    color: var(--static-blue-dark) !important;
}

/* Đoạn mở đầu */
.page-static__body--fx.page-static__body--solo > p:first-of-type,
.page-static__split-main .page-static__body--fx.page-static__body--solo > p:first-of-type {
    font-size: 1.06rem;
    line-height: 1.8;
    color: #1a365d !important;
    margin-bottom: 18px;
    padding: 20px 22px;
    background: linear-gradient(145deg, #e3f2fd 0%, #ffffff 50%, #f0f7ff 100%) !important;
    border-radius: 14px;
    border: 1px solid rgba(21, 101, 192, 0.18);
    box-shadow: 0 6px 24px rgba(13, 71, 161, 0.09);
    animation: page-static-fx-in 0.6s ease-out both;
}

/* Danh sách <ul> */
.page-static__body--fx.page-static__body--solo ul,
.page-static__split-main .page-static__body--fx.page-static__body--solo ul {
    list-style: none !important;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 640px) {
    .page-static__body--fx.page-static__body--solo ul,
    .page-static__split-main .page-static__body--fx.page-static__body--solo ul {
        grid-template-columns: 1fr 1fr;
        gap: 14px 16px;
    }
}

.page-static__body--fx.page-static__body--solo ul > li,
.page-static__split-main .page-static__body--fx.page-static__body--solo ul > li {
    position: relative;
    margin: 0;
    padding: 16px 16px 16px 46px;
    background: linear-gradient(165deg, #ffffff 0%, #f5f9ff 100%) !important;
    border-radius: 12px;
    border: 1px solid rgba(21, 101, 192, 0.14);
    box-shadow: 0 4px 16px rgba(13, 71, 161, 0.07);
    color: #1e3a5f !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    animation: page-static-fx-in 0.5s ease-out both;
}

.page-static__body--fx.page-static__body--solo ul > li:nth-child(1) {
    animation-delay: 0.06s;
}
.page-static__body--fx.page-static__body--solo ul > li:nth-child(2) {
    animation-delay: 0.12s;
}
.page-static__body--fx.page-static__body--solo ul > li:nth-child(3) {
    animation-delay: 0.18s;
}
.page-static__body--fx.page-static__body--solo ul > li:nth-child(4) {
    animation-delay: 0.24s;
}

.page-static__body--fx.page-static__body--solo ul > li:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(13, 71, 161, 0.14);
    border-color: rgba(21, 101, 192, 0.28);
}

.page-static__body--fx.page-static__body--solo ul > li::before,
.page-static__split-main .page-static__body--fx.page-static__body--solo ul > li::before {
    content: "✓";
    position: absolute;
    left: 14px;
    top: 50%;
    margin-top: -13px;
    width: 26px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    border-radius: 8px;
    background: linear-gradient(145deg, #0d47a1, #1565c0, #1976d2);
    box-shadow: 0 2px 10px rgba(13, 71, 161, 0.35);
}

/* Nhiều đoạn <p> (CKEditor dùng • trong từng p thay vì ul) */
.page-static__body--fx.page-static__body--solo p:not(:first-of-type),
.page-static__split-main .page-static__body--fx.page-static__body--solo p:not(:first-of-type) {
    position: relative;
    margin: 0 0 12px;
    padding: 14px 16px 14px 44px !important;
    background: linear-gradient(165deg, #ffffff 0%, #f5f9ff 100%) !important;
    border-radius: 12px;
    border: 1px solid rgba(21, 101, 192, 0.14);
    box-shadow: 0 4px 16px rgba(13, 71, 161, 0.06);
    color: #1e3a5f !important;
    animation: page-static-fx-in 0.5s ease-out both;
}

.page-static__body--fx.page-static__body--solo p:not(:first-of-type)::before,
.page-static__split-main .page-static__body--fx.page-static__body--solo p:not(:first-of-type)::before {
    content: "✓";
    position: absolute;
    left: 12px;
    top: 50%;
    margin-top: -13px;
    width: 26px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    border-radius: 8px;
    background: linear-gradient(145deg, #0d47a1, #1565c0, #1976d2);
    box-shadow: 0 2px 10px rgba(13, 71, 161, 0.35);
}

@keyframes page-static-fx-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-static__lead--fx,
    .page-static__body--fx.page-static__body--solo > p:first-of-type,
    .page-static__body--fx.page-static__body--solo ul > li,
    .page-static__body--fx.page-static__body--solo p:not(:first-of-type) {
        animation: none;
    }
    .page-static__body--fx.page-static__body--solo ul > li:hover {
        transform: none;
    }
}

.page-static__empty {
    padding: 32px 20px;
    text-align: center;
    color: #666;
    background: #f5f9ff;
    border-radius: 10px;
    border: 1px dashed rgba(21, 101, 192, 0.25);
}

/* HTML tùy chỉnh static-html-* */
.baonoidung .static-html-points__icon {
    background: linear-gradient(145deg, #0d47a1, #1565c0, #1976d2);
}
