html, body {
    overflow-x: hidden;
    max-width: 100%;
}

@font-face{
    font-family:"Ringside";
    src:url("fonts/Ringside-Book.otf") format("opentype");
    font-weight:400;
    font-style:normal;
}
@font-face{
    font-family:"Ringside-Bold";
    src:url("fonts/Ringside-Bold.otf") format("opentype");
    font-weight:400;
    font-style:normal;
}
@font-face{
    font-family:"Predator";
    src:url("fonts/Predator0316-Sans-Rounded.ttf") format("truetype");
    font-weight:400;
    font-style:normal;
}
h1,h2,h3,h4,h5{
    font-family: "Predator", sans-serif;
    color:#00305e;
}
p{
    font-family: "Ringside", sans-serif;
}
a{
    font-family: "Ringside-Bold",sans-serif;
}
/*-------------- Gsap Animations --------------*/
.fade-up {
    opacity: 0;
    transform: translateY(40px);
}

.fade-right {
    opacity: 0;
    transform: translateX(30%);
}

.fade-left {
    opacity: 0;
    transform: translateX(-30%);
}

.fade-in {
    opacity: 0;
}

/*-------------- HEADER --------------*/
/* LOGO */
.logo {
    width: 250px;
    height: auto;
}
/* TITLE */
.header-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
}
/* 2026 */
.year {
    background: linear-gradient(
        90deg,
        #00564a 0%,
        #33a58e 25%,
        #2f70b8 50%,
        #e6b277 75%,
        #ea5329 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.year a{
    font-family: "Predator", sans-serif;
}
/* MENU */
.burger-menu {
    width: 40px;
    height: 40px;
}

.burger-menu span {
    display: block;
    width: 24px;
    height: 2px;
    background: #000;
    margin: 5px auto;
}

/* HEADER — STICKY ON DESKTOP
   Bootstrap's .sticky-top uses position:sticky, but the
   overflow-x:hidden safety net on html/body (see top of file) stops
   sticky from working reliably in some browsers. Use position:fixed
   on desktop instead; script.js pads the body by the header's real
   height so content doesn't jump underneath it. */
@media (min-width: 992px) {
    header.sticky-top {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1030;
    }
}

/* HEADER — TABLET */
@media (max-width: 768px) {
    .logo {
        width: 190px;
    }
    .header-title {
        font-size: 18px;
        letter-spacing: -0.5px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 150px;
    }

    .header-row {
        flex-wrap: wrap;
        row-gap: 10px;
    }

    .header-title {
        order: -1;
        flex: 0 0 100%;
        max-width: 100%;

        position: static;
        transform: none;

        justify-content: center;

        font-size: 15px;
        letter-spacing: 0;
        white-space: normal;
        text-align: center;
    }

    .header-logo {
        order: 0;
    }

    .header-menu {
        order: 1;
    }
}

/*-------------- HERO SECTION --------------*/
/* HERO SECTION */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: #ffffff;
    overflow: hidden;
}

/* CONTENT */

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 600px;

    display: flex;
    align-items: flex-start;
}

.hero-text {
    margin-top: 100px;
    left: 10%;
}

.hero-title {
    margin: 0;
    display: flex;
    flex-direction: column;
  
    font-size: clamp(55px, 10vw, 150px);
    line-height: 1;
    letter-spacing: -4px;

    color: #003b70;
}

.hero-title span {
    display: block;
}

/* KULEANA GRADIENT */

.hero-title .kuleana {
    display: inline-block;
    background: linear-gradient(
        60deg,
        #00564a 0%,
        #33a58e 20%,
        #2f70b8 40%,
        #e6b277 60%,
        #ea5329 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.hero-title {
    overflow: visible;
}

.line {
    display: block;
    overflow: hidden;
}

.word {
    display: inline-block;
    transform: translateY(110%);
}

/* DESCRIPTION */

.hero-description {
    margin-top: 30px;
    font-size: clamp(18px, 10vw, 40px);
    font-weight: 500;
    line-height: 1.35;
    color: #000;
}

/* HERO — MOBILE */
@media (max-width: 768px) {
    .hero-section {

        min-height: auto;
        padding: 110px 0 60px;
    }
    .hero-text {
        margin-top: 0;
    }
    .hero-title {
        letter-spacing: -2px;
    }
}

/*-------------- INTRODUCTION SECTION --------------*/
/* INTRODUCTION */
.introduction-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 100px 0;
}
.introduction-bg {
    position: absolute;
    inset: 0;

    background-image: url("images/backgrounds/home01.png");
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;

    clip-path: polygon(100% 0%, 35% 10%, 0% 0%, 0% 90%, 70% 100%, 100% 90%);
}

