/* =========================================================
   WHITEWOOD
   Основной CSS для Whitewood / Vampirism
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --whitewood-red: #9e4148;
    --whitewood-red-soft: #78343a;

    --whitewood-gray: #8d9198;
    --whitewood-gray-soft: #696e76;

    --whitewood-bluegray: #66788a;
    --whitewood-bluegray-soft: #4d5c6b;

    --whitewood-night: #111318;
    --whitewood-night-soft: #181b21;

    --whitewood-text: #e3e1df;
    --whitewood-text-soft: #aaa9a8;
}


/* =========================================================
   WHITEWOOD PAGE
   ========================================================= */

.whitewood-page {
    position: relative;
}


/* =========================================================
   INTRO
   ========================================================= */

.whitewood-page .character-intro {
    position: relative;
}

.whitewood-symbol {
    color: var(--whitewood-red);

    text-shadow:
        0 0 20px rgba(158, 65, 72, 0.28);
}


/* =========================================================
   PROFILE
   ========================================================= */

.whitewood-profile-card {
    border-color:
        rgba(158, 65, 72, 0.16);

    background:
        linear-gradient(
            145deg,
            rgba(24, 27, 33, 0.88),
            rgba(17, 19, 24, 0.94)
        );
}

.whitewood-profile-card .character-status-dot {
    background:
        var(--whitewood-red);

    box-shadow:
        0 0 10px rgba(158, 65, 72, 0.55);
}

.whitewood-profile-card
.character-profile-heading {
    color:
        var(--whitewood-text);
}


/* =========================================================
   STORY CARD
   ========================================================= */

.whitewood-story-card {
    position: relative;
}

.whitewood-story-card >
.character-card-label {
    margin-bottom: 20px;
}


/* =========================================================
   MAIN LORE
   ========================================================= */

.whitewood-main-lore {
    max-width: 850px;

    margin: 0 auto;
    padding: 20px 0 42px;
}

.whitewood-main-lore p {
    margin: 0 0 16px;

    color:
        var(--whitewood-text-soft);

    line-height: 1.8;
}

.whitewood-main-lore p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   STORY SECTIONS
   ========================================================= */

.whitewood-story-card
.story-section.whitewood-story-section {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    align-items: center;

    gap:
        clamp(32px, 5vw, 64px);

    padding: 48px 0;

    border-top:
        1px solid rgba(255, 255, 255, 0.045);

    box-sizing: border-box;
}

.whitewood-story-card
.story-section-reverse.whitewood-story-section {

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);
}


/* =========================================================
   STORY CONTENT
   ========================================================= */

.whitewood-story-section
.story-section-content {

    width: 100%;
    min-width: 0;
}

.whitewood-story-section
.story-section-content h3 {

    margin: 0 0 18px;

    color:
        var(--whitewood-text);

    font-size:
        clamp(1.25rem, 2vw, 1.55rem);

    line-height: 1.35;

    font-weight: 500;
}

.whitewood-story-section
.story-section-content p {

    margin: 0 0 16px;

    color:
        var(--whitewood-text-soft);

    line-height: 1.75;
}

.whitewood-story-section
.story-section-content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   SECTION LABEL
   ========================================================= */

.whitewood-story-section
.story-section-label,
.whitewood-main-lore
.story-section-label,
.whitewood-vampire-section
.story-section-label {

    display: block;

    margin-bottom: 14px;

    color:
        var(--whitewood-red);

    font-size: 0.72rem;
    font-weight: 600;

    letter-spacing: 0.16em;

    text-transform: uppercase;

    opacity: 0.82;
}


/* =========================================================
   STORY IMAGES
   ========================================================= */

.whitewood-story-section
.story-section-image {

    width: 100%;
    max-width: 430px;

    max-height: 440px;

    margin: 0 auto;

    overflow: hidden;

    border:
        1px solid rgba(102, 120, 138, 0.18);

    border-radius:
        var(--radius-large);

    background:
        rgba(17, 19, 24, 0.75);

    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.28);

    box-sizing: border-box;
}

.whitewood-story-section
.story-section-image img {

    display: block;

    width: 100%;
    height: auto;

    max-width: 100%;
    max-height: 440px;

    object-fit: contain;
}


/* =========================================================
   STORY TRACE GRID
   ========================================================= */

.whitewood-story-section
.story-traces-grid {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr);

    gap: 18px;

    width: 100%;

    margin-top: 26px;

    box-sizing: border-box;
}

