/* ============================================================
   SERVICES PAGE v19 CLEAN
   Location: /assets/css/services.css
   Loaded only on: /services/

   Notes:
   - Consolidated prior revisions into a clean stylesheet.
   - Removes temporary v9/v10/v11 alignment override layers.
   - Keeps approved Services layout with controlled hero image vertical shift and tightened final section alignment.
   ============================================================ */

/* ============================================================
   SERVICES PAGE RESET
   ============================================================ */
#primary.content-area,
.site-main,
.inside-article {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.entry-header,
.entry-title {
    display: none !important;
}

.entry-content,
.entry-content:not(:first-child),
.entry-summary:not(:first-child),
.page-content:not(:first-child) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.entry-content > *:first-child {
    margin-top: 0 !important;
}

/* ============================================================
   SERVICES TOP HERO
   Structure:
   .ofr-services-top
     .ofr-services-top-left
     .ofr-services-top-right
       .ofr-services-top-img
   ============================================================ */
.ofr-services-top {
    position: relative;
    isolation: isolate;
    display: block !important;
    width: 100vw;
    min-height: clamp(360px, 24vw, 420px);
    margin: 0 0 0 calc(50% - 50vw) !important;
    padding: 0 !important;
    overflow: hidden;
    color: #ffffff;
    background: #00142f;
    --ofr-services-hero-img-shift: 200px;
}

.ofr-services-top::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(90deg,
            #00142f 0%,
            #00142f 28%,
            rgba(0, 20, 47, .98) 36%,
            rgba(0, 20, 47, .86) 47%,
            rgba(0, 20, 47, .60) 58%,
            rgba(0, 20, 47, .24) 70%,
            rgba(0, 20, 47, 0) 84%),
        linear-gradient(180deg,
            rgba(0, 0, 0, .14) 0%,
            rgba(0, 0, 0, 0) 42%,
            rgba(0, 0, 0, .18) 100%);
}

.site-main .ofr-services-top .wp-block-group__inner-container,
.ofr-services-top .wp-block-group__inner-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ofr-services-top-left {
    position: relative;
    z-index: 4;
    width: min(68vw, 980px);
    max-width: 980px;
    margin: 0 !important;
    padding: clamp(46px, 3.9vw, 62px) 0 clamp(42px, 3.4vw, 56px) max(42px, calc((100vw - var(--ofr-max)) / 2 + 42px)) !important;
    text-shadow: 0 2px 9px rgba(0, 0, 0, .34);
}

.ofr-services-top-left h2,
.ofr-services-top-left .wp-block-heading {
    margin: 0 0 8px !important;
    padding: 0 !important;
    color: var(--ofr-green-text) !important;
    font-family: var(--ofr-font-head) !important;
    font-size: clamp(13px, .78vw, 15px) !important;
    font-weight: 600 !important;
    line-height: 1.08 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
}

.ofr-services-top-left .grntxt {
    color: var(--ofr-green-text) !important;
}

.ofr-services-top-left p {
    max-width: 680px;
    margin: 0 0 13px !important;
    color: rgba(255, 255, 255, .90) !important;
    font-family: var(--ofr-font-body) !important;
    font-size: clamp(13.5px, .78vw, 15px);
    font-weight: 400;
    line-height: 1.43;
}

.ofr-services-top-left p:first-of-type {
    max-width: 980px;
    margin-bottom: 17px !important;
    color: #ffffff !important;
    font-family: var(--ofr-font-head) !important;
    font-size: clamp(36px, 2.45vw, 47px);
    font-weight: 600;
    line-height: .96;
    letter-spacing: -.012em;
    text-transform: uppercase;
}

