
:root {
    --gx-bg: #050907;
    --gx-bg-2: #08120d;
    --gx-bg-3: #0b1710;

    --gx-green: #24e98a;
    --gx-green-light: #8dffc1;
    --gx-green-dark: #0ba95b;

    --gx-white: #f4fff8;
    --gx-text: #dcebe3;
    --gx-muted: #8fa59a;

    --gx-border: rgba(36, 233, 138, .15);
    --gx-border-hover: rgba(36, 233, 138, .35);

    --gx-radius: 22px;

    --gx-shadow:
        0 25px 70px rgba(0, 0, 0, .42),
        0 0 45px rgba(36, 233, 138, .035);
}

.gx-news-page {
    width: 100%;
    max-width: 1180px;

    margin: 0 auto;
    padding: 45px 20px 75px;

    box-sizing: border-box;
    color: var(--gx-text);
}

.gx-news-header {
    position: relative;

    text-align: center;

    margin-bottom: 38px;
}

.gx-news-header::before {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    top: -150px;
    left: 50%;

    transform: translateX(-50%);

    background: rgba(36, 233, 138, .075);

    border-radius: 50%;

    filter: blur(75px);

    pointer-events: none;
}

.gx-news-icon {
    position: relative;
    z-index: 1;

    width: 72px;
    height: 72px;

    margin: 0 auto 20px;

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

    border-radius: 21px;

    background:
        linear-gradient(
            145deg,
            rgba(36, 233, 138, .19),
            rgba(36, 233, 138, .035)
        );

    border: 1px solid rgba(36, 233, 138, .23);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .35),
        inset 0 0 25px rgba(36, 233, 138, .04);

    color: var(--gx-green);
}

.gx-news-icon svg {
    width: 34px;
    height: 34px;
}

.gx-news-title {
    position: relative;
    z-index: 1;

    margin: 0;

    color: var(--gx-white);

    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;

    font-weight: 850;
    letter-spacing: -1.5px;
}

.gx-news-title span {
    color: var(--gx-green);
}

.gx-news-subtitle {
    position: relative;
    z-index: 1;

    max-width: 650px;

    margin: 14px auto 0;

    color: var(--gx-muted);

    font-size: 14px;
    line-height: 1.7;
}

.gx-news-list {
    display: grid;

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

    gap: 20px;
}

.gx-news-card {
    position: relative;
    overflow: hidden;

    min-width: 0;

    padding: 27px;

    box-sizing: border-box;

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

    background:
        linear-gradient(
            145deg,
            rgba(12, 26, 18, .96),
            rgba(5, 10, 7, .98)
        );

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

    box-shadow: var(--gx-shadow);

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.gx-news-card::before {
    content: "";

    position: absolute;

    width: 190px;
    height: 190px;

    top: -120px;
    right: -90px;

    border-radius: 50%;

    background: rgba(36, 233, 138, .075);

    filter: blur(50px);

    pointer-events: none;
}

.gx-news-card::after {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 3px;
    height: 0;

    background:
        linear-gradient(
            to bottom,
            var(--gx-green),
            var(--gx-green-dark)
        );

    transition: height .35s ease;
}

.gx-news-card:hover {
    transform: translateY(-5px);

    border-color: var(--gx-border-hover);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, .52),
        0 0 35px rgba(36, 233, 138, .055);
}

.gx-news-card:hover::after {
    height: 100%;
}

.gx-news-card-top {
    position: relative;
    z-index: 1;

    display: flex;

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

    gap: 15px;

    margin-bottom: 17px;
}

.gx-news-number {
    display: inline-flex;

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

    width: 36px;
    height: 36px;

    flex: 0 0 36px;

    border-radius: 11px;

    background: rgba(36, 233, 138, .08);

    border: 1px solid rgba(36, 233, 138, .14);

    color: var(--gx-green);

    font-size: 12px;
    font-weight: 800;
}

.gx-news-date {
    color: #71857b;

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

    letter-spacing: .2px;
}

.gx-news-card-title {
    position: relative;
    z-index: 1;

    margin: 0 0 13px;
}

