:root {
    --athena-blue: #0b3d91;
    --athena-blue-dark: #061f4a;
    --athena-blue-deep: #03142f;
    --athena-gold: #d4af37;
    --athena-gold-light: #f0d77a;
    --athena-white: #ffffff;
}


.athena-hero {
    position: relative;
    width: 100%;
    min-height: 100svh;
    overflow: hidden;

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

    isolation: isolate;
    background: var(--athena-blue-deep);
}


.athena-hero__image {
    position: absolute;
    inset: -4%;

    width: 108%;
    height: 108%;

    object-fit: cover;
    object-position: center;

    z-index: -3;

    animation: athenaHeroZoom 18s ease-out forwards;
}


.athena-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -2;

    background:
        linear-gradient(
            90deg,
            rgba(3, 20, 47, 0.88) 0%,
            rgba(6, 31, 74, 0.55) 45%,
            rgba(11, 61, 145, 0.25) 100%
        );
}


.athena-hero::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -1;

    background:
        radial-gradient(
            circle at center,
            transparent 20%,
            rgba(0, 0, 0, 0.35) 100%
        );
}


.athena-hero__content {
    position: relative;
    z-index: 2;

    width: min(1100px, 90%);

    text-align: center;
    color: var(--athena-white);

    animation: athenaHeroContent 1.2s ease-out both;
}


.athena-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 24px;

    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;

    color: var(--athena-gold-light);
}


.athena-hero__eyebrow::before,
.athena-hero__eyebrow::after {
    content: "";

    display: block;

    width: 42px;
    height: 1px;

    background: var(--athena-gold);
}


.athena-hero__title {
    margin: 0;

    font-size: clamp(4rem, 11vw, 9rem);
    line-height: 0.9;

    font-weight: 800;
    letter-spacing: -0.055em;

    color: var(--athena-white);

    text-shadow:
        0 8px 35px rgba(0, 0, 0, 0.35);
}


.athena-hero__subtitle {
    max-width: 720px;

    margin: 32px auto 0;

    font-size: clamp(1.15rem, 2vw, 1.65rem);
    line-height: 1.5;

    font-weight: 400;

    color: rgba(255, 255, 255, 0.92);
}


.athena-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 42px;
    padding: 15px 32px;

    border: 1px solid var(--athena-gold);
    border-radius: 999px;

    background: var(--athena-gold);

    color: var(--athena-blue-deep);

    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    text-decoration: none;

    transition:
        transform 300ms ease,
        background 300ms ease,
        color 300ms ease,
        box-shadow 300ms ease;
}


.athena-hero__button:hover {
    transform: translateY(-3px);

    background: var(--athena-gold-light);

    color: var(--athena-blue-deep);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.25);
}


.athena-hero__scroll {
    position: absolute;

    left: 50%;
    bottom: 28px;

    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;

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

    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}


.athena-hero__scroll-line {
    width: 1px;
    height: 45px;

    background: var(--athena-gold);

    animation: athenaScroll 1.8s ease-in-out infinite;
}


@keyframes athenaHeroZoom {

    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }

}


@keyframes athenaHeroContent {

    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes athenaScroll {

    0%,
    100% {
        transform: scaleY(0.45);
        transform-origin: top;
        opacity: 0.4;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
        opacity: 1;
    }

}


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

    .athena-hero__image,
    .athena-hero__content,
    .athena-hero__scroll-line {
        animation: none;
    }

}


@media (max-width: 768px) {

    .athena-hero {
        min-height: 90svh;
    }

    .athena-hero__image {
        object-position: center;
    }

    .athena-hero__content {
        width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
        box-sizing: border-box;
    }

    .athena-hero__title {
        font-size: clamp(2.8rem, 13vw, 4.5rem);
        white-space: nowrap;
        letter-spacing: 0.04em;
    }

    .athena-hero__eyebrow {
        font-size: 0.7rem;
        letter-spacing: 0.18em;
    }

    .athena-hero__eyebrow::before,
    .athena-hero__eyebrow::after {
        width: 25px;
    }

    .athena-hero__subtitle {
        margin-top: 24px;
    }

    .athena-hero__button {
        margin-top: 32px;
    }

}

