/*
Theme Name: Rooms-Child-Theme
Description: Child theme for Challenging Communications implementing Anja Zoerner's revolutionary 12-room semantic architecture. Optimized for AI search engines and modern content discovery.
Author: Challenging Communications Team
Author URI: https://challenging-communications.com
Template: twentytwentyfive
Version: 4.2.0
License: MIT
License URI: https://opensource.org/licenses/MIT
Text Domain: rooms-child
Tags: semantic-rooms, ai-optimized, content-architecture, anja-zoerner

This child theme implements the CC Framework - a revolutionary approach to website content organization using 12 semantic rooms (A-L system) designed for optimal AI search engine compatibility and human content discovery.

Rooms:
A - Building Plan: Structure & Navigation
B - Reception Hall: Contact & Orientation  
C - Brand Core: Identity & Representation
D - Offer Zone: Products & Services
E - Knowledge Wing: Articles & Knowledge Transfer
F - Entertainment Stage: Media & Experiences
G - Trust Chamber: Ethics & Legal
H - Security Wing: Privacy & Governance
I - Community Garden: Participation & Feedback
J - Innovation Lab: Open Source & Future Topics
K - Memory Room: Archives & History
L - Future Port: Bookings, Events & Vision
*/

/* ========================================
    CC FRAMEWORK CHILD THEME STYLES v4.2.0
    
    Complete all-in-one implementation:
    - Theme header info & parent overrides
    - 12-room semantic color system (A-L)
    - Custom cursor colors (#1D1459, #9C8B7C, #FFF)
    - All shortcode styles included
    - Gallery & animation effects
    - DSGVO-compliant (no external resources)
======================================== */

/* ========================================
   THEME OVERRIDES
======================================== */

/* Override parent theme typography - DSGVO-konform ohne Google Fonts */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}

/* Ensure CC Framework compatibility */
.cc-framework {
    font-family: inherit;
}

/* Header adjustments for CC Framework */
.site-header {
    position: relative;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Main content area optimization */
.site-main {
    min-height: 50vh;
    padding: 30px 0;
}

/* Footer spacing */
.site-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
    background: #fafafa;
}

/* ========================================
   ROOM-SPECIFIC COLOR VARIABLES (A-L System)
======================================== */

/* Room A - Building Plan */
.room-building-plan,
.room-letter-a,
[data-room="building-plan"] { 
    --room-color: #2196F3; 
    --room-color-light: #E3F2FD;
    --room-color-dark: #1976D2;
    --room-color-rgb: 33, 150, 243;
}

/* Room B - Reception Hall */
.room-reception-hall,
.room-letter-b,
[data-room="reception-hall"] { 
    --room-color: #4CAF50; 
    --room-color-light: #E8F5E9;
    --room-color-dark: #388E3C;
    --room-color-rgb: 76, 175, 80;
}

/* Room C - Brand Core */
.room-brand-core,
.room-letter-c,
[data-room="brand-core"] { 
    --room-color: #FF9800; 
    --room-color-light: #FFF3E0;
    --room-color-dark: #F57C00;
    --room-color-rgb: 255, 152, 0;
}

/* Room D - Offer Zone */
.room-offer-zone,
.room-letter-d,
[data-room="offer-zone"] { 
    --room-color: #E91E63;
    --room-color-light: #FCE4EC;
    --room-color-dark: #C2185B;
    --room-color-rgb: 233, 30, 99;
}

/* Room E - Knowledge Wing */
.room-knowledge-wing,
.room-letter-e,
[data-room="knowledge-wing"] { 
    --room-color: #9C27B0;
    --room-color-light: #F3E5F5;
    --room-color-dark: #7B1FA2;
    --room-color-rgb: 156, 39, 176;
}

/* Room F - Entertainment Stage */
.room-entertainment-stage,
.room-letter-f,
[data-room="entertainment-stage"] { 
    --room-color: #F44336;
    --room-color-light: #FFEBEE;
    --room-color-dark: #D32F2F;
    --room-color-rgb: 244, 67, 54;
}

/* Room G - Trust Chamber */
.room-trust-chamber,
.room-letter-g,
[data-room="trust-chamber"] { 
    --room-color: #607D8B;
    --room-color-light: #ECEFF1;
    --room-color-dark: #455A64;
    --room-color-rgb: 96, 125, 139;
}

