.hgsf-feed .hgsf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(0.5rem, 2vw, 1rem); list-style: none; margin: 0; padding: 0; } .hgsf-feed .hgsf-grid > li { margin: 0; padding: 0; } .hgsf-feed .hgsf-post { position: relative; display: block; aspect-ratio: 1; border-radius: var(--hgsf-radius, 0.5rem); } .hgsf-feed .hgsf-post img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; background-color: #f0f2ef; } .hgsf-feed .hgsf-video { position: absolute; inset: 0.5rem 0.5rem auto auto; border-radius: 50%; background: rgb(0 0 0 / 65%); color: #fff; font-size: 0.75rem; width: 2rem; height: 2rem; display: grid; place-items: center; } .hgsf-feed .hgsf-grid + .hgsf-actions { margin-top: 1rem; } .hgsf-feed .hgsf-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem 1.25rem; } .hgsf-feed .hgsf-more { font: inherit; color: var(--hgsf-accent, inherit); background: transparent; border: 1px solid currentColor; border-radius: var(--hgsf-radius, 0.5rem); padding: 0.5rem 1rem; min-height: 44px; cursor: pointer; } .hgsf-feed .hgsf-profile { color: var(--hgsf-accent, inherit); text-underline-offset: 0.2em; overflow-wrap: anywhere; } .hgsf-feed [hidden] { display: none; } .hgsf-feed :is(.hgsf-post, .hgsf-more, .hgsf-profile):focus-visible { outline: 2px solid currentColor; outline-offset: 3px; } @media (max-width: 47rem) { .hgsf-feed .hgsf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } .hgsf-feed .hgsf-platform { position: absolute; inset: auto auto 0.5rem 0.5rem; padding: 0.2rem 0.5rem; border-radius: 0.25rem; background: rgb(0 0 0 / 75%); color: #fff; font-size: 0.75rem; } .hgsf-feed .hgsf-text-post { box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; gap: 0.65rem; padding: 0.75rem; background: var(--hgsf-surface, #f0f2ef); aspect-ratio: auto; min-height: 100%; text-decoration: none; overflow-wrap: anywhere; } .hgsf-feed .hgsf-text-post:hover { text-decoration: underline; } .hgsf-feed :is(.hgsf-text-platform, .hgsf-text-date) { font-size: 0.8rem; } .hgsf-feed .hgsf-x-tile { grid-column: span 2; min-width: 0; } .hgsf-feed .hgsf-x-embed { margin: 0; padding: 0.75rem; background: var(--hgsf-surface, #f0f2ef); border-radius: var(--hgsf-radius, 0.5rem); } .hgsf-feed .hgsf-x-tile iframe { max-width: 100%; } ul.hgsf-sociallinks { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; list-style: none; margin: 0; padding: 0; } .hgsf-sociallinks > li { margin: 0; padding: 0; } .hgsf-sociallinks a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 50%; color: var(--hgsf-accent, inherit); } .hgsf-sociallinks a:hover { background: var(--hgsf-surface, #f0f2ef); } .hgsf-sociallinks a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }