/* ==========================================================================
   Flora – Botanisch-elegantes Design fuer Pflanzenportraits
   Um-Kasendorf.de
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Custom Properties & Foundations
   -------------------------------------------------------------------------- */

:root {
    --flora-bg: #f5f0e8;
    --flora-primary: #2d5016;
    --flora-accent: #8b6914;
    --flora-text: #3a3a3a;
    --flora-light: #faf7f2;
    --flora-border: #d4c9b8;
    --flora-primary-light: #3d6b20;
    --flora-accent-light: #a8821a;
    --flora-shadow: rgba(45, 80, 22, 0.08);
    --flora-shadow-hover: rgba(45, 80, 22, 0.16);
    --flora-radius: 6px;
    --flora-transition: 0.25s ease;
}

html {
    scroll-behavior: smooth;
}

/* --------------------------------------------------------------------------
   1. Page Base  –  .flora-page
   -------------------------------------------------------------------------- */

.flora-page {
    background-color: var(--flora-bg);
    color: var(--flora-text);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.flora-page h1,
.flora-page h2,
.flora-page h3,
.flora-page h4,
.flora-page h5 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--flora-primary);
    line-height: 1.3;
}

/* --------------------------------------------------------------------------
   2. Hero  –  .flora-hero
   -------------------------------------------------------------------------- */

.flora-hero {
    position: relative;
    width: 100%;
    min-height: 420px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.flora-hero-overview {
    background-image: url('/flora/assets/img/hero-desktop.webp');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    align-items: center;
    min-height: 0;
    aspect-ratio: 21 / 9;
}

@media (max-width: 767.98px) {
    .flora-hero-overview {
        background-image: url('/flora/assets/img/hero-mobile.webp');
        aspect-ratio: 3 / 4;
    }
}

.flora-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(20, 40, 10, 0.75) 0%,
        rgba(20, 40, 10, 0.35) 40%,
        rgba(20, 40, 10, 0.05) 100%
    );
    pointer-events: none;
}

/* Overview hero: weißes transparentes Overlay, Bild voll sichtbar */
.flora-hero-overview::after {
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.45) 0%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0.5) 100%
    );
}

/* Scroll-Pfeil unten im Hero */
.flora-hero-scroll {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--flora-primary);
    font-size: 1.8rem;
    opacity: 0.7;
    animation: floraScrollBounce 2s ease-in-out infinite;
    cursor: pointer;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.flora-hero-scroll:hover {
    opacity: 1;
    color: var(--flora-primary);
}

@keyframes floraScrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

.flora-hero-content {
    position: relative;
    z-index: 2;
}

.flora-hero-title {
    position: relative;
    z-index: 2;
    font-family: 'Playfair Display', Georgia, serif;
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    padding: 2rem 1.5rem 2.5rem;
    max-width: 800px;
}

/* Overview: dunkle Schrift auf hellem Overlay */
.flora-hero-overview .flora-hero-title {
    color: var(--flora-primary) !important;
    text-shadow:
        0 0 20px rgba(255, 255, 255, 0.9),
        0 0 40px rgba(255, 255, 255, 0.6),
        0 2px 4px rgba(255, 255, 255, 0.8);
    padding-bottom: 0.5rem;
}

.flora-hero-subtitle {
    position: relative;
    z-index: 2;
    color: #333 !important;
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow:
        0 0 15px rgba(255, 255, 255, 0.9),
        0 0 30px rgba(255, 255, 255, 0.7);
}

.flora-hero-title em {
    display: block;
    font-size: 1.15rem;
    font-weight: 400;
    font-style: italic;
    opacity: 0.85;
    margin-top: 0.4rem;
}

