/* LoanRO24 — look & feel of the Romanian templates (*_ro_new).
   Albastru · galben · roșu, woven "brâu" band and "ie" embroidery motifs.
   Loaded after style.css by finaguru/main_template_ro_new.html. */

.ro-new {
    --ro-blue: #002B7F;
    --ro-blue-deep: #001A4D;
    --ro-yellow: #FCD116;
    --ro-red: #CE1126;
    --ro-linen: #FBF6EA;
    --ro-linen-dark: #EADFC6;
    --ro-ink: #1B1B2F;
    --ro-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;

    --ro-tricolor: linear-gradient(90deg, #002B7F 0 33.34%, #FCD116 33.34% 66.67%, #CE1126 66.67% 100%);

    /* rhombus lattice for the blue sections */
    --ro-lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%23FCD116' stroke-opacity='.16' stroke-width='1.2'%3E%3Cpath d='M24 3l21 21-21 21L3 24z'/%3E%3Cpath d='M24 15l9 9-9 9-9-9z'/%3E%3C/g%3E%3Cpath d='M22.5 22.5h3v3h-3zM-1.5-1.5h3v3h-3zM46.5-1.5h3v3h-3zM-1.5 46.5h3v3h-3zM46.5 46.5h3v3h-3z' fill='%23FFFFFF' fill-opacity='.18'/%3E%3C/svg%3E");

    /* woven belt (brâu): red/black/yellow rhombi with blue half-rhombi on linen */
    --ro-brau: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='28' viewBox='0 0 56 28'%3E%3Crect width='56' height='28' fill='%23FBF6EA'/%3E%3Crect width='56' height='2' fill='%23CE1126'/%3E%3Crect y='26' width='56' height='2' fill='%23CE1126'/%3E%3Cpath d='M28 5l11 9-11 9-11-9z' fill='%23CE1126'/%3E%3Cpath d='M28 9l6 5-6 5-6-5z' fill='%231B1B2F'/%3E%3Cpath d='M28 12l2.4 2-2.4 2-2.4-2z' fill='%23FCD116'/%3E%3Cpath d='M0 7l7 7-7 7zM56 7l-7 7 7 7z' fill='%23002B7F'/%3E%3Cpath d='M9 13h6v2H9zM11 11h2v6h-2zM41 13h6v2h-6zM43 11h2v6h-2z' fill='%231B1B2F'/%3E%3C/svg%3E");

    /* faint cross-stitch on linen */
    --ro-linen-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M20 14l6 6-6 6-6-6z' fill='none' stroke='%23CE1126' stroke-opacity='.10' stroke-width='1.5'/%3E%3Cpath d='M19 19h2v2h-2z' fill='%23002B7F' fill-opacity='.14'/%3E%3C/svg%3E");

    /* eight-point embroidery star used behind step numbers */
    --ro-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='%23CE1126'%3E%3Crect x='9' y='9' width='30' height='30'/%3E%3Crect x='9' y='9' width='30' height='30' transform='rotate(45 24 24)'/%3E%3C/g%3E%3Ccircle cx='24' cy='24' r='13.5' fill='%23FBF6EA'/%3E%3Ccircle cx='24' cy='24' r='11' fill='none' stroke='%23002B7F' stroke-width='1.2' stroke-dasharray='2 2'/%3E%3C/svg%3E");

    --ro-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 12'%3E%3Cpath d='M17.09.41a.83.83 0 0 1 0 1.18l-10 10a.83.83 0 0 1-1.18 0l-5-5a.83.83 0 1 1 1.18-1.18l4.41 4.41L15.91.41a.83.83 0 0 1 1.18 0z' fill='%23FFFFFF'/%3E%3C/svg%3E");

    --ro-ornament: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M14 1l7 6-7 6-7-6z' fill='%23FCD116'/%3E%3Cpath d='M14 4.5l3 2.5-3 2.5-3-2.5z' fill='%23CE1126'/%3E%3Cpath d='M0 6h3v2H0zM25 6h3v2h-3z' fill='%23FFFFFF' fill-opacity='.7'/%3E%3C/svg%3E");

    --ro-blue-bg: var(--ro-lattice),
        radial-gradient(ellipse at 85% -10%, rgba(252, 209, 22, 0.20), transparent 55%),
        linear-gradient(135deg, #001A4D 0%, #002B7F 55%, #0B3D9C 100%);

    --ro-card-top: var(--ro-tricolor) left 0 top 3px / 100% 6px no-repeat;
}

.ro-new,
.ro-new.ref-prog {
    background: var(--ro-linen-pattern), var(--ro-linen);
    color: var(--ro-ink);
}

.ro-new a:focus-visible,
.ro-new button:focus-visible,
.ro-new input:focus-visible,
.ro-new select:focus-visible {
    outline: 3px solid var(--ro-yellow);
    outline-offset: 2px;
}

/* Decorative elements ************************************************/
.ro-new .ro-brau {
    height: 28px;
    background: var(--ro-brau) left center / 56px 28px repeat-x;
    position: relative;
    z-index: 2;
}

.ro-new .ro-hero-badge {
    display: flex;
    width: 96px;
    height: 12px;
    margin-bottom: 22px;
    border: 2px solid #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.ro-new .ro-hero-badge span {
    flex: 1;
}

.ro-new .ro-hero-badge span:nth-child(1) { background: var(--ro-blue); }
.ro-new .ro-hero-badge span:nth-child(2) { background: var(--ro-yellow); }
.ro-new .ro-hero-badge span:nth-child(3) { background: var(--ro-red); }

.ro-new .ro-hero-ornament {
    max-width: 280px;
    height: 14px;
    margin-top: 28px;
    background: var(--ro-ornament) left center / 28px 14px repeat-x;
}

.ro-new .ro-step {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ro-star) center / contain no-repeat;
    font-family: var(--ro-heading);
    font-weight: 800;
    font-size: 26px;
    line-height: 1;
    color: var(--ro-blue);
}

/* Headings ***********************************************************/
.ro-new h1,
.ro-new main h1,
.ro-new .workBottom h2,
.ro-new .reviewsTop h2,
.ro-new .partners h2,
.ro-new .credit h2,
.ro-new .services h2,
.ro-new .conditions h2,
.ro-new .questionsPageLeft h2,
.ro-new .blogLeft h2,
.ro-new .suggestionsPage h2,
.ro-new .microMainContent h2,
.ro-new .articlePageItemSection h2,
.ro-new .lr-ref h2,
.ro-new .popup h3 {
    font-family: var(--ro-heading) !important;
    font-weight: 700;
    letter-spacing: -0.005em;
}

.ro-new .workBottom h2,
.ro-new .credit h2,
.ro-new .questionsPageLeft h2,
.ro-new .microMainContent h2,
.ro-new .articlePageItemSection h2,
.ro-new main h1,
.ro-new .popup h3 {
    color: var(--ro-blue);
}

.ro-new .banner h1,
.ro-new .lr-ref-hero h1 {
    color: #FFFFFF;
}

/* Header, logo & burger **********************************************/
.ro-new header.lr-header {
    background: var(--ro-tricolor) left 0 bottom 3px / 100% 5px no-repeat, #FFFFFF;
    border-radius: 0;
    box-shadow: 0 6px 24px rgba(0, 26, 77, 0.14);
}

.ro-new .logotype a {
    display: flex;
    align-items: center;
}

.ro-new .logotype img {
    width: 44px;
    height: 44px;
    margin-right: 8px;
}

.ro-new .logotype span {
    color: var(--ro-blue);
}

.ro-new .logotype .logoTextGreen {
    margin-left: 1px;
    color: var(--ro-red);
}

.ro-new .openBurger img,
.ro-new .contacts_container li a img {
    filter: hue-rotate(80deg) saturate(1.3) brightness(0.7);
}

.ro-new .headerNavigation li a {
    position: relative;
    color: var(--ro-ink);
}

.ro-new .headerNavigation li a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 3px;
    background: var(--ro-tricolor);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.ro-new .headerNavigation li a:hover {
    color: var(--ro-blue);
}

.ro-new .headerNavigation li a:hover::after {
    transform: scaleX(1);
}

.ro-new .menu {
    background: var(--ro-blue-bg);
}

.ro-new .menu::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 28px;
    background: var(--ro-brau) left center / 56px 28px repeat-x;
}

