@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Montserrat:wght@400;500;600;700&display=swap");


/*
  FONT BUNCH ASLI (OPSIONAL)
  CSS ini langsung berjalan dengan Google Font Bowlby One sebagai alternatif
  yang mirip. Kalau kamu sudah mempunyai lisensi/file font Bunch, letakkan
  Bunch.woff2 di assets/fonts/ lalu AKTIFKAN @font-face di bawah:

  @font-face {
      font-family: "GENFES Bunch";
      src: url("../assets/fonts/Bunch.woff2") format("woff2");
      font-style: normal;
      font-weight: 400;
      font-display: swap;
  }

  Tidak ada file font yang disertakan dalam paket ini.
*/

/* =====================================================
   GENFES NEWS & ARTICLE
   Premium Editorial Style
   Adapted from reference design
   Keep GENFES Navy - Purple Identity
===================================================== */

/* =====================================================
   ROOT NEWS VARIABLES
===================================================== */

:root {

    --news-bg:
        linear-gradient(180deg,
            #11145c 0%,
            #10113f 100%);

    --news-card:
        rgba(25, 27, 82, 0.92);

    --news-card-soft:
        rgba(35, 38, 105, 0.8);

    --news-purple:
        #7656d6;

    --news-violet:
        #a78bfa;

    --news-light-purple:
        rgba(167, 139, 250, .18);

    --news-text:
        #f5f7ff;

    --news-text-soft:
        #cbd5f5;

    --news-text-muted:
        #9ca8d4;

    --news-border:
        rgba(167, 139, 250, .25);

    --news-radius:
        22px;

    --news-shadow:
        0 30px 80px rgba(0, 0, 0, .28);

    --news-transition:
        .45s cubic-bezier(.22, 1, .36, 1);
}

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

.news-hero {

    position: relative;

    isolation: isolate;

    overflow: hidden;

    min-height: 720px;

    display: flex;

    align-items: center;

    padding:
        170px 0 120px;

    color: white;

    text-align: left;

    background:

        radial-gradient(circle at top left,
            rgba(167, 139, 250, .22),
            transparent 45%),

        #11145c;
}

/* Background video */

.news-hero-background {

    position: absolute;

    inset: 0;

    z-index: -3;

    overflow: hidden;

}

.news-hero-background video {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    filter:
        saturate(.9) brightness(.45);

}

/* Overlay */

.news-hero-overlay {

    position: absolute;

    inset: 0;

    z-index: -2;

    background:

        linear-gradient(90deg,

            rgba(17, 20, 92, .95),

            rgba(17, 20, 92, .65),

            rgba(17, 20, 92, .35));

}

/* Container */

.news-hero .container {

    position: relative;

    z-index: 2;

}

/* Content */

.news-hero-content {

    max-width: 720px;

    opacity: 0;

    transform:
        translateY(35px);

    filter:
        blur(5px);

    transition:

        opacity .9s ease,

        transform .9s cubic-bezier(.22, 1, .36, 1),

        filter .9s ease;

}

.news-hero-content.editorial-visible {

    opacity: 1;

    transform:
        translateY(0);

    filter:
        blur(0);

}

/* Label */

.news-hero .section-label {

    display: inline-block;

    margin-bottom: 20px;

    color:
        var(--news-violet);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;

}

/* Title */

.news-hero h1 {

    margin: 0 0 25px;

    max-width: 650px;

    font-family:
        "Playfair Display",
        serif;

    font-size:

        clamp(42px,
            5vw,
            64px);

    line-height: 1.15;

    letter-spacing: -1px;

}

.news-hero h1 span {

    color:
        var(--news-violet);

}

/* Description */

.news-hero p {

    max-width: 560px;

    color:
        var(--news-text-soft);

    font-size: 16px;

    line-height: 1.9;

}

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

@media (max-width:768px) {

    .news-hero {

        min-height: auto;

        padding:

            150px 20px 90px;

        text-align: center;

    }

    .news-hero-content {

        margin: auto;

    }

    .news-hero h1 {

        font-size: 38px;

    }

    .news-hero p {

        font-size: 14px;

    }

    .news-hero-overlay {

        background:

            rgba(17, 20, 92, .75);

    }

}

/* =====================================================
   NEWS SECTION
===================================================== */

.news-featured {

    position: relative;

    overflow: hidden;

    padding:

        100px 0;

    background:

        radial-gradient(circle at 15% 0%,

            rgba(167, 139, 250, .18),

            transparent 40%),

        radial-gradient(circle at 90% 100%,

            rgba(91, 72, 190, .18),

            transparent 45%),

        linear-gradient(180deg,

            #11145c,

            #10113f);

}

/* =====================================================
   SECTION HEADING
===================================================== */

.news-section-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 45px;

    opacity: 0;

    transform:
        translateY(25px);

    transition:

        opacity .8s ease,

        transform var(--news-transition);

}

.news-section-heading.reveal-visible {

    opacity: 1;

    transform:
        translateY(0);

}

.news-section-heading .section-label {

    display: block;

    margin-bottom: 12px;

    color:

        var(--news-violet);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

}

.news-section-heading h2 {

    margin: 0;

    color: white;

    font-family:

        "Playfair Display",
        serif;

    font-size:

        clamp(32px,

            4vw,

            42px);

}

.news-section-heading h2 span {

    color:

        var(--news-violet);

}

.news-section-description {

    max-width: 360px;

    color:

        var(--news-text-muted);

    font-size: 14px;

    line-height: 1.8;

}

@media (max-width:768px) {

    .news-section-heading {

        flex-direction: column;

        align-items: flex-start;

    }

}

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

.featured-news-card {

    position: relative;

    display: grid;

    grid-template-columns:

        1fr 1fr;

    overflow: hidden;

    border-radius:

        var(--news-radius);

    background:

        linear-gradient(135deg,

            rgba(35, 38, 105, .95),

            rgba(25, 27, 82, .95));

    border:

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

    box-shadow:

        var(--news-shadow);

    opacity: 0;

    transform:

        translateY(35px);

    transition:

        opacity .8s ease,

        transform var(--news-transition),

        box-shadow var(--news-transition);

}

.featured-news-card.reveal-visible {

    opacity: 1;

    transform:

        translateY(0);

}

.featured-news-card:hover {

    transform:

        translateY(-8px);

    box-shadow:

        0 40px 100px rgba(0, 0, 0, .35);

}

/* =====================================================
   FEATURE IMAGE
===================================================== */

.featured-news-image {

    min-height: 420px;

    overflow: hidden;

}

.featured-news-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:

        transform .8s ease;

}

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

    transform:

        scale(1.06);

}

