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

.site-inner .content {
    width: 100% !important;
}

.pt3 {
    padding-top: 3rem !important;
}

.pt2 {
    padding-top: 2rem !important;
}

.ocultar {
    display: none;
}

/* Estilo general de centrado*/
.centered-column {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

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

.bg-image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /* max-width: 1920px; */
    margin: auto;
    width: 100%;
}

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

section.tipo-abogado {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 26px 1.05em;
    align-items: center;
    padding: 1em 0;
}

section.tipo-abogado a {
    width: 100%;
    display: contents;
}

.abogado-btn-1, .abogado-btn-2, .abogado-btn-3 {
    display: block;
    color: var(--white);
    border-radius: 3em;
    max-width: 200px;
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;

}

.abogado-btn-1 {
    background-color: var(--terciary-green);
}

.abogado-btn-2 {
    background-color: var(--main-green);
}

.abogado-btn-3 {
    background-color: var(--secundary-green);
}

a {
    text-decoration: none;
    display: block;
    width: auto;
    color: unset;
}

.abogados-section .content {
    max-width: 720px;
    margin: auto;
}

.abogados-section .content p, .abogados-section .content strong {
    font-size: 16px;
    color: var(--black);
}

h2.title {
    color: var(--terciary-green);
    font-size: 40px;
    font-weight: 400;
    margin: 0;
}

.abogados-section .content p:last-of-type {
    margin: 0;
}

.abogados-section {
    padding: 1em 15px 2em;
    display: grid;
    gap: 26px;
}

.abogados-section img {
    display: block;
    margin: auto;
}

.informacion-container img {
    display: block;
    margin: auto;
}

.informacion-container p {
    margin: 0;
    color: var(--main-green);
    font-size: 16px;
    font-weight: 700;
}

section.contact-info .content {
    max-width: 720px;
    width: 100%;
    margin: auto;
}

section.contact-info h2 {
    margin: 0 0 20px;
}

section.contact-info .content p {
    font-weight: 400;
    font-size: 16px;
    color: var(--grey);
}

section.informacion-contacto {
    display: grid;
    place-items: center;
    place-content: start center;
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 890px;
    width: 100%;
    margin: 0 auto;
}

.upper-banner.bg-image {
    height: 55px;
}

section.contact-info.centered-column {
    padding: 0 15px 37px;
}

section.contact-info article.contact-info {
    display: grid;
    gap: 1em;
}

section.contact-info article.contact-info img {
    height: 64px;
    width: 70px;
    object-fit: contain;
}

section.contact-info article.contact-info p {
    line-height: 1;
    color: var(--main-green);
    font-size: 15px;
    font-weight: 700;
}

.servicios-legales h2.text-center {
    margin: 0 0 30px;
    font-size: 27px;
    font-weight: 300;
}

article.servicio-legal h3.title {
    color: var(--white);
    font-size: 18px;
    margin: 0;
    text-align: center;
    display: grid;
    grid-template-rows: 1fr 1fr;
    place-content: center;
    place-items: center;
    text-wrap: balance;
}

article.servicio-legal > * {
    width: 220px;
    height: 140px;
}

article.servicio-legal img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

section.servicios-legales {
    background-color: var(--light-green);
    padding: 30px 15px;
}

.servicios-legales-container.centered-column {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px 0;
    place-content: center;
    place-items: center;
}

article.servicio-legal > .image {
    transform: translate(15%, -50%);
}

section.list {
    display: flex;
    flex-flow: row wrap;
    gap: 2em 2em;
    place-items: start center;
    place-content: start center;
    max-width: 1280px;
    place-self: center;
    margin: 0 auto;
}

article.post h3 {
    color: var(--terciary-green);
    font-size: 23px;
    font-weight: 800;
    margin: 0;
}

section.list .content {
    max-width: 250px;
    width: 100%;
}

section.list .content p {
    color: var(--grey);
    font-size: 16px;
    margin: 0;
}

*:has(>section.list) {
    padding: 1em 15px 3em;
}

article.post {
    width: 100%;
    display: grid;
    grid-template-rows: 50px 25px auto;
    place-content: start center;
    place-items: center;
    gap: 15px;
    flex: 0 0 293px;
}

article.post:not(article.post:has(>h3)) {
    grid-template-rows: 25px auto;
}


.separator {
    line-height: 1;
    height: min-content;
    display: block;
}

.separator img {
    display: block;
    height: 100%;
    width: auto;
}

.abogados .principal, .abogados > .secundario > .content-container .abogados-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}


section.abogados .secundario {
    padding: 55px 0;
}

section.abogados .secundario.modified {
    padding: 55px 0 0;
}

.abogados .content-container:has(>.principal) {
    padding: 20px 15px ;
}