.ro-new .menu .close svg path {
    fill: #FFFFFF;
}

/* Buttons ************************************************************/
.ro-new .registrationBtn,
.ro-new .btnSubmit,
.ro-new .reviewsTop button,
.ro-new .suggestionsPageSection a,
.ro-new .popupContainer form input:nth-last-of-type(1),
.ro-new .closePopapForm .popupContainer > .close-popup,
.ro-new .lr-ref-country-box a {
    background: var(--ro-red);
    border-color: transparent;
    color: #FFFFFF;
    box-shadow: 0 6px 16px rgba(206, 17, 38, 0.28);
}

.ro-new .registrationBtn:hover,
.ro-new .open-popup:hover,
.ro-new .suggestionsPageSection a:hover,
.ro-new .lr-ref-country-box a:hover {
    background: var(--ro-yellow);
    border-color: var(--ro-yellow);
    color: var(--ro-blue);
}

.ro-new .btnSubmit:disabled {
    background: #B9B2A3;
    box-shadow: none;
    cursor: not-allowed;
}

.ro-new .menu .registrationBtn {
    background: transparent;
    border-color: var(--ro-yellow);
    color: var(--ro-yellow);
    box-shadow: none;
}

.ro-new .reviewsBtnMobile {
    color: var(--ro-red);
    border-color: var(--ro-yellow);
}

