/* ==========================================================================
   WP Posts & Home Manager — núcleo compartilhado
   Tokens, cards, selos, botões, carrossel, trilhos e animações.
   Tudo escopado em .wphm; as cores vêm das variáveis do preset ativo.
   ========================================================================== */

.wphm {
  --wphm-bg: #f5f3ee;
  --wphm-surface: #fff;
  --wphm-surface-2: #f9f7f2;
  --wphm-text: #24211c;
  --wphm-heading: #111;
  --wphm-muted: #6c675e;
  --wphm-border: #e3ded3;
  --wphm-accent: #c8102e;
  --wphm-accent-2: #960c22;
  --wphm-accent-ink: #fff;
  --wphm-accent-soft: rgba(200, 16, 46, .1);
  --wphm-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wphm-font-head: var(--wphm-font);
  --wphm-head-weight: 750;
  --wphm-radius: 14px;
  --wphm-radius-sm: 10px;
  --wphm-shadow: 0 1px 2px rgba(0, 0, 0, .06);
  --wphm-shadow-hover: 0 14px 30px -14px rgba(0, 0, 0, .3);
  --wphm-container: 1240px;
  --wphm-gap: clamp(14px, 2vw, 24px);
  --wphm-top: var(--wpsm-top-bar-height, 56px);
  --wphm-excl-a: #f5c451;
  --wphm-excl-b: #b7791f;
  --wphm-excl-ink: #1c1405;
  --wphm-excl-band: linear-gradient(120deg, #1a1408, #4a3410);
  --wphm-ease: cubic-bezier(.2, .7, .2, 1);

  color: var(--wphm-text);
  font-family: var(--wphm-font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wphm *, .wphm *::before, .wphm *::after { box-sizing: border-box; }
.wphm :where(h1, h2, h3, h4, p, ul, ol, figure, blockquote) { margin: 0; }
.wphm :where(ul, ol) { padding: 0; list-style: none; }
.wphm :where(a) { color: inherit; text-decoration: none; }
.wphm :where(img) { max-width: 100%; height: auto; display: block; }
.wphm :where(button) { font: inherit; color: inherit; cursor: pointer; }
.wphm :where(h1, h2, h3, h4) { font-family: var(--wphm-font-head); color: var(--wphm-heading); font-weight: var(--wphm-head-weight); line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
/* [hidden] precisa vencer o display dos componentes (botões são inline-flex). */
.wphm [hidden], .wphm-chrome [hidden] { display: none !important; }
.wphm .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.wphm :focus-visible { outline: 3px solid var(--wphm-accent); outline-offset: 2px; border-radius: 6px; }
.wphm-ico { flex-shrink: 0; vertical-align: middle; }

/* O <main> do tema vira tela cheia nas nossas páginas */
body .site-main.wphm-main { max-width: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }

.wphm-container { width: 100%; max-width: var(--wphm-container); margin-inline: auto; padding-inline: clamp(14px, 3vw, 28px); }

/* ---------- cabeçalho de seção ---------- */
.wphm-sh { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; margin-bottom: clamp(12px, 1.6vw, 18px); }
.wphm-sh__title { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(1.15rem, 1rem + .8vw, 1.5rem); }
.wphm-sh__title .wphm-ico { color: var(--wphm-accent); }
.wphm-sh__title i[class^="ri-"] { color: var(--wphm-accent); font-size: 1.15em; font-weight: normal; }
.wphm-sh--sm .wphm-sh__title { font-size: 1.05rem; }
.wphm-sh__more { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 650; color: var(--wphm-accent); padding: 6px 10px; border-radius: 999px; transition: background .2s, gap .2s; }
.wphm-sh__more:hover { background: var(--wphm-accent-soft); gap: 9px; }
.wphm-sh__hint { font-size: .82rem; color: var(--wphm-muted); }
.wphm-mini-h { display: flex; align-items: center; gap: 8px; font-size: .78rem !important; text-transform: uppercase; letter-spacing: .09em; color: var(--wphm-muted) !important; font-family: var(--wphm-font) !important; font-weight: 750 !important; margin-bottom: 12px !important; }
.wphm-mini-h .wphm-ico { color: var(--wphm-accent); }
.wphm-mini-h small { margin-left: auto; font-weight: 600; letter-spacing: 0; text-transform: none; }

/* ---------- botões ---------- */
.wphm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: .92rem; line-height: 1.1; border: 1px solid transparent; transition: transform .18s var(--wphm-ease), box-shadow .2s, background .2s, color .2s, border-color .2s; white-space: nowrap; }
.wphm-btn:hover { transform: translateY(-2px); }
.wphm-btn:active { transform: translateY(0); }
.wphm-btn--solid { background: var(--wphm-accent); color: var(--wphm-accent-ink); box-shadow: 0 8px 18px -10px var(--wphm-accent); }
.wphm-btn--solid:hover { box-shadow: 0 14px 26px -12px var(--wphm-accent); color: var(--wphm-accent-ink); }
.wphm-btn--ghost { background: var(--wphm-surface); color: var(--wphm-heading); border-color: var(--wphm-border); }
.wphm-btn--ghost:hover { border-color: var(--wphm-accent); color: var(--wphm-accent); }
.wphm-btn--line { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.wphm-btn--line:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.wphm-btn--light { background: #fff; color: var(--wphm-accent-2); }
.wphm-btn--excl { background: linear-gradient(135deg, var(--wphm-excl-a), var(--wphm-excl-b)); color: var(--wphm-excl-ink); box-shadow: 0 10px 24px -12px var(--wphm-excl-b); }
.wphm-btn--excl:hover { color: var(--wphm-excl-ink); box-shadow: 0 16px 30px -12px var(--wphm-excl-b); }

/* ---------- chapéu e selos ---------- */
.wphm-card__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 7px; position: relative; z-index: 2; }
.wphm-kicker { font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--wphm-topic, var(--wphm-accent)); line-height: 1.3; }
a.wphm-kicker:hover { text-decoration: underline; text-underline-offset: 3px; }
.wphm-badge { display: inline-flex; align-items: center; gap: 4px; font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; line-height: 1.2; }
.wphm-badge--new { background: var(--wphm-accent); color: var(--wphm-accent-ink); }
.wphm-badge--new i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: wphmBlink 1.6s infinite; }
.wphm-badge--upd { background: var(--wphm-accent-soft); color: var(--wphm-accent); }
.wphm-badge--excl { background: linear-gradient(135deg, var(--wphm-excl-a), var(--wphm-excl-b)); color: var(--wphm-excl-ink); }
.wphm-badge--read { background: var(--wphm-surface-2); color: var(--wphm-muted); border: 1px solid var(--wphm-border); }
.wphm-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 0 rgba(239, 68, 68, .6); animation: wphmPing 1.8s infinite; flex-shrink: 0; }

/* ---------- card: base ---------- */
.wphm-card { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--wphm-surface); border: 1px solid var(--wphm-border); border-radius: var(--wphm-radius); overflow: hidden; box-shadow: var(--wphm-shadow); transition: transform .3s var(--wphm-ease), box-shadow .3s var(--wphm-ease), border-color .3s; isolation: isolate; }
.wphm-card:hover { transform: translateY(-3px); box-shadow: var(--wphm-shadow-hover); }
.wphm-card__media { position: relative; overflow: hidden; background: var(--wphm-surface-2); aspect-ratio: 16 / 9; flex-shrink: 0; }
.wphm-card__img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .7s var(--wphm-ease), opacity .5s; }
.wphm-card:hover .wphm-card__img { transform: scale(1.045); }
.wphm-card__ph { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(120% 120% at 15% 10%, color-mix(in srgb, var(--wphm-topic, var(--wphm-accent)) 75%, #fff) 0%, var(--wphm-topic, var(--wphm-accent)) 55%, color-mix(in srgb, var(--wphm-topic, var(--wphm-accent)) 70%, #000) 100%); }
.wphm-card__ph span { font-family: var(--wphm-font-head); font-size: 3rem; font-weight: 800; color: rgba(255, 255, 255, .9); text-shadow: 0 2px 12px rgba(0, 0, 0, .2); }
.wphm-card__body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 14px 16px 16px; }
.wphm-card__title { font-size: 1.05rem; line-height: 1.28; }
.wphm-card__link { color: var(--wphm-heading); background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .35s var(--wphm-ease), color .2s; }
.wphm-card:hover .wphm-card__link { background-size: 100% 1px; }
.wphm-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.wphm-card__excerpt { margin-top: 7px; color: var(--wphm-muted); font-size: .92rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.wphm-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: auto; padding-top: 10px; font-size: .78rem; color: var(--wphm-muted); }
.wphm-card__meta time { font-variant-numeric: tabular-nums; }
.wphm-dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .55; }
.wphm-views { display: inline-flex; align-items: center; gap: 4px; }

/* bolinhas das dezenas nos cards de resultado */
.wphm-balls { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; position: relative; z-index: 0; }
.wphm-balls li { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; font-size: .68rem; font-weight: 800; font-variant-numeric: tabular-nums; color: #fff; background: radial-gradient(circle at 32% 28%, color-mix(in srgb, var(--wphm-mod, var(--wphm-accent)) 55%, #fff), var(--wphm-mod, var(--wphm-accent)) 62%, color-mix(in srgb, var(--wphm-mod, var(--wphm-accent)) 70%, #000)); box-shadow: inset 0 -2px 3px rgba(0, 0, 0, .18); }
.wphm-balls li.is-hl { outline: 2px solid var(--wphm-excl-a); outline-offset: 1px; }

/* botão salvar */
.wphm-save { position: absolute; top: 10px; right: 10px; z-index: 3; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: #1f2937; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .35); backdrop-filter: blur(6px); opacity: 0; transform: scale(.85); transition: opacity .2s, transform .2s var(--wphm-ease), background .2s, color .2s; }
.wphm-card:hover .wphm-save, .wphm-save:focus-visible, .wphm-save[aria-pressed="true"] { opacity: 1; transform: none; }
.wphm-save[aria-pressed="true"] { background: var(--wphm-accent); color: var(--wphm-accent-ink); }
.wphm-save[aria-pressed="true"] svg { fill: currentColor; }
@media (hover: none) { .wphm-save { opacity: 1; transform: none; } }

/* lido (marcado no navegador) */
.wphm-card.is-read .wphm-card__link { color: var(--wphm-muted); }
.wphm-card.is-read .wphm-card__img { opacity: .82; }
.wphm-card__readmark { display: inline-flex; align-items: center; gap: 3px; font-size: .7rem; font-weight: 700; color: var(--wphm-muted); }
.wphm-card__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(0, 0, 0, .08); z-index: 2; }
.wphm-card__progress i { display: block; height: 100%; background: var(--wphm-accent); }

/* ---------- variantes ---------- */
/* Manchete: capa inteira em cima, texto grande embaixo. As capas geradas
   pela usina já trazem título e dezenas desenhados — texto por cima delas
   viraria ruído. */
.wphm-card--lead .wphm-card__media { aspect-ratio: 16 / 9; }
.wphm-card--lead .wphm-card__body { padding: clamp(16px, 2.2vw, 26px) clamp(16px, 2.4vw, 28px) clamp(18px, 2.4vw, 26px); }
.wphm-card--lead .wphm-card__title { font-size: clamp(1.45rem, 1rem + 1.7vw, 2.25rem); line-height: 1.1; letter-spacing: -.022em; }
.wphm-card--lead .wphm-card__excerpt { font-size: 1.02rem; -webkit-line-clamp: 3; margin-top: 10px; max-width: 70ch; }
.wphm-card--lead .wphm-kicker { font-size: .76rem; }

/* Sobreposição (texto sobre a imagem) — para imagens fotográficas. */
.wphm-card--overlay .wphm-card__media { position: absolute; inset: 0; aspect-ratio: auto; }
.wphm-card--overlay .wphm-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, .55) 58%, rgba(0, 0, 0, .9) 100%); }
.wphm-card--overlay .wphm-card__body { position: relative; margin-top: auto; padding: clamp(16px, 2.6vw, 30px); z-index: 1; }
.wphm-card--overlay .wphm-card__link { color: #fff; }
.wphm-card--overlay .wphm-card__meta { color: rgba(255, 255, 255, .78); }
.wphm-card--overlay .wphm-kicker { color: #fff; background: var(--wphm-topic, var(--wphm-accent)); padding: 4px 9px; border-radius: 4px; }

.wphm-card--overlay { min-height: 300px; border: 0; color: #fff; }
.wphm-card--overlay .wphm-card__title { font-size: 1.08rem; }
.wphm-card--overlay .wphm-balls { display: none; }

.wphm-card--row { flex-direction: row; align-items: stretch; }
.wphm-card--row .wphm-card__media { width: clamp(130px, 36%, 300px); aspect-ratio: 16 / 9; align-self: center; margin: 10px 0 10px 10px; border-radius: calc(var(--wphm-radius) - 4px); }
.wphm-card--row.no-thumb .wphm-card__media { align-self: stretch; aspect-ratio: auto; min-height: 120px; }
.wphm-card--row .wphm-card__body { padding: 14px 18px 14px; }
.wphm-card--row .wphm-card__title { font-size: clamp(1rem, .95rem + .3vw, 1.18rem); }
.wphm-card--row .wphm-card__excerpt { -webkit-line-clamp: 2; }

.wphm-card--compact { border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.wphm-card--compact:hover { transform: none; box-shadow: none; }
.wphm-card--compact .wphm-card__body { padding: 0; }
.wphm-card--compact .wphm-card__title { font-size: 1rem; }

.wphm-card--mini { flex-direction: row; align-items: center; gap: 12px; border: 0; border-radius: var(--wphm-radius-sm); box-shadow: none; background: transparent; padding: 6px; }
.wphm-card--mini:hover { transform: none; box-shadow: none; background: var(--wphm-surface-2); }
.wphm-card--mini .wphm-card__media { width: 92px; aspect-ratio: 4 / 3; border-radius: var(--wphm-radius-sm); }
.wphm-card--mini .wphm-card__body { padding: 0; }
.wphm-card--mini .wphm-card__title { font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.wphm-card--mini .wphm-card__meta { padding-top: 5px; }
.wphm-card--mini .wphm-card__kicker { margin-bottom: 3px; }

.wphm-card--rank { flex-direction: row; gap: 12px; border: 0; border-radius: 0; box-shadow: none; background: transparent; padding: 12px 0; border-bottom: 1px solid var(--wphm-border); }
.wphm-card--rank:last-child { border-bottom: 0; }
.wphm-card--rank:hover { transform: none; box-shadow: none; }
.wphm-card--rank .wphm-card__body { padding: 0; }
.wphm-card--rank .wphm-card__title { font-size: .98rem; }
.wphm-card--rank .wphm-card__meta { padding-top: 5px; }
.wphm-card__rank { flex-shrink: 0; width: 34px; font-family: var(--wphm-font-head); font-size: 2.1rem; font-weight: 800; line-height: .95; color: transparent; -webkit-text-stroke: 1.5px var(--wphm-accent); text-align: center; }
.wphm-card--rank:first-child .wphm-card__rank { color: var(--wphm-accent); }
.wphm-card__rankbadge { position: absolute; top: 10px; left: 10px; z-index: 2; min-width: 34px; height: 34px; padding: 0 8px; display: grid; place-items: center; border-radius: 10px; background: var(--wphm-accent); color: var(--wphm-accent-ink); font-weight: 900; font-size: 1.05rem; box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .6); }

/* card sem imagem em variantes com sobreposição */
.wphm-card--overlay.no-thumb .wphm-card__media::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .55) 100%); }

/* ---------- exclusivos ---------- */
.wphm-card.is-exclusive { border-color: transparent; background: linear-gradient(var(--wphm-surface), var(--wphm-surface)) padding-box, linear-gradient(135deg, var(--wphm-excl-a), var(--wphm-excl-b) 60%, var(--wphm-excl-a)) border-box; border: 2px solid transparent; }
.wphm-card.is-exclusive:hover { box-shadow: 0 18px 36px -18px var(--wphm-excl-b), 0 0 0 1px var(--wphm-excl-a); }
.wphm-card--overlay.is-exclusive { border: 2px solid var(--wphm-excl-a); background: #111; }
.wphm-card--compact.is-exclusive, .wphm-card--rank.is-exclusive, .wphm-card--mini.is-exclusive { border: 0; background: transparent; }
.wphm-card--compact.is-exclusive .wphm-card__link, .wphm-card--rank.is-exclusive .wphm-card__link { background-image: linear-gradient(var(--wphm-excl-b), var(--wphm-excl-b)); }
.wphm-card__flag { position: absolute; top: 10px; left: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px 5px 8px; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--wphm-excl-ink); background: linear-gradient(135deg, var(--wphm-excl-a), var(--wphm-excl-b)); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .55); }
.wphm-card__flag::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 48%, transparent 66%); background-size: 250% 100%; animation: wphmShine 3.6s ease-in-out infinite; pointer-events: none; }
.wphm-card.is-locked .wphm-card__excerpt::after { content: " 🔒"; }

