.homme-blog-page,
.homme-blog-detail-page {
    padding: 1.5rem 0 3rem;
}

.homme-blog-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #6d625c;
    font-size: 0.95rem;
    font-weight: 600;
}

    .homme-blog-breadcrumb a {
        color: #8f251f;
    }

.homme-blog-detail-shell {
    /* border: 1px solid rgba(244, 209, 138, 0.16); */
    border-radius: 10px;
    /* background: radial-gradient(circle at 12% 22%, rgba(176, 35, 28, 0.28), transparent 32%), linear-gradient(135deg, #68130f 0%, #2f0806 56%, #180202 100%); */
    box-shadow: 0 18px 46px rgba(60, 10, 8, 0.16);
}

.homme-blog-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 1.5rem;
    align-items: start;
}

.homme-blog-page-title,
.homme-blog-detail-head h1 {
    margin: 0;
    color: #1f1715;
    font-family: "Oswald", "Roboto", sans-serif;
    font-size: 35px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.homme-blog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
    margin-top: 1.55rem;
}

.homme-blog-card {
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(17, 20, 27, 0.08);
}

.homme-blog-card-thumb {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

    .homme-blog-card-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.35s ease;
    }

.homme-blog-card:hover .homme-blog-card-thumb img {
    transform: scale(1.05);
}

.homme-blog-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 1.3rem 1.3rem 1.4rem;
}

.homme-blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
}

.homme-blog-card-category {
    color: #b12d25;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.homme-blog-card-views {
    color: #6d625c;
    font-size: 0.88rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

    .homme-blog-card-views i {
        font-size: 0.82rem;
    }

.homme-blog-card h2 {
    margin: 0;
    font-size: 1.12rem;
    line-height: 1.34;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

    .homme-blog-card h2 a {
        color: #1f1715;
    }

.homme-blog-card p {
    margin: 0;
    color: #5f5651;
    line-height: 1.65;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.homme-blog-empty {
    margin-top: 1.55rem;
    padding: 2rem;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(17, 20, 27, 0.08);
    text-align: center;
}

    .homme-blog-empty strong {
        display: block;
        margin-bottom: 0.55rem;
        color: #1f1715;
        font-size: 1.1rem;
    }

    .homme-blog-empty p {
        margin: 0;
        color: #6d625c;
    }

.homme-blog-detail-shell {
    padding: 1.45rem;
}

.homme-blog-detail-head {
    /* padding: 1rem 1rem 1.3rem; */
    color: #1f1715;
}

.homme-blog-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
    color: #8f251f;
    font-size: 0.92rem;
    font-weight: 700;
}

.homme-blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem 1.3rem;
    margin-top: 0.95rem;
    color: #1f1715;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.homme-blog-detail-views {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.homme-blog-detail-saves {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #6d625c;
}

    .homme-blog-detail-views i {
        font-size: 0.9rem;
    }

.homme-blog-detail-cover {
    overflow: hidden;
    /* border-radius: 24px; */
    margin: 0.3rem 0 1.3rem;
}

    .homme-blog-detail-cover img {
        display: block;
        width: 100%;
        max-height: inherit;
        object-fit: cover;
    }

.homme-blog-detail-content {
    /* padding: 2rem; */
    /* border-radius: 24px; */
    /* background: #fff; */
    color: #2d2320;
    /* box-shadow: 0 16px 38px rgba(17, 20, 27, 0.08); */
    line-height: 1.8;
}

    .homme-blog-detail-content h2,
    .homme-blog-detail-content h3 {
        margin: 1.4rem 0 0.85rem;
        color: #1f1715;
        font-family: "Oswald", "Roboto", sans-serif;
        text-transform: uppercase;
    }

        .homme-blog-detail-content h2:first-child,
        .homme-blog-detail-content h3:first-child,
        .homme-blog-detail-content p:first-child {
            margin-top: 0;
        }

    .homme-blog-detail-content p,
    .homme-blog-detail-content ul,
    .homme-blog-detail-content ol {
        margin-bottom: 1rem;
    }

    .homme-blog-detail-content ul,
    .homme-blog-detail-content ol {
        padding-left: 1.2rem;
    }

    .homme-blog-detail-content img {
        max-width: 100%;
        border-radius: 18px;
    }

.homme-blog-detail-section {
    margin-top: 1.5rem;
}

.homme-blog-detail-section-head {
    margin-bottom: 1rem;
}

    .homme-blog-detail-section-head h2 {
        margin: 0.3rem 0 0;
        color: #1f1715;
        font-family: "Oswald", "Roboto", sans-serif;
        font-size: 2rem;
        line-height: 1.05;
        text-transform: uppercase;
    }

.homme-blog-detail-section-kicker {
    color: #b12d25;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.homme-blog-detail-sidebar {
    position: sticky;
    top: 1.5rem;
}

.homme-blog-sidebar-box {
    padding: 1.15rem 1.2rem;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(17, 20, 27, 0.08);
}

.homme-blog-popular-list {
    display: grid;
    gap: 0.85rem;
}

.homme-blog-popular-item {
    display: grid;
    grid-template-columns: 42px 78px minmax(0, 1fr);
    gap: 0.75rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(109, 98, 92, 0.14);
}

    .homme-blog-popular-item:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

.homme-blog-popular-rank {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: #b12d25;
    font-family: "Oswald", "Roboto", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    padding-top: 0.15rem;
}

.homme-blog-popular-thumb {
    display: block;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 1 / 1;
}

    .homme-blog-popular-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.homme-blog-popular-body {
    min-width: 0;
}

.homme-blog-popular-category {
    display: -webkit-box;
    overflow: hidden;
    color: #b12d25;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.homme-blog-popular-body h3 {
    margin: 0.25rem 0 0.35rem;
    font-size: 0.86rem;
    line-height: 1.42;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

    .homme-blog-popular-body h3 a {
        color: #1f1715;
    }

.homme-blog-popular-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.8rem;
    color: #6d625c;
    font-size: 0.82rem;
    font-weight: 600;
}

    .homme-blog-popular-meta span {
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
    }

@media (max-width: 1199px) {
    .homme-blog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .homme-blog-detail-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
    }
}