/* Blue sections & cards **********************************************/
.ro-new main,
.ro-new .banner,
.ro-new .main,
.ro-new .calculator,
.ro-new .payMain,
.ro-new .micro,
.ro-new .servicesPading {
    background: var(--ro-blue-bg);
}

.ro-new main .wrapper {
    background: var(--ro-card-top), #FFFFFF;
}

.ro-new .workTopSection,
.ro-new .workBottom,
.ro-new .reviewsItem,
.ro-new .conditionsContent,
.ro-new .payMainContent,
.ro-new .suggestionsPageSection,
.ro-new .articleSliderArrow,
.ro-new .lr-ref-advantages-card,
.ro-new .popup {
    background: var(--ro-card-top), #FFFFFF;
    box-shadow: 0 10px 28px rgba(0, 26, 77, 0.14);
}

.ro-new .bannerRight,
.ro-new .questionsPageRight {
    box-shadow: 0 18px 40px rgba(0, 16, 48, 0.35);
}

.ro-new .calculatorTel a {
    border: 2px solid var(--ro-red);
}

/* Offers block (replaces the loan calculator) ************************/
.ro-new .lr-offers {
    width: 100%;
}

.ro-new .lr-offers__head {
    margin-bottom: 18px;
}

.ro-new .lr-offers__title {
    margin: 0 0 6px !important;
    font-family: var(--ro-heading) !important;
    font-weight: 700;
    font-size: 30px !important;
    line-height: 1.2 !important;
    color: var(--ro-blue) !important;
}

.ro-new .lr-offers__lead {
    font-family: 'Gilroy-Regular', sans-serif;
    font-size: 15px;
    line-height: 1.45;
    color: #5B5B6E;
}

.ro-new .lr-offers__list {
    display: grid;
    gap: 14px;
}

.ro-new .lr-offer {
    display: grid;
    gap: 10px;
    padding: 14px;
    background: #FFFFFF;
    border: 1px solid var(--ro-linen-dark);
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0, 26, 77, 0.08);
}

.ro-new .lr-offer__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    overflow: hidden;
    border-radius: 10px;
    background: #FFFFFF;
    font-family: 'Nekst-Bold', sans-serif;
    color: var(--ro-blue);
}

.ro-new .lr-offer__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ro-new .lr-offer__promo {
    padding: 5px 8px;
    border-radius: 8px;
    background: var(--ro-yellow);
    font-family: 'Nekst-Bold', sans-serif;
    font-size: 13px;
    line-height: 1.3;
    text-align: center;
    color: var(--ro-blue);
}

.ro-new .lr-offer__terms {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    margin: 0;
}

