:root {
    --header-bg-color: #000000;
    --main-bg-color: #000000;
    --footer-bg-color: #000000;
    --main-text-color: #FFFFFF;
    --link-text-color: #219C50;
    --button-text-color: #FFFFFF;
    --button-bg-color: #219C50;
    --button-second-bg-color: #705BFF;
}

html, body, div, span, object, iframe, figure, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, code, em, img, small, strike, strong, sub, sup, tt, b, u, i, fieldset, form, label, table, caption, tbody, tfoot, thead, tr, th, td, main, canvas, embed, footer, header, nav, section, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    text-size-adjust: none;
}

html, body {
    margin: 0;
    padding: 0;
}

html {
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    font-family: ADLaM Display, sans-serif;
    line-height: 1.6;
    color: var(--main-text-color);
}

button {
    font-family: ADLaM Display, sans-serif;
    cursor: pointer;
    border: none !important;
}

a {
    color: var(--link-text-color);
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: none;
    color: var(--link-text-color);
}

h1, h2, h3, h4 {
    color: var(--main-text-color);
}

h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  text-align: left;
    text-transform: none;
    letter-spacing: -0.005em;
}
@media screen and (max-width: 992px) {
  h1 {
    font-size: 30px;
    line-height: 42px;
  }
}

h2 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding-bottom: 10px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: color-mix(in srgb, var(--main-text-color) 25%, transparent);
}
@media screen and (max-width: 992px) {
  h2 {
    font-size: 30px;
    line-height: 44px;
  }
}

h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
    text-transform: none;
}
@media screen and (max-width: 992px) {
  h3 {
    font-size: 24px;
    line-height: 32px;
  }
}

p {
  font-size: 15px;
  letter-spacing: normal;
  font-weight: 400;
  margin-bottom: 14px;
  line-height: 24px;
}
@media screen and (max-width: 992px) {
    p {
        font-size: 14px;
        line-height: 29px;
    }
}

strong {
    font-weight: 600;
}
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    white-space: nowrap;
    display: block;
    overflow-x: auto;
    max-width: 100%;
    border-radius: 0;
    margin-bottom: 20px;
}

table p {
    margin: 0;
}

tbody {
    width: calc(100% - 2px);
    display: table;
    counter-reset: v4row;
}

th {
    background: transparent;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: left;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-bottom-color: var(--main-text-color);
}

th, td {
    border: 1px solid var(--main-text-color);
    padding: 10px 14px;
    box-sizing: border-box;
    border-top-width: 0;
    border-top-style: solid;
    border-top-color: transparent;
    border-left-width: 0;
    border-left-style: solid;
    border-left-color: transparent;
    border-right-width: 0;
    border-right-style: solid;
    border-right-color: transparent;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: color-mix(in srgb, var(--main-text-color) 18%, transparent);
    font-size: 14px;
}

th:first-child {
    border-top-left-radius: 0;
}

th:last-child {
    border-top-right-radius: 0;
}

tr:last-child td:first-child {
    border-bottom-left-radius: 0;
}

tr:last-child td:last-child {
    border-bottom-right-radius: 0;
}

tr:first-child td:first-child {
    border-top-left-radius: 10px;
}

tr:first-child td:last-child {
    border-top-right-radius: 10px;
}

table::-webkit-scrollbar {
    height: 8px;
}

table::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

table::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

footer, header, nav, section, main {
    display: block;
    position: relative;
}

main {
    flex: 1 0 auto;
    background-color: var(--main-bg-color);
}

section {
    padding: 24px 0;
}

@media screen and (max-width: 768px) {
    section {
        padding: 20px 0;
    }
}

.ReireiContainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (max-width: 1200px) {
    .ReireiContainer {
        max-width: 100%;
        padding: 0 15px;
    }
}

img {
    width: 100%;
    height: auto;
    border-radius: 0;
}


