.timeline-swiper .swiper {
    padding-right: 20%;
}

.timeline-grid .e-con-inner>div:nth-child(2) {
    transform: translateY(-1.25rem);
}

.timeline-grid .e-con-inner>div:after {
    content: "";
    position: absolute;
    bottom: 0;
    height: 20px;
    width: 100%;
    left: -1px;
    background-image: repeating-linear-gradient(to right,
            #A4A4A4 0,
            #A4A4A4 1px,
            transparent 1px,
            transparent 10%);
}

.timeline-grid .e-con-inner>div:nth-child(2)::after {
    bottom: auto;
    top: 0px;
}

.timeline-grid .e-con-inner>div:nth-child(2) .elementor-widget-text-editor p:last-child {
    margin-bottom: 0;
}

.timeline-grid .e-con-inner>div:nth-child(2)>div:nth-child(2) {
    margin-top: 4px;
}

.reading-time {
    font-size: var(--e-global-typography-a1da5cd-font-size);
    font-weight: var(--e-global-typography-a1da5cd-font-weight);
    line-height: var(--e-global-typography-a1da5cd-line-height);
    color: var(--e-global-color-699ef64);
}

.mediatraining-grid .elementor-widget-image a {
    display: block;
    position: relative;
}

.mediatraining-grid .elementor-widget-image a img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mediatraining-grid .elementor-widget-video .elementor-wrapper {
    height: 100%;
    aspect-ratio: unset;
}

.mediatraining-grid .elementor-custom-embed-image-overlay::after,
.mediatraining-grid .elementor-widget-image a::after {
    position: absolute;
    content: "";
    z-index: 0;
    background: #00000030;
    background: linear-gradient(180deg, #00000030 0%, rgba(0, 0, 0, 1) 100%);
    inset: 0;
    transition: opacity 0.3s ease;
}

.mediatraining-grid>div:hover .elementor-custom-embed-image-overlay::after,
.mediatraining-grid>div:hover .elementor-widget-image a::after {
    opacity: 0.8;
}

.mediatraining-grid .elementor-widget-image a,
.mediatraining-grid .elementor-custom-embed-image-overlay img {
    aspect-ratio: 1.46 !important;
    height: 100%;
    min-height: 450px;
    width: 100%;
}

.mediatraining-grid .elementor-custom-embed-play {
    z-index: 1;
    width: 74px;
    height: 74px;
    background-color: rgba(255, 255, 255, 0.42);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
}

.practice-filters {
    display: flex;
    gap: 0.5rem 1.2rem;
    flex-wrap: wrap;
    margin-top: 1.875rem;
    margin-bottom: 3.125rem;
    justify-content: center;
}

.practice-examples-section .practice-filter-btn {
    background: #F9F9F9;
    border: 1px solid #D4D4D4;
    color: var(--e-global-color-text);
    padding: 17px 28px;
    border-radius: 999px;
    line-height: 1.11;
    font-size: 1.13rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s ease;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.practice-examples-section .practice-filter-btn:before {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    content: "";
    background-color: var(--e-global-color-1e87f2b);
    z-index: -1;
    transform: translateY(120%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid var(--e-global-color-1e87f2b);
}

.practice-examples-section .practice-filter-btn.active:before {
    transform: translateY(0);
}

.practice-examples-section.loading .practice-examples-cards-grid .practice-card {
    opacity: 0.7;
    -webkit-filter: blur(4px);
    filter: blur(4px);
    pointer-events: none;
}

.practice-examples-section.loading .practice-filters {
    cursor: not-allowed;
}

.practice-examples-section.loading .practice-filters .practice-filter-btn {
    pointer-events: none;
}

.practice-examples-section .practice-filter-btn:hover {
    background-color: #f3f4f6;
    color: var(--e-global-color-1e87f2b);
    border-color: var(--e-global-color-1e87f2b);
}

.practice-examples-section .practice-filter-btn.active {
    background-color: #F9F9F9;
    border-color: transparent;
    color: #ffffff;
}


/* ===============================
   GRID Ã¢â‚¬â€œ ALWAYS 3 COLUMNS
================================ */

.practice-examples-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}


/* ===============================
   CARD
================================ */

.practice-card {
    position: relative;
    min-height: 537px;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #000;
}

/* ===============================
   IMAGE
================================ */

.practice-card-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.practice-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ===============================
   OVERLAY
================================ */

.practice-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.19) 0%, rgba(0, 0, 0, 1) 100%);
    z-index: 1;
}


/* ===============================
   CONTENT CONTAINER (BOTTOM)
================================ */

.practice-card-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 1.875rem;
    overflow: hidden;
    /* KEY */
    height: 100%;
    display: flex;
    align-items: flex-end;
}


/* ===============================
   INNER STACK (MOVES)
================================ */

