/* SAFARO_MAG_CARD_PARITY_20261110 — article destination cards match the homepage card
   (DestinationsGrid) pixel-for-pixel: 270x370 shell, 10px inset white footer, 17.28px
   title, origin chips for istanbul/van, three-line price column and slate CTA.
   Scoped to .safaro-mag-protected, so the homepage is never affected. */

/* Same horizontal rail as the front grid: 14/16px gap, 8px 2px padding, 257/335px row. */
html:root body #root .safaro-mag-protected .safaro-native-article-cards {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 16px !important;
  min-height: 335px !important;
  padding: 8px 2px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: none !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none !important;
}
html:root body #root .safaro-mag-protected .safaro-native-article-cards::-webkit-scrollbar {
  display: none !important;
}
html:root body #root .safaro-mag-protected .safaro-native-article-cards > div {
  scroll-snap-align: start !important;
}

html:root body #root .safaro-mag-protected .safaro-svg-hover-card.safaro-svg-hover-card {
  width: 270px !important;
  min-width: 270px !important;
  max-width: 270px !important;
  height: 370px !important;
  min-height: 370px !important;
  max-height: 370px !important;
  border-radius: 28px !important;
  background-color: #fff !important;
  border-color: rgba(220, 230, 239, .9) !important;
  box-shadow: 0 8px 24px rgba(24, 34, 69, .12), inset 0 1px 0 rgba(255, 255, 255, .12) !important;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), box-shadow .45s !important;
}
/* front DestinationsGrid hover motion (measured 2026-11-10) */
html:root body #root .safaro-mag-protected .safaro-svg-hover-card.safaro-svg-hover-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 22px 48px rgba(36, 78, 118, .18), 0 6px 18px rgba(255, 183, 28, .07) !important;
}
html:root body #root .safaro-mag-protected .safaro-svg-hover-card img.safaro-mag-body-img {
  transition: transform .8s cubic-bezier(.22, 1, .36, 1), filter .45s !important;
}
html:root body #root .safaro-mag-protected .safaro-svg-hover-card:hover img.safaro-mag-body-img {
  transform: scale(1.03) !important;
}
html:root body #root .safaro-mag-protected .safaro-native-actual-card.safaro-native-actual-card,
html:root body #root .safaro-mag-protected .safaro-native-article-cards > div.safaro-native-actual-card {
  width: 270px !important;
  min-width: 270px !important;
  max-width: 270px !important;
  height: 370px !important;
  min-height: 370px !important;
  max-height: 370px !important;
  flex: 0 0 270px !important;
}
html:root body #root .safaro-mag-protected .safaro-svg-hover-card > div.bg-white {
  margin: 10px !important;
  padding: 10px !important;
  border-radius: 20px !important;
  border-color: rgba(241, 245, 249, .9) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18) !important;
  transition: transform .42s cubic-bezier(.22, 1, .36, 1), box-shadow .42s cubic-bezier(.22, 1, .36, 1) !important;
}
html:root body #root .safaro-mag-protected .safaro-svg-hover-card:hover > div.bg-white {
  transform: translateY(-3px) !important;
  box-shadow: 0 13px 30px rgba(24, 34, 69, .2), inset 0 2px 0 rgba(255, 255, 255, .5) !important;
}
html:root body #root .safaro-mag-protected .safaro-svg-hover-card > div.bg-white > h4 {
  font-size: 17.28px !important;
  line-height: 28px !important;
  padding: 0 !important;
}
html:root body #root .safaro-mag-protected .safaro-svg-hover-card > div.bg-white > div.h-px {
  margin: 8px 0 !important;
  background-color: #f1f5f9 !important;
}
html:root body #root .safaro-mag-protected .safaro-svg-hover-card [data-mag-origin-row][data-mag-origin-row] {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  margin: 0 0 6px !important;
  text-align: right !important;
}
html:root body #root .safaro-mag-protected .safaro-svg-hover-card [data-mag-origin-label] {
  flex-shrink: 0 !important;
  font-size: 11.5px !important;
  font-weight: 900 !important;
  color: #94a3b8 !important;
  line-height: 1.5 !important;
}
html:root body #root .safaro-mag-protected .safaro-svg-hover-card [data-mag-origin-strip][data-mag-origin-strip] {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 4px !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none !important;
}
html:root body #root .safaro-mag-protected .safaro-svg-hover-card [data-mag-origin-strip]::-webkit-scrollbar {
  display: none !important;
}
html:root body #root .safaro-mag-protected .safaro-svg-hover-card [data-mag-origin-row] button {
  flex-shrink: 0 !important;
  padding: 4px 8px !important;
  border-radius: 8px !important;
  border: 1px solid #e2e8f0 !important;
  background: #fff !important;
  color: #182245 !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  box-shadow: none !important;
}
html:root body #root .safaro-mag-protected .safaro-svg-hover-card [data-mag-origin-row] button.is-selected {
  background: #ffb71c !important;
  color: #182245 !important;
  border-color: #ffb71c !important;
}
html:root body #root .safaro-mag-protected .safaro-svg-hover-card [data-mag-origin-stay] {
  flex-shrink: 0 !important;
  max-width: 42% !important;
  margin-top: 4px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