.ReireiRow {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.ReireiCol:first-child {
    width: 820px;

}
.ReireiCol:last-child {
    flex: 0 0 330px;
}
@media (max-width: 1030px) {
    .ReireiRow {
        flex-wrap: wrap;
        justify-content: center;
    }
    .ReireiCol:first-child, .ReireiCol:last-child {
        width: 100%;
        flex: auto;
    }
}

.ReireiJcEnd {
    justify-content: end !important;
}

.ReireiJcCenter {
    justify-content: center;
}

.ReireiBtn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    line-height: inherit;
    height: auto;
    padding: 11px 22px;
    border-radius: 0;
    cursor: pointer;
    transition: opacity 0.15s ease;
    border-width: 1px;
    border-style: solid;
    border-color: transparent;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-sizing: border-box;
}
.ReireiBtn:hover {
    transform: none;
    opacity: 0.8;
}
.ReireiBtn__wrapper {
    display: flex;
    justify-content: center;
    gap: 14px;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .ReireiBtn__wrapper {
        gap: 20px;
    }
}
.ReireiBtnPrimary {
    color: var(--button-text-color);
    background-color: var(--button-bg-color);
    box-shadow: none;
    border-color: var(--button-bg-color);
}

.ReireiBtnPrimary:hover {
    color: var(--button-text-color);
    background-color: var(--button-bg-color);
}

.ReireiBtnSecondary {
    color: var(--button-text-color);
    background-color: var(--button-second-bg-color);
    box-shadow: none;
    border-color: var(--button-second-bg-color);
}

.ReireiBtnSecondary:hover {
    color: var(--button-text-color);
    background-color: var(--button-second-bg-color);
}

.ReireiBtnPulse {
    animation: none;
}

.ReireiBtnUppercase {
    text-transform: uppercase;
}
.ReireiHeader {
    background-color: var(--header-bg-color);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: color-mix(in srgb, var(--main-text-color) 20%, transparent);
}

.ReireiHeader ul, .ReireiHeader ol, .ReireiHeader li,
.ReireiFooter ul, .ReireiFooter ol, .ReireiFooter li {
    margin: 0;
    padding: 0;
    border: 0;
    list-style-type: none;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    text-size-adjust: none;
}
.ReireiHeader__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.ReireiHeader__innerPrimary {
    display: flex;
    align-items: center;
    /*width: 100%;*/
    justify-content: space-between;
    flex: auto;
}

.ReireiHeader__innerSecond {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ReireiHeader__row {
    flex-direction: row;
    height: 68px;
}

.ReireiHeader__innerSecond .ReireiHeader__row {
    flex-direction: row;
    gap: 10px;
    height: auto;
}

.ReireiHeader__col {
    flex-direction: column;
}

.ReireiHeader__innerSecond.ReireiHeader__col {
    padding: 14px 0;
    gap: 12px;
    align-items: flex-start;
}

.ReireiHeader__logo {
    display: flex;
    max-height: 34px;
    height: 100%;
}

.ReireiHeader__logo a {
    text-decoration: none;
    display: flex;
}
.ReireiHeader__logo img {
    object-fit: contain;
    border-radius: initial;
}

.ReireiHeader__nav {
    display: flex;
}
.ReireiHeader__nav ul {
    display: flex;
    gap: 0;
    height: 100%;
    align-items: center;
    list-style-type: none;
    padding: 0;
}

.ReireiHeader__nav ul li {
    display: flex;
    align-items: center;
    height: 100%;
    border-left-width: 1px;
    border-left-style: solid;
    border-left-color: color-mix(in srgb, var(--main-text-color) 15%, transparent);
}

.ReireiHeader__nav ul li a {
    color: var(--link-text-color);
    text-decoration: none;
    padding: 10px 18px;
    display: block;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.ReireiHeader__nav ul li a:hover {
    color: var(--link-text-color);
    background-color: color-mix(in srgb, var(--link-text-color) 12%, transparent);
}

.ReireiSection img  {
    max-width: 1136px;
    display: block;
    margin: auto;
}

.ReireiSection img.ReireiPageFsImg {
    margin-top: 20px;
    margin-bottom: 20px;
}

.ReireiSectionMain .ReireiContainer > :not(:last-child) {
    margin-bottom: 20px;
}

.ReireiBtn__wrapperMain {
    max-width: 300px;
    width: 100%;
    margin: 0;
    justify-content: flex-start;
}

.ReireiBtn__wrapperMain .ReireiBtnPrimary {
    padding: 13px 28px;
    border-radius: 30px;
}

.ReireiBurgerMenu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
}

.ReireiBurgerMenu span {
    display: block;
    width: 100%;
    height: 4px;
    background-color: var(--main-text-color);
    border-radius: 0;
    transition: all 0.3s ease-in-out;
}

.ReireiBurgerMenu.ReireiActive span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.ReireiBurgerMenu.ReireiActive span:nth-child(2) {
    opacity: 0;
}

.ReireiBurgerMenu.ReireiActive span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.ReireiSectionContent h1:first-of-type,
.ReireiSectionContent h2:first-of-type,
.ReireiSectionContent h3:first-of-type,
.ReireiSectionContent h4:first-of-type {
    margin-top: 0;
    margin-bottom: 30px;
}

.ReireiSectionContent h1:not(:first-of-type),
.ReireiSectionContent h2:not(:first-of-type),
.ReireiSectionContent h3:not(:first-of-type),
.ReireiSectionContent h4:not(:first-of-type) {
    margin: 30px 0;
}

.ReireiSectionContent .ReireiUpdatePost {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    border-top-width: 0;
    margin-bottom: 20px;
}

.ReireiSectionContent .ReireiUpdatePost p{
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--main-text-color) 60%, transparent);
}

