/* News list uses Contact hero as-is (grid / glow / scan / mark) */
.repa-news,
.repa-news-detail {
    --rn-accent: #b21f27;
}

/* Contact-style page label — title only, red rule */
.rn-eyebrow,
.repa-corp__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 0.85rem;
    max-width: 100%;
    font-family: var(--rn-body, "Barlow", WorkSans, sans-serif);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--rn-accent, #b21f27);
    font-weight: 600;
    line-height: 1.35;
}

.rn-eyebrow::before,
.repa-corp__eyebrow::before {
    content: "";
    flex: 0 0 auto;
    width: 1.6rem;
    height: 2px;
    background: var(--rn-accent, #b21f27);
}

.rn-article .rn-eyebrow {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0.04em;
    font-size: 0.78rem;
    max-width: 48rem;
}

.rn-article .rn-eyebrow::before {
    display: inline-block;
    margin-top: 0.45em;
    align-self: flex-start;
}

.repa-news .rn-crumb {
    margin: 0 0 0.85rem;
}

.repa-news .repa-contact__stage {
    padding: 1.75rem 0 4rem !important;
}

/* Logo circle off on modern dark pages — menu uses default theme (Contact DNA) */
.banner-page:has(.repa-news, .rn-article, .repa-corp) .logo-circle {
    display: none !important;
}

.banner-page:has(.rn-article) > header {
    background: transparent !important;
}

.banner-page:has(.rn-article) > header .container-fluid {
    background: transparent !important;
}

.banner-page:has(.rn-article) > header::after {
    content: none;
    display: none;
}
.repa-news :is(h1, h2, h3)::before,
.repa-news :is(h1, h2, h3)::after,
.rn-article :is(h1, h2, h3, h4)::before,
.rn-article :is(h1, h2, h3, h4)::after {
    content: none !important;
    display: none !important;
}

/* Shared breadcrumb — clean path under fixed nav */
.rn-crumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 0.95rem;
    padding: 0;
    border: 0;
    background: transparent;
    font-family: var(--rn-body, "Barlow", WorkSans, sans-serif);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
    line-height: 1.35;
}

.rn-crumb a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
}

.rn-crumb a:hover {
    color: #fff !important;
}

.rn-crumb strong {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: none;
    font-size: 0.82rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 52rem;
}

.rn-crumb > span[aria-hidden] {
    width: 0.35rem;
    height: 0.35rem;
    border-top: 1px solid var(--rn-accent, #b21f27);
    border-right: 1px solid var(--rn-accent, #b21f27);
    color: transparent;
    font-size: 0;
    line-height: 0;
    transform: rotate(45deg);
    opacity: 0.9;
}

.rn-article .rn-crumb {
    flex-wrap: nowrap;
    gap: 0.65rem;
    width: 100%;
    margin-bottom: 1.15rem;
    overflow: hidden;
}

.rn-article .rn-crumb a,
.rn-article .rn-crumb > span {
    flex: 0 0 auto;
}

.rn-article .rn-crumb strong {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.74rem;
    font-weight: 500;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.repa-news__stage-inner {
    width: min(980px, calc(100% - 2.5rem));
    margin: 0 auto;
}

.repa-news__grid-wrap {
    width: min(1180px, calc(100% - 2.5rem));
    margin: 0 auto;
}

.repa-news__empty {
    margin: 0;
    padding: 2rem 0;
    color: rgba(255, 255, 255, 0.55);
}

.repa-news__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
}

.repa-news__tile {
    display: flex;
    flex-direction: column;
    min-width: 0;
    text-decoration: none !important;
    color: #f3f1ec !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04) 0%, transparent 42%), #121418;
    overflow: hidden;
    opacity: 0;
    transform: translateY(22px);
    transition:
        border-color 0.3s ease,
        transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.55s ease,
        background 0.3s ease;
    transition-delay: calc(var(--rn-i, 0) * 0.05s);
}

.repa-news__tile.is-in {
    opacity: 1;
    transform: none;
}

.repa-news__tile:hover,
.repa-news__tile:focus-visible {
    border-color: rgba(178, 31, 39, 0.55);
    background: linear-gradient(160deg, rgba(178, 31, 39, 0.12) 0%, transparent 50%), #14171c;
    outline: none;
    color: #f3f1ec !important;
    transform: translateY(-3px);
}

.repa-news__tile-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    background: #08090b;
    overflow: hidden;
}

.repa-news__tile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.55s ease;
    filter: saturate(0.92) contrast(1.05);
}