.gx-news-card-title a {
    color: var(--gx-white);

    text-decoration: none;

    font-size: 20px;
    line-height: 1.35;

    font-weight: 800;

    transition:
        color .25s ease;
}

.gx-news-card-title a:hover {
    color: var(--gx-green);
}

.gx-news-card-text {
    position: relative;
    z-index: 1;

    color: var(--gx-muted);

    font-size: 13px;
    line-height: 1.75;

    overflow-wrap: anywhere;
}

.gx-news-card-text p {
    margin-top: 0;
}

.gx-news-card-text p:last-child {
    margin-bottom: 0;
}

.gx-news-read {
    position: relative;
    z-index: 1;

    display: inline-flex;

    align-items: center;
    gap: 8px;

    margin-top: 21px;

    color: var(--gx-green);

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

    text-decoration: none;

    transition:
        gap .25s ease,
        color .25s ease;
}

.gx-news-read svg {
    width: 15px;
    height: 15px;

    transition:
        transform .25s ease;
}

.gx-news-read:hover {
    gap: 12px;

    color: var(--gx-green-light);
}

.gx-news-read:hover svg {
    transform: translateX(2px);
}

.gx-news-empty {
    grid-column: 1 / -1;

    padding: 65px 25px;

    text-align: center;

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

    background:
        linear-gradient(
            145deg,
            rgba(11, 23, 16, .95),
            rgba(5, 10, 7, .98)
        );

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

    color: var(--gx-muted);

    font-size: 14px;
}

.gx-news-empty-icon {
    width: 56px;
    height: 56px;

    margin: 0 auto 17px;

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

    border-radius: 17px;

    background: rgba(36, 233, 138, .07);

    color: var(--gx-green);
}

.gx-news-empty-icon svg {
    width: 26px;
    height: 26px;
}

.gx-news-pagination {
    display: flex;

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

    margin-top: 35px;

    min-height: 45px;

    overflow-x: auto;

    scrollbar-width: none;
}

.gx-news-pagination::-webkit-scrollbar {
    display: none;
}

.gx-news-pagination a {
    display: inline-flex;

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

    min-width: 40px;
    height: 40px;

    margin: 3px;

    padding: 0 11px;

    box-sizing: border-box;

    border-radius: 11px;

    border: 1px solid rgba(255,255,255,.07);

    background: rgba(255,255,255,.025);

    color: var(--gx-muted);

    text-decoration: none;

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

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

.gx-news-pagination a:hover {
    transform: translateY(-2px);

    background: rgba(36, 233, 138, .09);

    border-color: rgba(36, 233, 138, .28);

    color: var(--gx-green);
}

.gx-news-single {
    position: relative;
    overflow: hidden;

    max-width: 920px;

    margin: 0 auto;

    padding: clamp(25px, 5vw, 48px);

    box-sizing: border-box;

    border-radius: 25px;

    background:
        linear-gradient(
            145deg,
            rgba(12, 27, 18, .97),
            rgba(5, 10, 7, .99)
        );

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

    box-shadow:
        0 30px 90px rgba(0,0,0,.48),
        0 0 50px rgba(36,233,138,.035);
}

.gx-news-single::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    top: -170px;
    right: -150px;

    background: rgba(36,233,138,.08);

    border-radius: 50%;

    filter: blur(70px);

    pointer-events: none;
}

.gx-news-single-content {
    position: relative;
    z-index: 1;
}

.gx-news-single-title {
    margin: 0 0 12px;

    color: var(--gx-white);

    font-size: clamp(27px, 4vw, 42px);
    line-height: 1.18;

    font-weight: 850;
    letter-spacing: -1px;
}

