@charset "UTF-8";
/*
Theme Name: Lewis and Clark Research Database
Theme URI: https://research.lewisandclarktrust.org
Author: Lewis and Clark Trust
Author URI: https://lewisandclarktrust.org
Description: A dark, scholarly research interface for the Lewis and Clark Research Database, designed for historical research and document discovery.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lewis-clark-research
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, dark-mode
*/

/* ========================================
   1. RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

:root {
    /* Primary Colors - Gold/Historical Theme */
    --color-primary: #c9a962;
    --color-primary-light: #e8d5a3;
    --color-primary-dark: #a68a4a;
    --color-secondary: #b87333;
    --color-accent: #c9a962;

    /* Dark Theme Colors */
    --color-dark: #000000;
    --color-dark-light: #0d1117;
    --color-dark-lighter: #161b22;
    --color-dark-elevated: #21262d;

    /* Text Colors */
    --color-white: #ffffff;
    --color-text: #ffffff;
    --color-text-muted: rgba(255, 255, 255, 0.6);
    --color-text-subtle: rgba(255, 255, 255, 0.4);

    /* Post Type Colors */
    --color-treaties: #c9a962;
    --color-translations: #b87333;
    --color-research: #58a6ff;
    --color-documents: #8b949e;
    --color-art: #f778ba;

    /* Border Colors */
    --border-color: #30363d;
    --border-muted: #21262d;

    /* Typography */
    --font-primary: colfax-web, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 15px;
    --spacing-lg: 20px;
    --spacing-xl: 30px;
    --spacing-xxl: 40px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 10px;
    --radius-lg: 15px;
    --radius-full: 50%;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.1);
    --shadow-md: 0px 2px 4px 2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.3);

    /* Header */
    --header-height: 80px;
}

body {
    font-family: var(--font-primary);
    font-weight: 500;
    font-style: normal;
    background-color: #000000;
    min-height: 100vh;
    padding-top: var(--header-height);
    color: var(--color-white);
}

/* Home page specific - no padding for full-height hero */
body.home {
    padding-top: 0;
}

h1 {
    font-weight: 700;
    font-size: 50px;
    line-height: 1.1;
    color: #ffffff;
    text-transform: uppercase;
}

h2 {
    font-weight: 700;
    font-size: 30px;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
}

h3 {
    font-weight: 600;
    font-size: 24px;
    color: #ffffff;
    margin-bottom: var(--spacing-sm);
}

h4 {
    font-weight: 600;
    font-size: 20px;
    color: #ffffff;
    margin-bottom: var(--spacing-sm);
}

p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary-light);
}

strong {
    font-weight: 700;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-primary {
    color: var(--color-primary) !important;
}

.text-gold {
    color: var(--color-primary) !important;
}

.text-muted {
    color: var(--color-text-muted) !important;
}

/* ========================================
   2. NAVIGATION / HEADER
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.site-header .navbar {
    padding: 1rem 0;
    height: auto;
    transition: all 0.3s ease;
}

/* Navbar scroll blur effect - applied to .navbar by inline script */
.navbar.scrolled {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled-more {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-white) !important;
}

.navbar-brand:hover {
    color: var(--color-primary-light) !important;
}

.navbar-brand img {
    height: 45px;
    width: auto;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    padding: var(--spacing-sm) var(--spacing-md) !important;
    transition: color 0.3s ease;
    font-weight: 500;
}

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

.nav-link.active {
    color: var(--color-white) !important;
    font-weight: 600;
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: var(--spacing-sm);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown Menus */
.dropdown-menu {
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) 0;
    box-shadow: var(--shadow-lg);
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-primary);
}

/* Search Toggle */
.search-toggle {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    padding: var(--spacing-sm);
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-toggle:hover {
    color: var(--color-primary);
}

/* Mobile Navigation */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.95);
        padding: 1rem;
        border-radius: var(--radius-md);
        margin-top: 0.5rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* ========================================
   3. BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    background-color: var(--color-primary);
    font-weight: 700;
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-lg);
    font-family: var(--font-primary);
    text-transform: uppercase;
    color: #000000;
    font-size: 12px;
    padding: .5em 1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    background-color: #000000;
    border: 1px solid var(--color-primary);
    color: #ffffff;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border: none;
    font-weight: 700;
    transition: all 0.3s ease;
    color: #000000;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    box-shadow: 0 10px 25px rgba(201, 169, 98, 0.3);
    color: #000000;
}

.btn-gold {
    background-color: var(--color-primary);
    color: #000000;
    font-size: var(--spacing-sm);
    padding: 10px 20px;
    border-radius: var(--radius-lg);
}

.btn-gold:hover {
    background-color: var(--color-primary-light);
    color: #000000;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    color: white;
    background: transparent;
    transition: all 0.3s ease;
}

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

.btn-outline-gold {
    border: 2px solid var(--color-primary);
    font-weight: 600;
    color: var(--color-primary);
    background: transparent;
    transition: all 0.3s ease;
}

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

.btn-outline-secondary {
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 14px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 11px;
}

