/* ==========================================
           TACTILE / PRINT MODE CSS
           ========================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Paper & Ink Theme */
    --bg: #f4f0eb;
    /* Rough paper off-white */
    --surface: #ffffff;
    --surface2: #e8e4db;
    --border: #1a1a1a;
    /* Heavy ink border */
    --text: #1a1a1a;
    --text2: #4a4a4a;
    --text3: #6a6a6a;

    /* Earthy / Tactile Accents */
    --accent: #d95c50;
    /* Terracotta red */
    --accent-bg: #fceceb;
    --accent-text: #8a2b22;

    --teal: #2f7a62;
    --teal-bg: #e1f0ec;
    --amber: #b87311;
    --amber-bg: #fdf3e1;
    --red: #c93a3a;
    --red-bg: #fcebeb;

    --r: 0px;
    /* Sharp corners */
    --r-sm: 0px;
    --nav-h: 68px;
    /* Height of top nav */
    --hard-shadow: 4px 4px 0px var(--border);
    --hard-shadow-hover: 2px 2px 0px var(--border);
}

/* Dark Mode (Blueprint / Blueprint Inverted) */
[data-theme="dark"] {
    --bg: #161616;
    --surface: #222222;
    --surface2: #2a2a2a;
    --border: #e0e0e0;
    --text: #f0f0f0;
    --text2: #b0b0b0;
    --text3: #808080;
    --accent: #e87a6f;
    --accent-bg: #3a1c1a;
    --accent-text: #fceceb;
    --teal: #4db393;
    --teal-bg: #123328;
    --amber: #e69d35;
    --amber-bg: #3b2304;
    --red: #e85a5a;
    --red-bg: #3d1010;
}

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-y: scroll;
}

/* ==========================================
           GLOBAL LAYOUT (TOP NAV + 3 COLUMNS)
           ========================================== */
.layout-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Sticky Top Nav */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    height: var(--nav-h);
    background: var(--surface);
    border-bottom: 2px solid var(--border);
    box-shadow: 0 4px 0 var(--border);
}

.brand {
    font-family: 'DM Serif Display', serif;
    font-size: 26px;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.brand span {
    color: var(--accent);
}

.brand-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text3);
    margin-bottom: 5px;
}

/* Search Bar in Header */
.sw {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface2);
    border: 2px solid var(--border);
    padding: 8px 16px;
    flex: 1;
    max-width: 400px;
    margin: 0 20px;
    box-shadow: 2px 2px 0 var(--border);
    transition: 0.2s;
}

.sw:focus-within {
    background: var(--surface);
    transform: translate(-2px, -2px);
    box-shadow: var(--hard-shadow);
}

.si {
    font-weight: bold;
    color: var(--text3);
}

#sInput {
    border: none;
    background: transparent;
    outline: none;
    color: var(--text);
    width: 100%;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
}

#sClear {
    background: transparent;
    border: none;
    font-weight: bold;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s;
    color: var(--border);
}

#sClear.on {
    opacity: 1;
    pointer-events: all;
}

/* Nav Buttons */
.nav-actions {
    display: flex;
    gap: 12px;
}

