
/* -------------------------------------------------------------------------- */
/*	HOME V2 -> Tobi
/* -------------------------------------------------------------------------- */

.home .row{
    margin: 0!important;
}

figure{
    margin: 0;
}

.trabajo-area-container > .wp-block-blocky-gutenberg-blocks-carousel-slider,
.wp-block-blocky-gutenberg-blocks-carousel-slider > .swiper{
    height: 100%;
}

.trabajo-area-container .swiper{
    overflow: visible!important;
}

.trabajo-area-container .swiper figure img{
    border-radius: 8px;
}

.titulo-area {
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(15px);
    position: absolute;
    right: 20px;
    bottom: -90px;
}

.actividad-productiva .apexcharts-legend.apx-legend-position-right{
    justify-content: center!important;
}

.actividad-productiva div.apexcharts-canvas svg g.apexcharts-slices g.apexcharts-datalabels:first-of-type {
    transform: translate(25px, -20px);
}

.actividad-productiva div.apexcharts-canvas svg g.apexcharts-slices g.apexcharts-datalabels text {
    display:none;
}

.actividad-productiva .apexcharts-slices g:nth-child(7) text{
    display: block!important;
    transform: translate(-45px, 25px);
}


/* HOME CAEME V2 */

body:has(.gb-container) .page-banner.bg-container {
    display: none !important;
}

body:has(.gb-container) main:not(.post) div.container:first-child {
    max-width: unset;
    padding-left: 0px;
    padding-right: 0px;
}

body:has(.gb-container) div.caeme-categories-container {
    max-width: 1140px;
    margin: 0 auto;
}
.header .logo a img{
    height: auto!important;
}
body:has(.gb-container) mark {
    padding: 0 !important;
}

h3.text-border:after {
    border-bottom: 5px solid #00AEEF;
    position: absolute;
    bottom: -40px;
    content: "";
    width: 30%;
    left: 0;
    right: 50%;
}

.bolder-text mark {
    font-weight: 700 !important;
    color: #00aeef !important;
}

blockquote.wp-block-quote {
    border-color: #00AEEF;
}

blockquote.wp-block-quote p {
    line-height: 36px;
}

.story-content {
    /*min-height: 440px;*/
    display: flex;
    flex-direction: column;
}

.cool-timeline-body .swiper-button-next,
.cool-timeline-body .swiper-button-prev {
    display: none !important;
}

.historia-vacunas .ctlb-block-title {
    margin: 0 0 5px !important;
    line-height: 24px;
    font-size: 18px !important;
}

.historia-vacunas .story-details p:not(.timeline-block_desc,.ctlb-block-desc) {
    font-size: 13px!important;
}

.historia-vacunas .story-content {
    padding: 20px 25px;
    cursor: pointer;
}

