:root {
    --cfr-home-radius: 12px;
    --cfr-home-radius-small: 8px;
    --cfr-home-gap: 16px;
}

/* Homepage ticket hero. */
body.home .cfr-home-hero,
body.page-template-pagina-principala .cfr-home-hero {
    isolation: isolate;
    height: auto;
    min-height: 330px;
    margin-bottom: -24px;
    background-position: center 55%;
}

body.home .cfr-home-hero::before,
body.page-template-pagina-principala .cfr-home-hero::before {
    z-index: -2;
    background: rgba(0, 70, 144, .5);
    background: linear-gradient(#004ba0 0%, rgba(0, 70, 144, .5));
}

body.home .cfr-home-hero::after,
body.page-template-pagina-principala .cfr-home-hero::after {
    content: none;
}

body.home .cfr-home-hero .cfr-home-hero__content,
body.page-template-pagina-principala .cfr-home-hero .cfr-home-hero__content {
    display: flex;
    width: min(840px, calc(100% - 32px));
    margin: 0 auto;
    padding: 90px 0 82px;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

body.home .cfr-home-hero h1,
body.page-template-pagina-principala .cfr-home-hero h1 {
    margin: 0 0 10px;
    color: #fff;
    font-family: "Roboto", Arial, sans-serif !important;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.08;
    text-shadow: 0 3px 18px rgba(0, 25, 58, .3);
    text-wrap: balance;
}

.cfr-home-hero__description {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, .92);
    font-family: "Roboto", Arial, sans-serif !important;
    font-size: 17px;
    line-height: 1.55;
}

body.home .cfr-ticket-actions,
body.page-template-pagina-principala .cfr-ticket-actions {
    display: flex;
    width: 100%;
    max-width: 520px;
    gap: 12px;
    justify-content: center;
    margin: 25px auto 0;
}

body.home .cfr-home-hero .track-cumpara,
body.page-template-pagina-principala .cfr-home-hero .track-cumpara {
    display: inline-flex;
    flex: 1 1 0;
    min-width: 0;
    min-height: 50px;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    margin: 0;
    padding: 12px 15px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-family: "Roboto", Arial, sans-serif !important;
    font-size: 15px;
    line-height: 1.2;
    box-shadow: 0 10px 24px rgba(0, 20, 49, .24);
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

body.home .cfr-home-hero .track-cumpara:first-child,
body.page-template-pagina-principala .cfr-home-hero .track-cumpara:first-child {
    background: linear-gradient(90deg, #cc3d0d, #b93209);
}

body.home .cfr-home-hero .track-cumpara:last-child,
body.page-template-pagina-principala .cfr-home-hero .track-cumpara:last-child {
    border-color: rgba(255, 255, 255, .58);
    background: rgba(0, 55, 113, .72);
    backdrop-filter: blur(7px);
}

body.home .cfr-home-hero .track-cumpara:hover,
body.home .cfr-home-hero .track-cumpara:focus-visible,
body.page-template-pagina-principala .cfr-home-hero .track-cumpara:hover,
body.page-template-pagina-principala .cfr-home-hero .track-cumpara:focus-visible {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 20, 49, .32);
}

.cfr-home-hero__action-icon,
.cfr-home-hero__action-arrow {
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
}

.cfr-home-hero__action-arrow {
    width: 17px;
    height: 17px;
    margin-left: auto;
}

@media (max-width: 575px) {
    body.home .cfr-home-hero,
    body.page-template-pagina-principala .cfr-home-hero { min-height: 390px; }
    body.home .cfr-home-hero .cfr-home-hero__content,
    body.page-template-pagina-principala .cfr-home-hero .cfr-home-hero__content { padding: 79px 0 70px; }
    body.home .cfr-home-hero h1,
    body.page-template-pagina-principala .cfr-home-hero h1 { margin-top: 0; font-size: 35px; line-height: 1.1; }
    .cfr-home-hero__description { font-size: 15px; }
    body.home .cfr-ticket-actions,
    body.page-template-pagina-principala .cfr-ticket-actions { max-width: 340px; flex-direction: column; gap: 9px; margin-top: 20px; }
    body.home .cfr-home-hero .track-cumpara,
    body.page-template-pagina-principala .cfr-home-hero .track-cumpara { width: 100%; flex-basis: auto; }
}

body.home,
body.page-template-pagina-principala,
body.home button,
body.home input,
body.home select,
body.home textarea,
body.page-template-pagina-principala button,
body.page-template-pagina-principala input,
body.page-template-pagina-principala select,
body.page-template-pagina-principala textarea,
.cfr-home-menu-label {
    font-family: 'Roboto', Arial, sans-serif !important;
}

.cfr-articles-carousel,
.cfr-article-card,
.cfr-article-card__content,
.cfr-article-card__actions,
.cfr-native-share {
    font-family: 'Roboto', Arial, sans-serif !important;
}

.cfr-articles-carousel,
.cfr-article-card,
.cfr-article-card__content,
.cfr-article-card__actions {
    line-height: 1.45;
}

/* Local Lucide icons. */
.boxMersdeTren .cfr-icon,
.meniu-comercial .cfr-icon,
.homepage-content-column .cfr-icon {
    display: inline-block;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -0.16em;
}

.boxMersdeTren .btnMersdeTren {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--cfr-home-radius) var(--cfr-home-radius) 0 0;
    box-shadow: none;
}

.boxMersdeTren .btnMersdeTren[aria-expanded="false"] {
    border-radius: var(--cfr-home-radius);
}

.cfr-home-heading-icon {
    width: 20px;
    height: 20px;
}

.cfr-home-swap-icon {
    width: 23px;
    height: 23px;
}

.cfr-intl-result-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: middle;
}

