/* ========== VISA LISTING ========== */
.page-visa .page-hero {
  padding: 28px 0 12px;
}

.page-visa .section-tag {
  margin-bottom: 8px;
}

.page-visa .page-hero-title {
  margin-bottom: 6px;
}

.page-visa .page-hero-subtitle {
  margin-bottom: 0;
}

.page-hotels-rental .page-hero-title,
.page-hotels-stay .page-hero-title {
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.5;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.page-visa .visa-content {
  padding-top: 8px;
  padding-bottom: 40px;
  background: linear-gradient(180deg, transparent 0%, rgba(224, 242, 254, 0.35) 45%, transparent 100%);
}

.visa-intro {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  text-align: center;
  color: var(--text-muted);
  line-height: 1.85;
  font-size: 0.98rem;
}

.visa-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
}

.visa-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.visa-filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.visa-filter-btn:hover,
.visa-filter-btn.active {
  background: linear-gradient(135deg, rgba(30, 86, 160, 0.1), rgba(14, 165, 233, 0.12));
  border-color: rgba(30, 86, 160, 0.35);
  color: var(--primary);
  transform: translateY(-1px);
}

.visa-search {
  position: relative;
  flex: 1 1 240px;
  max-width: 300px;
  margin-right: auto;
}

.visa-search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  display: flex;
}

.visa-search input {
  width: 100%;
  padding: 10px 42px 10px 16px;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.9rem;
  background: #fff;
  transition: var(--transition);
}

.visa-search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 86, 160, 0.12);
}

.visa-results-count {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.visa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.35rem;
}

.visa-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.visa-card:hover {
  transform: translateY(-6px);
  border-color: rgba(30, 86, 160, 0.28);
  box-shadow: 0 18px 40px rgba(30, 86, 160, 0.12);
}

.visa-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
}

.visa-card-media .tour-flag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  line-height: 0;
}

.visa-card-media .tour-flag-img {
  width: 36px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.95);
}

.visa-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.visa-card-image--fallback {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.55), transparent 50%),
    linear-gradient(135deg, #1e56a0 0%, #0ea5e9 100%);
}

.visa-card:hover .visa-card-image {
  transform: scale(1.06);
}

.visa-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.72) 100%);
  pointer-events: none;
}

.visa-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.visa-card-title {
  position: absolute;
  right: 16px;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.visa-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px 16px;
}

.visa-card-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.visa-card-chip svg {
  flex-shrink: 0;
  color: var(--primary);
}

.visa-card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(59, 130, 246, 0.18);
}

.visa-card-price-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.visa-card-price-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.visa-card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(30, 86, 160, 0.08);
  color: var(--primary);
  transition: var(--transition);
}

.visa-card:hover .visa-card-arrow {
  background: var(--primary);
  color: #fff;
  transform: translateX(-3px);
}

.hotel-destination-card {
  cursor: default;
}

.hotel-destination-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30, 86, 160, 0.2);
}

.hotel-card-gallery-btn {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
}

.hotel-card-gallery-btn .visa-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hotel-destination-card:hover .hotel-card-gallery-btn .visa-card-image {
  transform: scale(1.05);
}

.hotel-card-gallery-hint {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  opacity: 0;
  transform: scale(0.9);
  transition: var(--transition);
  pointer-events: none;
}

.hotel-destination-card:hover .hotel-card-gallery-hint {
  opacity: 1;
  transform: scale(1);
}

.hotel-card-title-link {
  color: inherit;
  text-decoration: none;
  position: relative;
  z-index: 2;
  display: inline-block;
}

.hotel-destination-card .visa-card-title {
  z-index: 2;
  pointer-events: none;
}

.hotel-destination-card .hotel-card-title-link {
  pointer-events: auto;
}

.hotel-card-title-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hotel-card-detail-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.hotel-card-detail-link:hover .visa-card-arrow {
  background: var(--primary);
  color: #fff;
  transform: translateX(-3px);
}

.visa-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1.5rem;
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}

.visa-empty p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Info / FAQ */
.visa-info-section {
  padding-top: 0;
  padding-bottom: 48px;
}

