/* ===== Standard selectors ===== */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #222;
    margin: 0;
    padding: 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Arial, sans-serif;
    margin-top: 30px;
}

p {
    line-height: 1.7;
    text-align: justify;
}

a {
    color: #0055aa;
}

details summary {
    cursor: pointer;
    background: #dde;
    padding: 6px 10px;
    border-radius: 4px;
    font-weight: bold;
}

details[open] summary {
    background: #bbc;
}

/* ===== ID selectors ===== */
#main-content {
    max-width: 940px;
    margin: 0 auto;
    background: #fff;
    padding: 35px 45px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

#text-block {
    margin-bottom: 30px;
}

#lists-section {
    margin-top: 40px;
    padding: 25px;
    background: #f0f0f5;
    border-radius: 6px;
}

#search-link {
    text-align: center;
    margin: 30px 0 10px;
    padding-top: 20px;
    border-top: 1px solid #ccc;
    font-size: 1.05em;
}

/* ===== CLASS selectors ===== */
.section-block {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ddd;
}

.english-underline {
    font-size: 14px;
    color: green;
    font-family: Arial, sans-serif;
    text-decoration: underline;
    display: block;
    margin: 10px 0;
}

.latin-bold {
    font-size: 16px;
    color: red;
    font-family: Arial, sans-serif;
    font-weight: bold;
    display: block;
    margin: 10px 0;
}

.english-italic {
    font-size: 14px;
    color: green;
    font-family: Arial, sans-serif;
    font-style: italic;
    display: block;
    margin: 10px 0;
}

.list-container {
    margin: 18px 0;
}

/* ===== Contextual selectors ===== */
#lists-section .list-container ul {
    padding-left: 22px;
    margin-top: 8px;
}

#lists-section .list-container ol {
    padding-left: 22px;
    margin-top: 8px;
}

#lists-section .list-container li {
    margin: 5px 0;
}

#text-block .section-block p {
    margin: 8px 0;
}

#main-content h1 { color: #1a1a2e; }
#main-content h2 { color: #16213e; }
#main-content h3 { color: #0f3460; }