.whitewood-story-section
.story-trace {

    width: 100%;
    min-width: 0;

    padding: 22px;

    border:
        1px solid rgba(102, 120, 138, 0.15);

    border-radius:
        var(--radius-medium);

    background:
        rgba(255, 255, 255, 0.025);

    box-sizing: border-box;
}

.whitewood-story-section
.story-trace h4 {

    margin: 0 0 10px;

    color:
        var(--whitewood-text);

    font-size: 1rem;
    font-weight: 500;

    line-height: 1.35;
}

.whitewood-story-section
.story-trace p {

    margin: 0 0 10px;

    color:
        var(--whitewood-text-soft);

    font-size: 0.84rem;

    line-height: 1.65;
}

.whitewood-story-section
.story-trace p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   SPECIAL TRACE
   ========================================================= */

.whitewood-story-section
.story-trace-arknights {

    border-color:
        rgba(158, 65, 72, 0.16);

    background:
        linear-gradient(
            145deg,
            rgba(158, 65, 72, 0.045),
            rgba(255, 255, 255, 0.018)
        );
}


/* =========================================================
   WHITEWOOD 1-5
   МАГИЧЕСКИЕ ОСОБЕННОСТИ
   Полностью отдельная структура.
   Не использует character-history-*.
   ========================================================= */

.whitewood-magic-list {

    display: flex;

    flex-direction: column;

    width: 100%;
    max-width: 100%;

    margin-top: 22px;

    box-sizing: border-box;
}


.whitewood-magic-row {

    display: grid;

    grid-template-columns:
        minmax(170px, 220px)
        minmax(0, 1fr);

    align-items: start;

    width: 100%;
    min-width: 0;

    gap: 24px;

    padding: 18px 0;

    box-sizing: border-box;

    border-top:
        1px solid rgba(255, 255, 255, 0.045);

    background: transparent;
}


.whitewood-magic-row:last-child {

    border-bottom:
        1px solid rgba(255, 255, 255, 0.045);
}


.whitewood-magic-name {

    min-width: 0;

    color:
        #c9c5c4;

    font-size: 0.84rem;
    font-weight: 600;

    line-height: 1.45;

    overflow-wrap: break-word;
    word-break: normal;
}


.whitewood-magic-description {

    min-width: 0;

    color:
        #a8a5a5;

    font-size: 0.80rem;
    font-weight: 400;

    line-height: 1.65;

    overflow-wrap: break-word;
    word-break: normal;
}


.whitewood-magic-row:hover
.whitewood-magic-name {

    color:
        #d3a0a3;
}


.whitewood-magic-row:hover
.whitewood-magic-description {

    color:
        #b4b1b0;
}


/* =========================================================
   VAMPIRISM
   ========================================================= */

.vampirism-page {

    --vampire-red: #a83f49;
    --vampire-red-soft: #7d3038;
    --vampire-red-dark: #54232a;

    --vampire-glow:
        rgba(168, 63, 73, 0.14);

    --vampire-glow-soft:
        rgba(168, 63, 73, 0.055);
}


/* =========================================================
   VAMPIRISM INTRO
   ========================================================= */

.vampirism-page .character-intro {
    position: relative;
}

.vampirism-page
.character-intro::before {

    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    top: -100px;
    right: 40px;

    background:
        radial-gradient(
            circle,
            var(--vampire-glow),
            transparent 70%
        );

    pointer-events: none;

    filter: blur(20px);
}

.vampirism-page
.character-kicker {

    color:
        var(--vampire-red);
}

.vampirism-page
.character-lead {

    max-width: 720px;
}

.vampirism-page
.character-symbol {

    color:
        var(--vampire-red);

    text-shadow:
        0 0 18px rgba(168, 63, 73, 0.25),
        0 0 45px rgba(168, 63, 73, 0.10);
}


/* =========================================================
   VAMPIRISM STORY
   ========================================================= */

.vampirism-page
.character-story-card {

    display: flex;

    flex-direction: column;

    gap: 0;

    width: 100%;
}

.vampirism-page
.whitewood-story-section {

    position: relative;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    align-items: center;

    gap:
        clamp(35px, 5vw, 70px);

    width: 100%;

    padding: 52px 0;

    box-sizing: border-box;

    border-top:
        1px solid rgba(255, 255, 255, 0.045);
}


