body.single-post {
  background: #fff8ea;
  color: #2b1b10;
}

body.single-post .wp-site-blocks {
  background: #fff8ea;
}

body.single-post main#wp--skip-link--target {
  margin-top: 0 !important;
  padding: 26px 0 64px;
  background:
    radial-gradient(circle at 12% 4%, rgba(220, 188, 136, .20), transparent 34%),
    radial-gradient(circle at 90% 12%, rgba(122, 79, 43, .08), transparent 30%),
    #fff8ea;
}

body.single-post main#wp--skip-link--target > .wp-block-group.alignfull {
  width: 100%;
  max-width: 1180px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 28px 20px 0 !important;
  box-sizing: border-box;
}

body.single-post .wp-block-post-title {
  max-width: 980px;
  margin: 0 auto !important;
  padding: 30px 34px 22px;
  border: 1px solid #e8d8bf;
  border-radius: 30px 30px 18px 18px;
  background: linear-gradient(180deg, #fffaf1 0%, #fff4df 100%);
  color: #2b1b10;
  font-size: clamp(34px, 5vw, 62px);
  line-height: .98;
  letter-spacing: -0.055em;
  font-weight: 850;
  text-align: left;
  box-shadow: 0 18px 44px rgba(83, 50, 24, .08);
  box-sizing: border-box;
}

body.single-post .wp-block-post-title::before {
  content: "Блог ЧАЙ ШОП";
  display: inline-flex;
  width: fit-content;
  margin: 0 0 16px;
  padding: 7px 13px;
  border: 1px solid #e4cfad;
  border-radius: 999px;
  background: #fff8ea;
  color: #7a4f2b;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .02em;
}

body.single-post .wp-block-post-title + .wp-block-group {
  max-width: 980px;
  margin: -1px auto 0 !important;
  padding: 13px 34px 22px;
  border: 1px solid #e8d8bf;
  border-top: 0;
  border-radius: 0 0 30px 30px;
  background: #fffaf1;
  color: #7c6b5b;
  font-size: 14px !important;
  line-height: 1.35;
  box-shadow: 0 18px 44px rgba(83, 50, 24, .06);
  box-sizing: border-box;
}

body.single-post .wp-block-post-title + .wp-block-group a {
  color: #7a4f2b;
  font-weight: 850;
  text-decoration: none;
  border-bottom: 1px solid rgba(122, 79, 43, .28);
}

body.single-post .entry-content.wp-block-post-content {
  width: min(100%, 980px);
  max-width: 980px;
  margin: 28px auto 0 !important;
  padding: clamp(22px, 4vw, 48px) !important;
  border: 1px solid #e8d8bf;
  border-radius: 30px;
  background: #fffaf1;
  box-shadow: 0 18px 48px rgba(83, 50, 24, .07);
  box-sizing: border-box;
  overflow: hidden;
}

body.single-post .entry-content.wp-block-post-content > p:first-child:empty {
  display: none;
}

body.single-post .entry-content.wp-block-post-content :where(p, li) {
  color: #3a2618;
  font-size: 18px;
  line-height: 1.78;
}

body.single-post .entry-content.wp-block-post-content :where(p, ul, ol, blockquote) {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

body.single-post .entry-content.wp-block-post-content p {
  margin-top: 0;
  margin-bottom: 18px;
}

body.single-post .entry-content.wp-block-post-content a {
  color: #7a4f2b;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.single-post .entry-content.wp-block-post-content :where(h1, h2, h3, h4) {
  max-width: 860px;
  margin: 34px auto 16px !important;
  color: #2b1b10;
  letter-spacing: -0.035em;
  font-weight: 900;
}

body.single-post .entry-content.wp-block-post-content h1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.06;
}

body.single-post .entry-content.wp-block-post-content h2 {
  position: relative;
  padding-top: 16px;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.08;
}

body.single-post .entry-content.wp-block-post-content h2::before {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 0 0 16px;
  border-radius: 999px;
  background: #d8bd91;
}

body.single-post .entry-content.wp-block-post-content h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.16;
}

body.single-post .entry-content.wp-block-post-content ul,
body.single-post .entry-content.wp-block-post-content ol {
  padding-left: 1.35em;
}

