:root {
  --background: #f4f7fb;
  --surface: #ffffff;
  --primary: #122a46;
  --primary-light: #2c5282;
  --accent: #3a7bd5;
  --text: #1f2933;
  --muted: #4a5568;
  --border: rgba(18, 42, 70, 0.08);
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --transition: all 0.25s ease;
  --gradient: linear-gradient(135deg, rgba(18, 42, 70, 0.92), rgba(58, 123, 213, 0.85));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

main p {
  text-align: left;
}

main p + p {
  margin-top: 0.75rem;
}

main ul,
main ol {
  margin: 0.75rem 0 0 1.5rem;
  padding-left: 0;
  display: block;
}

main li {
  text-align: left;
  margin-top: 0.35rem;
}

main li:first-child {
  margin-top: 0;
}

main p + ul,
main p + ol,
main ul + p,
main ol + p {
  margin-top: 1rem;
}

body[class^="page-"] {
  background: var(--background);
}

body.page-index,
body.page-visa,
body.page-documents,
body.page-living,
body.page-destinations,
body.page-transport,
body.page-finance,
body.page-careers,
body.page-employment,
body.page-health,
body.page-education,
body.page-resources,
body.page-about,
body.page-privacy,
body.page-terms,
body.page-practice,
body.page-citizenship,
body.page-exiting {
  color: var(--text);
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

ul {
  margin-left: 1.25rem;
  margin-top: 0.5rem;
  display: grid;
  gap: 0.35rem;
}

h1, h2, h3, h4 {
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  margin-bottom: 0.75rem;
}

h4 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin-bottom: 0.5rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.75rem 3rem;
}

.citizenship-breadcrumb {
  max-width: 1200px;
  margin: clamp(0rem, 1vw, 0.5rem) auto clamp(0.75rem, 2vw, 1.25rem);
  padding: 0 1.75rem;
  display: flex;
  justify-content: flex-start;
}

.static-page main {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.75rem;
}

.static-page section {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
}

.static-page section:last-of-type {
  margin-bottom: 0;
}

.static-page h1 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.static-page .section-intro {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--muted);
}

.quiz-guidance {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
}

.quiz-guidance ul {
  margin-left: 1.5rem;
  margin-top: 1rem;
  gap: 0.5rem;
}

.quiz-guidance li {
  list-style: disc;
  color: var(--muted);
}

.external-tip {
  margin-top: 1.5rem;
  font-weight: 600;
}

body.page-citizenship main {
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.citizenship-hero {
  margin-bottom: 0;
  padding-bottom: 0;
}

.citizenship-main {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
}

.citizenship-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  background: rgba(18, 42, 70, 0.05);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.5rem;
  border: 1px solid rgba(18, 42, 70, 0.08);
}

.citizenship-subnav a {
  font-weight: 600;
  color: var(--primary);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, transform 0.2s ease;
}

.citizenship-subnav a:hover {
  background: rgba(58, 123, 213, 0.15);
  color: var(--primary);
  transform: translateY(-1px);
}

.citizenship-section {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: clamp(2rem, 4vw, 2.75rem);
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.page-citizenship .entry-hero {
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.page-citizenship .section-visual.image-placeholder {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

.obligations-section .section-visual {
  align-self: start;
  justify-self: end;
}

.section-copy > p {
  color: var(--muted);
  max-width: 58ch;
}

.section-visual {
  min-height: clamp(180px, 28vw, 240px);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.5rem, 4vw, 2rem);
}

.process-step {
  background: rgba(18, 42, 70, 0.03);
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid rgba(18, 42, 70, 0.1);
  display: grid;
  gap: 0.75rem;
}

.process-step ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.4rem;
}

.process-step li {
  list-style: disc;
  color: var(--muted);
}

.step-number {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1rem;
}

.obligations-grid,
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.25rem, 4vw, 1.75rem);
}

.obligation-card,
.benefit-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  border: 1px solid rgba(18, 42, 70, 0.08);
  padding: clamp(1.1rem, 3vw, 1.5rem);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 0.6rem;
}

.obligation-card p,
.benefit-card p {
  color: var(--muted);
}

.quiz-intro {
  display: grid;
  gap: 0.75rem;
  text-align: center;
}

.quiz-intro p {
  color: var(--muted);
  margin: 0 auto;
  max-width: 64ch;
}

.quiz-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 2.5rem;
}

.quiz-card form {
  display: grid;
  gap: 2rem;
}

.question-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.75rem;
  transition: var(--transition);
}

.question-card fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.question-card legend {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.question-card .question-context {
  color: var(--muted);
  margin-bottom: 1rem;
}

.question-card label {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.question-card label:hover {
  background: rgba(58, 123, 213, 0.08);
}

.question-card input[type="radio"] {
  margin-right: 0.65rem;
}

.question-card.is-correct {
  border-color: #38a169;
  background: rgba(56, 161, 105, 0.08);
}

.question-card.is-incorrect {
  border-color: #e53e3e;
  background: rgba(229, 62, 62, 0.08);
}

.question-feedback {
  margin-top: 0.75rem;
  font-weight: 500;
}

.quiz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
}

.quiz-result {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  background: rgba(18, 42, 70, 0.06);
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transition);
}

.quiz-result.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .quiz-card {
    padding: 1.75rem;
  }

  .question-card {
    padding: 1.25rem;
  }

  .quiz-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
}

.logo {
  font-weight: 700;
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(18, 42, 70, 0.04);
  border: 1px solid rgba(18, 42, 70, 0.12);
  border-radius: 14px;
  padding: 0.55rem 0.75rem;
  cursor: pointer;
  transition: var(--transition);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(58, 123, 213, 0.1);
  border-color: rgba(58, 123, 213, 0.35);
}

.nav-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(58, 123, 213, 0.3);
}

