.wp-block-post-title {display: none;}
.acf-hero {
position: relative;
width: 100vw;
height: 500px;
margin-left: calc(50% - 50vw);
overflow: hidden;
margin-bottom: 220px;
} .acf-hero .hero-bg {
position: absolute;
inset: 0;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
margin-bottom: 100px;
} .acf-hero .hero-box {
position: absolute; top: 410px;
left: calc(50vw - 700px);
transform: translateY(-50%);
background: #E04729;
opacity: 0.8;
padding: 0 30px 50px;
max-width: 400px;
color: #fff;
} .acf-hero .hero-title {
color: #fff;
line-height: 1.1;
font-weight: 500;
font-size: 36px;
} .acf-hero .hero-desc {
color: #fff;
line-height: 1.3;
}
main.wp-block-group, main.wp-block-group .entry-content {
margin: 0;
margin-block-start: 0;
padding-top: 0 !important;
} @media (max-width: 1400px) {
.acf-hero .hero-box {
left:30px;
right: 30px;
max-width: 400px;
width: calc(100% - 60px);
}
}.services-list {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px; padding: 30px;
} .services-list .service-item {
position: relative;
overflow: hidden;
} .services-list .service-item img {
width: 100%;
height: 350px; object-fit: cover; display: block;
} .acf-services-list .service-content {
position: absolute;
min-height: 200px;
bottom: 0;
left: 0;
width: 100%;
padding: 0 1.5rem;
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.acf-services-list .service-content h3 a,
.acf-services-list .service-content h3 a:visited {color: #fff; text-decoration: none;}
.acf-services-list .service-content h3 a:hover,
.acf-services-list .service-content h3 a:target {color: #fff; text-decoration: underline;} .acf-services-list .service-content::before {
content: "";
position: absolute;
inset: 0;
background: #E04729;
opacity: 0.8;
z-index: 0;
} .acf-services-list .service-content h3,
.acf-services-list .service-content .service-text,
.acf-services-list .service-content .service-link {
color: #fff;
position: relative; z-index: 2;
margin: 0.5rem 0;
}
.acf-services-list .service-content .service-text p {padding: 0; margin: 0;}
.acf-services-list .service-link {
display: block;
align-items: center;
gap: 0.5rem; color: #fff;
font-weight: 600;
text-decoration: none;
text-transform: uppercase;
position: relative;
text-align: right;
}
.acf-services-list .service-link:hover {
text-decoration: underline;
}
.acf-services-list .service-link::after {
content: "";
display: inline-block;
width: 17px; height: 15px;
margin-left: 0.5rem;
background-image: url(//mayns.es/wp-content/themes/mayns/assets/images/left.svg); background-size: contain;
background-repeat: no-repeat;
background-position: center;
} @media (max-width: 900px) {
.services-list {
grid-template-columns: 1fr;
}
}.acf-cta {
max-width: 100vw !important; position: relative;
left:0;
right: 0;
margin-left: -50vw !important;
margin-right: -50vw !important;
background: #505860;
} .acf-cta .cta-container {
max-width: 1400px;
margin: 0 auto;
display: flex;
flex-wrap: wrap;
align-items: center;
padding: 60px 30px;
gap: 2rem;
} .acf-cta .cta-content {
flex: 0 0 calc(70% - 2rem); }
.acf-cta .cta-title {
font-size: 1.8rem;
font-weight: 700;
line-height: 1.2;
color: #fff;
margin-bottom: 2rem;
}
.acf-cta .cta-text {
font-size: 1.2rem;
color: #fff;
line-height: 1.6;
} .acf-cta .cta-button-wrapper {
flex: 0 0 25%; display: flex;
justify-content: center;
align-items: center;
} .acf-cta .cta-button {
display: inline-block;
background-color: #fff;
color: #D83718;
font-weight: 700;
text-decoration: none;
padding: 1rem 2rem;
border-radius: 4px;
text-align: center;
text-transform: uppercase;
transition: all 0.3s ease;
}
.acf-cta .cta-button:hover {
background-color: #f2f2f2;
color: #E04729;
} @media (max-width: 900px) {
.acf-cta .cta-container {
flex-direction: column;
text-align: center;
}
.acf-cta .cta-content,
.acf-cta .cta-button-wrapper {
flex: 1 0 100%;
}
.acf-cta .cta-button-wrapper {
margin-top: 1.5rem;
}
}