/* =========================================================
   CHANIARTOON PREMIUM NEWS
========================================================= */

.ct-news-page {
    --ct-news-ink: #191722;
    --ct-news-purple: #403b6e;
    --ct-news-purple-dark: #292548;
    --ct-news-violet: #b273e0;
    --ct-news-peach: #ffbf82;
    --ct-news-lime: #cfe977;
    --ct-news-paper: #fcfaf6;
    --ct-news-cream: #f2ede5;
    --ct-news-muted: #746f7d;
    --ct-news-line: rgba(25, 23, 34, 0.13);
    --ct-news-display: "Montserrat", "Avenir Next", "Segoe UI", Arial, sans-serif;
    --ct-news-sans: "Manrope", "Avenir Next", "Segoe UI", Arial, sans-serif;

    position: relative;
    left: 50%;
    width: 100vw;
    max-width: 100vw;
    margin-right: -50vw;
    margin-left: -50vw;
    overflow: hidden;
    color: var(--ct-news-ink);
    background: var(--ct-news-paper);
    font-family: var(--ct-news-sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.ct-news-page *,
.ct-news-page *::before,
.ct-news-page *::after {
    box-sizing: border-box;
}

.ct-news-page h1,
.ct-news-page h2,
.ct-news-page h3,
.ct-news-page p {
    margin-top: 0;
}

.ct-news-page a {
    color: inherit;
    text-decoration: none;
}

.ct-news-page em {
    color: var(--ct-news-violet);
    font-style: normal;
}

.ct-news-container {
    position: relative;
    width: min(1320px, calc(100% - 72px));
    margin-inline: auto;
}

.ct-news-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: var(--ct-news-purple);
    font-size: 11px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.ct-news-eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
}

.ct-news-eyebrow--light {
    color: var(--ct-news-peach);
}

.ct-news-section-number {
    display: block;
    margin-bottom: 20px;
    color: var(--ct-news-violet);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.18em;
}

.ct-news-section-number--light {
    color: var(--ct-news-peach);
}

.ct-news-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px 16px;
    color: var(--ct-news-violet);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ct-news-meta time {
    color: inherit;
    opacity: 0.72;
}

.ct-news-arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ct-news-purple) !important;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.ct-news-arrow-link span {
    font-size: 18px;
    transition: transform 0.24s ease;
}

.ct-news-arrow-link:hover span,
.ct-news-arrow-link:focus-visible span {
    transform: translate(3px, -3px);
}


/* REVEAL */

.ct-news-js [data-ct-news-reveal] {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition:
        opacity 0.72s ease,
        transform 0.84s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--ct-news-delay, 0ms);
}

.ct-news-js [data-ct-news-reveal].is-visible {
    opacity: 1;
    transform: none;
}


/* HERO */

.ct-news-hero {
    position: relative;
    min-height: 860px;
    padding: 128px 0 90px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 12% 18%, rgba(178, 115, 224, 0.19), transparent 28%),
        radial-gradient(circle at 92% 84%, rgba(207, 233, 119, 0.08), transparent 27%),
        linear-gradient(145deg, #15131d 0%, #242035 58%, #302b50 100%);
}

.ct-news-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image:
        linear-gradient(rgba(255,255,255,0.8) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.8) 1px, transparent 1px);
    background-size: 72px 72px;
}

.ct-news-hero__meta {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 25px;
    padding-bottom: 22px;
    color: var(--ct-news-peach);
    border-bottom: 1px solid rgba(255,255,255,0.18);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.ct-news-hero__issue {
    color: rgba(255,255,255,0.48);
}

.ct-news-hero__layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.45fr);
    gap: 18px;
    margin-top: 25px;
}

.ct-news-hero__main {
    position: relative;
    min-height: 660px;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
    overflow: hidden;
    background: #201d29;
    border: 1px solid rgba(255,255,255,0.12);
}

.ct-news-hero__image {
    position: relative;
    min-height: 660px;
    overflow: hidden;
    background: linear-gradient(135deg, #6c647c, #312c3c);
}

.ct-news-hero__image img,
.ct-news-hero__secondary-image img,
.ct-news-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.45s ease;
}