footer {
    flex-shrink: 0;
    background-color: var(--footer-bg-color);;
    color: var(--main-text-color);
}

.ReireiFooter__wrapper {
    display: flex;
    flex-direction: column;
    justify-self: center;
    padding: 0;
    gap: 0;
    align-items: stretch;
    text-align: left;
}

.ReireiFooter__nav, .ReireiFooter__icons, .ReireiFooter__inner {
    display: flex;
    justify-content: center;
}

.ReireiFooter__iconsLink img {
    border-radius: initial;
}

.ReireiFooter__iconsSvg [fill="white"] {
    fill: var(--main-text-color);
}

.ReireiFooter__iconsSvg [stroke="white"] {
    stroke: var(--main-text-color);
}

.ReireiFooter__navList {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    justify-content: flex-start;
    gap: 0;
    align-items: center;
}

.ReireiFooter__navLink {
    color: var(--link-text-color);
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0 16px;
}
.ReireiFooter__navLink:hover {
    color: var(--main-text-color);
}

.ReireiFooter__icons {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
    order: 2;
    padding: 18px 0;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: color-mix(in srgb, var(--main-text-color) 15%, transparent);
    align-items: center;
}

.ReireiFooter__inner p {
    text-align: left;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4em;
    letter-spacing: 0.02em;
    color: color-mix(in srgb, var(--main-text-color) 60%, transparent);
}

.ReireiBreadcrumbs {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0 0 18px;
    font-size: 12px;
    gap: 0;
    padding-left: 0;
    letter-spacing: 0.02em;
    color: color-mix(in srgb, var(--main-text-color) 60%, transparent);
}

.ReireiBreadcrumbs li {
    display: flex;
    align-items: center;
    list-style: none;
}

.ReireiBreadcrumbs li a {
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.ReireiBreadcrumbs li::after {
    content: "/";
    margin: 0 8px;
    color: color-mix(in srgb, var(--main-text-color) 35%, transparent);
}

.ReireiBreadcrumbs li:last-child::after {
    content: "";
    margin: 0;
}

.ReireiContent__row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
}

.ReireiContent__col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1 1;
}

.ReireiContent__col.ReireiContent__colImg {
    max-width: 100%;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 var(--button-bg-color);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 15px 8px var(--button-bg-color);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 var(--button-bg-color);
    }
}


.ReireiErrorPage {
    align-content: center;
}
.ReireiErrorPage__wrapper {
    text-align: left;
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 40px 0;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: color-mix(in srgb, var(--main-text-color) 18%, transparent);
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: color-mix(in srgb, var(--main-text-color) 18%, transparent);
}

.ReireiErrorPage .ReireiErrorPage__wrapper h1, .ReireiErrorPage .ReireiErrorPage__wrapper p {
    margin-bottom: 0;
    font-size: 15px;
}

