/* =========================================================
   TENCENT GAMES — GLOBAL STYLES
========================================================= */

/* =========================================================
   01. ROOT / VARIABLES
========================================================= */

:root {
    --red: #ed1c24;
    --red-dark: #b80f15;
    --red-glow: rgba(237, 28, 36, 0.35);

    --black: #050505;
    --dark: #0a0a0a;
    --dark-2: #101010;
    --dark-3: #171717;

    --white: #ffffff;
    --white-soft: #f2f2f2;
    --gray: #9a9a9a;
    --gray-dark: #666666;

    --border: rgba(255, 255, 255, 0.12);
    --border-light: rgba(255, 255, 255, 0.2);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);

    --header-height: 78px;
}


/* =========================================================
   02. RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--black);
}

body {
    min-height: 100vh;

    background: var(--black);
    color: var(--white);

    font-family:
        Inter,
        "Helvetica Neue",
        Arial,
        sans-serif;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

::selection {
    background: var(--red);
    color: var(--white);
}


/* =========================================================
   03. SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: #292929;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--red);
}


/* =========================================================
   04. COMMON
========================================================= */

.section-dark {
    background: var(--dark);
}

.section-label {
    display: inline-block;

    color: var(--red);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-header {
    width: min(1400px, calc(100% - 80px));

    margin: 0 auto 70px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 50px;
}

.section-header h2 {
    margin-top: 18px;

    color: var(--white);

    font-size: clamp(42px, 5vw, 78px);
    line-height: 0.95;
    font-weight: 700;

    letter-spacing: -0.045em;
}

.section-header > p {
    width: min(400px, 100%);

    color: var(--gray);

    font-size: 15px;
    line-height: 1.8;
}

.section-link {
    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--white);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-transform: uppercase;

    transition:
        color 0.3s ease,
        gap 0.3s var(--ease);
}

.section-link::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -8px;

    height: 1px;

    background: var(--red);

    transform: scaleX(0);
    transform-origin: right;

    transition: transform 0.4s var(--ease);
}

.section-link:hover {
    color: var(--red);
    gap: 15px;
}

.section-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}


/* =========================================================
   05. HEADER
========================================================= */

.site-header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: var(--header-height);

    z-index: 1000;

    background: rgba(5, 5, 5, 0.28);

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

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    transition:
        background 0.4s ease,
        border-color 0.4s ease;
}

.site-header.scrolled {
    background: rgba(5, 5, 5, 0.92);
    border-color: var(--border);
}

.navbar {
    width: min(1500px, calc(100% - 60px));

    height: 100%;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================================
   06. LOGO
========================================================= */

.logo {
    display: inline-flex;
    align-items: center;

    width: 150px;

    transition:
        opacity 0.3s ease,
        transform 0.3s var(--ease);
}

.logo:hover {
    opacity: 0.82;
    transform: translateY(-1px);
}

.logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}


/* =========================================================
   07. MAIN NAVIGATION
========================================================= */

.main-navigation {
    display: flex;
    align-items: center;
    gap: 38px;

    margin-left: auto;
    margin-right: 42px;
}

.main-navigation a {
    position: relative;

    color: rgba(255, 255, 255, 0.72);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.15em;
    text-transform: uppercase;

    transition: color 0.3s ease;
}

.main-navigation a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -9px;

    width: 100%;
    height: 1px;

    background: var(--red);

    transform: scaleX(0);
    transform-origin: right;

    transition: transform 0.35s var(--ease);
}

.main-navigation a:hover {
    color: var(--white);
}

.main-navigation a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}


/* =========================================================
   08. MENU BUTTON
========================================================= */

.menu-button {
    display: inline-flex;
    align-items: center;
    gap: 13px;

    border: 0;
    outline: none;

    background: transparent;

    color: var(--white);

    cursor: pointer;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.15em;
    text-transform: uppercase;

    transition: color 0.3s ease;
}

.menu-button:hover {
    color: var(--red);
}

.menu-icon {
    width: 25px;
    height: 18px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-icon i {
    display: block;

    width: 100%;
    height: 1px;

    background: currentColor;

    transition:
        transform 0.4s var(--ease),
        opacity 0.3s ease;
}

.menu-button.active .menu-icon i:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.menu-button.active .menu-icon i:nth-child(2) {
    opacity: 0;
}

.menu-button.active .menu-icon i:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}


/* =========================================================
   09. FULL SCREEN MENU
========================================================= */