.visa-article {
  background: #fff;
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}

.visa-article h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.visa-article p {
  color: var(--text-muted);
  line-height: 1.9;
}

.visa-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.visa-type-card {
  padding: 1.15rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
  border: 1px solid rgba(59, 130, 246, 0.12);
  transition: var(--transition);
}

.visa-type-card:hover {
  border-color: rgba(30, 86, 160, 0.25);
  transform: translateY(-2px);
}

.visa-type-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 0.5rem;
}

.visa-type-card h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.visa-type-card p {
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.75;
}

.visa-faq details {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.65rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.visa-faq details[open] {
  border-color: rgba(30, 86, 160, 0.25);
  background: #fff;
}

.visa-faq summary {
  padding: 0.95rem 1.15rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-left: 2.25rem;
}

.visa-faq summary::before {
  content: '+';
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(30, 86, 160, 0.1);
  color: var(--primary);
  font-size: 1rem;
  line-height: 22px;
  text-align: center;
}

.visa-faq details[open] summary::before {
  content: '−';
}

.visa-faq summary::-webkit-details-marker {
  display: none;
}

.visa-faq details[open] summary {
  color: var(--primary);
  border-bottom: 1px solid var(--border);
}

.visa-faq details p {
  padding: 0.95rem 1.15rem;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.85;
  font-size: 0.92rem;
}

/* ========== VISA DETAIL ========== */
.page-visa-detail main {
  padding-bottom: 0;
}

.visa-detail-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
}

.visa-detail-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.visa-detail-banner {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.visa-detail-banner--fallback {
  background: linear-gradient(135deg, #1e3a5f 0%, #1e56a0 45%, #0ea5e9 100%);
}

.visa-detail-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.82) 100%);
}

.visa-detail-hero-inner {
  position: relative;
  z-index: 1;
  padding: 2rem 24px 2.25rem;
  color: #fff;
}

.visa-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.88rem;
  transition: opacity 0.2s ease;
}

.visa-back-link:hover {
  opacity: 0.85;
  color: #fff;
}

.visa-detail-tag {
  display: inline-block;
  padding: 5px 14px;
  margin-bottom: 0.65rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}

.visa-detail-hero-title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.visa-detail-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.visa-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
}

.visa-pill--price {
  background: rgba(14, 165, 233, 0.22);
  border-color: rgba(125, 211, 252, 0.45);
  font-weight: 600;
}

.visa-detail-body {
  padding: 2rem 0 4rem;
  background: linear-gradient(180deg, #f0f9ff 0%, #fff 120px);
}

.visa-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.5rem;
  align-items: start;
}

.visa-detail-main {
  background: #fff;
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.05);
}

.visa-detail-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-muted);
}

.page-visa-detail .visa-detail-content {
  color: var(--text-muted);
  line-height: 1.9;
}

.page-visa-detail .visa-detail-content > h2:first-child {
  margin-top: 0;
}

.page-visa-detail .visa-detail-content h2 {
  margin: 1.75rem 0 0.85rem;
  padding: 0.85rem 1rem;
  font-size: 1.15rem;
  color: var(--primary);
  background: linear-gradient(90deg, rgba(30, 86, 160, 0.08), transparent);
  border-right: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.page-visa-detail .visa-detail-content h2:first-child {
  margin-top: 0;
}

.page-visa-detail .visa-detail-content h3 {
  margin: 1.25rem 0 0.65rem;
  font-size: 1.02rem;
  color: var(--text);
}

.page-visa-detail .visa-detail-content p {
  margin-bottom: 0.85rem;
}

.page-visa-detail .visa-detail-content ul,
.page-visa-detail .visa-detail-content ol {
  margin: 0.75rem 0 1rem;
  padding-right: 1.35rem;
}

.page-visa-detail .visa-detail-content li {
  margin-bottom: 0.4rem;
}

.page-visa-detail .visa-detail-content a {
  color: var(--primary);
}

.page-visa-detail .visa-detail-content .visa-lead {
  font-size: 1.05rem;
  color: var(--text);
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, rgba(30, 86, 160, 0.06), rgba(59, 130, 246, 0.04));
  border: 1px solid rgba(59, 130, 246, 0.14);
  border-radius: var(--radius);
}