/* =====================================================
   FEATURE CONTENT
===================================================== */

.featured-news-content {

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 50px;

}

/* Accent line */

.featured-news-content::before {

    content: "";

    width: 60px;

    height: 3px;

    margin-bottom: 25px;

    border-radius: 20px;

    background:

        var(--news-violet);

}

/* =====================================================
   META INFORMATION
===================================================== */

.news-meta {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 20px;

}

.news-category {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 14px;
    margin: 0;

    border-radius: 999px;
    background: rgba(167, 139, 250, 0.12);
    border: 1px solid rgba(167, 139, 250, 0.3);

    color: #d8ccff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.4px;
}

.news-date {
    display: inline-block;
    margin: 0;

    color: var(--news-text-muted);
    font-size: 12px;
    line-height: 1.5;
}

/* =====================================================
   TITLE
===================================================== */

.featured-news-content h3 {

    margin:

        0 0 18px;

    color: white;

    font-family:

        "Playfair Display",
        serif;

    font-size:

        clamp(26px,

            3vw,

            34px);

    line-height: 1.35;

}

.featured-news-content p {

    margin-bottom: 30px;

    color:

        var(--news-text-soft);

    font-size: 14px;

    line-height: 1.9;

}

/* =====================================================
   BUTTON
===================================================== */

.news-read-more {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    width: max-content;

    padding:

        13px 25px;

    border-radius: 999px;

    background:

        linear-gradient(135deg,

            #9277e8,

            #7656d6);

    color: white;

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;

    transition:

        transform .3s ease,

        box-shadow .3s ease;

}

.news-read-more::after {

    content: "→";

    transition:

        transform .3s ease;

}

.news-read-more:hover {

    transform:

        translateY(-3px);

    box-shadow:

        0 15px 40px rgba(118, 86, 214, .45);

}

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

    transform:

        translateX(5px);

}

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