@media screen and (max-width: 992px) {
    .ReireiContent__wrapper {
        flex-direction: column;
    }

    .ReireiContent__col.ReireiContent__colImg {
        max-width: 100%;
    }
}
@media screen and (max-width: 768px) {
    .ReireiBurgerMenu {
        display: flex;
        order: 1;
    }
    .ReireiHeader__inner {
        justify-content: space-between;
        gap: 20px;
    }
    .ReireiHeader__logo {
        max-height: 50px;
    }
    .ReireiHeader__logo img {
        max-width: 100px;
    }

   #ReireiNavMenu {
       position: absolute;
       top: 68px;
       left: 0;
       width: 100%;
       height: 100vh;
       background-color: var(--header-bg-color);
       flex-direction: column;
       align-items: center;
       justify-content: flex-start !important;
       display: none;
   }

    .ReireiHeader__nav ul {
        flex-direction: column;
        text-align: center;
        width: 100%;
        height: auto;
        padding: 20px 0;
    }

    .ReireiHeader__nav ul li {
        padding: 10px 0;
    }

    .ReireiHeader .ReireiBtn {
        padding: 9px 18px;
        font-size: 11px;
}

    #ReireiNavMenu.ReireiActive {
        display: flex;
    }

    .ReireiHeader__row {
       height: 68px;
    }

    .ReireiHeader__innerSecond.ReireiHeader__col {
        flex-direction: row;
    }

    .ReireiFooter__navList {
        gap: 20px;
    }

    .ReireiBreadcrumbs {
        font-size: 0.75em;
    }
}

/* Random Images Block */
.ReireiShowcase__wrapper {
    display: grid;
    flex-wrap: wrap;
    gap: 24px 20px;
    margin: 20px 0;
    justify-content: normal;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ReireiShowcase__block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100% !important;
    align-items: stretch;
    background-color: transparent;
    border-radius: 0;
    border-bottom-width: 0;
    padding: 0;
    transition: opacity 0.15s ease;
}

.ReireiShowcase__image {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100% !important;
    /* 3:2 - the ratio of the art itself; see wg-2a1 */
    aspect-ratio: 3 / 2;
    height: auto !important;
    border-width: 1px;
    border-style: solid;
    border-color: color-mix(in srgb, var(--main-text-color) 18%, transparent);
}

.ReireiShowcase__image img {
    max-width: 100%;
    display: initial;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}


.ReireiShowcase__imageOverlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: color-mix(in srgb, var(--header-bg-color) 70%, transparent);
    border-radius: 0;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ReireiShowcase__image:hover .ReireiShowcase__imageOverlay {
    opacity: 1 !important;
    visibility: visible !important;
}

.ReireiShowcase__image .ReireiBtn__wrapper {
    z-index: 2;
}

.ReireiShowcase__desc {
    display: flex;
    flex-direction: column;
    order: 2;
    flex: 1 1 auto;
    gap: 2px;
}
.ReireiShowcase__desc p, .ReireiShowcase__desc span {
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: color-mix(in srgb, var(--main-text-color) 55%, transparent);
}
.ReireiShowcase__desc span {
    font-size: 11px;
}

@media screen and (max-width: 1210px) {
    .ReireiShowcase__block {
        width: calc(25% - 20px);
    }
    .ReireiShowcase__image {
        width: auto;
    }
}