.athena-featured,
.athena-latest {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}


.athena-section-heading {
    padding: 110px 0 70px;
    text-align: center;
}

.athena-section-heading__eyebrow {
    display: block;
    margin-bottom: 14px;

    color: var(--athena-gold);

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.athena-section-heading h2 {
    margin: 0;

    color: var(--athena-blue-dark);

    font-size: clamp(2.4rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.athena-section-heading p {
    max-width: 620px;
    margin: 22px auto 0;

    color: #596579;

    font-size: 1.05rem;
    line-height: 1.7;
}


.athena-featured-item {
    display: grid;
    grid-template-columns: minmax(280px, 38%) 1fr;
    gap: clamp(40px, 7vw, 100px);

    align-items: center;

    padding: 55px 0;

    border-top: 1px solid rgba(11, 61, 145, 0.14);
}

.athena-featured-item:last-child {
    border-bottom: 1px solid rgba(11, 61, 145, 0.14);
}


.athena-featured-item__image {
    position: relative;

    display: block;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #eef3f9;
}

.athena-featured-item__image::after {
    content: "";

    position: absolute;
    inset: 0;

    border: 1px solid rgba(212, 175, 55, 0.35);

    pointer-events: none;
}

.athena-featured-item__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 700ms cubic-bezier(.2,.7,.2,1),
        filter 500ms ease;
}

.athena-featured-item:hover
.athena-featured-item__image img {
    transform: scale(1.045);

    filter: saturate(1.05);
}


.athena-featured-item__content {
    max-width: 650px;
}

.athena-featured-item__number {
    display: block;

    margin-bottom: 18px;

    color: var(--athena-gold);

    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
}

.athena-featured-item__content h3 {
    margin: 0;

    font-size: clamp(2rem, 3.5vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.athena-featured-item__content h3 a {
    color: var(--athena-blue-dark);
    text-decoration: none;

    transition: color 250ms ease;
}

.athena-featured-item__content h3 a:hover {
    color: var(--athena-blue);
}

.athena-featured-item__line {
    display: block;

    width: 58px;
    height: 2px;

    margin: 28px 0;

    background: var(--athena-gold);
}

.athena-featured-item__content p {
    max-width: 580px;

    margin: 0 0 28px;

    color: #596579;

    font-size: 1.05rem;
    line-height: 1.8;
}

.athena-featured-item__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: var(--athena-blue);

    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        gap 250ms ease,
        color 250ms ease;
}

.athena-featured-item__link span {
    color: var(--athena-gold);

    font-size: 1.25rem;
    line-height: 1;
}

.athena-featured-item__link:hover {
    gap: 18px;
    color: var(--athena-blue-dark);
}


.athena-divider {
    position: relative;

    min-height: 420px;

    margin: 120px 0 0;

    overflow: hidden;
}

.athena-divider img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform: scale(1.04);
}

.athena-divider__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3, 20, 47, 0.82),
            rgba(11, 61, 145, 0.48),
            rgba(3, 20, 47, 0.72)
        );
}

.athena-divider__content {
    position: relative;
    z-index: 1;

    min-height: 420px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;

    padding: 40px;

    color: var(--athena-white);

    font-size: clamp(0.75rem, 1.2vw, 1rem);
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;

    text-align: center;
}

.athena-divider__content span:nth-child(even) {
    color: var(--athena-gold);
}


.athena-latest {
    padding-bottom: 30px;
}

.athena-latest + .wp-block-query {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto 120px;
}

.athena-latest + .wp-block-query .wp-block-post-template {
    list-style: none;
    margin: 0;
    padding: 0;
}

.athena-latest + .wp-block-query .wp-block-post {
    margin: 0;
    padding: 28px 0;

    border-bottom: 1px solid rgba(11, 61, 145, 0.14);
}


