.guides-page {
  --guides-hero-bg: radial-gradient(circle at 8% 0%, rgba(30, 148, 103, 0.22), transparent 36%),
    radial-gradient(circle at 96% 4%, rgba(223, 247, 236, 0.8), transparent 42%),
    linear-gradient(165deg, #f7fff9 0%, #f5fdf8 44%, #fffdf5 100%);
  --guides-card-bg: rgba(255, 255, 255, 0.92);
  --guides-border: rgba(26, 76, 63, 0.13);
  --guides-shadow: 0 20px 38px rgba(15, 23, 42, 0.1);
  --guides-shadow-soft: 0 12px 24px rgba(15, 23, 42, 0.06);
  --guides-highlight: rgba(30, 148, 103, 0.14);
  --guides-ink: #0f2e29;
  --guides-cream: #fff9ec;
}

[data-theme="dark"] .guides-page {
  --guides-hero-bg: radial-gradient(circle at 8% 0%, rgba(30, 148, 103, 0.24), transparent 36%),
    radial-gradient(circle at 96% 4%, rgba(30, 70, 56, 0.32), transparent 42%),
    linear-gradient(165deg, #0f172a 0%, #10201d 44%, #111827 100%);
  --guides-card-bg: rgba(15, 23, 42, 0.9);
  --guides-border: rgba(148, 163, 184, 0.26);
  --guides-shadow: 0 24px 46px rgba(2, 6, 23, 0.34);
  --guides-shadow-soft: 0 16px 32px rgba(2, 6, 23, 0.24);
  --guides-highlight: rgba(30, 148, 103, 0.22);
  --guides-ink: #effcf7;
  --guides-cream: rgba(30, 41, 59, 0.85);
}

.guides-main {
  background: transparent;
}

.guides-hero,
.guide-detail__hero {
  padding: 3.6rem 0;
  background: var(--guides-hero-bg);
}

.guides-hero h1,
.guide-detail__hero h1 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1.04;
  max-width: 16ch;
}

.guides-hero__subtitle,
.guide-detail__description,
.guide-detail__intro {
  margin-top: 1rem;
  max-width: 72ch;
  font-size: 1.05rem;
  line-height: 1.68;
  color: var(--text-light);
}

.guide-detail__intro {
  margin-top: 1.25rem;
}

.guides-hero__actions,
.guide-inline-cta__actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn.btn-secondary {
  background: transparent;
  border: 1px solid var(--guides-border);
  color: var(--text);
}

.btn.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.guides-finder,
.guides-listing,
.guide-detail__content,
.guide-related {
  padding: 4rem 0;
}

.guides-categories__grid,
.guides-listing__grid,
.guide-related__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.is-hidden {
  display: none !important;
}

.guides-card {
  grid-column: span 6;
  background: var(--guides-card-bg);
  border: 1px solid var(--guides-border);
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: var(--guides-shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guides-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--guides-shadow);
}

.guides-card--guide {
  grid-column: span 4;
}

.guides-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.guides-card p {
  margin: 0.75rem 0 0;
  color: var(--text-light);
  line-height: 1.6;
}

.guides-card__category,
.guide-detail__category {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.8rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--guides-highlight);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.guides-card__category-icon {
  font-size: 0.84em;
  line-height: 1;
}

.guides-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  padding: 0.48rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(30, 148, 103, 0.28);
  background: rgba(30, 148, 103, 0.08);
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.guides-card__link:hover {
  text-decoration: none;
  background: rgba(30, 148, 103, 0.16);
  border-color: rgba(30, 148, 103, 0.5);
}

.guide-section + .guide-section {
  margin-top: 2rem;
}

.guide-section h2,
.guide-info h2,
.guide-faqs h2,
.guide-related h2,
.guide-inline-cta h2,
.guides-cta h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.6vw, 2.05rem);
}

.guide-section p,
.guide-info p,
.guide-inline-cta p,
.guide-faq p,
.guides-cta p,
.guide-not-found p {
  margin: 0.85rem 0 0;
  color: var(--text-light);
  line-height: 1.72;
}

.guide-info,
.guide-inline-cta {
  margin-top: 2.2rem;
  border-radius: 18px;
  border: 1px solid var(--guides-border);
  background: var(--guides-card-bg);
  box-shadow: var(--guides-shadow-soft);
  padding: 1.5rem;
}

