
/* =========================================================
   ENSKOOL NEWS PAGE
   PREMIUM RESPONSIVE DESIGN
========================================================= */


/* =========================================================
   ROOT
========================================================= */

:root {
    --news-primary: #642e86;
    --news-primary-dark: #642e86;
    --news-black: #090b0f;
    --news-dark: #101318;
    --news-dark-2: #171b21;
    --news-white: #ffffff;
    --news-text: #15171b;
    --news-muted: #70757d;
    --news-light: #f7f8fa;
    --news-border: #e8eaed;
    --news-radius: 20px;
    --news-container: 1280px;
    --news-transition: 0.35s cubic-bezier(.2, .8, .2, 1);
}


/* =========================================================
   RESET
========================================================= */

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


html {
    scroll-behavior: smooth;
}


body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: var(--news-white);

    color: var(--news-text);

    overflow-x: hidden;
}


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


button,
input {
    font: inherit;
}


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


/* =========================================================
   CONTAINER
========================================================= */

.news-container {

    width: min(
        calc(100% - 64px),
        var(--news-container)
    );

    margin-inline: auto;
}


/* =========================================================
   HERO
========================================================= */

.news-hero {

    position: relative;

    min-height: 560px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: linear-gradient(to right, #482464, #000000);

    color: var(--news-white);
}


.news-hero-pattern {

    position: absolute;

    inset: 0;

    pointer-events: none;

    opacity: .45;

    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );

    background-size: 70px 70px;
}


.news-hero-pattern::after {

    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -180px;
    bottom: -260px;

    border: 1px solid rgba(244,196,48,.18);

    border-radius: 50%;

    box-shadow:
        0 0 0 70px rgba(244,196,48,.025),
        0 0 0 140px rgba(244,196,48,.018);
}


.news-hero-container {

    position: relative;
    z-index: 2;
}


.news-hero-content {

    max-width: 850px;

    padding: 90px 0;
}


.news-hero-eyebrow {

    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 24px;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: .18em;

    color: var(--news-primary);
}


.news-eyebrow-line {

    width: 38px;
    height: 2px;

    background: var(--news-primary);

    border-radius: 20px;
}


.news-hero-title {

    max-width: 900px;

    font-size: clamp(
        52px,
        7vw,
        94px
    );

    line-height: .98;

    letter-spacing: -.055em;

    font-weight: 800;

    margin-bottom: 30px;
}


.news-hero-title span {
    display: block;
    color: #aa39ff;
}


.news-hero-description {

    max-width: 680px;

    color: rgba(255,255,255,.68);

    font-size: 17px;

    line-height: 1.8;

    font-weight: 400;
}


.news-hero-bottom {

    margin-top: 45px;
}


.news-hero-scroll {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    color: rgba(255,255,255,.58);

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .12em;
}


.news-scroll-icon {

    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

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

    border-radius: 50%;

    color: var(--news-primary);

    animation: newsScroll 2s ease-in-out infinite;
}


@keyframes newsScroll {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}


/* =========================================================
   CONTROLS
========================================================= */