.ro-new .lr-offer__terms div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ro-new .lr-offer__terms dt {
    font-family: 'Gilroy-Regular', sans-serif;
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #6B6B7B;
}

.ro-new .lr-offer__terms dd {
    margin: 0;
    font-family: 'Nekst-Bold', sans-serif;
    font-size: 15px;
    line-height: 1.3;
    color: var(--ro-ink);
}

.ro-new .lr-offer__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 16px;
    border: 2px solid transparent;
    border-radius: 30px;
    background: var(--ro-red);
    box-shadow: 0 6px 16px rgba(206, 17, 38, 0.28);
    font-family: 'Gilroy-Semibold', sans-serif;
    font-size: 17px;
    color: #FFFFFF;
    text-align: center;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ro-new .lr-offer__btn:hover {
    background: var(--ro-yellow);
    border-color: var(--ro-yellow);
    color: var(--ro-blue);
}

.ro-new .lr-offers__all {
    display: block;
    width: max-content;
    margin: 18px auto 0;
    border-bottom: 2px solid var(--ro-red);
    font-family: 'Gilroy-Semibold', sans-serif;
    font-size: 17px;
    color: var(--ro-blue);
}

.ro-new .lr-offers__all::after {
    content: " \2192";
}

.ro-new .lr-offers__empty {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 16px;
    background: var(--ro-linen);
    font-family: 'Gilroy-Regular', sans-serif;
    font-size: 16px;
    color: var(--ro-ink);
    text-align: center;
}

/* compact rows: hero card and page sidebars */
.ro-new .lr-offers--hero .lr-offers__title,
.ro-new .lr-offers--sidebar .lr-offers__title {
    font-size: 26px !important;
}

.ro-new .lr-offers--hero .lr-offers__list,
.ro-new .lr-offers--sidebar .lr-offers__list {
    gap: 12px;
}

.ro-new .lr-offers--hero .lr-offer,
.ro-new .lr-offers--sidebar .lr-offer {
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
    column-gap: 14px;
    row-gap: 10px;
    padding: 12px;
}

.ro-new .lr-offers--hero .lr-offer__logo,
.ro-new .lr-offers--sidebar .lr-offer__logo {
    height: 72px;
    padding: 6px;
    border: 1px solid var(--ro-linen-dark);
}

.ro-new .lr-offers--hero .lr-offer__promo,
.ro-new .lr-offers--sidebar .lr-offer__promo,
.ro-new .lr-offers--hero .lr-offer__terms div:nth-child(4),
.ro-new .lr-offers--sidebar .lr-offer__terms div:nth-child(4) {
    display: none;
}

/* compact card: logo | terms as "label — value" rows, button full width below */
.ro-new .lr-offers--hero .lr-offer__terms,
.ro-new .lr-offers--sidebar .lr-offer__terms {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
}

.ro-new .lr-offers--hero .lr-offer__terms div,
.ro-new .lr-offers--sidebar .lr-offer__terms div {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 3px;
    border-bottom: 1px dashed var(--ro-linen-dark);
}

.ro-new .lr-offers--hero .lr-offer__terms div:nth-child(3),
.ro-new .lr-offers--sidebar .lr-offer__terms div:nth-child(3) {
    padding-bottom: 0;
    border-bottom: 0;
}

.ro-new .lr-offers--hero .lr-offer__terms dt,
.ro-new .lr-offers--sidebar .lr-offer__terms dt {
    font-size: 11px;
    white-space: nowrap;
}

.ro-new .lr-offers--hero .lr-offer__terms dd,
.ro-new .lr-offers--sidebar .lr-offer__terms dd {
    font-size: 14px;
    white-space: nowrap;
}

.ro-new .lr-offers--hero .lr-offer__btn,
.ro-new .lr-offers--sidebar .lr-offer__btn {
    grid-column: 1 / -1;
    min-height: 40px;
    font-size: 15px;
    box-shadow: none;
}

/* grid: bottom of the main page */
.ro-new .lr-offers-section .wrapper {
    display: block;
}

.ro-new .lr-offers--grid .lr-offers__head {
    margin-bottom: 36px;
    text-align: center;
}