.ct-news-hero__main:hover .ct-news-hero__image img,
.ct-news-hero__secondary:hover .ct-news-hero__secondary-image img,
.ct-news-card:hover .ct-news-card__image img {
    transform: scale(1.045);
    filter: saturate(1.07);
}

.ct-news-hero__shade,
.ct-news-card__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(17,15,23,0.65), transparent 55%),
        linear-gradient(135deg, rgba(178,115,224,0.08), transparent 45%);
}

.ct-news-hero__number,
.ct-news-card__number {
    position: absolute;
    z-index: 2;
    bottom: 22px;
    left: 24px;
    color: #fff;
    font-family: var(--ct-news-display);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.13em;
}

.ct-news-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(38px, 5vw, 72px);
}

.ct-news-hero__content .ct-news-meta,
.ct-news-hero__secondary .ct-news-meta {
    color: var(--ct-news-peach);
}

.ct-news-hero h1 {
    margin: 23px 0 24px;
    color: #fff;
    font-family: var(--ct-news-display);
    font-size: clamp(50px, 5vw, 78px);
    font-weight: 760;
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.ct-news-hero h1 a,
.ct-news-hero h2 a {
    color: inherit;
}

.ct-news-hero__content p {
    margin-bottom: 30px;
    color: rgba(255,255,255,0.66);
    font-size: 15px;
    line-height: 1.75;
}

.ct-news-hero .ct-news-arrow-link {
    color: var(--ct-news-lime) !important;
}

.ct-news-hero__secondary {
    min-height: 660px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--ct-news-paper);
}

.ct-news-hero__secondary-image {
    position: relative;
    min-height: 350px;
    overflow: hidden;
    background: #665f72;
}

.ct-news-hero__secondary-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 28px;
}

.ct-news-hero__secondary h2 {
    margin: 19px 0 28px;
    color: var(--ct-news-purple-dark);
    font-family: var(--ct-news-display);
    font-size: clamp(31px, 3vw, 44px);
    font-weight: 740;
    line-height: 1;
    letter-spacing: -0.04em;
}

.ct-news-hero__secondary .ct-news-arrow-link {
    margin-top: auto;
    color: var(--ct-news-purple) !important;
}

.ct-news-hero__fallback {
    position: relative;
    z-index: 2;
    max-width: 920px;
    padding: 120px 0 90px;
}

.ct-news-hero__fallback h1 {
    max-width: 900px;
    font-size: clamp(68px, 8vw, 128px);
}

.ct-news-hero__fallback p {
    color: rgba(255,255,255,0.66);
    font-size: 18px;
}


/* MARQUEE */

.ct-news-marquee {
    overflow: hidden;
    color: var(--ct-news-ink);
    background: var(--ct-news-lime);
    border-top: 1px solid rgba(25,23,34,0.12);
    border-bottom: 1px solid rgba(25,23,34,0.12);
}

.ct-news-marquee__track {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 34px;
    padding: 17px 0;
    animation: ct-news-marquee 34s linear infinite;
}

.ct-news-marquee__track span {
    display: inline-flex;
    align-items: center;
    gap: 34px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.14em;
    white-space: nowrap;
}

.ct-news-marquee__track span::after {
    content: "✦";
    color: var(--ct-news-purple);
}

@keyframes ct-news-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}


/* INDEX */

.ct-news-index {
    padding: 120px 0 125px;
    background:
        radial-gradient(circle at 94% 2%, rgba(178,115,224,0.07), transparent 24%),
        var(--ct-news-paper);
}

.ct-news-index__head {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(330px, 0.7fr);
    align-items: end;
    gap: 75px;
    margin-bottom: 48px;
}

.ct-news-index__head h2,
.ct-news-closing h2 {
    margin: 18px 0 0;
    color: var(--ct-news-ink);
    font-family: var(--ct-news-display);
    font-size: clamp(57px, 6.7vw, 102px);
    font-weight: 760;
    line-height: 0.91;
    letter-spacing: -0.055em;
}