.guide-info--tip {
  border-left: 4px solid var(--primary);
}

.guide-info--example {
  border-left: 4px solid #1877f2;
}

.guide-faqs {
  margin-top: 2.2rem;
}

.guide-faqs__list {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.guide-faq {
  border: 1px solid var(--guides-border);
  border-radius: 14px;
  background: var(--guides-card-bg);
  padding: 0.95rem 1rem;
}

.guide-faq summary {
  cursor: pointer;
  font-weight: 700;
}

.guide-faq p {
  margin-top: 0.7rem;
}

.guides-detail-page .guide-detail__hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.4rem;
  align-items: start;
}

.guides-detail-page .guide-detail__hero-copy h1 {
  max-width: 16ch;
}

.guides-detail-page .guide-detail__meta {
  margin-top: 1rem;
  color: #486258;
  font-size: 0.9rem;
  font-weight: 700;
}

.guides-detail-page .guide-detail__tags {
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.guides-detail-page .guide-detail__tags li {
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(30, 148, 103, 0.28);
  background: rgba(255, 255, 255, 0.76);
  color: #115741;
  font-size: 0.78rem;
  font-weight: 700;
}

.guides-detail-page .guide-detail__hero-panel {
  border-radius: 18px;
  border: 1px solid var(--guides-border);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--guides-shadow-soft);
  padding: 1rem;
}

.guides-detail-page .guide-detail__hero-kicker {
  margin: 0;
  color: #14513d;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guides-detail-page .guide-detail__hero-list {
  margin: 0.75rem 0 0.95rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.42rem;
}

.guides-detail-page .guide-detail__hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.45;
}

.guides-detail-page .guide-detail__hero-list li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
}

.guides-detail-page .guide-detail__hero-panel .btn {
  width: 100%;
  justify-content: center;
}

.guides-detail-page .guide-detail__content--enhanced {
  padding-top: 3.2rem;
}

.guides-detail-page .guide-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
  gap: 1.25rem;
  align-items: start;
}

.guides-detail-page .guide-detail__main {
  display: grid;
  gap: 0.6rem;
  max-width: 760px;
}

.guides-detail-page .guide-section {
  padding: 0.35rem 0.15rem 1.1rem;
  border-bottom: 1px solid rgba(26, 76, 63, 0.1);
}

.guides-detail-page .guide-section:last-child {
  border-bottom: 0;
  padding-bottom: 0.2rem;
}

.guides-detail-page .guide-section--featured {
  border: 1px solid rgba(26, 76, 63, 0.12);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--guides-shadow-soft);
  padding: 1.2rem 1.15rem;
}

.guides-detail-page .guide-section--flow h2 {
  font-size: clamp(1.24rem, 2vw, 1.6rem);
}

.guides-detail-page .guide-section--flow p {
  max-width: 68ch;
}

.guides-detail-page .guide-section__step {
  margin: 0 0 0.55rem;
  color: #1a6f58;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guides-detail-page .guide-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.guides-detail-page .guide-info {
  margin-top: 0;
  height: 100%;
}

.guides-detail-page .guide-info h2 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.guides-detail-page .guide-info--tip h2::before {
  content: "💡";
  font-size: 0.95em;
}

.guides-detail-page .guide-info--example h2::before {
  content: "🧾";
  font-size: 0.95em;
}

.guides-detail-page .guide-inline-cta {
  margin-top: 0.9rem;
  border: 1px solid rgba(30, 148, 103, 0.24);
  background: linear-gradient(145deg, rgba(230, 250, 241, 0.96), rgba(255, 255, 255, 0.98));
}

.guides-detail-page .guide-inline-cta h2 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.guides-detail-page .guide-inline-cta h2::before {
  content: "✓";
  color: #1e9467;
  font-size: 0.92em;
  font-weight: 800;
}

.guides-detail-page .guide-faqs {
  margin-top: 0.2rem;
}

.guides-detail-page .guide-faq {
  padding: 0.8rem 0.9rem;
}

.guides-detail-page .guide-faq summary {
  list-style: none;
  position: relative;
  padding-right: 1.2rem;
}

.guides-detail-page .guide-faq summary::-webkit-details-marker {
  display: none;
}

.guides-detail-page .guide-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: #1a6f58;
  font-weight: 800;
}