.repa-news__tile-media.is-composite img {
    object-position: 82% 45%;
}

.repa-news__tile:hover .repa-news__tile-media img {
    transform: scale(1.05);
}

.repa-news__tile-media.is-empty {
    background:
        radial-gradient(ellipse 50% 50% at 50% 45%, rgba(178, 31, 39, 0.22), transparent 70%),
        #101217;
}

.repa-news__tile-idx {
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
    z-index: 1;
    min-width: 2rem;
    height: 1.65rem;
    padding: 0 0.4rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(10, 11, 13, 0.72);
    backdrop-filter: blur(6px);
    font-family: "Syne", Oswald, sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fff;
}

.repa-news__tile-body {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1.15rem 1.15rem 1.25rem;
    flex: 1;
}

.repa-news__tile-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.repa-news__tile-meta em {
    font-style: normal;
    font-weight: 700;
    color: #b21f27;
}

.repa-news__tile-meta time {
    color: rgba(255, 255, 255, 0.4);
}

.repa-news__tile-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: "Syne", Oswald, sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.22;
    color: #fff;
}

.repa-news__tile-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(243, 241, 236, 0.55);
}

.repa-news__tile-more {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.repa-news__tile-more i {
    width: 0.55rem;
    height: 0.55rem;
    border-top: 1.5px solid #b21f27;
    border-right: 1.5px solid #b21f27;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
}

.repa-news__tile:hover .repa-news__tile-more i {
    transform: rotate(45deg) translate(2px, -2px);
}

/* Keep legacy row styles for related on detail if still referenced */
.repa-news__channels {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

@media (max-width: 980px) {
    .repa-news__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .repa-news__grid {
        grid-template-columns: 1fr;
    }
}


/* ═══════════════════════════════════════════
   Article — modular blocks + compact dark top
   ═══════════════════════════════════════════ */
.rn-article {
    --rn-accent: #b21f27;
    --rc-accent: #b21f27;
    --rc-accent-soft: rgba(178, 31, 39, 0.35);
    --rn-ink: #15191c;
    --rn-muted: #5f6b75;
    --rn-line: #e4e7eb;
    --rn-paper: #f3f4f6;
    --rn-card: #ffffff;
    --rn-display: "Syne", Oswald, sans-serif;
    --rn-body: "Barlow", WorkSans, sans-serif;
    background: #0a0b0d;
    color: var(--rn-ink);
    font-family: var(--rn-body);
}

.rn-article :is(h1, h2, h3, h4)::before,
.rn-article :is(h1, h2, h3, h4)::after {
    content: none !important;
    display: none !important;
}

.rn-article__top {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: calc(clamp(290px, 34vh, 350px) + 5rem);
    margin-top: -5rem;
    padding: 10.5rem 0 2.2rem;
    background: #0a0b0d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: visible;
}

.rn-article__top > .repa-contact__hero-bg {
    top: -5rem;
}

.rn-article__top::before {
    content: "";
    position: absolute;
    inset: 4.6rem 0 0;
    pointer-events: none;
    opacity: 0.14;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 100% 4.5rem, 8rem 100%;
    mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}

.rn-article__top-inner {
    position: relative;
    z-index: 1;
    width: min(1280px, calc(100% - 5rem));
    margin: 0 auto;
}

.rn-article__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0 0 1rem;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.rn-article__meta i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.rn-article__title {
    margin: 0;
    max-width: 25ch;
    font-family: var(--rn-display);
    font-size: clamp(2.35rem, 3.2vw, 3.45rem);
    line-height: 1.01;
    letter-spacing: -0.04em;
    font-weight: 750;
    color: #fff;
    text-transform: none;
}

.rn-article__lead {
    margin: 1.25rem 0 0;
    max-width: 48rem;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(243, 241, 236, 0.64);
}

.rn-article__sheet {
    background: var(--rn-paper);
    padding: 1.35rem 0 3.5rem;
}

.rn-article__shell {
    width: min(1080px, calc(100% - 2.5rem));
    margin: 0 auto;
}

.rn-article__cover {
    position: relative;
    margin: 0 0 0.85rem;
    border: 1px solid var(--rn-line);
    background: #12151a;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    max-height: 18rem;
    width: 100%;
}

.rn-article__cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.rn-article__cover.is-composite img {
    /* Show only the photo half of repamfg composite covers */
    position: absolute;
    top: 0;
    right: 0;
    width: 165%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    transform: none;
}

.rn-article__main {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-width: 0;
}

.rn-article__layout {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.rn-article__aside {
    position: sticky;
    top: 5.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.rn-article__stack {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
}

/* Modules */
.rn-mod {
    background: var(--rn-card);
    border: 1px solid var(--rn-line);
    box-shadow: 0 1px 0 rgba(15, 20, 25, 0.03);
    padding: 1.05rem 1.15rem 1.15rem;
}

.rn-mod--toc,
.rn-mod--share {
    padding: 0.85rem 0.9rem 0.95rem;
}

.rn-mod--section {
    border-left: 3px solid rgba(178, 31, 39, 0.55);
    scroll-margin-top: 6.5rem;
}

.rn-mod--section.is-lead {
    border-left-color: #c5cad0;
    background: #fbfbfc;
}

.rn-mod__label {
    margin: 0 0 0.55rem;
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    font-weight: 750;
    text-transform: uppercase;
    color: var(--rn-accent);
}

.rn-mod__head {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin: 0 0 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--rn-line);
}

.rn-mod__num {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 1.65rem;
    margin: 0.1rem 0 0;
    padding: 0 0.4rem;
    border: 1px solid rgba(178, 31, 39, 0.4);
    background: rgba(178, 31, 39, 0.07);
    color: var(--rn-accent);
    font-family: var(--rn-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.rn-mod__head > h2 {
    margin: 0;
    flex: 1;
    font-family: var(--rn-display);
    font-size: clamp(1.12rem, 1.8vw, 1.32rem);
    line-height: 1.25;
    letter-spacing: -0.02em;
    font-weight: 700;
    color: var(--rn-ink);
    text-transform: none;
}

.rn-mod--section > h2 {
    margin: 0 0 0.75rem;
    font-family: var(--rn-display);
    font-size: clamp(1.12rem, 1.8vw, 1.32rem);
    line-height: 1.25;
    font-weight: 700;
    color: var(--rn-ink);
    text-transform: none;
}

.rn-sub {
    margin: 0.65rem 0 0;
    padding: 0.8rem 0.85rem 0.85rem;
    background: #f6f7f9;
    border: 1px solid #e8ebef;
}

.rn-sub + .rn-sub { margin-top: 0.55rem; }

.rn-sub__title,
.rn-mod--section h3,
.rn-mod--section h4 {
    margin: 0 0 0.45rem;
    font-family: var(--rn-display);
    font-size: 0.98rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--rn-ink);
    text-transform: none;
}

.rn-mod--section h4 { font-size: 0.92rem; }

.rn-mod--section p,
.rn-sub p {
    margin: 0 0 0.7rem;
    max-width: 62ch;
    font-size: 0.95rem;
    line-height: 1.62;
    color: #3a4450;
}

.rn-mod--section p:last-child,
.rn-sub p:last-child { margin-bottom: 0; }

.rn-mod--section.is-lead p {
    max-width: 58ch;
    font-size: 1rem;
    line-height: 1.6;
    color: #2a323b;
}

.rn-mod--section ul,
.rn-mod--section ol,
.rn-sub ul,
.rn-sub ol {
    margin: 0.35rem 0 0.85rem;
    padding: 0 0 0 1.15rem;
    list-style: disc !important;
    list-style-type: disc !important;
    max-width: 62ch;
}

.rn-mod--section ol,
.rn-sub ol {
    list-style: decimal !important;
    list-style-type: decimal !important;
}

.rn-mod--section li,
.rn-sub li {
    position: static;
    padding: 0.28rem 0 0.28rem 0.2rem;
    margin: 0;
    background: transparent;
    border: 0;
    list-style: inherit !important;
    font-size: 0.93rem;
    line-height: 1.5;
    color: #3a4450;
}

.rn-mod--section li + li,
.rn-sub li + li {
    margin-top: 0.15rem;
}

/* Kill theme/custom double markers — only native ::marker remains */
.rn-mod--section li::before,
.rn-sub li::before,
.rn-mod--section li::after,
.rn-sub li::after {
    content: none !important;
    display: none !important;
    background: none !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.rn-mod--section li::marker,
.rn-sub li::marker {
    color: var(--rn-accent);
    font-size: 0.78em;
}

.rn-mod--section strong,
.rn-sub strong { color: var(--rn-ink); font-weight: 700; }

.rn-mod--section blockquote {
    margin: 0.7rem 0;
    padding: 0.75rem 0.9rem;
    max-width: 62ch;
    background: #f6f2f2;
    border-left: 3px solid var(--rn-accent);
    color: #5a3033;
    font-size: 0.98rem;
    line-height: 1.5;
}

.rn-toc {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.rn-toc__link {
    position: relative;
    display: block;
    padding: 0.45rem 0 0.45rem 1.55rem;
    border-top: 1px solid var(--rn-line);
    color: #3f4a54 !important;
    text-decoration: none !important;
    font-size: 0.74rem;
    line-height: 1.3;
    font-weight: 500;
}

.rn-toc__link:first-child {
    border-top: 0;
    padding-top: 0.15rem;
}

.rn-toc__link::before {
    content: attr(data-n);
    position: absolute;
    left: 0;
    top: 0.55rem;
    color: #9aa3ab;
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.rn-toc__link:first-child::before {
    top: 0.25rem;
}

.rn-toc__link:hover {
    color: var(--rn-accent) !important;
}

.rn-share {
    display: flex;
    gap: 0.4rem;
}

.rn-share a {
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border: 1px solid var(--rn-line);
    color: #3d4950 !important;
    text-decoration: none !important;
    font-size: 0.7rem;
    font-weight: 700;
}

.rn-share a:hover {
    background: var(--rn-accent);
    border-color: var(--rn-accent);
    color: #fff !important;
}

.rn-article__actions {
    margin-top: 1.25rem;
}

.rn-article__back {
    color: var(--rn-accent) !important;
    text-decoration: none !important;
    font-size: 0.82rem;
    font-weight: 700;
}

.rn-article__more {
    margin-top: 2.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid #e0e4e8;
}

.rn-article__more-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.rn-article__more-head span {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    font-weight: 750;
    text-transform: uppercase;
    color: var(--rn-accent);
}

.rn-article__more-head h2 {
    margin: 0;
    font-family: var(--rn-display);
    font-size: 1.35rem;
    letter-spacing: -0.03em;
    font-weight: 700;
    text-transform: none;
}

.rn-article__more-head a {
    color: var(--rn-accent) !important;
    text-decoration: none !important;
    font-size: 0.8rem;
    font-weight: 700;
}

.rn-article__more-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
}

.rn-article__more-card {
    background: #fff;
    border: 1px solid var(--rn-line);
    padding: 0.65rem;
    color: var(--rn-ink) !important;
    text-decoration: none !important;
}

.rn-article__more-shot {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e8eaee;
    margin-bottom: 0.7rem;
}

.rn-article__more-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rn-article__more-shot.is-composite img { object-position: 82% 45%; }

.rn-article__more-card > span {
    display: block;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 750;
    color: var(--rn-accent);
}

.rn-article__more-card strong {
    display: block;
    margin-top: 0.35rem;
    font-family: var(--rn-display);
    font-size: 0.98rem;
    line-height: 1.25;
    font-weight: 700;
}

/* Menu: use default theme header (same as Contact) — no custom fixed chrome */

@media (max-width: 900px) {
    .rn-article__layout { grid-template-columns: 1fr; }
    .rn-article__aside { position: static; }
    .rn-article__more-grid { grid-template-columns: repeat(2, 1fr); }
    .rn-article__cover { aspect-ratio: 16 / 9; max-height: 16rem; }
}

@media (max-width: 600px) {
    .rn-article__top {
        min-height: 0;
        padding: 6.5rem 0 2.5rem;
    }
    .rn-article__top-inner { width: calc(100% - 2rem); }
    .rn-article__title { max-width: none; font-size: clamp(2rem, 10vw, 2.65rem); }
    .rn-article__lead { font-size: 0.92rem; }
    .rn-article__sheet { padding: 1rem 0 2.75rem; }
    .rn-mod--section { border-left-width: 2px; }
    .rn-sub { padding: 0.7rem 0.75rem; }
    .rn-article__more-grid { grid-template-columns: 1fr; }
    .rn-article__more-head a { display: none; }
}

/* News detail card refresh — preserve layout, improve hierarchy */
.rn-article__sheet {
    background:
        linear-gradient(rgba(18, 23, 28, 0.025) 1px, transparent 1px),
        #eef0f3;
    background-size: 100% 56px;
}

.rn-article__layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 1.2rem;
}

.rn-article__cover {
    margin-bottom: 0.35rem;
    border: 7px solid #111419;
    box-shadow: 0 16px 36px rgba(16, 21, 26, 0.12);
}

.rn-mod {
    position: relative;
    border: 1px solid #dce1e6;
    box-shadow: 0 10px 26px rgba(17, 22, 27, 0.055);
}

.rn-mod--section {
    overflow: hidden;
    padding: 1.4rem 1.5rem 1.55rem;
    border-left: 1px solid #dce1e6;
    background:
        linear-gradient(135deg, rgba(178, 31, 39, 0.035), transparent 34%),
        #fff;
}

.rn-mod--section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--rn-accent) 0 18%, #111419 18% 100%);
}

.rn-mod--section.is-lead {
    border-left-color: #dce1e6;
    background:
        linear-gradient(135deg, rgba(178, 31, 39, 0.055), transparent 42%),
        #fbfcfd;
}

.rn-mod--section.is-lead::before {
    background: linear-gradient(90deg, #111419 0 72%, var(--rn-accent) 72% 100%);
}

.rn-mod__head {
    align-items: center;
    margin: -0.15rem 0 1rem;
    padding: 0 0 0.9rem;
}

.rn-mod__num {
    min-width: 2.25rem;
    height: 1.8rem;
    border-color: #111419;
    background: #111419;
    color: #fff;
}

.rn-mod__head > h2,
.rn-mod--section > h2 {
    font-size: clamp(1.2rem, 1.9vw, 1.5rem);
}

.rn-mod--section p,
.rn-sub p {
    font-size: 0.99rem;
    line-height: 1.7;
}

.rn-mod--section.is-lead p {
    font-size: 1.04rem;
    line-height: 1.72;
}

.rn-sub {
    position: relative;
    margin-top: 0.9rem;
    padding: 1rem 1.05rem 1.05rem;
    border: 1px solid #e0e4e9;
    border-left: 3px solid rgba(178, 31, 39, 0.55);
    background: #f5f7f9;
}

.rn-sub::after {
    content: "";
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 1.5rem;
    height: 1.5rem;
    border-top: 1px solid rgba(178, 31, 39, 0.2);
    border-right: 1px solid rgba(178, 31, 39, 0.2);
}

.rn-sub__title,
.rn-mod--section h3,
.rn-mod--section h4 {
    max-width: calc(100% - 2rem);
    font-size: 1.03rem;
}

.rn-mod--toc {
    overflow: hidden;
    padding: 1rem 1rem 1.05rem;
    border-color: #20252b;
    background:
        radial-gradient(ellipse 90% 45% at 100% 0%, rgba(178, 31, 39, 0.2), transparent 68%),
        #111419;
}

.rn-mod--toc::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--rn-accent);
}

.rn-mod--toc .rn-mod__label {
    color: #ef777d;
}

.rn-mod--toc .rn-toc__link {
    border-color: rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 0.77rem;
}

.rn-mod--toc .rn-toc__link::before {
    color: rgba(255, 255, 255, 0.32);
}

.rn-mod--toc .rn-toc__link:hover {
    color: #fff !important;
}

.rn-mod--share {
    padding: 0.9rem 1rem 1rem;
    border-top: 3px solid #111419;
}

.rn-share a {
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.rn-share a:hover {
    transform: translateY(-2px);
}

.rn-article__more-card {
    border-top: 3px solid #111419;
    box-shadow: 0 10px 24px rgba(17, 22, 27, 0.055);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.rn-article__more-card:hover {
    transform: translateY(-3px);
    border-top-color: var(--rn-accent);
    box-shadow: 0 16px 32px rgba(17, 22, 27, 0.1);
}

@media (max-width: 900px) {
    .rn-article__layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .rn-article__cover {
        border-width: 4px;
    }

    .rn-mod--section {
        padding: 1.15rem;
    }
}