/* ---------- grades ---------- */
.wphm-grid { display: grid; gap: var(--wphm-gap); grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.wphm-grid--2 { --cols: 2; }
.wphm-grid--3 { --cols: 3; }
.wphm-grid--4 { --cols: 4; }
@media (max-width: 1024px) { .wphm-grid--4 { --cols: 2; } .wphm-grid--3 { --cols: 2; } }
@media (max-width: 600px) { .wphm-grid { --cols: 1 !important; } }

/* ---------- carrossel ---------- */
.wphm-carousel { position: relative; }
.wphm-carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 26vw, 300px); gap: var(--wphm-gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; padding: 4px 2px 14px; scrollbar-width: thin; scrollbar-color: var(--wphm-border) transparent; overscroll-behavior-x: contain; }
.wphm-carousel__track > * { scroll-snap-align: start; }
.wphm-carousel__track::-webkit-scrollbar { height: 6px; }
.wphm-carousel__track::-webkit-scrollbar-thumb { background: var(--wphm-border); border-radius: 9px; }
.wphm-carousel__btn { position: absolute; top: calc(50% - 30px); z-index: 4; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--wphm-border); background: var(--wphm-surface); color: var(--wphm-heading); box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .45); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.wphm-carousel__btn.is-prev { left: -14px; }
.wphm-carousel__btn.is-next { right: -14px; }
.wphm-carousel.can-prev .is-prev, .wphm-carousel.can-next .is-next { opacity: 1; pointer-events: auto; }
.wphm-carousel__btn:hover { transform: scale(1.06); }
@media (hover: none) { .wphm-carousel__btn { display: none; } }

