.rtc-wrapper {
    width: 100%;
    margin: 0 0 2rem;
}

.rtc-heading {
    margin: 0 0 1.25rem;
    font-size: 2.375rem;
    font-weight: 800;
    color: #1f2a37;
    line-height: 1.25;
}

.rtc-carousel {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.rtc-track-viewport {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.rtc-track-viewport::-webkit-scrollbar {
    display: none;
}

.rtc-track {
    display: flex;
    gap: 2rem;
}

.rtc-wrapper:not(.rtc-has-carousel) .rtc-track {
    flex-wrap: wrap;
}

.rtc-card {
    flex: 0 0 calc((100% - 4rem) / 3);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

.rtc-card-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #e5e7eb;
}

.rtc-card-thumb img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    display: block;
    transition: transform 0.35s ease;
}

.rtc-card-thumb:hover img {
    transform: scale(1.06);
}

.rtc-card-thumb-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e5e7eb;
}

.rtc-card-body {
    padding-top: 0.9rem;
}

.rtc-card-date {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9aa1ab;
    margin-bottom: 0.5rem;
}

.rtc-card-title {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    color: #1f2a37;
}

.rtc-card-title a {
    color: inherit;
    text-decoration: none;
}

.rtc-card-title a:hover {
    text-decoration: underline;
}

.rtc-card-excerpt {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6b7280;
}

.rtc-arrow {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    background-color: #fff;
    color: #1f2a37;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: opacity 0.15s ease, background-color 0.15s ease;
}

.rtc-arrow:hover {
    background-color: #f3f4f6;
}

.rtc-arrow.is-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

@media screen and (max-width: 1023px) {
    .rtc-card {
        flex: 0 0 calc((100% - 2rem) / 2);
    }
}

@media screen and (max-width: 767px) {
    .rtc-card {
        flex: 0 0 100%;
    }

    .rtc-wrapper:not(.rtc-has-carousel) .rtc-track {
        gap: 1.5rem;
    }
}
