/* ============================================
   ROYAL RED & GOLD THEME - MEDIEVAL SLEEK
   "Searching for a world that doesn't exist"
   Version: 2.1
   FIXES: Global alignment + Swiper width
   ============================================ */

/* --------------------------------------------
   TABLE OF CONTENTS
   --------------------------------------------
   1.  CSS VARIABLES
   2.  IMPORTS & ANIMATIONS
   3.  RESET & BASE
   4.  TYPOGRAPHY
   5.  BUTTONS
   6.  CARDS & LAYOUT
   7.  HEADER & NAVIGATION
   8.  HOME CONTENT BLOCK
   9.  SWIPER SLIDERS
   10. LORE/POST CARDS
   11. SINGLE POST
   12. BREADCRUMBS
   13. POST CATEGORIES & TAGS
   14. RELATED POSTS
   15. COMMENTS SECTION
   16. COMMENT FORM
   17. POST NAVIGATION
   18. ARCHIVE
   19. FORMS
   20. ENHANCED SWIPER BUTTONS
   21. ENHANCED LIGHTBOX
   22. ROYAL MUSIC PLAYER
   23. HELPER CLASSES
   24. SCROLLBAR & SELECTION
   25. READING PROGRESS BAR
   26. MEDIA QUERIES
   27. PRINT STYLES
   28. YOUTUBE VIDEOS - ROYAL MEDIEVAL STYLE
   29. FOOTER
   30. BUILDER TEMPLATE
   -------------------------------------------- */

/* ===== 1. CSS VARIABLES ===== */
:root {
    /* Primary Colors */
    --crimson: #C8102E;
    --gold: #F4D03F;
    --antique-gold: #D4AF37;
    --pure-gold: #FFD700;
    --blood-red: #8B0000;

    /* Background Colors */
    --bg-deep: #1a0101;
    --bg-oxblood: #2D0000;
    --bg-wood: #1a0a0a;
    --bg-rust: #3d1c1c;

    /* Text Colors */
    --text-champagne: #f5e6c8;
    --text-parchment: #c9a96e;

    /* RGB Values for rgba() */
    --crimson-rgb: 200, 16, 46;
    --gold-rgb: 244, 208, 63;
    --pure-gold-rgb: 255, 215, 0;
    --bg-deep-rgb: 26, 1, 1;
    --bg-oxblood-rgb: 45, 0, 0;
    --text-champagne-rgb: 245, 230, 200;
    --text-parchment-rgb: 201, 169, 110;
    --blood-red-rgb: 139, 0, 0;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;

    /* Typography */
    --font-display: 'Cinzel', serif;
    --font-body: 'Cormorant Garamond', serif;
    --font-decorative: 'UnifrakturCook', cursive;

    /* Effects */
    --transition-base: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.9);
    --shadow-glow: 0 0 25px rgba(var(--pure-gold-rgb), 0.5);
    --border-gothic: 2px solid var(--crimson);
}

/* ===== 2. IMPORTS & ANIMATIONS ===== */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=UnifrakturCook:wght@700&display=swap');

@keyframes candleFlicker {

    0%,
    100% {
        opacity: 0.9;
    }

    50% {
        opacity: 1;
    }
}

@keyframes goldPulse {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(var(--pure-gold-rgb), 0.4);
    }

    50% {
        box-shadow: 0 0 30px rgba(var(--pure-gold-rgb), 0.8);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== 3. RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-champagne);
    line-height: 1.6;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

/* Subtle background texture */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(var(--pure-gold-rgb), 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(var(--crimson-rgb), 0.05) 0%, transparent 50%);
}

/* ===== 4. TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    color: var(--pure-gold);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.8rem);
}

h4 {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
}

p {
    margin-bottom: var(--space-md);
    font-size: 1.05rem;
    line-height: 1.8;
}

a,
a:visited {
    color: var(--antique-gold) !important;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: text-decoration-color var(--transition-base);
}

a:hover {
    color: var(--pure-gold) !important;
    text-decoration-color: var(--crimson);
}

code {
    color: var(--text-champagne);
}

/* ===== 5. BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pure-gold);
    background: linear-gradient(135deg, var(--bg-oxblood), var(--bg-deep));
    border: var(--border-gothic);
    cursor: pointer;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(var(--pure-gold-rgb), 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover,
.btn:focus {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    border-color: var(--pure-gold);
    background: linear-gradient(135deg, var(--blood-red), var(--bg-oxblood));
}

.btn:hover::before {
    left: 100%;
}

.btn-primary,
.btn-success,
.btn-dark {
    background: linear-gradient(135deg, var(--bg-oxblood), var(--bg-deep));
}

/* ===== 6. CARDS & LAYOUT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

section {
    position: relative;
}

.section-header {
    text-align: center;
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    position: relative;
    display: inline-block;
    padding-bottom: var(--space-md);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--crimson), transparent);
    margin: var(--space-sm) auto 0;
}

.card {
    background: linear-gradient(145deg, rgba(var(--bg-oxblood-rgb), 0.95), rgba(var(--bg-deep-rgb), 0.98));
    border: var(--border-gothic);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.95), var(--shadow-glow);
    border-color: var(--pure-gold);
}

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

.card-title {
    font-family: var(--font-display);
    color: var(--pure-gold);
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    border-left: 3px solid var(--crimson);
    padding-left: var(--space-sm);
}

/* ===== 7. HEADER & NAVIGATION ===== */
.medieval-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(26, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--crimson);
    padding: var(--space-md) 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.site-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    margin: 0;
}

.site-title a {
    color: var(--pure-gold);
    text-decoration: none;
}

.site-description {
    font-size: 0.85rem;
    color: var(--text-parchment);
    font-style: italic;
    margin-top: var(--space-xs);
}

.medieval-menu {
    display: flex;
    list-style: none;
    gap: var(--space-xs);
    margin: 0;
    padding: 0;
}

.medieval-menu li {
    margin: 0;
    padding: 0;
}

.medieval-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-champagne);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all var(--transition-base);
    position: relative;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.medieval-menu a:hover,
.medieval-menu .current-menu-item a {
    color: var(--pure-gold);
    background: rgba(var(--crimson-rgb), 0.2);
}

/* ===== HEADER SOCIAL ICONS - SEPARATE STYLES ===== */
.header-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    flex-shrink: 0;
}

.header-socials .social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(139, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.header-socials .social-icon-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.4), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.header-socials .social-icon-link:hover {
    background: rgba(200, 16, 46, 0.6);
    border-color: var(--pure-gold);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.header-socials .social-icon-link:hover::before {
    width: 80px;
    height: 80px;
}

.header-socials .social-icon-link svg {
    width: 18px;
    height: 18px;
    fill: var(--pure-gold);
    transition: transform 0.25s ease;
    position: relative;
    z-index: 1;
}

.header-socials .social-icon-link:hover svg {
    transform: scale(1.1);
    fill: #fff;
}

/* Mobile Menu Styles */
.medieval-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

/* Mobile styles */
@media (max-width: 768px) {
    .medieval-menu-toggle {
        display: flex;
        align-items: center;
        gap: 8px;
        z-index: 1001;
        background: rgba(44, 24, 16, 0.9);
        border-radius: 4px;
        color: #f0e6d0;
    }
    
    .menu-toggle-icon {
        position: relative;
        width: 24px;
        height: 20px;
        display: inline-block;
    }
    
    .burger-line {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #f0e6d0;
        transition: all 0.3s ease;
    }
    
    .burger-line--top {
        top: 0;
    }
    
    .burger-line--middle {
        top: 9px;
    }
    
    .burger-line--bottom {
        bottom: 0;
    }
    
    .medieval-menu-toggle.active .burger-line--top {
        transform: rotate(45deg);
        top: 9px;
    }
    
    .medieval-menu-toggle.active .burger-line--middle {
        opacity: 0;
    }
    
    .medieval-menu-toggle.active .burger-line--bottom {
        transform: rotate(-45deg);
        bottom: 9px;
    }
    
    #primary-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #2c1810;
        z-index: 1000;
        transition: right 0.3s ease-in-out;
        padding: 80px 20px 20px;
        margin: 0;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
        overflow-y: auto;
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    #primary-menu.active {
        right: 0;
    }
    
    #primary-menu li {
        width: 100%;
        margin: 0;
    }
    
    #primary-menu a {
        display: block;
        padding: 15px 20px;
        color: #f0e6d0;
        text-decoration: none;
        font-size: 18px;
        border-bottom: 1px solid rgba(240,230,208,0.1);
        transition: all 0.3s ease;
    }
    
    #primary-menu a:hover {
        background: rgba(240,230,208,0.1);
        padding-left: 30px;
    }

    /* Mobile header socials adjustment */
    .header-socials {
        margin-left: 0;
        order: 2;
    }

    .header-socials .social-icon-link {
        width: 34px;
        height: 34px;
    }

    .header-socials .social-icon-link svg {
        width: 16px;
        height: 16px;
    }
}

