.mte-latest-magazine {
    background: var(--brand-bg-dark, #252b33);
    color: #ffffff;
}

.mte-latest-magazine__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 34px;
}

.mte-latest-magazine__heading {
    max-width: 520px;
}

.mte-latest-magazine__track-area {
    width: calc(100% + ((100vw - 100%) / 2));
    max-width: none;
}

.mte-latest-magazine__carousel {
    position: relative;
    overflow: hidden;
}

.mte-latest-magazine__carousel .owl-stage-outer {
    overflow: hidden;
}

.mte-latest-magazine__nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    min-height: 40px;
}

.mte-latest-magazine__item {
    display: flex;
    flex-direction: column;
}

.mte-latest-magazine__thumb-link {
    display: block;
}

.mte-latest-magazine__thumb-wrap {
    position: relative;
    margin-bottom: 24px;
}

.mte-latest-magazine__thumb {
    width: 100%;
    height: 204px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

.mte-latest-magazine__thumb--placeholder {
    background: rgba(255, 255, 255, 0.12);
}

.mte-latest-magazine__badge {
    position: absolute;
    left: 12px;
    top: 12px;
    background: rgba(32, 37, 44, 0.78);
    color: #d8dde3;
    border-radius: 8px;
    padding: 6px 11px;
    line-height: 1;
}

.mte-latest-magazine__item-title {
    margin: 0 0 10px;
}

.mte-latest-magazine__item-title a {
    color: #f1f3f5;
    text-decoration: none;
}

.mte-latest-magazine__item-title a:hover {
    color: #ffffff;
}

.mte-latest-magazine__excerpt {
    color: rgba(245, 247, 250, 0.75);
    margin-bottom: 20px;
    min-height: 108px;
}

.mte-latest-magazine__cta {
    margin-top: auto;
    align-self: flex-start;
    color: #f0f4f8;
}

.mte-latest-magazine__cta svg {
    margin-left: 6px;
    margin-right: 0;
    width: 24px;
    height: 24px;
    opacity: 1;
    border: 0;
    border-radius: 0;
    padding: 0;
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.mte-latest-magazine__cta:hover {
    color: #ffffff;
}

.mte-latest-magazine__cta:hover svg {
    transform: rotate(45deg);
}

.mte-magazine-arrow {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    padding: 0;
}

.mte-magazine-arrow:hover {
    opacity: 0.7;
}

.mte-magazine-arrow svg {
    width: 32px;
    height: 32px;
}

.mte-latest-magazine__pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.mte-latest-magazine__pagination .carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.mte-latest-magazine__pagination .carousel-dot.active {
    width: 24px;
    border-radius: 5px;
    background-color: #fff;
}

.mte-latest-magazine__pagination .carousel-dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 991px) {
    .mte-latest-magazine {
        padding: 0;
    }

    .mte-latest-magazine__track-area {
        width: 100%;
    }

    .mte-latest-magazine__header {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .mte-latest-magazine__heading {
        max-width: 100%;
    }

    .mte-latest-magazine__nav {
        justify-content: center;
    }

    .mte-latest-magazine__item-title {
        min-height: 0;
    }

    .mte-latest-magazine__excerpt {
        min-height: 0;
    }
}

@media (max-width: 767px) {
    .mte-latest-magazine__heading--desktop {
        display: none;
    }

    .mte-latest-magazine__heading--mobile {
        display: block;
        max-width: 100%;
    }

    .mte-latest-magazine__heading--mobile .line-title {
        display: inline;
    }

    .mte-latest-magazine__heading--mobile .line-title__text {
        white-space: normal;
    }

    .mte-latest-magazine__nav {
        display: none;
    }

    .mte-latest-magazine__track-area {
        width: 100%;
    }
}