/* ==========================================================================
   DESTINATION DETAIL PAGES - MODERN STANDARD REDESIGN
   ========================================================================== */

/* Section chip quick-links bar */
.dest-nav-bar {
  background: #ffffff;
  border-bottom: 1px solid #e9edf3;
  position: sticky;
  top: 72px;
  z-index: 30;
  box-shadow: 0 4px 14px rgba(14, 5, 63, 0.04);
  padding: 10px 0;
}

.dest-nav-list {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
  padding: 4px 0;
  margin: 0;
  list-style: none;
}

.dest-nav-list::-webkit-scrollbar {
  display: none;
}

.dest-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  padding: 7px 16px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dest-nav-link:hover,
.dest-nav-link.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(14, 5, 63, 0.18);
  transform: translateY(-1px);
}

/* Standard Destination Content Cards */
.dest-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 22px;
  height: 100%;
  box-shadow: 0 2px 12px rgba(14, 5, 63, 0.03);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;

}

.dest-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  box-shadow: 0 10px 24px rgba(14, 5, 63, 0.08);
}

.dest-card-top-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), #00c0f3);
}

.dest-card-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.08), rgba(0, 192, 243, 0.12));
  color: var(--color-primary);
  border: 1px solid rgba(0, 102, 255, 0.18);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.dest-card:hover .dest-card-icon-wrap {
  transform: scale(1.06) rotate(-3deg);
  background: linear-gradient(135deg, var(--color-primary), #00c0f3);
  color: #ffffff;
}

.dest-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #0e053f;
  margin-bottom: 10px;
  line-height: 1.35;

}

.dest-card-text {
  font-size: 14.5px;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 12px;
}

.dest-card-text:last-child {
  margin-bottom: 0;
}

/* Feature bullet items inside dest-card */
.dest-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dest-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: #334155;
}

.dest-check-item i {
  color: #10b981;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Distinctive Cost Card */
.dest-cost-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 20px 22px;
  height: 100%;
  box-shadow: 0 2px 12px rgba(14, 5, 63, 0.03);
  transition: all 0.25s ease;
}

.dest-cost-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(14, 5, 63, 0.08);
  border-color: #cbd5e1;
}

.dest-cost-header {
  display: flex;
  align-items: center;
  gap: 12px;
  /* margin-bottom: 14px;
  padding-bottom: 12px; */
  border-bottom: 1px solid #f1f5f9;
  flex-direction: column;
}

.dest-cost-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e2f7fe;
  color: #27326c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.dest-cost-title {
  font-size: 14px;
  font-weight: 800;
  color: #0e053f;
  margin: 0;
}

.dest-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: dest-step-counter;
}

.dest-step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 18px;
  position: relative;
  transition: all 0.25s ease;
  box-shadow: 0 2px 10px rgba(14, 5, 63, 0.03);
  counter-increment: dest-step-counter;

}

.dest-step-card::before {
  content: counter(dest-step-counter, decimal-leading-zero);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 3px 10px rgba(14, 5, 63, 0.15);
}

.dest-step-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  box-shadow: 0 8px 20px rgba(14, 5, 63, 0.06);
}

.dest-step-text {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.55;
  margin: 0;
}

/* Info Callout Box */
.dest-info-callout {
  background: #f8fafc;
  border-left: 4px solid var(--color-primary);
  border-radius: 0 12px 12px 0;
  padding: 14px 18px;
  margin-top: 16px;
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

[dir="rtl"] .dest-info-callout {
  border-left: none;
  border-right: 4px solid var(--color-primary);
  border-radius: 14px 0 0 14px;
}

.dest-info-callout i {
  font-size: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Useful Links Box */
.dest-links-card {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  padding: 24px;
}

.dest-links-title {
  font-size: 17px;
  font-weight: 700;
  color: #0e053f;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dest-links-title i {
  color: var(--color-primary);
}

/* Fee / key-number stat cards */
.dest-stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 26px 22px;
  text-align: center;
  height: 100%;
  box-shadow: 0 4px 18px rgba(14, 5, 63, 0.04);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.dest-stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), #00c0f3);
}

.dest-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(14, 5, 63, 0.09);
}

.bg-primary {
  background: var(--color-primary) !important;
}

.dest-stat-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.25;
}

.dest-stat-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  margin-top: 8px;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Steps grid modifiers */
.dest-steps-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Offset anchor scrolling below the sticky nav bars */
section[id],
div[data-anchor] {
  scroll-margin-top: 135px;
}

.max-w-800 {
  max-width: 800px;
}

/* Responsive */
@media (max-width: 991px) {
  .dest-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dest-steps-grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .dest-card {
    padding: 24px 20px;
  }
}