@media (min-width: 769px) {
    #primary-menu {
        display: flex !important;
        position: relative;
        right: auto;
        height: auto;
        background: transparent;
        padding: 0;
        box-shadow: none;
        flex-direction: row;
        gap: 20px;
    }
    
    .medieval-menu-toggle {
        display: none !important;
    }
}

/* ===== 8. HOME CONTENT BLOCK ===== */
.home-content-block {
    background: linear-gradient(90deg,
            rgba(var(--crimson-rgb), 0.1),
            transparent 50%,
            rgba(var(--crimson-rgb), 0.1));
    border: 2px solid var(--crimson);
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.home-content-block__title {
    font-family: var(--font-display);
    color: var(--pure-gold);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: var(--space-lg);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.home-content-block__content {
    padding: var(--space-lg);
    background: linear-gradient(135deg,
            rgba(var(--crimson-rgb), 0.15),
            rgba(var(--pure-gold-rgb), 0.05));
    border-left: 3px solid var(--crimson);
    height: 540px;
}

.home-content-block__text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-champagne) !important;
}

.home-content-block__image {
    flex: 0 0 40%;
    height: 420px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7), var(--shadow-glow);
    transition: all var(--transition-smooth);
}

.home-content-block__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== 9. SWIPER SLIDERS - FIXED WIDTH & ALIGNMENT ===== */
.home-slider {
    position: relative;
    width: 100%;
    overflow: visible;
}

.swiper {
    width: 100%;
    padding: var(--space-lg) 0 var(--space-2xl);
    overflow: visible;
}

/* Fix for swiper slides being too thin - ensure they take proper width */
.swiper-wrapper {
    width: 100%;
}

.swiper-slide {
    height: auto;
    width: 100%;
}

/* Ensure swiper container inside specific sections has proper width */
.home-slider .swiper,
.lore-section .swiper,
.builder-section--posts-slider .swiper {
    width: 100%;
    overflow: visible;
}

/* Fix for swiper container that might be constrained by parent */
.home-slider .swiper-container,
.lore-section .swiper-container,
.builder-section--posts-slider .swiper-container {
    width: 100%;
    overflow: visible;
}

/* ===== 10. LORE/POST CARDS ===== */
.lore-section {
    position: relative;
    overflow: visible;
    width: 100%;
}

.lore-card {
    background: rgba(var(--pure-gold-rgb), 0.03);
    border: 1px solid var(--crimson);
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    width: 100%;
}

.lore-card>* {
    min-width: 0;
}

.lore-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), var(--shadow-glow);
    border-color: var(--pure-gold);
}

.lore-image {
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.lore-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

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

.lore-content {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lore-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
}

.lore-title a {
    color: var(--pure-gold);
    text-decoration: none;
}

.lore-excerpt {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-champagne);
    opacity: 0.8;
    margin-bottom: var(--space-md);
}

.lore-link {
    font-weight: 600;
    color: var(--pure-gold);
    font-size: 0.9rem;
    transition: color var(--transition-base);
}

.lore-link:hover {
    color: #fff;
}

.lore-categories {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
    z-index: 2;
}

.lore-category {
    background: rgba(var(--crimson-rgb), 0.9);
    color: var(--pure-gold);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid var(--antique-gold);
    transition: all var(--transition-base);
}

.lore-category:hover {
    background: rgba(var(--pure-gold-rgb), 0.3);
    border-color: var(--pure-gold);
    color: #fff;
    transform: translateY(-1px);
}

/* ===== 11. SINGLE POST ===== */
.single-post-container {
    padding: var(--space-2xl) 0;
}

.single-post-article {
    background: rgba(30, 20, 10, 0.6);
    border: 1px solid var(--crimson);
    padding: var(--space-2xl);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.post-title {
    font-family: var(--font-display);
    color: var(--pure-gold);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: var(--space-md);
}

.post-meta {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
    color: var(--text-parchment);
    font-size: 0.9rem;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--crimson);
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-champagne);
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: var(--space-lg) 0;
    border: 1px solid var(--crimson);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.post-content a {
    color: var(--pure-gold);
    text-decoration-color: var(--crimson);
}

.post-content blockquote {
    border-left: 3px solid var(--crimson);
    padding-left: var(--space-lg);
    margin: var(--space-lg) 0;
    font-style: italic;
    color: var(--text-parchment);
}

/* ===== 12. BREADCRUMBS ===== */
.breadcrumbs-nav {
    background: rgba(var(--bg-oxblood-rgb), 0.5);
    border-bottom: 1px solid var(--crimson);
    padding: var(--space-md);
    margin: 0;
}

.breadcrumbs-list {
    display: flex;
    list-style: none;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb-item {
    font-size: 0.9rem;
}

.breadcrumb-item::after {
    content: ' / ';
    color: var(--antique-gold);
    margin-left: var(--space-sm);
}

.breadcrumb-item:last-child::after {
    content: '';
}

.breadcrumb-item a {
    color: var(--antique-gold);
}

.breadcrumb-item.active {
    color: var(--text-champagne);
}

/* ===== 13. POST CATEGORIES & TAGS ===== */
.post-categories,
.post-tags {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-bottom: var(--space-md);
}

.post-category {
    display: inline-block;
    background: rgba(var(--crimson-rgb), 0.9);
    color: var(--pure-gold);
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid var(--antique-gold);
    transition: all var(--transition-base);
}

.post-category:hover {
    background: rgba(var(--pure-gold-rgb), 0.2);
    border-color: var(--pure-gold);
    color: #fff;
    transform: translateY(-1px);
}

.tag-list {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.tag-list a {
    display: inline-block;
    background: rgba(var(--pure-gold-rgb), 0.1);
    color: var(--pure-gold);
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
    border: 1px solid var(--pure-gold);
    transition: all var(--transition-base);
}

.tag-list a:hover {
    background: rgba(var(--crimson-rgb), 0.3);
    border-color: var(--crimson);
    text-decoration-color: var(--crimson);
}

/* ===== 14. RELATED POSTS ===== */
.related-posts-title {
    font-family: var(--font-display);
    color: var(--pure-gold);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-md);
}

.related-posts-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.related-post-card {
    background: rgba(var(--pure-gold-rgb), 0.03);
    border: 1px solid var(--crimson);
    overflow: hidden;
    transition: all var(--transition-base);
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8), var(--shadow-glow);
    border-color: var(--pure-gold);
}

.related-post-image {
    width: 100%;
    padding-top: 60%;
    position: relative;
    overflow: hidden;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-content {
    padding: var(--space-lg);
}

.related-post-title {
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: var(--space-sm);
    color: var(--pure-gold);
}

.related-post-title a {
    color: var(--pure-gold);
    text-decoration: none;
}

.related-post-meta {
    margin-bottom: var(--space-md);
}

.related-post-date {
    font-size: 0.85rem;
    color: var(--text-parchment);
}

.related-post-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-champagne);
    opacity: 0.85;
    margin-bottom: var(--space-md);
}

.related-post-link {
    font-weight: 600;
    color: var(--pure-gold);
    font-size: 0.9rem;
    transition: color var(--transition-base);
}

/* ===== 15. COMMENTS SECTION ===== */
.comments-area {
    margin-top: var(--space-2xl);
    padding: var(--space-2xl) var(--space-md);
    border-top: 1px solid var(--crimson);
    margin-left: 0;
    margin-right: 0;
}

