/* Offer cards on country and place pages (tools/providers/index.mjs). Loaded after arrival.css. */
.offer-grid:has(.offer-cards) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.offer-grid .offer:has(.offer-cards) { grid-column: 1 / -1; }
.offer-grid .offer h3 { margin-bottom: .5rem; }

.offer-links { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.offer-grid .offer-links a { display: inline-flex; align-items: center; min-height: 44px; margin: 0; font-weight: 600; }

.offer-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; margin: 8px 0 16px; padding: 0; list-style: none; }
.offer-grid a.offer-card { display: flex; flex-direction: column; gap: 8px; height: 100%; margin: 0; color: var(--ink); }
.offer-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; background: var(--bg-2); }
.offer-name { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font: 600 1rem/1.35 var(--body); }
.offer-price { color: var(--muted); font-size: .92rem; }
.offer-go { display: inline-flex; align-items: center; width: fit-content; min-height: 36px; margin-top: auto; padding: 0 12px; border: 1px solid var(--line); border-radius: .55rem; color: var(--warm); font: 600 .88rem/1.2 var(--body); transition: background-color 150ms ease-out, border-color 150ms ease-out; }
.offer-card:hover .offer-go { border-color: var(--warm); background: var(--accent-soft); }
.offer-grid a:hover { text-decoration: none; }

.offer-grid .offer-note { margin: 12px 0 0; color: var(--muted); font-size: .86rem; }

@media (max-width: 1000px) {
  .offer-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 730px) {
  .offer-grid:has(.offer-cards) { grid-template-columns: 1fr; }
  .offer-cards { grid-template-columns: 1fr; gap: 16px; }
  .offer-grid a.offer-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-auto-rows: min-content; column-gap: 12px; row-gap: 4px; align-items: start; }
  .offer-grid a.offer-card:not(:has(img)) { display: flex; }
  .offer-card img { grid-row: 1 / span 3; border-radius: 8px; }
  .offer-go { margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .offer-go { transition: none; }
}
