/*
Theme Name: ErickHDRHQ Child
Template: twentytwentyfive
Version: 1.0.0
Description: Tema editorial geek com energia de portal pop.
*/

:root {
  --eh-bg: #f4efe6;
  --eh-surface: #fffdf8;
  --eh-surface-strong: #fff4cf;
  --eh-ink: #111111;
  --eh-muted: #4f4b45;
  --eh-line: #d9c9ad;
  --eh-red: #d91f26;
  --eh-red-deep: #9d1117;
  --eh-yellow: #f5c400;
  --eh-yellow-soft: #ffe27a;
  --eh-black: #0d0d0d;
  --eh-white: #fffdf8;
  --eh-radius-xl: 32px;
  --eh-radius-lg: 24px;
  --eh-radius-md: 18px;
  --eh-shadow: 0 22px 52px rgba(17, 17, 17, 0.12);
  --eh-content: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 28%),
    radial-gradient(circle at top right, rgba(245, 196, 0, 0.12), transparent 22%),
    linear-gradient(180deg, #f6f1e8 0%, var(--eh-bg) 36%, #efe7d8 100%);
  color: var(--eh-ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.eh-shell {
  width: min(calc(100% - 32px), var(--eh-content));
  margin: 0 auto;
}

.eh-site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(255, 250, 241, 0.88);
  border-bottom: 1px solid rgba(13, 13, 13, 0.08);
}

.eh-site-header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  min-height: 96px;
}

.eh-site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 96px;
}

.eh-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  justify-self: start;
}

.eh-brand__image {
  display: block;
  width: auto;
  max-width: min(240px, 42vw);
  height: clamp(58px, 8vw, 96px);
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.12));
}

.eh-nav ul {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.eh-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--eh-muted);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 700;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.eh-nav a:hover,
.eh-nav .current-menu-item > a,
.eh-nav .current_page_item > a {
  background: rgba(217, 31, 38, 0.1);
  color: var(--eh-black);
  transform: translateY(-1px);
}

.eh-main {
  padding: 32px 0 72px;
}

.eh-hero {
  position: relative;
  overflow: hidden;
  padding: 46px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--eh-radius-xl);
  background:
    linear-gradient(128deg, rgba(13, 13, 13, 0.98), rgba(217, 31, 38, 0.94) 54%, rgba(245, 196, 0, 0.9)),
    var(--eh-black);
  color: #fff;
  box-shadow: var(--eh-shadow);
}

.eh-hero::after {
  content: "";
  position: absolute;
  inset: auto -60px -100px auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
}

.eh-hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.95fr);
  gap: 26px;
  align-items: end;
}

.eh-hero h1,
.eh-section-title {
  margin: 14px 0 0;
  font-size: clamp(42px, 5vw, 74px);
  line-height: 0.97;
  letter-spacing: -0.04em;
}

.eh-hero__copy p,
.eh-page-hero .eh-section-copy {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.eh-hero--focus .eh-hero__layout {
  grid-template-columns: minmax(0, 1fr);
}

.eh-hero__microcopy {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
}

.eh-hero__microcopy a {
  color: var(--eh-yellow-soft);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.eh-highlight-card,
.eh-sidebar-card {
  padding: 24px;
  border-radius: var(--eh-radius-lg);
  background: rgba(255, 251, 244, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.eh-highlight-card h3,
.eh-sidebar-card h3 {
  margin: 12px 0;
  font-size: 26px;
  line-height: 1.1;
}

.eh-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.eh-feature-list li {
  position: relative;
  margin-top: 12px;
  padding-left: 20px;
}

.eh-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--eh-yellow);
}

.eh-section {
  margin-top: 32px;
}

.eh-panel {
  padding: 30px;
  border: 1px solid var(--eh-line);
  border-radius: var(--eh-radius-xl);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: var(--eh-shadow);
}

.eh-panel__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.eh-section-title {
  margin: 0;
  color: var(--eh-ink);
  font-size: clamp(28px, 4vw, 46px);
}

.eh-section-copy {
  color: var(--eh-muted);
  font-size: 17px;
}

.eh-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 24px;
}

.eh-post-hero {
  display: grid;
  gap: 24px;
  margin-bottom: 28px;
}

.eh-post-hero__media {
  overflow: hidden;
  border-radius: var(--eh-radius-xl);
  box-shadow: var(--eh-shadow);
}

.eh-post-hero__media img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.eh-affiliate-box__list {
  display: grid;
  gap: 12px;
  padding-left: 18px;
}

.eh-page-shell {
  display: grid;
  gap: 24px;
}

.eh-page-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 30px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--eh-radius-xl);
  background:
    linear-gradient(135deg, rgba(13, 13, 13, 0.98), rgba(217, 31, 38, 0.94) 55%, rgba(245, 196, 0, 0.94)),
    var(--eh-black);
  color: #fff;
  box-shadow: var(--eh-shadow);
}

