/* ============================================================
   styles.css — стили КОНТЕНТА (внутри статей, страниц, блоков
   .text). Не должны меняться при переключении темы.
   Обвязка (header/footer/hero/контейнеры) — в template_styles.css.
   ============================================================ */

.text h1, .text h2, .text h3 {
    margin-top: 1.6em;
    margin-bottom: 0.6em;
    line-height: 1.25;
    font-weight: 700;
}
.text h1 { font-size: 32px; }
.text h2 { font-size: 24px; }
.text h3 { font-size: 20px; }

.text p { margin: 0 0 1em; }
.text ul, .text ol { padding-left: 1.4em; margin: 0 0 1em; }
.text li { margin-bottom: 0.4em; }
.text blockquote {
    border-left: 3px solid var(--c-accent);
    padding: 8px 16px;
    margin: 1em 0;
    color: var(--c-muted);
    background: var(--c-soft);
}
.text img { margin: 1em 0; }
.text table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}
.text th, .text td {
    padding: 10px 12px;
    border: 1px solid var(--c-line);
    text-align: left;
}
.text th { background: var(--c-soft); font-weight: 600; }

/* Карточки (универсальные — для услуг/проектов/новостей) */
.card {
    background: var(--c-bg);
    border: 1px solid var(--c-line);
    padding: 24px;
    transition: box-shadow .2s;
}
.card:hover { box-shadow: 0 8px 24px rgba(15, 23, 42, .06); }
.card__title { font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.card__lead  { color: var(--c-muted); margin: 0 0 16px; }
.card__more  { font-weight: 600; }

/* FAQ */
.faq-item {
    border-bottom: 1px solid var(--c-line);
    padding: 20px 0;
}
.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
    list-style: none;
    display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 24px; color: var(--c-muted); }
.faq-item[open] summary::after { content: '−'; }
.faq-item__body { margin-top: 12px; color: var(--c-muted); }