.neo-btn,
.icon-btn {
    background: var(--surface);
    border: 2px solid var(--border);
    color: var(--text);
    padding: 8px 16px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    box-shadow: 2px 2px 0 var(--border);
    transition: all 0.1s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.neo-btn:hover,
.icon-btn:hover {
    background: var(--surface2);
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0 var(--border);
}

.neo-btn:active,
.icon-btn:active {
    transform: translate(2px, 2px);
    box-shadow: none;
}

.icon-btn {
    padding: 8px;
    font-size: 16px;
}

/* Bottom Nav (Hidden on Desktop) */
.bn {
    display: none;
}

/* 3-Column Grid */
.app,
.pw {
    display: grid;
    grid-template-columns: 280px 1fr 280px;
    max-width: 1650px;
    margin: 0 auto;
    width: 100%;
    background: var(--bg);
    flex: 1;
    align-items: start;
    border-left: 2px solid var(--border);
    border-right: 2px solid var(--border);
}

/* Sidebars */
.sidebar,
.ls,
.rs {
    position: sticky;
    top: var(--nav-h);
    height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    padding: 30px 20px;
    background: var(--surface);
    display: flex;
    flex-direction: column;
}

.sidebar::-webkit-scrollbar,
.ls::-webkit-scrollbar,
.rs::-webkit-scrollbar {
    width: 4px;
}

.sidebar::-webkit-scrollbar-thumb,
.ls::-webkit-scrollbar-thumb,
.rs::-webkit-scrollbar-thumb {
    background: var(--border);
}

.ls {
    border-right: 2px solid var(--border);
}

.rs {
    border-left: 2px solid var(--border);
}

.sb-lbl,
.rs-lbl,
.sb-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--text);
    padding-bottom: 5px;
}

/* Nav Tree (Left Sidebar) */
.nf {
    margin-bottom: 8px;
}

.nf .fb {
    width: 100%;
    text-align: left;
    padding: 10px 15px;
    background: var(--surface2);
    border: 2px solid var(--border);
    font-size: 11px;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    box-shadow: 2px 2px 0 var(--border);
    transition: 0.1s;
    margin-bottom: 5px;
}

.nf .fb:hover {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0 var(--border);
}

.nf .fa {
    transition: transform 0.2s;
    font-weight: bold;
}

.nf.open .fa {
    transform: rotate(90deg);
    color: var(--accent);
}

.nf .fi {
    display: none;
    padding: 5px 5px 5px 15px;
    border-left: 2px dashed var(--border);
    margin-left: 10px;
}

.nf .fb.open+.fi {
    display: block;
}

.ni {
    display: block;
    padding: 6px 10px;
    margin-bottom: 4px;
    color: var(--text2);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: 0.1s;
    border: 2px solid transparent;
}

.ni:hover {
    background: var(--surface2);
    color: var(--text);
    border: 2px solid var(--border);
}

.ni.active,
.ni.cur {
    background: var(--accent-bg);
    color: var(--accent-text);
    border: 2px solid var(--accent);
    font-weight: 600;
    box-shadow: 2px 2px 0 var(--accent);
}

.nd.dn {
    text-decoration: line-through;
    opacity: 0.5;
    margin-right: 5px;
}

/* Progress Box */
.sb-prog {
    padding: 20px 0 0 0;
    border-top: 2px dashed var(--border);
    margin-top: auto;
}

.sp-lbl {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 10px;
}

.sp-trk {
    height: 12px;
    border: 2px solid var(--border);
    background: var(--surface);
    width: 100%;
}

#pFill {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width 0.4s ease;
    border-right: 2px solid var(--border);
}

/* Right Sidebar (Outline) */
.oli {
    display: block;
    padding: 6px 0;
    font-size: 13px;
    color: var(--text2);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed var(--border);
    transition: 0.2s;
}

.oli:hover {
    color: var(--accent);
    padding-left: 5px;
}

.oli.cur {
    color: var(--accent);
    font-weight: 700;
    padding-left: 5px;
}

.oln {
    opacity: 0.5;
    margin-right: 8px;
    font-family: monospace;
}

.rs-sec {
    margin-bottom: 40px;
}

/* Glossary */
.glist {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gi {
    border: 2px solid var(--border);
    background: var(--surface2);
    padding: 10px;
}

.gt {
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 5px;
}

.gd p {
    font-size: 12px;
    color: var(--text2);
}

.tb {
    border: 2px dashed var(--accent);
    padding: 15px;
    background: var(--accent-bg);
    font-size: 12px;
    font-weight: bold;
    color: var(--accent-text);
}

kbd {
    background: var(--surface);
    border: 2px solid var(--border);
    padding: 2px 6px;
    box-shadow: 1px 1px 0 var(--border);
    font-family: monospace;
}

/* ==========================================
           MAIN CONTENT AREA
           ========================================== */
.main,
.mc {
    padding: 50px 80px;
    max-width: 100%;
    min-width: 0;
}

.pi {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 4px solid var(--border);
}

.pi h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 46px;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 15px;
}

