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

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

header {
background-color: #9494DB;
padding: 15px 0;
}

.header-content {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

.site-title {
background: linear-gradient(to bottom, #F8F1DD 0%, #FFFFFF 100%);
border-bottom: 3px solid #C4A64B;
padding: 20px;
text-align: center;
}

.site-title h1 {
color: #865D3A;
font-size: 2em;
margin-bottom: 10px;
}

nav {
background-color: #F8F1DD;
border-top: 2px solid #C4A64B;
border-bottom: 2px solid #C4A64B;
}

.nav-primary {
max-width: 1200px;
margin: 0 auto;
display: flex;
flex-wrap: wrap;
list-style: none;
}

.nav-primary li {
flex: 1 1 auto;
min-width: 100px;
}

.nav-primary a {
display: block;
padding: 10px 15px;
color: #5454B8;
text-decoration: none;
text-align: center;
font-size: 0.9em;
border-right: 1px solid #C4A64B;
transition: background-color 0.3s;
}

.nav-primary li:last-child a {
border-right: none;
}

.nav-primary a:hover {
background-color: #C4A64B;
color: #FFFFFF;
}

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

article {
background-color: #FFFFFF;
padding: 20px;
margin-bottom: 30px;
}

article h1 {
color: #865D3A;
font-size: 1.8em;
margin-bottom: 20px;
padding-bottom: 10px;
border-bottom: 2px solid #C4A64B;
}

article h2 {
color: #5454B8;
font-size: 1.4em;
margin-top: 25px;
margin-bottom: 15px;
}

article h3 {
color: #865D3A;
font-size: 1.2em;
margin-top: 20px;
margin-bottom: 10px;
}

article p {
margin-bottom: 15px;
text-align: justify;
}

.transition-section {
background-color: #F8F1DD;
padding: 20px;
margin-bottom: 30px;
border-left: 4px solid #C4A64B;
border-radius: 4px;
}

.transition-section p {
color: #865D3A;
font-size: 0.95em;
margin-bottom: 10px;
}

{% if links %}
.links-section {
background-color: #F8F1DD;
padding: 25px;
border: 2px solid #C4A64B;
border-radius: 6px;
margin-bottom: 30px;
}

.links-section h3 {
color: #5454B8;
font-size: 1.2em;
margin-top: 20px;
margin-bottom: 15px;
padding-bottom: 8px;
border-bottom: 1px solid #C4A64B;
}

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

.links-section ul {
list-style: none;
column-count: 2;
column-gap: 30px;
margin-bottom: 20px;
}

.links-section li {
break-inside: avoid;
margin-bottom: 8px;
padding-left: 15px;
position: relative;
}

.links-section li:before {
content: "•";
color: #5454B8;
font-weight: bold;
position: absolute;
left: 0;
}

.links-section a {
color: #5454B8;
text-decoration: none;
font-size: 0.9em;
transition: color 0.3s;
}

.links-section a:hover {
color: #C4A64B;
text-decoration: underline;
}
{% endif %}

footer {
background-color: #9494DB;
color: #865D3A;
padding: 25px 20px;
margin-top: 40px;
border-top: 3px solid #C4A64B;
}

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

.footer-nav {
margin-bottom: 15px;
}

.footer-nav a {
color: #5454B8;
text-decoration: none;
margin: 0 8px;
font-size: 0.85em;
}

.footer-nav a:hover {
color: #C4A64B;
text-decoration: underline;
}

.footer-text {
font-size: 0.8em;
color: #865D3A;
margin-top: 10px;
}

@media (max-width: 768px) {
.nav-primary {
flex-direction: column;
}

.nav-primary li {
min-width: 100%;
}

.nav-primary a {
border-right: none;
border-bottom: 1px solid #C4A64B;
}

.links-section ul {
column-count: 1;
}

article h1 {
font-size: 1.5em;
}

.site-title h1 {
font-size: 1.5em;
}
}

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

article {
padding: 15px;
}

.links-section {
padding: 15px;
}

.footer-nav a {
display: block;
margin: 5px 0;
}
}