@media (max-width:900px) {

    .featured-news-card {

        grid-template-columns:

            1fr;

    }

    .featured-news-image {

        min-height: 300px;

    }

    .featured-news-content {

        padding: 35px;

    }

}

/* =====================================================
   ARTICLE DETAIL
===================================================== */

.article-detail {

    position: relative;

    margin-top: 20px;

    padding: 45px;

    border-radius:

        var(--news-radius);

    background:

        linear-gradient(135deg,

            rgba(35, 38, 105, .95),

            rgba(17, 20, 92, .95));

    border:

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

    box-shadow:

        var(--news-shadow);

    animation:

        articleFade .5s ease;

}

.article-detail[hidden] {

    display: none !important;

}

@keyframes articleFade {

    from {

        opacity: 0;

        transform:

            translateY(25px);

    }

    to {

        opacity: 1;

        transform:

            translateY(0);

    }

}

/* =====================================================
   BACK BUTTON
===================================================== */

.article-back {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 35px;

    padding:

        12px 22px;

    border-radius:

        999px;

    border:

        1px solid rgba(167, 139, 250, .35);

    background:

        rgba(255, 255, 255, .05);

    color: white;

    font-size: 13px;

    cursor: pointer;

    transition:

        all .3s ease;

}

.article-back:hover {

    background:

        var(--news-purple);

    transform:

        translateX(-5px);

}

.article-back i {

    font-size: 14px;

}

/* =====================================================
   ARTICLE LAYOUT
===================================================== */

.article-detail-layout {

    display: grid;

    grid-template-columns:

        .95fr 1.05fr;

    gap: 50px;

    align-items: start;

}

/* =====================================================
   SLIDESHOW
===================================================== */

.article-slideshow {

    position: relative;

    width: 100%;

    aspect-ratio:

        4 / 3;

    overflow: hidden;

    border-radius:

        18px;

    background:

        #171947;

    border:

        1px solid rgba(167, 139, 250, .2);

    box-shadow:

        0 25px 70px rgba(0, 0, 0, .3);

}

.article-slide {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    opacity: 0;

    transform:

        scale(1.04);

    transition:

        opacity .8s ease,

        transform 1s ease;

}

.article-slide.active {

    opacity: 1;

    transform:

        scale(1);

}

/* Caption */

.article-slide-caption {

    position: absolute;

    bottom: 0;

    left: 0;

    right: 0;

    padding:

        70px 25px 25px;

    background:

        linear-gradient(transparent,

            rgba(0, 0, 0, .75));

    color: white;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 2px;

}

/* =====================================================
   ARTICLE DOT INDICATOR
===================================================== */

.slideshow-dots {

    position: absolute;

    bottom: 18px;

    left: 50%;

    transform:

        translateX(-50%);

    display: flex;

    gap: 8px;

    z-index: 5;

}

.dot-indicator {

    width: 9px;

    height: 9px;

    border-radius: 50%;

    background:

        rgba(255, 255, 255, .45);

    transition:

        all .3s ease;

}

.dot-indicator.is-active {

    width: 28px;

    border-radius: 20px;

    background:

        var(--news-violet);

}

/* =====================================================
   ARTICLE BODY
===================================================== */

.article-body {

    color:

        var(--news-text-soft);

}

.article-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 12px;
    margin-bottom: 24px;
    width: 100%;
}

.article-body h1 {

    margin:

        0 0 25px;

    color: white;

    font-family:

        "Playfair Display",

        serif;

    font-size:

        clamp(30px,

            4vw,

            45px);

    line-height: 1.25;

}

.article-body p {

    margin-bottom: 22px;

    color:

        #d6dcfa;

    font-size: 15px;

    line-height: 1.95;

}

/* =====================================================
   ARTICLE TEXT ANIMATION
===================================================== */

.article-body h1,

.article-body .article-meta,

.article-body p {

    opacity: 0;

    transform:

        translateY(20px);

    transition:

        opacity .7s ease,

        transform .7s ease;

}