.nav-toggle-box {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.nav-toggle-bar {
  width: 1.35rem;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-search-item {
  margin-left: 0.5rem;
}

.nav-search-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(18, 42, 70, 0.14);
  background: rgba(18, 42, 70, 0.05);
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.nav-search-toggle:hover,
.nav-search-toggle:focus-visible {
  background: rgba(58, 123, 213, 0.12);
  border-color: rgba(58, 123, 213, 0.4);
  color: var(--accent);
}

.nav-search-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(58, 123, 213, 0.3);
}

.nav-search-toggle .search-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.nav-search-toggle .search-label {
  font-size: 0.95rem;
}

.nav-item > a,
.submenu-toggle {
  color: var(--muted);
  font-weight: 600;
  position: relative;
  padding: 0.35rem 0;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-item > a[data-page="resources"],
.nav-item > a[data-page="books"],
.nav-item > a[data-page="exiting"] {
  font-weight: 400;
}

.nav-item > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav-item > a:hover::after,
.nav-item > a:focus-visible::after,
.nav-item > a.active::after {
  width: 100%;
}

.nav-item > a:hover,
.nav-item > a:focus-visible,
.nav-item > a.active,
.submenu-toggle:hover,
.submenu-toggle:focus-visible {
  color: var(--primary);
}

.submenu-toggle {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

.has-submenu {
  position: relative;
}

.submenu {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.submenu a {
  color: var(--muted);
  font-weight: 500;
  padding: 0.25rem 0;
  transition: var(--transition);
}

.submenu a:hover,
.submenu a:focus-visible {
  color: var(--primary);
}

.js-enabled .submenu {
  margin: 0;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  position: absolute;
  left: 0;
  top: 100%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  min-width: 220px;
  z-index: 20;
}

.js-enabled .submenu a {
  padding: 0.35rem 0;
}

.js-enabled .has-submenu:hover > .submenu,
.js-enabled .has-submenu:focus-within > .submenu,
.js-enabled .has-submenu.open > .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.has-submenu:focus-within > .submenu-toggle,
.has-submenu.active > .submenu-toggle {
  color: var(--primary);
}

@media (max-width: 1080px) {
  .nav-links {
    gap: 1rem;
  }
}

@media (max-width: 960px) {
  .nav-container {
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .js-enabled .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    width: 100%;
    display: grid;
    gap: 0.75rem;
    padding: 1.1rem 1.35rem 1.25rem;
    background: var(--surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
  }

  .nav-search-item {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .nav-search-toggle {
    width: 100%;
    justify-content: center;
    padding: 0.65rem 1rem;
  }

  .nav-search-toggle .search-label {
    font-size: 1rem;
  }

  .js-enabled .nav-links {
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.25s ease;
  }

  .js-enabled .nav-links[data-visible="true"] {
    max-height: 1000px;
    background: var(--surface);
    box-shadow: var(--shadow);
    padding: 1.1rem 1.35rem 1.25rem;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-item {
    width: 100%;
  }

  .nav-item > a,
  .submenu-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .nav-item > a::after {
    display: none;
  }

  .has-submenu {
    border-top: 1px solid var(--border);
    padding-top: 0.75rem;
    margin-top: 0.75rem;
  }

  .has-submenu:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
  }

  .js-enabled .submenu {
    position: static;
    background: transparent;
    box-shadow: none;
    padding: 0;
    transform: none;
    opacity: 1;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    gap: 0.35rem;
  }

  .js-enabled .has-submenu.open > .submenu {
    max-height: 600px;
    pointer-events: auto;
  }

  .js-enabled .submenu a {
    padding: 0.35rem 0;
  }
}

body.search-open {
  overflow: hidden;
}

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 42, 70, 0.32);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 2.5rem) 1.5rem;
  z-index: 2000;
}

.search-overlay[hidden] {
  display: none;
}

.search-panel {
  width: min(680px, 100%);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: grid;
  gap: 1.5rem;
  max-height: 85vh;
  overflow: hidden;
}

.search-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.search-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid rgba(18, 42, 70, 0.14);
  background: rgba(18, 42, 70, 0.05);
  color: var(--primary);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
}

.search-close:hover,
.search-close:focus-visible {
  background: rgba(58, 123, 213, 0.12);
  border-color: rgba(58, 123, 213, 0.4);
  color: var(--accent);
}

.search-close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(58, 123, 213, 0.3);
}

.search-form {
  display: grid;
}

.search-input {
  width: 100%;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(18, 42, 70, 0.16);
  font-size: 1rem;
  color: var(--primary);
  transition: var(--transition);
}

.search-input::placeholder {
  color: rgba(18, 42, 70, 0.55);
}

.search-input:focus-visible {
  outline: none;
  border-color: rgba(58, 123, 213, 0.55);
  box-shadow: 0 0 0 3px rgba(58, 123, 213, 0.2);
}

.search-results {
  display: grid;
  gap: 0.75rem;
}

.search-status {
  color: var(--muted);
  font-size: 0.95rem;
}

.search-results-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  max-height: 50vh;
  overflow-y: auto;
  padding-right: 0.35rem;
}

.search-result-item {
  list-style: none;
}

.search-result-link {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: rgba(58, 123, 213, 0.08);
  color: inherit;
  transition: var(--transition);
}

.search-result-link:hover,
.search-result-link:focus-visible {
  background: rgba(58, 123, 213, 0.14);
  border-color: rgba(58, 123, 213, 0.3);
  color: var(--primary);
}

.search-result-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(58, 123, 213, 0.2);
}

.result-title {
  font-weight: 700;
  color: var(--primary);
}

.result-description {
  color: var(--muted);
  font-size: 0.95rem;
}

.search-result-empty {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(18, 42, 70, 0.05);
  color: var(--muted);
}

@media (max-width: 720px) {
  .search-panel {
    border-radius: var(--radius-md);
    padding: 1.25rem;
    max-height: 90vh;
  }

  .search-results-list {
    max-height: 56vh;
  }

  .result-description {
    font-size: 0.9rem;
  }
}

.hero {
  margin-bottom: 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-image {
  height: clamp(160px, 32vw, 175px);
  background-image: url('header.jpg');
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.cta-section {
  padding: clamp(1.75rem, 3vw, 1.75rem);
  text-align: center;
  display: grid;
  gap: 1.5rem;
}

.cta-content p {
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.entry-hero {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: clamp(2rem, 4vw, 3rem);
  margin-bottom: clamp(2rem, 5vw, 3rem);
  position: relative;
  overflow: hidden;
}

.entry-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(58, 123, 213, 0.16), transparent 60%);
  pointer-events: none;
}

.entry-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 3rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.entry-hero__copy {
  display: grid;
  gap: 1.35rem;
}

.hero-tagline {
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(18, 42, 70, 0.65);
  font-weight: 700;
}

.hero-description {
  color: var(--muted);
  max-width: 56ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.cta-button.secondary {
  background: rgba(18, 42, 70, 0.08);
  color: var(--primary);
  box-shadow: none;
}

.cta-button.secondary:hover {
  background: rgba(58, 123, 213, 0.18);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: none;
}

.entry-hero__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  background: linear-gradient(140deg, rgba(18, 42, 70, 0.92), rgba(58, 123, 213, 0.65));
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  place-items: center;
  gap: 1.25rem;
  isolation: isolate;
}

.entry-hero__visual img {
  width: min(440px, 100%);
  height: auto;
  border-radius: calc(var(--radius-lg) - 10px);
  object-fit: cover;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.28);
}