.page-visa-detail .visa-detail-content h4 {
  margin: 1rem 0 0.5rem;
  font-size: 0.98rem;
  color: var(--primary);
}

.page-visa-detail .visa-detail-content .visa-fee-block {
  margin: 0.85rem 0 1.1rem;
  padding: 0.85rem 1rem 0.35rem;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
}

.page-visa-detail .visa-detail-content .visa-fee-block h4 {
  margin-top: 0;
}

.page-visa-detail .visa-detail-content .visa-note {
  padding: 0.75rem 1rem;
  background: #fffbeb;
  border-right: 4px solid #f59e0b;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text);
}

.visa-side-card {
  position: sticky;
  top: 100px;
  background: #fff;
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
}

.visa-side-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}

.visa-side-title {
  font-size: 1.05rem;
  margin: 0 0 1rem;
  color: var(--primary);
}

.visa-side-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.visa-side-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.visa-side-list li:last-child {
  border-bottom: none;
}

.visa-side-list span {
  color: var(--text-muted);
}

.visa-side-list strong {
  color: var(--text);
  text-align: left;
}

.visa-side-cta {
  width: 100%;
  justify-content: center;
}

.visa-detail-mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
}

.visa-detail-mobile-cta .btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 960px) {
  .visa-detail-layout {
    grid-template-columns: 1fr;
  }

  .visa-side-card {
    position: static;
  }

  .visa-detail-aside {
    order: -1;
  }
}

@media (max-width: 640px) {
  .visa-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .visa-search {
    max-width: none;
    margin-right: 0;
  }

  .visa-filters {
    justify-content: center;
  }

  .visa-grid {
    grid-template-columns: 1fr;
  }

  .visa-detail-hero {
    min-height: 240px;
  }

  .visa-detail-mobile-cta {
    display: block;
  }

  .visa-detail-body {
    padding-bottom: 5.5rem;
  }

  .visa-side-card {
    display: none;
  }

  .visa-detail-aside {
    display: none;
  }
}

/* reused on /tours/?category=last_minute */
.page-tours-last-minute .visa-back-link {
  color: var(--primary);
}

.page-tours-last-minute .tour-last-minute-back {
  margin-bottom: 1.25rem;
}

.page-tours-last-minute .visa-card-image--fallback {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.55), transparent 50%),
    linear-gradient(135deg, #1e56a0 0%, #0ea5e9 100%);
}

.page-hotels-foreign .reveal,
.page-hotels-foreign .reveal-up,
.page-hotels-foreign .reveal-left,
.page-hotels-foreign .reveal-right {
  opacity: 1;
  transform: none;
  will-change: auto;
}

.hotels-foreign-toolbar {
  margin-bottom: 0.75rem;
}

.hotels-section-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 1.35rem;
}

.hotels-section-tabs__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 12rem;
  min-width: 0;
  min-height: 3rem;
  padding: 0.7rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #fff;
  color: var(--primary-dark, #0f172a);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.hotels-section-tabs__btn:hover:not(.is-active) {
  border-color: rgba(30, 86, 160, 0.28);
  background: #fbfdff;
  color: var(--primary-dark, #0f172a);
}

.hotels-section-tabs__btn.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #1a4f96 0%, #2b7fd4 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(30, 86, 160, 0.28);
}

.hotels-section-tabs__btn:focus-visible {
  outline: 2px solid rgba(30, 86, 160, 0.45);
  outline-offset: 2px;
}

.hotels-rental-empty {
  margin-top: 0.5rem;
}

.rental-filters-card {
  margin-bottom: 1.35rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.rental-filter-block + .rental-filter-block {
  margin-top: 1rem;
  padding-top: 0;
  border-top: 0;
}

.rental-filter-block__title {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text-muted);
}

