body {
    font-size: 16px;
    font-family: "Poppins", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    --ef-primary: #007CAD;
    --swiper-theme-color:var(--ef-primary);
    --ef-primary-dark: #005e83;
    --ef-footer: #253741;
    --ef-footer-dark: #005e83;
    --ef-primary-light: #e5f5fc;
    --ef-font: black;
    --ef-font-family: "Poppins", sans-serif;
    --ef-body-width: 1300px;
    --ef-body-width-narrow: 800px;
    --contents-max-width: calc(100% - clamp(20px, 10vw, 40px));
    --contents-max-width-super: calc(100% - clamp(2em, 6vw, 5em));
    --ef-border-radius: 1em;
    --ef-border-radius-small: 0.5em;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
@media screen and (min-width:1920px) {
    body {
        --ef-body-width: 1500px;
        --ef-body-width-narrow: 1000px;
    }
}
@media screen and (max-width:980px) {
    body {
        font-size:clamp(14px, 3vw, 16px);        
    }
}
.site-branding {
    font-family: "Sofia Sans Condensed", sans-serif;
}
.site-branding strong {
    font-weight: 900
}

a, a:hover, a:visited {
    color: var(--ef-primary);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

.page-content, .entry-content, .entry-summary {
    margin: 0;
}

.ef-column-border {
    border-left: 4px solid var(--ef-primary);
    padding: 2em 2em;
}
.ef-column-narrow {
    width: var(--ef-body-width-narrow);
    max-width:var(--contents-max-width);
    margin-right: auto;
    margin-left: auto;
}
.ef-column-wide {
    width: var(--ef-body-width);
    max-width:var(--contents-max-width);
    margin-right: auto;
    margin-left: auto;
}
.ef-column-super-wide {
    width: var(--ef-body-width-super);
    max-width:var(--contents-max-width-super);
    margin-right: auto;
    margin-left: auto;
}
.ef-column-margin {
    margin-top: clamp(40px, 20vw, 80px);
    margin-bottom: clamp(40px, 20vw, 80px);
}
.ef-big-gap {
    column-gap:  clamp(40px, 20vw, 80px);
}
:is(h1,h2,h3,p):first-child {
    margin-top:0;
}
:is(h1,h2,h3,p):last-child {
    margin-bottom:0;
}
.ef-gallery a:not(.jg-entry-visible) {
   opacity: 0;
}
.ef-buttons {
    display: flex;
    gap: 0.5em;
    /* margin: 1em auto; */
    flex-wrap: wrap;
}
.wp-block-button a, .frm_button_submit {
    font-family: var(--ef-font-family);
    border: .1em solid;
    background: var(--ef-primary);
    border-color: var(--ef-primary);
    color: white;
    border-radius: 0.5em;
    font-weight: 400;
    padding: 0.5em 1em 0.45em;
    font-size:1em;
    transition: all .2s ease;
    white-space: nowrap;
}
.wp-block-button-small {
    font-size: clamp(14px, 2vw, 0.75em);
}
.wp-block-button a:hover, .frm_button_submit:hover {
    background: var(--ef-primary-dark);
    border-color: var(--ef-primary-dark);
    text-decoration: none;
}
.wp-block-button.is-style-outline a {
    background: transparent;
    color: var(--ef-primary);    
}
.wp-block-button.is-white a {
    background: white;
    color: var(--ef-primary);
    border-color: white;
}
.wp-block-button.is-style-outline.is-white a {
    border-color: white;
    color: white;
    background: unset;
}
.wp-block-button.is-style-outline a:hover {
    background: var(--ef-primary-light);
    color: var(--ef-primary-dark);    
}
.wp-block-button.is-white a:hover {
    background: rgba(255,255,255,0.9);
    border-color:rgba(255,255,255,0);
    color: var(--ef-primary);
}
.wp-block-button.is-style-outline.is-white a:hover {
    background: rgba(255,255,255,0.1);
    color: white;  
    border-color: white;
}


#masthead {
    position: fixed;
    z-index: 2;
    padding: clamp(10px, 5vw, 20px) 0 0;
    display: flex;
    justify-content: center;
    width: 100%;
    /* max-width: 100vw; */
}

.site-header-contents {
    width: var(--ef-body-width);
    max-width:var(--contents-max-width);
    position: relative;
    padding: clamp(0.5em, 5vw, 1.5em);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-footer-contents {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    flex-wrap: wrap;
    gap: 1em;
}
@media screen and (max-width:990px) {
    .site-footer-contents {
        flex-direction: column
    }
}
.site-footer {
    background: var(--ef-footer);
    /* display: flex; */
    /* flex-wrap: wrap; */
    justify-content: center;
}
.ef-footer-lower {
    background: rgba(0,0,0,0.2);
    flex-grow: 1;
    color: white;
    font-size: 0.7em;
    padding: 1.5em 0;
    text-align: center;
}

.site-header-contents:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(0.2em);
    z-index: -1;
    left: 0;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    border-radius: var(--ef-border-radius);
}

.site-branding {
    display: flex;
    gap: 0.5em;
}

.site-name {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.site-title {
    margin: 0;
    text-transform: uppercase;
    color: black;
    line-height: 1;
    font-size: clamp(1.4em, 7vw, 2em);
    white-space: nowrap;
}
footer .site-name {
    font-size: 12px;
}
footer .site-title {
    color: white;
}

.site-title a {
    color: inherit;
    text-decoration: none;
}

.site-description {
    margin: 0;
    font-size: clamp(0.75em, 1vw, 1em);
    line-height: 1;
    white-space: nowrap;
    line-height: 1;
}
footer .site-description {
    color: white;
    opacity: 0.71;
}
.custom-logo-link {
    width:clamp(25px, 13vw, 64px);
    min-width:clamp(25px, 13vw, 64px);
    max-height: clamp(25px, 13vw, 64px);
}
footer .custom-logo-link {
    width:clamp(25px, 13vw, 45px);
    min-width:clamp(25px, 13vw, 45px);
    max-height: clamp(25px, 13vw, 44px);
}
footer .custom-logo-link img {
    filter:saturate(0) brightness(10);
    opacity:0.3
}

.ef-button, .frm_button_submit {
    display: flex;
    white-space: nowrap;
    background: var(--ef-primary);
    color: white !important;
    text-decoration: none;
    padding: 0.5em 1em 0.45em;
    border-radius: 0.5em;
    font-size:1em;
    /* margin: 0 0.5em; */
    line-height: 1.5;
    transition: all .1s ease
}
.ef-button:hover {
   background:var(--ef-primary-dark); 
    text-decoration: none;
}
.ef-project-content {
    margin: 3em auto;
}
.ef-project-content .ef-buttons {
    margin-top: 2em
}
.ef-project-content + div {
    margin: 80px 0;
}
.ef-project-content > div.ef-columns {
    display: flex;
    align-items: flex-start;
    gap: 2em;
    /* flex-grow: 1; */
    /* flex-wrap: wrap; */
}
@media screen and (max-width:700px) {
    .ef-project-content > div {
         flex-wrap: wrap;
    }
    .ef-project-content > div > img {
        margin: auto;
    }
}
.ef-project-content > div > img {
    flex-grow: 1;
    max-width: 200px;
}
.ef-subtitle {
    display:flex;
    flex-direction: column;
    line-height: 1.2;
    gap: 0.3em
}
.ef-subtitle + p {
    margin-top: 0;
}
.ef-subtitle strong {
    font-size: 0.45em;
    color: var(--ef-primary);
    font-weight:inherit;
}
h2.ef-subtitle strong {
    font-size: 0.55em;
}
.is-white.ef-subtitle strong {
    color: rgba(255,255,255,0.5);
}
.ef-subtitle:after {
    content:'';
    display: block;
    width:100px;
    height:4px;
    background: var(--ef-primary);
    margin: 0.31em auto 0;
}
.is-white.ef-subtitle:after {
    background: rgba(255,255,255,0.5);
}
.has-text-align-left.ef-subtitle:after {
    margin-left: 0
}

/* Services block styles*/
.services-block {
    background: var(--ef-primary);
    position: relative;
}
.services-block:before, .services-block:after {
    content:'';
    display: block;
    position:absolute;
    left: 43%;
    width: 57%;
    height: 100%;
    background: url(https://effortlessideas.com/wp-content/uploads/2025/09/website-mock-02-scaled.jpg);
    background-size: 57% auto;
    background-attachment: fixed;
    background-position:100% 50%;
    top:0;
}
.services-archive:before, .services-archive:after {
left: 50%;
    width: 50%;
     background-size: 50% auto;
}
.services-block:after {
    background: rgba(0,0,0,0.1);
    backdrop-filter:blur(5px);
}
.services-block > div {
    display: flex;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 2em;
    z-index:1
}
.services-block.services-archive > div {
    grid-template-columns: 1fr
}
.ef-services.ef-services_left {
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 6em 0 2em;
}
.services-block.services-archive .ef-services.ef-services_left {
    width: 50%;
    padding-right:2em;
}
.ef-services.ef-services_right {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1em;
    padding: clamp(2em, 6vw, 5em) 0;
    flex-grow: 2;
}
@media screen and (max-width: 950px ) {
    .services-block:before, .services-block:after {
    content:unset;
    }
    .ef-services.ef-services_right {
        position: relative;
    }
    .ef-services.ef-services_right:before, .ef-services.ef-services_right:after {
        content:'';
        display: block;
        position:absolute;
        left: -20px;
        width: calc(100% + 40px);
        height: calc(100% - 5em);
        background: url(https://effortlessideas.com/wp-content/uploads/2025/09/website-mock-02-scaled.jpg);
        background-size: cover;
        background-attachment: fixed;
        background-position:100% 50%;
        top: 5em;
    }
    .ef-services.ef-services_right:after {
        background: rgba(0,0,0,0.1);
        backdrop-filter:blur(5px);
    }
    .services-block:before, .services-block:after {
    left: 70%;
    width: 30%;
    }
    .ef-services.ef-services_left, .services-block.services-archive .ef-services.ef-services_left {
        width: 100%;
        /* padding-right: 2em; */
    }
    .services-block > div {
        grid-template-columns: 1fr;
        
    }
    .ef-services.ef-services_right {
    grid-template-columns: 1fr 1fr 1fr;
        padding-top: 0
    }
    .ef-services.ef-services_right > div {
        z-index:1;
    }
}
@media screen and (max-width: 690px ) {
    .ef-services.ef-services_right {
    grid-template-columns: 1fr 1fr;
    }
    .ef-services.ef-services_right > div {
        z-index:1;
        padding-left: calc(70px + 3em)
    }
    .ef-services.ef-services_right > div .service-icon {
        position: absolute;
        left: 1.5em;
        top: 1.5em;
    }
    .service-title + p {
        margin-bottom: 1em
    }
}
@media screen and (max-width: 500px ) {
    .ef-services.ef-services_right {
    grid-template-columns: 1fr;
    }
}

.services-block.services-archive .ef-services.ef-services_right {
    padding: 0 0 clamp(2em, 6vw, 5em) 0;
}
.service-item, .project-item {
    background: white;
    background: rgba(255,255,255,0.9);
    backdrop-filter:blur(10px);
    border-radius: var(--ef-border-radius);
    padding: 2em;
    box-shadow: 0 .2em .2em rgba(0,0,0,0.1);
    position: relative;
    transition: .2s ease;
}
.service-item:hover, .project-item:hover {
    background: white;
    transform: scale(1.01)
}
.service-icon {
    width:70px;
    margin-bottom: 0.2em;
}
.service-icon a:after, .project-icon a:after, .swiper-slide a:after {
    content:'';
    display:block;
    width:100%;
    height: 100%;
    top:0;
    left:0;
    position: absolute;
    z-index:0;
}
.service-title + p {
    font-size: 14px;
}
/* about stacked gallery */

.ef-stacked-gallery ul {
    display: grid;
    grid-template-columns:1fr 1fr;
    grid-template-rows:auto auto;
    gap:1em;
    margin: 0;
}
.ef-stacked-gallery ul li figure {
    width:100% !important;
    height:100% !important;
}
.ef-stacked-gallery ul li figure img {
    width:unset;
    height:unset;
    object-fit: cover;
    border-radius: var(--ef-border-radius-small);
}

.ef-stacked-gallery ul li:nth-child(1) figure img,
.ef-stacked-gallery ul li:nth-child(4) figure img{
     aspect-ratio: 8 / 9;
}
.ef-stacked-gallery ul li:nth-child(2)> figure {
    display:flex;
    align-items: flex-end;
    padding-right: 2em;
    padding-bottom: 4em;
}
.ef-stacked-gallery ul li:nth-child(3)> figure {
    display:flex;
    align-items: flex-start;
    padding-left: 2em
}

.ef-stacked-gallery ul li:nth-child(2)> figure img,
.ef-stacked-gallery ul li:nth-child(3)> figure img{
     aspect-ratio: 4 / 3;
}

.ef-stacked-gallery ul li:nth-child(4)> figure {
    margin-top: -4em !important;
    margin-bottom: -4em !important
}
/* Projects block styles*/
.projects-block {
    background: #f0f0f0;
    position: relative;
    display: flex;
}
.projects-block:before, .projects-block:after {
    content:'';
    display: block;
    position:absolute;
    left:50%;
    width: 50%;
    height: 100%;
    background: url(https://effortlessideas.com/wp-content/uploads/2025/09/annie-spratt-MChSQHxGZrQ-unsplash.jpg);
    background-size: 50% auto;
    background-attachment: fixed;
    background-position:100% 50%;
    top:0;
}
.projects-block:after {
    left:0;
    width:100%;
    background: rgba(0,0,0,0.01) url(https://effortlessideas.com/wp-content/uploads/2025/09/lowpoly.png);
    backdrop-filter:blur(5px);
    opacity:0.5;
    background-size: cover;
    background-position:0 0
}
.projects-block > div {
    display: flex;
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2em;
    z-index:1;
    /* padding: clamp(2em, 6vw, 5em) 0; */
}
.ef-projects.ef-projects_left {
    /* display: flex; */
    flex-direction: column;
    justify-content: center;
    width: 50%;
    padding-right: 2em;
}
.ef-projects.ef-projects_right {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1em;
    /* padding: clamp(2em, 6vw, 5em) 0; */
    flex-grow: 2;
}
@media screen and (max-width:800px){
    .ef-projects.ef-projects_left {
        width: 100%;
        padding-right: 0;
    }
    .projects-block > div {
        grid-template-columns: 1fr 1.5fr;
    }
    .ef-projects.ef-projects_right {
        grid-template-columns: 1fr
    }
}
@media screen and (max-width:650px){
    .ef-projects.ef-projects_left {
        width: 100%;
        padding-right: 0;
    }
    .projects-block > div {
        grid-template-columns: 1fr;
    }
    .projects-block:before, .projects-block:after {
        content:unset;
    }
}
.project-icon img {
     width: 50%;
    aspect-ratio:3 / 1;
    object-fit: contain
}
.ef-testimonial-content {
    display: grid;
    grid-template-columns:1fr 2fr;
    gap: 2em
}
@media screen and (max-width: 700px) {
    .ef-testimonial-content {
      grid-template-columns:1fr 1.5fr;  
    }
}
@media screen and (max-width: 600px) {
    .ef-testimonial-content {
      grid-template-columns:1fr;  
    }
}
.ef-testimonial-content h1 {
    font-size: 1.3em;
    margin-bottom:0;
}
.ef-testimonial-content h1 + p {
    margin-top: 0.1em;
    font-size: 0.8em;
    opacity: 0.7;
    margin-bottom:0;
    text-align: center;
}
.ef-testimonial-content .ef-column-left {
    display:flex;
    flex-direction: column;
    align-items: center
}
.ef-testimonial-content .ef-column-left * {
    text-align: center;    
}
.ef-testimonial-content .ef-column-left img {
    border-radius:var(--ef-border-radius);
    border-radius:50%;
    aspect-ratio: 1;
    object-fit: cover;
    max-width: clamp(150px, 40vw, 250px);
}
article + .testimonials-block {
    background-image:linear-gradient( #eaedef, white);
    padding-top: clamp(40px, 20vw, 80px);
    padding-bottom: clamp(40px, 20vw, 80px);
    margin-bottom: 0;
}
.ef-relationship {
    border: 1px dashed #ccc;
    padding: 1em;
    border-radius: var(--ef-border-radius-small);
      font-size: 0.8em;
}
.ef-testimonial-content .ef-column-left .ef-button {
    display: inline-flex
}
.ef-quote {
    font-size: 6em;
    font-family: helvetica;
    line-height: 1em
}
.ef-quote:first-child {
    margin-bottom: -0.4em
}
.ef-quote:last-child {
    margin-bottom: -0.4em;
    margin-top: -0.1em;
}
.ef-pre-footer {
    display: flex;
    flex-direction: column;
    color: white;
    padding:4em 2em;
    align-items: center;
    gap: 0.5em;
    position: relative;
    background: url(/wp-content/themes/effortless/images/pages.jpg);
    background-size:cover;
    margin-top: clamp(2px, .5vw, 5px) !important;
}
.ef-pre-footer > * {
    position: relative;
    z-index:1;
    text-align: center;
}
.ef-pre-footer:before, .ef-pre-footer:after {
    content:'';
    position: absolute;
    left:0;
    top:0;
    right:0;
    bottom:0;
    display: block;
    background: red;
}
.ef-pre-footer:before {
    background: var(--ef-primary);
    mix-blend-mode: multiply;
}
.ef-pre-footer:after {
    background:rgba(0,0,0,0.1);
    backdrop-filter: blur(3px)
}

.ef-pre-footer h2 {
    margin:0
}
.ef-pre-footer p {
    margin:0 0 0.5em
}
.ef-pre-footer .ef-buttons > div {
    display: flex;
}
.menu-toggled {
    overflow:hidden;
}