.practice-card-content-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.45s ease;
    position: static;
}

/* Push extra content below view by default */
.practice-card:not(:hover) .practice-card-content-inner {
    transform: translateY(calc(100% - var(--title-height, 70px) - 5px));
}



/* ===============================
   CATEGORY + TITLE
================================ */

.practice-card-cats {
    margin-bottom: 6px;
}

.practice-card-cat {
    background: #0a3b467a;
    border: 1px solid var(--e-global-color-1e87f2b);
    color: #ffffff;
    padding: 7px 11px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 10px;
}

.practice-card-title {
    color: #ffffff;
    margin-top: 6px;
    margin-bottom: 0;
}


/* ===============================
   EXCERPT
================================ */

.practice-card-excerpt {
    color: rgb(255 255 255 / 80%);
    font-size: 1rem;
    line-height: 1.5;
}


/* ===============================
   DIVIDER
================================ */

.practice-card-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
    margin: 12px 0 10px;
}


/* ===============================
   FOOTER
================================ */

.practice-card-bottom {
    border-top: 1px solid #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 1.25rem;
    margin-top: 1.25rem;
}

.practice-card-footer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.practice-card-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.practice-card-tag {
    color: #b4b4b4;
    font-size: 0.875rem;
    line-height: 1.3;
}

.practice-card-bottom .practice-card-link {
    background-color: var(--e-global-color-accent);
    color: #fff;
    padding: 8px 16px;
    font-size: 16px;
    border-radius: 10px;
    text-decoration: none;
    white-space: nowrap;
}

.practice-card-bottom .practice-card-link::before {
    position: absolute;
    content: "";
    min-height: 800px;
    left: -20px;
    bottom: 0;
    right: -20px;
}

.practice-card-bottom .practice-card-link:hover {
    color: #fff;
}

.practice-card-bottom .practice-card-link::after {
    content: "";
    display: inline-block;
    margin-left: 5px;
    vertical-align: middle;
    width: 22px;
    height: 13px;
    background-image: url(/wp-content/uploads/2025/12/traininig-arrow.svg);
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
    top: -3px;
}


.practice-card-hovered-wrap {
    opacity: 0;
    transition: all 0.3s ease;
}

.practice-card:hover .practice-card-hovered-wrap {
    opacity: 1;
}

.elementor-slideshow__footer {
    display: none !important;
}

.elementor-lightbox .elementor-video-container .elementor-video-landscape iframe,
.elementor-lightbox .elementor-video-container .elementor-video-landscape video {
    background-color: #000;
}



@media (min-width: 1201px) {
    .timeline-swiper .swiper {
        pointer-events: none;
    }
}

@media (max-width: 1440px) {
    .practice-examples-section .practice-filter-btn {
        padding: 14px 25px;
        font-size: 1rem;
    }

    .practice-filters {
        gap: 0.5rem 1rem;
    }

    .practice-card {
        min-height: 475px;
    }
}

@media (max-width: 1200px) {
    .timeline-swiper .swiper {
        padding-right: 0px;
    }

    .practice-examples-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .practice-card-content {
        padding: 1rem 1.5rem 1.5rem;
    }

    .practice-examples-cards-grid {
        gap: 1.25rem;
    }

    .practice-card {
        min-height: 500px;
    }
}

@media (min-width:768px) and (max-width: 1023px) {
    .timeline-swiper .swiper {
        padding-right: 33.33%;
    }
}

@media (max-width: 767px) {
    .timeline-swiper .swiper-wrapper {
        transform: none !important;
        flex-direction: column;
    }

    .timeline-grid .e-con-inner>div:nth-child(2) {
        transform: translateY(0);
    }

    .timeline-grid .e-con-inner>div:after {
        bottom: 1px;
        height: 100%;
        width: 10px;
        left: 0px;
        background-image: repeating-linear-gradient(to bottom,
                #A4A4A4 0,
                #A4A4A4 1px,
                transparent 1px,
                transparent 5%);
    }

    .timeline-grid .e-con-inner>div:nth-child(2)>div:nth-child(2) {
        margin-top: 0;
    }

    .timeline-grid .e-con-inner>div:nth-child(2)::after {
        bottom: 1px;
        top: auto;
    }

    .practice-examples-cards-grid {
        grid-template-columns: 1fr;
    }

    .practice-card-content {
        padding: 1rem 1.5rem 1.5rem;
    }

    .practice-card {
        min-height: 450px;
    }

    .practice-examples-section .practice-filter-btn {
        padding: 8px 15px;
        font-size: 0.875rem;
    }

    .practice-filters {
        gap: 0.5rem;
        margin-top: 1rem;
        margin-bottom: 2rem;
    }

    .practice-card-excerpt {
        font-size: 1rem;
        line-height: 1.4;
    }
}