.introduction-content {
    color: #ffffff;
}

.introduction-content h2 {
    font-family: "Ringside-Bold", sans-serif;
    color: white;
    margin-bottom: 30px;
    font-size: 40px;
    font-weight: 700;
}

.introduction-content p {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 100;
    line-height: 1.7;
}

/* INTRODUCTION — MOBILE */
@media (max-width: 768px) {
    .introduction-section {
        min-height: auto;
        padding: 70px 0;
    }
    .introduction-content h2 {
        font-size: 32px;
    }
    .introduction-content p {
        font-size: 16px;
    }
    .introduction-bg {
        clip-path: none;
    }
}

/*-------------- LEADERSHIP SECTION --------------*/

.leadership-message {
    position: relative;
    min-height: 80vh;
    background: #fff;
    z-index: 2;
}

.leadership-message > .container {
    position: relative;
}


/* LEFT SIDE */

.leadership-scroll {
    height: 80vh;
    overflow: hidden;
}

.leadership-content {
    max-width: 650px;
    will-change: transform;
}


/* TEXT */

.leadership-content h2 {
    margin-bottom: 30px;
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 800;
    line-height: 1;
    color: #003b70;
}

.leadership-content p {
    margin-bottom: 25px;
    font-size: 20px;
    line-height: 1.7;
    color: #000;
}


/* GRADIENT */

