@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/home-redesign/inter-400.ttf") format("truetype");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/home-redesign/inter-700.ttf") format("truetype");
}

@font-face {
    font-family: "Literata";
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    src: url("../fonts/home-redesign/literata-opsz-wght.ttf") format("truetype");
}

:root {
    --yrc-redesign-bg: #061524;
    --yrc-redesign-bg-deep: #03101d;
    --yrc-redesign-bg-soft: #0a2133;
    --yrc-redesign-panel: rgba(8, 31, 48, 0.82);
    --yrc-redesign-panel-solid: #081f30;
    --yrc-redesign-line: rgba(140, 184, 210, 0.26);
    --yrc-redesign-line-strong: rgba(140, 184, 210, 0.44);
    --yrc-redesign-text: #eef6fb;
    --yrc-redesign-muted: rgba(238, 246, 251, 0.74);
    --yrc-redesign-muted-soft: rgba(238, 246, 251, 0.58);
    --yrc-redesign-red: #f04a2d;
    --yrc-redesign-red-dark: #d83d25;
}

body.yrc-redesign-experiment {
    min-width: 320px;
    background: var(--yrc-redesign-bg);
    color: var(--yrc-redesign-text);
    font-family: "Inter", Arial, sans-serif;
}

body.yrc-redesign-experiment .wrapper,
body.yrc-redesign-experiment .wrapper.nofront,
body.yrc-redesign-experiment .column-main {
    background:
        radial-gradient(circle at 88% 10%, rgba(38, 88, 117, 0.28), transparent 32rem),
        linear-gradient(180deg, #071625 0%, #061524 58%, #05111d 100%);
}

body.yrc-redesign-experiment .wrapper.nofront {
    padding-left: 0;
}

body.yrc-redesign-experiment .column-left {
    display: none !important;
}

body.yrc-redesign-experiment a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

body.yrc-redesign-experiment a:hover,
body.yrc-redesign-experiment a:focus {
    color: var(--yrc-redesign-red);
}

/* The legacy 404 module uses a white button, so it must not inherit the global light link colour. */
body.yrc-redesign-experiment .wrapper.page404 .page404 a {
    min-height: 48px;
    padding: 0 28px;
    color: #fff !important;
    font-family: "Inter", Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 46px;
    text-transform: uppercase;
    text-decoration: none !important;
    background: var(--yrc-redesign-red) !important;
    border: 1px solid var(--yrc-redesign-red) !important;
    border-radius: 4px;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

body.yrc-redesign-experiment .wrapper.page404 .page404 a:hover,
body.yrc-redesign-experiment .wrapper.page404 .page404 a:focus {
    color: #fff !important;
    background: #0069d9 !important;
    border-color: #0062cc !important;
    transform: translateY(-1px);
}

body.yrc-redesign-experiment img {
    max-width: 100%;
}

body.yrc-redesign-experiment .container-fluid {
    width: min(1300px, calc(100% - 40px));
    max-width: none;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
}

body.yrc-redesign-experiment .header.nofront {
    position: relative;
    z-index: 60;
    min-height: 104px;
    background:
        linear-gradient(90deg, rgba(4, 17, 30, 0.98) 0%, rgba(4, 17, 30, 0.82) 58%, rgba(4, 17, 30, 0.72) 100%),
        radial-gradient(circle at 86% 0%, rgba(76, 123, 151, 0.24), transparent 30rem);
    border-bottom: 1px solid var(--yrc-redesign-line);
}

body.yrc-redesign-experiment .header.nofront .header-main,
body.yrc-redesign-experiment .header.nofront .header-top {
    background: transparent;
}

body.yrc-redesign-experiment .header.nofront .header-main {
    width: 100%;
    margin: 0;
}

body.yrc-redesign-experiment .header.nofront .header-top {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.yrc-redesign-experiment .header.nofront .row {
    min-height: 104px;
    align-items: center;
}

body.yrc-redesign-experiment .header.nofront .header-logo img {
    content: url("../images/home-redesign/figma/logo.svg");
    width: 188px;
    height: auto;
}

body.yrc-redesign-experiment .header.nofront .header-logo,
body.yrc-redesign-experiment .header.nofront .header-menu,
body.yrc-redesign-experiment .header.nofront .header-contacts,
body.yrc-redesign-experiment .header.nofront .header-menusmall {
    float: none;
}

body.yrc-redesign-experiment .header.nofront .header-menu {
    display: flex !important;
    justify-content: center;
}

body.yrc-redesign-experiment .header.nofront .header-menu .moduletable,
body.yrc-redesign-experiment .header.nofront .header-menu ul.menu {
    width: 100%;
}

body.yrc-redesign-experiment .header.nofront .header-menu ul.menu,
body.yrc-redesign-experiment .header.nofront .header-menu ul.menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.yrc-redesign-experiment .header.nofront .header-menu ul.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 1.7vw, 34px);
}

body.yrc-redesign-experiment .header.nofront .header-menu ul.menu > li {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 52px;
}

body.yrc-redesign-experiment .header.nofront .header-menu ul.menu > li > a,
body.yrc-redesign-experiment .header.nofront .header-menu ul.menu > li > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--yrc-redesign-text) !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    text-decoration: none !important;
    white-space: nowrap;
    transition: color 0.2s ease;
}

body.yrc-redesign-experiment .header.nofront .header-menu ul.menu > li.parent > a::after,
body.yrc-redesign-experiment .header.nofront .header-menu ul.menu > li.deeper > a::after,
body.yrc-redesign-experiment .header.nofront .header-menu ul.menu > li.parent > span::after,
body.yrc-redesign-experiment .header.nofront .header-menu ul.menu > li.deeper > span::after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    opacity: 0.78;
}

body.yrc-redesign-experiment .header.nofront .header-menu ul.menu > li > a:hover,
body.yrc-redesign-experiment .header.nofront .header-menu ul.menu > li > span:hover,
body.yrc-redesign-experiment .header.nofront .header-menu ul.menu > li.active > a,
body.yrc-redesign-experiment .header.nofront .header-menu ul.menu > li.current > a,
body.yrc-redesign-experiment .header.nofront .header-menu ul.menu > li.alias-parent-active > a {
    color: var(--yrc-redesign-red) !important;
}

body.yrc-redesign-experiment .header.nofront .header-menu ul.menu > li > ul {
    position: absolute;
    top: calc(100% - 4px);
    left: -18px;
    z-index: 100;
    display: block;
    min-width: 230px;
    margin: 0;
    padding: 12px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(8px);
    background:
        linear-gradient(135deg, rgba(7, 25, 40, 0.98), rgba(8, 38, 58, 0.96));
    border: 1px solid var(--yrc-redesign-line-strong);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.36);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

