/* ========================================
   長崎北陽台高等学校同窓会 - モダンスタイル
   ======================================== */

/* CSS Variables */
:root {
    /* Colors - より見やすい配色に変更 */
    --color-primary: #0058A2;        /* ネイビーブルー（日新火災参考） */
    --color-primary-light: #3A7FBA;  /* 明るいネイビー */
    --color-primary-dark: #003D6F;   /* 濃いネイビー */
    --color-secondary: #EA7C75;      /* コーラルレッド（アクセント） */
    --color-secondary-light: #F09B95; /* 明るいコーラル */
    --color-secondary-dark: #D65B54;  /* 濃いコーラル */
    
    --color-background: #ffffff;
    --color-surface: #F8FAFB;        /* より薄いグレー */
    --color-text: #333333;           /* ダークグレー（黒より読みやすい） */
    --color-text-muted: #6B7280;     /* ミディアムグレー */
    --color-border: #E5E7EB;         /* 薄いボーダー */
    
    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-danger: #EF4444;
    
    /* Typography - より読みやすいサイズに */
    --font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-sm: 14px;
    --line-height-base: 1.8;         /* より広い行間 */
    
    /* Spacing - より広い余白 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
    
    /* Layout */
    --container-max-width: 1200px;
    --header-height: auto;
    
    /* Transitions */
    --transition-base: 0.2s ease;
    
    /* Shadows - より柔らかい影 */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    :root {
        --color-background: #0a0a0a;
        --color-surface: #1a1a1a;
        --color-text: #e5e5e5;
        --color-text-muted: #a0a0a0;
        --color-border: #333333;
        --color-primary-light: #6ba3ff;
        --color-secondary-light: #ff9970;
    }
}

/* ========================================
   Base Styles
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: var(--line-height-base);
    color: var(--color-text);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: var(--font-size-base);
    font-weight: 400;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--color-primary-dark);
}

/* ========================================
   Accessibility & Focus Styles
   ======================================== */

/* Focus styles for keyboard navigation */
:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Better focus for buttons and links */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(0, 88, 162, 0.2);
}

/* Remove outline for mouse users */
:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}

/* Focus visible for keyboard users only */
:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(0, 88, 162, 0.2);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :focus {
        outline-width: 3px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 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-width: 0;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: clamp(1.875rem, 4vw, 2.5rem);  /* より控えめなサイズ */
    font-weight: 600;
    letter-spacing: 0.02em;
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.01em;
}

h3 {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 500;
}

p {
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-base);
    color: var(--color-text);
}

/* ========================================
   Layout Components
   ======================================== */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
}

/* ========================================
   Header
   ======================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--color-border);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
}

.logo {
    text-decoration: none;
}

.logo-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.logo:hover .logo-text {
    color: var(--color-primary-dark);
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1rem;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-xl);
}

.nav-link {
    font-weight: 400;
    font-size: var(--font-size-base);
    color: var(--color-text);
    padding: var(--spacing-sm) 0;
    position: relative;
    letter-spacing: 0.01em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    list-style: none;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--color-text);
}

.dropdown-menu a:hover {
    background: var(--color-surface);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-base);
}

/* Responsive adjustments for hero */
@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
    }
    
    .hero-decoration {
        right: 5%;
        opacity: 0.2;
    }
    
    .hero-pattern {
        width: 200px;
        height: 200px;
    }
    
    .hero-bg::after {
        height: 80px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 60px);
        background: var(--color-background);
        flex-direction: column;
        padding: var(--spacing-xl) var(--spacing-lg);
        gap: var(--spacing-lg);
        box-shadow: var(--shadow-lg);
        transition: right var(--transition-base);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--color-primary);
        margin-top: var(--spacing-sm);
        margin-left: var(--spacing-md);
    }
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 25%, #90caf9 50%, #64b5f6 75%, #42a5f5 100%);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(33, 150, 243, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(3, 169, 244, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 100%, rgba(129, 212, 250, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
    z-index: 2;
}

