.rw-posts-widget .rw-posts-widget__header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
    margin-right: auto;
    max-width: 1216px;
    width: 100%;
}

.rw-posts-widget .rw-posts-widget__header--with-title-text {
    margin-bottom: 12px;
}

.rw-posts-widget .rw-posts-widget__intro {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rw-posts-widget .rw-posts-widget__title-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.rw-posts-widget .rw-posts-widget__title {
    margin: 0;
}

.rw-posts-widget .rw-posts-widget__title-text {
    color: #232833;
    margin: 0;
}

.rw-posts-widget .rw-posts-widget__title-text-row {
    margin-bottom: 48px;
    margin-right: auto;
    max-width: 1216px;
    width: 100%;
}

.rw-posts-widget .rw-posts-widget__title-link {
    color: var(--secondary-color);
    font-size: 14px;
    text-decoration: none;
}

.rw-posts-widget .rw-posts-widget__title-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.rw-posts-widget .rw-posts-widget__subtitle {
    color: #232833;
    font-size: 22px;
    line-height: 1.4;
    margin: 0;
    max-width: 860px;
}

.rw-posts-widget .rw-posts-widget__navigation {
    align-items: center;
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    margin-top: 0;
}

.rw-posts-widget .rw-posts-widget__counter {
    color: #1c212b;
    font-size: 14px;
    line-height: 1;
    margin-right: 4px;
}

.rw-posts-widget .rw-posts-widget__divider {
    margin: 0 4px;
}

.rw-posts-widget .rw-posts-widget__arrow {
    align-items: center;
    background: #C2C7CF;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-size: 20px;
    height: 32px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    transition: all 0.3s ease;
    width: 32px;
}

.rw-posts-widget .rw-posts-widget__arrow:hover {
    background: #73777F;
}

.rw-posts-widget .rw-posts-widget__arrow:focus,
.rw-posts-widget .rw-posts-widget__arrow:focus-visible {
    background: #73777F;
    outline: none;
}

.rw-posts-widget .rw-posts-widget__arrow img {
    display: block;
    height: 12px;
    width: 12px;
}

.rw-posts-widget .rw-posts-widget__arrow--next {
    background: #34618D;
}

.rw-posts-widget .rw-posts-widget__arrow--next:hover {
    background: #0F4A73;
}

.rw-posts-widget .rw-posts-widget__arrow--next:focus,
.rw-posts-widget .rw-posts-widget__arrow--next:focus-visible {
    background: #0F4A73;
}

.rw-posts-widget .rw-posts-widget__carousel {
    margin: 0 -8px;
}

.rw-posts-widget .rw-posts-widget__carousel .glide__track {
    overflow: hidden;
}

.rw-posts-widget .rw-posts-widget__carousel .glide__slides {
    align-items: stretch;
    margin: 0;
    padding: 0;
}

.rw-posts-widget .rw-posts-widget__grid {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rw-posts-widget .rw-posts-widget__grid .rw-posts-widget__card {
    padding: 0;
}

.rw-posts-widget .rw-posts-widget__card {
    display: flex;
    height: auto;
    padding-right: 14px;
}

.rw-posts-widget .rw-posts-widget__card-link {
    background: #F8F9FF;
    border: 1px solid #C2C7CF;
    border-radius: 8px;
    box-sizing: border-box;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 196px;
    padding: 24px 32px;
    text-decoration: none;
    width: 100%;
}

.rw-posts-widget .rw-posts-widget__card-title {
    color: var(--tertiary-color);
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.15px;
    font-weight: 500;
    margin: 0 0 24px 0;
}

.rw-posts-widget .rw-posts-widget__card-category,
.rw-posts-widget .rw-posts-widget__card-date,
.rw-posts-widget .rw-posts-widget__card-cta {
    color: #42474E;
    font-size: 14px;
    font-weight: 500;
}

.rw-posts-widget .rw-posts-widget__card-category {
    margin-bottom: 12px;
}

.rw-posts-widget .rw-posts-widget__card-cta {
    color: #34618D;
}

.rw-posts-widget .rw-posts-widget__card-link:hover .rw-posts-widget__card-cta {
    text-decoration: underline;
}

.rw-posts-widget .rw-posts-widget__card-meta {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    width: 100%;
}

@media (max-width: 1024px) {
    .rw-posts-widget .rw-posts-widget__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .rw-posts-widget .rw-posts-widget__grid {
        grid-template-columns: 1fr;
    }
}
