/*
 * eYatra Modern UI
 * Removable styling shared by the Home, About, Services, Contact and eSIM pages,
 * plus the global site footer (2026-10-13, Phase S5).
 * The page-content rules target an "ey-" class, so the sheet is safe to load
 * site-wide: on a page whose content uses none of them it styles no content. The
 * footer block at the end is the one deliberate exception — it targets the theme's
 * own .l-footer-columns / .l-footer so the footer matches the kit on every page.
 */

/* Home slider hero image — minimum height covers typical viewports; 
   buttons and content reflow responsively per the 2026-11-05 mobile fix. */
.home .rs-module,
.home .rs-slider { min-height: 800px; display: flex; align-items: center; justify-content: center; }

:root {
  --ey-navy: #072a5e;
  --ey-navy-2: #022463;
  --ey-orange: #ff7a00;
  --ey-orange-2: #ff9a3c;
  --ey-ink: #1f2430;
  --ey-muted: #6b7280;
  --ey-line: #e2e6ee;
  --ey-soft: #f6f8fc;
  --ey-white: #ffffff;
}

/* ---------- Generic ---------- */
.l-main .ey-sec { padding: 56px 0; }
.l-main .ey-sec--tight { padding: 36px 0; }
.l-main .ey-sec--soft { background: var(--ey-soft); border-radius: 22px; }
.l-main .ey-sec p { color: var(--ey-muted); }
.ey-lead { font-size: 1.08rem; line-height: 1.7; color: var(--ey-muted); }
.ey-eyebrow {
  display: inline-block;
  /* 2026-10-17: operator asked for the eyebrow to read at h4 size. The theme's
     h4 computes to 20.125px at the 14px root, i.e. 1.4375rem. */
  font-size: 1.4375rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ey-orange);
  margin-bottom: 10px;
}

/* Brand eyebrows (the ones carrying "eYatra" / "eSIM") opt out of the uppercase
   treatment above, so the words read in their correct mixed case. Applied via
   the extra `ey-eyebrow--brand` class on those specific spans; the generic
   eyebrows ("Our services", "Checkout") keep the uppercase look. */
.ey-eyebrow--brand { text-transform: none; letter-spacing: normal; }

/* WPBakery heading override (heading_extraclass="ey-heading") */
.ey-heading.wd-heading { margin-bottom: 26px; }
.ey-heading h2, .ey-heading h3 {
  color: var(--ey-navy);
  font-weight: 800;
  letter-spacing: -.01em;
}
.ey-heading h4, .ey-heading .wd-heading h4 {
  color: var(--ey-muted) !important;
  font-weight: 500;
}
.ey-heading hr {
  border: 0;
  border-bottom: 4px solid var(--ey-orange);
  width: 64px;
  border-radius: 4px;
  margin-left: auto !important;
  margin-right: auto !important;
}
.ey-heading.text-left hr { margin-left: 0 !important; margin-right: auto !important; }

/* ---------- Buttons ---------- */
.ey-btns { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.ey-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: .98rem;
  line-height: 1;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.ey-btn i { font-size: 1.05rem; }
.ey-btn--primary { background: var(--ey-orange); color: var(--ey-white) !important; box-shadow: 0 10px 24px rgba(255,122,0,.32); }
.ey-btn--primary:hover { background: var(--ey-orange-2); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255,122,0,.4); }
.ey-btn--navy { background: var(--ey-navy); color: var(--ey-white) !important; box-shadow: 0 10px 24px rgba(7,42,94,.24); }
.ey-btn--navy:hover { background: var(--ey-navy-2); transform: translateY(-2px); }
.ey-btn--ghost { background: transparent; color: var(--ey-navy) !important; border: 2px solid var(--ey-line); }
.ey-btn--ghost:hover { border-color: var(--ey-navy); transform: translateY(-2px); }