body.single-post .entry-content.wp-block-post-content li {
  margin: 7px 0;
}

body.single-post .entry-content.wp-block-post-content li::marker {
  color: #7a4f2b;
  font-weight: 900;
}

body.single-post .entry-content.wp-block-post-content blockquote {
  margin-top: 26px;
  margin-bottom: 26px;
  padding: 18px 22px;
  border-left: 5px solid #7a4f2b;
  border-radius: 18px;
  background: #fff4df;
  color: #2b1b10;
}

body.single-post .entry-content.wp-block-post-content figure,
body.single-post .entry-content.wp-block-post-content .wp-block-image,
body.single-post .entry-content.wp-block-post-content .wp-block-table,
body.single-post .entry-content.wp-block-post-content table {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

body.single-post .entry-content.wp-block-post-content figure {
  margin-top: 24px;
  margin-bottom: 24px;
}

body.single-post .entry-content.wp-block-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(83, 50, 24, .08);
}

body.single-post .entry-content.wp-block-post-content figcaption {
  margin-top: 10px;
  color: #7c6b5b;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

body.single-post .entry-content.wp-block-post-content .wp-block-table,
body.single-post .entry-content.wp-block-post-content div:has(> table) {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

body.single-post .entry-content.wp-block-post-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid #e8d8bf;
  border-radius: 18px;
  background: #fff8ea;
  font-size: 15px;
  line-height: 1.45;
}

body.single-post .entry-content.wp-block-post-content th,
body.single-post .entry-content.wp-block-post-content td {
  padding: 12px 14px;
  border-bottom: 1px solid #ead8bd;
  color: #2b1b10;
  text-align: left;
  vertical-align: top;
}

body.single-post .entry-content.wp-block-post-content th {
  background: #7a4f2b;
  color: #fffaf0;
  font-weight: 900;
}

body.single-post .entry-content.wp-block-post-content tr:last-child td {
  border-bottom: 0;
}

body.single-post .entry-content.wp-block-post-content hr {
  width: min(100%, 820px);
  height: 1px;
  margin: 34px auto;
  border: 0;
  background: #ead8bd;
}

/* Аккуратно приводим встроенные HTML/Tailwind-похожие блоки статей к стилю сайта. */
body.single-post .entry-content.wp-block-post-content .max-w-6xl,
body.single-post .entry-content.wp-block-post-content .mx-auto {
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.single-post .entry-content.wp-block-post-content .px-4,
body.single-post .entry-content.wp-block-post-content .py-8 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.single-post .entry-content.wp-block-post-content .text-center {
  text-align: center;
}

body.single-post .entry-content.wp-block-post-content header.text-center {
  max-width: 860px;
  margin: 0 auto 32px;
  padding: 24px;
  border: 1px solid #ead8bd;
  border-radius: 24px;
  background: #fff4df;
}

body.single-post .entry-content.wp-block-post-content .inline-block {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

body.single-post .entry-content.wp-block-post-content [class*="rounded"] {
  border-radius: 18px;
}

body.single-post .entry-content.wp-block-post-content [class*="bg-"] {
  border: 1px solid #ead8bd;
  background: #fff8ea;
}

body.single-post .entry-content.wp-block-post-content .bg-emerald-100,
body.single-post .entry-content.wp-block-post-content .bg-emerald-50 {
  background: #eef6e6;
  border-color: #d6e6c6;
}

body.single-post .entry-content.wp-block-post-content .bg-amber-50,
body.single-post .entry-content.wp-block-post-content .bg-yellow-50 {
  background: #fff4df;
}

body.single-post .entry-content.wp-block-post-content .bg-white {
  background: #fffaf1;
}

body.single-post .entry-content.wp-block-post-content .text-emerald-600,
body.single-post .entry-content.wp-block-post-content .text-emerald-700,
body.single-post .entry-content.wp-block-post-content .text-emerald-800 {
  color: #5f7f38;
}

body.single-post .entry-content.wp-block-post-content .text-gray-900,
body.single-post .entry-content.wp-block-post-content .text-gray-800 {
  color: #2b1b10;
}

body.single-post .entry-content.wp-block-post-content .text-gray-700,
body.single-post .entry-content.wp-block-post-content .text-gray-600 {
  color: #6f5b49;
}

body.single-post .entry-content.wp-block-post-content .font-bold,
body.single-post .entry-content.wp-block-post-content .font-semibold {
  font-weight: 900;
}

body.single-post .entry-content.wp-block-post-content .grid {
  display: grid;
  gap: 18px;
  max-width: 900px;
  margin: 22px auto;
}

body.single-post .entry-content.wp-block-post-content .grid > * {
  min-width: 0;
  padding: 18px;
  border: 1px solid #ead8bd;
  border-radius: 20px;
  background: #fff8ea;
  box-shadow: 0 10px 28px rgba(83, 50, 24, .05);
}

@media (min-width: 782px) {
  body.single-post .entry-content.wp-block-post-content .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.single-post .entry-content.wp-block-post-content .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Блок "Больше записей" внизу статьи. */
body.single-post main#wp--skip-link--target > .wp-block-group.alignfull > .wp-block-group.alignwide {
  max-width: 980px;
  margin: 34px auto 0 !important;
  padding: 24px !important;
  border: 1px solid #e8d8bf;
  border-radius: 26px;
  background: #fffaf1;
  box-shadow: 0 14px 36px rgba(83, 50, 24, .06);
  box-sizing: border-box;
}

body.single-post main#wp--skip-link--target > .wp-block-group.alignfull > .wp-block-group.alignwide > .wp-block-heading {
  margin: 0 0 14px !important;
  color: #7a4f2b;
  font-size: 13px !important;
  line-height: 1.2;
  letter-spacing: .12em !important;
  text-transform: uppercase;
}

body.single-post main#wp--skip-link--target > .wp-block-group.alignfull > .wp-block-group.alignwide .wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none;
}

body.single-post main#wp--skip-link--target > .wp-block-group.alignfull > .wp-block-group.alignwide .wp-block-post {
  margin: 0 !important;
  padding: 0 !important;
}

