body.xy-news-page #content.site-content { padding: 0 !important; background: #fff; }
body.xy-news-page #content.site-content > .ast-container { display: block; width: 100%; max-width: none !important; padding: 0 !important; }
body.xy-news-page #primary { width: 100%; margin-block: 0 !important; padding: 0; }
body.xy-news-page #primary .ast-article-single { padding: 0 !important; }
.xy-news { width: min(1180px, calc(100% - 2 * clamp(16px, 4vw, 44px))); margin-inline: auto !important; padding: clamp(24px, 3.5vw, 48px) 0 clamp(40px, 6vw, 72px); color: #0f172a; }
.xy-news-header { margin: 0 0 30px; max-width: 78ch; }
.xy-news-header p, .xy-news-card-copy p { color: #55575c; line-height: 1.7; margin: 0; }
.xy-news-index > h2 { text-align: center; font-size: clamp(24px, 3vw, 38px); margin: 0 0 clamp(28px, 5vw, 58px); }
.xy-section-nav.xy-news-sections { position: relative; z-index: auto; justify-content: center; }
.xy-section-nav.xy-news-sections a { width: auto; min-height: 52px; line-height: 1.4; }
.xy-section-nav.xy-news-sections a:focus-visible { outline: 2px solid #0288d1; outline-offset: -4px; }
.xy-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 5vw, 64px) clamp(24px, 4vw, 58px); }
.xy-news-card { min-width: 0; }
.xy-news-card a { display: block; color: inherit; text-decoration: none !important; }
.xy-news-card a:is(:hover, :focus-visible) h3 { color: #c61a1a; }
.xy-news-card a:focus-visible { outline: 2px solid #0288d1; outline-offset: 5px; }
.xy-news-card-image { aspect-ratio: 10 / 7; overflow: hidden; background: #faf9f6; }
.xy-news-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.xy-news-card .xy-news-meta { border-bottom: 1px solid #eae6dc; padding: 0 0 12px; margin: 22px 0 14px; }
.xy-news-card time { font-size: 18px; font-variant-numeric: tabular-nums; }
.xy-news-card-copy h3 { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.4; margin: 0 0 8px; overflow-wrap: anywhere; }
.xy-news-card-copy p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.xy-news-sample { display: inline-block; color: #765b31; background: #f4f1ea; border-radius: 4px; padding: 3px 8px; font-size: 13px; }
.xy-news-back { margin-bottom: 22px; }
.xy-news-back ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; list-style: none; color: #475569; font-size: 14px; }
.xy-news-back li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #64748b; }
.xy-news-back li[aria-current] { overflow-wrap: anywhere; }
.xy-news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; color: #475569; font-size: 14px; line-height: 1.5; }
.xy-news-header .xy-news-meta { margin-bottom: 14px; }
.xy-news-topic { color: #334155; border: 1px solid #eae6dc; border-radius: 4px; padding: 2px 7px; }
.xy-news-detail { max-width: 1280px; width: min(1280px, calc(100% - 2 * clamp(16px, 4vw, 44px))); }
.xy-news-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); align-items: start; }
.xy-news-prose { max-width: 72ch; margin: 30px 0 0; color: #334155; line-height: 1.85; overflow-wrap: anywhere; }
.xy-news-prose h2 { font-size: clamp(20px, 2.6vw, 28px); margin: 26px 0 8px; }
.xy-news-mount-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.xy-news-mount-grid figure { margin: 0; min-width: 0; }
.xy-news-mount-grid img { display: block; width: 100%; height: auto; border: 1px solid #eae6dc; border-radius: 8px; }
.xy-news-mount-grid figcaption { margin-top: 8px; font-size: 16px; line-height: 1.6; }
.xy-news-mount-note { color: #55575c; font-size: 14px; margin-top: 12px; }
.xy-news-pagination, .xy-news-resources { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.xy-news-pagination > *, .xy-news-resources a { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 5px 12px; border: 1px solid #eae6dc; border-radius: 4px; color: #0f172a; }
.xy-news-pagination [aria-current] { background: #1e2434; color: #fff; border-color: #1e2434; }
.xy-news-related { margin-top: 36px; border-top: 1px solid #eae6dc; padding-top: 22px; }
.xy-news-related h2 { font-size: clamp(20px, 2.6vw, 28px); margin: 0 0 10px; }
.xy-news-related ul { margin-bottom: 0; }
.xy-news-related li { margin-bottom: 6px; }
.xy-news-sidebar { display: grid; gap: 20px; }
.xy-news-sidebar-panel { padding: 16px 18px; border: 1px solid #eae6dc; border-radius: 8px; background: #faf9f6; }
.xy-news-sidebar-panel > header { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; border-bottom: 1px solid #eae6dc; padding-bottom: 10px; }
.xy-news-sidebar-panel h2 { position: relative; font-size: 18px; line-height: 1.35; margin: 0; }
.xy-news-sidebar-panel h2::after { content: ""; position: absolute; left: 0; bottom: -11px; width: 24px; height: 2px; background: #df2020; }
.xy-news-sidebar-panel header a { font-size: 14px; color: #55575c; text-underline-offset: 3px; }
.xy-news-sidebar-panel ul { list-style: none; margin: 0; padding: 0; }
.xy-news-sidebar-panel li + li { border-top: 1px solid #eae6dc; }
.xy-news-sidebar-panel li a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 0; color: #0f172a; text-decoration: none; overflow-wrap: anywhere; }
.xy-news-sidebar-panel a:is(:hover, :focus-visible) { color: #c61a1a; text-decoration: underline; }
.xy-news-sidebar-title { display: block; font-size: 14px; font-weight: 600; line-height: 1.45; }
.xy-news-sidebar-panel time, .xy-news-sidebar-panel p { color: #55575c; font-size: 14px; }
.xy-news-sidebar-panel p { margin: 12px 0 0; }
.xy-news-sidebar-image { display: block; flex: 0 0 62px; height: 48px; overflow: hidden; border-radius: 4px; background: #fff; }
.xy-news-sidebar-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
[aria-labelledby="xy-news-sidebar-products"] .xy-news-sidebar-image img { object-fit: contain; }

@media (min-width: 901px) {
    .xy-news-detail-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); }
}

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

@media (max-width: 560px) {
    .xy-news-grid { grid-template-columns: minmax(0, 1fr); }
    .xy-news-mount-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 580px) {
    .xy-section-nav.xy-news-sections a { flex: 1 1 0; min-width: 0; gap: 6px; padding-inline: 8px; }
    .xy-section-nav.xy-news-sections svg { width: 16px; height: 16px; }
}

