/* ======================================
   THEME VARIABLES
====================================== */

:root{

    --bg:#111827;
    --card:#1f2937;
    --card2:#374151;
    --text:#ffffff;
    --text2:#d1d5db;
    --border:#374151;
    --accent:#f59e0b;

}

body[data-theme="light"]{

    --bg:#f5f5f5;
    --card:#ffffff;
    --card2:#ececec;
    --text:#111827;
    --text2:#4b5563;
    --border:#d1d5db;
    --accent:#f59e0b;

}



/* STORY CARD */

.story-card{
    background:#111827;
    border:1px solid rgba(255,255,255,0.08);

    border-radius:20px;

    padding:20px;

    margin-bottom:20px;

    transition:all .3s ease;
}

.story-card:hover{
    transform:translateY(-3px);

    border-color:#3b82f6;
}

/* STORY TITLE */

.story-card h2{
    font-size:20px;
    font-weight:600;

    margin-bottom:18px;

    color:#ffffff;
}

/* CONTROLS */

.controls{
    display:flex;

    align-items:center;

    gap:12px;

    margin-top:10px;
}

/* PLAY BUTTON */

.play-btn{
    background:#2563eb;

    color:white;

    border:none;

    border-radius:12px;

    padding:12px 18px;

    font-size:15px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;
}

.play-btn:hover{
    background:#1d4ed8;
}

/* PAUSE BUTTON */

.pause-btn{
    background:#374151;

    color:white;

    border:none;

    border-radius:12px;

    padding:12px 18px;

    font-size:15px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;
}

.pause-btn:hover{
    background:#4b5563;
}

/* TIMER */

.time{
    margin-left:auto;

    color:#94a3b8;

    font-size:14px;

    font-weight:600;

    min-width:50px;

    text-align:right;
}

/* PLAYING CARD */

.playing{
    border:1px solid #22c55e;

    box-shadow:
    0 0 20px rgba(34,197,94,.15);
}

/* BACK BUTTON */

.back-btn{
    display:inline-block;

    text-decoration:none;

    background:#1e293b;

    color:white;

    padding:10px 16px;

    border-radius:12px;

    margin-bottom:25px;

    transition:.3s;
}

.back-btn:hover{
    background:#334155;
}


/* =========================
   HOMEPAGE
========================= */

.home-header{
    text-align:center;
    padding:40px 20px;
}

.home-logo{
    font-size:2.3rem;
    margin-bottom:10px;
}

.home-subtitle{
    color:#94a3b8;
}

.home-container{
    max-width:1000px;
    margin:auto;
    padding:20px;
}

.welcome-box{
    background:#111827;
    border:1px solid rgba(255,255,255,0.08);
    border-radius:20px;
    padding:25px;
    margin-bottom:30px;
}

.welcome-box h2{
    margin-bottom:10px;
    color: #ffffff;

}

.welcome-box p {
    color:lightgray;
}

.category-heading{
    margin-bottom:20px;
}

.category-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.home-category-card{
    background:#111827;
    border:1px solid rgba(255,255,255,0.08);

    border-radius:20px;

    padding:25px;

    text-decoration:none;

    color:white;

    transition:0.3s ease;
}

.home-category-card:hover{
    transform:translateY(-5px);
    border-color:#3b82f6;
}

.category-icon{
    font-size:2rem;
    display:block;
    margin-bottom:15px;
}

.home-category-card h3{
    margin-bottom:10px;
}

.home-category-card p{
    color:#94a3b8;
}

.continue-card{
    background:#1f2937;
    color:white;
    border-radius:18px;
    padding:20px;
    margin-bottom:20px;
    box-shadow:0 8px 20px rgba(0,0,0,.25);
}

.continue-card h2{
    margin:0;
    font-size:22px;
}

.continue-card p{
    margin:8px 0;
    color:#d1d5db;
}

#continueBtn{
    margin-top:12px;
    border:none;
    padding:12px 22px;
    border-radius:10px;
    background:#ff9800;
    color:white;
    font-size:16px;
    cursor:pointer;
    font-weight:bold;
}

#continueBtn:hover{
    opacity:.9;
}

/* ===========================
   RECENTLY PLAYED
=========================== */

.recent-section{
    margin:30px 0;
}

.recent-section h2{
    font-size:22px;
    margin-bottom:15px;
}

#recentStories{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.recent-card{
    display:block;
    background:var(--card);
    padding:16px;
    border-radius:18px;
    text-decoration:none;
    color:var(--text);
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    transition:.25s;
}

.recent-card:hover{
    transform:translateY(-2px);
}