.rental-segment {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.rental-segment__item {
  flex: 0 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.rental-segment__item:hover:not(.is-active) {
  color: var(--primary);
  background: transparent;
  border-color: transparent;
}

.rental-segment__item.is-active {
  border: 0;
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  box-shadow: none;
}

.rental-segment__item:focus-visible {
  outline: 2px solid rgba(30, 86, 160, 0.4);
  outline-offset: 2px;
  border-radius: 4px;
}

.rental-segment--deals {
  flex-wrap: wrap;
  overflow: visible;
}

.rental-segment--deals::-webkit-scrollbar {
  display: none;
}

.rental-segment--deals .rental-segment__item {
  flex: 0 1 auto;
  min-width: 0;
}

.rental-summary {
  margin-top: 0;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.95) 0%, rgba(219, 234, 254, 0.85) 100%);
  border: 1px solid rgba(147, 197, 253, 0.45);
  color: #1e56a0;
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 640px) {
  .hotels-section-tabs__btn {
    font-size: 0.8rem;
    padding-inline: 0.55rem;
    min-height: 2.65rem;
  }

  .rental-filters-card {
    padding: 0;
  }

  .rental-segment--types {
    display: flex;
    flex-wrap: wrap;
  }

  .rental-segment--types .rental-segment__item {
    white-space: nowrap;
    font-size: 0.88rem;
    min-height: auto;
  }
}

.hotels-country-tabs {
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.hotels-city-tabs {
  display: flex;
  gap: 6px;
  margin: 0 0 1.25rem;
  padding: 6px;
  border-radius: 16px;
  background: rgba(219, 234, 254, 0.75);
  border: 1px solid rgba(147, 197, 253, 0.28);
  box-shadow: inset 0 1px 2px rgba(30, 86, 160, 0.04);
}

.hotels-city-tabs__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  min-height: 3.35rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: #3b5f8a;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hotels-city-tabs__btn:hover:not(.is-active) {
  color: #1e56a0;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(147, 197, 253, 0.35);
}

.hotels-city-tabs__btn.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #1a4f96 0%, #2b7fd4 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(30, 86, 160, 0.28);
}

.hotels-city-tabs__btn:focus-visible {
  outline: 2px solid rgba(30, 86, 160, 0.45);
  outline-offset: 2px;
}

