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

html {
min-height: 100%;
}

body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 16px;
line-height: 1.6;
color: #222;
background: #69c8ee;
background-image: linear-gradient(to bottom, #69c8ee 0%, #a4e1fd 100%);
min-height: 100vh;
}

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

header {
background: linear-gradient(to bottom, #444 0%, #111 100%);
border-bottom: 2px solid #bedefe;
padding: 15px 0;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

nav ul {
list-style: none;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 5px;
}

nav ul li {
display: inline-block;
}

nav ul li a {
display: block;
padding: 12px 18px;
color: #fff;
text-decoration: none;
font-size: 15px;
transition: background 0.3s ease;
}

nav ul li a:hover {
background: linear-gradient(to bottom, #fff200 0%, #febf01 100%);
color: #000;
}

.hero-section {
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 300"><rect fill="%23a4e1fd" width="1200" height="300"/></svg>') no-repeat center;
background-size: cover;
padding: 60px 20px 40px;
text-align: center;
}

h1 {
font-size: 3em;
line-height: 1.2;
color: #00296d;
font-weight: 700;
margin-bottom: 20px;
text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

article {
background: #fff;
border-radius: 8px;
padding: 40px;
margin: 30px auto;
max-width: 960px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

article h2 {
color: #00296d;
font-size: 2em;
margin: 30px 0 15px;
font-weight: 600;
}

article h3 {
color: #00296d;
font-size: 1.5em;
margin: 25px 0 12px;
font-weight: 600;
}

article h4 {
color: #00296d;
font-size: 1.3em;
margin: 20px 0 10px;
font-weight: 600;
}

article h5 {
color: #00296d;
font-size: 1.1em;
margin: 18px 0 8px;
font-weight: 600;
}

article p {
margin: 15px 0;
line-height: 1.8;
}

article ul,
article ol {
margin: 15px 0 15px 25px;
}

article li {
margin: 8px 0;
}

article a {
color: #0050a2;
text-decoration: none;
}

article a:hover {
text-decoration: underline;
}

.transition-section {
background: #e5f5fb;
padding: 30px 40px;
margin: 30px auto;
max-width: 960px;
border-radius: 8px;
border: 1px solid #86adea;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.transition-section p {
margin: 12px 0;
line-height: 1.8;
color: #333;
}

{% if links %}
.links-section {
background: #fff;
padding: 40px;
margin: 30px auto;
max-width: 960px;
border-radius: 8px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.links-section h2 {
color: #00296d;
font-size: 2em;
margin-bottom: 25px;
font-weight: 600;
}

.links-section h3 {
color: #00296d;
font-size: 1.5em;
margin: 25px 0 12px;
font-weight: 600;
border-bottom: 2px solid #69c8ee;
padding-bottom: 8px;
}

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

.links-section li {
margin: 8px 0;
break-inside: avoid;
}

.links-section a {
color: #0050a2;
text-decoration: none;
display: inline-block;
padding: 5px 0;
transition: color 0.3s ease;
}

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

footer {
background: #3c2207;
color: #fff;
padding: 30px 20px;
margin-top: 50px;
text-align: center;
border-top: 4px solid #c06505;
}

footer p {
margin: 10px 0;
font-size: 14px;
}

footer a {
color: #fff;
text-decoration: none;
}

footer a:hover {
color: #fff200;
}

@media (max-width: 768px) {
h1 {
font-size: 2em;
}

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

nav ul li {
width: 100%;
text-align: center;
}

article,
.transition-section,
.links-section {
padding: 25px;
margin: 20px 10px;
}

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

article h2 {
font-size: 1.6em;
}

article h3 {
font-size: 1.3em;
}
}

@media (max-width: 480px) {
h1 {
font-size: 1.6em;
}

body {
font-size: 14px;
}

article,
.transition-section,
.links-section {
padding: 20px;
}
}
