/* Layout "Magazine" (2026-10-31, owner): the menu across the top (layouts/topnav.css loads too), a magazine guest home,
   and cards with the text under the photo (templates/layouts/magazine/). Colours come from the design and Brand. */
body.layout-magazine .wrap { max-width: 1320px; }
.mag-mast { text-align: center; padding: 18px 0 26px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.mag-kicker { display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.mag-kicker span { padding-left: 10px; margin-left: 4px; border-left: 1px solid var(--line-2); }
.mag-mast h1 { font-size: clamp(30px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -.035em; margin: 14px auto 12px; max-width: 980px; }
.mag-mast .lead { max-width: 720px; margin: 0 auto; color: var(--ink-2); font-size: 17px; }
.mag-cover { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; margin-bottom: 44px; }
.mag-cover-img { display: block; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/5; background: var(--bg-2); }
.mag-cover-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .8s; }
.mag-cover-img:hover img { transform: scale(1.03); }
.mag-label { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); border-bottom: 2px solid var(--brand); padding-bottom: 4px; }
.mag-cover-text h2 { font-size: clamp(34px, 4vw, 56px); letter-spacing: -.03em; margin: 16px 0 6px; line-height: 1; }
.mag-job { color: var(--ink-3); font-weight: 650; }
.mag-quote { font-size: clamp(19px, 1.8vw, 24px); line-height: 1.35; margin: 22px 0 12px; font-weight: 600; font-style: italic; }
.mag-bio { color: var(--ink-2); line-height: 1.6; margin: 0 0 24px; }
.mag-cover .stats { margin-top: 26px; }
.mag-head { border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.mag-head h2 { text-transform: uppercase; letter-spacing: .06em; font-size: 18px; }
.mag-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-bottom: 26px; }
body.layout-magazine .grid, .mag-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 26px 20px; }
.mag-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin: 46px 0; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mag-features b { font-size: 34px; font-weight: 800; color: var(--brand); letter-spacing: -.03em; }
.mag-features h3 { margin: 8px 0 6px; }
.mag-features p { color: var(--ink-2); margin: 0; font-size: 14px; line-height: 1.55; }
/* the card: photo, then text on the page background (no overlay) */
body .pcard.mcard { aspect-ratio: auto; overflow: visible; background: transparent; box-shadow: none; border-radius: 0; display: flex; flex-direction: column; }
body .pcard.mcard::after { display: none; }
body .pcard.mcard:hover { transform: none; box-shadow: none; outline: 0; }
.mcard-img { position: relative; aspect-ratio: 4/5; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); }
.mcard-big .mcard-img { aspect-ratio: 5/4; }
.mcard-img img, .mcard-img video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .6s; }
.mcard:hover .mcard-img img { transform: scale(1.04); }
.pcard.mcard .top { z-index: 2; }
.mcard-text { padding: 12px 2px 0; color: var(--ink); }
.mcard-job { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.mcard-name { font-size: 20px; font-weight: 800; letter-spacing: -.02em; margin-top: 4px; display: flex; align-items: center; gap: 7px; }
.mcard-big .mcard-name { font-size: 28px; }
.mcard-sub { color: var(--ink-2); font-size: 14px; line-height: 1.45; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mcard-bio { color: var(--ink-3); font-size: 14px; line-height: 1.55; margin-top: 8px; }
.mcard-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 13px; color: var(--ink-3); font-weight: 650; }
.mcard-foot span { display: inline-flex; align-items: center; gap: 5px; }
.mcard-more { color: var(--ink); }
.mcard:hover .mcard-more { color: var(--brand); }
.pcard.mcard.pd-active { outline: 0; }
.pcard.mcard.pd-active .mcard-img { outline: 3px solid var(--brand); outline-offset: 2px; }
@media (max-width: 1000px) { .mag-cover { grid-template-columns: 1fr; gap: 22px; } .mag-features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .mag-lead { grid-template-columns: 1fr; gap: 22px; }
  body.layout-magazine .grid, .mag-grid { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .mcard-name { font-size: 16px; } .mcard-sub { font-size: 13px; } .mcard-foot .mcard-more { display: none; }
  .mag-features { grid-template-columns: 1fr; gap: 18px; } .mag-kicker span { display: none; }
}