/* ---------- trilho "para você" ---------- */
.wphm-personal { padding-block: clamp(18px, 3vw, 30px); }
.wphm-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.wphm-tab { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--wphm-border); background: var(--wphm-surface); font-size: .84rem; font-weight: 700; color: var(--wphm-muted); transition: all .2s; }
.wphm-tab b { font-size: .72rem; background: var(--wphm-surface-2); border-radius: 999px; padding: 1px 7px; color: var(--wphm-heading); }
.wphm-tab[aria-selected="true"] { background: var(--wphm-heading); border-color: var(--wphm-heading); color: var(--wphm-bg); }
.wphm-tab[aria-selected="true"] b { background: rgba(255, 255, 255, .2); color: inherit; }
.wphm-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 320px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 12px; scrollbar-width: thin; }
.wphm-rail > * { scroll-snap-align: start; }
.wphm-rail .wphm-card--mini { background: var(--wphm-surface); border: 1px solid var(--wphm-border); padding: 8px; }
.wphm-rail .wphm-card--mini:hover { border-color: var(--wphm-accent); }
.wphm-personal__note { margin-top: 6px; font-size: .74rem; color: var(--wphm-muted); }

/* ---------- busca ---------- */
.wphm-search { position: relative; display: flex; align-items: center; gap: 8px; width: min(100%, 440px); padding: 6px 6px 6px 14px; border-radius: 999px; background: var(--wphm-surface); border: 1px solid var(--wphm-border); box-shadow: 0 6px 18px -14px rgba(0, 0, 0, .5); transition: border-color .2s, box-shadow .2s; }
.wphm-search:focus-within { border-color: var(--wphm-accent); box-shadow: 0 0 0 4px var(--wphm-accent-soft); }
.wphm-search__ico { color: var(--wphm-muted); }
.wphm-search input { flex: 1; min-width: 0; border: 0 !important; outline: 0 !important; background: transparent !important; box-shadow: none !important; padding: 6px 0 !important; font: inherit; font-size: .95rem; color: var(--wphm-heading); }
.wphm-search input::-webkit-search-cancel-button { cursor: pointer; }
.wphm-search button { border: 0; border-radius: 999px; padding: 9px 16px; background: var(--wphm-accent); color: var(--wphm-accent-ink); font-weight: 750; font-size: .86rem; }

