:root {
    --primary: #3B82F6;
    --primary-dark: #2563EB;
    --text-primary: #0F172A;
    --text-secondary: #334155;
    --text-muted: #64748B;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --border: #E2E8F0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --radius: 16px;
}
.page-content {
    max-width: 1240px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}
.page-content h1 {
    font-size: 2.5rem;
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 0 0 2rem 0;
    color: #0F172A;
    letter-spacing: -0.03em;
    line-height: 1.2;
}
.page-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}
.page-image-side {
    flex: 0 0 350px;
    position: sticky;
    top: 20px;
}
.page-featured-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: #f5f5f5;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-featured-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}
.page-text-side {
    flex: 1;
    min-width: 250px;
}
.breadcrumbs {
    margin: 0 0 2rem 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

.breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
}

.breadcrumbs-item {
    display: flex;
    align-items: center;
    color: #64748B;
    font-size: 0.875rem;
}

.breadcrumbs-item a {
    color: #64748B;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs-item a:hover {
    color: #3B82F6;
}

.breadcrumbs-item:last-child span {
    color: #0F172A;
    font-weight: 600;
}

.breadcrumbs-separator {
    margin: 0 0.5rem;
    color: #CBD5E1;
    font-size: 0.75rem;
}
.page-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #334155;
    line-height: 1.75;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.page-text h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: #0F172A;
    clear: both;
}

.page-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: #0F172A;
    clear: both;
}

.page-text h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.25rem 0 0.5rem;
    color: #0F172A;
}

.page-text p {
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

.page-text ul, .page-text ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.page-text li {
    margin-bottom: 0.5rem;
}

.page-text ul li::marker {
    color: #3B82F6;
}

.page-text a {
    color: #3B82F6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-text a:hover {
    color: #2563EB;
    text-decoration: underline;
}

.page-text blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid #3B82F6;
    background: #F8FAFC;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #475569;
}

.page-text img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.page-text iframe {
    max-width: 100%;
    border-radius: 12px;
}
.page-text table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2.5rem 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
    font-size: 0.95rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    background: #fff;
}
.page-text thead th {
    background: #1a2c3e;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 16px 20px;
    text-align: left;
    border-bottom: 2px solid #1a2c3e;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}
.page-text thead th:first-child {
    border-radius: 20px 0 0 0;
}

.page-text thead th:last-child {
    border-radius: 0 20px 0 0;
}
.page-text tbody td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid #EDF2F7;
    color: #334155;
    vertical-align: middle;
    font-size: 0.9rem;
    line-height: 1.5;
    word-break: break-word;
}
.page-text tbody tr:nth-child(even) td {
    background: #F8FAFC;
}
.page-text tbody tr:hover td {
    background: rgba(26, 44, 62, 0.04);
    transition: background 0.25s ease;
}
.page-text tbody tr:last-child td {
    border-bottom: none;
}
.page-text tbody td:first-child {
    font-weight: 600;
    color: #0F172A;
}
.page-text td strong {
    color: #0F172A;
    font-weight: 600;
}
.gallery-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1.5rem 0;
    color: #0F172A;
}

.page-additional-gallery {
    padding: 2rem 0 1rem 0;
    clear: both;
}

.additional-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.additional-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    transition: all 0.2s ease;
}

.additional-gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.additional-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.additional-gallery-item:hover img {
    transform: scale(1.05);
}

.additional-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    font-size: 0.7rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.additional-gallery-item:hover .additional-gallery-caption {
    opacity: 1;
}
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    z-index: 10000;
    backdrop-filter: blur(12px);
    cursor: pointer;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 12px;
    object-fit: contain;
    cursor: default;
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    white-space: nowrap;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.lightbox-close:hover {
    background: #3B82F6;
}
@media (max-width: 1024px) {
    .page-content h1 {
        font-size: 2rem;
    }
    
    .page-image-side {
        flex: 0 0 300px;
    }
    
    .page-text table {
        font-size: 0.85rem;
        border-radius: 16px;
        margin: 2rem 0;
    }
    
    .page-text thead th {
        padding: 12px 14px;
        font-size: 0.7rem;
    }
    
    .page-text thead th:first-child {
        border-radius: 16px 0 0 0;
    }
    
    .page-text thead th:last-child {
        border-radius: 0 16px 0 0;
    }
    
    .page-text tbody td {
        padding: 11px 14px;
        font-size: 0.8rem;
    }
    
    .additional-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .page-content {
        padding: 1rem;
    }
    
    .page-content h1 {
        font-size: 1.75rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .page-layout {
        flex-direction: column;
        gap: 24px;
    }
    
    .page-image-side {
        flex: 0 0 auto;
        width: 100%;
        position: static;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .page-image-side .page-featured-image {
        aspect-ratio: 1 / 1;
    }
    
    .page-text h2 {
        font-size: 1.5rem;
    }
    
    .page-text h3 {
        font-size: 1.25rem;
    }
    
    .page-text table {
        font-size: 0.8rem;
        border-radius: 12px;
        margin: 1.5rem 0;
    }
    
    .page-text thead th {
        padding: 10px 10px;
        font-size: 0.65rem;
    }
    
    .page-text thead th:first-child {
        border-radius: 12px 0 0 0;
    }
    
    .page-text thead th:last-child {
        border-radius: 0 12px 0 0;
    }
    
    .page-text tbody td {
        padding: 10px 10px;
        font-size: 0.75rem;
    }
    
    .additional-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .gallery-title {
        font-size: 1.3rem;
        text-align: center;
    }
    
    .lightbox-caption {
        white-space: normal;
        text-align: center;
        font-size: 0.75rem;
    }
}
@media (max-width: 480px) {
    .page-content h1 {
        font-size: 1.5rem;
    }
    
    .page-image-side {
        max-width: 280px;
    }
    
    .page-text h2 {
        font-size: 1.3rem;
    }
    
    .page-text h3 {
        font-size: 1.1rem;
    }
    
    .page-text table {
        font-size: 0.75rem;
        border-radius: 10px;
    }
    
    .page-text thead th {
        padding: 8px 8px;
        font-size: 0.6rem;
    }
    
    .page-text thead th:first-child {
        border-radius: 10px 0 0 0;
    }
    
    .page-text thead th:last-child {
        border-radius: 0 10px 0 0;
    }
    
    .page-text tbody td {
        padding: 8px 8px;
        font-size: 0.7rem;
    }
    
    .additional-gallery-grid {
        grid-template-columns: 1fr;
    }
}
@media print {
    .lightbox,
    .page-additional-gallery,
    .page-image-side {
        display: none;
    }
    
    .page-layout {
        display: block;
    }
    
    .page-text-side {
        width: 100%;
    }
    
    .breadcrumbs {
        display: none;
    }
    
    .page-content h1 {
        font-size: 1.8rem;
        color: #000;
    }
    
    .page-text {
        color: #000;
    }
    
    .page-text a {
        text-decoration: underline;
        color: #000;
    }
}