


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


:root {
    
    --bg-primary: #0A0E17;
    --bg-secondary: #0F1521;
    --bg-tertiary: #151C2C;
    --bg-card: rgba(21, 28, 44, 0.7);
    --bg-glass: rgba(15, 21, 33, 0.85);
    
    
    --accent-gold: #D4A574;
    --accent-gold-light: #E8C9A8;
    --accent-gold-dark: #B8895A;
    --accent-teal: #4FD1C5;
    --accent-teal-light: #7EEAE0;
    --accent-teal-glow: rgba(79, 209, 197, 0.3);
    
    
    --text-primary: #E2E8F0;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --text-dark: #0A0E17;
    
    
    --border-subtle: rgba(148, 163, 184, 0.1);
    --border-medium: rgba(148, 163, 184, 0.2);
    --border-glow: rgba(79, 209, 197, 0.4);
    --border-gold: rgba(212, 165, 116, 0.4);
    
    
    --gradient-hero: linear-gradient(135deg, #0A0E17 0%, #151C2C 50%, #1A2332 100%);
    --gradient-gold: linear-gradient(135deg, #D4A574 0%, #E8C9A8 100%);
    --gradient-teal: linear-gradient(135deg, #4FD1C5 0%, #7EEAE0 100%);
    --gradient-card: linear-gradient(180deg, rgba(21, 28, 44, 0.9) 0%, rgba(15, 21, 33, 0.95) 100%);
    
    
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-heavy: 0 16px 48px rgba(0, 0, 0, 0.5);
    --glow-teal: 0 0 20px rgba(79, 209, 197, 0.3);
    --glow-gold: 0 0 20px rgba(212, 165, 116, 0.3);
    
    
    --header-height: 80px;
    --sidebar-width: 300px;
    --container-max: 1280px;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 20px;
}


body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}


.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}


.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    text-decoration: none;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-teal);
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}


.nav-container {
    display: flex;
}

.nav {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--border-radius-sm);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.nav a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-teal-glow);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.nav a:hover {
    color: var(--accent-teal);
}

.nav a:hover::before {
    opacity: 1;
}


.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.burger-menu:hover {
    border-color: var(--border-glow);
    box-shadow: var(--glow-teal);
}

.burger-line {
    width: 20px;
    height: 2px;
    background: var(--accent-teal);
    border-radius: 2px;
    transition: all 0.3s ease;
    position: absolute;
}

.burger-line:nth-child(1) { top: 14px; }
.burger-line:nth-child(2) { top: 21px; }
.burger-line:nth-child(3) { top: 28px; }

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg);
    top: 21px;
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg);
    top: 21px;
}


.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(79, 209, 197, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(212, 165, 116, 0.1) 0%, transparent 50%);
    pointer-events: none;
}


.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(79, 209, 197, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 209, 197, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title .highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}


.hero-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

.hero-decoration-1 {
    width: 300px;
    height: 300px;
    background: rgba(79, 209, 197, 0.2);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.hero-decoration-2 {
    width: 200px;
    height: 200px;
    background: rgba(212, 165, 116, 0.2);
    bottom: 20%;
    right: 15%;
    animation-delay: -2s;
}

.hero-decoration-3 {
    width: 150px;
    height: 150px;
    background: rgba(79, 209, 197, 0.15);
    top: 60%;
    left: 5%;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}


.main-content {
    flex: 1;
    padding: 4rem 0;
    position: relative;
}


.main-content::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50vh;
    background: radial-gradient(ellipse 100% 70% at 50% 0%, rgba(79, 209, 197, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.main-content .container {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    width: 100%;
}


.has-hero .main-content {
    padding-top: 0;
}

.has-hero .main-content::before {
    display: none;
}


.content {
    flex: 1;
    order: 2;
    min-width: 0;
    animation: fadeInUp 0.6s ease-out;
}


.sidebar {
    width: var(--sidebar-width);
    flex-shrink: 0;
    order: 1;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: var(--border-radius);
    height: fit-content;
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-medium);
    animation: fadeInUp 0.6s ease-out 0.1s both;
}


.sidebar::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -1px;
    width: 2px;
    height: 60%;
    background: var(--gradient-teal);
    border-radius: 2px;
    box-shadow: var(--glow-teal);
}

.sidebar h2 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-teal);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
}


