.gk-offers { color: var(--wp--preset--color--text); font-family: inherit; }
.gk-offers__items { display: grid; gap: 1.25rem; }
.gk-offer { display: block; overflow: hidden; color: inherit; text-decoration: none; border: 1px solid #383d43; background: #181b1e; border-radius: 0; }
.gk-offer:hover { border-color: #79b8db; color: inherit; }
.gk-offer:focus-visible { outline: 3px solid #79b8db; outline-offset: 3px; }
.gk-offer__image { position: relative; display: grid; place-items: center; height: 136px; overflow: hidden; background: #252a2e; }
.gk-offer__image img { position: absolute; inset: 0; display: block; width: auto; height: auto; max-width: 72%; max-height: 68%; margin: auto; object-fit: contain; object-position: center; }
.gk-offer__image--racknerd img { max-width: 74%; }
.gk-offer__image--contact { background: radial-gradient(circle at 50% 25%, #394047, #202428 75%); }
.gk-offer__image--contact img { max-width: 72%; max-height: 46%; }
.geekist-product-sidebar > .gk-offer--contact { margin-top: 1.5rem; }
.gk-offer__body { display: grid; gap: .5rem; padding: 1rem 1.125rem 1.125rem; line-height: 1.5; }
.gk-offer__title { color: var(--wp--preset--color--text); font-size: 1.08rem; font-weight: 700; }
.gk-offer__description { color: #c5cbd0; font-size: .9rem; }
.gk-offer__link { color: #90c4e0; font-size: .85rem; font-weight: 600; }
.gk-offers__disclosure { color: #abb2b8; font-size: .75rem; line-height: 1.4; margin: 1rem 0 0; }

/* The shared sidebar becomes a horizontal card rail on phones. */
@media (max-width: 781px) {
  .gk-offers { min-width: 0; }
  .gk-offers__items {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(75vw, 17rem);
    grid-template-columns: none;
    gap: 1rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 4px;
    scroll-padding-inline: 4px;
  }
  .wp-block-column:has(> .post-aside) > .wp-block-spacer { display: none; }
}