.eh-page-hero__copy {
  max-width: 760px;
}

.eh-page-panel,
.eh-page-card {
  padding: 28px;
  border: 1px solid var(--eh-line);
  border-radius: var(--eh-radius-xl);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: var(--eh-shadow);
}

.eh-page-title {
  margin: 0 0 10px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
}

.eh-page-hero .eh-page-title {
  color: #fff;
}

.eh-copy,
.eh-card__excerpt,
.eh-post-content p {
  color: var(--eh-muted);
  font-size: 17px;
}

.single .eh-post-content,
.single .eh-affiliate-box {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.eh-post-content {
  line-height: 1.75;
}

.eh-post-content > :first-child {
  margin-top: 0;
}

.eh-post-content > :last-child {
  margin-bottom: 0;
}

.eh-post-content h2,
.eh-post-content h3,
.eh-post-content h4 {
  color: var(--eh-ink);
  line-height: 1.1;
}

.eh-post-content a {
  color: var(--eh-red-deep);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.eh-post-content ul,
.eh-post-content ol {
  padding-left: 22px;
  color: var(--eh-muted);
}

.eh-post-content blockquote {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--eh-red);
  border-radius: 0 var(--eh-radius-md) var(--eh-radius-md) 0;
  background: rgba(245, 196, 0, 0.1);
  color: var(--eh-ink);
}

.eh-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.eh-rail-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.eh-rail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(13, 13, 13, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--eh-ink);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, opacity 160ms ease;
}

.eh-rail-button:hover {
  background: rgba(217, 31, 38, 0.1);
  transform: translateY(-1px);
}

.eh-rail-button:disabled {
  opacity: 0.42;
  cursor: default;
  transform: none;
}

.eh-post-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.eh-post-rail::-webkit-scrollbar {
  display: none;
}

.eh-post-rail > .eh-card {
  min-width: 0;
  scroll-snap-align: start;
}

.eh-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--eh-line);
  border-radius: var(--eh-radius-lg);
  background: var(--eh-surface);
  box-shadow: 0 14px 38px rgba(20, 24, 31, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.eh-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(20, 24, 31, 0.12);
}

.eh-card__media {
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, rgba(217, 31, 38, 0.22), rgba(245, 196, 0, 0.3));
  overflow: hidden;
}

.eh-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eh-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
}

.eh-kicker,
.eh-eyebrow {
  color: var(--eh-red);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.eh-section-tag {
  display: inline-block;
  font-size: 16px;
  letter-spacing: 0.22em;
}

.eh-card__title {
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
}

.eh-card__title a:hover {
  color: var(--eh-red-deep);
}

.eh-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  color: var(--eh-muted);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.eh-meta__author a {
  color: var(--eh-red-deep);
}

.eh-meta__author a:hover {
  text-decoration: underline;
}

.eh-site-footer {
  padding: 0 0 42px;
}

.eh-site-footer__inner {
  padding: 24px 28px;
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid var(--eh-line);
}

.eh-site-footer__copy {
  color: var(--eh-muted);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 14px;
}

.eh-comments {
  max-width: 760px;
  margin: 44px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--eh-line);
  display: grid;
  gap: 18px;
}

.eh-comments__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.eh-comments__title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--eh-ink);
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.1;
}

.eh-comments__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(217, 31, 38, 0.1);
  color: var(--eh-red-deep);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.eh-comments__note {
  margin: 0;
  color: var(--eh-muted);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 13px;
}

.eh-comments__empty {
  margin: 0;
  color: var(--eh-muted);
  font-size: 15px;
}

.comment-form,
.search-form {
  display: grid;
  gap: 14px;
}

.comment-form {
  grid-template-columns: 1fr 1fr;
}

.comment-form .eh-comment-form-title,
.comment-form .eh-comments__note,
.comment-form .logged-in-as,
.comment-form .comment-form-comment,
.comment-form .form-submit {
  grid-column: 1 / -1;
}

.logged-in-as {
  margin: 0;
  color: var(--eh-muted);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 13px;
}

.logged-in-as a {
  color: var(--eh-red-deep);
  text-decoration: underline;
}

.search-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  margin-bottom: 12px;
}