.guides-detail-page .guide-faq[open] summary::after {
  content: "−";
}

.guides-detail-page .guide-detail__aside {
  position: sticky;
  top: calc(var(--header-height) + 18px);
}

.guides-detail-page .guide-detail__aside-card {
  border: 1px solid rgba(26, 76, 63, 0.12);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 250, 0.92));
  box-shadow: var(--guides-shadow-soft);
  padding: 0.95rem;
}

.guides-detail-page .guide-detail__aside-kicker {
  margin: 0;
  color: #164c3c;
  font-size: 0.8rem;
  font-weight: 800;
}

.guides-detail-page .guide-detail__aside-list {
  list-style: none;
  margin: 0.7rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.guides-detail-page .guide-detail__aside-list a {
  color: #1f3f37;
  text-decoration: none;
  font-size: 0.88rem;
}

.guides-detail-page .guide-detail__aside-list a:hover {
  color: #0f6248;
  text-decoration: underline;
}

.guides-detail-page .guide-detail__aside-cta {
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(26, 76, 63, 0.1);
}

.guides-detail-page .guide-detail__aside-cta p {
  margin: 0 0 0.62rem;
  font-size: 0.84rem;
  color: #395349;
}

.guides-detail-page .guide-detail__aside-cta .btn {
  width: 100%;
  justify-content: center;
}

.guides-detail-page .guide-related .guides-card {
  position: relative;
  overflow: hidden;
}

.guides-detail-page .guide-related .guides-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: var(--guide-accent, var(--primary));
}

.guides-detail-page .guide-related .guides-card--guide {
  display: flex;
  flex-direction: column;
  min-height: 238px;
  padding: 1.2rem 1.15rem 1rem;
  background: #ffffff;
  border: 1px solid rgba(26, 76, 63, 0.11);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.guides-detail-page .guide-related .guides-card--guide .guides-card__category {
  margin-bottom: 0.6rem;
  font-size: 0.76rem;
  letter-spacing: 0.01em;
  align-self: flex-start;
  width: auto;
}

.guides-detail-page .guide-related .guides-card--guide h3 {
  font-size: 1.04rem;
  line-height: 1.3;
  min-height: 2.5em;
  color: #1e293b;
}

.guides-detail-page .guide-related .guides-card--guide > p {
  margin-top: 0.56rem;
  font-size: 0.9rem;
  line-height: 1.46;
  color: #5f6f89;
}

.guides-detail-page .guide-related .guides-card__meta {
  margin-top: 0;
  color: #5c6f68;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.guides-detail-page .guide-related .guides-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding-top: 0.78rem;
  border-top: 1px solid rgba(26, 76, 63, 0.09);
}

.guides-detail-page .guide-related .guides-card--guide .guides-card__link {
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.9rem;
  color: #156b4e;
}

.guides-detail-page .guide-related .guides-card--guide .guides-card__link:hover {
  background: transparent;
  border: 0;
  color: #0e513b;
  text-decoration: underline;
}

.guides-cta {
  padding: 4rem 0 4.8rem;
}

.guides-cta .container {
  border-radius: 22px;
  background: linear-gradient(135deg, #0f172a 0%, #13333f 54%, #1e9467 100%);
  color: #fff;
  padding: 2rem;
}

.guides-cta h2,
.guides-cta p {
  color: #fff;
}

.guides-cta .btn {
  margin-top: 1.2rem;
  background: #fff;
  color: #0f172a;
}

.guide-not-found {
  padding: 4.5rem 0 5rem;
  text-align: center;
}

.guide-not-found h1 {
  margin: 0;
}

.guide-not-found .btn {
  margin-top: 1.25rem;
}

/* Home /guias visual redesign */
.guides-home-page .guides-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: center;
}

.guides-home-page .guides-hero::before,
.guides-home-page .guides-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.guides-home-page .guides-hero::before {
  width: 300px;
  height: 300px;
  right: -90px;
  top: -80px;
  background: radial-gradient(circle, rgba(30, 148, 103, 0.2), rgba(30, 148, 103, 0));
}

.guides-home-page .guides-hero::after {
  width: 240px;
  height: 240px;
  left: -90px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(255, 204, 102, 0.3), rgba(255, 204, 102, 0));
}

.guides-home-page .guides-hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: 2rem;
  min-height: calc(100svh - var(--header-height) - 4rem);
}

