.views-row { article.actu-teaser { background-color: white; padding: 1rem; box-sizing: border-box; @media screen and (min-width: $breakpoint_tablet) { padding: 2rem; } > div:first-of-type { width: 100%; aspect-ratio: 20 / 9; overflow: hidden; //padding-left: $x_margin; padding-right: $x_margin; display: flex; align-items: center; a { img { height: auto; width: 100%; } .legende { display: none !important; } } } .preview_meta { font-family: "Marianne", sans-serif; font-size: $sm_font_size; width: auto; display: flex; justify-content: space-between; color: $teal; margin: 0 $x_margin; margin-top: 1.3rem; padding-top: 0.7rem; margin-left: 0; @media (min-width: $breakpoint_tablet) { margin-left: unset; font-size: $m_font_size; } } .preview_sous_titre { font-family: "Marianne", sans-serif; font-size: $m_font_size; padding: 5px $x_margin; padding-left: 0 !important; @media (min-width: $breakpoint_tablet) { padding-left: unset; font-size: $l_font_size; padding-top: unset !important; } } h2 { margin-bottom: 0.5rem; margin-top: 1rem !important; padding: 0 !important; line-height: 1.2; @include main_title(); } } }