/* EED Guide Blocks. All styles are scoped to blocks or article content. */
:where(.eed-block, .eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) {
  --eed-ink: var(--text-primary, #0f1a2c);
  --eed-copy: var(--text-secondary, #4d5f79);
  --eed-muted: #526780;
  --eed-surface: var(--bg-card, #fff);
  --eed-soft: var(--bg-secondary, #edf3f8);
  --eed-border: var(--border, #d8e2ef);
  --eed-blue: var(--accent-blue, #2563eb);
  --eed-cyan: #0e7490;
  --eed-tint: rgba(37, 99, 235, 0.065);
  --eed-shadow: 0 16px 42px rgba(15, 26, 44, 0.065);
  --eed-radius: 22px;
  --eed-body-font: "DM Sans", system-ui, sans-serif;
  --eed-heading-font: "Playfair Display", Georgia, serif;
  --eed-mono-font: "JetBrains Mono", ui-monospace, monospace;
}

[data-theme="dark"] :where(.eed-block, .eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) {
  --eed-ink: var(--text-primary, #e8ecf4);
  --eed-copy: #b3bdd4;
  --eed-muted: #a4b2cc;
  --eed-surface: var(--bg-card, #141930);
  --eed-soft: var(--bg-secondary, #0f1424);
  --eed-border: var(--border, #293654);
  --eed-blue: var(--accent-blue, #60a5fa);
  --eed-cyan: var(--accent-cyan, #22d3ee);
  --eed-tint: rgba(59, 130, 246, 0.1);
  --eed-shadow: 0 16px 42px rgba(0, 0, 0, 0.19);
}

.eed-block,
.eed-block * {
  box-sizing: border-box;
}

.eed-block {
  min-width: 0;
  margin-block: 2rem;
  color: var(--eed-copy);
  font-family: var(--eed-body-font);
  font-size: 1rem;
  line-height: 1.75;
  overflow-wrap: break-word;
}

.eed-block :where(h2, h3, h4) {
  color: var(--eed-ink);
}

.eed-block :where(p, h2, h3, h4, figure) {
  margin-block: 0 1rem;
}

.eed-block :where(p, figure, ul, ol):last-child {
  margin-bottom: 0;
}

.eed-block a {
  color: var(--eed-blue);
  text-underline-offset: 0.22em;
}

.eed-block :where(a, button, input, summary):focus-visible,
:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .wp-block-details > summary:focus-visible,
:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .wp-block-table.is-style-comparison:focus-visible {
  outline: 3px solid var(--eed-blue);
  outline-offset: 4px;
}

.eed-block :where(img, video, iframe) {
  max-width: 100%;
}

.eed-block [hidden] {
  display: none !important;
}

/* Article introduction: a compact editorial cover. */
.eed-intro {
  position: relative;
  padding: clamp(25px, 5vw, 48px);
  overflow: hidden;
  border: 1px solid var(--eed-border);
  border-radius: var(--eed-radius);
  background:
    radial-gradient(ellipse at 100% 0, rgba(6, 182, 212, 0.12), transparent 64%),
    linear-gradient(130deg, var(--eed-surface), var(--eed-soft));
  box-shadow: var(--eed-shadow);
}

.eed-intro::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--eed-blue), var(--eed-cyan), transparent);
}

.eed-block .eed-intro__eyebrow,
.eed-block .eed-card__eyebrow {
  margin: 0 0 14px;
  color: var(--eed-cyan);
  font-family: var(--eed-mono-font);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eed-block .eed-intro__title {
  margin: 0 0 20px;
  max-width: 22ch;
  font-family: var(--eed-heading-font);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.eed-block .eed-intro__summary {
  max-width: 64ch;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.8;
}

.eed-block .eed-intro__reading-time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  padding: 6px 12px;
  border: 1px solid var(--eed-border);
  border-radius: 999px;
  background: var(--eed-surface);
  color: var(--eed-muted);
  font-family: var(--eed-mono-font);
  font-size: 11px;
  font-weight: 600;
}

.eed-intro__reading-time::before {
  content: "";
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--eed-cyan);
}

/* Callouts use an explicit label as well as a color for their meaning. */
.eed-callout {
  --eed-callout-accent: var(--eed-blue);
  padding: 24px 28px;
  border: 1px solid var(--eed-border);
  border-inline-start: 4px solid var(--eed-callout-accent);
  border-radius: 0 18px 18px 0;
  background: var(--eed-tint);
}

.eed-callout[data-tone="tip"] { --eed-callout-accent: var(--eed-cyan); }
.eed-callout[data-tone="warning"] { --eed-callout-accent: #b76a0a; background: rgba(217, 119, 6, 0.075); }
.eed-callout[data-tone="success"] { --eed-callout-accent: #07805e; background: rgba(5, 150, 105, 0.07); }
[data-theme="dark"] .eed-callout[data-tone="warning"] { --eed-callout-accent: #fbbf24; }
[data-theme="dark"] .eed-callout[data-tone="success"] { --eed-callout-accent: #34d399; }

.eed-block .eed-callout__title {
  margin: 0 0 8px;
  color: var(--eed-ink);
  font-size: 16px;
  font-weight: 800;
}

.eed-callout__content > :first-child,
.eed-step__body > :first-child,
.eed-tab > :first-child { margin-top: 0; }
.eed-callout__content > :last-child,
.eed-step__body > :last-child,
.eed-tab > :last-child { margin-bottom: 0; }
.eed-callout__content :where(ul, ol),
.eed-step__body :where(ul, ol),
.eed-tab :where(ul, ol) { padding-inline-start: 1.4em; }

/* Cards remain independently editable, with an explicit link target. */
.eed-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.eed-card-grid[data-columns="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.eed-card,
.eed-stat {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--eed-border);
  border-radius: var(--eed-radius);
  background: var(--eed-surface);
  box-shadow: var(--eed-shadow);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.eed-card {
  display: flex;
  flex-direction: column;
}

.eed-card:focus-within { border-color: var(--eed-blue); }
.eed-card .eed-card__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 0;
  border-radius: 0;
}

.eed-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 25px;
}

.eed-block .eed-card__title {
  margin: 0 0 12px;
  font-family: var(--eed-heading-font);
  font-size: clamp(22px, 2.6vw, 29px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.eed-block .eed-card__description {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.8;
}

.eed-block .eed-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-block: 6px;
  color: var(--eed-blue);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.eed-card__link::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: translate 0.2s ease;
}

.eed-card__link:hover { text-decoration: underline; }
.eed-card__link:hover::after { translate: 3px 0; }

/* Numbered walkthroughs. Counters are decorative; step titles carry meaning. */
.eed-steps__items { counter-reset: eed-step; }
.eed-block .eed-steps__title,
.eed-block .eed-checklist__title {
  margin: 0 0 24px;
  font-family: var(--eed-heading-font);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.eed-step {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 20px;
  margin: 0;
  padding-block: 0 30px;
  counter-increment: eed-step;
}

.eed-step:not(:last-child)::before {
  content: "";
  position: absolute;
  inset-inline-start: 22px;
  top: 54px;
  bottom: 8px;
  width: 1px;
  background: var(--eed-border);
}

.eed-step:last-child { padding-bottom: 0; }
.eed-step__number {
  display: grid;
  place-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--eed-border);
  border-radius: 14px;
  background: var(--eed-tint);
  color: var(--eed-blue);
  font-family: var(--eed-mono-font);
  font-size: 15px;
  font-weight: 700;
}

.eed-step__number::before { content: counter(eed-step, decimal-leading-zero); }
.eed-block .eed-step__title {
  margin: 7px 0 12px;
  font-family: var(--eed-body-font);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

/* Tabs are expanded sections until the accessible JS enhancement is ready. */
.eed-tabs {
  overflow: hidden;
  border: 1px solid var(--eed-border);
  border-radius: var(--eed-radius);
  background: var(--eed-surface);
  box-shadow: var(--eed-shadow);
}

.eed-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
  border-bottom: 1px solid var(--eed-border);
  background: var(--eed-soft);
}

.eed-tabs__button {
  flex: 1 1 auto;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--eed-copy);
  font: 700 14px/1.45 var(--eed-body-font);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.eed-tabs__button:hover { color: var(--eed-blue); background: var(--eed-tint); }
.eed-tabs__button[aria-selected="true"] {
  border-color: var(--eed-border);
  background: var(--eed-surface);
  color: var(--eed-blue);
  box-shadow: 0 3px 8px rgba(15, 26, 44, 0.045);
}

.eed-tab { margin: 0; padding: clamp(22px, 4vw, 32px); }
.eed-tab + .eed-tab { border-top: 1px solid var(--eed-border); }
.eed-tabs.is-enhanced .eed-tab { border-top: 0; }
.eed-tabs.is-enhanced .eed-tab:not([hidden]) { animation: eed-panel-in 0.25s ease both; }
.eed-tabs.is-enhanced .eed-tab__title { display: none; }
.eed-block .eed-tab__title { margin: 0 0 18px; font-size: 23px; line-height: 1.3; }

/* Checklists: large labels, native inputs, and visible progress. */
.eed-checklist {
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid var(--eed-border);
  border-radius: var(--eed-radius);
  background: var(--eed-surface);
}

.eed-checklist__items { display: grid; gap: 10px; }
.eed-checklist-item {
  margin: 0;
  border: 1px solid var(--eed-border);
  border-radius: 12px;
  background: var(--eed-soft);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.eed-checklist-item__label {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-height: 52px;
  padding: 14px 16px;
  cursor: pointer;
}

.eed-checklist-item .eed-checklist-item__input {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  accent-color: var(--eed-blue);
  cursor: pointer;
}

.eed-checklist-item__text { color: var(--eed-ink); font-size: 15px; line-height: 1.75; }
.eed-checklist-item.is-checked { border-color: var(--eed-blue); background: var(--eed-tint); }
.eed-checklist-item__input:checked + .eed-checklist-item__text {
  color: var(--eed-muted);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.eed-checklist .eed-checklist__progress {
  margin: -10px 0 18px;
  color: var(--eed-muted);
  font-family: var(--eed-mono-font);
  font-size: 12px;
}

/* Generated table of contents. Empty/no-JS state remains readable. */
.eed-toc {
  padding: 25px 28px;
  border: 1px solid var(--eed-border);
  border-radius: 18px;
  background: var(--eed-tint);
}

.eed-block .eed-toc__title {
  margin: 0 0 14px;
  color: var(--eed-ink);
  font-family: var(--eed-mono-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eed-toc .eed-toc__list { margin: 0; padding: 0; list-style: none; }
.eed-toc__item { margin: 0; }
.eed-toc__item a {
  display: block;
  padding: 8px 0;
  color: var(--eed-copy);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}

.eed-toc__item + .eed-toc__item { border-top: 1px solid var(--eed-border); }
.eed-toc__item.is-subheading { padding-inline-start: 20px; }
.eed-toc__item.is-subheading a { font-size: 14px; font-weight: 400; }
.eed-toc__item a:hover { color: var(--eed-blue); text-decoration: underline; }
.eed-block .eed-toc__fallback { margin: 0; color: var(--eed-muted); font-size: 14px; }

/* An intentionally quiet data card lets the number do the work. */
.eed-stat { padding: 26px; background: linear-gradient(140deg, var(--eed-tint), transparent), var(--eed-surface); }
.eed-block .eed-stat__value {
  margin: 0 0 12px;
  color: var(--eed-blue);
  font-family: var(--eed-mono-font);
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.065em;
}

.eed-block .eed-stat__label { margin: 0 0 8px; color: var(--eed-ink); font-size: 16px; font-weight: 700; }
.eed-block .eed-stat__detail { margin: 0; color: var(--eed-muted); font-size: 13px; line-height: 1.7; }

/* Core block styles: every element stays editable with native Gutenberg controls. */
:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .is-style-lead {
  color: var(--eed-copy);
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.8;
  letter-spacing: -0.015em;
}

:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .wp-block-image:is(.is-style-framed, .is-style-browser, .is-style-screenshot) {
  overflow: hidden;
  padding: 12px;
  border: 1px solid var(--eed-border);
  border-radius: var(--eed-radius);
  background: var(--eed-surface);
  box-shadow: var(--eed-shadow);
}

:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .wp-block-image:is(.is-style-framed, .is-style-browser, .is-style-screenshot) img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .wp-block-image.is-style-browser {
  position: relative;
  padding-top: 46px;
  background: linear-gradient(var(--eed-soft) 0 34px, var(--eed-surface) 34px);
}

:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .wp-block-image.is-style-browser::before {
  content: "";
  position: absolute;
  inset: 13px auto auto 17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ee7985;
  box-shadow: 15px 0 #d9aa4b, 30px 0 #5ea98a;
}

:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .wp-block-image.is-style-screenshot {
  padding: clamp(16px, 3vw, 28px);
  background: linear-gradient(125deg, var(--eed-tint), rgba(6, 182, 212, 0.08)), var(--eed-soft);
}

:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .wp-block-image.is-style-screenshot img {
  border: 1px solid var(--eed-border);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(15, 26, 44, 0.1);
}

:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) :is(.wp-block-video, .wp-block-embed).is-style-cinema {
  overflow: hidden;
  padding: 10px;
  border: 1px solid var(--eed-border);
  border-radius: var(--eed-radius);
  background: #0f1729;
  box-shadow: 0 20px 55px rgba(15, 26, 44, 0.16);
}

:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .is-style-cinema :is(video, iframe, .wp-block-embed__wrapper) {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 13px;
}

:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .is-style-cinema video { height: auto; }
:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) :is(.wp-block-video, .wp-block-embed).is-style-cinema figcaption { margin: 12px 8px 5px; color: #b3bdd4; }

:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .wp-block-gallery {
  --wp--style--unstable-gallery-gap: 16px;
  gap: 16px;
}

:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .wp-block-gallery .wp-block-image { overflow: hidden; border-radius: 14px; }

:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .wp-block-table.is-style-comparison {
  overflow-x: auto;
  border: 1px solid var(--eed-border);
  border-radius: 18px;
  background: var(--eed-surface);
  box-shadow: var(--eed-shadow);
}

:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .wp-block-table.is-style-comparison table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  border-radius: 0;
  color: var(--eed-copy);
  font-size: 15px;
  line-height: 1.7;
}

:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .wp-block-table.is-style-comparison :is(thead, tfoot) {
  border: 0;
}

:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .wp-block-table.is-style-comparison :is(th, td) {
  min-width: 130px;
  padding: 17px 20px;
  border: 0;
  border-bottom: 1px solid var(--eed-border);
  text-align: start;
  vertical-align: top;
}

:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .wp-block-table.is-style-comparison th { background: var(--eed-tint); color: var(--eed-ink); font-weight: 700; }
:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .is-style-comparison tbody tr:last-child td { border-bottom: 0; }
:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .is-style-comparison tbody tr:hover { background: var(--eed-tint); }
:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .is-style-comparison figcaption { padding: 0 18px 14px; }

:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .wp-block-details.is-style-faq {
  padding: 0 24px;
  border: 1px solid var(--eed-border);
  border-radius: 16px;
  background: var(--eed-surface);
  color: var(--eed-copy);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .wp-block-details.is-style-faq + .wp-block-details.is-style-faq { margin-top: -12px; }
:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .wp-block-details.is-style-faq > summary {
  position: relative;
  padding: 21px 30px 21px 0;
  color: var(--eed-ink);
  font-family: var(--eed-body-font);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  list-style: none;
  cursor: pointer;
}

:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .wp-block-details.is-style-faq > summary::-webkit-details-marker { display: none; }
:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .wp-block-details.is-style-faq > summary::after {
  content: "";
  position: absolute;
  inset-inline-end: 4px;
  top: 27px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--eed-blue);
  border-bottom: 2px solid var(--eed-blue);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .wp-block-details.is-style-faq[open] { padding-bottom: 22px; border-color: var(--eed-blue); box-shadow: var(--eed-shadow); }
:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .wp-block-details.is-style-faq[open] > summary::after { transform: rotate(225deg); }
:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .wp-block-details.is-style-faq > :last-child { margin-bottom: 0; }

:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .wp-block-quote.is-style-editorial {
  margin-block: 2.25rem;
  padding: 30px 0 30px 30px;
  border: 0;
  border-inline-start: 3px solid var(--eed-cyan);
  border-radius: 0;
  background: transparent;
  color: var(--eed-ink);
  font-family: var(--eed-heading-font);
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.5;
  letter-spacing: -0.02em;
}

:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .wp-block-quote.is-style-editorial cite {
  display: block;
  margin-top: 18px;
  color: var(--eed-muted);
  font-family: var(--eed-mono-font);
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0;
}

:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .wp-block-group.is-style-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid #27457a;
  border-radius: var(--eed-radius);
  background: radial-gradient(ellipse at 100% 0, rgba(6, 182, 212, 0.22), transparent 70%), #101d37;
  color: #d4def0;
  box-shadow: var(--eed-shadow);
}

:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .wp-block-group.is-style-cta :is(h2, h3, h4) { margin-top: 0; color: #fff; }
:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .is-style-cta > :last-child { margin-bottom: 0; }
:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .wp-block-group.is-style-cta a { color: #7dd3fc; }
:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .is-style-cta .wp-block-button__link { background: #fff; color: #14274a; font-weight: 700; }
:where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .is-style-cta .is-style-outline .wp-block-button__link { border-color: #93b4e8; background: transparent; color: #fff; }

@keyframes eed-panel-in {
  from { opacity: 0.55; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.eed-reveal.is-visible { animation: eed-reveal-in 0.5s ease both; }

@keyframes eed-reveal-in {
  from { opacity: 0.65; translate: 0 7px; }
  to { opacity: 1; translate: 0 0; }
}

@media (hover: hover) and (pointer: fine) {
  .eed-card:hover { transform: translateY(-4px); border-color: var(--eed-blue); box-shadow: 0 22px 48px rgba(37, 99, 235, 0.1); }
  .eed-checklist-item:hover { border-color: var(--eed-blue); }
}

@media (max-width: 760px) {
  .eed-card-grid[data-columns="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eed-card-grid[data-columns="3"] > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .eed-block { margin-block: 1.65rem; }
  .eed-card-grid, .eed-card-grid[data-columns="3"] { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .eed-card-grid > .eed-block, .eed-step, .eed-tab, .eed-checklist-item { margin-block: 0; }
  .eed-callout, .eed-toc { padding: 20px; }
  .eed-step { grid-template-columns: 38px minmax(0, 1fr); gap: 14px; }
  .eed-step__number { width: 38px; height: 38px; border-radius: 11px; font-size: 13px; }
  .eed-step:not(:last-child)::before { inset-inline-start: 18px; top: 46px; }
  .eed-block .eed-step__title { margin-top: 3px; font-size: 19px; }
  .eed-tabs__button { flex-basis: 40%; padding-inline: 10px; }
  .eed-card__body { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .eed-block, .eed-block *, .eed-block *::before, .eed-block *::after,
  :where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .wp-block-details.is-style-faq,
  :where(.eed-blog-content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .wp-block-details.is-style-faq > summary::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .eed-card:hover { transform: none; }
}

@media print {
  .eed-block { box-shadow: none; break-inside: avoid; }
  .eed-tabs__list { display: none; }
  .eed-tabs.is-enhanced .eed-tab[hidden] { display: block !important; }
  .eed-tabs.is-enhanced .eed-tab__title { display: block !important; }
  .eed-tabs.is-enhanced .eed-tab { animation: none; }
}
