/* Presentation only. Scoped to generated editorial content; native application UI stays independent. */
#auvatrix-seo-details,
main.editorial[data-seo-initial] {
  box-sizing: border-box;
  color: var(--ink, #18243f);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  text-align: left;
  overflow-wrap: anywhere;
}
main.editorial[data-seo-initial] {
  width: min(100%, 1184px);
  margin-inline: auto;
  padding: 40px 32px 64px;
}
#auvatrix-seo-details {
  width: min(calc(100% - 64px), 1120px);
  max-width: 1120px;
  margin: 40px auto 56px;
  padding: 32px;
  border: 1px solid var(--border, #e3e7f0);
  border-radius: 20px;
  background: var(--white, #fff);
  box-shadow: 0 8px 28px rgb(24 36 63 / 4%);
}
main.editorial[data-seo-initial] #auvatrix-seo-details {
  width: 100%;
  margin: 32px 0 0;
}
:is(#auvatrix-seo-details, main.editorial[data-seo-initial]) h1 {
  max-width: 24ch;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -.035em;
  margin: 0 0 24px;
}
:is(#auvatrix-seo-details, main.editorial[data-seo-initial]) h2 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.35;
  letter-spacing: -.02em;
  margin: 32px 0 14px;
  color: var(--ink, #18243f);
}
#auvatrix-seo-details > h2:first-child { margin-top: 0; }
:is(#auvatrix-seo-details, main.editorial[data-seo-initial]) h3 {
  font-size: 1.08rem;
  line-height: 1.5;
  margin: 24px 0 8px;
}
:is(#auvatrix-seo-details, main.editorial[data-seo-initial]) p {
  max-width: 80ch;
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 16px;
  color: var(--muted, #63728b);
}
:is(#auvatrix-seo-details, main.editorial[data-seo-initial]) :is(ul, ol) {
  padding-left: 24px;
  margin: 12px 0 24px;
  font-size: 1rem;
  line-height: 1.75;
}
:is(#auvatrix-seo-details, main.editorial[data-seo-initial]) li { margin-block: 8px; padding-left: 4px; }
:is(#auvatrix-seo-details, main.editorial[data-seo-initial]) a {
  color: var(--green, #5057b5);
  font-size: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
:is(#auvatrix-seo-details, main.editorial[data-seo-initial]) a:hover { text-decoration-thickness: 2px; }
:is(#auvatrix-seo-details, main.editorial[data-seo-initial]) a:focus-visible {
  outline: 2px solid var(--accent, #6550cc);
  outline-offset: 4px;
  border-radius: 3px;
}
:is(#auvatrix-seo-details, main.editorial[data-seo-initial]) nav[aria-label="Breadcrumb"] {
  display: block;
  font-size: .875rem;
  line-height: 1.8;
  color: var(--muted, #63728b);
  margin-bottom: 24px;
}
:is(#auvatrix-seo-details, main.editorial[data-seo-initial]) pre {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
  padding: 20px;
  border: 1px solid var(--border, #e3e7f0);
  border-radius: 12px;
  background: var(--paper, #f8faff);
  font-size: .9rem;
  line-height: 1.65;
}
#auvatrix-seo-details > :last-child { margin-bottom: 0; }
/* NEXA uses its own public-page font and palette. */
#auvatrix-seo-details.nx-section { font-family: inherit; }
@media (max-width: 640px) {
  main.editorial[data-seo-initial] { padding: 28px 20px 40px; }
  #auvatrix-seo-details { width: calc(100% - 32px); padding: 22px 20px; margin: 28px auto 36px; border-radius: 16px; }
  main.editorial[data-seo-initial] #auvatrix-seo-details { width: 100%; }
  :is(#auvatrix-seo-details, main.editorial[data-seo-initial]) h2 { margin-top: 26px; }
  :is(#auvatrix-seo-details, main.editorial[data-seo-initial]) pre { padding: 16px; }
}
/* Category resource cards: existing copy and destinations, with footer last. */
#auvatrix-seo-details.seo-category-links {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 16px 32px;
  padding: 36px;
  background: linear-gradient(125deg, var(--white, #fff), var(--paper, #f8faff));
}
#auvatrix-seo-details.seo-category-links > h2 { grid-column: 1 / -1; margin: 0 0 8px; }
#auvatrix-seo-details.seo-category-links > ul {
  grid-column: 1; grid-row: 2 / span 3;
  display: grid; align-content: start; gap: 12px;
  list-style: none; padding: 0; margin: 0;
}
#auvatrix-seo-details.seo-category-links li { padding: 0; margin: 0; }
#auvatrix-seo-details.seo-category-links :is(li, p) > a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 58px; padding: 16px 20px; box-sizing: border-box;
  background: var(--white, #fff); border: 1px solid var(--border, #e3e7f0);
  border-radius: 14px; text-decoration: none; font-weight: 600; line-height: 1.55;
  box-shadow: 0 3px 12px rgb(24 36 63 / 3%);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
#auvatrix-seo-details.seo-category-links :is(li, p) > a::after { content: '↗'; flex: none; color: var(--accent, #6550cc); }
#auvatrix-seo-details.seo-category-links :is(li, p) > a:hover { border-color: var(--accent, #6550cc); transform: translateY(-2px); box-shadow: 0 8px 24px rgb(24 36 63 / 8%); }
#auvatrix-seo-details.seo-category-links > p { grid-column: 2; margin: 0; max-width: none; }
.ax-directory-footer { border-top: 1px solid var(--border, #e3e7f0); padding-top: 28px; }
@media(max-width:700px) {
  #auvatrix-seo-details.seo-category-links { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; gap: 16px; }
  #auvatrix-seo-details.seo-category-links > ul { grid-column: 1; grid-row: auto; }
  #auvatrix-seo-details.seo-category-links > p { grid-column: 1; }
  .ax-directory-footer { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
}
@media(prefers-reduced-motion:reduce) { #auvatrix-seo-details.seo-category-links a { transition: none; } }
/* Full Auvatrix footer, matching the supplied brand/directory footer. */
footer.ax-full-footer {
  display: block; width: 100%; box-sizing: border-box;
  margin: 52px auto 0; padding: 44px 0 24px;
  border-top: 1px solid var(--border, #e3e7f0);
  color: var(--muted, #63728b); font-size: 14px; line-height: 1.7;
}
.ax-full-footer .ax-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; }
.ax-full-footer .ax-footer-brand img { width: min(100%, 280px); height: auto; display: block; margin: 8px 0 26px; }
.ax-full-footer .ax-footer-brand p { margin: 0 0 24px; color: var(--ink, #18243f); font-size: 15px; line-height: 1.75; }
.ax-full-footer :is(nav, .ax-footer-explore) { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.ax-full-footer .ax-footer-explore { gap: 26px; }
.ax-full-footer h2 { font-size: 15px; line-height: 1.5; color: var(--ink, #18243f); margin: 0 0 8px; letter-spacing: -.02em; }
.ax-full-footer a { color: var(--muted, #63728b); text-decoration: none; line-height: 1.7; overflow-wrap: anywhere; }
.ax-full-footer a:hover { color: var(--accent, #6550cc); text-decoration: underline; text-underline-offset: 4px; }
.ax-full-footer a:focus-visible { outline: 2px solid var(--accent, #6550cc); outline-offset: 4px; }
.ax-full-footer .ax-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border, #e3e7f0); font-size: 12px; }
@media(max-width:900px) { .ax-full-footer .ax-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
@media(max-width:480px) { .ax-full-footer .ax-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } footer.ax-full-footer { margin-top: 32px; padding-top: 32px; } }
/* Consistent, clearly separated category and guide cards. */
#auvatrix-seo-details.seo-category-links :is(li, p) > a { min-height: 72px; border-radius: 16px; }
/* Reset legacy directory-footer link heights and spacing inside the full footer. */
.ax-directory footer.ax-full-footer { display: block; margin: 44px auto 0; padding: 38px 0 24px; }
.ax-directory .ax-full-footer .ax-footer-grid { align-items: start; gap: 40px; }
.ax-directory .ax-full-footer nav { display: grid; align-content: start; justify-content: start; justify-items: start; gap: 8px; }
.ax-directory .ax-full-footer a { min-height: 0; height: auto; display: inline-block; font-size: 14px; line-height: 24px; padding: 0; }
.ax-directory .ax-full-footer h2 { margin: 0 0 12px; font-size: 15px; line-height: 24px; }
.ax-directory .ax-full-footer .ax-footer-explore { gap: 24px; }
.ax-directory .ax-full-footer .ax-footer-brand img { width: min(100%, 270px); margin: 4px 0 22px; }
.ax-directory .ax-full-footer .ax-footer-brand p { font-size: 14px; line-height: 1.75; margin-bottom: 22px; }
.ax-directory .ax-full-footer .ax-footer-bottom { margin-top: 32px; padding-top: 20px; }
@media(max-width:480px) { .ax-directory .ax-full-footer nav a { min-height: 36px; display: inline-flex; align-items: center; } .ax-directory .ax-full-footer .ax-footer-grid { gap: 26px; } }
