/* ==========================================================================
   Textile Blog — list page
   ========================================================================== */
.blog-hero,
.blog-grid {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    left: auto;
    margin-left: 0;
    font-family: 'Mulish', sans-serif;
}

/* ---------- Hero ---------- */
.blog-hero {
    overflow: hidden;
    padding: 82px 5.5% 78px;
    color: #fff;
    background:
        radial-gradient(900px 420px at 88% -10%, rgba(166, 58, 46, .16), transparent 68%),
        linear-gradient(118deg, #20241E 0%, #20241E 56%, #20241E 100%);
    border-top: 3px solid #A63A2E;
}
.blog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
    background-size: 72px 72px;
    pointer-events: none;
}
.blog-hero::after {
    content: '';
    position: absolute;
    right: -140px;
    bottom: -220px;
    width: 560px;
    height: 560px;
    border: 1px solid rgba(166, 58, 46, .18);
    border-radius: 50%;
    pointer-events: none;
}
.blog-hero__inner,
.blog-grid__inner { max-width: 1240px; margin: 0 auto; }
.blog-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
}
.blog-hero__copy { min-width: 0; max-width: 780px; }
.blog-hero__crumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, .46);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.blog-hero__crumbs a { color: rgba(255, 255, 255, .72); text-decoration: none; transition: color .2s; }
.blog-hero__crumbs a:hover { color: #D47464; }
.blog-hero__crumbs em { color: #D47464; font-style: normal; }
.blog-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    color: #D47464;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.blog-hero__eyebrow::before {
    content: '';
    width: 34px;
    height: 1px;
    background: #A63A2E;
}
.blog-hero__h1 {
    margin: 0;
    color: #fff;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.4rem, 4.4vw, 4.05rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.01em;
    overflow-wrap: anywhere;
}
.blog-hero__h1 em { color: #dfb25a; font-style: italic; }
.blog-hero__desc {
    max-width: 620px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .7);
    font-size: 15px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}
.blog-hero__count {
    position: relative;
    flex: 0 0 auto;
    min-width: 158px;
    padding: 24px 28px 22px;
    border: 1px solid rgba(255, 255, 255, .17);
    background: rgba(255, 255, 255, .045);
    text-align: center;
}
.blog-hero__count::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 24px;
    right: 24px;
    height: 2px;
    background: #A63A2E;
}
.blog-hero__count-num {
    display: block;
    color: #D47464;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.9rem;
    font-weight: 700;
    line-height: .95;
}
.blog-hero__badge-label {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, .56);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.5;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

/* ---------- Grid ---------- */
.blog-grid {
    padding: 70px 5.5% 100px;
    background:
        radial-gradient(700px 320px at 8% 0%, rgba(166, 58, 46, .05), transparent 70%),
        #f6f4f0;
}
.blog-articles { min-width: 0; }

/* ---------- Featured ---------- */
.blog-featured {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    min-height: 392px;
    background: #fff;
    border: 1px solid #E6DED0;
    box-shadow: 0 18px 46px rgba(29, 32, 28, .07);
}
.blog-featured__visual {
    position: relative;
    display: block;
    overflow: hidden;
    background: #1c3d52;
}
.blog-featured__visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 392px;
    object-fit: cover;
    transition: transform .5s ease;
}
.blog-featured:hover .blog-featured__visual img { transform: scale(1.035); }
/* 无图时的杂志式书脊：替代整块假封面 */
.blog-featured__spine {
    position: relative;
    display: flex;
    min-height: 392px;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    overflow: hidden;
    padding: 36px 32px 34px;
    background:
        radial-gradient(420px 300px at 78% 12%, rgba(166, 58, 46, .22), transparent 66%),
        linear-gradient(152deg, #20241E 0%, #2A2E27 58%, #1D201C 100%);
    color: #fff;
}
.blog-featured__spine::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 13px),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 13px);
    pointer-events: none;
}
.blog-featured__spine::after {
    content: '';
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(212, 116, 100, .35);
    pointer-events: none;
}
.blog-featured__spine > * { position: relative; z-index: 1; }
.blog-featured__spine > .blog-featured__spine-brand {
    position: absolute;
    top: 34px;
    left: 32px;
    margin-bottom: 0;
    color: #D47464;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .28em;
    text-transform: uppercase;
}
.blog-featured__spine-no {
    color: rgba(212, 116, 100, .92);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(3rem, 4.2vw, 4rem);
    font-weight: 700;
    line-height: 1;
}
.blog-featured__spine-rule {
    width: 46px;
    height: 2px;
    background: rgba(212, 116, 100, .85);
}
.blog-featured__spine-date {
    color: rgba(255, 255, 255, .66);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.blog-featured__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    padding: clamp(34px, 4.2vw, 54px);
}
.blog-entry-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 21px;
    color: #7E827A;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.45;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}
