/*
Theme Name: Scouting Learning Center
Theme URI: https://learn.mgcroverscout.top/
Author: MGC Rover Scout Unit
Description: Modern standalone Scouting Learning Center theme.
Version: 1.0.0
Text Domain: scouting-learning-center
*/

/* =========================================
   BASE
========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f6faf8;
    color: #183b32;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


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

.slc-header {
    background: #ffffff;
    border-bottom: 1px solid #e6eeeb;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.slc-header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.slc-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.slc-brand-mark {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #006b56;
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
}

.slc-brand-text strong {
    display: block;
    color: #123b32;
    font-size: 16px;
}

.slc-brand-text span {
    display: block;
    color: #71827c;
    font-size: 11px;
}

.slc-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.slc-nav a {
    color: #38564d;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.slc-nav a:hover {
    color: #006b56;
}


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

.slc-hero {
    padding: 90px 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(0,107,86,.10), transparent 30%),
        linear-gradient(135deg, #edf8f3, #ffffff);
}

.slc-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 60px;
}

.slc-hero-label {
    display: inline-block;
    margin-bottom: 15px;
    padding: 7px 13px;
    border-radius: 50px;
    background: #dff2eb;
    color: #006b56;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.slc-hero h1 {
    margin: 0 0 18px;
    color: #123b32;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.15;
}

.slc-hero p {
    max-width: 650px;
    margin: 0 0 28px;
    color: #60746d;
    font-size: 17px;
}

.slc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.slc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 12px;
    background: #006b56;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.slc-button:hover {
    background: #004f40;
}

.slc-button-outline {
    background: #ffffff;
    color: #006b56;
    border: 1px solid #cfe1db;
}

.slc-hero-visual {
    min-height: 360px;
    border-radius: 28px;
    background:
        linear-gradient(
            145deg,
            rgba(0,107,86,.92),
            rgba(0,67,54,.94)
        );
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,70,55,.16);
}

.slc-hero-visual::before,
.slc-hero-visual::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.07);
}

.slc-hero-visual::before {
    width: 280px;
    height: 280px;
    right: -100px;
    top: -80px;
}

.slc-hero-visual::after {
    width: 200px;
    height: 200px;
    left: -80px;
    bottom: -90px;
}

.slc-hero-visual-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
    color: #ffffff;
}

.slc-hero-visual-content strong {
    font-size: 62px;
    line-height: 1;
}

.slc-hero-visual-content span {
    margin-top: 16px;
    font-size: 18px;
    font-weight: 700;
}


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

.slc-section {
    padding: 80px 0;
}

.slc-section-heading {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}

.slc-section-heading span {
    color: #006b56;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.slc-section-heading h2 {
    margin: 8px 0 10px;
    color: #123b32;
    font-size: 36px;
}

.slc-section-heading p {
    margin: 0;
    color: #71827c;
}


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

.slc-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.slc-category-card {
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e3ece8;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0,70,55,.04);
    transition: .25s ease;
}

.slc-category-card:hover {
    transform: translateY(-5px);
    border-color: #b9d8ce;
    box-shadow: 0 18px 35px rgba(0,70,55,.09);
}

.slc-category-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #e9f6f1;
    color: #006b56;
    font-size: 20px;
    font-weight: 800;
}

.slc-category-card h3 {
    margin: 0 0 7px;
    color: #21463c;
    font-size: 17px;
}

.slc-category-card p {
    margin: 0;
    color: #74837e;
    font-size: 13px;
}


/* =========================================
   FEATURED LESSON
========================================= */

.slc-featured {
    padding: 32px;
    border-radius: 24px;
    background: #123b32;
    color: #ffffff;
}

.slc-featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: center;
}

.slc-featured h2 {
    margin: 8px 0 12px;
    font-size: 30px;
}

.slc-featured p {
    margin: 0 0 20px;
    color: rgba(255,255,255,.78);
}

.slc-featured-tag {
    color: #9ed8c7;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.slc-featured-visual {
    min-height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(255,255,255,.08);
    font-size: 72px;
}


/* =========================================
   QUOTE
========================================= */

.slc-quote {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
}

.slc-quote p {
    margin: 0;
    color: #31554a;
    font-size: 25px;
    line-height: 1.6;
    font-weight: 600;
}


/* =========================================
   CTA
========================================= */

