/* ===== Case Study Single ===== */
/* Hero is rendered by `template-parts/common/common-header.php` via global css/common-header.css */

/* ----- Spec strip ----- */

#rt-case-study-specs .col-md {
    border-right: 1px solid rgba(2, 0, 134, 0.12);
}

#rt-case-study-specs .col-md:last-child {
    border-right: 0;
}

@media (max-width: 768px) {
    #rt-case-study-specs .col-md {
        border-right: 0;
        border-bottom: 1px solid rgba(2, 0, 134, 0.12);
        padding-bottom: 1rem;
    }

    #rt-case-study-specs .col-md:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }
}

/* ----- WYSIWYG body ----- */

#rt-case-study-body .rt-case-study-body__content > * + * {
    margin-top: 1rem;
}

#rt-case-study-body .rt-case-study-body__content h2 {
    color: var(--rt-navy);
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

#rt-case-study-body .rt-case-study-body__content h3 {
    color: var(--rt-navy);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

#rt-case-study-body .rt-case-study-body__content a {
    color: var(--rt-navy);
    text-decoration: underline;
    text-decoration-color: var(--rt-green);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

#rt-case-study-body .rt-case-study-body__content a:hover {
    color: var(--rt-green);
}

#rt-case-study-body .rt-case-study-body__content ul,
#rt-case-study-body .rt-case-study-body__content ol {
    padding-left: 1.5rem;
}

#rt-case-study-body .rt-case-study-body__content ul li,
#rt-case-study-body .rt-case-study-body__content ol li {
    padding: 0.25rem 0;
}

#rt-case-study-body .rt-case-study-body__content blockquote {
    border-left: 4px solid var(--rt-green);
    padding: 0.75rem 1.5rem;
    margin: 1.5rem 0;
    color: var(--rt-navy);
    font-size: 1.15rem;
    font-style: italic;
}

#rt-case-study-body .rt-case-study-body__content img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 1rem 0;
}

#rt-case-study-body .rt-case-study-body__content strong {
    color: var(--rt-navy);
}