/* =========================================================
   VAMPIRISM CONTENT
   ========================================================= */

.vampirism-page
.story-section-content {

    width: 100%;
    min-width: 0;
}

.vampirism-page
.story-section-number {

    display: block;

    margin-bottom: 8px;

    color:
        var(--vampire-red);

    font-size: 0.72rem;
    font-weight: 500;
}

.vampirism-page
.story-section h2 {

    position: relative;

    margin: 0 0 22px;

    color:
        var(--whitewood-text);

    font-size: 1.35rem;

    line-height: 1.3;
}

.vampirism-page
.story-section h2::after {

    content: "";

    display: block;

    width: 34px;
    height: 2px;

    margin-top: 12px;

    background:
        linear-gradient(
            90deg,
            var(--vampire-red),
            transparent
        );

    opacity: 0.7;
}

.vampirism-page
.story-section p {

    margin: 0 0 16px;

    color:
        var(--whitewood-text-soft);

    font-size: 0.86rem;

    line-height: 1.75;
}

.vampirism-page
.story-section p:last-child {
    margin-bottom: 0;
}

.vampirism-page
.story-section strong {

    color:
        #c37a7f;

    font-weight: 600;
}


/* =========================================================
   VAMPIRISM IMAGES
   ========================================================= */

.vampirism-page
.story-section-image {

    width: 100%;
    max-width: 430px;

    margin: 0 auto;

    overflow: hidden;

    border:
        1px solid rgba(168, 63, 73, 0.14);

    border-radius:
        var(--radius-large);

    background:
        rgba(17, 19, 24, 0.72);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.28);

    box-sizing: border-box;
}

.vampirism-page
.story-section-image img {

    display: block;

    width: 100%;
    height: auto;

    max-width: 100%;
    max-height: 440px;

    object-fit: contain;
}


/* =========================================================
   VAMPIRISM — NO IMAGE
   ========================================================= */

.vampirism-page
.whitewood-story-section:not(:has(.story-section-image)) {

    grid-template-columns:
        minmax(0, 1fr);
}

.vampirism-page
.whitewood-story-section:not(:has(.story-section-image))
.story-section-content {

    max-width: 850px;
}


/* =========================================================
   VAMPIRISM — ABILITIES
   ========================================================= */

.vampirism-page
.whitewood-story-section:has(.story-traces-grid) {

    display: block;

    padding-top: 56px;
    padding-bottom: 58px;
}

.vampirism-page
.whitewood-story-section:has(.story-traces-grid)
.story-section-content {

    max-width: 760px;

    margin-bottom: 30px;
}

.vampirism-page
.story-traces-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;

    width: 100%;

    margin: 0;

    box-sizing: border-box;
}

.vampirism-page
.story-trace {

    position: relative;

    min-width: 0;
    min-height: 150px;

    padding:
        22px 22px 22px 25px;

    border:
        1px solid rgba(168, 63, 73, 0.13);

    border-radius:
        var(--radius-medium);

    background:
        linear-gradient(
            145deg,
            rgba(168, 63, 73, 0.045),
            rgba(255, 255, 255, 0.018)
        );

    box-sizing: border-box;

    overflow: hidden;

    transition:
        transform var(--transition-soft),
        border-color var(--transition-soft),
        background var(--transition-soft),
        box-shadow var(--transition-soft);
}

.vampirism-page
.story-trace::before {

    content: "";

    position: absolute;

    left: 0;
    top: 18px;
    bottom: 18px;

    width: 2px;

    background:
        linear-gradient(
            180deg,
            transparent,
            var(--vampire-red),
            transparent
        );

    opacity: 0.55;
}

.vampirism-page
.story-trace strong {

    display: block;

    margin-bottom: 10px;

    color:
        #c9c5c4;

    font-size: 0.84rem;
    font-weight: 600;

    line-height: 1.45;
}

.vampirism-page
.story-trace span {

    display: block;

    color:
        #a8a5a5;

    font-size: 0.78rem;

    line-height: 1.65;

    overflow-wrap: break-word;
    word-break: normal;
}

.vampirism-page
.story-trace:hover {

    transform:
        translateY(-3px);

    border-color:
        rgba(168, 63, 73, 0.28);

    background:
        linear-gradient(
            145deg,
            rgba(168, 63, 73, 0.075),
            rgba(255, 255, 255, 0.022)
        );

    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.22);
}


