/* Sri Lanka eVisa â€” portal design (aligned with govt.sl navy/cyan identity) */
:root {
  --ev-ink: #1a1a1a;
  --ev-ink-soft: #4a5568;
  --ev-navy: #002e62;
  --ev-navy-mid: #003f7d;
  --ev-navy-deep: #001a38;
  --ev-cyan: #50d0f7;
  --ev-paper: #f5f8fb;
  --ev-line: #c5d4e0;
  --ev-white: #ffffff;
  --ev-font-display: "Oswald", "Syne", system-ui, sans-serif;
  --ev-font-body: "IBM Plex Sans", Tahoma, system-ui, sans-serif;
  --ev-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ev-max: 1160px;
  --ev-teal-deep: var(--ev-navy);
  --ev-teal-mid: #0a7bc4;
  --ev-fs-base: 15px;
  --ev-section-y: 2.25rem;
  --ev-head-gap: 2rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.ev-body {
  margin: 0;
  font-family: var(--ev-font-body);
  font-size: var(--ev-fs-base);
  line-height: 1.65;
  color: var(--ev-ink);
  background: linear-gradient(180deg, #eef3f8 0%, var(--ev-paper) 35%, #f7f9fb 100%);
  min-height: 100vh;
}

body.ev-nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ev-teal-mid); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ev-teal-deep); }

/* â€”â€” Header (navy bar + tab menu like slvisa) â€”â€” */
.ev-site-header {
  position: relative;
  z-index: 100;
}

.ev-topbar {
  background-image: linear-gradient(to top, #003f7d 0%, #002e62 100%);
}

.ev-topbar-inner {
  min-height: 72px;
  justify-content: space-between;
  position: relative;
  gap: 1rem;
}

.ev-header-inner {
  width: min(100% - 2rem, var(--ev-max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ev-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
  text-decoration: none;
  color: #fff;
  min-width: 0;
  flex-shrink: 1;
}

.ev-brand-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 64px;
}

.ev-brand-icon .ev-map-icon {
  width: 40px;
  height: 60px;
  display: block;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(78%) sepia(42%) saturate(747%) hue-rotate(157deg) brightness(101%) contrast(96%);
}

.ev-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  text-align: left;
}

.ev-brand-text .ev-brand-name,
.ev-brand-text .ev-brand-si {
  display: block;
  margin: 0;
  padding: 0;
}

.ev-brand-name {
  font-family: var(--ev-font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: #fff;
}

.ev-brand-si {
  font-family: "Noto Sans Sinhala", "IBM Plex Sans", sans-serif;
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  font-weight: 500;
  line-height: 1.3;
  color: #50d0f7;
}

.ev-menubar {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.ev-menubar .ev-header-inner,
.ev-menubar-inner {
  min-height: 44px;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
}

.ev-primary-nav {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 0.15rem;
  width: auto;
  margin: 0;
  margin-left: auto;
  padding: 0;
}

.ev-nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  font-family: Tahoma, var(--ev-font-body);
  color: #002e62;
  text-decoration: none;
  text-transform: capitalize;
  padding: 0.65rem 0.95rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.ev-nav-link::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.2rem;
  height: 2px;
  background: #50d0f7;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.ev-nav-link:hover {
  color: #0a7bc4;
  background: transparent;
}

.ev-nav-link:hover::after,
.ev-nav-link.is-active::after {
  transform: scaleX(1);
}

.ev-nav-link.is-active {
  color: #0a7bc4;
  background: transparent;
}

.ev-nav-short { display: none; }

.ev-nav-toggle {
  display: none;
  flex-shrink: 0;
  width: 40px;
  height: 36px;
  margin: 0;
  border: 1px solid #bcd2e6;
  border-radius: 3px;
  background: #f5f8fb;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.ev-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #002e62;
  transition: transform 0.25s var(--ev-ease), opacity 0.2s ease;
}

.ev-nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.ev-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ev-nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* â€”â€” Full-width hero + overlapping left menu â€”â€” */
.ev-hero {
  position: relative;
  width: 100%;
  height: 260px;
  min-height: 220px;
  max-height: 280px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--ev-white);
  border-radius: 0;
}

.ev-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ev-hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.ev-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.03);
  animation: ev-hero-ken 16s var(--ev-ease) forwards;
}

@keyframes ev-hero-ken {
  from { transform: scale(1.03); }
  to { transform: scale(1); }
}

.ev-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(0, 46, 98, 0.88) 0%, rgba(0, 46, 98, 0.55) 48%, rgba(0, 46, 98, 0.28) 100%),
    linear-gradient(0deg, rgba(0, 26, 56, 0.7) 0%, transparent 50%);
}

.ev-hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 1.25rem, var(--ev-max));
  margin: 0 auto;
  padding: 1.25rem 0 1.35rem;
  /* leave room on left for overlapping sidebar (~160px) */
  padding-left: 168px;
  box-sizing: border-box;
}

.ev-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  max-width: 36rem;
  animation: ev-rise 0.9s var(--ev-ease) both;
}

