/* =============================================
   Cubic Promote – Contact Us Page Styles
   Scoped to .contact-info-section
   CSS only, no HTML changes
   ============================================= */

/* ── Base wrapper ────────────────────────────── */
.contact-info-section {

    margin: 0 auto;
    padding: 8px 0 40px;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
}

/* ── H1 — "Contact Us 1300858288" ───────────── */
.contact-info-section h1 {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #1a2a38 !important;
    margin: 0 0 14px !important;
    line-height: 1.3 !important;
}

/* Phone number inside H1 */
.contact-info-section h1 a {
    color: #f9a32f !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}

.contact-info-section h1 a:hover {
    text-decoration: underline !important;
}

/* ── H2 headings ─────────────────────────────── */
.contact-info-section h2 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1a2a38 !important;
    margin: 28px 0 10px !important;
    line-height: 1.3 !important;
}

/* ── H4 headings (Our Hours, Got Questions) ──── */
.contact-info-section h4 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1a2a38 !important;
    margin: 20px 0 8px !important;
}

/* ── Paragraphs ──────────────────────────────── */
.contact-info-section p {
    font-size: 15px;
    color: #444;
    line-height: 1.75;
    margin: 0 0 14px;
}

/* ── Links inside content ────────────────────── */
.contact-info-section p a,
.contact-info-section li a {
    color: #f9a32f;
    text-decoration: none;
}

.contact-info-section p a:hover,
.contact-info-section li a:hover {
    text-decoration: underline;
}

/* ── Phone link in italic paragraph ─────────── */
.contact-info-section em a {
    color: #f9a32f !important;
    font-weight: 700;
    text-decoration: none;
}

/* ── Unordered lists ─────────────────────────── */
.contact-info-section ul {
    margin: 10px 0 16px 20px;
    padding: 0;
    list-style: disc;
}

.contact-info-section ul li {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 4px;
}

.contact-info-section ul li strong {
    color: #222;
}

/* ── WP Caption / float images ───────────────── */

/* Team photo — float right */
.contact-info-section .wp-caption.alignright,
.contact-info-section figure.alignright {
    float: right;
    margin: 0 0 20px 28px !important;
    max-width: 440px;
    width: 44% !important;
    clear: right;
}

.contact-info-section .wp-caption img,
.contact-info-section figure img {
    width: 100% !important;
    height: auto !important;
    border-radius: 4px;
    display: block;
}

/* Caption text below images */
.contact-info-section .wp-caption-text,
.contact-info-section figcaption {
    font-size: 12px;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    padding: 5px 10px;
    margin: 0;
    text-align: left;
    border-radius: 0 0 4px 4px;
}

/* ── Address block ───────────────────────────── */
.contact-info-section p strong:only-child {
    margin-bottom: 4px;
    color: #1a2a38;
}

/* ── Video ───────────────────────────────────── */
.contact-info-section video {
    max-width: 320px !important;
    width: 100% !important;
    height: auto !important;
    display: block;
    margin: 16px 0 24px;
    border-radius: 4px;
    background: #000;
}

/* ── Clearfix after floated images ───────────── */
.contact-info-section::after {
    content: '';
    display: table;
    clear: both;
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 768px) {

    .contact-info-section .wp-caption.alignright,
    .contact-info-section figure.alignright {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 20px !important;
    }

    .contact-info-section h1 {
        font-size: 22px !important;
    }

    .contact-info-section h2 {
        font-size: 18px !important;
    }

    .contact-info-section video {
        max-width: 100% !important;
    }
}

.page-id-422195 .cubic-form-wrap {
    max-width: 100% !important;
}