.mag-body { background: #fcfaf7; color: #302731; }
.mag-main { padding-block: 118px 80px; }
.mag-shell { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.mag-masthead { padding-block: 24px 30px; border-top: 1px solid #ded5dd; }
.mag-masthead-top { display: flex; justify-content: space-between; gap: 15px; color: #8d7588; font-size: .7rem; letter-spacing: .08em; }
.mag-masthead-top > span:first-child { direction: ltr; font-weight: 850; }
.mag-intro { display: flex; align-items: end; justify-content: space-between; gap: 32px; padding-top: 28px; }
.mag-kicker { color: #916076; font-size: .76rem; font-weight: 800; }
.mag-intro h1 { margin: 7px 0; color: #35263e; font-size: clamp(2.2rem, 5vw, 4.3rem); line-height: 1.45; letter-spacing: -.035em; }
.mag-intro p { color: #817580; margin: 8px 0 0; font-size: .93rem; line-height: 1.9; }
.mag-search { flex: 0 1 310px; min-width: 0; }
.mag-search label { display: block; color: #817580; font-size: .74rem; margin-bottom: 9px; }
.mag-search > div { display: flex; align-items: center; padding: 5px; border: 1px solid #e1d5df; border-radius: 13px; background: #fff; }
.mag-search input { min-width: 0; flex: 1; border: 0; background: transparent; box-shadow: none; font: inherit; font-size: .82rem; padding: 10px; }
.mag-search button { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border: 0; border-radius: 10px; color: #fff; background: #67436f; }
.mag-categories { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; padding-block: 17px; border-top: 1px solid #e7dde4; border-bottom: 1px solid #e7dde4; margin-bottom: 32px; }
.mag-categories a { padding: 9px 14px; border-radius: 999px; color: #766573; font-size: .79rem; font-weight: 700; white-space: nowrap; }
.mag-categories a:hover { background: #f0e8ef; }
.mag-categories a[aria-current] { background: #67436f; color: #fff; }
.mag-feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); overflow: hidden; border: 1px solid #e7dde4; border-radius: 24px; background: #fff; }
.mag-feature-cover { position: relative; min-height: 410px; display: grid; overflow: hidden; }
.mag-feature-cover img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .5s; }
.mag-feature-cover:hover img { transform: scale(1.025); }
.mag-feature-copy { display: flex; flex-direction: column; align-items: start; justify-content: center; padding: 40px; }
.mag-feature-copy > .mag-kicker { margin-bottom: 24px; }
.mag-tag { display: inline-flex; align-items: center; color: #82536c; font-size: .73rem; font-weight: 850; }
.mag-feature h2 { margin: 14px 0; font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.9; color: #35263e; }
.mag-feature-copy > p { color: #80717e; font-size: .88rem; line-height: 2; margin: 0 0 24px; }
.mag-byline { display: flex; flex-wrap: wrap; gap: 6px 16px; color: #8a7d88; font-size: .72rem; line-height: 1.8; }
.mag-read-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #67436f; font-size: .84rem; font-weight: 850; }
.mag-feature-copy > .mag-read-link { margin-top: 21px; }
.mag-read-link svg { width: 16px; height: 16px; }
.mag-section-heading, .mag-results { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin: 44px 0 22px; }
.mag-section-heading h2, .mag-results h2 { margin: 0; font-size: 1.2rem; color: #35263e; }
.mag-section-heading > span, .mag-section-heading > a, .mag-results > span { color: #8a7d88; font-size: .77rem; }
.mag-results { margin-top: 0; }
.mag-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.mag-card { min-width: 0; overflow: hidden; border-bottom: 1px solid #e4dae2; padding-bottom: 24px; }
.mag-card-cover { display: grid; position: relative; aspect-ratio: 1.55; border-radius: 18px; overflow: hidden; }
.mag-card-cover img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; }
.mag-card-copy { padding-top: 18px; }
.mag-card h2 { margin: 10px 0; font-size: 1.07rem; line-height: 1.9; color: #35263e; }
.mag-card-copy > p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 17px; color: #80717e; font-size: .81rem; line-height: 2; }
.mag-card h2 a:hover, .mag-feature h2 a:hover { color: #a5627d; }
.mag-cover-art { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 25px; width: 100%; min-height: 100%; padding: 32px; background: radial-gradient(ellipse at 10% 10%, #fff9 0, transparent 60%), linear-gradient(135deg, #e5d4e2, #bca3bd); color: #5f3d62; text-align: center; }
.mag-cover-art::before { content: ""; position: absolute; width: 65%; aspect-ratio: 1; border: 1px solid #ffffff70; border-radius: 50% 50% 8% 50%; transform: rotate(-20deg); }
.mag-cover-art > * { position: relative; }
.mag-cover-art > span, .mag-cover-art > small { letter-spacing: .16em; font-size: .65rem; font-weight: 800; direction: ltr; }
.mag-cover-art > strong { font-size: clamp(1.3rem, 2.4vw, 2rem); line-height: 1.9; }
.mag-art-skin .mag-cover-art { background: linear-gradient(145deg, #f6eadc, #d5b79d); color: #725137; }
.mag-art-hair .mag-cover-art { background: linear-gradient(145deg, #e4eade, #a3b4a2); color: #3f5d47; }
.mag-art-nails .mag-cover-art { background: linear-gradient(145deg, #f4e0e7, #d9a1b4); color: #824d62; }
.mag-art-business .mag-cover-art { background: linear-gradient(145deg, #e0e5ee, #abb7cf); color: #435779; }
.mag-empty { display: grid; justify-items: center; gap: 15px; padding: 70px 24px; border: 1px solid #e6dce4; border-radius: 24px; background: linear-gradient(120deg, #f4ecf3, #fff9f1); text-align: center; }
.mag-empty-mark { display: grid; place-items: center; width: 82px; height: 90px; border: 1px solid #c8b6c8; border-radius: 44px 44px 12px 12px; font-size: 2.4rem; color: #82536c; }
.mag-empty h2 { margin: 0; font-size: clamp(1.2rem, 3vw, 1.9rem); line-height: 1.8; color: #35263e; }
.mag-empty p { margin: 0; max-width: 540px; color: #80717e; font-size: .88rem; line-height: 2; }
.mag-pagination { margin-top: 32px; }
.mag-bottom-note { display: grid; justify-items: center; gap: 12px; margin-top: 60px; padding: 40px 20px; border-block: 1px solid #dfd3dd; text-align: center; }
.mag-bottom-note > span { color: #916076; font-size: .8rem; }
.mag-bottom-note h2 { margin: 0; color: #35263e; font-size: 1.35rem; line-height: 1.9; }
.mag-bottom-note a, .mag-story-footer a { display: inline-flex; align-items: center; gap: 9px; color: #67436f; font-size: .82rem; font-weight: 850; }
.mag-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; color: #8a7d88; font-size: .78rem; margin-block: 14px 35px; }
.mag-story-head { max-width: 850px; margin: auto; text-align: center; }
.mag-story h1 { margin: 18px 0; font-size: clamp(1.7rem, 3.8vw, 2.8rem); line-height: 1.85; color: #35263e; }
.mag-story-head > p { max-width: 740px; margin: auto; color: #80717e; font-size: 1rem; line-height: 2.1; }
.mag-story-head .mag-byline { justify-content: center; margin-top: 24px; }
.mag-story-cover { margin: 35px 0; overflow: hidden; border-radius: 24px; }
.mag-story-cover img { width: 100%; height: auto; max-height: 660px; object-fit: cover; display: block; }
.mag-prose { max-width: 760px; margin: 44px auto; color: #51414f; font-size: 1.02rem; line-height: 2.3; overflow-wrap: anywhere; }
.mag-prose h2 { margin-top: 40px; font-size: 1.5rem; color: #35263e; line-height: 1.9; }
.mag-prose h3 { margin-top: 28px; font-size: 1.22rem; color: #35263e; }
.mag-prose a { color: #82536c; text-decoration: underline; text-underline-offset: 4px; }
.mag-prose img { max-width: 100%; height: auto; border-radius: 15px; }
.mag-prose blockquote { margin-inline: 0; border-inline-start: 3px solid #b27d98; padding: 10px 22px; color: #82536c; background: #f4ecf2; border-radius: 0 12px 12px 0; }
.mag-prose pre { overflow-x: auto; direction: ltr; padding: 15px; background: #f1ebf0; border-radius: 12px; }
.mag-prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.mag-prose td, .mag-prose th { border: 1px solid #dfd3dd; padding: 10px; }
.mag-story-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; max-width: 760px; margin: 32px auto 55px; padding-top: 22px; border-top: 1px solid #e4dae2; font-size: .76rem; color: #8a7d88; }
.mag-main a:focus-visible, .mag-main button:focus-visible, .mag-main input:focus-visible { outline: 2px solid #82536c; outline-offset: 4px; }
@media (max-width: 950px) {
    .mag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mag-feature-copy { padding: 28px; }
}
@media (max-width: 700px) {
    .mag-main { padding-top: 95px; }
    .mag-shell { width: calc(100% - 30px); }
    .mag-intro { flex-direction: column; align-items: stretch; gap: 22px; }
    .mag-search { flex-basis: auto; }
    .mag-categories { flex-wrap: nowrap; overflow-x: auto; padding-block: 13px; }
    .mag-feature { grid-template-columns: minmax(0, 1fr); border-radius: 18px; }
    .mag-feature-cover { min-height: 270px; }
    .mag-feature-copy { padding: 25px; }
    .mag-feature-copy > .mag-kicker { margin-bottom: 15px; }
    .mag-grid { gap: 22px 16px; }
    .mag-story-cover { margin-inline: -3px; border-radius: 15px; }
    .mag-prose { font-size: .96rem; }
    .mag-masthead-top { font-size: .6rem; }
}
@media (max-width: 480px) {
    .mag-grid { grid-template-columns: minmax(0, 1fr); }
    .mag-empty { padding: 45px 20px; }
    .mag-section-heading > span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mag-feature-cover img { transition: none; } }
