/* General Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Times New Roman', Times, serif;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5em; color: #2c3e50; }
h2 { font-size: 2em; color: #34495e; }
h3 { font-size: 1.75em; color: #2980b9; }
h4 { font-size: 1.5em; color: #3498db; }

/* Links */
a {
    color: #2980b9;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Main Sections */
.section {
    margin-bottom: 2em;
    border-bottom: 1px solid #ecf0f1;
    padding-bottom: 1em;
}

.subsection {
    margin-left: 1em;
}

.sub-subsection {
    margin-left: 2em;
}

/* Lists */
ul {
    list-style-type: none;
    padding-left: 20px;
}

ul ul {
    margin-top: 0.5em;
}

/* Specific Elements */
.head-section {
    font-weight: bold;
    color: #2c3e50;
    font-size: 1.8em;
    display: block;
    margin-bottom: 0.5em;
}

.head-subsection {
    font-weight: bold;
    color: #34495e;
    font-size: 1.4em;
    display: block;
    margin-top: 1em;
    margin-bottom: 0.5em;
}

.head-sub-subsection {
    font-weight: bold;
    color: #2980b9;
    font-size: 1.2em;
    display: block;
    margin-top: 0.8em;
    margin-bottom: 0.4em;
}

.p {
    margin-bottom: 1em;
}

/* Specific Classes */
.title-poem, .title-essay, .title-manuscript {
    font-style: italic;
}

.date, .persName, .placeName, .geogName {
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    h1 { font-size: 2em; }
    h2 { font-size: 1.75em; }
    h3 { font-size: 1.5em; }
    h4 { font-size: 1.25em; }

    .subsection, .sub-subsection {
        margin-left: 0.5em;
    }
}