.blog-entry-meta time {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.blog-entry-meta__tag {
    display: inline-block;
    padding: 5px 11px;
    border: 1px solid rgba(166, 58, 46, .38);
    background: rgba(166, 58, 46, .07);
    color: #8E2A22;
    font-size: 9.5px;
    letter-spacing: .13em;
    white-space: nowrap;
}
.blog-featured h2,
.blog-list h3 {
    margin: 18px 0 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.28;
    overflow-wrap: anywhere;
}
.blog-featured h2 { font-size: clamp(1.55rem, 2.3vw, 2.2rem); }
.blog-featured h2 a,
.blog-list h3 a {
    color: #1D201C;
    text-decoration: none;
    background-image: linear-gradient(#A63A2E, #A63A2E);
    background-repeat: no-repeat;
    background-size: 0 1px;
    background-position: 0 100%;
    transition: color .22s, background-size .3s;
}
.blog-featured:hover h2 a,
.blog-featured h2 a:hover,
.blog-list h3 a:hover {
    color: #8E2A22;
    background-size: 100% 1px;
}
.blog-featured p,
.blog-list__content p {
    margin: 16px 0 0;
    color: #64747d;
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}
.blog-read-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(166, 58, 46, .45);
    color: #8E2A22;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .14em;
    text-decoration: none;
    text-transform: uppercase;
    transition: border-color .22s, color .22s;
}
.blog-read-link svg { transition: transform .22s ease; }
.blog-read-link:hover { color: #1D201C; border-color: #1D201C; }
.blog-read-link:hover svg { transform: translateX(4px); }

/* ---------- List head ---------- */
.blog-list-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-top: 76px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dcd6cb;
}
.blog-list-head h2 {
    position: relative;
    margin: 0;
    padding-left: 18px;
    color: #1D201C;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.85rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.blog-list-head h2::before {
    content: '';
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 0;
    width: 3px;
    background: #A63A2E;
}
.blog-list-head p {
    margin: 8px 0 0;
    color: #7E827A;
    font-size: 12px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.blog-list-head strong { color: #1D201C; }
.blog-grid__search {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 1 280px;
    min-width: 230px;
    padding: 12px 18px;
    background: #fff;
    border: 1px solid #ded8cd;
    border-radius: 999px;
    transition: border-color .2s, box-shadow .2s;
}
.blog-grid__search:focus-within {
    border-color: #A63A2E;
    box-shadow: 0 0 0 3px rgba(166, 58, 46, .1);
}
.blog-grid__search svg { flex: none; color: #a3aeb2; }
.blog-grid__search input {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #1D201C;
    font-family: inherit;
    font-size: 13px;
}
.blog-grid__search input::placeholder { color: #9da9ad; }

/* ---------- List ---------- */
.blog-list {
    counter-reset: blog-post;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 22px;
}
.blog-list__item {
    position: relative;
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) 48px;
    align-items: center;
    column-gap: 26px;
    padding: 26px 30px;
    background: #fff;
    border: 1px solid #E6DED0;
    box-shadow: 0 6px 20px rgba(29, 32, 28, .035);
    transition: border-color .25s, box-shadow .25s, transform .25s;
}
.blog-list__item::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -1px;
    width: 3px;
    background: #A63A2E;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .28s ease;
}
.blog-list__item:hover {
    border-color: #d6c9ae;
    box-shadow: 0 16px 40px rgba(29, 32, 28, .09);
    transform: translateY(-2px);
}
.blog-list__item:hover::before { transform: scaleY(1); }
.blog-list__no {
    counter-increment: blog-post;
    color: #d9d2c4;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.05rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.02em;
    transition: color .25s;
}
.blog-list__no::before { content: counter(blog-post, decimal-leading-zero); }
.blog-list__item:hover .blog-list__no { color: #A63A2E; }
.blog-list__content { min-width: 0; }
.blog-list h3 { margin-top: 9px; font-size: 1.42rem; }
.blog-list__content p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin-top: 9px;
}
.blog-list__arrow {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: #1D201C;
    border: 1px solid #d3ccbf;
    border-radius: 50%;
    text-decoration: none;
    transition: background .22s, color .22s, border-color .22s, transform .22s;
}
.blog-list__item:hover .blog-list__arrow {
    background: #1D201C;
    color: #fff;
    border-color: #1D201C;
    transform: translateX(3px);
}

/* ---------- Pagination / empty ---------- */
.blog-grid__loadmore { text-align: center; margin-top: 46px; }
.blog-grid__loadmore .pagination {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}
.blog-grid__loadmore .pagination li { list-style: none; }
.blog-grid__loadmore .pagination a,
.blog-grid__loadmore .pagination span {
    display: grid;
    place-items: center;
    min-width: 38px;
    height: 38px;
    padding: 0 9px;
    color: #1D201C;
    border: 1px solid #d9d3c8;
    background: #fff;
    text-decoration: none;
    font-size: 12px;
    transition: background .2s, color .2s, border-color .2s;
}
.blog-grid__loadmore .pagination .active span,
.blog-grid__loadmore .pagination a:hover {
    color: #fff;
    background: #1D201C;
    border-color: #1D201C;
}
.blog-grid__empty {
    padding: 90px 20px;
    text-align: center;
    color: #7E827A;
    background: #fff;
    border: 1px solid #E6DED0;
}
.blog-grid__empty svg { display: block; margin: 0 auto 17px; opacity: .4; }
.blog-grid__empty p { margin: 0; font-size: 15px; line-height: 1.75; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .blog-featured { grid-template-columns: 1fr; min-height: 0; }
    .blog-featured__visual img { min-height: 340px; }
    .blog-featured__spine {
        min-height: 170px;
        flex-direction: row;
        align-items: flex-end;
        justify-content: flex-start;
        gap: 18px;
        padding: 26px 28px;
    }
    .blog-featured__spine > .blog-featured__spine-brand {
        position: static;
        margin-right: auto;
    }
    .blog-featured__spine-no { font-size: 2.6rem; }
    .blog-featured__spine-rule { display: none; }
    .blog-featured__spine-date { margin-bottom: 4px; }
    .blog-featured__content { padding: 38px 7%; }
    .blog-list__item { grid-template-columns: 52px minmax(0, 1fr) 46px; column-gap: 20px; }
}
@media (max-width: 640px) {
    .blog-hero { padding: 52px 5% 50px; }
    .blog-hero__inner { display: block; }
    .blog-hero__count { display: none; }
    .blog-hero__desc { font-size: 14px; }
    .blog-grid { padding: 46px 5% 70px; }
    .blog-featured__visual img { min-height: 250px; }
    .blog-featured__spine {
        min-height: 142px;
        flex-wrap: wrap;
        gap: 12px 16px;
        padding: 22px;
    }
    .blog-featured__spine-brand { width: 100%; margin-right: 0; }
    .blog-featured__spine-no { font-size: 2.2rem; }
    .blog-featured__content { padding: 30px 24px; }
    .blog-list-head { display: block; margin-top: 54px; }
    .blog-grid__search { width: 100%; max-width: none; min-width: 0; margin-top: 20px; }
    .blog-list__item {
        grid-template-columns: 32px minmax(0, 1fr) 44px;
        column-gap: 12px;
        padding: 20px 16px;
    }
    .blog-list__no { font-size: 1.4rem; }
    .blog-list h3 { font-size: 1.16rem; }
    .blog-list__arrow { width: 44px; height: 44px; }
    .blog-list__content p { -webkit-line-clamp: 3; }
}
