/* ==========================================================
   LITTLE EXPLORERS LEARNING HUB
   PRINTABLE LIBRARY

   File:
   styles/printable-library.css

   Page:
   library/printable-library/index.html

   Theme:
   Printable Resources • Teacher Tools • Classroom Organization
   ========================================================== */


/* ==========================================================
   1. COLOR SYSTEM
   ========================================================== */

:root {

    --print-navy: #31536b;
    --print-navy-dark: #263f51;

    --print-teal: #4f8f8a;
    --print-teal-light: #e5f2f0;

    --print-gold: #d8a93f;
    --print-gold-light: #fff4d5;

    --print-coral: #d97961;
    --print-coral-light: #f8e5df;

    --print-sage: #819b78;
    --print-sage-light: #e8f0e5;

    --print-blue-light: #e7eef5;
    --print-purple: #81769b;
    --print-purple-light: #eeeaf4;

    --print-cream: #faf7ef;
    --print-paper: #fffdf9;
    --print-white: #ffffff;

    --print-text: #35434c;
    --print-muted: #68757d;

    --print-border: #dce4e3;
    --print-border-dark: #c5d3d1;

    --print-shadow:
        0 10px 28px rgba(49, 83, 107, 0.09);

    --print-shadow-hover:
        0 18px 42px rgba(49, 83, 107, 0.16);

    --print-radius: 20px;

    --print-transition: 0.28s ease;

    --print-width: 1240px;
}


/* ==========================================================
   2. RESET
   ========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}


/* ==========================================================
   3. BODY
   ========================================================== */

body {
    margin: 0;

    min-width: 320px;

    font-family: "Inter", sans-serif;

    font-size: 16px;

    line-height: 1.65;

    color: var(--print-text);

    background:
        linear-gradient(
            180deg,
            var(--print-paper) 0%,
            #ffffff 58%,
            var(--print-cream) 100%
        );

    -webkit-font-smoothing: antialiased;

    text-rendering: optimizeLegibility;
}


/* ==========================================================
   4. GENERAL ELEMENTS
   ========================================================== */

img {
    display: block;

    max-width: 100%;
}

a {
    color: inherit;

    text-decoration: none;
}

button {
    font: inherit;
}

h1,
h2,
h3,
h4 {
    font-family: "Nunito", sans-serif;
}

.container {
    width: min(92%, var(--print-width));

    margin-inline: auto;
}


/* ==========================================================
   5. HEADER
   ========================================================== */

body > header {
    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        rgba(255, 253, 249, 0.97);

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

    box-shadow:
        0 3px 16px rgba(49, 83, 107, 0.08);

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);
}

.nav-container {
    min-height: 86px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 2rem;
}


/* ==========================================================
   6. HEADER BRAND
   ========================================================== */

.logo {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    flex-shrink: 0;

    color: var(--print-navy);
}

.logo img {
    width: 58px;

    height: 58px;

    object-fit: contain;
}

.logo > div {
    display: flex;

    flex-direction: column;
}

.logo h1 {
    margin: 0;

    color: var(--print-navy);

    font-size: 1.4rem;

    font-weight: 800;

    line-height: 1.05;
}