.pi em {
    color: var(--accent);
    font-style: normal;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
}

.pi p {
    color: var(--text2);
    font-size: 18px;
    max-width: 700px;
    font-weight: 500;
}

#noRes {
    display: none;
    text-align: center;
    padding: 40px;
    background: var(--surface2);
    border: 2px dashed var(--border);
    font-weight: bold;
    margin-bottom: 30px;
}

#noRes.show {
    display: block;
}

.nr-glyph {
    font-size: 40px;
    margin-bottom: 10px;
    color: var(--accent);
}

/* Chapters */
.chapter {
    margin-bottom: 60px;
    padding-bottom: 50px;
    border-bottom: 2px solid var(--border);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s, transform 0.5s;
}

.chapter.vis {
    opacity: 1;
    transform: translateY(0);
}

.ch {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--text);
    padding-bottom: 15px;
    gap: 20px;
}

.chl h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 32px;
    color: var(--text);
    line-height: 1.2;
}

.chn {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 5px;
}

/* Mark Done Button */
.db {
    background: var(--surface);
    border: 2px solid var(--border);
    padding: 8px 16px;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: 0.1s;
    box-shadow: var(--hard-shadow);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.db:hover {
    transform: translate(2px, 2px);
    box-shadow: var(--hard-shadow-hover);
    background: var(--surface2);
}

.db.mk {
    background: var(--accent);
    color: var(--surface);
    box-shadow: var(--hard-shadow);
}

.db.mk:hover {
    transform: translate(2px, 2px);
    box-shadow: var(--hard-shadow-hover);
}

.soft {
    color: var(--text2);
    margin-bottom: 25px;
    font-size: 16px;
    font-weight: 500;
}

.mt-m {
    margin-top: 24px;
}

.mt-s {
    margin-top: 12px;
}

/* Panels */
.g2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.pnl,
.co {
    background: var(--surface);
    border: 2px solid var(--border);
    padding: 24px;
    box-shadow: var(--hard-shadow);
}

.pnl h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    color: var(--text);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px dashed var(--border);
    padding-bottom: 8px;
}

.ai {
    font-size: 18px;
    filter: grayscale(100%) contrast(200%);
}

.pnl p,
.pnl li,
.co p {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 8px;
}

.cl {
    padding-left: 20px;
    margin-top: 12px;
}

.cl li {
    margin-bottom: 8px;
}

.cl li::marker {
    font-weight: bold;
    color: var(--accent);
}

mark {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--text);
    padding: 0 4px;
    font-weight: 600;
    box-shadow: 2px 2px 0 var(--accent);
}

/* Callout */
.co {
    display: flex;
    gap: 20px;
    background: var(--surface2);
    align-items: flex-start;
}

.co-ico {
    font-size: 28px;
    filter: grayscale(100%);
    margin-top: 2px;
}

/* Accordions */
.acc {
    border: 2px solid var(--border);
    background: var(--surface);
    margin-bottom: 24px;
    box-shadow: var(--hard-shadow);
}

.aci {
    border-bottom: 2px solid var(--border);
}

.aci:last-child {
    border-bottom: none;
}

.ach {
    padding: 18px 24px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface);
    transition: background 0.2s;
}

.ach:hover {
    background: var(--surface2);
}

.aar {
    color: var(--text);
    transition: 0.2s;
    font-size: 20px;
    font-weight: bold;
}

.aci.open .aar {
    transform: rotate(90deg);
    color: var(--accent);
}

.acb {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    padding: 0 24px;
    opacity: 0;
    background: var(--bg);
}