.hero-content {
    padding: var(--spacing-xxl) 0;
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content .container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    color: white;
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.2em;
    font-weight: 500;
}

.hero-description {
    font-size: var(--font-size-lg);
    color: white;
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: center;
}

/* Hero Decoration */
.hero-decoration {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    opacity: 0.3;
    z-index: 5;
}

.hero-pattern {
    width: 300px;
    height: 300px;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Hero Button Styles on gradient background */
.hero .btn-primary {
    background: white;
    color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero .btn-primary:hover {
    background: var(--color-surface);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.hero .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.hero .btn-secondary:hover {
    background: white;
    color: var(--color-primary);
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: var(--font-size-base);
    text-align: center;
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    letter-spacing: 0.02em;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 88, 162, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 88, 162, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 88, 162, 0.3);
}

.btn-secondary:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 88, 162, 0.3);
}

.btn-warning {
    background: #FCD34D;
    color: #78350F;
    font-weight: 600;
    border-color: #FCD34D;
    box-shadow: 0 2px 4px rgba(252, 211, 77, 0.3);
}

.btn-warning:hover {
    background: #FBBF24;
    border-color: #FBBF24;
    color: #78350F;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

/* ========================================
   Sections
   ======================================== */

section {
    padding: var(--spacing-xxl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--color-primary);
}

.section-actions {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* Notice Section */
.notice-section {
    background: var(--color-surface);
    padding: var(--spacing-lg) 0;
}

.notice-card {
    background: #FFFBEB;
    border: 1px solid #FCD34D;
    border-radius: 8px;
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.notice-title {
    color: #92400E;
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
    font-weight: 500;
}

.notice-card p {
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-sm);
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

.news-card {
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--transition-base);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: var(--spacing-lg);
}

.news-date {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    font-weight: 400;
}

.news-title {
    margin: var(--spacing-sm) 0;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.6;
}

.news-excerpt {
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
}

.news-link {
    font-weight: 500;
}

/* Links Section */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.link-card {
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: var(--spacing-lg);
    text-align: center;
    transition: all var(--transition-base);
    display: block;
}

.link-card:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.link-card h3 {
    margin-bottom: var(--spacing-sm);
}

.link-card p {
    margin: 0;
    color: var(--color-text-muted);
}

.link-card:hover p {
    color: rgba(255, 255, 255, 0.8);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-title {
    color: white;
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cta-description {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Button Style Override */
.cta-section .btn-primary {
    background: white;
    color: var(--color-primary);
    border: 2px solid white;
    padding: var(--spacing-sm) var(--spacing-xl);
    font-size: 1.125rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.cta-section .btn-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.cta-section .btn-primary:active {
    transform: translateY(0);
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: #F9FAFB;
    border-top: 1px solid var(--color-border);
    padding: var(--spacing-xl) 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h3 {
    margin-bottom: var(--spacing-md);
    font-size: 1.125rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
}

/* ========================================
   Utilities
   ======================================== */

.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;
}

/* ========================================
   Animations
   ======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ========================================
   Responsive Images
   ======================================== */

img[loading="lazy"] {
    background: var(--color-surface);
}

/* ========================================
   Loading State
   ======================================== */

.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    margin-top: var(--spacing-md);
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   Skip Link
   ======================================== */

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--color-primary);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 4px 0;
    transition: top 0.2s;
    white-space: nowrap;
}

.skip-link:focus {
    top: 0;
}

/* Hide from visual users but keep for screen readers */
.skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   Breadcrumb Navigation
   ======================================== */

.breadcrumb {
    background: var(--color-surface);
    padding: var(--spacing-sm) 0;
    font-size: var(--font-size-sm);
    border-bottom: 1px solid var(--color-border);
    display: none; /* Hidden by default, shown via JavaScript */
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: '›';
    margin-left: var(--spacing-xs);
    color: var(--color-text-muted);
}

.breadcrumb-item a {
    color: var(--color-text-muted);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--color-primary);
}

.breadcrumb-item.active {
    color: var(--color-text);
}

/* ========================================
   Back to Top Button
   ======================================== */

.back-to-top {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
    z-index: 100;
}

.back-to-top:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: var(--spacing-md);
        right: var(--spacing-md);
        width: 40px;
        height: 40px;
    }
}

/* ========================================
   Error State
   ======================================== */

.error-container {
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-primary);
}