.search-form label {
  display: grid;
  gap: 8px;
  color: var(--eh-muted);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.comment-form input:not([type="submit"]):not([type="checkbox"]),
.comment-form textarea,
.search-form input[type="search"] {
  width: 100%;
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid var(--eh-line);
  border-radius: 18px;
  background: #fff;
  color: var(--eh-ink);
  font: inherit;
}

.comment-form-cookies-consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.comment-form-cookies-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--eh-red);
}

.comment-form-cookies-consent label {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--eh-muted);
  text-transform: none;
  letter-spacing: 0;
}

.eh-comment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: end;
}

.eh-comment-form-title {
  margin: 0;
  color: var(--eh-ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.15;
}

.comment-form p {
  margin: 0;
}

.comment-form textarea {
  min-height: 120px;
  height: 120px;
  resize: vertical;
}

.comment-form .comment-notes,
.comment-form .logged-in-as,
.comment-form .form-submit,
.comment-form label {
  color: var(--eh-muted);
}

.comment-form label {
  display: block;
  margin-bottom: 8px;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.comment-form .submit,
.search-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--eh-red), var(--eh-yellow));
  color: var(--eh-black);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.eh-comment-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.eh-comment-list .comment-body {
  padding: 22px;
  border: 1px solid var(--eh-line);
  border-radius: var(--eh-radius-lg);
  background: rgba(255, 255, 255, 0.86);
}

.eh-comment-list .comment-meta,
.eh-comment-list .reply,
.eh-comment-list .comment-metadata a {
  color: var(--eh-muted);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 13px;
}

.eh-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}

.eh-pagination__item {
  display: inline-flex;
}

.eh-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(13, 13, 13, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--eh-ink);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 700;
  transition: transform 160ms ease, background-color 160ms ease;
}

.eh-pagination a.page-numbers:hover {
  background: rgba(217, 31, 38, 0.1);
  transform: translateY(-1px);
}

.eh-pagination .current {
  background: linear-gradient(135deg, var(--eh-red), var(--eh-yellow));
  color: var(--eh-black);
  border-color: transparent;
}

.eh-team-shell {
  gap: 28px;
}

.eh-team-welcome,
.eh-team-manifesto {
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.98), rgba(255, 242, 209, 0.94)),
    var(--eh-surface);
}

.eh-team-roster {
  display: grid;
  gap: 14px;
}

.eh-team-roster__intro {
  display: grid;
  gap: 8px;
}

.eh-team-roster__intro > * {
  margin: 0;
}

.eh-team-roster .eh-post-content > *:first-child {
  margin-top: 0;
}

.eh-team-roster .eh-post-content > p {
  max-width: 78ch;
}

.eh-team-grid-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 0;
  align-items: stretch;
}

.eh-team-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid rgba(13, 13, 13, 0.08);
  border-radius: var(--eh-radius-xl);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.26), transparent 28%),
    linear-gradient(145deg, rgba(245, 196, 0, 0.96), rgba(255, 145, 77, 0.95) 44%, rgba(217, 31, 38, 0.94));
  color: #fff;
  box-shadow: 0 22px 48px rgba(157, 17, 23, 0.18);
}

.eh-team-card::after {
  content: "";
  position: absolute;
  inset: auto -36px -48px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.eh-team-card > * {
  position: relative;
  z-index: 1;
}

.eh-team-card .eh-kicker {
  color: rgba(255, 251, 244, 0.86);
}

.eh-team-card__title {
  margin: 0;
  font-size: 34px;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.eh-team-card .eh-copy {
  color: rgba(255, 251, 244, 0.92);
}

.eh-team-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.eh-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(13, 13, 13, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 700;
  transition: transform 160ms ease, background-color 160ms ease;
}

.eh-social-link:hover {
  background: rgba(13, 13, 13, 0.34);
  transform: translateY(-2px);
}

.eh-social-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.eh-team-card__placeholder {
  color: rgba(255, 251, 244, 0.82);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 960px) {
  .eh-hero__layout,
  .eh-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eh-post-rail {
    grid-auto-columns: calc((100% - 24px) / 2);
  }

  .eh-site-footer__inner,
  .eh-panel__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .eh-site-header__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .eh-content-layout {
    grid-template-columns: 1fr;
  }

  .search-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .eh-shell {
    width: min(calc(100% - 22px), var(--eh-content));
  }

  .eh-hero,
  .eh-page-hero,
  .eh-panel,
  .eh-page-panel,
  .eh-page-card {
    padding: 22px;
  }

  .eh-nav ul {
    justify-content: center;
  }

  .comment-form,
  .eh-comment-form {
    grid-template-columns: 1fr;
  }

  .eh-comments {
    padding-top: 26px;
    margin-top: 32px;
  }

  .eh-rail-controls {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }

  .eh-rail-button {
    flex: 1;
  }

  .eh-post-rail {
    grid-auto-columns: 88%;
  }

  .eh-team-card {
    padding: 22px;
  }
}




/* =========================================================
   Afiliados Mercado Livre — cards, bloco no conteúdo e rails
   (sorteio via JS: pool oculto + is-active nos slots)
   ========================================================= */

.eh-ml-card {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--eh-surface);
  border: 1px solid var(--eh-line);
  border-radius: var(--eh-radius-md);
  padding: 14px;
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.08);
}

