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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f9;
    color: #333;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

header {
    background: #2c3e50;
    color: #fff;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #3498db 3px solid;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

nav {
    background: #34495e;
    text-align: center;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav a {
    color: #fff;
    text-decoration: none;
    padding: 0 15px;
    font-weight: bold;
}

nav a:hover {
    color: #3498db;
}

section {
    background: #fff;
    margin: 20px 0;
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

h2 {
    color: #2c3e50;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

ul {
    list-style: none;
}

#services ul li {
    background: #ecf0f1;
    margin: 8px 0;
    padding: 12px;
    border-left: #3498db 5px solid;
}

.article {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ccc;
}

.article:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.article h3 {
    color: #3498db;
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #e67e22;
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
    color: #d35400;
}

.contact-list {
    margin-top: 15px;
}

.contact-list li {
    padding: 10px 0;
    font-size: 1.1rem;
}

footer {
    background: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
}

@media(max-width: 768px) {
    .container {
        width: 95%;
    }
    nav a {
        display: block;
        padding: 10px;
    }
}


/* Стили для страниц статей */
.full-article h3 {
    color: #2c3e50;
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.full-article p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.full-article ul {
    margin-bottom: 20px;
    margin-left: 20px;
}

.full-article ul li {
    background: transparent;
    border-left: none;
    padding: 5px 0;
    list-style-type: disc;
}

pre {
    overflow-x: auto;
    font-size: 0.95rem;
    line-height: 1.4;
}

code {
    background-color: #eee;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: monospace;
}