.flora-intro-text {
    color: #444;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* --------------------------------------------------------------------------
   2b. Portrait Hero  –  .flora-portrait-hero
   -------------------------------------------------------------------------- */

.flora-portrait-hero {
    position: relative;
    width: 100%;
    min-height: 340px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.flora-portrait-hero-overlay {
    position: relative;
    width: 100%;
    padding: 2rem 0;
    background: linear-gradient(
        to top,
        rgba(20, 40, 10, 0.8) 0%,
        rgba(20, 40, 10, 0.45) 50%,
        rgba(20, 40, 10, 0.1) 100%
    );
}

.flora-portrait-hero-content {
    position: relative;
    z-index: 2;
}

.flora-portrait-title {
    font-family: 'Playfair Display', Georgia, serif;
    color: #fff !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.flora-portrait-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.flora-portrait-family {
    opacity: 0.85;
}

.flora-portrait-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.flora-badge-conservation {
    background: #b83c1e !important;
    color: #fff !important;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
}

.flora-badge-protection {
    background: #2d5016 !important;
    color: #fff !important;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
   3. Breadcrumb  –  .flora-breadcrumb
   -------------------------------------------------------------------------- */

.flora-breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.75rem 0;
    margin: 0;
    font-size: 0.85rem;
    color: var(--flora-text);
}

.flora-breadcrumb li + li::before {
    content: '›';
    margin-right: 0.4rem;
    color: var(--flora-border);
}

.flora-breadcrumb a {
    color: var(--flora-primary);
    text-decoration: none;
    transition: color var(--flora-transition);
}

.flora-breadcrumb a:hover {
    color: var(--flora-accent);
}

/* --------------------------------------------------------------------------
   4. Intro  –  .flora-intro
   -------------------------------------------------------------------------- */

.flora-intro {
    font-size: 1.15rem;
    line-height: 1.85;
    max-width: 720px;
    color: var(--flora-text);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--flora-border);
}

.flora-intro::first-line {
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   5. Plant Card (Overview Grid)  –  .flora-card
   -------------------------------------------------------------------------- */

.flora-card {
    background: #fff;
    border: 1px solid var(--flora-border);
    border-radius: var(--flora-radius);
    overflow: hidden;
    transition: transform var(--flora-transition), box-shadow var(--flora-transition);
    display: flex;
    flex-direction: column;
}

.flora-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px var(--flora-shadow-hover);
}

.flora-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.flora-card:hover img {
    transform: scale(1.04);
}

.flora-card .flora-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.flora-card .flora-card-body h5 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}

.flora-card .flora-card-body p {
    font-size: 0.9rem;
    color: #666;
    flex: 1;
}

.flora-card a {
    text-decoration: none;
    color: inherit;
}

/* --------------------------------------------------------------------------
   6. Table of Contents  –  .flora-toc
   -------------------------------------------------------------------------- */

.flora-toc {
    background: var(--flora-light);
    border: 1px solid var(--flora-border);
    border-radius: var(--flora-radius);
    padding: 1.25rem 1.5rem;
    font-size: 0.875rem;
}

.flora-toc h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--flora-primary);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--flora-accent);
}

.flora-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.flora-toc li {
    margin-bottom: 0.15rem;
}

.flora-toc a {
    display: block;
    padding: 0.3rem 0.6rem;
    color: var(--flora-text);
    text-decoration: none;
    border-left: 3px solid transparent;
    border-radius: 0 var(--flora-radius) var(--flora-radius) 0;
    transition: all var(--flora-transition);
}

.flora-toc a:hover {
    color: var(--flora-primary);
    background: rgba(45, 80, 22, 0.05);
    border-left-color: var(--flora-border);
}

.flora-toc a.active {
    color: var(--flora-primary);
    font-weight: 600;
    background: rgba(45, 80, 22, 0.08);
    border-left-color: var(--flora-accent);
}

/* --------------------------------------------------------------------------
   7. Content Sections  –  .flora-section
   -------------------------------------------------------------------------- */

.flora-section {
    padding: 2rem 0 1.5rem;
    border-top: 1px solid var(--flora-border);
}

.flora-section:first-of-type {
    border-top: none;
    padding-top: 0;
}

.flora-section h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    position: relative;
}

.flora-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--flora-accent);
    border-radius: 2px;
}

/* --------------------------------------------------------------------------
   8. Fact Card (Steckbrief)  –  .flora-fact-card
   -------------------------------------------------------------------------- */