.gx-news-single-date {
    display: inline-flex;

    align-items: center;
    gap: 7px;

    margin-bottom: 30px;

    color: var(--gx-green);

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

.gx-news-single-date svg {
    width: 15px;
    height: 15px;
}

.gx-news-single-text {
    color: var(--gx-text);

    font-size: 15px;
    line-height: 1.9;

    overflow-wrap: anywhere;
}

.gx-news-single-text h1,
.gx-news-single-text h2,
.gx-news-single-text h3,
.gx-news-single-text h4 {
    color: var(--gx-white);

    line-height: 1.35;

    margin-top: 30px;
    margin-bottom: 13px;
}

.gx-news-single-text h2 {
    font-size: 25px;
}

.gx-news-single-text h3 {
    font-size: 20px;
}

.gx-news-single-text p {
    margin: 0 0 18px;
}

.gx-news-single-text a {
    color: var(--gx-green);

    text-decoration: none;
}

.gx-news-single-text a:hover {
    color: var(--gx-green-light);
}

.gx-news-single-text img {
    display: block;

    max-width: 100%;
    height: auto;

    margin: 25px auto;

    border-radius: 17px;

    border: 1px solid rgba(36,233,138,.13);
}

.gx-news-single-text ul,
.gx-news-single-text ol {
    padding-left: 25px;
}

.gx-news-single-text li {
    margin-bottom: 8px;
}

.gx-news-single-text blockquote {
    margin: 25px 0;
    padding: 18px 20px;

    border-left: 3px solid var(--gx-green);

    border-radius: 0 13px 13px 0;

    background: rgba(36,233,138,.055);

    color: var(--gx-muted);
}

.gx-news-back {
    display: inline-flex;

    align-items: center;
    gap: 8px;

    margin-top: 30px;

    padding: 12px 17px;

    border-radius: 12px;

    background: rgba(36,233,138,.07);

    border: 1px solid rgba(36,233,138,.14);

    color: var(--gx-green);

    text-decoration: none;

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

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

.gx-news-back svg {
    width: 15px;
    height: 15px;
}

.gx-news-back:hover {
    transform: translateX(-3px);

    background: rgba(36,233,138,.12);

    border-color: rgba(36,233,138,.28);
}

@media (max-width: 850px) {

    .gx-news-page {
        padding: 35px 17px 60px;
    }

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

    .gx-news-card {
        padding: 24px;
    }
}

@media (max-width: 600px) {

    .gx-news-page {
        padding: 28px 12px 45px;
    }

    .gx-news-header {
        margin-bottom: 27px;
    }

    .gx-news-icon {
        width: 63px;
        height: 63px;

        margin-bottom: 17px;

        border-radius: 18px;
    }

    .gx-news-icon svg {
        width: 29px;
        height: 29px;
    }

    .gx-news-title {
        font-size: 30px;

        letter-spacing: -1px;
    }

    .gx-news-subtitle {
        font-size: 12px;

        max-width: 95%;
    }

    .gx-news-list {
        gap: 14px;
    }

    .gx-news-card {
        padding: 21px 18px;

        border-radius: 18px;
    }

    .gx-news-card-title a {
        font-size: 18px;
    }

    .gx-news-card-text {
        font-size: 12.5px;
        line-height: 1.7;
    }

    .gx-news-single {
        padding: 23px 18px;

        border-radius: 19px;
    }

    .gx-news-single-title {
        font-size: 27px;
    }

    .gx-news-single-text {
        font-size: 13px;
        line-height: 1.8;
    }

    .gx-news-single-text h2 {
        font-size: 21px;
    }

    .gx-news-single-text h3 {
        font-size: 18px;
    }

    .gx-news-pagination {
        justify-content: flex-start;

        padding: 3px 0;
    }
}

@media (max-width: 380px) {

    .gx-news-page {
        padding-left: 9px;
        padding-right: 9px;
    }

    .gx-news-card {
        padding: 18px 15px;
    }

    .gx-news-card-top {
        margin-bottom: 14px;
    }

    .gx-news-number {
        width: 33px;
        height: 33px;

        flex-basis: 33px;
    }

    .gx-news-card-title a {
        font-size: 17px;
    }

    .gx-news-single {
        padding: 20px 15px;
    }
}

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

    .gx-news-card,
    .gx-news-read,
    .gx-news-read svg,
    .gx-news-pagination a,
    .gx-news-back {
        transition: none;
    }
}