.ro-new .lr-offers--grid .lr-offers__title {
    font-size: 46px !important;
    color: #FFFFFF !important;
}

.ro-new .lr-offers--grid .lr-offers__lead {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
}

.ro-new .lr-offers--grid .lr-offers__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.ro-new .lr-offers--grid .lr-offer {
    padding: 22px 18px 18px;
    border: 0;
    background: var(--ro-card-top), #FFFFFF;
    box-shadow: 0 14px 30px rgba(0, 16, 48, 0.3);
}

.ro-new .lr-offers--grid .lr-offer__logo {
    height: 84px;
}

.ro-new .lr-offers--grid .lr-offers__all {
    border-bottom-color: var(--ro-yellow);
    color: #FFFFFF;
}

/* carousel (main page): swipe / arrows / drag, "expand" leads to the offers page */
.ro-new .lr-offers--carousel {
    --lr-gap: 16px;
    --lr-slide: calc(100% - 44px);
}

.ro-new .lr-offers--grid.lr-offers--carousel {
    --lr-gap: 24px;
    --lr-slide: calc((100% - 3 * 24px) / 4);
}

.ro-new .lr-offers--carousel .lr-offers__list,
.ro-new .lr-offers--grid.lr-offers--carousel .lr-offers__list {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: var(--lr-slide);
    gap: var(--lr-gap);
    margin: -6px -2px 0;
    padding: 6px 2px 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.ro-new .lr-offers--grid.lr-offers--carousel .lr-offers__list {
    margin-bottom: -18px;
    padding-bottom: 34px;
}

.ro-new .lr-offers--carousel .lr-offers__list::-webkit-scrollbar {
    display: none;
}

.ro-new .lr-offers--carousel .lr-offers__list:focus-visible {
    outline: 3px solid var(--ro-yellow);
    outline-offset: 4px;
}

.ro-new .lr-offers--carousel .lr-offers__list.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
    user-select: none;
}

.ro-new .lr-offers--carousel .lr-offer {
    scroll-snap-align: start;
}

.ro-new .lr-offers__controls {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.ro-new .lr-offers--carousel.is-static .lr-offers__controls {
    display: none;
}

.ro-new .lr-offers__progress {
    position: relative;
    flex: 1;
    height: 5px;
    overflow: hidden;
    border-radius: 5px;
    background: var(--ro-linen-dark);
}

.ro-new .lr-offers__progress span {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    border-radius: 5px;
    background: var(--ro-tricolor);
    transition: width 0.2s;
}

.ro-new .lr-offers__nav {
    display: flex;
    gap: 8px;
}

.ro-new .lr-offers__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 2px solid var(--ro-blue);
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--ro-blue);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, opacity 0.2s;
}

.ro-new .lr-offers__arrow:hover:not(:disabled) {
    background: var(--ro-blue);
    color: #FFFFFF;
}

.ro-new .lr-offers__arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.ro-new .lr-offers__expand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    margin-top: 16px;
    padding: 0 20px;
    box-sizing: border-box;
    border: 2px solid var(--ro-blue);
    border-radius: 30px;
    background: transparent;
    font-family: 'Gilroy-Semibold', sans-serif;
    font-size: 16px;
    color: var(--ro-blue);
    transition: background 0.2s, color 0.2s;
}

.ro-new .lr-offers__expand:hover {
    background: var(--ro-blue);
    color: #FFFFFF;
}

.ro-new .lr-offers__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 7px;
    box-sizing: border-box;
    border-radius: 13px;
    background: var(--ro-yellow);
    font-family: 'Nekst-Bold', sans-serif;
    font-size: 13px;
    color: var(--ro-blue);
}

.ro-new .lr-offers--grid .lr-offers__progress {
    background: rgba(255, 255, 255, 0.2);
}

/* the blue third of the tricolour disappears on the blue section */
.ro-new .lr-offers--grid .lr-offers__progress span {
    background: var(--ro-yellow);
}

.ro-new .lr-offers--grid .lr-offers__arrow {
    border-color: var(--ro-yellow);
    background: transparent;
    color: var(--ro-yellow);
}

