﻿/* from OdFromCityLinks.module.css */
[data-tp="od-links"] {
.section {
  padding: 60px 0;
  background: #ededed;
}

.sectionHighlight {
  position: relative;
  background:
    radial-gradient(1200px 420px at 10% -10%, rgba(229, 57, 53, 0.12), transparent 55%),
    radial-gradient(900px 380px at 90% 0%, rgba(15, 23, 42, 0.08), transparent 50%),
    linear-gradient(180deg, #f6f1ea 0%, #ededed 48%, #e8e8e8 100%);
  border-block: 1px solid rgba(15, 23, 42, 0.06);
}

.thumbGrid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.thumbCard {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.thumbCard:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.09);
}

.thumbMedia {
  display: block;
  aspect-ratio: 3 / 4;
  min-height: 200px;
  background: #e2e8f0;
  overflow: hidden;
  position: relative;
}

.thumbMedia img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumbFallback {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e2e8f0, #f8fafc);
}

.thumbBody {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 0.9rem 1rem;
  flex: 1;
}

.thumbCardOverlay .thumbBody {
  display: none;
}

.thumbOverlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.55rem;
  padding: 1rem 0.9rem 1.05rem;
  background: linear-gradient(
    180deg,
    transparent 28%,
    rgba(15, 23, 42, 0.55) 68%,
    rgba(15, 23, 42, 0.88) 100%
  );
  z-index: 1;
}

.thumbName {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.35;
  color: #0f172a;
}

.thumbOverlay .thumbName {
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.thumbSub {
  font-size: 0.78rem;
  color: #64748b;
}

.thumbCta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 8px;
  background: #0f172a;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.thumbOverlay .thumbCta {
  margin-top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
}

.thumbCard:hover .thumbCta {
  background: var(--tp-brand, #e53935);
}

.thumbCardOverlay:hover .thumbOverlay .thumbCta {
  background: var(--tp-brand, #e53935);
  color: #fff;
}

.hubRow {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
}

.hubChip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #0f172a;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.hubChip:hover {
  border-color: color-mix(in srgb, var(--tp-brand, #e53935) 35%, #e2e8f0);
  color: var(--tp-brand, #e53935);
}

@media (max-width: 1199px) {
  .thumbGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .thumbGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.head {
  text-align: center;
  margin-bottom: 28px;
}

.kicker {
  color: var(--tp-brand, #e53935);
  font-size: var(--tp-section-kicker-fs, 0.75rem);
  font-weight: var(--tp-section-kicker-weight, 800);
  letter-spacing: var(--tp-section-kicker-tracking, 0.16em);
  text-transform: uppercase;
  margin: 0 0 8px;
}

.title {
  margin: 0;
  font-size: var(--tp-section-title-fs, clamp(1.35rem, 2.9vw, 1.95rem));
  font-weight: var(--tp-section-title-weight, 500);
  line-height: var(--tp-section-title-lh, 1.15);
  color: #0f172a;
}

.lede {
  margin: 0.75rem auto 0;
  max-width: 640px;
  font-size: 14px;
  line-height: 1.65;
  color: #475569;
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}

.link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.link:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--tp-brand, #e53935) 30%, #e2e8f0);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.07);
}

.arrow {
  color: var(--tp-brand, #e53935);
  font-weight: 700;
}

/* Compact variant inside destination / OD pages */
.wrap {
  margin: 1.5rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.wrap .title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
}

.wrap .list {
  display: flex;
  flex-wrap: wrap;
  grid-template-columns: none;
  gap: 0.5rem 0.65rem;
}

.wrap .link {
  min-height: 0;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  background: #f8fafc;
}

@media (max-width: 640px) {
  .section {
    padding: 48px 0;
  }
}

}
