.news-container{display:flex;gap:2rem;padding:2rem;font-family:Segoe UI,Tahoma,Verdana;direction:rtl}.news-sidebar{min-width:220px;border-right:1px solid #ddd;padding-right:1rem}.news-sidebar h2{margin-bottom:2rem}.news-main{flex:1}.news-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1rem}.news-card{border:1px solid #ccc;border-radius:8px;overflow:hidden;cursor:pointer;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}.news-card:hover{transform:translateY(-3px);box-shadow:0 5px 15px #0000001a}.news-card-media{width:100%;max-height:250px;object-fit:cover;border-bottom:1px solid #ddd}.news-card-content{padding:1rem;display:flex;flex-direction:column;gap:.5rem}.news-card-content h3{font-weight:700;text-align:center}.news-date{font-size:.85rem;color:#777;margin-bottom:5px}.news-tags,.popup-tags-container{display:flex;flex-wrap:wrap;justify-content:center;gap:.3rem}.tag{display:inline-block;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:500;color:#fff;margin:2px}.category-badge{display:inline-block;padding:6px 12px;border-radius:12px;font-size:.9rem;font-weight:600;color:#fff;margin-top:15px;margin-bottom:8px;text-align:center;box-shadow:0 2px 6px #00000026}.news-popup-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.news-popup{background-color:#fff;border-radius:8px;max-width:700px;width:90%;max-height:80%;overflow-y:auto;padding:2rem;position:relative}.popup-close{position:absolute;top:1rem;left:1rem;font-size:1.5rem;border:none;background:none;cursor:pointer}.popup-media{width:100%;max-height:300px;margin-bottom:1rem;object-fit:cover}.popup-text{white-space:pre-wrap;line-height:1.4;margin-bottom:1rem}.published-date{color:#555}.checkbox-label input[type=checkbox]{appearance:none;-webkit-appearance:none;-moz-appearance:none;width:22px;height:22px;border:2px solid #ccc;border-radius:6px;position:relative;margin-right:10px;cursor:pointer;transition:all .2s;vertical-align:middle}.checkbox-label input[type=checkbox]:hover{transform:scale(1.1)}.checkbox-label input[type=checkbox]:checked:after{content:"✔";position:absolute;top:0;left:4px;font-size:16px;color:#fff}.checkbox-label{display:flex;align-items:center;gap:.5rem;margin-bottom:.8rem;font-weight:500;cursor:pointer}.category-1 input[type=checkbox]{border-color:#4da1ff}.category-1 input[type=checkbox]:checked{background-color:#4da1ff;border-color:#4da1ff}.category-2 input[type=checkbox]{border-color:#6cb8ff}.category-2 input[type=checkbox]:checked{background-color:#6cb8ff;border-color:#6cb8ff}.category-3 input[type=checkbox]{border-color:#4ec5d4}.category-3 input[type=checkbox]:checked{background-color:#4ec5d4;border-color:#4ec5d4}.category-4 input[type=checkbox]{border-color:#7ad3e0}.category-4 input[type=checkbox]:checked{background-color:#7ad3e0;border-color:#7ad3e0}.category-5 input[type=checkbox]{border-color:#8ed1ff}.category-5 input[type=checkbox]:checked{background-color:#8ed1ff;border-color:#8ed1ff}.category-6 input[type=checkbox]{border-color:#a3e0ff}.category-6 input[type=checkbox]:checked{background-color:#a3e0ff;border-color:#a3e0ff}.category-7 input[type=checkbox]{border-color:#66a6e8}.category-7 input[type=checkbox]:checked{background-color:#66a6e8;border-color:#66a6e8}.category-8 input[type=checkbox]{border-color:#5fc7c0}.category-8 input[type=checkbox]:checked{background-color:#5fc7c0;border-color:#5fc7c0}.category-9 input[type=checkbox]{border-color:#8fb7ff}.category-9 input[type=checkbox]:checked{background-color:#8fb7ff;border-color:#8fb7ff}.category-10 input[type=checkbox]{border-color:#7fa8d6}.category-10 input[type=checkbox]:checked{background-color:#7fa8d6;border-color:#7fa8d6}.category-11 input[type=checkbox]{border-color:#a6c8ff}.category-11 input[type=checkbox]:checked{background-color:#a6c8ff;border-color:#a6c8ff}@media(min-width:1024px){.news-grid{grid-template-columns:repeat(3,1fr)}}@media(min-width:768px)and (max-width:1023px){.news-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:767px){.news-container{flex-direction:column;padding:1rem}.news-sidebar{min-width:100%;border-right:none;border-bottom:1px solid #ddd;padding:.5rem 0;margin-bottom:1rem}.news-grid{grid-template-columns:1fr}.news-card{font-size:.9rem}.news-card-content h3{font-size:1rem}.category-badge{font-size:.75rem;padding:3px 8px}.tag{font-size:9px;padding:2px 5px}.news-popup{width:95%;max-height:90%;padding:1rem}.popup-media{max-height:200px}}