.hotels-photo-grid-heading {
  margin-top: 2rem;
  font-weight: 700;
  color: var(--primary-dark, #0f172a);
}

/* hotel photo detail — /hotels/foreign/photos/armenia/… */
.page-hotel-photo-detail .reveal {
  opacity: 1;
  transform: none;
}

.page-hotel-photo-detail .visa-side-card {
  display: block;
}

@media (max-width: 640px) {
  .page-hotel-photo-detail .visa-side-card.hotel-photo-side-card {
    display: block;
    margin-bottom: 0.5rem;
    padding: 1.1rem 1.15rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  }

  .page-hotel-photo-detail .visa-detail-aside.hotel-photo-aside {
    display: block;
    order: 2;
  }

  .page-hotel-photo-detail .visa-detail-main {
    order: 1;
  }

  .page-hotel-photo-detail .visa-detail-layout {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .page-hotel-photo-detail .visa-side-cta {
    display: none;
  }

  .page-hotel-photo-detail .hotel-photo-hero--compact {
    min-height: 0;
    padding: 1rem 0 0.75rem;
  }
}

.hotel-star-pill {
  letter-spacing: 0.05em;
}

.hotel-star-label {
  margin-right: 0.35rem;
  font-size: 0.85rem;
  letter-spacing: 0;
}

.hotel-photo-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
  color: var(--text, #1e293b);
}

.hotel-photo-hero--compact {
  min-height: 0;
  padding: 1.5rem 0 1.25rem;
}

.hotel-photo-hero-bg {
  background: linear-gradient(135deg, #1a4f94 0%, #1e7bb8 55%, #38bdf8 100%);
}

.hotel-photo-hero--compact .visa-detail-hero-inner {
  padding-top: 0;
  padding-bottom: 0;
}

.hotel-photo-hero--compact .visa-detail-hero-title {
  font-size: clamp(1.35rem, 4vw, 1.85rem);
}

.hotel-photo-hero--compact .visa-back-link {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0.75rem;
}

.hotel-photo-hero--compact .visa-detail-tag,
.hotel-photo-hero--compact .visa-pill {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.hotel-gallery-preview {
  margin-bottom: 1.5rem;
}

.hotel-gallery-preview .hotel-photo-section-title {
  margin-bottom: 0.75rem;
}

.hotel-gallery-card {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  text-align: inherit;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.07);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.hotel-gallery-card:hover {
  transform: translateY(-1px);
  border-color: rgba(30, 86, 160, 0.2);
  box-shadow: 0 10px 32px rgba(30, 86, 160, 0.12);
}

.hotel-gallery-card:active {
  transform: scale(0.995);
}

.hotel-gallery-card-media {
  display: block;
  overflow: hidden;
  background: #f1f5f9;
}

.hotel-gallery-preview-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.hotel-gallery-card:hover .hotel-gallery-preview-img {
  transform: scale(1.02);
}

.hotel-gallery-card-action {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.hotel-gallery-card-action-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: rgba(30, 86, 160, 0.08);
  color: #1e56a0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotel-gallery-card-action-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.hotel-gallery-card-action-text small {
  font-size: 0.78rem;
  font-weight: 500;
  color: #64748b;
}

.hotel-gallery-card-action-arrow {
  flex-shrink: 0;
  color: #94a3b8;
  display: flex;
  transition: transform 0.2s ease, color 0.2s ease;
}

.hotel-gallery-card:hover .hotel-gallery-card-action-arrow {
  color: #1e56a0;
  transform: translateX(-3px);
}

.hotel-photo-layout {
  margin-top: 0;
}

.hotel-photo-block {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 16px;
  padding: 1.15rem 1.2rem;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.hotel-photo-block + .hotel-photo-block {
  margin-top: 1rem;
}

.hotel-photo-amenities-block {
  border-color: rgba(30, 86, 160, 0.12);
  background: linear-gradient(135deg, rgba(30, 86, 160, 0.04) 0%, #fff 60%);
}

.hotel-photo-address {
  margin: 0 0 1rem;
  line-height: 1.8;
  color: #475569;
}

.hotel-map-widget {
  margin-top: 0.25rem;
}

.hotel-map-preview {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #e8edf3;
}

.hotel-map-preview-img,
.hotel-map-preview-fallback {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hotel-map-preview-fallback {
  background:
    linear-gradient(135deg, rgba(30, 86, 160, 0.08), rgba(14, 165, 233, 0.12)),
    repeating-linear-gradient(
      -45deg,
      rgba(148, 163, 184, 0.15),
      rgba(148, 163, 184, 0.15) 8px,
      rgba(226, 232, 240, 0.4) 8px,
      rgba(226, 232, 240, 0.4) 16px
    );
}

.hotel-map-preview-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  background: rgba(15, 23, 42, 0.18);
  padding: 1rem;
}

.hotel-map-preview-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  padding: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.hotel-map-preview-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: #f4511e;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(244, 81, 30, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hotel-map-preview-btn:hover {
  background: #e64a19;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(244, 81, 30, 0.42);
}

@media (max-width: 640px) {
  .hotel-map-preview-img,
  .hotel-map-preview-fallback {
    aspect-ratio: 16 / 10;
    max-height: 180px;
  }
}

.hotel-photo-list {
  margin: 0;
  padding-right: 1.25rem;
  color: #475569;
  line-height: 1.9;
}

.page-hotel-photo-detail .hotel-about-content {
  color: #334155;
  line-height: 1.9;
  font-size: 0.95rem;
}

.page-hotel-photo-detail .hotel-about-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 1.25rem 0 0.65rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(30, 86, 160, 0.12);
}

.page-hotel-photo-detail .hotel-about-content h3:first-child {
  margin-top: 0;
}

.page-hotel-photo-detail .hotel-about-content p.hotel-about-list-item,
.page-hotel-photo-detail .hotel-about-content li {
  position: relative;
  padding-right: 1.25rem;
  margin-bottom: 0.55em;
}

.page-hotel-photo-detail .hotel-about-content p.hotel-about-list-item::before,
.page-hotel-photo-detail .hotel-about-content li::before {
  content: "●";
  position: absolute;
  right: 0;
  top: 0.35em;
  font-size: 0.55em;
  color: #1e56a0;
  font-weight: 900;
  line-height: 1;
}

.page-hotel-photo-detail .hotel-about-content ul,
.page-hotel-photo-detail .hotel-about-content ol {
  list-style: none;
  padding-right: 0;
  margin: 0.5em 0;
}

.page-hotel-photo-detail .hotel-about-content p {
  margin-bottom: 0.75em;
}

.page-hotel-photo-detail .hotel-about-content strong {
  color: #0f172a;
}

.hotel-amenities-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hotel-amenity-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(30, 86, 160, 0.15);
  color: #1e40af;
  box-shadow: 0 1px 4px rgba(30, 86, 160, 0.06);
}

.hotel-amenity-chip i {
  flex-shrink: 0;
  width: 1rem;
  text-align: center;
  font-size: 0.82rem;
  color: #1e56a0;
  opacity: 0.9;
}

.hotel-photo-lightbox {
  border: none;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  background: transparent;
  overflow: hidden;
}

.hotel-photo-lightbox::backdrop {
  background: rgba(2, 6, 23, 0.94);
  backdrop-filter: blur(8px);
}

.hotel-photo-lightbox[open] {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

body.hotel-lightbox-open {
  overflow: hidden;
}

.hotel-lightbox-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100dvh;
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
  color: #f8fafc;
}

.hotel-lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: max(0.85rem, env(safe-area-inset-top)) 1rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.hotel-lightbox-header-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hotel-lightbox-title {
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hotel-lightbox-counter {
  font-size: 0.78rem;
  color: rgba(248, 250, 252, 0.65);
}

.hotel-lightbox-close {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.hotel-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hotel-lightbox-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem;
  min-height: 0;
}

.hotel-lightbox-frame {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-height: calc(100dvh - 9.5rem);
  padding: 0 0.25rem;
}

.hotel-lightbox-img {
  max-width: 100%;
  max-height: calc(100dvh - 9.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hotel-lightbox-img.is-changing {
  opacity: 0.55;
  transform: scale(0.985);
}

.hotel-lightbox-arrow {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hotel-lightbox-arrow:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.04);
}

.hotel-lightbox-arrow:disabled,
.hotel-lightbox-arrow.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.hotel-lightbox-footer {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem max(0.85rem, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.hotel-lightbox-foot-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.hotel-lightbox-foot-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.hotel-lightbox-foot-hint {
  font-size: 0.75rem;
  color: rgba(248, 250, 252, 0.5);
  text-align: center;
}

@media (max-width: 640px) {
  .hotel-lightbox-stage .hotel-lightbox-arrow {
    display: none;
  }

  .hotel-lightbox-footer {
    display: flex;
  }

  .hotel-lightbox-frame {
    max-height: calc(100dvh - 11rem);
  }

  .hotel-lightbox-img {
    max-height: calc(100dvh - 11rem);
    border-radius: 10px;
  }
}

@media (min-width: 768px) {
  .hotel-lightbox-shell {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 0;
  }

  .hotel-lightbox-header,
  .hotel-lightbox-stage {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hotel-lightbox-arrow {
    width: 3rem;
    height: 3rem;
  }
}

@media (max-width: 640px) {
  .hotel-gallery-preview-img {
    aspect-ratio: 2 / 1;
    max-height: 168px;
    height: auto;
  }

  .hotel-gallery-card-action {
    padding: 0.65rem 0.85rem;
    gap: 0.6rem;
  }

  .hotel-gallery-card-action-icon {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 10px;
  }

  .hotel-gallery-card-action-text {
    font-size: 0.86rem;
  }

  .hotel-gallery-preview {
    margin-bottom: 1.1rem;
  }
}

@media (min-width: 768px) {
  .hotel-gallery-preview-img {
    aspect-ratio: 21 / 9;
    max-height: 380px;
  }

  .hotel-photo-block {
    padding: 1.35rem 1.5rem;
  }
}

/* Yerevan hotel rates — /hotels/?section=foreign&tab=rates&country=armenia */
.yerevan-rates {
  margin-top: 0.5rem;
}

.yerevan-rates-guide {
  background: linear-gradient(135deg, rgba(30, 86, 160, 0.06) 0%, #fff 65%);
  border: 1px solid rgba(30, 86, 160, 0.14);
  border-radius: 16px;
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

/* Foreign hotel rates guide panel */
.foreign-rates-guide {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
  padding: 1.35rem 1.4rem 1.2rem;
  border-radius: 22px;
  border: 1px solid rgba(59, 130, 246, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 255, 0.92) 48%, rgba(239, 246, 255, 0.88) 100%);
  box-shadow:
    0 18px 50px rgba(37, 99, 235, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.foreign-rates-guide--fallback {
  padding-bottom: 1.35rem;
}

.foreign-rates-guide-glow {
  position: absolute;
  inset: -40% auto auto -15%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.16) 0%, transparent 68%);
  pointer-events: none;
}

.foreign-rates-guide-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
}

.foreign-rates-guide-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.7rem;
  margin-bottom: 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #1d4ed8;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.16);
}

.foreign-rates-guide-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.foreign-rates-guide-title i {
  width: 2rem;
  height: 2rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  box-shadow: 0 8px 18px rgba(59, 130, 246, 0.28);
}

.foreign-rates-guide-lead {
  margin: 0.45rem 0 0;
  max-width: 52ch;
  font-size: 0.88rem;
  line-height: 1.75;
  color: #64748b;
}

.foreign-rates-guide-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  border-radius: 14px;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.22);
}

.foreign-rates-guide-wa i {
  font-size: 1.1rem;
}

.foreign-rates-guide-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.foreign-rates-guide-stat {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.8rem 0.85rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.18);
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.foreign-rates-guide-stat:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.28);
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.1);
}

.foreign-rates-guide-stat-icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.foreign-rates-guide-stat-label {
  display: block;
  font-size: 0.72rem;
  color: #94a3b8;
  margin-bottom: 0.15rem;
}

.foreign-rates-guide-stat-value {
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.35;
}

.foreign-rates-guide-tips {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.foreign-rates-guide-tip {
  display: flex;
  gap: 0.75rem;
  padding: 0.9rem 0.95rem;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
  border: 1px solid rgba(226, 232, 240, 0.95);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.foreign-rates-guide-tip:hover {
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 8px 22px rgba(99, 102, 241, 0.08);
}

.foreign-rates-guide-tip-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  background: rgba(99, 102, 241, 0.08);
}

.foreign-rates-guide-tip-title {
  margin: 0 0 0.25rem;
  font-size: 0.86rem;
  font-weight: 800;
  color: #1e293b;
}

.foreign-rates-guide-tip-text {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.7;
  color: #64748b;
}

.foreign-rates-guide-details {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  border: 1px dashed rgba(59, 130, 246, 0.22);
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
}

.foreign-rates-guide-details-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: #1d4ed8;
  user-select: none;
}

.foreign-rates-guide-details-toggle::-webkit-details-marker {
  display: none;
}

.foreign-rates-guide-details-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
}

.foreign-rates-guide-details-chevron {
  display: inline-flex;
  transition: transform 0.25s ease;
}

.foreign-rates-guide-details[open] .foreign-rates-guide-details-chevron {
  transform: rotate(180deg);
}

.foreign-rates-guide-body {
  padding: 0 1rem 1rem;
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.9;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.foreign-rates-guide-details .foreign-rates-guide-body {
  padding-top: 0.85rem;
}

.foreign-rates-guide-body p {
  margin: 0 0 0.55rem;
}

.foreign-rates-guide-body a {
  color: #1d4ed8;
  font-weight: 600;
}

.yerevan-rates-guide-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #1e56a0;
}

.yerevan-rates-guide-title i {
  font-size: 1rem;
  opacity: 0.85;
}

.yerevan-rates-intro {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.9;
  max-height: none;
  overflow: visible;
  padding: 0;
}

.yerevan-rates-intro p {
  margin: 0 0 0.5rem;
}

.yerevan-rates-intro a {
  color: #1e56a0;
  font-weight: 600;
}

.yerevan-rates-filters {
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.yerevan-rates-group {
  margin-bottom: 2rem;
}

.yerevan-rates-group-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid rgba(30, 86, 160, 0.15);
}

.yerevan-rates-stars {
  color: #f59e0b;
  letter-spacing: 0.05em;
}

.yerevan-rates-group-count {
  font-size: 0.8rem;
  font-weight: 500;
  color: #64748b;
}

.yerevan-rates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.yerevan-rate-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.yerevan-rate-card:hover {
  border-color: rgba(30, 86, 160, 0.22);
  box-shadow: 0 10px 28px rgba(30, 86, 160, 0.12);
  transform: translateY(-2px);
}

.yerevan-rate-card-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e2e8f0;
  padding: 0;
  border: none;
  text-align: inherit;
  font: inherit;
}

