/* ============================================= Снятие порчи — основной CSS ============================================= */ :root { --bg: #0f0d0d; --bg-card: #1c1818; --bg-nav: #140f0f; --accent: #c4924a; --accent-dark: #9b6b35; --text: #e8e0d5; --text-muted: #8a8080; --border: #2a2424; --radius: 8px; --max-w: 860px; } *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html { font-size: 18px; scroll-behavior: smooth; } body { background: var(--bg); color: var(--text); font-family: Georgia, 'Times New Roman', serif; line-height: 1.75; } img { max-width: 100%; height: auto; display: block; } a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; } /* ── Навигация ── */ .site-nav { background: var(--bg-nav); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; } .site-nav .inner { max-width: var(--max-w); margin: 0 auto; padding: 0 1.2rem; display: flex; align-items: center; justify-content: space-between; height: 56px; } .site-nav .logo { font-size: 1rem; font-weight: bold; color: var(--accent); letter-spacing: .03em; text-decoration: none; } .site-nav ul { list-style: none; display: flex; gap: 1.5rem; } .site-nav ul a { font-size: .9rem; color: var(--text-muted); font-family: Arial, sans-serif; } .site-nav ul a:hover { color: var(--text); text-decoration: none; } /* ── Обёртка ── */ .page-wrap { max-width: var(--max-w); margin: 0 auto; padding: 2.5rem 1.2rem 4rem; } /* ── Hero (главная) ── */ .hero { text-align: center; padding: 3.5rem 1rem 2.5rem; border-bottom: 1px solid var(--border); margin-bottom: 2.5rem; } .hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--accent); margin-bottom: .8rem; line-height: 1.3; } .hero p { font-size: 1rem; color: var(--text-muted); max-width: 560px; margin: 0 auto 1.6rem; font-family: Arial, sans-serif; } .btn { display: inline-block; background: var(--accent); color: #0f0d0d; font-family: Arial, sans-serif; font-size: .9rem; font-weight: bold; padding: .65rem 1.6rem; border-radius: var(--radius); transition: background .2s; text-decoration: none; } .btn:hover { background: var(--accent-dark); text-decoration: none; color: #fff; } /* ── Секции ── */ .section-title { font-size: 1.1rem; font-family: Arial, sans-serif; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 1.2rem; } /* ── Карточки статей ── */ .articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; margin-bottom: 2rem; } .card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, transform .2s; } .card:hover { border-color: var(--accent-dark); transform: translateY(-2px); } .card-img { width: 100%; height: 180px; object-fit: cover; object-position: center; } .card-img-placeholder { width: 100%; height: 180px; background: linear-gradient(135deg, #1e1618 0%, #2a1f1f 100%); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; } .card-body { padding: 1rem 1.1rem 1.2rem; } .card-body h3 { font-size: 1rem; color: var(--text); margin-bottom: .4rem; line-height: 1.4; } .card-body p { font-size: .85rem; color: var(--text-muted); font-family: Arial, sans-serif; line-height: 1.5; margin-bottom: .8rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } .card-link { font-size: .82rem; font-family: Arial, sans-serif; color: var(--accent); } /* ── Telegram CTA ── */ .tg-block { background: var(--bg-card); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 1.4rem 1.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; } .tg-block p { font-family: Arial, sans-serif; font-size: .95rem; color: var(--text-muted); } .tg-block strong { color: var(--text); } /* ── Статья ── */ .article-header { padding: 2rem 0 1.5rem; border-bottom: 1px solid var(--border); margin-bottom: 2rem; } .article-header h1 { font-size: clamp(1.4rem, 3.5vw, 2rem); color: var(--accent); line-height: 1.35; margin-bottom: .6rem; } .article-meta { font-family: Arial, sans-serif; font-size: .82rem; color: var(--text-muted); } .article-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); margin-bottom: 2rem; } .article-body h2 { font-size: 1.2rem; color: var(--accent); margin: 2rem 0 .7rem; } .article-body p { margin-bottom: 1.1rem; } .article-body strong { color: #e8c87a; } .article-body em { color: #c9b8aa; font-style: italic; } .article-body ul { padding-left: 1.3rem; margin-bottom: 1.1rem; } .article-body ul li { margin-bottom: .4rem; } /* ── CTA в статье ── */ .help-block { background: var(--bg-card); border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 1.6rem; margin: 2.5rem 0; text-align: center; } .help-block h3 { font-size: 1.05rem; color: var(--accent); margin-bottom: .5rem; } .help-block p { font-family: Arial, sans-serif; font-size: .9rem; color: var(--text-muted); margin-bottom: 1rem; } /* ── Breadcrumb ── */ .breadcrumb { font-family: Arial, sans-serif; font-size: .8rem; color: var(--text-muted); margin-bottom: 1.5rem; } .breadcrumb a { color: var(--text-muted); } .breadcrumb a:hover { color: var(--accent); } /* ── Footer ── */ .site-footer { border-top: 1px solid var(--border); padding: 1.5rem 1.2rem; text-align: center; font-family: Arial, sans-serif; font-size: .78rem; color: var(--text-muted); } /* ── Адаптивность ── */ @media (max-width: 600px) { html { font-size: 16px; } .articles-grid { grid-template-columns: 1fr; } .tg-block { flex-direction: column; align-items: flex-start; } .site-nav ul { gap: 1rem; } }