.guides-home-page .guides-hero h1 {
  color: var(--guides-ink);
  font-size: clamp(2.2rem, 4.1vw, 3.8rem);
  max-width: 13ch;
  letter-spacing: -0.03em;
}

.guides-home-page .guides-hero__subtitle {
  max-width: 55ch;
}

.guides-home-page .guides-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.guides-home-page .guides-hero__chips li {
  padding: 0.36rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(30, 148, 103, 0.28);
  background: rgba(255, 255, 255, 0.7);
  color: #135844;
  font-size: 0.84rem;
  font-weight: 600;
}

.guides-home-page .guides-hero__actions .btn {
  min-width: 170px;
  justify-content: center;
}

.guides-home-page .guides-hero__panel {
  border-radius: 28px;
  padding: 1.2rem;
  border: 1px solid var(--guides-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(247, 253, 249, 0.92));
  box-shadow: var(--guides-shadow);
}

.guides-home-page .guides-hero-visual {
  position: relative;
  min-height: 390px;
  display: grid;
  place-items: center;
}

.guides-home-page .guides-phone {
  width: min(320px, 100%);
  border-radius: 28px;
  padding: 1rem;
  background: linear-gradient(165deg, #1e9467 0%, #1b815b 62%, #146348 100%);
  box-shadow: 0 28px 42px rgba(15, 59, 43, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.guides-home-page .guides-phone__top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.15rem 0.2rem 0.75rem;
}

.guides-home-page .guides-phone__top p {
  margin: 0;
  color: #ecfff6;
  font-weight: 700;
}

.guides-home-page .guides-phone__logo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #b6ffd8;
  box-shadow: 0 0 0 6px rgba(182, 255, 216, 0.2);
}

.guides-home-page .guides-phone__cards {
  display: grid;
  gap: 0.72rem;
}

.guides-home-page .guides-mini-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.62rem;
  border-radius: 14px;
  padding: 0.6rem 0.68rem;
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.guides-home-page .guides-mini-card span {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(30, 148, 103, 0.12);
  font-size: 1rem;
}

.guides-home-page .guides-mini-card p,
.guides-home-page .guides-mini-card small {
  margin: 0;
}

.guides-home-page .guides-mini-card p {
  color: #0f2e29;
  font-size: 0.92rem;
  font-weight: 700;
}

.guides-home-page .guides-mini-card small {
  color: #4b5563;
  font-size: 0.72rem;
}

.guides-home-page .guides-hero__panel-note {
  margin: 0.9rem 0 0;
  text-align: center;
  color: #134938;
  font-weight: 700;
}

.guides-home-page .guides-hero-visual__float {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
  font-size: 1.2rem;
}

.guides-home-page .guides-hero-visual__float--home {
  left: 4%;
  top: 22%;
}

.guides-home-page .guides-hero-visual__float--travel {
  right: 8%;
  top: 16%;
}

.guides-home-page .guides-hero-visual__float--pot {
  left: 10%;
  bottom: 15%;
}

.guides-home-page .guides-hero-visual__float--money {
  right: 8%;
  bottom: 13%;
}

.guide-theme--travel {
  --guide-accent: #2d9f8b;
}

.guide-theme--home {
  --guide-accent: #1e9467;
}

.guide-theme--pot {
  --guide-accent: #7aa43a;
}

.guide-theme--apps {
  --guide-accent: #1a6f58;
}

.guides-home-page .guides-card {
  position: relative;
  overflow: hidden;
}

.guides-home-page .guides-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: var(--guide-accent, var(--primary));
}

.guides-home-page .guides-card--category {
  grid-column: span 3;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 252, 248, 0.92));
  padding: 1rem 1.05rem;
  min-height: 152px;
  cursor: pointer;
}

.guides-home-page .guides-card--category-link {
  display: block;
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.guides-home-page .guides-card--category-link:hover,
.guides-home-page .guides-card--category-link:active,
.guides-home-page .guides-card--category-link:visited {
  color: inherit;
  text-decoration: none;
}

.guides-home-page .guides-card--category-link:focus-visible {
  outline: 2px solid rgba(30, 148, 103, 0.45);
  outline-offset: 2px;
}

.guides-home-page .guides-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: rgba(30, 148, 103, 0.1);
}