/* ========================================
   4. HERO SECTION - PAGE HERO STYLE
   ======================================== */
.page-hero,
.hero-section {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 3rem 0;
    margin-top: calc(var(--header-height) * -1);
    padding-top: 120px;
}

.hero-section.hero-lg,
.page-hero.hero-lg {
    min-height: 100vh;
    align-items: center;
    padding-top: var(--header-height);
}

.hero-section.hero-md,
.page-hero.hero-md {
    min-height: 45vh;
}

.hero-section.hero-sm,
.page-hero.hero-sm {
    min-height: 35vh;
}

/* Hero overlay gradient - Page Hero Style */
.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.85) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Legacy hero overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.85) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Hero content */
.hero-content,
.page-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Page Hero Title Styles */
.page-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.page-hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-primary-light);
    margin-bottom: 1rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
}

.page-hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 700px;
}

.hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-icon i {
    font-size: 1.75rem;
    color: var(--color-primary);
}

.hero-breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-breadcrumb a:hover {
    color: var(--color-primary-light);
}

.hero-breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-primary-light);
    margin-bottom: 1rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 700px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    justify-content: center;
}

.hero-stats .stat {
    text-align: center;
}

.hero-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    display: block;
}

.hero-stats .stat-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-stats .stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
    height: 40px;
    align-self: center;
}

/* Hero Search */
.hero-search {
    max-width: 600px;
    margin-top: var(--spacing-xl);
}

/* Home Hero - Centered Layout */
.hero-home .page-hero-content .container {
    text-align: center;
}

.hero-home .page-hero-title,
.hero-home .page-hero-subtitle,
.hero-home .page-hero-description {
    text-align: center;
}

.hero-home .page-hero-description {
    margin-left: auto;
    margin-right: auto;
}

.hero-home .hero-search {
    margin-left: auto;
    margin-right: auto;
}

.hero-search-wrapper {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 5px;
}

.hero-search-wrapper .search-icon {
    display: flex;
    align-items: center;
    padding: 0 var(--spacing-md);
    color: rgba(255, 255, 255, 0.5);
}

.hero-search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: var(--spacing-md);
    font-size: 1rem;
    outline: none;
}

.hero-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.hero-search-btn {
    background: var(--color-primary);
    border: none;
    color: #000000;
    padding: var(--spacing-md) var(--spacing-xl);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-search-btn:hover {
    background: var(--color-primary-light);
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    animation: bounce 2s infinite;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.hero-scroll-indicator:hover {
    color: rgba(255, 255, 255, 1);
}

.hero-scroll-indicator span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
}

.hero-scroll-indicator i {
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========================================
   5. GLASS CARD EFFECT
   ======================================== */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ========================================
   6. CARDS
   ======================================== */
.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    box-shadow: none;
    margin-bottom: var(--spacing-lg);
    min-height: 160px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-body {
    padding: var(--spacing-lg);
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
}

.card-title a {
    color: var(--color-white);
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: var(--color-primary);
}

.card-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

.card-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.card-link {
    color: var(--color-primary);
}

.card-link:hover {
    color: var(--color-primary-light);
}

/* Card Images */
.card-img-top {
    object-fit: cover;
    width: 100%;
    height: 200px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    transition: transform 0.4s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-img-wrapper {
    overflow: hidden;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.card-footer {
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md) var(--spacing-lg);
}

/* Card Meta */
.card-meta {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-sm);
}

/* Type Badge */
.type-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-sm);
}

.type-badge.gold,
.type-badge.treaties {
    background-color: rgba(201, 169, 98, 0.15);
    color: var(--color-treaties);
}

.type-badge.copper,
.type-badge.translations {
    background-color: rgba(184, 115, 51, 0.15);
    color: var(--color-translations);
}

.type-badge.teal,
.type-badge.research {
    background-color: rgba(88, 166, 255, 0.15);
    color: var(--color-research);
}

.type-badge.silver,
.type-badge.documents {
    background-color: rgba(139, 148, 158, 0.15);
    color: var(--color-documents);
}

.type-badge.rose,
.type-badge.art {
    background-color: rgba(247, 120, 186, 0.15);
    color: var(--color-art);
}

/* ========================================
   7. ARCHIVE PAGE STYLES
   ======================================== */
.archive-page {
    padding: var(--spacing-xxl) 0;
    padding-top: var(--spacing-xl);
    background: #000000;
}

.archive-filter-bar {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.filter-form .filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    align-items: center;
}

.filter-form .filter-group {
    flex: 1;
    min-width: 150px;
}

.filter-form .filter-search {
    flex: 2;
    min-width: 250px;
}

.filter-form .form-select,
.filter-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-form .form-select:focus,
.filter-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--color-primary);
    color: white;
    box-shadow: 0 0 0 0.25rem rgba(201, 169, 98, 0.25);
    outline: none;
}

.filter-form .form-select option {
    background-color: var(--color-dark-light);
    color: white;
}

.filter-form .input-group {
    display: flex;
}