@media (max-width: 768px) {

    .athena-featured,
    .athena-latest {
        width: min(100% - 32px, 680px);
    }

    .athena-section-heading {
        padding: 75px 0 45px;
    }

    .athena-section-heading h2 {
        font-size: clamp(2.2rem, 11vw, 3.5rem);
    }

    .athena-section-heading p {
        font-size: 0.95rem;
    }

    .athena-featured-item {
        grid-template-columns: 1fr;
        gap: 30px;

        padding: 42px 0;
    }

    .athena-featured-item__image {
        width: 100%;
    }

    .athena-featured-item__content {
        max-width: none;
    }

    .athena-featured-item__content h3 {
        font-size: clamp(1.9rem, 9vw, 3rem);
    }

    .athena-featured-item__content p {
        font-size: 0.98rem;
        line-height: 1.7;
    }

    .athena-divider {
        min-height: 300px;
        margin-top: 75px;
    }

    .athena-divider__content {
        min-height: 300px;

        flex-wrap: wrap;

        gap: 10px 14px;

        padding: 30px 20px;

        font-size: 0.68rem;
        letter-spacing: 0.16em;
    }

    .athena-latest + .wp-block-query {
        width: min(100% - 32px, 680px);
        margin-bottom: 80px;
    }

}

.athena-latest + .wp-block-query .wp-block-post {
    display: grid;
    grid-template-columns: 45% minmax(0, 1fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: center;

    margin: 0;
    padding: 36px 0;

    border-bottom: 1px solid rgba(11, 61, 145, 0.14);
}

/* IMMAGINE ARTICOLO */
.athena-latest + .wp-block-query .wp-block-post-featured-image {
    width: 100%;
    aspect-ratio: 16 / 9;

    margin: 0;
    overflow: hidden;

    background: #eef3f9;
}

/* FOTO */
.athena-latest + .wp-block-query .wp-block-post-featured-image img {
    display: block;

    width: 100%;
    height: 100%;
    max-width: none;

    object-fit: cover;
    object-position: center;

    transition:
        transform 500ms ease,
        filter 400ms ease;
}

/* EFFETTO HOVER */
.athena-latest + .wp-block-query .wp-block-post:hover
.wp-block-post-featured-image img {
    transform: scale(1.035);
}

/* CONTENUTO ARTICOLO */
.athena-latest + .wp-block-query .wp-block-post-title {
    margin-top: 0;
}

/* MOBILE */
@media (max-width: 768px) {

    .athena-latest + .wp-block-query .wp-block-post {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 0;
    }

    .athena-latest + .wp-block-query .wp-block-post-featured-image {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .athena-latest + .wp-block-query .wp-block-post-featured-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

}


.athena-latest + .wp-block-query .wp-block-post {
    display: grid;
    grid-template-columns: 55% minmax(0, 1fr);
    gap: clamp(30px, 4vw, 56px);
    align-items: center;

    margin: 0;
    padding: 42px 0;

    border-bottom: 1px solid rgba(11, 61, 145, 0.14);
}

/* CONTENITORE IMMAGINE */
.athena-latest + .wp-block-query .wp-block-post-featured-image {
    width: 100%;
    margin: 0;

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

    overflow: hidden;

    background: #eef3f9;
}

/* IMMAGINE COMPLETA — NON VIENE TAGLIATA */
.athena-latest + .wp-block-query .wp-block-post-featured-image img {
    display: block;

    width: 100%;
    height: auto;

    max-width: none;

    object-fit: contain;
    object-position: center;

    transition:
        transform 500ms ease,
        filter 400ms ease;
}

/* HOVER */
.athena-latest + .wp-block-query .wp-block-post:hover
.wp-block-post-featured-image img {
    transform: scale(1.02);
}

/* TITOLO */
.athena-latest + .wp-block-query .wp-block-post-title {
    margin-top: 0;
}

@media (max-width: 768px) {

    .athena-latest + .wp-block-query .wp-block-post {
        grid-template-columns: 1fr;
        gap: 24px;

        padding: 32px 0;
    }

    .athena-latest + .wp-block-query .wp-block-post-featured-image {
        width: 100%;
    }

    .athena-latest + .wp-block-query .wp-block-post-featured-image img {
        width: 100%;
        height: auto;

        object-fit: contain;
    }

}


.athena-latest + .wp-block-query .wp-block-post {
    display: grid;
    grid-template-columns: 65% minmax(0, 1fr);
    gap: 40px;
    align-items: center;

    margin: 0;
    padding: 42px 0;

    border-bottom: 1px solid rgba(11, 61, 145, 0.14);
}

/* CONTENITORE IMMAGINE */
.athena-latest + .wp-block-query .wp-block-post-featured-image {
    width: 100%;
    margin: 0;

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

    overflow: hidden;

    background: #eef3f9;
}

/* IMMAGINE — VISIBILE INTERAMENTE */
.athena-latest + .wp-block-query .wp-block-post-featured-image img {
    display: block;

    width: 100%;
    height: auto;

    max-width: none;

    object-fit: contain;
    object-position: center;

    transition: transform 500ms ease;
}

/* LEGGERO HOVER */
.athena-latest + .wp-block-query .wp-block-post:hover
.wp-block-post-featured-image img {
    transform: scale(1.015);
}

/* TITOLO */
.athena-latest + .wp-block-query .wp-block-post-title {
    margin-top: 0;
}

@media (max-width: 768px) {

    .athena-latest + .wp-block-query .wp-block-post {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 0;
    }

    .athena-latest + .wp-block-query .wp-block-post-featured-image {
        width: 100%;
    }

    .athena-latest + .wp-block-query .wp-block-post-featured-image img {
        width: 100%;
        height: auto;
    }

}


/* ============================================================
   ATHENANET — LATEST ARTICLES
   Natural image proportions
   ============================================================ */

.athena-latest + .wp-block-query .wp-block-post {
    display: grid;
    grid-template-columns: 65% minmax(0, 1fr);
    gap: 40px;
    align-items: center;

    margin: 0;
    padding: 42px 0;

    border-bottom: 1px solid rgba(11, 61, 145, 0.14);
}

/* CONTENITORE NATURALE */
.athena-latest + .wp-block-query .wp-block-post-featured-image {
    width: 100%;
    height: auto;

    margin: 0;
    padding: 0;

    overflow: hidden;

    background: transparent;
}

/* IMMAGINE — MANTIENE LE PROPRIE PROPORZIONI */
.athena-latest + .wp-block-query .wp-block-post-featured-image img {
    display: block;

    width: 100%;
    height: auto;

    max-width: none;

    object-fit: initial;
    object-position: initial;

    transition: transform 500ms ease;
}

/* HOVER */
.athena-latest + .wp-block-query .wp-block-post:hover
.wp-block-post-featured-image img {
    transform: scale(1.015);
}

/* TITOLO */
.athena-latest + .wp-block-query .wp-block-post-title {
    margin-top: 0;
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 768px) {

    .athena-latest + .wp-block-query .wp-block-post {
        grid-template-columns: 1fr;
        gap: 24px;

        padding: 32px 0;
    }

    .athena-latest + .wp-block-query .wp-block-post-featured-image {
        width: 100%;
        height: auto;
    }

    .athena-latest + .wp-block-query .wp-block-post-featured-image img {
        width: 100%;
        height: auto;
    }

}



/* ============================================================
   ATHENANET COMMUNITY
   ============================================================ */

.athena-community-page {
    --community-blue: var(--athena-blue);
    --community-blue-dark: var(--athena-blue-dark);
    --community-blue-deep: var(--athena-blue-deep);
    --community-gold: var(--athena-gold);
    --community-gold-light: var(--athena-gold-light);

    width: 100vw;
    max-width: 100vw;

    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    overflow: hidden;

    background: #ffffff;
    color: var(--community-blue-deep);
}


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

.athena-community-hero {
    position: relative;

    width: 100%;
    min-height: 620px;

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

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(11, 61, 145, 0.45),
            transparent 45%
        ),
        linear-gradient(
            135deg,
            var(--community-blue-deep) 0%,
            var(--community-blue-dark) 55%,
            var(--community-blue) 100%
        );

    isolation: isolate;
}


/* Decorative glow */

.athena-community-hero::before {
    content: "";

    position: absolute;
    inset: -20%;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(212, 175, 55, 0.12),
            transparent 32%
        );

    pointer-events: none;

    z-index: -1;
}


