.year-filter{display:flex;
justify-content:flex-end;
margin-bottom:35px}.year-filter label{display:flex;
grid-template-columns:auto 190px;
align-items:center;
gap:14px;
color:#0751a5}.wysiwyg{min-height:320px;
background:#fff}.repeater{display:grid;
gap:12px;
padding:22px}.repeat-row{display:grid;
grid-template-columns:32px 1fr 1fr auto 38px;
gap:10px;
align-items:center;
padding:12px;
background:#f8fafc;
border:1px solid #e2e8f0;
border-radius:14px}.repeat-row.milestone{grid-template-columns:120px 1fr 2fr 38px}.repeat-row button,.repeat-card>[data-remove]{border:0;
background:#fee2e2;
color:#b91c1c;
border-radius:10px;
width:36px;
height:36px;
font-size:20px;
cursor:pointer}.switch{display:flex!important;
grid-template-columns:auto auto!important;
white-space:nowrap}.switch input{width:auto}.add-row{margin:0 22px 22px;
border:1px dashed #0751a5;
background:#eff6ff;
color:#0751a5;
padding:11px 18px;
border-radius:11px;
font-weight:900;
cursor:pointer}.card-repeater{grid-template-columns:repeat(2,minmax(0,1fr))}.repeat-card{position:relative;
display:grid;
grid-template-columns:150px 1fr;
gap:16px;
padding:16px;
background:#f8fafc;
border:1px solid #e2e8f0;
border-radius:16px}.repeat-card>[data-remove]{position:absolute;
right:10px;
top:10px}.repeat-fields{display:grid;
gap:10px;
padding-right:34px}.image-preview,.avatar-preview{background:#e2e8f0;
border-radius:12px;
overflow:hidden;
min-height:140px}.image-preview img,.avatar-preview img{width:100%;
height:100%;
object-fit:cover}.avatar-preview{width:120px;
height:120px;
border-radius:50%}.media-upload{display:flex;
align-items:end;
gap:20px}.media-grid{display:grid;
grid-template-columns:repeat(4,1fr);
gap:18px;
margin-top:24px}.media-card{background:#fff;
border-radius:16px;
overflow:hidden;
box-shadow:0 10px 30px #0f172a0a}.media-card>img{width:100%;
height:180px;
object-fit:cover}.media-card>div{display:grid;
gap:8px;
padding:14px}.media-card small{color:#64748b}.media-card button{border:0;
background:none;
color:#e5242a;
font-weight:900;
cursor:pointer}@media(max-width:900px){.card-repeater,.media-grid{grid-template-columns:1fr 1fr}.repeat-row{grid-template-columns:1fr}.repeat-card{grid-template-columns:110px 1fr}}@media(max-width:600px){.card-repeater,.media-grid{grid-template-columns:1fr}.repeat-card{grid-template-columns:1fr}.year-filter{justify-content:stretch}.year-filter label{grid-template-columns:1fr}.media-upload{align-items:stretch;
flex-direction:column}}

/* Admin > Bài viết > Banner đầu trang */
.page-banners-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.page-banner-card{display:grid;gap:10px;padding:16px;border:1px solid #dbe3ee;border-radius:16px;background:#f8fbff;min-width:0}
.page-banner-card strong{font-size:15px;color:#0f172a}
.page-banner-card .upload-preview{display:block;width:100%;height:150px;object-fit:cover;border:1px solid #dbe3ee;border-radius:10px;background:#eaf1fa}
.page-banner-card small{color:#64748b;font-weight:600;min-height:150px;display:grid;place-items:center;border:1px dashed #b9cce3;border-radius:10px}
@media(max-width:980px){.page-banners-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.page-banners-grid{grid-template-columns:1fr}}