.logo span {
    margin-top: 4px;

    color: var(--print-coral);

    font-size: 0.75rem;

    font-weight: 800;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


/* ==========================================================
   7. NAVIGATION
   ========================================================== */

nav {
    margin-left: auto;
}

nav ul {
    display: flex;

    align-items: center;

    gap: 1.35rem;

    margin: 0;

    padding: 0;

    list-style: none;
}

nav a {
    position: relative;

    display: inline-flex;

    padding: 0.5rem 0;

    color: var(--print-navy);

    font-size: 0.94rem;

    font-weight: 700;

    transition:
        color var(--print-transition),
        transform var(--print-transition);
}

nav a::after {
    content: "";

    position: absolute;

    left: 0;

    bottom: 0;

    width: 0;

    height: 3px;

    border-radius: 999px;

    background: var(--print-coral);

    transition:
        width var(--print-transition);
}

nav a:hover {
    color: var(--print-coral);

    transform: translateY(-1px);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a.active {
    color: var(--print-coral);
}


/* ==========================================================
   8. MOBILE MENU
   ========================================================== */

.mobile-menu {
    display: none;

    width: 46px;

    height: 46px;

    align-items: center;

    justify-content: center;

    border: 0;

    border-radius: 12px;

    background: var(--print-navy);

    color: #ffffff;

    font-size: 1.35rem;

    cursor: pointer;

    transition:
        background var(--print-transition),
        transform var(--print-transition);
}

.mobile-menu:hover {
    background: var(--print-navy-dark);

    transform: translateY(-2px);
}


/* ==========================================================
   9. HERO
   ========================================================== */

.study-hero {
    position: relative;

    overflow: hidden;

    padding: 6rem 0 5.7rem;

    background:
        radial-gradient(
            circle at 8% 18%,
            rgba(79, 143, 138, 0.18),
            transparent 25%
        ),

        radial-gradient(
            circle at 92% 16%,
            rgba(216, 169, 63, 0.20),
            transparent 24%
        ),

        radial-gradient(
            circle at 82% 110%,
            rgba(217, 121, 97, 0.15),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #edf5f3 0%,
            #faf7ef 52%,
            #f8e8e2 100%
        );

    border-bottom:
        1px solid var(--print-border);
}

.study-hero::before {
    content: "🖨";

    position: absolute;

    left: 4%;

    top: 18%;

    font-size:
        clamp(3rem, 6vw, 5.5rem);

    opacity: 0.09;

    transform: rotate(-8deg);

    pointer-events: none;
}

.study-hero::after {
    content: "📋";

    position: absolute;

    right: 5%;

    bottom: 10%;

    font-size:
        clamp(3rem, 6vw, 5.5rem);

    opacity: 0.10;

    transform: rotate(8deg);

    pointer-events: none;
}

.study-hero .container {
    position: relative;

    z-index: 2;
}


/* ==========================================================
   10. BREADCRUMB
   ========================================================== */

.breadcrumb {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 0.45rem;

    margin-bottom: 1.75rem;

    color: var(--print-muted);

    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--print-navy);

    font-weight: 700;

    transition:
        color var(--print-transition);
}

.breadcrumb a:hover {
    color: var(--print-coral);
}


/* ==========================================================
   11. HERO TYPOGRAPHY
   ========================================================== */

.study-hero h1 {
    max-width: 950px;

    margin:
        0 0 1.2rem;

    color:
        var(--print-navy);

    font-size:
        clamp(2.7rem, 6vw, 4.8rem);

    font-weight:
        800;

    line-height:
        1.04;

    letter-spacing:
        -0.045em;
}

.study-hero > .container > p {
    max-width:
        900px;

    margin:
        0 0 2.3rem;

    color:
        var(--print-text);

    font-size:
        clamp(1.05rem, 1.8vw, 1.22rem);

    line-height:
        1.75;
}


/* ==========================================================
   12. BUTTONS
   ========================================================== */

.hero-buttons {
    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        0.9rem;
}

.hero-buttons .btn {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-height:
        50px;

    padding:
        0.78rem 1.45rem;

    border-radius:
        999px;

    font-size:
        0.95rem;

    font-weight:
        800;

    transition:
        background var(--print-transition),
        color var(--print-transition),
        border-color var(--print-transition),
        transform var(--print-transition),
        box-shadow var(--print-transition);
}

.hero-buttons .btn:hover {
    transform:
        translateY(-3px);
}

.btn-primary {
    background:
        var(--print-navy);

    color:
        #ffffff;

    box-shadow:
        0 8px 20px rgba(49, 83, 107, 0.22);
}

.btn-primary:hover {
    background:
        var(--print-navy-dark);

    box-shadow:
        0 12px 28px rgba(49, 83, 107, 0.28);
}

.btn-secondary {
    background:
        rgba(255, 255, 255, 0.9);

    color:
        var(--print-navy);

    border:
        1px solid var(--print-border-dark);
}

.btn-secondary:hover {
    color:
        var(--print-coral);

    border-color:
        var(--print-coral);
}


/* ==========================================================
   13. SECTION HEADERS
   ========================================================== */

.section-header {
    max-width:
        850px;

    margin:
        0 auto 3.2rem;

    text-align:
        center;
}

.section-label {
    display:
        inline-block;

    margin-bottom:
        0.8rem;

    color:
        var(--print-coral);

    font-size:
        0.76rem;

    font-weight:
        800;

    letter-spacing:
        0.12em;

    text-transform:
        uppercase;
}

.section-header h2 {
    margin:
        0 0 1rem;

    color:
        var(--print-navy);

    font-size:
        clamp(2rem, 4vw, 3rem);

    font-weight:
        800;

    line-height:
        1.1;
}

.section-header p {
    margin:
        0;

    color:
        var(--print-muted);

    font-size:
        1.04rem;

    line-height:
        1.75;
}


/* ==========================================================
   14. FEATURED INTRODUCTION
   ========================================================== */

.featured-study {
    padding:
        5.7rem 0;

    background:
        var(--print-paper);
}

.featured-study-card {
    display:
        grid;

    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.05fr);

    overflow:
        hidden;

    background:
        var(--print-white);

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

    border-radius:
        24px;

    box-shadow:
        var(--print-shadow);
}