/* =========================================================
   VAMPIRISM SPECIAL SECTION
   ========================================================= */

.vampirism-page
.whitewood-vampire-section {

    position: relative;

    margin: 12px 0 18px;

    padding:
        52px clamp(30px, 6vw, 75px);

    border:
        1px solid rgba(168, 63, 73, 0.17);

    border-radius:
        var(--radius-large);

    background:
        radial-gradient(
            circle at 15% 50%,
            rgba(168, 63, 73, 0.085),
            transparent 45%
        ),
        linear-gradient(
            135deg,
            rgba(168, 63, 73, 0.035),
            rgba(255, 255, 255, 0.012)
        );

    box-sizing: border-box;

    overflow: hidden;
}

.vampirism-page
.whitewood-vampire-section::before {

    content: "";

    position: absolute;

    left: 0;
    top: 28px;
    bottom: 28px;

    width: 2px;

    background:
        linear-gradient(
            180deg,
            transparent,
            var(--vampire-red),
            transparent
        );

    opacity: 0.75;
}

.vampirism-page
.story-special-content {

    position: relative;

    z-index: 1;

    max-width: 850px;
}

.vampirism-page
.story-special-content h2 {

    margin: 0 0 20px;

    color:
        var(--whitewood-text);

    font-size: 1.35rem;
}

.vampirism-page
.story-special-content p {

    margin: 0;

    color:
        var(--whitewood-text-soft);

    font-size: 0.86rem;

    line-height: 1.75;
}


/* =========================================================
   VAMPIRISM 05-00
   КРАТКО
   Полностью отдельная структура.
   Не использует character-history-*.
   ========================================================= */

.vampirism-summary-card {

    display: block;

    width: 100%;
    max-width: none;

    margin: 20px 0 0;

    padding:
        42px 46px;

    border:
        1px solid rgba(168, 63, 73, 0.13);

    border-radius:
        var(--radius-large);

    background:
        linear-gradient(
            145deg,
            rgba(168, 63, 73, 0.028),
            rgba(255, 255, 255, 0.015)
        );

    box-sizing: border-box;
}


.vampirism-summary-card >
.story-section-number {

    display: block;

    margin-bottom: 8px;

    color:
        var(--vampire-red);

    font-size: 0.72rem;
    font-weight: 500;
}


.vampirism-summary-card > h2 {

    display: block;

    margin: 0 0 28px;

    color:
        var(--whitewood-text);

    font-size: 1.35rem;

    line-height: 1.3;
}


.vampirism-summary-card > h2::after {

    content: "";

    display: block;

    width: 34px;
    height: 2px;

    margin-top: 12px;

    background:
        linear-gradient(
            90deg,
            var(--vampire-red),
            transparent
        );

    opacity: 0.7;
}


/* =========================================================
   05-00 LIST
   ========================================================= */

.vampirism-summary-list {

    display: flex;

    flex-direction: column;

    width: 100%;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}


/* =========================================================
   05-00 ROW
   ========================================================= */

.vampirism-summary-row {

    display: grid;

    grid-template-columns:
        minmax(170px, 220px)
        minmax(0, 1fr);

    align-items: start;

    width: 100%;
    min-width: 0;

    gap: 24px;

    padding: 18px 0;

    box-sizing: border-box;

    border-top:
        1px solid rgba(255, 255, 255, 0.045);

    background: transparent;
}


.vampirism-summary-row:last-child {

    border-bottom:
        1px solid rgba(255, 255, 255, 0.045);
}


.vampirism-summary-name {

    min-width: 0;

    color:
        #c9c5c4;

    font-size: 0.84rem;
    font-weight: 600;

    line-height: 1.45;

    overflow-wrap: break-word;
    word-break: normal;
}


.vampirism-summary-description {

    min-width: 0;

    color:
        #a8a5a5;

    font-size: 0.80rem;
    font-weight: 400;

    line-height: 1.65;

    overflow-wrap: break-word;
    word-break: normal;
}


.vampirism-summary-row:hover
.vampirism-summary-name {

    color:
        #d3a0a3;
}


.vampirism-summary-row:hover
.vampirism-summary-description {

    color:
        #b4b1b0;
}


/* =========================================================
   ENDING
   ========================================================= */

.whitewood-ending {

    margin-top: 42px;

    padding-top: 36px;

    border-top:
        1px solid rgba(255, 255, 255, 0.055);

    text-align: center;
}