.article-detail.text-animated .article-body h1,

.article-detail.text-animated .article-body .article-meta,

.article-detail.text-animated .article-body p {

    opacity: 1;

    transform:

        translateY(0);

}

.article-detail.text-animated .article-body h1 {

    transition-delay: .15s;

}

.article-detail.text-animated .article-body p:nth-of-type(1) {

    transition-delay: .25s;

}

.article-detail.text-animated .article-body p:nth-of-type(2) {

    transition-delay: .35s;

}

.article-detail.text-animated .article-body p:nth-of-type(3) {

    transition-delay: .45s;

}

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

@media (max-width:900px) {

    .article-detail {

        padding: 30px;

    }

    .article-detail-layout {

        grid-template-columns:

            1fr;

        gap: 35px;

    }

}

@media (max-width:600px) {

    .article-detail {

        padding: 22px;

    }

    .article-body h1 {

        font-size: 30px;

    }

    .article-slide-caption {

        font-size: 12px;

    }

}



/* =====================================================
   FINAL VISUAL UPDATE
   Hero without grid; subtle grid starts in next section
   Smooth navy-blue gradient between sections
===================================================== */

/* HERO: clean blue-purple gradient, no grid */
.news-hero {
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 22%,
            rgba(72, 82, 195, 0.22) 0%,
            transparent 58%),
        linear-gradient(180deg,
            #171b68 0%,
            #17185f 58%,
            #141650 82%,
            #111344 100%);
}

/* Keep the video visible, with a soft navy overlay */
.news-hero-overlay {
    background:
        linear-gradient(180deg,
            rgba(17, 20, 92, 0.34) 0%,
            rgba(17, 19, 68, 0.46) 58%,
            rgba(17, 19, 68, 0.76) 100%);
}

/* Center hero content */
.news-hero-content {
    width: min(100% - 40px, 1000px);
    margin-inline: auto;
    text-align: center;
}