.recent-card h3{
    margin:0;
    font-size:18px;
}

.recent-card p{
    margin-top:8px;
    color:#666;
    font-size:14px;
}

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

.theme-btn{
    margin-top:15px;
    padding:10px 18px;
    border:none;
    border-radius:12px;
    cursor:pointer;
    font-size:15px;
    font-weight:600;
    background:#2563eb;
    color:#fff;
    transition:.3s;
}

.theme-btn:hover{
    opacity:.9;
}

/* ======================================
   GLOBAL THEME
====================================== */

body{

    background:var(--bg);

    color:var(--text);

    transition:.3s;

}

.story-card,
.welcome-box,
.home-category-card,
.continue-card{

    background:var(--card);

    color:var(--text);

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

    transition:.3s;

}

.story-card h2,
.welcome-box h2,
.home-category-card h3,
.category-heading,
.home-logo{

    color:var(--text);

}

.home-subtitle,
.welcome-box p,
.home-category-card p,
.time,
.continue-card p{

    color:var(--text2);

}

.back-btn{

    background:var(--card2);

    color:var(--text);

}

.recent-card{

    background:var(--card);

    color:var(--text);

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

}

.recent-card p{

    color:var(--text2);

}


.new-badge{

background:#ff4d4d;

color:white;

padding:4px 8px;

border-radius:20px;

font-size:11px;

font-weight:bold;

margin-left:8px;

display:inline-block;

}

.new-story-highlight{

    animation: glowStory 1s infinite alternate;

    border:2px solid gold;

}

@keyframes glowStory{

from{

box-shadow:0 0 5px gold;

}

to{

box-shadow:0 0 20px gold;

}

}


/* ======================================
   STORY READER PAGE
====================================== */

.story-header{

    max-width:1000px;

    margin:auto;

    padding:20px;

}

.story-container{

    max-width:850px;

    margin:auto;

    padding:20px;

}

.story-image-box{

    margin:25px 0;

    text-align:center;

}

.story-image-box img{

    width:100%;

    border-radius:20px;

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

}

.story-content{

    background:var(--card);

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

    border-radius:20px;

    padding:30px;

    margin-top:25px;

    line-height:2;

    font-size:19px;

    color:var(--text);

}

.story-content p{

    margin-bottom:25px;

}

.story-category{

    color:var(--text2);

    font-size:15px;

    margin-top:8px;

}

.story-quote{

    font-style:italic;

    color:#f59e0b;

    margin-top:15px;

    font-size:18px;

}

.story-ending{

    text-align:center;

    margin-top:40px;

    margin-bottom:30px;

}

.story-ending h2{

    color:var(--accent);

}

.story-navigation{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-top:40px;

    gap:15px;

}

.story-navigation a{

    background:var(--card2);

    color:var(--text);

    text-decoration:none;

    padding:12px 18px;

    border-radius:12px;

    transition:.3s;

}

.story-navigation a:hover{

    background:#2563eb;

    color:white;

}


.chapter{

display:none;

animation:fadeSlide .45s ease;

}

.chapter.active{

display:block;

}

.chapter-controls{

display:flex;

justify-content:space-between;

margin-top:40px;

margin-bottom:30px;

}

.chapter-controls button{

padding:12px 20px;

border:none;

border-radius:12px;

background:#2563eb;

color:white;

font-size:16px;

cursor:pointer;

}

.chapter-controls button:hover{

opacity:.9;

}

@keyframes fadeSlide{

from{

opacity:0;

transform:translateX(25px);

}

to{

opacity:1;

transform:translateX(0);

}

}

to{

box-shadow:0 0 20px gold;

}

}

.story-content{
    max-width:800px;
    margin:30px auto;
    padding:0 20px;
    line-height:1.9;
    font-size:18px;
}

.story-content p{
    margin-bottom:20px;
}

.chapter h2{
    margin-bottom:20px;
    font-size:30px;
    color:var(--accent);
 }


.story-image-box{

max-width:700px;

margin:25px auto;

}

.story-image-box img{

width:100%;

height:260px;

object-fit:cover;

display:block;

border-radius:20px;

box-shadow:0 8px 25px rgba(0,0,0,.25);

}

.chapter{
    display:none;
}

.chapter.active{
    display:block;
   }




/* =====================================================
   STORYTIME
   AFRICAN FOLKTALES VIDEO PAGE
   VIDEO STYLING ONLY
===================================================== */


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

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}


/* =====================================================
   HEADER
===================================================== */