.guides-home-page .guides-card__hint {
  display: inline-flex;
  margin-top: 0.65rem;
  color: var(--guide-accent, var(--primary));
  font-weight: 700;
  text-decoration: none;
}

.guides-home-page .guides-card__hint:hover,
.guides-home-page .guides-card__hint:active,
.guides-home-page .guides-card__hint:focus,
.guides-home-page .guides-card__hint:visited {
  color: var(--guide-accent, var(--primary));
  text-decoration: none;
}

.guides-home-page .guides-card--category h3 {
  margin-top: 0.45rem;
  font-size: 1.08rem;
}

.guides-home-page .guides-card--category p {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.guides-home-page .guides-listing__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.guides-home-page .guides-finder {
  padding-top: 2.2rem;
  padding-bottom: 1.1rem;
}

.guides-home-page .guides-listing {
  padding-top: 2.2rem;
}

.guides-home-page .guides-finder__header {
  margin-bottom: 1.35rem;
}

.guides-home-page .guides-finder__controls {
  max-width: 980px;
  margin: 0 auto;
  padding: 1rem;
  border: 1px solid rgba(26, 76, 63, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 252, 250, 0.9));
  box-shadow: var(--guides-shadow-soft);
}

.guides-home-page .guides-finder__search {
  display: grid;
  gap: 0.4rem;
}

.guides-home-page .guides-finder__search-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #164c3c;
}

.guides-home-page .guides-finder__search input {
  width: 100%;
  border: 1px solid rgba(26, 76, 63, 0.2);
  border-radius: 12px;
  background: #fff;
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
  color: #1f2937;
}

.guides-home-page .guides-finder__search input:focus {
  outline: 2px solid rgba(30, 148, 103, 0.35);
  outline-offset: 1px;
  border-color: rgba(30, 148, 103, 0.42);
}

