/* ============================================
   Majestic Oaks - Custom Styles
   Earth Tone Theme with Forest Greens & Warm Browns
   ============================================ */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Primary Brand Colors - Forest Greens */
    --primary: rgb(61, 68, 30);        /* Main brand color - deep forest */
    --primary-dark: color-mix(in srgb, var(--primary) 95%, black); /* 5% darker shade of --primary */
    --primary-light: rgb(95, 102, 56); /* Light accents - pine green */
    --primary-gold: rgb(215, 163, 96); /* Gold accent - logo & highlights */
    
    /* Secondary Colors - Warm Browns */
    --secondary: rgb(107, 96, 82);     /* Warm brown - secondary actions */
    --secondary-dark: rgb(72, 64, 54); /* Dark brown - secondary hover */
    --secondary-light: #EDE6DD;        /* Sandstone - alternating sections */
    --green-light: #D4DFD2;        /* Light Sage - nature accent */
    
    /* Success/Info Colors */
    --success: rgb(95, 102, 56);          /* Sage green - success states */
    --success-dark: rgb(61, 68, 30);      /* Dark sage - success text */
    --info: rgb(215, 163, 96);              /* Clay - info badges */
    
    /* Neutral Colors */
    --text-primary: rgb(42, 41, 37);    /* Warm near-black */
    --text-muted: rgb(115, 111, 102);   /* Warm stone gray */
    --bg-light: rgb(238, 236, 231);     /* Warm stone - page background */
    --bg-linen: rgb(247, 245, 240);     /* Soft warm off-white */
    --bg-card: #FFFFFF;                 /* White - card surfaces */
    --border-warm: rgb(185, 174, 150);  /* Muted stone - borders & dividers */
    
    /* Semantic Colors */
    --danger: #dc3545;            /* Standard red for errors */
    --admin-dark: #555555;        /* Admin toolbar background */
}

/* ============================================
   GLOBAL RESETS & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--bg-light);
}

.section[id] {
    scroll-margin-top: 80px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-weight: 500;
}

h2, h3, h4, h5 {
    color: var(--secondary-dark);
}

h2 {
    font-size: clamp(1.5rem, 1.3rem + 1vw, 2.5rem);
    margin-bottom: 20px;
}

h3 {
    font-size: clamp(1.125rem, 0.925rem + 1vw, 2.125rem);
}

/* ============================================
   SECTION HEADER (shared across all sections)
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-subtitle {
    color: var(--text-muted);
}

/* ============================================
   PAGE HEADER TYPOGRAPHY
   ============================================ */
.page-header h1 {
    font-size: clamp(2rem, 1.5rem + 2vw, 3.5rem);
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: inherit;
}

.lead {
    font-weight: 500;
}