.site-header {
    position: sticky;

    top: 0;

    z-index: 1000;

    width: 100%;

    min-height: 68px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 13px 24px;

    backdrop-filter: blur(14px);

    -webkit-backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(128, 128, 128, 0.20);
}


/* =====================================================
   LOGO
===================================================== */

.site-logo {
    font-size: 21px;

    font-weight: 800;

    letter-spacing: -0.5px;
}


/* =====================================================
   HEADER ACTIONS
===================================================== */

.header-actions {
    display: flex;

    align-items: center;

    gap: 8px;
}


/* =====================================================
   THEME BUTTON
   IMPORTANT:
   THIS DOES NOT CONTROL THE THEME.
   YOUR EXISTING app.js DOES THAT.
===================================================== */

.theme-btn {
    min-height: 40px;

    padding: 9px 16px;

    border: 1px solid rgba(128, 128, 128, 0.25);

    border-radius: 9px;

    background: transparent;

    color: inherit;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.theme-btn:hover {
    transform: translateY(-1px);
}


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

.back-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 40px;

    padding: 9px 15px;

    border-radius: 9px;

    border: 1px solid rgba(128, 128, 128, 0.25);

    background: transparent;

    color: inherit;

    text-decoration: none;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 13px;

    font-weight: 700;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.back-button:hover {
    transform: translateY(-1px);
}


/* =====================================================
   MAIN VIDEO PAGE
===================================================== */

.video-page {
    width: 100%;

    max-width: 1050px;

    margin: 0 auto;

    padding: 28px 22px 115px;
}


/* =====================================================
   PAGE INTRO
===================================================== */

.page-intro {
    padding: 14px 0 30px;
}

.section-label {
    margin-bottom: 8px;

    color: #d4af37;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 3px;

    text-transform: uppercase;
}

.page-intro h1 {
    margin-bottom: 10px;

    font-size:
        clamp(32px, 5vw, 48px);

    line-height: 1.08;

    font-weight: 800;
}

.page-intro p {
    max-width: 700px;

    font-size: 15px;

    line-height: 1.7;

    opacity: 0.72;
}


/* =====================================================
   VIDEO LIBRARY
===================================================== */

.video-library {
    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 34px;
}


/* =====================================================
   VIDEO CARD
===================================================== */

.video-card {
    width: 100%;

    overflow: hidden;

    border: 1px solid rgba(128, 128, 128, 0.20);

    border-radius: 16px;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.video-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 14px 35px
        rgba(0, 0, 0, 0.18);
}


/* =====================================================
   VIDEO THUMBNAIL
===================================================== */

.video-thumbnail {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #000000;
}

.video-thumbnail img {
    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.45s ease;
}

.video-card:hover
.video-thumbnail img {
    transform: scale(1.035);
}


/* =====================================================
   THUMBNAIL OVERLAY
===================================================== */

.thumbnail-dark {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.62),
            rgba(0, 0, 0, 0.05) 65%
        );

    pointer-events: none;
}


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