body.single-post main#wp--skip-link--target > .wp-block-group.alignfull > .wp-block-group.alignwide .wp-block-post > .wp-block-group {
  height: 100%;
  min-height: 96px;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between !important;
  gap: 10px;
  padding: 16px !important;
  border: 1px solid #ead8bd !important;
  border-radius: 18px;
  background: #fff8ea;
  box-sizing: border-box;
}

body.single-post main#wp--skip-link--target > .wp-block-group.alignfull > .wp-block-group.alignwide .wp-block-post-title {
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 17px !important;
  line-height: 1.25;
  letter-spacing: -.02em;
}

body.single-post main#wp--skip-link--target > .wp-block-group.alignfull > .wp-block-group.alignwide .wp-block-post-title::before {
  display: none;
}

body.single-post main#wp--skip-link--target > .wp-block-group.alignfull > .wp-block-group.alignwide .wp-block-post-title a {
  color: #2b1b10;
  text-decoration: none;
}

body.single-post main#wp--skip-link--target > .wp-block-group.alignfull > .wp-block-group.alignwide .wp-block-post-title a:hover,
body.single-post main#wp--skip-link--target > .wp-block-group.alignfull > .wp-block-group.alignwide .wp-block-post-title a:focus-visible {
  color: #7a4f2b;
  outline: none;
}

body.single-post main#wp--skip-link--target > .wp-block-group.alignfull > .wp-block-group.alignwide .wp-block-post-date {
  margin: 0 !important;
  color: #7c6b5b;
  font-size: 12px;
  text-align: left !important;
}