.comments-title {
    font-family: var(--font-display);
    color: var(--pure-gold);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    margin-bottom: var(--space-lg);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.comment-list {
    list-style: none;
    margin: var(--space-lg) auto;
    padding: 0;
    max-width: 1200px;
}

.comment-list li {
    margin-bottom: var(--space-lg);
    padding: var(--space-lg);
    background: rgba(var(--bg-oxblood-rgb), 0.3);
    border-left: 3px solid var(--crimson);
    transition: all var(--transition-base);
}

.comment-list li:hover {
    background: rgba(var(--bg-oxblood-rgb), 0.5);
    border-left-color: var(--pure-gold);
}

.comment-author {
    font-weight: 600;
    color: var(--pure-gold);
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.comment-meta {
    font-size: 0.85rem;
    color: var(--text-parchment);
    margin-bottom: var(--space-md);
}

.comment-text {
    color: var(--text-champagne);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.reply {
    margin-top: var(--space-md);
}

.no-comments {
    padding: var(--space-lg);
    text-align: center;
    color: var(--text-parchment);
    font-style: italic;
    background: rgba(var(--bg-oxblood-rgb), 0.3);
    border: 1px solid var(--crimson);
}

/* ===== 16. COMMENT FORM ===== */
#commentform {
    background: linear-gradient(145deg,
            rgba(var(--bg-oxblood-rgb), 0.85),
            rgba(var(--bg-deep-rgb), 0.95));
    border: var(--border-gothic);
    padding: var(--space-lg);
    margin: var(--space-xl) var(--space-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#commentform label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--pure-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-xs);
}

#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"],
#commentform textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: var(--space-md);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--crimson);
    color: var(--text-champagne);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-base);
}

#commentform input:focus,
#commentform textarea:focus {
    outline: none;
    border-color: var(--pure-gold);
    box-shadow: 0 0 15px rgba(var(--pure-gold-rgb), 0.3);
    background: rgba(0, 0, 0, 0.7);
}

#commentform textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    padding: var(--space-md) 0;
}

.form-submit input,
.form-submit button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    min-height: 44px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pure-gold);
    background: linear-gradient(135deg, var(--bg-oxblood), var(--bg-deep));
    border: var(--border-gothic);
    cursor: pointer;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.form-submit input:hover,
.form-submit button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    border-color: var(--pure-gold);
    background: linear-gradient(135deg, var(--blood-red), var(--bg-oxblood));
}

.comment-notes {
    font-size: 0.85rem;
    color: var(--text-parchment);
    margin-bottom: var(--space-lg);
}

.logged-in-as {
    font-size: 0.9rem;
    color: var(--text-champagne);
    margin-bottom: var(--space-lg);
}

/* ===== 17. POST NAVIGATION ===== */
.post-nav-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.post-nav-item {
    padding: var(--space-lg);
    background: rgba(var(--pure-gold-rgb), 0.03);
    border: 1px solid var(--crimson);
    transition: all var(--transition-base);
}

.post-nav-item:hover {
    border-color: var(--pure-gold);
    background: rgba(var(--pure-gold-rgb), 0.08);
    box-shadow: var(--shadow-glow);
}

/* ===== 18. ARCHIVE ===== */
.archive-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.archive-post-card {
    background: rgba(var(--pure-gold-rgb), 0.03);
    border: 1px solid var(--crimson);
    overflow: hidden;
    transition: all var(--transition-base);
}

.archive-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8), var(--shadow-glow);
    border-color: var(--pure-gold);
}

/* ===== 19. FORMS ===== */
.wpcf7-form {
    background: linear-gradient(145deg,
            rgba(var(--bg-oxblood-rgb), 0.85),
            rgba(var(--bg-deep-rgb), 0.95));
    border: var(--border-gothic);
    padding: var(--space-2xl);
    margin: var(--space-xl) 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.wpcf7-form label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--pure-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-xs);
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--crimson);
    color: var(--text-champagne);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    outline: none;
    border-color: var(--pure-gold);
    box-shadow: 0 0 15px rgba(var(--pure-gold-rgb), 0.3);
    background: rgba(0, 0, 0, 0.7);
}

.wpcf7-form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    min-height: 44px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pure-gold);
    background: linear-gradient(135deg, var(--bg-oxblood), var(--bg-deep));
    border: var(--border-gothic);
    cursor: pointer;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    margin-top: var(--space-md);
}

.wpcf7-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    border-color: var(--pure-gold);
    background: linear-gradient(135deg, var(--blood-red), var(--bg-oxblood));
}

/* ===== 20. ENHANCED SWIPER BUTTONS ===== */

/* Hero/Home Slider buttons - KEPT ORIGINAL */
.home-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg,
            rgba(var(--bg-oxblood-rgb), 0.95),
            rgba(var(--bg-deep-rgb), 0.98));
    border: 2px solid var(--crimson);
    border-radius: 50%;
    color: var(--pure-gold);
    cursor: pointer;
    z-index: 10;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 215, 0, 0.2);
}

.home-slider__arrow:hover {
    background: linear-gradient(135deg,
            rgba(var(--blood-red-rgb), 0.95),
            rgba(var(--crimson-rgb), 0.95));
    border-color: var(--pure-gold);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 0 25px rgba(var(--pure-gold-rgb), 0.6), 0 6px 20px rgba(0, 0, 0, 0.4);
}

.home-slider__arrow:active {
    transform: translateY(-50%) scale(0.95);
    transition: transform 0.1s ease;
}

.home-slider__arrow:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--pure-gold), 0 0 0 6px rgba(var(--pure-gold-rgb), 0.3);
    border-color: var(--pure-gold);
}

.home-slider__arrow--prev {
    left: 35px;
}

.home-slider__arrow--next {
    right: 35px;
}

.home-slider__arrow svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.home-slider__arrow:hover svg {
    transform: scale(1.1);
}

/* Lore section buttons - SEPARATE ENHANCED VERSION */
.lore-prev,
.lore-next,
.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: linear-gradient(145deg,
            rgba(20, 8, 12, 0.95),
            rgba(40, 12, 18, 0.98));
    border: 1.5px solid rgba(212, 175, 55, 0.5);
    border-radius: 8px;
    color: var(--pure-gold, #d4af37);
    cursor: pointer;
    z-index: 10;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    opacity: 0.85;
}

/* Remove default Swiper arrows */
.swiper-button-prev::after,
.swiper-button-next::after {
    display: none !important;
    content: none !important;
}

/* Hover state */
.lore-prev:hover,
.lore-next:hover,
.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: linear-gradient(145deg,
            rgba(180, 30, 40, 0.95),
            rgba(140, 15, 25, 0.95));
    border-color: var(--pure-gold, #d4af37);
    border-width: 1.5px;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4),
        0 6px 15px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    opacity: 1;
}

/* Active/Pressed state */
.lore-prev:active,
.lore-next:active,
.swiper-button-prev:active,
.swiper-button-next:active {
    transform: translateY(-50%) scale(0.96);
    transition: transform 0.08s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Focus visible for accessibility */
.lore-prev:focus-visible,
.lore-next:focus-visible,
.swiper-button-prev:focus-visible,
.swiper-button-next:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.6),
        0 0 0 4px rgba(212, 175, 55, 0.2);
    border-color: var(--pure-gold, #d4af37);
    transform: translateY(-50%) scale(1.02);
}

/* Position-specific styles */
.lore-prev,
.swiper-button-prev {
    left: -20px;
}

.lore-next,
.swiper-button-next {
    right: -20px;
}

/* Custom SVG icons */
.lore-prev svg,
.lore-next svg,
.swiper-button-prev svg,
.swiper-button-next svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
    transition: all 0.25s ease;
}

/* SVG hover animation */
.lore-prev:hover svg,
.swiper-button-prev:hover svg {
    transform: translateX(-3px);
}

.lore-next:hover svg,
.swiper-button-next:hover svg {
    transform: translateX(3px);
}

/* HTML for custom SVG arrows - add these inside your buttons */
/* Left arrow SVG */
.lore-prev svg,
.swiper-button-prev svg {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    color: var(--antique-gold) !important;
}

/* Right arrow SVG */
.lore-next svg,
.swiper-button-next svg {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    color: var(--antique-gold) !important;
}