.play-button {
    position: absolute;

    left: 50%;

    top: 50%;

    transform:
        translate(-50%, -50%);

    width: 66px;

    height: 66px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding-left: 4px;

    border: none;

    border-radius: 50%;

    background: #d4af37;

    color: #111111;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 23px;

    cursor: pointer;

    box-shadow:
        0 8px 28px
        rgba(0, 0, 0, 0.45);

    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.play-button:hover {
    background: #e4c65a;

    transform:
        translate(-50%, -50%)
        scale(1.08);
}


/* =====================================================
   VIDEO DETAILS
===================================================== */

.video-details {
    padding:
        16px 18px 19px;
}

.video-category {
    margin-bottom: 6px;

    color: #d4af37;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.video-details h2 {
    margin-bottom: 7px;

    font-size:
        clamp(19px, 3vw, 25px);

    line-height: 1.3;

    font-weight: 800;
}

.video-details p {
    max-width: 720px;

    font-size: 14px;

    line-height: 1.65;

    opacity: 0.72;
}


/* =====================================================
   YOUTUBE PLAYER
===================================================== */

.youtube-player-container {
    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    background: #000000;
}

.youtube-player-container iframe {
    width: 100%;

    height: 100%;

    display: block;

    border: none;
}


/* =====================================================
   CHANNEL SECTION
===================================================== */

.channel-section {
    display: flex;

    align-items: center;

    gap: 18px;

    margin-top: 8px;

    padding: 23px;

    border:
        1px solid rgba(128, 128, 128, 0.20);

    border-radius: 16px;
}

.channel-icon {
    flex-shrink: 0;

    width: 58px;

    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 15px;

    background: #e50914;

    color: #ffffff;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 21px;
}

.channel-label {
    margin-bottom: 4px;

    color: #d4af37;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.channel-content h2 {
    margin-bottom: 5px;

    font-size: 21px;

    font-weight: 800;
}

.channel-content p {
    font-size: 14px;

    line-height: 1.55;

    opacity: 0.72;
}


/* =====================================================
   FIXED SUBSCRIBE BUTTON
===================================================== */

.subscribe-button {
    position: fixed;

    right: 20px;

    bottom: 20px;

    z-index: 9999;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    min-width: 128px;

    min-height: 46px;

    padding: 11px 17px;

    border-radius: 50px;

    background: #e50914;

    color: #ffffff !important;

    text-decoration: none;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 13px;

    font-weight: 800;

    box-shadow:
        0 8px 25px
        rgba(0, 0, 0, 0.30);

    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.subscribe-button:hover {
    background: #c80712;

    transform: translateY(-3px);
}

.subscribe-button span {
    color: #ffffff;
}


/* =====================================================
   STORY NAVIGATION
===================================================== */

.story-navigation {
    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 35px;
}


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

@media (max-width: 600px) {

    .site-header {
        min-height: 62px;

        padding: 11px 12px;
    }

    .site-logo {
        font-size: 17px;
    }

    .header-actions {
        gap: 6px;
    }

    .theme-btn {
        min-height: 37px;

        padding: 8px 11px;

        font-size: 11px;
    }

    .back-button {
        min-height: 37px;

        padding: 8px 11px;

        font-size: 12px;
    }

    .video-page {
        padding:
            18px 10px 105px;
    }

    .page-intro {
        padding:
            12px 3px 25px;
    }

    .page-intro h1 {
        font-size: 31px;
    }

    .page-intro p {
        font-size: 13px;
    }

    .video-library {
        gap: 27px;
    }

    .video-card {
        border-radius: 12px;
    }

    .play-button {
        width: 55px;

        height: 55px;

        font-size: 19px;
    }

    .video-details {
        padding:
            13px 14px 16px;
    }

    .video-details h2 {
        font-size: 19px;
    }

    .video-details p {
        font-size: 12px;
    }

    .channel-section {
        padding: 18px;

        gap: 13px;

        border-radius: 13px;
    }

    .channel-icon {
        width: 50px;

        height: 50px;

        border-radius: 13px;
    }

    .channel-content h2 {
        font-size: 18px;
    }

    .channel-content p {
        font-size: 12px;
    }

    .subscribe-button {
        right: 12px;

        bottom: 13px;

        min-width: 115px;

        min-height: 43px;

        padding: 10px 14px;

        font-size: 12px;
    }

    .story-navigation {
        margin-top: 27px;
    }
}


/* =====================================================
   SMALL PHONES
===================================================== */

@media (max-width: 360px) {

    .video-page {
        padding-left: 7px;

        padding-right: 7px;
    }

    .page-intro h1 {
        font-size: 28px;
    }

    .video-details h2 {
        font-size: 18px;
    }

   }





/* =====================================================
   STORYTIME — GLOBAL SPACING FIX
   SPACING ONLY
   DO NOT CHANGE COLORS / THEME / JAVASCRIPT
===================================================== */


/* =====================================================
   HOME HEADER SPACING
===================================================== */

.home-header {
    padding-top: 55px;
    padding-bottom: 45px;
}

.home-logo {
    margin-bottom: 28px;
}

.home-header .theme-btn {
    margin-bottom: 28px;
}

.home-subtitle {
    margin-top: 0;
    line-height: 1.6;
}


/* =====================================================
   MAIN HOME CONTAINER
===================================================== */

.home-container {
    padding-top: 10px;
    padding-bottom: 70px;
}


/* =====================================================
   WELCOME BOX
===================================================== */

.welcome-box {
    margin-bottom: 48px;
}

.welcome-box h2 {
    margin-bottom: 18px;
}

.welcome-box p {
    line-height: 1.7;
}


/* =====================================================
   NEWLY ADDED
===================================================== */

.newly-added {
    margin-bottom: 42px;
}

.newly-added > h2 {
    margin-bottom: 24px;
}


/* =====================================================
   RECENTLY PLAYED
===================================================== */

.recent-section {
    margin-bottom: 50px;
}

.recent-section > h2 {
    margin-bottom: 22px;
}


/*
   Space between the Recently Played heading
   and the story underneath it
*/

#recentStories {
    margin-top: 10px;
}

#recentStories > * {
    margin-bottom: 18px;
}


/* =====================================================
   CATEGORY HEADING
===================================================== */