h1 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}


p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
}


.recent-posts {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.recent-posts li {
    margin-bottom: 0 !important;
    padding: 1rem 0 !important;
    border-bottom: 1px solid var(--border-subtle) !important;
}

.recent-posts li:first-child {
    padding-top: 0 !important;
}

.recent-posts li:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.recent-posts a {
    color: var(--text-primary) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    display: block !important;
    transition: all 0.3s ease !important;
    padding: 0.5rem 0.75rem !important;
    margin: -0.5rem -0.75rem !important;
    border-radius: var(--border-radius-sm) !important;
    position: relative !important;
}

.recent-posts a::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 3px !important;
    height: 0 !important;
    background: var(--gradient-gold) !important;
    border-radius: 3px !important;
    transition: height 0.3s ease !important;
}

.recent-posts a:hover {
    color: var(--accent-gold) !important;
    background: rgba(212, 165, 116, 0.1) !important;
    padding-left: 1rem !important;
}

.recent-posts a:hover::before {
    height: 60% !important;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gradient-gold);
    color: var(--text-dark);
    padding: 0.875rem 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    border-radius: var(--border-radius-sm);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-gold), var(--shadow-medium);
}

.btn:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
}

.btn-secondary:hover {
    background: var(--accent-gold);
    color: var(--text-dark);
}

.btn-teal {
    background: var(--gradient-teal);
}

.btn-teal:hover {
    box-shadow: var(--glow-teal), var(--shadow-medium);
}


.footer {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 3rem 0 2rem;
    margin-top: auto;
    position: relative;
}


.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-teal) 50%, transparent 100%);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-teal);
    transition: width 0.3s ease;
}

.footer-nav a:hover {
    color: var(--accent-teal);
}

.footer-nav a:hover::after {
    width: 100%;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}


.article-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-content {
    margin-bottom: 2.5rem;
}

.article-content p {
    font-size: 1.1rem;
    margin-bottom: 1.75rem;
    line-height: 1.8;
}

.article-content img,
.content img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-subtle);
}


.error-page {
    text-align: center;
    padding: 6rem 0;
    position: relative;
}

.error-code {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(8rem, 20vw, 14rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    opacity: 0.2;
    position: relative;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.35; }
}

.error-page h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    margin-top: -3rem;
    position: relative;
}

.error-page p {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.error-actions {
    margin: 2.5rem 0;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.error-suggestions {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-subtle);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-suggestions h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.25rem;
    font-family: 'DM Sans', sans-serif;
    color: var(--accent-teal);
}

.error-suggestions ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.error-suggestions li a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-radius: var(--border-radius-sm);
    background: rgba(79, 209, 197, 0.1);
}

.error-suggestions li a:hover {
    color: var(--accent-gold);
    background: rgba(212, 165, 116, 0.15);
}


.posts-list {
    list-style: none;
    margin-top: 2rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.post-item {
    display: flex;
    flex-direction: column;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out both;
}

.post-item:nth-child(1) { animation-delay: 0s; }
.post-item:nth-child(2) { animation-delay: 0.1s; }
.post-item:nth-child(3) { animation-delay: 0.2s; }
.post-item:nth-child(4) { animation-delay: 0.3s; }
.post-item:nth-child(5) { animation-delay: 0.4s; }
.post-item:nth-child(6) { animation-delay: 0.5s; }

.post-item:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: var(--glow-teal), var(--shadow-heavy);
}

.post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.post-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 14, 23, 0.8) 100%);
    pointer-events: none;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-item:hover .post-image img {
    transform: scale(1.1);
}

.post-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

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

.post-content h3 a:hover {
    color: var(--accent-gold);
}

.post-content p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
}

.post-content .btn {
    align-self: flex-start;
    padding: 0.65rem 1.5rem;
    font-size: 0.85rem;
}


table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

table th,
table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