/* Room H - Security Wing */
.room-security-wing,
.room-letter-h,
[data-room="security-wing"] { 
    --room-color: #795548;
    --room-color-light: #EFEBE9;
    --room-color-dark: #5D4037;
    --room-color-rgb: 121, 85, 72;
}

/* Room I - Community Garden */
.room-community-garden,
.room-letter-i,
[data-room="community-garden"] { 
    --room-color: #8BC34A;
    --room-color-light: #F1F8E9;
    --room-color-dark: #689F38;
    --room-color-rgb: 139, 195, 74;
}

/* Room J - Innovation Lab */
.room-innovation-lab,
.room-letter-j,
[data-room="innovation-lab"] { 
    --room-color: #00BCD4;
    --room-color-light: #E0F7FA;
    --room-color-dark: #0097A7;
    --room-color-rgb: 0, 188, 212;
}

/* Room K - Memory Room */
.room-memory-room,
.room-letter-k,
[data-room="memory-room"] { 
    --room-color: #9E9E9E;
    --room-color-light: #FAFAFA;
    --room-color-dark: #616161;
    --room-color-rgb: 158, 158, 158;
}

/* Room L - Future Port */
.room-future-port,
.room-letter-l,
[data-room="future-port"] { 
    --room-color: #3F51B5;
    --room-color-light: #E8EAF6;
    --room-color-dark: #303F9F;
    --room-color-rgb: 63, 81, 181;
}

/* ========================================
   CUSTOM CURSOR & INTERACTION STYLES
======================================== */

:root {
    --cursor-primary: #1D1459;
    --cursor-secondary: #9C8B7C;
    --cursor-highlight: #FFF;
    --transition-speed: 0.3s;
    --shadow-light: 0 2px 5px rgba(0,0,0,0.1);
    --shadow-medium: 0 5px 15px rgba(0,0,0,0.15);
    --shadow-heavy: 0 10px 30px rgba(0,0,0,0.2);
}

/* Custom cursor for interactive elements */
.cc-framework a,
.cc-framework button,
.cc-framework .clickable {
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.cc-framework a:hover {
    color: var(--cursor-primary);
}

.cc-framework button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Focus styles for accessibility */
.cc-framework a:focus,
.cc-framework button:focus,
.cc-framework input:focus,
.cc-framework select:focus,
.cc-framework textarea:focus {
    outline: 2px solid var(--cursor-primary);
    outline-offset: 2px;
}

/* ========================================
   SHORTCODE STYLES - COMPLETE SET
======================================== */

/* Semantic Room Menu - Enhanced */
.semantic-room-menu {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.semantic-room-menu li {
    background: var(--room-color-light, #f5f5f5);
    border-left: 4px solid var(--room-color, #333);
    padding: 12px 18px;
    border-radius: 8px;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.semantic-room-menu li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.semantic-room-menu li:hover::before {
    left: 100%;
}

.semantic-room-menu li:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-medium);
    background: var(--room-color, #333);
}

.semantic-room-menu li:hover a {
    color: white;
}

.semantic-room-menu a {
    text-decoration: none;
    color: var(--room-color-dark, #333);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.semantic-room-menu .room-icon {
    font-size: 20px;
}

.semantic-room-menu .room-count {
    margin-left: auto;
    background: rgba(0,0,0,0.1);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
}

/* Room Overview Grid - Advanced */
.room-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.room-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.room-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--room-color), var(--room-color-light));
}

.room-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(var(--room-color-rgb), 0.1) 0%, transparent 70%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.room-card:hover::after {
    transform: translateX(-50%) translateY(0);
}

.room-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-heavy);
    border-color: var(--room-color);
}

.room-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--room-color), var(--room-color-dark));
    color: white;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-speed) ease;
}

.room-card:hover .room-letter {
    transform: rotate(360deg) scale(1.1);
}

.room-card h3 {
    margin: 15px 0;
    color: var(--room-color-dark, #333);
    font-size: 20px;
    font-weight: 600;
}

.room-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 10px 0;
}

.room-card .room-stats {
    display: flex;
    gap: 20px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    width: 100%;
    justify-content: center;
}

.room-card .stat {
    text-align: center;
}

.room-card .stat-number {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: var(--room-color);
}

.room-card .stat-label {
    display: block;
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Room Index - Enhanced List */
.room-index {
    margin: 30px 0;
}

.room-index-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--room-color, #e0e0e0);
}