.entry-hero__visual::after {
  content: '';
  position: absolute;
  inset: 12% 8% 18%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: calc(var(--radius-lg) - 10px);
  z-index: -1;
  opacity: 0.7;
}

.hero-visual-badge {
  position: absolute;
  top: clamp(1rem, 3vw, 1.5rem);
  left: clamp(1rem, 3vw, 1.5rem);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.6);
  text-transform: none;
  letter-spacing: 0.02em;
}

.hero-visual-icon {
  font-size: 1.5rem;
}

.hero-visual-copy {
  display: grid;
  gap: 0.2rem;
  font-weight: 600;
}

.hero-visual-copy small {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(18, 42, 70, 0.7);
  font-weight: 700;
}

.hero-visual-caption {
  position: absolute;
  bottom: clamp(1rem, 3vw, 1.5rem);
  left: clamp(1rem, 3vw, 1.5rem);
  right: clamp(1rem, 3vw, 1.5rem);
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.hero-highlights {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
}

.hero-highlights li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(18, 42, 70, 0.05);
  color: var(--muted);
}

.hero-highlights li span {
  font-size: 1.4rem;
  line-height: 1;
}

.magazine-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: clamp(1rem, 5vw, 1.5rem);
  position: relative;
  overflow: hidden;
}

.magazine-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(58, 123, 213, 0.18), transparent 55%);
  pointer-events: none;
}

.magazine-hero > * {
  position: relative;
  z-index: 1;
}

.hero-feature {
  display: grid;
  gap: 1.35rem;
  position: relative;
  z-index: 1;
}

.tagline {
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(18, 42, 70, 0.6);
  font-weight: 700;
}

.lede {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 68ch;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.meta-chip {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(18, 42, 70, 0.08);
  color: var(--primary);
}

.hero-visual {
  min-height: clamp(220px, 38vw, 320px);
  border-radius: var(--radius-lg);
}

.image-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /*padding: 1.5rem;*/
  border-radius: var(--radius-md);
  /*border: 1.5px dashed rgba(18, 42, 70, 0.25);*/
  background: linear-gradient(135deg, rgba(18, 42, 70, 0.06), rgba(58, 123, 213, 0.08));
  color: rgba(18, 42, 70, 0.65);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 0px;
  border: 1px;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.image-placeholder span {
  max-width: 18ch;
  font-size: 0.75rem;
  line-height: 1.4;
}

.feature-lede {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: stretch;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.feature-lede .lede-text p {
  color: var(--muted);
  max-width: 78ch;
}

.issue-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.highlight-card {
  display: grid;
  gap: 1rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.highlight-card:hover {
  transform: translateY(-6px);
}

.highlight-card .card-media {
  min-height: 160px;
}

.highlight-card .card-content p {
  color: var(--muted);
}

.card-link {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--primary);
}

.card-link:hover {
  color: var(--accent);
}

.feature-lede .lede-sidebar {
  min-height: 220px;
}

.magazine-section {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  padding: clamp(1.75rem, 4vw, 2.6rem);
}

.section-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
}

.section-lead .lead-copy p {
  color: var(--muted);
}

.lead-visual {
  min-height: 200px;
}

.magazine-panel {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow);
}

.magazine-sidebar {
  background: linear-gradient(135deg, rgba(18, 42, 70, 0.08), rgba(58, 123, 213, 0.12));
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 3vw, 1.85rem);
  color: var(--primary);
  border: 1px solid rgba(18, 42, 70, 0.12);
}

.magazine-sidebar ul li {
  background: rgba(255, 255, 255, 0.9);
}

.feature-spread {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: stretch;
}

.feature-spread .ielts-grid {
  grid-column: 1 / -1;
}

.feature-spotlight {
  min-height: 240px;
}

.visa-card .card-media,
.magazine-panel .card-media {
  min-height: 150px;
}

.timeline.magazine-panel {
  background: linear-gradient(145deg, rgba(18, 42, 70, 0.06), rgba(58, 123, 213, 0.08));
  border: 1px solid rgba(18, 42, 70, 0.15);
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 0.25rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(58, 123, 213, 0.15);
}

.timeline-item h4 {
  color: var(--primary);
}

.important-note {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 251, 0.92));
}

.cta-button,
.link-button,
.find-btn,
.calculate-btn,
.search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  border: none;
  background: #112340;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 12px 28px rgba(18, 42, 70, 0.18);
  gap: 0.4rem;
}

.cta-button:hover,
.link-button:hover,
.find-btn:hover,
.calculate-btn:hover,
.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(18, 42, 70, 0.22);
}

.link-button,
.search-btn,
.find-btn,
.calculate-btn {
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.4rem;
  background: var(--primary);
}

.breadcrumb,
.page-intro,
.emergency-section,
.site-overview,
.quick-start,
.section,
.content-section,
.resource-section,
.tax-calculator,
.tips-section,
.skills-section,
.insights-section,
.interactive-section,
.job-search-section,
.cost-calculator,
.points-calculator,
.finder,
.results,
.important-note,
.cta-panel,
.intro,
.steps,
.checklist {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(0.75rem, 3vw, 1.5rem);
  margin-bottom: 1.1rem;
  border: 1px solid var(--border);
}

/* Leaving Australia page */
.page-exiting .exit-hero {
  position: relative;
  overflow: hidden;
}

.page-exiting .exit-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18, 42, 70, 0.08), rgba(58, 123, 213, 0.05));
  pointer-events: none;
}

.page-exiting .exit-hero > * {
  position: relative;
  z-index: 1;
}

.exit-hero .exit-visual {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.65rem;
  color: var(--surface);
  text-align: center;
  background: linear-gradient(145deg, rgba(18, 42, 70, 0.85), rgba(58, 123, 213, 0.8));
}

.exit-visual-icon {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
}