.ct-news-index__head > p {
    margin: 0;
    color: var(--ct-news-muted);
    font-size: 16px;
    line-height: 1.77;
}


/* FILTERS */

.ct-news-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 48px;
}

.ct-news-filter {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 19px;
    color: var(--ct-news-purple);
    background: transparent;
    border: 1px solid rgba(64,59,110,0.22);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition:
        color 0.22s ease,
        background-color 0.22s ease,
        border-color 0.22s ease,
        transform 0.22s ease;
}

.ct-news-filter:hover,
.ct-news-filter:focus-visible,
.ct-news-filter.is-active {
    color: #fff;
    background: var(--ct-news-purple);
    border-color: var(--ct-news-purple);
    transform: translateY(-2px);
}


/* EDITORIAL GRID */

.ct-news-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 18px;
}

.ct-news-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(25,23,34,0.1);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.ct-news-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 28px 54px rgba(41,37,72,0.11);
}

.ct-news-card--standard {
    grid-column: span 4;
}

.ct-news-card--lead {
    grid-column: span 8;
}

.ct-news-card--wide {
    grid-column: span 8;
}

.ct-news-card--tall {
    grid-column: span 4;
}

.ct-news-card__image {
    position: relative;
    min-height: 260px;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #8a8295, #3b3647);
}

.ct-news-card--lead .ct-news-card__image {
    min-height: 440px;
}

.ct-news-card--wide .ct-news-card__image {
    min-height: 330px;
}

.ct-news-card--tall .ct-news-card__image {
    min-height: 500px;
}

.ct-news-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 27px;
}

.ct-news-card h3 {
    margin: 17px 0 17px;
    color: var(--ct-news-purple-dark);
    font-family: var(--ct-news-display);
    font-size: 31px;
    font-weight: 730;
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.ct-news-card--lead h3,
.ct-news-card--wide h3 {
    font-size: clamp(37px, 4vw, 57px);
}

.ct-news-card p {
    margin-bottom: 25px;
    color: var(--ct-news-muted);
    font-size: 13px;
    line-height: 1.68;
}

.ct-news-card .ct-news-arrow-link {
    margin-top: auto;
}

.ct-news-empty {
    display: grid;
    min-height: 250px;
    place-items: center;
    color: var(--ct-news-muted);
    border: 1px solid var(--ct-news-line);
}


/* PAGINATION */

.ct-news-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-top: 65px;
}

.ct-news-pagination__number,
.ct-news-pagination__arrow {
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    color: var(--ct-news-purple);
    border: 1px solid rgba(64,59,110,0.22);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 900;
    transition:
        color 0.22s ease,
        background-color 0.22s ease,
        border-color 0.22s ease,
        transform 0.22s ease;
}

.ct-news-pagination__arrow {
    font-size: 18px;
}

.ct-news-pagination__number:hover,
.ct-news-pagination__number:focus-visible,
.ct-news-pagination__number.is-active,
.ct-news-pagination__arrow:hover,
.ct-news-pagination__arrow:focus-visible {
    color: #fff;
    background: var(--ct-news-purple);
    border-color: var(--ct-news-purple);
    transform: translateY(-2px);
}


/* CLOSING */

.ct-news-closing {
    padding: 120px 0;
    color: #fff;
    background:
        radial-gradient(circle at 15% 85%, rgba(178,115,224,0.17), transparent 27%),
        linear-gradient(140deg, #17151f, #2c2848);
}

.ct-news-closing__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(340px, 0.72fr);
    align-items: end;
    gap: 80px;
}

.ct-news-closing h2 {
    color: #fff;
}

.ct-news-closing__copy p {
    margin-bottom: 28px;
    color: rgba(255,255,255,0.67);
    font-size: 16px;
    line-height: 1.76;
}

.ct-news-pill {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 16px 23px;
    color: var(--ct-news-ink) !important;
    background: var(--ct-news-lime);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    transition: transform 0.24s ease;
}

.ct-news-pill:hover,
.ct-news-pill:focus-visible {
    transform: translateY(-3px);
}


/* RESPONSIVE */