.post-password-form {
    width: 100%;
    max-width: 500px;
    margin: 20px auto 100px;
    padding: 20px 30px;
    border: 1px solid #c3c3c3;
    border-radius: 3px;
    height: 215px;
}
.caeme-blog-container {
    padding: 40px 0;
    display: flex;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.caeme-blog-post-container {
    position: relative;
    flex: 0 0 calc(33.33% - 16px);
}

.caeme-blog-post-info-md {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.caeme-date {
    color: #8F939F;
    font-size: 12px;
    line-height: normal;
    margin-bottom: 0;
}

.caeme-blog-cat {
    background: #00aeef;
    color: #fff;
    padding: 2px 8px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    margin-bottom: 0;
    font-size: 12px;
    line-height: normal;
}

.caeme-blog-post {
    display: flex;
    flex-direction: column;
    padding-bottom: 24px;
    align-items: flex-start;
    gap: 24px;
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.05);
}

.caeme-blog-post > img {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    max-height: 176px;
    width: 100%;
    object-fit: cover;
}

.caeme-blog-post-title {
    font-weight: 500;
    color: #111827;
    line-height: 23.4px;
    font-size: 18px;
    margin-bottom: 0;
    min-height: 70px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.caeme-blog-post-info {
    width: 100%;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-end;
}

.caeme-blog-container > .swiper-wrapper,
.empresas  .swiper-wrapper{
    margin-bottom: 80px;
}

.caeme-blog-container .swiper-pagination-bullet.swiper-pagination-bullet-active,
.empresas .swiper-pagination-bullet.swiper-pagination-bullet-active,
.trabajo-area-container .swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 40px !important;
    border-radius: 11px;
    background-color: #00AEEF !important;
}

.caeme-blog-container span.swiper-pagination-bullet,
.trabajo-area-container span.swiper-pagination-bullet,
.empresas span.swiper-pagination-bullet{
    width: 16px;
    height: 16px;
    background-color: #CCD4DF !important;
    opacity: 1!important;
}

.caeme-blog-post-info a:after {
    position: absolute;
    inset: 0;
    content: "";
}


.wp-block-blocky-gutenberg-blocks-accordion-item:hover {
    cursor: pointer;
}

.wp-block-blocky-gutenberg-blocks-accordion-item.active .wp-block-blocky-gutenberg-blocks-accordion-item-heading h5 {
    color: #00AEEF;
}

.wp-block-blocky-gutenberg-blocks-accordion-item.active .wp-block-blocky-gutenberg-blocks-accordion-item-heading svg path {
    stroke: #00aeef;
}

.wp-block-blocky-gutenberg-blocks-accordion-item.active {
    border-color: #00aaef;
}

.wp-block-blocky-gutenberg-blocks-accordion-item-heading p {
    margin: 0;
    line-height: 1px;
}

.wp-block-blocky-gutenberg-blocks-accordion-item.active .wp-block-blocky-gutenberg-blocks-accordion-item-content {
    grid-template-rows: 1fr !important;
}

.wp-block-blocky-gutenberg-blocks-accordion-item .wp-block-blocky-gutenberg-blocks-accordion-item-content {
    grid-template-rows: 0fr !important;
    padding: 16px 24px 16px 24px;
}

.wp-block-blocky-gutenberg-blocks-modal .modal-overlay {
    background: rgba(0, 0, 0, 0.5) !important;
}

.wp-block-blocky-gutenberg-blocks-modal div.modal-inner-blocks iframe,
.wp-block-blocky-gutenberg-blocks-modal .modal-content-container {
    width: 840px !important;
    height: 471px !important;
}

.wp-block-blocky-gutenberg-blocks-accordion-item-heading {
    border-bottom: 1px solid #CCD4DF;
    padding: 0 24px 16px 24px;
}

div figure:has(.open-modal):hover {
    cursor: pointer;
}

img.open-modal {
    position: relative;
    z-index: 10;
}

.video-player figure {
    position: relative;
    z-index: 10;
}

.shadow-text {
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.titulo-area h2 > a:after {
    content: "";
    position: absolute;
    inset: 0;
}

figure:has(.open-modal):after {
    content: "";
    width: 100%;
    height: 338px;
    position: absolute;
    left: -22px;
    top: 18px;
    border-radius: 16px;
    background: rgba(149, 205, 209, 0.20);
    backdrop-filter: blur(15px);
}

.custom-swiper-controls .wp-block-blocky-gutenberg-blocks-carousel-slider a:visited{
    color: #fff
}

.custom-swiper-controls .swiper-button-prev{
    bottom: 0;
    top: unset;
    right: calc(0px + 64px)!important;
    width: 40px;
    height: 40px;
    left: unset;
}

.custom-swiper-controls .swiper-button-next{
    bottom: 0;
    top: unset;
    right: calc(0px + 16px);
    width: 40px;
    height: 40px;
}

.custom-swiper-controls .swiper-pagination{
    display: flex;
    justify-content: flex-start;
    padding-left: 16px;
}

.custom-swiper-controls .swiper-button-prev svg,
.custom-swiper-controls .swiper-button-next svg {
    fill: #1E1E1F;
    padding: 12px;
    border: 1px solid #1E1E1F;
    border-radius: 50%;
    height: 100%;
    width: 100%;
}

.custom-swiper-controls .swiper-button-disabled svg {
    fill: #8F939F !important
}

.custom-swiper-controls.wp-block-blocky-gutenberg-blocks-carousel-slider {
    height: var(--swiper-slide-height);
}

.custom-swiper-controls .swiper-pagination-bullet-active{
    width: 40px !important;
    height: 16px;
    border-radius: 11px;
    background: #00aeef !important;
    opacity: 1 !important;
}

.custom-swiper-controls .swiper-pagination-bullet{
    height: 16px;
    width: 16px;
    border-radius: 11px;
    background: #CCD4DF;
    opacity: 1 !important;
}

.home-hero .swiper-button-prev{
    bottom: 0;
    top: unset;
    left: 0;
    width: 40px;
    height: 40px;
}
.home-ensayos-clinicos {
    backdrop-filter: blur(15px);
}

.home-ensayos-clinicos div p+a {
    color: var(--white);
}

.home-ensayos-clinicos div p+a:hover {
    color: #009edb;
    border-color: #009edb;
}

.home-hero .swiper-button-next {
    bottom: 0;
    top: unset;
    left: calc(0px + 48px) !important;
    right: unset;
    width: 40px;
    height: 40px;
}

.home-hero .swiper-pagination{
    justify-content: flex-end;
}

.home-card:hover {
    border-bottom: 4px solid #00aeef;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.home-card:hover .home-card-icon {
    box-shadow: 0 4px 16px 0 rgba(0,174,239,0.32);
    border: 1px solid #8DD2F4;
    transition: box-shadow .5s ease, border .2s ease;
}

.especiales .weber-img {
    border-radius: 16px;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0.15);
}

.especiales.inv-clinica .swiper-slide {
    height: 100% !important;
}


a.about-us:hover svg path {
    stroke: #00aeef;
}

/* 2ND IMG SLIDE HOME*/
.fit-img{
    max-height: 544px;
}

.fit-img #lpbLottiePlayer-1{
    width: 100%;
}
.fit-img img{
    object-fit: cover;
    height: 100%;
}