.news-controls-section {

    position: relative;

    z-index: 10;

    background: var(--news-white);

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


.news-controls {

    min-height: 110px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


.news-filter-area {

    display: flex;

    align-items: center;

    gap: 24px;

    min-width: 0;
}


.news-filter-label {

    flex-shrink: 0;

    display: flex;

    align-items: center;

    gap: 7px;

    color: #8a8f97;

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .08em;
}


.news-filter-label i {

    font-size: 15px;

    color: var(--news-primary-dark);
}


.news-filters {

    display: flex;

    align-items: center;

    gap: 7px;

    flex-wrap: wrap;
}


.news-filter-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 40px;

    padding: 0 17px;

    border-radius: 100px;

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

    background: #fff;

    color: #656a72;

    font-size: 12px;

    font-weight: 700;

    transition: var(--news-transition);

    white-space: nowrap;
}


.news-filter-btn:hover {

    border-color: var(--news-primary);

    color: var(--news-black);

    transform: translateY(-1px);
}


.news-filter-btn.active {

    background: var(--news-black);

    border-color: var(--news-black);

    color: var(--news-white);

    box-shadow:
        0 7px 18px rgba(0,0,0,.12);
}


/* =========================================================
   SEARCH
========================================================= */

.news-search {

    display: flex;

    align-items: center;

    gap: 8px;

    flex-shrink: 0;
}


.news-search-box {

    position: relative;

    width: 230px;
}


.news-search-box input {

    width: 100%;

    height: 44px;

    padding:
        0 40px
        0 42px;

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

    border-radius: 100px;

    outline: none;

    background: var(--news-light);

    color: var(--news-text);

    font-size: 13px;

    transition: var(--news-transition);
}


.news-search-box input::placeholder {

    color: #a1a5ab;
}


.news-search-box input:focus {

    background: #fff;

    border-color: var(--news-primary);

    box-shadow:
        0 0 0 4px rgba(244,196,48,.1);
}


.news-search-icon {

    position: absolute;

    left: 17px;
    top: 50%;

    transform: translateY(-50%);

    z-index: 2;

    color: #969ba2;

    font-size: 17px;
}


.news-search-clear {

    position: absolute;

    right: 12px;
    top: 50%;

    transform: translateY(-50%);

    width: 25px;
    height: 25px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: #777c83;

    transition: .2s;
}


.news-search-clear:hover {

    background: #eceef0;

    color: #111;
}


.news-search-btn {
    height: 44px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    border-radius: 100px;
    cursor: pointer;
    background: var(--news-primary);
    color: white;
    font-size: 12px;
    font-weight: 800;
    transition: var(--news-transition);
}

.news-search-btn:hover {

    background: var(--news-primary-dark);

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(219,169,0,.2);
}


/* =========================================================
   NEWS LIST
========================================================= */

.news-list-section {

    padding:
        90px 0
        110px;

    background: #fff;
}


.news-section-header {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 48px;
}


.news-section-eyebrow {

    display: block;

    margin-bottom: 10px;

    color: var(--news-primary-dark);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .16em;
}


.news-section-title {

    font-size: clamp(
        38px,
        4vw,
        58px
    );

    line-height: 1;

    letter-spacing: -.045em;

    font-weight: 800;
}


.news-section-title span {

    color: var(--news-primary-dark);
}


.news-result-info {

    display: flex;

    align-items: center;

    gap: 8px;

    color: #858a91;

    font-size: 12px;

    line-height: 1.5;

    text-align: right;
}


.news-result-info strong {

    color: #25282c;

    font-weight: 750;
}


.news-result-dot {

    width: 7px;
    height: 7px;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--news-primary);
}


/* =========================================================
   NEWS GRID
========================================================= */

.news-grid {

    display: grid;

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

    gap: 28px;
}


/* =========================================================
   NEWS CARD
========================================================= */

.news-card {

    min-width: 0;

    overflow: hidden;

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

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

    background: #fff;

    box-shadow:
        0 4px 20px rgba(15,18,24,.025);

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


.news-card:hover {

    transform: translateY(-8px);

    border-color: #dedfe2;

    box-shadow:
        0 24px 55px rgba(15,18,24,.1);
}


/* =========================================================
   CARD IMAGE
========================================================= */

.news-card-image {

    position: relative;

    display: block;

    height: 265px;

    overflow: hidden;

    background: #e9ebee;
}


.news-card-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .7s cubic-bezier(.2,.8,.2,1);
}


.news-card:hover
.news-card-image img {

    transform: scale(1.07);
}


.news-card-placeholder {

    width: 100%;
    height: 100%;

    display: flex;

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

    flex-direction: column;

    gap: 8px;

    background:
        linear-gradient(
            135deg,
            #e9ebee,
            #f5f6f7
        );

    color: #a2a7ae;
}


