/* Homepage information cards and Instagram banner — v84: defined rounded bubble cards. */
.community-editorial.wrap,
.instagram-editorial.wrap {
  max-width: 1440px;
  padding-right: 24px;
  padding-left: 24px;
}

.community-editorial {
  display: grid;
  gap: 26px;
  margin: 0 auto 28px;
}

.community-card {
  display: grid;
  grid-template-columns: 102px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px 24px;
  border: 1.5px solid #d6d6d6;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 2px 9px rgba(0,0,0,.06);
}

.community-card-icon {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 0;
}

.community-card-icon > span {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #f8f8f8;
}

.community-card-icon svg {
  width: 33px;
  height: 33px;
}

.community-card-copy {
  min-width: 0;
}

.community-editorial h2 {
  margin: 0 0 7px;
  color: #080808;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 2.3vw, 34px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.04em;
}

.community-editorial p {
  max-width: 860px;
  margin: 0 0 11px;
  color: #191919;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.4;
}

.community-editorial .community-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 100%;
  min-height: 42px;
  padding: 0 22px;
  border: 2px solid #111;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s ease;
}

.community-editorial .community-button:hover {
  background: #f5f5f5;
  text-decoration: none;
}

.community-editorial .community-button:focus-visible,
.instagram-editorial .instagram-banner:focus-visible {
  outline: 3px solid #111;
  outline-offset: 5px;
}

.community-button > .button-chevron {
  flex: none;
  width: 12px;
  height: 18px;
}

.community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.community-editorial .community-message {
  flex: 0 1 auto;
  width: fit-content;
  max-width: 100%;
  justify-content: flex-start;
  gap: 9px;
  min-height: 42px;
  padding: 0 13px;
  border-radius: 999px;
}

.community-message .message-brand {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  box-sizing: border-box;
  padding-right: 0;
  border-right: 0;
}

.message-brand svg {
  display: block;
  width: 26px;
  height: 26px;
}

.message-brand-ebay {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.05em;
  white-space: nowrap;
}

.community-message .message-label {
  flex: 0 1 auto;
  min-width: 0;
  white-space: nowrap;
}

.instagram-panel.instagram-editorial {
  margin: 0 auto;
  padding-top: 3px;
  padding-bottom: 15px;
  background: transparent;
}

