.site-inner {
    padding: 0 !important;
    width: 100% !important;
    max-width: unset !important;
    margin: 0 !important;
}

.content {
    width: 100% !important;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

span.yellow {
    color: var(--yellow);
}

.banner.bg-image {
    display: grid;
    place-content: center;
    padding: 0 15px;
}

.banner.bg-image.como-lo-hacemos.text-center,
.banner.bg-image.values.text-center {
    position: relative;
}

.banner.bg-image.como-lo-hacemos.text-center::before {
    background-image: url('https://gastroruptivo.com/wp-content/uploads/2026/07/Trazado-802.svg');
    right: 0px;
    top: -400px;
    height: 400px;
    width: 1280px;
    margin: auto;
    background-position: right;
    left: 0;
}

.banner.bg-image.como-lo-hacemos.text-center::before,
.banner.bg-image.values.text-center::after,
.banner.bg-image.values.text-center::before {
    content: "";
    position: absolute;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
}

.banner.bg-image.values.text-center::before {
    left: 0;
    bottom: -70px;
    width: 260px;
    height: 146px;
    background-image: url('https://gastroruptivo.com/wp-content/uploads/2026/07/Grupo-109.svg');
}

.banner.bg-image.values.text-center::after {
    right: 0;
    bottom: -450px;
    width: 142px;
    height: 918px;
    background-image: url('https://gastroruptivo.com/wp-content/uploads/2026/07/Grupo-111.svg');
}

.banner.bg-image.values {
    min-height: 300px;
}

.banner.bg-image.como-lo-hacemos {
    min-height: 500px;
}

.banner.bg-image.como-lo-hacemos .content p {
    filter: drop-shadow(0 0 0 var(--white))
}

.banner.bg-image .content {
    max-width: 1000px;
    margin: auto;
    width: 100%;
}

.banner.bg-image p {
    font-size: 24px;
    margin: 0 0 14px;
    color: var(--white);
    font-family: 'Lora', sans-serif;
}

.banner.bg-image.banner.bg-image.como-lo-hacemos p:first-of-type {
    font-size: 30px;
}

.banner.bg-image.banner.bg-image.como-lo-hacemos img {
    margin-top: 20px;
}

.banner.bg-image.objetivos {
    padding: 2rem 15px;
    min-height: 300px;
}

.banner.bg-image.objetivos .content {
    display: grid;
    gap: 2rem;
}

.banner.bg-image.banner.bg-image.como-lo-hacemos .content {
    display: grid;
    gap: 2rem;
}

.banner.bg-image.banner.bg-image.como-lo-hacemos .content p {
    margin: 0;
}

.banner.bg-image.values .content {
    max-width: 1100px;
    display: grid;
    gap: 2rem;
}

.banner.bg-image.values p {
    font-family: 'Lato', sans-serif !important;
    margin: 0 !important;
    line-height: 1.4;
}

.banner.bg-image p span[style="text-decoration: underline;"] {
    background-color: var(--yellow);
    text-decoration: none !important;
    color: var(--black);
    font-style: italic;
}

.banner.bg-image p em {
    color: var(--yellow);
    text-decoration: none !important;
}

.banner.bg-image p:last-of-type {
    margin: 0;
}

section.landing.puntos a:hover,
section.landing.puntos a:focus,
section.landing.puntos a:active,
section.landing.puntos a,
.banner.bg-image a:hover,
.banner.bg-image a:focus,
.banner.bg-image a:active,
.banner.bg-image a {
    color: var(--black);
    width: 290px;
    padding: 5px 15px 5px 15px;
    background-color: var(--white);
    border-radius: 4rem;
    display: block;
    margin: auto;
    font-family: 'Lora', sans-serif;
    font-weight: 700;
    font-size: 18px;
    position: relative;
    text-align: center;
}

section.landing.puntos a:hover,
section.landing.puntos a:focus,
section.landing.puntos a:active,
section.landing.puntos a {
    color: var(--white);
    background-color: var(--dark-button-bg);
}

section.landing.puntos a::after,
.banner.bg-image a::after {
    content: "";
    display: inline;
    position: absolute;
    right: 10%;
    height: 12px;
    width: 21px;
    background-image: url("https://gastroruptivo.desarrollocrokis.com/wp-content/uploads/2026/07/Grupo-119.svg");
    background-position: center;
    background-size: contain;
    top: 34%;
}

section.landing.puntos a::after {
    background-image: url("https://gastroruptivo.desarrollocrokis.com/wp-content/uploads/2026/07/Grupo-98.svg");
}

section.landing.puntos {
    max-width: 1050px;
    margin: auto;
    width: 100%;
    padding: 3rem 15px;
}

section.landing.puntos h2 {
    font-weight: 700;
    margin: 0 0 20px;
    font-size: 32px;
    position: relative;
    font-family: 'Lora', sans-serif;
}

section.landing.puntos p:has(> span[style="text-decoration: underline;"]) {
    text-align: center;
    text-wrap: balance;
    line-height: 1.4;
}

section.landing.puntos p span[style="text-decoration: underline;"] {
    background-color: var(--yellow);
    text-decoration: none !important;
    color: var(--black);
    font-style: italic;
    text-decoration: none;
    font-size: 24px;
}

section.landing.puntos h2::after {
    content: "";
    background-color: var(--yellow);
    width: 257px;
    height: 47px;
    transform: rotate(-5deg) translate(-15%, -11px);
    inset: 0;
    display: block;
    position: absolute;
    z-index: -1;
    background-position: center;
    background-size: cover;
}

section.landing.puntos article.post:nth-last-of-type(2) {
    text-align: right;
}

section.landing.puntos article.post:nth-last-of-type(2) h2 {
    direction: rtl;
}

.landing.puntos article.post p:last-of-type {
    margin: 0;
}

section.landing.puntos article.post:nth-last-of-type(2) h2::after {
    transform: rotate(-5deg) translate(33%, 0px);
}

.landing.puntos article.post:last-of-type {
    padding: 0 0 4rem;
}

.landing.puntos article.post:not(:last-of-type) {
    padding: 0 0 4rem;
    margin: 0 0 3rem;
    border-bottom: solid 1px #cecece;
    position: relative;
}

.landing.puntos article.post:not(:last-of-type)::after {
    content: "/";
    font-size: 60px;
    display: block;
    position: absolute;
    bottom: -3rem;
    width: 100%;
    text-align: center;
    font-weight: 300;
    font-family: 'Lato', sans-serif;
}

section.landing.intro {
    max-width: 1100px;
    margin: auto;
    width: 100%;
    padding: 4rem 15px 3rem;
}

section.landing.intro p:first-of-type {
    font-size: 24px;
    font-family: 'Lora', sans-serif;
    font-weight: 500;
}

section.landing.intro p:has(>img) {
    margin: 0;
}

section.landing.intro img {
    width: 100%;
    object-fit: cover;
    height: 66px;
}

section.landing.intro p:not(:first-of-type):not(:has(>img)) {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 18px;
}

section.gastro_ruptivo.content-container {
    max-width: 1280px;
    margin: auto;
    width: 100%;
    padding: 6rem 15px 5rem;
    display: grid;
    grid-template-columns: 1fr;
    place-content: start center;
    place-items: start center;
    gap: 6rem;
}

section.gastro_ruptivo.content-container article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

section.gastro_ruptivo.content-container article:nth-of-type(even) {
    direction: rtl;
    text-align: left;
}

section.gastro_ruptivo.content-container article:nth-of-type(even) p {
    direction: ltr;
}

section.gastro_ruptivo.content-container article img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 1;
    position: relative;
}