.ofr-services-top-left p:nth-of-type(2) {
    max-width: 780px;
    margin-bottom: 13px !important;
    color: #ffffff !important;
    font-family: var(--ofr-font-head) !important;
    font-size: clamp(15px, .92vw, 18px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: .035em;
    text-transform: uppercase;
}

@media (min-width: 1500px) {
    .ofr-services-top {
        --ofr-services-hero-img-shift: 220px;
    }

    .ofr-services-top-left {
        width: min(58vw, 1080px);
        max-width: 1080px;
    }

    .ofr-services-top-left p:first-of-type {
        max-width: 1080px !important;
        font-size: clamp(40px, 2.18vw, 47px);
    }

    .ofr-services-top-left p:nth-of-type(2) {
        max-width: 860px !important;
    }

    .ofr-services-top-left p {
        max-width: 760px !important;
    }
}

 .ofr-services-top-right {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(78vw, 1320px);
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

.ofr-services-top-right figure,
.ofr-services-top-img,
.ofr-services-top-img.wp-block-image {
    width: 100% !important;
    height: calc(100% + var(--ofr-services-hero-img-shift)) !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(calc(var(--ofr-services-hero-img-shift) * -1));
}

.ofr-services-top-right img,
.ofr-services-top-img img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center center;
}

/* ============================================================
   SHARED SERVICES SECTION HEADERS
   ============================================================ */
.site-main .ofr-services-whatdo-block > .wp-block-group__inner-container,
.site-main .ofr-services-where-block > .wp-block-group__inner-container,
.ofr-services-whatdo-block > .wp-block-group__inner-container,
.ofr-services-where-block > .wp-block-group__inner-container {
    width: min(100%, var(--ofr-max));
    max-width: var(--ofr-max);
    margin: 0 auto !important;
    padding: 0 !important;
}

.ofr-services-whatdo-block h3,
.ofr-services-where-block h4,
.ofr-services-whatdo-block .wp-block-heading,
.ofr-services-where-block .wp-block-heading {
    margin: 0 0 6px !important;
    padding: 0 !important;
    color: var(--ofr-green-text) !important;
    font-family: var(--ofr-font-head) !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: .045em !important;
    text-align: center !important;
    text-transform: uppercase !important;
}

.ofr-services-whatdo-block .grntxt,
.ofr-services-where-block .grntxt {
    color: var(--ofr-green-text) !important;
}

/* ============================================================
   WHAT WE DO
   ============================================================ */
.ofr-services-whatdo-block {
    position: relative;
    z-index: 4;
    width: 100vw;
    margin: 0 0 0 calc(50% - 50vw) !important;
    padding: 36px max(24px, calc((100vw - var(--ofr-max)) / 2 + 24px)) 42px !important;
    color: var(--ofr-blue-deep);
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(103, 194, 71, .055), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid rgba(2, 20, 47, .10);
    overflow: hidden;
}

.ofr-services-whatdo-block > .wp-block-group__inner-container > p {
    position: relative;
    display: block;
    width: fit-content;
    max-width: min(100%, 780px);
    margin: 0 auto 36px !important;
    padding: 0 0 13px !important;
    color: var(--ofr-blue-deep) !important;
    font-family: var(--ofr-font-head) !important;
    font-size: clamp(25px, 1.9vw, 32px) !important;
    font-weight: 600 !important;
    line-height: 1.05 !important;
    letter-spacing: .018em !important;
    text-align: center !important;
    text-transform: uppercase !important;
}

.ofr-services-whatdo-block > .wp-block-group__inner-container > p::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin: 12px auto 0;
    border-radius: 999px;
    background: var(--ofr-green-text);
}

.ofr-services-whatdo-cards,
.ofr-services-whatdo-block .ofr-services-whatdo-row {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    width: min(100%, 1160px);
    margin: 0 auto !important;
    padding: 0 !important;
    align-items: stretch;
}

