/* ===== Guides pratiques / Tendances / Dossiers (maquette DécoMaison violette) ===== */
.rub-designed-guides-pratiques, .rub-designed-tendances, .rub-designed-dossiers { --pm-green: #5b4a8b; --pm-green-soft: #efeaf6; --pm-cream: #f8f6f3; --pm-line: #ebe6ee; --pm-ink: #2a2533; background: var(--pm-cream); }
.mg-kick { display: block; color: var(--pm-green); font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.mg-sub { margin: 6px 0 0; font-size: .74rem; color: #6c6770; }
.mg-hero::before { background: linear-gradient(90deg, var(--pm-cream) 0%, rgba(248,246,243,.95) 36%, rgba(248,246,243,.15) 64%, transparent 80%); }
.mg-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mg-row em { font-style: normal; font-size: .6rem; color: #7b7580; }
.mg-row i { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--pm-green-soft); color: var(--pm-green); font-style: normal; font-size: .7rem; }
.mg-round { width: 30px !important; height: 30px !important; background: var(--pm-green) !important; color: #fff !important; }
.mg-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding-top: 24px; }
.mg-cat { display: flex; align-items: center; gap: 12px; padding: 10px; background: #fff; border: 1px solid var(--pm-line); border-radius: 10px; }
.mg-cat img { width: 58px; height: 58px; flex: none; object-fit: cover; border-radius: 6px; }
.mg-cat b { display: block; font-size: .74rem; color: var(--pm-ink); }
.mg-cat small { font-size: .6rem; color: var(--pm-green); }
.mg-outline { padding: 8px 16px; border: 1px solid var(--pm-line); border-radius: 999px; background: #fff; color: var(--pm-green); font-size: .66rem; text-decoration: none !important; white-space: nowrap; }
.mg-prods { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.mg-prod { display: flex; flex-direction: column; gap: 6px; padding-bottom: 12px; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 18px rgba(42,37,51,.06); }
.mg-prod .pm-prod-media { border-radius: 0; }
.mg-prod strong, .mg-prod b, .mg-prod .mg-row { margin: 0 12px; }
.mg-prod strong { font-size: .72rem; font-weight: 500; min-height: 2.7em; }
.mg-prod b { font-size: .86rem; }
.mg-panel { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: center; padding: 26px 30px; border-radius: 16px; background: var(--pm-green-soft); }
.mg-panel h2, .mg-mats h2, .mg-contact h2 { margin: 8px 0; font-family: var(--hp-serif); font-weight: 400; font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--pm-ink); }
.mg-arts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: stretch; }
.mg-art { display: flex; flex-direction: column; gap: 8px; padding-bottom: 12px; background: #fff; border-radius: 8px; overflow: hidden; }
.mg-art .pm-art-media { aspect-ratio: 16/10; overflow: hidden; flex: none; }
.mg-art strong { margin: 0 12px; font-size: .7rem; font-weight: 500; line-height: 1.4; min-height: 2.8em; flex: 1; }
.mg-art .mg-row { margin: 0 12px; }
.mg-mats { display: grid; grid-template-columns: 220px 1fr auto; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--pm-line); border-radius: 12px; overflow: hidden; padding-right: 20px; }
.mg-mats > img { width: 100%; height: 124px; object-fit: cover; }
.mg-mats p { margin: 0; font-size: .7rem; color: #6c6770; }
.mg-mat-row { display: flex; gap: 14px; }
.mg-mat { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 70px; text-align: center; }
.mg-mat img { width: 58px; height: 58px; object-fit: cover; border-radius: 50%; border: 3px solid var(--pm-green-soft); }
.mg-mat small { font-size: .56rem; color: var(--pm-ink); }
.mg-contact { margin-top: 36px; background: linear-gradient(90deg, var(--pm-green-soft), #f6f1fa); }
.mg-contact-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 34px; padding-bottom: 34px; }
.mg-contact p { margin: 0; font-size: .74rem; color: #6c6770; max-width: 52ch; }
@media (max-width: 980px) {
  .mg-cats { grid-template-columns: repeat(3, 1fr); }
  .mg-prods { grid-template-columns: repeat(3, 1fr); }
  .mg-panel, .mg-mats { grid-template-columns: 1fr; }
  .mg-arts { grid-template-columns: repeat(2, 1fr); }
  .mg-mats { padding: 0 0 18px; }
  .mg-mats > div { padding: 0 18px; }
  .mg-mat-row { padding: 0 18px; flex-wrap: wrap; }
  .mg-hero::before { background: linear-gradient(90deg, rgba(248,246,243,.96), rgba(248,246,243,.82)); }
}
@media (max-width: 560px) {
  .mg-cats, .mg-prods { grid-template-columns: repeat(2, 1fr); }
  .mg-cat { flex-direction: column; text-align: center; }
  .mg-contact-in { flex-direction: column; align-items: flex-start; }
}
