/* Preferências de leitura. O tema claro e 100% usam a apresentação original. */
html[data-sp-text="90"] { font-size: 90%; --sp-reading-scale: 0.9; }
html[data-sp-text="110"] { font-size: 110%; --sp-reading-scale: 1.1; }
html[data-sp-text="120"] { font-size: 120%; --sp-reading-scale: 1.2; }
html[data-sp-text="135"] { font-size: 135%; --sp-reading-scale: 1.35; }
html[data-sp-text="150"] { font-size: 150%; --sp-reading-scale: 1.5; }

/* Preserve the fluid viewport term when a visitor also changes the root size. */
html[data-sp-text]:not([data-sp-text="100"]) .single main > .wp-block-post-title {
  font-size: clamp(2rem, calc(4vw * var(--sp-reading-scale)), 3.5rem);
}
html[data-sp-text]:not([data-sp-text="100"]) .sp-archive-intro h1 {
  font-size: clamp(2.3rem, calc(4vw * var(--sp-reading-scale)), 3.5rem);
}
html[data-sp-text]:not([data-sp-text="100"]) .sp-game-intro h1 {
  font-size: clamp(1.9rem, calc(3vw * var(--sp-reading-scale)), 3rem);
}
html[data-sp-text]:not([data-sp-text="100"]) .sp-universes-graphic h2 {
  font-size: clamp(1.45rem, calc(3vw * var(--sp-reading-scale)), 1.9rem);
}
html[data-sp-text]:not([data-sp-text="100"]) .sp-viaje h2 {
  font-size: clamp(1.2rem, calc(2vw * var(--sp-reading-scale)), 1.55rem);
}
@media (min-width: 782px) {
  html[data-sp-text]:not([data-sp-text="100"]) .sp-editorial-hero h1 {
    font-size: clamp(2.3rem, calc(4.2vw * var(--sp-reading-scale)), 3.8rem);
  }
  html[data-sp-text]:not([data-sp-text="100"]) .sp-section-intro h2 {
    font-size: clamp(1.55rem, calc(2.4vw * var(--sp-reading-scale)), 2rem);
  }
}