/* Disabled state */
.lore-prev.disabled,
.lore-next.disabled,
.swiper-button-prev.disabled,
.swiper-button-next.disabled,
.lore-prev:disabled,
.lore-next:disabled,
.swiper-button-prev:disabled,
.swiper-button-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
    transform: translateY(-50%) scale(0.98);
}

/* Mobile optimization for buttons */
@media (max-width: 768px) {

    .lore-prev,
    .lore-next,
    .swiper-button-prev,
    .swiper-button-next {
        width: 40px;
        height: 40px;
        backdrop-filter: blur(12px);
    }

    .lore-prev,
    .swiper-button-prev {
        left: -12px;
    }

    .lore-next,
    .swiper-button-next {
        right: -12px;
    }

    .lore-prev svg,
    .lore-next svg,
    .swiper-button-prev svg,
    .swiper-button-next svg {
        width: 18px;
        height: 18px;
    }

    .lore-prev:hover svg,
    .swiper-button-prev:hover svg {
        transform: translateX(-2px);
    }

    .lore-next:hover svg,
    .swiper-button-next:hover svg {
        transform: translateX(2px);
    }
}

/* For container needing proper overflow */
.lore-container,
.swiper-container {
    position: relative;
    overflow: visible !important;
}

/* Optional: Blocky variant with sharper corners */
.lore-prev.blocky,
.lore-next.blocky,
.swiper-button-prev.blocky,
.swiper-button-next.blocky {
    border-radius: 4px;
    width: 46px;
    height: 46px;
}

/* Optional: Larger blocky variant for emphasis */
.lore-prev.large,
.lore-next.large,
.swiper-button-prev.large,
.swiper-button-next.large {
    width: 56px;
    height: 56px;
}

.lore-prev.large svg,
.lore-next.large svg,
.swiper-button-prev.large svg,
.swiper-button-next.large svg {
    width: 28px;
    height: 28px;
}

/* ===== 21. ENHANCED LIGHTBOX ===== */
.simple-lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.simple-lightbox-modal .lightbox-image-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.simple-lightbox-modal img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border: 2px solid var(--crimson);
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

.simple-lightbox-modal .lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg,
            rgba(var(--bg-oxblood-rgb), 0.9),
            rgba(var(--bg-deep-rgb), 0.95));
    border: 2px solid var(--crimson);
    border-radius: 50%;
    color: var(--pure-gold);
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 215, 0, 0.2);
    font-family: var(--font-display);
}

.simple-lightbox-modal .lightbox-close:hover {
    background: linear-gradient(135deg,
            rgba(var(--blood-red-rgb), 0.95),
            rgba(var(--crimson-rgb), 0.95));
    border-color: var(--pure-gold);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 30px rgba(var(--pure-gold-rgb), 0.7);
}

.simple-lightbox-modal .lightbox-close:active {
    transform: rotate(90deg) scale(0.95);
}

.simple-lightbox-modal .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg,
            rgba(var(--bg-oxblood-rgb), 0.85),
            rgba(var(--bg-deep-rgb), 0.9));
    border: 2px solid var(--crimson);
    border-radius: 50%;
    color: var(--pure-gold);
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
    backdrop-filter: blur(8px);
    font-size: 32px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.simple-lightbox-modal .lightbox-nav:hover {
    background: linear-gradient(135deg,
            rgba(var(--blood-red-rgb), 0.95),
            rgba(var(--crimson-rgb), 0.95));
    border-color: var(--pure-gold);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 0 25px rgba(var(--pure-gold-rgb), 0.6);
}

.simple-lightbox-modal .lightbox-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.simple-lightbox-modal .lightbox-prev {
    left: 40px;
}

.simple-lightbox-modal .lightbox-next {
    right: 40px;
}

.simple-lightbox-modal .lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(var(--bg-oxblood-rgb), 0.85);
    backdrop-filter: blur(8px);
    padding: 8px 20px;
    border-radius: 40px;
    border: 1px solid var(--crimson);
    color: var(--pure-gold);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    z-index: 10001;
}

.simple-lightbox-modal .lightbox-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid rgba(var(--crimson-rgb), 0.3);
    border-top-color: var(--pure-gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ===== 22. ROYAL MUSIC PLAYER ===== */
.royal-music-player {
    margin: var(--space-xl) 0;
    position: relative;
}

.royal-player {
    background: linear-gradient(135deg,
            rgba(var(--bg-oxblood-rgb), 0.92) 0%,
            rgba(var(--bg-deep-rgb), 0.96) 100%);
    border: 1px solid rgba(var(--crimson-rgb), 0.6);
    border-radius: 12px;
    padding: var(--space-lg);
    position: relative;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(var(--pure-gold-rgb), 0.08),
        0 0 20px rgba(var(--pure-gold-rgb), 0.15);
    backdrop-filter: blur(2px);
    transition: all 0.3s ease;
}

.royal-player__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.royal-player__title-section {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.royal-player__crown {
    font-size: 2rem;
    filter: drop-shadow(0 0 6px var(--pure-gold));
    animation: candleFlicker 3s ease-in-out infinite;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.royal-player__crown svg {
    display: block;
    width: 28px;
    height: 28px;
}

.royal-player__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.royal-player__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--pure-gold);
    letter-spacing: 0.08em;
    text-shadow: 0 0 6px rgba(var(--pure-gold-rgb), 0.3);
    margin: 0;
    line-height: 1.2;
}

.royal-player__status {
    font-size: 0.7rem;
    color: rgba(var(--text-parchment-rgb), 0.8);
    font-style: italic;
    letter-spacing: 0.02em;
    line-height: 1;
}

.royal-player__controls {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.player-btn {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
    background: rgba(var(--crimson-rgb), 0.2);
    border: 1px solid rgba(var(--crimson-rgb), 0.7);
    color: var(--pure-gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    position: relative;
    flex-shrink: 0;
    touch-action: manipulation;
    backdrop-filter: blur(4px);
    padding: 0;
}

.player-btn:hover {
    background: rgba(var(--pure-gold-rgb), 0.15);
    border-color: var(--pure-gold);
    box-shadow: 0 0 14px rgba(var(--pure-gold-rgb), 0.3);
    transform: translateY(-1px);
}

.player-btn:active {
    transform: translateY(1px);
}

.player-btn svg {
    width: 24px;
    height: 24px;
    fill: var(--pure-gold);
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.3));
    display: block;
}

.player-btn--play {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--crimson), var(--blood-red));
    border: 1px solid var(--pure-gold);
    box-shadow: 0 0 12px rgba(var(--pure-gold-rgb), 0.4);
}

.player-btn--play svg {
    width: 24px;
    height: 24px;
}

.player-btn--play:hover {
    transform: scale(1.05) translateY(-1px);
    box-shadow: 0 0 20px rgba(var(--pure-gold-rgb), 0.6);
}

.progress-container {
    flex: 1;
    min-width: 160px;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.time-display {
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: rgba(var(--text-parchment-rgb), 0.85);
    min-width: 44px;
    text-align: center;
    letter-spacing: 0.05em;
    font-weight: 500;
    line-height: 1;
}

.progress-bar {
    flex: 3;
    height: 6px;
    width: 200px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: height 0.2s;
}

.progress-bar:hover {
    height: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg,
            var(--crimson),
            var(--pure-gold));
    border-radius: 10px;
    position: relative;
    transition: width 0.1s linear;
}

.progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--pure-gold);
    border: 1px solid var(--crimson);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--pure-gold);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.progress-bar:hover .progress-fill::after {
    opacity: 1;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 14px 4px 10px;
    border-radius: 40px;
    border: 1px solid rgba(var(--crimson-rgb), 0.3);
}

.volume-btn {
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: var(--pure-gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 50%;
    padding: 0;
}

.volume-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--pure-gold);
    display: block;
}

.volume-btn:hover {
    background: rgba(var(--pure-gold-rgb), 0.15);
    transform: scale(1.05);
}

.volume-slider {
    width: 80px;
    height: 5px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    touch-action: none;
}

.volume-fill {
    height: 100%;
    background: linear-gradient(90deg,
            var(--crimson),
            var(--pure-gold));
    border-radius: 10px;
    position: relative;
}