.page-outline__list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding-left: 0;
  display: grid;
  gap: 0.6rem;
}

.page-outline__list a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary-light);
}

.page-outline__list a::before {
  content: '↘';
  font-size: 0.9rem;
  color: var(--accent);
}

.exit-overview ul {
  margin-top: 1rem;
}

.exit-steps .process-step {
  min-height: 100%;
}

.exit-refund-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.25rem, 3vw, 1.75rem);
}

.exit-refund-card {
  background: rgba(18, 42, 70, 0.04);
  border-radius: var(--radius-md);
  padding: clamp(1.2rem, 3vw, 1.6rem);
  border: 1px solid rgba(18, 42, 70, 0.12);
  display: grid;
  gap: 0.75rem;
}

.exit-refund-card h3 {
  margin-bottom: 0.25rem;
}

.exit-refund-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  display: grid;
  gap: 0.35rem;
}

.exit-refund-tip {
  background: rgba(58, 123, 213, 0.12);
  border-left: 4px solid var(--accent);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--primary);
}

.exit-return .return-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.15rem, 3vw, 1.6rem);
}

.exit-return .return-grid article {
  background: rgba(18, 42, 70, 0.03);
  border-radius: var(--radius-md);
  padding: clamp(1.1rem, 3vw, 1.5rem);
  border: 1px solid rgba(18, 42, 70, 0.1);
  display: grid;
  gap: 0.5rem;
}

.exit-checklist .table-scroll {
  overflow-x: auto;
  border-radius: var(--radius-md);
}

.page-exiting table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid rgba(18, 42, 70, 0.12);
}

.page-exiting table thead {
  background: rgba(18, 42, 70, 0.06);
}

.page-exiting table th,
.page-exiting table td {
  padding: 0.85rem;
  text-align: left;
  border-bottom: 1px solid rgba(18, 42, 70, 0.08);
}

.exit-faqs details {
  border: 1px solid rgba(18, 42, 70, 0.12);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  background: rgba(18, 42, 70, 0.02);
  margin-top: 0.75rem;
}

.exit-faqs details:first-of-type {
  margin-top: 0;
}

.exit-faqs summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--primary);
}

.exit-faqs details[open] summary {
  color: var(--accent);
}

.exit-faqs p {
  margin-top: 0.6rem;
  color: var(--muted);
}

.exit-resources ul {
  margin-top: 1rem;
}

.exit-resources .footnote {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-overview {
  position: relative;
  overflow: hidden;
  padding: clamp(2.25rem, 5vw, 3rem);
}

.site-overview::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 35, 64, 0.05), rgba(58, 123, 213, 0.04));
  opacity: 0.9;
  pointer-events: none;
}

.site-overview__grid,
.site-overview__footer {
  position: relative;
  z-index: 1;
}

.site-overview__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
}

.site-overview__lead p {
  color: var(--muted);
}

.site-overview__highlights {
  background: rgba(17, 35, 64, 0.04);
  border-radius: var(--radius-md);
  padding: clamp(1.35rem, 3vw, 1.9rem);
  border: 1px solid rgba(17, 35, 64, 0.12);
}

.site-overview__highlights h3 {
  margin-bottom: 1rem;
}

.site-overview__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.site-overview__list li {
  color: var(--muted);
  line-height: 1.7;
}

.site-overview__list strong {
  display: block;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.site-overview__footer {
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  padding-top: clamp(1.25rem, 3vw, 1.75rem);
  border-top: 1px solid rgba(17, 35, 64, 0.08);
}

.site-overview__footer p {
  color: var(--muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: inline-block;
}

@media (min-width: 900px) {
  .site-overview__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
  }
}

.important-notice {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  border: 1px solid var(--border);
}

.breadcrumb {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  font-size: 0.95rem;
}

.breadcrumb a {
  color: var(--muted);
  font-weight: 500;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.page-intro p,
.section p,
.content-section p,
.resource-section p,
.tips-section p,
.skills-section p,
.interactive-section p,
.job-search-section p,
.cost-calculator p,
.important-note p,
.important-notice p,
.cta-panel p,
.intro p,
.steps p {
  color: var(--muted);
}

.main-content {
  display: grid;
  gap: 1.9rem;
}

.sections-grid,
.steps-grid,
.info-grid,
.visa-grid,
.finance-grid,
.career-grid,
.living-grid,
.transport-grid,
.support-grid,
.apps-grid,
.skills-grid,
.contact-grid,
.resources,
.airport-grid,
.tips-grid,
.service-grid,
.insights-grid,
.results,
.steps,
.quick-start .steps-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.calculator-grid,
.finder-grid,
.points-grid,
.ielts-grid,
.search-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.ielts-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.checklist,
.links-list,
.tips-list,
.quick-tips ul,
.airport-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.visa-card,
.finance-card,
.career-card,
.living-card,
.transport-card,
.support-card,
.app-card,
.info-card,
.airport-card,
.ielts-card,
.tip-card,
.section-card,
.service-card,
.step-card,
.result-card,
.contact-item,
.document-item,
.intro-card,
.skill-item,
.result-item,
.insight-card,
.resource-section .contact-item {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.visa-checklist {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.6rem;
  color: rgba(18, 42, 70, 0.85);
}

.visa-checklist li {
  line-height: 1.5;
}

.visa-insight {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(17, 35, 64, 0.68);
}

.section-card {
  transition: var(--transition);
}

.section-card:hover,
.career-card:hover,
.finance-card:hover,
.living-card:hover,
.transport-card:hover,
.support-card:hover,
.app-card:hover,
.info-card:hover,
.section-card:focus-within {
  transform: translateY(-6px);
}

.card-content {
  display: grid;
  gap: 0.75rem;
  color: var(--muted);
}

.card-icon,
.tip-icon,
.step-icon,
.section-icon,
.insight-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(58, 123, 213, 0.12);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
}

.card-title,
.insight-title {
  color: var(--primary);
  font-weight: 700;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.section-content ul {
  margin-top: 0.75rem;
}

.section-title,
.section-subtitle {
  text-align: center;
}

.section-subtitle {
  color: var(--muted);
  max-width: 780px;
  margin: 0.5rem auto 0;
}

.quick-links {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: clamp(2rem, 4vw, 3rem);
  margin-bottom: clamp(2rem, 5vw, 3rem);
  display: grid;
  gap: 1.75rem;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.quick-link-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 251, 0.98));
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-link-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.quick-link-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(58, 123, 213, 0.12);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
}

.quick-link-content p {
  color: var(--muted);
}

.quick-link-action {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.quick-start {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 251, 0.96));
  text-align: center;
}