@media (max-width: 991px) {
    .homme-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .homme-blog-grid-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .homme-blog-detail-layout {
        grid-template-columns: 1fr;
    }

    .homme-blog-detail-sidebar {
        position: static;
    }
}

@media (max-width: 767px) {
    .homme-blog-page,
    .homme-blog-detail-page {
        padding: 1rem 0 2rem;
    }

    .homme-blog-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .homme-blog-grid-compact {
        grid-template-columns: 1fr;
    }

    .homme-blog-popular-item {
        grid-template-columns: 38px 64px minmax(0, 1fr);
    }

    .homme-blog-detail-shell {
        border-radius: 22px;
    }

    .homme-blog-card,
    .homme-blog-detail-cover,
    .homme-blog-detail-content {
        border-radius: 6px;
    }

    .homme-blog-detail-shell {
        padding: 0.9rem;
    }

    .homme-blog-detail-head {
        padding: 0.7rem 0.4rem 1rem;
    }

    .homme-blog-detail-content {
        padding: 1.2rem;
    }

    .homme-blog-sidebar-box {
        padding: 1rem;
        border-radius: 20px;
    }

    .homme-blog-detail-section-head h2 {
        font-size: 1.6rem;
    }
}

.homme-blog-detail-favorite-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.9rem;
    color: #6d625c;
    font-size: 0.92rem;
    font-weight: 700;
}

.homme-blog-favorite-form {
    margin: 1rem 0 0;
}

.homme-blog-favorite-form.is-inline {
    display: inline-flex;
    margin: 0;
}

.homme-blog-icon-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(177, 45, 37, 0.18);
    border-radius: 999px;
    color: #9f2a22;
    background: #fff;
    cursor: pointer;
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.homme-blog-icon-action:hover,
.homme-blog-icon-action.is-active {
    color: #fff;
    background: #b12d25;
    border-color: #b12d25;
    transform: translateY(-1px);
}

.homme-blog-icon-action.is-copied {
    color: #fff;
    background: #1f1715;
    border-color: #1f1715;
}

.homme-blog-favorite-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 44px;
    padding: 0 1.1rem;
    border: 1px solid rgba(177, 45, 37, 0.22);
    border-radius: 999px;
    color: #b12d25;
    background: #fff;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(177, 45, 37, 0.08);
}

.homme-blog-favorite-button.is-active {
    color: #fff;
    background: linear-gradient(135deg, #c7352c 0%, #8b1711 100%);
}
