/* Шаблон статьи ГОСТ — SEO-страница о стандарте */

.gost-article__header {
    margin-bottom: 1.5rem;
}

.gost-article__title {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.gost-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    font-size: 0.9rem;
    color: #555;
}

.gost-article__meta-item a {
    color: #0066cc;
    text-decoration: none;
}

.gost-article__meta-item a:hover {
    text-decoration: underline;
}

.gost-article__pdf {
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.gost-article__pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    background: #c9302c;
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
}

.gost-article__pdf-link:hover {
    background: #a52824;
    color: #fff !important;
    text-decoration: none;
}

.gost-article__content {
    margin-bottom: 2rem;
}

.gost-article__content h2 {
    font-size: 1.35rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.gost-article__content h3 {
    font-size: 1.15rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.gost-article__content p {
    margin-bottom: 1rem;
}

.gost-article__content ul,
.gost-article__content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.gost-article__content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.gost-article__content th,
.gost-article__content td {
    border: 1px solid #ddd;
    padding: 0.5rem 0.75rem;
    text-align: left;
}

.gost-article__content th {
    background: #f4ce47;
    font-weight: 600;
}

/* Сбрасываем глобальный стиль footer (чёрный фон из style.css) для футера статьи */
.gost-article__footer {
    padding-top: 1.5rem;
    padding-bottom: 0;
    margin-top: 0;
    border-top: 1px solid #e5e5e5;
    background: transparent !important;
    border-radius: 0;
}

.gost-article__back {
    display: inline-block;
    color: #0066cc;
    text-decoration: none;
    font-size: 0.95rem;
}

.gost-article__back:hover {
    text-decoration: underline;
    color: #004499;
}
