.splide__slide img {
    vertical-align: bottom;
    margin: 0px 0px 0px 0px;
}

.agro-play {
    background-color: #000000;
    grid-column: span 9;
    grid-row: span 2;
    padding: 30px 70px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.agro-play-wrapper {
    max-width: 1070px;
}

.agro-play *{
    box-sizing: border-box;
}
.agro-play header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 5px;
    align-items: center;
}
.agro-play header > h2{
    color: rgb(255, 255, 255);
    font-family: "GiorgioSans-Regular";
    font-size: 60px;
    margin-left: 15px;
}

.agro-play .link {
    color: rgb(255, 255, 255);
    font-family: "GiorgioSans-Regular";
    font-size: 60px;
}

.agro-play header > h3{
    color: rgb(255, 255, 255);
    font-family: "GiorgioSans-Regular";
    font-size: 49px;
    letter-spacing: 1.5px;
    border-left: 1px solid;
    margin-left: -405px;
    padding-left: 11px;
}

#agro-play-button-mobile {
    display: none;
}

.agro-play-menu-mobile {
    position: absolute;
    min-width: 190px;
    right: 15px;
    z-index: 1;
    padding: 10px;
    background: #F6F6F6;
    border-radius: 5px;
    border: 1px solid #D8D8D8;
    display: none;
    margin-top: 100px
}

.agro-play-menu-mobile .menu-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 5px;
    border-bottom: 1px solid #B1AAAA;
}

#check-agro-play {
    display: none;
}

#check-agro-play:checked ~ .agro-play-menu-mobile {
    display: block;
}

.agro-play-menu-mobile .menu-header b {
    font-weight: bold;
}

.agro-play-menu-mobile .agro-play-menu-list li {
    padding: 5px 0;
    border-bottom: 1px solid #B1AAAA;
}

.yellowbox{
    height: 35px;
    width: 50px;
    background-color: #04272c;
}
.agro-play-container {
    width: 100%;
    display: flex;
    margin-top: 20px;
    flex-direction: row;
    justify-content: space-between;
}
.agro-play-category {
    display: flex;
    flex-direction: row;
}
.agro-play-category a, .agro-play-category button {
    cursor: pointer;
    text-decoration: none;
    color: white;
    padding: 5px 30px;
    border-right: 1px solid rgba(204, 204, 204, 0.431);
    border-left: 1px solid rgba(204, 204, 204, 0.431);
}

.agro-play-active{
    background-color: #07884C;
    color: #ffffff !important;
    border-right: unset !important;
    border-left: unset !important;
}
.agro-play-active:hover{
    background-color: unset;
    color: white;
}
.agro-play-category a, .agro-play-category button:hover{
    cursor: pointer;
    background-color: #04272c;
    color:#ffffff
}

.agro-play-others-box > h2 {
	font-size: 20px;
	line-height: 24px;
}


/* SPLIDE */
.agro-play-splide{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}
.agro-play-slide-box{
   width: 250px;
   height: 100%;
   display: flex;
   flex-direction: column;
   gap: 15px;
}


.agro-play-slide-box .agro-play-others-box-img{
    width: 250px;
    position: relative;
    margin: 0px 0px 0px 0px;
}
.agro-play-slide-box h2 {
    font-family: "GuardianSans-Regular";
    font-size: 20px;
    color: white;
}
.agro-play-splide .splide__slide {
    max-width: 250px;
    min-width: 250px;
}
.agro-play-splide .splide__list {
    display: flex;
    column-gap: 23px;
}

.agro-play-splide.vamos-ler, .agro-play-splide.fala-cidadao, .agro-play-splide.publieditorial, .agro-play-splide.aredenews {
    display: none;
}

.agro-play-splide .splide__pagination {
    display: none !important;
}
.agro-play-splide .splide__arrow{
    top: 50%;
    background:none;
    width: 3em;
}
.agro-play-splide .splide__arrow--prev {
    left: -4em;
}
.agro-play-splide .splide__arrow--next {
    right: -4em;
}
.agro-play-splide .splide__arrow svg {
    fill: #fff;
    height: 6.2em;
    width: 6.2em;
}

.agro-play-splide .splide__veja-mais {
    width: calc(25%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 180px;
    padding-right: 13px;
}

.agro-play-splide .splide__veja-mais .link-veja-mais {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    min-height: 180px;
}

.link-veja-mais .arrow {
    background: #ffffff9e;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.link-veja-mais .veja-mais {
    color: white;
    font-size: 25px;
}

.playicon {
    position: absolute !important;
    top: 60px;
    left: 40%;
    width: 50px !important;
    height: 50px !important;
    filter: brightness(100%) !important;
    cursor: pointer;
}

#lightbox {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: #000000c7;
    top: 0;
    left: 0;
}