.flora-fact-card {
    background: var(--flora-light);
    border: 1px solid var(--flora-border);
    border-radius: var(--flora-radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.flora-fact-card .flora-fact-header {
    background: var(--flora-primary);
    color: #fff;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    padding: 0.75rem 1.25rem;
}

.flora-fact-card .flora-fact-header,
.flora-fact-card .flora-fact-header h2,
.flora-fact-card .flora-fact-header .h5,
.flora-fact-card .flora-fact-header h5,
.flora-fact-card .flora-fact-header i {
    color: #fff !important;
    margin-bottom: 0;
}

.flora-fact-item {
    display: flex;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--flora-border);
}

.flora-fact-item:last-child {
    border-bottom: none;
}

.flora-fact-item .flora-fact-icon {
    flex: 0 0 auto;
    margin-right: 0.5rem;
    color: var(--flora-primary);
}

.flora-fact-item dt,
.flora-fact-item .flora-fact-label,
.flora-fact-item .flora-fact-key {
    flex: 0 0 auto;
    font-weight: 600;
    color: var(--flora-primary);
    margin-right: 0.35rem;
}

.flora-fact-item dd,
.flora-fact-item .flora-fact-value {
    flex: 1;
    margin: 0;
}

/* --------------------------------------------------------------------------
   9. Gallery  –  .flora-gallery
   -------------------------------------------------------------------------- */

.flora-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.flora-gallery-item {
    position: relative;
    border-radius: var(--flora-radius);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--flora-border);
    background: #fff;
}

.flora-gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.flora-gallery-item:hover img {
    transform: scale(1.08);
}

.flora-gallery-item figcaption {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    color: #666;
    text-align: center;
}

/* --------------------------------------------------------------------------
   10. Lightbox  –  .flora-lightbox
   -------------------------------------------------------------------------- */

.flora-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    cursor: zoom-out;
}

.flora-lightbox.is-open {
    display: flex;
}

.flora-lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}

.flora-lightbox .flora-lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    color: #fff;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity var(--flora-transition);
    line-height: 1;
}

.flora-lightbox .flora-lightbox-close:hover {
    opacity: 1;
}

.flora-lightbox .flora-lightbox-caption {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 0.9rem;
    text-align: center;
    opacity: 0.8;
}

.flora-lightbox-prev,
.flora-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: none;
    font-size: 2.5rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 4px;
    opacity: 0.7;
    transition: opacity 0.2s, background 0.2s;
    z-index: 10001;
    line-height: 1;
}

.flora-lightbox-prev:hover,
.flora-lightbox-next:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.25);
}

.flora-lightbox-prev { left: 1rem; }
.flora-lightbox-next { right: 1rem; }

.flora-lightbox-counter {
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* --------------------------------------------------------------------------
   10b. Inline Image  –  .flora-inline-image
   -------------------------------------------------------------------------- */

.flora-inline-image {
    float: right;
    max-width: 280px;
    margin: 0 0 1rem 1.5rem;
}

.flora-inline-image img {
    width: 100%;
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   11. Status Badge  –  .flora-status-badge
   -------------------------------------------------------------------------- */

.flora-status-badge {
    display: inline-block;
    background: var(--flora-primary);
    color: var(--flora-accent);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.8rem;
    border-radius: 3px;
    border: 1px solid rgba(139, 105, 20, 0.3);
}

/* --------------------------------------------------------------------------
   12. Bloom Calendar  –  .flora-bloom-calendar
   -------------------------------------------------------------------------- */

.flora-bloom-calendar {
    display: flex;
    gap: 3px;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.flora-bloom-month {
    flex: 1 0 0;
    min-width: 36px;
    text-align: center;
    padding: 0.4rem 0.2rem;
    font-size: 0.72rem;
    font-weight: 600;
    background: var(--flora-light);
    border: 1px solid var(--flora-border);
    border-radius: 3px;
    color: #999;
    transition: all var(--flora-transition);
}

.flora-bloom-month.active {
    background: var(--flora-primary);
    color: #fff;
    border-color: var(--flora-primary);
}

.flora-bloom-month.current {
    outline: 2px solid var(--flora-accent);
    outline-offset: 1px;
}

.flora-bloom-month.active.current {
    background: var(--flora-primary-light);
}

/* --------------------------------------------------------------------------
   13. Comparison Table  –  .flora-comparison-table
   -------------------------------------------------------------------------- */

.flora-comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9rem;
    margin: 1.5rem 0;
    border: 1px solid var(--flora-border);
    border-radius: var(--flora-radius);
    overflow: hidden;
}

.flora-comparison-table thead th {
    background: var(--flora-primary);
    color: #fff;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 2px solid var(--flora-accent);
}

.flora-comparison-table tbody td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--flora-border);
    vertical-align: top;
}