@media (max-width: 576px) {

  .dest-steps-grid,
  .dest-steps-grid.cols-3 {
    grid-template-columns: 1fr;
  }

  .dest-stat-value {
    font-size: 22px;
  }
}

/* Modern card styling for individual content sections in destination pages */
.content-section {
  padding: 55px 0;
  position: relative;
}

.content-section.bg-soft {
  background: #f8fafc;
}

.content-section .container>.section-header-center {
  margin-bottom: 24px;
}

.content-section .dest-card-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 4px 20px rgba(14, 5, 63, 0.04);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.content-section .dest-card-container:hover {
  border-color: rgba(0, 102, 255, 0.3);
  box-shadow: 0 14px 34px rgba(14, 5, 63, 0.08);
}

.content-section .dest-card-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), #00c0f3);
}

.content-section .dest-card-container .section-main-title {
  margin-bottom: 14px;
}

.content-section .dest-card-container .content-lead {
  font-size: 15.5px;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 16px;
}

.content-section .dest-card-container .content-lead:last-child {
  margin-bottom: 0;
}

/* Feature grid items modern lift */
.feature-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px 20px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.feature-list-grid li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.6;
  color: #1e293b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 18px;
  transition: all 0.25s ease;
}

.feature-list-grid li:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.1);
}

.feature-list-grid li i {
  color: var(--color-primary);
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

[dir="rtl"] .feature-list-grid li {
  text-align: right;
}

/* ==========================================================================
   ADVANCED DIVERSIFIED SECTIONS STYLING (UK & DESTINATIONS V2)
   ========================================================================== */

/* ---------- Section 1: Bento Showcase Layout (#why-study) ---------- */
.dest-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.dest-bento-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.dest-bento-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(14, 5, 63, 0.08);
  border-color: var(--color-primary);
}

.dest-bento-featured {
  grid-column: span 12;
  background: linear-gradient(135deg, #0e053f 0%, #16276e 60%, #0066ff 100%);
  color: #ffffff;
  border: none;
  padding: 24px 26px;
}

.dest-bento-featured .dest-card-title {
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 10px;
}

.dest-bento-featured .dest-card-text {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.65;
  max-width: 860px;
}

.dest-bento-featured .dest-bento-icon-disc {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.dest-bento-col-4 {
  grid-column: span 4;
}

.dest-bento-col-6 {
  grid-column: span 6;
}

.dest-bento-icon-disc {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
  background: #f0f7ff;
  color: var(--color-primary);
  border: 1px solid rgba(0, 102, 255, 0.16);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.dest-bento-item:hover .dest-bento-icon-disc {
  transform: scale(1.06) rotate(-3deg);
  background: var(--color-primary);
  color: #ffffff;
}

/* ---------- Section 2: Study Options Pathway Strip / Cards (#study-options) ---------- */
.pathway-flow-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pathway-flow-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 20px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.pathway-flow-card::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--color-primary);
  transition: width 0.25s ease;
}

[dir="rtl"] .pathway-flow-card::before {
  left: auto;
  right: 0;
}

.pathway-flow-card:hover {
  transform: translateX(6px);
  border-color: var(--color-primary);
  box-shadow: 0 10px 26px rgba(14, 5, 63, 0.06);
}

[dir="rtl"] .pathway-flow-card:hover {
  transform: translateX(-6px);
}

.pathway-flow-card:hover::before {
  width: 8px;
}

.pathway-flow-header {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 280px;
}

.pathway-flow-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.pathway-flow-card:hover .pathway-flow-icon {
  background: var(--color-primary);
  color: #ffffff;
}

.pathway-flow-title {
  font-size: 17px;
  font-weight: 700;
  color: #0e053f;
  margin: 0;
}

.pathway-flow-desc {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

/* ---------- Section 3: Entry Requirements Split Desk (#entry-requirements) ---------- */
.req-desk-wrapper {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 36px 32px;
  box-shadow: 0 6px 24px rgba(14, 5, 63, 0.04);
}

.req-criteria-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.req-criteria-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  transition: all 0.25s ease;
}

.req-criteria-row:hover {
  background: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 6px 18px rgba(0, 102, 255, 0.08);
  transform: translateY(-2px);
}

.req-criteria-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 192, 243, 0.15));
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.req-criteria-body {
  flex: 1;
}

.req-criteria-title {
  font-size: 16px;
  font-weight: 700;
  color: #0e053f;
  margin-bottom: 4px;
}