section.gastro_ruptivo.content-container article .right {
    position: relative;
}

section.gastro_ruptivo.content-container article .right::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 0;
    width: 570px;
    background-color: var(--yellow);
}

section.gastro_ruptivo.content-container article:first-of-type .right::after {
    height: 196px;
    right: -65%;
    top: 30%;
}

section.gastro_ruptivo.content-container article:nth-of-type(2) .right::after {
    height: 246px;
    right: 15%;
    top: -15%;
    width: 845px;
}

section.gastro_ruptivo.content-container article:last-of-type .right::after {
    height: 196px;
    right: -65%;
    top: -15%;
    width: 145%;
}


/* COMO LO HACEMOS */

section.como-hacemos.content-container {
    max-width: 1280px;
    margin: auto;
    width: 100%;
    padding: 6rem 15px 5rem;
    display: grid;
    gap: 30px;
}

section.como-hacemos.content-container article.post .title h2 {
    margin: 0;
    font-weight: 700;
    font-size: 32px;
    font-family: 'Lora', sans-serif;
}

section.como-hacemos.content-container article.post p {
    font-size: 18px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    margin: 0;
}

section.como-hacemos.content-container article.post.full-width {
    padding: 24px;
    background-color: var(--yellow);
}

section.como-hacemos.content-container article.post .right {
    display: grid;
    gap: 1rem;
}