.eh-ml-card__media {
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--eh-surface-strong);
  display: block;
}

.eh-ml-card__media img { width: 100%; height: 100%; object-fit: contain; display: block; }

.eh-ml-card__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

.eh-ml-card__tag {
  align-self: flex-start;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--eh-red-deep); background: var(--eh-yellow-soft);
  padding: 2px 8px; border-radius: 999px;
}

.eh-ml-card__title { font-weight: 700; line-height: 1.25; color: var(--eh-ink); text-decoration: none; }
.eh-ml-card__title:hover { color: var(--eh-red); }

.eh-ml-card__price { font-size: 18px; font-weight: 800; color: var(--eh-red-deep); }

.eh-ml-card__btn {
  align-self: flex-start;
  margin-top: 6px;
  background: var(--eh-red); color: #fff;
  font-size: 14px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none;
  padding: 10px 18px; border-radius: 10px;
  transition: background .15s ease;
}
.eh-ml-card__btn:hover { background: var(--eh-red-deep); }

/* Pool oculto (fonte dos cards para o sorteio) */
#eh-ml-pool { display: none !important; }

/* Bloco solto via shortcode [eh_produto] */
.eh-ml-inline { margin: 28px 0; }

.eh-ml-disc { margin: 10px 2px 0; font-size: 12px; color: var(--eh-muted); }

/* ----- Bloco dentro do post (mobile + notebooks) ----- */
.eh-ml-inflow { display: none; margin: 32px 0 8px; padding-top: 20px; border-top: 1px solid var(--eh-line); }
.eh-ml-inflow.is-active { display: block; }

.eh-ml-inflow__label {
  display: block; margin-bottom: 12px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--eh-muted);
}

.eh-ml-inflow__grid { display: grid; grid-template-columns: 1fr; gap: 14px; }

@media (min-width: 560px) {
  .eh-ml-inflow__grid { grid-template-columns: 1fr 1fr; }
}

/* ----- Rails laterais (só telas largas, quando ativados pelo JS) ----- */
.eh-ml-rail { display: none; }

@media (min-width: 1650px) {
  /* nesta faixa o rail assume; o bloco no conteúdo some (evita duplicar) */
  .eh-ml-inflow.is-active { display: none; }

  .eh-ml-rail.is-active {
    display: flex; flex-direction: column; gap: 10px;
    position: fixed; top: 150px; width: 190px;
    max-height: calc(100vh - 180px); overflow-y: auto; padding-top: 4px; z-index: 20;
  }

  .eh-ml-rail--left  { right: calc(50% + 608px); }
  .eh-ml-rail--right { left: calc(50% + 608px); }

  .eh-ml-rail__label {
    font-size: 12px; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase;
    white-space: nowrap; color: var(--eh-muted); line-height: 1.4;
  }

  .eh-ml-rail__cards { display: flex; flex-direction: column; gap: 14px; }

  /* Card compacto (empilhado) quando dentro de um rail */
  .eh-ml-rail .eh-ml-card { flex-direction: column; align-items: stretch; text-align: center; padding: 12px; }
  .eh-ml-rail .eh-ml-card__media { flex: none; width: 100%; height: 120px; }
  .eh-ml-rail .eh-ml-card__tag { align-self: center; }
  .eh-ml-rail .eh-ml-card__btn { align-self: stretch; width: 100%; }
}

@media (min-width: 1900px) {
  .eh-ml-rail--left  { right: calc(50% + 640px); }
  .eh-ml-rail--right { left: calc(50% + 640px); }
  .eh-ml-rail.is-active { width: 210px; }
}

/* Rail sem scrollbar: cresce conforme o conteúdo, título completo */
@media (min-width: 1650px) {
  .eh-ml-rail.is-active { max-height: none; overflow: visible; }
}