.req-criteria-text {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* ---------- Section 4: Tuition & Living Costs Visual Ledger (#tuition-living) ---------- */
.finance-split-ledger {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(14, 5, 63, 0.04);
}

.finance-col {
  padding: 36px 32px;
}

.finance-col-tuition {
  border-right: 1px solid #edf2f7;
}

[dir="rtl"] .finance-col-tuition {
  border-right: none;
  border-left: 1px solid #edf2f7;
}

.finance-badge-strip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.badge-strip-blue {
  background: #eff6ff;
  color: #1d4ed8;
}

.badge-strip-emerald {
  background: #ecfdf5;
  color: #047857;
}

.finance-col-title {
  font-size: 22px;
  font-weight: 800;
  color: #0e053f;
  margin-bottom: 14px;
}

.budget-items-cloud {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.budget-cloud-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  transition: all 0.2s ease;
}

.budget-cloud-pill i {
  color: #10b981;
  font-size: 16px;
  flex-shrink: 0;
}

.budget-cloud-pill:hover {
  background: #ffffff;
  border-color: #10b981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.12);
}

/* ---------- Section 5: Connected Roadmap Timeline (#visa-requirements) ---------- */
.visa-timeline-flow {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  counter-reset: visa-timeline-counter;
}

.visa-timeline-flow::before {
  content: '';
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 31px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--color-primary) 0, var(--color-primary) 6px, transparent 6px, transparent 12px);
}

[dir="rtl"] .visa-timeline-flow::before {
  left: auto;
  right: 31px;
}

.visa-timeline-step {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 22px;
  transition: all 0.25s ease;
  counter-increment: visa-timeline-counter;
}

.visa-timeline-step:hover {
  transform: translateX(6px);
  border-color: var(--color-primary);
  box-shadow: 0 8px 22px rgba(14, 5, 63, 0.06);
}

[dir="rtl"] .visa-timeline-step:hover {
  transform: translateX(-6px);
}

.visa-step-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(14, 5, 63, 0.2);
  flex-shrink: 0;
  z-index: 2;
}

.visa-step-badge::before {
  content: counter(visa-timeline-counter);
}

.visa-step-content {
  flex: 1;
}

.visa-step-title {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  line-height: 1.55;
}

/* ---------- Section 6: Scholarships Spotlight Showcase (#scholarships) ---------- */
.scholarship-spotlight-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 20px;
  height: 100%;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.scholarship-spotlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
}

.scholarship-spotlight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.12);
  border-color: #f59e0b;
}

.scholarship-spotlight-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fef3c7;
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.scholarship-spotlight-card:hover .scholarship-spotlight-badge {
  background: #f59e0b;
  color: #ffffff;
  transform: scale(1.08) rotate(4deg);
}

/* Responsive Overrides */
@media (max-width: 991px) {
  .dest-bento-col-4 {
    grid-column: span 6;
  }

  .finance-col-tuition {
    border-right: none;
    border-bottom: 1px solid #edf2f7;
  }

  [dir="rtl"] .finance-col-tuition {
    border-left: none;
    border-bottom: 1px solid #edf2f7;
  }

  .pathway-flow-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 767px) {

  .dest-bento-col-4,
  .dest-bento-col-6 {
    grid-column: span 12;
  }

  .budget-items-cloud {
    grid-template-columns: 1fr;
  }

  .visa-timeline-flow::before {
    display: none;
  }
}

/* ==========================================================================
   DESTINATION PAGES — CONTENT SECTION PROSE ENHANCEMENTS
   Improves visual quality of content-section + content-lead paragraph blocks
   across all batch-processed destination pages (non-UK diversified layout).
   ========================================================================== */

/* Subtle left accent rule on each prose section heading */
.content-section .section-header-center .section-main-title {
  position: relative;
  display: inline-block;
}

/* Prose paragraph max-width and spacing inside content-section */
.content-section>.container>.content-lead,
.content-section>.container>p.content-lead {
  font-size: 16.5px;
  line-height: 1.85;
  color: #374151;
  max-width: 860px;
  margin-bottom: 18px;
}

/* When multiple content-lead paragraphs appear together, give them a
   subtle split-text card wrapper effect via CSS — no HTML changes needed */
.content-section>.container>.content-lead+.content-lead {
  padding-top: 4px;
}

/* Featured intro section (first full-width section, often the lead-in) */
.content-section:first-of-type>.container>.content-lead {
  font-size: 17px;
  max-width: 900px;
}