.error-message {
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
}

/* ========================================
   Dynamic Content Area
   ======================================== */

.content-area {
    min-height: 400px;
    animation: fadeIn 0.3s ease-in-out;
}

.loaded-content {
    animation: slideIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Print Styles
   ======================================== */

@media print {
    .header,
    .footer,
    .mobile-menu-btn,
    .hero-actions,
    .section-actions,
    .back-to-top,
    .skip-link,
    .loading {
        display: none !important;
    }
    
    body {
        color: black;
        background: white;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
    
    .content-area {
        min-height: auto;
    }
}

/* ========================================
   Content Pages
   ======================================== */

/* Page Header */
.page-header {
    background: var(--color-surface);
    padding: var(--spacing-lg) 0;
    margin-bottom: var(--spacing-xl);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.breadcrumb a {
    color: var(--color-text-muted);
}

.breadcrumb a:hover {
    color: var(--color-primary);
}

.page-title {
    margin: 0;
}

/* Content Layout */
.content-section {
    padding-top: 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--spacing-xl);
}

@media (max-width: 968px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
}

.content-article {
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: var(--spacing-xl);
}

.content-title {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-lg);
    color: var(--color-primary);
}

.content-meta {
    margin-bottom: var(--spacing-lg);
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
}

.content-body {
    line-height: 1.8;
}

.content-body p {
    margin-bottom: var(--spacing-md);
}

.content-body ul {
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-lg);
}

.content-body li {
    margin-bottom: var(--spacing-sm);
}

/* Content Elements */
.highlight-box,
.info-box,
.contact-box {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.highlight-box {
    background: #F0F9FF;
    border-color: #BAE6FD;
}

.highlight-box h3,
.highlight-box h4 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.info-box h4 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.contact-box {
    background: #FEF3C7;
    border-color: #FCD34D;
}

.contact-box h4 {
    color: #92400E;
    margin-bottom: var(--spacing-sm);
}

.email {
    font-size: 1.125rem;
    margin: var(--spacing-md) 0;
}

.note {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.organizers {
    margin-top: var(--spacing-lg);
}

.organizers h4 {
    margin-bottom: var(--spacing-sm);
}

.organizers ul {
    list-style: none;
    padding: 0;
}

.update-section {
    margin-bottom: var(--spacing-xl);
}

.update-section h3 {
    font-size: 1.125rem;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-md);
}

.content-divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: var(--spacing-xl) 0;
}

.highlight-info {
    background: #EFF6FF;
    border-left: 4px solid var(--color-primary);
    padding: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.content-image {
    margin: var(--spacing-xl) 0;
    text-align: center;
}

.content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.content-image.large img {
    max-width: 600px;
    margin: 0 auto;
}

.content-image figcaption {
    margin-top: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.related-links {
    background: var(--color-surface);
    border-radius: 8px;
    padding: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.related-links h3 {
    margin-bottom: var(--spacing-md);
}

.link-button {
    text-align: center;
}

.external-icon {
    margin-left: var(--spacing-xs);
}

.content-footer {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--color-border);
}

/* Sidebar */
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.sidebar-section {
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: var(--spacing-lg);
}

.sidebar-title {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-primary);
}

.sidebar-links {
    list-style: none;
    padding: 0;
}

.sidebar-links li {
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--color-border);
}

.sidebar-links li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-links a {
    color: var(--color-text);
    font-size: var(--font-size-sm);
}

.sidebar-links a:hover {
    color: var(--color-primary);
}