/* The wide "Join the NatGard Club" banner on the homepage (home-club-band.blade.php). Loaded on the homepage only,
   and only while the network is on. Phone first: the photo on top, the words below; from 900px the photo fills the
   right side and the words sit on the dark green that fades into it.
   It is as wide as the blocks around it (the widths of .best-sellers-shell in styles.css) and stands between
   "NatGard Choice" and "Best sellers": the two lines that part those blocks give way to the banner. */
.home-club { position: relative; width: calc(100% - 28px); margin: 0 auto; border-radius: 12px; overflow: hidden; background: #0d3f24; color: #fff; }
.trending-now:not([hidden]):has(+ .home-club) { border-bottom: 0; padding-bottom: 28px; }
.home-club + .best-sellers { border-top: 0; }
@media (min-width: 768px) {
  .home-club { width: min(100% - 64px, 1120px); }
  .trending-now:not([hidden]):has(+ .home-club) { padding-bottom: 36px; }
  .home-club + .best-sellers { padding-top: 40px; }
}
@media (min-width: 1200px) {
  .home-club { width: min(var(--shell, 1400px), calc(100% - 64px)); }
}
.home-club-photo { display: block; width: 100%; height: 176px; object-fit: cover; object-position: 82% 26%; }
.home-club-body { padding: 16px 16px 18px; }
.home-club h2 { margin: 0 0 8px; font-size: 23px; line-height: 1.15; font-weight: 700; color: #fff; }
.home-club p { margin: 0 0 12px; max-width: 34em; font-size: 14px; line-height: 1.45; color: #dcebd6; }
.home-club ol { display: grid; gap: 7px; margin: 0 0 16px; padding: 0; list-style: none; font-size: 14px; line-height: 1.3; counter-reset: home-club-step; }
.home-club li { display: flex; gap: 9px; align-items: center; counter-increment: home-club-step; }
.home-club li::before { content: counter(home-club-step); flex: none; width: 22px; height: 22px; border-radius: 50%; background: #ffd766; color: #0d3f24; font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.home-club-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.home-club-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 22px; font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; }
.home-club-join { background: var(--ng-accent, #f38a00); color: var(--ng-on-accent, #fff); }
.home-club-join:hover { background: var(--ng-accent-hover, #b66700); }
.home-club-how { color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 65%); }
.home-club-how:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.home-club-actions a:focus-visible { outline: 2px solid #ffd766; outline-offset: 2px; }
@media (min-width: 900px) {
  .home-club { min-height: 280px; display: flex; align-items: center; }
  .home-club-photo { position: absolute; top: 0; right: 0; width: 74%; height: 100%; object-position: center 28%; }
  .home-club::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0d3f24 0%, rgb(13 63 36 / 94%) 36%, rgb(13 63 36 / 0%) 66%); }
  .home-club-body { position: relative; z-index: 1; max-width: 600px; padding: 30px 36px; }
  .home-club h2 { font-size: 36px; }
  .home-club p { font-size: 16px; }
  .home-club ol { font-size: 15px; }
}
/* 900–1099 (the survey of 22.11.2026, finding 10): the words keep to the dark half and the dark runs further — the
   end of the lead used to lie on a light sweater and a face. */
@media (min-width: 900px) and (max-width: 1099px) {
  .home-club::after { background: linear-gradient(90deg, #0d3f24 0%, rgb(13 63 36 / 96%) 46%, rgb(13 63 36 / 0%) 76%); }
  .home-club-body { max-width: 52%; padding-right: 20px; }
  .home-club h2 { font-size: 32px; }
}
/* Phone and tablet (the owner's approval of 30.11.2026); the computer from 900 px is as it was. */
/* Phone: a taller picture, the two buttons on one line (below 340px they stack again). */
@media (max-width: 599px) {
  .home-club-photo { height: 208px; }
}
@media (max-width: 480px) {
  .home-club-actions { flex-wrap: nowrap; gap: 8px; }
  .home-club-actions a { flex: 1 1 0; min-width: 0; padding: 0 10px; font-size: 14px; white-space: nowrap; }
}
@media (max-width: 339px) {
  .home-club-actions { flex-wrap: wrap; }
  .home-club-actions a { flex: 1 1 100%; }
}
/* A wide phone on its side, a small tablet: still the picture above the words, but the picture is no longer a strip. */
@media (min-width: 600px) and (max-width: 767px) {
  .home-club-photo { height: 270px; object-position: 78% 24%; }
}
/* Tablet: the computer's layout, a size smaller — the words at the left on the dark green that fades into the
   picture, the people at the right. */
@media (min-width: 768px) and (max-width: 899px) {
  .home-club { min-height: 300px; display: flex; align-items: center; }
  .home-club-photo { position: absolute; top: 0; right: 0; width: 70%; height: 100%; object-position: 70% 26%; }
  .home-club::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0d3f24 0%, rgb(13 63 36 / 96%) 44%, rgb(13 63 36 / 0%) 72%); }
  .home-club-body { position: relative; z-index: 1; max-width: 56%; padding: 26px 28px; }
  .home-club h2 { font-size: 26px; }
  .home-club p { font-size: 15px; }
  .home-club-actions { flex-wrap: nowrap; gap: 8px; }
  .home-club-actions a { padding: 0 16px; font-size: 14px; white-space: nowrap; }
}