/* Decorative gold line */

.athena-community-hero::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: min(900px, 80%);
    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--community-gold),
            transparent
        );

    opacity: 0.75;
}


/* Hero content */

.athena-community-hero__content {
    width: min(900px, 92%);

    padding: 90px 24px;

    text-align: center;

    color: #ffffff;
}


/* Logo */

.athena-community-hero__brand {
    display: flex;

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

    margin-bottom: 30px;
}

.athena-community-hero__brand img {
    display: block;

    width: clamp(110px, 15vw, 170px);
    height: auto;

    object-fit: contain;

    filter:
        drop-shadow(0 15px 30px rgba(0, 0, 0, 0.35));
}


/* Eyebrow */

.athena-community-hero__eyebrow {
    display: inline-flex;

    align-items: center;
    gap: 14px;

    margin-bottom: 20px;

    color: var(--community-gold-light);

    font-size: 0.78rem;
    font-weight: 700;

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

.athena-community-hero__eyebrow::before,
.athena-community-hero__eyebrow::after {
    content: "";

    display: block;

    width: 38px;
    height: 1px;

    background: var(--community-gold);
}


/* Title */

.athena-community-hero__title {
    margin: 0;

    color: #ffffff;

    font-size: clamp(3.2rem, 7vw, 6.5rem);
    font-weight: 800;

    line-height: 0.95;
    letter-spacing: -0.055em;

    text-shadow:
        0 12px 40px rgba(0, 0, 0, 0.35);
}


/* Subtitle */

.athena-community-hero__subtitle {
    max-width: 700px;

    margin: 28px auto 0;

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

    font-size: clamp(1.05rem, 2vw, 1.35rem);

    line-height: 1.65;
}


/* Main button */

.athena-community-hero__button {
    display: inline-flex;

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

    margin-top: 38px;

    min-height: 54px;

    padding: 0 30px;

    border: 1px solid var(--community-gold);
    border-radius: 999px;

    background: var(--community-gold);

    color: var(--community-blue-deep);

    font-size: 0.78rem;
    font-weight: 800;

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

    text-decoration: none;

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

    transition:
        transform 220ms ease,
        background 220ms ease,
        box-shadow 220ms ease;
}

.athena-community-hero__button:hover {
    transform: translateY(-3px);

    background: var(--community-gold-light);

    color: var(--community-blue-deep);

    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.30);
}