.abogados .secundario > .content-container .abogados-container, section.abogados .principal article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
}

section.abogados .secundario {
    display: grid;
    gap: 2em;
}

section.abogados .secundario > .content-container {
    background-color: var(--light-grey);
    padding-right: 15px;
    padding-left: 15px;
}

section.abogados .secundario.modified > .content-container {
    padding-bottom: 2em;
}

section.abogados .secundario > .content-container.pt3.white {
    background-color: white;
    padding-right: 15px;
    padding-left: 15px;
}

section.abogados .secundario article {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2em;
    place-content: start center;
}

section.abogados article h3 {
    color: var(--terciary-green);
    margin: 0 0 20px;
    font-size: 30px;
}

section.abogados article .content p {
    color: var(--grey);
    margin: 0 0 15px;
    font-size: 16px;
    line-height: 1.5em;
}

.darkened {
    background-color: var(--light-grey);
}

.light {
    background-color: var(--white);
}

.listado-casos h2 {
    margin: 0;
    padding: 1em 0 0;
    color: var(--terciary-green);
    font-size: 23px;
    font-weight: 800;
}

.derecho-penal-page .listado-casos h2, .derecho-inmobiliario-page .listado-casos h2 {
    margin: 0 0 2em;
    padding: 0;
}

.listado-casos .casos {
    background-color: var(--light-grey);
}

.listado-casos .casos:nth-of-type(2) {
    background-color: var(--white);
}

.listado-casos .casos > div.light  > article.post,
.listado-casos .casos > div.darkened > article.post {
    max-width: 1280px;
    margin: auto;
    padding: 2em 15px;
}

.listado-casos .casos .casos-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1280px;
    padding: 2em 15px;
    margin: 0 auto;
    text-align: center;
    gap: 3em;
}

.derecho-content > .content {
    padding: 0 15px;
    text-wrap: balance;
}

.content.extra {
    padding: 3em 15px 1em;
}

section.abogados > .content {
    padding: 0 15px !important;
}


/* ARREGLOS BOLA DECORATIVA */

.content.page-content {
    padding: 0 0 16px;
}

.content.page-content p {
    margin: 0;
}

.content.page-content::after {
    content: '';
    display: block;
    position: relative;
    width: 55px;
    height: 55px;
    background-color: var(--main-green);
    top: 42px;
    border-radius: 3em;
    margin: auto;
}

.content.page-content + * > :nth-child(1) {
    padding-top: 2em;
}

section.civilista-content > section {
    padding-top: 2em;
}

/* FORMULARIO */

.gform-footer.gform_footer.top_label {
    place-items: start center !important;
}

.gform-footer.gform_footer.top_label input {
    background-color: var(--terciary-green) !important;
}

form input {
    border-radius: 3em !important;
}

form textarea {
    resize: vertical !important;
    border-radius: 10px !important;
}

label.gfield_label {
    font-size: 14px !important;
    font-weight: 700 !important;
}

@media(max-width: 1080px) {
    .servicios-legales-container.centered-column {
        grid-template-columns: 1fr 1fr;
        max-width: 700px;
        gap: 20px;
    }
}

@media(max-width: 1000px) {
    .abogados .secundario > .content-container .abogados-container, .abogados article {
        grid-template-columns: minmax(0, 500px) !important;
    }

    .abogados .secundario > .content-container .abogados-container, section.abogados .principal article {
        place-content: center;
    }
}


@media(max-width: 840px) {

    .listado-casos .casos .casos-container {
        grid-template-columns: 1fr;
    }

}

@media(max-width: 810px) {
    section.informacion-contacto {
        grid-template-columns: 1fr;
        gap: 2em;
    }
}

@media(max-width: 680px) {
    .servicios-legales-container.centered-column {
        grid-template-columns: 1fr;
        gap: 0;
    }

    article.servicio-legal h3.title {
        padding: 0 15px;
    }

    article.servicio-legal > * {
        width: 100%;
        height: 180px;
    }
}

@media(max-width: 655px) {
    section.list {
        flex-flow: column;
        gap: 3em;
    }

    article.post {
        flex-basis: unset;
        grid-template-rows: 25px 25px auto;
    }

    section.list .content {
        max-width: 400px;
    }
}

@media(max-width: 550px) {
    article.post {
        grid-template-rows: 50px 25px auto;
    }
}

@media(max-width: 520px) {

    article.servicio-legal > .image {
        transform: translate(0, -50%);
    }

    /* article.servicio-legal > * {
        width: 100%;
        height: 234px;
    } */
}

@media(max-width: 330px) {
    /* article.servicio-legal > .image {
        transform: translate(0, -50%);
    } */

    .servicios-legales-container.centered-column {
        gap: 0;
    }
}