/* Targeted visual-hierarchy fixes from the 2026-08-24 design audit. */
.inner-page #offers-grid.offers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.inner-page #offers-grid > .offer-card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); }
.inner-page #offers-grid > .offer-card:first-child > picture,
.inner-page #offers-grid > .offer-card:first-child > img { min-height: 100%; }
.inner-page #offers-grid > .offer-card:first-child img { height: 100%; aspect-ratio: auto; object-fit: cover; }

.guide-library__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.guide-library-card { grid-column: span 4; }
.guide-library__group:first-child .guide-library-card:first-child {
  grid-column: span 8;
  min-height: 100%;
  padding: clamp(30px, 4vw, 52px);
  background: var(--navy, #293649);
  color: #fff;
}
.guide-library__group:first-child .guide-library-card:first-child p,
.guide-library__group:first-child .guide-library-card:first-child .guide-library-card__meta { color: rgba(255, 255, 255, .72); }
.guide-library__group:first-child .guide-library-card:first-child .guide-library-card__link { color: #fff; }
.guide-library-card__link { display: inline-flex; align-items: center; gap: 8px; }
.guide-library-card__link::after {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.contacts-home__links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.contacts-home__links .btn {
  min-width: 0;
  justify-content: flex-start;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.contacts-home__links .btn:nth-child(-n + 2) { grid-column: span 2; min-height: 60px; color: var(--navy); font-size: 14px; }
.contacts-home__links .btn--cta { grid-column: 1 / -1; justify-content: center; margin-top: 14px; border-radius: 999px; background: var(--navy); color: #fff; }
.contact-channels { display: none; }

@media (max-width: 768px) {
  .cookie-consent { padding: 6px 12px calc(6px + env(safe-area-inset-bottom, 0px)); }
  .cookie-consent__inner { min-height: 32px; gap: 8px; }
  .cookie-consent__text { font-size: 10px; line-height: 1.25; white-space: normal; }
  .cookie-consent__btn { min-height: 30px; padding-inline: 12px; }
}
@media (max-width: 900px) {
  .inner-page #offers-grid.offers__grid,
  .inner-page #offers-grid > .offer-card:first-child { grid-template-columns: 1fr; }
  .inner-page #offers-grid > .offer-card:first-child { grid-column: auto; display: block; }
  .guide-library-card,
  .guide-library__group:first-child .guide-library-card:first-child { grid-column: 1 / -1; }
  .contacts-home__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .contacts-home__links .btn,
  .contacts-home__links .btn:nth-child(-n + 2) { grid-column: 1 / -1; }
}
