/* WordPress-specific compatibility and editable offer cards. */
body.admin-bar .site-header {
  top: 32px;
}

body.admin-bar .language-switcher {
  top: calc(1rem + 32px);
}

.wp-site-blocks,
.entry-content {
  margin: 0;
}

.language-switcher-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.social-button svg,
.round-whatsapp svg,
.contact-tile svg,
.address-block > svg,
.website-link svg {
  display: block;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1.25rem, 3vw, 2.25rem);
  margin-top: clamp(2rem, 5vw, 4rem);
}

.offer-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(169, 126, 83, 0.25);
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 24px 70px rgba(79, 57, 47, 0.12);
  backdrop-filter: blur(18px);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.offer-card:hover,
.offer-card:focus-within {
  transform: translateY(-7px);
  border-color: rgba(190, 143, 68, 0.58);
  box-shadow: 0 34px 90px rgba(79, 57, 47, 0.18);
}

.offer-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eadfd5;
}

.offer-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.2,.8,.2,1);
}

.offer-card:hover .offer-card-image img {
  transform: scale(1.035);
}

.offer-card-copy {
  padding: clamp(1.35rem, 3vw, 2rem);
}

.offer-card-copy h2 {
  margin: .35rem 0 .75rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.04;
}

.offer-card-copy p {
  margin: 0 0 1.15rem;
}

.offer-card-copy .text-link {
  display: inline-flex;
}

.sba-editor-content {
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.75;
}

.sba-editor-content > *:first-child {
  margin-top: 0;
}

.sba-editor-content > *:last-child {
  margin-bottom: 0;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  top: 1rem;
  left: 1rem;
  z-index: 100000;
  width: auto;
  height: auto;
  padding: .75rem 1rem;
  clip: auto;
  background: #fff;
  color: #111;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  body.admin-bar .language-switcher {
    top: calc(.65rem + 46px);
  }
}

@media (max-width: 600px) {
  body.admin-bar.scrolled .site-header,
  body.admin-bar .site-header {
    top: 0;
  }

  body.admin-bar .language-switcher {
    top: .65rem;
  }
}