/* ── Section visual divider on bg-soft alternating sections ── */
.content-section.bg-soft {
  background: linear-gradient(135deg, #f8fafc 0%, #f0f4f8 100%);
  border-top: 1px solid #eaeff5;
  border-bottom: 1px solid #eaeff5;
}

/* ── Section inner container prose card (soft lift) ── */
/* Wrap prose to give it a subtle card appearance */
.content-section>.container {
  position: relative;
}

/* ── Better typography for bare section headings ── */
.content-section .section-main-title {
  font-size: clamp(20px, 2.4vw, 25px);
  font-weight: 800;
  color: #0e053f;
  line-height: 1.3;
  margin-bottom: 6px;
}

.content-section .section-sub-title {
  font-size: 15.5px;
  color: #64748b;
  margin-bottom: 24px;
  line-height: 1.7;
  max-width: 680px;
}

/* ── Content section header spacing ── */
.content-section .section-header-center {
  margin-bottom: 28px;
}

/* ── Step cards in dest-steps-grid ── */
.dest-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.dest-step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 20px 20px;
  position: relative;
  counter-increment: step-counter;
  transition: all 0.25s ease;
  box-shadow: 0 2px 10px rgba(14, 5, 63, 0.04);
  border-color: rgba(0, 102, 255, 0.3);
}

.dest-steps-grid {
  counter-reset: step-counter;
}

.dest-step-card::before {
  content: counter(step-counter);
  position: absolute;
  top: -12px;
  left: 20px;
  width: 30px;
  height: 30px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
  line-height: 30px;
  text-align: center;
}

.dest-step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 102, 255, 0.3);
  box-shadow: 0 12px 28px rgba(14, 5, 63, 0.08);
}

.dest-step-text {
  font-size: 14.5px;
  line-height: 1.65;
  color: #334155;
  margin: 0;
  margin-top: 6px;
}

/* ── RTL: dest-step-card counter position ── */
[dir="rtl"] .dest-step-card::before {
  left: auto;
  right: 20px;
}

/* ── Sticky nav RTL overrides ── */
[dir="rtl"] .dest-nav-bar {
  direction: rtl;
}

[dir="rtl"] .dest-nav-list {
  flex-direction: row-reverse;
}

/* ── Scholarship banner in content-section ── */
.content-section .scholarship-banner {
  border-radius: 24px;
  overflow: hidden;
}

/* ── feature-list-grid on white bg-sections: slight tweak ── */
.content-section:not(.bg-soft) .feature-list-grid li {
  background: #f8fafc;
}

/* ── Mobile: nav bar scroll indicator ── */
@media (max-width: 768px) {
  .dest-nav-bar::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 32px;
    background: linear-gradient(to left, #ffffff 40%, transparent);
    pointer-events: none;
  }

  .dest-nav-bar {
    top: 58px;
  }

  .dest-steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
  }

  .content-section>.container>.content-lead {
    font-size: 15.5px;
  }
}

/* ==========================================================================
   COMPACT & PROPORTIONAL CONTENT CARDS (GLOBAL FOR ALL DESTINATION PAGES)
   Fits short sentences and list items tightly without extra whitespace.
   ========================================================================== */
.dest-card-compact,
.spain-card-compact {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 20px;
  height: 100%;
  box-shadow: 0 2px 10px rgba(14, 5, 63, 0.03);
  transition: all 0.25s ease;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.dest-card-compact:hover,
.spain-card-compact:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.08);
}

.dest-icon-disc,
.spain-icon-disc {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.08), rgba(0, 192, 243, 0.12));
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.dest-card-compact:hover .dest-icon-disc,
.spain-card-compact:hover .spain-icon-disc {
  background: var(--color-primary);
  color: #ffffff;
}

.dest-pill-item,
.spain-pill-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #1e293b;
  transition: all 0.25s ease;
  height: 100%;
  margin-bottom: 10px;
}

.dest-pill-item:hover,
.spain-pill-item:hover {
  background: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.08);
  transform: translateY(-2px);
}

.dest-pill-item i,
.spain-pill-item i {
  color: var(--color-primary);
  font-size: 17px;
  flex-shrink: 0;
}

.dest-lead-box,
.spain-lead-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px 26px;
  box-shadow: 0 4px 16px rgba(14, 5, 63, 0.03);
}

.dest-lead-box .dest-card-text,
.spain-lead-box .dest-card-text {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.dest-lead-box .dest-card-text:last-child,
.spain-lead-box .dest-card-text:last-child {
  margin-bottom: 0;
}

/* Ultra-Clean Content-Proportional Cards System */
.dest-clean-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(14, 5, 63, 0.03);
  transition: all 0.25s ease;
  height: 100%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;
}

.dest-clean-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.08);
  transform: translateY(-2px);
}

.dest-clean-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f0f7ff;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.dest-clean-card:hover .dest-clean-icon {
  background: var(--color-primary);
  color: #ffffff;
}

.dest-clean-body {
  flex: 1;
}

.dest-clean-title {
  font-size: 16px;
  font-weight: 700;
  color: #0e053f;
  margin-bottom: 4px;
  line-height: 1.4;
}

.dest-clean-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: #334155;
  margin: 0;
}