.menu-overlay {
    position: fixed;

    inset: 0;

    z-index: 900;

    display: flex;

    visibility: hidden;
    opacity: 0;

    background:
        radial-gradient(
            circle at 75% 25%,
            rgba(237, 28, 36, 0.12),
            transparent 30%
        ),
        #070707;

    transform: translateY(-100%);

    transition:
        transform 0.7s var(--ease),
        opacity 0.5s ease,
        visibility 0.7s ease;
}

.menu-overlay.active {
    visibility: visible;
    opacity: 1;

    transform: translateY(0);
}

.menu-content {
    width: min(1300px, calc(100% - 100px));

    margin: auto;

    display: flex;
    flex-direction: column;
}

.menu-heading {
    margin-bottom: 40px;
}

.menu-heading span {
    display: block;

    color: var(--red);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.25em;
}

.menu-heading p {
    margin-top: 8px;

    color: var(--gray);

    font-size: 13px;
}

.menu-list {
    display: flex;
    flex-direction: column;
}

.menu-list a {
    display: flex;
    align-items: baseline;
    gap: 25px;

    width: fit-content;

    color: var(--white);

    font-size: clamp(40px, 6vw, 86px);
    font-weight: 700;

    line-height: 1.02;

    letter-spacing: -0.05em;

    transition:
        color 0.3s ease,
        transform 0.45s var(--ease);
}

.menu-list a span {
    width: 30px;

    color: var(--gray-dark);

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.1em;
}

.menu-list a:hover {
    color: var(--red);
    transform: translateX(15px);
}

.menu-footer {
    margin-top: 60px;

    display: flex;
    justify-content: space-between;

    color: var(--gray);

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.18em;
}


/* =========================================================
   20. FOOTER
========================================================= */

.site-footer {
    padding: 100px 0 30px;

    background: var(--black);

    border-top: 1px solid var(--border);
}

.footer-container {
    width: min(1400px, calc(100% - 80px));

    margin: 0 auto;

    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1fr;

    gap: 60px;
}

.footer-brand {
    padding-right: 50px;
}

.footer-brand .logo {
    width: 155px;
}

.footer-brand p {
    margin-top: 25px;

    color: var(--gray);

    font-size: 13px;
    line-height: 1.8;
}


/* =========================================================
   21. SOCIAL ICONS
========================================================= */

.footer-social {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-top: 28px;

    flex-wrap: wrap;
}

.social-icon {
    width: 40px;
    height: 40px;

    flex: 0 0 40px;

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

    border: 1px solid var(--border);

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

    color: var(--white);

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        transform 0.35s var(--ease);
}

.social-icon svg {
    width: 17px;
    height: 17px;

    fill: currentColor;
    stroke: currentColor;

    stroke-width: 1.4;
}

.social-icon:hover {
    background: var(--red);

    border-color: var(--red);

    color: var(--white);

    transform: translateY(-4px);
}


/* =========================================================
   22. FOOTER COLUMNS
========================================================= */

.footer-column {
    display: flex;
    flex-direction: column;

    align-items: flex-start;
}

.footer-column h4 {
    margin-bottom: 25px;

    color: var(--white);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}

.footer-column a {
    position: relative;

    margin-bottom: 13px;

    color: var(--gray);

    font-size: 12px;

    transition:
        color 0.3s ease,
        transform 0.3s var(--ease);
}

.footer-column a::before {
    content: "";

    position: absolute;

    left: -13px;
    top: 50%;

    width: 5px;
    height: 1px;

    background: var(--red);

    opacity: 0;

    transform: translateY(-50%) scaleX(0);

    transition:
        opacity 0.3s ease,
        transform 0.3s var(--ease);
}

.footer-column a:hover {
    color: var(--white);
    transform: translateX(8px);
}

.footer-column a:hover::before {
    opacity: 1;

    transform:
        translateY(-50%)
        scaleX(1);
}


/* =========================================================
   23. FOOTER BOTTOM
========================================================= */

.footer-bottom {
    width: min(1400px, calc(100% - 80px));

    margin: 80px auto 0;
    padding-top: 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid var(--border);

    color: var(--gray-dark);

    font-size: 10px;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: var(--gray-dark);

    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--white);
}


