.mag-page {
    width: 100%;
    max-width: 1160px;
    margin: 8px auto 48px;
    box-sizing: border-box;
}

.mag-head {
    text-align: left;
    margin: 0 0 22px;
}

.mag-kicker {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #011893;
}

.mag-title {
    margin: 0 0 10px;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #111;
}

.mag-lead {
    margin: 0;
    max-width: 640px;
    font-size: 15px;
    line-height: 1.55;
    color: #6f6c64;
}

.mag-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 28px;
}

.mag-cats a {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 14px;
    border: 1px solid #e4e2de;
    border-radius: 999px;
    background: #fff;
    color: #3b3b3c;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.mag-cats a:hover,
.mag-cats a.is-on {
    background: #011893;
    border-color: #011893;
    color: #fff;
}

.mag-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 20px;
}

.mag-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mag-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.mag-card-img {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f4f3ef;
}

.mag-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.mag-card:hover .mag-card-img img {
    transform: scale(1.04);
}

.mag-card-meta {
    display: block;
    margin-top: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b6b6b;
}

.mag-card-meta span {
    margin: 0 6px;
    font-weight: 500;
}

.mag-card-ttl {
    display: block;
    margin-top: 8px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: #1a1a1a;
}

.mag-empty {
    padding: 28px 0;
    color: #6f6c64;
}

.mag-art-head {
    max-width: 760px;
    margin: 0 auto 22px;
    text-align: center;
}

.mag-art-cat {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #011893;
    text-decoration: none;
}

.mag-art-title {
    margin: 0 0 10px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    color: #111;
}

.mag-art-date {
    margin: 0;
    font-size: 13px;
    color: #8a8680;
}

.mag-art-cover {
    display: block;
    width: 100%;
    margin: 0 0 28px;
    overflow: hidden;
    background: #f4f3ef;
    line-height: 0;
    aspect-ratio: 16 / 9;
}

.mag-art-cover img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover;
    object-position: center;
}

.mag-art-body {
    max-width: 720px;
    margin: 0 auto 40px;
    font-size: 16px;
    line-height: 1.7;
    color: #2b2b2b;
}

.mag-art-body p {
    margin: 0 0 1.1em;
}

.mag-related h2 {
    margin: 0 0 18px;
    font-size: 22px;
    font-weight: 700;
}

@media (max-width: 960px) {
    .mag-grid,
    .mag-grid-3 {
        grid-template-columns: 1fr 1fr;
    }
    .mag-title,
    .mag-art-title {
        font-size: 24px;
    }
}

@media (max-width: 560px) {
    .mag-grid,
    .mag-grid-3 {
        grid-template-columns: 1fr;
    }
}
