.xs-xsmag {
    --xs-mag-bg:#eee9e3;
    --xs-mag-ink:#241c21;
    --xs-mag-accent:#a51e35;
    margin-block:clamp(22px,4vw,44px);
}
.xs-xsmag-night {
    --xs-mag-bg:#211b20;
    --xs-mag-ink:#fff4ef;
    --xs-mag-accent:#ffb7bd;
}
.xs-xsmag-link {
    display:grid;
    grid-template-columns:minmax(0,.8fr) minmax(0,1.25fr);
    overflow:hidden;
    border:1px solid var(--xs-line);
    border-radius:12px;
    background:var(--xs-mag-bg);
    color:var(--xs-mag-ink);
    text-decoration:none;
}
.xs-xsmag-link:hover {color:var(--xs-mag-ink)}
.xs-xsmag-copy {
    display:flex;
    flex-direction:column;
    align-self:center;
    align-items:flex-start;
    padding:clamp(20px,4vw,50px);
}
.xs-xsmag-brand {
    margin:0 0 14px;
    font-size:clamp(1.25rem,2.4vw,1.8rem);
    font-weight:800;
    line-height:1;
    letter-spacing:-.085em;
}
.xs-xsmag-brand span {font-weight:500}
.xs-xsmag-copy h2 {
    margin:0 0 .62em;
    max-width:15ch;
    font-size:clamp(1.8rem,4.1vw,3.6rem);
    text-wrap:balance;
}
.xs-xsmag-action {
    display:inline-flex;
    align-items:center;
    gap:.65em;
    min-height:42px;
    padding:.4em 0;
    border-bottom:1px solid var(--xs-mag-accent);
    color:var(--xs-mag-accent);
    font-size:1rem;
    font-weight:700;
    line-height:1.24;
}
.xs-xsmag-link:hover .xs-xsmag-action {border-bottom-width:2px}
.xs-xsmag-photo {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:50% 50%;
    aspect-ratio:16/9;
}
.xs-xsmag-night .xs-xsmag-photo {aspect-ratio:3/2}
@media(max-width:640px) {
    .xs-xsmag-link {grid-template-columns:minmax(0,1fr)}
    .xs-xsmag-photo {grid-row:1;height:auto}
    .xs-xsmag-copy {padding:20px 22px}
    .xs-xsmag-copy h2 {max-width:20ch;margin-bottom:.4em}
    .xs-xsmag-brand {margin-bottom:10px}
}
