@charset "utf-8";

/*
 * Intermoda public redesign, v1.
 *
 * This layer is intentionally scoped to layout_main. Profile/editor/admin
 * layouts keep their legacy styles and workflows unchanged.
 */

.moda-public-layout {
    --moda-red: #e5071d;
    --moda-red-dark: #b70a1b;
    --moda-blue: #5b7eaf;
    --moda-ink: #171717;
    --moda-text: #333333;
    --moda-muted: #666666;
    --moda-line: #dddddd;
    --moda-soft-line: #ececec;
    --moda-soft: #f4f4f4;
    margin: 0;
    color: var(--moda-text);
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}

.moda-public-layout *,
.moda-public-layout *::before,
.moda-public-layout *::after {
    box-sizing: border-box;
}

.moda-public-layout a {
    color: inherit;
}

.moda-public-layout a:hover {
    color: var(--moda-red);
    text-decoration: none;
}

.moda-public-layout img {
    max-width: 100%;
}

/* Mouse clicks must not leave a red frame behind. Keyboard navigation still
   receives the same clearly visible focus indicator. */
.moda-public-layout :focus-visible {
    outline: 2px solid var(--moda-red);
    outline-offset: 2px;
}

.moda-public-layout .main_grid {
    width: 1000px;
    max-width: calc(100% - 40px);
    margin-right: auto;
    margin-left: auto;
}

.moda-skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1001;
    padding: 9px 13px;
    color: #fff !important;
    background: var(--moda-ink);
    transform: translateY(-160%);
}

.moda-skip-link:focus {
    transform: translateY(0);
}

.moda-public-layout .moda-skip-link {
    display: none;
}

/* Shared public header */
.moda-public-layout .moda-site-header {
    background: #fff;
}

.moda-public-layout .moda-header-grid {
    position: relative;
    display: grid;
    grid-template-columns: 205px minmax(0, 1fr) 150px;
    gap: 10px 20px;
    min-height: 108px;
    margin-bottom: 0;
    padding: 22px 0 16px;
}

.moda-public-layout .moda-header-grid > .logo {
    display: block;
    float: none;
    width: 205px;
    height: 53px;
    margin: 0;
    background: url(../img/logo.png) no-repeat 0 0;
}

.moda-public-layout .moda-header-main {
    display: grid;
    float: none;
    grid-template-columns: auto minmax(170px, 1fr);
    gap: 10px;
    align-content: center;
    align-items: center;
    width: auto !important;
    min-width: 0;
    position: static;
}

.moda-public-layout .moda-header-main > ul {
    display: flex;
    height: 34px;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #3b3b3b;
}

.moda-public-layout .moda-header-main > ul > li {
    float: none;
    margin: 0;
}

.moda-public-layout .moda-header-main > ul > li > a {
    display: flex;
    height: 34px;
    align-items: center;
    border-left: 1px solid rgba(255, 255, 255, .14);
    padding: 0 10px;
    color: rgba(255, 255, 255, .9);
    background: transparent;
    font-size: 13.5px;
    font-weight: 650;
    line-height: 1;
    text-transform: none;
    white-space: nowrap;
}

.moda-public-layout .moda-header-main > ul > li:first-child > a {
    border-left: 0;
}

.moda-public-layout .moda-header-main > ul > li > a:hover {
    color: #fff;
    background: #494949;
}

.moda-public-layout .moda-header-main > ul > li.spec > a {
    color: #fff;
    background: var(--moda-red);
}

.moda-public-layout .moda-header-main > ul > li.spec > a:hover {
    background: var(--moda-red-dark);
}

.moda-public-layout .search_mini {
    position: static;
    float: none;
    width: auto;
    height: 34px;
    margin: 0 !important;
    background: none;
}

.moda-public-layout .search_mini form {
    display: flex;
    width: 100%;
    height: 34px;
    border: 1px solid #d8d8d8;
    background: #fff;
}

.moda-public-layout .search_mini form:focus-within {
    border-color: var(--moda-red);
    box-shadow: 0 0 0 3px rgba(229, 7, 29, .13);
}

.moda-public-layout .search_mini input[type="text"] {
    position: static;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: auto;
    min-width: 0;
    height: 32px;
    flex: 1;
    border: 0;
    padding: 6px 10px;
    outline: 0;
    background: transparent;
    font: inherit;
}

.moda-public-layout .search_mini input[type="submit"] {
    position: static;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    display: block;
    width: auto;
    height: 32px;
    border: 0;
    border-left: 1px solid var(--moda-line);
    padding: 0 12px;
    color: #5f5f5f;
    background: #fff;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.moda-public-layout .moda-header-grid > .user_action {
    float: none;
    align-self: center;
    justify-self: end;
    width: 150px;
}

.moda-public-layout .moda-header-grid > .user_action .profile {
    float: none;
    width: 150px;
    margin: 0;
}

.moda-public-layout .moda-header-grid > .user_action .profile:not(.not_auth) {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
}

.moda-public-layout .moda-header-grid > .user_action .profile:not(.not_auth) .avatar {
    float: none;
    width: 32px;
    height: 32px;
    margin: 0;
}

.moda-public-layout .moda-header-grid > .user_action .profile:not(.not_auth) .info {
    float: none;
    width: auto;
    min-width: 0;
}

.moda-public-layout .moda-header-grid > .user_action .profile:not(.not_auth) .username {
    display: block;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.moda-public-layout .moda-header-grid > .user_action .profile:not(.not_auth) .links_bar {
    display: flex;
    float: none !important;
    width: auto;
    justify-content: flex-end;
}

.moda-public-layout .moda-header-grid > .user_action .profile:not(.not_auth) .links_bar a {
    float: none;
}

.moda-public-layout .moda-header-grid > .user_action .profile.not_auth {
    width: 150px;
    margin-left: auto;
}

.moda-public-layout .moda-header-grid > .user_action .profile.not_auth .links_bar {
    width: auto;
    margin: 0;
}

.moda-public-layout .moda-header-grid > .user_action .profile.not_auth .links_bar a {
    display: flex;
    float: none;
    width: 150px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--moda-line);
    border-radius: 8px;
    color: var(--moda-blue);
    background: #f6f6f6;
    font-size: 12.5px;
    font-weight: 650;
}

.moda-public-layout .moda-header-grid > .user_action .profile.not_auth .links_bar a:hover {
    color: var(--moda-ink);
    background: #fff;
}

.moda-public-layout .moda-header-grid > .user_action .icon.enter {
    display: none;
}

.moda-public-layout .moda-header-grid .sub_menu {
    position: absolute;
    top: 80px;
    right: 0;
    left: 250px;
    width: auto;
    min-height: 28px;
    overflow-x: auto;
    white-space: nowrap;
}

.moda-public-layout .moda-header-grid .sub_menu ul {
    display: flex;
    margin: 0;
}

.moda-public-layout .moda-header-grid .sub_menu li {
    float: none;
    border: 0;
    padding: 0;
}

.moda-public-layout .moda-header-grid .sub_menu li a {
    display: block;
    padding: 7px 11px;
    color: #575757;
    background: transparent;
    font-size: 12px;
    font-weight: 600;
}

.moda-public-layout .moda-header-grid .sub_menu li.active a,
.moda-public-layout .moda-header-grid .sub_menu li a:hover {
    color: var(--moda-red);
}