@media (max-width:900px){
    .agro-play-category a, .agro-play-category button {
        cursor: pointer;
        color: white;
        padding: 5px 10px;
        white-space: nowrap;
    }
    .agro-play-category {
        display: none;
    }

    #agro-play-button-mobile {
        display: block;
        height: 36px;
    }

    .agro-play header > h2 {
        color: yellow;
        font-family: "GiorgioSans-Regular";
        font-size: 50px;
        padding-right: 5px;
    }
    #lightbox iframe, #lightbox video {
        width: 100vw !important;
        height: calc(100vw - 100px) !important;
    }
}
@media (max-width:700px){
        .agro-play {
        grid-column: span 2;
        grid-row: span 2;
        padding: 20px 20px;
    }
        .agro-play-wrapper {
        max-width: 100%;
    }
    .agro-play header {
        display: flex;
        flex-direction: row;
        overflow: hidden;
        width: 100%;
        justify-content: space-between;
    }
    .agro-play-category a, .agro-play-category button {
        cursor: pointer;
        color: white;
        padding: 5px;
        font-size: 10px;
    }
    .agro-play {
        width: 100%;
    }
    .agro-play header > h2{
        margin-left: 0px;
    }
    .agro-play-splide .splide__list {
        gap: 0;
    }

    .agro-play-splide .splide__arrow--next {
        right: -0.1em;
    }
    .agro-play-splide .splide__arrow--prev {
        left: -0.1em;
    }
    .agro-play-splide .splide__arrow svg {
        fill: #fff;
        height: 2.2em;
        width: 2.2em;
    }
    .agro-play-splide .splide__arrow{
        top: 43%;
    }
    .agro-play-slide-box {
        width: 100%;
    }
    .agro-play-splide .splide__slide {
        max-width: unset;
        min-width: unset;
        justify-content: center;
        display: flex;
    }
    .agro-play-slide-box .agro-play-others-box-img {
        height: 100%;
        width: 100%;
    }
    .agro-play-category a, .agro-play-category button {
        cursor: pointer;
        font-size: 11px;
    }
    .agro-play header > h3{
        border-left: 1px solid;
        margin: 14px 0px 0px 0px;
        padding: 0px 0px 0px 10px;
        font-size: 30px;
    }
    
    .playicon {
        position: absolute !important;
        top: 85px;
        left: 38%;
        width: 80px !important;
        height: 80px !important;
        filter: brightness(100%) !important;
        cursor: pointer;
    }

    /* Ajuste global para imagens no Splide (Correção iOS) */
.splide__slide img {
    vertical-align: bottom;
    margin: 0;
    width: 100%;
    height: auto; /* Essencial para iPhone não achatar a imagem */
    object-fit: cover; /* Garante que a imagem preencha o espaço sem esticar */
    aspect-ratio: 250 / 165; /* Mantém a proporção correta */
}

.agro-play {
    background-color: #000000;
    padding: 30px 70px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.agro-play-wrapper {
    max-width: 1070px;
    width: 100%;
}

.agro-play * {
    box-sizing: border-box;
}

.agro-play header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 5px;
    align-items: center;
    margin-bottom: 20px;
}

.agro-play header > h2, .agro-play .link {
    color: rgb(255, 255, 255);
    font-family: "GiorgioSans-Regular";
    font-size: 60px;
    text-decoration: none;
}

#agro-play-button-mobile {
    display: none;
}

.agro-play-menu-mobile {
    position: absolute;
    min-width: 190px;
    right: 15px;
    z-index: 10;
    padding: 10px;
    background: #F6F6F6;
    border-radius: 5px;
    border: 1px solid #D8D8D8;
    display: none;
    margin-top: 100px;
}

#check-agro-play:checked ~ .agro-play-menu-mobile {
    display: block;
}

.agro-play-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.agro-play-category {
    display: flex;
    flex-direction: row;
}

.agro-play-category button {
    cursor: pointer;
    text-decoration: none;
    color: white;
    padding: 5px 30px;
    background: transparent;
    border: none;
    border-right: 1px solid rgba(204, 204, 204, 0.4);
    border-left: 1px solid rgba(204, 204, 204, 0.4);
    font-size: 14px;
    transition: 0.3s;
}

.agro-play-active {
    background-color: #07884C !important;
    color: #ffffff !important;
    border: none !important;
}

.agro-play-category button:hover {
    background-color: #04272c;
}

/* SPLIDE BOX */
.agro-play-slide-box {
    width: 250px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}

.agro-play-slide-box h2 {
    font-family: "GuardianSans-Regular";
    font-size: 18px;
    line-height: 1.2;
    color: white;
    margin: 0;
}

/* ÍCONE DE PLAY - Centralização Robusta para iOS */
.playicon {
    position: absolute !important;
    top: 82.5px; /* Metade da altura da imagem (165/2) */
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 50px !important;
    height: 50px !important;
    z-index: 5;
    pointer-events: none; /* Deixa o clique passar para o link do artigo */
}

/* VEJA MAIS */
.agro-play-splide .splide__veja-mais {
    display: flex;
    justify-content: center;
    align-items: center;
}

.link-veja-mais {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.link-veja-mais .arrow {
    background: #ffffff9e;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
}

.veja-mais-text {
    color: white;
    font-size: 16px;
}

/* MEDIA QUERIES - MOBILE */
@media (max-width: 900px) {
    .agro-play-category { display: none; }
    #agro-play-button-mobile { display: block; }
    .agro-play { padding: 30px 20px; }
    
    .agro-play header > h2 {
        font-size: 40px;
    }
}

@media (max-width: 700px) {
    .agro-play-splide .splide__slide {
        max-width: 100%;
        min-width: 100%;
        width: 100%;
    }

    .agro-play-slide-box {
        width: 100%;
        padding: 0 10px;
    }

    .playicon {
        top: 50% !important; /* Em telas fluidas, usa o centro do container de imagem */
        width: 70px !important;
        height: 70px !important;
    }

    .agro-play-splide .splide__arrow svg {
        height: 2.5em;
        width: 2.5em;
    }
}
/* Para celulares pequenos (iPhone SE, modelos antigos) */
@media (max-width: 380px) {
    .agro-play header > h2 {
        font-size: 32px; /* Diminui um pouco o título para não quebrar linha */
    }
}

/* Para celulares grandes e médios (iPhone Pro Max, Plus, Androids grandes) */
@media (min-width: 381px) and (max-width: 480px) {
    .agro-play header > h2 {
        font-size: 40px;
    }
    
}
}