.newscategory{display:flex;flex-direction:column;gap:2rem;position:relative;z-index:1}.newscategory__content{display:flex;flex-direction:column;gap:.5rem}.newscategory__title{font-size:var(--text-h3,2.5rem);margin:0;width:100%}.newscategory__text{margin:0;width:100%}.newscategory__posts{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(min(100%,270px),1fr))}.newscategory__post{background:var(--light-color,#d3d3d3);border-radius:2rem;display:flex;overflow:hidden;position:relative}.newscategory__post:hover .newscategory__post-overlay{opacity:.95}.newscategory__post:hover .newscategory__post-icon{position:relative}.newscategory__post:hover .newscategory__post-icon iconify-icon{translate:0 -100%}.newscategory__post-image{height:100%;inset:0;margin:0;position:absolute;width:100%;z-index:0}.newscategory__post-image img{display:block;height:100%!important;inset:0;object-fit:cover;position:absolute;width:100%}.newscategory__post-overlay{background:var(--light-color,#d3d3d3);height:100%;inset:0;opacity:.8;position:absolute;transition:.5s;width:100%;z-index:1}.newscategory__post-content{color:var(--primary-color,#000);display:grid;gap:.5rem;grid-template-rows:1fr auto auto;padding:2rem;position:relative;z-index:2}.newscategory__post-icon{display:flex;flex:0 0 3rem;flex-direction:column;height:3rem;justify-self:end;margin-bottom:1rem;overflow:hidden;width:3rem}.newscategory__post-icon iconify-icon{font-size:3rem;transition:.5s var(--ease-in-out-back)}.newscategory__post-title{color:inherit;display:-webkit-box;font-size:var(--text-h5,1.5rem);margin:0;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.newscategory__post-title a,.newscategory__post-title a:hover{color:inherit;font-weight:inherit}