.sp-appearance {
  display: none;
  align-items: center;
  gap: 2px;
  color: #edf5f5;
  font: 750 14px/1 Manrope, system-ui, sans-serif;
}
.sp-appearance button {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font: inherit;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
@media (hover: hover) {
  .sp-appearance button:hover:not([aria-disabled="true"]) {
    color: #a5eadf;
    background: #203645;
  }
}
.sp-appearance button:active:not([aria-disabled="true"]) { background: #203645; }
.sp-appearance button:focus-visible {
  outline: 2px solid #f0bd8a;
  outline-offset: 2px;
}
.sp-appearance button[aria-disabled="true"] { opacity: .55; cursor: default; }
.sp-appearance [data-sp-theme-toggle][aria-pressed="true"] { color: #83d4c7; }
.sp-theme-icon {
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
}

@media (min-width: 1100px) {
  html[data-sp-appearance-ready] .sp-masthead .sp-header:has(> .sp-appearance--desktop) {
    grid-template-columns: minmax(0, 1fr) auto minmax(160px, 250px) auto;
  }
  html[data-sp-appearance-ready] .sp-masthead .sp-header:has(> .sp-appearance--desktop) > .wp-block-search {
    min-width: 0;
    width: 100%;
  }
  html[data-sp-appearance-ready] .sp-masthead .sp-header > .sp-official-logo { max-width: 100%; }
  html[data-sp-text="135"] .sp-masthead .sp-header,
  html[data-sp-text="150"] .sp-masthead .sp-header { column-gap: 16px; }
  html[data-sp-appearance-ready] .sp-masthead .sp-header > .sp-appearance--desktop {
    display: flex;
    grid-column: 4;
    grid-row: 1;
  }
  html[data-sp-appearance-ready] .sp-sticky-active .sp-masthead .sp-header:has(> .sp-appearance--desktop) {
    grid-template-columns: minmax(0, 1fr) auto auto !important;
  }
  html[data-sp-appearance-ready] .sp-sticky-active .sp-masthead .sp-header > .sp-appearance--desktop {
    grid-column: 3;
  }
}
@media (max-width: 1099px) {
  html[data-sp-appearance-ready] .sp-mobile-panel .sp-appearance--mobile {
    display: flex;
    width: fit-content;
    margin-block-start: 12px;
  }
  .sp-appearance--mobile button { width: 44px; height: 44px; }
  html[data-sp-appearance-ready] .sp-mobile-panel .sp-appearance--mobile + .sp-panel-search {
    margin-top: 12px !important;
  }
  html[data-sp-text]:not([data-sp-text="100"]) .sp-masthead .sp-header { column-gap: 14px; }
  html[data-sp-text]:not([data-sp-text="100"]) .sp-header > .sp-official-logo { max-width: 100%; }
}

html[data-sp-theme="dark"] {
  color-scheme: dark;
  --wp--preset--color--void: #101a24;
  --wp--preset--color--surface: #192a38;
  --wp--preset--color--line: #455c69;
  --wp--preset--color--ink: #eaf1f4;
  --wp--preset--color--muted: #b7c8cf;
  --wp--preset--color--cyan: #8adbd0;
  --wp--preset--color--amber: #e5b381;
}
html[data-sp-theme="dark"] body {
  background-color: var(--wp--preset--color--void);
  color: var(--wp--preset--color--ink);
}
html[data-sp-theme="dark"] :is(
  .sp-guide-band, .sp-viaje .sp-portal-card, .sp-article-nav > .wp-block-post-navigation-link,
  .sp-universes-graphic, .sp-universes-path, .sp-universes-time, .sp-universes-table :is(td, tbody th),
  .single .wp-block-post-content .sp-pilot-card, .sp-pilot-archive .sp-pilot-intro,
  .wp-block-table.is-style-stripes tbody tr:nth-child(odd)
) { background-color: var(--wp--preset--color--surface); }
html[data-sp-theme="dark"] :is(
  .sp-story h3 a, .sp-archive-story h2 a, .sp-article-nav .wp-block-post-navigation-link a,
  .sp-universes-graphic, .sp-universes-table tbody th, .sp-article-meta .wp-block-post-author-name,
  .sp-article-meta .wp-block-post-date, .sp-article-meta .wp-block-post-time-to-read,
  .single .wp-block-post-content .sp-reading-rating .sp-rating-totals strong
) { color: var(--wp--preset--color--ink); }
html[data-sp-theme="dark"] :is(
  .sp-section-intro p, .sp-story .wp-block-post-date, .wp-element-caption, .sp-featured-credit figcaption,
  .sp-archive-intro .wp-block-term-description, .sp-article-nav .post-navigation-link__label,
  .sp-universes-path p:nth-child(2), .sp-card-meta, .sp-article-meta .sp-meta-label,
  .sp-article-updates, .sp-article-share > p:first-child, .wp-block-post-content .sp-pilot-card .sp-pilot-bio,
  .sp-pilot-archive .sp-pilot-bio, .wp-block-post-content .sp-reading-rating :is(.sp-rating-context, .sp-rating-totals, .sp-rating-notice)
) { color: var(--wp--preset--color--muted); }
html[data-sp-theme="dark"] :is(
  .single .wp-block-post-content a, .sp-section-intro .sp-icon, .sp-archive-intro .sp-kicker,
  .sp-universes-label, .sp-universes-path p:first-child, .sp-card-meta .wp-block-post-author-name a,
  .sp-pilot-card .sp-pilot-name a
) { color: var(--wp--preset--color--cyan); }
html[data-sp-theme="dark"] main a:hover { color: #b9f0e7; }
html[data-sp-theme="dark"] :is(
  .sp-news-section .sp-section-intro .sp-icon, .sp-article-nav [class*="wp-block-post-navigation-link__arrow"],
  .sp-pilot-card .sp-pilot-label, .sp-pilot-archive .sp-pilot-intro .sp-kicker,
  .wp-block-post-content .sp-reading-rating :is(.sp-rating-eyebrow, .sp-rating-feedback, .sp-rating-retry)
) { color: var(--wp--preset--color--amber); }
html[data-sp-theme="dark"] :is(
  .sp-side-reads .sp-story, .sp-news-section, .sp-archive-intro, .sp-context-paths, .sp-universes-path, .sp-universes-time,
  .sp-universes-table :is(th, td, tr), .sp-universes-path p:nth-child(3), .wp-block-post-template .sp-card-meta,
  .sp-article-meta, .sp-article-share-bottom, .sp-pilot-card, .sp-pilot-intro
) { border-block-end-color: var(--wp--preset--color--line); }
html[data-sp-theme="dark"] :is(
  .sp-news-section, .sp-context-paths, .sp-universes-path p:nth-child(3), .sp-card-meta, .sp-article-share-bottom
) { border-block-start-color: var(--wp--preset--color--line); }
html[data-sp-theme="dark"] .sp-article-nav .wp-block-post-navigation-link a:hover { background-color: #223948; }
html[data-sp-theme="dark"] .wp-block-post-content .sp-reading-rating {
  background: #242e35;
  border-color: #8f7356;
  color: var(--wp--preset--color--ink);
}
html[data-sp-theme="dark"] .wp-block-post-content .sp-reading-rating .sp-rating-retry { background-color: #213340; }
html[data-sp-theme="dark"] .wp-block-post-content .sp-reading-rating .wp-postratings-scale input:focus-visible + label { background-color: #38505b; }
html[data-sp-theme="dark"] .wp-block-post-content .sp-reading-rating .wp-postratings-scale label:hover { background-color: #42515a; }
html[data-sp-theme="dark"] :is(
  main input:not([type="submit"], [type="button"], [type="checkbox"], [type="radio"]),
  main textarea, main select
) {
  color: var(--wp--preset--color--ink);
  background-color: var(--wp--preset--color--surface);
  border-color: var(--wp--preset--color--line);
}
html[data-sp-theme="dark"] main .wpcf7-not-valid-tip { color: #ffada7; }
html[data-sp-theme="dark"] :is(a, button, input, summary):focus-visible { outline-color: #f0bd8a; }


html[data-sp-theme="dark"] .cmplz-cookiebanner {
  --cmplz_banner_background_color: #192a38;
  --cmplz_text_color: #eaf1f4;
  --cmplz_hyperlink_color: #8adbd0;
  --cmplz_button_accept_background_color: #83d4c7;
  --cmplz_button_accept_border_color: #83d4c7;
  --cmplz_button_accept_text_color: #101f2b;
  --cmplz_button_deny_background_color: #203645;
  --cmplz_button_deny_border_color: #637e8a;
  --cmplz_button_deny_text_color: #eaf1f4;
  --cmplz_button_settings_background_color: #203645;
  --cmplz_button_settings_border_color: #637e8a;
  --cmplz_button_settings_text_color: #eaf1f4;
}

