/* Оформление блога youmoir.com/blog и /ru/blog в стиле сайта. Блог отдаёт общий blog-service itgrows,
   а эта таблица подключается только у площадок youmoir (site_profile.theme.css) — всё под body.themed. */
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap");
body.themed{
  --bg:#fff8f1; --bg2:#fff0e4; --ink:#372d46; --muted:#6e6482; --line:#f1e2d6;
  --pink:#ff78af; --pink-d:#d9467f; --yellow:#ffd246;
  background:var(--bg); color:var(--ink); font-family:Nunito, system-ui, -apple-system, "Segoe UI", sans-serif; font-size:18px;
}
body.themed a{color:var(--pink-d)}

/* шапка — как на сайте: логотип слева, меню и розовая кнопка справа */
body.themed .site-header{position:sticky;top:0;z-index:10;background:rgba(255,248,241,.92);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid transparent;padding:14px max(20px, calc((100vw - 1120px) / 2));display:flex;align-items:center;justify-content:space-between;gap:16px;box-shadow:none}
body.themed .site-header .header-logo{height:44px}
body.themed .site-nav{display:flex;align-items:center;gap:22px;flex-wrap:wrap;justify-content:flex-end}
body.themed .site-nav a{color:var(--muted);font-weight:700;font-size:16px;text-decoration:none}
body.themed .site-nav a:hover{color:var(--ink)}
body.themed .site-nav .site-cta{color:#fff;background:var(--pink-d);border-radius:999px;padding:11px 22px;font-weight:800;box-shadow:0 6px 0 -1px #a8305f, 0 14px 24px -12px rgba(217,70,127,.55);transition:transform .15s ease}
body.themed .site-nav .site-cta:hover{transform:translateY(-2px);color:#fff}

/* список статей */
body.themed .container{max-width:1120px}
body.themed .page-title{font-family:Nunito, sans-serif;font-weight:900;font-size:clamp(34px,5vw,52px);letter-spacing:-.01em;color:var(--ink)}
body.themed .page-subtitle{color:var(--muted);font-size:19px;line-height:1.55;max-width:62ch}
body.themed .posts-grid{gap:24px}
body.themed .post-card{background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:0 18px 40px -22px rgba(80,40,70,.35);transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s ease}
body.themed .post-card:hover{transform:translateY(-4px);box-shadow:0 26px 50px -24px rgba(80,40,70,.45)}
body.themed .post-card .card-date{color:var(--muted);font-weight:700;font-size:14px}
body.themed .post-card .card-title{font-family:Nunito, sans-serif;font-weight:900;font-size:22px;line-height:1.25;color:var(--ink)}
body.themed .post-card .card-excerpt{color:var(--muted);font-size:16px;line-height:1.55}
body.themed .post-card .card-read{color:var(--pink-d);font-weight:800}

/* статья */
body.themed .article-title{font-family:Nunito, sans-serif;font-weight:900;font-size:clamp(32px,4.6vw,48px);line-height:1.15;color:var(--ink);letter-spacing:-.01em}
body.themed .article-meta{color:var(--muted);font-weight:700}
body.themed .article-cover{border-radius:24px;box-shadow:0 18px 40px -22px rgba(80,40,70,.35)}
body.themed .article-content{color:#4a4058;font-size:19px;line-height:1.7}
body.themed .article-content h1,body.themed .article-content h2,body.themed .article-content h3,body.themed .article-content h4{font-family:Nunito, sans-serif;font-weight:900;color:var(--ink);letter-spacing:-.005em}
body.themed .article-content h2{font-size:30px;margin-top:2em}
body.themed .article-content h3{font-size:22px}
body.themed .article-content a{color:var(--pink-d);font-weight:700;text-decoration-thickness:2px;text-underline-offset:3px}
body.themed .article-content strong{color:var(--ink)}
body.themed .article-content blockquote{background:var(--bg2);border-left:4px solid var(--pink);border-radius:0 16px 16px 0;padding:14px 20px;color:var(--ink)}
body.themed .article-content table{border-radius:16px;overflow:hidden;border:1px solid var(--line);border-collapse:separate;border-spacing:0}
body.themed .article-content th{background:#ffe4f0;color:var(--ink)}
body.themed .article-content tbody tr:nth-child(even) td{background:#fffaf6}
body.themed .article-content img{border-radius:18px}
body.themed .back-link{color:var(--pink-d);font-weight:800}

/* подвал */
body.themed .site-foot{text-align:center;color:var(--muted);font-weight:700;font-size:15px;margin:48px 0 4px}
body.themed .powered{color:#9a90a6;font-size:13px;margin-top:4px}
body.themed .powered a{color:#9a90a6}

@media (max-width:760px){
  body.themed .site-header{padding:10px 16px}
  body.themed .site-header .header-logo{height:34px}
  body.themed .site-nav{gap:12px}
  body.themed .site-nav a:not(.site-cta){display:none}
  body.themed .site-nav .site-cta{padding:9px 16px;font-size:15px}
}
/* живой блог — как на сайте: пружинистые карточки, розовое свечение */
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  body.themed .header-logo,body.themed .logo img{transition:transform .5s cubic-bezier(.34,1.56,.64,1)}
  body.themed .logo:hover .header-logo,body.themed .logo:hover img{transform:rotate(-3deg) scale(1.06)}
  body.themed .site-nav .site-cta{transition:transform .35s cubic-bezier(.34,1.56,.64,1)}
  body.themed .site-nav .site-cta:hover{transform:translateY(-3px) scale(1.04)}
  body.themed .post-card{transition:transform .45s cubic-bezier(.34,1.56,.64,1),box-shadow .35s ease,border-color .3s}
  body.themed .post-card:hover{transform:translateY(-8px) rotate(-.4deg);box-shadow:0 30px 60px -30px rgba(217,70,127,.5);border-color:#f3c2d6}
  body.themed .post-card img{transition:transform 1.2s cubic-bezier(.2,.8,.2,1)}
  body.themed .post-card:hover img{transform:scale(1.06)}
  body.themed .post-card .card-read{display:inline-block;transition:transform .35s cubic-bezier(.34,1.56,.64,1)}
  body.themed .post-card:hover .card-read{transform:translateX(7px)}
  body.themed .article-cover{transition:transform .6s cubic-bezier(.34,1.56,.64,1)}
  body.themed .article-cover:hover{transform:scale(1.015) rotate(-.4deg)}
  body.themed .article-content a{transition:color .2s}
  body.themed .article-content a:hover{color:#e1508c}
}