.ro-new .lr-offers--grid .lr-offers__arrow:hover:not(:disabled) {
    background: var(--ro-yellow);
    color: var(--ro-blue);
}

.ro-new .lr-offers--grid .lr-offers__expand {
    width: max-content;
    min-width: 320px;
    margin: 28px auto 0;
    border-color: var(--ro-yellow);
    color: #FFFFFF;
}

.ro-new .lr-offers--grid .lr-offers__expand:hover {
    background: var(--ro-yellow);
    color: var(--ro-blue);
}

@media (max-width: 1300px) {
    .ro-new .lr-offers--grid.lr-offers--carousel {
        --lr-slide: calc((100% - 2 * 24px) / 3);
    }
}

@media (max-width: 992px) {
    .ro-new .lr-offers--grid.lr-offers--carousel {
        --lr-slide: calc((100% - 24px) / 2);
    }
}

@media (max-width: 576px) {
    .ro-new .lr-offers--grid.lr-offers--carousel {
        --lr-gap: 14px;
        --lr-slide: calc(100% - 44px);
    }

    .ro-new .lr-offers--grid .lr-offers__expand {
        width: 100%;
        min-width: 0;
    }
}

/* Hero ***************************************************************/
.ro-new .lr-hero .wrapper {
    align-items: center;
    gap: 40px;
}

.ro-new .lr-hero .bannerLeft {
    flex: 1 1 auto;
    width: auto;
    max-width: 560px;
}

.ro-new .lr-hero-art {
    display: block;
    width: 100%;
    max-width: 440px;
    height: auto;
    margin-top: 28px;
}

.ro-new .lr-hero-offers {
    flex-shrink: 0;
    width: 500px;
    padding: 30px 26px 26px;
    box-sizing: border-box;
    border-radius: 20px;
    background: var(--ro-card-top), #FFFFFF;
}

/* Page sidebars (questions, blog, article) ***************************/
.ro-new .questionsPageRight {
    flex-shrink: 0;
    width: 400px;
    padding: 28px 22px 24px;
    box-sizing: border-box;
    background: var(--ro-card-top), #FFFFFF;
}

/* How it works *******************************************************/
.ro-new .workTopSection h3,
.ro-new .workBottomSectionRight h3 {
    color: var(--ro-blue);
}

.ro-new .workTopSection img {
    width: 76px;
    height: 76px;
}

.ro-new .lr-steps-art {
    display: block;
    width: 520px;
    max-width: 100%;
    height: auto;
}

/* Reviews & partners *************************************************/
.ro-new .reviewsItem {
    position: relative;
}

.ro-new .reviewsItem::after {
    content: "\201E";
    position: absolute;
    top: -8px;
    right: 18px;
    font-family: var(--ro-heading);
    font-size: 72px;
    line-height: 1;
    color: rgba(206, 17, 38, 0.18);
    pointer-events: none;
}

.ro-new .reviewsItemTextContainer > p {
    color: var(--ro-blue);
}

.ro-new .reviewsItemAvatar img {
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--ro-yellow);
}

.ro-new .SliderDots .slick-dots li button,
.ro-new .partnersSliderDots .slick-dots li button {
    border-color: var(--ro-yellow);
}

.ro-new .slick-active button {
    background: var(--ro-yellow) !important;
}

/* SEO text block *****************************************************/
.ro-new .credit {
    background: var(--ro-linen-pattern), var(--ro-linen);
}

.ro-new .credit h2 span {
    color: var(--ro-red);
}

.ro-new .creditContent h3,
.ro-new .microMainContent h3 {
    position: relative;
    padding-left: 22px;
    color: var(--ro-blue);
}

.ro-new .creditContent h3::before,
.ro-new .microMainContent h3::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 50%;
    width: 9px;
    height: 9px;
    background: var(--ro-red);
    transform: translateY(-50%) rotate(45deg);
}

/* Services chips *****************************************************/
.ro-new .servicesContent a {
    border-radius: 999px;
    color: var(--ro-blue);
}

.ro-new .servicesContent a:hover {
    background: var(--ro-yellow);
    border-color: var(--ro-yellow);
    color: var(--ro-blue);
}

