/* ============================================================
   MAGAZINE PAGE — magazine.css
   Live-replica layer for luxuri.com/magazine. Loads on top of
   listing.css, which already carries the hero shell and the
   max-w-7xl container both pages share.

   Measured on the live page (Chrome, 1440x1000 and 390x844):
     hero   : pt-14 + min-h-[60vh] over a cover image, with the
              black/20 wash, the to-black bottom gradient and a
              radial vignette behind the copy
     h1     : Mulish 32/38.4 600 ls.8 uppercase  (48/48 ls1.2 >= 640)
     sub    : Noto 20/31.11 400 white, centered
     grid   : 1 / md:2 / lg:3, gap 32 row / 24 column
     card   : image aspect-4/3 radius 8, 16px to the title;
              h3 Mulish 20/31.11 400 ls.5 uppercase -> amber-200;
              date 12/16 zinc-400, 12px above
   ============================================================ */

/* ── HERO (image variant of the shared listing hero) ───────── */
.lx-list-hero--media {
  position: relative;
  min-height: 60vh;           /* live min-h-[60vh] */
  overflow: hidden;
}
.mag-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}
/* live: bg-black/20 wash + from-black/10 -> via-black/20 80% -> black 95% */
.mag-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .2) 80%, rgba(0, 0, 0, 1) 95%),
    rgba(0, 0, 0, .2);
}
.lx-list-hero--media .lx-list-hero-inner {
  position: relative;
  z-index: 2;
  /* live: bg-radial from-black/20 from-30% to-70% to-black/0 */
  background: radial-gradient(circle at center, rgba(0, 0, 0, .2) 30%, rgba(0, 0, 0, 0) 70%);
}

.mag-title {
  font-family: var(--lx-font-accent);
  font-size: 32px;            /* live text-3xl */
  line-height: 38.4px;
  font-weight: 600;           /* live font-semibold */
  letter-spacing: .025em;
  text-transform: uppercase;
  text-align: center;
  text-wrap: balance;
  color: #fff;
  margin: 0 0 16px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .1), 0 3px 2px rgba(0, 0, 0, .1), 0 4px 8px rgba(0, 0, 0, .1);
}
@media (min-width: 640px) {
  .mag-title { font-size: 48px; line-height: 48px; }   /* live sm:text-5xl */
}
.mag-sub {
  font-family: var(--lx-font-body);
  font-size: 20px;            /* live text-lg */
  line-height: 31.1111px;
  font-weight: 400;           /* live font-normal */
  text-align: center;
  text-wrap: pretty;
  color: #fff;
  margin: 0;
}

/* ── ARTICLE GRID ─────────────────────────────────────────── */
.mag-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px 24px;             /* live gap-y-8 gap-x-6 */
  margin-bottom: 32px;        /* live grid mb-6 collapsed with the mt-8 tail */
}
@media (min-width: 768px)  { .mag-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .mag-grid { grid-template-columns: repeat(3, 1fr); } }

.mag-card {
  position: relative;
  display: block;
  align-self: start;
  text-decoration: none;
  font-family: var(--lx-font-body);
  font-size: 14px;            /* live text-sm */
  line-height: 20px;
  font-weight: 300;
  color: var(--lx-zinc-50);
}
.mag-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;        /* live aspect-[4/3] */
  overflow: hidden;
  border-radius: 8px;         /* live rounded-lg */
  margin-bottom: 16px;        /* live mb-2 inside mb-4, collapsed */
}
.mag-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  transition: transform .3s;  /* live duration-300 */
}
.mag-card:hover .mag-card-img img { transform: scale(1.1); }

.mag-card-title {
  font-family: var(--lx-font-accent);
  font-size: 20px;            /* live text-lg */
  line-height: 31.1111px;
  font-weight: 400;
  letter-spacing: .025em;
  text-transform: uppercase;
  color: var(--lx-zinc-50);
  margin: 0;
  transition: color .3s;
}
.mag-card:hover .mag-card-title { color: #e9d9c3; }   /* live amber-200 */

.mag-card-date {
  font-family: var(--lx-font-body);
  font-size: 12px;            /* live text-xs */
  line-height: 16px;
  font-weight: 300;
  color: var(--lx-zinc-400);
  margin-top: 12px;           /* live mt-3 */
}

.mag-card-img .lx-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lx-zinc-800);
  color: var(--lx-zinc-400);
  font-size: 14px;
}