.fit-img figure{
    height: 100%;
}
.eb-stacked-cards.ebsc-layout-one{
    display: flex;
    flex-direction: column;
    gap: 250px;
}
.hecho-ciencia figure.wp-block-image{
    position: absolute;
    top: -80px;
    right: 0;
}

.open-campaign-caeme:hover{
    cursor: pointer;
}
.open-campaign-caeme:hover h2{
    background: #00aeef;
}

.open-campaign-caeme:hover h2 svg{
    fill: currentColor
}

.open-campaign-caeme:hover h2 svg path{
    stroke: #fff
}

.hecho-ciencia:after{
    border-radius: 16px;
}

.ciclo-img img:not(.active){
    position: absolute;
    top: 0;
    opacity: 0;
    transition: opacity ease-in 300ms;
}

.home-hero a:visited{
    color: #fff;
}

a:hover {
    text-decoration: underline!important;
}

.c-postfooter a:hover {
    text-decoration: none!important;
}


.eb-stacked-cards-wrapper .eb-stacked-cards:not(.ebsc-layout-two):not(.ebsc-layout-three):not(.hide-stacked)>.wp-block-essential-blocks-wrapper .eb-wrapper-outer{
    height: 69vh!important;
    padding: 80px!important;
}

.home-stack-cards p.description{
    border-top: 1px solid #6d7280;
    padding-top: 24px!important;
}

.home-stack-cards div.eb-wrapper-outer:before{
    box-shadow: 0 12px 16px 0 rgba(255,255,255, 0.24);
    /*background: linear-gradient(180deg, rgba(30, 30, 31, 0) 0%, #54565B 77.81%);*/
}