.guides-home-page .guides-finder__filters {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.guides-home-page .guides-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(30, 148, 103, 0.28);
  background: rgba(255, 255, 255, 0.9);
  color: #115741;
  border-radius: 999px;
  padding: 0.34rem 0.72rem;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.guides-home-page .guides-filter span {
  font-size: 0.92em;
  line-height: 1;
}

.guides-home-page .guides-filter:hover {
  border-color: rgba(30, 148, 103, 0.54);
  background: rgba(30, 148, 103, 0.08);
}

.guides-home-page .guides-filter.is-active {
  background: #1e9467;
  border-color: #1e9467;
  color: #fff;
}

.guides-home-page .guides-finder__count {
  margin: 0.75rem 0 0;
  color: #55716a;
  font-size: 0.84rem;
  font-weight: 700;
}

.guides-home-page .guides-empty-state {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 14px;
  border: 1px dashed rgba(30, 148, 103, 0.35);
  background: rgba(30, 148, 103, 0.06);
}

.guides-home-page .guides-empty-state p {
  margin: 0;
  color: #245746;
}

.guides-home-page .guides-card__meta {
  margin-top: 0;
  color: #5c6f68;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.guides-home-page .guides-card--guide {
  display: flex;
  flex-direction: column;
  min-height: 238px;
  padding: 1.2rem 1.15rem 1rem;
  background: #ffffff;
  border: 1px solid rgba(26, 76, 63, 0.11);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.guides-home-page .guides-card--guide .guides-card__category {
  margin-bottom: 0.6rem;
  font-size: 0.76rem;
  letter-spacing: 0.01em;
  align-self: flex-start;
  width: auto;
}

.guides-home-page .guides-card--guide h3 {
  font-size: 1.04rem;
  line-height: 1.3;
  min-height: 2.5em;
  color: #1e293b;
}

.guides-home-page .guides-card--guide > p {
  margin-top: 0.56rem;
  font-size: 0.9rem;
  line-height: 1.46;
  color: #5f6f89;
}

.guides-home-page .guides-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding-top: 0.78rem;
  border-top: 1px solid rgba(26, 76, 63, 0.09);
}

.guides-home-page .guides-card--guide .guides-card__link {
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.9rem;
  color: #156b4e;
}

.guides-home-page .guides-card--guide .guides-card__link:hover {
  background: transparent;
  border: 0;
  color: #0e513b;
  text-decoration: underline;
}

.guides-home-page .guides-listing__grid {
  gap: 1.15rem;
}

.guides-home-page .guides-cta {
  padding-top: 3.2rem;
}

.guides-home-page .guides-cta .container {
  border-radius: 28px;
  background: linear-gradient(145deg, #106e4f 0%, #1e9467 52%, #2aaf7f 100%);
  padding: 2rem;
  box-shadow: 0 24px 40px rgba(16, 110, 79, 0.28);
}

.guides-home-page .guides-cta__actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.guides-home-page .guides-cta__actions .btn {
  margin-top: 0;
  min-width: 170px;
  justify-content: center;
}

.guides-home-page .guides-cta .store-badges {
  gap: 0.65rem;
}

.guides-home-page .guides-cta .store-badge-link,
.guides-home-page .guides-cta .store-badge-soon {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.guides-home-page .guides-cta .store-badge-link:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.guides-home-page .nav-links a[href$="/guias"] {
  color: var(--primary-dark);
}

.guides-home-page .nav-links a[href$="/guias"]::after {
  width: 100%;
}

@media (max-width: 1120px) {
  .guides-home-page .guides-hero__layout {
    gap: 1.5rem;
  }
}

@media (max-width: 991px) {
  .guides-card,
  .guides-card--guide {
    grid-column: span 6;
  }

  .guides-home-page .guides-card--category {
    grid-column: span 12;
  }

  .guides-home-page .guides-hero__layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .guides-home-page .guides-hero h1,
  .guides-home-page .guides-hero__subtitle {
    max-width: 100%;
  }

  .guides-home-page .guides-hero__panel {
    max-width: 520px;
    margin: 0 auto;
  }

  .guides-home-page .guides-listing__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .guides-detail-page .guide-detail__hero-layout,
  .guides-detail-page .guide-detail__layout,
  .guides-detail-page .guide-info-grid {
    grid-template-columns: 1fr;
  }

  .guides-detail-page .guide-detail__aside {
    order: -1;
    position: static;
    top: auto;
  }
}

@media (max-width: 768px) {
  .guides-hero,
  .guide-detail__hero,
  .guides-categories,
  .guides-listing,
  .guide-detail__content,
  .guide-related,
  .guides-cta {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .guides-card,
  .guides-card--guide {
    grid-column: span 12;
  }

  .guides-cta .container {
    padding: 1.5rem;
  }

  .guides-home-page .guides-hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
  }

  .guides-home-page .guides-finder,
  .guides-home-page .guides-listing {
    padding-top: 1.9rem;
    padding-bottom: 1.9rem;
  }

  .guides-home-page .guides-hero {
    min-height: auto;
  }

  .guides-home-page .guides-hero__actions .btn {
    width: 100%;
  }

  .guides-home-page .guides-hero-visual {
    min-height: 340px;
  }

  .guides-home-page .guides-hero-visual__float {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .guides-home-page .guides-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .guides-home-page .guides-cta .store-badges {
    width: 100%;
    justify-content: center;
  }

  .guides-detail-page .guide-detail__hero-panel,
  .guides-detail-page .guide-section,
  .guides-detail-page .guide-info,
  .guides-detail-page .guide-inline-cta,
  .guides-detail-page .guide-detail__aside-card {
    padding: 1rem;
  }
}

/* ── Dark theme overrides ── */

[data-theme="dark"] .marketing-page.guides-page main {
  background: #1A202C;
}

[data-theme="dark"] .guides-detail-page .guide-detail__meta {
  color: #94a3b8;
}

[data-theme="dark"] .guides-detail-page .guide-detail__tags li {
  background: rgba(30, 148, 103, 0.15);
  border-color: rgba(30, 148, 103, 0.35);
  color: #6ee7b7;
}

[data-theme="dark"] .guides-detail-page .guide-detail__hero-panel {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(148, 163, 184, 0.18);
}

[data-theme="dark"] .guides-detail-page .guide-detail__hero-kicker {
  color: #6ee7b7;
}

[data-theme="dark"] .guides-detail-page .guide-detail__hero-list li {
  color: #cbd5e1;
}

[data-theme="dark"] .guides-detail-page .guide-section--featured {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(148, 163, 184, 0.18);
}

[data-theme="dark"] .guides-detail-page .guide-section {
  border-bottom-color: rgba(148, 163, 184, 0.12);
}

[data-theme="dark"] .guides-detail-page .guide-section__step {
  color: #6ee7b7;
}

[data-theme="dark"] .guides-detail-page .guide-inline-cta {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(16, 32, 29, 0.95));
  border-color: rgba(30, 148, 103, 0.3);
}

[data-theme="dark"] .guides-detail-page .guide-detail__aside-card {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(148, 163, 184, 0.18);
}

[data-theme="dark"] .guides-detail-page .guide-detail__aside-kicker {
  color: #6ee7b7;
}

[data-theme="dark"] .guides-detail-page .guide-detail__aside-list a {
  color: #94d5b8;
}

[data-theme="dark"] .guides-detail-page .guide-detail__aside-list a:hover {
  color: #6ee7b7;
}

[data-theme="dark"] .guides-detail-page .guide-detail__aside-cta {
  border-top-color: rgba(148, 163, 184, 0.15);
}

[data-theme="dark"] .guides-detail-page .guide-detail__aside-cta p {
  color: #94a3b8;
}

[data-theme="dark"] .guides-detail-page .guide-related .guides-card--guide,
[data-theme="dark"] .guides-home-page .guides-card--guide {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(148, 163, 184, 0.16);
}

[data-theme="dark"] .guides-detail-page .guide-related .guides-card--guide h3,
[data-theme="dark"] .guides-home-page .guides-card--guide h3 {
  color: #e2e8f0;
}

[data-theme="dark"] .guides-detail-page .guide-related .guides-card--guide > p,
[data-theme="dark"] .guides-home-page .guides-card--guide > p {
  color: #94a3b8;
}

[data-theme="dark"] .guides-detail-page .guide-related .guides-card__footer,
[data-theme="dark"] .guides-home-page .guides-card__footer {
  border-top-color: rgba(148, 163, 184, 0.12);
}

[data-theme="dark"] .guides-detail-page .guide-related .guides-card__meta,
[data-theme="dark"] .guides-home-page .guides-card__meta {
  color: #94a3b8;
}

[data-theme="dark"] .guides-detail-page .guide-related .guides-card--guide .guides-card__link,
[data-theme="dark"] .guides-home-page .guides-card--guide .guides-card__link {
  color: #6ee7b7;
}

[data-theme="dark"] .guides-detail-page .guide-related .guides-card--guide .guides-card__link:hover,
[data-theme="dark"] .guides-home-page .guides-card--guide .guides-card__link:hover {
  color: #a7f3d0;
}

[data-theme="dark"] .guides-home-page .guides-card--category {
  background: rgba(15, 23, 42, 0.88);
}

[data-theme="dark"] .guides-home-page .guides-hero__chips li {
  background: rgba(30, 148, 103, 0.15);
  border-color: rgba(30, 148, 103, 0.32);
  color: #6ee7b7;
}

[data-theme="dark"] .guides-home-page .guides-hero__panel {
  background: rgba(15, 23, 42, 0.88);
}

[data-theme="dark"] .guides-home-page .guides-hero__panel-note {
  color: #6ee7b7;
}

[data-theme="dark"] .guides-home-page .guides-finder__controls {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(148, 163, 184, 0.18);
}

[data-theme="dark"] .guides-home-page .guides-finder__search-label {
  color: #94d5b8;
}

[data-theme="dark"] .guides-home-page .guides-finder__search input {
  background: rgba(2, 6, 23, 0.6);
  border-color: rgba(148, 163, 184, 0.22);
  color: #e2e8f0;
}

[data-theme="dark"] .guides-home-page .guides-finder__search input::placeholder {
  color: #64748b;
}

[data-theme="dark"] .guides-home-page .guides-filter {
  background: rgba(30, 148, 103, 0.1);
  border-color: rgba(30, 148, 103, 0.3);
  color: #6ee7b7;
}

[data-theme="dark"] .guides-home-page .guides-filter:hover {
  background: rgba(30, 148, 103, 0.2);
  border-color: rgba(30, 148, 103, 0.5);
}

[data-theme="dark"] .guides-home-page .guides-finder__count {
  color: #94a3b8;
}

[data-theme="dark"] .guides-home-page .guides-empty-state {
  background: rgba(30, 148, 103, 0.08);
  border-color: rgba(30, 148, 103, 0.25);
}

[data-theme="dark"] .guides-home-page .guides-empty-state p {
  color: #94d5b8;
}