.news-card-placeholder i {

    font-size: 38px;
}


.news-card-placeholder span {

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .1em;
}


.news-card-image-shade {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.05) 0%,
            rgba(0,0,0,.02) 45%,
            rgba(0,0,0,.5) 100%
        );

    opacity: .7;

    transition: .35s;
}


.news-card:hover
.news-card-image-shade {

    opacity: 1;
}


.news-image-category {

    position: absolute;

    top: 16px;
    left: 16px;

    padding:
        8px 12px;

    border-radius: 100px;

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

    color: #17191c;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .05em;

    text-transform: uppercase;

    box-shadow:
        0 5px 18px rgba(0,0,0,.12);
}


.news-card-read {

    position: absolute;

    right: 18px;
    bottom: 18px;

    display: flex;

    align-items: center;

    gap: 8px;

    color: #fff;

    font-size: 11px;

    font-weight: 800;

    opacity: 0;

    transform: translateY(8px);

    transition:
        opacity .35s ease,
        transform .35s ease;
}


.news-card:hover
.news-card-read {

    opacity: 1;

    transform: translateY(0);
}


.news-card-read i {

    width: 29px;
    height: 29px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--news-primary);

    color: var(--news-black);

    font-size: 15px;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.news-card-content {

    padding:
        24px
        24px
        21px;
}


.news-card-meta {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 14px;

    color: #90959c;

    font-size: 10px;

    font-weight: 750;

    text-transform: uppercase;

    letter-spacing: .06em;
}


.news-card-date {

    display: inline-flex;

    align-items: center;

    gap: 5px;
}


.news-card-date i {

    color: var(--news-primary-dark);

    font-size: 13px;
}


.news-card-meta-separator {

    color: #c4c7cb;
}


.news-card-meta-label {

    color: #9da1a7;
}


.news-card-title {

    min-height: 58px;

    margin-bottom: 12px;

    font-size: 21px;

    line-height: 1.28;

    letter-spacing: -.025em;

    font-weight: 800;
}


.news-card-title a {

    transition: color .25s ease;
}


.news-card-title a:hover {

    color: var(--news-primary-dark);
}


.news-card-excerpt {

    display: -webkit-box;

    -webkit-line-clamp: 3;

    -webkit-box-orient: vertical;

    overflow: hidden;

    min-height: 63px;

    color: #777c84;

    font-size: 13px;

    line-height: 1.65;
}


/* =========================================================
   CARD FOOTER
========================================================= */

.news-card-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-top: 21px;

    padding-top: 18px;

    border-top: 1px solid #eceef0;
}


.news-read-more {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: #181a1e;

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .07em;

    transition: var(--news-transition);
}


.news-read-icon {

    width: 29px;
    height: 29px;

    display: grid;
    place-items: center;

    border:
        1px solid #e1e3e6;

    border-radius: 50%;

    transition: var(--news-transition);
}


.news-read-more:hover {

    color: var(--news-primary-dark);
}


.news-read-more:hover
.news-read-icon {

    border-color: var(--news-primary);

    background: var(--news-primary);

    color: var(--news-black);

    transform: translateX(3px);
}


.news-card-number {

    color: #c4c7ca;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .1em;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.news-empty {

    min-height: 400px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    padding: 60px 25px;

    text-align: center;

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

    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            #fafafa,
            #fff
        );
}


.news-empty-icon {

    width: 70px;
    height: 70px;

    display: grid;
    place-items: center;

    margin-bottom: 22px;

    border-radius: 20px;

    background: #f4f5f6;

    color: var(--news-primary-dark);

    font-size: 28px;
}


.news-empty-eyebrow {

    margin-bottom: 9px;

    color: var(--news-primary-dark);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .15em;
}


.news-empty h2 {

    margin-bottom: 10px;

    font-size: 30px;

    letter-spacing: -.03em;
}