/* =========================================================
   24. REVEAL ANIMATION
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(50px);

    transition:
        opacity 0.8s ease,
        transform 0.8s var(--ease);
}

.reveal.show {
    opacity: 1;

    transform: translateY(0);
}

.hero-content {
    opacity: 0;

    transform: translateY(40px);

    transition:
        opacity 1s ease,
        transform 1s var(--ease);
}

.hero-content.hero-loaded {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   25. TABLET
========================================================= */

@media (max-width: 1200px) {

    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }

}


/* =========================================================
   26. SMALL TABLET
========================================================= */

@media (max-width: 950px) {

    .main-navigation {
        display: none;
    }

    .section-header {
        align-items: flex-start;
        flex-direction: column;

        margin-bottom: 50px;
    }

    .section-header > p {
        width: min(600px, 100%);
    }

    .news-container {
        grid-template-columns: 1fr;
    }

    .news-card-featured {
        grid-row: auto;
    }

    .news-card {
        grid-template-columns: 0.9fr 1.1fr;
    }

    .about-container {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .about-visual {
        max-width: 700px;
    }

    .studios-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;

        padding-right: 0;
    }

}


/* =========================================================
   27. MOBILE
========================================================= */

@media (max-width: 700px) {

    :root {
        --header-height: 68px;
    }

    .navbar {
        width: calc(100% - 35px);
    }

    .logo {
        width: 125px;
    }

    .menu-button {
        gap: 9px;
    }

    .menu-content {
        width: calc(100% - 40px);
    }

    .menu-list a {
        font-size: clamp(38px, 12vw, 65px);

        gap: 15px;
    }

    .menu-list a span {
        width: 20px;

        font-size: 9px;
    }

    .menu-footer {
        margin-top: 35px;

        flex-direction: column;

        gap: 8px;
    }


    /* Hero */

    .hero-content {
        width: calc(100% - 40px);

        padding-top: 120px;
    }

    .hero-title {
        font-size: clamp(48px, 14vw, 76px);
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-button {
        min-width: 170px;
    }

    .scroll-indicator {
        display: none;
    }


    /* Sections */

    .section-header,
    .news-container,
    .about-container,
    .studios-grid,
    .support-content,
    .store-content,
    .careers-content,
    .featured-game-content,
    .footer-container,
    .footer-bottom {
        width: calc(100% - 40px);
    }

    .section-header h2 {
        font-size: clamp(40px, 12vw, 60px);
    }


    /* Games */

    .games-section {
        padding: 100px 0;
    }

    .games-container {
        width: calc(100% - 40px);

        grid-template-columns: repeat(
            5,
            minmax(260px, 72vw)
        );
    }


    /* All Games */

    .all-games-section {
        padding-bottom: 100px;
    }

    .all-games-banner {
        width: calc(100% - 40px);

        min-height: 500px;
    }

    .all-games-content {
        height: 500px;

        padding: 30px;
    }

    .all-games-button {
        position: static;

        margin-top: 25px;
    }


    /* News */

    .news-section {
        padding: 100px 0;
    }

    .news-card {
        grid-template-columns: 1fr;
    }

    .news-card .news-image {
        min-height: 230px;
    }

    .news-info {
        padding: 25px;
    }


    /* Other Sections */

    .featured-game-section,
    .store-section,
    .careers-section {
        min-height: 560px;
    }

    .featured-game-content h2,
    .store-content h2,
    .careers-content h2,
    .support-content h2 {
        font-size: clamp(48px, 13vw, 70px);
    }

    .about-section,
    .studios-section {
        padding: 100px 0;
    }

    .studios-grid {
        grid-template-columns: 1fr;
    }

    .studio-card {
        min-height: 250px;
    }


    /* Footer */

    .site-footer {
        padding-top: 80px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;

        gap: 45px 25px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-social {
        gap: 8px;
    }

    .social-icon {
        width: 38px;
        height: 38px;

        flex-basis: 38px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;

        gap: 18px;

        margin-top: 60px;
    }

    .footer-bottom-links {
        gap: 18px;
    }

}


/* =========================================================
   28. SMALL MOBILE
========================================================= */

@media (max-width: 450px) {

    .logo {
        width: 110px;
    }

    .navbar {
        width: calc(100% - 28px);
    }

    .menu-button {
        font-size: 10px;
    }

    .menu-icon {
        width: 22px;
    }

    .hero-content {
        width: calc(100% - 30px);
    }

    .hero-title {
        font-size: 47px;
    }

    .hero-description {
        font-size: 13px;
    }

    .games-container {
        width: calc(100% - 30px);
    }

    .all-games-banner {
        width: calc(100% - 30px);
    }

    .all-games-content {
        padding: 25px;
    }

    .news-container,
    .about-container,
    .studios-grid,
    .support-content,
    .store-content,
    .careers-content,
    .featured-game-content,
    .footer-container,
    .footer-bottom {
        width: calc(100% - 30px);
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
    }

}


/* =========================================================
   29. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}


/* =========================================================
   30. legal OF USE PAGE
========================================================= */

main.legal-page {
    position: relative;

    width: 100%;

    background:
        radial-gradient(
            circle at 80% 12%,
            rgba(237, 28, 36, 0.08),
            transparent 30%
        ),
        var(--black);

    color: var(--white);
}


/* =========================================================
   31. legal HERO
========================================================= */

main.legal-page .legal-hero {
    position: relative;

    padding: 180px 0 120px;

    border-bottom: 1px solid var(--border);

    overflow: hidden;
}

main.legal-page .legal-hero::before {
    content: "";

    position: absolute;

    top: 0;
    right: 8%;

    width: 1px;
    height: 100%;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(237, 28, 36, 0.35),
            transparent
        );
}

main.legal-page .legal-hero-inner {
    width: min(1400px, calc(100% - 80px));

    margin: 0 auto;
}

main.legal-page .legal-eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 25px;

    color: var(--red);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.28em;

    text-transform: uppercase;
}

