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

body {
font-family: Arial, Helvetica, sans-serif;
background-color: #e3bf9f;
color: #333;
line-height: 1.6;
}

header {
background-color: #000;
padding: 20px 0;
position: sticky;
top: 0;
z-index: 100;
box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.header-content {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
display: flex;
justify-content: space-between;
align-items: center;
}

.logo {
font-family: 'Georgia', serif;
font-size: 28px;
color: #e3bf9f;
font-weight: bold;
letter-spacing: 1px;
}

nav ul {
list-style: none;
display: flex;
gap: 30px;
}

nav ul li a {
color: #e3bf9f;
text-decoration: none;
font-size: 16px;
transition: color 0.3s;
}

nav ul li a:hover {
color: #89201b;
}

.container {
max-width: 1200px;
margin: 0 auto;
padding: 40px 20px;
}

h1 {
font-family: 'Georgia', serif;
font-size: 42px;
color: #000;
margin-bottom: 30px;
padding-bottom: 15px;
border-bottom: 5px solid #89201b;
text-align: center;
}

article {
background-color: #fff;
padding: 40px;
margin-bottom: 40px;
box-shadow: 0 0 15px rgba(0,0,0,0.1);
border-radius: 5px;
}

article h2 {
font-family: 'Georgia', serif;
font-size: 32px;
color: #89201b;
margin-top: 30px;
margin-bottom: 15px;
}

article h3 {
font-family: 'Georgia', serif;
font-size: 24px;
color: #333;
margin-top: 25px;
margin-bottom: 12px;
}

article p {
font-size: 18px;
margin-bottom: 20px;
text-align: justify;
line-height: 1.8;
}

.transition-section {
background-color: #f7f7f7;
padding: 30px;
margin-bottom: 40px;
border-left: 5px solid #89201b;
box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.transition-section p {
font-size: 18px;
line-height: 1.8;
margin-bottom: 15px;
}

{% if links %}
.links-section {
background-color: #fff;
padding: 40px;
box-shadow: 0 0 15px rgba(0,0,0,0.1);
border-radius: 5px;
margin-bottom: 40px;
}

.links-section h3 {
font-family: 'Georgia', serif;
font-size: 26px;
color: #89201b;
margin-top: 30px;
margin-bottom: 20px;
padding-bottom: 10px;
border-bottom: 3px solid #e3bf9f;
}

.links-section h3:first-child {
margin-top: 0;
}

.links-section ul {
list-style: none;
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 15px;
margin-bottom: 30px;
}

.links-section ul li {
padding: 0;
}

.links-section ul li a {
color: #333;
text-decoration: none;
font-size: 16px;
display: block;
padding: 8px 0;
transition: color 0.3s, padding-left 0.3s;
border-bottom: 1px dotted #ccc;
}

.links-section ul li a:hover {
color: #89201b;
padding-left: 10px;
}
{% endif %}

footer {
background-color: #89201b;
color: #fff;
padding: 30px 0;
margin-top: 60px;
}

.footer-content {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
text-align: center;
}

.footer-content p {
font-size: 14px;
margin-bottom: 10px;
}

@media (max-width: 768px) {
.header-content {
flex-direction: column;
gap: 20px;
}

nav ul {
flex-direction: column;
align-items: center;
gap: 15px;
}

h1 {
font-size: 32px;
}

article {
padding: 25px;
}

article h2 {
font-size: 26px;
}

article h3 {
font-size: 20px;
}

article p {
font-size: 16px;
}

.transition-section p {
font-size: 16px;
}

{% if links %}
.links-section {
padding: 25px;
}

.links-section h3 {
font-size: 22px;
}

.links-section ul {
grid-template-columns: 1fr;
gap: 10px;
}

.links-section ul li a {
font-size: 15px;
}
{% endif %}

.logo {
font-size: 24px;
}
}

@media (max-width: 480px) {
.container {
padding: 20px 15px;
}

h1 {
font-size: 28px;
}

article {
padding: 20px;
}

article h2 {
font-size: 22px;
}

article p {
font-size: 15px;
}

.transition-section {
padding: 20px;
}
}