.gb-container h2.argentina-icon .gb-icon svg{
    width: 64px;
    height: 150px;
}
.hover-container {
    display: flex;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 2px solid #00AEEF;
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
    transition: width 0.3s ease;
    white-space: nowrap;
}

.hover-container .icon {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.hover-container .conocer-mas {
    color: #00AEEF;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.3s ease;
    transform: translateX(-10px);
    width: 0;
}

.home-card:hover .hover-container {
    width: 160px;
}

.home-card:hover .hover-container .conocer-mas {
    opacity: 1;
    transform: translateX(0);
}

@media(max-width: 1024px){
    .hecho-ciencia:after{
        background:
                linear-gradient(0deg, rgba(4, 146, 212, 0) 0%, #0078B2 56.66%),
                url('https://www.caeme.org.ar/wp-content/uploads/2025/11/875d8712417b50c175f7c2c1ec024af16e3e873f-2.jpg') !important;
        background-color: rgba(0, 0, 0, 0.2);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;

    }
    .gb-container .wp-block-essential-blocks-pro-stacked-cards .eb-parent-wrapper .eb-wrapper-outer{
        align-items: flex-start;
    }
    .home-hero .wp-block-blocky-gutenberg-blocks-carousel-slider.especiales {
        --swiper-slide-height: 800px!important;
    }
    .custom-swiper-controls.wp-block-blocky-gutenberg-blocks-carousel-slider.especiales{
        height: 780px!important;
    }
    .trabajo-area-container .swiper{
        overflow: hidden!important;
    }
    .eb-infobox-wrapper.eb-infobox-xdpnj .description,
    .eb-infobox-wrapper.eb-infobox-4wf4j .description,
    .eb-infobox-wrapper.eb-infobox-l8qjz .description{
        font-size: 16px;
        line-height: 28px;
    }
    .eb-infobox-wrapper.eb-infobox-l8qjz .title,
    .eb-infobox-wrapper.eb-infobox-4wf4j .title,
    .eb-infobox-wrapper.eb-infobox-xdpnj .title{
        font-size: 24px;
        line-height: 32px;
    }
    #lpbLottiePlayer-1 .lpbLottiePlayer dotlottie-player {
        width: fit-content !important;
    }
    .eb-stacked-cards.ebsc-layout-one{
        gap: 0;
    }
    .eb-parent-eb-wrapper-aauh3{
        height: 55vh!important;
    }
}

@media (min-width: 1024px){
    .caeme-inversion-detalle {
        position: absolute;
        bottom: -75px;
        right: -120px;
    }

    .caeme-inversion-detalle:before {
        content: "";
        height: 3px;
        background: #8dd2f4;
        width: 40px;
        display: block;
        position: absolute;
        left: -50px;
        top: 20px;
    }

    .caeme-inversion-detalle:after {
        content: "";
        width: 3px;
        height: 50px;
        display: block;
        background: #8dd2f4;
        position: absolute;
        left: -50px;
        top: -30px;
    }

    .caeme-inversiones-detalle-punto {
        position: absolute;
        top: -40px;
        left: -56px;
        background: #8dd2f4;
        display: block;
        width: 16px;
        height: 16px;
        border-radius: 50%;
    }

    .caeme-inversion-detalle-top {
        position: absolute;
        top: -180px;
        right: -100px;
    }

    .caeme-inversion-detalle-top .caeme-inversiones-detalle-punto {
        bottom: 20px;
        top: unset;
        left: -70px;
    }

    .caeme-inversion-detalle-top:before {
        content: "";
        height: 3px;
        background: #8dd2f4;
        width: 55px;
        display: block;
        position: absolute;
        left: -63px;
        top: 20px;
    }

    .caeme-inversion-detalle-top:after {
        content: "";
        width: 3px;
        height: 65px;
        display: block;
        background: #8dd2f4;
        position: absolute;
        left: -64px;
        top: 20px;
    }
}
