.rs-instagram-feed {
  margin: 0 auto;
  padding: 1.75rem 1rem;
  max-width: 84rem;
}

.rs-instagram-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.rs-instagram-heading h2, .rs-instagram-eyebrow { margin: 0; }
.rs-instagram-eyebrow { text-transform: uppercase; font-size: .75rem; letter-spacing: .1em; }
.rs-instagram-posts { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.rs-instagram-posts a { display: block; position: relative; aspect-ratio: 1; overflow: hidden; background: #242424; }
.rs-instagram-posts img { width: 100%; height: 100%; object-fit: cover; }
.rs-instagram-posts a > span { position: absolute; right: .5rem; bottom: .5rem; padding: .25rem .5rem; background: #111; color: #fff; }

.rs-cookie-preferences, .rs-cookie-settings {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 9999;
  color: #111;
  background: #fff;
  border: 1px solid #242424;
  box-shadow: 0 2px 10px #0003;
}

.rs-cookie-preferences { width: min(38rem, calc(100% - 2rem)); padding: 1rem; box-sizing: border-box; }
.rs-cookie-preferences p { margin: .4rem 0 .75rem; }
.rs-cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.rs-cookie-preferences button { padding: .5rem .75rem; font: inherit; cursor: pointer; }
.rs-cookie-settings { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; color: #bb111a; cursor: pointer; }
.rs-cookie-settings:hover { background: #fff0f0; }
.rs-cookie-settings:focus-visible { outline: 2px solid #fff; box-shadow: 0 0 0 5px #111; }
.rs-cookie-preferences button { border: 1px solid #242424; color: #111; background: #fff; }
.rs-cookie-preferences button[data-rs-consent="optional"] { border-color: #bb111a; color: #fff; background: #bb111a; }
.rs-cookie-preferences[hidden], .rs-cookie-settings[hidden] { display: none; }

@media (min-width: 40rem) { .rs-instagram-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .rs-instagram-posts { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