/* ============================================================
   INTRODUCTION
   ============================================================ */

.athena-community-intro {
    width: min(1180px, 92%);

    margin: 0 auto;

    padding: 110px 0 120px;
}


/* Section heading */

.athena-community-section-heading {
    max-width: 760px;

    margin: 0 auto 60px;

    text-align: center;
}

.athena-community-section-heading > span {
    display: block;

    margin-bottom: 16px;

    color: var(--community-blue);

    font-size: 0.75rem;
    font-weight: 800;

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

.athena-community-section-heading h2 {
    margin: 0;

    color: var(--community-blue-deep);

    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.1;

    letter-spacing: -0.035em;
}

.athena-community-section-heading p {
    max-width: 700px;

    margin: 24px auto 0;

    color: #526174;

    font-size: 1.08rem;

    line-height: 1.75;
}


/* ============================================================
   COMMUNITY CARDS
   ============================================================ */

.athena-community-cards {
    display: grid;

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

    gap: 26px;
}


.athena-community-card {
    position: relative;

    padding: 38px 32px;

    border: 1px solid #e5eaf1;
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 12px 40px rgba(6, 31, 74, 0.07);

    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        border-color 220ms ease;
}

.athena-community-card:hover {
    transform: translateY(-6px);

    border-color: rgba(212, 175, 55, 0.65);

    box-shadow:
        0 20px 50px rgba(6, 31, 74, 0.12);
}


/* Gold accent */

.athena-community-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 32px;

    width: 45px;
    height: 3px;

    border-radius: 0 0 4px 4px;

    background: var(--community-gold);
}


/* Card icon */

.athena-community-card__icon {
    display: flex;

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

    width: 54px;
    height: 54px;

    margin-bottom: 24px;

    border-radius: 14px;

    background: #eef4ff;

    font-size: 1.5rem;
}


/* Card title */

.athena-community-card h3 {
    margin: 0 0 12px;

    color: var(--community-blue-deep);

    font-size: 1.35rem;
    font-weight: 750;
}