.featured-image {
    min-width:
        0;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    padding:
        1rem;

    background:
        linear-gradient(
            145deg,
            var(--print-teal-light),
            var(--print-gold-light)
        );
}

.featured-image img {
    width:
        100%;

    aspect-ratio:
        1 / 1;

    height:
        auto;

    object-fit:
        contain;

    object-position:
        center;

    border-radius:
        16px;
}

.featured-text {
    display:
        flex;

    flex-direction:
        column;

    justify-content:
        center;

    padding:
        clamp(2rem, 5vw, 4rem);
}

.featured-label {
    display:
        inline-block;

    width:
        fit-content;

    margin-bottom:
        0.9rem;

    color:
        var(--print-coral);

    font-size:
        0.76rem;

    font-weight:
        800;

    letter-spacing:
        0.11em;

    text-transform:
        uppercase;
}

.featured-text h2 {
    margin:
        0 0 1rem;

    color:
        var(--print-navy);

    font-size:
        clamp(2rem, 4vw, 3rem);

    line-height:
        1.12;
}

.featured-text > p {
    margin:
        0 0 1.7rem;

    color:
        var(--print-muted);

    line-height:
        1.75;
}


/* ==========================================================
   15. FEATURED HIGHLIGHTS
   ========================================================== */

.featured-highlights {
    display:
        grid;

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

    gap:
        0.65rem;
}

.featured-highlights div {
    padding:
        0.72rem 0.8rem;

    background:
        var(--print-cream);

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

    border-radius:
        10px;

    color:
        var(--print-navy);

    font-size:
        0.86rem;

    font-weight:
        700;

    text-align:
        center;
}


/* ==========================================================
   16. GENERAL SECTIONS
   ========================================================== */

.study-section {
    padding:
        5.8rem 0;

    background:
        #ffffff;
}

.study-section.alternate {
    background:
        linear-gradient(
            180deg,
            var(--print-cream),
            #ffffff
        );
}

.centers-section {
    padding:
        5.8rem 0;

    background:
        linear-gradient(
            135deg,
            #eef5f3,
            #fff9e8
        );
}


/* ==========================================================
   17. INTEREST / COLLECTION CARDS
   ========================================================== */

.interest-grid {
    display:
        grid;

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

    gap:
        1.4rem;
}

.interest-card {
    position:
        relative;

    padding:
        1.7rem;

    background:
        var(--print-white);

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

    border-radius:
        var(--print-radius);

    box-shadow:
        0 7px 22px rgba(49, 83, 107, 0.06);

    transition:
        transform var(--print-transition),
        box-shadow var(--print-transition),
        border-color var(--print-transition);
}

.interest-card:nth-child(1) {
    border-top:
        5px solid var(--print-teal);
}

.interest-card:nth-child(2) {
    border-top:
        5px solid var(--print-gold);
}

.interest-card:nth-child(3) {
    border-top:
        5px solid var(--print-coral);
}

.interest-card:nth-child(4) {
    border-top:
        5px solid var(--print-sage);
}

.interest-card:nth-child(5) {
    border-top:
        5px solid var(--print-purple);
}

.interest-card:nth-child(6) {
    border-top:
        5px solid var(--print-navy);
}

