/* Блог Марии Абрикосовой — цвета и шрифты как на abrikosovalab.ru */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/manrope-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/manrope-lat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url(/fonts/playfair-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url(/fonts/playfair-lat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 600; font-display: swap;
  src: url(/fonts/playfair-italic-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 600; font-display: swap;
  src: url(/fonts/playfair-italic-lat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f5efe4;
  --bg2: #fbf7ef;
  --surface: #fffdf8;
  --text: #221e18;
  --ink2: #5b5246;
  --muted: #9c907e;
  --accent: #a87d28;
  --accent2: #c6a25a;
  --accent-soft: rgba(168, 125, 40, .09);
  --gold-soft: #ece0c6;
  --border: rgba(168, 125, 40, .30);
  --dark: #1b1712;
  --radius: 6px;
  --shadow: 0 18px 50px rgba(120, 95, 40, .12);
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 760px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; letter-spacing: .005em; color: var(--text); }

/* ---------- Шапка ---------- */
.site-header { border-bottom: 1px solid var(--border); background: var(--bg2); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand img { width: 32px; height: 32px; flex: none; filter: drop-shadow(0 2px 4px rgba(168, 125, 40, .28)); }
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.2; }
.header-link { font-size: 14px; color: var(--ink2); text-decoration: none; white-space: nowrap; }
.header-link:hover { color: var(--accent); }

/* ---------- Главная ---------- */
.hero { padding: 56px 0 36px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.hero h1 { font-size: 44px; font-weight: 700; margin-bottom: 14px; }
.hero h1 em { font-style: italic; font-weight: 600; color: var(--accent); }
.hero p { font-size: 18px; color: var(--ink2); max-width: 560px; }
.rule { height: 1px; background: linear-gradient(90deg, var(--accent2), transparent); margin: 0 0 32px; border: 0; }

.posts { list-style: none; display: grid; gap: 18px; padding-bottom: 64px; }
.post-card {
  display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 26px; text-decoration: none; color: var(--text); transition: box-shadow .2s, transform .2s;
}
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.post-card time { font-size: 13px; color: var(--muted); }
.post-card h2 { font-size: 23px; font-weight: 600; margin: 6px 0 8px; }
.post-card p { color: var(--ink2); font-size: 16px; }
.post-card .more { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--accent); }

.empty {
  background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius);
  padding: 40px 28px; text-align: center; color: var(--ink2); margin-bottom: 64px;
}
.empty img { width: 44px; height: 44px; margin: 0 auto 14px; }
.empty h2 { font-size: 24px; margin-bottom: 6px; }

/* ---------- Статья ---------- */
.crumbs { font-size: 14px; color: var(--muted); padding-top: 28px; }
.crumbs a { color: var(--ink2); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.article-head { padding: 22px 0 26px; border-bottom: 1px solid var(--border); margin-bottom: 30px; }
.article-head h1 { font-size: 40px; font-weight: 700; margin-bottom: 12px; }
.article-meta { font-size: 14px; color: var(--muted); }
.cover { border-radius: var(--radius); margin-bottom: 30px; box-shadow: var(--shadow); }

.prose { padding-bottom: 20px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 28px; font-weight: 600; margin-top: 1.8em; }
.prose h3 { font-size: 21px; font-weight: 600; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { border-left: 3px solid var(--accent2); padding: 4px 0 4px 18px; color: var(--ink2); font-style: italic; }
.prose .short-answer { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 18px 20px; }
.prose .short-answer strong:first-child { display: block; font-family: var(--font-display); font-size: 18px; margin-bottom: 4px; }

.cta {
  margin: 40px 0 64px; padding: 30px 28px; border-radius: var(--radius);
  background: var(--dark); color: #f5efe4; text-align: center;
}
.cta h2 { color: #f5efe4; font-size: 26px; margin-bottom: 8px; }
.cta p { color: #d9ccb3; margin-bottom: 20px; }
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 3px; background: var(--accent); color: #fff;
  font-weight: 600; font-size: 16px; text-decoration: none; transition: background .15s;
}
.btn:hover { background: var(--accent2); color: var(--dark); }

/* ---------- Подвал ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg2); font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 22px; padding-bottom: 22px; }
.site-footer a { color: var(--ink2); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

/* ---------- Телефон ---------- */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .site-header .wrap { padding-top: 14px; padding-bottom: 14px; }
  .brand img { width: 28px; height: 28px; }
  .brand span { font-size: 17px; }
  .header-link { display: none; }
  .hero { padding: 36px 0 26px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .post-card { padding: 20px; }
  .post-card h2 { font-size: 20px; }
  .article-head h1 { font-size: 29px; }
  .prose h2 { font-size: 23px; }
  .cta { padding: 26px 18px; }
  .btn { display: block; }
}