.cfr-intl-result-icon--city {
    color: #c9360d;
}

.cfr-intl-result-icon--station {
    color: #33475b;
}

#swap > .cfr-home-swap-icon,
#intl-swap > .cfr-home-swap-icon {
    transform: none;
}

.cfr-station-swap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% + 30px);
    min-width: 44px;
    height: 90px;
    margin-left: -15px;
    padding: 0;
    border: 0;
    color: #263746;
    background: transparent;
    cursor: pointer;
}

.inf-destinatie::before,
#plecare .inf-destinatie::before {
    display: none;
    content: none;
}

.inf-destinatie {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.cfr-home-date-direction-icon {
    width: 16px;
    height: 16px;
    color: #b93209;
}

.cfr-home-calendar-icon {
    width: 30px;
    height: 30px;
    margin-right: 4px;
    color: #26323d;
    opacity: 1;
    stroke-width: 2.2;
    shape-rendering: geometricPrecision;
}

.btn-setari-avansate {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #b8cee5;
    border-radius: var(--cfr-home-radius-small);
    background: #f4f8fc;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    text-align: center;
}

.btn-setari-avansate .cfr-home-settings-icon {
    width: 17px;
    height: 17px;
    margin-right: 0;
    color: #0057a8;
}

.btn-setari-avansate[aria-expanded="true"] .cfr-home-settings-icon {
    transform: none;
}

.btn-setari-avansate:hover,
.btn-setari-avansate:focus-visible,
.btn-setari-avansate[aria-expanded="true"] {
    border-color: #6e9cca;
    background: #eaf3fb;
    box-shadow: 0 0 0 3px rgba(0, 87, 168, .08);
}

.cfr-advanced-toggle__show,
.cfr-advanced-toggle__hide {
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif !important;
    line-height: 1.25;
}

.cfr-advanced-toggle__hide {
    display: none;
}

.btn-setari-avansate[aria-expanded="true"] .cfr-advanced-toggle__show {
    display: none;
}

.btn-setari-avansate[aria-expanded="true"] .cfr-advanced-toggle__hide {
    display: inline;
}

.cfr-advanced-toggle__chevron {
    width: 17px;
    height: 17px;
    transition: transform .2s ease;
}

.btn-setari-avansate[aria-expanded="true"] .cfr-advanced-toggle__chevron {
    transform: rotate(180deg);
}

.cfr-advanced-panel,
.cfr-advanced-section,
.cfr-advanced-options,
.cfr-advanced-time-row,
.cfr-advanced-toggle__show,
.cfr-advanced-toggle__hide {
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif !important;
}

#setariAvansate .card.card-body.cfr-advanced-panel,
#intlSetariAvansate .card.card-body.cfr-advanced-panel {
    display: grid;
    gap: 10px;
    margin: 8px 0 4px;
    padding: 10px !important;
    border: 1px solid #d6e4f1;
    border-radius: var(--cfr-home-radius-small);
    background: #f2f7fb;
    box-shadow: none;
    font-size: 13px;
    line-height: 1.4;
}