.interest-card:hover {
    transform:
        translateY(-5px);

    border-color:
        var(--print-border-dark);

    box-shadow:
        var(--print-shadow-hover);
}

.interest-card h3 {
    margin:
        0 0 0.75rem;

    color:
        var(--print-navy);

    font-size:
        1.18rem;

    line-height:
        1.3;
}

.interest-card p {
    margin:
        0 0 1rem;

    color:
        var(--print-muted);

    font-size:
        0.93rem;

    line-height:
        1.7;
}

.interest-card a {
    display:
        inline-flex;

    color:
        var(--print-navy);

    font-size:
        0.9rem;

    font-weight:
        800;

    transition:
        color var(--print-transition),
        transform var(--print-transition);
}

.interest-card a:hover {
    color:
        var(--print-coral);

    transform:
        translateX(3px);
}


/* ==========================================================
   18. FEATURED PRINTABLES
   ========================================================== */

.featured-studies {
    padding:
        5.8rem 0;

    background:
        var(--print-cream);
}

.study-card-grid {
    display:
        grid;

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

    gap:
        2rem;

    align-items:
        stretch;
}


/* ==========================================================
   19. PRINTABLE CARDS
   ========================================================== */

.study-card {
    position:
        relative;

    display:
        flex;

    flex-direction:
        column;

    min-width:
        0;

    overflow:
        hidden;

    background:
        var(--print-white);

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

    border-radius:
        var(--print-radius);

    box-shadow:
        var(--print-shadow);

    transition:
        transform var(--print-transition),
        box-shadow var(--print-transition),
        border-color var(--print-transition);
}

.study-card:hover {
    transform:
        translateY(-7px);

    box-shadow:
        var(--print-shadow-hover);

    border-color:
        var(--print-border-dark);
}


/* ==========================================================
   20. PRINTABLE CARD IMAGES
   ========================================================== */

.study-card > img {
    width:
        100%;

    aspect-ratio:
        1 / 1;

    height:
        auto;

    object-fit:
        contain;

    object-position:
        center;

    padding:
        0.7rem;

    background:
        linear-gradient(
            145deg,
            #eef5f3,
            #fff8df
        );

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

    transition:
        transform 0.4s ease;
}

.study-card:hover > img {
    transform:
        scale(1.025);
}


/* ==========================================================
   21. STUDY CONTENT
   ========================================================== */

.study-content {
    display:
        flex;

    flex-direction:
        column;

    flex:
        1;

    padding:
        1.55rem 1.6rem 1.6rem;
}

.study-content h3 {
    margin:
        0 0 0.7rem;

    color:
        var(--print-navy);

    font-size:
        1.23rem;

    line-height:
        1.3;
}

.study-content p {
    flex:
        1;

    margin:
        0 0 1.25rem;

    color:
        var(--print-muted);

    font-size:
        0.95rem;

    line-height:
        1.7;
}

.study-footer {
    margin-top:
        auto;

    padding-top:
        1rem;

    border-top:
        1px solid var(--print-border);
}

.study-footer a {
    display:
        inline-flex;

    align-items:
        center;

    min-height:
        42px;

    color:
        var(--print-navy);

    font-size:
        0.92rem;

    font-weight:
        800;

    transition:
        color var(--print-transition),
        transform var(--print-transition);
}

.study-footer a:hover {
    color:
        var(--print-coral);

    transform:
        translateX(4px);
}


/* ==========================================================
   22. AGE GROUP / RESOURCE CARDS
   ========================================================== */

.resources-grid {
    display:
        grid;

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

    gap:
        1.5rem;
}

.resource-card {
    padding:
        1.8rem;

    background:
        var(--print-white);

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

    border-radius:
        var(--print-radius);

    box-shadow:
        0 7px 22px rgba(49, 83, 107, 0.06);

    transition:
        transform var(--print-transition),
        box-shadow var(--print-transition);
}

.resource-card:nth-child(1) {
    border-top:
        5px solid var(--print-teal);
}

.resource-card:nth-child(2) {
    border-top:
        5px solid var(--print-coral);
}

.resource-card:nth-child(3) {
    border-top:
        5px solid var(--print-gold);
}

.resource-card:hover {
    transform:
        translateY(-5px);

    box-shadow:
        var(--print-shadow-hover);
}