section.como-hacemos.content-container article .reemplazo {
    background-color: var(--yellow);
    font-size: 100px;
    font-weight: 700;
    font-family: 'Lato', sans-serif;
    padding: 15px;
}

section.como-hacemos.content-container article.full-width {
    background-color: var(--yellow);
}

section.como-hacemos.content-container article.full-width .content-container {
    display: grid;
    gap: 1rem;
}

section.como-hacemos.content-container article.post.with-halfs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: left;
}

section.como-hacemos.content-container article.post.with-halfs.izquierda {
    direction: rtl;
}

section.como-hacemos.content-container article.post.with-halfs.izquierda * {
    direction: ltr;
}

section.como-hacemos.content-container article.post.with-halfs:has(.reemplazo) {
    grid-template-columns: 1fr 4fr;
}

section.como-hacemos.content-container article.post.with-halfs .left {
    display: grid;
}

section.como-hacemos.content-container article.post.with-halfs:not(:has(.reemplazo)) img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* GRID */

section.grid-listing {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 195px;
    gap: 40px;
    max-width: 1280px;
    margin: auto;
    width: 100%;
    padding: 6rem 15px 5rem;
    place-content: center;
}

section.grid-listing article.post.yellow-bg.image-container .image {
    display: grid;
    place-items: center;
    place-content: center;
}

section.grid-listing article.post.yellow-bg.image-container .image p {
    margin: 0;
}

.page-objetivos section.grid-listing article.post.black-bg.yellow h2,
article.post.yellow-bg.text-right h2 {
    font-size: 50px;
}

section.grid-listing article.post.yellow-bg {
    background-color: var(--yellow);
    padding: 24px;
}

section.grid-listing article.post h2 {
    font-family: 'Lora', sans-serif;
    font-weight: 700;
    font-size: 32px;
    margin: 0 0 20px;
}

section.grid-listing article.post p {
    margin: 0;
    font-size: 18px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}

section.grid-listing article.post.double {
    grid-column: span 2;
    background-color: var(--yellow);
    padding: 24px;
}

section.grid-listing article.post.simple.yellow-bg .content p,
section.grid-listing article.post.double p {
    font-size: 24px;
    font-style: italic;
    font-family: 'Lora', sans-serif;
    font-weight: 400;
    margin: 0;
}

section.grid-listing article.post.simple.yellow-bg strong {
    white-space: nowrap;
}

/* OBJETIVOS */

section.objetivos-intro.text-center {
    padding: 3rem 15px 2rem;
    background-color: #f2f2f2;
}

section.objetivos-intro.text-center p {
    text-wrap: balance;
}

section.objetivos-intro.text-center p:last-of-type {
    margin: 0;
}

.page-objetivos section.grid-listing {
    gap: 40px;
}

.page-contacto section.grid-listing article:not(.big-square),
.page-objetivos section.grid-listing article,
.page-objetivos section.grid-listing article.post.yellow-bg {
    padding: 20px;
}

.page-objetivos section.grid-listing article:nth-of-type(2),
.page-objetivos section.grid-listing article:nth-of-type(3),
.page-objetivos section.grid-listing article:nth-of-type(5) {
    background-color: var(--yellow);
}

.page-objetivos section.grid-listing article.post {
    grid-column: span 2;
}

.page-objetivos section.grid-listing article.post.black-bg.yellow,
.page-objetivos section.grid-listing article.post.image-container {
    grid-column: span 1;
}

.page-objetivos section.grid-listing article.post.black-bg.yellow {
    color: var(--yellow);
    background-color: var(--black);
}

.page-objetivos section.grid-listing article img {
    object-fit: contain;
    height: auto;
    width: 100%;
    max-height: 155px;
    display: block;
    margin: auto;
}

/* CONTACTO */

.page-contacto .grid-listing {
    gap: 40px 20px;
}

.page-contacto .grid-listing article:nth-of-type(5) {
    background-color: var(--white) !important;
}

.page-contacto .big-square {
    grid-column: span 2;
    grid-row: span 2;
}

section.grid-listing article.post.yellow-bg.image-container .image {
    max-height: 150px;
}

.pagegrid section.grid-listing article.post.yellow-bg.image-container .image img {
    object-fit: contain;
    height: auto;
    width: 100%;
    max-height: 155px;
    display: block;
}