/* Card text */

.athena-community-card p {
    margin: 0;

    color: #5e6b7b;

    font-size: 0.98rem;

    line-height: 1.7;
}


/* ============================================================
   LEMMY SECTION
   ============================================================ */

.athena-community-lemmy {
    position: relative;

    width: 100%;

    padding: 105px 24px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(11, 61, 145, 0.42),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            var(--community-blue-deep),
            var(--community-blue-dark)
        );

    color: #ffffff;
}


/* Decorative gold circle */

.athena-community-lemmy::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -180px;
    bottom: -220px;

    border: 1px solid rgba(212, 175, 55, 0.35);

    border-radius: 50%;
}


/* Lemmy content */

.athena-community-lemmy__content {
    position: relative;

    width: min(850px, 100%);

    margin: 0 auto;

    text-align: center;
}


/* Eyebrow */

.athena-community-section-heading__eyebrow {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--community-gold-light);

    font-size: 0.75rem;
    font-weight: 800;

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


/* Lemmy title */

.athena-community-lemmy h2 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(2.2rem, 5vw, 4rem);

    line-height: 1.05;

    letter-spacing: -0.04em;
}


/* Lemmy text */

.athena-community-lemmy p {
    max-width: 720px;

    margin: 25px auto 0;

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

    font-size: 1.08rem;

    line-height: 1.75;
}


/* Lemmy button */

.athena-community-lemmy__button {
    display: inline-flex;

    align-items: center;
    gap: 12px;

    margin-top: 34px;

    min-height: 54px;

    padding: 0 28px;

    border: 1px solid rgba(212, 175, 55, 0.9);
    border-radius: 999px;

    background: transparent;

    color: var(--community-gold-light);

    font-size: 0.78rem;
    font-weight: 800;

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

    text-decoration: none;

    transition:
        background 220ms ease,
        color 220ms ease,
        transform 220ms ease;
}

.athena-community-lemmy__button span {
    font-size: 1.2rem;

    transition: transform 220ms ease;
}

.athena-community-lemmy__button:hover {
    transform: translateY(-3px);

    background: var(--community-gold);

    color: var(--community-blue-deep);
}

.athena-community-lemmy__button:hover span {
    transform: translateX(4px);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {

    .athena-community-cards {
        grid-template-columns: 1fr;
    }

    .athena-community-card {
        padding: 34px 28px;
    }

}


@media (max-width: 768px) {

    .athena-community-hero {
        min-height: 560px;
    }

    .athena-community-hero__content {
        padding: 75px 20px;
    }

    .athena-community-hero__brand img {
        width: 125px;
    }

    .athena-community-hero__eyebrow {
        font-size: 0.68rem;

        letter-spacing: 0.18em;
    }

    .athena-community-hero__eyebrow::before,
    .athena-community-hero__eyebrow::after {
        width: 24px;
    }

    .athena-community-hero__subtitle {
        font-size: 1rem;
    }

    .athena-community-intro {
        padding: 80px 0 90px;
    }

    .athena-community-section-heading {
        margin-bottom: 45px;
    }

    .athena-community-section-heading p {
        font-size: 1rem;
    }

    .athena-community-lemmy {
        padding: 85px 20px;
    }

}


@media (max-width: 480px) {

    .athena-community-hero__content {
        padding-left: 15px;
        padding-right: 15px;
    }

    .athena-community-hero__button,
    .athena-community-lemmy__button {
        width: 100%;
        max-width: 330px;
    }

    .athena-community-card {
        padding: 32px 24px;
    }

}


/* ============================================================
   ATHENANET COMMUNITY
   ============================================================ */

.athena-community-hero {
    position: relative;

    width: 100%;
    min-height: 85svh;

    overflow: hidden;

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

    isolation: isolate;

    background: var(--athena-blue-deep);
}


.athena-community-hero__image {
    position: absolute;

    inset: -4%;

    width: 108%;
    height: 108%;

    object-fit: cover;
    object-position: center;

    z-index: -3;

    animation: athenaCommunityHeroZoom 18s ease-out forwards;
}


.athena-community-hero__overlay {
    position: absolute;

    inset: 0;

    z-index: -2;

    background:
        linear-gradient(
            90deg,
            rgba(3, 20, 47, 0.88) 0%,
            rgba(6, 31, 74, 0.55) 45%,
            rgba(11, 61, 145, 0.25) 100%
        );
}


.athena-community-hero::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: -1;

    background:
        radial-gradient(
            circle at center,
            transparent 20%,
            rgba(0, 0, 0, 0.35) 100%
        );
}