.cfr-advanced-section {
    padding: 12px;
    border: 1px solid #dce8f3;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 7px rgba(0, 67, 133, .05);
}

.cfr-advanced-section h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    padding: 0;
    color: #004b91;
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .2px;
    text-transform: none;
}

.cfr-advanced-section h3 .cfr-icon {
    width: 18px;
    height: 18px;
    color: #b93209;
}

#setariAvansate .cfr-advanced-section .form-group,
#intlSetariAvansate .cfr-advanced-section .form-group {
    margin: 0 !important;
    padding: 0;
    border: 0;
}

.cfr-advanced-time-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 8px;
}

#setariAvansate .cfr-advanced-section .form-control-sm,
#intlSetariAvansate .cfr-advanced-section .form-control-sm {
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 8px 34px 8px 11px;
    border: 1px solid #bfd2e5;
    border-radius: 7px;
    background-color: #fff;
    color: #263645;
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif !important;
    font-size: 13px;
}

#setariAvansate .cfr-advanced-section input.form-control-sm,
#intlSetariAvansate .cfr-advanced-section input.form-control-sm {
    padding-right: 11px;
}

#setariAvansate .cfr-advanced-section .form-control-sm:focus,
#intlSetariAvansate .cfr-advanced-section .form-control-sm:focus {
    border-color: #1976c9;
    box-shadow: 0 0 0 3px rgba(0, 87, 168, .11);
}

#setariAvansate .cfr-advanced-options .form-check {
    margin: 0 0 6px;
    padding: 0;
}

#setariAvansate .cfr-advanced-options .form-check:last-child {
    margin-bottom: 0;
}

#setariAvansate .cfr-advanced-options .form-check-label {
    position: static;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid #e0e9f2;
    border-radius: 7px;
    background: #f9fbfd;
    color: #314559;
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif !important;
    font-size: 13px;
    line-height: 1.3;
    transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}

#setariAvansate .cfr-advanced-options .form-check-label:hover {
    border-color: #9ebddd;
    background: #f1f7fc;
    color: #004b91;
}

#setariAvansate .cfr-advanced-options .form-check-label:focus-within {
    border-color: #1976c9;
    background: #f1f7fc;
    box-shadow: 0 0 0 3px rgba(0, 87, 168, .1);
}

#setariAvansate .cfr-advanced-options .form-check-label:has(input:checked) {
    border-color: #5c95c9;
    background: #eaf4fd;
    color: #003f7d;
    box-shadow: inset 3px 0 0 #0057a8;
}

#setariAvansate .cfr-advanced-options .form-check-input {
    position: static;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #0057a8;
}

#setariAvansate .cfr-advanced-services .cfr-home-service-icon {
    width: 18px;
    height: 18px;
    margin: 0;
    color: #0057a8;
}

#transfer-duration-group {
    margin: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #dce8f3;
}