.volume-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
    width: 9px;
    height: 9px;
    background: var(--pure-gold);
    border: 1px solid var(--crimson);
    border-radius: 50%;
    opacity: 0.9;
}

/* ===== 23. HELPER CLASSES ===== */
.text-gold {
    color: var(--pure-gold) !important;
}

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

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

.bg-deep {
    background: var(--bg-deep) !important;
}

.bg-oxblood {
    background: var(--bg-oxblood) !important;
}

.border-gothic {
    border: var(--border-gothic) !important;
}

/* ===== 24. SCROLLBAR & SELECTION ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-oxblood);
}

::-webkit-scrollbar-thumb {
    background: var(--crimson);
    border: 1px solid var(--antique-gold);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--blood-red);
}

::selection {
    background: var(--blood-red);
    color: var(--pure-gold);
}

/* ===== 25. READING PROGRESS BAR ===== */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, var(--crimson), var(--pure-gold));
    z-index: 9999;
    transition: width 0.15s ease;
}

/* ===== 26. MEDIA QUERIES ===== */
@media (max-width: 1024px) {

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

    .single-post-article {
        padding: var(--space-xl);
    }

    .home-slider__arrow--prev,
    .lore-prev {
        left: -15px;
    }

    .home-slider__arrow--next,
    .lore-next {
        right: -15px;
    }

    .home-slider__arrow,
    .lore-prev,
    .lore-next {
        width: 48px;
        height: 48px;
    }

    .simple-lightbox-modal .lightbox-close,
    .simple-lightbox-modal .lightbox-nav {
        width: 50px;
        height: 50px;
    }
}

@media (min-width: 769px) {
    .medieval-menu {
        display: flex !important;
    }

    .menu-toggle {
        display: none !important;
    }
}

@media (max-width: 768px) {
    :root {
        --space-2xl: 3rem;
        --space-xl: 2rem;
        font-size: 14px;
    }

    .medieval-header {
        position: sticky;
        z-index: 1000;
    }
    
    .medieval-header .header-container {
        flex-wrap: wrap;
        gap: var(--space-sm);
        padding: var(--space-md);
    }

    .menu-toggle {
        display: flex !important;
        order: 2;
        margin-left: auto;
    }

    .site-title {
        font-size: 1.25rem;
        flex: 0 1 auto;
        order: 1;
    }

    .header-container {
        flex-wrap: nowrap;
        gap: var(--space-sm);
        padding: var(--space-md);
    }

    .medieval-navigation {
        order: 3;
    }

    .medieval-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        width: 100%;
        background: linear-gradient(180deg, rgba(45, 0, 0, 0.98) 0%, rgba(26, 1, 1, 0.98) 100%);
        border-bottom: 3px solid var(--pure-gold);
        border-top: 1px solid rgba(var(--pure-gold-rgb), 0.3);
        box-shadow: 0 8px 40px rgba(0, 0, 0, 0.95);
        padding: 0;
        margin: 0;
        list-style: none !important;
        z-index: 999;
        gap: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .medieval-menu.active {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }

    .medieval-menu li {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: 1px solid rgba(var(--pure-gold-rgb), 0.15);
        display: block !important;
    }

    .medieval-menu li:last-child {
        border-bottom: none;
    }

    .medieval-menu a {
        display: block !important;
        padding: 1.2rem 1.5rem !important;
        color: var(--text-champagne) !important;
        text-decoration: none !important;
        text-transform: uppercase;
        font-size: 0.95rem;
        font-family: var(--font-display);
        font-weight: 600;
        letter-spacing: 0.1em;
        transition: all 0.25s ease;
        border-left: 4px solid transparent;
        position: relative;
        background: transparent;
    }

    .medieval-menu a:hover,
    .medieval-menu .current-menu-item a {
        background: rgba(var(--pure-gold-rgb), 0.15) !important;
        color: var(--pure-gold) !important;
        border-left-color: var(--pure-gold);
        padding-left: 1.8rem;
    }

    .home-content-block {
        flex-direction: column;
        gap: var(--space-md);
    }

    .home-content-block__image {
        flex: 0 0 100%;
        height: 250px;
        width: 100%;
    }

    .home-content-block__title {
        font-size: 1.5rem;
    }

    .home-content-block__content {
        padding: var(--space-md);
    }

    .related-posts-grid,
    .archive-posts-grid,
    .post-nav-container {
        grid-template-columns: 1fr;
    }

    .wpcf7-form {
        padding: var(--space-lg);
    }

    .single-post-article {
        padding: var(--space-lg);
    }

    .post-meta {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .post-content blockquote {
        padding-left: var(--space-md);
    }

    .home-slider__arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .home-slider__arrow--prev,
    .lore-prev {
        left: -8px;
    }

    .home-slider__arrow--next,
    .lore-next {
        right: -8px;
    }

    .lore-prev,
    .lore-next {
        width: 44px;
        height: 44px;
    }

    .btn {
        display: inline-flex;
        width: auto;
    }

    .simple-lightbox-modal .lightbox-close {
        top: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
        font-size: 28px;
    }

    .simple-lightbox-modal .lightbox-nav {
        width: 48px;
        height: 48px;
        font-size: 28px;
    }

    .simple-lightbox-modal .lightbox-prev {
        left: 20px;
    }

    .simple-lightbox-modal .lightbox-next {
        right: 20px;
    }

    .royal-player {
        padding: var(--space-md);
        border-radius: 10px;
    }

    .royal-player__header {
        gap: var(--space-sm);
        margin-bottom: var(--space-md);
    }

    .royal-player__controls {
        gap: var(--space-sm);
    }

    .progress-container {
        flex: 1 0 100%;
        min-width: 100%;
        order: 3;
        margin-top: var(--space-sm);
    }

    .volume-container {
        padding: 2px 12px 2px 8px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 13px;
    }

    .container {
        padding: 0 var(--space-sm);
        max-width: 100%;
    }

    .btn {
        display: inline-flex;
        width: auto;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
        min-height: 44px;
    }

    .post-meta {
        flex-direction: column;
        gap: var(--space-xs);
        font-size: 0.85rem;
    }

    .home-content-block__image {
        height: 200px;
    }

    .home-content-block__title {
        font-size: 1.25rem;
    }

    .home-slider__arrow,
    .lore-prev,
    .lore-next {
        width: 40px;
        height: 40px;
    }

    .home-slider__arrow svg,
    .lore-prev svg,
    .lore-next svg {
        width: 20px;
        height: 20px;
    }

    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 5px !important;
    }

    .swiper-pagination-bullet-active {
        width: 10px;
        height: 10px;
    }

    .simple-lightbox-modal .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 24px;
        top: 15px;
        right: 15px;
    }

    .simple-lightbox-modal .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .simple-lightbox-modal .lightbox-prev {
        left: 15px;
    }

    .simple-lightbox-modal .lightbox-next {
        right: 15px;
    }

    .simple-lightbox-modal .lightbox-counter {
        font-size: 12px;
        padding: 6px 15px;
        bottom: 20px;
    }

    .royal-player {
        padding: var(--space-sm);
        border-radius: 8px;
    }

    .royal-player__title {
        font-size: 1rem;
    }

    .royal-player__crown {
        font-size: 1.6rem;
    }

    .royal-player__controls {
        gap: 0.5rem;
        justify-content: center;
    }

    .progress-container {
        margin-top: var(--space-sm);
    }

    .volume-container {
        display: none;
    }

    .player-btn {
        width: 42px;
        height: 42px;
    }

    .player-btn svg {
        width: 20px;
        height: 20px;
    }

    .player-btn--play {
        width: 50px;
        height: 50px;
    }

    .player-btn--play svg {
        width: 24px;
        height: 24px;
    }

    .wpcf7-form {
        padding: var(--space-md);
    }

    .single-post-article {
        padding: var(--space-md);
    }

    .comments-area {
        margin-top: var(--space-lg);
        padding-top: var(--space-lg);
    }

    .comment-list li {
        padding: var(--space-md);
        margin-bottom: var(--space-md);
    }

    #commentform {
        padding: var(--space-md);
    }

    .form-submit input,
    .form-submit button,
    .wpcf7-form input[type="submit"] {
        display: inline-flex;
        width: auto;
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }

    .breadcrumbs-list {
        font-size: 0.8rem;
        gap: 0.25rem;
    }

    .breadcrumb-item::after {
        margin-left: 0.25rem;
    }

    .post-categories,
    .post-tags {
        gap: 0.25rem;
    }

    .post-category,
    .tag-list a {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
}