.news-empty p {

    max-width: 480px;

    margin-bottom: 25px;

    color: #777c83;

    font-size: 14px;

    line-height: 1.7;
}


.news-empty p strong {

    color: #22252a;
}


.news-empty-btn {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    min-height: 45px;

    padding: 0 19px;

    border-radius: 100px;

    background: var(--news-black);

    color: #fff;

    font-size: 12px;

    font-weight: 800;

    transition: var(--news-transition);
}


.news-empty-btn:hover {

    background: var(--news-primary);

    color: var(--news-black);

    transform: translateY(-2px);
}


/* =========================================================
   BOTTOM CTA
========================================================= */

.news-bottom-cta {

    padding:
        0 0
        100px;

    background: #fff;
}


.news-cta-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: 290px;
    padding: 55px 65px;
    overflow: hidden;
    border-radius: 28px;
    background: black;
    color: #fff;
}


.news-cta-decoration {

    position: absolute;

    right: -60px;
    bottom: -110px;

    width: 340px;
    height: 340px;

    pointer-events: none;
}


.news-cta-decoration span {

    position: absolute;

    inset: 0;

    border:
        1px solid rgba(244,196,48,.16);

    border-radius: 50%;
}


.news-cta-decoration span:nth-child(2) {

    inset: 45px;
}


.news-cta-decoration span:nth-child(3) {

    inset: 90px;
}


.news-cta-content {

    position: relative;

    z-index: 2;

    max-width: 670px;
}


.news-cta-eyebrow {

    display: block;

    margin-bottom: 15px;

    color: var(--news-primary);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .18em;
}


.news-cta-content h2 {

    margin-bottom: 14px;

    font-size: clamp(
        34px,
        4vw,
        54px
    );

    line-height: 1;

    letter-spacing: -.045em;
}


.news-cta-content h2 span {

    color: var(--news-primary);
}


.news-cta-content p {

    max-width: 580px;

    color: rgba(255,255,255,.57);

    font-size: 14px;

    line-height: 1.7;
}


.news-cta-button {

    position: relative;

    z-index: 2;

    flex-shrink: 0;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    min-height: 52px;

    padding:
        0 22px;

    border-radius: 100px;

    background: var(--news-primary);

    color: var(--news-black);

    font-size: 12px;

    font-weight: 800;

    transition: var(--news-transition);
}


.news-cta-button i {

    font-size: 17px;
}