.cfr-home-service-icon {
    width: 16px;
    height: 16px;
    margin: 0 4px 0 2px;
    color: #0057a8;
}

.cfr-home-news-icon {
    width: 28px;
    height: 28px;
    color: #3d454d;
    opacity: 1;
    stroke-width: 2.2;
    shape-rendering: geometricPrecision;
}

.cfr-home-calendar-icon path,
.cfr-home-calendar-icon rect,
.cfr-home-news-icon path {
    opacity: 1;
    stroke: currentColor;
    stroke-opacity: 1;
    vector-effect: non-scaling-stroke;
}

.cfr-home-time-icon {
    width: 14px;
    height: 14px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    display: none;
    content: none;
}

.cfr-home-slider-icon {
    width: 20px;
    height: 20px;
}

.cfr-hero-swiper:focus-within .swiper-button-next,
.cfr-hero-swiper:focus-within .swiper-button-prev {
    opacity: 1 !important;
}

.cfr-carousel-toggle {
    position: absolute;
    z-index: 12;
    right: 10px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 50%;
    color: #fff;
    background: rgba(0, 49, 101, .88);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .22);
    cursor: pointer;
}

.cfr-carousel-toggle .cfr-icon {
    width: 18px;
    height: 18px;
}

.cfr-carousel-toggle__play,
.cfr-carousel-toggle.is-paused .cfr-carousel-toggle__pause {
    display: none;
}

.cfr-carousel-toggle.is-paused .cfr-carousel-toggle__play {
    display: inline-flex;
}

/* Commercial shortcuts keep their WordPress editability and use Lucide inline SVG. */
.meniu-comercial > div > ul > li.btn-big-call-to-action > a::before {
    display: none;
    content: none;
}

.meniu-comercial > div > ul > li > a {
    gap: 5px;
    overflow: hidden;
    border-radius: var(--cfr-home-radius-small);
}

.meniu-comercial {
    margin-top: var(--cfr-home-gap);
}

.meniu-comercial > div > ul {
    gap: var(--cfr-home-gap);
}

.meniu-comercial .cfr-home-menu-icon {
    width: 34px;
    height: 34px;
    color: currentColor;
}

.meniu-comercial .cfr-home-menu-label {
    display: block;
}

/* Consistent rounded surfaces across the homepage. */
.boxMersdeTren,
.sliderHome,
.sliderHome .swiper,
.sliderHome .swiper-slide,
.news,
.stickyPost,
.stickyPost .imaginePostSticky {
    border-radius: var(--cfr-home-radius);
}

.sliderHome,
.sliderHome .swiper,
.sliderHome .swiper-slide {
    overflow: hidden;
}

.boxMersdeTren {
    position: relative;
    z-index: 3;
    background: #fff;
    box-shadow: 0 5px 14px rgba(0, 70, 144, .18);
    margin-bottom: var(--cfr-home-gap);
    overflow: visible;
}

.boxMersdeTren + .meniu-comercial {
    margin-top: 0;
}

.boxMersdeTren > .collapse,
.boxMersdeTren > .collapsing,
.boxMersdeTren > .collapse > .card,
.boxMersdeTren > .collapsing > .card {
    margin: 0;
    border: 0;
    border-radius: 0 0 var(--cfr-home-radius) var(--cfr-home-radius);
    box-shadow: none;
}

.boxMersdeTren .calatorie.home {
    margin-bottom: 0;
    border-radius: 0 0 var(--cfr-home-radius) var(--cfr-home-radius);
    box-shadow: none;
}

.boxMersdeTren .bootstrap-datetimepicker-widget,
.boxMersdeTren .ui-datepicker {
    z-index: 1200 !important;
}

.meniu-comercial {
    position: relative;
    z-index: 1;
}

.boxMersdeTren .search-journey {
    border-radius: var(--cfr-home-radius-small);
}

#setariAvansate .card.card-body,
#intlSetariAvansate .card.card-body {
    border-radius: var(--cfr-home-radius-small);
}

