:root {
    --primary-color: #d4af37;
    --secondary-color: #7d5ba6;
    --dark-color: #1a1a2e;
    --light-color: #f8f8f8;
    --text-color: #333333;
    --text-light: #ffffff;
    --accent-color: #c0b283;
    --link-color: #7d5ba6;
    --link-visited: #5d3f8a;
    --link-hover: #d4af37;
    --border-radius: 8px;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

.article {
    max-width: 1128px;
    margin: 0 auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
}

.article h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--dark-color);
    font-weight: 700;
    line-height: 1.2;
}

.article h2 {
    font-size: 2.2em;
    margin: 25px 0 15px;
    color: var(--secondary-color);
    font-weight: 600;
}

.create-date {
    font-size: 0.95em;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-style: italic;
    font-family: 'Roboto', sans-serif;
}

.article-image {
    margin-bottom: 30px;
    text-align: center;
}

.intro-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    border: 2px solid var(--accent-color);
    box-shadow: var(--shadow);
}

.article-content {
    font-size: 1.15em;
    line-height: 1.8;
    color: var(--text-color);
    font-family: 'Roboto', sans-serif;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    border: 1px solid var(--accent-color);
    margin: 20px auto;
    display: block;
}

.article-content a {
    color: var(--link-color);
    text-decoration: none;
    border-bottom: 1px dotted var(--link-color);
    transition: var(--transition);
}

.article-content a:visited {
    color: var(--link-visited);
}

.article-content a:hover {
    color: var(--link-hover);
    border-bottom: none;
    text-decoration: underline;
}

.category {
    font-size: 0.95em;
    color: var(--accent-color);
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid var(--accent-color);
    font-family: 'Roboto', sans-serif;
}

/* Слайдер галереи */
.gallery-slider {
    width: 70%;
    margin: 30px auto;
}

.gallery-slider .slick-slide img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    border: 1px solid var(--accent-color);
    box-shadow: var(--shadow);
}

.slick-dots li button:before {
    color: var(--primary-color);
}

.slick-prev, .slick-next {
    background-color: var(--dark-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.slick-prev:hover, .slick-next:hover {
    background-color: var(--primary-color);
}

/* Адаптивность */
@media (max-width: 768px) {
    .article {
        padding: 20px;
    }

    .article h1 {
        font-size: 2.2em;
    }

    .article h2 {
        font-size: 1.8em;
    }

    .gallery-slider {
        width: 100%;
    }
}

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

    .article h1 {
        font-size: 1.8em;
    }

    .article h2 {
        font-size: 1.5em;
    }

    .article-content {
        font-size: 1em;
    }
}