@keyframes ev-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.ev-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* â€”â€” Page shell: menu overlaps into slider â€”â€” */
.ev-page-shell {
  width: min(100% - 1.25rem, var(--ev-max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  position: relative;
  z-index: 4;
}

.ev-sidebar {
  --ev-side-overlap: 120px; /* part inside the slider */
  margin-top: calc(var(--ev-side-overlap) * -1);
  background: linear-gradient(180deg, #003f7d 0%, #002e62 40%, #001f45 100%);
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 8px 24px rgba(0, 26, 56, 0.28),
    0 0 0 1px rgba(80, 208, 247, 0.25);
  position: relative;
  z-index: 6;
}

.ev-sidebar-head {
  background: #005dab;
  color: #fff;
  text-align: center;
  font-family: Tahoma, var(--ev-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.7rem 0.4rem;
  border-bottom: 2px solid #50d0f7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
}

.ev-side-close {
  display: none;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.ev-side-backdrop {
  display: none;
}

.ev-sidebar-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.15rem 0 0.35rem;
}

.ev-sidebar-nav a {
  display: block;
  padding: 0.65rem 0.55rem;
  font-family: Tahoma, var(--ev-font-body);
  font-size: 12px;
  font-weight: normal;
  color: #fff !important;
  text-align: center;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(0, 118, 208, 0.85);
  line-height: 1.3;
  position: relative;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.ev-sidebar-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: #50d0f7;
  transition: width 0.2s ease;
}

.ev-sidebar-nav a span {
  position: relative;
  z-index: 1;
}

.ev-sidebar-nav li:last-child a {
  border-bottom: 0;
}

.ev-sidebar-nav a:hover,
.ev-sidebar-nav a:focus-visible {
  color: #50d0f7 !important;
  background: rgba(0, 0, 0, 0.18);
  outline: none;
}

.ev-sidebar-nav a:hover::before,
.ev-sidebar-nav a:focus-visible::before {
  width: 3px;
}

.ev-page-main {
  min-width: 0;
  padding-top: 0.85rem;
}

.ev-page-main .ev-news {
  margin-top: 0;
}

/* Scrolling news reader (slvisa-style) */
.ev-news {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 0.75rem 0 0;
  min-height: 42px;
  background: #eee;
  border: 1px solid #d7d7d7;
  overflow: hidden;
  position: relative;
}

.ev-news-badge {
  flex-shrink: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  background: #eee;
  padding: 0 0.15rem 0 0;
}

.ev-news-badge img {
  display: block;
  width: 148px;
  max-width: 40vw;
  height: auto;
  margin: -6px 0 -6px -4px;
}

.ev-news-track {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0.35rem 0.5rem 0.35rem 0;
}

.ev-news-marquee {
  display: flex;
  width: max-content;
  gap: 4rem;
  animation: ev-news-scroll 42s linear infinite;
}

.ev-news-track:hover .ev-news-marquee {
  animation-play-state: paused;
}

.ev-news-text {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1.45;
  color: #666;
  white-space: nowrap;
}

@keyframes ev-news-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ev-news-marquee {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    gap: 0;
  }
  .ev-news-text {
    white-space: normal;
  }
  .ev-news-text[aria-hidden="true"] {
    display: none;
  }
}

.ev-page-main > .ev-section {
  padding-left: 0.15rem;
  padding-right: 0.15rem;
}

.ev-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  font-family: var(--ev-font-body);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 3px;
  border: 1px solid transparent;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ev-btn-primary {
  background: var(--ev-cyan);
  color: #002e62 !important;
}
.ev-btn-primary:hover { background: #7adcf9; color: #002e62 !important; }

.ev-btn-ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.5);
}
.ev-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff !important;
}

.ev-btn-teal {
  background: #002e62;
  color: #fff !important;
}
.ev-btn-teal:hover { background: #003f7d; color: #fff !important; }

.ev-btn-outline {
  background: transparent;
  color: #002e62 !important;
  border-color: var(--ev-line);
}
.ev-btn-outline:hover {
  border-color: #002e62;
  background: rgba(0, 46, 98, 0.05);
}

/* â€”â€” Sections â€”â€” */
.ev-section {
  padding: var(--ev-section-y) 0;
}

.ev-section-head {
  max-width: 40rem;
  margin-bottom: var(--ev-head-gap);
}

.ev-intro-head {
  max-width: none;
  width: 100%;
}

.ev-page-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0 0 0.4rem;
  font-family: var(--ev-font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #002e62;
  text-align: center;
}

.ev-flag-icon {
  flex-shrink: 0;
  width: 28px;
  height: 21px;
  margin-top: 0;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 46, 98, 0.15);
}

.ev-intro-si {
  margin: 0 0 1.15rem;
  padding-left: 0;
  font-family: "Noto Sans Sinhala", "IBM Plex Sans", sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.12rem);
  font-weight: 500;
  line-height: 1.45;
  color: #0a7bc4;
  text-align: center;
}

.ev-intro-copy {
  margin: 0 0 1.5rem;
  max-width: none;
  width: 100%;
}

.ev-intro-copy p {
  margin: 0 0 0.9rem;
  color: var(--ev-ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}

.ev-intro-copy p:last-child {
  margin-bottom: 0;
}

.ev-section-head h2 {
  font-family: var(--ev-font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ev-teal-deep);
  margin: 0 0 0.55rem;
  line-height: 1.2;
}

.ev-section-head p {
  margin: 0;
  color: var(--ev-ink-soft);
  font-size: 1.02rem;
}

/* Visa pathway cards */
.ev-pathway-go {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ev-teal-mid);
  white-space: nowrap;
  transition: transform 0.25s var(--ev-ease), color 0.2s ease;
}