.category-heading {
    margin-top: 48px;
    margin-bottom: 28px;
}


/* =====================================================
   CATEGORY GRID
===================================================== */

.category-grid {
    gap: 28px;
}


/* =====================================================
   CATEGORY CARDS
===================================================== */

.home-category-card {
    padding: 28px;
}

.home-category-card .category-icon {
    display: block;
    margin-bottom: 22px;
}

.home-category-card h3 {
    margin-bottom: 12px;
}

.home-category-card p {
    line-height: 1.6;
}


/* =====================================================
   READ STORIES SECTION
===================================================== */

.read-stories-section {
    margin-top: 55px;
    padding-top: 5px;
}

.read-stories-section .category-heading {
    margin-top: 0;
    margin-bottom: 28px;
}


/* =====================================================
   VIDEO PAGE SPACING
   Applies to the African Folktales video page
===================================================== */

.video-page {
    padding-top: 40px;
    padding-bottom: 120px;
}

.page-intro {
    padding-top: 20px;
    padding-bottom: 42px;
}

.page-intro h1 {
    margin-bottom: 16px;
}

.page-intro p {
    margin-top: 0;
}

.video-library {
    gap: 42px;
}

.video-details {
    padding-top: 20px;
    padding-bottom: 22px;
}

.video-category {
    margin-bottom: 9px;
}

.video-details h2 {
    margin-bottom: 10px;
}

.video-details p {
    margin-top: 0;
    line-height: 1.7;
}

.channel-section {
    margin-top: 35px;
}


/* =====================================================
   STORY / AUDIO / READ-STORY PAGES
   General spacing only
===================================================== */

.story-container,
.story-page,
.read-story-container,
.read-story-page,
.audio-container,
.audio-page {
    padding-top: 35px;
    padding-bottom: 80px;
}


/* =====================================================
   GENERAL SECTION SPACING
===================================================== */

section {
    margin-bottom: 35px;
}


/* =====================================================
   HEADINGS INSIDE SECTIONS
===================================================== */

section > h1,
section > h2,
section > h3 {
    margin-bottom: 22px;
}


/* =====================================================
   PARAGRAPH SPACING
===================================================== */

section p {
    line-height: 1.7;
}


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

@media (max-width: 600px) {

    .home-header {
        padding-top: 38px;
        padding-bottom: 35px;
    }

    .home-logo {
        margin-bottom: 22px;
    }

    .home-header .theme-btn {
        margin-bottom: 24px;
    }

    .home-container {
        padding-top: 5px;
        padding-bottom: 60px;
    }

    .welcome-box {
        margin-bottom: 38px;
    }

    .welcome-box h2 {
        margin-bottom: 14px;
    }

    .newly-added {
        margin-bottom: 36px;
    }

    .newly-added > h2 {
        margin-bottom: 20px;
    }

    .recent-section {
        margin-bottom: 40px;
    }

    .recent-section > h2 {
        margin-bottom: 20px;
    }

    #recentStories {
        margin-top: 8px;
    }

    #recentStories > * {
        margin-bottom: 16px;
    }

    .category-heading {
        margin-top: 40px;
        margin-bottom: 24px;
    }

    .category-grid {
        gap: 22px;
    }

    .home-category-card {
        padding: 24px;
    }

    .home-category-card .category-icon {
        margin-bottom: 18px;
    }

    .home-category-card h3 {
        margin-bottom: 10px;
    }

    .read-stories-section {
        margin-top: 42px;
    }

    .read-stories-section .category-heading {
        margin-bottom: 24px;
    }


    /* VIDEO PAGE */

    .video-page {
        padding-top: 25px;
        padding-bottom: 105px;
    }

    .page-intro {
        padding-top: 12px;
        padding-bottom: 32px;
    }

    .page-intro h1 {
        margin-bottom: 13px;
    }

    .video-library {
        gap: 32px;
    }

    .video-details {
        padding-top: 16px;
        padding-bottom: 20px;
    }

    .video-details h2 {
        margin-bottom: 8px;
    }

    .channel-section {
        margin-top: 28px;
    }


    /* GENERAL PAGES */

    section {
        margin-bottom: 28px;
    }

    section > h1,
    section > h2,
    section > h3 {
        margin-bottom: 18px;
    }
}


/* =====================================================
   VERY SMALL PHONES
===================================================== */

@media (max-width: 360px) {

    .home-header {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .category-grid {
        gap: 18px;
    }

    .home-category-card {
        padding: 21px;
    }

    .category-heading {
        margin-top: 35px;
        margin-bottom: 21px;
    }

}   