body.single-post main#wp--skip-link--target > .wp-block-group.alignfull > .wp-block-group.alignwide .wp-block-post-date a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 760px) {
  body.single-post main#wp--skip-link--target {
    padding-top: 18px;
    padding-bottom: 42px;
  }

  body.single-post main#wp--skip-link--target > .wp-block-group.alignfull {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body.single-post .wp-block-post-title {
    padding: 22px 18px 17px;
    border-radius: 22px 22px 14px 14px;
    font-size: 32px;
    line-height: 1.04;
    letter-spacing: -0.045em;
  }

  body.single-post .wp-block-post-title::before {
    margin-bottom: 13px;
    font-size: 12px;
  }

  body.single-post .wp-block-post-title + .wp-block-group {
    padding: 12px 18px 18px;
    border-radius: 0 0 22px 22px;
    font-size: 13px !important;
    gap: 6px;
  }

  body.single-post .entry-content.wp-block-post-content {
    margin-top: 18px !important;
    padding: 20px 15px !important;
    border-radius: 22px;
  }

  body.single-post .entry-content.wp-block-post-content :where(p, li) {
    font-size: 16px;
    line-height: 1.68;
  }

  body.single-post .entry-content.wp-block-post-content h1 {
    font-size: 28px;
  }

  body.single-post .entry-content.wp-block-post-content h2 {
    font-size: 25px;
  }

  body.single-post .entry-content.wp-block-post-content h3 {
    font-size: 21px;
  }

  body.single-post .entry-content.wp-block-post-content header.text-center {
    padding: 16px;
    border-radius: 18px;
  }

  body.single-post .entry-content.wp-block-post-content table {
    min-width: 620px;
    font-size: 14px;
  }

  body.single-post main#wp--skip-link--target > .wp-block-group.alignfull > .wp-block-group.alignwide {
    margin-top: 22px !important;
    padding: 16px !important;
    border-radius: 22px;
  }

  body.single-post main#wp--skip-link--target > .wp-block-group.alignfull > .wp-block-group.alignwide .wp-block-post-template {
    grid-template-columns: 1fr;
  }

  body.single-post main#wp--skip-link--target > .wp-block-group.alignfull > .wp-block-group.alignwide .wp-block-post > .wp-block-group {
    min-height: auto;
    padding: 14px !important;
  }
}


/* Native Gutenberg infographic sections and local chart component. */
body.single-post .chai-native-section{margin-block:clamp(1.5rem,4vw,3.5rem);padding:clamp(1.1rem,3vw,2rem);border:1px solid rgba(122,79,43,.16);border-radius:24px;background:#fffaf1;box-shadow:0 14px 38px rgba(84,49,21,.08)}
body.single-post .chai-native-section--hero{background:linear-gradient(135deg,#fff8ea,#f6ead7)}
body.single-post .chai-native-card{height:100%;padding:1rem;border-radius:18px;background:#fff;border:1px solid rgba(122,79,43,.12)}
body.single-post .chai-native-cards{align-items:stretch;gap:1rem}
body.single-post .chai-native-kicker{font-weight:700;letter-spacing:.04em;color:#7a4f2b}
body.single-post .chai-native-chart{margin:1.5rem 0;padding:1rem;border-radius:20px;background:#fff;border:1px solid rgba(122,79,43,.14)}
body.single-post .chai-native-chart__caption{font-weight:700;margin-bottom:1rem;color:#2b1b10}
body.single-post .chai-native-chart__rows{display:grid;gap:.9rem}.chai-native-chart__row{display:grid;grid-template-columns:minmax(110px,1fr) 2.2fr;gap:1rem;align-items:center}
body.single-post .chai-native-chart__label{font-size:.92rem;font-weight:600}.chai-native-chart__series{display:grid;gap:.45rem}.chai-native-chart__bar{position:relative;min-height:30px;border-radius:999px;background:#f1e6d5;overflow:hidden;outline:none}.chai-native-chart__bar:focus-visible{box-shadow:0 0 0 3px rgba(122,79,43,.28)}
body.single-post .chai-native-chart__bar-fill{position:absolute;inset:0 auto 0 0;width:var(--chai-chart-value);background:linear-gradient(90deg,#7a4f2b,#b7793f);opacity:calc(.98 - (var(--series-index,0) * .08))}.chai-native-chart__value{position:relative;z-index:1;display:block;padding:.35rem .7rem;font-size:.8rem;font-weight:700;color:#25170e;text-shadow:0 1px rgba(255,255,255,.75)}
body.single-post .chai-native-chart__bar[data-series="2"] .chai-native-chart__bar-fill{background:linear-gradient(90deg,#557a46,#8aa96f)}body.single-post .chai-native-chart__bar[data-series="3"] .chai-native-chart__bar-fill{background:linear-gradient(90deg,#8b5a83,#b982ad)}
body.single-post .chai-native-chart.is-enhanced .chai-native-chart__table{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:700px){body.single-post .chai-native-chart__row{grid-template-columns:1fr;gap:.35rem}body.single-post .chai-native-section{border-radius:18px}}
