.entry-content {
  font-size: 1.0625rem;
  line-height: 1.7;
}

.entry-content > * + * {
  margin-top: 1.4em;
}

.entry-content > h2,
.entry-content > h3,
.entry-content > h4 {
  margin-top: 2.2em;
  margin-bottom: 0;
}

.entry-content > h2 + *,
.entry-content > h3 + *,
.entry-content > h4 + * {
  margin-top: 0.8em;
}

:is(.entry-content, .editor-styles-wrapper) h2 {
  font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem);
}

:is(.entry-content, .editor-styles-wrapper) h3 {
  font-size: clamp(1.35rem, 1rem + 1.1vw, 1.7rem);
}

:is(.entry-content, .editor-styles-wrapper) h4 {
  font-size: 1.15rem;
}

:is(.entry-content, .editor-styles-wrapper) p,
:is(.entry-content, .editor-styles-wrapper) li {
  color: var(--text-soft);
}

:is(.entry-content, .editor-styles-wrapper) a:not(.wp-block-button__link):not(.tag-pill) {
  color: var(--accent-soft);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent);
  text-underline-offset: 0.18em;
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}

:is(.entry-content, .editor-styles-wrapper) a:not(.wp-block-button__link):not(.tag-pill):hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

:is(.entry-content, .editor-styles-wrapper) strong {
  color: var(--text);
}

:is(.entry-content, .editor-styles-wrapper) ul,
:is(.entry-content, .editor-styles-wrapper) ol {
  padding-left: 1.5em;
}

:is(.entry-content, .editor-styles-wrapper) li > ul,
:is(.entry-content, .editor-styles-wrapper) li > ol {
  margin-left: 0;
  margin-top: 0.5em;
}

:is(.entry-content, .editor-styles-wrapper) li + li {
  margin-top: 0.45em;
}

:is(.entry-content, .editor-styles-wrapper) ul li::marker {
  color: var(--accent);
}