.aci.open .acb {
    max-height: 1000px;
    padding-bottom: 24px;
    opacity: 1;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    border-top: 1px dashed var(--border);
    padding-top: 15px;
}

.acb p {
    margin-bottom: 10px;
    font-size: 15px;
    color: var(--text);
}

.acb ul {
    padding-left: 20px;
}

.acb li {
    margin-bottom: 8px;
    font-size: 15px;
    color: var(--text);
}

.acb li::marker {
    font-weight: bold;
    color: var(--accent);
}

/* Quiz */
.qw {
    border: 2px solid var(--border);
    background: var(--surface);
    margin-top: 40px;
    box-shadow: var(--hard-shadow);
    position: relative;
}

.qt {
    padding: 8px 16px;
    background: var(--border);
    font-size: 11px;
    font-weight: 700;
    color: var(--surface);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
    position: absolute;
    top: -14px;
    left: 20px;
}

.qpan {
    padding: 30px 24px 24px;
}

.qq {
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    color: var(--text);
    margin-bottom: 20px;
}

.qo-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.qo {
    padding: 14px 20px;
    border: 2px solid var(--border);
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    background: var(--surface);
    transition: 0.1s;
}

.qo:hover {
    background: var(--surface2);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--border);
}

.qo.ok {
    background: var(--teal);
    border-color: var(--border);
    color: var(--surface);
}

.qo.ng {
    background: var(--red);
    border-color: var(--border);
    color: var(--surface);
    text-decoration: line-through;
}

.qfb {
    display: none;
    margin-top: 20px;
    padding: 16px 20px;
    border: 2px dashed var(--border);
    font-weight: 600;
    font-size: 15px;
}

.qfb.show {
    display: block;
}

.qf-ok {
    background: var(--teal-bg);
}

.qf-ng {
    background: var(--red-bg);
}

/* Chapter Navigation */
.cnav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
}

.cnb {
    flex: 1;
    padding: 12px 24px;
    border: 2px solid var(--border);
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    background: var(--surface);
    transition: 0.1s;
    text-decoration: none;
    box-shadow: var(--hard-shadow);
    text-align: center;
}

.cnb:hover {
    transform: translate(2px, 2px);
    box-shadow: var(--hard-shadow-hover);
    background: var(--surface2);
}

.cnb.next {
    background: var(--border);
    color: var(--surface);
}

.cnb.next:hover {
    background: var(--text2);
}

.cnb.ghost {
    opacity: 0;
    pointer-events: none;
}

/* Flow specific UI */
.flg {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.flr {
    background: var(--surface);
    border: 2px solid var(--border);
    padding: 20px;
    box-shadow: var(--hard-shadow);
}

.fli h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 18px;
    color: var(--text);
    margin-bottom: 8px;
    border-bottom: 1px dashed var(--border);
    padding-bottom: 5px;
}

.fli p {
    font-size: 15px;
    color: var(--text);
}

.flv {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    height: 30px;
    filter: grayscale(100%);
}

.fn {
    font-size: 24px;
}

.fp {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pl {
    height: 4px;
    background: var(--surface2);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.pd {
    position: absolute;
    top: 0;
    width: 30%;
    height: 100%;
    background: var(--text);
}

.pdr {
    animation: moveR 1.5s linear infinite;
}

.pdl {
    animation: moveL 1.5s linear infinite;
}

.pdb {
    animation: moveB 3s linear infinite;
}

@keyframes moveR {
    0% {
        left: -30%;
    }

    100% {
        left: 100%;
    }
}

@keyframes moveL {
    0% {
        right: -30%;
    }

    100% {
        right: 100%;
    }
}

@keyframes moveB {
    0% {
        left: -30%;
    }

    45% {
        left: 100%;
    }

    50% {
        left: 100%;
    }

    95% {
        left: -30%;
    }

    100% {
        left: -30%;
    }
}

/* Global loader */
#ldr {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
    border: 10px solid var(--border);
}

#ldr.out {
    opacity: 0;
    pointer-events: none;
}

