/* ============================================================
   Regulatory & Compliance Page
   Template: templates/page-regulatory-compliance.php
   Scoped to: .rc-page
   Colors: resolved from Elementor kit (post-7.css)
   ============================================================ */

/* ── Page wrapper ─────────────────────────────────────────── */
.rc-page {
    background: #EEF4FE;
    width: 100%;
}

/* ── Centered content container ───────────────────────────── */
.rc-wrap {
    display: flex;
    flex-direction: column;
    gap: 26px;
    margin: 0 auto;
    padding: 67px 20px 45px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .rc-wrap {
        max-width: 1245px;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (min-width: 2400px) {
    .rc-wrap {
        max-width: 1662px;
        padding-top: 90px;
        padding-bottom: 60px;
        gap: 35px;
    }
}

@media (max-width: 767px) {
    .rc-wrap {
        padding: 32px 30px 83px;
    }
}

/* ── Page H1 ──────────────────────────────────────────────── */
.rc-title {
    font-family: "Orbitron", sans-serif;
    font-weight: 600;
    color: #000000;
    margin: 0;
    line-height: 1.2;
}

@media (max-width: 767px) {
    .rc-title {
        font-size: 50px;
        text-align: center;
    }
}

@media (min-width: 2400px) {
    .rc-title {
        font-size: 85px;
        margin-bottom: 35px;
    }
}

/* ── Compliance badges row ────────────────────────────────── */
.rc-badges {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 25px;
}

.rc-badges img {
    display: block;
    max-height: 80px;
    width: auto;
    max-width: 206px;
    object-fit: contain;
}

@media (max-width: 767px) {
    .rc-badges {
        justify-content: center;
    }
}

/* ── Device row — CSS grid, always 2 columns on tablet/desktop */
.rc-devices-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

/* Single-device row (e.g. EU alone): full-width card */
.rc-devices-row--single {
    grid-template-columns: 1fr;
}

@media (max-width: 767px) {
    .rc-devices-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (min-width: 2400px) {
    .rc-devices-row {
        gap: 35px;
    }
}

/* ── Device card (connected info + support) ───────────────── */
.rc-device {
    background: #FFFFFF;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
}

/* Desktop shadow (+ green bottom accent) */
@media (min-width: 768px) {
    .rc-device {
        box-shadow: 0px 4px 54px 0px #005DFC66, inset 0 -8px 0 #63C06B;
    }
}

/* Mobile shadow (slightly smaller green accent) */
@media (max-width: 767px) {
    .rc-device {
        box-shadow: 0px 4px 54px 0px #005DFC66, inset 0 -5px 0 #63C06B;
    }
}

/* ── Device info section ──────────────────────────────────── */
.rc-device__info {
    padding: 22px 22px 30px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

@media (max-width: 767px) {
    .rc-device__info {
        padding: 30px 30px 22px;
        gap: 20px;
    }
}

@media (min-width: 2400px) {
    .rc-device__info {
        padding: 30px 30px 40px 30px;
        gap: 19px;
    }
}

/* ── Divider — full-width separator between info and support  */
.rc-device__divider {
    height: 1px;
    background: #DFE5F3;
    /* No side margin: goes edge-to-edge for a clean connected look */
}

/* On mobile, the last info field already has border-bottom — remove it
   so the divider is the sole separator between the two sections.        */
@media (max-width: 767px) {
    .rc-device__info .rc-field:last-child,
    .rc-device__info .rc-field--last {
        border-bottom: none;
    }
}

/* ── Device support section ───────────────────────────────── */
.rc-device__support {
    padding: 22px 22px 60px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

@media (max-width: 767px) {
    .rc-device__support {
        padding: 22px 30px 30px;
        gap: 20px;
    }
}

@media (min-width: 2400px) {
    .rc-device__support {
        padding: 30px 30px 90px 30px;
        gap: 19px;
    }
}

/* ── Card section heading (H2) ────────────────────────────── */
.rc-card__heading {
    font-family: "Orbitron", sans-serif;
    font-size: 27px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 14px;
    line-height: 1.2;
}

@media (max-width: 767px) {
    .rc-card__heading {
        font-size: 35px;
    }
}

@media (min-width: 2400px) {
    .rc-card__heading {
        font-size: 35px;
    }
}

/* ── Field row ────────────────────────────────────────────── */
.rc-field {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3px;
    border-bottom: 1px solid #000000;
    padding-bottom: 0;
}

@media (max-width: 767px) {
    .rc-device__info .rc-field {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .rc-device__support .rc-field {
        gap: 20px;
    }
}

/* ── Field label (left side) ──────────────────────────────── */
.rc-field__label {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3px;
    font-family: "Lexend", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #000000;
    flex-shrink: 0;
}

/* ── Regulatory symbol icon inside a label ────────────────── */
.rc-field__icon {
    width: 27px;
    height: auto;
    display: block;
    flex-shrink: 0;
}

@media (min-width: 2400px) {
    .rc-field__icon {
        width: 36px;
    }
}

/* ── Field value (right side) ─────────────────────────────── */
.rc-field__value {
    font-family: "Lexend", sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #000000;
    text-align: right;
    word-break: break-word;
}

@media (max-width: 767px) {
    .rc-field__label,
    .rc-field__value {
        font-size: 20px;
    }

    .rc-device__info .rc-field__value {
        text-align: left;
    }
}

@media (min-width: 2400px) {
    .rc-field__label,
    .rc-field__value {
        font-size: 20px;
    }
}

/* ── Support: terms text block ────────────────────────────── */
.rc-terms {
    font-family: "Lexend", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #000000;
    line-height: 1.5;
    border-bottom: 1px solid #000000;
    padding-bottom: 14px;
    margin: 0;
}

.rc-terms a {
    color: #5DD041;
    text-decoration: none;
    word-break: break-all;
}

.rc-terms a:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .rc-terms {
        font-size: 20px;
    }
}

@media (min-width: 2400px) {
    .rc-terms {
        font-size: 20px;
    }
}

/* ── Support: image row ───────────────────────────────────── */
.rc-support-images {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* All support images share the same base — natural width, capped height */
.rc-support-img {
    display: block;
    height: auto;
    max-height: 90px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
}

/* ── Support: distribution / UDI-DI text ─────────────────── */
.rc-distribution {
    font-family: "Lexend", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    line-height: 1.5;
    margin: 0;
}

.rc-distribution strong {
    font-weight: 700;
}

@media (max-width: 767px) {
    .rc-distribution {
        font-size: 20px;
    }
}

@media (min-width: 2400px) {
    .rc-distribution {
        font-size: 20px;
    }
}