.slc-cta {
    padding: 70px 25px;
    text-align: center;
    border-radius: 28px;
    background: linear-gradient(135deg, #e4f5ee, #f7fbf9);
}

.slc-cta h2 {
    margin: 0 0 10px;
    color: #123b32;
    font-size: 34px;
}

.slc-cta p {
    margin: 0 auto 22px;
    max-width: 650px;
    color: #687a73;
}


/* =========================================
   FOOTER
========================================= */

.slc-footer {
    margin-top: 60px;
    padding: 35px 0;
    background: #102f28;
    color: #ffffff;
}

.slc-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.slc-footer p {
    margin: 0;
    color: rgba(255,255,255,.65);
    font-size: 13px;
}

.slc-footer a {
    color: #b9e4d7;
    text-decoration: none;
}


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

@media (max-width: 900px) {

    .slc-hero-grid,
    .slc-featured-grid {
        grid-template-columns: 1fr;
    }

    .slc-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .slc-nav {
        display: none;
    }

}

@media (max-width: 600px) {

    .container {
        width: min(100% - 28px, 1180px);
    }

    .slc-header-inner {
        min-height: 65px;
    }

    .slc-hero {
        padding: 55px 0;
    }

    .slc-hero h1 {
        font-size: 38px;
    }

    .slc-hero p {
        font-size: 15px;
    }

    .slc-hero-visual {
        min-height: 260px;
    }

    .slc-section {
        padding: 55px 0;
    }

    .slc-section-heading h2 {
        font-size: 29px;
    }

    .slc-category-grid {
        grid-template-columns: 1fr;
    }

    .slc-featured {
        padding: 23px;
    }

    .slc-featured h2 {
        font-size: 25px;
    }

    .slc-quote {
        padding: 25px 10px;
    }

    .slc-quote p {
        font-size: 20px;
    }

    .slc-cta {
        padding: 45px 20px;
    }

    .slc-cta h2 {
        font-size: 28px;
    }

    .slc-footer-inner {
        flex-direction: column;
        text-align: center;
    }

}
/* =========================================
   BRAND LOGO
========================================= */

.slc-brand-mark {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slc-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
/* =========================================
   SINGLE LEARNING CATEGORY
========================================= */

.slc-single-category {
    padding: 70px 0 100px;
}

.slc-category-detail {
    max-width: 900px;
    margin: 0 auto;
}

.slc-category-detail-header {
    text-align: center;
    margin-bottom: 45px;
}

.slc-category-detail-header h1 {
    margin: 15px 0;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.15;
}

.slc-category-detail-header p {
    max-width: 680px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.75;
}

.slc-category-detail-image {
    margin-bottom: 45px;
    border-radius: 24px;
    overflow: hidden;
}

.slc-category-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.slc-category-detail-content {
    background: #ffffff;
    padding: 45px;
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.07);
    font-size: 17px;
    line-height: 1.9;
}

.slc-category-detail-content h2 {
    margin-top: 35px;
    margin-bottom: 15px;
}

.slc-category-detail-content h3 {
    margin-top: 28px;
    margin-bottom: 12px;
}

.slc-category-detail-content p {
    margin-bottom: 20px;
}

.slc-category-detail-content ul,
.slc-category-detail-content ol {
    padding-left: 25px;
    margin-bottom: 25px;
}

.slc-category-detail-content li {
    margin-bottom: 10px;
}

.slc-category-detail-footer {
    text-align: center;
    margin-top: 40px;
}


/* =========================================
   DARK MODE SUPPORT
========================================= */

@media (prefers-color-scheme: dark) {

    .slc-category-detail-content {
        background: rgba(255, 255, 255, 0.06);
    }

}


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

@media (max-width: 600px) {

    .slc-single-category {
        padding: 45px 0 70px;
    }

    .slc-category-detail-header {
        margin-bottom: 30px;
    }

    .slc-category-detail-header h1 {
        font-size: 34px;
    }

    .slc-category-detail-header p {
        font-size: 16px;
    }

    .slc-category-detail-image {
        border-radius: 18px;
        margin-bottom: 30px;
    }

    .slc-category-detail-content {
        padding: 25px 20px;
        border-radius: 18px;
        font-size: 16px;
    }

}
/* =========================================
   SINGLE LESSON
========================================= */

.slc-single-lesson {
    padding: 70px 0 100px;
}

.slc-lesson-detail {
    max-width: 900px;
    margin: 0 auto;
}

.slc-lesson-header {
    text-align: center;
    margin-bottom: 40px;
}

.slc-lesson-header h1 {
    margin: 16px 0;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.15;
}

.slc-lesson-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.75;
}

.slc-lesson-image {
    margin-bottom: 40px;
    border-radius: 24px;
    overflow: hidden;
}

.slc-lesson-image img {
    width: 100%;
    height: auto;
    display: block;
}

.slc-lesson-content {
    background: #ffffff;
    padding: 45px;
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.07);
    font-size: 17px;
    line-height: 1.9;
}

.slc-lesson-content h2 {
    margin-top: 35px;
    margin-bottom: 15px;
}

.slc-lesson-content h3 {
    margin-top: 28px;
    margin-bottom: 12px;
}

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

.slc-lesson-content ul,
.slc-lesson-content ol {
    padding-left: 25px;
    margin-bottom: 25px;
}

.slc-lesson-content li {
    margin-bottom: 10px;
}

.slc-lesson-categories {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.slc-lesson-categories span {
    font-weight: 600;
}

.slc-lesson-categories a {
    text-decoration: none;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(0, 107, 86, 0.08);
    color: inherit;
    font-size: 14px;
}

.slc-lesson-footer {
    text-align: center;
    margin-top: 40px;
}


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

@media (max-width: 600px) {

    .slc-single-lesson {
        padding: 45px 0 70px;
    }

    .slc-lesson-header h1 {
        font-size: 34px;
    }

    .slc-lesson-header p {
        font-size: 16px;
    }

    .slc-lesson-image {
        border-radius: 18px;
        margin-bottom: 30px;
    }

    .slc-lesson-content {
        padding: 25px 20px;
        border-radius: 18px;
        font-size: 16px;
    }

}