html:root body #root .safaro-mag-protected .safaro-svg-hover-card [data-mag-price-row][data-mag-price-row] {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 8px !important;
  text-align: right !important;
  min-width: 0 !important;
}
html:root body #root .safaro-mag-protected .safaro-svg-hover-card [data-mag-price-col][data-mag-price-col] {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 0% !important;
  min-width: 0 !important;
  width: auto !important;
  justify-content: flex-end !important;
  overflow: hidden !important;
}
html:root body #root .safaro-mag-protected .safaro-svg-hover-card [data-mag-price-label] {
  display: block !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  color: #94a3b8 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
html:root body #root .safaro-mag-protected .safaro-svg-hover-card [data-mag-price-amount] {
  display: block !important;
  max-width: 100% !important;
  margin-top: 4px !important;
  font-size: 13.28px !important;
  font-weight: 900 !important;
  color: #182245 !important;
  line-height: 20px !important;
  letter-spacing: -.025em !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
html:root body #root .safaro-mag-protected .safaro-svg-hover-card [data-mag-price-usd] {
  display: block !important;
  max-width: 100% !important;
  margin-top: 2px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #f59e0b !important;
  line-height: 1.25 !important;
  letter-spacing: -.025em !important;
  white-space: nowrap !important;
}
html:root body #root .safaro-mag-protected .safaro-svg-hover-card > div.bg-white button.group\/tourbtn,
html:root body #root .safaro-mag-protected .safaro-svg-hover-card > div.bg-white div[data-mag-price-row] > button {
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  background-color: #e2e8f0 !important;
  color: #475569 !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05) !important;
  transition: .15s cubic-bezier(.4, 0, .2, 1) !important;
}
html:root body #root .safaro-mag-protected .safaro-svg-hover-card:hover > div.bg-white button.group\/tourbtn,
html:root body #root .safaro-mag-protected .safaro-svg-hover-card:hover > div.bg-white div[data-mag-price-row] > button {
  background-color: #ffb71c !important;
  color: #182245 !important;
  box-shadow: 0 5px 15px rgba(255, 183, 28, .3) !important;
}
html:root body #root .safaro-mag-protected .safaro-svg-hover-card > div.bg-white button.group\/tourbtn svg,
html:root body #root .safaro-mag-protected .safaro-svg-hover-card > div.bg-white div[data-mag-price-row] > button svg {
  flex-shrink: 0 !important;
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  color: #64748b !important;
  transition: transform .15s cubic-bezier(.4, 0, .2, 1), color .15s cubic-bezier(.4, 0, .2, 1) !important;
}
html:root body #root .safaro-mag-protected .safaro-svg-hover-card:hover > div.bg-white button.group\/tourbtn svg,
html:root body #root .safaro-mag-protected .safaro-svg-hover-card:hover > div.bg-white div[data-mag-price-row] > button svg {
  color: #182245 !important;
  transform: translateX(-4px) !important;
}