.ev-pathways-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  border: 0;
  background: transparent;
  overflow: visible;
}

.ev-pathway-card {
  display: flex;
  flex-direction: column;
  background: var(--ev-white);
  border: 1px solid var(--ev-line);
  border-radius: 6px;
  padding: 1.25rem 1.15rem 1.35rem;
  min-height: 100%;
}

.ev-pathway-card h3 {
  font-family: var(--ev-font-display);
  font-size: 1.15rem;
  margin: 0 0 0.55rem;
  color: var(--ev-teal-deep);
  letter-spacing: -0.02em;
  text-align: center;
}

.ev-pathway-card > p {
  margin: 0 0 0.75rem;
  color: var(--ev-ink-soft);
  font-size: 0.92rem;
}

.ev-pathway-card ul {
  margin: 0 0 1.1rem;
  padding-left: 1.15rem;
  flex: 1 1 auto;
  color: var(--ev-ink-soft);
  font-size: 0.9rem;
}

.ev-pathway-card li {
  margin-bottom: 0.35rem;
}

.ev-pathway-card .ev-pathway-go {
  align-self: center;
  text-decoration: none;
  margin-top: auto;
}

.ev-pathway-card .ev-pathway-go:hover {
  transform: translateX(3px);
}

.ev-apply-steps {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  color: var(--ev-ink-soft);
}

.ev-apply-steps li {
  margin-bottom: 0.55rem;
  line-height: 1.5;
}

.ev-panel h3 {
  font-family: var(--ev-font-display);
  font-size: 1.05rem;
  margin: 1.1rem 0 0.45rem;
  color: var(--ev-teal-deep);
}

.ev-panel ol {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
  color: var(--ev-ink-soft);
}

.ev-panel ol li {
  margin-bottom: 0.4rem;
}

.ev-section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(238, 245, 242, 0.9) 100%);
  border-block: 1px solid var(--ev-line);
}

/* Split info */
.ev-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: start;
}

.ev-prose h2,
.ev-prose h3 {
  font-family: var(--ev-font-display);
  color: var(--ev-teal-deep);
  letter-spacing: -0.02em;
}

.ev-prose h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  margin: 0 0 0.75rem;
}

.ev-prose h3 {
  font-size: 1.05rem;
  margin: 1.35rem 0 0.45rem;
}

.ev-prose p,
.ev-prose li {
  color: var(--ev-ink-soft);
}

.ev-prose ul {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
}

.ev-prose li { margin-bottom: 0.35rem; }

.ev-visa-sample {
  border: 1px solid var(--ev-line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--ev-white);
}

.ev-visa-sample img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  background: #f0f4f2;
}

.ev-visa-sample figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--ev-ink-soft);
  border-top: 1px solid var(--ev-line);
}

/* Policy + FAQ row */
.ev-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.ev-panel {
  background: var(--ev-white);
  border: 1px solid var(--ev-line);
  border-radius: 6px;
  padding: 1.5rem 1.4rem;
}

.ev-panel h2 {
  font-family: var(--ev-font-display);
  font-size: 1.25rem;
  margin: 0 0 0.85rem;
  color: var(--ev-teal-deep);
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--ev-line);
}

.ev-panel p,
.ev-panel li {
  color: var(--ev-ink-soft);
  font-size: 0.95rem;
}

.ev-panel ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
}

.ev-callout {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(80, 208, 247, 0.15);
  border-left: 3px solid #002e62;
  font-size: 0.9rem;
  color: var(--ev-ink);
}

/* FAQ */
.ev-faq details {
  border-bottom: 1px solid var(--ev-line);
}

.ev-faq details:last-child { border-bottom: 0; }

.ev-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 0.95rem 0;
  font-weight: 600;
  color: var(--ev-teal-deep);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

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

.ev-faq summary::after {
  content: "+";
  font-family: var(--ev-font-display);
  font-size: 1.25rem;
  color: #0a7bc4;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.ev-faq details[open] summary::after {
  content: "–";
}

.ev-faq details p {
  margin: 0 0 1rem;
  padding-right: 1.5rem;
  animation: ev-rise 0.35s var(--ev-ease) both;
}

.ev-faq details ul,
.ev-faq details ol {
  margin: 0 0 1rem;
  padding: 0 1.5rem 0 1.2rem;
  color: var(--ev-ink-soft);
  font-size: 0.95rem;
}

.ev-faq details li {
  margin-bottom: 0.3rem;
}

/* Extension section (simple) */
.ev-extension {
  padding-bottom: 2rem;
}

.ev-extension .ev-section-head h2 {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
}

.ev-extension-box {
  background: var(--ev-white);
  border: 1px solid var(--ev-line);
  border-radius: 6px;
  padding: 1.35rem 1.25rem;
}

.ev-extension-box h3 {
  font-family: var(--ev-font-display);
  font-size: 1.05rem;
  margin: 1.25rem 0 0.5rem;
  color: var(--ev-teal-deep);
}

.ev-extension-box h3:first-child {
  margin-top: 0;
}

