.blocoFenagro {
    background-size: cover;
    padding: 18px 0 41px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.blocoFenagro > .blocoFenagroHeader {
    max-width: 1200px;
    margin: 0 auto 20px auto;
    display: flex;
    justify-content: space-between;
}
.blocoFenagro > .blocoFenagroHeader > a > .logo-fenagro {
    width: 68px;
    height: 66px;
}
.blocoFenagro > .blocoFenagroHeader > a > .patrocinio-sao-joao {
    width: 188px; 
    height: 106px;
}
.blocoFenagroSplide {
    max-width: 678px;
}

.blocoFenagroSplide > .splide__pagination {
    bottom: -50px;
    gap: 5px;
}
.blocoFenagroSplide > .splide__pagination > li > .splide__pagination__page {
    border: 2px solid #DF9853;
    background-color: transparent;
    opacity: 1;
    width: 10px;
    height: 10px;
}
.blocoFenagroSplide > .splide__pagination > li > .splide__pagination__page.is-active {
    background-color: #DF9853;
    opacity: 1;
    width: 12px;
    height: 12px;
}
.blocoFenagroSplide > .splide__arrows > .splide__arrow--prev {
    top: -35px;
    right: 40px;
    left: unset;
    background: none;
    width: 40px;
    height: 40px;
}
.blocoFenagroSplide > .splide__arrows > .splide__arrow--next {
    top: -35px;
    right: -20px;
    background: none;
    width: 40px;
    height: 40px;
}
.blocoFenagroSplide > .splide__arrows > .splide__arrow--prev > svg,
.blocoFenagroSplide > .splide__arrows > .splide__arrow--next > svg {
    width: 45px;
    height: 70px;
    fill: #975b0d;
}
.blocoFenagroSplide > .splide__track > .splide__list > .splide__slide {
    min-width: 211px;
    max-width: 211px;
}
.blocoFenagroSplide > .splide__track > .splide__list > .splide__slide > a {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.blocoFenagroSplide > .splide__track > .splide__list > .splide__slide > a:hover > figure > img {
    transform: scale(1.05);
}
.blocoFenagroSplide > .splide__track > .splide__list > .splide__slide > a > figure {
    width: 100%;
    height: 129px;
    overflow: hidden;
    margin-bottom: 2px;
}
.blocoFenagroSplide > .splide__track > .splide__list > .splide__slide > a > figure > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}
.blocoFenagroSplide > .splide__track > .splide__list > .splide__slide > a > h3 {
    font-family: "Poppins-Regular";
    font-size: 16px;
    line-height: 22px;
    color: #DF9853;
    text-transform: uppercase;
}
.blocoFenagroSplide > .splide__track > .splide__list > .splide__slide > a > h2 {
    font-family: "Poppins-Regular";
    font-size: 18px;
    line-height: 22px;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.blocoFenagroSplide > .splide__track > .splide__list > .splide__slide > a:hover > h2 {
    text-decoration: underline!important;
}

.blocoFenagroVideos {
    width: 100%;
    display: flex;
    max-width: 1240px;
    margin: auto;
    gap: 24px;
    margin-bottom: 42px;
    align-items: center;
}
.blocoFenagroVideos > div:nth-child(2) {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
    max-width: 678px;
}
.blocoFenagroVideos > div:nth-child(2) > p {
    color: #DF9853;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 22px;
    font-family: "Poppins-Bold";
}
.blocoFenagroVideos > .youtube-video {
    width: 100%;
}
.blocoFenagroTopo {
    width: 100%;
    justify-content: space-between;
    display: flex;
    max-width: 1240px;
    padding: 0 20px;
    align-items: center;
    margin: auto;
}
.blocoFenagroTopo a .logo-fenagro {
    width: 68px;
    height: 66px;
}
.blocoFenagroTopo a .patrocinio-sao-joao {
    width: 222px;
    height: 125px;
}
.blocoFenagroTopo > div {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-direction: row;
}
.blocoFenagroTopo > div > a {
    font-family: "Ubuntu-Regular", sans-serif;
    font-size: 16px;
    line-height: 21px;
    letter-spacing: -.32px;
    color: #fff;
    padding: 6px 12px;
    border: 1px solid #df9853;
    border-radius: 6px;
    white-space: nowrap;
}
.blocoFenagroVideos div {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    cursor: pointer;
}
.blocoFenagroVideos div:hover > figure > img {
    transform: scale(1.05);
}
.blocoFenagroVideos div > figure {
    width: 100%;
    height: 484px;
    overflow: hidden;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.blocoFenagroVideos div > figure > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blocoFenagroVideos div > h2 {
    font-family: "Poppins-Regular";
    font-size: 26px;
    line-height: 30px;
    color: #000000;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.blocoFenagroVideos div > h2 > strong{
    font-family: "Poppins-Bold";
}
.blocoFenagroVideos div:hover > h2 {
    text-decoration: underline!important;
}

 #videoLightBoxSaoJoao {
	display: none;
	position: fixed;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	left: 0;
	bottom: 0;
	background-color: rgba(21, 21, 21, 0.8);
	justify-content: center;
	align-items: center;
	z-index: 2;
}

 #videoLightBoxSaoJoao .video {
	width: 90%;
	height: 90%;
	display: flex;
	justify-content: center;
    align-items: center;
}

 #videoLightBoxSaoJoao #videoPlayerSaoJoao {
	display: none;
	max-width: 100%;
    max-height: 100%;
}

 #videoLightBoxSaoJoao #iframePlayerSaoJoao {
	display: none;
	width: 88%;
	height: 100%;
}
.video-sao-joao-play {
    position: absolute; 
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.blocoFenagroVideos .youtube-video .video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    height: 272px;
    box-shadow: 0px 15px 30px #0000004D;
    border-radius: 6px;
}

