.blog-main {
    width: 100%;
    min-height: 0;
    margin: 0;
    padding-block: 0 1.5rem;
    color: #17171b;
    background: #fff;
}

.blog-container {
    width: min(1220px, calc(100% - 48px));
    margin-inline: auto;
}

.blog-hero {
    overflow: hidden;
    color: #fff;
    background: linear-gradient(112deg, #450505 0%, #171014 36%, #171a22 75%, #4c0908 100%);
}

.blog-hero-inner {
    min-height: 330px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
}

.blog-hero-copy {
    position: relative;
    z-index: 1;
    padding: 2rem 0;
    max-width: 600px;
}

.blog-breadcrumb {
    margin-bottom: 0.65rem;
    font-size: .82rem;
    font-weight: 600;
}

.blog-breadcrumb a { color: #ff5144; text-decoration: none; }
.blog-breadcrumb span { margin-left: 0.35rem; }
.blog-hero h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing: -.04em; font-weight: 700; }
.blog-hero h1 span { color: #ec170e; }
.blog-hero-subtitle { margin: .35rem 0 .45rem; font-size: clamp(1rem, 1.5vw, 1.3rem); font-weight: 600; }
.blog-hero-copy > p { margin: 0; color: #e3dfe1; line-height: 1.6; max-width: 30rem; }
.blog-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .75rem; }
.blog-tags span { border: 1px solid rgba(255,255,255,.36); border-radius: 999px; padding: .3rem .65rem; font-size: .72rem; font-weight: 600; }
.blog-hero-image { align-self: stretch; position: relative; }
.blog-hero-image::before { content: ""; position: absolute; width: 90px; height: 145%; top: -22%; left: 54%; transform: rotate(42deg); background: linear-gradient(#ff331b, #b80000); opacity: .8; }
.blog-hero-image img { position: absolute; right: 0; bottom: 0; width: min(100%, 520px); max-height: 100%; object-fit: contain; }

.blog-layout { margin-top: 1.2rem; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1rem; }
.blog-content h2 { margin: 0; font-size: clamp(1.6rem, 2vw, 2.2rem); line-height: 1.08; font-weight: 700; letter-spacing: -.03em; }
.blog-content h2 span { color: #ec170e; }
.blog-content-subtitle { margin: .3rem 0 1rem; color: #5b5f67; }

.blog-featured-card { border: 1px solid #ececf1; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 26px #15131712; background: #fff; }
.blog-featured-card img { width: 100%; aspect-ratio: 16 / 8.6; object-fit: cover; display: block; }
.blog-featured-card-body { padding: .9rem 1rem 1rem; }
.blog-meta-row { display: flex; flex-wrap: wrap; gap: .45rem .85rem; align-items: center; margin-bottom: .45rem; }
.blog-meta-row span { display: inline-flex; align-items: center; border-radius: 999px; background: #ec170e; color: #fff; font-size: .67rem; font-weight: 700; padding: .23rem .55rem; }
.blog-meta-row small { color: #555a64; font-size: .74rem; font-weight: 600; }
.blog-featured-card h3 { margin: 0; font-size: 1.65rem; line-height: 1.15; letter-spacing: -.03em; font-weight: 700; }
.blog-featured-card p { margin: .45rem 0 .75rem; color: #4f545d; line-height: 1.58; }
.blog-featured-card a,
.blog-card a { display: inline-flex; align-items: center; gap: .35rem; border-radius: 999px; border: 1px solid #ec170e; background: #ec170e; color: #fff; text-decoration: none; font-weight: 700; font-size: .76rem; padding: .42rem .72rem; }

.blog-grid { margin-top: .9rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.blog-card { border: 1px solid #ececf1; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 6px 18px #15131710; }
.blog-card img { width: 100%; aspect-ratio: 16 / 9.4; object-fit: cover; display: block; }
.blog-card-body { padding: .7rem .75rem .85rem; }
.blog-card h3 { margin: .2rem 0 .6rem; font-size: 1.05rem; line-height: 1.3; letter-spacing: -.02em; font-weight: 700; }

.blog-sidebar { display: grid; gap: .8rem; }
.blog-sidebar section { border: 1px solid #ececf1; border-radius: 14px; background: #fff; box-shadow: 0 6px 20px #15131710; padding: .85rem .95rem; }
.blog-sidebar h3 { margin: 0 0 .6rem; font-size: 1.15rem; line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }
.blog-sidebar-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .35rem; }
.blog-sidebar-list li { display: flex; justify-content: space-between; gap: .6rem; font-size: .85rem; color: #30343d; }
.blog-popular-item { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: .55rem; align-items: center; text-decoration: none; color: #1d2027; font-size: .82rem; font-weight: 600; line-height: 1.3; }
.blog-popular-item + .blog-popular-item { margin-top: .55rem; }
.blog-popular-item img { width: 100%; height: 58px; border-radius: 8px; object-fit: cover; }
.blog-newsletter { color: #fff; background: linear-gradient(130deg, #930100, #e2140d); }
.blog-newsletter p { margin: .3rem 0 .75rem; color: #f4e6e6; font-size: .84rem; line-height: 1.45; }
.blog-newsletter a { display: inline-flex; min-height: 2.3rem; align-items: center; justify-content: center; border-radius: 999px; padding: .45rem .85rem; text-decoration: none; color: #b10000; background: #fff; font-size: .8rem; font-weight: 700; }

.blog-detail-card { border: 1px solid #ececf1; border-radius: 16px; background: #fff; box-shadow: 0 8px 26px #15131712; padding: 1rem 1.05rem 1.15rem; }
.blog-detail-card h2 { margin: 0; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.05; letter-spacing: -.04em; font-weight: 700; }
.blog-detail-summary { margin: .45rem 0 .75rem; color: #4f545d; line-height: 1.58; }
.blog-detail-image { width: 100%; border-radius: 14px; margin-bottom: .7rem; aspect-ratio: 16 / 8.7; object-fit: cover; }
.blog-detail-card h3 { margin: .7rem 0 .35rem; font-size: 1.5rem; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
.blog-detail-card p { margin: 0; color: #30343d; line-height: 1.58; }
.blog-author { display: flex; gap: .55rem; align-items: center; margin-bottom: .35rem; }
.blog-author img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.blog-author strong { display: block; font-size: .92rem; }
.blog-author small { display: block; color: #5e636d; font-size: .76rem; }
.blog-author-link { display: inline-flex; margin-top: .35rem; font-size: .78rem; font-weight: 700; color: #d80f0c; text-decoration: none; }

@media (max-width: 1100px) {
    .blog-layout { grid-template-columns: 1fr; }
    .blog-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .blog-sidebar section:last-child { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
    .blog-container { width: min(100% - 32px, 620px); }
    .blog-hero-inner { grid-template-columns: 1fr; min-height: 320px; }
    .blog-hero-copy { padding: 1.2rem 0 .3rem; }
    .blog-hero-image { height: 190px; }
    .blog-hero-image img { position: static; width: 100%; height: 100%; object-fit: contain; }
    .blog-hero-image::before { display: none; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-sidebar { grid-template-columns: 1fr; }
    .blog-featured-card h3 { font-size: 1.3rem; }
    .blog-detail-card h2 { font-size: clamp(1.5rem, 8.4vw, 2.2rem); }
    .blog-detail-card h3 { font-size: 1.2rem; }
}

@media (max-width: 640px) {
    .blog-hero {
        min-height: 15.5rem;
        margin: 0.45rem 0.5rem 0.95rem;
        transform: translateY(-3px);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 1rem;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28), 0 0 20px rgba(229, 0, 0, 0.12);
        background:
            radial-gradient(ellipse at 72% 78%, rgba(150, 18, 24, 0.2), transparent 48%),
            linear-gradient(155deg, #09090b, #121014 72%, #0b090b);
    }

    .blog-hero-inner {
        min-height: inherit;
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
        align-items: center;
        gap: 0.2rem;
        padding: 1rem 0.75rem;
    }

    .blog-hero-copy {
        max-width: none;
        padding: 0;
    }

    .blog-breadcrumb {
        margin-bottom: 0.55rem;
        font-size: 0.58rem;
    }

    .blog-hero h1 {
        font-size: clamp(1.35rem, 5.2vw, 2rem);
        line-height: 1.02;
    }

    .blog-hero-subtitle {
        font-size: clamp(0.72rem, 2.8vw, 0.86rem);
    }

    .blog-hero-copy > p:not(.blog-hero-subtitle) {
        margin-block: 0.45rem 0.65rem;
        font-size: clamp(0.48rem, 2.6vw, 0.82rem);
        line-height: 1.4;
    }

    .blog-tags {
        margin-top: 0.3rem;
        gap: 0.25rem;
    }

    .blog-tags span {
        padding: 0.2rem 0.45rem;
        font-size: 0.58rem;
    }

    .blog-hero-image {
        position: relative;
        z-index: 1;
        width: 100%;
        height: 88%;
        min-height: 0;
        aspect-ratio: 1 / 0.96;
        align-self: center;
    }

    .blog-hero-image::before {
        display: none;
    }

    .blog-hero-image img {
        position: static;
        width: 100%;
        height: 100%;
        transform: none;
        object-fit: contain;
        object-position: 58% center;
    }

    .blog-hero-detail {
        min-height: 13.2rem;
    }

    .blog-hero-detail .blog-hero-inner {
        padding: 0.75rem 0.7rem;
        grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
    }

    .blog-hero-detail .blog-breadcrumb {
        margin-bottom: 0.4rem;
    }

    .blog-hero-detail .blog-hero-subtitle {
        margin: 0.22rem 0 0.1rem;
        font-size: clamp(0.6rem, 2.35vw, 0.76rem);
    }

    .blog-hero-detail .blog-hero-image {
        height: 82%;
        aspect-ratio: 1 / 1.02;
    }
}