body.yrc-redesign-experiment .header.nofront .header-menu ul.menu > li:hover > ul,
body.yrc-redesign-experiment .header.nofront .header-menu ul.menu > li:focus-within > ul {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

body.yrc-redesign-experiment .header.nofront .header-menu ul.menu > li > ul li {
    display: block;
    width: 100%;
}

body.yrc-redesign-experiment .header.nofront .header-menu ul.menu > li > ul a,
body.yrc-redesign-experiment .header.nofront .header-menu ul.menu > li > ul span {
    display: block;
    width: 100%;
    padding: 12px 14px;
    color: var(--yrc-redesign-muted) !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.28;
    text-transform: none;
    text-decoration: none !important;
    border-radius: 2px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

body.yrc-redesign-experiment .header.nofront .header-menu ul.menu > li > ul a:hover,
body.yrc-redesign-experiment .header.nofront .header-menu ul.menu > li > ul span:hover,
body.yrc-redesign-experiment .header.nofront .header-menu ul.menu > li > ul li.active > a,
body.yrc-redesign-experiment .header.nofront .header-menu ul.menu > li > ul li.current > a {
    color: #fff !important;
    background: rgba(240, 74, 45, 0.16);
}

body.yrc-redesign-experiment .header.nofront .header-contacts {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

body.yrc-redesign-experiment .header.nofront .header-contacts_phones,
body.yrc-redesign-experiment .header.nofront .header-contacts_callback,
body.yrc-redesign-experiment .header.nofront .header-contacts_callback-btn {
    margin: 0;
}

body.yrc-redesign-experiment .header.nofront .header-contacts_phones a,
body.yrc-redesign-experiment .header.nofront .header-contacts_phones {
    color: var(--yrc-redesign-text) !important;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

body.yrc-redesign-experiment .header.nofront .header-contacts_whatsapp,
body.yrc-redesign-experiment .header.nofront .header-contacts_callback-pulse {
    display: none !important;
}

body.yrc-redesign-experiment .header.nofront .header-contacts_callback-btn a,
body.yrc-redesign-experiment .header.nofront .header-contacts_callback-btn button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 26px;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    background: var(--yrc-redesign-red);
    border: 1px solid var(--yrc-redesign-red);
    border-radius: 4px;
}

body.yrc-redesign-experiment .header.nofront .header-contacts_callback-btn a:hover,
body.yrc-redesign-experiment .header.nofront .header-contacts_callback-btn button:hover {
    color: #fff !important;
    background-color: #0069d9;
    border-color: #0062cc;
}

body.yrc-redesign-experiment .header.nofront .header-menusmall a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 16px;
    color: var(--yrc-redesign-text);
    border: 1px solid var(--yrc-redesign-line-strong);
    border-radius: 4px;
}

body.yrc-redesign-experiment .header.nofront .header-menusmall .icon-bars {
    width: 22px;
    margin: 0;
}

body.yrc-redesign-experiment .header.nofront .header-menusmall .icon-bar {
    width: 22px;
    height: 1px;
    background: currentColor;
}

body.yrc-redesign-experiment .header.nofront .header-menusmall .icon-bar:nth-child(2) {
    margin: 6px 0;
}

body.yrc-redesign-experiment .header.nofront .header-menusmall .brend {
    margin: 0;
    color: inherit;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

body.yrc-redesign-content-page .main.nofront,
body.yrc-redesign-content-page .main-content,
body.yrc-redesign-content-page .item-page,
body.yrc-redesign-content-page .blog,
body.yrc-redesign-content-page .content-category,
body.yrc-redesign-content-page .jshop {
    color: var(--yrc-redesign-muted);
    background: transparent;
    font-family: "Inter", Arial, sans-serif;
}

body.yrc-redesign-content-page .main.nofront {
    padding-top: 56px;
    padding-bottom: 72px;
}

body.yrc-redesign-content-page .main.nofront .container,
body.yrc-redesign-content-page .main.nofront .container-fluid {
    width: min(1180px, calc(100% - 40px));
    max-width: none;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
}

body.yrc-redesign-content-page h1,
body.yrc-redesign-content-page .item-page h1,
body.yrc-redesign-content-page .blog h1,
body.yrc-redesign-content-page .jshop h1 {
    margin: 0 0 28px;
    color: var(--yrc-redesign-text) !important;
    font-family: "Literata", Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4.2vw, 64px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: 0;
    text-transform: uppercase;
}

body.yrc-redesign-content-page h2,
body.yrc-redesign-content-page .item-page h2,
body.yrc-redesign-content-page .blog h2,
body.yrc-redesign-content-page .jshop h2 {
    margin: 42px 0 18px;
    color: var(--yrc-redesign-red) !important;
    font-family: "Inter", Arial, sans-serif;
    font-size: clamp(21px, 2vw, 31px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
}

body.yrc-redesign-content-page h3,
body.yrc-redesign-content-page .item-page h3,
body.yrc-redesign-content-page .blog h3,
body.yrc-redesign-content-page .jshop h3 {
    margin: 30px 0 14px;
    color: var(--yrc-redesign-text) !important;
    font-family: "Inter", Arial, sans-serif;
    font-size: clamp(18px, 1.45vw, 24px);
    font-weight: 700;
    line-height: 1.25;
}

body.yrc-redesign-content-page h1 a,
body.yrc-redesign-content-page h2 a,
body.yrc-redesign-content-page h3 a {
    color: inherit !important;
    text-decoration: none !important;
}

/* Neutralise an obsolete editor colour that is unreadable on the navy redesign background. */
body.yrc-redesign-content-page .main-content span[style*="color: #394be6" i],
body.yrc-redesign-content-page .main-content span[style*="color:#394be6" i] {
    color: var(--yrc-redesign-red) !important;
}

body.yrc-redesign-content-page p,
body.yrc-redesign-content-page li,
body.yrc-redesign-content-page td,
body.yrc-redesign-content-page th,
body.yrc-redesign-content-page label,
body.yrc-redesign-content-page .item-page,
body.yrc-redesign-content-page .blog,
body.yrc-redesign-content-page .category_desc,
body.yrc-redesign-content-page .category_description,
body.yrc-redesign-content-page .jshop_prod_description,
body.yrc-redesign-content-page .jshop_prod_shortdescription {
    color: var(--yrc-redesign-muted) !important;
    font-size: 16px;
    line-height: 1.62;
}

body.yrc-redesign-content-page p {
    margin: 0 0 18px;
}

body.yrc-redesign-content-page strong,
body.yrc-redesign-content-page b {
    color: var(--yrc-redesign-text);
}

body.yrc-redesign-content-page a:not(.btn):not(.button):not([class*="btn"]) {
    color: var(--yrc-redesign-text);
    text-decoration: underline;
}

body.yrc-redesign-content-page a:not(.btn):not(.button):not([class*="btn"]):hover,
body.yrc-redesign-content-page a:not(.btn):not(.button):not([class*="btn"]):focus {
    color: var(--yrc-redesign-red);
}

body.yrc-redesign-content-page hr {
    border: 0;
    border-top: 1px solid var(--yrc-redesign-line);
    background: transparent;
}

body.yrc-redesign-content-page blockquote {
    margin: 28px 0;
    padding: 22px 28px;
    color: var(--yrc-redesign-text);
    background: var(--yrc-redesign-panel);
    border-left: 3px solid var(--yrc-redesign-red);
}

body.yrc-redesign-content-page [style*="background: white"],
body.yrc-redesign-content-page [style*="background:white"] {
    color: var(--yrc-redesign-muted) !important;
    background: var(--yrc-redesign-panel) !important;
    border: 1px solid var(--yrc-redesign-line) !important;
    box-shadow: none !important;
}

body.yrc-redesign-content-page .category_desc [style*="background: #f0f4f8"],
body.yrc-redesign-content-page .category_desc [style*="background:#f0f4f8"] {
    color: var(--yrc-redesign-muted) !important;
    background: rgba(8, 31, 48, 0.82) !important;
    border: 1px solid var(--yrc-redesign-line) !important;
    box-shadow: none !important;
}

body.yrc-redesign-content-page .category_desc [style*="background: #f0f4f8"] h3,
body.yrc-redesign-content-page .category_desc [style*="background:#f0f4f8"] h3 {
    color: var(--yrc-redesign-red) !important;
}

body.yrc-redesign-content-page .category_desc [style*="background: #f0f4f8"] p,
body.yrc-redesign-content-page .category_desc [style*="background:#f0f4f8"] p {
    color: var(--yrc-redesign-muted) !important;
}

body.yrc-redesign-content-page table,
body.yrc-redesign-content-page .table {
    width: 100%;
    color: var(--yrc-redesign-muted) !important;
    --bs-table-color: var(--yrc-redesign-muted);
    --bs-table-bg: rgba(8, 31, 48, 0.82);
    --bs-table-border-color: var(--yrc-redesign-line);
    --bs-table-striped-color: var(--yrc-redesign-muted);
    --bs-table-striped-bg: rgba(238, 246, 251, 0.035);
    --bs-table-hover-color: var(--yrc-redesign-text);
    --bs-table-hover-bg: rgba(240, 74, 45, 0.08);
    background: rgba(8, 31, 48, 0.82) !important;
    border: 1px solid var(--yrc-redesign-line) !important;
    border-collapse: collapse;
}

body.yrc-redesign-content-page table thead,
body.yrc-redesign-content-page table tbody,
body.yrc-redesign-content-page table tfoot,
body.yrc-redesign-content-page table tr,
body.yrc-redesign-content-page table th,
body.yrc-redesign-content-page table td,
body.yrc-redesign-content-page .table > :not(caption) > * > * {
    color: var(--yrc-redesign-muted) !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

body.yrc-redesign-content-page table th,
body.yrc-redesign-content-page table td,
body.yrc-redesign-content-page .table > :not(caption) > * > * {
    padding: 12px 14px;
    border: 1px solid var(--yrc-redesign-line) !important;
}

body.yrc-redesign-content-page table th,
body.yrc-redesign-content-page .table > thead > tr > th {
    color: var(--yrc-redesign-text) !important;
    background: rgba(140, 184, 210, 0.12) !important;
    font-weight: 700;
    text-transform: uppercase;
}

body.yrc-redesign-content-page table tbody tr:nth-child(even) td,
body.yrc-redesign-content-page .table > tbody > tr:nth-child(even) > * {
    background: rgba(238, 246, 251, 0.035) !important;
}

body.yrc-redesign-content-page table tbody tr:hover td,
body.yrc-redesign-content-page .table > tbody > tr:hover > * {
    color: var(--yrc-redesign-text) !important;
    background: rgba(240, 74, 45, 0.08) !important;
}

body.yrc-redesign-content-page table a {
    color: var(--yrc-redesign-text) !important;
    text-decoration: underline;
    text-decoration-color: rgba(238, 246, 251, 0.42);
    text-underline-offset: 3px;
}

body.yrc-redesign-content-page table a:hover,
body.yrc-redesign-content-page table a:focus {
    color: var(--yrc-redesign-red) !important;
    text-decoration-color: currentColor;
}

body.yrc-redesign-experiment .breadcrumb,
body.yrc-redesign-experiment .breadcrumbs,
body.yrc-redesign-experiment .mod-breadcrumbs {
    color: var(--yrc-redesign-muted-soft) !important;
    background: transparent;
}

body.yrc-redesign-experiment .main-breadcrumbs,
body.yrc-redesign-experiment .nav-breadcrumbs {
    color: var(--yrc-redesign-muted-soft) !important;
    background: rgba(3, 16, 29, 0.52) !important;
    border-bottom: 1px solid var(--yrc-redesign-line);
}

body.yrc-redesign-experiment .breadcrumb a,
body.yrc-redesign-experiment .breadcrumbs a,
body.yrc-redesign-experiment .mod-breadcrumbs a {
    color: var(--yrc-redesign-muted) !important;
}

body.yrc-redesign-experiment .breadcrumb a:hover,
body.yrc-redesign-experiment .breadcrumbs a:hover,
body.yrc-redesign-experiment .mod-breadcrumbs a:hover {
    color: var(--yrc-redesign-red) !important;
}

body.yrc-redesign-content-page .blog .item,
body.yrc-redesign-content-page .blog-item,
body.yrc-redesign-content-page .items-row,
body.yrc-redesign-content-page .newsflash_i,
body.yrc-redesign-content-page .jshop_list_product .block_product,
body.yrc-redesign-content-page .jshop_list_category .category,
body.yrc-redesign-content-page .category,
body.yrc-redesign-content-page .contact,
body.yrc-redesign-content-page .well,
body.yrc-redesign-content-page .card {
    color: var(--yrc-redesign-muted);
    background: var(--yrc-redesign-panel);
    border: 1px solid var(--yrc-redesign-line);
    border-radius: 0;
    box-shadow: none;
}

/* Achievement titles are positioned directly over CMS-managed photos. */
body.yrc-redesign-content-page .main-content-about_successes .newsflash-image::after {
    background: var(--yrc-redesign-bg-deep) !important;
    opacity: .55 !important;
}

body.yrc-redesign-content-page .blog .item,
body.yrc-redesign-content-page .blog-item,
body.yrc-redesign-content-page .items-row,
body.yrc-redesign-content-page .contact,
body.yrc-redesign-content-page .well,
body.yrc-redesign-content-page .card {
    padding: 24px;
}

body.yrc-redesign-content-page .item-image,
body.yrc-redesign-content-page .pull-left.item-image,
body.yrc-redesign-content-page .pull-right.item-image,
body.yrc-redesign-content-page figure {
    margin: 0 0 24px;
}

body.yrc-redesign-content-page .item-image img,
body.yrc-redesign-content-page .blog img,
body.yrc-redesign-content-page .item-page img,
body.yrc-redesign-content-page .jshop img {
    height: auto;
}

body.yrc-redesign-content-page .jshop .attributes_name {
    color: var(--yrc-redesign-text) !important;
}

/* Category names must remain readable over arbitrary editor-selected photos. */
body.yrc-redesign-content-page .jshop_list_category .category_image::after {
    background: var(--yrc-redesign-bg-deep) !important;
    opacity: .55 !important;
}

/* Documents use one shared CSS background instead of .category_image. */
body.yrc-redesign-content-page .docs-list .category_inner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: rgba(3, 16, 29, .34);
}

body.yrc-redesign-content-page .docs-list .category_name {
    position: relative;
    z-index: 2;
}

/* Keep light catalogue text readable regardless of the brightness of editor-selected photos. */
body.yrc-redesign-content-page .jshop_list_product .block_product .image::after {
    background: linear-gradient(
        180deg,
        rgba(3, 16, 29, 0.58) 0%,
        rgba(3, 16, 29, 0.72) 100%
    ) !important;
    opacity: 1 !important;
}

body.yrc-redesign-content-page .jshop_list_product .block_product .name,
body.yrc-redesign-content-page .jshop_list_product .block_product .name h2,
body.yrc-redesign-content-page .jshop_list_product .block_product .name a {
    color: var(--yrc-redesign-text) !important;
    text-shadow: 0 1px 3px rgba(3, 16, 29, 0.9);
}

body.yrc-redesign-content-page .jshop_list_product .block_product .name a:hover,
body.yrc-redesign-content-page .jshop_list_product .block_product .name a:focus {
    color: var(--yrc-redesign-red) !important;
}

body.yrc-redesign-content-page .jshop.productfull .productfull__image::before {
    background: linear-gradient(
        90deg,
        rgba(3, 16, 29, 0.82) 0%,
        rgba(3, 16, 29, 0.64) 58%,
        rgba(3, 16, 29, 0.42) 100%
    ) !important;
    opacity: 1 !important;
}

body.yrc-redesign-content-page .jshop .category_description_top .category_image,
body.yrc-redesign-content-page .jshop .category_description_bottom .slider.slick-slider .slick-slide,
body.yrc-redesign-content-page .jshop.productfull .productfull__m .jshop_prod_description .slider.slick-slider .slick-slide {
    padding: 0 !important;
    background: transparent !important;
}

body.yrc-redesign-content-page .jshop .category_description_top .category_image img,
body.yrc-redesign-content-page .jshop .category_description_bottom .slider.slick-slider img,
body.yrc-redesign-content-page .jshop.productfull .productfull__m .jshop_prod_description .slider.slick-slider img {
    border: 1px solid var(--yrc-redesign-line) !important;
}

/* Legacy JoomShopping used white connector lines that were invisible on the old light background. */
body.yrc-redesign-content-page .jshop.productfull .productfull__m .productfull__attributes .extra_fields_el::before {
    content: none;
    display: none;
}

body.yrc-redesign-content-page .jshop_price,
body.yrc-redesign-content-page .jshop .jshop_price,
body.yrc-redesign-content-page .jshop_list_product .jshop_price {
    color: var(--yrc-redesign-text) !important;
    background: rgba(238, 246, 251, 0.08) !important;
    border: 1px solid var(--yrc-redesign-line) !important;
}

body.yrc-redesign-content-page .btnarrow .custom {
    display: inline-flex;
    padding: 0;
    overflow: visible;
    background: transparent !important;
    border-radius: 0;
}

body.yrc-redesign-content-page .category_description_buttons .custom,
body.yrc-redesign-content-page .category_description_buttons-order,
body.yrc-redesign-content-page .productfull__m--buttons .custom,
body.yrc-redesign-content-page .productfull__m--buttons-order,
body.yrc-redesign-content-page .productfull__r--buttons .custom,
body.yrc-redesign-content-page .productfull__r--buttons-order {
    display: inline-flex;
    padding: 0 !important;
    overflow: visible;
    background: transparent !important;
    border-radius: 0 !important;
}

body.yrc-redesign-content-page .readmore a,
body.yrc-redesign-content-page a.btnarrow,
body.yrc-redesign-content-page .btnarrow a,
body.yrc-redesign-content-page .category_description_buttons a,
body.yrc-redesign-content-page .category_description_buttons-order a,
body.yrc-redesign-content-page .productfull__m--buttons a,
body.yrc-redesign-content-page .productfull__m--buttons-order a,
body.yrc-redesign-content-page .productfull__r--buttons a,
body.yrc-redesign-content-page .productfull__r--buttons-order a,
body.yrc-redesign-content-page .jshop .category_shortdesc a.btnarrow,
body.yrc-redesign-content-page a.popup-order-regatta,
body.yrc-redesign-content-page a.popup-order-sportregatta,
body.yrc-redesign-content-page a.popup-order-yachtrest,
body.yrc-redesign-content-page a.popup-order-corporate,
body.yrc-redesign-content-page a.popup-order-corporateregatta,
body.yrc-redesign-content-page a.popup-order-yachttraining,
body.yrc-redesign-content-page .item-page a[style*="background"],
body.yrc-redesign-content-page .category_desc a[style*="background"],
body.yrc-redesign-content-page .blog a[style*="background"],
body.yrc-redesign-content-page .btn:not(.button_detail),
body.yrc-redesign-content-page .button,
body.yrc-redesign-content-page .rsform-submit-button,
body.yrc-redesign-content-page input[type="submit"],
body.yrc-redesign-content-page button[type="submit"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 48px;
    padding: 0 28px !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    background: var(--yrc-redesign-red) !important;
    border: 1px solid var(--yrc-redesign-red) !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    white-space: nowrap;
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease !important;
}

body.yrc-redesign-content-page .readmore a::after,
body.yrc-redesign-content-page a.btnarrow::after,
body.yrc-redesign-content-page .btnarrow a::after,
body.yrc-redesign-content-page .category_description_buttons a::after,
body.yrc-redesign-content-page .category_description_buttons-order a::after,
body.yrc-redesign-content-page .productfull__m--buttons a::after,
body.yrc-redesign-content-page .productfull__m--buttons-order a::after,
body.yrc-redesign-content-page .productfull__r--buttons a::after,
body.yrc-redesign-content-page .productfull__r--buttons-order a::after,
body.yrc-redesign-content-page .jshop .category_shortdesc a.btnarrow::after,
body.yrc-redesign-content-page a.popup-order-regatta::after,
body.yrc-redesign-content-page a.popup-order-sportregatta::after,
body.yrc-redesign-content-page a.popup-order-yachtrest::after,
body.yrc-redesign-content-page a.popup-order-corporate::after,
body.yrc-redesign-content-page a.popup-order-corporateregatta::after,
body.yrc-redesign-content-page a.popup-order-yachttraining::after,
body.yrc-redesign-content-page .btn:not(.button_detail)::after,
body.yrc-redesign-content-page .button::after {
    content: "";
    position: static !important;
    inset: auto !important;
    display: block !important;
    flex: 0 0 auto;
    width: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    height: 10px !important;
    min-height: 10px !important;
    max-height: 10px !important;
    margin: 0 0 0 18px !important;
    padding: 0 !important;
    background: currentColor !important;
    border: 0 !important;
    border-radius: 0 !important;
    clip-path: polygon(0 45%, 75% 45%, 75% 0, 100% 50%, 75% 100%, 75% 55%, 0 55%);
    transform: none !important;
}

/* These legacy Joomla Shop category labels already contain their own arrow. */
body.yrc-redesign-content-page .productfull__m--buttons-order {
    display: flex;
    width: 100%;
    max-width: 100%;
}

body.yrc-redesign-content-page a.popup-order-yachtrest {
    max-width: 100%;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    line-height: 1.25 !important;
    text-align: center;
    white-space: normal !important;
    overflow-wrap: break-word;
}

body.yrc-redesign-content-page a.popup-order-yachtrest::after {
    content: none !important;
    display: none !important;
}

body.yrc-redesign-content-page .rsform-submit-button,
body.yrc-redesign-content-page input[type="submit"],
body.yrc-redesign-content-page button[type="submit"] {
    min-width: 200px;
}

body.yrc-redesign-content-page .readmore a:hover,
body.yrc-redesign-content-page a.btnarrow:hover,
body.yrc-redesign-content-page a.btnarrow:focus,
body.yrc-redesign-content-page .btnarrow a:hover,
body.yrc-redesign-content-page .btnarrow a:focus,
body.yrc-redesign-content-page .category_description_buttons a:hover,
body.yrc-redesign-content-page .category_description_buttons a:focus,
body.yrc-redesign-content-page .category_description_buttons-order a:hover,
body.yrc-redesign-content-page .category_description_buttons-order a:focus,
body.yrc-redesign-content-page .productfull__m--buttons a:hover,
body.yrc-redesign-content-page .productfull__m--buttons a:focus,
body.yrc-redesign-content-page .productfull__m--buttons-order a:hover,
body.yrc-redesign-content-page .productfull__m--buttons-order a:focus,
body.yrc-redesign-content-page .productfull__r--buttons a:hover,
body.yrc-redesign-content-page .productfull__r--buttons a:focus,
body.yrc-redesign-content-page .productfull__r--buttons-order a:hover,
body.yrc-redesign-content-page .productfull__r--buttons-order a:focus,
body.yrc-redesign-content-page .jshop .category_shortdesc a.btnarrow:hover,
body.yrc-redesign-content-page .jshop .category_shortdesc a.btnarrow:focus,
body.yrc-redesign-content-page a.popup-order-regatta:hover,
body.yrc-redesign-content-page a.popup-order-regatta:focus,
body.yrc-redesign-content-page a.popup-order-sportregatta:hover,
body.yrc-redesign-content-page a.popup-order-sportregatta:focus,
body.yrc-redesign-content-page a.popup-order-yachtrest:hover,
body.yrc-redesign-content-page a.popup-order-yachtrest:focus,
body.yrc-redesign-content-page a.popup-order-corporate:hover,
body.yrc-redesign-content-page a.popup-order-corporate:focus,
body.yrc-redesign-content-page a.popup-order-corporateregatta:hover,
body.yrc-redesign-content-page a.popup-order-corporateregatta:focus,
body.yrc-redesign-content-page a.popup-order-yachttraining:hover,
body.yrc-redesign-content-page a.popup-order-yachttraining:focus,
body.yrc-redesign-content-page .item-page a[style*="background"]:hover,
body.yrc-redesign-content-page .item-page a[style*="background"]:focus,
body.yrc-redesign-content-page .category_desc a[style*="background"]:hover,
body.yrc-redesign-content-page .category_desc a[style*="background"]:focus,
body.yrc-redesign-content-page .blog a[style*="background"]:hover,
body.yrc-redesign-content-page .blog a[style*="background"]:focus,
body.yrc-redesign-content-page .btn:not(.button_detail):hover,
body.yrc-redesign-content-page .button:hover,
body.yrc-redesign-content-page .button:focus,
body.yrc-redesign-content-page .rsform-submit-button:hover,
body.yrc-redesign-content-page .rsform-submit-button:focus,
body.yrc-redesign-content-page input[type="submit"]:hover,
body.yrc-redesign-content-page input[type="submit"]:focus,
body.yrc-redesign-content-page button[type="submit"]:hover,
body.yrc-redesign-content-page button[type="submit"]:focus {
    color: #fff !important;
    background-color: #0069d9 !important;
    border-color: #0062cc !important;
    transform: translateY(-1px);
}

body.yrc-redesign-content-page .main-content-about_reviews-btnssendreview .custom {
    padding: 0;
    overflow: visible;
    background: transparent !important;
    border-radius: 0;
}

body.yrc-redesign-content-page .main-content-about_reviews-btnssendreview a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 48px;
    height: auto;
    padding: 0 28px;
    color: #fff !important;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none !important;
    white-space: nowrap;
    background: var(--yrc-redesign-red) !important;
    border: 1px solid var(--yrc-redesign-red);
    border-radius: 4px;
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

body.yrc-redesign-content-page .main-content-about_reviews-btnssendreview a::after {
    content: "";
    position: static;
    display: block;
    flex: 0 0 22px;
    width: 22px;
    height: 10px;
    margin: 0 0 0 18px;
    background: currentColor;
    border: 0;
    border-radius: 0;
    clip-path: polygon(0 45%, 75% 45%, 75% 0, 100% 50%, 75% 100%, 75% 55%, 0 55%);
}

body.yrc-redesign-content-page .main-content-about_reviews-btnssendreview a:hover,
body.yrc-redesign-content-page .main-content-about_reviews-btnssendreview a:focus {
    color: #fff !important;
    background: #0069d9 !important;
    border-color: #0062cc;
    transform: translateY(-1px);
}

body.yrc-redesign-content-page a.readmore_lnk {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    color: transparent !important;
    font-size: 0;
    line-height: 0;
    text-decoration: none !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
}

body.yrc-redesign-content-page .blog .items_i .item {
    transition: background-color .2s ease, border-color .2s ease;
}

body.yrc-redesign-content-page .blog .items_i:hover .item,
body.yrc-redesign-content-page .blog .items_i:focus-within .item {
    background: rgba(10, 43, 64, 0.92);
    border-color: var(--yrc-redesign-line-strong);
}

body.yrc-redesign-content-page a.readmore_lnk:focus-visible {
    outline: 2px solid var(--yrc-redesign-red) !important;
    outline-offset: -4px;
}

body.yrc-redesign-content-page .main-content .blog .items-row.reviews .item-desc .readmore_lnk {
    position: relative;
    inset: auto;
    display: inline-flex !important;
    width: auto;
    height: auto;
    min-height: 44px;
    padding: 0 20px !important;
    overflow: visible;
    color: #fff !important;
    font-size: 12px !important;
    line-height: 1 !important;
    text-indent: 0;
    background: var(--yrc-redesign-red) !important;
    border: 1px solid var(--yrc-redesign-red) !important;
    border-radius: 4px;
}

body.yrc-redesign-content-page .main-content .blog .items-row.reviews .item-desc .readmore_lnk:hover,
body.yrc-redesign-content-page .main-content .blog .items-row.reviews .item-desc .readmore_lnk:focus-visible {
    color: #fff !important;
    background: #0069d9 !important;
    border-color: #0062cc !important;
}

body.yrc-redesign-content-page iframe,
body.yrc-redesign-content-page video,
body.yrc-redesign-content-page object,
body.yrc-redesign-content-page embed {
    max-width: 100%;
}

body.yrc-redesign-content-page .table-responsive,
body.yrc-redesign-content-page .item-page table,
body.yrc-redesign-content-page .blog table {
    overflow-x: auto;
}

body.yrc-redesign-content-page .table-responsive {
    margin: 28px 0;
    border: 1px solid var(--yrc-redesign-line);
    background: rgba(8, 31, 48, 0.5);
    -webkit-overflow-scrolling: touch;
}

body.yrc-redesign-content-page .table-responsive table {
    margin-bottom: 0;
    border-width: 0 !important;
}

body.yrc-redesign-content-page .table-responsive::-webkit-scrollbar {
    height: 8px;
}

body.yrc-redesign-content-page .table-responsive::-webkit-scrollbar-track {
    background: rgba(238, 246, 251, 0.08);
}

body.yrc-redesign-content-page .table-responsive::-webkit-scrollbar-thumb {
    background: rgba(140, 184, 210, 0.5);
}

body.yrc-redesign-content-page .rsform,
body.yrc-redesign-content-page .rsform-block,
body.yrc-redesign-content-page .formResponsive,
body.yrc-redesign-content-page .formContainer {
    color: var(--yrc-redesign-muted);
}

body.yrc-redesign-content-page input[type="text"],
body.yrc-redesign-content-page input[type="email"],
body.yrc-redesign-content-page input[type="tel"],
body.yrc-redesign-content-page input[type="number"],
body.yrc-redesign-content-page input[type="password"],
body.yrc-redesign-content-page select,
body.yrc-redesign-content-page textarea {
    width: 100%;
    min-height: 46px;
    color: var(--yrc-redesign-text);
    background: rgba(238, 246, 251, 0.08);
    border: 1px solid var(--yrc-redesign-line-strong);
    border-radius: 4px;
}

body.yrc-redesign-content-page textarea {
    min-height: 110px;
}

body.yrc-redesign-content-page input::placeholder,
body.yrc-redesign-content-page textarea::placeholder {
    color: rgba(238, 246, 251, .78);
    opacity: 1;
}

body.yrc-redesign-content-page input:focus,
body.yrc-redesign-content-page select:focus,
body.yrc-redesign-content-page textarea:focus {
    border-color: rgba(240, 74, 45, 0.78);
    outline: none;
    box-shadow: 0 0 0 3px rgba(240, 74, 45, 0.16);
}

body.yrc-redesign-content-page input[type="checkbox"],
body.yrc-redesign-content-page input[type="radio"] {
    width: 20px;
    height: 20px;
    min-height: 0;
    accent-color: var(--yrc-redesign-red);
    border: 1px solid var(--yrc-redesign-line-strong);
}

body.yrc-redesign-content-page .formControls label,
body.yrc-redesign-content-page .rsform-block label {
    color: var(--yrc-redesign-muted) !important;
}

body.yrc-redesign-content-page .formControls label:has(input[type="checkbox"]),
body.yrc-redesign-content-page .formControls label:has(input[type="radio"]) {
    display: inline-flex;
    gap: 10px;
    align-items: flex-start;
}

body.yrc-redesign-content-page .pagination,
body.yrc-redesign-content-page ul.pagination {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin: 34px 0 0;
}

body.yrc-redesign-content-page .pagination li,
body.yrc-redesign-content-page ul.pagination li {
    padding: 0;
}

body.yrc-redesign-content-page .pagination a,
body.yrc-redesign-content-page .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    color: var(--yrc-redesign-text) !important;
    text-decoration: none !important;
    background: rgba(238, 246, 251, 0.06);
    border: 1px solid var(--yrc-redesign-line);
}

body.yrc-redesign-content-page .pagination .active span,
body.yrc-redesign-content-page .pagination a:hover {
    color: #fff !important;
    background: var(--yrc-redesign-red);
    border-color: var(--yrc-redesign-red);
}

body.yrc-redesign-experiment .blocks-content {
    background: var(--yrc-redesign-bg) !important;
}

body.yrc-redesign-experiment .blocks-quest {
    position: relative;
    margin: 0;
    padding: clamp(46px, 5.6vw, 76px) 0 0;
    color: var(--yrc-redesign-text);
    background:
        radial-gradient(circle at 82% 10%, rgba(140, 184, 210, 0.10), transparent 30%),
        linear-gradient(180deg, rgba(4, 19, 31, 0.98), rgba(2, 13, 24, 1));
    border-top: 1px solid var(--yrc-redesign-line);
    border-bottom: 1px solid var(--yrc-redesign-line);
}

body.yrc-redesign-experiment .blocks-quest .container-fluid {
    width: min(calc(100vw - 44px), 1180px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding: 0;
}

body.yrc-redesign-experiment .blocks-quest .row {
    margin-right: 0;
    margin-left: 0;
}

body.yrc-redesign-experiment .blocks-quest [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}

body.yrc-redesign-experiment .blocks-quest-head {
    margin-bottom: 22px;
}

body.yrc-redesign-experiment .blocks-quest-head h2,
body.yrc-redesign-experiment .blocks-quest-head h3,
body.yrc-redesign-experiment .blocks-quest-head p {
    margin: 0;
}

body.yrc-redesign-experiment .blocks-quest-head h2,
body.yrc-redesign-experiment .blocks-quest-head h3 {
    color: var(--yrc-redesign-red) !important;
    font-family: "Inter", Arial, sans-serif !important;
    font-size: clamp(24px, 2.3vw, 32px) !important;
    font-weight: 400 !important;
    line-height: 1.22 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    text-transform: uppercase;
}

body.yrc-redesign-experiment .blocks-quest-main {
    position: relative;
    display: grid;
    min-height: 430px;
    grid-template-columns: minmax(320px, 360px) clamp(150px, 16vw, 214px) minmax(300px, 350px);
    justify-content: center;
    column-gap: clamp(38px, 4.5vw, 66px);
    align-items: center;
    padding: clamp(34px, 5vw, 58px) 0 clamp(42px, 5.2vw, 66px);
    background:
        linear-gradient(90deg, rgba(2, 13, 24, 0.98) 0%, rgba(2, 13, 24, 0.88) 34%, rgba(2, 13, 24, 0.66) 50%, rgba(2, 13, 24, 0.9) 68%, rgba(2, 13, 24, 0.99) 100%) !important;
    border: 1px solid var(--yrc-redesign-line);
    border-radius: 4px;
    overflow: hidden;
}

body.yrc-redesign-experiment .blocks-quest-main::before {
    content: "";
    position: relative;
    z-index: 0;
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    justify-self: center;
    width: clamp(150px, 16vw, 214px);
    aspect-ratio: 214 / 434;
    background: url("../images/blocks-contacts-bg.png") 50% 100% / contain no-repeat;
}

body.yrc-redesign-experiment .blocks-quest-form,
body.yrc-redesign-experiment .blocks-quest-desc {
    position: relative;
    z-index: 1;
    max-width: none;
    margin: 0 !important;
}

body.yrc-redesign-experiment .blocks-quest-form {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
}

body.yrc-redesign-experiment .blocks-quest-desc {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
}

body.yrc-redesign-experiment .blocks-quest-form .moduletable,
body.yrc-redesign-experiment .blocks-quest-desc {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

body.yrc-redesign-experiment .blocks-quest-form .moduletable {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

body.yrc-redesign-experiment .blocks-quest-form .rsform {
    width: 100%;
}

body.yrc-redesign-experiment .blocks-quest-form form {
    width: 100%;
}

body.yrc-redesign-experiment .blocks-quest-form .formControlLabel {
    display: none !important;
}

body.yrc-redesign-experiment .blocks-quest-form .rsform-block {
    margin: 0 0 16px;
}

body.yrc-redesign-experiment .blocks-quest-form .rsform-block-text-01,
body.yrc-redesign-experiment .blocks-quest-form .rsform-block-text-notice {
    display: none !important;
}

body.yrc-redesign-experiment .blocks-quest-form .formControls {
    margin: 0 !important;
}

body.yrc-redesign-experiment .blocks-quest-form .form-row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

body.yrc-redesign-experiment .blocks-quest-form .form-row > .col,
body.yrc-redesign-experiment .blocks-quest-form .form-row > [class*="col-"] {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

body.yrc-redesign-experiment .blocks-quest-form input[type="text"],
body.yrc-redesign-experiment .blocks-quest-form input[type="tel"] {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: 48px;
    min-height: 48px;
    padding: 0 18px !important;
    color: var(--yrc-redesign-text) !important;
    background: rgba(123, 163, 187, 0.26) !important;
    border: 1px solid rgba(133, 178, 205, 0.42) !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}

body.yrc-redesign-experiment .blocks-quest-form input::placeholder {
    color: var(--yrc-redesign-muted-soft) !important;
}

body.yrc-redesign-experiment .blocks-quest-form .rsform-block-callback-consent-privacy {
    margin-top: 6px;
}

body.yrc-redesign-experiment .blocks-quest-form .rsform-block-callback-consent-privacy .formControls {
    display: block;
    font-size: 14px;
    line-height: 1.45;
}

body.yrc-redesign-experiment .blocks-quest-form .rsform-block-callback-consent-privacy .form-check-label {
    display: inline-flex !important;
    gap: 12px;
    align-items: flex-start;
    color: rgba(238, 246, 251, 0.88) !important;
}

body.yrc-redesign-experiment .blocks-quest-form .rsform-block-callback-consent-privacy input[type="checkbox"] {
    width: 22px !important;
    min-width: 22px !important;
    height: 22px !important;
    margin: 1px 0 0 !important;
    accent-color: var(--yrc-redesign-red);
    cursor: pointer;
}

body.yrc-redesign-experiment .blocks-quest-form .rsform-block-callback-consent-privacy a {
    color: var(--yrc-redesign-text) !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(238, 246, 251, 0.45) !important;
    text-underline-offset: 4px;
}

body.yrc-redesign-experiment .blocks-quest-form .rsform-block-callback-consent-privacy a:hover {
    color: var(--yrc-redesign-red) !important;
    text-decoration-color: var(--yrc-redesign-red) !important;
}

body.yrc-redesign-experiment .blocks-quest-form .rsform-submit-button {
    width: min(100%, 280px);
    margin: 10px auto 0 !important;
}

body.yrc-redesign-experiment .blocks-quest-form .rsform-block-submit {
    text-align: center !important;
}

body.yrc-redesign-experiment .blocks-quest-form .rsform-block-submit .formControls {
    display: flex;
    width: 100%;
    justify-content: center;
}

body.yrc-redesign-experiment .blocks-quest-form p {
    margin: 18px 0 0;
    color: rgba(238, 246, 251, 0.96) !important;
    text-align: left !important;
}

body.yrc-redesign-experiment .blocks-quest-desc {
    display: grid;
    gap: 18px;
    align-content: start;
    color: var(--yrc-redesign-text);
}

body.yrc-redesign-experiment .blocks-quest_desc,
body.yrc-redesign-experiment .blocks-quest_phones,
body.yrc-redesign-experiment .blocks-quest_email {
    margin: 0;
    color: var(--yrc-redesign-text) !important;
}

body.yrc-redesign-experiment .blocks-quest_desc p,
body.yrc-redesign-experiment .blocks-quest_phones p,
body.yrc-redesign-experiment .blocks-quest_email p {
    margin: 0;
    color: rgba(238, 246, 251, 0.9) !important;
}

body.yrc-redesign-experiment .blocks-quest_desc p {
    display: grid;
    width: min(100%, 310px);
    margin-inline: auto;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    text-align: left;
}

body.yrc-redesign-experiment .blocks-quest_desc span {
    display: block;
    margin: 0;
}

body.yrc-redesign-experiment .blocks-quest_desc span img {
    width: 60px;
    height: 60px;
    margin: 0;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

body.yrc-redesign-experiment .blocks-quest_desc br {
    display: none;
}

body.yrc-redesign-experiment .blocks-quest_phones,
body.yrc-redesign-experiment .blocks-quest_email {
    width: min(100%, 260px);
    margin-inline: auto;
}

body.yrc-redesign-experiment .blocks-quest_phones .custom {
    display: grid;
    width: 100%;
    gap: 2px;
}

body.yrc-redesign-experiment .blocks-quest_phones p {
    width: 100%;
}

body.yrc-redesign-experiment .blocks-quest_phones a {
    display: grid !important;
    width: 100%;
    min-height: 36px;
    padding: 7px 0 !important;
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    font-size: 16px;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
    text-align: left;
}

body.yrc-redesign-experiment .blocks-quest_phones a::before {
    width: 12px !important;
    height: 12px !important;
    margin: 0 !important;
}

body.yrc-redesign-experiment .blocks-quest_email a {
    display: grid !important;
    width: 100%;
    min-height: 36px;
    padding: 7px 0 !important;
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    overflow-wrap: anywhere;
    line-height: 1.25;
    text-align: left;
    background: none !important;
}

body.yrc-redesign-experiment .blocks-quest_email a::before {
    content: "";
    width: 15px;
    height: 15px;
    background: url("../images/home-redesign/figma/footer-mail.svg") center / 15px auto no-repeat;
}

body.yrc-redesign-experiment .blocks-quest a {
    color: var(--yrc-redesign-text) !important;
}

body.yrc-redesign-experiment .blocks-quest a:hover {
    color: var(--yrc-redesign-red) !important;
}

body.yrc-redesign-experiment .footer.footer-new {
    color: var(--yrc-redesign-muted);
    background:
        linear-gradient(180deg, rgba(3, 16, 29, 0.98), rgba(2, 12, 22, 1));
    border-top: 1px solid var(--yrc-redesign-line);
}

body.yrc-redesign-experiment .footer.footer-new .container-fluid {
    padding-top: 44px;
    padding-bottom: 34px;
}

body.yrc-redesign-experiment .footer.footer-new .row {
    display: grid;
    grid-template-columns: minmax(180px, 230px) minmax(0, 1fr) minmax(250px, 300px);
    gap: 34px 42px;
    align-items: flex-start;
    margin-right: 0;
    margin-left: 0;
}

body.yrc-redesign-experiment .footer.footer-new .footer-left,
body.yrc-redesign-experiment .footer.footer-new .footer-center,
body.yrc-redesign-experiment .footer.footer-new .footer-links,
body.yrc-redesign-experiment .footer.footer-new .copyright {
    width: auto;
    max-width: none;
    padding-right: 0;
    padding-left: 0;
}

body.yrc-redesign-experiment .footer.footer-new .footer-left .row {
    display: block;
}

body.yrc-redesign-experiment .footer.footer-new .footer-logo,
body.yrc-redesign-experiment .footer.footer-new .footer-slogan {
    width: auto;
    max-width: none;
    padding-right: 0;
    padding-left: 0;
}

body.yrc-redesign-experiment .footer.footer-new .footer-logo_lnk {
    display: inline-flex;
    background: transparent !important;
}

body.yrc-redesign-experiment .footer.footer-new .footer-logo img {
    content: url("../images/home-redesign/figma/logo.svg");
    max-width: 188px;
    height: auto;
}

body.yrc-redesign-experiment .footer.footer-new .footer-counters {
    display: none !important;
}

body.yrc-redesign-experiment .footer.footer-new .footer-slogan,
body.yrc-redesign-experiment .footer.footer-new .footer-mm-slogan,
body.yrc-redesign-experiment .footer.footer-new .footer-left-extra {
    color: var(--yrc-redesign-muted) !important;
    font-size: 14px;
    line-height: 1.5;
}

body.yrc-redesign-experiment .footer.footer-new .footer-slogan,
body.yrc-redesign-experiment .footer.footer-new .footer-mm-slogan {
    margin-top: 20px;
}

body.yrc-redesign-experiment .footer.footer-new a {
    text-decoration: none !important;
    border-bottom: 0 !important;
}

body.yrc-redesign-experiment .footer.footer-new .footer-menu ul.menu {
    display: grid;
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    gap: 28px 38px;
    margin: 0;
    padding: 0;
}

body.yrc-redesign-experiment .footer.footer-new .footer-menu ul.menu,
body.yrc-redesign-experiment .footer.footer-new .footer-menu ul.menu ul,
body.yrc-redesign-experiment .footer.footer-new .footer-menu ul.menu li {
    list-style: none;
}

body.yrc-redesign-experiment .footer.footer-new .footer-menu ul.menu li {
    margin: 0;
    padding: 0;
}

body.yrc-redesign-experiment .footer.footer-new .footer-menu ul.menu > li > a,
body.yrc-redesign-experiment .footer.footer-new .footer-menu ul.menu > li > span {
    display: block;
    margin: 0 0 14px;
    color: var(--yrc-redesign-text) !important;
    font-family: "Literata", Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
}

body.yrc-redesign-experiment .footer.footer-new .footer-menu ul.menu ul a,
body.yrc-redesign-experiment .footer.footer-new .footer-menu ul.menu ul span {
    display: block;
    padding: 5px 0;
    color: var(--yrc-redesign-muted) !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none !important;
}

body.yrc-redesign-experiment .footer.footer-new .footer-menu a:hover,
body.yrc-redesign-experiment .footer.footer-new .footer-menu a:focus,
body.yrc-redesign-experiment .footer.footer-new .footer-menu li.active > a,
body.yrc-redesign-experiment .footer.footer-new .footer-menu li.current > a {
    color: var(--yrc-redesign-red) !important;
}

body.yrc-redesign-experiment .footer.footer-new .footer-contacts-bottom,
body.yrc-redesign-experiment .footer.footer-new .footer-contacts-top {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin: 0 0 16px;
}

body.yrc-redesign-experiment .footer.footer-new .footer-contacts-bottom {
    width: 100% !important;
}

body.yrc-redesign-experiment .footer.footer-new .footer-contacts_whatsapp,
body.yrc-redesign-experiment .footer.footer-new .footer-contacts_telegram {
    flex: 0 0 auto;
    width: auto !important;
    max-width: none !important;
}

body.yrc-redesign-experiment .footer.footer-new .footer-contacts_whatsapp a,
body.yrc-redesign-experiment .footer.footer-new .footer-contacts_telegram a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.yrc-redesign-experiment .footer.footer-new .footer-contacts_whatsapp img,
body.yrc-redesign-experiment .footer.footer-new .footer-contacts_telegram img {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
}

body.yrc-redesign-experiment .footer.footer-new .footer-contacts_email,
body.yrc-redesign-experiment .footer.footer-new .footer-contacts_youtube,
body.yrc-redesign-experiment .footer.footer-new .footer-contacts_email a,
body.yrc-redesign-experiment .footer.footer-new .footer-contacts_youtube a {
    color: var(--yrc-redesign-muted) !important;
    font-size: 14px;
    line-height: 1.4;
}

body.yrc-redesign-experiment .footer.footer-new .footer-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    color: var(--yrc-redesign-text) !important;
    background: rgba(238, 246, 251, 0.06) !important;
    border: 1px solid var(--yrc-redesign-line-strong) !important;
    border-radius: 4px;
}

body.yrc-redesign-experiment .footer.footer-new .footer-button p,
body.yrc-redesign-experiment .footer.footer-new .footer-button span {
    color: var(--yrc-redesign-text) !important;
}

body.yrc-redesign-experiment .footer.footer-new .footer-button:hover,
body.yrc-redesign-experiment .footer.footer-new .footer-button:focus {
    color: #fff !important;
    background: var(--yrc-redesign-red) !important;
    border-color: var(--yrc-redesign-red) !important;
}

body.yrc-redesign-experiment .footer.footer-new .footer-links,
body.yrc-redesign-experiment .footer.footer-new .copyright {
    color: var(--yrc-redesign-muted-soft) !important;
}

body.yrc-redesign-experiment .footer.footer-new .footer-links {
    grid-column: 1 / -1;
}

body.yrc-redesign-experiment .footer.footer-new .footer-links a,
body.yrc-redesign-experiment .footer.footer-new .copyright a {
    color: var(--yrc-redesign-muted) !important;
    text-decoration: none !important;
}

body.yrc-redesign-experiment .footer.footer-new .footer-links a:hover,
body.yrc-redesign-experiment .footer.footer-new .copyright a:hover {
    color: var(--yrc-redesign-red) !important;
}

body.yrc-redesign-experiment .footer.footer-new .footer-img__company {
    display: flex;
    flex-wrap: wrap;
    gap: 22px 34px;
    align-items: flex-end;
}

body.yrc-redesign-experiment .footer.footer-new .footer-img__company p {
    margin: 0;
    color: var(--yrc-redesign-muted) !important;
}

body.yrc-redesign-experiment .footer.footer-new .footer-img__company strong {
    color: var(--yrc-redesign-text) !important;
}

body.yrc-redesign-experiment .footer.footer-new .footer-pay {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    align-items: center;
    margin-top: 18px;
    color: var(--yrc-redesign-muted) !important;
}

body.yrc-redesign-experiment .footer.footer-new .footer-pay p {
    margin: 0;
    color: var(--yrc-redesign-muted) !important;
}

body.yrc-redesign-experiment .footer.footer-new .footer-pay img {
    width: auto;
    max-width: 148px;
    height: 24px;
    object-fit: contain;
}

body.yrc-redesign-experiment .footer.footer-new .copyright {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0;
    border-top: 1px solid var(--yrc-redesign-line);
}

body.yrc-redesign-experiment .footer.footer-new .copyright p {
    margin: 18px 0 0 !important;
    padding-left: 0 !important;
    color: var(--yrc-redesign-muted-soft) !important;
}

body.yrc-redesign-experiment .btntop {
    right: 24px;
    bottom: 24px;
    width: 46px;
    height: 46px;
    background-color: var(--yrc-redesign-red);
    border: 1px solid var(--yrc-redesign-red);
    border-radius: 50%;
}

body.yrc-redesign-content-page .main-content-contacts_form .moduletable {
    width: min(100%, 500px);
    margin: 0;
    padding: clamp(30px, 4vw, 46px);
    color: var(--yrc-redesign-text);
    background:
        linear-gradient(180deg, rgba(7, 28, 44, 0.92), rgba(3, 16, 29, 0.98)) !important;
    border: 1px solid var(--yrc-redesign-line);
    box-shadow: none;
}

body.yrc-redesign-content-page .main-content-contacts_form .rsform,
body.yrc-redesign-content-page .main-content-contacts_form form,
body.yrc-redesign-content-page .main-content-contacts_form fieldset {
    width: 100%;
    color: var(--yrc-redesign-text) !important;
}

body.yrc-redesign-content-page .main-content-contacts_form h2,
body.yrc-redesign-content-page .main-content-contacts_form .formControlLabel,
body.yrc-redesign-content-page .main-content-contacts_form label.control-label {
    display: none !important;
}

body.yrc-redesign-content-page .main-content-contacts_form .form-row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

body.yrc-redesign-content-page .main-content-contacts_form .form-row > .col,
body.yrc-redesign-content-page .main-content-contacts_form .form-row > [class*="col-"] {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

body.yrc-redesign-content-page .main-content-contacts_form .rsform-block {
    margin: 0 0 16px;
    opacity: 1 !important;
    text-align: left !important;
}

body.yrc-redesign-content-page .main-content-contacts_form .rsform-block-text-01 p,
body.yrc-redesign-content-page .main-content-contacts_form .rsform-block-text-notice p {
    margin: 0;
    color: rgba(238, 246, 251, 0.96) !important;
    font-size: 16px;
    line-height: 1.55;
    text-align: left !important;
}

body.yrc-redesign-content-page .main-content-contacts_form .formControls {
    margin: 0 !important;
}

body.yrc-redesign-content-page .main-content-contacts_form input[type="text"],
body.yrc-redesign-content-page .main-content-contacts_form input[type="tel"],
body.yrc-redesign-content-page .main-content-contacts_form input[type="email"],
body.yrc-redesign-content-page .main-content-contacts_form textarea {
    display: block;
    width: 100% !important;
    max-width: none !important;
    min-height: 48px;
    padding: 0 18px !important;
    color: var(--yrc-redesign-text) !important;
    background: rgba(123, 163, 187, 0.26) !important;
    border: 1px solid rgba(133, 178, 205, 0.42) !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}

body.yrc-redesign-content-page .main-content-contacts_form textarea {
    min-height: 118px;
    padding-top: 14px !important;
}

body.yrc-redesign-content-page .main-content-contacts_form input::placeholder,
body.yrc-redesign-content-page .main-content-contacts_form textarea::placeholder {
    color: rgba(238, 246, 251, 0.78) !important;
    opacity: 1;
}

body.yrc-redesign-content-page .main-content-contacts_form .rsform-block-callback-consent-privacy .form-check-label {
    display: inline-flex !important;
    gap: 12px;
    align-items: flex-start;
    color: rgba(238, 246, 251, 0.9) !important;
    font-size: 14px;
    line-height: 1.45;
}

body.yrc-redesign-content-page .main-content-contacts_form input[type="checkbox"] {
    width: 22px !important;
    min-width: 22px !important;
    height: 22px !important;
    margin: 1px 0 0 !important;
    accent-color: var(--yrc-redesign-red);
    cursor: pointer;
}

body.yrc-redesign-content-page .main-content-contacts_form a {
    color: var(--yrc-redesign-text) !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(238, 246, 251, 0.45) !important;
    text-underline-offset: 4px;
}

body.yrc-redesign-content-page .main-content-contacts_form a:hover {
    color: var(--yrc-redesign-red) !important;
    text-decoration-color: var(--yrc-redesign-red) !important;
}

body.yrc-redesign-content-page .main-content-contacts_form .rsform-submit-button {
    width: min(100%, 270px);
    margin-top: 8px;
}

/*
 * Legacy editor colors were chosen for the former white theme. Let semantic
 * containers provide the color on dark content pages instead of preserving
 * unreadable navy, blue, purple and black inline values.
 */
body.yrc-redesign-content-page .main-content :is(
    [style*="#000080" i],
    [style*="#0000ff" i],
    [style*="#333399" i],
    [style*="#000000" i],
    [style*="#0a4b7a" i],
    [style*="#2c3e44" i],
    [style*="#236fa1" i],
    [style*="#4f6f8f" i],
    [style*="#00356f" i],
    [style*="#04386d" i],
    [style*="#054e7c" i]
):not(h1):not(h2):not(h3) {
    color: inherit !important;
}

body.yrc-redesign-content-page .main-content a:is(
    [style*="#000080" i],
    [style*="#0000ff" i],
    [style*="#333399" i],
    [style*="#000000" i],
    [style*="#0a4b7a" i],
    [style*="#2c3e44" i],
    [style*="#236fa1" i],
    [style*="#4f6f8f" i],
    [style*="#00356f" i],
    [style*="#04386d" i],
    [style*="#054e7c" i]
) {
    color: var(--yrc-redesign-text) !important;
}

body.yrc-redesign-content-page .main-content :is(strong, b):is(
    [style*="#000080" i],
    [style*="#0000ff" i],
    [style*="#333399" i],
    [style*="#000000" i],
    [style*="#0a4b7a" i],
    [style*="#2c3e44" i],
    [style*="#236fa1" i],
    [style*="#4f6f8f" i],
    [style*="#00356f" i],
    [style*="#04386d" i],
    [style*="#054e7c" i]
) {
    color: var(--yrc-redesign-text) !important;
}

/* Convert light block-level editor panels to the shared dark panel token. */
body.yrc-redesign-content-page .main-content :is(div, section, article, aside, p, li, details):is(
    [style*="background: white" i],
    [style*="background-color: white" i],
    [style*="background: #fff" i],
    [style*="background-color: #fff" i],
    [style*="background: #ffffff" i],
    [style*="background-color: #ffffff" i],
    [style*="#f0f4f8" i],
    [style*="#e8f0fe" i],
    [style*="#f8fafc" i]
) {
    color: var(--yrc-redesign-muted) !important;
    background: var(--yrc-redesign-panel) !important;
    border-color: var(--yrc-redesign-line) !important;
    box-shadow: none !important;
}

body.yrc-redesign-content-page .main-content details:is(
    [style*="background: white" i],
    [style*="background-color: white" i],
    [style*="background: #fff" i],
    [style*="background-color: #fff" i],
    [style*="background: #ffffff" i],
    [style*="background-color: #ffffff" i]
) > summary {
    color: var(--yrc-redesign-text) !important;
    background: transparent !important;
}

body.yrc-redesign-content-page .main-content details:is(
    [style*="background: white" i],
    [style*="background-color: white" i],
    [style*="background: #fff" i],
    [style*="background-color: #fff" i],
    [style*="background: #ffffff" i],
    [style*="background-color: #ffffff" i]
) > :not(summary) {
    color: var(--yrc-redesign-muted) !important;
}

/* Inline white highlights should disappear rather than become dark boxes. */
body.yrc-redesign-content-page .main-content span:is(
    [style*="background: white" i],
    [style*="background-color: white" i],
    [style*="background: #fff" i],
    [style*="background-color: #fff" i],
    [style*="background: #ffffff" i],
    [style*="background-color: #ffffff" i]
) {
    color: inherit !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.yrc-redesign-content-page .formError,
body.yrc-redesign-content-page .formRed,
body.yrc-redesign-content-page .formValidation {
    color: #ff9c8c !important;
    font-size: 13px;
    line-height: 1.4;
}

body.yrc-redesign-content-page input[aria-invalid="true"],
body.yrc-redesign-content-page select[aria-invalid="true"],
body.yrc-redesign-content-page textarea[aria-invalid="true"],
body.yrc-redesign-content-page input.invalid,
body.yrc-redesign-content-page select.invalid,
body.yrc-redesign-content-page textarea.invalid {
    border-color: var(--yrc-redesign-red) !important;
    outline: 2px solid rgba(240, 74, 45, 0.88) !important;
    outline-offset: 2px;
}

body.yrc-redesign-content-page #system-message-container .alert,
body.yrc-redesign-content-page .alert-success,
body.yrc-redesign-content-page .alert-danger,
body.yrc-redesign-content-page .alert-error {
    padding: 16px 18px;
    color: var(--yrc-redesign-text) !important;
    background: var(--yrc-redesign-panel-solid) !important;
    border: 1px solid var(--yrc-redesign-line-strong) !important;
    border-radius: 4px;
    box-shadow: none !important;
}

body.yrc-redesign-content-page #system-message-container .alert-success,
body.yrc-redesign-content-page .alert-success {
    border-color: rgba(93, 190, 137, 0.68) !important;
}

body.yrc-redesign-content-page #system-message-container .alert-danger,
body.yrc-redesign-content-page #system-message-container .alert-error,
body.yrc-redesign-content-page .alert-danger,
body.yrc-redesign-content-page .alert-error {
    border-color: rgba(240, 74, 45, 0.78) !important;
}

@media (max-width: 1199px) {
    body.yrc-redesign-experiment .header.nofront .container-fluid {
        width: min(100% - 28px, 1300px);
    }

    body.yrc-redesign-experiment .header.nofront .header-menu {
        display: none !important;
    }

    body.yrc-redesign-experiment .header.nofront .header-contacts {
        display: flex !important;
    }

    body.yrc-redesign-experiment .header.nofront .header-menusmall {
        display: flex !important;
        justify-content: flex-end;
    }
}

@media (max-width: 991px) {
    body.yrc-redesign-experiment .header.nofront .header-contacts {
        display: none !important;
    }

    body.yrc-redesign-experiment .header.nofront .header-logo img {
        width: 176px;
    }

    body.yrc-redesign-experiment .footer.footer-new .footer-menu ul.menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.yrc-redesign-experiment .footer.footer-new .row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    body.yrc-redesign-experiment .footer.footer-new .footer-left .row {
        display: flex;
        align-items: center;
    }

    body.yrc-redesign-experiment .blocks-quest-main {
        max-width: 760px;
        margin-inline: auto !important;
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        min-height: 0;
        align-items: start;
        justify-items: stretch;
        background:
            linear-gradient(180deg, rgba(2, 13, 24, 0.97) 0%, rgba(2, 13, 24, 0.88) 58%, rgba(2, 13, 24, 0.72) 100%) !important;
        padding: clamp(28px, 4vw, 40px);
        border: 1px solid var(--yrc-redesign-line);
        border-radius: 4px;
    }

    body.yrc-redesign-experiment .blocks-quest-main::before {
        position: absolute;
        right: 28px;
        bottom: -64px;
        width: 122px;
        margin: 0;
        opacity: 0.16;
        pointer-events: none;
    }

    body.yrc-redesign-experiment .blocks-quest-form {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        max-width: 520px;
        margin-inline: auto !important;
    }

    body.yrc-redesign-experiment .blocks-quest-desc {
        grid-column: 1;
        grid-row: 2;
        grid-template-columns: minmax(0, 1fr) minmax(260px, 1fr);
        gap: 10px 32px;
        width: 100%;
        max-width: 700px;
        margin: 0 auto !important;
        padding-top: 30px;
        padding-left: 0;
        border-top: 1px solid var(--yrc-redesign-line);
        border-left: 0;
    }

    body.yrc-redesign-experiment .blocks-quest_desc {
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: center;
    }

    body.yrc-redesign-experiment .blocks-quest_phones {
        grid-column: 2;
        grid-row: 1;
    }

    body.yrc-redesign-experiment .blocks-quest_email {
        grid-column: 2;
        grid-row: 2;
    }

    body.yrc-redesign-experiment .blocks-quest-form .form-row > .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    body.yrc-redesign-content-page h1,
    body.yrc-redesign-content-page .item-page h1,
    body.yrc-redesign-content-page .blog h1,
    body.yrc-redesign-content-page .jshop h1 {
        line-height: 1.12;
    }

    body.yrc-redesign-content-page .main-content :is(
        .item-page,
        .category_desc,
        .category-desc,
        .blog,
        .jshop_prod_description
    ) table {
        display: block;
        width: 100% !important;
        max-width: 100%;
        overflow-x: auto !important;
        overscroll-behavior-inline: contain;
        scrollbar-color: var(--yrc-redesign-line-strong) var(--yrc-redesign-bg-deep);
        -webkit-overflow-scrolling: touch;
    }

    body.yrc-redesign-content-page .main-content .table-responsive table {
        display: table;
        max-width: none;
        overflow: visible !important;
    }

    body.yrc-redesign-experiment .container-fluid,
    body.yrc-redesign-content-page .main.nofront .container,
    body.yrc-redesign-content-page .main.nofront .container-fluid {
        width: min(100% - 30px, 1180px);
    }

    body.yrc-redesign-experiment .header.nofront {
        min-height: 86px;
    }

    body.yrc-redesign-experiment .header.nofront .row {
        min-height: 86px;
    }

    body.yrc-redesign-experiment .header.nofront .header-logo {
        flex: 0 0 62%;
        max-width: 62%;
    }

    body.yrc-redesign-experiment .header.nofront .header-menusmall {
        flex: 0 0 38%;
        max-width: 38%;
    }

    body.yrc-redesign-experiment .header.nofront .header-logo img {
        width: 154px;
    }

    body.yrc-redesign-experiment .header.nofront .header-menusmall a {
        min-height: 40px;
        padding: 0 12px;
    }

    body.yrc-redesign-content-page .main.nofront {
        padding-top: 38px;
        padding-bottom: 56px;
    }

    body.yrc-redesign-content-page .blog .item,
    body.yrc-redesign-content-page .blog-item,
    body.yrc-redesign-content-page .items-row,
    body.yrc-redesign-content-page .contact,
    body.yrc-redesign-content-page .well,
    body.yrc-redesign-content-page .card {
        padding: 18px;
    }

    body.yrc-redesign-experiment .footer.footer-new .footer-menu ul.menu,
    body.yrc-redesign-experiment .footer.footer-new .container-fluid {
        padding-top: 34px;
        padding-bottom: 30px;
    }

    body.yrc-redesign-experiment .footer.footer-new .footer-left .row {
        display: block;
    }

    body.yrc-redesign-experiment .footer.footer-new .footer-menu ul.menu > li > a,
    body.yrc-redesign-experiment .footer.footer-new .footer-menu ul.menu > li > span {
        margin-bottom: 10px;
        font-size: 20px;
    }

    body.yrc-redesign-experiment .footer.footer-new .footer-contacts-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    body.yrc-redesign-experiment .footer.footer-new .footer-button {
        width: min(100%, 270px);
    }

    body.yrc-redesign-experiment .footer.footer-new .footer-links {
        padding-top: 20px;
        border-top: 1px solid var(--yrc-redesign-line);
    }

    body.yrc-redesign-experiment .footer.footer-new .footer-img__company {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 18px;
        align-items: end;
    }

    body.yrc-redesign-experiment .blocks-quest {
        padding: 38px 0 44px;
    }

    body.yrc-redesign-experiment .blocks-quest .container-fluid {
        width: calc(100vw - 30px) !important;
        max-width: 560px;
    }

    body.yrc-redesign-experiment .blocks-quest-head {
        margin-bottom: 18px;
    }

    body.yrc-redesign-experiment .blocks-quest-head h2,
    body.yrc-redesign-experiment .blocks-quest-head h3 {
        font-size: clamp(25px, 7.4vw, 30px) !important;
    }

    body.yrc-redesign-experiment .blocks-quest-main {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        padding: 24px clamp(18px, 5vw, 28px) 26px;
    }

    body.yrc-redesign-experiment .blocks-quest-main::before {
        right: -24px;
        bottom: -58px;
        width: 112px;
        opacity: 0.12;
    }

    body.yrc-redesign-experiment .blocks-quest-form .moduletable,
    body.yrc-redesign-experiment .blocks-quest-desc {
        padding: 0;
    }

    body.yrc-redesign-experiment .blocks-quest-form {
        grid-column: 1;
        grid-row: 1;
    }

    body.yrc-redesign-experiment .blocks-quest-desc {
        grid-column: 1;
        grid-row: 2;
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 26px !important;
        padding-top: 26px;
        border-top: 1px solid var(--yrc-redesign-line);
        border-left: 0;
    }

    body.yrc-redesign-experiment .blocks-quest_desc,
    body.yrc-redesign-experiment .blocks-quest_phones,
    body.yrc-redesign-experiment .blocks-quest_email {
        grid-column: 1;
        grid-row: auto;
    }

    body.yrc-redesign-experiment .blocks-quest-form .rsform-block-text-01 {
        display: none;
    }

    body.yrc-redesign-experiment .blocks-quest-form .rsform-block {
        margin-bottom: 14px;
    }

    body.yrc-redesign-experiment .blocks-quest-form input[type="text"],
    body.yrc-redesign-experiment .blocks-quest-form input[type="tel"] {
        height: 52px;
        min-height: 52px;
    }

    body.yrc-redesign-experiment .blocks-quest-form .rsform-block-callback-consent-privacy {
        margin-top: 4px;
    }

    body.yrc-redesign-experiment .blocks-quest-form .rsform-block-callback-consent-privacy .form-check-label {
        gap: 11px;
        font-size: 14px;
        line-height: 1.42;
    }

    body.yrc-redesign-experiment .blocks-quest-form .rsform-block-callback-consent-privacy input[type="checkbox"] {
        width: 24px !important;
        min-width: 24px !important;
        height: 24px !important;
    }

    body.yrc-redesign-experiment .blocks-quest-form .rsform-block-text-notice {
        margin-bottom: 0;
        font-size: 12.5px;
        line-height: 1.5;
    }

    body.yrc-redesign-experiment .blocks-quest-form .rsform-block-text-notice p {
        margin-top: 14px;
        color: var(--yrc-redesign-muted) !important;
    }

    body.yrc-redesign-experiment .blocks-quest-form .rsform-block-text-notice br {
        display: none;
    }

    body.yrc-redesign-experiment .blocks-quest-form .rsform-submit-button {
        width: min(100%, 300px) !important;
        min-height: 52px;
        margin: 4px auto 0 !important;
    }

    body.yrc-redesign-experiment .blocks-quest_desc p {
        width: min(100%, 310px);
        margin-inline: auto;
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 14px;
        align-items: center;
        text-align: left;
    }

    body.yrc-redesign-experiment .blocks-quest_desc span {
        display: block;
        margin: 0;
    }

    body.yrc-redesign-experiment .blocks-quest_desc span img {
        width: 58px;
        height: 58px;
        margin: 0;
    }

    body.yrc-redesign-experiment .blocks-quest_phones {
        width: min(100%, 260px);
        margin-inline: auto;
    }

    body.yrc-redesign-experiment .blocks-quest_phones p {
        margin: 0;
    }

    body.yrc-redesign-experiment .blocks-quest_phones a {
        display: grid !important;
        padding: 7px 0;
        font-size: clamp(16px, 4.8vw, 18px);
        line-height: 1.2;
    }

    body.yrc-redesign-experiment .blocks-quest_email {
        display: block;
        width: min(100%, 260px);
        margin-inline: auto;
        font-size: 14px;
    }

    body.yrc-redesign-experiment .blocks-quest_email a {
        display: grid !important;
        min-height: 28px;
        overflow-wrap: anywhere;
    }

}

@media (max-width: 420px) {
    body.yrc-redesign-experiment .header.nofront .header-logo img {
        width: 136px;
    }

    body.yrc-redesign-experiment .header.nofront .header-menusmall .brend {
        display: none;
    }

    body.yrc-redesign-experiment .blocks-quest .container-fluid {
        width: calc(100vw - 24px) !important;
    }

    body.yrc-redesign-experiment .blocks-quest-main {
        padding-right: 18px;
        padding-left: 18px;
    }

    body.yrc-redesign-experiment .blocks-quest-form .rsform-block-callback-consent-privacy .form-check-label {
        gap: 10px;
    }
}

/* Article: History of the Russian Navy Day. The content stays CMS-managed;
   this section only provides the shared presentation for its semantic classes. */
body.yrc-redesign-content-page .item-page.articles-category {
    max-width: 980px;
    margin-inline: auto;
}

body.yrc-redesign-content-page .item-page.articles-category > .page-header,
body.yrc-redesign-content-page .item-page.articles-category > .item-image,
body.yrc-redesign-content-page .item-page.articles-category > .articleBody {
    width: 100%;
}

body.yrc-redesign-content-page .item-page.articles-category > .page-header h1 {
    max-width: 900px;
}

body.yrc-redesign-content-page .item-page.articles-category > .item-image {
    float: none !important;
    margin: 0 0 clamp(26px, 4vw, 44px) !important;
}

body.yrc-redesign-content-page .item-page.articles-category > .item-image .item-image-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--yrc-redesign-line-strong);
    border-radius: 4px;
    background: var(--yrc-redesign-bg-deep);
}

body.yrc-redesign-content-page .item-page.articles-category > .item-image .item-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(3, 16, 29, 0.02), rgba(3, 16, 29, 0.24));
}

body.yrc-redesign-content-page .item-page.articles-category > .item-image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

body.yrc-redesign-content-page .navy-day-article__lead {
    max-width: 850px;
    margin: 0 0 clamp(36px, 5vw, 58px) !important;
    color: var(--yrc-redesign-text) !important;
    font-size: clamp(18px, 2vw, 23px) !important;
    line-height: 1.55 !important;
}

body.yrc-redesign-content-page .navy-day-article__section {
    margin-top: clamp(48px, 7vw, 78px);
}

body.yrc-redesign-content-page .navy-day-article__section:first-child {
    margin-top: 0;
}

body.yrc-redesign-content-page .navy-day-article__section h2 {
    max-width: 880px;
    margin-bottom: clamp(22px, 3vw, 32px) !important;
}

body.yrc-redesign-content-page .navy-day-article__section > p,
body.yrc-redesign-content-page .navy-day-article__section > blockquote,
body.yrc-redesign-content-page .navy-day-article__opportunities {
    max-width: 850px;
}

body.yrc-redesign-content-page .navy-day-article__figure {
    margin: clamp(28px, 4vw, 44px) 0 !important;
}

body.yrc-redesign-content-page .navy-day-article__figure img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 1px solid var(--yrc-redesign-line-strong);
    border-radius: 4px;
}

body.yrc-redesign-content-page .navy-day-article__figure figcaption {
    margin-top: 10px;
    color: var(--yrc-redesign-muted-soft) !important;
    font-size: 13px;
    line-height: 1.45;
}

body.yrc-redesign-content-page .navy-day-article blockquote {
    position: relative;
    padding: 24px clamp(22px, 4vw, 36px);
    color: var(--yrc-redesign-text) !important;
    font-family: "Literata", Georgia, "Times New Roman", serif;
    font-size: clamp(18px, 2vw, 22px);
    font-style: normal;
    line-height: 1.55;
    background: linear-gradient(110deg, rgba(8, 31, 48, 0.96), rgba(8, 31, 48, 0.68));
    border: 1px solid var(--yrc-redesign-line);
    border-left: 4px solid var(--yrc-redesign-red);
    border-radius: 0 4px 4px 0;
}

body.yrc-redesign-content-page .navy-day-article__opportunities {
    display: grid;
    gap: 14px;
    margin: 22px 0 24px;
    padding: 0;
    list-style: none;
}

body.yrc-redesign-content-page .navy-day-article__opportunities li {
    position: relative;
    margin: 0;
    padding-left: 26px;
}

body.yrc-redesign-content-page .navy-day-article__opportunities li::before {
    content: "";
    position: absolute;
    top: .72em;
    left: 0;
    width: 12px;
    height: 1px;
    background: var(--yrc-redesign-red);
}

body.yrc-redesign-content-page .navy-day-article__closing {
    margin-top: 30px !important;
    color: var(--yrc-redesign-text) !important;
    font-weight: 600;
}

body.yrc-redesign-content-page .navy-day-article__cta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: clamp(48px, 7vw, 78px);
}

body.yrc-redesign-content-page .navy-day-cta {
    display: flex;
    flex-direction: column;
    min-height: 310px;
    padding: clamp(24px, 3.2vw, 38px);
    background: linear-gradient(145deg, rgba(10, 33, 51, .98), rgba(5, 22, 36, .98));
    border: 1px solid var(--yrc-redesign-line-strong);
    border-radius: 4px;
}

body.yrc-redesign-content-page .navy-day-cta__icon {
    display: block;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    background: center / contain no-repeat;
}

body.yrc-redesign-content-page .navy-day-cta--training .navy-day-cta__icon {
    background-image: url("../images/home-redesign/figma/training-basic.svg");
}

body.yrc-redesign-content-page .navy-day-cta--charter .navy-day-cta__icon {
    background-image: url("../images/home-redesign/figma/training-practice.svg");
}

body.yrc-redesign-content-page .navy-day-cta h3 {
    margin: 0 0 14px !important;
    color: var(--yrc-redesign-text) !important;
    font-family: "Literata", Georgia, "Times New Roman", serif !important;
    font-size: clamp(23px, 2.2vw, 30px) !important;
    font-weight: 500 !important;
    text-transform: uppercase;
}

body.yrc-redesign-content-page .navy-day-cta p {
    margin: 0 0 24px !important;
}

body.yrc-redesign-content-page .navy-day-cta__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-width: 158px;
    min-height: 48px;
    margin-top: auto;
    padding: 0 24px;
    color: #fff !important;
    background: var(--yrc-redesign-red);
    border: 1px solid var(--yrc-redesign-red);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

body.yrc-redesign-content-page .navy-day-cta__link span {
    margin-left: 18px;
    color: inherit !important;
    font-size: 22px;
    line-height: 1;
}

body.yrc-redesign-content-page .navy-day-cta__link:hover,
body.yrc-redesign-content-page .navy-day-cta__link:focus-visible {
    color: #fff !important;
    background: #0069d9;
    border-color: #0062cc;
    transform: translateY(-1px);
}

/* The category is a native Joomla blog; these rules only give its cards the current site look. */
body.yrc-redesign-content-page .blog.articles-category .items-row {
    padding: 0;
    background: transparent;
    border: 0;
}

body.yrc-redesign-content-page .blog.articles-category .items_i {
    margin-bottom: 24px;
}

body.yrc-redesign-content-page .blog.articles-category .item {
    display: grid;
    grid-template-columns: minmax(260px, 40%) minmax(0, 1fr);
    min-height: 280px;
    overflow: hidden;
    padding: 0;
    background: var(--yrc-redesign-panel);
    border: 1px solid var(--yrc-redesign-line);
    border-radius: 4px;
}

body.yrc-redesign-content-page .blog.articles-category .item-img,
body.yrc-redesign-content-page .blog.articles-category .item-img .item-image,
body.yrc-redesign-content-page .blog.articles-category .item-img a {
    display: block;
    height: 100%;
    margin: 0;
}

body.yrc-redesign-content-page .blog.articles-category .item-img img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

body.yrc-redesign-content-page .blog.articles-category .item-desc {
    padding: clamp(24px, 4vw, 42px);
}

body.yrc-redesign-content-page .blog.articles-category .item-desc h2 {
    margin: 0 0 18px !important;
    color: var(--yrc-redesign-text) !important;
    font-family: "Literata", Georgia, "Times New Roman", serif;
    font-size: clamp(24px, 2.4vw, 34px);
    font-weight: 500;
    line-height: 1.15;
    text-transform: uppercase;
}

body.yrc-redesign-content-page .blog.articles-category .introtext p {
    margin-bottom: 22px;
}

@media (max-width: 767.98px) {
    body.yrc-redesign-content-page .navy-day-article__cta-grid,
    body.yrc-redesign-content-page .blog.articles-category .item {
        grid-template-columns: 1fr;
    }

    body.yrc-redesign-content-page .navy-day-cta {
        min-height: 290px;
    }

    body.yrc-redesign-content-page .blog.articles-category .item-img {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 480px) {
    body.yrc-redesign-content-page .navy-day-article blockquote {
        padding: 20px 18px;
    }

    body.yrc-redesign-content-page .navy-day-cta {
        min-height: 0;
        padding: 24px 20px;
    }

    body.yrc-redesign-content-page .navy-day-cta__link {
        width: 100%;
    }
}