h2 .kakou {
    background: linear-gradient(
        60deg,
        #33a58e 0%,
        #2f70b8 75%,
        #ea5329 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* RIGHT SIDE */

.leadership-right {
    position: relative;
}

.leadership-trustee-image {
    display: flex;
    justify-content: center;
}

.leadership-group-image {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;

    clip-path: polygon(
        100% 15%,
        100% 100%,
        0% 100%,
        0% 0%,
        80% 0%
    );
}

.leadership-JackWong-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;

    clip-path: polygon(
        100% 80%,
        80% 100%,
        0% 100%,
        0% 20%,
        20% 0%,
        100% 0%
    );
    margin-top: -50px;
}

.leadership-image-description {
    font-size: 14px;
}

/* LEADERSHIP — MOBILE/TABLET */
@media (max-width: 991px) {
    .leadership-message {
        min-height: 0;
    }
    .leadership-scroll {
        height: auto;
        overflow: visible;
    }
    .leadership-content h2 {
        font-size: 32px;
    }
    .leadership-content p {
        font-size: 17px;
    }
    .leadership-JackWong-image {
        margin-top: 0;
    }
}

@media (max-width: 575px) {
    .leadership-group-image {
        max-width: 280px;
    }
}

/*-------------- NĀ MO'OLELO SECTION --------------*/
/*NĀ MO'OLELO*/
.namolelo{
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    z-index: 1;
}
.namolelo-content{
    max-width: 650px;
}
.namolelo-content h2{
    margin-bottom: 30px;
    font-size: clamp(40px, 5vw, 75px);
    font-weight: 800;
    line-height: 1;
    color: #003b70;
}
.namolelo-content p{
    font-size: 20px;
    font-weight: 500;
}

/* NĀ MO'OLELO — MOBILE */
@media (max-width: 991px) {
    .namolelo {
        min-height: 0;
        margin-bottom: 0;
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .namolelo-content h2 {
        font-size: 40px;
    }
    .namolelo-content p {
        font-size: 17px;
    }
    .namolelo-bg {
        display: none;
    }
}
.namolelo-bg{
    position: absolute;
    inset: 0;
    background-image: url("images/backgrounds/home02overlay.png");
    background-size: contain;
    background-position: bottom right;
    background-repeat: no-repeat;

}
/*GRADIENT*/
h2 .molelo{
    background: linear-gradient(
        60deg,
        #33a58e 0%,
        #2f70b8 75%,
        #ea5329 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/*Stories*/
.stories{
    position: relative;
    overflow: hidden;
    min-height: 650px;
    transform: translateY(-25vw);
}
.stories-bg{
    position: absolute;
    inset: 0;
    background-image: url("images/backgrounds/home02.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;

    clip-path: polygon(100% 15%, 100% 85%, 0% 100%, 0% 0%);
}

.stories-button {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 120px;
    height: 35px;

    color: #fff;
    text-decoration: none;

    background: transparent;

    cursor: pointer;

    z-index: 10;
    clip-path: polygon(100% 80%, 80% 100%, 0% 100%, 0% 20%, 20% 0%, 100% 0%);
}
.stories-button:hover{
    background: #2598b5;
    clip-path: polygon(100% 80%, 80% 100%, 0% 100%, 0% 20%, 20% 0%, 100% 0%);

}
.stories-button-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.stories-button span {
    position: relative;

    z-index: 1;

    pointer-events: none;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}
.stories-image-card{
    width: 250px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    clip-path: polygon(100% 80%, 80% 100%, 0% 100%, 0% 20%, 20% 0%, 100% 0%);
}
.stories-description{
    font-size:20px;
    font-weight: 600;
    margin:20px 0px;
}

.stories-card {
    position: relative;
    margin-right: 40px;
    z-index: 2;
}

.stories-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 5%;
    right: 0;
    height: 90%;
    border-right: 3px dashed #fff;
}

.stories h3{
    font-size:20px;
    margin:20px 0px;
}

/* STORIES CARDS — MOBILE/TABLET */
@media (max-width: 991px) {
    .stories {
        min-height: 0;
        padding: 90px 0 110px;
    }
    .stories-card {
        margin-right: 0;
        margin-bottom: 40px;
    }
    .stories-card:not(:last-child)::after {
        display: none;
    }
    .stories-image-card {
        width: 100%;
        max-width: 320px;
    }
    .stories-bg {
        clip-path: none;
    }
}


/*-------------- OUR IMPACT SECTION--------------*/
/* TITLE */
.impact-title h2{
    margin-bottom: 30px;
    font-size: clamp(40px, 5vw, 75px);
    font-weight: 800;
    line-height: 1;
    color: #003b70;
}
h2 .impact{
    background: linear-gradient(
        60deg,
        #33a58e 0%,
        #2f70b8 75%,
        #ea5329 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.impact-title {
    padding-top: 70px;
    padding-bottom: 30px;
}


/* SLIDES */
.illustration-section {
    position: relative;
    min-height: 100vh;
    background: #fff;
}

.illustration-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
}

/* OUR IMPACT — MOBILE */
@media (max-width: 768px) {
    .illustration-section {
        min-height: auto;
        padding-bottom: 40px;
    }
    .illustration-wrapper {
        height: 340px;
    }
    .impact-title {
        padding-top: 40px;
        padding-bottom: 10px;
    }
}

.illustration-slide {
    position: absolute;
    top: 0;
    left: 50%;

    width: 100%;
    height: 100%;

    object-fit: contain;

    transform: translateX(-50%);
}


/*-------------- PHOTO GALLERY SECTION--------------*/

/* FULLSCREEN IMAGE SLIDER */

.image-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.image-slider .carousel,
.image-slider .carousel-inner,
.image-slider .carousel-item {
    width: 100%;
    height: 100%;
}

.slider-image {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* DARK GRADIENT OVER IMAGE */

.slider-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8),
        rgba(0, 0, 0, 0.1) 60%,
        transparent
    );

    pointer-events: none;
}


/* DESCRIPTION */

.slider-caption {
    position: absolute;

    left: 20%;
    bottom: 10%;

    max-width: 650px;

    color: #fff;

    z-index: 2;
}

.slider-caption h2 {
    margin-bottom: 15px;

    font-size: clamp(40px, 5vw, 75px);
    font-weight: 800;
}

.slider-caption p {
    margin: 0;

    font-size: clamp(17px, 2vw, 24px);
    line-height: 1.5;
}


/* ARROWS */

.slider-arrow {
    width: 80px;

    opacity: 1;
}

.slider-arrow {
    width: 80px;
    opacity: 1;
}

.carousel-control-prev {
    left: 10%;
}

.carousel-control-next {
    right: 10%;
}
.slider-arrow-image {
    width: 50px;
    height: 50px;

    object-fit: contain;
}

/* PHOTO SLIDER — MOBILE */
@media (max-width: 768px) {
    .image-slider {
        height: 70vh;
    }
    .slider-caption {
        left: 6%;
        right: 6%;
        bottom: 8%;
        max-width: none;
    }
    .carousel-control-prev {
        left: 2%;
    }
    .carousel-control-next {
        right: 2%;
    }
    .slider-arrow {
        width: 45px;
    }
    .slider-arrow-image {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 575px) {
    .review-title {
        margin-top: 60px;
        padding-top: 40px;
    }
}

/* TITLE */
.review-title h2{
    margin-bottom: 30px;
    font-size: clamp(40px, 5vw, 75px);
    font-weight: 800;
    line-height: 1;
    color: #003b70;
}
h2 .review{
    background: linear-gradient(
        60deg,
        #33a58e 0%,
        #2f70b8 75%,
        #ea5329 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.review-title {
    margin-top: 100px;
    padding-top: 70px;
    padding-bottom: 30px;
}


/*-------------- FOOTER + CTA  SECTION--------------*/

.headline{
    font-weight:900;
    letter-spacing:1px;
    font-size: clamp(32px, 7vw, 60px);
  }
.CTATitle{
    background: linear-gradient(
        90deg,
        #00564a 0%,
        #33a58e 25%,
        #2f70b8 50%,
        #e6b277 75%,
        #ea5329 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subheadline{
    color:#00305e ;
    font-size: clamp(16px, 3.5vw, 28px);
    font-weight:400;
    letter-spacing:.5px;
}

.divider{
    height:1px;
    background: linear-gradient(
        #00564a 0%,
        #33a58e 25%,
        #2f70b8 50%,
        #e6b277 75%,
        #ea5329 100%
    );
    opacity:.6;
    margin: 30px 0px;
}

.link-btn{
    background: #003b70;
    color:#fff;
    font-weight:700;
    font-size:.85rem;
    letter-spacing:.5px;
    padding:.5rem 1.25rem;
    border:none;
    text-decoration:none;
    display:inline-block;
    clip-path: polygon(100% 75%, 90% 100%, 0% 100%, 0% 20%, 10% 0%, 100% 0%);
}
.link-btn:hover{ background:#00305e; color:#fff; }

.download-btn{
    background: #ea5329;
    color:#fff;
    font-weight:700;
    font-size:.9rem;
    letter-spacing:.5px;
    padding:.65rem 1.5rem;
    border:none;
    text-decoration:none;
    display:inline-block;
    clip-path: polygon(100% 75%, 90% 100%, 0% 100%, 0% 20%, 10% 0%, 100% 0%);
}
.download-btn:hover{ background:#ea5329; color:#fff; }

.downloads-label{
    font-size:1.1rem;
    color:#00305e;
}

.bottom-footer{
    background: #00305e;
    color:#fff;
}
.bottom-footer .social-icon{
    width:34px;
    height:34px;
    border-radius:50%;
    background:rgba(255,255,255,.15);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    margin:0 4px;
    text-decoration:none;
}
.bottom-footer .social-icon:hover{
    background:rgba(255,255,255,.3);
}
.school-name{
 
    font-weight:700;
    font-size:1rem;
}
.return-link{
    color:#fff;
    font-size:.75rem;
    font-weight:700;
    letter-spacing:.5px;
    text-decoration:none;
}
.return-link:hover{ color:#ddd; }


/*--------------                --------------*/
/*-------------- Stories Page   --------------*/
/*--------------                --------------*/

/*-------------- SHARED EYEBROW LABEL --------------*/

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;

    font-family: "Predator", sans-serif;
    font-size: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
    
}

.eyebrow-light {
    color: #ffffff;
}
.eyebrow-education{
    color: #2f70b8;
}
.eyebrow-aina{
    color:#33a58e;
}
.eyebrow-community{
    color:#ea5329;
}

.featured-eyebrow {
    font-family: "Ringside-Bold", sans-serif;
    display: inline-block;
    margin-bottom: 40px;
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
}


/*-------------- Stories HERO --------------*/

.page-hero {
    position: relative;
    overflow: visible;
    background: #ffffff;
    padding: 90px 0 160px;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.page-hero-content h1 {
    font-family: "Ringside-Bold", sans-serif;
    margin-bottom: 24px;
    font-size: clamp(32px, 6vw, 52px);
    line-height: 1.05;
    color: #00305e;
}

.page-hero-description {
    font-size: 20px;
    line-height: 1.7;
    color: #333;
}

.page-hero-image {
    position: absolute;
    top: 0;
    bottom: -250px;
    z-index: 2;
    width: 100%;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom right;
}
.education-overlay{
    background-image: url("images/backgrounds/Education_Overlay_Hero.png");
}

/* STORY PAGE HERO — MOBILE */
@media (max-width: 767px) {
    .page-hero {
        padding: 70px 0 90px;
    }
    .page-hero-image {
        bottom: -60px;
        opacity: 0.5;
    }
}

@media (max-width: 480px) {
    .page-hero-image {
        display: none;
    }
}
.aina-overlay{
    background-image: url("images/backgrounds/aina01overlay.png");
}
.community-overlay{
    background-image: url("images/backgrounds/com01overlay.png");
}

/*-------------- FEATURED MO'OLELO --------------*/

.featured-moolelo {
    position: relative;
    overflow: hidden;
    padding: 110px 0 140px;

    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

.featured-bg-education{
    background-image: url("images/backgrounds/Education_featured_BG.png");
}
.featured-bg-aina{
    background-image: url("images/backgrounds/aina01.png");
}
.featured-bg-community{
    background-image: url("images/backgrounds/com01.png");
}

@media (max-width: 767px) {
    .featured-moolelo {
        background-size: cover;
        padding: 140px 0 170px;
    }
}

.featured-story {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
}

.featured-story-image {
    flex: 1 1 480px;
    max-width: 560px;
}

.featured-story-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;

    clip-path: polygon(
        100% 80%,
        80% 100%,
        0% 100%,
        0% 20%,
        20% 0%,
        100% 0%
    );
}

.featured-story-content {
    flex: 1 1 380px;
    color: #ffffff;
}

.story-number {
    display: block;
    margin-bottom: 10px;

    font-family: "Ringside-Bold", sans-serif;
    font-size: 20px;

    color: #ffffff;
}

.featured-story-content h3 {
    margin-bottom: 24px;

    font-family: "Ringside-Bold", sans-serif;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.15;

    color: #ffffff;
}

.moolelo-card {
    color: #ffffff;
}

.moolelo-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;

    display: block;
    margin-bottom: 16px;

    clip-path: polygon(
        100% 80%,
        80% 100%,
        0% 100%,
        0% 20%,
        20% 0%,
        100% 0%
    );
}

.moolelo-card h4 {
    font-family: "Ringside-Bold", sans-serif;

    margin-bottom: 18px;

    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;

    color: #ffffff;
}

.featured-divider {
    border: none;

    height: 1px;

    margin: 0 0 50px;

    background: rgba(255, 255, 255, 0.25);

    opacity: 1;
}


/*-------------- FEATURED BUTTON --------------*/

.stories-button.light-button {
    border-color: #ffffff;
}

.stories-button.light-button:hover {
    background: rgba(255, 255, 255, 0.15);
}


/*==============================================================
    EDUCATION MO'OLELO
    Pinned navigation + fading stories
==============================================================*/

.education-stories {
    position: relative;

    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 60px;

    width: 100%;
    max-width: none;

    margin: 0;

    padding: 90px max(24px, calc((100vw - 1260px) / 2)) 40px;

    background-color: #ffffff;

    box-sizing: border-box;
    clip-path: polygon(
        100% 80%,
        80% 100%,
        0% 100%,
        0% 20%,
        20% 0%,
        100% 0%
    );
}


/*-------------- STORIES NAVIGATION --------------*/

.stories-nav {
    align-self: center;
    height: fit-content;
    z-index: 10;
    width: 100%;
}

.nav-group {
    padding: 22px 0;
}

.nav-group:first-child {
    padding-top: 0;
}

/* Section title */

.nav-group h4 {
    margin: 0;

    font-family: "Ringside-Bold", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;

    color: #00305e;
}

/* Line directly underneath Education Mo'olelo */

.nav-group h4 {
    padding-bottom: 14px;
    border-bottom: 2px solid #999;
}

/* Linked section titles */

.nav-group h4 a,
.nav-group h4 a:visited,
.nav-group h4 a:hover,
.nav-group h4 a:active {
    color: #00305e;
    text-decoration: none;
}


/*-------------- NAVIGATION LIST --------------*/

.nav-group ul {
    list-style: none;

    margin: 14px 0 0;
    padding: 0;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-group li {
    position: relative;

    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;

    font-family: "Ringside", sans-serif;
    font-size: 13px;
    line-height: 1.35;

    color: #222;

    cursor: pointer;

    padding: 0;

    transition: color 0.3s ease;
}

/* Story number */

.nav-group li::before {
    content: attr(data-story);

    font-family: "Ringside-Bold", sans-serif;
    font-weight: 700;

    color: #222;
}

/* Hover */

.nav-group li:hover {
    color: #00305e;
}

/* Active story */

.nav-group li.active {
    font-family: "Ringside-Bold", sans-serif;
    font-weight: 700;
}
.education-nav li.active{
    color: #2f70b8;
}
.education-nav li.active::before {
    color: #2f70b8;
}
.aina-nav li.active{
    color: #33a58e;
}
.aina-nav li.active::before {
    color: #33a58e;
}
.community-nav li.active{
    color: #ea5329;
}
.community-nav li.active::before {
    color: #ea5329;
}
/*==============================================================
    STORY CONTENT
==============================================================*/

.stories-content {
    position: relative;

    min-height: 600px;

    display: block;
}


/*-------------- INDIVIDUAL STORY --------------*/

.story-block {
    position: absolute;

    inset: 0;

    width: 100%;

    padding: 60px 40px;

    opacity: 0;

    visibility: hidden;

    box-sizing: border-box;
}


/* First story visible initially */

.story-block:first-child {
    opacity: 1;

    visibility: visible;
}


/*-------------- ALTERNATING BACKGROUND --------------*/

.story-block {
    background: transparent;
}

/*-------------- STORY IMAGE --------------*/

.story-block-image {
    width: 100%;
}

.story-block-image img {
    width: 100%;

    max-height: 420px;

    object-fit: cover;

    display: block;

    margin-bottom: 30px;
}


/*-------------- STORY CONTENT --------------*/

.story-block-content h3 {
    margin-bottom: 20px;

    font-family: "Ringside-Bold", sans-serif;

    font-size: clamp(24px, 3vw, 34px);

    font-weight: 800;

    line-height: 1.2;

    color: #000;
}

.story-block-content p {
    margin-bottom: 0;

    font-size: 17px;

    line-height: 1.7;

    color: #333;
}


/*-------------- INLINE IMAGES IN STORY TEXT --------------*/

/* Keeps floated images inside the story block's height */
.story-block-content {
    display: flow-root;
}

/* Photos placed between paragraphs */
.story-block-content img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 18px;
}

/* Paragraph spacing without <br> tags */
.story-block-content p + p,
.story-block-content p + img,
.story-block-content p + iframe {
    margin-top: 18px;
}

/* Embedded videos scale with the column */
.story-block-content iframe {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
    margin: 0 0 18px;
}

/* Image + caption floated left with text wrapping around it */
.story-inline-figure {
    float: left;
    width: 48%;
    max-width: 380px;
    margin: 0 28px 16px 0;
}

.story-inline-figure img {
    margin: 0;
}

.story-inline-figure figcaption {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.45;
    color: #666;
}

@media (max-width: 767px) {
    .story-inline-figure {
        float: none;
        width: 100%;
        max-width: none;
        margin: 0 0 20px;
    }
}


/*==============================================================
    REDUCED MOTION
==============================================================*/

@media (prefers-reduced-motion: reduce) {

    .nav-group li {
        transition: none;
    }

}


/*==============================================================
    TABLET / MOBILE
==============================================================*/

@media (max-width: 991px) {

    .education-stories {
        display: block;

        padding: 60px 20px 20px;
    }


    /*-------------- MOBILE NAVIGATION --------------*/

    .education-stories {
        clip-path: none;
    }

    .stories-nav {
        position: relative;
        top: 0;

        display: block;

        width: 100%;
        margin-bottom: 30px;

        overflow: visible;

        z-index: 1;
    }

    .nav-group {
        width: 100%;
        flex: none;
     }

    /*-------------- MOBILE STORY CONTENT --------------*/

    .stories-content {
        min-height: 0;

        display: block;
    }

    .story-block {
        position: relative;

        inset: auto;

        width: 100%;

        padding: 40px 0;

        opacity: 1;

        visibility: visible;
    }


    .story-block + .story-block {
        margin-top: 20px;
    }


    /*-------------- MOBILE IMAGE --------------*/

    .story-block-image img {
        max-height: none;

        margin-bottom: 25px;
    }


    /*-------------- MOBILE TEXT --------------*/

    .story-block-content h3 {
        font-size: 26px;
    }

    .story-block-content p {
        font-size: 16px;
    }

}


/*==============================================================
    SMALL MOBILE
==============================================================*/

@media (max-width: 575px) {

    .page-hero {
        padding: 60px 0 120px;
    }

    .page-hero-content h1 {
        font-size: 40px;
    }

    .page-hero-description {
        font-size: 17px;

        line-height: 1.6;
    }


    .featured-moolelo {
        padding: 120px 0 150px;
    }

    .featured-story {
        gap: 30px;
    }

    .featured-story-content h3 {
        font-size: 26px;
    }


    .education-stories {
        padding: 50px 20px 20px;
    }


    .stories-nav {
        width: 100%;
    }


    .nav-group li {
        font-size: 12px;
    }


    .story-block {
        padding: 30px 0;
    }


    .story-block-content h3 {
        font-size: 24px;
    }

    .story-block-content p {
        font-size: 16px;
    }

}

/*-------------- SLIDE-OUT MENU --------------*/
.ks-menu {
    --bs-offcanvas-width: 440px;
    max-width: 100vw;
    --ks-navy: #00305e;
    --ks-blue: #2f70b8;
    --ks-gradient: linear-gradient(90deg, #00564a 0%, #33a58e 25%, #2f70b8 50%, #e6b277 75%, #ea5329 100%);
}

.ks-menu__body {
    position: relative;
    padding: 28px 38px 48px;
}

.ks-menu__close {
    display: block;
    margin: 0 0 20px auto;
    padding: 4px;
    background: none;
    border: 0;
    color: var(--ks-navy);
    line-height: 0;
    cursor: pointer;
}

.ks-menu__logo img {
    display: block;
    width: 210px;
    max-width: 100%;
    height: auto;
}

/* gradient title + dates */
.ks-menu__title {
    margin: 32px 0 28px;
    font-family: "Predator", sans-serif;
    line-height: 1.25;
}
.ks-menu__title span {
    display: block;
    background: var(--ks-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ks-menu__title-main { font-size: 17px; letter-spacing: .3px; }
.ks-menu__title-dates { font-size: 16px; opacity: .85; }

/* links */
.ks-menu__list,
.ks-menu__sub,
.ks-menu__social {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ks-menu__list {
    border-top: 1px solid var(--ks-navy);
}

.ks-menu__item {
    padding: 16px 0;
    border-bottom: 1px solid var(--ks-navy);
}

.ks-menu__link {
    display: block;
    font-family: "Ringside-Bold", sans-serif;
    font-size: 20px;
    color: var(--ks-navy);
    text-decoration: none;
}
a.ks-menu__link:hover { text-decoration: underline; }

.ks-menu__sub { margin-top: 14px; }
.ks-menu__sub li + li { margin-top: 14px; }
.ks-menu__sub a {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: "Ringside", sans-serif;
    font-size: 19px;
    color: var(--ks-navy);
    text-decoration: none;
}
.ks-menu__sub a i { font-size: 13px; }
.ks-menu__sub a:hover { text-decoration: underline; }

/* download button */
.ks-menu__download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 48px;
    padding: 14px 16px;
    background: linear-gradient(90deg, #33a58e 0%, #2f70b8 50%, #ea5329 100%);
    color: #fff;
    font-family: "Predator", sans-serif;
    font-size: 14px;
    letter-spacing: .3px;
    text-decoration: none;
    transition: filter .2s;
}
.ks-menu__download:hover { color: #fff; filter: brightness(1.08); }

/* social */
.ks-menu__social {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 22px;
}
.ks-menu__social a {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--ks-blue);
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    transition: background .2s;
}
.ks-menu__social a:hover { background: var(--ks-navy); color: #fff; }

.ks-menu__return {
    display: block;
    margin-top: 36px;
    text-align: center;
    font-family: "Predator", sans-serif;
    font-size: 13px;
    color: var(--ks-navy);
    text-decoration: none;
}
.ks-menu__return:hover { text-decoration: underline; }