/* ==========================================================================
   Single post — in its own bubble
   ========================================================================== */
.sr-bubble-post {
  margin-bottom: var(--sr-gap);
  padding: var(--sr-gap);
}
.sr-single .sr-article-header { margin-bottom: var(--sr-gap); }
.sr-single .sr-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--sr-muted);
  margin-bottom: 12px;
}
.sr-single .sr-article-cat {
  color: var(--sr-muted);
  text-decoration: none;
}
.sr-single a.sr-article-cat:hover { color: var(--sr-accent); text-decoration: underline; }
.sr-single .sr-article-title { font-size: 1.75rem; margin: 0 0 12px; line-height: 1.3; }
.sr-single .sr-article-featured {
  border-radius: var(--sr-radius);
  overflow: hidden;
  margin-bottom: var(--sr-gap);
  background: var(--sr-card);
}
.sr-single .entry-content {
  font-size: 1.05rem;
  line-height: 1.65;
}
.sr-single .entry-content p { margin: 0 0 1em; }
.sr-single .entry-content strong { font-weight: 700; }
.sr-single .entry-content em { font-style: italic; }
.sr-single .entry-content u { text-decoration: underline; }
.sr-single .entry-content ul, .sr-single .entry-content ol { margin: 0 0 1em; padding-left: 1.5em; }
.sr-single .entry-content li { margin: 0.25em 0; }
.sr-single .entry-content h2 { font-size: 1.35rem; margin: 1.5em 0 0.5em; }
.sr-single .entry-content img { border-radius: var(--sr-radius); max-width: 100%; height: auto; }
.sr-single .entry-content {
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.sr-single .entry-content pre,
.sr-single .entry-content code { max-width: 100%; overflow-x: auto; }
/* На странице поста — картинки целиком, без обрезки; подпись под изображением */
.sr-single .entry-content .sr-figure,
.sr-single .entry-content figure {
  margin: 1.5em 0;
  overflow: visible;
  border-radius: var(--sr-radius);
  display: block;
  background: var(--sr-dark);
}
.sr-single .entry-content .sr-figure img,
.sr-single .entry-content figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--sr-radius);
  vertical-align: middle;
}
.sr-single .entry-content .sr-figure figcaption,
.sr-single .entry-content figure figcaption {
  margin-top: 8px;
  padding: 0 4px;
  font-size: 0.9rem;
  color: var(--sr-muted);
  text-align: center;
}

/* Video embeds (YouTube, Vimeo, etc.) */
.sr-single .entry-content .wp-block-embed,
.sr-single .entry-content .wp-embedded-content,
.sr-single .entry-content iframe {
  max-width: 100%;
}
.sr-single .entry-content .wp-block-embed {
  margin: 1.5em 0;
}
.sr-single .entry-content .wp-block-embed__wrapper,
.sr-single .entry-content .wp-has-aspect-ratio .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
}
.sr-single .entry-content iframe[src*="youtube"],
.sr-single .entry-content iframe[src*="youtu.be"],
.sr-single .entry-content iframe[src*="vimeo"],
.sr-single .entry-content iframe[src*="twitch"],
.sr-single .entry-content iframe[src*="rutube"],
.sr-single .entry-content iframe[src*="vk."] {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 200px;
  border: 0;
  border-radius: var(--sr-radius);
  background: var(--sr-dark);
}


