/*
Theme Name: Eureka Theme
Author: Ianca
Description: Tema WordPress mobile-first para tutoriais passo a passo, inspirado no projeto Figma Modern Mobile Tutorial Website.
Version: 1.1.0
Text Domain: eureka-theme
*/

:root {
  --navy: #2e523f;
  --navy-light: #356149;
  --green: #3e6d54;
  --cream: #FFFEFE;
  --cream-dark: #FFFDF7 ;
  --ink: #16302a;
  --ink-soft: #3e534b;
  --text-dark-gray: #3e534b;
  --gray:#222121;
  --muted: var(--text-dark-gray);
  --line: rgba(22, 48, 42, 0.16);
  --line-on-green: rgba(246, 240, 225, 0.22);
  --brass: #3e6d54;
  --brass-soft: #3e6d54;
  --card: #ffffff;
  --image-bg: #eef1ec;
  --font-display: "Manrope", sans-serif;
  --font-brand: "Fraunces", Georgia, serif;
  --font-body: "Inter", sans-serif;
  --shadow: 0 1px 3px rgba(22, 48, 42, 0.08), 0 12px 30px rgba(22, 48, 42, 0.06);
  --shadow-hover: 0 18px 34px -22px rgba(22, 48, 42, 0.34);
  --radius: 12px;
  --max: 1120px;
  --header-search-width: 560px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}


body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.admin-bar .site-header {
  top: 32px;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid var(--line-on-green);
}

.site-header-inner {
  width: min(calc(100% - 64px), var(--max));
  min-height: 60px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(220px, var(--header-search-width)) 1fr;
  align-items: center;
  gap: 24px;
}

.site-logo-link,
.site-logo {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: start;
  margin-left: 16px;
  color: var(--cream);
  text-decoration: none;
}

.site-logo-text,
.footer-brand-name {
  color: var(--cream);
  font-family: var(--font-brand);
  font-size: 2.0rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.site-logo-text-accent {
  color: var(--cream);
}

.site-logo-custom { /* tamanho da logo da header */
  display: block;
  width: auto;
  height: 53px;
  max-width: 53px;
  object-fit: contain;
}

.search-form {
  position: relative;
}

.header-search {
  width: 100%;
  min-width: 0;
  justify-self: center;
}

.header-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  color: rgba(255, 254, 251, 0.58);
  pointer-events: none;
}

.header-search input {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0 48px 0 42px;
  border: 1px solid var(--line-on-green);
  border-radius: 22px;
  outline: 0;
  background: rgba(255, 254, 251, 0.09);
  color: var(--cream);
  font-size: 0.97rem;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input::placeholder {
  color: rgba(255, 254, 251, 0.5);
}

.header-search input:focus {
  background: rgba(255, 254, 251, 0.14);
  border-color: rgba(255, 254, 251, 0.38);
  box-shadow: 0 0 0 3px rgba(255, 254, 251, 0.08);
}

input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.clear-search {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: inherit;
  cursor: pointer;
  line-height: 1;
}

.clear-search.is-visible {
  display: inline-flex;
}

.clear-search svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.7;
}

.header-clear {
  position: absolute;
  right: 14px;
  top: 50%;
  color: rgba(255, 255, 255, 0.9);
  transform: translateY(-50%);
}

.header-clear:hover {
  color: #ffffff;
}

.clear-search:focus-visible {
  outline: 2px solid var(--brass-soft);
  outline-offset: 2px;
}

.header-image-toggle {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-on-green);
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  justify-self: end;
  background: rgba(255, 254, 251, 0.09);
  color: var(--cream);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.header-image-toggle[hidden] {
  display: none;
}

.header-image-toggle:hover {
  background: rgba(255, 254, 251, 0.14);
  border-color: rgba(255, 254, 251, 0.38);
}

.header-image-toggle[aria-pressed="false"] {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--navy);
}

.header-image-toggle:focus-visible {
  outline: 2px solid var(--brass-soft);
  outline-offset: 2px;
}

.header-image-toggle .image-toggle-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 14px;
  line-height: 0;
}

.header-image-toggle .image-toggle-icon svg {
  display: block;
}

.header-image-toggle .image-toggle-icon-hide {
  display: none;
}

.header-image-toggle[aria-pressed="true"] .image-toggle-icon-show {
  display: none;
}

.header-image-toggle[aria-pressed="true"] .image-toggle-icon-hide {
  display: inline-flex;
}

/* Shared layout */
.site-main {
  min-height: calc(100vh - 56px);
  padding-top: 56px;
}

.content-shell {
  width: min(calc(100% - 32px), 1024px);
  margin: 0 auto;
}

/* Homepage */
.home-hero {
  padding: 42px 0 22px;
  overflow: hidden;
  background: var(--navy);
  color: var(--cream);
}

.home-hero-inner {
  width: min(calc(100% - 64px), var(--max));
  margin: 0 auto;
  text-align: center;
  animation: page-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-hero-content {
  width: min(100%, 680px);
  margin: 0 auto;
}

.home-hero h1 {
  width: min(100%, 680px);
  margin: 0 auto;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-align: center;
  text-wrap: balance;
}

.home-hero-copy {
  width: min(100%, 520px);
  margin: 12px auto 0;
  color: rgba(246, 240, 225, 0.78);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.48;
}

.hero-search {
  width: min(100%, 500px);
  margin: 20px auto 0;
  padding: 5px 5px 5px 15px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--cream);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.5);
}

.hero-search-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  color: var(--ink-soft);
  pointer-events: none;
}

.hero-search input {
  min-width: 0;
  flex: 1;
  padding: 12px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
}

.hero-search input::placeholder {
  color: #000000;
}

.hero-search:focus-within {
  box-shadow: 0 0 0 3px rgba(42, 78, 58, 0.22), 0 18px 40px -18px rgba(0, 0, 0, 0.5);
}

.main-clear {
  flex: 0 0 auto;
  color: var(--green);
}

.main-clear:hover {
  color: var(--navy);
}