.whitewood-ending p {

    max-width: 650px;

    margin: 0 auto 18px;

    color:
        var(--whitewood-text-soft);

    line-height: 1.75;
}


/* =========================================================
   VAMPIRISM ENDING
   ========================================================= */

.vampirism-page
.whitewood-ending {

    position: relative;

    margin: 0;

    padding: 48px 20px;

    text-align: center;
}

.vampirism-page
.whitewood-ending::before,
.vampirism-page
.whitewood-ending::after {

    content: "";

    display: block;

    width:
        min(170px, 35%);

    height: 1px;

    margin:
        0 auto 24px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(168, 63, 73, 0.42),
            transparent
        );
}

.vampirism-page
.whitewood-ending::after {

    margin:
        24px auto 0;
}

.vampirism-page
.whitewood-ending p {

    max-width: 650px;

    margin: 0 auto;

    color:
        #aaa5a4;

    font-size: 0.9rem;

    font-style: italic;

    line-height: 1.8;
}


/* =========================================================
   BACK BUTTON
   ========================================================= */

.character-back-button {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin: 0 auto 35px;

    padding:
        11px 18px;

    color:
        var(--text-main);

    text-decoration: none;

    background:
        rgba(255, 255, 255, 0.035);

    border:
        1px solid rgba(255, 255, 255, 0.08);

    border-radius: 10px;

    font-size: 0.9rem;
    font-weight: 500;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.character-back-button:hover {

    background:
        rgba(179, 74, 74, 0.12);

    border-color:
        rgba(179, 74, 74, 0.35);

    transform:
        translateX(-3px);
}


/* =========================================================
   RESPONSIVE — 1100
   ========================================================= */

@media (max-width: 1100px) {

    .vampirism-page
    .story-traces-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   RESPONSIVE — 900
   ========================================================= */

@media (max-width: 900px) {

    /* -------------------------
       WHITEWOOD
       ------------------------- */

    .whitewood-story-card
    .story-section.whitewood-story-section,
    .whitewood-story-card
    .story-section-reverse.whitewood-story-section {

        grid-template-columns: 1fr;

        gap: 30px;

        padding: 38px 0;
    }

    .whitewood-story-section
    .story-section-image {

        max-width: 500px;

        order: 0;
    }

    .whitewood-story-section
    .story-section-content {

        order: 1;
    }


    /* -------------------------
       VAMPIRISM
       ------------------------- */

    .vampirism-page
    .whitewood-story-section {

        grid-template-columns: 1fr;

        gap: 30px;

        padding: 42px 0;
    }

    .vampirism-page
    .whitewood-story-section:not(:has(.story-section-image)) {

        grid-template-columns: 1fr;
    }

    .vampirism-page
    .story-section-image {

        max-width: 520px;

        order: 2;
    }

    .vampirism-page
    .story-section-content {

        order: 1;
    }

    .vampirism-page
    .whitewood-story-section:has(.story-traces-grid) {

        padding-top: 45px;
        padding-bottom: 48px;
    }
}


/* =========================================================
   RESPONSIVE — 700
   ========================================================= */

@media (max-width: 700px) {

    /* -------------------------
       WHITEWOOD 1-5
       ------------------------- */

    .whitewood-magic-list {

        margin-top: 20px;
    }


    .whitewood-magic-row {

        display: flex;

        flex-direction: column;

        gap: 7px;

        padding: 16px 0;
    }


    .whitewood-magic-name {

        font-size: 0.85rem;

        line-height: 1.4;
    }


    .whitewood-magic-description {

        font-size: 0.79rem;

        line-height: 1.65;
    }


    /* -------------------------
       VAMPIRISM 05-00
       ------------------------- */

    .vampirism-summary-card {

        margin-top: 16px;

        padding:
            30px 20px;
    }


    .vampirism-summary-row {

        display: flex;

        flex-direction: column;

        gap: 7px;

        padding: 16px 0;
    }


    .vampirism-summary-name {

        font-size: 0.85rem;

        line-height: 1.4;
    }


    .vampirism-summary-description {

        font-size: 0.79rem;

        line-height: 1.65;
    }
}


/* =========================================================
   RESPONSIVE — 600
   ========================================================= */

@media (max-width: 600px) {

    .whitewood-main-lore {

        padding:
            12px 0 30px;
    }


    .whitewood-story-card
    .story-section.whitewood-story-section,
    .whitewood-story-card
    .story-section-reverse.whitewood-story-section {

        padding:
            30px 0;
    }


    .whitewood-story-section
    .story-trace {

        padding: 18px;
    }


    /* -------------------------
       VAMPIRISM
       ------------------------- */

    .vampirism-page
    .character-symbol {

        font-size: 2rem;
    }

    .vampirism-page
    .story-section h2 {

        font-size: 1.2rem;
    }

    .vampirism-page
    .story-section p {

        font-size: 0.83rem;
    }

    .vampirism-page
    .story-traces-grid {

        grid-template-columns: 1fr;

        gap: 12px;
    }

    .vampirism-page
    .story-trace {

        min-height: auto;

        padding:
            19px 19px 19px 22px;
    }

    .vampirism-page
    .whitewood-vampire-section {

        padding:
            36px 24px;
    }

    .vampirism-page
    .vampirism-summary-card {

        padding:
            28px 22px;
    }

    .vampirism-page
    .whitewood-ending {

        padding:
            38px 16px;
    }
}


/* =========================================================
   RESPONSIVE — 420
   ========================================================= */

@media (max-width: 420px) {

    .whitewood-magic-row {

        padding:
            14px 0;
    }

    .whitewood-magic-name {

        font-size: 0.84rem;
    }

    .whitewood-magic-description {

        font-size: 0.78rem;

        line-height: 1.6;
    }


    /* -------------------------
       VAMPIRISM 05-00
       ------------------------- */

    .vampirism-page
    .vampirism-summary-card {

        padding:
            24px 16px;
    }

    .vampirism-summary-row {

        padding:
            14px 0;
    }

    .vampirism-summary-name {

        font-size: 0.84rem;
    }

    .vampirism-summary-description {

        font-size: 0.78rem;

        line-height: 1.6;
    }
}


/* =========================================================
   RESPONSIVE — 380
   ========================================================= */

@media (max-width: 380px) {

    .vampirism-page
    .vampirism-summary-card {

        padding:
            22px 14px;
    }

    .vampirism-summary-row {

        padding:
            13px 0;
    }
}
/* =========================================================
   WHITEWOOD — ССЫЛКА НА ВАМПИРИЗМ
   ========================================================= */

.whitewood-main-link {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: fit-content;

    margin-top: 24px;
    padding: 12px 20px;

    color:
        var(--whitewood-text);

    text-decoration: none;

    font-size: 0.84rem;
    font-weight: 500;

    line-height: 1.4;

    border:
        1px solid rgba(158, 65, 72, 0.28);

    border-radius:
        10px;

    background:
        linear-gradient(
            135deg,
            rgba(158, 65, 72, 0.10),
            rgba(255, 255, 255, 0.025)
        );

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.16);

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


/* hover */

.whitewood-main-link:hover {

    color:
        #f0dede;

    background:
        linear-gradient(
            135deg,
            rgba(158, 65, 72, 0.18),
            rgba(255, 255, 255, 0.035)
        );

    border-color:
        rgba(158, 65, 72, 0.52);

    transform:
        translateY(-2px);

    box-shadow:
        0 12px 26px rgba(0, 0, 0, 0.24),
        0 0 18px rgba(158, 65, 72, 0.08);
}


/* active */

.whitewood-main-link:active {

    transform:
        translateY(0);

    box-shadow:
        0 6px 14px rgba(0, 0, 0, 0.18);
}


/* =========================================================
   WHITEWOOD — MOBILE LINK
   ========================================================= */

@media (max-width: 600px) {

    .whitewood-main-link {

        width: 100%;

        box-sizing: border-box;

        margin-top: 20px;
        padding: 12px 16px;

        text-align: center;
    }
}
/* =========================================================
   WHITEWOOD — 4-0 · ОСНОВНЫЕ ФАКТЫ
   Полностью независимый блок
   ========================================================= */

.whitewood-facts-card {

    width: 100%;
    max-width: 100%;

    margin-top: 42px;
    padding: 34px 38px;

    box-sizing: border-box;

    border:
        1px solid rgba(141, 145, 152, 0.14);

    border-radius:
        var(--radius-large);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.025),
            rgba(17, 19, 24, 0.35)
        );
}