.filter-form .input-group .form-control {
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.filter-form .input-group .btn {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Results Header */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.results-count {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.view-toggle {
    display: flex;
    gap: var(--spacing-xs);
}

.view-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-muted);
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn:hover,
.view-btn.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Archive Results */
.archive-results {
    margin-bottom: var(--spacing-xl);
}

/* No Results Message */
.no-results-message {
    text-align: center;
    padding: var(--spacing-xxl);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.no-results-message i {
    font-size: 3rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
    display: block;
}

.no-results-message h3 {
    margin-bottom: var(--spacing-sm);
}

.no-results-message p {
    color: var(--color-text-muted);
}

/* Search Suggestions */
.search-suggestions {
    margin-top: var(--spacing-lg);
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.search-suggestions h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
}

.search-suggestions ul {
    list-style: disc;
    padding-left: var(--spacing-lg);
    color: var(--color-text-muted);
}

.search-suggestions li {
    margin-bottom: var(--spacing-xs);
}

.search-again {
    margin-top: var(--spacing-lg);
}

.search-again .search-form {
    max-width: 400px;
    margin: 0 auto;
}

/* ========================================
   SEARCH RESULTS PAGE
   ======================================== */
.search-results-page {
    padding: var(--spacing-xl) 0;
    background-color: #000000;
}

/* Search Type Tabs */
.search-type-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.type-tab {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.type-tab:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}

.type-tab.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #000000;
}

.type-tab.active:hover {
    color: #000000;
}

.type-tab i {
    font-size: 1rem;
}

.type-tab .count {
    font-size: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.type-tab.active .count {
    background: rgba(0, 0, 0, 0.3);
}

/* Search Results Grid */
.search-results {
    margin-bottom: var(--spacing-xl);
}

.search-results .row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

/* Override Bootstrap col classes within search results grid */
.search-results .row > [class*="col-"] {
    width: 100%;
    max-width: 100%;
    flex: none;
}

.search-results .research-card {
    height: 100%;
}

@media (max-width: 991.98px) {
    .search-results .row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .search-results .row {
        grid-template-columns: 1fr;
    }
}

/* Search Sidebar */
.search-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--spacing-lg));
}

/* Search Form Styling */
.search-form {
    display: flex;
    gap: var(--spacing-xs);
}

.search-form .search-field {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-white);
    font-size: 0.95rem;
}

.search-form .search-field:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.08);
}

.search-form .search-field::placeholder {
    color: var(--color-text-muted);
}

.search-form .search-submit {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--color-primary);
    border: none;
    border-radius: var(--radius-md);
    color: #000000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form .search-submit:hover {
    background: var(--color-primary-light);
}

/* Topic Cloud */
.topic-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.topic-cloud .topic-tag {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.topic-cloud .topic-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Responsive Search */
@media (max-width: 991px) {
    .search-sidebar {
        margin-top: var(--spacing-xl);
        position: static;
    }

    .search-type-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: var(--spacing-sm);
        -webkit-overflow-scrolling: touch;
    }

    .type-tab {
        white-space: nowrap;
    }
}

@media (max-width: 767px) {
    .search-results .row {
        grid-template-columns: 1fr;
    }

    .search-form {
        flex-direction: column;
    }

    .search-form .search-submit {
        width: 100%;
    }
}

/* Pagination */
.archive-pagination {
    margin-top: var(--spacing-xl);
}

.archive-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
}

.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.archive-pagination .page-numbers:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.archive-pagination .page-numbers.current {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #000000;
}

/* ========================================
   8. SIDEBAR
   ======================================== */
.archive-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--spacing-lg));
}

.sidebar-widget {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.widget-title i {
    color: var(--color-primary);
}

.sidebar-widget p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* Topic List */
.topic-list,
.key-figure-list,
.collection-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.topic-list li,
.key-figure-list li,
.collection-list li {
    margin-bottom: var(--spacing-sm);
}

.topic-list a,
.key-figure-list a,
.collection-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    padding: var(--spacing-xs) 0;
    transition: all 0.3s ease;
}

.topic-list a:hover,
.key-figure-list a:hover,
.collection-list a:hover {
    color: var(--color-primary);
    padding-left: var(--spacing-xs);
}

.topic-list .count {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
}

.collection-list a i {
    margin-right: var(--spacing-sm);
    color: var(--color-primary);
}

/* ========================================
   9. SEARCH OVERLAY
   ======================================== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1050;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-overlay.active {
    visibility: visible;
    opacity: 1;
}

.search-overlay-inner {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    overflow-y: auto;
}

.search-close {
    position: absolute;
    top: var(--spacing-xl);
    right: var(--spacing-xl);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-close:hover {
    color: white;
}

.search-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.search-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    font-size: 1.5rem;
}

.search-input-wrapper {
    display: flex;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.search-input-wrapper:focus-within {
    border-color: var(--color-primary);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: var(--spacing-lg);
    font-size: 1.25rem;
    outline: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-submit {
    background: var(--color-primary);
    border: none;
    color: #000000;
    padding: var(--spacing-lg) var(--spacing-xl);
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-submit:hover {
    background: var(--color-primary-light);
}

/* Search Filters */
.search-filters {
    margin-top: var(--spacing-xl);
    text-align: center;
}