.athena-community-hero__content {
    position: relative;

    z-index: 2;

    width: min(1100px, 90%);

    text-align: center;

    color: var(--athena-white);

    animation:
        athenaCommunityHeroContent 1.2s ease-out both;
}


.athena-community-hero__eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 24px;

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

    letter-spacing: 0.28em;

    text-transform: uppercase;

    color: var(--athena-gold-light);
}


.athena-community-hero__eyebrow::before,
.athena-community-hero__eyebrow::after {
    content: "";

    display: block;

    width: 42px;
    height: 1px;

    background: var(--athena-gold);
}


.athena-community-hero__title {
    margin: 0;

    color: var(--athena-white);

    font-size: clamp(4rem, 10vw, 8rem);

    line-height: 0.9;

    font-weight: 800;

    letter-spacing: -0.055em;

    text-shadow:
        0 8px 35px rgba(0, 0, 0, 0.35);
}


.athena-community-hero__subtitle {
    max-width: 720px;

    margin: 32px auto 0;

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

    font-size: clamp(1.15rem, 2vw, 1.65rem);

    line-height: 1.5;

    font-weight: 400;
}


.athena-community-hero__button {
    display: inline-flex;

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

    margin-top: 42px;

    padding: 15px 32px;

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

    border-radius: 999px;

    background: var(--athena-gold);

    color: var(--athena-blue-deep);

    font-size: 0.85rem;

    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    text-decoration: none;

    transition:
        transform 300ms ease,
        background 300ms ease,
        color 300ms ease,
        box-shadow 300ms ease;
}


.athena-community-hero__button:hover {
    transform: translateY(-3px);

    background: var(--athena-gold-light);

    color: var(--athena-blue-deep);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.25);
}


.athena-community-hero__scroll {
    position: absolute;

    left: 50%;
    bottom: 28px;

    transform: translateX(-50%);

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

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

    font-size: 0.65rem;

    letter-spacing: 0.2em;

    text-transform: uppercase;
}


.athena-community-hero__scroll-line {
    width: 1px;
    height: 45px;

    background: var(--athena-gold);

    animation:
        athenaCommunityScroll 1.8s ease-in-out infinite;
}


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

.athena-community-intro {
    width: min(1180px, calc(100% - 48px));

    margin: 0 auto;

    padding: 110px 0 105px;

    text-align: center;
}


.athena-community-section-heading {
    max-width: 760px;

    margin: 0 auto;
}


.athena-community-section-heading__eyebrow {
    display: block;

    margin-bottom: 14px;

    color: var(--athena-gold);

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.28em;

    text-transform: uppercase;
}


.athena-community-section-heading h2 {
    margin: 0;

    color: var(--athena-blue-dark);

    font-size: clamp(2.4rem, 5vw, 4.5rem);

    font-weight: 700;

    line-height: 1.05;

    letter-spacing: -0.025em;
}


.athena-community-section-heading p {
    max-width: 650px;

    margin: 24px auto 0;

    color: #596579;

    font-size: 1.05rem;

    line-height: 1.8;
}


/* ============================================================
   COMMUNITY PLATFORM
   ============================================================ */

.athena-community-platform {
    position: relative;

    width: 100%;

    padding: 115px 24px;

    background: var(--athena-blue-deep);

    overflow: hidden;

    isolation: isolate;
}


.athena-community-platform::before {
    content: "";

    position: absolute;

    inset: 0;

    z-index: -1;

    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(11, 61, 145, 0.55),
            transparent 40%
        );
}


.athena-community-platform::after {
    content: "";

    position: absolute;

    left: 50%;

    bottom: -250px;

    width: 600px;
    height: 600px;

    transform: translateX(-50%);

    border: 1px solid rgba(212, 175, 55, 0.18);

    border-radius: 50%;

    z-index: -1;
}