.flora-comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.flora-comparison-table tbody tr:nth-child(even) {
    background: var(--flora-light);
}

.flora-comparison-table tbody tr:hover {
    background: rgba(45, 80, 22, 0.04);
}

/* --------------------------------------------------------------------------
   14. Sidebar  –  .flora-sidebar
   -------------------------------------------------------------------------- */

.flora-sidebar {
    position: sticky;
    top: 100px;
}

/* --------------------------------------------------------------------------
   15. Wanted Link Card  –  .flora-wanted-link
   -------------------------------------------------------------------------- */

.flora-wanted-link {
    display: block;
    background: linear-gradient(135deg, var(--flora-primary), var(--flora-primary-light));
    color: #fff;
    border-radius: var(--flora-radius);
    padding: 1.25rem 1.5rem;
    text-decoration: none;
    transition: transform var(--flora-transition), box-shadow var(--flora-transition);
    margin-bottom: 1.5rem;
}

.flora-wanted-link:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--flora-shadow-hover);
}

.flora-wanted-link h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: #fff;
}

.flora-wanted-link p {
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.85;
}

/* --------------------------------------------------------------------------
   16. Admin Styles  –  .flora-admin
   -------------------------------------------------------------------------- */

.flora-admin {
    background: #f0ede6;
}

.flora-admin .flora-admin-form {
    background: #fff;
    border: 1px solid var(--flora-border);
    border-radius: var(--flora-radius);
    padding: 2rem;
    max-width: 780px;
}

.flora-admin .flora-admin-form label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--flora-primary);
    margin-bottom: 0.3rem;
}

.flora-admin .flora-admin-form .form-control,
.flora-admin .flora-admin-form .form-select {
    border-color: var(--flora-border);
    border-radius: 4px;
    font-size: 0.9rem;
    transition: border-color var(--flora-transition), box-shadow var(--flora-transition);
}

.flora-admin .flora-admin-form .form-control:focus,
.flora-admin .flora-admin-form .form-select:focus {
    border-color: var(--flora-primary);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.12);
}

.flora-admin .flora-admin-form textarea.form-control {
    min-height: 120px;
}

.flora-admin .btn-flora {
    background: var(--flora-primary);
    color: #fff;
    border: none;
    padding: 0.55rem 1.6rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background var(--flora-transition);
}

.flora-admin .btn-flora:hover {
    background: var(--flora-primary-light);
    color: #fff;
}

.flora-admin .btn-flora-outline {
    background: transparent;
    color: var(--flora-primary);
    border: 1px solid var(--flora-primary);
    padding: 0.55rem 1.6rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--flora-transition);
}

.flora-admin .btn-flora-outline:hover {
    background: var(--flora-primary);
    color: #fff;
}

/* --------------------------------------------------------------------------
   17. Bootstrap Overrides (scoped to .flora-page)
   -------------------------------------------------------------------------- */

.flora-page .btn-primary {
    background-color: var(--flora-primary);
    border-color: var(--flora-primary);
}

.flora-page .btn-primary:hover,
.flora-page .btn-primary:focus {
    background-color: var(--flora-primary-light);
    border-color: var(--flora-primary-light);
}

.flora-page .btn-outline-primary {
    color: var(--flora-primary);
    border-color: var(--flora-primary);
}

.flora-page .btn-outline-primary:hover {
    background-color: var(--flora-primary);
    border-color: var(--flora-primary);
    color: #fff;
}