.room-index-title {
    font-size: 24px;
    color: var(--room-color-dark, #333);
    display: flex;
    align-items: center;
    gap: 10px;
}

.room-index-filters {
    display: flex;
    gap: 10px;
}

.filter-btn {
    padding: 6px 12px;
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--room-color);
    color: white;
    border-color: var(--room-color);
}

.room-index-list {
    list-style: none;
    padding: 0;
}

.room-index-item {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    transition: all var(--transition-speed) ease;
    position: relative;
    display: flex;
    gap: 20px;
}

.room-index-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--room-color);
    transform: scaleY(0);
    transition: transform var(--transition-speed) ease;
}

.room-index-item:hover::before {
    transform: scaleY(1);
}

.room-index-item:hover {
    background: linear-gradient(90deg, var(--room-color-light) 0%, transparent 100%);
    padding-left: 30px;
}

.room-index-thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.room-index-content {
    flex: 1;
}

.room-index-item h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
}

.room-index-item h4 a {
    color: var(--room-color-dark, #333);
    text-decoration: none;
    font-weight: 600;
}

.room-index-item h4 a:hover {
    color: var(--room-color);
}

.item-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 8px 0;
}

.item-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
}

.item-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Cross Room Links - Cards Style */
.cross-room-links {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
}

.cross-room-links-header {
    text-align: center;
    margin-bottom: 25px;
}

.cross-room-links-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.cross-room-links-subtitle {
    color: #666;
    font-size: 14px;
}

.cross-room-links.style-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.cross-room-link-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all var(--transition-speed) ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cross-room-link-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--room-color), var(--room-color-light));
    border-radius: 12px;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
    z-index: -1;
}

.cross-room-link-card:hover::before {
    opacity: 1;
}

.cross-room-link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.cross-room-link-icon {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--room-color);
}

.cross-room-link-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.cross-room-link-count {
    font-size: 12px;
    color: #999;
}

/* Semantic Breadcrumbs - Enhanced */
.semantic-breadcrumbs {
    padding: 15px 0;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.semantic-breadcrumbs a {
    color: var(--cursor-primary);
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all var(--transition-speed) ease;
}

.semantic-breadcrumbs a:hover {
    background: var(--room-color-light);
    color: var(--room-color-dark);
}

.semantic-breadcrumbs .separator {
    margin: 0 5px;
    color: #999;
    font-size: 18px;
}

.semantic-breadcrumbs .current {
    font-weight: 600;
    color: var(--room-color);
}

/* Publication Finder - Advanced */
.publication-finder {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow-light);
    margin: 30px 0;
}

.publication-search {
    position: relative;
    margin-bottom: 25px;
}

.publication-search input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 16px;
    transition: all var(--transition-speed) ease;
}

.publication-search input:focus {
    border-color: var(--cursor-primary);
    box-shadow: 0 0 0 3px rgba(29, 20, 89, 0.1);
}

.publication-search button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--cursor-primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.publication-search button:hover {
    background: var(--cursor-secondary);
    transform: translateY(-50%) rotate(90deg);
}

.publication-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.publication-filter-tag {
    padding: 8px 16px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: 2px solid transparent;
}

.publication-filter-tag:hover,
.publication-filter-tag.active {
    background: var(--cursor-primary);
    color: white;
    border-color: var(--cursor-primary);
}

.publication-results {
    display: grid;
    gap: 20px;
}

.publication-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #fafafa;
    border-radius: 10px;
    transition: all var(--transition-speed) ease;
}

.publication-item:hover {
    background: white;
    box-shadow: var(--shadow-light);
}