/* ===== 27. PRINT STYLES ===== */
@media print {
    body {
        background: white;
        color: black;
    }

    .medieval-header,
    .reading-progress-bar,
    .home-slider__arrow,
    .swiper-pagination,
    .simple-lightbox-modal,
    .royal-music-player {
        display: none;
    }
}

/* ===== 28. YOUTUBE VIDEOS - ROYAL MEDIEVAL STYLE ===== */
.wp-block-embed-youtube,
.wp-block-embed[class*="wp-embed-youtube"] {
    margin: var(--space-xl) auto;
    position: relative;
    background: linear-gradient(135deg,
            rgba(var(--bg-oxblood-rgb), 0.6),
            rgba(var(--bg-deep-rgb), 0.8));
    border: 1px solid var(--crimson);
    border-radius: 12px;
    padding: var(--space-sm);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-smooth);
}

.wp-block-embed-youtube:hover {
    border-color: var(--pure-gold);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.wp-block-embed-youtube .wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.wp-block-embed-youtube .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.wp-block-embed-youtube .wp-block-embed__wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(var(--crimson-rgb), 0.2),
            rgba(var(--pure-gold-rgb), 0.1));
    opacity: 0;
    transition: opacity var(--transition-smooth);
    pointer-events: none;
    z-index: 1;
    border-radius: 8px;
}

.wp-block-embed-youtube:hover .wp-block-embed__wrapper::before {
    opacity: 1;
}

.wp-block-embed-youtube::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 20px;
    width: 24px;
    height: 24px;
    background: var(--bg-deep);
    z-index: 2;
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F4D03F'%3E%3Cpath d='M12 2L15 8.5L22 9.5L17 14L18.5 21L12 17.5L5.5 21L7 14L2 9.5L9 8.5L12 2Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.wp-block-embed-youtube::after {
    content: '';
    position: absolute;
    top: -15px;
    right: 20px;
    width: 24px;
    height: 24px;
    background: var(--bg-deep);
    z-index: 2;
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F4D03F'%3E%3Cpath d='M12 2L15 8.5L22 9.5L17 14L18.5 21L12 17.5L5.5 21L7 14L2 9.5L9 8.5L12 2Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.wp-block-embed-youtube:hover::before,
.wp-block-embed-youtube:hover::after {
    opacity: 1;
}

.wp-block-embed-youtube figcaption {
    margin-top: var(--space-md);
    text-align: center;
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--text-parchment);
    font-style: italic;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
    width: auto;
    padding: 0 var(--space-lg);
}

.wp-block-embed-youtube figcaption::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: var(--space-sm);
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23C8102E'%3E%3Cpath d='M12 4L14.5 9.5L20.5 10L16 14L17.5 19.5L12 16.5L6.5 19.5L8 14L3.5 10L9.5 9.5L12 4Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.wp-block-embed-youtube figcaption::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: var(--space-sm);
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23C8102E'%3E%3Cpath d='M12 4L14.5 9.5L20.5 10L16 14L17.5 19.5L12 16.5L6.5 19.5L8 14L3.5 10L9.5 9.5L12 4Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.youtube-royal {
    position: relative;
    margin: var(--space-xl) 0;
}

.youtube-royal iframe {
    border: 2px solid var(--pure-gold);
    border-radius: 16px;
    box-shadow: 0 0 30px rgba(var(--pure-gold-rgb), 0.3);
    transition: all var(--transition-smooth);
}

.youtube-royal iframe:hover {
    box-shadow: 0 0 50px rgba(var(--pure-gold-rgb), 0.6);
    transform: scale(1.01);
}

.single-post-article .wp-block-embed-youtube {
    margin: var(--space-xl) auto;
    max-width: 90%;
}

.single-post-article .wp-block-embed-youtube .wp-block-embed__wrapper {
    border: 1px solid rgba(var(--crimson-rgb), 0.5);
}

.lore-section .wp-block-embed-youtube,
.archive-post-card .wp-block-embed-youtube {
    margin: var(--space-md) 0;
    transform: none;
}

.lore-section .wp-block-embed-youtube:hover,
.archive-post-card .wp-block-embed-youtube:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .wp-block-embed-youtube {
        padding: var(--space-xs);
        margin: var(--space-lg) 0;
    }

    .wp-block-embed-youtube::before,
    .wp-block-embed-youtube::after {
        width: 18px;
        height: 18px;
        top: -12px;
    }

    .wp-block-embed-youtube figcaption {
        font-size: 0.75rem;
    }

    .wp-block-embed-youtube figcaption::before,
    .wp-block-embed-youtube figcaption::after {
        width: 12px;
        height: 12px;
    }

    .single-post-article .wp-block-embed-youtube {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .wp-block-embed-youtube {
        border-radius: 8px;
    }

    .wp-block-embed-youtube .wp-block-embed__wrapper {
        border-radius: 4px;
    }

    .wp-block-embed-youtube .wp-block-embed__wrapper iframe {
        border-radius: 4px;
    }

    .wp-block-embed-youtube::before,
    .wp-block-embed-youtube::after {
        display: none;
    }
}

.youtube-fullwidth {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    border-radius: 0;
}

.youtube-fullwidth .wp-block-embed__wrapper {
    border-radius: 0;
}

.youtube-fullwidth iframe {
    border-radius: 0;
}

.youtube-glow {
    animation: goldPulse 3s ease-in-out infinite;
}

.youtube-glow iframe {
    border: 2px solid var(--pure-gold);
}

.wp-block-embed-youtube.loading {
    position: relative;
    min-height: 300px;
}

.wp-block-embed-youtube.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 2px solid rgba(var(--pure-gold-rgb), 0.3);
    border-top-color: var(--pure-gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    z-index: 10;
}

/* ==== 29. FOOTER ===== */
.site-footer {
    position: relative;
    background: linear-gradient(180deg,
            rgba(var(--bg-oxblood-rgb), 0.98) 0%,
            rgba(var(--bg-deep-rgb), 1) 100%);
    border-top: 3px solid var(--crimson);
    margin-top: var(--space-2xl);
    padding: var(--space-2xl) 0 var(--space-lg);
    font-family: var(--font-body);
    color: var(--text-champagne);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.5);
}

.site-footer::before {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 28px;
    background: linear-gradient(135deg, var(--bg-deep), var(--bg-oxblood));
    padding: 0 var(--space-md);
    color: var(--pure-gold);
    text-shadow: 0 0 8px rgba(var(--pure-gold-rgb), 0.6);
    letter-spacing: 4px;
    z-index: 2;
}

.site-footer::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: radial-gradient(circle at 20% 40%, rgba(var(--pure-gold-rgb), 0.02) 0%, transparent 40%),
        repeating-linear-gradient(45deg, rgba(var(--crimson-rgb), 0.02) 0px, rgba(var(--crimson-rgb), 0.02) 2px, transparent 2px, transparent 8px);
    z-index: 0;
}

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

.site-footer__top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(var(--crimson-rgb), 0.5);
    margin-bottom: var(--space-xl);
}

.site-footer__col {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.site-footer__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--pure-gold);
    margin: 0 0 var(--space-sm) 0;
    padding-bottom: var(--space-xs);
    position: relative;
    display: inline-block;
}

.site-footer__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--crimson), var(--pure-gold), transparent);
}

.site-footer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.site-footer__menu li {
    margin: 0;
    padding: 0;
}

.site-footer__menu a {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-champagne) !important;
    text-decoration: none;
    transition: all var(--transition-base);
    position: relative;
    display: inline-block;
    padding: var(--space-xs) 0;
    letter-spacing: 0.03em;
}

.site-footer__menu a::before {
    content: '✦';
    position: absolute;
    left: -18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--crimson);
    opacity: 0;
    transition: opacity var(--transition-base), left var(--transition-base);
    font-size: 10px;
}

.site-footer__menu a:hover {
    color: var(--pure-gold) !important;
    transform: translateX(8px);
}