.quick-start > p {
  margin: 0 auto 1rem;
  max-width: 520px;
  color: var(--muted);
}

.quick-start .steps-grid {
  margin-top: 2rem;
}

.step-card {
  position: relative;
  padding: 2.5rem 1.75rem 1.75rem;
  text-align: left;
}

.roadmap {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: clamp(2rem, 4vw, 3rem);
  margin-top: clamp(2rem, 5vw, 3rem);
  display: grid;
  gap: 1.75rem;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.roadmap-column {
  display: grid;
  gap: 1.25rem;
}

.roadmap-column h3 {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(18, 42, 70, 0.75);
}

.roadmap-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.roadmap-links li a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(18, 42, 70, 0.08);
  background: rgba(244, 247, 251, 0.65);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.roadmap-links li a:hover {
  transform: translateY(-4px);
  border-color: rgba(58, 123, 213, 0.45);
}

.roadmap-links span {
  font-size: 1.6rem;
  line-height: 1;
}

.roadmap-links strong {
  color: var(--primary);
}

.roadmap-links small {
  display: block;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 0.3rem;
}

.application-blueprints {
  margin-top: clamp(3rem, 6vw, 4rem);
}

.blueprint-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.blueprint-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  display: grid;
  gap: 1.1rem;
}

.blueprint-header h3 {
  margin: 0;
}

.blueprint-meta {
  margin: 0.3rem 0 0;
  color: rgba(17, 35, 64, 0.6);
  font-size: 0.95rem;
}

.blueprint-steps {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.75rem;
  color: rgba(18, 42, 70, 0.86);
  line-height: 1.6;
}

.blueprint-steps a {
  color: var(--primary);
  font-weight: 600;
}

.blueprint-warning {
  margin: 0;
  padding: 0.85rem 1rem;
  border-left: 4px solid rgba(255, 193, 7, 0.85);
  background: rgba(255, 193, 7, 0.12);
  color: #8a6200;
  border-radius: var(--radius-sm);
  font-size: 0.96rem;
}

.step-number {
  position: absolute;
  top: -1.5rem;
  left: 1.5rem;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  /*background: var(--accent);*/
  background: #112340;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 16px 30px rgba(58, 123, 213, 0.35);
}

.step-card h3 {
  margin-top: 1rem;
}

.step-summary {
  margin: 0.75rem 0 1rem;
  color: rgba(18, 42, 70, 0.72);
  line-height: 1.6;
}

.step-actions {
  margin: 0 0 1rem 1.1rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  counter-reset: step-action;
}

.step-actions li {
  line-height: 1.5;
  color: rgba(18, 42, 70, 0.86);
}

.step-actions a {
  color: var(--primary);
  font-weight: 600;
}

.step-meta {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(17, 35, 64, 0.66);
}

.sections-grid a {
  color: inherit;
}

.sections-grid ul {
  margin-left: 1rem;
}

.highlight,
.finance-highlight,
.warning-highlight,
.skills-highlight,
.cost-highlight,
.salary-highlight,
.demand-highlight,
.warning,
.priority-banner,
.priority-badge {
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  font-weight: 600;
}

.highlight,
.finance-highlight,
.salary-highlight,
.demand-highlight,
.skills-highlight,
.cost-highlight {
  background: rgba(58, 123, 213, 0.1);
  color: var(--primary);
}

.warning,
.warning-highlight,
.priority-high {
  background: rgba(220, 53, 69, 0.1);
  color: #a32434;
}

.priority-medium,
.medium {
  background: rgba(255, 193, 7, 0.18);
  color: #9c6500;
}

.low {
  background: rgba(16, 185, 129, 0.15);
  color: #0f766e;
}

.priority-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: linear-gradient(140deg, rgba(18, 42, 70, 0.12), rgba(255, 255, 255, 0.85));
  border: 1px solid rgba(18, 42, 70, 0.15);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.18);
  padding: clamp(1.65rem, 3.5vw, 2rem);
  overflow: hidden;
}

.priority-banner::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -60px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 65%);
  opacity: 0.5;
}

.priority-banner h3 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: #fff;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 16px 28px rgba(239, 68, 68, 0.32);
}

.priority-banner .priority-intro {
  color: var(--primary);
  font-weight: 600;
  line-height: 1.55;
}

.priority-banner .priority-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.priority-banner .priority-list li {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.85rem 0.85rem 0.85rem 3.65rem;
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-weight: 600;
  box-shadow: 0 16px 32px rgba(18, 42, 70, 0.12);
  line-height: 1.55;
}

.priority-banner .priority-list li::before {
  content: "⚡";
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #fb923c, #f97316);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.35);
}

.priority-banner .priority-list li strong {
  color: inherit;
}

.priority-badge {
  background: var(--primary);
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.points-grid {
  align-items: stretch;
}

.points-category {
  background: rgba(18, 42, 70, 0.05);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(18, 42, 70, 0.08);
}

.points-category h4 {
  margin-bottom: 0.75rem;
}

.quick-tips {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.page-visa .quick-tips.magazine-sidebar {
  margin-top: 0;
}

.etiquette-sidebar {
  position: relative;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.96), rgba(215, 233, 255, 0.9));
  border: 1px solid rgba(58, 123, 213, 0.18);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.16);
  overflow: hidden;
}

.etiquette-sidebar::before {
  content: '';
  position: absolute;
  inset: auto -70px -70px auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at center, rgba(58, 123, 213, 0.4) 0%, rgba(58, 123, 213, 0) 70%);
  opacity: 0.5;
  pointer-events: none;
}

.etiquette-sidebar h4 {
  position: relative;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-bottom: 1rem;
}

.etiquette-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.etiquette-list li {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.8rem 0.85rem 0.8rem 3.65rem;
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-weight: 500;
  line-height: 1.55;
  box-shadow: 0 16px 34px rgba(18, 42, 70, 0.12);
}

.etiquette-list li::before {
  content: "✨";
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.35);
}

.quick-tips ul li {
  background: rgba(18, 42, 70, 0.05);
}

