.aiseom-magazine {
    --aiseom-columns: 3;
    width: min(1180px, calc(100% - 32px));
    margin: 48px auto;
    color: #171717;
}

.aiseom-single {
    display: block;
    width: 100%;
    padding: 48px 0 72px;
    background: #fff;
}

.aiseom-single__inner {
    width: min(100% - 32px, 1180px);
    margin: 0 auto;
}

.aiseom-single .aiseom-article {
    margin-top: 0;
    margin-bottom: 0;
}

.aiseom-magazine__head {
    margin-bottom: 22px;
}

.aiseom-magazine__head p {
    margin: 0 0 6px;
    color: #7c3f16;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.aiseom-magazine__head h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.08;
}

.aiseom-magazine__grid {
    display: grid;
    grid-template-columns: repeat(var(--aiseom-columns), minmax(0, 1fr));
    gap: 18px;
}

.aiseom-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(23, 23, 23, 0.1);
    border-radius: 8px;
    box-shadow: 0 12px 34px rgba(23, 23, 23, 0.08);
}

.aiseom-card__image {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #f7f0e8, #e7efe9);
    color: #7c3f16;
    text-decoration: none;
}

.aiseom-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.aiseom-card__image span {
    font-size: 54px;
    font-weight: 800;
}

.aiseom-card:hover .aiseom-card__image img {
    transform: scale(1.035);
}

.aiseom-card__body {
    padding: 18px;
}

.aiseom-card__body time {
    display: block;
    margin-bottom: 8px;
    color: #6b7280;
    font-size: 13px;
}

.aiseom-card__body h3 {
    margin: 0 0 10px;
    font-size: 21px;
    line-height: 1.2;
}

.aiseom-card__body h3 a {
    color: inherit;
    text-decoration: none;
}

.aiseom-card__body p {
    margin: 0 0 16px;
    color: #4b5563;
    line-height: 1.55;
}

.aiseom-card__link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    background: #171717;
    border-radius: 6px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.aiseom-card__link:hover,
.aiseom-card__link:focus {
    color: #fff;
    background: #7c3f16;
}

.aiseom-magazine__empty {
    padding: 28px;
    background: #f7f7f5;
    border-radius: 8px;
}

.entry-content .aiseom-article,
.site-content .aiseom-article,
.aiseom-article {
    max-width: 860px;
    margin: 36px auto;
    color: #171717;
    font-size: 18px;
    line-height: 1.72;
}

.entry-content .aiseom-article > * + *,
.site-content .aiseom-article > * + *,
.aiseom-article > * + * {
    margin-top: 18px;
}

.entry-content .aiseom-article h2,
.entry-content .aiseom-article h3,
.site-content .aiseom-article h2,
.site-content .aiseom-article h3,
.aiseom-article h2,
.aiseom-article h3 {
    color: #171717;
    font-family: inherit;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.18;
}

.entry-content .aiseom-article__title,
.site-content .aiseom-article__title,
.aiseom-article__title {
    margin: 0 0 24px;
    color: #171717;
    font-family: inherit;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.12;
}

.entry-content .aiseom-article h2,
.site-content .aiseom-article h2,
.aiseom-article h2 {
    margin: 38px 0 12px;
    font-size: 34px;
}

.entry-content .aiseom-article h3,
.site-content .aiseom-article h3,
.aiseom-article h3 {
    margin: 26px 0 10px;
    font-size: 24px;
}

.entry-content .aiseom-article p,
.entry-content .aiseom-article li,
.site-content .aiseom-article p,
.site-content .aiseom-article li,
.aiseom-article p,
.aiseom-article li {
    color: #30343a;
}

.entry-content .aiseom-article ul,
.entry-content .aiseom-article ol,
.site-content .aiseom-article ul,
.site-content .aiseom-article ol,
.aiseom-article ul,
.aiseom-article ol {
    padding-left: 1.3em;
}

.entry-content .aiseom-article blockquote,
.entry-content .aiseom-article .note,
.entry-content .aiseom-article .highlight,
.entry-content .aiseom-article .cta,
.site-content .aiseom-article blockquote,
.site-content .aiseom-article .note,
.site-content .aiseom-article .highlight,
.site-content .aiseom-article .cta,
.aiseom-article blockquote,
.aiseom-article .note,
.aiseom-article .highlight,
.aiseom-article .cta {
    margin: 28px 0;
    padding: 22px;
    background: #f5f0e9;
    border-left: 4px solid #7c3f16;
    border-radius: 8px;
}

.entry-content .aiseom-article a,
.site-content .aiseom-article a,
.aiseom-article a {
    color: #7c3f16;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.aiseom-article__hero,
.aiseom-article__figure {
    margin: 30px 0;
}

.aiseom-article__hero img,
.aiseom-article__figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(23, 23, 23, 0.12);
}

.aiseom-article__hero {
    margin-top: 0;
}

.aiseom-article__hero img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.aiseom-article__figure {
    max-width: 760px;
}

@media (max-width: 900px) {
    .aiseom-magazine__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .aiseom-single {
        padding: 28px 0 48px;
    }

    .aiseom-single__inner {
        width: min(100% - 24px, 1180px);
    }

    .aiseom-magazine {
        width: min(100% - 24px, 1180px);
        margin: 32px auto;
    }

    .aiseom-magazine__grid {
        grid-template-columns: 1fr;
    }

    .aiseom-card__body {
        padding: 16px;
    }

    .entry-content .aiseom-article,
    .site-content .aiseom-article,
    .aiseom-article {
        width: min(100% - 24px, 860px);
        margin: 28px auto;
        font-size: 16px;
    }

    .entry-content .aiseom-article h2,
    .site-content .aiseom-article h2,
    .aiseom-article h2 {
        font-size: 26px;
    }

    .entry-content .aiseom-article__title,
    .site-content .aiseom-article__title,
    .aiseom-article__title {
        font-size: 30px;
    }

    .entry-content .aiseom-article h3,
    .site-content .aiseom-article h3,
    .aiseom-article h3 {
        font-size: 21px;
    }
}