@media (max-width: 639.98px) {
  html:root body #root .safaro-mag-protected .safaro-native-article-cards {
    gap: 14px !important;
    min-height: 257px !important;
    padding: 8px 2px !important;
  }
  html:root body #root .safaro-mag-protected .safaro-svg-hover-card [data-mag-origin-row][data-mag-origin-row] {
    margin: 0 0 4px !important;
  }
  html:root body #root .safaro-mag-protected .safaro-svg-hover-card.safaro-svg-hover-card {
    width: 240px !important;
    min-width: 240px !important;
    max-width: 240px !important;
    height: 274px !important;
    min-height: 274px !important;
    max-height: 274px !important;
  }
  html:root body #root .safaro-mag-protected .safaro-native-actual-card.safaro-native-actual-card,
  html:root body #root .safaro-mag-protected .safaro-native-article-cards > div.safaro-native-actual-card {
    width: 240px !important;
    min-width: 240px !important;
    max-width: 240px !important;
    height: 274px !important;
    min-height: 274px !important;
    max-height: 274px !important;
    flex: 0 0 240px !important;
  }
  html:root body #root .safaro-mag-protected .safaro-svg-hover-card > div.bg-white {
    margin: 8px !important;
    padding: 8px !important;
    border-radius: 18px !important;
  }
  html:root body #root .safaro-mag-protected .safaro-svg-hover-card > div.bg-white > h4 {
    font-size: 16.64px !important;
    line-height: 20.8px !important;
  }
  html:root body #root .safaro-mag-protected .safaro-svg-hover-card > div.bg-white > div.h-px {
    margin: 6px 0 !important;
  }
  html:root body #root .safaro-mag-protected .safaro-svg-hover-card [data-mag-origin-label],
  html:root body #root .safaro-mag-protected .safaro-svg-hover-card [data-mag-origin-row] button {
    font-size: 11px !important;
  }
  html:root body #root .safaro-mag-protected .safaro-svg-hover-card [data-mag-price-row][data-mag-price-row] {
    gap: 6px !important;
  }
  html:root body #root .safaro-mag-protected .safaro-svg-hover-card [data-mag-price-label] {
    font-size: 11px !important;
    line-height: 13.75px !important;
  }
  html:root body #root .safaro-mag-protected .safaro-svg-hover-card [data-mag-price-amount] {
    font-size: 12.64px !important;
    line-height: 15.8px !important;
  }
  html:root body #root .safaro-mag-protected .safaro-svg-hover-card [data-mag-price-usd] {
    font-size: 11px !important;
    line-height: 13.75px !important;
  }
  html:root body #root .safaro-mag-protected .safaro-svg-hover-card > div.bg-white button.group\/tourbtn,
  html:root body #root .safaro-mag-protected .safaro-svg-hover-card > div.bg-white > div[data-mag-price-row] > button {
    padding: 8px 10px !important;
    font-size: 11px !important;
    gap: 6px !important;
  }
}

/* Hotel cards inside article bodies (44682): same hover motion as front cards. */
html:root body #root .safaro-mag-protected .safaro-hotel-cards .shc-card {
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), box-shadow .45s !important;
}
html:root body #root .safaro-mag-protected .safaro-hotel-cards .shc-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 22px 48px rgba(36, 78, 118, .18), 0 6px 18px rgba(255, 183, 28, .07) !important;
}
html:root body #root .safaro-mag-protected .safaro-hotel-cards .shc-media img {
  transition: transform .8s cubic-bezier(.22, 1, .36, 1), filter .45s !important;
}
html:root body #root .safaro-mag-protected .safaro-hotel-cards .shc-card:hover .shc-media img {
  transform: scale(1.03) !important;
}
html:root body #root .safaro-mag-protected .safaro-hotel-cards .shc-cta {
  transition: .15s cubic-bezier(.4, 0, .2, 1) !important;
}
html:root body #root .safaro-mag-protected .safaro-hotel-cards .shc-card:hover .shc-cta {
  background-color: #ffb71c !important;
  color: #182245 !important;
  box-shadow: 0 5px 15px rgba(255, 183, 28, .3) !important;
}
/* 2026-11-16 — live destination price (data-live-price) stays fully readable inside the
   article destination card on both breakpoints; wraps to a second line only when needed. */
html:root body #root .safaro-mag-protected .safaro-svg-hover-card span[data-live-price],
.safaro-article-body [data-reused-card] span[data-live-price] {
  display: block !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  font-size: 12.5px !important;
  font-weight: 900 !important;
  letter-spacing: -.02em !important;
  line-height: 1.35 !important;
}
@media (max-width: 639.98px) {
  html:root body #root .safaro-mag-protected .safaro-svg-hover-card span[data-live-price],
  .safaro-article-body [data-reused-card] span[data-live-price] {
    font-size: 11.5px !important;
    line-height: 1.35 !important;
  }
}
/* Same guard for the pre-hydration SSR body (seo-head #seo-ssr). */
#seo-ssr span[data-live-price],
.safaro-mag-ssr-body span[data-live-price] {
  display: block !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  font-size: 12.5px !important;
  font-weight: 900 !important;
  letter-spacing: -.02em !important;
  line-height: 1.35 !important;
}
@media (max-width: 639.98px) {
  #seo-ssr span[data-live-price],
  .safaro-mag-ssr-body span[data-live-price] {
    font-size: 11.5px !important;
    line-height: 1.35 !important;
  }
}