.ev-extension-box p,
.ev-extension-box li {
  color: var(--ev-ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.ev-extension-box ul,
.ev-extension-box ol {
  margin: 0.35rem 0 0.75rem;
  padding-left: 1.2rem;
}

.ev-extension-box li {
  margin-bottom: 0.35rem;
}

.ev-extension-note {
  margin: 0.75rem 0 0;
  padding: 0.75rem 0.85rem;
  background: var(--ev-paper);
  border-left: 3px solid #0a7bc4;
  font-size: 0.92rem;
}

.ev-extension-action {
  margin: 1.25rem 0 0;
}

.ev-disclaimer-simple {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--ev-line);
  font-size: 0.88rem;
  color: var(--ev-ink-soft);
  line-height: 1.5;
}

.ev-disclaimer-simple a {
  color: #0a7bc4;
}

/* Footer */
.ev-footer {
  background: #001a38;
  color: rgba(255, 255, 255, 0.78);
  padding: 3.25rem 0 1.5rem;
}

.ev-footer-inner {
  width: min(100% - 2rem, var(--ev-max));
  margin-inline: auto;
}

.ev-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 2rem;
  margin-bottom: 1.5rem;
}

.ev-footer-col {
  min-width: 0;
}

.ev-footer-brand {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
}

.ev-eservices-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 0;
  text-decoration: none;
  line-height: 1.1;
}

.ev-eservices-badge:hover .ev-eservices-line {
  color: var(--ev-cyan);
}

.ev-eservices-line {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  font-style: normal;
  color: rgba(255, 255, 255, 0.88);
}