.ldr-brand {
    font-family: 'DM Serif Display', serif;
    font-size: 48px;
    color: var(--text);
    margin-bottom: 10px;
}

.ldr-brand span {
    color: var(--accent);
}

.ldr-sub {
    font-size: 12px;
    font-weight: bold;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-top: 2px solid var(--border);
    padding-top: 10px;
}

/* Top scroll progress */
#sProgress {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    height: 4px;
    background: var(--accent);
    z-index: 999;
    width: 0%;
    transition: width 0.1s linear;
}

/* FAB */
#fabTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--surface);
    border: 2px solid var(--border);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s;
    box-shadow: var(--hard-shadow);
    color: var(--text);
    z-index: 900;
    font-weight: bold;
    font-size: 20px;
}

#fabTop.on {
    opacity: 1;
    pointer-events: all;
}

#fabTop:hover {
    transform: translate(2px, 2px);
    box-shadow: var(--hard-shadow-hover);
    background: var(--surface2);
}


/* ==========================================
           RESPONSIVE DESIGN (FIXED)
           ========================================== */

/* Fix Panels scaling before mobile */
@media(max-width: 1100px) {
    .g2 {
        grid-template-columns: 1fr;
    }

    .flg {
        grid-template-columns: 1fr;
    }
}

/* Tablet/Small Laptop */
@media (max-width: 1300px) {

    .app,
    .pw {
        grid-template-columns: 260px 1fr;
    }

    .rs {
        display: none;
    }

    /* Hide outline sidebar to give center column maximum space */
    .main,
    .mc {
        padding: 40px 50px;
    }
}

/* Mobile */
@media (max-width: 850px) {

    /* Fix Header wrapping */
    .top-nav {
        flex-wrap: wrap;
        height: auto;
        padding: 15px 20px;
        gap: 15px;
    }

    .sw {
        max-width: 100%;
        width: 100%;
        order: 3;
        margin: 0;
    }

    /* Search drops to full width on new line */
    .nav-end {
        order: 2;
    }

    .brand {
        order: 1;
    }

    /* Fix Layout Grid */
    .app,
    .pw {
        grid-template-columns: 1fr;
        border-left: none;
        border-right: none;
    }

    /* Hide the giant left sidebar entirely so user doesn't have to scroll past it */
    .ls {
        display: none;
    }

    /* Show Bottom Navigation */
    .bn {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--surface);
        border-top: 2px solid var(--border);
        padding: 10px;
        overflow-x: auto;
        gap: 10px;
        z-index: 1000;
        box-shadow: 0 -4px 0 var(--border);
    }

    .bn::-webkit-scrollbar {
        display: none;
    }

    .bni {
        flex-shrink: 0;
        padding: 8px 16px;
        background: var(--bg);
        border: 2px solid var(--border);
        color: var(--text);
        text-decoration: none;
        font-size: 12px;
        font-weight: bold;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        gap: 6px;
        box-shadow: 2px 2px 0 var(--border);
    }

    .bni.cur {
        background: var(--accent);
        color: var(--surface);
    }

    .bic {
        font-size: 16px;
        margin-right: 4px;
    }

    /* Prevent content from hiding behind new bottom nav */
    body {
        padding-bottom: 70px;
    }

    /* Adjust FAB so it doesn't overlap Bottom Nav */
    #fabTop {
        bottom: 85px;
        right: 20px;
    }

    /* Main content padding adjustments */
    .main,
    .mc {
        padding: 30px 20px;
    }

    .ch {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .pi h1 {
        font-size: 36px;
    }

    /* Stack Previous/Next buttons vertically */
    .cnav {
        flex-direction: column;
        gap: 15px;
    }

    .cnb {
        width: 100%;
        text-align: center;
    }
}