.resource-card h3 {
    margin:
        0 0 0.7rem;

    color:
        var(--print-navy);

    font-size:
        1.18rem;

    line-height:
        1.35;
}

.resource-card p {
    margin:
        0 0 1rem;

    color:
        var(--print-muted);

    font-size:
        0.94rem;

    line-height:
        1.7;
}

.resource-card a {
    color:
        var(--print-coral);

    font-size:
        0.9rem;

    font-weight:
        800;

    transition:
        color var(--print-transition);
}

.resource-card a:hover {
    color:
        var(--print-navy);
}


/* ==========================================================
   23. PRINTABLE TOOLBOX VISUAL TREATMENT
   ========================================================== */

.centers-section .interest-card {
    background:
        rgba(255, 255, 255, 0.94);
}

.centers-section .interest-card:nth-child(1) {
    border-top-color:
        var(--print-navy);
}

.centers-section .interest-card:nth-child(2) {
    border-top-color:
        var(--print-teal);
}

.centers-section .interest-card:nth-child(3) {
    border-top-color:
        var(--print-gold);
}

.centers-section .interest-card:nth-child(4) {
    border-top-color:
        var(--print-coral);
}

.centers-section .interest-card:nth-child(5) {
    border-top-color:
        var(--print-purple);
}

.centers-section .interest-card:nth-child(6) {
    border-top-color:
        var(--print-sage);
}


/* ==========================================================
   24. FOOTER
   ========================================================== */

footer {
    background:
        linear-gradient(
            135deg,
            #263f51 0%,
            #31536b 52%,
            #426b7d 100%
        );

    color:
        #ffffff;
}

.footer-grid {
    display:
        grid;

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

    gap:
        2.8rem;

    padding-top:
        4rem;

    padding-bottom:
        3.5rem;
}


/* ==========================================================
   25. FOOTER BRAND
   ========================================================== */

/*
   TEXT ONLY.
   NO FOOTER LOGO.
*/

.footer-site-name {
    display:
        inline-block;

    margin-bottom:
        1rem;

    color:
        #ffffff;

    font-family:
        "Nunito", sans-serif;

    font-size:
        1.35rem;

    font-weight:
        800;

    line-height:
        1.2;

    transition:
        color var(--print-transition),
        transform var(--print-transition);
}

.footer-site-name:hover {
    color:
        var(--print-gold);

    transform:
        translateY(-2px);
}

.footer-brand p {
    max-width:
        360px;

    margin:
        0;

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

    line-height:
        1.7;
}


/* ==========================================================
   26. FOOTER COLUMNS
   ========================================================== */

.footer-column {
    display:
        flex;

    flex-direction:
        column;

    gap:
        0.45rem;
}

.footer-column h4 {
    margin:
        0 0 0.7rem;

    color:
        #ffffff;

    font-size:
        1.05rem;

    font-weight:
        800;
}

.footer-column a {
    color:
        rgba(255, 255, 255, 0.82);

    font-size:
        0.92rem;

    transition:
        color var(--print-transition),
        transform var(--print-transition);
}

.footer-column a:hover {
    color:
        var(--print-gold);

    transform:
        translateX(3px);
}


/* ==========================================================
   27. FOOTER BOTTOM
   ========================================================== */

.footer-bottom {
    padding:
        1.2rem 0;

    border-top:
        1px solid rgba(255, 255, 255, 0.18);

    text-align:
        center;
}

.footer-bottom p {
    margin:
        0.15rem 0;

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

    font-size:
        0.85rem;
}


/* ==========================================================
   28. ACCESSIBILITY
   ========================================================== */

a:focus-visible,
button:focus-visible {
    outline:
        3px solid var(--print-gold);

    outline-offset:
        4px;
}


/* ==========================================================
   29. TABLET
   ========================================================== */