.news .read-more,
.stickyPost .read-more {
    border-radius: var(--cfr-home-radius-small);
}

.news .read-more {
    margin-right: 0;
    margin-bottom: 0;
}

.cfr-news-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: var(--cfr-home-gap);
    width: 100%;
    margin-top: auto;
    padding-top: var(--cfr-home-gap);
}

.homepage-content-column .news .cfr-news-actions .bshareGroup,
.homepage-content-column .news .cfr-news-actions .read-more,
.cfr-news-actions .bshareGroup,
.cfr-news-actions .read-more {
    align-self: center;
    float: none;
    margin: 0;
}

.cfr-news-actions .cfr-native-share--icon-only,
.cfr-article-card__actions .cfr-native-share--icon-only {
    width: 44px;
    height: 44px;
    min-height: 44px;
    box-sizing: border-box;
}

.homepage-content-column .news .cfr-news-actions a.read-more,
.cfr-article-card.stickyPost .cfr-article-card__actions a.read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    float: none;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0 16px;
    box-sizing: border-box;
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif !important;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.cfr-read-more-label {
    display: block;
    padding: 0 !important;
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    transform: translateY(1px);
}

.news .read-more::after,
.stickyPost .read-more::after {
    display: none;
    content: none;
}

.homepage-content-column .infoC {
    display: flex;
    align-items: center;
}

.homepage-content-column .news {
    margin-top: var(--cfr-home-gap);
    margin-bottom: var(--cfr-home-gap);
}

/* Homepage article carousel. */
.cfr-articles-carousel {
    margin: 0 0 28px;
    padding-top: 0;
}

.cfr-articles-swiper {
    position: relative;
    padding: 4px 0 40px;
}

/* Keep the carousels stable until the small Swiper bundle is requested near the viewport. */
.cfr-hero-swiper:not(.swiper-initialized),
.cfr-articles-swiper:not(.swiper-initialized) {
    overflow: hidden;
}

.cfr-hero-swiper:not(.swiper-initialized) > .swiper-wrapper,
.cfr-articles-swiper:not(.swiper-initialized) > .swiper-wrapper {
    display: flex;
}

.cfr-hero-swiper:not(.swiper-initialized) > .swiper-wrapper > .swiper-slide,
.cfr-articles-swiper:not(.swiper-initialized) > .swiper-wrapper > .swiper-slide {
    flex: 0 0 100%;
    min-width: 0;
}

.cfr-hero-swiper:not(.swiper-initialized) > .swiper-button-next,
.cfr-hero-swiper:not(.swiper-initialized) > .swiper-button-prev,
.cfr-hero-swiper:not(.swiper-initialized) > .cfr-carousel-toggle,
.cfr-articles-swiper:not(.swiper-initialized) > .swiper-pagination,
.cfr-articles-swiper:not(.swiper-initialized) > .cfr-carousel-toggle {
    visibility: hidden;
}

.cfr-articles-swiper .cfr-carousel-toggle {
    right: 4px;
    bottom: 0;
    width: 34px;
    height: 34px;
    color: #0057a8;
    border-color: #b9d3e8;
    background: #fff;
    box-shadow: 0 3px 9px rgba(0, 70, 144, .14);
}

.cfr-articles-swiper .swiper-wrapper {
    align-items: stretch;
}

.cfr-articles-swiper .swiper-slide {
    display: flex;
    height: auto;
}

.cfr-article-card.stickyPost {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #cfe0ee;
    border-radius: var(--cfr-home-radius);
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 49, 101, .12);
}

.cfr-article-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 0;
    overflow: hidden;
    border-bottom: 1px solid #dce8f2;
    background: #f3f7fa;
    text-decoration: none;
}

.cfr-article-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.cfr-article-card__placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 22px;
    color: #0068bd;
    background: #e4f1fb;
}

.stickyPost span.cfr-article-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px 2px;
    font-weight: 600;
}