main.legal-page .legal-eyebrow::before {
    content: "";

    width: 28px;
    height: 1px;

    background: var(--red);
}

main.legal-page .legal-hero h1 {
    max-width: 1000px;

    margin: 0;

    color: var(--white);

    font-size: clamp(64px, 9vw, 140px);

    line-height: 0.88;

    font-weight: 700;

    letter-spacing: -0.065em;
}

main.legal-page .legal-hero p {
    max-width: 680px;

    margin-top: 40px;

    color: var(--gray);

    font-size: 15px;

    line-height: 1.9;
}

main.legal-page .legal-meta {
    display: flex;

    align-items: center;

    margin-top: 35px;
}

main.legal-page .legal-meta span {
    padding: 9px 14px;

    border: 1px solid var(--border);

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

    color: var(--gray);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}


/* =========================================================
   32. legal BODY
========================================================= */

main.legal-page .legal-body {
    padding: 100px 0 130px;
}

main.legal-page .legal-layout {
    width: min(1400px, calc(100% - 80px));

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        250px
        minmax(0, 900px);

    justify-content: space-between;

    align-items: start;

    gap: 80px;
}


/* =========================================================
   33. legal SIDEBAR
========================================================= */

main.legal-page .legal-sidebar {
    position: sticky;

    top: 110px;

    display: flex;

    flex-direction: column;

    padding: 25px 0;

    border-top: 1px solid var(--border);

    border-bottom: 1px solid var(--border);
}

main.legal-page .legal-sidebar-label {
    margin-bottom: 22px;

    color: var(--red);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.22em;

    text-transform: uppercase;
}

main.legal-page .legal-sidebar a {
    position: relative;

    padding: 9px 0 9px 18px;

    color: var(--gray-dark);

    font-size: 11px;

    font-weight: 600;

    line-height: 1.5;

    transition:
        color 0.3s ease,
        padding 0.35s var(--ease);
}

main.legal-page .legal-sidebar a::before {
    content: "";

    position: absolute;

    left: 0;
    top: 50%;

    width: 0;
    height: 1px;

    background: var(--red);

    transform: translateY(-50%);

    transition: width 0.35s var(--ease);
}

main.legal-page .legal-sidebar a:hover {
    padding-left: 25px;

    color: var(--white);
}

main.legal-page .legal-sidebar a:hover::before {
    width: 14px;
}


/* =========================================================
   34. legal CONTENT
========================================================= */

main.legal-page .legal-content {
    width: 100%;

    min-width: 0;
}


/* =========================================================
   35. legal SECTION
========================================================= */

main.legal-page .legal-section {
    position: relative;

    margin: 0 0 22px;

    padding: 42px 45px 45px;

    border: 1px solid var(--border);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.012)
        );

    overflow: hidden;

    transition:
        border-color 0.35s ease,
        transform 0.35s var(--ease),
        background 0.35s ease;
}

main.legal-page .legal-section::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 0;
    height: 2px;

    background: var(--red);

    transition: width 0.45s var(--ease);
}