.hero-search-submit {
  flex: 0 0 auto;
  padding: 12px 22px;
  border: 0;
  border-radius: 8px;
  background: var(--navy);
  color: var(--cream);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.hero-search-submit:hover {
  background: var(--green);
}

.hero-search-submit:focus-visible {
  outline: 2px solid var(--brass-soft);
  outline-offset: 2px;
}

.hero-categories {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.hero-category {
  padding: 7px 14px;
  border: 1px solid var(--line-on-green);
  border-radius: 20px;
  background: rgba(246, 240, 225, 0.04);
  color: var(--cream);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.hero-category:hover,
.hero-category:focus-visible {
  border-color: var(--brass-soft);
  background: rgba(246, 240, 225, 0.1);
}

.hero-category:focus-visible {
  outline: 2px solid var(--brass-soft);
  outline-offset: 2px;
}

/* Home sections and shared listing cards */
.home-content {
  width: min(calc(100% - 64px), var(--max));
  margin: 0 auto;
  padding: 16px 0 58px;
  animation: fadeUpPage 0.7s ease-out both;
}

.home-section {
  padding: 0 0 25px;
}

.home-section + .home-section {
  padding-top: 0;
}

.section-heading {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.section-heading h2 {
  margin: 0;
  color: #000000;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.04rem;
}

.section-link {
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.section-link svg {
  width: 13px;
  height: 13px;
}

.section-link:focus-visible {
  outline: 2px solid rgba(42, 78, 58, 0.32);
  outline-offset: 4px;
}

.tutorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.tutorial-card {
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.tutorial-card:hover {
  border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.tutorial-card:focus-visible {
  outline: 3px solid rgba(42, 78, 58, 0.28);
  outline-offset: 4px;
}

.tutorial-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, var(--navy-light), var(--navy));
}

.tutorial-card-media img,
.tutorial-card-media svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top left;
  transition: transform 0.3s ease;
}

.tutorial-card-media svg {
  padding: 16%;
  color: rgba(246, 240, 225, 0.58);
}

.tutorial-card:hover .tutorial-card-media img {
  transform: scale(1.04);
}

.tutorial-card-body {
  min-height: 190px;
  padding: 10px 20px 22px;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
}

.tutorial-card-meta {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.category-badge {
  display: inline-flex;
  color: var(--brass);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tutorial-card .category-badge {
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(66, 118, 90, 0.14);
  color: var(--navy);
  font-size: 0.62rem;
  letter-spacing: 0.035em;
  white-space: nowrap;
}

.tutorial-card .category-badge--found-on-reddit,
.tutorial-card .category-badge--reddit-source,
.tutorial-card .category-badge--reddit,
.tutorial-page .category-badge--found-on-reddit,
.tutorial-page .category-badge--reddit-source,
.tutorial-page .category-badge--reddit {
  background: rgba(255, 69, 0, 0.12);
  color: #924401;
}

.tutorial-card h3 {
  margin: 2px 0 0;
  color: #000000;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.tutorial-card-excerpt {
  margin: 2px 0 0;
  color: #000000;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  font-size: 0.84rem;
  line-height: 1.5;
}

.empty-state-compact {
  padding: 26px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--gray);
  background: #ffffff;
}

.home-cta {
  margin-top: 0;
  padding: 34px 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  background: var(--navy);
  box-shadow: 0 34px 60px -30px rgba(18, 42, 36, 0.4);
}

.home-cta h2 {
  margin: 0;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0;
}

.home-cta p {
  margin: 8px 0 0;
  color: rgba(246, 240, 225, 0.72);
  font-size: 0.94rem;
  line-height: 1.45;
}

.home-cta a {
  flex: 0 0 auto;
  padding: 13px 24px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 11px;
  background: #fbf6ee;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.home-cta a:hover {
  background: #fcf3e1;
}

.home-cta a:focus-visible {
  outline: 3px solid rgba(217, 192, 142, 0.48);
  outline-offset: 4px;
}

/* Search/archive */
.listing-page {
  width: min(calc(100% - 32px), 1024px);
  margin: 0 auto;
  padding: 44px 0 72px;
}

.listing-kicker {
  margin: 0 0 6px;
  color: var(--text-dark-gray);
  font-size: 0.78rem;
}

.listing-title {
  margin: 0 0 28px;
  color: #000000;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  letter-spacing: 0;
}

.empty-state {
  padding: 70px 20px;
  text-align: center;
  color: #9ca3af;
}

/* Tutorial page */
.tutorial-page {
  width: min(calc(100% - 32px), 720px);
  margin: 0 auto;
  padding: 16px 0 72px;
}

.tutorial-cover {
  width: 100%;
  aspect-ratio: 16 / 6;
  margin: 4px 0 0;
  overflow: hidden;
  border-radius: 17px;
  background: var(--image-bg);
  box-shadow: var(--shadow-hover);
}

.tutorial-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top left;
}

.tutorial-back-link {
  margin-left: -25px;
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #000000;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.4;
}

.tutorial-back-link:visited {
  color: #000000;
}

.tutorial-back-link svg {
  flex: 0 0 14px;
  margin-top: -1px;
  transition: transform 0.2s ease;
}

.tutorial-back-link:hover {
  color: var(--navy);
}

.tutorial-back-link:focus-visible {
  outline: 2px solid var(--brass-soft);
  outline-offset: 4px;
  border-radius: 6px;
}

.tutorial-back-link:hover svg {
  transform: translateX(-2px);
}

.tutorial-meta {
  margin-top: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-body);
}

.tutorial-page .category-badge {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(66, 118, 90, 0.14);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.72rem;
}

.tutorial-page .category-badge--found-on-reddit,
.tutorial-page .category-badge--reddit-source,
.tutorial-page .category-badge--reddit {
  background: rgba(255, 69, 0, 0.12);
  color: #924401;
}

.tutorial-review-note {
  flex: 0 0 100%;
  display: inline-flex;
  align-items: center;
  gap: 1px;
  color: #000000;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.4;
  transform: translateY(1.5px);
}

.tutorial-review-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  display: inline-flex;
  color: #37a43d;
  line-height: 0;
  transform: translateY(1px);
}

.tutorial-step-count {
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
}

.tutorial-title {
  margin: 10px 0 0;
  color: #000000;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.6vw, 1.75rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.tutorial-description {
  margin: 12px 0 0;
  color: #000000;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.68;
}

.tutorial-description p {
  margin: 0;
}

.step-image-toolbar {
  margin-top: 24px;
  padding: 12px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #f0ebe5;
}

.step-image-toolbar-label {
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
}

.step-image-toolbar button {
  padding: 8px 12px;
  border: 0;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
}

.step-image-toolbar button[aria-pressed="true"] {
  background: var(--green);
}

.tutorial-divider {
  margin-top: 32px;
  border-top: 1px solid #e0d9d2;
}

.tutorial-content {
  counter-reset: tutorial-step;
  margin-top: 15px;
}

.tutorial-content > .wp-block-group.eureka-content-card {
  position: relative;
  display: flow-root;
  margin: 0 0 18px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.tutorial-content > .wp-block-group.eureka-content-card.eureka-method-card {
  counter-increment: tutorial-step;
  padding-left: 72px;
}

.tutorial-content > .wp-block-group.eureka-content-card.has-reddit-source-badge {
  padding-bottom: 8px;
}

.tutorial-content > .wp-block-group.eureka-content-card.eureka-method-card::before {
  content: counter(tutorial-step);
  position: absolute;
  left: 14px;
  top: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 800;
}

.eureka-method-card-heading-row {
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.tutorial-content .eureka-content-card h2,
.tutorial-content .eureka-content-card h3 {
  margin: 0;
  color: #000000;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.20;
  letter-spacing: 0;
}

.tutorial-content .eureka-content-card h2 {
  font-size: 1.25rem;
}

.tutorial-content .eureka-content-card h3 {
  font-size: 1.1rem;
}

body.single-post .tutorial-content .eureka-content-card p + h3,
body.single-post .tutorial-content .eureka-content-card ul + h3,
body.single-post .tutorial-content .eureka-content-card ol + h3,
body.single-post .tutorial-content .eureka-content-card p + h3.wp-block-heading,
body.single-post .tutorial-content .eureka-content-card ul + h3.wp-block-heading,
body.single-post .tutorial-content .eureka-content-card ol + h3.wp-block-heading {
  margin-top: 1rem !important;
  margin-block-start: 1rem !important;
}

.tutorial-content .eureka-content-card p {
  margin: 0;
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 0.96rem;
  line-height: 1.68;
}

.tutorial-content .eureka-content-card h2 + p,
.tutorial-content .eureka-content-card h3 + p,
.tutorial-content .eureka-method-card-heading-row + p,
.tutorial-content .eureka-content-card h2 + ul,
.tutorial-content .eureka-content-card h3 + ul,
.tutorial-content .eureka-method-card-heading-row + ul,
.tutorial-content .eureka-content-card h2 + ol,
.tutorial-content .eureka-content-card h3 + ol,
.tutorial-content .eureka-method-card-heading-row + ol {
  margin-top: 0.5rem;
  margin-block-start: 0.5rem;
}

.tutorial-content .eureka-content-card p + p {
  margin-top: 0.15rem;
  margin-block-start: 0.15rem;
}

.tutorial-content .eureka-content-card ul,
.tutorial-content .eureka-content-card ol {
  margin: 0.85rem 0 0 1.2rem;
  padding-left: 1rem;
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 0.96rem;
  line-height: 1.58;
}

.tutorial-content .eureka-content-card li {
  margin-top: 4px;
}

.tutorial-content .eureka-content-card li:first-child {
  margin-top: 0;
}

.tutorial-content .eureka-content-card .eureka-reddit-source-wrap {
  display: flow-root;
}

.tutorial-content .eureka-content-card p.eureka-reddit-source {
  max-width: 100%;
  margin: 0.9rem -8px 0.08rem 0;
  clear: both;
  display: flex;
  justify-content: flex-end;
  text-align: right;
}

.tutorial-content .eureka-content-card .eureka-reddit-source-link {
  margin: 0;
}

.tutorial-content .eureka-content-card .eureka-reddit-source-link,
.tutorial-content .eureka-content-card p.eureka-reddit-source a {
  max-width: 100%;
  min-height: 30px;
  padding: 0.42rem 0.68rem 0.42rem 2.35rem;
  border: 1px solid #e44a12;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23e44a12'/%3E%3Cpath fill='%23fff' d='M22 12.14c0-1.14-.92-2.06-2.06-2.06-.56 0-1.07.23-1.44.59-1.41-.98-3.31-1.62-5.42-1.72l1.02-4.8 3.32.7a1.55 1.55 0 1 0 .18-.82l-3.78-.8a.42.42 0 0 0-.5.32l-1.15 5.39c-2.16.06-4.12.7-5.57 1.7a2.05 2.05 0 1 0-2.2 3.35 3.85 3.85 0 0 0-.07.73c0 3.2 3.45 5.79 7.7 5.79s7.7-2.59 7.7-5.79c0-.25-.02-.49-.07-.73A2.05 2.05 0 0 0 22 12.14ZM7.8 13.88a1.25 1.25 0 1 1 2.5 0 1.25 1.25 0 0 1-2.5 0Zm7.32 3.35c-1.28 1.28-4.01 1.28-5.29 0a.48.48 0 1 1 .68-.68c.9.9 3.03.9 3.93 0a.48.48 0 1 1 .68.68Zm-.1-2.1a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5Z'/%3E%3C/svg%3E");
  background-position: 0.56rem center;
  background-repeat: no-repeat;
  background-size: 1.38rem 1.38rem;
  color: #e44a12;
  font-family: var(--font-body);
  font-size: 0;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  box-shadow: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.tutorial-content .eureka-content-card .eureka-reddit-source-link::before,
.tutorial-content .eureka-content-card p.eureka-reddit-source a::before {
  content: "Based on a Reddit discussion";
  min-width: 0;
  color: #e44a12;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  transform: translateY(1px);
}

.tutorial-content .eureka-content-card .eureka-reddit-source-link:hover,
.tutorial-content .eureka-content-card p.eureka-reddit-source a:hover {
  border-color: #e44a12;
  background-color: #f8f0ec;
  color: #e44a12;
  text-decoration: none;
  transform: translateY(-1px);
}

.tutorial-content .eureka-content-card .eureka-reddit-source-link:focus-visible,
.tutorial-content .eureka-content-card p.eureka-reddit-source a:focus-visible {
  outline: 2px solid var(--brass-soft, #3e6d54);
  outline-offset: 3px;
}

.tutorial-content .eureka-content-card figure + p,
.tutorial-content .eureka-content-card .wp-block-image + p {
  margin-top: 10px;
}

/* SHOW IMAGE */
.step-image-toggle {
  flex: 0 0 auto;
  margin-top: 5px;
  padding: 6px 9px;
  border: 0;
  border-radius: 8px;
  background: rgba(62, 109, 84, 0.12);
  color: var(--navy);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
}

/* HIDE IMAGE */
.step-image-toggle[aria-pressed="true"] {
  background: rgba(22, 48, 42, 0.08);
  color: var(--ink-soft);
}

.step-image-toggle:hover {
  background: rgba(62, 109, 84, 0.18);
}

.step-image-toggle:focus-visible {
  outline: 2px solid var(--brass-soft);
  outline-offset: 3px;
}

.tutorial-content.images-enhanced .tutorial-image-toggle-target,
.tutorial-content.steps-enhanced .eureka-method-card figure,
.tutorial-content.steps-enhanced .eureka-method-card .wp-block-image {
  width: 100%;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  opacity: 0;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), margin 0.35s ease, opacity 0.35s ease;
}

.tutorial-content.images-enhanced .tutorial-image-toggle-target.is-visible,
.tutorial-content.steps-enhanced .eureka-method-card figure.is-visible,
.tutorial-content.steps-enhanced .eureka-method-card .wp-block-image.is-visible {
  max-height: 520px;
  margin-top: 10px;
  opacity: 1;
}

.tutorial-content.images-enhanced .tutorial-image-toggle-target img,
.tutorial-content.images-enhanced img.tutorial-image-toggle-target,
.tutorial-content.steps-enhanced .eureka-method-card figure img,
.tutorial-content.steps-enhanced .eureka-method-card .wp-block-image img {
  width: 100%;
  max-height: 280px;
  margin: 0;
  display: block;
  object-fit: cover;
  object-position: left center;
  border-radius: var(--radius);
}

.tutorial-content img.tutorial-lightbox-trigger {
  cursor: pointer;
}

.tutorial-lightbox-open {
  overflow: hidden;
}

.tutorial-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  padding: 24px;
  display: grid;
  place-items: center;
  background: rgba(8, 13, 24, 0.86);
  backdrop-filter: blur(8px);
  opacity: 0;
  overscroll-behavior: contain;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.tutorial-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.tutorial-lightbox-dialog {
  position: relative;
  width: min(100%, 1180px);
  height: auto;
  max-height: calc(100vh - 48px);
  display: grid;
  grid-template-rows: auto auto;
  gap: 10px;
}

.tutorial-lightbox-close {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 3002;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
}

.tutorial-lightbox-close:focus-visible,
.tutorial-lightbox-trigger:focus-visible {
  outline: 3px solid var(--brass-soft);
  outline-offset: 3px;
}

.tutorial-lightbox-text {
  width: min(100%, 860px);
  max-height: 20vh;
  margin: 0 auto;
  overflow: auto;
  color: #ffffff;
  text-align: left;
}

.tutorial-lightbox-text h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  font-weight: 800;
  line-height: 1.3;
}

.tutorial-lightbox-text p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  line-height: 1.5;
}

.tutorial-lightbox-text ul,
.tutorial-lightbox-text ol {
  margin: 5px 0 0 1rem;
  padding-left: 1rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  line-height: 1.5;
}

.tutorial-lightbox-text li {
  margin-top: 3px;
}

.tutorial-lightbox-text li:first-child {
  margin-top: 0;
}

.tutorial-lightbox-image-wrap {
  position: relative;
  width: 100%;
  min-height: 0;
  max-height: min(64vh, 640px);
  display: grid;
  place-items: center;
  overflow: visible;
}

.tutorial-lightbox-image {
  --zoom-x: 50%;
  --zoom-y: 50%;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(64vh, 640px);
  display: block;
  object-fit: contain;
  background: transparent;
  cursor: zoom-in;
  transform-origin: var(--zoom-x) var(--zoom-y);
  transition: transform 0.2s ease;
}

.tutorial-lightbox-image.is-zoomed {
  cursor: zoom-out;
  transform: scale(1.75);
}

.tutorial-lightbox-image:focus-visible {
  outline: 3px solid var(--brass-soft);
  outline-offset: 6px;
}

.tutorial-lightbox-nav {
  position: fixed;
  top: 50%;
  z-index: 3001;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0;
  transform: translateY(-50%);
  box-shadow: 0 8px 24px rgba(8, 13, 24, 0.22);
  touch-action: manipulation;
}

.tutorial-lightbox-nav:hover,
.tutorial-lightbox-nav:focus-visible {
  background: #ffffff;
  color: var(--navy);
}

.tutorial-lightbox-nav span {
  display: block;
  width: 11px;
  height: 11px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
}

.tutorial-lightbox-nav-prev span {
  transform: translateX(2px) rotate(225deg);
}

.tutorial-lightbox-nav-next span {
  transform: translateX(-2px) rotate(45deg);
}

.tutorial-lightbox-nav:focus-visible {
  outline: 3px solid var(--brass-soft);
  outline-offset: 3px;
}

.tutorial-lightbox-nav-prev {
  left: 24px;
}

.tutorial-lightbox-nav-next {
  right: 24px;
}

.tutorial-lightbox-nav[hidden] {
  display: none;
}

.copy-shortcode {
  max-width: 100%;
  margin: 0 2px;
  padding: 3px 4px 3px 9px;
  border: 1px solid rgba(22, 48, 42, 0.14);
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  vertical-align: middle;
  background: var(--cream-dark);
  color: var(--ink-soft);
  white-space: nowrap;
}

.copy-shortcode__value {
  min-width: 0;
  color: inherit;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 1em;
  line-height: 1.35;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.copy-shortcode__button {
  min-height: 30px;
  padding: 5px 8px;
  border: 1px solid rgba(22, 48, 42, 0.14);
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 0 0 auto;
  background: #ffffff;
  color: var(--navy);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.copy-shortcode__button:hover,
.copy-shortcode__button:focus-visible,
.copy-shortcode__button.is-copied {
  border-color: var(--green);
  background: rgba(62, 109, 84, 0.12);
  color: var(--navy);
}

.copy-shortcode__button.is-copied {
  color: var(--navy);
}

.copy-shortcode__button:focus-visible {
  outline: 3px solid rgba(217, 192, 142, 0.55);
  outline-offset: 2px;
}

.copy-shortcode__icon {
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 15px;
}

.copy-shortcode__icon svg {
  width: 15px;
  height: 15px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.copy-shortcode__icon--check {
  display: none;
}

.copy-shortcode__button.is-copied .copy-shortcode__icon--copy {
  display: none;
}

.copy-shortcode__button.is-copied .copy-shortcode__icon--check {
  display: inline-flex;
}

.copy-shortcode--block {
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  white-space: normal;
}

.copy-shortcode--block .copy-shortcode__value {
  padding-top: 3px;
}

.copy-shortcode--block .copy-shortcode__button {
  margin-left: 12px;
}

/* Normal post blocks outside explicit content cards */
.tutorial-content:not(.steps-enhanced),
.tutorial-content .wp-block-group:not(.eureka-content-card) {
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.75;
}

.tutorial-content > h2,
.tutorial-content > h3 {
  margin: 2rem 0 0;
  color: #000000;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.tutorial-content > p,
.tutorial-content > ul,
.tutorial-content > ol,
.tutorial-content .wp-block-group:not(.eureka-content-card) > p,
.tutorial-content .wp-block-group:not(.eureka-content-card) > ul,
.tutorial-content .wp-block-group:not(.eureka-content-card) > ol,
.tutorial-content .wp-block-group:not(.eureka-content-card) > .wp-block-group__inner-container > p,
.tutorial-content .wp-block-group:not(.eureka-content-card) > .wp-block-group__inner-container > ul,
.tutorial-content .wp-block-group:not(.eureka-content-card) > .wp-block-group__inner-container > ol {
  font-family: var(--font-body);
  margin-block: 0;
}

.tutorial-content > p {
  color: #000000;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.68; /* espaco entre linhas */
}

.tutorial-content > p + p,
.tutorial-content .wp-block-group:not(.eureka-content-card) > p + p,
.tutorial-content .wp-block-group:not(.eureka-content-card) > .wp-block-group__inner-container > p + p {
  margin-block-start: 0.65rem; /*espaco entre paragrafos*/
}

.tutorial-content > p + ul,
.tutorial-content > p + ol,
.tutorial-content .wp-block-group:not(.eureka-content-card) > p + ul,
.tutorial-content .wp-block-group:not(.eureka-content-card) > p + ol {
  margin-block-start: 0.85rem;
}

.tutorial-content > .wp-block-group:not(.eureka-content-card) + .wp-block-group.eureka-content-card {
  margin-top: 0.5rem;
}

.tutorial-content > ul + p,
.tutorial-content > ol + p,
.tutorial-content .wp-block-group:not(.eureka-content-card) > ul + p,
.tutorial-content .wp-block-group:not(.eureka-content-card) > ol + p {
  margin-block-start: 0.85rem;
}

.tutorial-content > h2 + p,
.tutorial-content > h3 + p,
.tutorial-content .wp-block-group:not(.eureka-content-card) > h2 + p,
.tutorial-content .wp-block-group:not(.eureka-content-card) > h3 + p {
  margin-block-start: 0.65rem;
}

.tutorial-content > blockquote,
.tutorial-content > figure,
.tutorial-content > .wp-block-image,
.tutorial-content > .wp-block-table,
.tutorial-content > .wp-block-code,
.tutorial-content > .wp-block-buttons {
  margin-block-start: 1.5rem;
}

.tutorial-content .eureka-quick-summary {
  margin: 0 0 18px;
  padding: 16px 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.tutorial-content .eureka-quick-summary h2 {
  margin: 0;
  color: #000000;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

.tutorial-content .eureka-quick-summary p {
  margin: 0.55rem 0 0;
  color: #000000;
  font-family: var(--font-body);
  font-size: 0.96rem;
  line-height: 1.58;
}

.tutorial-content .eureka-quick-summary ul,
.tutorial-content .eureka-quick-summary ol {
  margin: 1rem 0 0 1.2rem;
  padding-left: 1rem;
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 0.96rem;
  line-height: 1.58;
}

.tutorial-content .eureka-quick-summary li {
  margin-top: 0.35rem;
}

.tutorial-content .eureka-quick-summary li:first-child {
  margin-top: 0;
}

.tutorial-content .eureka-quick-summary a,
.tutorial-content .eureka-faq a {
  color: var(--navy);
  font-weight: 600;
}

.tutorial-content .eureka-quick-summary kbd,
.tutorial-content .eureka-content-card kbd,
.tutorial-content .eureka-faq kbd {
  min-width: 1.7em;
  padding: 0.16rem 0.42rem;
  border: 1px solid rgba(22, 48, 42, 0.18);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: #ffffff;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.82em;
  font-weight: 700;
  line-height: 1;
}

.tutorial-content .eureka-faq {
  margin: 2rem 0;
}

.tutorial-content .eureka-faq > h2 {
  margin: 0 0 0.85rem;
  color: #000000;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

.tutorial-content .eureka-faq .wp-block-details,
.tutorial-content .wp-block-details.is-style-eureka-faq {
  margin: 0.75rem 0 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  color: var(--gray);
  box-shadow: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.tutorial-content .eureka-faq .wp-block-details:first-of-type,
.tutorial-content .wp-block-details.is-style-eureka-faq:first-of-type {
  margin-top: 0;
}

.tutorial-content .eureka-faq .wp-block-details:hover,
.tutorial-content .wp-block-details.is-style-eureka-faq:hover,
.tutorial-content .eureka-faq .wp-block-details[open],
.tutorial-content .wp-block-details.is-style-eureka-faq[open] {
  border-color: rgba(38, 71, 53, 0.34);
}

.tutorial-content .eureka-faq .wp-block-details[open],
.tutorial-content .wp-block-details.is-style-eureka-faq[open] {
  box-shadow: var(--shadow);
}

.tutorial-content .eureka-faq summary,
.tutorial-content .wp-block-details.is-style-eureka-faq summary {
  position: relative;
  min-height: 46px;
  padding: 14px 48px 14px 16px;
  color: #000000;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
}

.tutorial-content .eureka-faq summary::-webkit-details-marker,
.tutorial-content .wp-block-details.is-style-eureka-faq summary::-webkit-details-marker {
  display: none;
}

.tutorial-content .eureka-faq summary::marker,
.tutorial-content .wp-block-details.is-style-eureka-faq summary::marker {
  content: "";
}

.tutorial-content .eureka-faq summary::after,
.tutorial-content .wp-block-details.is-style-eureka-faq summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-62%) rotate(45deg);
  transition: transform 0.18s ease;
}

.tutorial-content .eureka-faq details[open] summary::after,
.tutorial-content .wp-block-details.is-style-eureka-faq[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
}

.tutorial-content .eureka-faq summary:focus-visible,
.tutorial-content .wp-block-details.is-style-eureka-faq summary:focus-visible {
  outline: 3px solid rgba(62, 109, 84, 0.28);
  outline-offset: 3px;
  border-radius: 10px;
}

.tutorial-content .eureka-faq details > *:not(summary),
.tutorial-content .wp-block-details.is-style-eureka-faq > *:not(summary) {
  margin: 0 16px 14px;
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 0.96rem;
  line-height: 1.58;
}

.tutorial-content .eureka-faq details > *:not(summary) + *:not(summary),
.tutorial-content .wp-block-details.is-style-eureka-faq > *:not(summary) + *:not(summary) {
  margin-top: 0.65rem;
}

body.single-post .tutorial-content .eureka-quick-summary {
  padding: 16px 20px 20px 22px;
  border: 0;
  border-left: 3px solid var(--green);
  border-radius: 6px;
  background: rgba(62, 109, 84, 0.07);
  box-shadow: none;
}

body.single-post .tutorial-content .eureka-quick-summary h2 {
  font-size: 1.05rem;
}

body.single-post .tutorial-content kbd,
body.single-post .tutorial-lightbox-description kbd {
  min-width: 1.7em;
  margin: 0 0.08em;
  padding: 0.22rem 0.44rem;
  border: 1px solid rgba(22, 48, 42, 0.18);
  border-bottom-width: 2px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: 0.06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background: #ffffff;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.82em;
  font-weight: 800;
  line-height: 1.08;
  box-shadow: 0 1px 0 rgba(22, 48, 42, 0.1);
  white-space: normal;
}

body.single-post .tutorial-page,
body.single-post .tutorial-article,
body.single-post .tutorial-content,
body.single-post .tutorial-description {
  min-width: 0;
}

body.single-post {
  overflow-x: hidden;
}

body.single-post .tutorial-page,
body.single-post .tutorial-article,
body.single-post .tutorial-content > *,
body.single-post .tutorial-content .wp-block-group,
body.single-post .tutorial-content .wp-block-group__inner-container,
body.single-post .tutorial-content .eureka-method-card-heading-row {
  max-width: 100%;
}

body.single-post .tutorial-title,
body.single-post .tutorial-description,
body.single-post .tutorial-review-note,
body.single-post .tutorial-content p,
body.single-post .tutorial-content li,
body.single-post .tutorial-content summary,
body.single-post .tutorial-content strong {
  overflow-wrap: anywhere;
}

body.single-post .tutorial-review-note {
  max-width: 100%;
  align-items: flex-start;
}

body.single-post .tutorial-review-note > span:last-child {
  min-width: 0;
}

body.single-post .tutorial-content .eureka-faq .wp-block-details,
body.single-post .tutorial-content .wp-block-details.is-style-eureka-faq,
body.single-post .tutorial-content > .wp-block-details {
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.single-post .tutorial-content .eureka-faq .wp-block-details:first-of-type,
body.single-post .tutorial-content .wp-block-details.is-style-eureka-faq:first-of-type,
body.single-post .tutorial-content > .wp-block-details:first-of-type {
  border-top: 1px solid var(--line);
}

body.single-post .tutorial-content .eureka-faq .wp-block-details:first-of-type,
body.single-post .tutorial-content .eureka-faq .wp-block-details.is-style-eureka-faq:first-of-type {
  border-top: 0;
}

body.single-post .tutorial-content .eureka-faq .wp-block-details:hover,
body.single-post .tutorial-content .wp-block-details.is-style-eureka-faq:hover,
body.single-post .tutorial-content > .wp-block-details:hover,
body.single-post .tutorial-content .eureka-faq .wp-block-details[open],
body.single-post .tutorial-content .wp-block-details.is-style-eureka-faq[open],
body.single-post .tutorial-content > .wp-block-details[open] {
  border-color: var(--line);
  box-shadow: none;
}

body.single-post .tutorial-content .eureka-faq summary,
body.single-post .tutorial-content .wp-block-details.is-style-eureka-faq summary,
body.single-post .tutorial-content > .wp-block-details summary {
  padding: 15px 32px 15px 2px;
}

body.single-post .tutorial-content .eureka-faq summary::after,
body.single-post .tutorial-content .wp-block-details.is-style-eureka-faq summary::after,
body.single-post .tutorial-content > .wp-block-details summary::after {
  right: 2px;
}

body.single-post .tutorial-content .eureka-faq details > *:not(summary),
body.single-post .tutorial-content .wp-block-details.is-style-eureka-faq > *:not(summary),
body.single-post .tutorial-content > .wp-block-details > *:not(summary) {
  margin: 0 32px 16px 2px;
}

body.single-post .tutorial-content > h2,
body.single-post .tutorial-content > h3 {
  color: #000000;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

body.single-post .tutorial-content > h2 {
  font-size: 1.25rem;
}

body.single-post .tutorial-content > h3 {
  font-size: 1.1rem;
}

body.single-post .tutorial-content > .tutorial-section {
  margin: 2rem 0 0;
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.68;
}

body.single-post .tutorial-content > .tutorial-section h2,
body.single-post .tutorial-content > .tutorial-section h3 {
  margin: 0 0 0.65rem;
  color: #000000;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

body.single-post .tutorial-content > .tutorial-section p,
body.single-post .tutorial-content > .tutorial-section ul,
body.single-post .tutorial-content > .tutorial-section ol {
  font-family: var(--font-body);
  margin-top: 0.65rem;
  margin-bottom: 0;
}

body.single-post .tutorial-content > .tutorial-section ul,
body.single-post .tutorial-content > .tutorial-section ol {
  padding-left: 1.35rem;
}

body.single-post .tutorial-content .compare-table-wrap,
body.single-post .tutorial-content .wp-block-table {
  --eureka-table-bg: var(--cream);
  --eureka-table-line: #d8d8d8;
  margin: 2rem 0 0;
  overflow-x: auto;
  border-top: 1px solid var(--eureka-table-line);
  border-bottom: 1px solid var(--eureka-table-line);
  border-right: 1px solid var(--eureka-table-line);
  border-left: 1px solid var(--eureka-table-line);
  border-radius: var(--radius);
  background: var(--eureka-table-bg);
}

body.single-post .tutorial-content .compare-table-wrap table,
body.single-post .tutorial-content .wp-block-table table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: var(--eureka-table-bg);
  font-family: var(--font-body);
  font-size: 0.92rem;
}

body.single-post .tutorial-content .compare-table-wrap thead,
body.single-post .tutorial-content .wp-block-table thead,
body.single-post .tutorial-content .compare-table-wrap tbody,
body.single-post .tutorial-content .wp-block-table tbody,
body.single-post .tutorial-content .compare-table-wrap tr,
body.single-post .tutorial-content .wp-block-table tr {
  background: var(--eureka-table-bg) !important;
}

body.single-post .tutorial-content .compare-table-wrap th,
body.single-post .tutorial-content .wp-block-table th {
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid var(--eureka-table-line);
  background: var(--eureka-table-bg) !important;
  color: #000000;
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

body.single-post .tutorial-content .compare-table-wrap td,
body.single-post .tutorial-content .wp-block-table td {
  padding: 13px 16px;
  border: 0;
  border-bottom: 1px solid var(--eureka-table-line);
  background: var(--eureka-table-bg) !important;
  color: var(--gray);
  font-family: var(--font-body);
  vertical-align: top;
}

body.single-post .tutorial-content .compare-table-wrap tbody tr:last-child td,
body.single-post .tutorial-content .wp-block-table tbody tr:last-child td {
  border-bottom-color: var(--eureka-table-line);
}

body.single-post .tutorial-content .compare-table-wrap td:first-child,
body.single-post .tutorial-content .wp-block-table td:first-child,
body.single-post .tutorial-content .compare-table-wrap .m-name,
body.single-post .tutorial-content .wp-block-table .m-name {
  color: #000000;
  font-family: var(--font-display);
  font-weight: 700;
}

body.single-post .tutorial-content .wp-block-table figcaption {
  margin: 0;
  padding: 10px 16px 12px;
  border-top: 1px solid var(--eureka-table-line);
  background: var(--eureka-table-bg);
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.45;
}

body.single-post .tutorial-content h2,
body.single-post .tutorial-content h2.wp-block-heading {
  color: #000000 !important;
  font-family: var(--font-display) !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.single-post .tutorial-content {
  --tutorial-h2-text-gap: 0.5rem;
}

body.single-post .tutorial-content h2 {
  margin-bottom: 0 !important;
}

body.single-post .tutorial-content h2 + p,
body.single-post .tutorial-content h2 + ul,
body.single-post .tutorial-content h2 + ol,
body.single-post .tutorial-content h2 + .wp-block-group,
body.single-post .tutorial-content h2 + .wp-block-table,
body.single-post .tutorial-content h2 + .compare-table-wrap,
body.single-post .tutorial-content h2 + table,
body.single-post .tutorial-content .eureka-method-card-heading-row + p,
body.single-post .tutorial-content .eureka-method-card-heading-row + ul,
body.single-post .tutorial-content .eureka-method-card-heading-row + ol,
body.single-post .tutorial-content .eureka-method-card-heading-row + .wp-block-group,
body.single-post .tutorial-content .eureka-method-card-heading-row + .wp-block-table,
body.single-post .tutorial-content .eureka-method-card-heading-row + .compare-table-wrap,
body.single-post .tutorial-content .eureka-method-card-heading-row + table {
  margin-top: var(--tutorial-h2-text-gap) !important;
  margin-block-start: var(--tutorial-h2-text-gap) !important;
}

body.single-post .tutorial-content h2 + .wp-block-group > .wp-block-group__inner-container > :first-child,
body.single-post .tutorial-content .eureka-method-card-heading-row + .wp-block-group > .wp-block-group__inner-container > :first-child {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}

body.single-post .tutorial-content .eureka-faq > h2 {
  margin-bottom: 0.85rem !important;
}

.tutorial-finish-cards {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tutorial-done,
.tutorial-bookmark-tip {
  min-height: 112px;
  padding: 16px 18px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--navy);
  text-align: center;
}

.tutorial-done-icon,
.tutorial-bookmark-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.tutorial-done-icon {
  background: var(--green);
}

.tutorial-bookmark-icon {
  background: var(--green);
}

.tutorial-done-icon svg,
.tutorial-bookmark-icon svg {
  display: block;
}

.tutorial-bookmark-icon svg {
  transform: translateY(0.5px);
}

.tutorial-bookmark-star {
  fill: transparent;
  stroke: #fff;
  stroke-width: 1.75;
  stroke-linejoin: round;
  transition: fill 0.22s ease, transform 0.22s ease;
  transform-origin: center;
}

.tutorial-bookmark-tip.is-bookmarked .tutorial-bookmark-star {
  fill: #fff;
  transform: scale(1.05);
}

.tutorial-finish-cards.is-visible .tutorial-done-icon {
  animation: finish-icon-pop 0.58s cubic-bezier(0.2, 1.35, 0.35, 1) both;
}

@keyframes finish-icon-pop {
  0% {
    transform: scale(0.72);
  }

  62% {
    transform: scale(1.16);
  }

  100% {
    transform: scale(1);
  }
}

.tutorial-done strong,
.tutorial-bookmark-tip strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.92rem;
}

.tutorial-done > div,
.tutorial-bookmark-tip > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.tutorial-done > div > span,
.tutorial-bookmark-text {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
}

.tutorial-bookmark-tip kbd {
  min-width: 28px;
  margin: 0 2px;
  padding: 3px 7px;
  border: 1px solid rgba(22, 48, 42, 0.18);
  border-bottom-width: 3px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
}

.tutorial-key-plus {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.related-section {
  margin-top: 46px;
}

.related-section h2 {
  margin: 0 0 16px;
  color: #000000;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.related-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  box-shadow: none;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.related-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.related-card:focus-visible {
  outline: 3px solid rgba(42, 78, 58, 0.28);
  outline-offset: 4px;
}

.related-card-image {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  overflow: hidden;
  border-radius: 9px;
  background: var(--image-bg);
}

.related-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top left;
}

.related-card-title {
  min-width: 0;
  flex: 1;
  color: #000000;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
}

.related-card-arrow {
  color: #d1d5db;
  font-size: 1.25rem;
}

.tutorial-back-home {
  margin-top: 22px;
  text-align: center;
}

.tutorial-back-home a {
  color: #9ca3af;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
}

/* Standard pages */
.standard-page {
  width: min(calc(100% - 32px), 820px);
  margin: 0 auto;
  padding: 28px 0 72px;
}

.standard-page h1 {
  margin: 0 0 12px;
  color: #000000;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.6vw, 1.75rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.error404 .standard-page h1 {
  font-size: clamp(1.35rem, 3.4vw, 1.6rem);
}

.entry-content {
  color: var(--gray);
  font-size: 0.96rem;
  line-height: 1.58;
}

.entry-content > .wp-block-group {
  margin: 0 0 18px;
  padding: 14px 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.entry-content > .wp-block-group:first-child {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #000000;
  font-size: 1rem;
  line-height: 1.68;
}

.entry-content > .wp-block-group:first-child p,
.entry-content > .wp-block-group:first-child li {
  color: #000000;
}

.entry-content > .wp-block-group:first-child + .wp-block-group {
  margin-top: 0;
}

.entry-content > .wp-block-group > :first-child,
.entry-content > .wp-block-group > .is-layout-flow:first-child > :first-child {
  margin-top: 0;
}

.entry-content > .wp-block-group + .wp-block-group {
  margin-top: 18px;
}

.entry-content > p + .wp-block-group,
.entry-content > ul + .wp-block-group,
.entry-content > ol + .wp-block-group {
  margin-top: 1.5rem;
}

.entry-content > .wp-block-group + p,
.entry-content > .wp-block-group + ul,
.entry-content > .wp-block-group + ol {
  margin-top: 0.85rem;
}

.entry-content > p,
.entry-content > ul,
.entry-content > ol,
.entry-content .wp-block-group > p,
.entry-content .wp-block-group > ul,
.entry-content .wp-block-group > ol,
.entry-content .is-layout-flow > p,
.entry-content .is-layout-flow > ul,
.entry-content .is-layout-flow > ol {
  margin-block: 0;
}

.entry-content > p + p,
.entry-content .wp-block-group > p + p,
.entry-content .is-layout-flow > p + p {
  margin-block-start: 0.65rem; /*espaco entre paragrafos*/
}

.entry-content > p + ul,
.entry-content > p + ol,
.entry-content .wp-block-group > p + ul,
.entry-content .wp-block-group > p + ol,
.entry-content .is-layout-flow > p + ul,
.entry-content .is-layout-flow > p + ol {
  margin-block-start: 0.85rem;
}

.entry-content > ul + p,
.entry-content > ol + p,
.entry-content .wp-block-group > ul + p,
.entry-content .wp-block-group > ol + p,
.entry-content .is-layout-flow > ul + p,
.entry-content .is-layout-flow > ol + p {
  margin-block-start: 0.85rem;
}

.entry-content h2,
.entry-content h3 {
  margin: 34px 0 0;
  font-family: var(--font-display);
}

.entry-content .wp-block-group > h2,
.entry-content .wp-block-group > h3 {
  margin: 1.5rem 0 0;
  color: #000000;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.entry-content .wp-block-group > h2:first-child,
.entry-content .wp-block-group > h3:first-child,
.entry-content .wp-block-group > .is-layout-flow:first-child > h2:first-child,
.entry-content .wp-block-group > .is-layout-flow:first-child > h3:first-child {
  margin-top: 0;
}

.entry-content h2 + p,
.entry-content h3 + p,
.entry-content .wp-block-group h2 + p,
.entry-content .wp-block-group h3 + p,
.entry-content .wp-block-group h2 + .is-layout-flow,
.entry-content .wp-block-group h3 + .is-layout-flow,
.entry-content .is-layout-flow h2 + p,
.entry-content .is-layout-flow h3 + p {
  margin-block-start: 0.2rem;
}

.entry-content .wp-block-group h2 + .is-layout-flow > :first-child,
.entry-content .wp-block-group h3 + .is-layout-flow > :first-child {
  margin-top: 0;
}

.entry-content img {
  border-radius: 14px;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--cream);
  font-size: 0.9rem;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer-inner {
  width: min(calc(100% - 64px), var(--max));
  margin: 0 auto;
  padding: 38px 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(170px, 1fr) minmax(170px, 1fr);
  gap: 40px;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-brand-link .site-logo-custom {
  width: auto;
  height: 56px;
  max-width: 56px;
  display: block;
  object-fit: contain;
}

.footer-brand-name,
.footer-explore h2,
.footer-information h2 {
  color: var(--cream);
}

.footer-brand-name {
  margin: 0;
}

.footer-brand-name-primary {
  color: var(--cream);
}

.footer-brand-description {
  max-width: 320px;
  margin: 14px 0 0;
  color: rgba(246, 240, 225, 0.62);
  line-height: 1.6;
}

.footer-explore h2,
.footer-information h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.footer-menu a {
  display: inline-flex;
  color: rgba(246, 240, 225, 0.75);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--cream);
}

.site-footer a:focus-visible {
  outline: 3px solid rgba(217, 192, 142, 0.48);
  outline-offset: 4px;
  border-radius: 6px;
  color: var(--cream);
}

.site-footer-bottom {
  width: min(calc(100% - 64px), var(--max));
  margin: 0 auto;
  padding: 14px 0 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 16px;
}

.site-footer-bottom p {
  grid-column: 2;
  justify-self: center;
  margin: 0;
  color: rgba(246, 240, 225, 0.5);
  font-size: 0.82rem;
}

.lang-switch {
  grid-column: 3;
  justify-self: end;
  display: flex;
  gap: 14px;
  font-size: 0.78rem;
}

.lang-switch a {
  color: rgba(246, 240, 225, 0.5);
}

.lang-switch a.active {
  color: var(--brass-soft);
}

@keyframes page-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 700px) {
  .tutorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .tutorial-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .site-header-inner,
  .home-hero-inner,
  .home-content,
  .site-footer-inner,
  .site-footer-bottom {
    width: min(calc(100% - 36px), var(--max));
  }

  .site-header-inner {
    min-height: 52px;
    gap: 12px;
  }

  body.single .site-header-inner {
    grid-template-columns: max-content minmax(0, 1fr) auto;
  }

  .site-logo-link {
    gap: 4px;
    margin-left: 6px;
  }

  .site-logo-custom {
    height: 40px;
    max-width: 40px;
  }

  .site-logo-text {
    font-size: 1.42rem;
  }

  .header-search {
    min-width: 0;
  }

  .header-search input {
    height: 38px;
    padding-left: 36px;
    font-size: 0.9rem;
  }

  .header-search-icon {
    left: 13px;
  }

  .header-image-toggle {
    min-height: 38px;
    padding: 0 10px;
    border-radius: 999px;
    gap: 6px;
  }

  .header-image-toggle .image-toggle-label {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .home-hero {
    padding: 38px 0 18px;
  }

  .home-hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.45rem);
    line-height: 1.03;
  }

  .home-hero-copy {
    font-size: 0.98rem;
  }

  .hero-search {
    padding-left: 14px;
    gap: 10px;
  }

  .hero-search input {
    font-size: 0.94rem;
  }

  .hero-search-submit {
    padding: 11px 16px;
  }

  .hero-categories {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
    padding-bottom: 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .hero-categories::-webkit-scrollbar {
    display: none;
  }

  .hero-category {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .section-heading h2 {
    font-size: 1.55rem;
  }

  .home-content .tutorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .tutorial-card-body {
    min-height: 0;
    padding: 18px;
  }

  .home-content .tutorial-card-body {
    padding: 10px 11px 13px;
    gap: 5px;
  }

  .home-content .tutorial-card .category-badge {
    padding: 4px 7px;
    font-size: 0.62rem;
  }

  .home-content .tutorial-card h3 {
    font-size: 0.9rem;
    line-height: 1.28;
  }

  .home-content .tutorial-card-excerpt {
    font-size: 0.76rem;
    line-height: 1.42;
    -webkit-line-clamp: 2;
  }

  .home-cta {
    padding: 28px 24px;
    align-items: flex-start;
    flex-direction: column;
  }

  .home-cta a {
    width: 100%;
    text-align: center;
  }

  body.single-post .tutorial-back-link {
    margin-left: 0;
  }

  body.single-post .tutorial-page {
    width: 100vw;
    max-width: 100vw;
    margin-right: 0;
    margin-left: 0;
    padding-right: 16px;
    padding-left: 16px;
  }

  .tutorial-content > .wp-block-group.eureka-content-card {
    margin-bottom: 14px;
    padding: 14px 14px 16px;
    border-radius: 14px;
  }

  .tutorial-content > .wp-block-group.eureka-content-card.eureka-method-card {
    padding-left: 62px;
  }

  .tutorial-content > .wp-block-group.eureka-content-card.has-reddit-source-badge {
    padding-bottom: 8px;
  }

  .tutorial-content .eureka-quick-summary {
    margin-bottom: 14px;
    padding: 14px 14px 16px;
  }

  .tutorial-content > .wp-block-group.eureka-content-card.eureka-method-card::before {
    left: 14px;
    top: 14px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .tutorial-content .eureka-content-card .eureka-reddit-source-wrap {
    display: block;
  }

  .tutorial-content .eureka-content-card .eureka-reddit-source-link {
    width: fit-content;
    max-width: 100%;
    margin: 0;
    display: flex;
  }

  .tutorial-content .eureka-content-card p.eureka-reddit-source {
    margin: 0.65rem 0 0;
    clear: both;
    display: flex;
    justify-content: flex-end;
    text-align: right;
  }

  .tutorial-content .eureka-content-card p.eureka-reddit-source a {
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    display: flex;
  }

  .tutorial-lightbox {
    padding: 16px;
  }

  .tutorial-lightbox-dialog {
    height: auto;
    max-height: calc(100vh - 32px);
    gap: 10px;
  }

  .tutorial-lightbox-close {
    top: 16px;
    right: 16px;
    min-height: 34px;
    padding: 7px 11px;
    font-size: 0.68rem;
  }

  .tutorial-lightbox-text {
    max-height: 24vh;
  }

  .tutorial-lightbox-text p,
  .tutorial-lightbox-text ul,
  .tutorial-lightbox-text ol {
    font-size: 0.78rem;
  }

  .tutorial-lightbox-image-wrap,
  .tutorial-lightbox-image {
    max-height: 56vh;
  }

  .tutorial-lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.55rem;
  }

  .tutorial-lightbox-nav-prev {
    left: 16px;
  }

  .tutorial-lightbox-nav-next {
    right: 16px;
  }

  .copy-shortcode--block {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .copy-shortcode--block .copy-shortcode__button {
    width: 100%;
    margin-left: 0;
  }

  .tutorial-finish-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tutorial-bookmark-tip {
    display: none;
  }

  .site-footer-inner {
    padding: 28px 0 20px;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer-bottom {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }

  .site-footer-bottom p,
  .lang-switch {
    grid-column: 1;
    justify-self: center;
  }

  .footer-menu {
    gap: 9px;
  }
}

@media (max-width: 430px) {
  .site-header-inner,
  .home-hero-inner,
  .home-content,
  .listing-page,
  .tutorial-page,
  .standard-page,
  .site-footer-inner,
  .site-footer-bottom {
    width: min(calc(100% - 24px), var(--max));
  }

  .site-header-inner {
    gap: 8px;
  }

  .site-header .site-logo-text {
    display: inline;
    font-size: 1.3rem;
  }

  .site-logo-custom {
    height: 40px;
    max-width: 40px;
  }

  .header-search input {
    height: 36px;
    font-size: 0.86rem;
  }

  .home-hero h1 {
    font-size: 1.95rem;
  }

  .hero-search {
    padding-left: 12px;
  }

  .hero-search-submit {
    padding-inline: 13px;
  }

  .tutorial-grid {
    gap: 14px;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@keyframes fadeUpPage {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