.page-visa .quick-tips.magazine-sidebar ul li {
  background: rgba(18, 42, 70, 0.05);
  border-color: rgba(58, 123, 213, 0.3);
  color: var(--primary);
  box-shadow: var(--shadow);
}

.checklist {
  display: grid;
  gap: 1rem;
}

.magazine-panel.checklist {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.85rem, 4vw, 2.6rem);
}

.magazine-panel.checklist > p {
  color: var(--muted);
}

.checklist-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(18, 42, 70, 0.12);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.checklist-item input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--primary);
}

.checklist-item label {
  font-weight: 600;
  color: var(--primary);
  line-height: 1.45;
}

.bank-comparison {
  display: grid;
  gap: 1.5rem;
}

.ielts-intro {
  display: grid;
  gap: 1.5rem;
}

.ielts-note {
  margin-top: 1.5rem;
  background: rgba(18, 42, 70, 0.06);
  padding: 1.5rem;
  border-radius: var(--radius-md);
}

.page-visa .ielts-note {
  margin-top: 0;
}

.ielts-score-table table,
.education table,
.transport table,
.health table,
.page-education table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ielts-score-table th,
.ielts-score-table td,
.education table th,
.education table td,
.transport table th,
.transport table td,
.page-education table th,
.page-education table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  text-align: left;
}

.ielts-score-table thead,
.education table thead,
.transport table thead,
.page-education table thead {
  background: rgba(18, 42, 70, 0.08);
}

.comparison-table {
  display: grid;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.table-header {
  background: rgba(18, 42, 70, 0.08);
  padding: 1rem 1.5rem;
  font-weight: 700;
}

.table-content {
  display: grid;
}

.bank-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(18, 42, 70, 0.08);
}

.bank-feature {
  color: var(--muted);
}

.bank-name {
  font-weight: 700;
}

.tips-grid,
.career-grid,
.finance-grid,
.support-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.tip-card {
  align-items: flex-start;
}

.tip-title {
  font-weight: 700;
}

.tabs,
.tab-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.tab-btn {
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.skills-container {
  display: grid;
  gap: 1.75rem;
}

.skill-category {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.skill-level {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}

.level-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(58, 123, 213, 0.2);
}

.skills-highlight {
  background: rgba(16, 185, 129, 0.15);
  color: #0f5132;
}

.checklist-item,
.tip-item,
.document-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.tips-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tips-grid .tip-item {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.1rem, 2.6vw, 1.5rem);
}

.tips-grid .tip-title {
  font-weight: 700;
  color: var(--primary);
}

.tips-grid .tip-item p {
  color: var(--muted);
}

.document-details {
  display: grid;
  gap: 0.4rem;
}

.important-note h4,
.important-notice h3,
.priority-banner h3 {
  margin-bottom: 0.75rem;
}

.important-notice {
  background: rgba(255, 248, 225, 0.95);
  color: #7c5700;
}

.emergency-section {
  border-left: 6px solid #d53030;
  display: grid;
  gap: 0.75rem;
  align-items: flex-start;
}

.emergency-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.emergency-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: #d53030;
}

.finder {
  display: grid;
  gap: 1.5rem;
}

.input-group {
  display: grid;
  gap: 0.45rem;
}

.input-group label {
  font-weight: 600;
  color: var(--primary);
}

.input-group input,
.input-group select,
.search-container input,
.search-container select {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(18, 42, 70, 0.18);
  font-size: 1rem;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-group input,
.input-group select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.input-group input:focus,
.input-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(58, 123, 213, 0.25);
}

.calculator-tool {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
}

.points-form .form-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.calculator-help {
  color: var(--muted);
  font-size: 0.95rem;
}

.bonus-group {
  margin-top: 0.5rem;
  border: 1px solid rgba(18, 42, 70, 0.15);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  background: rgba(18, 42, 70, 0.03);
  display: grid;
  gap: 1rem;
}

.bonus-group legend {
  font-weight: 700;
  color: var(--primary);
  padding: 0 0.5rem;
}

.bonus-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.checkbox-option {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  background: rgba(18, 42, 70, 0.04);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.checkbox-option:hover {
  border-color: rgba(58, 123, 213, 0.35);
}

.checkbox-option input[type="checkbox"] {
  margin-top: 0.2rem;
}

.checkbox-option span {
  color: var(--text);
}

.points-results {
  margin-top: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid rgba(18, 42, 70, 0.2);
  background: rgba(18, 42, 70, 0.05);
  display: grid;
  gap: 0.35rem;
}

.points-results[data-status="eligible"] {
  border-left-color: #2f855a;
  background: rgba(47, 133, 90, 0.08);
}

.points-results[data-status="close"] {
  border-left-color: #d69e2e;
  background: rgba(214, 158, 46, 0.08);
}

.points-results[data-status="short"] {
  border-left-color: #c53030;
  background: rgba(197, 48, 48, 0.08);
}

.points-total {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
}

.points-message {
  color: var(--muted);
}

.points-reset {
  margin-top: 0.5rem;
  justify-self: flex-start;
  border: 1px solid rgba(18, 42, 70, 0.25);
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.points-reset:hover {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
}

.points-reset:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(58, 123, 213, 0.35);
}

.results {
  display: none;
  gap: 1rem;
}

.result-display {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.result-main {
  font-size: 1.8rem;
  font-weight: 700;
}

.result-breakdown {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.result-item strong {
  display: block;
  margin-bottom: 0.35rem;
}

.timeline {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.timeline.magazine-panel {
  margin-top: 0;
}

.timeline-item {
  border-left: 4px solid rgba(18, 42, 70, 0.2);
  padding-left: 1.55rem;
}

.timeline-item h4 {
  margin-bottom: 0.5rem;
}

.airport-steps li,
.tips-list li,
.links-list li,
.checklist li,
.quick-tips li {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  list-style: none;
}

.links-list a {
  font-weight: 600;
}

.apps-grid .resource-links,
.app-card .resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.resource-links a {
  font-weight: 600;
}

.calculator-container {
  display: grid;
  gap: 1.5rem;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  background: rgba(18, 42, 70, 0.04);
}

.cta-panel {
  display: grid;
  gap: 1rem;
}

.cta-panel a {
  justify-self: flex-start;
}

.cost-calculator,
.points-calculator,
.tax-calculator {
  display: grid;
  gap: 1.5rem;
}

.search-container {
  display: grid;
  gap: 1.25rem;
}

.tax-calculator .calculate-btn,
.points-calculator .calculate-btn {
  justify-self: flex-start;
}

.animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
}

.document-list {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.tips-box {
  display: grid;
  gap: 1.25rem;
}

.step,
.step-item {
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.75rem;
}

.step-content {
  display: grid;
  gap: 0.6rem;
}

.steps-timeline {
  display: grid;
  gap: 1.25rem;
}

.visa-details {
  background: rgba(18, 42, 70, 0.05);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--muted);
}

.site-footer {
  margin-top: 3rem;
  padding: 3rem 0;
  background: linear-gradient(180deg, rgba(18, 42, 70, 0.08), rgba(18, 42, 70, 0.02));
  border-top: 1px solid rgba(18, 42, 70, 0.12);
  box-shadow: 0 -10px 30px rgba(18, 42, 70, 0.08);
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 0 1.75rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.75rem;
  padding: 0.85rem 1.75rem;
  margin: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(18, 42, 70, 0.12);
  box-shadow: 0 14px 30px rgba(18, 42, 70, 0.12);
  backdrop-filter: blur(6px);
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--accent);
  transform: translateY(-1px);
}

.site-footer p {
  text-align: center;
  color: rgba(18, 42, 70, 0.7);
  font-size: 0.95rem;
}

/* Settlement destinations page */
.page-destinations .destinations-main {
  padding: 3rem 1.75rem 4rem;
  display: grid;
  gap: 3.5rem;
}

.destinations-hero {
  display: grid;
  gap: 3rem;
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 4vw, 3.5rem);
  box-shadow: var(--shadow);
  margin-top: 2.5rem;
}

.destinations-hero__copy .lede {
  margin: 1rem 0 1.5rem;
  font-size: 1.1rem;
  color: var(--muted);
}

.destinations-hero__visual img {
  border-radius: var(--radius-md);
  height: 100%;
  object-fit: cover;
}

.decision-factors {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 2.75rem);
  box-shadow: var(--shadow);
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

.decision-factors__header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.decision-factors__accent {
  width: clamp(80px, 14vw, 120px);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(248, 148, 6, 0.5) 100%);
}

