.home-news-section { margin: 36px 0 28px; }
.home-news-section__head { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:18px; }
.home-news-section__head h2 { margin:4px 0 0; font-size:clamp(26px,3vw,38px); }
.home-news-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.home-news-card { min-width:0; border:1px solid var(--line); border-radius:24px; background:#fff; overflow:hidden; box-shadow:0 10px 28px rgba(35,38,45,.07); transition:transform .2s ease,box-shadow .2s ease; }
.home-news-card:hover { transform:translateY(-3px); box-shadow:0 16px 34px rgba(35,38,45,.11); }
.home-news-card>a { color:inherit; text-decoration:none; display:block; height:100%; }
.home-news-card__media { position:relative; aspect-ratio:16/9; display:grid; place-items:center; background:linear-gradient(135deg,#fff4d0,#ffe7ea); overflow:hidden; }
.home-news-card__media img,.home-news-card__media iframe { width:100%; height:100%; object-fit:cover; border:0; }
.news-media-placeholder { display:grid; place-items:center; width:70px; height:70px; border-radius:22px; background:var(--brand-red); color:#fff; font-weight:900; font-size:24px; }
.news-video-badge { position:absolute; right:12px; bottom:12px; padding:7px 11px; border-radius:999px; background:rgba(26,29,35,.86); color:#fff; font-size:12px; font-weight:800; }
.home-news-card__body { padding:20px; }
.home-news-card time { color:#8b8f98; font-size:13px; }
.home-news-card h3 { margin:8px 0; font-size:21px; line-height:1.2; }
.home-news-card__excerpt { margin:0; color:#646b77; line-height:1.5; min-height:3em; }
.home-news-card__more { display:inline-flex; margin-top:16px; color:var(--brand-red); font-weight:800; }
.news-detail { max-width:1040px; margin:0 auto; }
.news-detail__hero { margin:22px 0 26px; }
.news-detail__hero h1 { margin:8px 0 12px; font-size:clamp(34px,5vw,62px); line-height:1.04; }
.news-detail__hero>p { font-size:20px; color:#646b77; line-height:1.55; max-width:800px; }
.news-detail__media { border-radius:28px; overflow:hidden; background:#12151b; margin-bottom:28px; aspect-ratio:16/9; }
.news-detail__media img,.news-detail__media video,.news-detail__media iframe { width:100%; height:100%; object-fit:contain; border:0; display:block; }
.news-detail__content { padding:34px; font-size:18px; line-height:1.7; }
.news-detail__content h2,.news-detail__content h3 { line-height:1.2; margin:1.4em 0 .5em; }
.news-detail__content a { color:var(--brand-red); text-decoration:underline; }
.news-detail__actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:24px; }
.news-admin-list { display:grid; gap:14px; }
.news-admin-row { display:grid; grid-template-columns:150px minmax(0,1fr) auto auto; gap:18px; align-items:center; padding:14px; background:#fff; border:1px solid var(--line); border-radius:20px; }
.news-admin-row__media { aspect-ratio:16/9; border-radius:14px; overflow:hidden; display:grid; place-items:center; background:#fff4d0; }
.news-admin-row__media img,.news-admin-row__media iframe { width:100%; height:100%; object-fit:cover; border:0; }
.news-admin-row__copy h3 { margin:0 0 5px; }
.news-admin-row__copy p { margin:0 0 6px; color:#6d737e; }
.news-admin-row__copy time { color:#9297a1; font-size:13px; }
.news-admin-row__status { padding:7px 11px; border-radius:999px; font-size:12px; font-weight:800; }
.news-admin-row__status[data-status=published] { color:#177541; background:#e7f7ed; }
.news-admin-row__status[data-status=draft] { color:#755c00; background:#fff5d3; }
.news-editor-header { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:18px; }
.news-editor-layout { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(320px,.7fr); gap:20px; align-items:start; }
.news-editor-main,.news-editor-side { padding:26px; }
.news-editor-main .form-control { margin-bottom:18px; }
.news-rich-toolbar { display:flex; flex-wrap:wrap; gap:6px; padding:8px; background:#f5f6f8; border:1px solid var(--line); border-bottom:0; border-radius:14px 14px 0 0; }
.news-rich-toolbar button { min-width:38px; height:36px; border:0; border-radius:9px; background:#fff; font-weight:800; cursor:pointer; }
.news-rich-editor { min-height:260px; padding:18px; border:1px solid var(--line); border-radius:0 0 14px 14px; outline:none; line-height:1.65; }
.news-rich-editor:empty:before { content:attr(data-placeholder); color:#a0a5ae; }
.news-image-preview { aspect-ratio:16/9; display:grid; place-items:center; border:1px dashed #c6cad2; border-radius:18px; background:#f7f8fa; overflow:hidden; color:#858b96; margin-bottom:12px; }
.news-image-preview img { width:100%; height:100%; object-fit:cover; }
.news-media-upload { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.news-editor-check { display:flex; gap:10px; align-items:center; padding:14px; border-radius:14px; background:#fff4d0; font-weight:800; margin:18px 0; }
.news-editor-actions { display:flex; flex-wrap:wrap; gap:10px; justify-content:flex-end; }

@media (max-width: 900px) {
  .home-news-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .news-editor-layout { grid-template-columns:1fr; }
  .news-admin-row { grid-template-columns:110px minmax(0,1fr) auto; }
  .news-admin-row__status { grid-column:2; justify-self:start; }
}
@media (max-width: 620px) {
  .mobile-nav a { min-width: 0; flex: 1; }
  .home-news-section { margin-top:24px; }
  .home-news-list { grid-template-columns:1fr; }
  .home-news-section__head { align-items:start; }
  .news-detail__content { padding:22px; font-size:16px; }
  .news-admin-row { grid-template-columns:92px minmax(0,1fr); gap:12px; }
  .news-admin-row__status { grid-column:2; }
  .news-admin-row>[data-news-edit] { grid-column:1/-1; }
  .news-editor-header { align-items:flex-start; }
  .news-editor-main,.news-editor-side { padding:18px; }
  .news-media-upload { grid-template-columns:1fr; }
  .news-editor-actions .button { width:100%; }
}