.filter-label {
    color: var(--color-text-muted);
    margin-right: var(--spacing-md);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Live Search Results */
.live-search-results {
    margin-top: var(--spacing-xl);
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.search-result-thumb {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: rgba(255, 255, 255, 0.1);
}

.search-result-content {
    flex: 1;
}

.search-result-type {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.search-result-title {
    font-weight: 600;
    color: white;
    margin: 2px 0;
}

.search-result-meta {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ========================================
   10. FORMS
   ======================================== */
.form-control,
.form-select {
    display: block;
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 14px;
    font-family: var(--font-primary);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    color: white;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.25);
    color: white;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

/* ========================================
   11. FOOTER
   ======================================== */
.site-footer {
    background: linear-gradient(
        180deg,
        rgba(13, 17, 23, 1) 0%,
        rgba(5, 8, 12, 1) 50%,
        rgba(0, 0, 0, 1) 100%
    );
    border-top: 1px solid rgba(201, 169, 98, 0.3);
    color: white;
    margin-top: 0;
    padding: 3rem 0;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 20% 0%, rgba(201, 169, 98, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 100%, rgba(184, 115, 51, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.site-footer .container {
    position: relative;
    z-index: 1;
}

.site-footer h3,
.site-footer h4,
.site-footer h5 {
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
}

.site-footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.site-footer a:hover {
    color: var(--color-primary-light);
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: var(--spacing-sm);
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-nav a:hover {
    color: var(--color-primary-light);
    padding-left: 5px;
}

/* Social Links */
.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #000000;
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin: 0;
}

/* ========================================
   PARTNERS SECTION
   ======================================== */
.partners-section {
    padding: 60px 0;
    background-color: var(--color-dark-light);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.partners-title {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

.partner-logo img {
    max-height: 78px;
    max-width: 195px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 767px) {
    .partners-logos {
        gap: 30px;
    }

    .partner-logo img {
        max-height: 58px;
        max-width: 156px;
    }

    .partners-section {
        padding: 40px 0;
    }
}

/* ========================================
   12. CONTENT TEMPLATES & RESEARCH CARDS
   ======================================== */

/* Research Card - Main card component for archive grids */
.research-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
}

.research-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.research-card .card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Card Image */
.research-card .card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.research-card .card-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.research-card .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.research-card:hover .card-img {
    transform: scale(1.05);
}

.research-card .card-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
}

.research-card .card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
}

.research-card .card-placeholder i {
    font-size: 3rem;
    color: var(--color-text-muted);
}

/* Card Badge */
.research-card .card-badge {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.research-card .badge-gold {
    background: rgba(201, 169, 98, 0.9);
    color: #000000;
}

.research-card .badge-copper {
    background: rgba(184, 115, 51, 0.9);
    color: #ffffff;
}

.research-card .badge-teal {
    background: rgba(88, 166, 255, 0.9);
    color: #000000;
}

.research-card .badge-silver {
    background: rgba(139, 148, 158, 0.9);
    color: #000000;
}

.research-card .badge-rose {
    background: rgba(247, 120, 186, 0.9);
    color: #000000;
}

/* Card Body */
.research-card .card-body {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.research-card .card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.research-card .meta-item {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.research-card .meta-item i {
    font-size: 0.75rem;
}

.research-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.research-card .card-title a {
    color: white;
    transition: color 0.3s ease;
}

.research-card .card-title a:hover {
    color: var(--color-primary);
}

.research-card .card-excerpt {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: var(--spacing-md);
    flex: 1;
}

/* Card Tags */
.research-card .card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-top: auto;
}

.research-card .tag {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    transition: all 0.3s ease;
}

.research-card .tag:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.research-card .tag-more {
    background: rgba(201, 169, 98, 0.2);
    color: var(--color-primary);
}

/* Card Footer */
.research-card .card-footer {
    padding: var(--spacing-md) var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
}

.research-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.research-card .card-link:hover {
    color: var(--color-primary-light);
}

.research-card .card-link i {
    transition: transform 0.3s ease;
}

.research-card .card-link:hover i {
    transform: translateX(4px);
}

/* Color variants for card accents */
.research-card.card-gold {
    border-top: 3px solid var(--color-treaties);
}

.research-card.card-copper {
    border-top: 3px solid var(--color-translations);
}

.research-card.card-teal {
    border-top: 3px solid var(--color-research);
}

.research-card.card-silver {
    border-top: 3px solid var(--color-documents);
}

.research-card.card-rose {
    border-top: 3px solid var(--color-art);
}

.content-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.content-card .card-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.content-card .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.content-card:hover .card-img-top {
    transform: scale(1.05);
}

.content-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content-card .card-text {
    flex: 1;
}

/* ========================================
   13. SINGLE POST STYLES
   ======================================== */
.single-content {
    padding: var(--spacing-xl) 0;
}

.entry-header {
    margin-bottom: var(--spacing-xl);
}

.entry-meta {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
}

.entry-content {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.8;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.entry-content p {
    margin-bottom: var(--spacing-md);
}

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

.entry-content a:hover {
    color: var(--color-primary-light);
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: var(--spacing-lg) 0;
}

.entry-content blockquote {
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--color-primary);
    padding: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.entry-content blockquote p {
    font-style: italic;
    margin-bottom: 0;
}

/* ========================================
   14. TABLES
   ======================================== */
.table {
    width: 100%;
    margin-bottom: var(--spacing-lg);
    background-color: transparent;
    color: rgba(255, 255, 255, 0.8);
}

.table th {
    background-color: rgba(255, 255, 255, 0.05);
    font-weight: bold;
    padding: var(--spacing-sm) var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.table td {
    padding: var(--spacing-sm) var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* ========================================
   15. UTILITY CLASSES
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-uppercase { text-transform: uppercase; }

.text-white { color: #ffffff !important; }
.text-white-50 { color: rgba(255, 255, 255, 0.5) !important; }

.bg-dark { background-color: #000000 !important; }
.bg-transparent { background-color: transparent !important; }

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus Styles */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background-color: var(--color-primary);
    color: #000000;
}

/* Horizontal rules */
hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

/* ========================================
   16. RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 991px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-section {
        min-height: 40vh;
    }

    .archive-sidebar {
        position: relative;
        top: 0;
        margin-top: var(--spacing-xl);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    body {
        padding-top: 70px;
    }

    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-section {
        min-height: 35vh;
        padding-top: 100px;
    }

    .hero-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-stats {
        gap: var(--spacing-lg);
    }

    .hero-stats .stat-number {
        font-size: 1.5rem;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .filter-form .filter-row {
        flex-direction: column;
    }

    .filter-form .filter-group,
    .filter-form .filter-search {
        width: 100%;
        min-width: 100%;
    }

    .results-header {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .btn-lg {
        width: 100%;
    }

    .site-footer h5 {
        margin-top: 2rem;
    }

    .site-footer h5:first-child {
        margin-top: 0;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    .card-body {
        padding: var(--spacing-md);
    }
}

/* ========================================
   17. PRINT STYLES
   ======================================== */
@media print {
    body {
        background: white;
        color: black;
        padding-top: 0;
    }

    .site-header,
    .site-footer,
    .archive-sidebar,
    .search-overlay,
    .hero-scroll-indicator {
        display: none !important;
    }

    a {
        color: black;
        text-decoration: underline;
    }

    .card {
        border: 1px solid black;
        box-shadow: none;
        background: white;
    }

    h1, h2, h3, h4, p {
        color: black;
    }
}

/* ========================================
   18. ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.6s ease-out;
}

/* Active Filters */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.active-filters-label {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-right: var(--spacing-sm);
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(201, 169, 98, 0.15);
    border: 1px solid rgba(201, 169, 98, 0.3);
    border-radius: 50px;
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 0.8rem;
    color: var(--color-primary);
}

.filter-tag .remove-filter {
    color: var(--color-primary);
    margin-left: var(--spacing-xs);
}

.filter-tag .remove-filter:hover {
    color: #ff4444;
}

.clear-all-filters {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    margin-left: var(--spacing-sm);
}

.clear-all-filters:hover {
    color: var(--color-primary);
}

/* ========================================
   HOMEPAGE STYLES
   ======================================== */

.home-page {
    background-color: #000000;
}

/* Page Content Section (if any content exists) */
.page-content-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-dark-light);
}

.page-content-section .page-content {
    color: var(--color-text);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Collections Section */
.collections-section {
    padding: 80px 0;
    background-color: #000000;
}

.collections-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    text-align: left;
    margin-bottom: 50px;
}

.collections-section .section-subtitle {
    margin: 0;
    text-align: right;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.section-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
}

.section-link:hover {
    color: var(--color-primary-light);
    gap: 12px;
}

/* Collection Cards */
.collection-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--color-white);
    transition: all 0.3s ease;
    height: 100%;
    width: 100%;
    cursor: pointer;
}

.collection-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    color: var(--color-white);
}

.collection-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.collection-treaties .collection-icon {
    background: rgba(201, 169, 98, 0.15);
    color: var(--color-treaties);
}

.collection-translations .collection-icon {
    background: rgba(184, 115, 51, 0.15);
    color: var(--color-translations);
}

.collection-research .collection-icon {
    background: rgba(88, 166, 255, 0.15);
    color: var(--color-research);
}

.collection-documents .collection-icon {
    background: rgba(139, 148, 158, 0.15);
    color: var(--color-documents);
}

.collection-art .collection-icon {
    background: rgba(247, 120, 186, 0.15);
    color: var(--color-art);
}

.collection-search .collection-icon {
    background: rgba(201, 169, 98, 0.15);
    color: var(--color-primary);
}

.collection-content {
    flex: 1;
}

.collection-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--color-white);
}

.collection-description {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    line-height: 1.4;
}

.collection-count {
    font-size: 0.8rem;
    color: var(--color-primary);
    font-weight: 500;
}

.collection-arrow {
    color: var(--color-text-muted);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.collection-card:hover .collection-arrow {
    color: var(--color-primary);
    transform: translateX(5px);
}

/* Featured Section */
.featured-section {
    padding: 80px 0;
    background-color: var(--color-dark-light);
}

.featured-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    margin-bottom: 40px;
}

.featured-section .section-title {
    margin-bottom: 0;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: #000000;
}

.about-content {
    padding-right: 40px;
}

.about-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 25px;
}

.about-text {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
}

.stat-card .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.stat-card .stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Button Styles */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-primary);
    color: #000000;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-gold:hover {
    background: var(--color-primary-light);
    color: #000000;
    transform: translateY(-2px);
}

/* Responsive Homepage */
@media (max-width: 991px) {
    .about-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 2rem;
    }

    .featured-section .section-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 767px) {
    .collections-section,
    .featured-section,
    .about-section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .collection-card {
        padding: 20px;
    }

    .collection-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-card .stat-number {
        font-size: 1.75rem;
    }
}

/* ========================================
   SINGLE POST PAGE STYLES
   ======================================== */
.single-post-page {
    padding: 40px 0 80px;
    background-color: #000000;
}

/* Breadcrumb */
.breadcrumb-nav {
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: var(--color-primary);
}

.breadcrumb-nav .separator {
    color: var(--color-text-subtle);
    margin: 0 10px;
}

.breadcrumb-nav .current {
    color: var(--color-text-muted);
}

/* Article */
.single-article {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 40px;
}

/* Post Type Indicator */
.post-type-indicator {
    margin-bottom: 20px;
}

.type-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.type-badge.treaties {
    background: rgba(201, 169, 98, 0.15);
    color: var(--color-treaties);
}

.type-badge.translations {
    background: rgba(184, 115, 51, 0.15);
    color: var(--color-translations);
}

.type-badge.research {
    background: rgba(88, 166, 255, 0.15);
    color: var(--color-research);
}

.type-badge.documents {
    background: rgba(139, 148, 158, 0.15);
    color: var(--color-documents);
}

.type-badge.art {
    background: rgba(247, 120, 186, 0.15);
    color: var(--color-art);
}

/* Article Header */
.article-header {
    margin-bottom: 25px;
}

.article-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 10px;
    text-transform: none;
}