.news-hero-content h1,
.news-hero-content p {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.news-hero-content p {
    max-width: 780px;
}

/* NEWS SECTION: faint square grid begins here */
.news-featured {
    position: relative;
    isolation: isolate;
    background-color: #111344;
    background-image:
        linear-gradient(rgba(115, 225, 255, 0.055) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(115, 225, 255, 0.055) 1px,
            transparent 1px),
        radial-gradient(ellipse at 50% 0%,
            rgba(91, 72, 190, 0.16),
            transparent 68%),
        linear-gradient(180deg,
            #111344 0%,
            #10123f 54%,
            #0e1038 100%);
    background-size:
        110px 110px,
        110px 110px,
        auto,
        auto;
    background-repeat:
        repeat,
        repeat,
        no-repeat,
        no-repeat;
}

/* The article detail continues the same dark-blue palette */
.article-detail {
    background:
        linear-gradient(180deg,
            #0e1038 0%,
            #0c0e34 100%);
}

/* Avoid visible seams between the hero and the grid section */
.news-hero,
.news-featured,
.article-detail {
    border-top: 0;
    border-bottom: 0;
}

/* Responsive hero alignment */
@media (max-width: 768px) {
    .news-hero {
        text-align: center;
    }

    .news-hero-content {
        width: min(100% - 32px, 1000px);
    }

    .news-hero-content h1 {
        text-align: center;
    }

    .news-hero-content p {
        text-align: center;
        max-width: 100%;
    }
}

/* Reduce motion when requested by the device */
@media (prefers-reduced-motion: reduce) {
    .news-hero-background video {
        animation: none !important;
    }
}

/* =====================================================
   GENFES NEWS — MOBILE REFINEMENTS
   Only applies to tablets/phones; desktop styles intact.
===================================================== */
@media (max-width: 768px) {
    .news-hero {
        min-height: min(670px, 85svh);
        padding: 125px 0 85px;
        align-items: center;
    }

    .news-hero .container {
        width: calc(100% - 40px);
    }

    .news-hero-content {
        width: 100%;
        max-width: 540px;
        margin: 0 auto;
    }

    .news-hero .section-label {
        margin-bottom: 16px;
        font-size: 10px;
        letter-spacing: 2.3px;
    }

    .news-hero h1 {
        max-width: 100%;
        margin: 0 auto 18px;
        font-size: clamp(32px, 8.4vw, 44px);
        line-height: 1.2;
        letter-spacing: -0.6px;
        overflow-wrap: break-word;
    }

    .news-hero p {
        max-width: 480px;
        margin: 0 auto;
        font-size: 13px;
        line-height: 1.8;
    }

    .news-hero-background video {
        object-position: center center;
    }

    .news-hero-overlay {
        background: linear-gradient(180deg,
                rgba(17, 20, 92, .48) 0%,
                rgba(17, 19, 68, .60) 58%,
                rgba(17, 19, 68, .88) 100%);
    }

    .news-featured {
        padding: 62px 0 75px;
    }

    .news-section-heading {
        margin-bottom: 26px;
        gap: 12px;
    }

    .news-section-heading .section-label {
        font-size: 10px;
    }

    .news-section-heading h2 {
        font-size: clamp(29px, 7vw, 36px);
    }

    .featured-news-card {
        grid-template-columns: minmax(0, 1fr);
        border-radius: 18px;
    }

    .featured-news-image {
        min-height: 0;
        height: auto;
        aspect-ratio: 4 / 3;
        background: #171947;
    }

    .featured-news-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .featured-news-content {
        padding: 26px 24px 28px;
    }

    .featured-news-content::before {
        width: 45px;
        margin-bottom: 20px;
    }

    .featured-news-content h3 {
        font-size: clamp(24px, 6vw, 29px);
        margin-bottom: 14px;
    }

    .featured-news-content p {
        font-size: 13px;
        line-height: 1.8;
        margin-bottom: 24px;
    }

    .news-category {
        font-size: 10px;
        padding: 5px 12px;
    }

    .news-date {
        font-size: 11px;
    }

    .news-read-more {
        padding: 12px 20px;
        font-size: 11px;
    }

    .article-detail {
        padding: 22px;
        margin-top: 0;
        border-radius: 18px;
    }

    .article-back {
        margin-bottom: 24px;
        padding: 11px 18px;
        font-size: 12px;
    }

    .article-detail-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .article-slideshow {
        aspect-ratio: 4 / 3;
        border-radius: 14px;
    }

    .article-slide {
        object-fit: contain;
    }

    .article-slide-caption {
        padding: 45px 16px 15px;
        font-size: 11px;
    }

    .article-meta {
        flex-wrap: wrap;
        gap: 8px 12px;
        margin-bottom: 17px;
    }

    .article-body h1 {
        font-size: clamp(25px, 6.8vw, 32px);
        line-height: 1.28;
        margin-bottom: 18px;
    }

    .article-body p {
        font-size: 13px;
        line-height: 1.85;
        margin-bottom: 17px;
        overflow-wrap: break-word;
    }
}

@media (max-width: 480px) {
    .news-hero {
        min-height: min(600px, 80svh);
        padding: 115px 0 72px;
    }

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

    .news-hero h1 {
        font-size: clamp(30px, 8.5vw, 37px);
    }

    .news-featured {
        padding: 52px 0 62px;
    }

    .featured-news-image {
        aspect-ratio: 5 / 4;
    }

    .featured-news-content {
        padding: 24px 20px 26px;
    }

    .article-detail {
        padding: 17px;
    }

    .article-detail-layout {
        gap: 23px;
    }

    .article-slideshow {
        aspect-ratio: 5 / 4;
    }

    .article-body h1 {
        font-size: 26px;
    }
}

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

    .news-hero-content,
    .news-section-heading,
    .featured-news-card,
    .article-body h1,
    .article-body p,
    .article-body .article-meta {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
}


/* =========================================================
   GENFES — GLASSMORPHISM / SOFT GLOW DESIGN SYSTEM
   Layer tambahan: CSS asli, konten, dan interaksi dipertahankan.
   Efek disesuaikan untuk mouse, layar sentuh, dan reduced motion.
========================================================= */

/* News: kaca editorial. Animasi scroll dan tombol Baca Selengkapnya tetap. */
.news-featured .featured-news-card,
.news-featured .article-detail {
    border: 1px solid rgba(194, 209, 255, .29);
    background: linear-gradient(145deg, rgba(112, 119, 220, .18), rgba(35, 42, 112, .34) 56%, rgba(21, 30, 85, .33));
    -webkit-backdrop-filter: blur(16px) saturate(145%);
    backdrop-filter: blur(16px) saturate(145%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14),
        0 22px 55px rgba(3, 8, 40, .28), 0 0 40px rgba(82, 133, 255, .08);
}

.news-featured .featured-news-image {
    background: rgba(14, 21, 74, .30);
}

.news-featured .article-slideshow {
    border: 1px solid rgba(188, 203, 255, .28);
    box-shadow: 0 20px 45px rgba(1, 6, 35, .28), 0 0 28px rgba(82, 130, 255, .10);
}

.news-featured .news-category {
    background: rgba(146, 119, 232, .19);
    border-color: rgba(213, 194, 255, .35);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.news-featured .article-back {
    background: rgba(128, 139, 229, .13);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09);
}

@media (hover: hover) and (pointer: fine) {
    .news-featured .featured-news-card:hover {
        border-color: rgba(191, 208, 255, .55);
        background: linear-gradient(145deg, rgba(116, 139, 235, .27), rgba(40, 51, 124, .40));
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .20),
            0 29px 65px rgba(2, 7, 38, .34),
            0 0 37px rgba(87, 148, 255, .18), 0 0 60px rgba(146, 91, 250, .10);
    }
}

@media (max-width: 768px) {

    .news-featured .featured-news-card,
    .news-featured .article-detail {
        border-radius: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-featured .featured-news-card {
        transition: none !important;
    }
}


/* ============================================================
   GENFES — BUNCH-STYLE DISPLAY TYPOGRAPHY + GRADIENT TITLES
   Layer ini HANYA menyentuh typography, warna judul dan
   efek glow judul. Desain glass, video, kartu & JS dipertahankan.
   ============================================================ */
:root {
    --genfes-display-font: "GENFES Bunch", "Bowlby One", sans-serif;
    --genfes-ui-font: "Montserrat", "Inter", sans-serif;
    --genfes-title-gradient: linear-gradient(110deg,
            #ffffff 0%, #ece7ff 22%, #c3a8ff 48%,
            #9182ff 72%, #77c7ff 100%);
    --genfes-title-accent: linear-gradient(105deg,
            #ded5ff 0%, #a889ff 43%, #72caff 100%);
}

@keyframes genfesTitleShimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

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

    /* Menonaktifkan animasi teks bila pengguna mengurangi gerakan. */
    .genfes-title-motion-safe {
        animation: none !important;
    }
}

/* Judul besar, font display bold, dan gradasi putih–ungu–biru. */
.news-hero h1,
.news-section-heading h2 {
    font-family: var(--genfes-display-font);
    font-weight: 400;
    /* Font display umumnya sudah ekstra tebal. */
    letter-spacing: -0.025em;
    line-height: 1.18;
    background-image: var(--genfes-title-gradient);
    background-size: 185% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 4px 17px rgba(120, 109, 251, .14));
    animation: genfesTitleShimmer 12s ease-in-out infinite;
}

/* Kata aksen punya gradient ungu–cyan agar terasa seperti neon glow. */
.news-hero h1 span,
.news-section-heading h2 span {
    background-image: var(--genfes-title-accent);
    background-size: 150% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Judul kartu sengaja menggunakan Montserrat: lebih mudah dibaca. */
.featured-news-content h3,
.article-body h1 {
    font-family: var(--genfes-ui-font);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.news-hero h1 {
    font-size: clamp(38px, 4.2vw, 61px);
}

.news-section-heading h2 {
    font-size: clamp(30px, 3.6vw, 43px);
}

/* Judul detail artikel panjang: gunakan Montserrat agar tetap nyaman dibaca. */
.article-body h1 {
    font-weight: 700;
}

@media (max-width: 768px) {
    .news-hero h1 {
        font-size: clamp(29px, 7.4vw, 39px);
        overflow-wrap: break-word;
    }

    .news-section-heading h2 {
        font-size: clamp(27px, 6.9vw, 34px);
    }
}

@media (max-width: 380px) {
    .news-hero h1 {
        font-size: 28px;
    }
}

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

    .news-hero h1,
    .news-section-heading h2 {
        animation: none;
        background-position: 50% 50%;
    }
}


/* =====================================================================
   GENFES — FINAL CONSISTENT TYPOGRAPHY (HOME / NEWS / EVENT / CONTACT)
   Visual: rounded 'bubble' display headings (Fredoka), soft raised
   lavender gradient, and regular Montserrat interface text.
   Style only: preserved HTML, JavaScript, video, glassmorphism,
   scroll animations, footer structure, and mobile card/carousel layout.
   ===================================================================== */
:root {
    --genfes-display-font: "Fredoka", "Arial Rounded MT Bold", sans-serif;
    --genfes-ui-font: "Montserrat", "Inter", sans-serif;
    --genfes-title-gradient: linear-gradient(160deg,
            #ffffff 0%, #f2e9ff 22%, #d9c4ff 44%,
            #b299ff 73%, #8fc5ff 100%);
    --genfes-title-accent: linear-gradient(145deg,
            #f2eaff 0%, #d8c0ff 35%, #ad93ff 72%, #86c7ff 100%);
}

/* Navbar, body, footer and button copy: Montserrat, at their existing sizes. */
body,
button,
input,
textarea,
select,
.navbar,
.footer {
    font-family: var(--genfes-ui-font);
}

body {
    font-weight: 400;
}

.navbar .nav-link,
.navbar .nav-login {
    font-family: var(--genfes-ui-font);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: normal;
}

/* Consistent heading material (rounded, gradient, subtle 3D relief). */
.news-hero h1,
.news-section-heading h2 {
    font-family: var(--genfes-display-font);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.22;
    background-image: var(--genfes-title-gradient);
    background-size: 165% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    -webkit-text-stroke: 0.3px rgba(255, 248, 255, .16);
    filter: drop-shadow(0 2px 0 rgba(238, 217, 255, .18)) drop-shadow(0 4px 0 rgba(64, 41, 139, .30)) drop-shadow(0 9px 17px rgba(18, 20, 82, .22));
    overflow-wrap: break-word;
}

/* Individual accent words keep the same family, with a soft blue-violet gradient. */
.news-hero h1 span,
.news-section-heading h2 span {
    font-family: inherit;
    background-image: var(--genfes-title-accent);
    background-size: 150% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Article, card, and contact panel headings remain a readable UI font. */
.featured-news-content h3,
.article-body h1 {
    font-family: var(--genfes-ui-font);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.35;
}

/* Body copy is regular: no surprise bolding or larger sizes. */
.news-hero p,
.featured-news-content p,
.article-body p {
    font-family: var(--genfes-ui-font);
    font-weight: 400;
    letter-spacing: 0;
}

@media (max-width: 768px) {
    .navbar .nav-link {
        font-size: 15px;
        font-weight: 400;
    }

    .navbar .nav-login {
        font-size: 14px;
        font-weight: 400;
    }
}

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

    .news-hero h1,
    .news-section-heading h2 {
        animation: none;
        background-position: 50% 50%;
    }
}

/* NEWS: second line is separated without overlapping the first one. */
.news-hero h1 {
    font-size: clamp(38px, 4.3vw, 62px);
    line-height: 1.23;
    margin-bottom: 25px;
}

.news-hero h1 span {
    display: block;
    margin-top: clamp(10px, 1vw, 16px);
    line-height: 1.2;
}

.news-section-heading h2 {
    font-size: clamp(30px, 3.6vw, 43px);
}

.news-hero p {
    font-size: 16px;
    line-height: 1.9;
}

@media (max-width: 768px) {
    .news-hero h1 {
        font-size: clamp(30px, 8vw, 41px);
        line-height: 1.23;
    }

    .news-hero h1 span {
        margin-top: 10px;
    }

    .news-section-heading h2 {
        font-size: clamp(27px, 7vw, 34px);
    }

    .news-hero p {
        font-size: 13px;
        line-height: 1.8;
    }
}

@media (max-width: 380px) {
    .news-hero h1 {
        font-size: 29px;
    }
}