.main {
    flex: 1;
    margin: 80px auto;
    max-width: 900px;
    width: calc(100% - 40px);
    background-color: white;
    padding: 60px 50px;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Заголовок */
.document-single h1 {
    text-align: center;
    font-size: 44px;
    margin-bottom: 40px;
    color: #2c2c2c;
    letter-spacing: 1px;
}

/* Карточка */
.document-card-single {
    border: 1px solid #d9e5eb;
    border-radius: 16px;
    padding: 30px;
    background: linear-gradient(180deg, #f8fbfc 0%, #eef4f7 100%);
}

/* Верх */
.doc-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.doc-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background-color: #466672;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-icon .material-icons {
    color: white;
    font-size: 32px;
}

.doc-header h2 {
    margin: 0;
    font-size: 28px;
    color: #2f3e46;
}

.doc-meta {
    margin: 5px 0 0 0;
    font-size: 16px;
    color: #777;
}

/* Описание */
.doc-description {
    font-size: 18px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 30px;
}

/* Кнопки */
.doc-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
}

/* Основная кнопка */
.btn-primary {
    background-color: #466672;
    color: white;
}

.btn-primary:hover {
    background-color: #2c4e5b;
}

/* Вторая кнопка */
.btn-secondary {
    border: 1px solid #466672;
    color: #466672;
}

.btn-secondary:hover {
    background-color: #466672;
    color: white;
}

/* Адаптив */
@media (max-width: 768px) {
    .main {
        padding: 40px 20px;
        margin: 50px auto;
    }

    .document-single h1 {
        font-size: 32px;
    }

    .doc-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .doc-header h2 {
        font-size: 22px;
    }

    .doc-description {
        font-size: 16px;
    }
}