body.page-slug-30-aniversario .content-area {
    margin: 0 !important;
}

body.page-slug-30-aniversario article.page {
    padding-top: 0 !important;
}

body.page-slug-30-aniversario .entry-header {
    display: none;
}

body.page-slug-30-aniversario .site-content > .ast-container {
    max-width: 100%;
    padding: 0;
}

body.page-slug-30-aniversario article.page {
    padding: 0 !important;
}

@media (max-width: 1024px) {
    body.page-slug-30-aniversario .site-content > .ast-container .content-area {
        padding-bottom: 0 !important;
    }
}

@media (max-width: 767px) {
    body.page-slug-30-aniversario .site-content > .ast-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/** HERO **/
.hero-30-anos {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(158.91deg, #272727 12.99%, #000000 38.16%);
}

.hero-30-anos img {
    max-width: 266px;
}

.hero-30-anos h1 {
    font-size: 36px;
    color: white;
    text-align: center;
    text-transform: uppercase;
    font-weight: 900;
    line-height: 110%;

    & span {
        font-size: 40px;
        color: #82B71E;
    }
}

.hero-30-anos p {
    width: 65%;
    font-size: 20px;
    color: white;
    text-align: center;
    font-weight: 400;
    line-height: 110%;

    & span {
        background-color: #82B71E;
        padding: 0 5px;
        font-weight: 700;
    }
}

@media (max-width: 1024px) {

    .hero-30-anos h1 {
        font-size: 30px;

        & span {
            font-size: 36px;
        }
    }
}

@media (max-width: 767px) {

    .hero-30-anos h1 {
        font-size: 28px;
        line-height: 120%;

        & span {
            font-size: 34px;
        }
    }
    
    .hero-30-anos p {
        width: 100%;
        line-height: 120%;
    }
}

/** HISTORIA **/
.historia-30-anos {
    margin-top: 100dvh;
    padding: 0 !important;
}

.historia-30-anos .wp-block-column:first-of-type {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.historia-30-anos p {
    margin-top: 0;
    font-size: 24px;
    font-weight: 400;
    line-height: 110%;
    color: #272727;
}

.historia-30-anos .intro {
    background-color: #82B71E;
    width: fit-content;
    padding: 0 5px;
    font-size: 24px;
    color: white;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 0;
}

.historia-30-anos h2 {
    font-size: 36px;
    color: #82B71E;
    text-transform: uppercase;
    font-weight: 900 !important;
    line-height: 110%;
    margin-top: 0.5rem;
    margin-bottom: 0rem;
}

.historia-30-anos .cita {
    position: relative;
    padding-left: 15px;
    font-style: italic;
    color: #777777;
    width: 90%;
    margin-left: 2dvw;
    background: linear-gradient(
        to right,
        #82B71E 0px,
        #82B71E 10px, 
        #F1F1F1 10px, 
        #F1F1F1 100%
    );
}

.historia-30-anos video {
    width: 100%;
    aspect-ratio: 1 / 1; 
    object-fit: cover;
    display: block;
}

@media (max-width: 1280px) {

    .historia-30-anos .custom-container {
        max-width: none !important;    
    }

    .historia-30-anos .custom-container .wp-block-column:first-of-type {
        padding-left: 2dvw;
        padding-right: 2dvw;
    }
}

@media (max-width: 1024px) {
    .historia-30-anos {
        margin-top: calc(100dvh - 4em);
    }

    .historia-30-anos h2 {
        font-size: 30px;
    }
}

@media (max-width: 820px) {
    .historia-30-anos {
        height: auto; 
    }

    .historia-30-anos .wp-block-columns {
        flex-direction: column-reverse;
    }

    .historia-30-anos .custom-container .wp-block-column:first-of-type {
        padding-top: 3dvh;
        padding-bottom: 5dvh;
    }

    .historia-30-anos video {
        aspect-ratio: unset; 
    }
}

@media (max-width: 767px) {

    .historia-30-anos .custom-container .wp-block-column:first-of-type {
        padding-left: 4dvw;
        padding-right: 4dvw;
    }

    .historia-30-anos p,
    .historia-30-anos .intro {
        font-size: 20px;
    }

    .historia-30-anos h2 {
        font-size: 26px;
    }

/*     .historia-30-anos .cita::before {
        width: 6.5px;
    } */
}

/** HISTORIA 2 **/
.historia2-30-anos {
    height: 866px;
    align-items: flex-start;
    padding-left: 0;
    padding-right: 0;
}

.historia2-30-anos.mobile {
    display: none;
}

.historia2-30-anos .custom-container .wp-block-group__inner-container {
    position: relative;
    width: 48%;    
    margin-top: 9dvh;
    margin-right: -1dvw !important;
}

.historia2-30-anos .custom-container .wp-block-group__inner-container p {
    background-color: #f1f1f1;
    padding: 4dvh 1.5dvw 4dvh 2.25dvw;
    font-size: 24px;
    font-weight: 400;
    line-height: 110%;
    text-align: left;
    background: linear-gradient(
        to right,
        #82B71E 0px,
        #82B71E 20px, 
        #F1F1F1 20px, 
        #F1F1F1 100%
    );
}

/* .historia2-30-anos .custom-container .wp-block-group__inner-container::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;                   
    width: 20px;              
    background-image: url('https://ecoforest.servidor.gal/wp-content/uploads/2025/10/linea_vertical_verde.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;  
} */

@media (max-width: 820px) {

    .historia2-30-anos {
        height: auto;
        padding: 0 0 20dvh 0;
    }

    .historia2-30-anos .custom-container .wp-block-group__inner-container { 
        margin-top: 3dvh;
        width: 60%;
    }

    .historia2-30-anos .custom-container .wp-block-group__inner-container p { 
        padding-left: 35px;   
/*         background-color: rgba(241, 241, 241, 0.7);  */    
    }
/* 
    .historia2-30-anos .custom-container .wp-block-group__inner-container::before {
        width: 28px;
    } */
}

@media (max-width: 767px) {
    .historia2-30-anos {
        display: none;
    }

    .historia2-30-anos.mobile {
        display: flex;
        padding: 15dvh 0 0 0;
        height: 500px;
    }

    .historia2-30-anos .wp-block-cover__image-background {
        object-position: 50% 20% !important;
    }

    .historia2-30-anos .custom-container .wp-block-group__inner-container {
        width: 95%;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .historia2-30-anos .custom-container .wp-block-group__inner-container p {
        font-size: 20px;
        background: linear-gradient(
            to right,
            rgba(130, 183, 30, 1) 0px,   
            rgba(130, 183, 30, 1) 20px, 
            rgba(241, 241, 241, 0.7) 20px, 
            rgba(241, 241, 241, 0.7) 100%
        );
    }

/*     .historia2-30-anos .custom-container .wp-block-group__inner-container::before {
        width: 20px;
    } */
}

/** VIDEO **/
.video-30-anos {
    background: linear-gradient(119.92deg, rgba(130, 183, 30, 0.24) 0.72%, rgba(130, 183, 30, 0) 97%),#000;
}

.video-30-anos >.wp-block-group__inner-container {
    margin-bottom: 5dvh;
}

.video-30-anos p {
    width: 80%;
    font-size: 32px;
    color: white;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    line-height: 110%;
    margin-top: 5dvh;
    margin-bottom: 2.5dvh;
}

@media (max-width: 767px) {
    .video-30-anos .custom-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .video-30-anos p {
        font-size: 24px;
    }
}

/** VALORES **/
.valores-30-anos {
    padding: 10dvh 0 !important
}

.valores-30-anos .custom-container {
    gap: 15px !important;
}

.valores-30-anos h2 {
    text-align: center;
    font-size: 36px;
    color: #82B71E;
    text-transform: uppercase;
    font-weight: 900 !important;
    line-height: 110%;
    letter-spacing: 0.05em;
}

.valores-30-anos h2 span {
    text-decoration: underline;
}

.valores-30-anos h2 + p {
    width: 55%;
    font-size: 24px;
    margin-bottom: 1rem;
    text-align: center;
    color: white;
    font-weight: 400;
    line-height: 110%;
}

.valores-30-anos .valores-cards .wp-block-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    border: 2px solid #82b71e;
    border-radius: 20px;
    padding: 30px 20px;
}

.valores-30-anos .valores-cards .wp-block-column figure {
    margin-bottom: 0;
}

.valores-30-anos .valores-cards .wp-block-column h3 {
    text-align: center;
    font-size: 24px;
    color: #82B71E;
    text-transform: uppercase;
    font-weight: 900 !important;
    line-height: 110%;
    letter-spacing: 0.05em;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.valores-30-anos .valores-cards .wp-block-column p {
    text-align: center;
    color: white;
    font-size: 20px;
    font-weight: 400;
    line-height: 110%;
    margin-top: 0;
}

@media (max-width: 1024px) {
    .valores-30-anos {
        padding: 8dvh 0 !important
    }

    .valores-30-anos h2 {
    font-size: 30px;
    }
}

@media (max-width: 820px) {
    .video-30-anos p {
        width: 100%;
    }

    .valores-30-anos h2 + p {
        width: 75%;
    }
}

@media (max-width: 767px) {
    .valores-30-anos h2 {
        font-size: 26px;
    }

    .valores-30-anos h2 + p {
        font-size: 20px;
        width: 100%;
    }

    .valores-30-anos .valores-cards .wp-block-column h3 {
        font-size: 20px;
    }

    .valores-30-anos .valores-cards .wp-block-column p {
        font-size: 16px;
    }
}

/** CRONOGRAMA **/
.crono-30-anos {
    padding: 10dvh 0 !important
}

.crono-30-anos h2 {
    text-align: center;
    font-size: 36px;
    color: #82B71E;
    text-transform: uppercase;
    font-weight: 900 !important;
    line-height: 110%;
    letter-spacing: 0.05em;
    margin-bottom: 10dvh;
}

.crono-30-anos .momento-cols, 
.crono-30-anos .momento-reverse-cols {
    max-width: 800px;
    margin: 0 auto 40px auto !important;
    gap: 0;
}

.crono-30-anos .momento-cols .col-1, 
.crono-30-anos .momento-reverse-cols .col-2 {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 20px;
}

.crono-30-anos .momento-cols .col-1 h3, 
.crono-30-anos .momento-reverse-cols .col-2 h3 {
    font-size: 20px;
    color: #82B71E;
    text-transform: uppercase;
    font-weight: 700 !important;
    line-height: 100%;
    margin-bottom: 0.5rem;
}

.crono-30-anos .momento-cols .col-1 p, 
.crono-30-anos .momento-reverse-cols .col-2 p {
    font-size: 16px;
    color: #272727;
    font-weight: 400;
    line-height: 100%;
    margin-top: 0;
}

.crono-30-anos .momento-cols .col-2, 
.crono-30-anos .momento-reverse-cols .col-1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 30px; 
}

.crono-30-anos .momento-cols .col-2 p,  
.crono-30-anos .momento-reverse-cols .col-1 p {
    font-size: 32px;
    color: #82B71E;
    font-weight: 700;
    line-height: 100%;
    margin-bottom: 0;
}

.crono-30-anos .momento-cols .col-2 p {
    text-align: left;
    margin-left: 1dvw;
}

.crono-30-anos .momento-reverse-cols .col-1 p {
    text-align: right;
    margin-right: 1dvw;
}

.crono-30-anos .momento-cols .col-1 {
    background: linear-gradient(
        to left,
        #82B71E 0px,
        #82B71E 5px, 
        #F8F8F8 5px, 
        #F8F8F8 100%
    );
}

.crono-30-anos .momento-reverse-cols .col-2 {
    background: linear-gradient(
        to right,
        #82B71E 0px,
        #82B71E 5px, 
        #F8F8F8 5px, 
        #F8F8F8 100%
    );
}

@media (max-width: 1024px) {

    .crono-30-anos {
        padding: 8dvh 0 !important
    }

    .crono-30-anos h2 {
        font-size: 30px;
        margin-bottom: 7dvh;
    }
}

@media (max-width: 820px) {
    .crono-30-anos h2 {
        margin-bottom: 5dvh;
    }
}

@media (max-width: 767px) {
    .crono-30-anos h2 {
        font-size: 26px;
    }

    .crono-30-anos .momento-cols, 
    .crono-30-anos .momento-reverse-cols {
        margin: 0 auto 20px auto !important;
    }

    .crono-30-anos .momento-cols .col-2,  
    .crono-30-anos .momento-reverse-cols .col-1 {
        flex-basis: 50% !important;
    }
    
    .crono-30-anos .momento-cols .col-1,
    .crono-30-anos .momento-reverse-cols .col-2 {
        flex-basis: 50% !important;
    }

    .crono-30-anos .momento-cols .col-2 p,  
    .crono-30-anos .momento-reverse-cols .col-1 p {
        font-size: 28px;
    }

    .crono-30-anos .momento-cols .col-1::after,
    .crono-30-anos .momento-reverse-cols .col-2::before {
        width: 7px;
    }
}

/** FUTURO **/
.futuro-30-anos {
    background-color: black;
    padding-top: 0;
    padding-bottom: 0;
}

.futuro-30-anos .wp-block-column:first-of-type {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.futuro-30-anos p {
    margin-top: 0;
    font-size: 24px;
    font-weight: 400;
    line-height: 110%;
    color: #272727;
}

.futuro-30-anos h2 {
    font-size: 36px;
    color: #82B71E;
    text-transform: uppercase;
    font-weight: 900 !important;
    line-height: 110%;
    margin-top: 0.5rem;
}

.futuro-30-anos figure.mobile {
    display: none;
}

@media (max-width: 1280px) {
    .futuro-30-anos {
        padding-right: 0 !important;    
    }

    .futuro-30-anos .custom-container {
        max-width: none !important;    
    }

    .futuro-30-anos .wp-block-column:nth-of-type(2) {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .futuro-30-anos figure.desktop {
        display: none;
    }

    .futuro-30-anos figure.mobile {
        display: flex;
        margin: 0;
    }
}

@media (max-width: 1200px) {
    .futuro-30-anos {
        padding: 0;
    }
}

@media (max-width: 1024px) {

    .futuro-30-anos .wp-block-column:first-of-type {
        padding-left: 2dvw;
        padding-top: 4dvh;
        padding-bottom: 4dvh;
    }

    .futuro-30-anos h2 {
        font-size: 30px;
    }
}

@media (max-width: 767px) {

    .futuro-30-anos .custom-container {
        flex-direction: column-reverse;
        gap: 0;
    }

    .futuro-30-anos p {
        font-size: 20px;
    }

    .futuro-30-anos h2 {
        font-size: 26px;
    }

    .futuro-30-anos .wp-block-column:first-of-type {
        padding-left: 4dvw;
        padding-right: 4dvh;
    }
}

/** VIDEO 2 **/
.video2-30-anos {
    background-color: black;
}

.video2-30-anos video {
    aspect-ratio: 16/9;
}

@media (max-width: 1280px) {
    .video2-30-anos {
        padding: 0;    
    }

    .video2-30-anos .custom-container {
        max-width: none !important;
        padding: 0;    
    }
}

/** FUTURO 2 **/
.futuro2-30-anos {
    padding: 20dvh 0 28dvh;
}

.futuro2-30-anos p:first-of-type {
    font-size: 36px;
    color: white;
    text-align: center;
    text-transform: uppercase;
    font-weight: 900;
    line-height: 110%;
    margin-bottom: 0.25rem;
}

.futuro2-30-anos p:nth-of-type(2) {
    font-size: 36px;
    color: #82B71E;
    text-align: center;
    text-transform: uppercase;
    font-weight: 900;
    line-height: 110%;
    margin-bottom: 1rem;
}

.futuro2-30-anos p {
    font-size: 20px;
    color: white;
    text-align: center;
    font-weight: 400;
    line-height: 110%;

    & span {
        background-color: #82B71E;
        padding: 0 5px;
        font-weight: 900;
    }
}

@media (max-width: 1024px) {

    .futuro2-30-anos {
        padding: 13dvh 0 17dvh;
    }

    .futuro2-30-anos p:first-of-type {
        font-size: 30px;
    }

    .futuro2-30-anos p:nth-of-type(2) {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .futuro2-30-anos p:first-of-type, 
    .futuro2-30-anos p:nth-of-type(2) {
        font-size: 26px;
    }

    .futuro2-30-anos p:nth-of-type(3) {
        width: 90%;
    }
}

/** BANNER 30 ANIVERSARIO (HOME) **/

.banner-30-aniversario {
    padding: 0 !important;
}

.banner-30-aniversario .wp-block-columns .wp-block-column:first-of-type {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 14dvh 2dvw;
}

.banner-30-aniversario .wp-block-columns .wp-block-column:first-of-type img {
    max-width: 196px;
}

.banner-30-aniversario .wp-block-columns .wp-block-column:first-of-type h2 {
    font-size: 40px;
    font-weight: 900 !important;
    text-transform: uppercase;
    color: white;
    text-align: center;
    line-height: 110%;

    & span {
        color: #82B71E;
    }
}

.banner-30-aniversario .wp-block-columns .wp-block-column:first-of-type p {
    width: 90%;
    font-size: 20px;
    font-weight: 700;
    color: white;
    text-align: center;
    letter-spacing: 0.10em;
    margin: 0;
}

.banner-30-aniversario .wp-block-columns .wp-block-column:first-of-type p:nth-of-type(3) {
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    color: #82B71E !important;
    text-align: center;
    letter-spacing: 0.10em;
    margin-top: 3dvh;
}

.banner-30-aniversario .wp-block-columns .video-col {
    position: relative;
}

.banner-30-aniversario .wp-block-columns .video-col::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0%;
    width: 80%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 1), transparent);
    pointer-events: none;
    z-index: 999;
}

.banner-30-aniversario video {
    width: 100%;
    aspect-ratio: 1 / 1; 
    object-fit: cover;
    display: block;
}

@media (max-width: 1024px) {

    .banner-30-aniversario .wp-block-columns {
        flex-direction: column-reverse; 
    }

    .banner-30-aniversario .wp-block-columns .wp-block-column:first-of-type {
        padding: 10dvh 2dvw;
    }

    .banner-30-aniversario video {
        aspect-ratio: unset; 
    }
}

@media (max-width: 767px) {
    .banner-30-aniversario .wp-block-columns .wp-block-column:first-of-type {
        padding: 50px 25px;
    }

    .banner-30-aniversario .wp-block-columns .wp-block-column:first-of-type h2 {
        font-size: 26px;
    }

    .banner-30-aniversario .wp-block-columns .wp-block-column:first-of-type p {
        width: 100%;
        font-size: 20px;
    }

    .banner-30-aniversario .wp-block-columns .wp-block-column:first-of-type p:nth-of-type(3) {
        font-size: 24px;
    }

    .banner-30-aniversario .wp-block-columns .video-col::before {
        display: none;
    }
}