table th {
    background: rgba(79, 209, 197, 0.1);
    color: var(--accent-teal);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

table tr:hover {
    background: rgba(79, 209, 197, 0.05);
}

table tr:last-child td {
    border-bottom: none;
}


ul, ol {
    margin: 1.25rem 0;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

ul li, ol li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    padding-left: 0.5rem;
}

ul li strong, ol li strong {
    color: var(--text-primary);
}


.content ul:not(.posts-list):not(.recent-posts) li::marker {
    color: var(--accent-teal);
}


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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


a:focus,
.btn:focus {
    outline: 2px solid var(--accent-teal);
    outline-offset: 3px;
}


a:focus:not(:focus-visible),
.btn:focus:not(:focus-visible) {
    outline: none;
}


::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 5px;
    border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-teal);
}


::selection {
    background: rgba(79, 209, 197, 0.3);
    color: var(--text-primary);
}


@media (max-width: 1024px) {
    .main-content .container {
        gap: 2rem;
    }
    
    .sidebar {
        width: 260px;
    }
    
    h1 {
        font-size: 2.25rem;
    }
    
    .posts-list {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-container::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at center, rgba(79, 209, 197, 0.1) 0%, transparent 70%);
        pointer-events: none;
    }
    
    .nav-container.active {
        right: 0;
    }
    
    .nav {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .nav a {
        font-size: 1.5rem;
        padding: 1rem 2rem;
    }
    
    .nav a::before {
        display: none;
    }
    
    .main-content {
        padding: 2rem 0;
    }
    
    .main-content .container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .sidebar {
        width: 100%;
        order: 2;
        position: static;
    }
    
    .sidebar::after {
        display: none;
    }
    
    .content {
        order: 1;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .posts-list {
        grid-template-columns: 1fr;
    }
    
    .post-image {
        height: 180px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-nav {
        justify-content: center;
    }
    
    
    .hero {
        min-height: 90vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }
    
    
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    table th,
    table td {
        padding: 0.75rem;
        font-size: 0.9rem;
        min-width: 120px;
    }
    
    
    .error-code {
        font-size: 6rem;
    }
    
    .error-page h1 {
        font-size: 1.75rem;
        margin-top: -2rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .error-suggestions ul {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .header {
        padding: 1rem 0;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .main-content {
        padding: 1.5rem 0;
    }
    
    .sidebar {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.35rem;
    }
    
    .post-content h3 {
        font-size: 1.1rem;
    }
    
    .post-content {
        padding: 1.25rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }
    
    .error-code {
        font-size: 4rem;
    }
    
    .error-page h1 {
        font-size: 1.5rem;
        margin-top: -1rem;
    }
    
    table th,
    table td {
        padding: 0.5rem;
        font-size: 0.85rem;
        min-width: 100px;
    }
    
    .hero-decoration {
        display: none;
    }
}


.text-gold {
    color: var(--accent-gold);
}

.text-teal {
    color: var(--accent-teal);
}

.bg-glass {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.glow-teal {
    box-shadow: var(--glow-teal);
}

.glow-gold {
    box-shadow: var(--glow-gold);
}


.page-header {
    padding-top: calc(var(--header-height) + 2rem);
}


blockquote {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-gold);
    border-left: 4px solid transparent;
    border-image: var(--gradient-gold) 1;
    border-image-slice: 1 0 1 1;
    margin: 2.5rem 0;
    padding: 2rem 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium), var(--glow-gold);
    position: relative;
    overflow: hidden;
}

blockquote::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at top right, var(--accent-teal-glow), transparent);
    pointer-events: none;
}

blockquote::after {
    content: '"';
    position: absolute;
    bottom: 0.5rem;
    left: 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-size: 8rem;
    background: var(--gradient-teal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.1;
    line-height: 1;
}

blockquote p {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

blockquote p:last-child {
    margin-bottom: 0;
}

blockquote cite {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 600;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 1.25rem;
    letter-spacing: 0.5px;
}

blockquote cite::before {
    content: '— ';
}

@media (max-width: 768px) {
    blockquote {
        padding: 1.5rem 1.75rem;
        margin: 2rem 0;
    }
    
    blockquote p {
        font-size: 1.05rem;
    }
    
    blockquote::after {
        font-size: 5rem;
    }
}