.site-footer__menu a:hover::before {
    opacity: 1;
    left: -14px;
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    padding: var(--space-md) 0;
}

.site-footer__logo {
    flex-shrink: 0;
    transition: transform var(--transition-smooth), filter var(--transition-smooth);
    display: inline-block;
    line-height: 0;
}

.site-footer__logo:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 0 12px rgba(var(--pure-gold-rgb), 0.4));
}

.site-footer__logo img {
    max-height: 70px;
    width: auto;
    border: none;
}

.site-footer__info {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--space-md);
    font-size: 0.9rem;
    font-family: var(--font-body);
}

.site-footer__slogan {
    font-style: italic;
    color: var(--text-parchment);
    letter-spacing: 0.03em;
    border-right: 1px solid rgba(var(--crimson-rgb), 0.5);
    padding-right: var(--space-md);
    line-height: 1.3;
}

.site-footer__info a {
    color: var(--text-champagne) !important;
    text-decoration: none;
    transition: color var(--transition-base);
    position: relative;
}

.site-footer__info a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--crimson);
    transition: width var(--transition-base);
}

.site-footer__info a:hover {
    color: var(--pure-gold) !important;
}

.site-footer__info a:hover::after {
    width: 100%;
}

/* Footer Social Icons - Different styling from header socials */
.site-footer__socials {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.site-footer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(var(--bg-oxblood-rgb), 0.6);
    border: 1px solid var(--crimson);
    border-radius: 50%;
    transition: all var(--transition-smooth);
    color: var(--pure-gold);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.site-footer__social svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    transition: transform var(--transition-base);
    display: block;
}

.site-footer__social::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(var(--pure-gold-rgb), 0.3), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.site-footer__social:hover {
    border-color: var(--pure-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    background: rgba(var(--crimson-rgb), 0.3);
}

.site-footer__social:hover::before {
    width: 80px;
    height: 80px;
}

.site-footer__social:hover svg {
    transform: scale(1.1);
    fill: var(--pure-gold);
}

.site-footer__social:active {
    transform: translateY(0);
}

.site-footer__social:focus-visible,
.site-footer__menu a:focus-visible,
.site-footer__info a:focus-visible {
    outline: 2px solid var(--pure-gold);
    outline-offset: 2px;
    border-radius: 4px;
}

.site-footer__copyright {
    text-align: center;
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    font-size: 0.75rem;
    color: rgba(var(--text-parchment-rgb), 0.6);
    border-top: 1px dashed rgba(var(--crimson-rgb), 0.3);
    letter-spacing: 0.1em;
}

@media (max-width: 992px) {
    .site-footer__top {
        gap: var(--space-lg);
    }

    .site-footer__bottom {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .site-footer__info {
        justify-content: center;
    }

    .site-footer__slogan {
        border-right: none;
        border-bottom: 1px solid rgba(var(--crimson-rgb), 0.3);
        padding-right: 0;
        padding-bottom: var(--space-xs);
        margin-bottom: var(--space-xs);
    }

    .site-footer__socials {
        justify-content: center;
    }

    .site-footer__logo {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: var(--space-xl) 0 var(--space-md);
        margin-top: var(--space-xl);
    }

    .site-footer::before {
        font-size: 22px;
        top: -18px;
        letter-spacing: 2px;
    }

    .site-footer__top {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }

    .site-footer__title {
        display: block;
        text-align: center;
    }

    .site-footer__title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
    }

    .site-footer__menu a::before {
        display: none;
    }

    .site-footer__menu a:hover {
        transform: translateX(0);
    }

    .site-footer__menu {
        align-items: center;
    }

    .site-footer__info {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }

    .site-footer__social {
        width: 40px;
        height: 40px;
    }

    .site-footer__social svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .site-footer__bottom {
        gap: var(--space-md);
    }

    .site-footer__logo img {
        max-height: 55px;
    }

    .site-footer__title {
        font-size: 1rem;
    }

    .site-footer__menu a {
        font-size: 0.85rem;
    }

    .site-footer__info,
    .site-footer__slogan {
        font-size: 0.8rem;
    }

    .site-footer__social {
        width: 36px;
        height: 36px;
    }

    .site-footer__social svg {
        width: 18px;
        height: 18px;
    }
}

@media print {
    .site-footer {
        background: none;
        border-top: 1px solid #ccc;
        color: #000;
        padding: 20px 0;
        margin-top: 20px;
        box-shadow: none;
    }

    .site-footer::before,
    .site-footer::after,
    .site-footer__social::before,
    .site-footer__menu a::before {
        display: none;
    }

    .site-footer__title {
        color: #000;
    }

    .site-footer__menu a,
    .site-footer__info a {
        color: #000 !important;
        text-decoration: underline;
    }

    .site-footer__social {
        border: 1px solid #ccc;
        background: none;
    }

    .site-footer__social svg {
        fill: #000;
    }
}

.footer-back-to-top {
    position: absolute;
    right: var(--space-lg);
    bottom: var(--space-lg);
    width: 44px;
    height: 44px;
    background: rgba(var(--bg-oxblood-rgb), 0.9);
    border: 1px solid var(--crimson);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-gold);
    cursor: pointer;
    transition: all var(--transition-smooth);
    opacity: 0.7;
}

.footer-back-to-top:hover {
    opacity: 1;
    transform: translateY(-4px);
    border-color: var(--pure-gold);
    box-shadow: var(--shadow-glow);
    background: rgba(var(--crimson-rgb), 0.5);
}

.footer-back-to-top svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .footer-back-to-top {
        right: var(--space-md);
        bottom: var(--space-md);
        width: 38px;
        height: 38px;
    }

    .footer-back-to-top svg {
        width: 16px;
        height: 16px;
    }
}

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

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

.footer-border-top {
    border-top: 1px solid var(--crimson);
}

.footer-no-margin {
    margin: 0 !important;
}

/* ===== 30. BUILDER TEMPLATE ===== */
.builder-page {
    position: relative;
    z-index: 1;
}

.builder-section {
    margin-bottom: var(--space-2xl);
    position: relative;
}

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

.builder-card {
    background: linear-gradient(145deg,
            rgba(var(--bg-oxblood-rgb), 0.85),
            rgba(var(--bg-deep-rgb), 0.95));
    border: 1px solid var(--crimson);
    border-radius: 8px;
    padding: var(--space-xl);
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-card);
}

.builder-card:hover {
    border-color: var(--pure-gold);
    box-shadow: var(--shadow-glow);
}

.builder-section__title {
    font-family: var(--font-display);
    color: var(--pure-gold);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--space-lg);
    position: relative;
    display: inline-block;
    padding-bottom: var(--space-sm);
    letter-spacing: 0.1em;
}

.builder-section__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--crimson), var(--pure-gold));
}

.builder-section__text {
    color: var(--text-champagne);
    line-height: 1.8;
    font-size: 1.05rem;
}

.builder-section__text p:last-child {
    margin-bottom: 0;
}

.builder-section__text a {
    color: var(--pure-gold);
    text-decoration-color: var(--crimson);
    transition: all var(--transition-base);
}

.builder-section__text a:hover {
    color: var(--antique-gold);
    text-decoration-color: var(--pure-gold);
}

.builder-section--simple-text .builder-card {
    background: linear-gradient(145deg,
            rgba(var(--bg-oxblood-rgb), 0.7),
            rgba(var(--bg-deep-rgb), 0.9));
}

.builder-section--simple-text .builder-section__text {
    max-width: 800px;
    margin: 0 auto;
}

.builder-section--text-media .builder-card {
    padding: 0;
    overflow: hidden;
}

.builder-text-media {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.builder-text-media__content {
    flex: 1;
    padding: var(--space-xl);
    min-width: 250px;
}

.builder-text-media__media {
    flex: 1;
    position: relative;
    min-width: 250px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.builder-text-media__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
    display: block;
}

.builder-text-media__image-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.builder-text-media__image-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(var(--crimson-rgb), 0.2),
            rgba(var(--pure-gold-rgb), 0.1));
    opacity: 0;
    transition: opacity var(--transition-smooth);
    pointer-events: none;
}

.builder-text-media__image-link:hover::after {
    opacity: 1;
}

.builder-text-media__image-link:hover .builder-text-media__image {
    transform: scale(1.03);
}