.decision-factors__body {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
}

.decision-factors__intro {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}

.factor-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1rem, 3vw, 1.25rem);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.factor-card {
  background: rgba(18, 42, 70, 0.05);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  color: var(--muted);
  box-shadow: inset 0 0 0 1px rgba(18, 42, 70, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.factor-card strong {
  color: var(--text-primary);
}

.decision-note {
  margin-top: 1.75rem;
  color: var(--muted);
  font-style: italic;
}

.state-spotlights {
  display: grid;
  gap: 2.5rem;
}

  .state-spotlights__stack {
    display: grid;
    gap: 1.75rem;
  }

  .state-spotlight {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 3vw, 2.5rem);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent);
    display: grid;
    gap: clamp(1.05rem, 2vw, 1.35rem);
  }

  .state-spotlight__summary {
    display: grid;
    gap: 0.25rem;
  }

  .state-spotlight__headline {
    color: var(--muted);
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
  }

  .state-spotlight__summary::after {
    content: "";
    width: 3.5rem;
    height: 3px;
    background: var(--accent);
    border-radius: var(--radius-sm);
    display: block;
    margin-top: 0.35rem;
  }

.state-spotlight__summary h3 {
  margin: 0;
}

  .state-spotlight__insights {
    margin: 0;
    display: grid;
    gap: 0.85rem;
  }

  .state-spotlight__insights div {
    display: grid;
    gap: 0.35rem;
    padding: 0.65rem 0;
    border-top: 1px solid var(--border);
  }

  .state-spotlight__insights div:first-child {
    border-top: none;
    padding-top: 0;
  }

  .state-spotlight__insights div:last-child {
    padding-bottom: 0;
  }

  .state-spotlight__insights dt {
    font-weight: 600;
    color: var(--primary);
  }

  .state-spotlight__insights dd {
    margin: 0;
    color: var(--muted);
  }

.city-highlights {
  display: grid;
  gap: 2.5rem;
}

.city-highlights__list {
  display: grid;
  gap: 1.75rem;
}

.city-highlight {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.25rem;
}

.city-highlight__header {
  display: grid;
  gap: 0.35rem;
}

.city-highlight__tagline {
  color: var(--muted);
  font-weight: 500;
}

.city-highlight__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  color: var(--muted);
}

.metrics-section {
  display: grid;
  gap: 1.75rem;
}

.table-wrapper {
  margin-top: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow-x: auto;
}

.metrics-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.metrics-table th,
.metrics-table td {
  text-align: left;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.metrics-table thead th {
  background: rgba(18, 42, 70, 0.05);
  font-weight: 600;
  color: var(--primary);
}

.metrics-table tbody tr:last-child td {
  border-bottom: none;
}

.regional-pathways {
  display: grid;
  gap: 2rem;
}

.regional-pathways__list {
  display: grid;
  gap: 1.75rem;
}

.pathway-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.9rem;
}

.state-spotlight h3,
.city-highlight h3,
.pathway-card h3 {
  margin: 0;
}

.pathway-card ul {
  list-style: disc;
  margin: 0.75rem 0 0 1.1rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
}

.next-steps {
  background: var(--gradient);
  color: #f5f9ff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 2.75rem);
  box-shadow: var(--shadow);
}

.next-steps ol {
  margin: 1.25rem 0 0 1.25rem;
  color: inherit;
}

.next-steps li + li {
  margin-top: 0.5rem;
}

.next-steps__cta {
  margin-top: 1.5rem;
  font-weight: 600;
}

.next-steps__cta a {
  color: #f5f9ff;
  text-decoration: underline;
}

@media (max-width: 960px) {
  .destinations-hero {
    grid-template-columns: 1fr;
  }

  .destinations-hero__visual {
    order: -1;
  }

}

@media (min-width: 1040px) {
  .destinations-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr);
  }
}

@media (max-width: 720px) {
  .metrics-table {
    min-width: 100%;
  }
}

@media (max-width: 540px) {
  .destinations-hero,
  .decision-factors,
  .state-spotlight,
  .city-highlight,
  .pathway-card {
    padding: 1.5rem;
  }

  .next-steps {
    padding: 1.75rem;
  }
}

@media (min-width: 720px) {
  .state-spotlight__insights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1.5rem;
  }
}

