.tiw-wrapper,
.tiw-wrapper * {
    box-sizing: border-box;
}

.tiw-wrapper {
    width: 100%;
    overflow: hidden;
}

.tiw-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.tiw-heading {
    margin: 0;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    color: #8d3fa9;
}

.tiw-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.tiw-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: #ffffff;
    color: #8d3fa9;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    padding: 0;
    transition: all .2s ease;
}

.tiw-next {
    background: #8d3fa9;
    color: #ffffff;
    border-color: #8d3fa9;
}

.tiw-see-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 8px 17px;
    border-radius: 999px;
    background: #8d3fa9;
    color: #ffffff;
    font-size: 13px;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
}

.tiw-carousel {
    position: relative;
    overflow: hidden;
}

.tiw-slide {
    display: none;
    opacity: 0;
    transition: opacity .3s ease;
}

.tiw-slide.is-active {
    display: block;
    opacity: 1;
}

.tiw-slide-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr);
    gap: 34px;
    align-items: stretch;
}

.tiw-small-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
}

.tiw-small-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 155px;
    gap: 18px;
    align-items: center;
    min-height: 95px;
}

.tiw-small-content {
    min-width: 0;
}

.tiw-post-title {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 600;
}

.tiw-post-title a {
    color: #202020;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tiw-excerpt {
    color: #737373;
    font-size: 13px;
    line-height: 1.5;
}

.tiw-small-image,
.tiw-large-image {
    display: block;
    overflow: hidden;
    background: #eeeeee;
}

.tiw-small-image img {
    display: block;
    width: 100%;
    height: 95px;
    object-fit: cover;
}

.tiw-large-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
}

.tiw-large-image img,
.tiw-large-placeholder {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.tiw-small-placeholder,
.tiw-large-placeholder {
    background: #eeeeee;
}

.tiw-small-placeholder {
    display: block;
    width: 100%;
    height: 95px;
}

.tiw-large-title {
    margin-top: 18px;
    font-size: 17px;
}

.tiw-empty {
    padding: 20px;
    background: #f7f7f7;
}

@media (max-width: 1024px) {
    .tiw-slide-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 26px;
    }

    .tiw-small-card {
        grid-template-columns: minmax(0, 1fr) 125px;
    }
}

@media (max-width: 767px) {
    .tiw-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .tiw-actions {
        width: 100%;
    }

    .tiw-see-all {
        margin-left: auto;
    }

    .tiw-slide-inner {
        display: flex;
        flex-direction: column-reverse;
        gap: 24px;
    }

    .tiw-small-list {
        gap: 18px;
    }

    .tiw-small-card {
        grid-template-columns: minmax(0, 1fr) 110px;
        gap: 14px;
    }

    .tiw-small-image img,
    .tiw-small-placeholder {
        height: 75px;
    }

    .tiw-large-image img,
    .tiw-large-placeholder {
        height: 220px;
    }
}