.athena-community-platform__content {
    max-width: 780px;

    margin: 0 auto;

    text-align: center;

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


.athena-community-platform__eyebrow {
    display: block;

    margin-bottom: 18px;

    color: var(--athena-gold-light);

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.28em;

    text-transform: uppercase;
}


.athena-community-platform h2 {
    margin: 0;

    color: var(--athena-white);

    font-size: clamp(2.5rem, 5vw, 4.5rem);

    line-height: 1.05;

    letter-spacing: -0.03em;
}


.athena-community-platform p {
    max-width: 680px;

    margin: 25px auto 0;

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

    font-size: 1.05rem;

    line-height: 1.8;
}


.athena-community-platform__button {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-top: 38px;

    padding: 15px 30px;

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

    border-radius: 999px;

    background: transparent;

    color: var(--athena-gold-light);

    font-size: 0.82rem;

    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    text-decoration: none;

    transition:
        transform 300ms ease,
        background 300ms ease,
        color 300ms ease;
}


.athena-community-platform__button span {
    font-size: 1.2rem;

    transition:
        transform 300ms ease;
}


.athena-community-platform__button:hover {
    transform: translateY(-3px);

    background: var(--athena-gold);

    color: var(--athena-blue-deep);
}


.athena-community-platform__button:hover span {
    transform: translateX(4px);
}


/* ============================================================
   COMMUNITY MOTTO
   ============================================================ */

.athena-community-motto {
    position: relative;

    width: 100%;

    min-height: 180px;

    display: flex;

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

    overflow: hidden;
}


.athena-community-motto__content {
    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 18px;

    padding: 40px 24px;

    color: var(--athena-blue-dark);

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.25em;

    text-transform: uppercase;
}


.athena-community-motto__content span:nth-child(even) {
    color: var(--athena-gold);
}


/* ============================================================
   COMMUNITY ANIMATIONS
   ============================================================ */

@keyframes athenaCommunityHeroZoom {

    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }

}


@keyframes athenaCommunityHeroContent {

    from {
        opacity: 0;

        transform:
            translateY(35px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}


@keyframes athenaCommunityScroll {

    0%,
    100% {
        transform: scaleY(0.45);

        transform-origin: top;

        opacity: 0.4;
    }

    50% {
        transform: scaleY(1);

        transform-origin: top;

        opacity: 1;
    }

}


/* ============================================================
   COMMUNITY RESPONSIVE
   ============================================================ */

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

    .athena-community-hero__image,
    .athena-community-hero__content,
    .athena-community-hero__scroll-line {
        animation: none;
    }

}


@media (max-width: 768px) {

    .athena-community-hero {
        min-height: 90svh;
    }

    .athena-community-hero__image {
        object-position: center;
    }

    .athena-community-hero__content {
        width: 100%;

        padding-left: 1rem;
        padding-right: 1rem;

        box-sizing: border-box;
    }

    .athena-community-hero__title {
        font-size: clamp(2.8rem, 13vw, 4.5rem);

        white-space: nowrap;

        letter-spacing: 0.02em;
    }

    .athena-community-hero__eyebrow {
        font-size: 0.7rem;

        letter-spacing: 0.18em;
    }

    .athena-community-hero__eyebrow::before,
    .athena-community-hero__eyebrow::after {
        width: 25px;
    }

    .athena-community-hero__subtitle {
        margin-top: 24px;
    }

    .athena-community-hero__button {
        margin-top: 32px;
    }

    .athena-community-intro {
        width: min(1180px, calc(100% - 32px));

        padding: 80px 0;
    }

    .athena-community-platform {
        padding: 85px 20px;
    }

    .athena-community-motto {
        min-height: 150px;
    }

}


@media (max-width: 480px) {

    .athena-community-hero__title {
        font-size: clamp(2.6rem, 13vw, 4rem);
    }

    .athena-community-hero__eyebrow::before,
    .athena-community-hero__eyebrow::after {
        width: 18px;
    }

    .athena-community-motto__content {
        gap: 10px;

        font-size: 0.62rem;

        letter-spacing: 0.16em;
    }

}

