/* Rivera Magos Magazine — RM3 Trends premium editorial design.
   Strictly scoped: never changes RM1 or RM2 articles. */
.rm-content .rm3-article {
  --rm3-ink:#24303b;--rm3-wine:#74273f;--rm3-navy:#152f40;
  --rm3-gold:#b18a4a;--rm3-sand:#faf5ed;--rm3-border:#e8dacc;
  width:100%;max-width:760px;margin:0 auto;overflow-wrap:anywhere;
  color:var(--rm3-ink);font:17px/1.85 Georgia,"Times New Roman",serif;
}
.rm-content .rm3-article * {box-sizing:border-box;max-width:100%}
.rm-content .rm3-article .rm3-editorial-marker {
  display:flex;flex-wrap:wrap;gap:10px 24px;
  align-items:center;justify-content:space-between;
  margin:6px 0 24px;padding:12px 0;
  border-block:1px solid var(--rm3-border);
  font:700 11px/1.4 Arial,sans-serif;letter-spacing:.12em;
  color:var(--rm3-wine);
}
.rm-content .rm3-article p {line-height:1.85;margin:0 0 1.25em}
.rm-content .rm3-article > article > p:first-of-type {
  font-size:1.17em;line-height:1.75;color:#334650;
}
.rm-content .rm3-article h2 {
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(25px,3.1vw,31px)!important;
  color:var(--rm3-navy)!important;line-height:1.28!important;
  margin:2.15em 0 .8em!important;
  letter-spacing:-.017em;
  scroll-margin-top:24px;
}
.rm-content .rm3-article h2:after {
  content:"";display:block;width:64px;height:3px;
  background:linear-gradient(90deg,var(--rm3-gold),transparent);
  margin-top:12px;
}
.rm-content .rm3-article h3 {
  font-family:Arial,sans-serif!important;
  font-size:clamp(17px,2.2vw,21px)!important;
  color:var(--rm3-wine)!important;line-height:1.35;
  font-weight:800;margin:1.8em 0 .72em;
}
.rm-content .rm3-article strong{color:var(--rm3-navy)}
.rm-content .rm3-article ul,
.rm-content .rm3-article ol {padding-left:1.5em;margin:1em 0 1.4em}
.rm-content .rm3-article li {padding:3px 0;line-height:1.68}
.rm-content .rm3-article li::marker{color:var(--rm3-wine)}
.rm-content .rm3-article a {
  color:#8c3150;text-decoration:underline;text-decoration-thickness:1px;
  text-underline-offset:4px;transition:color .15s ease;
}
.rm-content .rm3-article a:hover {color:var(--rm3-navy)}
.rm-content .rm3-article a:focus-visible {
  outline:3px solid var(--rm3-gold);outline-offset:4px;
}
.rm-content .rm3-article aside:not(.rm3-products),
.rm-content .rm3-article section[style*="background"],
.rm-content .rm3-article div[style*="background"] {
  border-radius:13px!important;box-shadow:0 9px 24px rgba(27,39,49,.045);
  max-width:100%;
}
.rm-content .rm3-article .rm3-toc {
  margin:29px 0 45px;padding:25px 28px 21px;
  border:1px solid #ded2c1;border-radius:15px;
  background:linear-gradient(135deg,#fffaf2,#f7f0e6);
  box-shadow:0 12px 28px rgba(74,45,24,.05);
}
.rm-content .rm3-article .rm3-toc-head {
  font:800 15px/1.3 Arial,sans-serif!important;
  letter-spacing:.045em;color:var(--rm3-wine);
  margin-bottom:17px;padding-bottom:12px;
  border-bottom:1px solid #e4d3ba;
}
.rm-content .rm3-article .rm3-toc ol {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:26px;row-gap:11px;margin:0!important;
  padding-left:25px!important;
}
.rm-content .rm3-article .rm3-toc li {
  break-inside:avoid;font:600 14px/1.5 Arial,sans-serif;
  padding:0!important;
}
.rm-content .rm3-article .rm3-toc a{
  color:var(--rm3-navy);text-decoration:none;
  border-bottom:1px dotted #a7a39a;
}
.rm-content .rm3-article .rm3-toc a:hover{color:var(--rm3-wine)}
.rm-content .rm3-article .rm3-products {
  margin:52px 0 18px;padding:29px 27px;
  border:1px solid #e0d3be;border-radius:15px;
  background:linear-gradient(145deg,#fffaf3,#f7f0e7);
}
.rm-content .rm3-article .rm3-eyebrow {
  color:var(--rm3-wine);font:800 11px/1.4 Arial,sans-serif;
  letter-spacing:.16em;
}
.rm-content .rm3-article .rm3-products h2 {
  margin:10px 0 12px!important;
  font-size:clamp(25px,3vw,32px)!important;
}
.rm-content .rm3-article .rm3-products h2:after{display:none}
.rm-content .rm3-article .rm3-products>p {
  font:15px/1.65 Arial,sans-serif;color:#586774;margin-bottom:22px;
}
.rm-content .rm3-article .rm3-product-grid {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;
}
.rm-content .rm3-article .rm3-product-link {
  min-width:0;display:flex;flex-direction:column;
  gap:11px;min-height:175px;padding:18px 15px;
  border:1px solid #e7d9c8;background:white;border-radius:12px;
  text-decoration:none!important;box-shadow:0 5px 14px rgba(21,47,64,.04);
  transition:transform .15s ease,box-shadow .15s ease;
}
.rm-content .rm3-article .rm3-product-link:hover {
  transform:translateY(-3px);box-shadow:0 10px 18px rgba(21,47,64,.13)
}
.rm-content .rm3-article .rm3-product-mark {
  color:var(--rm3-gold);font-size:24px;line-height:1;
}
.rm-content .rm3-article .rm3-product-name {
  font:700 15px/1.35 Arial,sans-serif;color:var(--rm3-navy);
  overflow-wrap:anywhere;flex:1;
}
.rm-content .rm3-article .rm3-product-action {
  font:800 12px/1.4 Arial,sans-serif;color:var(--rm3-wine);
}
.rm-content .rm3-article .rm3-footer-note {
  margin:28px 0 12px;padding-top:18px;
  border-top:1px solid #e4d8c9;
  font:12px/1.6 Arial,sans-serif;color:#66717a;
}
@media(max-width:680px){
  .rm-content .rm3-article{font-size:16px;line-height:1.8}
  .rm-content .rm3-article .rm3-toc{padding:20px 17px}
  .rm-content .rm3-article .rm3-toc ol{grid-template-columns:1fr}
  .rm-content .rm3-article .rm3-product-grid{grid-template-columns:1fr}
  .rm-content .rm3-article .rm3-product-link{min-height:110px}
  .rm-content .rm3-article .rm3-products{padding:20px 16px}
  .rm-content .rm3-article .rm3-editorial-marker{font-size:10px}
}