/* ---------- Hero (Home) — normal block, matches About page hero ---------- */
.ey-hero { position: relative; }
.ey-hero-card {
  position: relative;
  background: linear-gradient(120deg, var(--ey-navy) 0%, #0b3a82 55%, #1246a0 100%);
  border-radius: 22px;
  padding: 32px 22px;
  text-align: center;
  color: #fff;
}
.ey-hero-card h1 { color: #fff; font-weight: 800; font-size: 1.7rem; margin: 0 0 12px; letter-spacing: -.02em; }
.ey-hero-card .ey-lead { color: rgba(255,255,255,.9); max-width: 640px; margin: 0 auto 22px; }
.ey-hero-card .ey-eyebrow { color: #ffd7a8; }
.ey-hero-card .ey-btn--ghost { color: #fff !important; border-color: rgba(255,255,255,.5); }
.ey-hero-card .ey-btn--ghost:hover { border-color: #fff; }
.ey-hero-card .ey-btns { justify-content: center; }
@media (min-width: 701px) {
  .ey-hero-card { padding: 56px 44px; }
  .ey-hero-card h1 { font-size: 2.35rem; }
}

/* App store badges */
.ey-app { display: inline-flex; align-items: center; gap: 10px; background: #101828; color: #fff !important; border-radius: 12px; padding: 9px 16px; text-decoration: none !important; transition: transform .18s ease; }
.ey-app:hover { transform: translateY(-2px); }
.ey-app i { font-size: 1.7rem; }
.ey-app span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.ey-app small { font-size: .62rem; opacity: .8; text-transform: uppercase; letter-spacing: .08em; }
.ey-app strong { font-size: .98rem; font-weight: 700; }

/* ---------- Feature split ---------- */
.ey-split { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.ey-split > .ey-split-media, .ey-split > .ey-split-body { flex: 1 1 380px; }
.ey-split--rev { flex-direction: row-reverse; }

/* ---------- Image placeholder ---------- */
.ey-ph {
  position: relative;
  border: 2px dashed #c7d1e4;
  border-radius: 18px;
  background: linear-gradient(135deg, #eef3fb 0%, #f8fafe 100%);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #8a97b0;
  text-align: center;
  padding: 26px;
}
.ey-ph i { font-size: 2.4rem; margin-bottom: 10px; color: #a9b6cc; }
.ey-ph span { font-weight: 700; font-size: .95rem; }
.ey-ph small { font-size: .8rem; opacity: .85; }
.ey-ph--tall { min-height: 380px; }

/* ---------- Steps ---------- */
.ey-steps { display: grid; grid-template-columns: 1fr; gap: 22px; }
.ey-step { position: relative; background: var(--ey-white); border: 1px solid var(--ey-line); border-radius: 16px; padding: 26px 22px; transition: transform .2s ease, box-shadow .2s ease; }
.ey-step:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(7,42,94,.12); }
.ey-step .ey-step-n { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ey-orange); color: #fff; font-weight: 800; margin-bottom: 14px; }
.ey-step i { font-size: 1.5rem; color: var(--ey-navy); }
.ey-step h3 { color: var(--ey-navy); font-size: 1.12rem; font-weight: 700; margin: 6px 0 8px; }
.ey-step p { font-size: .92rem; margin: 0; }
@media (min-width: 521px) { .ey-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 901px) { .ey-steps { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Service / icon text cards (wd_icon_text extra_classes="ey-svc") ---------- */
.ey-svc.boxes { padding: 0; margin: 0 0 6px; }
.ey-svc .box-container {
  height: 100%;
  background: var(--ey-white);
  border: 1px solid var(--ey-line);
  border-radius: 18px;
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  text-align: left;
}
.ey-svc:hover .box-container { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(7,42,94,.12); border-color: transparent; }
.ey-svc .box-icon { margin-bottom: 16px; }
.ey-svc .box-icon i,
.ey-svc .box-icon img { 
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 14px;
  background: rgba(255,122,0,.12); color: var(--ey-orange);
  font-size: 1.6rem; line-height: 58px; text-align: center;
}
.ey-svc .box-title-6, .ey-svc .box-title-5, .ey-svc .box-title-7,
.ey-svc h3[class*="box-title"] { color: var(--ey-navy); font-size: 1.15rem; font-weight: 700; margin: 0 0 8px; }
.ey-svc .box-body { color: var(--ey-muted); font-size: .93rem; line-height: 1.6; margin: 0; }

/* ---------- Benefits ---------- */
.ey-benefits { display: grid; grid-template-columns: 1fr; gap: 24px; }
.ey-benefit { text-align: center; padding: 28px 20px; }
.ey-benefit i { font-size: 2rem; color: var(--ey-orange); margin-bottom: 14px; }
.ey-benefit h3 { color: var(--ey-navy); font-size: 1.08rem; font-weight: 700; margin: 0 0 8px; }
.ey-benefit p { font-size: .92rem; margin: 0; }
@media (min-width: 901px) { .ey-benefits { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Stats (wrapped in .ey-stat column) ---------- */
.ey-stats-band { background: linear-gradient(120deg, var(--ey-navy) 0%, #0b3a82 60%, #1246a0 100%); border-radius: 22px; padding: 48px 20px; }
.ey-stat { text-align: center; }
.ey-stat .fa { font-size: 2rem; color: var(--ey-orange); margin-bottom: 12px; }
.ey-stat h5, .ey-stat .counter { color: var(--ey-white) !important; font-size: 2.6rem !important; font-weight: 800 !important; line-height: 1; margin: 0 0 6px; }
.ey-stat h2 { color: rgba(255,255,255,.82) !important; font-size: .95rem !important; font-weight: 600 !important; letter-spacing: .04em; text-transform: uppercase; margin: 0; }

/* ---------- FAQ ---------- */
.ey-faq details { background: var(--ey-white); border: 1px solid var(--ey-line); border-radius: 14px; padding: 4px 20px; margin-bottom: 12px; }
.ey-faq details[open] { border-color: rgba(255,122,0,.5); box-shadow: 0 12px 30px rgba(7,42,94,.08); }
.ey-faq summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--ey-navy); padding: 16px 0; position: relative; }
.ey-faq summary::-webkit-details-marker { display: none; }
.ey-faq summary::after { content: "\f067"; font-family: FontAwesome; position: absolute; right: 0; color: var(--ey-orange); }
.ey-faq details[open] summary::after { content: "\f068"; }
.ey-faq details p { margin: 0 0 16px; font-size: .94rem; }

/* ---------- CTA band — normal block, matches About page hero ---------- */
.ey-cta {
  text-align: center;
  background: linear-gradient(120deg, var(--ey-navy) 0%, #0b3a82 55%, #1246a0 100%);
  border-radius: 22px;
  padding: 54px 26px;
  color: #fff;
}
.ey-cta h2 { color: #fff; font-weight: 800; font-size: 2rem; margin: 0 0 12px; }
.ey-cta p { color: rgba(255,255,255,.92); max-width: 620px; margin: 0 auto 24px; }
.ey-cta .ey-btns { justify-content: center; }
.ey-cta .ey-btn--navy { background: #fff; color: var(--ey-navy) !important; }
.ey-cta .ey-btn--navy:hover { background: #eef2fa; }
.ey-cta .ey-btn { color: #fff !important; border-color: rgba(255,255,255,.5); }
.ey-cta .ey-btn:hover { border-color: #fff; }
.ey-cta .ey-app { background: #101828; }

/* ---------- Hero (About) ---------- */
.ey-page-hero {
  background: linear-gradient(120deg, var(--ey-navy) 0%, #0b3a82 55%, #1246a0 100%);
  border-radius: 22px;
  color: #fff;
  padding: 64px 40px;
  text-align: center;
}
.ey-page-hero h1,
.ey-page-hero h2 { color: #fff; font-weight: 800; font-size: 2.5rem; margin: 0 0 14px; letter-spacing: -.02em; }
.ey-page-hero p { color: rgba(255,255,255,.9); font-size: 1.1rem; max-width: 700px; margin: 0 auto; }
.ey-page-hero .ey-eyebrow { color: #ffd7a8; }

/* ---------- Callout / highlight ---------- */
.ey-callout { border-left: 5px solid var(--ey-orange); background: var(--ey-soft); border-radius: 14px; padding: 26px 28px; }
.ey-callout h3 { color: var(--ey-navy); margin: 0 0 10px; font-weight: 700; }

/* ---------- Small utilities ---------- */
.ey-center { text-align: center; }
.ey-mt { margin-top: 26px; }
.ey-pill { display: inline-block; background: rgba(255,122,0,.12); color: var(--ey-orange); font-weight: 700; font-size: .78rem; padding: 5px 12px; border-radius: 999px; letter-spacing: .04em; }
/* Scoped under .l-main so it beats the theme's ".main ul{list-style:initial}".
   Without that, the browser's disc marker and this ::before tick both render. */
.l-main .ey-check-list { list-style: none; margin: 0; padding: 0; }
.l-main .ey-check-list li { position: relative; padding: 7px 0 7px 32px; color: var(--ey-ink); font-size: .96rem; }
.l-main .ey-check-list li::before { content: "\f00c"; font-family: FontAwesome; position: absolute; left: 0; top: 7px; color: var(--ey-orange); font-weight: 400; }

/* ---------- Contact form (Contact Form 7 inside .ey-form) ---------- */
.l-main .ey-form { background: var(--ey-white); border: 1px solid var(--ey-line); border-radius: 18px; padding: 30px 28px; }
.l-main .ey-form .wpcf7-form p { margin-bottom: 16px; }
.l-main .ey-form input[type="text"],
.l-main .ey-form input[type="email"],
.l-main .ey-form input[type="tel"],
.l-main .ey-form input[type="url"],
.l-main .ey-form input[type="number"],
.l-main .ey-form textarea,
.l-main .ey-form select {
  width: 100%;
  border: 1px solid var(--ey-line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: .98rem;
  color: var(--ey-ink);
  background: #fff;
}
.l-main .ey-form input:focus,
.l-main .ey-form textarea:focus,
.l-main .ey-form select:focus { border-color: var(--ey-orange); outline: none; box-shadow: 0 0 0 3px rgba(255,122,0,.15); }
.l-main .ey-form input[type="submit"],
.l-main .ey-form .wpcf7-submit { background: var(--ey-orange); color: #fff; border: 0; border-radius: 12px; padding: 14px 30px; font-weight: 700; font-size: .98rem; cursor: pointer; transition: background .18s ease; }
.l-main .ey-form input[type="submit"]:hover,
.l-main .ey-form .wpcf7-submit:hover { background: var(--ey-orange-2); }
.l-main .ey-form .wpcf7-not-valid-tip { color: #c0392b; font-size: .85rem; }
.l-main .ey-form .wpcf7-response-output { border-radius: 10px; }

/* ---------- Contact: "Our Location" details (left column) ---------- */
.l-main .ey-location { list-style: none; margin: 0; padding: 0; }
/* 2026-10-17: icon and text are flex items on one centre line. The old rule
   absolutely positioned the icon at top:10px, which drifted off the text
   baseline once a line wrapped or wrapped to two lines. */
.l-main .ey-location li { display: flex; align-items: center; gap: .7rem; padding: 9px 0; color: var(--ey-ink); font-size: 1rem; line-height: 1.5; }
.l-main .ey-location li i { flex: 0 0 24px; width: 24px; text-align: center; line-height: 1; color: var(--ey-orange); font-size: 1.2rem; }
.l-main .ey-location a { color: var(--ey-navy); text-decoration: none; }
.l-main .ey-location a:hover { color: var(--ey-orange); text-decoration: underline; }

/* ---------- Footer (global — deliberately NOT under .l-main) ----------
   The footer is theme markup, not WPBakery content, so it cannot carry ey-*
   classes. These rules re-skin the theme's own .l-footer-columns / .l-footer to
   the kit's navy + orange. The "body " prefix raises specificity above app.css
   and the theme's dynamic inline CSS, so no !important is needed. Delete this
   block (or the whole sheet) to return the footer to the theme's grey/blue demo
   colours. The footer's bottom-line wording lives in the theme's footer.php.

   The block-title rule also neutralises app.css's `text-transform: uppercase`
   (and its letter-spacing), so the widget titles read in normal case — the
   stored titles are now "eYatra", "Talk to us" and the Airalo + eYatra logos
   the first two columns carry in their own titles (2026-10-16, eYatra logo
   2026-10-30, so all three columns share the same title-above-content layout).

   Column order is set in wp_options > sidebars_widgets: the first column now
   carries the Airalo brand blurb + logo (its `airalo-logo` rule sits just
   below), then the eYatra intro and "Talk to us" contact details. */
body .l-footer-columns { background: var(--ey-navy); padding: 26px 0 30px; }
body .l-footer { background: var(--ey-navy-2); color: rgba(255, 255, 255, .72); }
body .l-footer-columns .block-title,
body .l-footer-columns h2,
body .l-footer-columns h6 { color: #fff; font-weight: 700; text-transform: none; letter-spacing: normal; }
body .l-footer-columns .block-title::after,
body .l-footer-columns h2::after { background-color: var(--ey-orange); }
body .l-footer-columns,
body .l-footer-columns p,
body .l-footer-columns .textwidget { color: rgba(255, 255, 255, .78); }
body .l-footer-columns ul li a { color: rgba(255, 255, 255, .88); }
body .l-footer-columns ul li a:hover { color: var(--ey-orange); }
body .l-footer-columns ul li a::before { color: var(--ey-orange); }
body .l-footer-columns a.footer-readmor { color: var(--ey-orange); font-weight: 700; }
body .l-footer-columns a.footer-readmor:hover { color: var(--ey-orange-2); }
body .l-footer .footer span,
body .l-footer .copyright p { color: rgba(255, 255, 255, .72); }
body .l-footer a { color: #fff; }
body .l-footer a:hover { color: var(--ey-orange); }

/* Airalo + eYatra brand columns (1st and 2nd footer columns). Each logo sits in
   the column's heading so all three columns share the same title + content
   layout (the blurb is the widget's content). The Airalo wordmark is the
   transparent PNG in uploads; the eYatra mark is `eyatralogosymbol.webp`, used
   as supplied (original colours, no white recolour) per the 2026-11-05 request.
   Both are sized to the title's cap height so the title's orange underline still
   reads as the column heading. The 2nd column is a Gutenberg block widget, so
   its heading is `.wp-block-heading` rather than `.block-title`; both selectors
   are included. */
body .l-footer-columns .block-title .airalo-logo,
body .l-footer-columns .block-title .eyatra-logo,
body .l-footer-columns .block-title .phone-logo,
body .l-footer-columns .wp-block-heading .eyatra-logo { display: inline-block; height: 32px; width: auto; max-width: 100%; vertical-align: middle; margin-right: 10px; }

/* Footer column icons (email / mobile) — slightly larger for visibility. */
body .l-footer-columns .textwidget .fa-mobile,
body .l-footer-columns .textwidget .fa-envelope { font-size: 1.1rem; }

/* Make the About page Travel Insurance icon circular, matching other layout-3 icons. */
.wd_icon_text.layout-3 .box-icon img,
.wd_icon_text.layout-3 .wd_icon_box .box-icon img {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    object-fit: cover;
    display: block;
}

/* The theme loads Font Awesome 4.7, which ships `fa-shield` but not
   `fa-shield-plus`. The About page's Travel Insurance block uses
   `fa fa-solid fa-shield-plus` (2026-11-06), so map that class to the FA4
   shield glyph (\f132) instead of loading a second icon font. */
.fa.fa-shield-plus::before { content: "\f132"; }

/* Visually-hidden text that stays available to screen readers. */
.ey-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; }

/* ---------- Header / primary navigation (global theme markup) ----------
   The theme's "creative" header is absolutely positioned over the page. On
   desktop its bar was transparent at the top and only gained a background once
   Foundation marked the .sticky wrapper "fixed" on scroll; the bar was also
   inset by the theme's 15px header padding at the top but went full-bleed once
   fixed, and the theme's bottom border sat on the header box (which collapsed
   to its padding once the bar was fixed, drawing the line across the bar).

   2026-11-03 (operator): the bar is now solid white at every width and in both
   sticky states, so it reads the same at rest and on scroll. Links stay ink,
   with the orange accent as the hover and the current page in orange with a
   2px underline. The theme tints the links #FFF with a #ccc hover for the old
   dark bar, so the desktop states are out-specified on the
   `body .l-header.creative-layout` prefix.

   The theme paints the mobile bar with a translucent dark background
   (`.creative-layout .sticky.fixed` / the top-bar itself), so the white rule
   below sits outside the desktop breakpoint too. The mobile dropdown opens
   inside that bar and inherits the theme's white link colour, so the small
   media query below inks it (orange hover/current), matching the desktop bar.

   The layout fixes are scoped to the desktop breakpoint (min-width:900px):
   drop the header's inset padding (and its border) so the bar's box and its
   bottom line are identical at the top and while fixed, and cap the logo (it
   was up to 52px tall inside a 39px row) at 42px, flex-centred in the bar.
   Delete the block to return the header to the theme default. */

body .l-header.creative-layout .top-bar,
body .l-header.creative-layout .sticky,
body .l-header.creative-layout .sticky.fixed {
  background: #fff;
}

/* Below 900px the dropdown opens inside the white bar, so the theme's white
   link colour would be white on white. Ink links, orange hover and current
   page, the same states as the desktop bar. */
@media only screen and (max-width: 899px) {
  body .l-header.creative-layout .top-bar-section ul.menu > li > a {
    color: var(--ey-ink);
  }
  body .l-header.creative-layout .top-bar-section ul.menu > li > a:hover,
  body .l-header.creative-layout .top-bar-section ul.menu > li > a:focus,
  body .l-header.creative-layout .top-bar-section ul.menu > li:hover:not(.has-form) > a {
    color: var(--ey-orange);
  }
  body .l-header.creative-layout .top-bar-section ul.menu > li.active_menu > a {
    color: var(--ey-orange);
  }
}

@media only screen and (min-width: 900px) {
  body .l-header.creative-layout { padding: 0; border-bottom: 0; }

  body .l-header.creative-layout .sticky { border-bottom: 1px solid var(--ey-line); }
  body .l-header.creative-layout .sticky.fixed { border-bottom: 1px solid var(--ey-line); }

  /* The theme paints the menu links white (#FFF) with a #ccc hover for the old
     dark bar; both states now read in ink. The orange accent is the hover, and
     the current page is both orange and underlined (the theme's menu walker
     marks the current item with `active_menu` on the <li>). One selector only:
     repeating it under `.sticky.fixed` would out-specify the `active_menu` rule
     below and ink-out the current page once the bar is fixed. */
  body .l-header.creative-layout .top-bar-section ul.menu > li > a {
    color: var(--ey-ink);
    transition: color .18s ease;
  }
  body .l-header.creative-layout .top-bar-section ul.menu > li > a:hover,
  body .l-header.creative-layout .top-bar-section ul.menu > li > a:focus,
  body .l-header.creative-layout .top-bar-section ul.menu > li:hover:not(.has-form) > a {
    color: var(--ey-orange);
  }
  body .l-header.creative-layout .top-bar-section ul.menu > li.active_menu > a {
    color: var(--ey-orange);
    position: relative;
  }
  body .l-header.creative-layout .top-bar-section ul.menu > li.active_menu > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--ey-orange);
    border-radius: 2px;
  }

  body .l-header.creative-layout .top-bar .title-area {
    display: flex;
    align-items: center;
    justify-content: center;
    float: none;
    height: 54px;
    padding: 0;
  }
  body .l-header.creative-layout .top-bar .title-area .name { height: auto; }
  body .l-header.creative-layout .top-bar .title-area .name h1,
  body .l-header.creative-layout .top-bar .title-area .name .site-logo { height: auto; line-height: 0; margin: 0; }
  body .l-header.creative-layout .top-bar .title-area .name h1 a,
  body .l-header.creative-layout .top-bar .title-area .name .site-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    padding: 0 12px;
  }
  body .l-header.creative-layout .top-bar .title-area .name h1 a img,
  body .l-header.creative-layout .top-bar .title-area .name .site-logo a img { max-height: 42px; }
}

/* T-202 (2026-11-06): the logo is a div now, not the page's second <h1>.
   These carry over the theme's old h1 sizing so the mark looks unchanged. */
.top-bar .name .site-logo { height: auto; line-height: 0; margin: 0; }
.top-bar .name .site-logo a { display: block; line-height: 0; }
.top-bar .name .site-logo a img { max-height: 64px; transition: all .4s ease 0s; }

@media only screen and (max-width: 768px) {
  .top-bar .name .site-logo a img { max-height: 34px; margin-bottom: 0; }
}

/* T-202 (2026-11-06): the theme's mobile "Menu" label is #777 on white
   (4.47:1, just under AA). One shade darker clears 4.5:1. */
.top-bar .toggle-topbar.menu-icon a span { color: #4b5563; }

/* T-203 - mobile overflow fix (2026-10-28).
   WPBakery's `vc_column-gap-10` rows carry -20px side margins. The content
   wrapper only has ~13px of side space until the page is wider than ~1214px,
   so the row ends up 7px wider than the viewport and Home / the eSIM pages
   scroll sideways. Mobile first: zero at every width, and the theme's -20px
   gutter is restored only where the wrapper has the 20px to absorb it. The
   5px column padding is untouched, so the tiles keep their gutters. */
.vc_row.vc_column-gap-10 {
  margin-left: 0;
  margin-right: 0;
}

@media only screen and (min-width: 1220px) {
  .vc_row.vc_column-gap-10 {
    margin-left: -20px;
    margin-right: -20px;
  }
}

/* Home slider CTAs (2026-11-05).
   Slides 1 and 13 carry two side-by-side buttons - New eSIM and Top up.
   Revolution Slider scales a layer's X/Y with the canvas but keeps the
   145x43 button size fixed, so the stored desktop positions (x=10 and x=165)
   collide below 1240px, where 165px becomes a small slice of the canvas. The
   layer classes come from each layer's attr.iClass. Below 1240px the row is
   re-centred on the full-width slide; below 360px the pair shrinks to fit the
   module exactly. Delete this block and the buttons overlap on phones. */
@media (max-width: 1239px) {
  .ey-slider-cta--new,
  .ey-slider-cta--topup {
    width: 145px !important;
    box-sizing: border-box;
  }

  .ey-slider-cta--new {
    left: calc(50% - 150px) !important;
  }

  .ey-slider-cta--topup {
    left: calc(50% + 5px) !important;
  }
}

@media (max-width: 359px) {
  .ey-slider-cta--new,
  .ey-slider-cta--topup {
    width: calc((100% - 36px) / 2) !important;
  }

  .ey-slider-cta--new {
    left: 13px !important;
  }

  .ey-slider-cta--topup {
    left: auto !important;
    right: 13px !important;
  }
}