.flora-page a {
    color: var(--flora-primary);
    transition: color var(--flora-transition);
}

.flora-page a:hover {
    color: var(--flora-accent);
}

.flora-page .card {
    border-color: var(--flora-border);
}

.flora-page .form-control:focus,
.flora-page .form-select:focus {
    border-color: var(--flora-primary);
    box-shadow: 0 0 0 0.2rem rgba(45, 80, 22, 0.15);
}

.flora-page .badge.bg-primary {
    background-color: var(--flora-primary) !important;
}

.flora-page .pagination .page-link {
    color: var(--flora-primary);
}

.flora-page .pagination .active .page-link {
    background-color: var(--flora-primary);
    border-color: var(--flora-primary);
    color: #fff;
}

/* --------------------------------------------------------------------------
   18. Generic Utility Classes
   -------------------------------------------------------------------------- */

.flora-page .text-accent {
    color: var(--flora-accent);
}

.flora-page .bg-flora-light {
    background-color: var(--flora-light);
}

.flora-page .border-flora {
    border-color: var(--flora-border) !important;
}

.flora-page .serif {
    font-family: 'Playfair Display', Georgia, serif;
}

/* --------------------------------------------------------------------------
   19. Responsive  –  Mobile & Tablet
   -------------------------------------------------------------------------- */

@media (max-width: 991.98px) {
    .flora-hero {
        min-height: 300px;
    }

    .flora-hero-title {
        font-size: 2.2rem;
        padding: 1.5rem 1rem 2rem;
    }

    .flora-toc {
        margin-bottom: 1.5rem;
    }

    .flora-sidebar {
        position: static;
        margin-bottom: 2rem;
    }

    .flora-fact-item {
        flex-direction: column;
    }

    .flora-fact-item dt,
    .flora-fact-item .flora-fact-label {
        flex: none;
        margin-bottom: 0.15rem;
    }
}

@media (max-width: 575.98px) {
    .flora-hero {
        min-height: 220px;
    }

    .flora-hero-title {
        font-size: 1.7rem;
        padding: 1rem 0.75rem 1.5rem;
    }

    .flora-section h3 {
        font-size: 1.3rem;
    }

    .flora-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .flora-gallery-item img {
        height: 140px;
    }

    .flora-inline-image {
        float: none;
        max-width: 100%;
        margin: 0 0 1rem 0;
    }

    .flora-lightbox-prev,
    .flora-lightbox-next {
        font-size: 1.8rem;
        padding: 0.4rem 0.7rem;
    }

    .flora-bloom-calendar {
        gap: 2px;
    }

    .flora-bloom-month {
        min-width: 28px;
        font-size: 0.65rem;
        padding: 0.3rem 0.1rem;
    }

    .flora-comparison-table {
        font-size: 0.8rem;
    }

    .flora-comparison-table thead th,
    .flora-comparison-table tbody td {
        padding: 0.5rem 0.6rem;
    }
}

/* --------------------------------------------------------------------------
   20. Print Styles
   -------------------------------------------------------------------------- */

@media print {
    /* Hide navigation (UIKit navbar and any Bootstrap nav) */
    .uk-navbar,
    .uk-navbar-container,
    .uk-offcanvas,
    nav,
    .flora-toc,
    .flora-wanted-link,
    .flora-lightbox,
    footer {
        display: none !important;
    }

    .flora-page {
        background: #fff;
        color: #000;
        font-size: 11pt;
    }

    .flora-hero {
        min-height: auto;
        page-break-after: avoid;
    }

    .flora-hero::after {
        display: none;
    }

    .flora-hero-title {
        color: #000;
        text-shadow: none;
        font-size: 22pt;
    }

    .flora-card,
    .flora-fact-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .flora-section {
        break-inside: avoid;
    }

    .flora-sidebar {
        position: static;
    }

    a[href]::after {
        content: ' (' attr(href) ')';
        font-size: 0.8em;
        color: #666;
    }

    .flora-gallery-item:hover img {
        transform: none;
    }
}
