.mag-site { background: #fbf8f5; }
.mag-site .site-header { background: rgba(251, 248, 245, .98); }
.mag-hero { position: relative; overflow: hidden; padding: 95px 0 105px; background: linear-gradient(120deg, #fbf8f5 0 63%, #efe3dd 63%); }
.mag-hero::before { position: absolute; top: -220px; right: 13%; width: 540px; height: 540px; border: 1px solid rgba(217, 31, 74, .14); border-radius: 50%; content: ""; }
.mag-hero-grid { display: grid; grid-template-columns: 1fr 360px; gap: 10%; align-items: center; }
.mag-hero h1 { margin-bottom: 30px; }
.mag-hero h1 em { color: var(--rose); }
.mag-hero-stamp { position: relative; display: grid; width: 320px; height: 320px; place-content: center; justify-self: end; color: #fff; border-radius: 50% 50% 50% 15%; background: linear-gradient(145deg, var(--rose), #80102b); box-shadow: var(--shadow); text-align: center; transform: rotate(3deg); }
.mag-hero-stamp span, .mag-hero-stamp small { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.mag-hero-stamp strong { display: block; font-family: var(--serif); font-size: 5rem; font-style: italic; line-height: 1; }
.mag-categories { padding-block: 100px 115px; }
.mag-category-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 260px; gap: 15px; }
.mag-category-card { position: relative; display: flex; min-width: 0; flex-direction: column; justify-content: space-between; padding: 24px; overflow: hidden; color: #fff; background: #261e23; transition: transform .25s ease; }
.mag-category-card:hover { transform: translateY(-5px); }
.mag-category-card::after { position: absolute; right: -70px; bottom: -100px; width: 230px; height: 230px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; content: ""; }
.mag-category-card:nth-child(1), .mag-category-card:nth-child(2) { grid-column: span 3; }
.mag-category-card:nth-child(n+3) { grid-column: span 2; }
.mag-category-1 { background: linear-gradient(145deg, #b5143b, #701026); }
.mag-category-2 { color: var(--ink); background: #ead9d4; }
.mag-category-2::after { border-color: rgba(23,18,22,.12); }
.mag-category-3 { background: #33241f; }
.mag-category-4 { background: #251f2f; }
.mag-category-5 { background: #171216; }
.mag-category-number { position: relative; z-index: 1; color: rgba(255,255,255,.48); font-size: .7rem; letter-spacing: .18em; }
.mag-category-2 .mag-category-number { color: rgba(23,18,22,.45); }
.mag-category-card div { position: relative; z-index: 1; }
.mag-category-card p { margin-bottom: 5px; color: rgba(255,255,255,.6); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.mag-category-2 p { color: rgba(23,18,22,.55); }
.mag-category-card h3 { margin: 0 0 15px; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.65rem); line-height: 1; }
.mag-category-card div > span { font-size: .72rem; font-weight: 700; }
.mag-intro { padding-block: 100px; background: var(--cream); }
.mag-latest { padding-block: 100px 115px; border-top: 1px solid var(--line); background: #fff; }
.mag-latest-intro { max-width: 420px; margin: 0; color: var(--ink-soft); font-size: .9rem; }
.mag-pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; margin-top: 55px; padding-top: 30px; border-top: 1px solid var(--line); }
.mag-pagination ol { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mag-pagination a, .mag-pagination ol span { display: inline-grid; min-width: 42px; min-height: 42px; place-items: center; padding: 8px 12px; border: 1px solid var(--line); background: #fff; font-size: .76rem; font-weight: 700; }
.mag-pagination a:hover { color: #fff; border-color: var(--rose); background: var(--rose); }
.mag-pagination .is-current { color: #fff; border-color: var(--ink); background: var(--ink); }
.mag-pagination-edge a, .mag-pagination-edge span { display: inline-flex; min-height: 42px; align-items: center; font-size: .76rem; font-weight: 700; }
.mag-pagination-edge span { color: #aaa0a5; }
.mag-pagination-next { text-align: right; }
.mag-pagination-gap { border-color: transparent !important; }

.mag-section-hero { position: relative; padding: 75px 0 85px; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(130deg, #fff 0 67%, #f2e5e4 67%); }
.mag-section-hero::after { position: absolute; top: -180px; right: 8%; width: 420px; height: 420px; border: 1px solid rgba(217,31,74,.12); border-radius: 50%; content: ""; }
.mag-section-hero h1 { max-width: 900px; margin-bottom: 22px; }
.mag-listing { min-height: 530px; padding-block: 90px 115px; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 20px; }
.article-card { min-width: 0; background: #fff; border-bottom: 3px solid transparent; transition: border-color .2s ease, transform .2s ease; }
.article-card:hover { border-color: var(--rose); transform: translateY(-3px); }
.article-card-image { position: relative; display: block; overflow: hidden; aspect-ratio: 3/2; background: #e5d6d2; }
.article-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.article-card:hover img { transform: scale(1.03); }
.article-card-fallback { position: absolute; inset: 0; display: grid; place-content: center; color: #9b8188; background: radial-gradient(circle at 25% 20%, #fff, transparent 25%), linear-gradient(145deg, #f0e2de, #d4bfbd); text-align: center; }
.article-card-fallback b { color: rgba(255,255,255,.78); font-family: var(--serif); font-size: 4.5rem; line-height: 1; }
.article-card-fallback small { font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.article-card-copy { padding: 22px 22px 25px; }
.article-card-copy > p { margin-bottom: 10px; color: var(--rose); font-size: .65rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.article-card-copy h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 1.55rem; line-height: 1.15; }
.article-card-copy h3 a:hover { color: var(--rose); }
.article-card-copy > span { display: block; min-height: 48px; margin-bottom: 18px; color: var(--ink-soft); font-size: .8rem; }
.mag-empty { padding: 85px 25px; color: var(--ink-soft); border: 1px solid var(--line); background: #fff; text-align: center; }
.mag-empty > span { display: inline-grid; width: 58px; height: 58px; place-items: center; margin-bottom: 20px; color: #fff; border-radius: 50% 50% 50% 14px; background: var(--rose); font-family: var(--serif); }
.mag-empty h2 { margin-bottom: 14px; color: var(--ink); font-size: 2rem; }

.article-header { max-width: 1000px; padding-top: 65px; padding-bottom: 55px; text-align: center; }
.article-header h1 { margin-bottom: 25px; font-size: clamp(3rem, 6vw, 5.4rem); }
.article-header .lead { margin-inline: auto; }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 25px; margin-top: 28px; color: #887d82; font-size: .72rem; }
.article-hero { overflow: hidden; max-height: 720px; margin-bottom: 75px; border-radius: 7px; background: #e3d4d0; }
.article-hero img { width: 100%; max-height: 720px; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 280px; justify-content: center; gap: 90px; padding-bottom: 115px; }
.article-content { color: #3e363a; font-family: var(--sans); font-size: 1.08rem; line-height: 1.85; }
.article-content > p:first-child { font-size: 1.22rem; }
.article-content h2, .article-content h3 { margin: 2.2em 0 .8em; color: var(--ink); font-family: var(--serif); line-height: 1.15; }
.article-content h2 { font-size: 2.25rem; }
.article-content h3 { font-size: 1.65rem; }
.article-content a { color: var(--rose); text-decoration: underline; text-underline-offset: 3px; }
.article-content blockquote { margin: 2.2em 0; padding: 5px 0 5px 25px; color: var(--ink); border-left: 3px solid var(--rose); font-family: var(--serif); font-size: 1.35rem; }
.article-content img { height: auto; margin: 2.2em auto; border-radius: 5px; }
.article-aside { position: sticky; top: 30px; align-self: start; padding: 25px; border-top: 3px solid var(--rose); background: var(--cream); }
.article-aside p:not(.eyebrow) { color: var(--ink-soft); font-size: .78rem; }
.article-aside a { color: var(--rose); font-size: .74rem; font-weight: 700; }
.related-articles { padding-bottom: 110px; }
.mag-page { max-width: 900px; padding-block: 80px 120px; }

@media (max-width: 1000px) {
  .mag-hero-grid { grid-template-columns: 1fr 280px; gap: 6%; }
  .mag-hero-stamp { width: 270px; height: 270px; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 680px) 230px; gap: 45px; }
}

@media (max-width: 780px) {
  .mag-hero { padding-block: 65px; background: linear-gradient(180deg, #fbf8f5 0 72%, #efe3dd 72%); }
  .mag-hero-grid { grid-template-columns: 1fr; }
  .mag-hero-stamp { width: 230px; height: 230px; margin-top: 20px; justify-self: center; }
  .mag-category-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .mag-category-card:nth-child(n) { grid-column: span 1; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .mag-latest .section-heading { align-items: start; flex-direction: column; gap: 18px; }
}

@media (max-width: 520px) {
  .article-grid { grid-template-columns: 1fr; }
  .mag-categories, .mag-listing { padding-block: 65px; }
  .article-header { padding-top: 35px; }
  .article-hero { margin-bottom: 45px; }
  .article-layout { padding-bottom: 75px; }
  .mag-latest { padding-block: 65px 75px; }
  .mag-pagination { grid-template-columns: 1fr 1fr; }
  .mag-pagination ol { grid-column: 1 / -1; grid-row: 1; }
  .mag-pagination-edge { grid-row: 2; }
}