section.texto {
    max-width: 1280px;
    width: 100%;
    margin: auto;
    padding: 5rem 15px 6rem;
}

section.texto h2,
section.texto h3,
section.texto h4,
section.texto h5,
section.texto h6 {
    font-family: 'Lora', sans-serif;
    font-weight: 700;
}

section.texto h2 {
    font-size: 32px;
}

section.texto h3 {
    font-size: 26px;
}

section.texto h4 {
    font-size: 24px;
}

section.texto h5 {
    font-size: 22px;
}

section.texto h6 {
    font-size: 20px;
}

section.texto ul,
section.texto li,
section.texto p,
section.texto em,
section.texto span,
section.texto strong {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 400;
}

section.texto ul {
    padding: revert;
}

section.texto li {
    list-style-type: disc;
}

section.texto p,
section.texto ul {
    margin: 0 0 14px;
}

section.texto strong {
    font-weight: 700;
}


@media(max-width: 1280px) {
    section.grid-listing {
        grid-template-columns: repeat(3, 280px);
    }

    .page-contacto section.grid-listing,
    .page-objetivos section.grid-listing {
        grid-template-columns: repeat(2, 280px);
    }

    .page-objetivos section.grid-listing article.post.black-bg.yellow,
    .page-objetivos section.grid-listing article.post.image-container {
        grid-column: span 2;
    }

}

@media(max-width: 1220px) {
    section.objetivos-intro.text-center br {
        display: none;
    }

    .banner.bg-image.values.text-center::before,
    .banner.bg-image.values.text-center::after {
        display: none;
    }
}

@media(max-width: 1120px) {
    section.landing.intro br,
    .banner.bg-image.values .content br {
        display: none;
    }

    section.landing.intro p {
        text-wrap: balance;
    }

    .banner.bg-image.banner.bg-image.como-lo-hacemos .content p {
        font-size: 18px;
    }

    .banner.bg-image.values p, .banner.bg-image.values span {
        font-size: 20px;
    }

    .banner.bg-image.banner.bg-image.como-lo-hacemos .content p:first-of-type {
        font-size: 25px;
    }
}

@media(max-width: 980px) {

    section.gastro_ruptivo.content-container {
        gap: 3rem;
    }

    section.gastro_ruptivo.content-container article {
        direction: ltr;
        display: flex;
        flex-flow: column-reverse;
        gap: 1rem;
    }

    section.gastro_ruptivo.content-container article .right::after {
        display: none;
    }
}

@media(max-width: 950px) {
    section.grid-listing {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 800px) {
    section.como-hacemos.content-container {
        gap: 40px;
    }

    section.como-hacemos.content-container article.post.with-halfs {
        display: flex;
        flex-flow: column;
        gap: 20px;
    }
    
    section.como-hacemos.content-container article.post.with-halfs.izquierda .right,
    section.como-hacemos.content-container article.post.with-halfs.izquierda .left {
        direction: ltr;
    }
}

@media(max-width: 650px) {
    .page-objetivos section.grid-listing article:not(:nth-of-type(2)):not(:nth-of-type(3)):not(:nth-of-type(5)):not(.yellow-bg):not(.black-bg),
    .page-contacto section.grid-listing article:not(.big-square),
    section.grid-listing article {
        padding: 20px 0;
    }

    section.grid-listing article {
        grid-column: span 2;
    }

    section.grid-listing {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(max-content, 195px);
        gap: 20px 0;
    }

    section.grid-listing article.yellow-bg.text-right,
    section.grid-listing article:has(.separador) {
        width: 100%;
        height: 200px;
    }
}

@media(max-width: 630px) {
    .page-contacto section.grid-listing article:nth-of-type(4),
    .page-contacto section.grid-listing article:nth-of-type(5) {
        display: none;
    }

    .page-contacto section.grid-listing article:not(.big-square) {
        grid-column: span 2;
    }

    .page-contacto section.grid-listing {
        gap: 40px 0;
    }

    .page-contacto section.grid-listing,
    .page-objetivos section.grid-listing {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(max-content, 195px);
        gap: 40px 0;
    }
}

@media(max-width: 580px) {
    section.grid-listing article.post.double {
        grid-column: unset;
    }

    section.grid-listing article.post.double p {
        font-size: 22px;
    }
}

@media(max-width: 460px) {
    .banner.bg-image {
        padding: 1rem 15px;
    }
}