.publication-thumbnail {
    width: 120px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.publication-details {
    flex: 1;
}

.publication-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.publication-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.publication-excerpt {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* ========================================
   GALLERY STYLES - ADVANCED
======================================== */

.cc-room-gallery {
    margin: 40px 0;
}

.cc-gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.cc-gallery-title {
    font-size: 24px;
    color: #333;
}

.cc-gallery-controls {
    display: flex;
    gap: 10px;
}

.cc-gallery-view-toggle {
    display: flex;
    gap: 5px;
    background: #f0f0f0;
    border-radius: 20px;
    padding: 3px;
}

.view-btn {
    padding: 5px 12px;
    background: transparent;
    border: none;
    border-radius: 17px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.view-btn.active {
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.cc-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.cc-gallery-masonry {
    columns: 3;
    column-gap: 25px;
}

.cc-gallery-masonry .cc-gallery-item {
    break-inside: avoid;
    margin-bottom: 25px;
}

.cc-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #f5f5f5;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.cc-gallery-item.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.cc-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cc-gallery-item:hover img {
    transform: scale(1.1) rotate(2deg);
}

.cc-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.cc-gallery-item:hover .cc-gallery-overlay {
    opacity: 1;
}

.cc-gallery-caption {
    color: white;
    transform: translateY(20px);
    transition: transform var(--transition-speed) ease;
}

.cc-gallery-item:hover .cc-gallery-caption {
    transform: translateY(0);
}

.cc-gallery-caption h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
}

.cc-gallery-caption p {
    margin: 0;
    font-size: 13px;
    opacity: 0.9;
}

/* Lightbox Styles */
.cc-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.cc-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cc-lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.cc-lightbox img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.cc-lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: transform var(--transition-speed) ease;
}

.cc-lightbox-close:hover {
    transform: rotate(90deg);
}

/* ========================================
   ANIMATION EFFECTS - COMPLETE SET
======================================== */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

.cc-framework [data-animation="fadeIn"] {
    animation: fadeIn 0.6s ease forwards;
}

.cc-framework [data-animation="slideIn"] {
    animation: slideIn 0.5s ease forwards;
}

.cc-framework [data-animation="slideUp"] {
    animation: slideUp 0.5s ease forwards;
}

.cc-framework [data-animation="bounceIn"] {
    animation: bounceIn 0.8s ease forwards;
}

.cc-framework .shake {
    animation: shake 0.5s ease;
}

/* Scroll animations */
.cc-framework [data-scroll-animation] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.cc-framework [data-scroll-animation].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE DESIGN - COMPLETE
======================================== */

/* Tablet Styles */
@media (max-width: 1024px) {
    .room-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cc-gallery-masonry {
        columns: 2;
    }
    
    .cross-room-links.style-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .semantic-room-menu {
        flex-direction: column;
    }
    
    .semantic-room-menu li {
        width: 100%;
    }
    
    .room-overview-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .room-card {
        min-height: 250px;
    }
    
    .cc-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .cc-gallery-masonry {
        columns: 1;
    }
    
    .cross-room-links.style-cards {
        grid-template-columns: 1fr;
    }
    
    .room-index-item {
        flex-direction: column;
    }
    
    .room-index-thumbnail {
        width: 100%;
        height: 200px;
    }
    
    .publication-item {
        flex-direction: column;
    }
    
    .publication-thumbnail {
        width: 100%;
        height: 200px;
    }
    
    .room-index-filters {
        flex-wrap: wrap;
    }
    
    .cc-gallery-controls {
        flex-direction: column;
        width: 100%;
    }
    
    .cc-gallery-view-toggle {
        width: 100%;
        justify-content: center;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    .site-main {
        padding: 20px 10px;
    }
    
    .room-letter {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 20px;
    }
    
    .room-card h3 {
        font-size: 18px;
    }
    
    .room-card .stat-number {
        font-size: 20px;
    }
    
    .cc-gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .semantic-breadcrumbs {
        font-size: 12px;
    }
    
    .publication-search input {
        padding: 12px 45px 12px 15px;
        font-size: 14px;
    }
    
    .publication-search button {
        width: 35px;
        height: 35px;
    }
    
    .cc-lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 30px;
    }
}

/* ========================================
   UTILITY CLASSES - EXTENDED
======================================== */

/* Text Utilities */
.cc-text-center { text-align: center; }
.cc-text-left { text-align: left; }
.cc-text-right { text-align: right; }
.cc-text-justify { text-align: justify; }

.cc-text-uppercase { text-transform: uppercase; }
.cc-text-lowercase { text-transform: lowercase; }
.cc-text-capitalize { text-transform: capitalize; }

.cc-font-bold { font-weight: 700; }
.cc-font-semibold { font-weight: 600; }
.cc-font-normal { font-weight: 400; }
.cc-font-light { font-weight: 300; }

/* Spacing Utilities */
.cc-m-0 { margin: 0; }
.cc-m-10 { margin: 10px; }
.cc-m-20 { margin: 20px; }
.cc-m-30 { margin: 30px; }
.cc-m-40 { margin: 40px; }

.cc-mt-0 { margin-top: 0; }
.cc-mt-10 { margin-top: 10px; }
.cc-mt-20 { margin-top: 20px; }
.cc-mt-30 { margin-top: 30px; }
.cc-mt-40 { margin-top: 40px; }

.cc-mb-0 { margin-bottom: 0; }
.cc-mb-10 { margin-bottom: 10px; }
.cc-mb-20 { margin-bottom: 20px; }
.cc-mb-30 { margin-bottom: 30px; }
.cc-mb-40 { margin-bottom: 40px; }

.cc-ml-0 { margin-left: 0; }
.cc-ml-10 { margin-left: 10px; }
.cc-ml-20 { margin-left: 20px; }
.cc-ml-30 { margin-left: 30px; }

.cc-mr-0 { margin-right: 0; }
.cc-mr-10 { margin-right: 10px; }
.cc-mr-20 { margin-right: 20px; }
.cc-mr-30 { margin-right: 30px; }

.cc-p-0 { padding: 0; }
.cc-p-10 { padding: 10px; }
.cc-p-20 { padding: 20px; }
.cc-p-30 { padding: 30px; }
.cc-p-40 { padding: 40px; }

.cc-pt-0 { padding-top: 0; }
.cc-pt-10 { padding-top: 10px; }
.cc-pt-20 { padding-top: 20px; }
.cc-pt-30 { padding-top: 30px; }
.cc-pt-40 { padding-top: 40px; }

.cc-pb-0 { padding-bottom: 0; }
.cc-pb-10 { padding-bottom: 10px; }
.cc-pb-20 { padding-bottom: 20px; }
.cc-pb-30 { padding-bottom: 30px; }
.cc-pb-40 { padding-bottom: 40px; }

/* Display Utilities */
.cc-hidden { display: none !important; }
.cc-block { display: block !important; }
.cc-inline-block { display: inline-block !important; }
.cc-inline { display: inline !important; }
.cc-flex { display: flex !important; }
.cc-inline-flex { display: inline-flex !important; }
.cc-grid { display: grid !important; }

/* Flexbox Utilities */
.cc-flex-row { flex-direction: row; }
.cc-flex-column { flex-direction: column; }
.cc-flex-wrap { flex-wrap: wrap; }
.cc-flex-nowrap { flex-wrap: nowrap; }

.cc-justify-start { justify-content: flex-start; }
.cc-justify-center { justify-content: center; }
.cc-justify-end { justify-content: flex-end; }
.cc-justify-between { justify-content: space-between; }
.cc-justify-around { justify-content: space-around; }

.cc-align-start { align-items: flex-start; }
.cc-align-center { align-items: center; }
.cc-align-end { align-items: flex-end; }
.cc-align-stretch { align-items: stretch; }

.cc-gap-10 { gap: 10px; }
.cc-gap-20 { gap: 20px; }
.cc-gap-30 { gap: 30px; }

/* Border Utilities */
.cc-border { border: 1px solid #e0e0e0; }
.cc-border-top { border-top: 1px solid #e0e0e0; }
.cc-border-bottom { border-bottom: 1px solid #e0e0e0; }
.cc-border-left { border-left: 1px solid #e0e0e0; }
.cc-border-right { border-right: 1px solid #e0e0e0; }
.cc-border-none { border: none !important; }

.cc-rounded { border-radius: 5px; }
.cc-rounded-lg { border-radius: 10px; }
.cc-rounded-xl { border-radius: 15px; }
.cc-rounded-full { border-radius: 50%; }

/* Shadow Utilities */
.cc-shadow-sm { box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.cc-shadow { box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.cc-shadow-md { box-shadow: 0 5px 15px rgba(0,0,0,0.15); }
.cc-shadow-lg { box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.cc-shadow-none { box-shadow: none !important; }

/* Background Utilities */
.cc-bg-white { background-color: #ffffff; }
.cc-bg-black { background-color: #000000; }
.cc-bg-gray-light { background-color: #f5f5f5; }
.cc-bg-gray { background-color: #e0e0e0; }
.cc-bg-gray-dark { background-color: #666666; }
.cc-bg-primary { background-color: var(--cursor-primary); }
.cc-bg-secondary { background-color: var(--cursor-secondary); }
.cc-bg-room { background-color: var(--room-color); }
.cc-bg-room-light { background-color: var(--room-color-light); }
.cc-bg-room-dark { background-color: var(--room-color-dark); }

/* Color Utilities */
.cc-text-white { color: #ffffff; }
.cc-text-black { color: #000000; }
.cc-text-gray { color: #666666; }
.cc-text-gray-light { color: #999999; }
.cc-text-primary { color: var(--cursor-primary); }
.cc-text-secondary { color: var(--cursor-secondary); }
.cc-text-room { color: var(--room-color); }

/* Opacity Utilities */
.cc-opacity-10 { opacity: 0.1; }
.cc-opacity-25 { opacity: 0.25; }
.cc-opacity-50 { opacity: 0.5; }
.cc-opacity-75 { opacity: 0.75; }
.cc-opacity-100 { opacity: 1; }

/* Position Utilities */
.cc-relative { position: relative; }
.cc-absolute { position: absolute; }
.cc-fixed { position: fixed; }
.cc-sticky { position: sticky; }

/* Z-Index Utilities */
.cc-z-0 { z-index: 0; }
.cc-z-10 { z-index: 10; }
.cc-z-20 { z-index: 20; }
.cc-z-30 { z-index: 30; }
.cc-z-40 { z-index: 40; }
.cc-z-50 { z-index: 50; }
.cc-z-100 { z-index: 100; }
.cc-z-1000 { z-index: 1000; }

/* ========================================
   ACCESSIBILITY STYLES
======================================== */

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--cursor-primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 2px solid var(--cursor-primary);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .cc-framework {
        --shadow-light: 0 0 0 1px #000;
        --shadow-medium: 0 0 0 2px #000;
        --shadow-heavy: 0 0 0 3px #000;
    }
    
    .room-card,
    .cc-gallery-item,
    .publication-item {
        border: 2px solid #000;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background: #1a1a1a;
        color: #e0e0e0;
    }
    
    .site-header {
        background: #2a2a2a;
        box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    }
    
    .site-footer {
        background: #2a2a2a;
        border-top-color: #3a3a3a;
    }
    
    .room-card,
    .publication-finder {
        background: #2a2a2a;
        border-color: #3a3a3a;
    }
    
    .room-card h3,
    .publication-title {
        color: #e0e0e0;
    }
    
    .room-card p,
    .item-excerpt,
    .publication-excerpt {
        color: #b0b0b0;
    }
    
    .semantic-room-menu li {
        background: rgba(255,255,255,0.05);
    }
    
    .semantic-room-menu li:hover {
        background: var(--room-color);
    }
    
    .cc-bg-white {
        background-color: #2a2a2a;
    }
    
    .cc-text-black {
        color: #e0e0e0;
    }
}

/* ========================================
   PRINT STYLES
======================================== */

@media print {
    /* Hide navigation and non-content elements */
    .semantic-room-menu,
    .site-header,
    .site-footer,
    .cc-gallery-controls,
    .publication-search,
    .publication-filters,
    .room-index-filters,
    .cc-lightbox,
    .skip-link {
        display: none !important;
    }
    
    /* Reset backgrounds and colors for print */
    body {
        background: white;
        color: black;
        font-size: 12pt;
        line-height: 1.5;
    }
    
    /* Ensure content doesn't break across pages */
    .room-card,
    .publication-item,
    .room-index-item {
        page-break-inside: avoid;
    }
    
    /* Show URLs for links */
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
    
    /* Optimize images for print */
    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }
    
    /* Add page margins */
    @page {
        margin: 2cm;
    }
    
    /* Ensure room colors are visible in print */
    .room-letter {
        border: 2px solid black;
        color: black !important;
        background: white !important;
    }
}

/* ========================================
   SPECIAL EFFECTS & EXTRAS
======================================== */

/* Gradient text effect */
.cc-gradient-text {
    background: linear-gradient(135deg, var(--cursor-primary) 0%, var(--cursor-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glow effect */
.cc-glow {
    box-shadow: 0 0 20px rgba(var(--room-color-rgb), 0.5);
}

/* Blur background */
.cc-blur-bg {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
}

/* Parallax effect helper */
.cc-parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Notification badges */
.cc-badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: bold;
    line-height: 1;
    color: white;
    background: var(--cursor-primary);
    border-radius: 10px;
}

.cc-badge.new {
    background: #4CAF50;
}

.cc-badge.warning {
    background: #FF9800;
}

.cc-badge.error {
    background: #F44336;
}

/* Loading spinner */
.cc-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0,0,0,0.1);
    border-top-color: var(--cursor-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Tooltip styles */
.cc-tooltip {
    position: relative;
}

.cc-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background: #333;
    color: white;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.cc-tooltip:hover::after {
    opacity: 1;
}

/* ========================================
   END OF CC FRAMEWORK STYLES v4.2.0
   Total: 2000+ lines of comprehensive styling
======================================== */