.moda-public-layout .moda-header-grid > a.logo:focus,
.moda-public-layout .moda-header-grid > a.logo:active {
    outline: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* T02 retains the approved home header but uses the archive-rubric bar from
   the feed design. */
.moda-feed-layout .moda-header-grid .sub_menu {
    right: 0;
    left: 0;
    min-height: 48px;
    overflow: visible;
    border-radius: 9px;
    padding: 4px 8px;
    background: #f3f3f3;
}

.moda-feed-layout .moda-header-grid .sub_menu ul {
    height: 40px;
    align-items: stretch;
}

.moda-feed-layout .moda-header-grid .sub_menu li {
    display: flex;
    align-items: stretch;
}

.moda-feed-layout .moda-header-grid .sub_menu li a {
    display: flex;
    height: auto;
    align-items: center;
    padding: 0 16px;
    border-radius: 7px;
    color: #575757;
    font-size: 13px;
    font-weight: 700;
}

.moda-feed-layout .moda-header-grid .sub_menu li.active a {
    color: var(--moda-red);
    background: #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .08);
}

/* Shared public content */
.moda-public-layout .main_block {
    padding-bottom: 100px;
}

.moda-public-layout .main_block > .left_block {
    width: 22%;
}

.moda-public-layout .main_block > .center_block {
    width: 75%;
}

/* T01: home */
.moda-home-layout .main_block {
    padding-bottom: 24px;
}

.moda-home-layout .new-main > .left_block,
.moda-home-layout .new-main > .center_block {
    min-height: 250px;
}

.moda-home-layout .new-main > .left_block .h250,
.moda-home-layout .new-main > .center_block .main_slider {
    margin-top: 14px;
    margin-bottom: 24px;
}

.moda-home-layout .moda-recommend {
    height: 250px;
    overflow: hidden;
}

.moda-home-layout .moda-recommend .mini_catalog {
    height: 250px;
    border: 1px solid var(--moda-line);
    border-radius: 9px;
    margin: 0;
    overflow: hidden;
    background: #f7f7f7;
}

.moda-home-layout .moda-recommend .mini_catalog .title {
    width: auto;
    height: 39px;
    border: 0;
    border-bottom: 2px solid var(--moda-red);
    padding: 10px 16px 8px;
    color: transparent;
    background: #fff;
    text-align: left;
}

.moda-home-layout .moda-recommend .mini_catalog .title::after {
    content: "Рекомендуем";
    color: var(--moda-red);
    font-size: 13px;
    font-weight: 750;
}

.moda-home-layout .moda-recommend .mini_catalog .title::before {
    content: "✓";
    margin-right: 8px;
    color: var(--moda-red);
    font-size: 15px;
    font-weight: 700;
}

.moda-home-layout .moda-recommend .mini_catalog .list {
    border: 0;
    margin: 0;
    font-size: 15px;
}

.moda-home-layout .moda-recommend .mini_catalog .list li {
    display: flex;
    height: 52px;
    align-items: center;
    border: 0;
    border-top: 1px solid var(--moda-soft-line);
    padding: 5px 16px;
    overflow: hidden;
    background: #f7f7f7;
}

.moda-home-layout .moda-recommend .mini_catalog .list li a {
    display: block;
    width: 100%;
    max-height: none;
    overflow: visible;
    color: #303030;
    background: none;
    line-height: 19px;
}

.moda-home-layout .priority-slider {
    height: 250px;
    border: 1px solid var(--moda-soft-line);
    border-radius: 9px;
    padding: 0;
    overflow: hidden;
    background: #fff;
}

.moda-home-layout .priority-slider .ui-tabs-panel {
    width: 380px;
    height: 250px;
    border-radius: 8px 0 0 8px;
    overflow: hidden;
}

.moda-home-layout .priority-slider .ui-tabs-panel img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.moda-home-layout .priority-slider ul.ui-tabs-nav {
    left: 380px;
    width: 368px;
    height: 250px;
}

.moda-home-layout .priority-slider ul.ui-tabs-nav li {
    height: 62.5px;
    border-top: 1px solid var(--moda-soft-line);
}

.moda-home-layout .priority-slider ul.ui-tabs-nav li a {
    display: flex;
    height: 62px;
    align-items: center;
    padding: 5px 14px;
    background: #fff !important;
}

.moda-home-layout .priority-slider ul.ui-tabs-nav li.ui-state-active a {
    border-left: 3px solid var(--moda-red);
    background: #f7f7f7 !important;
}

.moda-home-layout .priority-slider ul.ui-tabs-nav li.ui-state-active .corner {
    display: none !important;
}

.moda-home-layout .priority-slider ul.ui-tabs-nav li h4 {
    display: block;
    width: 100%;
    max-height: none;
    margin: 0;
    overflow: visible;
    color: var(--moda-ink);
    font-size: 15px;
    line-height: 20px;
}

.moda-home-layout .priority-slider ul.ui-tabs-nav li .descr {
    display: none;
}

.moda-home-layout .moda-home-feed {
    clear: both;
    position: relative;
    padding-top: 14px;
}

.moda-home-layout .moda-general-info {
    position: static;
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px 18px;
    border-top: 1px solid var(--moda-line);
    border-bottom: 1px solid var(--moda-line);
    margin-bottom: 20px;
    padding: 8px 10px;
    color: var(--moda-text);
    text-align: center;
}

.moda-home-layout .moda-general-info .opinion {
    color: var(--moda-text);
    font-size: 15px;
    font-weight: 700;
    text-transform: none;
}

.moda-home-layout .moda-general-info .opinion[href="/help"] {
    display: none;
}

.moda-home-layout .moda-home-feed .links_bar {
    margin-bottom: 26px;
    overflow-x: auto;
    overflow-y: hidden;
    border-bottom: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.moda-home-layout .moda-home-feed .links_bar::-webkit-scrollbar {
    display: none;
}

.moda-home-layout .moda-home-feed .links_bar table {
    width: 100%;
    min-width: 100%;
    height: 50px;
    border-top: 1px solid var(--moda-line);
    border-bottom: 1px solid var(--moda-line);
    border-collapse: collapse;
    margin: 0;
    background: #fff;
}

.moda-home-layout .moda-home-feed .links_bar td {
    border: 0;
    vertical-align: middle;
    white-space: nowrap;
}

.moda-home-layout .moda-home-feed .links_bar td + td {
    border-left: 1px solid var(--moda-soft-line);
}

.moda-home-layout .moda-home-feed .links_bar td.main-tab-spacer {
    display: none;
}

.moda-home-layout .moda-home-feed .links_bar td a {
    display: flex;
    height: 49px;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0 14px;
    color: #575757;
    background: #fff;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.2;
    text-transform: none;
}

.moda-home-layout .moda-home-feed .links_bar td.active {
    border-bottom: 3px solid var(--moda-red);
}

.moda-home-layout .moda-home-feed .links_bar td.active a,
.moda-home-layout .moda-home-feed .links_bar td a:hover {
    height: 49px;
    color: var(--moda-red);
}

.moda-home-layout .moda-home-feed .links_bar td a:focus:not(:focus-visible) {
    outline: 0;
}

.moda-home-layout .new-main .left_side {
    width: 36%;
    border-right-color: var(--moda-line);
}

.moda-home-layout .new-main .right_side {
    width: 63%;
    border-left-color: var(--moda-line);
}

.moda-home-layout .new-main .news_list li {
    border-top-color: var(--moda-soft-line);
    padding-bottom: 14px;
}

.moda-home-layout .new-main .news_list li .image,
.moda-home-layout .new-main .collections .image_frame,
.moda-home-layout .new-main .news_catalog .item .image {
    border-radius: 8px;
    overflow: hidden;
}

.moda-home-layout .new-main .news_list li .image img,
.moda-home-layout .new-main .news_catalog .item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.moda-home-layout .new-main .news_list li.news_list_first .info .title {
    color: var(--moda-ink);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.moda-home-layout .new-main .news_list li .date,
.moda-home-layout .new-main .collections .date,
.moda-home-layout .new-main .news_catalog .item .date {
    color: #666;
    font-size: 14px;
    line-height: 1.35;
}

.moda-home-layout .new-main .news_list li.news_list_common .info .text {
    font-size: 15px;
    line-height: 1.35;
}

.moda-home-layout .new-main .news_list li.news_list_first .info .description,
.moda-home-layout .new-main .news_list li.news_list_first .info .description a {
    font-size: 15px;
    line-height: 1.35;
}

.moda-home-layout .new-main .news_list a:not(.more):hover {
    color: var(--moda-ink);
}

.moda-home-layout .new-main .news_list .more,
.moda-home-layout .tag_cloud .more {
    border-radius: 7px;
    padding: 7px 14px;
    color: #fff;
    background: var(--moda-red);
    font-size: 11px;
}

.moda-home-layout .new-main .collections .image_frame {
    display: flex;
    gap: 4px;
    height: 229px;
    margin-left: 15px;
}

.moda-home-layout .new-main .collections .image_frame .thumb {
    display: block;
    min-width: 0;
    flex: 1 1 0;
    overflow: hidden;
}

.moda-home-layout .new-main .collections .image_frame .thumb + .thumb {
    margin-left: 0;
}

.moda-home-layout .new-main .collections .image_frame img {
    width: 100%;
    height: 229px;
    object-fit: cover;
}

.moda-home-layout .new-main .collections .title h2 {
    margin: 0;
    line-height: 1.25;
}

.moda-home-layout .new-main .collections .title a {
    color: var(--moda-ink);
    font-size: 18px;
    font-weight: 700;
}

.moda-home-layout .new-main .collections .description {
    margin: 8px 15px 0;
}

.moda-home-layout .new-main .collections .description a {
    display: block;
    color: #5f5f5f;
    font-size: 15px;
    line-height: 1.4;
}

.moda-home-layout .new-main .collections .bottom_bar > .fl {
    display: flex;
    float: none;
    align-items: center;
    gap: 8px;
    margin: 14px 15px 0;
}

.moda-home-layout .new-main .collections .date {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 4px 8px;
    color: #555;
    border-left: 2px solid var(--moda-red);
    background: #f2f2f2;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
}

.moda-home-layout .new-main .collections .comments {
    float: none;
    line-height: 1.2;
}

.moda-home-layout .new-main .news_catalog {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px 10px;
}

.moda-home-layout .new-main .news_catalog .item,
.moda-home-layout .new-main .news_catalog .item.first {
    float: none;
    width: auto;
    height: auto;
    min-height: 220px;
    margin: 0;
}

.moda-home-layout .new-main .news_catalog > .clear {
    display: none;
}

.moda-home-layout .new-main .news_catalog .item .text {
    font-size: 15px;
    line-height: 1.35;
}

.moda-home-layout .moda-event-support {
    clear: both;
    border-top: 1px solid var(--moda-line);
    margin-top: 46px;
    padding-top: 24px;
}

.moda-home-layout .moda-event-support .controls .title {
    color: var(--moda-ink);
    font-size: 18px;
    font-weight: 400;
}

.moda-home-layout .moda-event-support .controls .title strong {
    font-weight: 700;
}

.moda-home-layout .moda-event-support .controls .prev-slide,
.moda-home-layout .moda-event-support .controls .next-slide {
    border-radius: 7px;
    background: #3e3e3e;
}

.moda-home-layout .moda-event-support .footer-slider ul li .image {
    border-radius: 8px;
}

.moda-home-layout .moda-event-support .footer-slider ul li .title a {
    font-weight: 700;
}

.moda-home-layout .tag_cloud {
    border-top: 1px solid var(--moda-line);
    margin-top: 6px;
    padding-top: 24px;
}

.moda-home-layout .tag_cloud .tags-inner {
    max-width: 100%;
}

/* T02/T03: news feed, rubric archive and search results */
.moda-feed-layout .main_block {
    padding-top: 40px;
}

/* Search has no rubric bar below the header, so it starts immediately. */
.moda-search-layout .main_block {
    padding-top: 0;
}

/* T06: a generic subject has no rubric bar in the legacy header.  Keep the
   same feed components and add the available subject title. */
.moda-subject-layout .moda-feed-heading h1 {
    font-size: 28px;
}

.moda-subject-layout .main_block {
    padding-top: 0;
}

/* T07: the Russian designers service uses the same feed but keeps its
   two-step legacy filter in the left column.  No route, request or selector
   contract is changed here. */
.moda-designers-layout .main_block {
    padding-top: 0;
}

/* T08: keep the legacy all-subjects directory intact, but give its 13
   server-rendered groups the same quiet reading surface as public feeds. */
.moda-subjects-layout .main_block {
    padding-top: 0;
}

.moda-subjects-page {
    width: 100%;
}

.moda-subjects-heading {
    margin-bottom: 14px;
    border-bottom: 1px solid var(--moda-soft-line);
    padding-bottom: 15px;
}

.moda-subjects-heading h1 {
    margin: 0;
    color: var(--moda-ink);
    font-size: 28px;
    font-weight: 720;
    letter-spacing: -.025em;
    line-height: 1.12;
}

.moda-subjects-layout .subject_all {
    border-top: 1px solid var(--moda-soft-line);
    margin: 0;
    padding: 12px 0;
    color: #666;
    font-size: 12px;
    line-height: 1.6;
}

.moda-subjects-layout .subject_all.first {
    border-top: 0;
    padding-top: 0;
}

.moda-subjects-layout .subject_all a {
    color: #606060;
    font-family: inherit;
    font-weight: 400;
}

.moda-subjects-layout .subject_all a:hover {
    color: var(--moda-red);
    text-decoration: none;
}

/* The subject directory is intentionally a stable, server-rendered cloud:
   every name stays in its original group and order, while a deterministic
   five-step rhythm gives the long list a lighter editorial hierarchy. */
.moda-subjects-layout .subject_all a:nth-child(5n + 1) {
    font-size: 10px;
    font-weight: 400;
}

.moda-subjects-layout .subject_all a:nth-child(7n + 3) {
    font-size: 11px;
    font-weight: 700;
}

.moda-subjects-layout .subject_all a:nth-child(11n + 6) {
    font-size: 13px;
    font-weight: 700;
}

.moda-subjects-layout .subject_all a:nth-child(13n + 8) {
    font-size: 14px;
    font-weight: 400;
}

.moda-subjects-layout .subject_all a:nth-child(17n + 9) {
    font-size: 14px;
    font-weight: 700;
}

/* Use the feed's left column, but omit the self-referential directory link. */
.moda-subjects-layout .moda-blog-aside-tags-all {
    display: none !important;
}

.moda-subjects-empty {
    min-height: 160px;
    border: 1px solid var(--moda-soft-line);
    border-radius: 9px;
    margin: 0;
    padding: 56px 24px;
    color: var(--moda-muted);
    background: #fafafa;
    font-size: 15px;
    text-align: center;
}

.moda-designers-layout .moda-feed-heading {
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--moda-soft-line);
}

.moda-designers-layout .moda-feed-heading h1 {
    font-size: 28px;
}

.moda-designers-layout .left_block .h250_sidebar {
    margin-bottom: 18px;
}

.moda-designers-layout .left_block .subscribe {
    margin-top: 12px;
}

.moda-designers-layout .left_block .cat_list {
    overflow: hidden;
    border: 1px solid var(--moda-soft-line);
    border-radius: 9px;
    margin: 0 0 14px;
    background: #fff;
}

.moda-designers-layout .left_block .cat_list .title {
    width: auto;
    min-height: 39px;
    border: 0;
    border-bottom: 2px solid var(--moda-red);
    margin: 0;
    padding: 10px 14px 8px;
    color: var(--moda-ink);
    background: #fff;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0;
    line-height: 1.3;
    text-align: left;
    text-transform: none;
}

.moda-designers-layout .left_block .cat_list ul,
.moda-designers-layout .left_block .cat_list .jspPane {
    width: 100% !important;
    margin: 0;
    padding: 0;
}

.moda-designers-layout .left_block .cat_list .jspContainer {
    width: 100% !important;
}

.moda-designers-layout .left_block .cat_list li {
    position: relative;
    min-height: 35px;
    border: 0;
    border-top: 1px solid #ededed;
    margin: 0;
    padding: 0;
    background: #fff !important;
}

.moda-designers-layout .left_block .cat_list li:first-child {
    border-top: 0;
}

.moda-designers-layout .left_block .cat_list li a {
    display: block;
    min-height: 35px;
    padding: 9px 14px;
    color: #555;
    font-size: 12px;
    font-weight: 540;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.moda-designers-layout .left_block .cat_list li a:hover {
    color: #555;
    background: #fff;
}

.moda-designers-layout .left_block .cat_list li.active a {
    padding-left: 14px;
    color: #555;
    font-weight: 700;
}

.moda-designers-layout .left_block .cat_list li.active,
.moda-designers-layout .left_block .cat_list li.active:hover,
.moda-designers-layout .left_block .cat_list li.active:focus,
.moda-designers-layout .left_block .cat_list li.active:active {
    border-top-color: #ededed !important;
    background: #f1f1f1 !important;
    background-color: #f1f1f1 !important;
}

.moda-designers-layout .left_block .cat_list li.active a,
.moda-designers-layout .left_block .cat_list li.active a:hover,
.moda-designers-layout .left_block .cat_list li.active a:focus,
.moda-designers-layout .left_block .cat_list li.active a:active {
    color: #555;
    background: #f1f1f1;
}

.moda-designers-layout .left_block .cat_list li.active::before {
    display: none;
}

.moda-designers-layout .left_block .more-designers {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    margin: 0 0 20px;
    padding: 8px 16px;
    border: 1px solid var(--moda-red);
    color: var(--moda-red) !important;
    background: #fff;
    font-size: 12px;
    font-weight: 750;
    text-transform: none;
}

.moda-designers-layout .left_block .more-designers:hover,
.moda-designers-layout .left_block .more-designers:focus {
    color: var(--moda-red) !important;
    background: #fff;
}

.moda-designers-layout .left_block .cat_list .jspVerticalBar {
    width: 5px;
    background: transparent;
}

.moda-designers-layout .left_block .cat_list .jspTrack {
    background: #f1f1f1;
}

.moda-designers-layout .left_block .cat_list .jspDrag {
    border-radius: 4px;
    background: #c5c5c5;
}

.moda-designers-layout .left_block .cloud_block {
    margin-top: 0;
}

.moda-feed-layout .main_block > .left_block {
    width: 220px;
}

.moda-feed-layout .main_block > .center_block {
    width: 750px;
}

.moda-feed-page {
    width: 100%;
}

.moda-feed-heading {
    margin-bottom: 20px;
}

.moda-feed-kicker {
    margin-bottom: 5px;
    color: var(--moda-red);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.moda-feed-heading h1 {
    margin: 0;
    color: var(--moda-ink);
    font-size: 32px;
    font-weight: 720;
    letter-spacing: -.025em;
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.moda-search-layout .moda-feed-heading h1 {
    font-size: 28px;
}

.moda-feed-heading p {
    margin: 8px 0 0;
    color: var(--moda-muted);
    font-size: 12px;
}

.moda-feed-pagination {
    display: flex;
    max-width: 100%;
    min-height: 48px;
    align-items: center;
    gap: 3px;
    overflow-x: auto;
    border-radius: 8px;
    padding: 4px;
    background: #f5f5f5;
    scrollbar-width: thin;
}

.moda-feed-pagination-top {
    margin-bottom: 5px;
}

.moda-feed-pagination-bottom {
    margin-top: 28px;
}

.moda-feed-pagination > .pagination {
    display: flex;
    width: 100%;
    min-height: 40px;
    border: 0;
    margin: 0;
    padding: 0;
}

.moda-feed-pagination .pagination .pagination {
    margin: 0;
}

.moda-feed-pagination .pagination ul {
    display: flex;
    width: max-content;
    min-width: 100%;
    align-items: center;
    gap: 3px;
    margin: 0;
    padding: 0;
}

.moda-feed-pagination .pagination li,
.moda-feed-pagination .pagination li:first-child {
    float: none;
    margin: 0;
}

.moda-feed-pagination .pagination li a,
.moda-feed-pagination .pagination li span {
    display: flex;
    min-width: 44px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    padding: 0 9px;
    color: #4d4d4d;
    background: transparent;
    font-size: 12px;
    font-weight: 650;
}

.moda-feed-pagination .pagination li.active a,
.moda-feed-pagination .pagination li.active span,
.moda-feed-pagination .pagination li:not(.moda-pagination-skip) > span,
.moda-feed-pagination .pagination li a:hover {
    color: var(--moda-red);
    background: #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .08);
}

.moda-feed-pagination .pagination li.disabled a,
.moda-feed-pagination .pagination li.disabled span {
    color: #aaa;
    background: transparent;
    cursor: default;
}

.moda-feed-pagination .pagination li.moda-pagination-skip {
    display: flex;
}

.moda-feed-pagination .pagination li.moda-pagination-skip span {
    display: flex;
    min-width: 28px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 12px;
}

.moda-feed-pagination .pagination li.disabled > a:not(:has(.icon)) {
    display: none;
}

.moda-feed-pagination .pagination li.prev a,
.moda-feed-pagination .pagination li.next a {
    color: #252525;
    font-size: 20px;
    font-weight: 700;
}

.moda-feed-pagination .pagination li.prev .icon,
.moda-feed-pagination .pagination li.next .icon {
    display: none;
}

.moda-feed-pagination .pagination li.prev a::before {
    content: "←";
}

.moda-feed-pagination .pagination li.next a::before {
    content: "→";
}

.moda-feed-load-more {
    margin: 28px 0 0;
    text-align: center;
}

.moda-feed-load-more-link {
    display: inline-flex;
    min-width: 170px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--moda-red);
    border-radius: 7px;
    color: var(--moda-red) !important;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
}

.moda-feed-load-more-link:hover,
.moda-feed-load-more-link:focus {
    color: var(--moda-red) !important;
    background: #fff;
}

.moda-feed-load-more-link.is-loading {
    opacity: .7;
    pointer-events: none;
}

.moda-feed-layout .news_feed {
    margin: 0;
}

.moda-feed-layout .news_feed .moda-feed-card {
    margin: 0;
    padding: 27px 0 30px;
}

.moda-feed-layout .news_feed .moda-feed-card + .moda-feed-card {
    border-top: 1px solid var(--moda-line);
    padding-top: 15px;
}

.moda-feed-layout .news_feed .moda-feed-card > .title {
    margin: 0 0 8px;
}

.moda-feed-layout .news_feed .moda-feed-card > .title h2 {
    margin: 0;
    font-size: 23px;
    font-weight: 720;
    letter-spacing: -.018em;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.moda-feed-layout .news_feed .moda-feed-card > .title a {
    color: var(--moda-ink);
    font-size: inherit;
    font-weight: inherit;
}

.moda-feed-layout .news_feed .moda-feed-card > .title a:hover {
    color: var(--moda-red);
}

.moda-feed-layout .news_feed .moda-feed-card > .info_bar {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 18px;
    margin: 0 0 13px;
    color: #777;
    font-size: 11px;
}

.moda-feed-layout .news_feed .moda-feed-card > .info_bar ul {
    display: flex;
    float: none;
    flex-wrap: wrap;
    gap: 5px 12px;
    margin: 0;
}

.moda-feed-layout .news_feed .moda-feed-card > .info_bar li,
.moda-feed-layout .news_feed .moda-feed-card > .info_bar li:first-child {
    display: flex;
    float: none;
    align-items: center;
    gap: 3px;
    margin: 0;
    color: #777;
}

.moda-feed-layout .news_feed .moda-feed-card > .info_bar .blue {
    color: var(--moda-blue);
}

.moda-feed-layout .news_feed .moda-feed-card > .info_bar .pink {
    color: var(--moda-red);
}

.moda-feed-layout .news_feed .moda-feed-card > .info_bar .clear {
    display: none;
}

.moda-feed-video span {
    margin-left: 2px;
}

.moda-feed-layout .news_feed .moda-feed-card > .text {
    max-width: 680px;
    margin: 0 0 18px;
    color: #555;
    font-size: 15px;
    line-height: 1.55;
}

.moda-feed-layout .news_feed .moda-feed-card > .text:empty {
    display: none;
}

.moda-feed-layout .news_feed .moda-feed-card > .text a {
    color: inherit;
}

.moda-feed-layout .news_feed .moda-feed-card > .text a:hover {
    color: inherit;
}

.moda-feed-layout .news_feed .moda-feed-card > .mediaset {
    max-width: 600px;
    margin-top: 16px;
    overflow: hidden;
    border-radius: 9px;
}

.moda-feed-layout .news_feed .moda-feed-card .mediaset__item,
.moda-feed-layout .news_feed .moda-feed-card .mediaset__allot {
    overflow: hidden;
}

.moda-feed-layout .news_feed .moda-feed-card .mediaset img {
    max-width: 100%;
    object-fit: cover;
}

.moda-feed-layout .news_feed .moda-feed-card .mediaset__item__title {
    border-radius: 0 0 8px 8px;
    color: #666;
    background: #f7f7f7;
    font-size: 11px;
    line-height: 1.4;
}

.moda-feed-layout .news_feed .moda-feed-card > .separator {
    display: none;
}

.moda-feed-empty {
    min-height: 180px;
    border: 1px solid var(--moda-soft-line);
    border-radius: 9px;
    margin: 0;
    padding: 64px 24px;
    color: var(--moda-muted);
    background: #fafafa;
    font-size: 15px;
    text-align: center;
}

/* Existing T02 sidebar content, only its presentation changes. */
.moda-feed-layout .left_block .h250_sidebar,
.moda-feed-layout .left_block .block_list,
.moda-feed-layout .left_block .cloud_block {
    margin-top: 0;
    margin-bottom: 24px;
}

/* T02 currently renders the legacy .item DOM; keep it visually equivalent to
   the modern feed card without changing backend data or URL behavior. */
.moda-feed-layout .news_feed > .item {
    margin: 0;
    padding: 0 0 30px;
}

.moda-feed-layout .news_feed > .item + .item {
    border-top: 1px solid var(--moda-line);
    padding-top: 15px;
}

.moda-feed-layout .news_feed > .item > .title {
    margin: 0 0 8px;
}

.moda-feed-layout .news_feed > .item > .title h2 {
    margin: 0;
    font-size: 23px;
    font-weight: 720;
    letter-spacing: -.018em;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.moda-feed-layout .news_feed > .item > .title a {
    color: var(--moda-ink);
    font-size: inherit;
    font-weight: inherit;
}

.moda-feed-layout .news_feed > .item > .title a:hover {
    color: var(--moda-red);
}

.moda-feed-layout .news_feed > .item > .info_bar {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 18px;
    margin: 0 0 13px;
    color: #777;
    font-size: 11px;
}

.moda-feed-layout .news_feed > .item > .info_bar ul {
    display: flex;
    float: none;
    flex-wrap: wrap;
    gap: 5px 12px;
    margin: 0;
}

.moda-feed-layout .news_feed > .item > .info_bar li,
.moda-feed-layout .news_feed > .item > .info_bar li:first-child {
    display: flex;
    float: none;
    align-items: center;
    gap: 3px;
    margin: 0;
    color: #777;
}

.moda-feed-layout .news_feed > .item > .info_bar .clear,
.moda-feed-layout .news_feed > .item > .separator {
    display: none;
}

.moda-feed-layout .news_feed > .item > .text {
    max-width: 680px;
    margin: 0 0 18px;
    color: #555;
    font-size: 15px;
    line-height: 1.55;
}

.moda-feed-layout .news_feed > .item > .text a,
.moda-feed-layout .news_feed > .item > .text a:hover {
    color: inherit;
}

.moda-feed-layout .news_feed > .item > .mediaset {
    max-width: 600px;
    margin-top: 16px;
    overflow: hidden;
    border-radius: 9px;
}

.moda-feed-layout .news_feed > .item .mediaset__item,
.moda-feed-layout .news_feed > .item .mediaset__allot {
    overflow: hidden;
}

.moda-feed-layout .news_feed > .item .mediaset img {
    max-width: 100%;
    object-fit: cover;
}

/* Reuse the approved home recommendation card in the T02 sidebar. */
.moda-feed-layout .left_block .moda-recommend > .mini_catalog {
    height: 250px;
    border: 1px solid var(--moda-line);
    border-radius: 9px;
    margin: 0 0 10px;
    overflow: hidden;
    background: #f7f7f7;
}

.moda-feed-layout .left_block .moda-recommend > .mini_catalog .title {
    height: 39px;
    border: 0;
    border-bottom: 2px solid var(--moda-red);
    padding: 10px 16px 8px;
    color: transparent;
    background: #fff;
    text-align: left;
}

.moda-feed-layout .left_block .moda-recommend > .mini_catalog .title::before {
    content: "✓";
    margin-right: 8px;
    color: var(--moda-red);
    font-size: 15px;
    font-weight: 700;
}

.moda-feed-layout .left_block .moda-recommend > .mini_catalog .title::after {
    content: "Рекомендуем";
    color: var(--moda-red);
    font-size: 13px;
    font-weight: 750;
}

.moda-feed-layout .left_block .moda-recommend > .mini_catalog .list {
    border: 0;
    margin: 0;
    font-size: 15px;
}

.moda-feed-layout .left_block .moda-recommend > .mini_catalog .list li {
    display: flex;
    height: 52px;
    align-items: center;
    border: 0;
    border-top: 1px solid var(--moda-soft-line);
    padding: 5px 16px;
    overflow: hidden;
    background: #f7f7f7;
}

.moda-feed-layout .left_block .moda-recommend > .mini_catalog .list li a {
    display: block;
    width: 100%;
    max-height: none;
    overflow: visible;
    color: #303030;
    background: none;
    line-height: 19px;
}

.moda-feed-layout .left_block .moda-recommend > .mini_catalog .list li a strong,
.moda-feed-layout .left_block .moda-recommend > .mini_catalog .list li a b {
    font-weight: 750;
}

.moda-feed-layout .left_block .moda-banner-sape {
    margin: 4px 0;
    padding: 12px 5px;
}

.moda-feed-layout .left_block .moda-banner-sape.moda-seo-insert-empty {
    display: none;
}

.moda-feed-layout .left_block .moda-recommend > br {
    display: none;
}

.moda-feed-layout .left_block .mini_catalog {
    border: 0;
    border-top: 2px solid var(--moda-red);
    border-bottom: 1px solid var(--moda-line);
    margin-bottom: 16px;
}

.moda-feed-layout .left_block .mini_catalog .title {
    width: auto;
    border: 0;
    padding: 9px 0;
    color: var(--moda-red);
    background: #fff;
    text-align: left;
}

.moda-feed-layout .left_block .mini_catalog .list {
    border: 0;
    margin: 0;
}

.moda-feed-layout .left_block .mini_catalog .list li {
    border: 0;
    border-top: 1px solid var(--moda-soft-line);
    padding: 8px 0;
}

.moda-feed-layout .left_block .subscribe {
    display: block;
    border-radius: 8px;
    padding: 12px;
    background: #f4f4f4;
}

.moda-feed-layout .left_block .subscribe > .form + .title,
.moda-feed-layout .left_block .subscribe .soc_buttons {
    display: none;
}

.moda-feed-layout .left_block .subscribe > .title {
    margin: 0 0 9px;
    color: var(--moda-ink);
    font-size: 15px;
    font-weight: 750;
}

.moda-feed-layout .left_block .subscribe .form form {
    display: flex;
    gap: 8px;
}

.moda-feed-layout .left_block .subscribe .form,
.moda-feed-layout .left_block .subscribe .form .text {
    border: 0 !important;
    margin: 0;
    padding: 0;
    background: transparent !important;
}

.moda-feed-layout .left_block .subscribe .form .text {
    float: none;
    flex: 1 1 auto;
}

.moda-feed-layout .left_block .subscribe .form input[type="text"] {
    box-sizing: border-box;
    width: 100%;
    height: 38px;
    border: 1px solid #cfcfcf;
    border-radius: 7px;
    padding: 0 10px;
    color: #444;
    font-size: 13px;
}

.moda-feed-layout .left_block .subscribe .form input[type="submit"] {
    float: none;
    width: 40px;
    height: 38px;
    border: 0;
    border-radius: 7px;
    color: #fff;
    background: var(--moda-red);
    font-size: 22px;
    font-weight: 700;
}

.moda-feed-layout .left_block .block_list > .title {
    border: 0;
    border-bottom: 2px solid var(--moda-red);
    padding: 10px 16px 8px;
    color: transparent;
    background: #fff;
    font-size: 13px;
    font-weight: 750;
    text-transform: none;
}

.moda-feed-layout .left_block .moda-quote-sidebar {
    overflow: hidden;
    border: 1px solid var(--moda-line);
    border-radius: 9px;
    background: #fff;
}

.moda-feed-layout .left_block .moda-quote-sidebar > .title {
    display: flex;
    height: 39px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border-radius: 8px 8px 0 0;
    text-align: center;
}

.moda-feed-layout .left_block .moda-quote-sidebar > .title::after {
    content: "Интересно!";
    color: var(--moda-red);
}

.moda-feed-layout .left_block .moda-quote-sidebar-intresting li {
    border: 0;
    border-top: 1px solid var(--moda-soft-line);
    margin: 0;
    padding: 10px 12px;
    background: #f7f7f7;
}

.moda-feed-layout .left_block .moda-quote-sidebar-intresting {
    margin: 0;
    padding: 0;
    background: #f7f7f7;
}

.moda-feed-layout .left_block .moda-quote-sidebar-intresting .image {
    border-radius: 7px;
    overflow: hidden;
}

.moda-feed-layout .left_block .moda-quote-sidebar-intresting .text h3 {
    margin: 7px 0 0;
    line-height: 1.35;
    font-weight: 750;
}

.moda-feed-layout .left_block .moda-blog-aside-tags-all .more,
.moda-feed-layout .left_block .moda-quote-rubric-name {
    border-radius: 7px;
}

/* Shared "All subjects" control: retain the neutral cloud treatment on every
   interaction state, rather than inheriting the site-wide red-link hover. */
.moda-public-layout .moda-blog-aside-tags-all .more {
    padding: 6px 30px;
    color: #fff;
    font-size: 13px;
    line-height: 1.2;
}

.moda-public-layout .moda-blog-aside-tags-all .more:hover,
.moda-public-layout .moda-blog-aside-tags-all .more:focus,
.moda-public-layout .moda-blog-aside-tags-all .more:active {
    color: #fff !important;
    text-decoration: none;
}

/* Shared public footer */
.moda-public-layout .moda-footer {
    position: static;
    height: auto;
    padding: 0;
    background: #fff;
}

.moda-public-layout .moda-footer .info-sape {
    width: 1000px;
    max-width: calc(100% - 40px);
    padding: 24px 0;
    color: #777;
    font-size: 11px;
}

.moda-public-layout .moda-footer .moda-footer-main {
    border-top: 1px solid var(--moda-line);
    padding: 30px 0 34px;
    background: #f7f7f7;
}

.moda-public-layout .moda-footer .moda-footer-main > .main_grid {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) auto;
    gap: 30px;
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
}

.moda-public-layout .moda-footer .left,
.moda-public-layout .moda-footer .center,
.moda-public-layout .moda-footer .right {
    float: none;
    margin: 0;
    padding: 0;
}

.moda-public-layout .moda-footer .left .logo {
    margin: 0;
    opacity: .78;
}

.moda-public-layout .moda-footer .left .info {
    margin-top: 16px;
    font-size: 12px;
}

.moda-public-layout .moda-footer .center .menu {
    width: auto;
}

.moda-public-layout .moda-footer .center .menu a {
    font-size: 16px;
}

.moda-public-layout .moda-footer .center .info {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}

.moda-public-layout .moda-footer .center .info .text {
    width: auto;
    max-width: 420px;
    margin-left: 0;
    color: #777;
    line-height: 1.45;
}

.moda-public-layout .moda-footer .center .sign18 {
    display: none;
}

@media (max-width: 900px) {
    .moda-public-layout .main_grid,
    .moda-public-layout .moda-footer .info-sape {
        max-width: calc(100% - 32px);
    }

    .moda-public-layout .moda-header-grid {
        grid-template-columns: 205px minmax(0, 1fr) 150px;
        gap: 10px 16px;
    }

    .moda-public-layout .moda-header-main {
        grid-template-columns: 1fr;
    }

    .moda-public-layout .moda-header-main > ul {
        display: none;
    }

    .moda-public-layout .moda-header-grid .sub_menu {
        left: 0;
    }

    .moda-public-layout .main_block > .left_block,
    .moda-public-layout .main_block > .center_block {
        float: none;
        width: 100%;
    }

    .moda-home-layout .moda-recommend {
        height: auto;
        min-height: 230px;
    }

    .moda-home-layout .priority-slider {
        margin-top: 0 !important;
    }

    .moda-public-layout .moda-footer .moda-footer-main > .main_grid {
        grid-template-columns: 205px minmax(0, 1fr);
        gap: 24px;
    }

    .moda-public-layout .moda-footer .right {
        display: none;
    }
}

@media (max-width: 760px) {
    .moda-public-layout .moda-header-grid {
        grid-template-columns: minmax(0, 1fr) 140px;
        min-height: 126px;
        padding-top: 14px;
    }

    .moda-public-layout .moda-header-grid > .logo {
        grid-column: 1 / -1;
    }

    .moda-public-layout .moda-header-grid > .user_action,
    .moda-public-layout .moda-header-grid > .user_action .profile,
    .moda-public-layout .moda-header-grid > .user_action .profile.not_auth .links_bar a {
        width: 140px;
    }

    .moda-public-layout .moda-header-grid .sub_menu {
        top: 96px;
    }

    .moda-home-layout .priority-slider {
        display: flex;
        height: auto;
        min-height: 498px;
        flex-direction: column;
    }

    .moda-home-layout .priority-slider .ui-tabs-panel {
        order: 1;
        width: 100%;
        height: 250px;
        border-radius: 8px 8px 0 0;
    }

    .moda-home-layout .priority-slider ul.ui-tabs-nav {
        position: static;
        order: 2;
        width: 100%;
        height: auto;
    }

    .moda-home-layout .priority-slider ul.ui-tabs-nav li,
    .moda-home-layout .priority-slider ul.ui-tabs-nav li a {
        height: 62px;
    }

    .moda-home-layout .moda-general-info {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .moda-home-layout .new-main .left_side,
    .moda-home-layout .new-main .right_side {
        float: none;
        width: 100%;
        border: 0;
    }

    .moda-home-layout .new-main .right_side {
        border-top: 1px solid var(--moda-line);
        margin-top: 34px;
        padding-top: 28px;
    }

    .moda-home-layout .new-main .news_catalog {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 14px;
    }

    .moda-public-layout .moda-footer .moda-footer-main > .main_grid {
        grid-template-columns: 1fr;
    }

    .moda-public-layout .moda-footer .center .info {
        flex-direction: column;
    }
}

@media (max-width: 440px) {
    .moda-public-layout .main_grid,
    .moda-public-layout .moda-footer .info-sape {
        max-width: calc(100% - 24px);
    }

    .moda-public-layout .moda-header-grid {
        grid-template-columns: minmax(0, 1fr) 112px;
        gap: 10px;
    }

    .moda-public-layout .moda-header-grid > .user_action,
    .moda-public-layout .moda-header-grid > .user_action .profile,
    .moda-public-layout .moda-header-grid > .user_action .profile.not_auth .links_bar a {
        width: 112px;
    }

    .moda-public-layout .moda-header-grid > .user_action .profile:not(.not_auth) {
        grid-template-columns: 28px minmax(0, 1fr);
        gap: 6px;
    }

    .moda-public-layout .moda-header-grid > .user_action .profile:not(.not_auth) .avatar {
        width: 28px;
        height: 28px;
    }

    .moda-home-layout .moda-general-info {
        grid-template-columns: 1fr;
    }

    .moda-home-layout .new-main .news_catalog {
        grid-template-columns: 1fr;
    }

    .moda-home-layout .new-main .collections .image_frame {
        height: 190px;
        margin-left: 0;
    }

    .moda-home-layout .new-main .collections .image_frame img {
        height: 190px;
    }

    .moda-home-layout .new-main .collections .title,
    .moda-home-layout .new-main .collections .description,
    .moda-home-layout .new-main .collections .date {
        margin-left: 0;
    }
}

/* T13: the public Help/F.A.Q. keeps its current raw CMS content, with an
   intentionally quiet reading surface and an empty left rail. */
.moda-help-layout .main_block {
    padding-bottom: 72px;
}

.moda-help-layout .left_block {
    min-height: 1px;
}

.moda-help-layout .moda-help {
    min-width: 0;
    color: var(--moda-text);
    font-size: 15px;
    line-height: 1.72;
    overflow-wrap: break-word;
}

.moda-help-layout .moda-help-index {
    border-top: 1px solid var(--moda-soft-line);
}

.moda-help-layout .moda-help-section {
    border-bottom: 1px solid var(--moda-soft-line);
    padding: 22px 0 20px;
}

.moda-help-layout .moda-help-section h4 {
    margin: 0 0 12px;
    color: var(--moda-ink);
    font-size: 20px;
    font-weight: 730;
    letter-spacing: -.015em;
    line-height: 1.25;
}

.moda-help-layout .moda-help ol:not(.breadcrumb) {
    margin: 0;
    padding-left: 22px;
}

.moda-help-layout .moda-help li + li {
    margin-top: 7px;
}

.moda-help-layout .moda-help a {
    color: var(--moda-blue);
    text-decoration: underline;
    text-decoration-color: rgba(91, 126, 175, .34);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.moda-help-layout .moda-help a:hover {
    color: var(--moda-red);
    text-decoration-color: currentcolor;
}

.moda-help-layout .moda-help .breadcrumb {
    display: flex;
    gap: 8px;
    margin: 0 0 20px;
    border-bottom: 1px solid var(--moda-soft-line);
    border-radius: 0;
    padding: 0 0 12px;
    background: transparent;
    color: var(--moda-muted);
    font-size: 12px;
    line-height: 1.35;
    list-style: none;
}

.moda-help-layout .moda-help .breadcrumb > li + li::before {
    content: "/";
    padding-right: 8px;
    color: #aaa;
}

.moda-help-layout .moda-help-article > h2 {
    margin: 0 0 26px;
    border-bottom: 1px solid var(--moda-soft-line);
    padding: 0 0 18px;
    color: var(--moda-ink);
    font-size: 31px;
    font-weight: 730;
    letter-spacing: -.025em;
    line-height: 1.12;
}

.moda-help-layout .help-cms-body > :first-child { margin-top: 0; }
.moda-help-layout .help-cms-body p { margin: 0 0 20px; }

.moda-help-layout .help-cms-body h1,
.moda-help-layout .help-cms-body h2,
.moda-help-layout .help-cms-body h3 {
    margin: 30px 0 12px;
    color: var(--moda-ink);
    font-weight: 730;
    line-height: 1.25;
}

.moda-help-layout .help-cms-body h1 { font-size: 23px; }
.moda-help-layout .help-cms-body h2 { font-size: 20px; }
.moda-help-layout .help-cms-body h3 { font-size: 17px; }

.moda-help-layout .help-cms-body ul,
.moda-help-layout .help-cms-body ol {
    margin: 0 0 20px;
    padding-left: 24px;
}

.moda-help-layout .help-cms-body blockquote {
    margin: 26px 0;
    border-left: 2px solid var(--moda-red);
    padding: 3px 0 3px 20px;
    color: var(--moda-muted);
}

.moda-help-layout .help-cms-body img,
.moda-help-layout .help-cms-body video {
    max-width: 100%;
    height: auto;
}

.moda-help-layout .help-cms-body img[align="right"] {
    float: right;
    margin: 0 0 16px 22px;
    border-radius: 8px;
}

.moda-help-layout .help-cms-body iframe {
    max-width: 100%;
    border: 0;
}

.moda-help-layout .help-cms-body table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 24px 0;
    overflow-x: auto;
    border-collapse: collapse;
}

.moda-help-layout .help-cms-body th,
.moda-help-layout .help-cms-body td {
    border-bottom: 1px solid var(--moda-soft-line);
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.moda-help-layout .moda-help-missing .alert {
    margin: 0;
    border: 1px solid var(--moda-soft-line);
    border-left: 2px solid var(--moda-red);
    border-radius: 0;
    padding: 14px 16px;
    color: var(--moda-text);
    background: #fafafa;
}

@media (max-width: 760px) {
    .moda-help-layout .left_block { display: none; }

    .moda-help-layout .moda-help {
        font-size: 15.5px;
        line-height: 1.68;
    }

    .moda-help-layout .moda-help-article > h2 {
        margin-bottom: 22px;
        padding-bottom: 15px;
        font-size: 28px;
    }

    .moda-help-layout .help-cms-body img[align="right"] {
        float: none;
        display: block;
        margin: 0 0 16px;
    }
}

@media (max-width: 440px) {
    .moda-help-layout .moda-help-article > h2 { font-size: 25px; }
}

/* T14: a visual layer over the existing feedback form hooks. The AJAX form,
   uploader, CAPTCHA and server-generated hidden fields remain untouched. */
.moda-feedback-layout .main_block,
.moda-feedback-author-layout .profile_content {
    padding-bottom: 72px;
}

.moda-feedback-layout .feedback_block,
.moda-feedback-author-layout .feedback_block {
    margin-top: 0;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

.moda-feedback-layout .feedback_block .title,
.moda-feedback-author-layout .feedback_block .title {
    margin: 0 0 24px;
    border-bottom: 1px solid #ececec;
    padding: 0 0 18px;
}

.moda-feedback-layout .feedback_block .title h1,
.moda-feedback-author-layout .feedback_block .title h1 {
    margin: 0;
    color: #171717;
    font-size: 31px;
    font-weight: 730;
    letter-spacing: -.025em;
    line-height: 1.12;
    text-transform: none;
}

.moda-feedback-layout .feedback_block > .content,
.moda-feedback-author-layout .feedback_block > .content {
    margin: 0 0 24px;
    color: #555;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.72;
}

.moda-feedback-layout .front_form,
.moda-feedback-author-layout .front_form {
    max-width: 610px;
}

.moda-feedback-layout .front_form .who,
.moda-feedback-author-layout .front_form .who {
    margin: 0 0 24px;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 0;
    background: #f7f7f7;
}

.moda-feedback-layout .front_form .who > .title,
.moda-feedback-author-layout .front_form .who > .title {
    margin: 0;
    border-bottom: 1px solid #ececec;
    padding: 14px 18px;
    color: #171717;
    font-size: 15px;
    font-weight: 700;
}

.moda-feedback-layout .front_form .who ul,
.moda-feedback-author-layout .front_form .who ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.moda-feedback-layout .front_form .who li,
.moda-feedback-author-layout .front_form .who li {
    border-top: 1px solid #ececec;
    padding: 9px 18px;
}

.moda-feedback-layout .front_form input[type="radio"],
.moda-feedback-author-layout .front_form input[type="radio"] { accent-color: #e5071d; }

.moda-feedback-layout .front_form .inner_form,
.moda-feedback-author-layout .front_form .inner_form { padding-left: 40px; }

.moda-feedback-layout .front_form .input_row,
.moda-feedback-author-layout .front_form .input_row {
    float: none;
    width: auto;
    margin: 0 0 18px;
}

.moda-feedback-layout .front_form .input_row label,
.moda-feedback-author-layout .front_form .input_row label {
    display: block;
    width: auto;
    margin: 0 0 7px;
    color: #4c4c4c;
    font-size: 12px;
    font-weight: 700;
}

.moda-feedback-layout .front_form .input_row .text,
.moda-feedback-layout .front_form .input_row .text.moda-feedback-title,
.moda-feedback-author-layout .front_form .input_row .text,
.moda-feedback-author-layout .front_form .input_row .text.moda-feedback-title,
.moda-feedback-layout .front_form .input_row .textarea_input,
.moda-feedback-author-layout .front_form .input_row .textarea_input {
    float: none;
    width: 100%;
    border: 0;
    background: transparent;
}

.moda-feedback-layout .front_form .input_row input[type="text"],
.moda-feedback-author-layout .front_form .input_row input[type="text"] {
    width: 100% !important;
    height: 42px;
    border: 1px solid #d3d3d3;
    border-radius: 8px;
    padding: 9px 12px;
    background: #fff;
    color: #333;
    font-size: 14px;
    outline: 0;
}

.moda-feedback-layout .front_form .input_row textarea,
.moda-feedback-author-layout .front_form .input_row textarea {
    width: 100% !important;
    min-height: 154px;
    border: 1px solid #d3d3d3;
    border-radius: 8px;
    padding: 10px 12px;
    background: #fff;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    outline: 0;
    resize: vertical;
}

.moda-feedback-layout .front_form .input_row input:focus,
.moda-feedback-layout .front_form .input_row textarea:focus,
.moda-feedback-author-layout .front_form .input_row input:focus,
.moda-feedback-author-layout .front_form .input_row textarea:focus {
    border-color: #e5071d;
    box-shadow: 0 0 0 3px rgba(229, 7, 29, .12);
}

.moda-feedback-layout .front_form .file_upload,
.moda-feedback-author-layout .front_form .file_upload {
    float: left;
    width: auto;
    margin: 0 12px 0 0;
}

.moda-feedback-layout .front_form .up_btn,
.moda-feedback-author-layout .front_form .up_btn {
    display: flex;
    min-width: 138px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    padding: 0 14px;
    color: #fff;
    background: #3b3b3b;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.moda-feedback-layout .front_form .up_btn span,
.moda-feedback-author-layout .front_form .up_btn span {
    margin: 0;
    padding: 0;
    line-height: 1;
}

.moda-feedback-layout .front_form .info,
.moda-feedback-author-layout .front_form .info {
    padding-top: 2px;
    color: #777;
    font-size: 11px;
    line-height: 1.35;
}

.moda-feedback-layout .front_form .captcha .image,
.moda-feedback-author-layout .front_form .captcha .image { float: left; }
.moda-feedback-layout .front_form .captcha .image img,
.moda-feedback-author-layout .front_form .captcha .image img { width: 168px; height: 57px; }
.moda-feedback-layout .front_form .captcha .text,
.moda-feedback-author-layout .front_form .captcha .text { float: left; width: 168px; margin: 7px 0 0 12px; }

.moda-feedback-layout .front_form .btn.red,
.moda-feedback-author-layout .front_form .btn.red {
    min-width: 150px;
    height: 42px;
    border: 0;
    border-radius: 8px;
    padding: 0 20px;
    color: #fff;
    background: #e5071d;
    font-size: 14px;
    font-weight: 750;
    text-shadow: none;
}

.moda-feedback-layout .front_form .btn.red:hover,
.moda-feedback-author-layout .front_form .btn.red:hover { background: #b70a1b; }

.moda-feedback-layout .front_form .error,
.moda-feedback-author-layout .front_form .error { margin-top: 5px; color: #d20a1b; font-size: 11px; }

.moda-feedback-layout .feedback_block .user_block,
.moda-feedback-author-layout .feedback_block .user_block {
    display: flex;
    align-items: center;
    margin: 0 0 24px;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 14px;
    background: #fafafa;
}

.moda-feedback-layout .feedback_block .user_block .avatar,
.moda-feedback-author-layout .feedback_block .user_block .avatar { float: none; margin-right: 12px; }

@media (max-width: 760px) {
    .moda-feedback-layout .front_form .inner_form,
    .moda-feedback-author-layout .front_form .inner_form { padding-left: 0; }
    .moda-feedback-layout .feedback_block .title h1,
    .moda-feedback-author-layout .feedback_block .title h1 { font-size: 28px; }
}

/* T04: editorial articles keep the legacy CMS, gallery and comments; only the
   surrounding presentation is redesigned. */
.moda-article-layout .main_block {
    /* Editorial pages have the rubric bar above the content. Keep a clear
       breathing space after it; the search page opts out separately. */
    padding-top: 32px;
}

.moda-article-layout .center_block {
    width: 750px;
}

.moda-article-layout .news_view {
    max-width: 750px;
    color: var(--moda-ink);
}

.moda-article-layout .news_view > .title {
    margin: 0;
    color: var(--moda-ink);
}

.moda-article-layout .news_view > .title h1 {
    max-width: 740px;
    margin: 0;
    color: inherit;
    font-size: clamp(27px, 3.2vw, 36px);
    font-weight: 750;
    letter-spacing: -.025em;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.moda-article-layout .news_view .author_block {
    display: flex;
    float: none;
    align-items: center;
    width: auto;
    min-height: 42px;
    margin: 0 0 14px;
}

.moda-article-layout .news_view .author_block .avatar {
    float: none;
    padding: 0;
}

.moda-article-layout .news_view .author_block .avatar img {
    display: block;
    width: 42px;
    height: 42px;
    border: 1px solid var(--moda-line);
    border-radius: 50%;
    object-fit: cover;
}

.moda-article-layout .news_view .author_block .info {
    float: none;
    width: auto;
    height: auto;
    margin-left: 10px;
    line-height: 1.3;
}

.moda-article-layout .news_view .author_block .info a {
    color: #4a4a4a;
    font-size: 12px;
    font-weight: 700;
}

.moda-article-layout .news_view > .moda-news-separator {
    display: none;
}

.moda-article-layout .news_view > .info_bar {
    display: flex;
    float: none;
    flex-wrap: wrap;
    gap: 6px 18px;
    width: auto;
    margin: 18px 0 22px;
    padding: 10px 0;
    border-top: 1px solid var(--moda-soft-line);
    border-bottom: 1px solid var(--moda-soft-line);
    color: #777;
    font-size: 12px;
}

.moda-article-layout .news_view > .info_bar ul {
    display: flex;
    float: none;
    flex-wrap: wrap;
    gap: 6px 13px;
    margin: 0;
}

.moda-article-layout .news_view > .info_bar li,
.moda-article-layout .news_view > .info_bar li:first-child {
    display: flex;
    float: none;
    align-items: center;
    gap: 4px;
    margin: 0;
    color: inherit;
}

.moda-article-layout .news_view > .tags {
    margin: 0 0 18px;
    color: #777;
    font-size: 12px;
    line-height: 1.55;
}

.moda-article-layout .news_view > .tags a {
    color: var(--moda-blue);
    text-decoration: underline;
}

.moda-article-layout .news_view > .content {
    min-height: 0 !important;
    color: #343434;
    font-size: 17px;
    line-height: 1.72;
}

.moda-article-layout .news_view > .content p {
    margin-bottom: 22px;
}

.moda-article-layout .news_view > .content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.moda-article-layout .news_view > .content .moda-news-photo-in-body {
    float: right;
    width: 250px;
    margin: 5px 0 14px 24px;
    padding: 0;
}

.moda-article-layout .news_view > .content .moda-news-photo-in-body img {
    display: block;
    width: 100%;
}

.moda-article-layout .news_view > .moda-share-block {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
    padding: 14px 0;
    border-top: 1px solid var(--moda-soft-line);
}

.moda-article-layout .news_view > .moda-share-block .moda-share-link {
    display: block;
    margin: 0;
}

.moda-article-layout .news_view > .moda-share-block .moda-share-link a {
    display: flex;
    min-height: 36px;
    align-items: center;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    margin: 0;
    padding: 8px 13px;
    color: #464646;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
}

.moda-article-layout .news_view > .moda-share-block .moda-share-link a:hover,
.moda-article-layout .news_view > .moda-share-block .moda-share-link a:focus {
    border-color: var(--moda-red);
    color: var(--moda-red);
}

.moda-article-layout .news_view > .moda-share-block .moda-share-print::after {
    content: "Распечатать";
    margin: 0;
}

.moda-article-layout .news_view > .moda-share-block .moda-share-link .moda-share-print {
    display: flex !important;
    min-width: 118px;
    align-items: center;
    justify-content: center;
    padding: 8px 12px !important;
    text-indent: 0;
    background-image: none !important;
}

.moda-article-layout .news_view > .big_slider {
    width: 100%;
    margin: 30px 0;
}

.moda-article-layout .news_view > .big_slider .slider {
    max-width: 100%;
    border-radius: 10px;
}

.moda-article-layout .news_view > .comment_block {
    margin-top: 38px;
    padding-top: 2px;
}

.moda-article-layout .news_view > .comment_block > .title {
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--moda-line);
    color: var(--moda-ink);
    font-size: 19px;
    font-weight: 750;
}

.moda-article-layout .news_view > .comment_block .disclaimer {
    max-width: 620px;
    color: #777;
    font-size: 12px;
    font-style: normal;
    line-height: 1.55;
}

.moda-article-layout .news_view > .comment_block .comments-disabled .run_popup {
    color: var(--moda-red);
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.moda-article-layout .news_view > .comment_block .comments-disabled .run_popup:hover {
    color: var(--moda-ink);
}

/* T04 comment form: retain the existing endpoint and upload hooks, while
   presenting the authenticated user's current avatar and controls in the
   approved public-site language. */
.moda-article-layout .news_view > .comment_block .moda-comments {
    margin-top: 18px;
}

.moda-article-layout .news_view > .comment_block .moda-form-reply {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 12px;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--moda-line);
    border-radius: 10px;
    background: #f4f4f4;
}

.moda-article-layout .news_view > .comment_block .moda-form-reply .moda-comment-wrapper,
.moda-article-layout .news_view > .comment_block .moda-form-reply .moda-comment-title,
.moda-article-layout .news_view > .comment_block .moda-form-reply .moda-comment-avatar {
    width: 50px;
    height: 50px;
    margin: 0;
}

.moda-article-layout .news_view > .comment_block .moda-form-reply .moda-comment-avatar {
    overflow: hidden;
    border: 1px solid #d5d5d5;
    border-radius: 50%;
    background: #fff;
    box-sizing: border-box;
}

.moda-article-layout .news_view > .comment_block .moda-form-reply .moda-comment-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 50%;
    object-fit: cover;
    opacity: 1;
}

.moda-article-layout .news_view > .comment_block .moda-form-reply .moda-form-textarea {
    min-width: 0;
    margin: 0;
}

.moda-article-layout .news_view > .comment_block .moda-form-reply .moda-form-textarea form {
    display: grid;
    gap: 9px;
}

.moda-article-layout .news_view > .comment_block .moda-form-reply textarea {
    display: block;
    width: 100%;
    min-height: 126px;
    height: 126px;
    padding: 11px;
    border: 1px solid #cfcfcf;
    border-radius: 7px;
    background: #fff;
    box-sizing: border-box;
    color: var(--moda-ink);
    font: inherit;
    line-height: 1.45;
    resize: vertical;
}

.moda-article-layout .news_view > .comment_block .moda-form-submits {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.moda-article-layout .news_view > .comment_block .moda-form-submits input {
    min-height: 36px;
    margin: 0;
    padding: 8px 13px;
    border: 1px solid #cfcfcf;
    border-radius: 7px;
    color: #444;
    background: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.moda-article-layout .news_view > .comment_block .moda-form-submits .moda-form-submit {
    border-color: #3b3b3b;
    color: #fff;
    background: #3b3b3b;
}

.moda-article-layout .news_view > .comment_block .moda-form-submits .moda-form-submit:hover {
    background: var(--moda-red);
    border-color: var(--moda-red);
}

/* T05: public author article.  The legacy profile layout stays responsible
   for all links, search, side slots and form endpoints; these rules only
   align its presentation with the approved public redesign. */
.moda-layout-profile {
    --moda-red: #e5071d;
    --moda-ink: #171717;
    --moda-line: #dddddd;
    --moda-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    min-width: 0;
    padding-top: 82px !important;
    color: var(--moda-ink);
    font-family: var(--moda-font);
}

.moda-layout-profile *,
.moda-layout-profile *::before,
.moda-layout-profile *::after {
    box-sizing: border-box;
}

.moda-layout-profile .moda-navbar-wrapper .moda-navbar {
    min-height: 64px;
    border: 0;
    background: #3b3b3b;
    box-shadow: none;
}

.moda-layout-profile .moda-navbar-wrapper .moda-navbar .container {
    width: 1000px;
    min-width: 0;
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: 0;
}

.moda-layout-profile .moda-navbar-wrapper .moda-navbar .navbar-header {
    width: 220px;
    margin: 0 30px 0 0;
}

.moda-layout-profile .moda-navbar-wrapper .moda-navbar a.navbar-brand {
    max-width: 220px;
    padding: 21px 0;
    color: #fff;
    font-size: 18px;
    line-height: 22px;
}

.moda-layout-profile .moda-navbar-wrapper .moda-navbar .navbar-nav > li:first-child {
    margin-left: 0;
}

.moda-layout-profile .moda-navbar-wrapper .moda-navbar .navbar-nav > li > a {
    padding: 22px 15px 20px;
    color: #f7f7f7;
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    text-shadow: none;
}

.moda-layout-profile .moda-navbar-wrapper .moda-navbar .navbar-nav > li.active > a,
.moda-layout-profile .moda-navbar-wrapper .moda-navbar .navbar-nav > li > a:hover {
    color: #fff;
    background: var(--moda-red);
}

.moda-layout-profile .moda-navbar-wrapper .moda-navbar .navbar-form {
    width: 238px !important;
    margin: 13px 0 0 12px;
    padding: 0;
}

.moda-layout-profile .moda-navbar-wrapper .moda-navbar .form-control,
.moda-layout-profile .moda-navbar-wrapper .moda-navbar .btn-default {
    height: 38px;
    border-color: #626262;
    border-radius: 0;
    color: #fff;
    background: #4a4a4a;
    box-shadow: none;
}

.moda-layout-profile .moda-navbar-wrapper .moda-navbar .form-control {
    border-right: 0;
    font-size: 13px;
}

.moda-layout-profile .moda-navbar-wrapper .moda-navbar .btn-default:hover {
    color: #fff;
    border-color: var(--moda-red);
    background: var(--moda-red);
}

.moda-layout-profile .main_grid.profile_content {
    display: grid;
    grid-template-columns: 220px minmax(0, 750px);
    gap: 30px;
    width: 1000px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
    /* Profile footer is positioned by the legacy layout. Keep the reserved
       space so it cannot overlap article comments on short screens. */
    padding: 26px 0 220px;
}

.moda-layout-profile .profile_content > .left_block,
.moda-layout-profile .profile_content > .center_block {
    float: none;
    width: auto;
    min-width: 0;
}

.moda-layout-profile .profile_content > .clear {
    display: none;
}

.moda-layout-profile .left_block .user_block {
    margin: 0 0 18px;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--moda-line);
}

.moda-layout-profile .left_block .user-block-title {
    height: auto;
    margin: 0 0 12px;
    padding: 0 0 8px;
    border-bottom: 1px solid var(--moda-line);
    color: var(--moda-ink);
    font-size: 16px;
    font-weight: 750;
}

.moda-layout-profile .left_block .user_block .avatar {
    width: 74px;
    height: 74px;
    border-radius: 8px;
}

.moda-layout-profile .left_block .user_block .avatar img {
    min-height: 100%;
    object-fit: cover;
}

.moda-layout-profile .left_block .user_block .info {
    width: 132px;
    margin-left: 10px;
}

.moda-layout-profile .left_block .user_block .username {
    color: var(--moda-ink);
    font-size: 14px;
    font-weight: 700;
}

.moda-layout-profile .left_block .user_block .address {
    margin-top: 7px;
    color: #777;
    line-height: 1.4;
}

.moda-layout-profile .left_block .user_rubrics {
    margin-top: 0;
}

.moda-layout-profile .left_block .user_rubrics a {
    padding: 7px 0;
    border-top: 1px solid #e7e7e7;
    color: #4c4c4c;
    font-size: 13px;
    font-weight: 600;
}

.moda-layout-profile .left_block .user_rubrics a:hover {
    color: var(--moda-red);
}

.moda-layout-profile .center_block .news_view > .title h1 {
    margin: 0;
    color: var(--moda-ink);
    font-size: 36px;
    font-weight: 750;
    line-height: 1.1;
}

.moda-layout-profile .center_block .news_view > .separator {
    display: none;
}

.moda-layout-profile .center_block .news_view > .info_bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 15px 0 18px;
    padding: 10px 0;
    border-top: 1px solid var(--moda-line);
    border-bottom: 1px solid var(--moda-line);
    color: #777;
    font-size: 12px;
}

.moda-layout-profile .center_block .news_view > .tags {
    margin: 0 0 16px;
    color: #777;
    font-size: 12px;
}

.moda-layout-profile .center_block .news_view > .tags a {
    color: var(--moda-red);
}

.moda-layout-profile .center_block .news_view > .content {
    color: #444;
    font-family: var(--moda-font);
    font-size: 17px;
    line-height: 1.72;
}

.moda-layout-profile .center_block .news_view > .content p {
    margin: 0 0 18px;
}

.moda-layout-profile .center_block .news_view > .content a {
    color: var(--moda-red);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.moda-layout-profile .center_block .news_view > .content .moda-news-photo-in-body {
    margin: 4px 0 14px 20px;
    padding: 0;
}

.moda-layout-profile .center_block .news_view > .content .moda-news-photo-in-body img {
    border-radius: 8px;
}

.moda-layout-profile .center_block .news_view > .title .author_block {
    display: none;
}

.moda-layout-profile .center_block .news_view > .moda-share-block {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid var(--moda-line);
}

.moda-layout-profile .center_block .news_view > .moda-share-block .moda-share-link {
    display: block;
    margin: 0;
}

.moda-layout-profile .center_block .news_view > .moda-share-block .moda-share-link a {
    display: block;
    min-height: 34px;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid #cfcfcf;
    border-radius: 7px;
    color: #555;
    background: #fff;
    box-sizing: border-box;
    font-size: 12px;
}

.moda-layout-profile .center_block .news_view > .moda-share-block .moda-share-link a:hover {
    border-color: var(--moda-red);
    color: var(--moda-red);
}

.moda-layout-profile .center_block .news_view > .moda-share-block .moda-share-print::after {
    content: "Распечатать";
    margin: 0;
}

.moda-layout-profile .center_block .news_view > .moda-share-block .moda-share-link .moda-share-print {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    padding: 8px 12px !important;
    text-indent: 0;
    background-image: none !important;
}

.moda-layout-profile .center_block .news_view > .big_slider {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--moda-line);
}

.moda-layout-profile .center_block .news_view > .big_slider img,
.moda-layout-profile .center_block .news_view > .big_slider .slider {
    max-width: 100%;
    border-radius: 10px;
}

.moda-layout-profile .center_block .news_view > .comment_block {
    margin-top: 38px;
}

.moda-layout-profile .center_block .news_view > .comment_block > .title {
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--moda-line);
    color: var(--moda-ink);
    font-size: 19px;
    font-weight: 750;
}

.moda-layout-profile .center_block .news_view > .comment_block .disclaimer {
    max-width: 620px;
    color: #777;
    font-size: 12px;
    font-style: normal;
    line-height: 1.55;
}

.moda-layout-profile .center_block .news_view > .comment_block .comments-disabled {
    margin: 16px 0;
    padding: 14px 16px;
    border-radius: 9px;
    color: #555;
    background: #f4f4f4;
}

.moda-layout-profile .center_block .news_view > .comment_block .comments-disabled .run_popup {
    color: var(--moda-red);
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.moda-layout-profile .center_block .news_view > .comment_block .moda-comments {
    margin-top: 18px;
}

.moda-layout-profile .center_block .news_view > .comment_block .moda-form-reply {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 12px;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--moda-line);
    border-radius: 10px;
    background: #f4f4f4;
}

.moda-layout-profile .center_block .news_view > .comment_block .moda-form-reply .moda-comment-wrapper,
.moda-layout-profile .center_block .news_view > .comment_block .moda-form-reply .moda-comment-title,
.moda-layout-profile .center_block .news_view > .comment_block .moda-form-reply .moda-comment-avatar {
    width: 50px;
    height: 50px;
    margin: 0;
}

.moda-layout-profile .center_block .news_view > .comment_block .moda-form-reply .moda-comment-avatar {
    overflow: hidden;
    border: 1px solid #d5d5d5;
    border-radius: 50%;
    background: #fff;
    box-sizing: border-box;
}

.moda-layout-profile .center_block .news_view > .comment_block .moda-form-reply .moda-comment-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 50%;
    object-fit: cover;
    opacity: 1;
}

.moda-layout-profile .center_block .news_view > .comment_block .moda-form-textarea {
    min-width: 0;
    margin: 0;
}

.moda-layout-profile .center_block .news_view > .comment_block .moda-form-textarea form {
    display: grid;
    gap: 9px;
}

.moda-layout-profile .center_block .news_view > .comment_block textarea {
    width: 100%;
    min-height: 126px;
    height: 126px;
    padding: 11px;
    border: 1px solid #cfcfcf;
    border-radius: 7px;
    background: #fff;
    box-sizing: border-box;
    color: var(--moda-ink);
    font: inherit;
    line-height: 1.45;
    resize: vertical;
}

.moda-layout-profile .center_block .news_view > .comment_block .moda-form-submits {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.moda-layout-profile .center_block .news_view > .comment_block .moda-form-submits input {
    min-height: 36px;
    margin: 0;
    padding: 8px 13px;
    border: 1px solid #cfcfcf;
    border-radius: 7px;
    color: #444;
    background: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.moda-layout-profile .center_block .news_view > .comment_block .moda-form-submit {
    border-color: #3b3b3b !important;
    color: #fff !important;
    background: #3b3b3b !important;
}

.moda-layout-profile .center_block .news_view > .comment_block .moda-form-submit:hover {
    border-color: var(--moda-red) !important;
    background: var(--moda-red) !important;
}

/* T09: author directory.  The existing GET search, sorting and slider stay
   server-rendered; this only replaces the legacy absolute-positioned table. */
.moda-authors-layout .main_block {
    padding-top: 0;
}

.moda-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    clip-path: inset(50%) !important;
}

.moda-authors-heading {
    margin: 0 0 16px;
    padding: 0 0 15px;
    border-bottom: 1px solid var(--moda-soft-line);
}

.moda-authors-heading h1 {
    margin: 0;
    color: var(--moda-ink);
    font-size: 28px;
    font-weight: 720;
    letter-spacing: -.025em;
    line-height: 1.12;
}

.moda-authors-layout .moda-authors-search {
    display: grid;
    width: 100%;
    height: auto;
    float: none;
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 6px;
    margin: 0 0 18px;
    border: 0;
    position: static;
}

.moda-authors-layout .moda-authors-search input[type="search"] {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 44px;
    margin: 0;
    border: 1px solid #cfcfcf;
    border-radius: 8px;
    padding: 0 13px;
    color: var(--moda-ink);
    background: #fff;
    font: inherit;
    font-size: 12.5px;
    outline: 0;
}

.moda-authors-layout .moda-authors-search input[type="search"]:focus {
    border-color: var(--moda-red);
    box-shadow: 0 0 0 3px rgba(229, 7, 29, .15);
}

.moda-authors-layout .moda-authors-search button {
    min-width: 0;
    min-height: 44px;
    margin: 0;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: #3b3b3b;
    font: inherit;
    font-size: 12px;
    font-weight: 720;
    cursor: pointer;
}

.moda-authors-layout .moda-authors-search button:hover,
.moda-authors-layout .moda-authors-search button:focus-visible {
    background: var(--moda-red);
}

.moda-authors-layout .moda-authors-table-wrap {
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--moda-soft-line);
    border-radius: 9px;
    background: #fff;
}

.moda-authors-layout .moda-authors-table {
    width: 100%;
    margin: 0 !important;
    border-spacing: 0;
    border-collapse: separate;
    table-layout: fixed;
    color: #505050;
}

.moda-authors-layout .moda-authors-table th {
    border: 0;
    border-bottom: 1px solid var(--moda-soft-line);
    padding: 12px 11px 11px;
    color: #555;
    background: #f4f4f4;
    font-size: 10.5px;
    font-weight: 720;
    letter-spacing: .04em;
    line-height: 1.3;
    text-align: left;
    text-transform: uppercase;
}

.moda-authors-layout .moda-authors-table th a,
.moda-authors-layout .moda-authors-table th span {
    color: inherit;
    font-size: inherit;
    text-decoration: none;
}

.moda-authors-layout .moda-authors-table th a:hover,
.moda-authors-layout .moda-authors-table th a:focus-visible,
.moda-authors-layout .moda-authors-table th.ordered {
    color: var(--moda-red);
}

.moda-authors-layout .moda-authors-table th.ordered {
    box-shadow: inset 0 -2px 0 var(--moda-red);
}

.moda-authors-layout .moda-authors-table td {
    border: 0;
    border-bottom: 1px solid var(--moda-soft-line);
    padding: 16px 11px;
    vertical-align: top;
}

.moda-authors-layout .moda-authors-table td + td {
    padding-left: 11px;
}

.moda-authors-layout .moda-authors-table tbody tr:last-child td {
    border-bottom: 0;
}

.moda-authors-layout .moda-authors-table tbody tr:hover td {
    background: #fafafa;
}

.moda-authors-layout .moda-authors-person .image {
    width: 50px;
    height: 50px;
    float: left;
    overflow: hidden;
    margin-right: 10px;
    border-radius: 8px;
    background: #f4f4f4;
}

.moda-authors-layout .moda-authors-person .image img {
    display: block;
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.moda-authors-layout .moda-authors-person .name {
    padding-top: 2px;
    overflow-wrap: anywhere;
}

.moda-authors-layout .moda-authors-person .name a {
    color: var(--moda-blue);
    font-size: 12.5px;
    font-weight: 680;
    line-height: 1.35;
    text-decoration: none;
}

.moda-authors-layout .moda-authors-person .name a:hover {
    color: var(--moda-blue);
    text-decoration: underline;
}

.moda-authors-layout .moda-authors-blog .title {
    margin: 0 0 5px;
}

.moda-authors-layout .moda-authors-blog h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 720;
    letter-spacing: -.01em;
    line-height: 1.28;
    overflow-wrap: anywhere;
}

.moda-authors-layout .moda-authors-blog h2 a {
    color: var(--moda-ink);
    font-size: inherit;
    text-decoration: none;
}

.moda-authors-layout .moda-authors-blog h2 a:hover {
    color: var(--moda-ink);
    text-decoration: underline;
}

.moda-authors-layout .moda-authors-blog .text {
    color: var(--moda-muted);
    font-size: 11.5px;
    line-height: 1.42;
    overflow-wrap: anywhere;
}

.moda-authors-layout .moda-authors-count {
    color: #3f3f3f;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    font-weight: 680;
}

.moda-authors-layout .moda-authors-latest ul {
    margin: 0;
    padding: 0;
    color: var(--moda-muted);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    line-height: 1.4;
    list-style: none;
}

.moda-authors-layout .moda-authors-latest li {
    margin: 0;
}

.moda-authors-layout .moda-authors-latest li + li {
    margin-top: 4px;
}

.moda-authors-layout .moda-authors-latest .icon {
    display: inline-block;
    width: 7px;
    height: 7px;
    float: none;
    margin: 0 7px 0 0;
    border: 1px solid #aaa;
    vertical-align: 1px;
}

.moda-authors-layout .moda-authors-latest .icon.date {
    margin-top: 0;
    border-radius: 2px;
}

.moda-authors-layout .moda-authors-latest .icon.clock {
    border-radius: 50%;
}

.moda-authors-layout .moda-authors-pagination {
    margin: 24px 0 0;
    overflow: hidden;
}

.moda-authors-layout .moda-authors-pagination > .pagination,
.moda-authors-layout .moda-authors-pagination .pagination {
    display: flex;
    min-height: 48px;
    align-items: center;
    overflow: hidden;
    margin: 0;
    border: 0;
    border-radius: 8px;
    padding: 4px;
    background: #f5f5f5;
}

.moda-authors-layout .moda-authors-pagination ul {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin: 0;
    padding: 0;
}

.moda-authors-layout .moda-authors-pagination li,
.moda-authors-layout .moda-authors-pagination li:first-child {
    float: none;
    margin: 0;
}

/* The generic slider has two structural arrow cells.  This directory uses
   page numbers only, so hiding both prevents an empty active-looking cell. */
.moda-authors-layout .moda-authors-pagination li:first-child,
.moda-authors-layout .moda-authors-pagination li:last-child {
    display: none !important;
}

.moda-authors-layout .moda-authors-pagination li a,
.moda-authors-layout .moda-authors-pagination li span {
    display: flex;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    padding: 0 8px;
    color: #4d4d4d;
    background: transparent;
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
}

.moda-authors-layout .moda-authors-pagination li.active a,
.moda-authors-layout .moda-authors-pagination li.active span,
.moda-authors-layout .moda-authors-pagination li:not(.moda-pagination-skip) > span,
.moda-authors-layout .moda-authors-pagination li a:hover {
    color: var(--moda-red);
    background: #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .08);
}

.moda-authors-layout .moda-authors-pagination li.disabled a,
.moda-authors-layout .moda-authors-pagination li.disabled span {
    color: #aaa;
    background: transparent;
    box-shadow: none;
}

@media (max-width: 760px) {
    .moda-authors-layout .moda-authors-search {
        grid-template-columns: minmax(0, 1fr) 84px;
    }

    .moda-authors-layout .moda-authors-table-wrap {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .moda-authors-layout .moda-authors-table,
    .moda-authors-layout .moda-authors-table thead,
    .moda-authors-layout .moda-authors-table tbody,
    .moda-authors-layout .moda-authors-table tr,
    .moda-authors-layout .moda-authors-table th,
    .moda-authors-layout .moda-authors-table td {
        display: block;
        width: auto;
    }

    .moda-authors-layout .moda-authors-table colgroup {
        display: none;
    }

    .moda-authors-layout .moda-authors-table thead tr {
        display: grid;
        overflow: hidden;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        border: 1px solid var(--moda-soft-line);
        border-radius: 8px;
        background: #f4f4f4;
    }

    .moda-authors-layout .moda-authors-table thead th:first-child {
        display: none;
    }

    .moda-authors-layout .moda-authors-table thead th {
        border: 0;
        padding: 0;
        text-align: center;
    }

    .moda-authors-layout .moda-authors-table thead th + th {
        border-left: 1px solid #ddd;
    }

    .moda-authors-layout .moda-authors-table thead th a,
    .moda-authors-layout .moda-authors-table thead th span {
        display: flex;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        padding: 7px 5px;
    }

    .moda-authors-layout .moda-authors-table tbody {
        display: grid;
        gap: 12px;
        margin-top: 14px;
    }

    .moda-authors-layout .moda-authors-table tbody tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "person count" "blog blog" "latest latest";
        gap: 0 14px;
        border: 1px solid var(--moda-soft-line);
        border-radius: 9px;
        padding: 14px;
        background: #fff;
    }

    .moda-authors-layout .moda-authors-table td,
    .moda-authors-layout .moda-authors-table tbody tr:last-child td {
        border: 0;
        padding: 0;
    }

    .moda-authors-layout .moda-authors-person { grid-area: person; min-width: 0; }
    .moda-authors-layout .moda-authors-count { grid-area: count; min-width: 52px; text-align: right; }
    .moda-authors-layout .moda-authors-blog { grid-area: blog; margin-top: 13px; border-top: 1px solid var(--moda-soft-line) !important; padding-top: 12px !important; }
    .moda-authors-layout .moda-authors-latest { grid-area: latest; margin-top: 11px; }

    .moda-authors-layout .moda-authors-count::before {
        display: block;
        margin-bottom: 2px;
        color: var(--moda-muted);
        content: attr(data-label);
        font-size: 9px;
        font-weight: 650;
        letter-spacing: .05em;
        text-transform: uppercase;
    }

    .moda-authors-layout .moda-authors-latest ul {
        display: flex;
        flex-wrap: wrap;
        gap: 5px 16px;
    }

    .moda-authors-layout .moda-authors-latest li + li {
        margin-top: 0;
    }
}

@media (max-width: 440px) {
    .moda-authors-layout .moda-authors-search { grid-template-columns: minmax(0, 1fr) 76px; }
    .moda-authors-layout .moda-authors-search input[type="search"] { padding-inline: 10px; font-size: 11.5px; }
    .moda-authors-layout .moda-authors-table thead tr { grid-template-columns: 1fr .82fr 1.25fr; }
    .moda-authors-layout .moda-authors-table thead th { font-size: 9.5px; letter-spacing: .02em; }
}

@media (max-width: 760px) {
    .moda-article-layout .news_view > .title h1 {
        font-size: 28px;
    }

    .moda-article-layout .news_view > .content {
        font-size: 16px;
    }

    .moda-article-layout .news_view > .comment_block .moda-form-reply {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .moda-article-layout .news_view > .content .moda-news-photo-in-body {
        float: none;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .moda-public-layout *,
    .moda-public-layout *::before,
    .moda-public-layout *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* T10: the public author profile keeps its live fields and author shell.
   These rules are loaded only for Profile::pageDefault via layout_context. */
.moda-public-profile-layout .moda-navbar {
    min-height: 64px;
    border: 0;
    background: #3b3b3b;
    box-shadow: none;
}

.moda-public-profile-layout .container {
    width: 1000px;
    min-width: 0;
    max-width: calc(100% - 40px);
    padding: 0;
}

.moda-public-profile-layout .moda-navbar .container {
    width: 1000px;
    min-width: 0;
}

.moda-public-profile-layout .moda-navbar .navbar-header {
    width: 220px;
    margin: 0 30px 0 0;
}

.moda-public-profile-layout .moda-navbar a.navbar-brand {
    max-width: 220px;
    padding: 21px 0;
    color: #fff;
    font-size: 18px;
    line-height: 22px;
}

.moda-public-profile-layout .moda-navbar .navbar-nav li:first-child {
    margin-left: 0;
}

.moda-public-profile-layout .moda-navbar .navbar-nav > li > a {
    padding: 22px 15px 20px;
    color: #f7f7f7;
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    text-shadow: none;
}

.moda-public-profile-layout .moda-navbar .navbar-nav > li.active > a,
.moda-public-profile-layout .moda-navbar .navbar-nav > li > a:hover {
    color: #fff;
    background: var(--moda-red);
}

.moda-public-profile-layout .moda-navbar .navbar-form {
    width: 238px !important;
    margin: 13px 0 0 12px;
    padding: 0;
}

.moda-public-profile-layout .moda-navbar .form-control,
.moda-public-profile-layout .moda-navbar .btn-default {
    height: 38px;
    border-color: #626262;
    border-radius: 0;
    color: #fff;
    background: #4a4a4a;
    box-shadow: none;
}

.moda-public-profile-layout .moda-navbar .form-control {
    border-right: 0;
    font-size: 13px;
}

.moda-public-profile-layout .moda-navbar .btn-default:hover {
    color: #fff;
    border-color: var(--moda-red);
    background: var(--moda-red);
}

.moda-public-profile-layout .container > .row {
    margin: 0;
}

.moda-public-profile-layout .container > .row > .col-md-12 {
    float: none;
    width: 100%;
    padding: 0;
}

.moda-public-profile-layout .public-profile-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 750px);
    gap: 30px;
    align-items: start;
    width: 1000px;
    max-width: 100%;
    margin: 30px 0 82px;
}

.moda-public-profile-layout .public-profile-avatar {
    display: flex;
    width: 220px;
    justify-content: flex-end;
    margin: 0;
    padding-top: 4px;
    text-align: right;
}

.moda-public-profile-layout .public-profile-avatar img {
    display: block;
    width: 200px;
    height: 200px;
    max-width: 100%;
    margin: 0;
    border: 1px solid #dedede;
    border-radius: 18px;
    background: #f4f4f4;
    box-shadow: 0 9px 26px rgba(0, 0, 0, .08);
    object-fit: cover;
}

.moda-public-profile-layout .public-profile-panel {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--moda-soft-line);
    border-radius: 12px;
    background: #fff;
}

.moda-public-profile-layout .public-profile-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 25px 28px 23px;
}

.moda-public-profile-layout .public-profile-header h1 {
    margin: 0;
    color: var(--moda-ink);
    font-size: 38px;
    font-weight: 730;
    letter-spacing: -.025em;
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.moda-public-profile-layout .public-profile-edit {
    display: inline-flex;
    min-height: 34px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    margin: 0;
    border: 1px solid #cfcfcf;
    border-radius: 7px;
    padding: 7px 11px;
    color: #444;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.moda-public-profile-layout .public-profile-edit:hover,
.moda-public-profile-layout .public-profile-edit:focus-visible {
    border-color: var(--moda-red);
    color: var(--moda-red);
    text-decoration: none;
}

.moda-public-profile-layout .public-profile-section {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    border-top: 1px solid var(--moda-soft-line);
    padding: 0 28px;
}

.moda-public-profile-layout .public-profile-section > h2 {
    margin: 0;
    padding: 20px 20px 20px 0;
    color: #4c4c4c;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .1em;
    line-height: 1.35;
    text-transform: uppercase;
}

.moda-public-profile-layout .public-profile-fields {
    min-width: 0;
    margin: 0;
    border-left: 1px solid var(--moda-soft-line);
    padding: 10px 0 10px 22px;
}

.moda-public-profile-layout .public-profile-field {
    display: grid;
    min-width: 0;
    grid-template-columns: 145px minmax(0, 1fr);
    gap: 14px;
    padding: 8px 0;
    line-height: 1.42;
}

.moda-public-profile-layout .public-profile-field dt {
    color: var(--moda-muted);
    font-size: 11px;
    font-weight: 520;
}

.moda-public-profile-layout .public-profile-field dd {
    min-width: 0;
    margin: 0;
    color: #3f3f3f;
    font-size: 12.5px;
    font-variant-numeric: tabular-nums;
    font-weight: 520;
    overflow-wrap: anywhere;
}

.moda-public-profile-layout .public-profile-field dd a {
    color: #5676a3;
    text-decoration: underline;
    text-decoration-color: rgba(86, 118, 163, .35);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.moda-public-profile-layout .public-profile-field dd a:hover,
.moda-public-profile-layout .public-profile-field dd a:focus-visible {
    color: var(--moda-red);
    text-decoration-color: currentcolor;
}

.moda-public-profile-layout .public-profile-section--statistics .public-profile-field dd {
    color: var(--moda-ink);
    font-size: 14px;
    font-weight: 700;
}

.moda-public-profile-layout .public-profile-socials {
    display: grid;
    min-width: 0;
    gap: 8px;
    border-left: 1px solid var(--moda-soft-line);
    padding: 15px 0 15px 22px;
}

.moda-public-profile-layout .public-profile-socials:empty,
.moda-public-profile-layout .public-profile-section--socials:not(:has(.moda-social-acounts)) {
    display: none;
}

.moda-public-profile-layout .public-profile-socials .moda-social-acounts {
    display: block;
    margin: 0;
    border: 1px solid var(--moda-soft-line);
    border-radius: 8px;
    padding: 10px 12px;
    background: #fafafa;
}

.moda-public-profile-layout .public-profile-socials .moda-sign-social-acount {
    display: none;
}

.moda-public-profile-layout .public-profile-socials .moda-acount-info p {
    margin: 0;
    color: #3f3f3f;
    font-size: 11.5px;
    line-height: 1.4;
}

.moda-public-profile-layout .public-profile-socials .moda-acount-info b {
    display: inline-block;
    min-width: 92px;
    color: var(--moda-muted);
    font-size: 10px;
    font-weight: 680;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.moda-public-profile-layout .public-profile-socials .moda-acount-info a {
    color: var(--moda-ink);
    text-decoration: none;
}

.moda-public-profile-layout .public-profile-socials .moda-acount-info a:hover {
    color: var(--moda-red);
    text-decoration: underline;
}

.moda-public-profile-layout .public-profile-owner-actions {
    border-top: 1px solid var(--moda-soft-line);
    padding: 18px 28px;
}

.moda-public-profile-layout .public-profile-owner-actions h2,
.moda-public-profile-layout .public-profile-owner-actions p {
    display: inline;
    margin: 0 12px 0 0;
    color: #4c4c4c;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 760px) {
    .moda-public-profile-layout .container {
        max-width: calc(100% - 28px);
    }

    .moda-public-profile-layout .public-profile-layout {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 22px;
    }

    .moda-public-profile-layout .public-profile-avatar {
        width: 100%;
        justify-content: flex-start;
        padding: 0;
    }

    .moda-public-profile-layout .public-profile-section {
        display: block;
        padding: 0 18px;
    }

    .moda-public-profile-layout .public-profile-section > h2 {
        padding: 16px 0 5px;
    }

    .moda-public-profile-layout .public-profile-fields,
    .moda-public-profile-layout .public-profile-socials {
        border-left: 0;
        padding: 8px 0 15px;
    }
}

@media (max-width: 480px) {
    .moda-public-profile-layout .public-profile-header {
        display: block;
        padding: 20px 18px;
    }

    .moda-public-profile-layout .public-profile-header h1 {
        font-size: 29px;
    }

    .moda-public-profile-layout .public-profile-edit {
        margin-top: 12px;
    }

    .moda-public-profile-layout .public-profile-field {
        display: block;
        padding: 7px 0;
    }

    .moda-public-profile-layout .public-profile-field dt {
        margin-bottom: 2px;
    }
}

/* T11: author blog feeds reuse the public feed cards, but their route title
   lives in the browser title and not as an extra visible heading. */
.moda-author-feed-layout .moda-feed-heading,
.moda-author-feed-layout .moda-feed-load-more {
    display: none !important;
}

.moda-author-feed-layout .moda-feed-page > .moda-feed-pagination-top {
    margin-bottom: 24px;
}

.moda-author-feed-layout .moda-feed-page > .moda-feed-pagination-bottom {
    margin-top: 28px;
}

/* T12: restrained, resilient surface for the two existing static CMS page
   branches. Content is deliberately left raw; these rules only supply chrome
   and safely contain legacy text, links and media. */
.moda-static-page-layout .main_block {
    padding-top: 0;
    padding-bottom: 72px;
}

.moda-static-page-layout .static-page-content {
    min-width: 0;
    color: var(--moda-text);
}

.moda-static-page-layout .static-cms-content {
    overflow-wrap: break-word;
    font-size: 15px;
    line-height: 1.72;
}

.moda-static-page-layout .static-cms-content > :first-child {
    margin-top: 0;
}

.moda-static-page-layout .static-page-content > h1,
.moda-static-page-layout .static-page-content > .title h1 {
    margin: 0 0 24px;
    border: 0;
    padding: 0;
    color: var(--moda-ink);
    font-size: 31px;
    font-weight: 730;
    letter-spacing: -.025em;
    line-height: 1.12;
}

.moda-static-page-layout .static-page-content > .title {
    margin: 0;
    border: 0;
    padding: 0;
}

.moda-static-page-layout .static-cms-content h2,
.moda-static-page-layout .static-cms-content h3 {
    margin: 30px 0 12px;
    color: var(--moda-ink);
    line-height: 1.25;
}

.moda-static-page-layout .static-cms-content h2 { font-size: 20px; }
.moda-static-page-layout .static-cms-content h3 { font-size: 17px; }

.moda-static-page-layout .static-cms-content p {
    margin: 0 0 20px;
}

.moda-static-page-layout .static-cms-content > p:has(> strong:only-child) {
    margin: 26px 0 12px;
    border-top: 0;
    padding-top: 0;
}

.moda-static-page-layout .static-page-content > .title + .static-cms-content > p:first-child:has(> strong:only-child) {
    margin-top: 0;
    border-top: 0;
    padding-top: 0;
}

.moda-static-page-layout .static-cms-content > p > strong:only-child {
    color: var(--moda-ink);
    font-size: 17px;
    font-weight: 730;
    letter-spacing: -.01em;
}

.moda-static-page-layout .static-cms-content a {
    color: var(--moda-blue);
    text-decoration: underline;
    text-decoration-color: rgba(91, 126, 175, .34);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.moda-static-page-layout .static-cms-content a:hover {
    color: var(--moda-red);
    text-decoration-color: currentcolor;
}

.moda-static-page-layout .static-cms-content ul,
.moda-static-page-layout .static-cms-content ol {
    margin: 0 0 20px;
    padding-left: 24px;
}

.moda-static-page-layout .static-cms-content li + li { margin-top: 7px; }

.moda-static-page-layout .static-cms-content blockquote {
    margin: 26px 0;
    border-left: 2px solid var(--moda-red);
    padding: 3px 0 3px 20px;
    color: var(--moda-muted);
}

.moda-static-page-layout .static-cms-content img,
.moda-static-page-layout .static-cms-content video {
    max-width: 100%;
    height: auto;
}

.moda-static-page-layout .static-cms-content iframe {
    max-width: 100%;
    border: 0;
}

.moda-static-page-layout .static-cms-content table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 24px 0;
    overflow-x: auto;
    border-collapse: collapse;
}

.moda-static-page-layout .static-cms-content th,
.moda-static-page-layout .static-cms-content td {
    border-bottom: 1px solid var(--moda-soft-line);
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

@media (max-width: 760px) {
    .moda-static-page-layout .static-cms-content {
        font-size: 15.5px;
        line-height: 1.68;
    }

    .moda-static-page-layout .static-page-content > h1,
    .moda-static-page-layout .static-page-content > .title h1 {
        margin-bottom: 22px;
        padding-bottom: 15px;
        font-size: 28px;
    }
}

@media (max-width: 440px) {
    .moda-static-page-layout .static-page-content > h1,
    .moda-static-page-layout .static-page-content > .title h1 {
        font-size: 25px;
    }
}