.article-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    font-style: italic;
}

/* Meta Bar */
.article-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    margin-bottom: 30px;
}

.article-meta-bar .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.article-meta-bar .meta-item i {
    color: var(--color-primary);
}

/* Featured Image */
.article-featured-image {
    margin-bottom: 30px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Article Content */
.article-content {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.article-content p {
    margin-bottom: 1.5em;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    color: var(--color-white);
    margin-top: 2em;
    margin-bottom: 0.75em;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

.article-content li {
    margin-bottom: 0.5em;
}

.article-content blockquote {
    border-left: 3px solid var(--color-primary);
    padding-left: 20px;
    margin: 2em 0;
    font-style: italic;
    color: var(--color-text-muted);
}

/* Article Sections */
.article-section {
    margin-bottom: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 20px;
    text-transform: none;
}

.section-heading i {
    color: var(--color-primary);
}

.section-content {
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Document Gallery */
.document-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.gallery-thumb {
    display: block;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.gallery-thumb:hover {
    border-color: var(--color-primary);
    transform: scale(1.02);
}

.gallery-thumb img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

/* Documents List */
.documents-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: var(--color-text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.document-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.document-item i:first-child {
    font-size: 1.5rem;
    color: #e74c3c;
}

.document-item span {
    flex: 1;
    word-break: break-all;
}

.document-item i:last-child {
    color: var(--color-primary);
}

/* Map Embed */
.map-embed {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.map-embed iframe {
    width: 100%;
    height: 350px;
    border: none;
}

/* Post Navigation */
.post-nav {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.post-nav-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--color-primary);
}

.post-nav-link.next {
    text-align: right;
}

.post-nav-link .nav-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-nav-link .nav-title {
    font-size: 1rem;
    color: var(--color-white);
    font-weight: 500;
}

/* Article Sidebar */
.article-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.sidebar-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 25px;
    margin-bottom: 20px;
}

.sidebar-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-card-title i {
    color: var(--color-primary);
}

/* Tag List */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.tag-gold {
    background: rgba(201, 169, 98, 0.15);
    color: var(--color-treaties);
}

.tag-copper {
    background: rgba(184, 115, 51, 0.15);
    color: var(--color-translations);
}

.tag-teal {
    background: rgba(88, 166, 255, 0.15);
    color: var(--color-research);
}

.tag-silver {
    background: rgba(139, 148, 158, 0.15);
    color: var(--color-documents);
}

.tag-rose {
    background: rgba(247, 120, 186, 0.15);
    color: var(--color-art);
}

/* Linked List */
.linked-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.linked-list li {
    margin-bottom: 8px;
}

.linked-list a {
    display: block;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.linked-list a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-primary);
    padding-left: 16px;
}

/* Back to Collection */
.back-to-collection {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: var(--color-primary);
    color: #000000;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-to-collection:hover {
    background: var(--color-primary-light);
    color: #000000;
}

/* Responsive Single Post */
@media (max-width: 991px) {
    .single-article {
        padding: 25px;
    }

    .article-title {
        font-size: 1.75rem;
    }

    .article-sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .single-post-page {
        padding: 20px 0 60px;
    }

    .single-article {
        padding: 20px;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .article-meta-bar {
        flex-direction: column;
        gap: 12px;
    }

    .post-nav {
        flex-direction: column;
    }

    .post-nav-link.next {
        text-align: left;
    }
}

/* ========================================
   ABOUT PAGE STYLES
   ======================================== */
.about-page {
    background-color: #000000;
}

/* About Hero */
.about-hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, rgba(201, 169, 98, 0.1) 0%, rgba(0, 0, 0, 0) 50%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.about-hero-content {
    max-width: 800px;
}

.about-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-lead {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* About Sections */
.about-section {
    padding: 80px 0;
}

.about-section-dark {
    background-color: var(--color-dark-light);
}

.about-content h2.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 25px;
}

.about-content p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.25em;
}

.about-image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
}

/* About List */
.about-list {
    list-style: none;
    padding: 0;
    margin: 25px 0 0;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    font-size: 1rem;
}

.about-list li i {
    color: var(--color-primary);
    font-size: 1.1rem;
}

/* Stats Section */
.about-stats-section {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--color-dark-light) 0%, #000000 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.stat-block {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
}

.stat-block .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-block .stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Centered Content */
.about-content-centered {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content-centered .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
}

.about-content-centered .lead-text {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

.history-text {
    text-align: left;
}

.history-text p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.25em;
}

/* CTA Section */
.about-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(201, 169, 98, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 15px;
}

.cta-content p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: var(--color-primary);
    color: #000000;
    padding: 14px 30px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary:hover {
    background: var(--color-primary-light);
}

.cta-buttons .btn-outline {
    background: transparent;
    color: var(--color-white);
    padding: 14px 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-primary);
}

/* Responsive About Page */
@media (max-width: 991px) {
    .about-hero {
        padding: 70px 0 50px;
    }

    .about-title {
        font-size: 2.25rem;
    }

    .about-section {
        padding: 60px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-image-wrapper {
        margin-top: 40px;
    }

    .col-lg-6.order-lg-1 .about-image-wrapper {
        margin-top: 0;
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .about-hero {
        padding: 50px 0 40px;
    }

    .about-title {
        font-size: 1.75rem;
    }

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

    .about-section {
        padding: 50px 0;
    }

    .about-content h2.section-title,
    .about-content-centered .section-title,
    .cta-content h2 {
        font-size: 1.5rem;
    }

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

    .stat-block .stat-number {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-outline {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   TAXONOMY ARCHIVE PAGES
   ======================================== */

/* Taxonomy Header */
.taxonomy-archive-page {
    padding-bottom: 80px;
}

.taxonomy-header {
    background: linear-gradient(135deg, var(--color-dark-light) 0%, var(--color-dark) 100%);
    padding: 100px 0 60px;
    border-bottom: 1px solid var(--color-border);
}

.taxonomy-header .breadcrumb-nav {
    margin-bottom: 30px;
}

.taxonomy-header-content {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.taxonomy-icon {
    width: 80px;
    height: 80px;
    background: var(--color-dark-elevated);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
}

.taxonomy-icon i {
    font-size: 2rem;
    color: var(--color-primary);
}

/* Taxonomy type-specific icon colors */
.taxonomy-location .taxonomy-icon i { color: var(--color-teal); }
.taxonomy-figure .taxonomy-icon i { color: var(--color-copper); }
.taxonomy-type .taxonomy-icon i { color: var(--color-gold); }
.taxonomy-period .taxonomy-icon i { color: var(--color-silver); }
.taxonomy-topic .taxonomy-icon i { color: var(--color-rose); }
.taxonomy-collection .taxonomy-icon i { color: var(--color-primary); }

.taxonomy-info {
    flex: 1;
}

.taxonomy-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.taxonomy-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
    line-height: 1.2;
}

.taxonomy-description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    max-width: 600px;
}

.taxonomy-meta {
    display: flex;
    gap: 20px;
}

.taxonomy-meta .total-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.taxonomy-meta .total-count i {
    color: var(--color-primary);
}

/* Taxonomy Results Section */
.taxonomy-results {
    padding-top: 50px;
}

/* Quick Navigation */
.type-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: var(--color-dark-light);
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
    border: 1px solid var(--color-border);
}

.type-nav-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.type-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--color-dark-elevated);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid var(--color-border);
}

.type-nav-link:hover {
    background: var(--color-dark-lighter);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.type-nav-link i {
    font-size: 1rem;
}

.type-nav-link .count {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Type-specific colors for nav links */
.type-nav-link.type-gold i { color: var(--color-gold); }
.type-nav-link.type-copper i { color: var(--color-copper); }
.type-nav-link.type-teal i { color: var(--color-teal); }
.type-nav-link.type-silver i { color: var(--color-silver); }
.type-nav-link.type-rose i { color: var(--color-rose); }

/* Results Section */
.results-section {
    margin-bottom: 50px;
}

.results-section:last-child {
    margin-bottom: 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-border);
}

.section-header .section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-white);
    margin: 0;
}

.section-header .type-badge {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-header .type-badge i {
    font-size: 1.1rem;
}

/* Type badge colors */
.type-badge.type-gold { background: rgba(201, 169, 98, 0.15); }
.type-badge.type-gold i { color: var(--color-gold); }
.type-badge.type-copper { background: rgba(184, 115, 51, 0.15); }
.type-badge.type-copper i { color: var(--color-copper); }
.type-badge.type-teal { background: rgba(45, 157, 166, 0.15); }
.type-badge.type-teal i { color: var(--color-teal); }
.type-badge.type-silver { background: rgba(139, 148, 158, 0.15); }
.type-badge.type-silver i { color: var(--color-silver); }
.type-badge.type-rose { background: rgba(201, 76, 109, 0.15); }
.type-badge.type-rose i { color: var(--color-rose); }

.section-header .section-count {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-muted);
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.view-all-link:hover {
    color: var(--color-primary-light);
}

.view-all-link i {
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.view-all-link:hover i {
    transform: translateX(3px);
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

/* Result Card */
.result-card {
    background: var(--color-dark-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.result-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.result-card-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
}

.result-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--color-dark-elevated);
}

.result-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-thumbnail.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-thumbnail.placeholder i {
    font-size: 1.75rem;
    color: var(--color-text-muted);
}

/* Type-specific placeholder colors */
.result-card.type-gold .result-thumbnail.placeholder i { color: var(--color-gold); }
.result-card.type-copper .result-thumbnail.placeholder i { color: var(--color-copper); }
.result-card.type-teal .result-thumbnail.placeholder i { color: var(--color-teal); }
.result-card.type-silver .result-thumbnail.placeholder i { color: var(--color-silver); }
.result-card.type-rose .result-thumbnail.placeholder i { color: var(--color-rose); }

.result-content {
    flex: 1;
    min-width: 0;
}

.result-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 6px;
    line-height: 1.3;
}

.result-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.result-date i {
    font-size: 0.8rem;
}

.result-excerpt {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.5;
}

.result-arrow {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: all 0.2s ease;
}

.result-card:hover .result-arrow {
    color: var(--color-primary);
    transform: translateX(3px);
}

/* Type-specific hover border colors */
.result-card.type-gold:hover { border-color: var(--color-gold); }
.result-card.type-copper:hover { border-color: var(--color-copper); }
.result-card.type-teal:hover { border-color: var(--color-teal); }
.result-card.type-silver:hover { border-color: var(--color-silver); }
.result-card.type-rose:hover { border-color: var(--color-rose); }

/* Related Terms Section */
.related-terms {
    background: var(--color-dark-light);
    padding: 60px 0;
    margin-top: 60px;
    border-top: 1px solid var(--color-border);
}

.related-terms-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 25px;
}

.related-terms-title i {
    color: var(--color-primary);
}

.related-terms-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.related-term-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: var(--color-dark-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s ease;
}

.related-term-link:hover {
    border-color: var(--color-primary);
    background: var(--color-dark-lighter);
}

.related-term-link .term-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
}