/* Inner pages ********************************************************/
.ro-new .policyNavigationLink {
    color: var(--ro-red) !important;
}

.ro-new .questionsMain .policyNavigation a {
    color: var(--ro-yellow);
    opacity: 1;
}

.ro-new .policyContent h2 {
    color: var(--ro-blue);
}

.ro-new .policyContent ul li::marker,
.ro-new .microMainContent ul li::marker {
    color: var(--ro-red);
}

.ro-new .heading {
    border-color: var(--ro-linen-dark);
    transition: background 0.2s;
}

.ro-new .heading:hover,
.ro-new .heading.active {
    background: var(--ro-linen);
}

.ro-new .heading.active {
    color: var(--ro-blue);
    box-shadow: inset 4px 0 0 var(--ro-red);
}

.ro-new .contents {
    border-color: var(--ro-linen-dark);
}

.ro-new .conditionsContentSectionTittle {
    border-bottom: 2px solid var(--ro-red);
}

.ro-new .conditionsContentSectionTittle p,
.ro-new .conditionsContentSection p:nth-of-type(1) {
    color: var(--ro-blue);
}

.ro-new .conditionsContentSection {
    border-bottom-color: var(--ro-linen-dark);
}

.ro-new .lr-conditions-art {
    width: 250px;
    height: auto;
    left: -10px;
    top: 250px;
}

.ro-new .greenText {
    background: var(--ro-yellow);
    color: var(--ro-blue);
}

.ro-new .suggestionsFlexBold {
    color: var(--ro-blue);
}

.ro-new .blogLeftContentSection {
    border-bottom: 6px solid var(--ro-red);
    box-shadow: 0 10px 28px rgba(0, 16, 48, 0.25);
}

.ro-new .blogTextContainer h3 {
    color: var(--ro-blue);
}

.ro-new .blogTextContainer a {
    border-color: var(--ro-red);
    color: var(--ro-red);
}

.ro-new .blogTextContainer a:hover {
    background: var(--ro-red);
    color: #FFFFFF;
}

/* Application form ***************************************************/
.ro-new .stepForm {
    color: var(--ro-blue);
}

.ro-new .stepForm span {
    width: 48px;
    height: 48px;
    border: 0;
    background: var(--ro-star) center / contain no-repeat;
    font-family: var(--ro-heading);
    font-weight: 800;
    color: var(--ro-blue);
}

.ro-new .payMainContentTop {
    border: 2px solid var(--ro-blue);
    background: var(--ro-linen);
    overflow: hidden;
}

.ro-new .payMainContentTop p {
    color: var(--ro-blue);
}

.ro-new .payMainContentTop p:nth-of-type(1) {
    border-right: 2px dashed var(--ro-red);
}

.ro-new .payMainContent form input:focus,
.ro-new .payMainContent form select:focus {
    border-color: var(--ro-blue);
    box-shadow: 0 0 0 3px rgba(0, 43, 127, 0.15);
}

.ro-new input:required:valid {
    border: 2px solid var(--ro-blue) !important;
}

.ro-new .checboxSection label:before {
    border: 1.5px solid var(--ro-blue);
    border-radius: 6px;
}

.ro-new .checboxSection input.novalid + label::before {
    border-color: var(--ro-red);
    box-shadow: 0 0 0 3px rgba(206, 17, 38, 0.18);
}

.ro-new input[type=checkbox]:checked + label:before {
    background: var(--ro-check) center / 18px 12px no-repeat, var(--ro-blue);
}

/* Partner page *******************************************************/
.ro-new .lr-ref-hero .wrapper_partner {
    align-items: center;
}

.ro-new .lr-ref-hero-left {
    flex: 0 0 40%;
}

.ro-new .lr-ref-hero-left img {
    display: block;
    width: 100%;
    max-width: 440px;
    height: auto;
}

.ro-new .lr-ref-hero a {
    color: var(--ro-blue);
}

.ro-new .lr-ref-hero a:hover {
    border-color: var(--ro-yellow);
    color: var(--ro-red);
}

.ro-new .lr-ref-advantages {
    background: var(--ro-linen-pattern), var(--ro-linen);
}