.instagram-editorial .instagram-banner.instagram-banner-editorial {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #17120e;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

.instagram-panel .instagram-banner-editorial > .instagram-banner-artwork {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1181 / 330;
}

@media (max-width: 1180px) {
  .community-editorial.wrap,
  .instagram-editorial.wrap {
    padding-right: 28px;
    padding-left: 28px;
  }

  .community-card {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 16px;
    padding: 16px 20px;
  }

  .community-card-icon > span {
    width: 52px;
    height: 52px;
  }

  .community-card-icon svg {
    width: 30px;
    height: 30px;
  }

  .community-editorial h2 {
    font-size: clamp(24px, 2.5vw, 31px);
  }

  .community-editorial p {
    margin-bottom: 10px;
    font-size: clamp(14px, 1.35vw, 16px);
  }

  .community-editorial .community-button,
  .community-editorial .community-message {
    min-height: 42px;
  }

  .community-message .message-brand {
    width: auto;
    min-width: 0;
    padding-right: 0;
  }

  .message-brand svg { width: 25px; height: 25px; }
  .message-brand-ebay { font-size: 19px; }
}

@media (max-width: 760px) {
  .community-editorial.wrap,
  .instagram-editorial.wrap {
    padding-right: 18px;
    padding-left: 18px;
  }

  .community-editorial {
    gap: 20px;
    margin-bottom: 23px;
  }

  .community-card {
    grid-template-columns: 31px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 13px;
    border-radius: 21px;
  }

  .community-card-icon {
    justify-content: flex-start;
  }

  .community-card-icon > span {
    width: 22px;
    height: 22px;
    background: transparent;
    border-radius: 0;
  }

  .community-card-icon svg {
    width: 20px;
    height: 20px;
  }

  .community-editorial h2 {
    margin-bottom: 4px;
    font-size: 17px;
    line-height: 1.12;
    letter-spacing: -.03em;
  }

  .community-editorial p {
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 1.3;
  }

  .community-editorial .community-button {
    min-height: 32px;
    padding: 0 11px;
    gap: 8px;
    border-width: 1.5px;
    font-size: 12px;
  }

  .community-button > .button-chevron {
    width: 7px;
    height: 12px;
  }

  .community-actions {
    gap: 6px;
  }

  .community-editorial .community-message {
    flex: 0 1 auto;
    width: fit-content;
    max-width: 100%;
    min-height: 33px;
    gap: 7px;
    padding: 0 10px;
    font-size: 12px;
  }

  .community-message .message-brand {
    width: auto;
    min-width: 0;
    padding-right: 0;
  }

  .message-brand svg {
    width: 19px;
    height: 19px;
  }

  .message-brand-ebay {
    font-size: 15px;
  }

  .instagram-panel.instagram-editorial {
    padding-top: 1px;
    padding-bottom: 9px;
  }

  .instagram-editorial .instagram-banner.instagram-banner-editorial {
    border-radius: 0;
  }
}

@media (max-width: 359px) {
  .community-card {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 8px;
    padding: 9px 10px;
  }

  .community-editorial h2 { font-size: 16px; }
  .community-editorial p { font-size: 11.5px; }
  .community-message .message-brand {
    width: auto;
    min-width: 0;
    padding-right: 0;
  }
}

/* Keep the original labels legible and prevent any contact-button overflow. */
.community-editorial .community-message .message-label {overflow-wrap:normal;}
@media (max-width:760px) {
  .community-editorial .community-message .message-label {font-size:12px; line-height:1.15;}
  .community-editorial .community-button {white-space:normal;}
  .community-editorial .community-button > span:not(.message-label):not(.message-brand):not(.sr-only) {white-space:nowrap;}
}

/* v81: moderate spacing between the final product and About section. */
#shop.catalogue { padding-bottom: 36px; }

/* v80: boost the four trust-strip headings by roughly two type steps and
   the supporting text by one, without modifying the copy or icon geometry. */
.trust-strip .trust-item strong { font-size: 16px; line-height: 1.35; }
.trust-strip .trust-item span { font-size: 13px; line-height: 1.45; }

@media (min-width: 641px) and (max-width: 1000px) {
  .trust-strip .trust-item strong { font-size: 15px; }
  .trust-strip .trust-item span { font-size: 12px; }
}

@media (max-width: 640px) {
  #shop.catalogue { padding-bottom: 26px; }
  .trust-strip .trust-item strong { font-size: 12.5px; line-height: 1.3; }
  .trust-strip .trust-item span { font-size: 10.5px; line-height: 1.35; }
}


/* v83: white Instagram banner artwork file and image-friendly rendering */
.instagram-editorial .instagram-banner.instagram-banner-editorial {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

.instagram-panel .instagram-banner-editorial > .instagram-banner-artwork {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1181 / 330;
  object-fit: cover;
}


/* v86: an outer rounded bubble groups the three inner cards without changing them. */
.community-panel.community-editorial.wrap {
  width: calc(100% - 48px);
  max-width: 1392px;
  box-sizing: border-box;
  padding: 18px;
  gap: 18px;
  border: 1.25px solid #dcdcdc;
  border-radius: 30px;
  background: #faf9f6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .035);
}

@media (min-width: 761px) and (max-width: 1180px) {
  .community-panel.community-editorial.wrap {
    width: calc(100% - 56px);
  }
}

@media (max-width: 760px) {
  .community-panel.community-editorial.wrap {
    width: calc(100% - 36px);
    padding: 12px;
    gap: 15px;
    border-radius: 25px;
  }
}

@media (max-width: 359px) {
  .community-panel.community-editorial.wrap {
    width: calc(100% - 36px);
    padding: 9px;
    gap: 12px;
    border-radius: 22px;
  }
}


/* v88: combined three-section card; match Instagram banner width at each breakpoint. */
.community-panel.community-editorial.wrap {
  width: calc(100% - 48px);
  max-width: 1392px;
  box-sizing: border-box;
  padding: 8px 12px;
  gap: 0;
  border: 1.25px solid #d8d8d8;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 2px 9px rgba(0,0,0,.05);
}

.community-panel.community-editorial.wrap .community-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 18px 14px;
}

.community-panel.community-editorial.wrap .community-card + .community-card {
  border-top: 1px solid #e7e7e7;
}

@media (min-width: 761px) and (max-width: 1180px) {
  .community-panel.community-editorial.wrap {
    width: calc(100% - 56px);
  }
}

@media (max-width: 760px) {
  .community-panel.community-editorial.wrap {
    width: calc(100% - 36px);
    padding: 8px 10px;
    gap: 0;
    border-radius: 0;
  }

  .community-panel.community-editorial.wrap .community-card {
    padding: 14px 8px;
  }
}

@media (max-width: 359px) {
  .community-panel.community-editorial.wrap {
    width: calc(100% - 36px);
    padding: 7px 8px;
    border-radius: 22px;
  }

  .community-panel.community-editorial.wrap .community-card {
    padding: 12px 6px;
  }
}


/* v89 — align each card icon with the heading, not the centre of its card.
   Increase the space between the two contact actions only. */
.community-panel.community-editorial .community-card {
  align-items: start;
}
.community-panel.community-editorial .community-card-icon {
  align-self: start;
  min-height: 0;
  align-items: flex-start;
  justify-content: center;
}
.community-panel.community-editorial .community-card-icon > span {
  width: 42px;
  height: 42px;
  background: transparent;
}
.community-panel.community-editorial .community-actions {
  gap: 14px;
}
@media (max-width: 1180px) {
  .community-panel.community-editorial .community-card-icon > span {
    width: 36px;
    height: 36px;
  }
}
@media (max-width: 760px) {
  .community-panel.community-editorial .community-card-icon > span {
    width: 22px;
    height: 22px;
  }
  .community-panel.community-editorial .community-actions {
    gap: 12px;
  }
}
@media (max-width: 359px) {
  .community-panel.community-editorial .community-card-icon > span {
    width: 20px;
    height: 20px;
  }
}


/* v90 — add a bit more vertical breathing room between headings, body copy, and buttons. */
.community-panel.community-editorial h2 {
  margin-bottom: 10px;
}

.community-panel.community-editorial p {
  margin-bottom: 16px;
  line-height: 1.42;
}

.community-panel.community-editorial .community-button,
.community-panel.community-editorial .community-actions {
  margin-top: 2px;
}

@media (max-width: 1180px) {
  .community-panel.community-editorial h2 {
    margin-bottom: 9px;
  }

  .community-panel.community-editorial p {
    margin-bottom: 14px;
  }
}

@media (max-width: 760px) {
  .community-panel.community-editorial h2 {
    margin-bottom: 6px;
  }

  .community-panel.community-editorial p {
    margin-bottom: 10px;
    line-height: 1.38;
  }

  .community-panel.community-editorial .community-button,
  .community-panel.community-editorial .community-actions {
    margin-top: 1px;
  }
}

@media (max-width: 359px) {
  .community-panel.community-editorial p {
    margin-bottom: 9px;
  }
}