button.yerevan-rate-card-media {
  cursor: zoom-in;
}

.yerevan-rate-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.yerevan-rate-card:hover .yerevan-rate-card-media img {
  transform: scale(1.04);
}

.yerevan-rate-card-stars {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 700;
}

.yerevan-rate-card-body {
  padding: 0.9rem 1rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.yerevan-rate-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.yerevan-rate-card-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e56a0;
  text-decoration: none;
  line-height: 1.4;
}

a.yerevan-rate-card-name:hover {
  color: #0ea5e9;
  text-decoration: underline;
}

.yerevan-rate-card-meta {
  margin: 0.3rem 0 0;
  font-size: 0.78rem;
  color: #64748b;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 0.4rem;
}

.yerevan-rate-card-meta i {
  color: #94a3b8;
  font-size: 0.72rem;
}

.yerevan-rate-pool {
  font-size: 0.85rem;
}

.yerevan-rate-card-photos {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #1e56a0;
  text-decoration: none;
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  background: rgba(30, 86, 160, 0.08);
  white-space: nowrap;
}

button.yerevan-rate-card-photos {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.yerevan-rate-card-photos:hover,
button.yerevan-rate-card-photos:hover {
  background: rgba(30, 86, 160, 0.15);
}

.yerevan-rate-prices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
  margin-top: auto;
}