.related-term-link .term-count {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 8px;
    border-radius: 20px;
}

.related-term-link:hover .term-name {
    color: var(--color-white);
}

/* No Results */
.taxonomy-results .no-results-message {
    text-align: center;
    padding: 80px 20px;
    background: var(--color-dark-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.taxonomy-results .no-results-message i {
    font-size: 3rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.taxonomy-results .no-results-message h3 {
    font-size: 1.4rem;
    color: var(--color-white);
    margin-bottom: 10px;
}

.taxonomy-results .no-results-message p {
    color: var(--color-text-muted);
    margin-bottom: 25px;
}

/* Responsive Taxonomy Pages */
@media (max-width: 991px) {
    .taxonomy-header {
        padding: 80px 0 50px;
    }

    .taxonomy-title {
        font-size: 2rem;
    }

    .taxonomy-icon {
        width: 60px;
        height: 60px;
    }

    .taxonomy-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .taxonomy-header {
        padding: 60px 0 40px;
    }

    .taxonomy-header-content {
        flex-direction: column;
        gap: 20px;
    }

    .taxonomy-icon {
        width: 60px;
        height: 60px;
    }

    .taxonomy-title {
        font-size: 1.75rem;
    }

    .type-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .type-nav-label {
        margin-bottom: 8px;
    }

    .type-nav-link {
        justify-content: space-between;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .result-card-link {
        flex-direction: column;
        text-align: center;
    }

    .result-thumbnail {
        width: 100%;
        height: 150px;
    }

    .result-arrow {
        display: none;
    }

    .related-terms {
        padding: 40px 0;
    }
}