main.legal-page .legal-section:hover {
    border-color: var(--border-light);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.015)
        );

    transform: translateY(-2px);
}

main.legal-page .legal-section:hover::before {
    width: 90px;
}


/* =========================================================
   36. legal SECTION NUMBER
========================================================= */

main.legal-page .legal-section-number {
    display: block;

    margin-bottom: 17px;

    color: var(--red);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.2em;
}

main.legal-page .legal-section-number::after {
    content: "";

    display: inline-block;

    width: 38px;
    height: 1px;

    margin-left: 12px;

    vertical-align: middle;

    background: rgba(237, 28, 36, 0.45);
}


/* =========================================================
   37. legal SECTION HEADING
========================================================= */

main.legal-page .legal-section h2 {
    margin: 0 0 24px;

    color: var(--white);

    font-size: clamp(30px, 4vw, 48px);

    line-height: 1;

    font-weight: 700;

    letter-spacing: -0.04em;
}


/* =========================================================
   38. legal SECTION TEXT
========================================================= */

main.legal-page .legal-section p {
    max-width: 760px;

    margin: 0 0 18px;

    color: var(--gray);

    font-size: 14px;

    line-height: 1.9;
}

main.legal-page .legal-section p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   39. legal BOXED LIST
========================================================= */

main.legal-page .legal-section ul {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

    margin: 28px 0;

    padding: 0;

    list-style: none;
}

main.legal-page .legal-section li {
    position: relative;

    min-height: 70px;

    margin: 0;

    padding: 18px 18px 18px 45px;

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

    background: rgba(0, 0, 0, 0.22);

    color: var(--gray);

    font-size: 12px;

    line-height: 1.7;

    transition:
        border-color 0.3s ease,
        background 0.3s ease,
        transform 0.3s var(--ease);
}

main.legal-page .legal-section li::before {
    content: "";

    position: absolute;

    left: 18px;
    top: 24px;

    width: 9px;
    height: 9px;

    border: 1px solid var(--red);

    transform: rotate(45deg);
}

main.legal-page .legal-section li:hover {
    border-color: rgba(237, 28, 36, 0.35);

    background: rgba(237, 28, 36, 0.035);

    transform: translateY(-2px);
}

main.legal-page .legal-section li:hover::before {
    background: var(--red);
}


/* =========================================================
   40. legal TABLET
========================================================= */

@media (max-width: 1100px) {

    main.legal-page .legal-layout {
        grid-template-columns:
            210px
            minmax(0, 1fr);

        gap: 50px;
    }

    main.legal-page .legal-section {
        padding: 38px 35px 40px;
    }

}


/* =========================================================
   41. legal SMALL TABLET
========================================================= */

@media (max-width: 850px) {

    main.legal-page .legal-hero {
        padding: 155px 0 90px;
    }

    main.legal-page .legal-layout {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    main.legal-page .legal-sidebar {
        position: static;

        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 2px 25px;
    }

    main.legal-page .legal-sidebar-label {
        grid-column: 1 / -1;
    }

}


/* =========================================================
   42. legal MOBILE
========================================================= */

@media (max-width: 700px) {

    main.legal-page .legal-hero {
        padding: 125px 0 75px;
    }

    main.legal-page .legal-hero-inner,
    main.legal-page .legal-layout {
        width: calc(100% - 40px);
    }

    main.legal-page .legal-hero h1 {
        font-size: clamp(52px, 15vw, 78px);
    }

    main.legal-page .legal-hero p {
        margin-top: 30px;

        font-size: 13px;

        line-height: 1.85;
    }

    main.legal-page .legal-body {
        padding: 65px 0 80px;
    }

    main.legal-page .legal-sidebar {
        grid-template-columns: 1fr;
    }

    main.legal-page .legal-section {
        margin-bottom: 15px;

        padding: 30px 22px 32px;
    }

    main.legal-page .legal-section h2 {
        font-size: clamp(28px, 8vw, 38px);

        line-height: 1.05;
    }

    main.legal-page .legal-section p {
        font-size: 13px;

        line-height: 1.85;
    }

    main.legal-page .legal-section ul {
        grid-template-columns: 1fr;

        gap: 8px;

        margin: 24px 0;
    }

    main.legal-page .legal-section li {
        min-height: auto;

        padding: 16px 16px 16px 42px;

        font-size: 12px;
    }
