.cms-page {
    background: #fff;
}

.cms-hero {
    position: relative;
    min-height: 280px;
    display: grid;
    align-items: end;
    background:
        linear-gradient(120deg, rgba(10, 12, 16, 0.86), rgba(10, 12, 16, 0.55)),
        var(--cms-banner) center/cover no-repeat;
    color: #fff;
    padding: 70px 0 48px;
}

.cms-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.35));
    pointer-events: none;
}

.cms-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 860px;
}

.cms-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffd0d2;
    margin-bottom: 12px;
}

.cms-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.15;
}

.cms-hero p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.84);
    max-width: 680px;
}

.cms-body-section {
    background: #f7f8fa;
}

.cms-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.cms-layout.has-image {
    grid-template-columns: 1.3fr 0.9fr;
    align-items: start;
}

.cms-content {
    color: #333;
    font-size: 15px;
    line-height: 1.75;
}

.cms-content h2,
.cms-content h3 {
    color: #111;
    font-weight: 800;
    margin: 0 0 12px;
}

.cms-content p {
    margin: 0 0 14px;
}

.cms-content a {
    color: var(--hottex-red);
    font-weight: 700;
}

.cms-content ul {
    margin: 0 0 16px;
    padding-left: 18px;
}

.cms-side-media {
    border-radius: 10px;
    overflow: hidden;
    background: #f2f2f2;
    border: 1px solid #ececec;
}

.cms-side-media img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.cms-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 1px solid #222;
    color: #222;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 12px;
    border-radius: 3px;
    text-decoration: none;
}

.btn-outline-dark:hover {
    background: #111;
    color: #fff;
}

@media (max-width: 991px) {
    .cms-layout.has-image {
        grid-template-columns: 1fr;
    }

    .cms-hero {
        min-height: 220px;
        padding: 56px 0 36px;
    }
}