/* Заголовок */

.whitewood-facts-title {

    margin-bottom: 24px;

    color:
        var(--whitewood-red);

    font-size: 0.72rem;
    font-weight: 600;

    letter-spacing: 0.16em;

    text-transform: uppercase;

    opacity: 0.82;
}


/* Список */

.whitewood-facts-list {

    display: flex;
    flex-direction: column;

    width: 100%;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}


/* Строка */

.whitewood-facts-row {

    display: grid;

    grid-template-columns:
        minmax(170px, 220px)
        minmax(0, 1fr);

    gap: 24px;

    width: 100%;
    min-width: 0;

    padding: 18px 0;

    box-sizing: border-box;

    border-top:
        1px solid rgba(255, 255, 255, 0.045);
}

.whitewood-facts-row:last-child {

    border-bottom:
        1px solid rgba(255, 255, 255, 0.045);
}


/* Название */

.whitewood-facts-name {

    min-width: 0;

    color:
        #c9c5c4;

    font-size: 0.84rem;
    font-weight: 600;

    line-height: 1.5;

    overflow-wrap: break-word;
}


/* Описание */

.whitewood-facts-description {

    min-width: 0;

    color:
        #aaa7a6;

    font-size: 0.81rem;
    font-weight: 400;

    line-height: 1.7;

    overflow-wrap: break-word;
    word-break: normal;
}


