html,body{height:100%}main{background:#000;min-height:100vh}.site-header__nav-list a.news__button{color:#000;padding:var(--space-2) var(--space-4);background-color:#fff;display:inline-block}.news__container{margin-top:var(--space-24);display:grid;grid-template-columns:1fr}.news__card{background:gray;width:300px;height:262px;margin:0 auto;padding:var(--space-4) var(--space-6);transition:background .2s ease}.news__card:hover{background:#fff}.news__card{display:flex;flex-direction:column;justify-content:flex-end}.news__title{font-weight:700;line-height:1;margin-top:var(--space-1);margin-bottom:var(--space-1)}.news__date{line-height:1.2;font-size:var(--text-xs)}@media (min-width: 1000px){.news__container{grid-template-columns:repeat(3,1fr);max-width:1300px;margin:var(--space-24) auto}}