.page-header .lead {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-header .post-date {
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   STAT NUMBERS
   ============================================ */
.stat-block {
    padding: 1.5rem;
}

.stat-number {
    font-size: clamp(2rem, 1.5rem + 2vw, 3.5rem);
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ============================================
   COMPONENT UTILITIES
   ============================================ */
.post-card {
    cursor: pointer;
}

.avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.download-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.honeypot {
    position: absolute;
    left: -9999px;
}

/* ============================================
   TYPOGRAPHY & TEXT UTILITIES
   ============================================ */
.text-secondary {
    color: var(--secondary) !important;
}

/* ============================================
   LINKS
   ============================================ */
a {
    color: var(--secondary);
    text-decoration: none;
}

a:hover {
    color: var(--secondary-dark);
}

/* ============================================
   BACKGROUND COLORS
   ============================================ */
.bg-secondary-light {
    background-color: var(--secondary-light);
}

.bg-green-light {
    background-color: var(--green-light);
}

.bg-light {
    background-color: var(--bg-linen) !important;
}

.bg-white {
    background-color: var(--bg-card) !important;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    min-width: 150px;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn-outline-danger {
    color: var(--danger);
    border-color: var(--danger);
}

.btn-outline-danger:hover {
    background-color: var(--danger);
    border-color: var(--danger);
    color: #fff;
}

.btn-outline-success {
    color: var(--success);
    border-color: var(--success);
}

.btn-outline-success:hover {
    background-color: var(--success);
    border-color: var(--success);
    color: #fff;
}

/* Extra small devices */
@media (max-width: 575px) {
    .container,
    .container-fluid {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }
    
    .row > * {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* ============================================
   SECTION VERTICAL RHYTHM
   ============================================ */
.section {
    padding: 3rem 0;
}

@media (min-width: 992px) {
    .section {
        padding: 5rem 0;
    }
}

.section .col-lg-8 .content {
    font-size: 1.125rem;
    line-height: 1.8;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    background: linear-gradient(to bottom, var(--primary-light), var(--primary)) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: padding 0.3s ease;
    padding: 20px 0;
}

/* Shrunk navbar on scroll */
.navbar.navbar-scrolled {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    background: linear-gradient(to bottom, var(--primary-light), var(--primary)) !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff !important;
}

.navbar-brand img {
    height: 100px;
    transition: height 0.3s ease;
}

.navbar.navbar-scrolled .navbar-brand img {
    height: 68px;
}

.navbar-toggler {
    border: none;
    outline: none;
    box-shadow: none;
    padding: 0;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

@media (min-width: 992px) {
    .navbar > .container {
        align-items: flex-end;
    }

    .navbar-nav {
        align-items: flex-end;
    }
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-light) !important;
}

/* Responsive navbar logo for tablets and mobile */
@media (max-width: 991px) {
    .navbar {
        padding: 5px 0;
    }

    .navbar-brand img {
        height: 48px;
    }
    
    .navbar.navbar-scrolled .navbar-brand img {
        height: 36px;
    }
    
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-light);
        padding: 0.5rem 1rem 1rem;
        z-index: 1000;
    }

    /* Center mobile menu links */
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-item {
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0;
    }
}

/* ---- Navbar dropdown (desktop) ---- */
@media (min-width: 992px) {
    .navbar .dropdown-menu {
        background-color: var(--primary);
        border: none;
        border-radius: 0 0 12px 12px;
        padding: 0;
        min-width: 230px;
        box-shadow: none;
        margin-top: 0;
        top: calc(100% + 18px);
        opacity: 0;
        transform: translateY(-4px);
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

    .navbar .dropdown-menu.show {
        opacity: 1;
        transform: translateY(0);
    }

    .navbar.navbar-scrolled .dropdown-menu {
        top: calc(100% + 4px);
    }

    .navbar .dropdown-item {
        color: rgba(255, 255, 255, 0.85);
        padding: 0.6rem 1rem;
        font-weight: 500;
        font-size: 0.9rem;
        transition: color 0.2s ease;
    }

    .navbar .dropdown-menu li:first-child .dropdown-item {
        padding-top: 0;
    }

    .navbar .dropdown-item:hover,
    .navbar .dropdown-item:focus {
        background: transparent;
        color: var(--secondary-light);
    }

}

/* ---- Navbar dropdown (mobile) ---- */
@media (max-width: 991px) {
    .navbar .dropdown-menu {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0.5rem 0;
        margin: 0;
    }

    .navbar .dropdown-item {
        color: rgba(255, 255, 255, 0.7);
        text-align: center;
        padding: 0.5rem 0;
        font-size: 0.9rem;
        font-weight: 400;
        transition: color 0.2s ease;
    }

    .navbar .dropdown-item:hover,
    .navbar .dropdown-item:focus {
        color: var(--border-warm);
        background: transparent;
    }

    .navbar .dropdown-toggle::after {
        margin-left: 0.35em;
        vertical-align: 0.15em;
    }
}

/* ============================================
   TYPE 1: HERO (Homepage)
   ============================================ */
.hero {
    min-height: 85vh;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #ffffff;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 0;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
    display: flex;
    align-items: center;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero h1.heading {
    font-size: 40px;
    font-weight: 500;
    line-height: 48px;
    margin: 0 auto 20px;
}

.hero p.lead {
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
    max-width: 800px;
    margin: 0 auto 20px;
}

.hero-background-image {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
    transform: scale(1.2);
    animation: hero-zoom-out 10s ease-out forwards;
}

@keyframes hero-zoom-out {
    from { transform: scale(1.2); }
    to   { transform: scale(1); }
}

@media (min-width: 768px) {
    .hero h1.heading {
        font-size: 50px;
        line-height: 58px;
    }
}

@media (min-width: 992px) {
    .hero h1.heading {
        font-size: 60px;
        line-height: 68px;
    }

    .hero p.lead {
        font-size: 28px;
        line-height: 38px;
    }
}

/* ============================================
   TYPE 2 & 3: PAGE HEADERS (shared base)
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--success-dark) 0%, var(--success) 100%);
    color: #fff;
    padding: 4rem 0;
    margin-bottom: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
    mix-blend-mode: overlay;
    z-index: 2;
}

.page-header-content {
    position: relative;
    z-index: 3;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.page-header-background-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
}

/* TYPE 2: Page Header with Image — taller to show more of the photo */
.page-header-image {
    padding: 6rem 0;
}

/* ============================================
   HEADER RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hero {
        min-height: calc(65vh - 100px);
    }

    .page-header {
        padding: 2.5rem 0;
    }

    .page-header-image {
        padding: 3.5rem 0;
    }

    .lead {
        font-size: 1.1rem;
    }
}

.intro-text{
    font-size: 1.125rem;
    font-size: clamp(1.125rem, 1.1rem + 0.125vw, 1.25rem);
    font-weight: 400;
    line-height: 32px;
}

/* ============================================
   FEATURE ICONS
   ============================================ */
.feature-icon i {
    font-size: 3rem;
    color: var(--secondary);
}

.card.feature-card {
    background-color: #fff;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    border-radius: 0.5rem;
    background-color: var(--bg-card);
    border-color: var(--border-warm);
}

.card-title {
    color: var(--secondary-dark);
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.user-card {
    border-left: 3px solid var(--secondary);
}

.user-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.post-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.post-card:hover .card-title {
    color: var(--secondary);
    transition: color 0.3s ease;
}

/* ============================================
   IMAGES
   ============================================ */
.placeholder-image {
    background-color: var(--secondary-light);
    border-radius: 0.5rem;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-thumbnail,
.post-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.5rem 0.5rem 0 0;
}


/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background-color: var(--secondary-dark);
    color: #fff;
    padding: 4rem 0 2rem;
    font-size: 0.875rem;
}

.site-footer h5 {
    color: var(--secondary-light);
    margin-bottom: 1rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.85);
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-light);
}

.footer-indent {
    margin-left: 1.75rem;
}

.footer-contact-card {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.footer-contact-card strong {
    color: #fff;
    font-size: 0.95rem;
}

.footer-contact-card a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}

.footer-contact-card a:hover {
    color: var(--secondary-light);
}

.site-footer svg,
.site-footer i {
    color: rgba(255, 255, 255, 0.85);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

/* ============================================
   FORMS
   ============================================ */
.form-control:focus,
.form-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.2rem rgba(150, 111, 80, 0.25);
}


/* ============================================
   INFO BOXES & ALERTS
   ============================================ */
.info-box {
    background: linear-gradient(135deg, rgba(150, 111, 80, 0.1) 0%, rgba(166, 138, 100, 0.1) 100%);
    border-left: 4px solid var(--secondary);
    padding: 1rem;
    border-radius: 0.25rem;
}

.alert-info {
    background-color: rgba(150, 111, 80, 0.1);
    border-color: var(--secondary-light);
    color: var(--secondary-dark);
}

.alert-success {
    background-color: rgba(122, 139, 112, 0.1);
    border-color: var(--success);
    color: var(--success-dark);
}


/* ============================================
   TABLES
   ============================================ */
.table-hover tbody tr:hover {
    background-color: rgba(150, 111, 80, 0.05);
}

/* ============================================
   ADMIN TOOLBAR
   ============================================ */
.admin-toolbar {
    background-color: var(--admin-dark);
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-toolbar-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 5px 12px;
    margin: 0 2px;
    border-radius: 3px;
    transition: all 0.2s;
    display: inline-block;
}

.admin-toolbar-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.admin-toolbar-logout:hover {
    color: #fff;
    background-color: var(--danger);
}



/* ============================================
   BADGES
============================================ */
.badge.bg-primary {
    background-color: var(--primary) !important;
}

.badge.bg-success {
    background-color: var(--success) !important;
}

.badge.bg-info {
    background-color: var(--info) !important;
}

/* ============================================
   WYSIWYG EDITOR - QUILL TEXT ALIGNMENT
   ============================================ */
/* These classes are generated by Quill editor for text alignment */
.ql-align-center {
    text-align: center !important;
}

.ql-align-right {
    text-align: right !important;
}

.ql-align-justify {
    text-align: justify !important;
}

/* ============================================
   SECTION CONTENT - INLINE IMAGES
   ============================================ */
.section .content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* ============================================
   POST SINGLE
   ============================================ */
.post-container {
    margin-top: -3rem;
    position: relative;
    z-index: 4;
    padding-top: 0;
    padding-bottom: 3rem;
}

.page-header:has(+ .post-container) h1 {
    font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
}

.post-single {
    background-color: #fff;
    padding: 0 2rem 2rem;
    border-radius: 0.375rem;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
    font-size: 1.1rem;
    overflow: hidden;
    line-height: 1.8;
}

.post-featured-image {
    margin-left: -2rem;
    margin-right: -2rem;
}

.post-featured-image img {
    border-radius: 0;
}

.post-excerpt {
    font-size: 1.15rem;
    line-height: 1.6;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--secondary-dark);
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.post-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #6c757d;
}

.post-content code {
    background: var(--secondary-light);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9em;
}

.post-content pre {
    background: var(--secondary-light);
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content a {
    color: var(--primary);
    text-decoration: underline;
}

.post-content a:hover {
    color: var(--primary-dark);
}

/* Quill editor indented list support.
   Two render paths are handled:
   1. Legacy/flat content saved before the server-side unflatten existed —
      Quill emits <li class="ql-indent-N"> siblings. Indentation comes from
      padding-left on the <li> itself.
   2. Newly saved content — Sanitizer rewrites it into proper nested
      <ul>/<ol>. Indentation comes from margin-left on the nested list.
   Both produce the same visual: each level is offset by 1.5em and cycles
   through disc / circle / square (and decimal / lower-alpha / lower-roman
   for ordered lists). */

/* Path 1: flat ql-indent-N siblings.
   margin-left (not padding-left) is used so the bullet marker moves with
   the item — padding-left only shifts the text in some browsers because
   the marker stays anchored to the parent <ul>'s padding edge with
   list-style-position: outside. */
.content li.ql-indent-1,
.post-content li.ql-indent-1 { margin-left: 2em;  list-style-type: circle; }
.content li.ql-indent-2,
.post-content li.ql-indent-2 { margin-left: 4em;  list-style-type: square; }
.content li.ql-indent-3,
.post-content li.ql-indent-3 { margin-left: 6em;  list-style-type: disc; }
.content li.ql-indent-4,
.post-content li.ql-indent-4 { margin-left: 8em;  list-style-type: circle; }
.content li.ql-indent-5,
.post-content li.ql-indent-5 { margin-left: 10em; list-style-type: square; }
.content li.ql-indent-6,
.post-content li.ql-indent-6 { margin-left: 12em; list-style-type: disc; }
.content li.ql-indent-7,
.post-content li.ql-indent-7 { margin-left: 14em; list-style-type: circle; }
.content li.ql-indent-8,
.post-content li.ql-indent-8 { margin-left: 16em; list-style-type: square; }

.content ol li.ql-indent-1,
.post-content ol li.ql-indent-1 { list-style-type: lower-alpha; }
.content ol li.ql-indent-2,
.post-content ol li.ql-indent-2 { list-style-type: lower-roman; }
.content ol li.ql-indent-3,
.post-content ol li.ql-indent-3 { list-style-type: decimal; }
.content ol li.ql-indent-4,
.post-content ol li.ql-indent-4 { list-style-type: lower-alpha; }
.content ol li.ql-indent-5,
.post-content ol li.ql-indent-5 { list-style-type: lower-roman; }
.content ol li.ql-indent-6,
.post-content ol li.ql-indent-6 { list-style-type: decimal; }
.content ol li.ql-indent-7,
.post-content ol li.ql-indent-7 { list-style-type: lower-alpha; }
.content ol li.ql-indent-8,
.post-content ol li.ql-indent-8 { list-style-type: lower-roman; }

/* Path 2: properly nested lists (post server-side unflatten) */
.content ul ul,
.content ol ol,
.content ul ol,
.content ol ul,
.post-content ul ul,
.post-content ol ol,
.post-content ul ol,
.post-content ol ul {
    margin: 0.25rem 0 0.5rem 1.5em;
    padding-left: 1em;
}

.content ul ul,
.post-content ul ul { list-style-type: circle; }
.content ul ul ul,
.post-content ul ul ul { list-style-type: square; }
.content ul ul ul ul,
.post-content ul ul ul ul { list-style-type: disc; }
.content ul ul ul ul ul,
.post-content ul ul ul ul ul { list-style-type: circle; }

.content ol ol,
.post-content ol ol { list-style-type: lower-alpha; }
.content ol ol ol,
.post-content ol ol ol { list-style-type: lower-roman; }
.content ol ol ol ol,
.post-content ol ol ol ol { list-style-type: decimal; }
.content ol ol ol ol ol,
.post-content ol ol ol ol ol { list-style-type: lower-alpha; }