.xiancai-news { min-width: 0; background: var(--ivory); }
.news-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 24px 32px; }
.news-item:first-child { position: relative; grid-row: span 3; min-height: 560px; overflow: hidden; }
.news-item:first-child::after { position: absolute; inset: 36% 0 0; content: ""; background: linear-gradient(to bottom, transparent, rgba(35, 13, 25, .88)); pointer-events: none; }
.news-item:first-child .news-image { position: absolute; inset: 0; height: 100%; }
.news-item:first-child .news-image img { height: 100%; aspect-ratio: auto; }
.news-item:first-child .news-copy { position: absolute; z-index: 1; right: 40px; bottom: 34px; left: 40px; color: white; }
.news-item:first-child .news-meta, .news-item:first-child p:not(.news-meta) { color: rgba(255, 255, 255, .82); }
.news-item:first-child h3 { font-size: clamp(28px, 2.2vw, 40px); }
.news-item:not(:first-child) { display: grid; grid-template-columns: minmax(150px, 34%) minmax(0, 1fr); gap: 20px; align-items: center; min-height: 0; }
.news-item:nth-child(2) { align-items: start; }
.news-item:nth-child(4) { align-items: end; }
.news-image { display: block; min-width: 0; }
.news-image img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.news-item:not(:first-child) .news-image, .news-item:not(:first-child) .news-image img { height: 100%; max-height: 170px; }
.news-meta { color: var(--brand); font-size: 14px; margin-bottom: 12px; }
.news-item h3 { margin-bottom: 10px; }
.news-item p:not(.news-meta) { color: var(--muted); font-size: 16px; }
.news-caption { font-style: italic; }
.xc-news-catalog { background: var(--ivory); }
.xc-news-catalog__container { width: calc(100% - 2 * var(--site-gutter)); max-width: none; margin-inline: auto; min-width: 0; }
.xc-news-catalog__heading { text-align: center; margin-bottom: 48px; }
.xc-news-catalog__heading :is(h1,h2) { font: 400 44px/1.18 Georgia, serif; letter-spacing: -.035em; margin: 0; }
.xc-news-catalog__categories { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 24px; margin-bottom: 40px; font: 400 20px/1.4 'XC Case Montserrat', Arial, sans-serif; }
.xc-news-catalog__categories a { padding: 10px 24px; color: #000; transition: background .2s, color .2s; }
.xc-news-catalog__categories a[aria-current], .xc-news-catalog__categories a:hover { background: #000; color: #fff; }
.xc-news-catalog__category-intro { max-width: 760px; margin: 0 auto 40px; text-align: center; color: var(--muted); }
.xc-news-catalog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px; }
.xc-news-card { min-width: 0; font-family: 'XC Case Montserrat', Arial, sans-serif; }
.xc-news-card__image { display: block; aspect-ratio: 1.93; overflow: hidden; }
.xc-news-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.xc-news-card__image:hover img, .xc-news-card__image:focus-visible img { transform: scale(1.04); }
.xc-news-card__meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; margin: 24px 0 16px; font-size: 14px; letter-spacing: .08em; color: #000; }
.xc-news-card h3 { font: 600 24px/1.4 'XC Case Montserrat', Arial, sans-serif; letter-spacing: 0; margin: 0 0 16px; overflow-wrap: anywhere; }
.xc-news-card > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.xc-news-pagination { margin-top: 48px; }
.editor-styles-wrapper .xc-news-catalog { padding-block: 24px; }
.editor-styles-wrapper .xc-news-catalog__grid { gap: 24px; }
@media (max-width: 1100px) { .xc-news-catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } .xc-news-card h3 { font-size: 22px; } }
@media (max-width: 767px) {
    .xc-news-catalog__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .xc-news-catalog__heading { margin-bottom: 32px; }
    .xc-news-catalog__heading :is(h1,h2) { font-size: 36px; }
    .xc-news-catalog__categories { gap: 8px; font-size: 16px; margin-bottom: 32px; }
    .xc-news-catalog__categories a { padding: 10px 14px; }
    .xc-news-card__meta { font-size: 12px; margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) { .xc-news-card__image img { transition: none; } }
@media (width < 1920px) {
    .home .xiancai-news .news-copy > p:not(.news-meta, .news-caption) { display: none; }
}
@media (1025px <= width < 1920px) {
    .home .xiancai-news { padding-block: 56px; }
    .home .xiancai-news .news-grid { row-gap: 16px; }
    .home .xiancai-news .news-item:not(:first-child) .news-image,
    .home .xiancai-news .news-item:not(:first-child) .news-image img { max-height: 120px; }
}
@media (min-width: 1025px) {
    .news-grid { grid-template-rows: repeat(3, auto); }
    .news-item:first-child { display: grid; align-items: end; min-height: 0; }
    .news-item:first-child .news-copy { position: relative; inset: auto; padding: 24px 40px 34px; }
}
@media (max-width: 1024px) { .news-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; } .news-item:first-child { grid-row: auto; min-height: 500px; } }
@media (max-width: 767px) { .news-item:first-child { min-height: 440px; } .news-item:first-child .news-copy { right: 24px; bottom: 24px; left: 24px; } .news-item:not(:first-child) { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); } .news-item:not(:first-child) .news-image, .news-item:not(:first-child) .news-image img { max-height: 128px; } }
@media (width <= 1024px) {
    .home .xiancai-news .news-item:first-child { min-height: 340px; }
}