.ev-eservices-name {
  display: inline-block;
  padding: 0.22rem 0.6rem 0.28rem;
  background: var(--ev-navy);
  color: #fff;
  font-family: var(--ev-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ev-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.ev-footer a:hover { color: #50d0f7; }

.ev-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ev-footer li { margin-bottom: 0.4rem; }

.ev-footer li a { font-size: 0.9rem; }

.ev-footer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.ev-footer-bar p { margin: 0; }

/* â€”â€” Responsive â€”â€” */
@media (max-width: 991px) {
  .ev-page-shell {
    grid-template-columns: 136px minmax(0, 1fr);
  }
  .ev-hero-inner {
    padding-left: 152px;
  }
  .ev-sidebar {
    --ev-side-overlap: 100px;
  }
  .ev-split,
  .ev-two-col {
    grid-template-columns: 1fr 1fr;
  }

  .ev-footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }

  .ev-footer-brand {
    justify-content: flex-end;
  }

  .ev-nav-link {
    font-size: 13px;
    padding: 0.65rem 0.7rem;
  }
  .ev-nav-full { display: none; }
  .ev-nav-short { display: inline; }
}

@media (max-width: 768px) {
  .ev-nav-toggle {
    display: inline-flex !important;
  }

  .ev-topbar-inner {
    min-height: 56px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.35rem 0;
  }

  .ev-brand {
    gap: 0.4rem;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
  }

  .ev-brand-icon {
    width: 26px;
    height: 34px;
  }

  .ev-brand-icon .ev-map-icon {
    width: 24px;
    height: 34px;
  }

  .ev-brand-name {
    font-size: 0.72rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ev-brand-si {
    font-size: 0.58rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ev-menubar .ev-header-inner,
  .ev-menubar-inner {
    min-height: 0;
    padding: 0.15rem 0 0.25rem;
    align-items: center;
    justify-content: space-between;
  }

  .ev-primary-nav {
    padding: 0;
    gap: 0;
    justify-content: flex-end;
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
  }

  .ev-nav-link {
    flex: 0 1 auto;
    min-width: 0;
    text-align: center;
    padding: 0.45rem 0.4rem;
    font-size: clamp(0.62rem, 2.6vw, 0.75rem);
    line-height: 1.15;
  }

  .ev-nav-link::after {
    left: 0.35rem;
    right: 0.35rem;
    height: 2px;
  }

  .ev-nav-full { display: none; }
  .ev-nav-short { display: inline; }

  body.ev-nav-open { overflow: hidden; }

  .ev-side-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 10040;
    background: rgba(0, 26, 56, 0.45);
  }

  .ev-side-backdrop[hidden] {
    display: none !important;
  }

  .ev-page-shell {
    grid-template-columns: 1fr;
    margin-top: 0.65rem;
  }

  .ev-hero-inner {
    padding-left: 0;
    padding-right: 0;
  }

  .ev-sidebar {
    --ev-side-overlap: 0px;
    margin-top: 0;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(300px, 88vw);
    z-index: 10050;
    border-radius: 0;
    transform: translateX(105%);
    transition: transform 0.3s var(--ev-ease);
    overflow-y: auto;
    box-shadow: -6px 0 24px rgba(0, 0, 0, 0.25);
  }

  .ev-sidebar.is-open {
    transform: translateX(0);
  }

  .ev-sidebar-head {
    display: flex;
    justify-content: flex-start;
    padding-left: 1rem;
    padding-right: 2.5rem;
  }

  .ev-side-close {
    display: block;
  }

  .ev-sidebar-nav ul {
    display: block;
    overflow: visible;
    padding: 0.15rem 0 0.35rem;
  }

  .ev-sidebar-nav li {
    display: block;
  }

  .ev-sidebar-nav a {
    border-bottom: 1px solid rgba(0, 118, 208, 0.85);
    border-right: 0;
    padding: 0.85rem 1rem;
    text-align: left;
    white-space: normal;
    font-size: 0.92rem;
  }

  .ev-sidebar-nav a::before {
    display: block;
  }

  .ev-sidebar-nav li:last-child a {
    border-bottom: 0;
    border-right: 0;
  }

  .ev-hero {
    height: 210px;
    min-height: 190px;
    max-height: 230px;
  }

  .ev-hero-content {
    margin-left: 0;
    margin-right: 0;
    padding: 0 0.25rem;
    max-width: none;
  }

  .ev-page-title {
    flex-wrap: wrap;
  }

  .ev-page-main {
    padding-top: 0;
  }

  .ev-news-badge img {
    width: 110px;
    margin: -4px 0 -4px -2px;
  }

  .ev-news-text {
    font-size: 10px;
  }

  .ev-pathways-cards {
    grid-template-columns: 1fr;
  }

  .ev-split,
  .ev-two-col {
    grid-template-columns: 1fr;
  }

  .ev-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .ev-footer-brand {
    justify-content: flex-start;
  }

  .ev-footer-bar { flex-direction: column; }
}

/* Mobile compact typography & spacing (all ev-* pages) */
@media (max-width: 768px) {
  :root {
    --ev-fs-base: 13px;
    --ev-section-y: 1.2rem;
    --ev-head-gap: 0.9rem;
  }

  html { font-size: 14px; }

  body.ev-body {
    line-height: 1.55;
  }

  .ev-section-head h2 {
    font-size: 1.12rem;
    margin-bottom: 0.35rem;
  }

  .ev-section-head p {
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .ev-page-title {
    font-size: 1.08rem;
    gap: 0.35rem;
    margin-bottom: 0.3rem;
  }

  .ev-flag-icon {
    width: 22px;
    height: 16px;
  }

  .ev-intro-si {
    font-size: 0.78rem;
    margin-bottom: 0.65rem;
  }

  .ev-intro-copy {
    margin-bottom: 0.85rem;
  }

  .ev-intro-copy p {
    font-size: 0.84rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
  }

  .ev-page-main p,
  .ev-page-main li {
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .ev-prose h2 {
    font-size: 1.08rem;
    margin-bottom: 0.45rem;
  }

  .ev-prose h3,
  .ev-panel h3,
  .ev-pathway-card h3,
  .ev-extension-box h3 {
    font-size: 0.92rem;
  }

  .ev-panel h2 {
    font-size: 0.98rem;
    margin-bottom: 0.55rem;
    padding-bottom: 0.4rem;
  }

  .ev-panel p,
  .ev-panel li,
  .ev-prose p,
  .ev-prose li,
  .ev-pathway-card > p,
  .ev-pathway-card ul,
  .ev-pathway-card li,
  .ev-apply-steps,
  .ev-apply-steps li,
  .ev-extension-box p,
  .ev-extension-box li,
  .ev-faq details p,
  .ev-faq details li,
  .ev-callout {
    font-size: 0.82rem;
    line-height: 1.48;
  }

  .ev-panel {
    padding: 0.85rem 0.8rem;
  }

  .ev-pathway-card {
    padding: 0.8rem 0.75rem 0.9rem;
  }

  .ev-two-col,
  .ev-split {
    gap: 0.9rem;
  }

  .ev-extension .ev-section-head h2 {
    font-size: 1.02rem;
  }

  .ev-extension-note,
  .ev-disclaimer-simple {
    font-size: 0.78rem;
  }

  .ev-extension-note {
    padding: 0.5rem 0.6rem;
  }

  .ev-btn {
    font-size: 0.76rem;
    padding: 0.4rem 0.72rem;
  }

  .ev-hero {
    height: 175px;
    min-height: 160px;
    max-height: 190px;
  }

  .ev-footer {
    padding: 1.65rem 0 0.95rem;
  }

  .ev-footer-grid {
    gap: 0.85rem 1rem;
    margin-bottom: 0.85rem;
  }

  .ev-footer li {
    margin-bottom: 0.25rem;
  }

  .ev-footer li a {
    font-size: 0.76rem;
  }

  .ev-footer-bar {
    font-size: 0.7rem;
    padding-top: 0.75rem;
  }

  .ev-eservices-name {
    font-size: 0.88rem;
    padding: 0.16rem 0.42rem 0.2rem;
  }

  .ev-eservices-line {
    font-size: 0.65rem;
  }

  .ev-faq summary {
    padding: 0.6rem 0;
    font-size: 0.84rem;
  }

  .ev-faq summary::after {
    font-size: 1rem;
  }

  .ev-visa-sample figcaption {
    font-size: 0.76rem;
    padding: 0.5rem 0.7rem;
  }

  .ev-header-inner,
  .ev-footer-inner {
    width: min(100% - 1.25rem, var(--ev-max));
  }
}

@media (max-width: 480px) {
  :root {
    --ev-fs-base: 12.5px;
    --ev-section-y: 1rem;
    --ev-head-gap: 0.75rem;
  }

  html { font-size: 13px; }

  .ev-section-head h2,
  .ev-prose h2 {
    font-size: 1.02rem;
  }

  .ev-page-title {
    font-size: 1rem;
  }

  .ev-page-main p,
  .ev-page-main li,
  .ev-panel p,
  .ev-panel li,
  .ev-prose p,
  .ev-prose li {
    font-size: 0.8rem;
  }

  .ev-footer-grid {
    gap: 0.65rem 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* —— Breadcrumb —— */
.ev-breadcrumb {
  margin: 0 0 1rem;
  padding: 0.55rem 0.75rem;
  background: var(--ev-white);
  border: 1px solid var(--ev-line);
  border-radius: 4px;
}

.ev-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  line-height: 1.4;
}

.ev-breadcrumb-item {
  display: inline-flex;
  align-items: center;
  color: var(--ev-ink-soft);
}

.ev-breadcrumb-item:not(.is-current)::after {
  content: "/";
  margin: 0 0.45rem;
  color: #9aa8b6;
  font-weight: 400;
}

.ev-breadcrumb-item a {
  color: var(--ev-teal-mid);
  text-decoration: none;
  font-weight: 600;
}

.ev-breadcrumb-item a:hover {
  color: var(--ev-teal-deep);
  text-decoration: underline;
}

.ev-breadcrumb-item.is-current span {
  color: var(--ev-teal-deep);
  font-weight: 600;
}

/* —— Inner pages (no hero) —— */
.ev-page-shell--inner {
  margin-top: 1.25rem;
  margin-bottom: 2rem;
}

.ev-page-shell--inner .ev-sidebar {
  margin-top: 0;
}

.ev-btn-success {
  background: #2e7d4a;
  color: #fff !important;
}
.ev-btn-success:hover { background: #25663c; color: #fff !important; }

.ev-btn-danger {
  background: #b42318;
  color: #fff !important;
}
.ev-btn-danger:hover { background: #912018; color: #fff !important; }

.ev-btn-warning {
  background: #b8860b;
  color: #fff !important;
}
.ev-btn-warning:hover { background: #9a7209; color: #fff !important; }

/* —— Visa status page —— */
.ev-status-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.ev-status-lead {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--ev-ink-soft);
  font-size: 1rem;
  line-height: 1.65;
  text-align: center;
}

.ev-form-group {
  margin-bottom: 1rem;
}

.ev-form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ev-teal-deep);
  margin-bottom: 0.35rem;
}

.ev-form-control {
  display: block;
  width: 100%;
  padding: 0.55rem 0.7rem;
  font-family: var(--ev-font-body);
  font-size: 0.92rem;
  color: var(--ev-ink);
  background: var(--ev-white);
  border: 1px solid var(--ev-line);
  border-radius: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ev-form-control:focus {
  outline: 0;
  border-color: #0a7bc4;
  box-shadow: 0 0 0 3px rgba(10, 123, 196, 0.15);
}

.ev-form-control:disabled {
  background: #eef3f8;
  color: var(--ev-ink-soft);
  cursor: not-allowed;
}

.ev-form-hint {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.78rem;
  color: var(--ev-ink-soft);
}

.ev-status-or {
  display: flex;
  align-items: center;
  margin: 1rem 0;
  color: var(--ev-ink-soft);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ev-status-or::before,
.ev-status-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ev-line);
}

.ev-status-or span { padding: 0 0.75rem; }

.ev-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.ev-status-alert {
  border-radius: 4px;
  padding: 0.85rem 1rem;
  margin-top: 1rem;
  border: 1px solid transparent;
  font-size: 0.92rem;
  line-height: 1.5;
}

.ev-status-alert-success {
  background: #e8f5ec;
  border-color: #b8dfc4;
  color: #1f5c33;
}

.ev-status-alert-danger {
  background: #fdecea;
  border-color: #f5c2be;
  color: #912018;
}

.ev-status-alert-info {
  background: #f5f8fb;
  border-color: var(--ev-line);
  color: var(--ev-ink-soft);
}

.ev-status-request {
  margin-top: 1rem;
  border: 1px solid var(--ev-line);
  border-radius: 6px;
  background: var(--ev-white);
  overflow: hidden;
}

.ev-status-request-head {
  background: linear-gradient(180deg, #f5f8fb 0%, #eef3f8 100%);
  padding: 0.75rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ev-teal-deep);
  border-bottom: 1px solid var(--ev-line);
}

.ev-status-request-body { padding: 1rem; }

.ev-status-result {
  border: 1px solid var(--ev-line);
  border-radius: 6px;
  background: var(--ev-white);
  margin-top: 1.25rem;
  overflow: hidden;
}

.ev-status-result-head {
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem;
  background: var(--ev-navy);
  color: #fff;
}

.ev-status-result-head h2 {
  margin: 0;
  font-family: var(--ev-font-display);
  font-size: 1.1rem;
  color: #fff;
}

.ev-status-result--success .ev-status-result-head { background: #2e7d4a; }
.ev-status-result--warning .ev-status-result-head { background: #9a7209; }
.ev-status-result--danger .ev-status-result-head { background: #912018; }
.ev-status-result--info .ev-status-result-head { background: var(--ev-navy); }

.ev-status-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.ev-status-result-body {
  padding: 1rem;
  color: var(--ev-ink-soft);
}

.ev-status-result-body p {
  margin: 0 0 0.85rem;
  line-height: 1.6;
}

.ev-status-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  border: 1px solid var(--ev-line);
  font-size: 0.9rem;
}

.ev-status-table th,
.ev-status-table td {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--ev-line);
  text-align: left;
  vertical-align: top;
}

.ev-status-table th {
  background: #f5f8fb;
  color: var(--ev-teal-deep);
  font-weight: 700;
  width: 38%;
}

.ev-status-table td { color: var(--ev-ink-soft); }

.ev-label {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ev-label-success { background: #e8f5ec; color: #1f5c33; }
.ev-label-danger { background: #fdecea; color: #912018; }
.ev-label-warning { background: #fff4d6; color: #7a5a00; }
.ev-label-default { background: #eef3f8; color: var(--ev-ink-soft); }

.ev-status-applicant-title {
  font-family: var(--ev-font-display);
  font-size: 1rem;
  color: var(--ev-teal-deep);
  margin: 1rem 0 0.65rem;
}

.ev-status-applicant {
  border: 1px solid var(--ev-line);
  border-radius: 4px;
  background: var(--ev-white);
  margin-bottom: 0.65rem;
  font-size: 0.88rem;
}

.ev-status-applicant:last-child { margin-bottom: 0; }

.ev-status-applicant-label {
  background: #f5f8fb;
  padding: 0.55rem 0.75rem;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ev-teal-deep);
  border-bottom: 1px solid var(--ev-line);
}

.ev-status-applicant-body { padding: 0.75rem; }

.ev-status-applicant-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1rem;
}

.ev-status-applicant-fields .ev-status-field:nth-child(3) {
  grid-column: 1 / -1;
}

.ev-status-field-label {
  display: block;
  font-weight: 700;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ev-teal-deep);
  margin-bottom: 0.15rem;
}

.ev-status-field-value {
  display: block;
  color: var(--ev-ink-soft);
  word-break: break-word;
}

.ev-status-field-value.is-approved { color: #1f5c33; font-weight: 700; }
.ev-status-field-value.is-pending { color: #9a7209; font-weight: 700; }
.ev-status-field-value.is-rejected { color: #912018; font-weight: 700; }

.ev-status-applicant-action {
  padding: 0 0.75rem 0.75rem;
}

.ev-status-applicant-action .ev-btn {
  font-size: 0.78rem;
  padding: 0.4rem 0.7rem;
}

.ev-status-center-actions {
  text-align: center;
  margin: 0.85rem 0 0.25rem;
}

.ev-status-help .ev-faq { margin-top: 0.35rem; }

@media (max-width: 900px) {
  .ev-status-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .ev-status-applicant-fields {
    grid-template-columns: 1fr;
  }
}

/* —— Fees page —— */
.ev-fees-section .ev-panel h2 {
  font-family: var(--ev-font-display);
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
  color: var(--ev-teal-deep);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--ev-line);
}

.ev-fees-panel p,
.ev-fees-panel li {
  color: var(--ev-ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

.ev-fees-exempt-list {
  margin: 0.5rem 0 1rem;
  padding-left: 1.15rem;
}

.ev-fees-exempt-list li {
  margin-bottom: 0.35rem;
}

.ev-fees-updated {
  margin: 0 0 1rem;
  font-size: 0.88rem !important;
  color: var(--ev-ink) !important;
}

.ev-fees-mandatory {
  margin-bottom: 1.25rem;
}

.ev-fees-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 1.25rem;
  border: 1px solid var(--ev-line);
  border-radius: 4px;
  background: var(--ev-white);
}

.ev-fees-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.ev-fees-table th,
.ev-fees-table td {
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--ev-line);
  text-align: left;
  vertical-align: top;
}

.ev-fees-table thead th {
  background: #f5f8fb;
  color: var(--ev-teal-deep);
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
}

.ev-fees-table tbody tr:nth-child(even) {
  background: #f9fbfd;
}

.ev-fees-table tbody td strong {
  color: var(--ev-teal-deep);
  font-family: var(--ev-font-display);
  font-size: 0.95rem;
}

.ev-fees-note {
  margin: 0 0 1.25rem;
}

.ev-fees-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
}

@media (max-width: 575px) {
  .ev-fees-table {
    font-size: 0.8rem;
  }

  .ev-fees-table th,
  .ev-fees-table td {
    padding: 0.55rem 0.5rem;
  }
}

/* —— Contact page —— */
.ev-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.ev-contact-form-panel h2,
.ev-contact-aside .ev-panel h2 {
  font-family: var(--ev-font-display);
  font-size: 1.15rem;
  margin: 0 0 0.85rem;
  color: var(--ev-teal-deep);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--ev-line);
}

.ev-contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ev-contact-aside .ev-panel p {
  margin: 0 0 0.85rem;
  color: var(--ev-ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.ev-contact-aside .ev-panel p:last-child {
  margin-bottom: 0;
}

.ev-contact-email-box {
  border-left: 3px solid var(--ev-cyan);
}

.ev-textarea {
  min-height: 120px;
  resize: vertical;
}

.ev-field-error {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.78rem;
  color: #912018;
  min-height: 1rem;
}

.ev-form-control.is-invalid {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.ev-contact-form-panel .ev-captcha-box {
  margin-bottom: 0.35rem;
}

@media (max-width: 900px) {
  .ev-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Content pages (ETA, etc.) —— */
.ev-content-page .ev-panel + .ev-panel {
  margin-top: 1.25rem;
}

.ev-content-page .ev-prose h2 {
  font-family: var(--ev-font-display);
  font-size: 1.25rem;
  margin: 1.25rem 0 0.65rem;
  color: var(--ev-teal-deep);
}

.ev-content-page .ev-prose h2:first-child {
  margin-top: 0;
}

.ev-content-page .ev-prose h3 {
  font-family: var(--ev-font-display);
  font-size: 1.05rem;
  margin: 1rem 0 0.5rem;
  color: var(--ev-teal-deep);
}

.ev-content-page .ev-prose p,
.ev-content-page .ev-prose li {
  color: var(--ev-ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

.ev-content-page .ev-prose ul {
  margin: 0.5rem 0 0.85rem;
  padding-left: 1.15rem;
}

.ev-content-page .ev-prose li {
  margin-bottom: 0.4rem;
}

.ev-callout-panel {
  border-left: 3px solid var(--ev-cyan);
}

.ev-faq-heading {
  font-family: var(--ev-font-display);
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
  color: var(--ev-teal-deep);
  text-align: left;
}

.ev-faq-page > .ev-faq-heading {
  margin-top: 0.25rem;
}

.ev-faq-panel .faq-container > h2 {
  font-family: var(--ev-font-display);
  font-size: 1.2rem;
  margin: 0 0 1rem;
  color: var(--ev-teal-deep);
}

.ev-content-figure {
  margin: 0 0 1rem;
  border: 1px solid var(--ev-line);
  border-radius: 4px;
  overflow: hidden;
  background: #f5f8fb;
}

.ev-content-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.ev-content-sample {
  max-width: 280px;
  margin: 1rem auto;
}

.ev-eligibility-table {
  min-width: 520px;
}

.ev-fees-panel.h2-style,
.ev-panel > h2.ev-fees-panel {
  font-family: var(--ev-font-display);
  font-size: 1.2rem;
  margin: 0 0 0.85rem;
  color: var(--ev-teal-deep);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--ev-line);
}

/* Public holidays */
.ev-holidays-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin: 0 0 1.25rem;
}

.ev-holidays-summary-card {
  background: var(--ev-white);
  border: 1px solid var(--ev-line);
  border-radius: 6px;
  padding: 1rem 1.1rem;
  text-align: center;
}

.ev-holidays-summary-card strong {
  display: block;
  font-size: 1.5rem;
  color: var(--ev-teal);
  line-height: 1.2;
}

.ev-holidays-summary-card span {
  font-size: 0.88rem;
  color: var(--ev-ink-soft);
}

.ev-holidays-table caption {
  caption-side: top;
  padding: 0.65rem 0.85rem;
  font-weight: 600;
  color: var(--ev-teal-deep);
  text-align: left;
}

.ev-holiday-type {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  background: var(--ev-accent-soft, #e8f4f8);
  color: var(--ev-teal-deep);
}

.ev-holiday-type--poya { background: #e6f4ea; color: #1e6b3a; }
.ev-holiday-type--national { background: #fde8e8; color: #9b1c1c; }
.ev-holiday-type--religious { background: #f3e8fd; color: #6b21a8; }
.ev-holiday-type--cultural { background: #fff4e6; color: #9a3412; }

@media (max-width: 767px) {
  .ev-holidays-col-desc { display: none; }
}

/* FAQ page panel uses same .ev-faq accordion as homepage */
.ev-faq-page .ev-faq-panel { padding: 1.25rem 1.1rem; }

.ev-faq-categories {
  list-style: none;
  margin: 0.5rem 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.ev-faq-categories a {
  display: block;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--ev-line);
  border-radius: 4px;
  background: #f8fafc;
  font-weight: 500;
  color: var(--ev-teal-deep);
  text-decoration: none;
}

.ev-faq-categories a:hover {
  background: var(--ev-accent-soft, #e8f4f8);
  border-color: var(--ev-cyan);
}

.ev-faq-back {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
}

.ev-faq-panel .ev-faq {
  margin: 0;
}

.ev-faq-panel .ev-faq details {
  border: 1px solid var(--ev-line);
  border-radius: 4px;
  margin-bottom: 0.5rem;
  background: var(--ev-white);
  border-bottom: 1px solid var(--ev-line);
}

.ev-faq-panel .ev-faq details:last-child {
  margin-bottom: 0;
}

.ev-faq-panel .ev-faq summary {
  padding: 0.85rem 1rem;
}

.ev-faq-panel .ev-faq details[open] summary {
  border-bottom: 1px solid var(--ev-line);
}

.ev-faq-panel .ev-faq details p,
.ev-faq-panel .ev-faq details ul,
.ev-faq-panel .ev-faq details ol {
  padding: 0.75rem 1rem 1rem;
  margin: 0;
}

/* Apply visa selection */
.ev-apply-visa-table ul {
  margin: 0.25rem 0 0;
  padding-left: 1.1rem;
}

.ev-apply-visa-table li {
  margin-bottom: 0.25rem;
  font-size: 0.88rem;
}

.ev-btn-sm {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

.ev-yellow-fever-list {
  columns: 3;
  column-gap: 1.5rem;
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
}

@media (max-width: 900px) {
  .ev-yellow-fever-list { columns: 2; }
}

@media (max-width: 560px) {
  .ev-yellow-fever-list { columns: 1; }
}