/* ---------- faixa de exclusivos ---------- */
.wphm-band { position: relative; margin-block: clamp(18px, 3vw, 34px); padding-block: clamp(26px, 4vw, 44px); background: var(--wphm-excl-band); color: #f8f3e6; overflow: hidden; isolation: isolate; }
.wphm-band::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--wphm-excl-a) 40%, transparent), transparent 65%); z-index: -1; opacity: .6; }
.wphm-band__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 30px; flex-wrap: wrap; margin-bottom: 20px; }
.wphm-band__eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--wphm-excl-a); }
.wphm-band__title { color: #fff !important; font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem); margin-top: 6px !important; }
.wphm-band__text { color: rgba(255, 255, 255, .78); max-width: 60ch; margin-top: 6px !important; }
.wphm-band__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.wphm-band .wphm-carousel__btn { background: #fff; color: #111; border: 0; }

/* ---------- aviso flutuante ---------- */
.wphm-toast { position: fixed; left: 50%; top: calc(var(--wphm-top) + 14px); transform: translateX(-50%); z-index: 990; }
.wphm-toast button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 0; border-radius: 999px; background: var(--wphm-accent); color: var(--wphm-accent-ink); font-weight: 750; font-size: .9rem; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); animation: wphmDrop .5s var(--wphm-ease) both; }
.wphm-flash { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 99990; padding: 10px 16px; border-radius: 12px; background: #111; color: #fff; font: 600 .9rem/1.3 system-ui, sans-serif; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); animation: wphmDrop .35s var(--wphm-ease) both; }

/* ---------- esqueleto ---------- */
.wphm-skel { pointer-events: none; }
.wphm-skel .wphm-card__media, .wphm-skel .wphm-card__body span { background: linear-gradient(90deg, var(--wphm-surface-2) 0%, color-mix(in srgb, var(--wphm-border) 70%, var(--wphm-surface-2)) 40%, var(--wphm-surface-2) 80%); background-size: 300% 100%; animation: wphmShimmer 1.3s linear infinite; }
.wphm-skel .wphm-card__body span { display: block; height: 12px; border-radius: 6px; margin-bottom: 10px; }
.wphm-skel .wphm-card__body span:nth-child(1) { width: 30%; }
.wphm-skel .wphm-card__body span:nth-child(2) { width: 92%; height: 16px; }
.wphm-skel .wphm-card__body span:nth-child(3) { width: 60%; }

/* ---------- vazio ---------- */
.wphm-empty { display: grid; place-items: center; gap: 10px; text-align: center; padding: 50px 20px; color: var(--wphm-muted); background: var(--wphm-surface); border: 1px dashed var(--wphm-border); border-radius: var(--wphm-radius); }

/* ---------- animações ---------- */
@keyframes wphmPing { 0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .55); } 70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } }
@keyframes wphmBlink { 50% { opacity: .25; } }
@keyframes wphmShine { 0%, 60% { background-position: 150% 0; } 100% { background-position: -100% 0; } }
@keyframes wphmShimmer { from { background-position: 100% 0; } to { background-position: -200% 0; } }
@keyframes wphmRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes wphmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wphmDrop { from { opacity: 0; transform: translate(-50%, -12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes wphmPop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }

/* Revelar ao rolar (só com JS; sem JS tudo aparece). */
.wphm-js .wphm[data-wphm-anim="full"] .wphm-reveal, .wphm-js .wphm[data-wphm-anim="subtle"] .wphm-reveal { opacity: 0; }
.wphm-js .wphm[data-wphm-anim="full"] .wphm-reveal.is-in { animation: wphmRise .7s var(--wphm-ease) both; }
.wphm-js .wphm[data-wphm-anim="subtle"] .wphm-reveal.is-in { animation: wphmFade .5s ease both; }
.wphm-js .wphm[data-wphm-anim="full"] .wphm-feed > .wphm-card.is-fresh { animation: wphmRise .55s var(--wphm-ease) both; animation-delay: calc(var(--k, 0) * 60ms); }
.wphm[data-wphm-anim="none"] *, .wphm[data-wphm-anim="none"] *::before, .wphm[data-wphm-anim="none"] *::after { animation: none !important; transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  .wphm *, .wphm *::before, .wphm *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .wphm-js .wphm .wphm-reveal { opacity: 1 !important; }
}

@media (max-width: 600px) {
  .wphm-card--row .wphm-card__media { width: 118px; margin: 8px 0 8px 8px; }
  .wphm-card--row .wphm-card__body { padding: 11px 12px; }
  .wphm-card--row .wphm-card__excerpt, .wphm-card--row .wphm-balls { display: none; }
  .wphm-card--row .wphm-save { top: 6px; left: 6px; right: auto; width: 30px; height: 30px; }
  .wphm-card--lead .wphm-card__excerpt { -webkit-line-clamp: 2; font-size: .95rem; }
  .wphm-btn { min-height: 40px; padding: 8px 14px; }
}