.cfr-article-card__placeholder[hidden] {
    display: none !important;
}

.cfr-article-card__placeholder .cfr-icon {
    width: 34px;
    height: 34px;
}

.cfr-article-card__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    padding: 20px;
}

.cfr-article-card.stickyPost h2 {
    position: static;
    width: auto;
    margin: 0 0 22px;
    padding: 0;
    background: transparent;
    color: #003f7d;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0;
    text-shadow: none;
}

.cfr-article-card.stickyPost h2 a {
    color: inherit;
    text-decoration: none;
}

.cfr-article-card.stickyPost h2 a:hover,
.cfr-article-card.stickyPost h2 a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cfr-article-card__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
}

.cfr-article-card__actions .bshareGroup,
.cfr-article-card.stickyPost .cfr-article-card__actions .read-more {
    float: none;
    margin: 0;
}

.cfr-article-card.stickyPost .cfr-article-card__actions span {
    display: inline;
    padding: 0;
}

.cfr-article-card__actions .cfr-native-share {
    flex: 0 0 44px;
    justify-content: center;
    width: 44px;
    min-height: 42px;
    padding: 0;
    border: 1px solid #bdd4e7;
    background: #eef6fc;
    color: #0057a8;
    box-shadow: none;
}

.cfr-article-card.stickyPost .cfr-article-card__actions .read-more {
    display: inline-flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 42px;
    padding: 10px 8px;
    border: 1px solid #0057a8;
    border-radius: 9px;
    background: #0057a8;
    color: #fff;
    box-shadow: 0 5px 14px rgba(0, 74, 145, .18);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.cfr-article-card.stickyPost .cfr-article-card__actions .read-more::after {
    content: none;
}

.cfr-article-card.stickyPost .cfr-article-card__actions .read-more:hover,
.cfr-article-card.stickyPost .cfr-article-card__actions .read-more:focus-visible {
    border-color: #ff5a2b;
    background: #ff5a2b;
}

.cfr-articles-swiper .swiper-pagination {
    bottom: 6px;
}

.cfr-articles-swiper .swiper-pagination-bullet {
    position: relative;
    width: 24px;
    height: 24px;
    margin: 0 2px !important;
    background: transparent;
    opacity: 1;
}

.cfr-articles-swiper .swiper-pagination-bullet::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #536d85;
    content: "";
    opacity: .8;
    transform: translate(-50%, -50%);
}

.cfr-articles-swiper .swiper-pagination-bullet-active {
    width: 24px;
}

.cfr-articles-swiper .swiper-pagination-bullet-active::after {
    width: 24px;
    background: #0057a8;
    opacity: 1;
}

@media (min-width: 1200px) {
    .cfr-articles-swiper {
        overflow: visible;
        padding-bottom: 4px;
    }

    .cfr-articles-swiper .swiper-wrapper,
    .cfr-articles-swiper:not(.swiper-initialized) > .swiper-wrapper {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 22px;
        width: 100%;
        transform: none !important;
        transition: none !important;
    }

    .cfr-articles-swiper .swiper-slide {
        width: auto !important;
        margin: 0 !important;
        transform: none !important;
    }

    .cfr-articles-swiper .swiper-pagination,
    .cfr-articles-swiper .cfr-carousel-toggle {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .cfr-articles-swiper:not(.swiper-initialized) > .swiper-wrapper > .swiper-slide {
        flex-basis: calc(50% - 9px);
        margin-right: 18px;
    }
}

@media (max-width: 768px) {
    :root {
        --cfr-home-radius: 10px;
    }

    .cfr-articles-carousel {
        padding-right: 8px;
        padding-left: 8px;
    }

    .cfr-articles-swiper {
        padding-right: 0;
        padding-left: 0;
    }

    .cfr-article-card.stickyPost {
        min-height: 0;
    }

    .cfr-article-card__content {
        padding: 20px 18px;
    }

}