/* Hover */

.whitewood-facts-row:hover {

    background:
        linear-gradient(
            90deg,
            rgba(158, 65, 72, 0.035),
            transparent
        );
}


/* =========================================================
   4-0 — MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .whitewood-facts-card {

        margin-top: 32px;

        padding:
            28px 20px;
    }

    .whitewood-facts-row {

        display: flex;

        flex-direction: column;

        gap: 6px;

        padding:
            15px 0;
    }

    .whitewood-facts-name {

        font-size: 0.84rem;
    }

    .whitewood-facts-description {

        font-size: 0.79rem;

        line-height: 1.65;
    }
}


@media (max-width: 420px) {

    .whitewood-facts-card {

        padding:
            24px 16px;
    }

    .whitewood-facts-row {

        padding:
            14px 0;
    }

    .whitewood-facts-name {

        font-size: 0.82rem;
    }

    .whitewood-facts-description {

        font-size: 0.78rem;
    }
}
/* =========================================================
   WHITEWOOD — ВНУТРЕННИЕ ОТСТУПЫ STORY-БЛОКОВ
   1-2 · 1-4 · 3-0
   ========================================================= */

.whitewood-story-section
.story-section-content {

    width: 100%;
    min-width: 0;

    box-sizing: border-box;

    padding:
        12px 18px;
}


/* Для текстовой части с изображением */

.whitewood-story-section
.story-section-content p {

    margin: 0 0 18px;

    padding: 0;

    color:
        var(--whitewood-text-soft);

    line-height: 1.8;
}


/* Заголовки */

.whitewood-story-section
.story-section-content h3 {

    margin:
        0 0 20px;

    padding: 0;

    color:
        var(--whitewood-text);

    font-size:
        clamp(1.25rem, 2vw, 1.55rem);

    line-height: 1.4;

    font-weight: 500;
}


/* Последний абзац */

.whitewood-story-section
.story-section-content p:last-child {

    margin-bottom: 0;
}


/* =========================================================
   1-4 — ДОПОЛНИТЕЛЬНЫЕ ЧЕРТЫ
   ========================================================= */

.whitewood-story-section
.story-traces-grid {

    width: 100%;

    margin-top: 28px;

    box-sizing: border-box;
}


/* Чтобы карточки 1-4 не липли к тексту */

.whitewood-story-section
.story-trace {

    padding:
        22px 24px;

    box-sizing: border-box;
}


/* =========================================================
   1-2 / 3-0 — НА МОБИЛЬНЫХ
   ========================================================= */

@media (max-width: 900px) {

    .whitewood-story-section
    .story-section-content {

        padding:
            8px 14px;
    }
}


@media (max-width: 600px) {

    .whitewood-story-section
    .story-section-content {

        padding:
            6px 8px;
    }

    .whitewood-story-section
    .story-section-content h3 {

        margin-bottom: 16px;
    }

    .whitewood-story-section
    .story-section-content p {

        margin-bottom: 15px;

        line-height: 1.75;
    }

    .whitewood-story-section
    .story-traces-grid {

        margin-top: 24px;
    }
}


@media (max-width: 420px) {

    .whitewood-story-section
    .story-section-content {

        padding:
            4px 4px;
    }
}