:is(.entry-content, .editor-styles-wrapper) ol li::marker {
  color: var(--accent);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

:is(.entry-content, .editor-styles-wrapper) code,
:is(.entry-content, .editor-styles-wrapper) kbd {
  font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
  font-size: 0.9em;
  padding: 0.1em 0.4em;
  border-radius: 6px;
  background: var(--surface-hover);
  border: 1px solid var(--line);
  color: var(--text);
}

:is(.entry-content, .editor-styles-wrapper) pre code {
  padding: 0;
  border: none;
  background: none;
  font-size: inherit;
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-image,
:is(.entry-content, .editor-styles-wrapper) .wp-block-gallery,
:is(.entry-content, .editor-styles-wrapper) .wp-block-media-text,
:is(.entry-content, .editor-styles-wrapper) .wp-block-embed,
:is(.entry-content, .editor-styles-wrapper) .wp-block-cover,
:is(.entry-content, .editor-styles-wrapper) .wp-block-table,
:is(.entry-content, .editor-styles-wrapper) .enlighter-default,
:is(.entry-content, .editor-styles-wrapper) .wp-block-code,
:is(.entry-content, .editor-styles-wrapper) .wp-block-preformatted {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-image img,
:is(.entry-content, .editor-styles-wrapper) .wp-block-media-text__media img,
:is(.entry-content, .editor-styles-wrapper) .wp-block-gallery img,
:is(.entry-content, .editor-styles-wrapper) .wp-block-cover {
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-media-text {
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  overflow: hidden;
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-media-text__media img {
  border-radius: 0;
  border: none;
  height: 100%;
  object-fit: cover;
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-media-text__content {
  padding: clamp(1.25rem, 3vw, 2rem);
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-media-text__content p {
  font-size: 1rem;
}

:is(.entry-content, .editor-styles-wrapper) figcaption,
:is(.entry-content, .editor-styles-wrapper) .wp-element-caption {
  margin-top: 0.7em;
  font-size: 0.88rem;
  color: var(--text-dim);
  text-align: left;
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-quote {
  position: relative;
  padding: 0.25rem 0 0.25rem 1.6rem;
  border-left: 3px solid var(--accent);
  margin-left: 0;
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-quote p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem);
  line-height: 1.3;
  color: var(--text);
  letter-spacing: -0.01em;
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-quote cite,
:is(.entry-content, .editor-styles-wrapper) .wp-block-pullquote cite {
  display: block;
  margin-top: 0.9em;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-pullquote {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: radial-gradient(90% 120% at 50% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%), var(--bg-elev);
  text-align: center;
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-pullquote blockquote {
  margin: 0;
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-pullquote p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  line-height: 1.2;
  color: var(--text);
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-verse {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  padding: 1.25rem 1.6rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  white-space: pre-wrap;
  overflow: auto;
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-separator {
  border: none;
  height: 1px;
  background: var(--line-strong);
  margin: 3rem auto;
  width: 100%;
  opacity: 1;
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-separator.is-style-wide {
  width: 100%;
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-separator.is-style-dots {
  background: none;
  height: auto;
  text-align: center;
  color: var(--accent);
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-code,
:is(.entry-content, .editor-styles-wrapper) .wp-block-preformatted {
  font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--bg-elev-2);
  border: 1px solid var(--line-strong);
  color: var(--text);
  overflow: auto;
  white-space: pre;
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-preformatted {
  white-space: pre-wrap;
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-table th,
:is(.entry-content, .editor-styles-wrapper) .wp-block-table td {
  padding: 0.7em 0.9em;
  border: 1px solid var(--line);
  text-align: left;
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-table th {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--surface);
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-table tbody tr:nth-child(even) {
  background: var(--surface);
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-details {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elev);
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-details[open] summary {
  margin-bottom: 0.8em;
  color: var(--accent-soft);
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-embed__wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elev-2);
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-embed.is-type-video .wp-block-embed__wrapper {
  aspect-ratio: 16 / 9;
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

:is(.entry-content, .editor-styles-wrapper) iframe[src*="youtube.com/embed"],
:is(.entry-content, .editor-styles-wrapper) iframe[src*="youtube-nocookie.com/embed"],
:is(.entry-content, .editor-styles-wrapper) iframe[src*="player.vimeo.com"] {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

:is(.entry-content, .editor-styles-wrapper) iframe[src*="store.steampowered.com/widget"] {
  display: block;
  width: 100%;
  height: 190px;
  margin: 2rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--bg-elev-2);
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.7em;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  color: #1a1206;
  box-shadow: 0 10px 26px -12px color-mix(in srgb, var(--accent) 65%, transparent);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-button__link:hover {
  transform: translateY(-2px);
}

:is(.entry-content, .editor-styles-wrapper) .is-style-outline .wp-block-button__link {
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  color: var(--text);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}

:is(.entry-content, .editor-styles-wrapper) .is-style-outline .wp-block-button__link:hover {
  border-color: var(--accent);
  color: var(--accent-soft);
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-columns {
  gap: clamp(1.25rem, 3vw, 2rem);
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-cover {
  min-height: 320px;
  overflow: hidden;
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-cover .wp-block-cover__inner-container p {
  color: var(--text);
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-gallery {
  gap: 0.75rem;
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-spacer {
  margin: 0;
}

:is(.entry-content, .editor-styles-wrapper) .enlighter-default {
  font-size: 0.9rem;
  line-height: 1.6;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}

:is(.entry-content, .editor-styles-wrapper) .enlighter-default,
:is(.entry-content, .editor-styles-wrapper) .enlighter-default div.enlighter > div,
:is(.entry-content, .editor-styles-wrapper) .enlighter-t-dracula,
:is(.entry-content, .editor-styles-wrapper) .enlighter-t-dracula div.enlighter > div {
  background-color: var(--bg-elev-2);
}

:is(.entry-content, .editor-styles-wrapper) .enlighter-default div.enlighter > div {
  padding: 0.1rem 1.1rem;
}

:is(.entry-content, .editor-styles-wrapper) .enlighter-default div.enlighter > div:first-child {
  padding-top: 1rem;
}

:is(.entry-content, .editor-styles-wrapper) .enlighter-default div.enlighter > div:last-child {
  padding-bottom: 1rem;
}

:is(.entry-content, .editor-styles-wrapper) .enlighter-default div.enlighter > div.enlighter-special,
:is(.entry-content, .editor-styles-wrapper) .enlighter-t-dracula div.enlighter > div.enlighter-special {
  background-color: var(--surface-hover);
}

:is(.entry-content, .editor-styles-wrapper) .enlighter-default .enlighter-toolbar .enlighter-btn,
:is(.entry-content, .editor-styles-wrapper) .enlighter-t-dracula .enlighter-btn {
  font-family: var(--font-body);
  background: var(--surface-hover);
  color: var(--text-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

:is(.entry-content, .editor-styles-wrapper) .enlighter-default .enlighter-toolbar .enlighter-btn:hover,
:is(.entry-content, .editor-styles-wrapper) .enlighter-t-dracula .enlighter-btn:hover {
  color: var(--accent-soft);
  border-color: var(--accent);
}

:is(.entry-content, .editor-styles-wrapper) .enlighter-default .enlighter-title {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
  padding: 0.6rem 1.1rem;
}

:is(.entry-content, .editor-styles-wrapper) .enlighter-default .enlighter-raw {
  background: var(--bg-elev-2);
  color: var(--text);
  padding: 1rem 1.1rem;
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-image.alignleft,
:is(.entry-content, .editor-styles-wrapper) .wp-block-image.alignright {
  max-width: 48%;
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-image.aligncenter {
  text-align: center;
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-image.aligncenter img {
  margin-inline: auto;
}

:is(.entry-content, .editor-styles-wrapper) .has-text-align-center {
  text-align: center;
}