.ofr-services-whatdo-odor,
.ofr-services-whatdo-source,
.ofr-services-whatdo-resto,
.ofr-services-whatdo-envi {
    position: relative;
    min-height: 218px;
    margin: 0 !important;
    padding: 0 28px 28px !important;
    text-align: center;
    background: #ffffff;
    border: 1px solid rgba(2, 20, 47, .13);
    border-radius: 4px;
    box-shadow: 0 8px 22px rgba(2, 20, 47, .07);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.ofr-services-whatdo-odor > .wp-block-group__inner-container,
.ofr-services-whatdo-source > .wp-block-group__inner-container,
.ofr-services-whatdo-resto > .wp-block-group__inner-container,
.ofr-services-whatdo-envi > .wp-block-group__inner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.ofr-services-whatdo-block .wp-block-html {
    margin: 0 !important;
    padding: 0 !important;
}

.ofr-services-whatdo-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    margin: -1px auto 18px !important;
    background-color: var(--ofr-blue-deep);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 34px 34px;
    border: 4px solid #f8fafc;
    border-radius: 50%;
    box-shadow: 0 5px 14px rgba(2, 20, 47, .20);
    transition: transform .22s ease, filter .22s ease;
}

.ofr-services-whatdo-odor .ofr-services-whatdo-ico {
    background-image: url("https://odorfreerestoration.com/wp-content/themes/generatepress-child/assets/svg/odorfree-search.svg");
}

.ofr-services-whatdo-source .ofr-services-whatdo-ico {
    background-image: url("https://odorfreerestoration.com/wp-content/themes/generatepress-child/assets/svg/odorfree-target.svg");
}

.ofr-services-whatdo-resto .ofr-services-whatdo-ico {
    background-image: url("https://odorfreerestoration.com/wp-content/themes/generatepress-child/assets/svg/odorfree-gear.svg");
}

.ofr-services-whatdo-envi .ofr-services-whatdo-ico {
    background-image: url("https://odorfreerestoration.com/wp-content/themes/generatepress-child/assets/svg/odorfree-shield4.svg");
}

.ofr-services-whatdo-odor p:first-of-type,
.ofr-services-whatdo-source p:first-of-type,
.ofr-services-whatdo-resto p:first-of-type,
.ofr-services-whatdo-envi p:first-of-type {
    width: 100%;
    margin: 0 0 12px !important;
    padding: 16px 0 0 !important;
    color: var(--ofr-blue-deep) !important;
    font-family: var(--ofr-font-head) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.08 !important;
    letter-spacing: .02em !important;
    text-align: center !important;
    text-transform: uppercase !important;
    border-top: 2px solid rgba(103, 194, 71, .44);
}

.ofr-services-whatdo-odor p,
.ofr-services-whatdo-source p,
.ofr-services-whatdo-resto p,
.ofr-services-whatdo-envi p {
    margin: 0 !important;
    color: rgba(2, 20, 47, .86) !important;
    font-family: var(--ofr-font-body) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.42 !important;
    text-align: center !important;
}

/* ============================================================
   WHERE WE WORK
   ============================================================ */
