/* ============================================================
   content-page-section  –  reusable text + image page block
   Uses the theme's --primary-color variable so every accent
   colour follows whatever the admin sets in Theme Options.
   ============================================================ */

:root {
    --cps-primary: var(--primary-color, #9e1b1e);
    --cps-text-dark: #222222;
    --cps-text-body: #444444;
}

/* ---- Section wrapper ---- */
.cps-section {
    padding: 60px 0 50px;
    font-family: inherit;
}

/* ---- Header ---- */
.cps-header {
    text-align: center;
    margin-bottom: 40px;
}

.cps-header h2 {
    font-size: 34px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--cps-text-dark);
    letter-spacing: 1.5px;
    margin-bottom: 14px;
    line-height: 1.25;
}

.cps-header-divider {
    height: 4px;
    width: 70px;
    background-color: var(--cps-primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* ---- Two-column body ---- */
.cps-body {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

/* Text column */
.cps-text-col {
    flex: 1 1 50%;
    min-width: 0;
}

/* Image column */
.cps-img-col {
    flex: 1 1 50%;
    min-width: 0;
}

.cps-img-col img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    object-fit: cover;
}

/* Sub-heading (e.g. "Our Signature Series' 40-Year…") */
.cps-subheading {
    font-size: 22px;
    font-weight: 700;
    color: var(--cps-primary);
    margin-bottom: 16px;
    line-height: 1.35;
    font-style: italic;
}

/* Body rich-text area */
.cps-description {
    color: var(--cps-text-body);
    font-size: 14.5px;
    line-height: 1.75;
    margin-bottom: 20px;
}

.cps-description p {
    margin-bottom: 12px;
}

.cps-description p:last-child {
    margin-bottom: 0;
}

/* CTA link at the bottom */
.cps-cta-link {
    display: inline-block;
    color: var(--cps-primary);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
    margin-top: 6px;
}

.cps-cta-link:hover {
    color: var(--cps-text-dark);
    text-decoration: underline;
}

/* ---- Responsive ---- */
@media (max-width: 1199px) {
    .cps-header h2 {
        font-size: 28px;
    }

    .cps-subheading {
        font-size: 20px;
    }
}

@media (max-width: 991px) {
    .cps-body {
        flex-direction: column;
    }

    .cps-text-col,
    .cps-img-col {
        flex: 1 1 100%;
    }

    .cps-img-col {
        order: -1;
        margin-bottom: 24px;
    }

    .cps-header h2 {
        font-size: 24px;
    }

    .cps-section {
        padding: 40px 0 30px;
    }
}

@media (max-width: 575px) {
    .cps-header h2 {
        font-size: 20px;
    }

    .cps-subheading {
        font-size: 18px;
    }

    .cps-description {
        font-size: 13.5px;
    }
}
