/* CS-ARENA.PRO UI 3.2.0 — homepage only (not the full /news/ page). */
#csa-news-home { width:100%; margin-bottom:10px; }
#csa-news-home * { box-sizing:border-box; }
#csa-news-home .csa-news-heading {
    background:var(--card,#392518); border:1px solid var(--transparent-5-w,rgba(255,189,104,.12));
    border-radius:var(--br-12,12px); display:flex; align-items:center; gap:12px;
    padding:0 13px; min-height:66px; overflow:hidden;
}
#csa-news-home .csa-news-toggle {
    flex:1 1 auto; display:flex; align-items:center; justify-content:space-between;
    min-width:0; gap:12px; min-height:64px; padding:6px 0;
    appearance:none; -webkit-appearance:none; border:0; background:transparent;
    color:var(--text-default,#f6dcc1); font:inherit; cursor:pointer; text-align:left;
}
#csa-news-home .csa-news-heading-left { display:flex; align-items:center; gap:10px; min-width:0; }
#csa-news-home .csa-news-heading-icon { display:flex; align-items:center; justify-content:center; flex:0 0 36px; width:36px; height:36px; border-radius:8px; background:var(--input-form,#4c3020); }
#csa-news-home .csa-news-heading-icon svg { width:23px; height:23px; fill:var(--span,#f5ad44); }
#csa-news-home .csa-news-heading-copy { display:flex; flex-direction:column; gap:2px; min-width:0; }
#csa-news-home .csa-news-heading-title { font-size:16px; font-weight:750; line-height:1.25; color:var(--text-default,#f6dcc1); }
#csa-news-home .csa-news-heading-description { font-size:11px; color:var(--text-custom,#bd9d7c); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#csa-news-home .csa-news-toggle-hint { color:var(--text-custom,#bd9d7c); font-size:11px; font-weight:500; white-space:nowrap; margin-left:auto; }
#csa-news-home .csa-news-chevron { flex:0 0 20px; width:20px; height:20px; stroke:var(--span,#f5ad44); stroke-width:2; stroke-linecap:round; stroke-linejoin:round; fill:none; transition:transform .2s ease; }
#csa-news-home.csa-news-home--expanded .csa-news-chevron { transform:rotate(180deg); }
#csa-news-home .csa-news-all { flex:0 0 auto; color:var(--span,#f5ad44); font-size:12px; font-weight:650; text-decoration:none; white-space:nowrap; padding:9px 6px; }
#csa-news-home .csa-news-all:hover { color:var(--text-default,#fff); }
#csa-news-home .csa-news-toggle:focus-visible, #csa-news-home .csa-news-all:focus-visible, #csa-news-home .csa-news-card:focus-visible { outline:2px solid var(--span,#f5ad44); outline-offset:3px; }
#csa-news-home .csa-news-region { margin-top:10px; container-type:inline-size; container-name:csa-news; }
#csa-news-home .csa-news-region[hidden] { display:none !important; }
#csa-news-home .csa-news-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; align-items:stretch; }
#csa-news-home .csa-news-card {
    min-width:0; height:300px; display:flex; flex-direction:column; overflow:hidden;
    background:var(--card,#382518); border:1px solid var(--transparent-5-w,rgba(255,185,84,.15));
    color:var(--text-default,#f6dcc1); border-radius:12px; text-decoration:none;
    transition:border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
#csa-news-home .csa-news-card:hover { color:var(--text-default,#fff); border-color:var(--span,#f5ad44); transform:translateY(-2px); box-shadow:0 6px 18px rgba(0,0,0,.18); }
#csa-news-home .csa-news-image { display:block; flex:0 0 150px; height:150px; width:100%; overflow:hidden; background:var(--input-form,#4b3120); }
#csa-news-home .csa-news-image img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .25s ease; }
#csa-news-home .csa-news-card:hover .csa-news-image img { transform:scale(1.035); }
#csa-news-home .csa-news-card-body { display:flex; flex-direction:column; gap:6px; padding:11px 12px 9px; min-width:0; min-height:0; flex:1; }
#csa-news-home .csa-news-card-title { font-size:15px; font-weight:750; line-height:1.25; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:anywhere; }
#csa-news-home .csa-news-card-desc { color:var(--text-custom,#bd9d7c); font-size:12px; line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:anywhere; }
#csa-news-home .csa-news-card-footer { display:flex; justify-content:space-between; gap:6px; margin-top:auto; padding-top:8px; border-top:1px solid var(--transparent-5-w,rgba(255,185,84,.13)); font-size:11px; }
#csa-news-home .csa-news-card-date { color:var(--text-custom,#b39a82); }
#csa-news-home .csa-news-card-cta { color:var(--span,#f5ad44); font-weight:650; white-space:nowrap; }
#csa-news-home .csa-news-empty, #csa-news-home .csa-news-loading, #csa-news-home .csa-news-error { background:var(--card,#392518); padding:24px 12px; text-align:center; border-radius:12px; font-size:13px; color:var(--text-custom,#bd9d7c); }
#csa-news-home .csa-news-retry { background:transparent; color:var(--span,#f5ad44); border:0; font:inherit; font-weight:700; text-decoration:underline; cursor:pointer; }
@container csa-news (max-width: 899px) {
  #csa-news-home .csa-news-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@container csa-news (max-width: 519px) {
  #csa-news-home .csa-news-grid { grid-template-columns:1fr; }
  #csa-news-home .csa-news-card { height:112px; flex-direction:row; }
  #csa-news-home .csa-news-image { height:100%; flex:0 0 110px; }
  #csa-news-home .csa-news-card-body { gap:4px; padding:9px 10px; }
  #csa-news-home .csa-news-card-title { font-size:13px; }
  #csa-news-home .csa-news-card-desc { font-size:11px; -webkit-line-clamp:1; }
  #csa-news-home .csa-news-card-footer { padding-top:4px; font-size:10px; }
}
/* Fallback for browsers without container queries. */
@supports not (container-type: inline-size) {
  @media (max-width: 1199px) { #csa-news-home .csa-news-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
  @media (max-width: 575px) { #csa-news-home .csa-news-grid { grid-template-columns:1fr; } }
}
@media (max-width:575px) {
  #csa-news-home .csa-news-heading { min-height:52px; gap:6px; padding:0 9px; }
  #csa-news-home .csa-news-toggle { min-height:52px; gap:6px; }
  #csa-news-home .csa-news-heading-icon { flex-basis:30px; width:30px; height:30px; }
  #csa-news-home .csa-news-heading-icon svg { width:19px; height:19px; }
  #csa-news-home .csa-news-heading-title { font-size:14px; }
  #csa-news-home .csa-news-heading-description { display:none; }
  #csa-news-home .csa-news-toggle-hint { display:none; }
  #csa-news-home .csa-news-all { font-size:11px; }
}
@media (prefers-reduced-motion:reduce) {
  #csa-news-home .csa-news-card, #csa-news-home .csa-news-chevron, #csa-news-home .csa-news-image img { transition:none; }
}

/* UI 3.2.1: category and NEW marks on the image; no impact to full /news/ cards. */
#csa-news-home .csa-news-image{position:relative}
#csa-news-home .csa-news-labels{position:absolute;left:8px;top:8px;right:8px;display:flex;gap:5px;flex-wrap:wrap;pointer-events:none}
#csa-news-home .csa-news-badge{display:inline-flex;align-items:center;max-width:100%;height:21px;padding:0 7px;border-radius:5px;font-size:9px;font-weight:800;letter-spacing:.025em;color:#ffe9cf;background:#72532d;box-shadow:0 2px 6px rgba(0,0,0,.26)}
#csa-news-home .csa-news-badge--important{background:#8d302a;color:#ffe4e2}
#csa-news-home .csa-news-badge--update{background:#91602c;color:#fff0d1}
#csa-news-home .csa-news-badge--event{background:#315b74;color:#e9f7ff}
#csa-news-home .csa-news-badge--sale{background:#74417f;color:#fbe9ff}
#csa-news-home .csa-news-badge--new{background:#295b42;color:#dbffe8}