.blocoFenagroVideos .youtube-video .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.blocoFenagroVideos .youtube-video a {
    font-family: "Poppins-Regular";
    font-size: 22px;
    line-height: 24px;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* CSS para mobile */
@media (max-width: 768px) {
    .blocoFenagroVideos .youtube-video .video-container {
        padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
        height: 0;
        overflow: hidden;
        max-width: 100%;
    }

    .blocoFenagroVideos .youtube-video .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .blocoFenagroVideos .youtube-video a {
        font-size: 18px;
        line-height: 22px;
    }
    .blocoFenagroVideos {
        gap: 32px;
    }
    .blocoFenagroVideos > .blocoFenagroMarcas {
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }
    .blocoFenagroVideos > .blocoFenagroMarcas a .logo-fenagro {
        width: 71px;
        height: 68px;
    }
    .blocoFenagroVideos > .blocoFenagroMarcas a .patrocinio-sao-joao {
        width: 134px;
        height: 76px;
    }
    .blocoFenagroVideos .youtube-video a {
        display: block;
    }
    .blocoFenagroVideos > .blocoFenagroMarcas > .blocoFenagroMarcasTitleVideo {
        display: none;
    }
    .blocoFenagroSplide > .splide__track > .splide__list > .splide__slide > a > h3 {
        color: #fff;
    }
    .blocoFenagroTopo {
        padding: 0;
        align-items: center;
        flex-direction: column;
    }
    .blocoFenagroTopo > div {
        overflow-x: auto;
        width: 100%;
    }
    .blocoFenagroTopo > div::-webkit-scrollbar {
        display: none;
    }
    .blocoFenagroVideos > .youtube-video {
        padding-right: 20px;
    }
}

@media screen and (max-width: 700px) {
    .blocoFenagro {
        padding: 22px 0px 32px 20px;
        grid-column: span 8;
    }
    .blocoFenagro > .blocoFenagroHeader > a > .logo-fenagro {
        width: 71px;
        height: 68px;
    }
    .blocoFenagro > .blocoFenagroHeader > a > .patrocinio-sao-joao {
        width: 134px; 
        height: 76px;
    }

    .blocoFenagroVideos div>h2 {
        font-size: 18px;
        line-height: 22px;
    }

    .blocoFenagroVideos {
        flex-direction: column;
    }

    .blocoFenagroVideos div>figure {
        width: 100%;
        height: 180px;
    }

    .blocoFenagro>.blocoFenagroHeader {
        padding-right: 22px;
    }

    .blocoFenagroSplide > .splide__track > .splide__list {
        margin-left: 0!important;
    }
    .blocoFenagroSplide > .splide__arrows {
        display: none!important;
    }
}