/*
Theme Name: Mundo Pet Guias
Theme URI: https://mundopetguias.com.br
Author: Equipe MPG
Author URI: https://mundopetguias.com.br
Description: Tema aconchegante e orgânico para blog de pets. Tons terrosos, âmbar e verde musgo, monetizado com AdSense e afiliados.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mpg
Tags: blog, pets, adsense, affiliate, seo, responsive
*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --mpg-cream:    #FBF7F1;
  --mpg-brown-dk: #2C1F0E;
  --mpg-brown-md: #4A2C0A;
  --mpg-brown-lt: #7A5230;
  --mpg-amber:    #C97A2A;
  --mpg-amber-lt: #F5C47A;
  --mpg-amber-bg: #FEF4E7;
  --mpg-green:    #3D7A2A;
  --mpg-green-lt: #EEF5E9;
  --mpg-border:   #EDE4D8;
  --mpg-text-sec: #9C7B55;
  --mpg-text-body:#3D2B14;
  --mpg-radius:   14px;
  --mpg-shadow:   0 2px 12px rgba(44,31,14,.07);
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-serif: 'Lora', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--mpg-brown-dk);
  background: var(--mpg-cream);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--mpg-amber); text-decoration: none; }
a:hover { text-decoration: underline; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-serif);
  line-height: 1.25;
  color: var(--mpg-brown-dk);
}

/* ============================================================
   CONTAINER
   ============================================================ */
.mpg-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   SITE HEADER / NAV
   ============================================================ */
#masthead {
  background: var(--mpg-cream);
  border-bottom: 1.5px solid var(--mpg-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.mpg-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.site-logo-mark {
  width: 34px; height: 34px;
  background: var(--mpg-amber);
  border-radius: 50% 50% 50% 12%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.site-logo-text {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--mpg-brown-md);
}

.mpg-nav-menu {
  list-style: none;
  display: flex;
  gap: 24px;
  align-items: center;
}

.mpg-nav-menu a {
  font-size: 13px;
  font-weight: 500;
  color: var(--mpg-brown-lt);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}

.mpg-nav-menu a:hover,
.mpg-nav-menu .current-menu-item a {
  color: var(--mpg-amber);
  border-bottom-color: var(--mpg-amber);
}

.mpg-hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.mpg-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--mpg-brown-lt); border-radius: 2px;
}

/* ============================================================
   HERO (homepage)
   ============================================================ */