.ro-new .lr-ref-advantages .wrapper_partner h2,
.ro-new .lr-ref-advantages-card h3,
.ro-new .lr-ref-country-box h2 {
    color: var(--ro-blue);
}

.ro-new .lr-ref-advantages-card img {
    width: 56px;
    height: 56px;
}

.ro-new .lr-ref-country {
    padding: 90px 0 130px;
}

.ro-new .lr-ref-country-box {
    background: var(--ro-tricolor) left 0 top 3px / 100% 8px no-repeat, #FFFFFF;
}

.ro-new .lr-ref-country-box-right img {
    display: block;
    width: 440px;
    max-width: 100%;
    height: auto;
}

.ro-new .lr-ref-country-box a img[src*="mail"] {
    filter: brightness(0) invert(1);
}

/* Footer *************************************************************/
.ro-new .footer {
    margin-top: 0;
    border-radius: 0;
    background: var(--ro-linen);
    box-shadow: none;
}

.ro-new .footerTop {
    padding-top: 50px;
}

.ro-new .footerTop,
.ro-new .footerCenter {
    border-bottom-color: var(--ro-linen-dark);
}

.ro-new .footerTopContainer ul li a:hover {
    color: var(--ro-red);
}

.ro-new .footerCenterText h3 {
    color: var(--ro-blue);
}

.ro-new .footerBottom a {
    color: var(--ro-blue);
    border-bottom: 2px solid var(--ro-red);
}

/* Responsive *********************************************************/
@media (max-width: 1300px) {
    .ro-new .lr-hero-offers {
        width: 460px;
    }

    .ro-new .lr-offers--grid .lr-offers__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1200px) {
    .ro-new .lr-ref-hero-left {
        flex: 0 0 273px;
    }

    .ro-new .articlePageContainer .questionsPageRight {
        width: 100%;
        max-width: 640px;
    }
}

@media (max-width: 992px) {
    .ro-new .ro-step {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .ro-new .ro-hero-badge,
    .ro-new .ro-hero-ornament {
        margin-left: auto;
        margin-right: auto;
    }

    .ro-new .lr-hero .bannerLeft {
        width: 100%;
        max-width: none;
    }

    .ro-new .lr-hero-art {
        display: none;
    }

    .ro-new .lr-hero-offers {
        margin: 0 auto;
    }

    .ro-new .questionsPageRight {
        width: 100%;
    }

    .ro-new .lr-offers--grid .lr-offers__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .ro-new .lr-ref-hero-left {
        flex: none;
    }

    .ro-new .ro-step {
        margin-right: 10px;
        margin-bottom: 0;
    }

    .ro-new .ro-hero-badge,
    .ro-new .ro-hero-ornament {
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    .ro-new .servicesContent a {
        border-radius: 0;
    }

    .ro-new .ro-hero-ornament {
        max-width: 168px;
        margin-top: 18px;
    }

    .ro-new .lr-hero .bannerLeft,
    .ro-new .lr-hero .bannerLeft p {
        width: 100%;
    }

    .ro-new .lr-hero-offers,
    .ro-new .questionsPageRight {
        padding: 24px 14px 18px;
    }

    .ro-new .lr-offers--hero .lr-offer,
    .ro-new .lr-offers--sidebar .lr-offer {
        grid-template-columns: 76px minmax(0, 1fr);
        column-gap: 10px;
    }

    .ro-new .lr-offers--hero .lr-offer__logo,
    .ro-new .lr-offers--sidebar .lr-offer__logo {
        height: 60px;
    }

    .ro-new .lr-offers--grid .lr-offers__title {
        font-size: 30px !important;
    }

    .ro-new .lr-offers--grid .lr-offers__list {
        grid-template-columns: minmax(0, 1fr);
    }

    .ro-new .workCenter {
        position: static;
    }

    .ro-new .workCenter img {
        margin: 0 auto;
        transform: none;
    }

    .ro-new .workBottom {
        margin-top: -10px;
    }
}

@media (max-width: 375px) {
    .ro-new .ro-step {
        flex-basis: 50px;
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}