.ofr-services-where-block {
    position: relative;
    z-index: 4;
    width: 100vw;
    margin: 0 0 0 calc(50% - 50vw) !important;
    padding: 30px max(24px, calc((100vw - var(--ofr-max)) / 2 + 24px)) 42px !important;
    color: #ffffff;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(103, 194, 71, .075), transparent 34%),
        linear-gradient(180deg, #00142f 0%, #02142f 100%);
    overflow: hidden;
}

.ofr-services-where-block > .wp-block-group__inner-container > p {
    width: fit-content;
    max-width: min(100%, 1160px);
    margin: 0 auto 30px !important;
    padding: 0 !important;
    color: #ffffff !important;
    font-family: var(--ofr-font-head) !important;
    font-size: clamp(21px, 1.32vw, 25px) !important;
    font-weight: 600 !important;
    line-height: 1.05 !important;
    letter-spacing: .02em !important;
    text-align: center !important;
    text-transform: uppercase !important;
}

.ofr-services-where-cards,
.ofr-services-where-block .ofr-services-where-row {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    width: min(100%, 1180px);
    margin: 0 auto !important;
    padding: 0 !important;
    align-items: stretch;
}

.ofr-services-where-resi,
.ofr-services-where-comi,
.ofr-services-where-car,
.ofr-services-where-fal {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    margin: 0 !important;
    padding: 0 0 24px !important;
    overflow: hidden;
    color: #ffffff;
    text-align: center;
    background: rgba(0, 20, 47, .72);
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 4px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.ofr-services-where-resi > .wp-block-group__inner-container,
.ofr-services-where-comi > .wp-block-group__inner-container,
.ofr-services-where-car > .wp-block-group__inner-container,
.ofr-services-where-fal > .wp-block-group__inner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.ofr-services-where-block .wp-block-image {
    width: 100%;
    height: 150px;
    margin: 0 0 20px !important;
    overflow: hidden;
}

.ofr-services-where-block .wp-block-image img {
    display: block;
    width: 100% !important;
    height: 150px !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center center;
    transition: transform .22s ease, filter .22s ease;
}

.ofr-services-where-resi p:first-of-type,
.ofr-services-where-comi p:first-of-type,
.ofr-services-where-car p:first-of-type,
.ofr-services-where-fal p:first-of-type {
    margin: 0 18px 14px !important;
    color: var(--ofr-green-text) !important;
    font-family: var(--ofr-font-head) !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.08 !important;
    letter-spacing: .025em !important;
    text-align: center !important;
    text-transform: uppercase !important;
}

.ofr-services-where-resi p,
.ofr-services-where-comi p,
.ofr-services-where-car p,
.ofr-services-where-fal p {
    margin: 0 24px !important;
    color: rgba(255, 255, 255, .90) !important;
    font-family: var(--ofr-font-body) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.42 !important;
    text-align: center !important;
}

/* ============================================================
   SUBTLE CARD POLISH
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
    .ofr-services-whatdo-odor:hover,
    .ofr-services-whatdo-source:hover,
    .ofr-services-whatdo-resto:hover,
    .ofr-services-whatdo-envi:hover {
        transform: translateY(-3px);
        border-color: rgba(103, 194, 71, .34);
        box-shadow: 0 14px 30px rgba(2, 20, 47, .12);
    }

    .ofr-services-whatdo-odor:hover .ofr-services-whatdo-ico,
    .ofr-services-whatdo-source:hover .ofr-services-whatdo-ico,
    .ofr-services-whatdo-resto:hover .ofr-services-whatdo-ico,
    .ofr-services-whatdo-envi:hover .ofr-services-whatdo-ico {
        transform: translateY(-2px);
        filter: drop-shadow(0 7px 12px rgba(2, 20, 47, .18));
    }

    .ofr-services-where-resi:hover,
    .ofr-services-where-comi:hover,
    .ofr-services-where-car:hover,
    .ofr-services-where-fal:hover {
        transform: translateY(-3px);
        border-color: rgba(103, 194, 71, .54);
        background-color: rgba(0, 20, 47, .86);
        box-shadow: 0 14px 30px rgba(0, 0, 0, .24);
    }

    .ofr-services-where-resi:hover .wp-block-image img,
    .ofr-services-where-comi:hover .wp-block-image img,
    .ofr-services-where-car:hover .wp-block-image img,
    .ofr-services-where-fal:hover .wp-block-image img {
        transform: scale(1.025);
    }
}

/* ============================================================
   TABLET
   ============================================================ */
@media (max-width: 1120px) {
    .ofr-services-whatdo-block,
    .ofr-services-where-block {
        padding-inline: 34px !important;
    }

    .ofr-services-whatdo-cards,
    .ofr-services-whatdo-block .ofr-services-whatdo-row,
    .ofr-services-where-cards,
    .ofr-services-where-block .ofr-services-where-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: min(100%, 720px);
    }

    .ofr-services-where-block > .wp-block-group__inner-container > p {
        max-width: 720px;
        font-size: clamp(22px, 3vw, 28px) !important;
        line-height: 1.08 !important;
    }
}

@media (max-width: 1100px) {
    .ofr-services-top {
        min-height: 380px;
        --ofr-services-hero-img-shift: 140px;
    }

    .ofr-services-top::before {
        background:
            linear-gradient(90deg,
                #00142f 0%,
                #00142f 24%,
                rgba(0, 20, 47, .98) 34%,
                rgba(0, 20, 47, .86) 48%,
                rgba(0, 20, 47, .58) 62%,
                rgba(0, 20, 47, .22) 76%,
                rgba(0, 20, 47, 0) 90%),
            linear-gradient(180deg,
                rgba(0, 0, 0, .16) 0%,
                rgba(0, 0, 0, 0) 42%,
                rgba(0, 0, 0, .20) 100%);
    }

    .ofr-services-top-left {
        width: min(100% - 56px, 700px);
        padding-left: 34px !important;
    }

    .ofr-services-top-left p:first-of-type {
        max-width: 650px;
        font-size: clamp(34px, 4.1vw, 45px);
    }

    .ofr-services-top-right {
        width: 82vw;
    }
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 780px) {
    .ofr-services-top {
        min-height: auto;
        background: #00142f;
        --ofr-services-hero-img-shift: 80px;
    }

    .ofr-services-top::before {
        background:
            linear-gradient(90deg,
                rgba(0, 20, 47, .98) 0%,
                rgba(0, 20, 47, .94) 42%,
                rgba(0, 20, 47, .70) 72%,
                rgba(0, 20, 47, .42) 100%),
            linear-gradient(180deg,
                rgba(0, 0, 0, .18) 0%,
                rgba(0, 0, 0, .02) 46%,
                rgba(0, 0, 0, .24) 100%);
    }

    .ofr-services-top-left {
        width: min(100% - 48px, 640px);
        max-width: 640px;
        margin: 0 auto !important;
        padding: 42px 0 46px !important;
    }

    .ofr-services-top-left h2,
    .ofr-services-top-left .wp-block-heading {
        font-size: 13px !important;
    }

    .ofr-services-top-left p {
        max-width: 580px;
    }

    .ofr-services-top-left p:first-of-type {
        max-width: 600px;
        font-size: clamp(32px, 6.1vw, 44px);
    }

    .ofr-services-top-right {
        width: 100vw;
        opacity: .48;
    }
}

@media (max-width: 680px) {
    .ofr-services-whatdo-block {
        padding: 32px 22px 38px !important;
    }

    .ofr-services-where-block {
        padding: 30px 22px 38px !important;
    }

    .ofr-services-whatdo-block > .wp-block-group__inner-container > p,
    .ofr-services-where-block > .wp-block-group__inner-container > p {
        width: min(100%, 360px);
        margin-bottom: 26px !important;
    }

    .ofr-services-whatdo-cards,
    .ofr-services-whatdo-block .ofr-services-whatdo-row,
    .ofr-services-where-cards,
    .ofr-services-where-block .ofr-services-where-row {
        grid-template-columns: 1fr;
        width: min(100%, 360px);
        gap: 18px;
    }

    .ofr-services-whatdo-odor,
    .ofr-services-whatdo-source,
    .ofr-services-whatdo-resto,
    .ofr-services-whatdo-envi,
    .ofr-services-where-resi,
    .ofr-services-where-comi,
    .ofr-services-where-car,
    .ofr-services-where-fal {
        min-height: 0;
    }
}

@media (max-width: 520px) {
    .ofr-services-top {
        --ofr-services-hero-img-shift: 45px;
    }

    .ofr-services-top-left {
        width: min(100% - 40px, 520px);
        padding-top: 36px !important;
        padding-bottom: 40px !important;
    }

    .ofr-services-top-left p:first-of-type {
        margin-bottom: 16px !important;
        font-size: clamp(29px, 8.8vw, 38px);
        line-height: .98;
    }

    .ofr-services-top-left p:nth-of-type(2) {
        font-size: 15.5px;
    }

    .ofr-services-top-left p {
        font-size: 14px;
        line-height: 1.45;
    }

    .ofr-services-top-right {
        opacity: .34;
    }
}

@media (max-width: 390px) {
    .ofr-services-top-left {
        width: min(100% - 34px, 390px);
        padding-top: 34px !important;
        padding-bottom: 38px !important;
    }

    .ofr-services-top-left p:first-of-type {
        font-size: 29px;
    }

    .ofr-services-top-left p:nth-of-type(2) {
        font-size: 15px;
    }

    .ofr-services-whatdo-block,
    .ofr-services-where-block {
        padding-inline: 18px !important;
    }

    .ofr-services-whatdo-block > .wp-block-group__inner-container > p {
        font-size: 24px !important;
    }

    .ofr-services-where-block > .wp-block-group__inner-container > p {
        font-size: 21px !important;
    }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .ofr-services-whatdo-odor,
    .ofr-services-whatdo-source,
    .ofr-services-whatdo-resto,
    .ofr-services-whatdo-envi,
    .ofr-services-where-resi,
    .ofr-services-where-comi,
    .ofr-services-where-car,
    .ofr-services-where-fal,
    .ofr-services-whatdo-ico,
    .ofr-services-where-block .wp-block-image img {
        transition: none !important;
        transform: none !important;
    }
}

/* ============================================================
   WHAT SETS THE SERVICE APART — v20 CLEANUP
   ============================================================ */
.ofr-services-apart-block {
    position: relative;
    z-index: 4;
    width: 100vw;
    margin: 0 0 0 calc(50% - 50vw) !important;
    padding: 22px max(24px, calc((100vw - var(--ofr-max)) / 2 + 24px)) 28px !important;
    color: var(--ofr-blue-deep);
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(103, 194, 71, .045), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-top: 1px solid rgba(2, 20, 47, .08);
    overflow: hidden;
}

.site-main .ofr-services-apart-block > .wp-block-group__inner-container,
.ofr-services-apart-block > .wp-block-group__inner-container {
    width: min(100%, var(--ofr-max));
    max-width: var(--ofr-max);
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Kill the global GeneratePress/Gutenberg 40px padding only inside this section. */
.ofr-services-apart-block .ofr-services-iconrow .wp-block-group__inner-container,
.ofr-services-apart-block .ofr-services-frag .wp-block-group__inner-container,
.ofr-services-apart-block .ofr-services-prof .wp-block-group__inner-container,
.ofr-services-apart-block .ofr-services-clearcom .wp-block-group__inner-container {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ofr-services-apart-block h5,
.ofr-services-apart-block .wp-block-heading {
    margin: 0 0 20px !important;
    padding: 0 !important;
    color: var(--ofr-green-text) !important;
    font-family: var(--ofr-font-head) !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: .045em !important;
    text-align: center !important;
    text-transform: uppercase !important;
}

.ofr-services-apart-block .grntxt {
    color: var(--ofr-green-text) !important;
}

.ofr-services-iconrow {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start !important;
    justify-content: center !important;
    gap: 0;
    width: min(100%, 1220px);
    margin: 0 auto !important;
    padding: 0 !important;
}

.ofr-services-frag,
.ofr-services-prof,
.ofr-services-clearcom {
    position: relative;
    margin: 0 !important;
    padding: 0 30px !important;
    color: var(--ofr-blue-deep);
    text-align: left;
}

.ofr-services-prof,
.ofr-services-clearcom {
    border-left: 1px solid rgba(2, 20, 47, .14);
}

.ofr-services-frag > .wp-block-group__inner-container,
.ofr-services-prof > .wp-block-group__inner-container,
.ofr-services-clearcom > .wp-block-group__inner-container {
    display: grid !important;
    grid-template-columns: 60px minmax(0, 265px);
    column-gap: 16px;
    align-items: start !important;
    justify-content: center !important;
    width: 100%;
}

.ofr-services-frag > .wp-block-group__inner-container > .wp-block-group,
.ofr-services-prof > .wp-block-group__inner-container > .wp-block-group,
.ofr-services-clearcom > .wp-block-group__inner-container > .wp-block-group {
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

.ofr-services-apart-block .wp-block-html {
    align-self: start !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ofr-setapart-icon {
    display: block;
    width: 56px;
    height: 56px;
    margin: 0 !important;
    background-color: var(--ofr-green-text);
    background-image: none !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    transition: transform .22s ease, filter .22s ease;
}

.ofr-services-frag .ofr-setapart-icon {
    -webkit-mask-image: url("https://odorfreerestoration.com/wp-content/themes/generatepress-child/assets/svg/odorfree-leafcircle.svg");
    mask-image: url("https://odorfreerestoration.com/wp-content/themes/generatepress-child/assets/svg/odorfree-leafcircle.svg");
}

.ofr-services-prof .ofr-setapart-icon {
    -webkit-mask-image: url("https://odorfreerestoration.com/wp-content/themes/generatepress-child/assets/svg/odorfree-clipboard.svg");
    mask-image: url("https://odorfreerestoration.com/wp-content/themes/generatepress-child/assets/svg/odorfree-clipboard.svg");
}

.ofr-services-clearcom .ofr-setapart-icon {
    -webkit-mask-image: url("https://odorfreerestoration.com/wp-content/themes/generatepress-child/assets/svg/odorfree-chat.svg");
    mask-image: url("https://odorfreerestoration.com/wp-content/themes/generatepress-child/assets/svg/odorfree-chat.svg");
}

.ofr-services-frag p,
.ofr-services-prof p,
.ofr-services-clearcom p {
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(2, 20, 47, .86) !important;
    font-family: var(--ofr-font-body) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.28 !important;
    text-align: left !important;
}

.ofr-services-frag p:first-of-type,
.ofr-services-prof p:first-of-type,
.ofr-services-clearcom p:first-of-type {
    max-width: 255px;
    margin: 1px 0 6px !important;
    color: var(--ofr-blue-deep) !important;
    font-family: var(--ofr-font-head) !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.04 !important;
    letter-spacing: .018em !important;
    text-transform: uppercase !important;
}

@media (hover: hover) and (pointer: fine) {
    .ofr-services-frag:hover .ofr-setapart-icon,
    .ofr-services-prof:hover .ofr-setapart-icon,
    .ofr-services-clearcom:hover .ofr-setapart-icon {
        transform: translateY(-2px);
        filter: drop-shadow(0 8px 14px rgba(103, 194, 71, .22));
    }
}

@media (max-width: 1180px) {
    .ofr-services-apart-block {
        padding: 24px 34px 26px !important;
    }

    .ofr-services-iconrow {
        width: min(100%, 760px);
        grid-template-columns: 1fr;
    }

    .ofr-services-frag,
    .ofr-services-prof,
    .ofr-services-clearcom {
        padding: 16px 0 !important;
        border-left: 0;
    }

    .ofr-services-frag:first-child {
        padding-top: 0 !important;
    }

    .ofr-services-prof,
    .ofr-services-clearcom {
        border-top: 1px solid rgba(2, 20, 47, .13);
    }

    .ofr-services-frag > .wp-block-group__inner-container,
    .ofr-services-prof > .wp-block-group__inner-container,
    .ofr-services-clearcom > .wp-block-group__inner-container {
        grid-template-columns: 58px minmax(0, 360px);
        column-gap: 16px;
    }
}

@media (max-width: 560px) {
    .ofr-services-apart-block {
        padding: 26px 22px 28px !important;
    }

    .ofr-services-apart-block h5,
    .ofr-services-apart-block .wp-block-heading {
        margin-bottom: 18px !important;
        font-size: 16px !important;
        line-height: 1.12 !important;
    }

    .ofr-services-frag > .wp-block-group__inner-container,
    .ofr-services-prof > .wp-block-group__inner-container,
    .ofr-services-clearcom > .wp-block-group__inner-container {
        grid-template-columns: 1fr;
        justify-items: center;
        row-gap: 8px;
        text-align: center;
    }

    .ofr-setapart-icon {
        width: 58px;
        height: 58px;
    }

    .ofr-services-frag p,
    .ofr-services-prof p,
    .ofr-services-clearcom p,
    .ofr-services-frag p:first-of-type,
    .ofr-services-prof p:first-of-type,
    .ofr-services-clearcom p:first-of-type {
        max-width: 330px;
        text-align: center !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ofr-setapart-icon {
        transition: none !important;
        transform: none !important;
    }
}