@media (max-width: 1180px) {
    .ct-news-container {
        width: min(100% - 48px, 1040px);
    }

    .ct-news-hero__layout {
        grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
    }

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

    .ct-news-hero__image {
        min-height: 390px;
    }

    .ct-news-hero__main,
    .ct-news-hero__secondary {
        min-height: auto;
    }
}

@media (max-width: 900px) {
    .ct-news-hero {
        min-height: auto;
        padding: 118px 0 78px;
    }

    .ct-news-hero__layout,
    .ct-news-index__head,
    .ct-news-closing__grid {
        grid-template-columns: 1fr;
    }

    .ct-news-hero__secondary {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .ct-news-hero__secondary-image {
        min-height: 330px;
    }

    .ct-news-index__head,
    .ct-news-closing__grid {
        gap: 38px;
    }

    .ct-news-card--standard,
    .ct-news-card--lead,
    .ct-news-card--wide,
    .ct-news-card--tall {
        grid-column: span 6;
    }

    .ct-news-card--lead .ct-news-card__image,
    .ct-news-card--wide .ct-news-card__image,
    .ct-news-card--tall .ct-news-card__image {
        min-height: 340px;
    }
}

@media (max-width: 620px) {
    .ct-news-container {
        width: calc(100% - 28px);
    }

    .ct-news-hero__meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .ct-news-hero__image {
        min-height: 340px;
    }

    .ct-news-hero__secondary {
        display: flex;
    }

    .ct-news-hero h1,
    .ct-news-index__head h2,
    .ct-news-closing h2 {
        font-size: clamp(43px, 13vw, 66px);
    }

    .ct-news-index,
    .ct-news-closing {
        padding: 84px 0;
    }

    .ct-news-filters {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .ct-news-filter {
        width: 100%;
        padding-inline: 12px;
    }

    .ct-news-grid {
        display: block;
    }

    .ct-news-card {
        margin-bottom: 16px;
    }

    .ct-news-card__image,
    .ct-news-card--lead .ct-news-card__image,
    .ct-news-card--wide .ct-news-card__image,
    .ct-news-card--tall .ct-news-card__image {
        min-height: 300px;
    }

    .ct-news-card__body {
        padding: 24px 21px;
    }

    .ct-news-card h3,
    .ct-news-card--lead h3,
    .ct-news-card--wide h3 {
        font-size: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ct-news-page *,
    .ct-news-page *::before,
    .ct-news-page *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .ct-news-js [data-ct-news-reveal] {
        opacity: 1;
        transform: none;
    }
}

ct-news-hero__content,
.ct-news-hero__secondary-content {
    min-width: 0;
}

/* Κεντρικός Featured τίτλος */

.ct-news-hero__content {
    padding: clamp(34px, 3vw, 48px);
}

.ct-news-hero h1 {
    max-width: 100%;
    margin: 22px 0 24px;

    font-size: clamp(42px, 3.8vw, 62px);
    line-height: 0.96;
    letter-spacing: -0.045em;

    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
    text-wrap: balance;
}

/* Δεύτερος Featured τίτλος */

.ct-news-hero__secondary h2 {
    max-width: 100%;

    font-size: clamp(30px, 2.7vw, 43px);
    line-height: 1;
    letter-spacing: -0.035em;

    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
    text-wrap: balance;
}

/* Περισσότερος χώρος για το κείμενο σε μεγάλες οθόνες */

@media (min-width: 1181px) {
    .ct-news-hero__main {
        grid-template-columns:
            minmax(0, 1.08fr)
            minmax(370px, 0.92fr);
    }
}

/* Tablet */

@media (max-width: 1180px) {
    .ct-news-hero h1 {
        font-size: clamp(43px, 6vw, 64px);
    }
}

/* Mobile */

@media (max-width: 620px) {
    .ct-news-hero__content {
        padding: 30px 22px 34px;
    }

    .ct-news-hero h1 {
        font-size: clamp(39px, 12vw, 56px);
        line-height: 0.97;
    }

    .ct-news-hero__secondary h2 {
        font-size: clamp(30px, 9vw, 40px);
    }
}