.yerevan-rate-prices--tiered {
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.foreign-rate-tier-label {
  margin: 0.55rem 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e56a0;
  line-height: 1.5;
}

.yerevan-rate-card-body .foreign-rate-tier-label:first-of-type {
  margin-top: 0.15rem;
}

.foreign-rate-inquiry {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.35rem 0 0;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: rgba(30, 86, 160, 0.06);
  border: 1px dashed rgba(30, 86, 160, 0.2);
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
}

.foreign-rate-inquiry i {
  color: #1e56a0;
  font-size: 0.85rem;
}

.yerevan-rate-price {
  background: linear-gradient(135deg, rgba(30, 86, 160, 0.06), rgba(14, 165, 233, 0.05));
  border: 1px solid rgba(30, 86, 160, 0.1);
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
  text-align: center;
}

.yerevan-rate-price-label {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  margin-bottom: 0.1rem;
}

.yerevan-rate-price-value {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: #1e56a0;
}

.yerevan-rates-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(30, 86, 160, 0.06) 0%, #fff 70%);
  border: 1px solid rgba(30, 86, 160, 0.12);
  text-align: right;
}

.yerevan-rates-cta-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.yerevan-rates-cta p {
  margin: 0 0 0.65rem;
  color: #475569;
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .foreign-rates-guide {
    padding: 1rem;
    border-radius: 18px;
  }

  .foreign-rates-guide-head {
    flex-direction: column;
    align-items: stretch;
  }

  .foreign-rates-guide-wa {
    width: 100%;
    justify-content: center;
  }

  .foreign-rates-guide-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .foreign-rates-guide-tips {
    grid-template-columns: 1fr;
  }

  .yerevan-rates-guide {
    padding: 1rem;
  }

  .yerevan-rates-grid {
    grid-template-columns: 1fr;
  }

  .yerevan-rate-card-media {
    aspect-ratio: 16 / 8;
    max-height: 160px;
  }

  .yerevan-rates-cta {
    flex-direction: column;
    text-align: center;
  }
}

@media (min-width: 768px) {
  .yerevan-rates-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}
