/* ===================================================================================

* Theme Name: Privsa Child
* Theme URI: https://themeforest.net/user/tripples/portfolio
* Author: Tripples
* Author URI: http://themewinter.com
* Description: Privsa Lawyer and Attorney WordPress Theme
* Version: 1.4
* Template: privsa
* License: GNU General Public License version 3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
* Tags: one-column, right-sidebar, left-sidebar, custom-menu, featured-images, post-formats, sticky-post, translation-ready

* We encourage you to create Child theme for any modifications you will want to do.

* Why use Child theme?

* Because of future updates we may provide for this theme that will overwrite your
* modifications and all your custom work.

* If you are not familiar with Child Themes, you can read about it here:
* http://codex.wordpress.org/Child_Themes
* http://wp.tutsplus.com/tutorials/theme-development/child-themes-basics-and-creating-child-themes-in-wordpress/

====================================================================================== */

@font-face {
    font-family: "Font Awesome 5 Brands";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../../plugins/elementor/assets/lib/font-awesome/webfonts/fa-brands-400.woff2") format("woff2");
}

@font-face {
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../../plugins/elementor/assets/lib/font-awesome/webfonts/fa-regular-400.woff2") format("woff2");
}

@font-face {
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("../../plugins/elementor/assets/lib/font-awesome/webfonts/fa-solid-900.woff2") format("woff2");
}

/* ===== Switch Lawyers featured section (homepage) ===== */
.rm-switch-lawyers {
    --rm-teal: #008BA8;
    --rm-crimson: #BC1B3D;
    --rm-dark: #222223;
    background:
        linear-gradient(135deg, rgba(0, 139, 168, 0.18), transparent 45%),
        linear-gradient(180deg, #1a1a1b 0%, var(--rm-dark) 100%);
    color: #fff;
    padding: 72px 20px;
    border-top: 3px solid var(--rm-crimson);
    border-bottom: 3px solid var(--rm-teal);
}

.rm-switch-lawyers__inner {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: center;
}

.rm-switch-lawyers__eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    font-family: Rubik, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--rm-teal);
}

.rm-switch-lawyers__title {
    margin: 0 0 18px;
    font-family: Merriweather, serif;
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.3px;
    color: #fff;
    text-transform: none;
}

.rm-switch-lawyers__text {
    margin: 0 0 28px;
    max-width: 34em;
    font-family: Rubik, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
}

.rm-switch-lawyers__cta {
    display: inline-block;
    padding: 18px 36px;
    font-family: Rubik, sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background-color: var(--rm-crimson);
    border: 2px solid var(--rm-crimson);
    transition: background-color 0.25s ease, color 0.25s ease;
}

.rm-switch-lawyers__cta:hover,
.rm-switch-lawyers__cta:focus {
    background-color: #fff;
    color: var(--rm-crimson);
    text-decoration: none;
}

.rm-switch-lawyers__media {
    display: flex;
    justify-content: center;
}

.rm-switch-lawyers__frame {
    width: min(100%, 320px);
    aspect-ratio: 9 / 16;
    border: 2px solid rgba(0, 139, 168, 0.55);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    background: #000;
}

.rm-switch-lawyers__frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Hide original Switch Lawyers short; expand remaining two to 50% */
.elementor-100 .elementor-element-1a39e4b {
    display: none !important;
}

.elementor-100 .elementor-element-1ce540e > .elementor-container > .elementor-element-d698c4d,
.elementor-100 .elementor-element-1ce540e > .elementor-container > .elementor-element-8c7a150 {
    width: 50%;
}

@media (max-width: 1024px) {
    .rm-switch-lawyers {
        padding: 56px 20px;
    }

    .rm-switch-lawyers__inner {
        gap: 36px;
    }
}

@media (max-width: 767px) {
    .rm-switch-lawyers__inner {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .rm-switch-lawyers__text {
        margin-left: auto;
        margin-right: auto;
    }

    .elementor-100 .elementor-element-1ce540e > .elementor-container > .elementor-element-d698c4d,
    .elementor-100 .elementor-element-1ce540e > .elementor-container > .elementor-element-8c7a150 {
        width: 100%;
    }
}