.mpg-hero {
  background: linear-gradient(135deg, #3D2B14 0%, #5C3D1E 55%, #7A5230 100%);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}

.mpg-hero::before {
  content: '';
  position: absolute; right: 5%; top: -30px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(201,122,42,.22) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.mpg-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(201,122,42,.18);
  border: 1px solid rgba(201,122,42,.4);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px; font-weight: 600;
  color: var(--mpg-amber-lt);
  letter-spacing: .04em;
  margin-bottom: 18px;
}

.mpg-hero h1 {
  font-size: clamp(26px,4vw,42px);
  font-weight: 600;
  color: #FDF6EE;
  max-width: 600px;
  margin-bottom: 14px;
}

.mpg-hero p {
  font-size: 15px;
  color: #D4B896;
  max-width: 480px;
  margin-bottom: 28px;
  line-height: 1.6;
}

.mpg-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.mpg-btn {
  display: inline-flex; align-items: center;
  padding: 11px 24px; border-radius: 24px;
  font-size: 13px; font-weight: 600;
  cursor: pointer; border: none; transition: opacity .2s;
  text-decoration: none;
}
.mpg-btn:hover { opacity: .88; text-decoration: none; }

.mpg-btn-primary { background: var(--mpg-amber); color: #fff; }
.mpg-btn-ghost {
  background: transparent;
  color: #D4B896;
  border: 1px solid rgba(212,184,150,.4);
}

.mpg-hero-stats {
  display: flex; gap: 36px; flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.mpg-hero-stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 600;
  color: var(--mpg-amber-lt);
}
.mpg-hero-stat-lbl {
  font-size: 12px;
  color: rgba(212,184,150,.8);
}

/* ============================================================
   CATEGORY PILLS
   ============================================================ */
.mpg-cats-wrap {
  padding: 28px 0 4px;
}

.mpg-cats-label {
  font-size: 11px; font-weight: 600;
  color: var(--mpg-text-sec);
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 12px;
}

.mpg-pills {
  display: flex; gap: 8px; flex-wrap: wrap;
}

.mpg-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 20px;
  font-size: 12px; font-weight: 500;
  text-decoration: none; transition: opacity .15s;
  border: 1.5px solid;
}
.mpg-pill:hover { opacity: .8; text-decoration: none; }

.mpg-pill-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

.mpg-pill-amber { background: var(--mpg-amber-bg); border-color: #E8C07A; color: #7A4E10; }
.mpg-pill-amber .mpg-pill-dot { background: var(--mpg-amber); }

.mpg-pill-green { background: var(--mpg-green-lt); border-color: #9DC97A; color: #2E5A1A; }
.mpg-pill-green .mpg-pill-dot { background: #5A9A2A; }

.mpg-pill-red { background: #FDF0EE; border-color: #E8A090; color: #7A2A1A; }
.mpg-pill-red .mpg-pill-dot { background: #C9402A; }

.mpg-pill-blue { background: #EEF2F8; border-color: #90A8D4; color: #1A3060; }
.mpg-pill-blue .mpg-pill-dot { background: #2A60C9; }

.mpg-pill-purple { background: #F3F0FB; border-color: #B4A8E0; color: #3A2A70; }
.mpg-pill-purple .mpg-pill-dot { background: #6A4AC9; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.mpg-section { padding: 40px 0; }

.mpg-section-header {
  display: flex; align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
}

.mpg-section-header h2 {
  font-size: 22px;
}

.mpg-section-header a {
  font-size: 12px; font-weight: 600; color: var(--mpg-amber);
}

.mpg-section-sub {
  font-size: 13px; color: var(--mpg-text-sec);
  margin-bottom: 20px;
}

/* ============================================================
   FEATURED POST (destaque)
   ============================================================ */
.mpg-featured {
  background: #fff;
  border: 1.5px solid var(--mpg-border);
  border-radius: var(--mpg-radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr;
  box-shadow: var(--mpg-shadow);
  margin-bottom: 32px;
}

.mpg-featured-img {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #3D2B14, #7A5230);
  min-height: 200px;
}
.mpg-featured-img img {
  width: 100%; height: 100%; object-fit: cover;
}

.mpg-featured-body {
  padding: 24px 28px;
  display: flex; flex-direction: column; justify-content: center;
}

.mpg-badge {
  display: inline-block;
  padding: 3px 10px; border-radius: 8px;
  font-size: 10px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 10px;
}

.mpg-badge-amber { background: var(--mpg-amber-bg); color: var(--mpg-amber); }
.mpg-badge-green { background: var(--mpg-green-lt); color: var(--mpg-green); }

.mpg-featured-body h2 {
  font-size: 20px; margin-bottom: 10px;
}
.mpg-featured-body p {
  font-size: 14px; color: #6B4C28; margin-bottom: 14px;
}

/* ============================================================
   ARTICLE GRID
   ============================================================ */
.mpg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.mpg-card {
  background: #fff;
  border: 1.5px solid var(--mpg-border);
  border-radius: var(--mpg-radius);
  overflow: hidden;
  box-shadow: var(--mpg-shadow);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
}
.mpg-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(44,31,14,.12);
  text-decoration: none;
}

.mpg-card-thumb {
  position: relative; overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--mpg-amber-bg);
}
.mpg-card-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s;
}
.mpg-card:hover .mpg-card-thumb img { transform: scale(1.04); }

.mpg-card-cat-badge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(255,255,255,.88);
  border-radius: 10px; padding: 3px 10px;
  font-size: 10px; font-weight: 600;
  color: #6B4C28; letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
}

.mpg-card-body {
  padding: 14px 16px 18px;
  flex: 1; display: flex; flex-direction: column;
}

.mpg-card-body h3 {
  font-size: 14px; font-weight: 600;
  line-height: 1.4; color: var(--mpg-brown-dk);
  margin-bottom: 8px;
}

.mpg-card-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; color: var(--mpg-text-sec);
  margin-top: auto;
}

.mpg-card-meta .sep { opacity: .4; }

/* Stars in cards */
.mpg-stars { color: var(--mpg-amber); font-size: 12px; letter-spacing: 1px; }

/* ============================================================
   REVIEW CARDS
   ============================================================ */
.mpg-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.mpg-review-card {
  background: #fff;
  border: 1.5px solid var(--mpg-border);
  border-radius: var(--mpg-radius);
  padding: 16px;
  box-shadow: var(--mpg-shadow);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: start;
  text-decoration: none; color: inherit;
  transition: transform .2s;
}
.mpg-review-card:hover { transform: translateY(-2px); text-decoration: none; }

.mpg-review-img {
  width: 64px; height: 64px; border-radius: 10px;
  overflow: hidden; background: var(--mpg-amber-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; flex-shrink: 0;
}
.mpg-review-img img { width: 100%; height: 100%; object-fit: cover; }

.mpg-review-name { font-size: 13px; font-weight: 600; color: var(--mpg-brown-dk); margin-bottom: 3px; }
.mpg-review-note { font-size: 11px; color: var(--mpg-text-sec); margin-top: 4px; line-height: 1.4; }
.mpg-review-price { font-size: 14px; font-weight: 700; color: var(--mpg-green); margin-top: 6px; }
.mpg-review-cta {
  display: inline-block; margin-top: 8px;
  background: var(--mpg-amber); color: #fff;
  padding: 5px 14px; border-radius: 10px;
  font-size: 11px; font-weight: 600;
}

/* ============================================================
   AFFILIATE BOX (single post)
   ============================================================ */
.mpg-affiliate-box {
  background: linear-gradient(135deg, #FEF9F2, #FDF4E8);
  border: 2px solid #E8C07A;
  border-radius: var(--mpg-radius);
  padding: 22px 24px;
  margin: 32px 0;
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap;
}

.mpg-affiliate-box .mpg-aff-icon { font-size: 32px; }

.mpg-aff-info { flex: 1; min-width: 180px; }
.mpg-aff-label { font-size: 10px; font-weight: 700; color: var(--mpg-amber); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.mpg-aff-title { font-family: var(--font-serif); font-size: 16px; font-weight: 600; color: var(--mpg-brown-dk); }
.mpg-aff-price { font-size: 18px; font-weight: 700; color: var(--mpg-green); margin-top: 4px; }

.mpg-aff-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--mpg-amber); color: #fff;
  padding: 11px 22px; border-radius: 22px;
  font-size: 13px; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  transition: opacity .2s;
}
.mpg-aff-cta:hover { opacity: .88; text-decoration: none; }

/* ============================================================
   RATING BOX (single post, schema)
   ============================================================ */
.mpg-rating-box {
  background: #fff;
  border: 1.5px solid var(--mpg-border);
  border-left: 4px solid var(--mpg-amber);
  border-radius: 0 var(--mpg-radius) var(--mpg-radius) 0;
  padding: 16px 20px;
  margin: 28px 0;
  display: flex; align-items: center; gap: 16px;
}

.mpg-rating-num {
  font-family: var(--font-serif);
  font-size: 36px; font-weight: 600;
  color: var(--mpg-amber);
  line-height: 1;
  flex-shrink: 0;
}

.mpg-rating-label { font-size: 12px; color: var(--mpg-text-sec); margin-top: 4px; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.mpg-newsletter-wrap {
  background: linear-gradient(135deg, #4A2C0A, #7A5230);
  border-radius: 20px;
  padding: 40px;
  position: relative; overflow: hidden;
  margin: 48px 0;
}

.mpg-newsletter-wrap::before {
  content: '';
  position: absolute; right: -20px; top: -20px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(201,122,42,.25), transparent 70%);
  border-radius: 50%; pointer-events: none;
}

.mpg-newsletter-wrap h3 {
  font-size: 22px; color: #FDF6EE; margin-bottom: 6px;
}
.mpg-newsletter-wrap p { font-size: 14px; color: #D4B896; margin-bottom: 20px; }

.mpg-nl-form {
  display: flex; gap: 10px; flex-wrap: wrap;
  max-width: 480px;
}

.mpg-nl-input {
  flex: 1; min-width: 220px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 24px; padding: 11px 18px;
  font-size: 13px; color: #FDF6EE;
  outline: none; font-family: var(--font-sans);
}
.mpg-nl-input::placeholder { color: rgba(212,184,150,.7); }

.mpg-nl-btn {
  background: var(--mpg-amber); color: #fff;
  border: none; border-radius: 24px;
  padding: 11px 22px; font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: var(--font-sans);
  transition: opacity .2s;
}
.mpg-nl-btn:hover { opacity: .88; }

/* ============================================================
   ADSENSE SLOTS
   ============================================================ */
.mpg-ad-slot {
  text-align: center;
  padding: 12px 0;
  clear: both;
}

.mpg-ad-label {
  font-size: 10px; color: var(--mpg-text-sec);
  letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 4px;
}

.mpg-ad-banner {
  background: #F0EAE2;
  border: 1px dashed #C4AA8A;
  border-radius: 8px;
  min-height: 90px;
  display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.mpg-post-header {
  padding: 40px 0 20px;
}

.mpg-post-cat {
  font-size: 11px; font-weight: 700;
  color: var(--mpg-amber); letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 10px;
  display: block; text-decoration: none;
}

.mpg-post-header h1 { font-size: clamp(22px,3.5vw,36px); margin-bottom: 14px; }

.mpg-post-meta {
  display: flex; align-items: center; gap: 16px;
  font-size: 12px; color: var(--mpg-text-sec);
  padding-bottom: 20px;
  border-bottom: 1.5px solid var(--mpg-border);
  margin-bottom: 28px;
}

.mpg-post-author {
  display: flex; align-items: center; gap: 8px;
}

.mpg-author-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--mpg-amber); display: flex;
  align-items: center; justify-content: center;
  font-size: 14px; color: #fff; font-weight: 600;
}

.mpg-post-content { max-width: 720px; }

.mpg-post-content h2 { font-size: 20px; margin: 32px 0 12px; }
.mpg-post-content h3 { font-size: 17px; margin: 24px 0 10px; }
.mpg-post-content p  { font-size: 16px; line-height: 1.8; margin-bottom: 18px; color: var(--mpg-text-body); }
.mpg-post-content ul,
.mpg-post-content ol { margin: 0 0 18px 24px; }
.mpg-post-content li { font-size: 16px; line-height: 1.7; color: var(--mpg-text-body); }
.mpg-post-content img { border-radius: 10px; margin: 20px 0; }
.mpg-post-content blockquote {
  border-left: 4px solid var(--mpg-amber);
  padding: 12px 20px; margin: 24px 0;
  background: var(--mpg-amber-bg); border-radius: 0 10px 10px 0;
  font-style: italic; color: #6B4C28;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.mpg-layout-single {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.mpg-sidebar-widget {
  background: #fff;
  border: 1.5px solid var(--mpg-border);
  border-radius: var(--mpg-radius);
  padding: 20px;
  margin-bottom: 24px;
}

.mpg-sidebar-widget h4 {
  font-size: 14px; font-weight: 600;
  color: var(--mpg-brown-dk);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--mpg-border);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.mpg-pagination {
  display: flex; justify-content: center;
  gap: 8px; margin: 48px 0;
}

.mpg-pagination a,
.mpg-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  font-size: 13px; font-weight: 500;
  border: 1.5px solid var(--mpg-border);
  color: var(--mpg-brown-lt); text-decoration: none;
  transition: all .15s;
}
.mpg-pagination a:hover { background: var(--mpg-amber-bg); border-color: var(--mpg-amber); color: var(--mpg-amber); }
.mpg-pagination .current { background: var(--mpg-amber); color: #fff; border-color: var(--mpg-amber); }

/* ============================================================
   FOOTER
   ============================================================ */
#colophon {
  background: var(--mpg-brown-dk);
  padding: 48px 0 0;
  margin-top: 48px;
}

.mpg-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.mpg-footer-brand .site-logo-text { color: #D4B896; }

.mpg-footer-brand p {
  font-size: 13px; color: #7A5C3E;
  line-height: 1.6; margin: 14px 0 0;
}

.mpg-footer-col h5 {
  font-size: 11px; font-weight: 700;
  color: #9C7B55; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 14px;
}

.mpg-footer-col ul { list-style: none; }
.mpg-footer-col li { margin-bottom: 8px; }
.mpg-footer-col a { font-size: 13px; color: #7A5C3E; text-decoration: none; transition: color .15s; }
.mpg-footer-col a:hover { color: var(--mpg-amber-lt); }

.mpg-footer-bottom {
  border-top: 1px solid #3D2B14;
  padding: 16px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
}

.mpg-footer-bottom p { font-size: 11px; color: #5C4030; }

/* ============================================================
   404 PAGE
   ============================================================ */
.mpg-404 {
  text-align: center;
  padding: 80px 20px;
}
.mpg-404-emoji { font-size: 64px; margin-bottom: 20px; }
.mpg-404 h1 { font-size: 36px; margin-bottom: 12px; }
.mpg-404 p { font-size: 15px; color: var(--mpg-text-sec); margin-bottom: 28px; }

/* ============================================================
   ARCHIVE / CATEGORY
   ============================================================ */
.mpg-archive-header {
  background: linear-gradient(135deg, #3D2B14, #5C3D1E);
  border-radius: 16px;
  padding: 32px 32px;
  margin-bottom: 32px;
  color: #FDF6EE;
}
.mpg-archive-header h1 { color: #FDF6EE; font-size: 26px; }
.mpg-archive-header p { color: #D4B896; font-size: 14px; margin-top: 6px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .mpg-nav-menu { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--mpg-cream); border-bottom: 1.5px solid var(--mpg-border); padding: 16px 20px; gap: 14px; }
  .mpg-nav-menu.open { display: flex; }
  .mpg-hamburger { display: flex; }
  #masthead { position: relative; }

  .mpg-hero { padding: 40px 0 36px; }

  .mpg-featured { grid-template-columns: 1fr; }
  .mpg-featured-img { min-height: 180px; }

  .mpg-grid { grid-template-columns: 1fr 1fr; }

  .mpg-layout-single { grid-template-columns: 1fr; }
  .mpg-sidebar { display: none; }

  .mpg-footer-grid { grid-template-columns: 1fr; gap: 24px; }

  .mpg-affiliate-box { flex-direction: column; text-align: center; }

  .mpg-newsletter-wrap { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .mpg-grid { grid-template-columns: 1fr; }
  .mpg-reviews-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CARD THUMB FALLBACK (sem imagem destacada)
   ============================================================ */
.mpg-card-thumb:empty,
.mpg-card-thumb:not(:has(img)) {
  background: linear-gradient(135deg, var(--mpg-amber-bg), #F5E8D0);
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mpg-card-thumb:empty::after,
.mpg-card-thumb:not(:has(img))::after {
  content: '🐾';
  font-size: 36px;
  opacity: 0.5;
}

/* Grid mais consistente — altura mínima do thumb */
.mpg-card-thumb {
  min-height: 160px;
}

.mpg-card-thumb-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  background: linear-gradient(135deg, var(--mpg-amber-bg), #F0E4CC);
  opacity: 0.8;
}
