/* Base layout */
body {
    font-family: "Times New Roman", Times, serif;
    color: #000;
    line-height: 1.5;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    font-size: 48px;
    text-transform: uppercase;
    text-align: center;
    border-bottom: 3px double #000;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Two-column layout */
main {
    column-count: 2;
    column-gap: 40px;
    column-rule: 1px solid #000;
}

/* Section formatting */
section {
    break-inside: avoid-column;
    margin-bottom: 20px;
}

/* Important headings */
h2 {
    font-size: 24px;
    font-weight: 900;
    margin-top: 0;
    border-bottom: 1px solid #000;
    padding-bottom: 5px;
    break-after: avoid;
}

h3 {
    font-size: 20px;
    font-style: italic;
    break-after: avoid;
}

/* Lists styling */
ul, ol {
    padding-left: 20px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 5px;
}

/* Quote formatting */
blockquote {
    font-style: italic;
    border-left: 2px solid #000;
    padding-left: 15px;
    margin: 15px 0;
    break-inside: avoid;
}

/* Table styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    break-inside: avoid;
}

th, td {
    border: 1px solid #000;
    padding: 8px;
    text-align: left;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border: 1px solid #000;
    break-inside: avoid;
}

/* Print styles */
@media print {
    body {
        font-size: 12pt;
    }
    
    main {
        column-count: 2;
        column-gap: 40px;
        column-rule: 1px solid #000;
    }
    
    section {
        break-inside: avoid-column;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    main {
        column-count: 1;
        column-rule: none;
    }
    
    h1 {
        font-size: 36px;
    }
}

