@use "../abstracts/mixin" as *; @use "../abstracts/variables" as *; .blog_grid { @media (max-width: 768px) { overflow-x: auto; overflow-y: hidden; &::-webkit-scrollbar { height: 8px; } /* Track */ &::-webkit-scrollbar-track { border-radius: 100vw; background: #eee; } /* Handle */ &::-webkit-scrollbar-thumb { border-radius: 4px; background: var(--brand-primary); } .grid_view { width: 300%; } } .row, .row > * { padding: 0; margin: 0; } .row { height: 100%; } .post { position: relative; height: CALC(100% - 10px); margin: 0; padding: 5px; display: flex; flex-direction: column; background-color: $surface; background-clip: content-box; overflow: hidden; @media (max-width: 768px) { height: CALC(50% - 10px); } > a:first-child { display: block; flex: 1 1 auto; min-height: 140px; position: relative; } img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } &.small { height: 50%; } .slider_content_box { position: relative; flex: 0 0 auto; padding: 14px 16px 16px; background-color: $surface; // tags over de afbeelding .post_details { position: absolute; top: 0; left: 14px; z-index: 1; transform: translateY(calc(-100% - 8px)); } .post_details { @include reset-list; display: flex; gap: 3px; .category a { padding: 6px 11px 7px; display: block; border-radius: 999px; background-color: $gold; font-family: var(--font-base); font-size: 10px; font-weight: 700; text-align: center; color: $primary; text-decoration: none; text-transform: uppercase; } } h2, h5 { margin: 15px 0 0 0; } h2 a, h5 a { font-family: var(--font-base); font-size: 30px; font-weight: 700; line-height: 1.1; color: $primary; text-decoration: none; } h5 a { font-size: 16px; line-height: 1.17; } @media (max-width: 768px) { h2 a, h5 a { display: block; font-size: 16px; line-height: 1.17; } } .post_date { @include post_date; height: auto; margin-top: 8px; color: $dark; font-weight: 600; line-height: 1.4; text-transform: uppercase; font-size: 11px; i { display: none; } } } } } .article-iframe { width: 100%; aspect-ratio: 1; }