@media screen and (max-width: 992px) {

    .ReireiShowcase__image {
    }

    .ReireiShowcase__desc span {
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    .ReireiShowcase__wrapper {
        justify-content: center;
    }
    .ReireiShowcase__block {
        width: calc(50% - 20px);
    }
    .ReireiShowcase__image {
        width: auto;
    }
}

/* TOC Styles */
.ReireiToc {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.22s ease, margin 0.22s ease;
    padding: 0;
    margin: 0;
    flex-wrap: nowrap;
    max-width: 100%;
    list-style: none;
    counter-reset: v4toc;
    opacity: 0;
}

.ReireiToc li::marker {
    color: var(--link-text-color);
}

.ReireiTocWrapper {
    margin: 22px 0;
    border-radius: 0;
    border: 1px solid var(--main-text-color);
    border-width: 0;
    border-top-width: 1px;
    border-bottom-width: 1px;
    border-style: solid;
    border-color: color-mix(in srgb, var(--main-text-color) 25%, transparent);
    padding: 0;
}

.ReireiTocTitle {
    display: flex;
    align-items: center;
    padding: 28px 0;
    gap: 14px;
    justify-content: flex-start;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.ReireiToc.ReireiIsOpen {
    margin: inherit;
    margin-top: 0;
    opacity: 1;
    margin-bottom: 20px;
    max-height: 600px;
}

.ReireiTocArrow {
    width: 9px;
    height: 9px;
    margin-bottom: 0;
    border: solid var(--main-text-color);
    border-width: 0;
    transform: none;
    transition: transform 0.3s ease;
    border-color: transparent;
    position: relative;
    margin-left: auto;
    margin-top: 1px;
}

.ReireiTocArrow.ReireiRotated {
    transform: none;
    margin-bottom: 0;
}
/* Variation 4 */
.ReireiSectionMain { padding: 26px 0 30px; border-top-width: 1px; border-top-style: solid; border-top-color: color-mix(in srgb, var(--main-text-color) 15%, transparent); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: color-mix(in srgb, var(--main-text-color) 15%, transparent); }
.ReireiSectionMain .ReireiContainer > img { margin: 0; border: 1px solid color-mix(in srgb, var(--main-text-color) 20%, transparent); }
.ReireiContent__col.ReireiContent__colText { border-left-width: 1px; border-left-style: solid; border-left-color: color-mix(in srgb, var(--main-text-color) 18%, transparent); padding-left: 24px; }
.ReireiSectionMain .ReireiContainer:not(:has(.ReireiContent__wrapper)):has(> .ReireiBtn__wrapperMain) > h1 { text-align: left; }
.ReireiSectionMain .ReireiContainer:not(:has(.ReireiContent__wrapper)):has(> .ReireiBtn__wrapperMain) > .ReireiBtn__wrapperMain { margin-left: auto; margin-right: 0; width: fit-content; }
.ReireiSectionMain .ReireiContainer:not(:has(.ReireiContent__wrapper)):has(> .ReireiBtn__wrapperMain) > .ReireiBtn__wrapperMain .ReireiBtnPrimary { padding: 18px 40px; font-size: 14px; }
.ReireiBtn:focus-visible { outline: 2px solid var(--link-text-color); outline-offset: 2px; }
.ReireiSectionMain .ReireiBtn__wrapperMain { max-width: none; width: auto; }
.ReireiHeader__nav ul li:first-child { border-left-width: 0; }
.ReireiHeader__nav ul li a:focus-visible { outline: 2px solid var(--link-text-color); outline-offset: 2px; }
.ReireiHeader__innerSecond.ReireiHeader__col .ReireiHeader__logo { padding: 8px 16px; }
.ReireiHeader__innerSecond.ReireiHeader__col .ReireiBurgerMenu { margin-left: auto; flex: 0 0 auto; }
.ReireiHeader__col .ReireiRow { width: 100%; margin: 0; padding: 12px 0 0; gap: 16px; border-top-width: 1px; border-top-style: solid; border-top-color: color-mix(in srgb, var(--main-text-color) 15%, transparent); justify-content: flex-end; }
.ReireiHeader__col .ReireiRow:has(.ReireiHeader__nav ul li) { justify-content: space-between; }
.ReireiSectionContent { padding: 26px 0 32px; }
.ReireiSectionContent h1 + p { font-size: 16px; line-height: 26px; margin-bottom: 22px; }
.ReireiSectionContent ul:not(.ReireiBreadcrumbs) { list-style: none; padding-left: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 0; }
.ReireiSectionContent ul:not(.ReireiBreadcrumbs) li { position: relative; display: flex; align-items: center; padding: 10px 0 10px 22px; margin-bottom: 0; border-bottom-width: 1px; border-bottom-style: dashed; border-bottom-color: color-mix(in srgb, var(--main-text-color) 20%, transparent); }
.ReireiSectionContent ul:not(.ReireiBreadcrumbs) li:last-child { border-bottom-width: 0; }
.ReireiSectionContent ul:not(.ReireiBreadcrumbs) li::before { content: ""; position: absolute; left: 0; top: 50%; translate: 0 -50%; width: 6px; height: 6px; border-radius: 50%; background-color: var(--link-text-color); }
.ReireiSectionContent ol:not(.ReireiToc) { list-style: none; counter-reset: v4steps; padding-left: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.ReireiSectionContent ol:not(.ReireiToc) li { counter-increment: v4steps; position: relative; padding: 4px 0 4px 40px; margin-bottom: 0; min-height: 26px; display: flex; align-items: center; }
.ReireiSectionContent ol:not(.ReireiToc) li::before { content: counter(v4steps, decimal-leading-zero); position: absolute; left: 0; top: 50%; translate: 0 -50%; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--main-bg-color); background-color: var(--main-text-color); border-radius: 50%; }
.ReireiSectionContent .ReireiUpdatePost p::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background-color: var(--link-text-color); }
.ReireiSectionContent .ReireiUpdatePost p time { font-weight: 700; color: var(--main-text-color); }
.ReireiBreadcrumbs li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ReireiShowcase > h2 { border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: color-mix(in srgb, var(--main-text-color) 25%, transparent); }
.ReireiShowcase__block:hover { background-color: transparent; opacity: 0.85; }
.ReireiShowcase__desc p { font-size: 14px; font-weight: 700; letter-spacing: -0.005em; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ReireiTocTitle::before { content: "Index"; display: none; }
.ReireiTocArrow::before, .ReireiTocArrow::after { content: ""; position: absolute; background-color: var(--main-text-color); transition: transform 0.25s ease; }
.ReireiTocArrow::before { width: 9px; height: 1px; top: 4px; left: 0; }
.ReireiTocArrow::after { width: 1px; height: 9px; top: 0; left: 4px; }
.ReireiTocArrow.ReireiRotated::after { transform: rotate(90deg); }
.ReireiToc li { counter-increment: v4toc; margin-bottom: 0; padding: 0 20px 16px 0; flex: 0 1 auto; }
.ReireiToc li::before { content: counter(v4toc, decimal-leading-zero); font-size: 11px; font-weight: 700; color: color-mix(in srgb, var(--main-text-color) 45%, transparent); margin-right: 8px; font-variant-numeric: tabular-nums; }
.ReireiToc li a { text-decoration: none; font-size: 14px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: transparent; padding-bottom: 2px; transition: border-color 0.15s ease, color 0.15s ease; }
.ReireiToc li a:hover { color: var(--link-text-color); border-bottom-color: var(--link-text-color); }
table, th, td { font-variant-numeric: tabular-nums; }
tr:last-child td { border-bottom-width: 0; }
tbody tr:first-child::before { content: ""; display: table-cell; }
tbody tr:not(:first-child) { counter-increment: v4row; }
tbody tr:not(:first-child)::before { content: counter(v4row, decimal-leading-zero); display: table-cell; padding: 10px 14px 10px 0; font-size: 11px; font-variant-numeric: tabular-nums; color: color-mix(in srgb, var(--main-text-color) 45%, transparent); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: color-mix(in srgb, var(--main-text-color) 18%, transparent); }
tr:last-child::before { border-bottom-width: 0 !important; }
.ReireiIframeBlock { padding: 0; border-width: 1px; border-style: solid; border-color: color-mix(in srgb, var(--main-text-color) 20%, transparent); border-radius: 0; box-sizing: border-box; }
.ReireiIframeOverlay { border-radius: 0; gap: 14px; }
.ReireiModalBlock { border-radius: 0; }
iframe { border-radius: 0; }
.ReireiOverlayBtn { min-width: 160px; }
.ReireiErrorPage__wrapper h1 { text-align: left; font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; padding-right: 20px; border-right-width: 1px; border-right-style: solid; border-right-color: color-mix(in srgb, var(--main-text-color) 20%, transparent); }
.ReireiErrorPage__wrapper .ReireiBtn__wrapper { margin-left: auto; }
.ReireiFooter { border-top-width: 1px; border-top-style: solid; border-top-color: color-mix(in srgb, var(--main-text-color) 20%, transparent); }
.ReireiFooter__wrapper .ReireiFooter__inner { order: 1; padding: 16px 0 12px; border-top-width: 0; justify-content: flex-start; }
.ReireiFooter__nav { justify-content: flex-start; order: 3; padding: 22px 0; }
.ReireiFooter__navList li { display: flex; align-items: center; border-left-width: 1px; border-left-style: solid; border-left-color: color-mix(in srgb, var(--main-text-color) 15%, transparent); }
.ReireiFooter__navList li:first-child { border-left-width: 0; padding-left: 0; }
.ReireiFooter__navList li:first-child .ReireiFooter__navLink { padding-left: 0; }
.ReireiFooter__iconsSvg, .ReireiFooter__iconsLink img { filter: grayscale(1) contrast(0.9); opacity: 0.75; transition: opacity 0.15s ease; }
.ReireiFooter__iconsLink:hover .ReireiFooter__iconsSvg, .ReireiFooter__iconsLink:hover img { opacity: 1; }
.ReireiFooter__wrapper .ReireiFooter__inner { width: 100%; }
/* Variation 4 — responsive */
@media screen and (max-width: 992px) {
h1 { font-size: 32px; line-height: 1.2; }
h2 { font-size: 15px; line-height: 1.3; }
h3 { font-size: 16px; line-height: 1.4; }
p { font-size: 15px; line-height: 24px; }
.ReireiContent__col.ReireiContent__colImg { max-width: 100%; }
}
@media screen and (max-width: 768px) {
section { padding: 24px 0; }
.ReireiContainer { padding: 0 16px; }
.ReireiBtn__wrapper { gap: 14px; }
.ReireiHeader__row { height: 68px; }
.ReireiHeader__logo { max-height: 34px; }
.ReireiHeader .ReireiBtn { padding: 9px 18px; }
.ReireiBreadcrumbs { font-size: 12px; }
.ReireiFooter__navList { gap: 0; }
.ReireiHeader__innerSecond.ReireiHeader__col { align-items: center; }
.ReireiHeader__col .ReireiRow { padding-top: 0; border-top-width: 0; }
.ReireiHeader__col #ReireiNavMenu { top: 100%; height: calc(100vh - 100%); }
}
@media screen and (max-width: 767px) {
.ReireiContent__col.ReireiContent__colText { border-left-width: 0; padding-left: 0; }
.ReireiHeader__nav ul { flex-direction: column; width: 100%; }
.ReireiHeader__nav ul li { border-left-width: 0; border-top-width: 1px; border-top-style: solid; border-top-color: color-mix(in srgb, var(--main-text-color) 15%, transparent); width: 100%; }
.ReireiHeader__nav ul li:first-child { border-top-width: 0; }
.ReireiHeader__nav ul li a { display: block; padding: 14px 0; text-align: center; }
}
@media screen and (max-width: 991px) {
.ReireiContent__col.ReireiContent__colText { border-left-width: 0; padding-left: 0; }
}
@media screen and (min-width: 768px) {
h1 { font-size: 42px; }
.ReireiContainer { padding: 0 32px; }
section { padding: 30px 0; }
.ReireiSectionMain { padding: 40px 0 44px; }
.ReireiSectionContent { padding: 36px 0 44px; }
.ReireiContent__row { gap: 40px; }
.ReireiFooter__wrapper { padding: 0; gap: 0; }
.ReireiFooter__nav { padding: 26px 0; }
.ReireiFooter__icons { padding: 20px 0; justify-content: flex-start; }
.ReireiFooter__inner { padding: 18px 0 14px; }
.ReireiErrorPage__wrapper { padding: 60px 0; }
.ReireiErrorPage__wrapper h1 { font-size: 64px; }
}
@media screen and (min-width: 1100px) {
h1 { font-size: 52px; }
}
@media screen and (max-width: 767px) {
.ReireiShowcase__wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
}
@media screen and (min-width: 768px) and (max-width: 1099px) {
.ReireiShowcase__wrapper { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
.ReireiBtn, .ReireiShowcase__block, .ReireiHeader__nav ul li a, .ReireiFooter__navLink { transition: none; }
}