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

body {
    font-family: Georgia, 'Times New Roman', serif;
    background: #fafafa;
    color: #1a1a1a;
    line-height: 1.8;
    padding: 20px;
}

.page {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.header-bar {
    background: #1a1a1a;
    color: #ffffff;
    padding: 15px 40px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.main-content {
    padding: 60px;
}

.article-header {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 2px solid #1a1a1a;
    margin-bottom: 40px;
}

.article-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-meta {
    font-size: 13px;
    color: #666666;
    margin-top: 15px;
}

.abstract-box {
    background: #f5f5f5;
    border: 1px solid #cccccc;
    padding: 25px;
    margin: 30px 0;
}

.abstract-title {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.abstract-text {
    font-size: 14px;
    text-align: justify;
}

.two-column {
    column-count: 2;
    column-gap: 40px;
    text-align: justify;
    margin: 30px 0;
}

.two-column p {
    margin-bottom: 15px;
    font-size: 15px;
}

.two-column h2 {
    font-size: 18px;
    font-weight: bold;
    margin: 25px 0 12px 0;
    break-after: avoid;
}

.single-column {
    text-align: justify;
    margin: 30px 0;
}

.single-column p {
    margin-bottom: 15px;
    font-size: 15px;
}

.single-column h2 {
    font-size: 18px;
    font-weight: bold;
    margin: 25px 0 12px 0;
}

.figure-box {
    background: #f9f9f9;
    border: 1px solid #dddddd;
    padding: 30px;
    margin: 30px 0;
    text-align: center;
    break-inside: avoid;
}

.figure-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    background: #e0e0e0;
    min-height: 200px;
}

.figure-title {
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 15px;
}

.figure-caption {
    font-size: 12px;
    font-style: italic;
    color: #666666;
    margin-top: 15px;
    text-align: justify;
}

.references {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #cccccc;
}

.ref-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 20px;
}

.ref-list {
    list-style: none;
    padding: 0;
    counter-reset: ref-counter;
}

.ref-list li {
    margin: 12px 0;
    padding-left: 30px;
    position: relative;
    font-size: 14px;
}

.ref-list li:before {
    content: "[" counter(ref-counter) "]";
    counter-increment: ref-counter;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.ref-list a {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px dotted #1a1a1a;
}

.ref-list a:hover {
    border-bottom: 1px solid #1a1a1a;
}

.footer-bar {
    background: #1a1a1a;
    color: #ffffff;
    padding: 20px 40px;
    font-size: 11px;
    text-align: center;
}

.footer-bar p {
    margin: 5px 0;
}

.citation-box {
    background: #f9f9f9;
    border-left: 4px solid #1a1a1a;
    padding: 20px 25px;
    margin: 30px 0;
    font-size: 13px;
}

.citation-title {
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
}

.navigation-menu {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #1a1a1a;
}

.nav-title {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 20px;
}

.nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.nav-item {
    border: 1px solid #cccccc;
    padding: 15px;
    background: #fafafa;
}

.nav-item a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

.nav-item a:hover {
    text-decoration: underline;
}

.nav-item-desc {
    font-size: 12px;
    color: #666666;
    margin-top: 5px;
}

.error-section {
    text-align: center;
    padding: 40px 0;
    border-bottom: 2px solid #1a1a1a;
    margin-bottom: 40px;
}

.error-number {
    font-size: 120px;
    font-weight: bold;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 10px;
}

.error-title {
    font-size: 28px;
    font-weight: normal;
    font-style: italic;
    margin-bottom: 20px;
}

.error-subtitle {
    font-size: 14px;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .two-column {
        column-count: 1;
    }
    
    .nav-grid {
        grid-template-columns: 1fr;
    }
    
    .main-content {
        padding: 30px 20px;
    }
    
    .header-bar,
    .footer-bar {
        padding: 15px 20px;
    }
}