@media (max-width: 1100px) {

    nav ul {
        gap:
            0.85rem;
    }

    .interest-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .study-card-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .resources-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* ==========================================================
   30. MOBILE
   ========================================================== */

@media (max-width: 768px) {

    .nav-container {
        min-height:
            76px;
    }

    nav {
        display:
            none;
    }

    .mobile-menu {
        display:
            flex;
    }


    /* Mobile navigation */

    nav.mobile-nav-open {
        display:
            block;

        position:
            absolute;

        top:
            76px;

        left:
            0;

        right:
            0;

        padding:
            1rem;

        background:
            var(--print-paper);

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

        box-shadow:
            0 12px 28px rgba(49, 83, 107, 0.12);
    }

    nav.mobile-nav-open ul {
        flex-direction:
            column;

        align-items:
            stretch;

        gap:
            0.25rem;
    }

    nav.mobile-nav-open a {
        display:
            block;

        padding:
            0.85rem 1rem;

        border-radius:
            10px;
    }

    nav.mobile-nav-open a:hover {
        background:
            var(--print-teal-light);
    }

    nav.mobile-nav-open a::after {
        display:
            none;
    }


    /* Hero */

    .study-hero {
        padding:
            4.8rem 0 5rem;
    }

    .study-hero h1 {
        font-size:
            clamp(2.3rem, 10vw, 3.5rem);
    }

    .study-hero > .container > p {
        font-size:
            1rem;
    }


    /* Buttons */

    .hero-buttons {
        flex-direction:
            column;

        align-items:
            stretch;
    }

    .hero-buttons .btn {
        width:
            100%;
    }


    /* Featured */

    .featured-study {
        padding:
            4.5rem 0;
    }

    .featured-study-card {
        grid-template-columns:
            1fr;
    }

    .featured-image {
        padding:
            0.75rem;
    }

    .featured-text {
        padding:
            2rem 1.5rem 2.3rem;
    }

    .featured-highlights {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    /* Sections */

    .study-section,
    .featured-studies,
    .centers-section {
        padding:
            4.5rem 0;
    }


    /* Collection grids */

    .interest-grid,
    .study-card-grid,
    .resources-grid {
        grid-template-columns:
            1fr;
    }


    /* Printable cards */

    .study-card {
        border-radius:
            18px;
    }

    .study-card > img {
        aspect-ratio:
            1 / 1;

        padding:
            0.6rem;
    }

    .study-card:hover {
        transform:
            none;

        box-shadow:
            var(--print-shadow);
    }

    .study-card:hover > img {
        transform:
            none;
    }

    .study-content {
        padding:
            1.35rem 1.25rem 1.3rem;
    }

    .study-content h3 {
        font-size:
            1.17rem;
    }

    .study-content p {
        font-size:
            0.93rem;
    }


    /* Footer */

    .footer-grid {
        grid-template-columns:
            1fr;

        gap:
            2rem;

        padding-top:
            3.3rem;

        padding-bottom:
            3rem;
    }
}


/* ==========================================================
   31. SMALL PHONES
   ========================================================== */

@media (max-width: 480px) {

    .container {
        width:
            min(91%, var(--print-width));
    }

    .logo > div {
        display:
            none;
    }

    .study-hero {
        padding:
            4.2rem 0 4.4rem;
    }

    .study-hero h1 {
        font-size:
            clamp(2.15rem, 11vw, 3rem);
    }

    .breadcrumb {
        font-size:
            0.82rem;
    }

    .featured-highlights {
        grid-template-columns:
            1fr;
    }

    .featured-text {
        padding:
            1.7rem 1.25rem 2rem;
    }

    .study-content {
        padding:
            1.25rem 1.15rem;
    }

    .interest-card,
    .resource-card {
        padding:
            1.4rem;
    }

    .study-card > img {
        padding:
            0.5rem;
    }

    .footer-site-name {
        font-size:
            1.2rem;
    }
}


/* ==========================================================
   32. EXTRA SMALL PHONES
   ========================================================== */

@media (max-width: 360px) {

    .study-card-grid {
        gap:
            1rem;
    }

    .study-content {
        padding:
            1.05rem 1rem;
    }

    .study-content h3 {
        font-size:
            1.06rem;
    }

    .study-content p {
        font-size:
            0.88rem;
    }
}


/* ==========================================================
   33. REDUCED MOTION
   ========================================================== */

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

    html {
        scroll-behavior:
            auto;
    }

    *,
    *::before,
    *::after {
        transition-duration:
            0.01ms !important;

        animation-duration:
            0.01ms !important;
    }
}