.news-cta-button:hover {

    background: #fff;

    transform: translateY(-3px);

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


/* =========================================================
   1250 PX
========================================================= */

@media (max-width: 1250px) {

    .news-container {

        width: min(
            calc(100% - 50px),
            1150px
        );
    }


    .news-controls {

        align-items: flex-start;

        flex-direction: column;

        padding: 25px 0;
    }


    .news-filter-area {

        width: 100%;
    }


    .news-search {

        width: 100%;
    }


    .news-search-box {

        flex: 1;

        width: auto;
    }

}


/* =========================================================
   1000 PX
========================================================= */

@media (max-width: 1000px) {

    .news-hero {

        min-height: 500px;
    }


    .news-hero-content {

        padding: 80px 0;
    }


    .news-grid {

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

        gap: 22px;
    }


    .news-card-image {

        height: 250px;
    }


    .news-cta-box {

        padding:
            50px;
    }

}


/* =========================================================
   760 PX
========================================================= */

@media (max-width: 760px) {

    .news-container {

        width: calc(100% - 36px);
    }


    .news-hero {

        min-height: 470px;
    }


    .news-hero-content {

        padding:
            65px 0;
    }


    .news-hero-title {

        font-size:
            clamp(44px, 11vw, 65px);

        letter-spacing: -.05em;
    }


    .news-hero-description {

        max-width: 580px;

        font-size: 15px;

        line-height: 1.7;
    }


    .news-controls {

        gap: 22px;
    }


    .news-filter-area {

        display: block;
    }


    .news-filter-label {

        margin-bottom: 12px;
    }


    .news-filters {

        gap: 6px;
    }


    .news-filter-btn {

        min-height: 37px;

        padding: 0 14px;

        font-size: 11px;
    }


    .news-search {

        display: grid;

        grid-template-columns: 1fr auto;

        width: 100%;
    }


    .news-search-box {

        width: 100%;
    }


    .news-search-btn {

        padding:
            0 17px;
    }


    .news-section-header {

        align-items: flex-start;

        flex-direction: column;

        margin-bottom: 35px;

        gap: 18px;
    }


    .news-result-info {

        text-align: left;
    }


    .news-list-section {

        padding:
            70px 0
            80px;
    }


    .news-bottom-cta {

        padding-bottom: 70px;
    }


    .news-cta-box {

        align-items: flex-start;

        flex-direction: column;

        padding:
            42px 32px;

        min-height: 330px;
    }


    .news-cta-button {

        margin-top: 5px;
    }

}


/* =========================================================
   560 PX
========================================================= */

@media (max-width: 560px) {

    .news-container {

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


    .news-hero {

        min-height: 440px;
    }


    .news-hero-content {

        padding:
            55px 0;
    }


    .news-hero-eyebrow {

        margin-bottom: 20px;

        font-size: 10px;
    }


    .news-eyebrow-line {

        width: 28px;
    }


    .news-hero-title {

        font-size:
            clamp(40px, 12vw, 56px);

        line-height: 1.01;

        margin-bottom: 22px;
    }


    .news-hero-description {

        font-size: 14px;
    }


    .news-hero-bottom {

        margin-top: 32px;
    }


    .news-hero-scroll {

        font-size: 9px;
    }


    .news-scroll-icon {

        width: 34px;
        height: 34px;
    }


    .news-controls {

        padding:
            20px 0;
    }


    .news-search {

        grid-template-columns: 1fr;
    }


    .news-search-btn {

        width: 100%;
    }


    .news-search-box {

        width: 100%;
    }


    .news-grid {

        grid-template-columns: 1fr;

        gap: 20px;
    }


    .news-card-image {

        height: 235px;
    }


    .news-card-content {

        padding:
            21px
            20px
            19px;
    }


    .news-card-title {

        min-height: auto;

        font-size: 20px;
    }


    .news-card-excerpt {

        min-height: auto;
    }


    .news-section-title {

        font-size: 40px;
    }


    .news-cta-box {

        padding:
            38px 25px;

        border-radius: 22px;
    }


    .news-cta-content h2 {

        font-size: 35px;

        line-height: 1.05;
    }


    .news-cta-content p {

        font-size: 13px;
    }

}


/* =========================================================
   400 PX
========================================================= */

@media (max-width: 400px) {

    .news-container {

        width: calc(100% - 22px);
    }


    .news-hero {

        min-height: 415px;
    }


    .news-hero-content {

        padding:
            48px 0;
    }


    .news-hero-title {

        font-size: 39px;
    }


    .news-hero-description {

        font-size: 13px;

        line-height: 1.65;
    }


    .news-filter-btn {

        min-height: 35px;

        padding:
            0 12px;

        font-size: 10px;
    }


    .news-card-image {

        height: 215px;
    }


    .news-card-content {

        padding:
            19px 17px 17px;
    }


    .news-card-title {

        font-size: 18px;
    }


    .news-card-meta {

        font-size: 9px;
    }


    .news-card-excerpt {

        font-size: 12px;
    }


    .news-read-more {

        font-size: 10px;
    }


    .news-section-title {

        font-size: 35px;
    }


    .news-cta-box {

        padding:
            32px 20px;
    }


    .news-cta-content h2 {

        font-size: 31px;
    }


    .news-cta-button {

        width: 100%;

        justify-content: center;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

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

    *,
    *::before,
    *::after {

        scroll-behavior: auto !important;

        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;
    }

}