.builder-text-media--reverse {
    flex-direction: row-reverse;
}

.builder-two-columns {
    display: flex;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.builder-two-columns__col {
    flex: 1;
    min-width: 250px;
    padding: var(--space-md);
    background: rgba(var(--pure-gold-rgb), 0.03);
    border-left: 3px solid var(--crimson);
    transition: all var(--transition-smooth);
}

.builder-two-columns__col:hover {
    border-left-color: var(--pure-gold);
    background: rgba(var(--pure-gold-rgb), 0.06);
    transform: translateX(4px);
}

.builder-two-columns__col .builder-section__title {
    font-size: 1.3rem;
    margin-bottom: var(--space-md);
}

.builder-two-columns__col .builder-section__title::after {
    width: 40px;
}

.builder-section--posts-slider {
    position: relative;
    overflow: visible;
}

.builder-section--posts-slider .builder-card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.home-posts-slider-section {
    position: relative;
}

.home-posts-slider-section__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.home-posts-slider-section__top h3 {
    font-family: var(--font-display);
    color: var(--pure-gold);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    margin: 0;
    position: relative;
    display: inline-block;
    padding-bottom: var(--space-sm);
}

.home-posts-slider-section__top h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--crimson), var(--pure-gold));
}

.home-posts-slider__nav {
    display: flex;
    gap: var(--space-sm);
}

.home-posts-slider__arrow {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg,
            rgba(var(--bg-oxblood-rgb), 0.9),
            rgba(var(--bg-deep-rgb), 0.95));
    border: 1px solid var(--crimson);
    border-radius: 8px;
    color: var(--pure-gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-smooth);
    backdrop-filter: blur(4px);
}

.home-posts-slider__arrow:hover {
    background: linear-gradient(135deg,
            rgba(var(--blood-red-rgb), 0.9),
            rgba(var(--crimson-rgb), 0.9));
    border-color: var(--pure-gold);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(var(--pure-gold-rgb), 0.4);
}

.home-posts-slider__arrow:active {
    transform: scale(0.95);
}

.home-posts-slider__arrow svg {
    width: 24px;
    height: 24px;
    stroke: var(--pure-gold);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-posts-slider {
    overflow: visible;
    padding: var(--space-sm) 0 var(--space-xl);
}

.home-posts-slider .swiper-wrapper {
    padding: var(--space-xs) 0;
}

.home-posts-slider .swiper-slide {
    height: auto;
}

.home-post-card {
    background: linear-gradient(145deg,
            rgba(var(--bg-oxblood-rgb), 0.85),
            rgba(var(--bg-deep-rgb), 0.95));
    border: 1px solid var(--crimson);
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.home-post-card:hover {
    transform: translateY(-6px);
    border-color: var(--pure-gold);
    box-shadow: var(--shadow-glow);
}

.home-post-card__image {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
    display: block;
    background: rgba(0, 0, 0, 0.4);
}

.home-post-card__thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.home-post-card:hover .home-post-card__thumb {
    transform: scale(1.05);
}

.home-post-card__image--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-oxblood), var(--bg-deep));
    color: var(--text-parchment);
    font-family: var(--font-display);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.home-post-card__body {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-post-card__title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.home-post-card__title a {
    color: var(--pure-gold);
    text-decoration: none;
    transition: color var(--transition-base);
}

.home-post-card__title a:hover {
    color: var(--antique-gold);
    text-decoration-color: var(--crimson);
}

.home-post-card__excerpt {
    color: var(--text-champagne);
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.85;
    margin-bottom: var(--space-md);
    flex: 1;
}

.home-post-card__excerpt p {
    margin-bottom: 0;
}

.home-post-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pure-gold);
    background: linear-gradient(135deg, var(--bg-oxblood), var(--bg-deep));
    border: 1px solid var(--crimson);
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-smooth);
    text-decoration: none;
    align-self: flex-start;
}

.home-post-card__button:hover {
    background: linear-gradient(135deg, var(--blood-red), var(--bg-oxblood));
    border-color: var(--pure-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color: var(--pure-gold);
}

.home-posts-slider__pagination {
    position: relative;
    bottom: 0;
    margin-top: var(--space-lg);
}

.home-posts-slider__pagination .swiper-pagination-bullet {
    background: rgba(var(--pure-gold-rgb), 0.4);
    opacity: 1;
    width: 10px;
    height: 10px;
    transition: all var(--transition-base);
}

.home-posts-slider__pagination .swiper-pagination-bullet-active {
    background: var(--pure-gold);
    width: 24px;
    border-radius: 5px;
    box-shadow: 0 0 8px rgba(var(--pure-gold-rgb), 0.6);
}

.builder-page__hero {
    background: linear-gradient(135deg,
            rgba(var(--bg-oxblood-rgb), 0.9),
            rgba(var(--bg-deep-rgb), 0.95));
    border-bottom: 2px solid var(--crimson);
    padding: var(--space-2xl) 0;
    margin-bottom: var(--space-2xl);
    position: relative;
    text-align: center;
}

.builder-page__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%,
            rgba(var(--pure-gold-rgb), 0.1),
            transparent 70%);
    pointer-events: none;
}

.builder-page__title {
    font-family: var(--font-display);
    color: var(--pure-gold);
    font-size: clamp(2rem, 5vw, 3rem);
    margin: 0;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
}

.builder-page__title::before,
.builder-page__title::after {
    content: '✦';
    font-size: 1.5rem;
    color: var(--crimson);
    margin: 0 var(--space-md);
    opacity: 0.7;
}

@media (max-width: 992px) {
    .builder-card {
        padding: var(--space-lg);
    }

    .builder-text-media__content {
        padding: var(--space-lg);
    }
}

@media (max-width: 768px) {
    .builder-section {
        margin-bottom: var(--space-xl);
    }

    .builder-card {
        padding: var(--space-md);
        border-radius: 6px;
    }

    .builder-text-media {
        flex-direction: column;
        gap: 0;
    }

    .builder-text-media--reverse {
        flex-direction: column;
    }

    .builder-text-media__content {
        padding: var(--space-lg);
        order: 2;
    }

    .builder-text-media__media {
        order: 1;
    }

    .builder-two-columns {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .builder-two-columns__col {
        padding: var(--space-md);
    }

    .home-posts-slider-section__top {
        flex-direction: column;
        text-align: center;
    }

    .home-posts-slider-section__top h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .home-posts-slider__nav {
        justify-content: center;
    }

    .home-posts-slider__arrow {
        width: 44px;
        height: 44px;
    }

    .home-posts-slider__arrow svg {
        width: 20px;
        height: 20px;
    }

    .home-post-card__body {
        padding: var(--space-md);
    }

    .home-post-card__title {
        font-size: 1rem;
    }

    .builder-page__hero {
        padding: var(--space-xl) 0;
        margin-bottom: var(--space-xl);
    }

    .builder-page__title::before,
    .builder-page__title::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .builder-card {
        padding: var(--space-sm);
    }

    .builder-text-media__content {
        padding: var(--space-md);
    }

    .builder-section__title {
        font-size: 1.3rem;
    }

    .builder-two-columns__col .builder-section__title {
        font-size: 1.1rem;
    }

    .home-posts-slider__arrow {
        width: 40px;
        height: 40px;
    }

    .home-posts-slider__arrow svg {
        width: 18px;
        height: 18px;
    }

    .home-post-card__button {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }

    .builder-page__hero {
        padding: var(--space-lg) 0;
    }

    .builder-page__title {
        font-size: 1.75rem;
        letter-spacing: 0.1em;
    }
}

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

    .builder-card,
    .builder-text-media__image,
    .home-post-card,
    .home-post-card__thumb,
    .home-posts-slider__arrow,
    .builder-two-columns__col {
        transition: none;
    }

    .builder-card:hover,
    .home-post-card:hover {
        transform: none;
    }
}

@media print {

    .builder-page__hero,
    .home-posts-slider__nav,
    .home-posts-slider__pagination {
        display: none;
    }

    .builder-card {
        border: 1px solid #ccc;
        background: white;
        padding: 20px;
    }

    .builder-section__title {
        color: black;
    }

    .builder-section__text {
        color: black;
    }
}