@media (min-width: 800px) {
  .city-highlight__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1.5rem;
  }
}

@media (min-width: 860px) {
  .regional-pathways__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .regional-pathways__list .pathway-card:last-child {
    grid-column: span 2;
  }
}
@media (max-width: 640px) {
  .footer-links {
    width: 100%;
    justify-content: center;
    border-radius: 18px;
    padding: 1rem;
  }

  .footer-links a {
    width: 100%;
    text-align: center;
    padding: 0.35rem 0;
  }
}

@media (max-width: 960px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .container {
    padding-top: 7rem;
  }
  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 1rem;
  }
  .entry-hero__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .entry-hero__visual {
    min-height: 260px;
    padding: 1.5rem;
  }
  .hero-cta {
    justify-content: flex-start;
  }
  .citizenship-subnav {
    justify-content: flex-start;
  }
  .quick-links,
  .roadmap {
    padding: 1.75rem;
  }
  .magazine-hero,
  .feature-lede,
  .section-lead,
  .feature-spread {
    grid-template-columns: 1fr;
  }
  .issue-highlights {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  .hero-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .cta-section {
    padding: 1.75rem 1.25rem;
  }
  .citizenship-breadcrumb {
    padding: 0 1.25rem;
    margin: clamp(0rem, 1vw, 0.35rem) auto clamp(0.65rem, 1.8vw, 0.95rem);
  }
  .breadcrumb,
  .page-intro,
  .section,
  .content-section,
  .resource-section,
  .quick-start,
  .tax-calculator,
  .tips-section,
  .skills-section,
  .interactive-section,
  .job-search-section,
  .cost-calculator,
  .points-calculator,
  .finder,
  .results,
  .important-note,
  .important-notice,
  .cta-panel,
  .intro,
  .steps,
  .checklist {
    padding: 1.5rem;
  }
  .citizenship-section {
    padding: 1.6rem;
  }
  .citizenship-subnav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .citizenship-subnav a {
    text-align: center;
  }
  .card-icon,
  .tip-icon,
  .step-icon,
  .section-icon {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.35rem;
  }
  .entry-hero,
  .quick-links,
  .roadmap {
    padding: 1.6rem 1.4rem;
  }
  .entry-hero__visual {
    padding: 1.25rem;
    gap: 0.75rem;
  }
  .hero-visual-badge,
  .hero-visual-caption {
    position: static;
    width: 100%;
    box-shadow: none;
    border: none;
    background: rgba(255, 255, 255, 0.94);
    color: var(--primary);
  }
  .hero-visual-badge {
    justify-content: center;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
  }
  .hero-visual-caption {
    padding: 0.75rem 0.85rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.85rem;
  }
  .entry-hero__visual::after {
    display: none;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .quick-link-card {
    padding: 1.35rem;
  }
  .roadmap-links li a {
    grid-template-columns: 1fr;
  }
  .step-number {
    left: 1rem;
  }
  .timeline-item {
    padding-left: 1rem;
  }
  .issue-highlights {
    grid-template-columns: 1fr;
  }
  .magazine-hero {
    padding: 1.75rem;
  }
  .feature-lede,
  .magazine-section {
    padding: 1.5rem;
  }
}

.books-market {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(2rem, 4vw, 3rem);
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.books-market__intro > p {
  color: var(--muted);
  max-width: 72ch;
}

.books-market__disclaimer {
  font-size: 0.95rem;
  color: var(--muted);
  background: rgba(18, 42, 70, 0.05);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-top: 0.75rem;
}

.books-market__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.books-market__control {
  flex: 1 1 240px;
  display: grid;
  gap: 0.5rem;
}

.books-market__control label {
  font-weight: 600;
  color: var(--primary);
}

.books-market__control select,
.books-market__control input[type="search"] {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(18, 42, 70, 0.15);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  background: #f9fbff;
  transition: var(--transition);
}

.books-market__control select:focus,
.books-market__control input[type="search"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(58, 123, 213, 0.25);
}

.books-market__results {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(560px, 1fr));
}

.book-card {
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(18, 42, 70, 0.08);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 251, 0.9));
  box-shadow: 0 14px 28px rgba(17, 38, 61, 0.08);
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(320px, 1fr);
  gap: 2.25rem;
  align-items: start;
}

.book-card[data-highlight="true"] {
  border-color: var(--accent);
  box-shadow: 0 18px 36px rgba(58, 123, 213, 0.25);
}

.book-card__figure {
  margin: 0;
  position: relative;
  display: flex;
  align-items: stretch;
}

.book-card__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius-md) - 4px);
  box-shadow: 0 12px 24px rgba(17, 38, 61, 0.18);
}

.book-card__content {
  display: grid;
  gap: 0.65rem;
}

.book-card__tag {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.book-card__title {
  font-size: 1.1rem;
  color: var(--primary);
}

.book-card__title-link {
  color: inherit;
  text-decoration: none;
}

.book-card__title-link:hover,
.book-card__title-link:focus-visible {
  text-decoration: underline;
}

.book-card__author {
  font-weight: 600;
  color: var(--muted);
}

.book-card__description {
  color: var(--text);
  font-size: 0.95rem;
}

.book-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}

@media (max-width: 720px) {
  .books-market__results {
    grid-template-columns: minmax(0, 1fr);
  }

  .book-card {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    text-align: left;
  }

  .book-card__figure {
    max-width: 240px;
    justify-self: center;
  }
}

.books-market__empty {
  font-weight: 600;
  color: var(--muted);
  background: rgba(18, 42, 70, 0.05);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-top: -0.5rem;
}

.books-market__noscript {
  margin-top: -0.25rem;
  background: rgba(18, 42, 70, 0.05);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  color: var(--muted);
  font-weight: 600;
}

.ad-container {
  margin: 1.5rem auto;
  padding: 0 1rem;
  max-width: 100%;
}

.ad-container ins {
  display: block;
  text-align: center;
}

.ad-container.ad-top {
  margin-top: 1.25rem;
}

.ad-container.ad-bottom {
  margin-bottom: 0.5rem;
}

@media (max-width: 640px) {
  .books-market {
    padding: 1.75rem;
  }

  .books-market__results {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .nav-links {
    gap: 0.75rem;
  }
  .nav-links a {
    font-size: 0.95rem;
  }
  .cta-buttons {
    flex-direction: column;
  }
  .hero-meta {
    gap: 0.4rem;
  }
}
