/* Shared, restrained brand presentation for regional and app controls. */
.experience-region {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 36px;
  padding: 6px;
  gap: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--brand-blue, #0b3f5d);
  font: inherit;
  cursor: pointer;
}
.experience-dialog {
  width: min(460px, calc(100% - 32px));
  max-height: 85dvh;
  border: 0;
  border-radius: 20px;
  padding: 24px;
  color: #0b3f5d;
  background: #fff;
  box-shadow: 0 20px 80px #052e4a38;
  font-family: inherit;
  box-sizing: border-box;
}
.experience-dialog::backdrop {
  background: #052b4266;
  backdrop-filter: blur(5px);
}
.experience-dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.experience-dialog h2 {
  font-size: 23px;
  line-height: 1.2;
  margin: 0;
}
.experience-dialog p,
.experience-dialog li {
  font-size: 14px;
  line-height: 1.65;
}
.experience-dialog ol {
  padding-left: 20px;
}
.experience-dialog-top button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #edf6fa;
  color: #0b3f5d;
  font-size: 24px;
  cursor: pointer;
  flex: none;
}
.experience-dialog .experience-small {
  font-size: 12px;
  color: #536879;
}
.experience-links {
  display: grid;
  margin: 16px 0;
}
.experience-links a {
  display: flex;
  justify-content: space-between;
  padding: 12px 4px;
  color: #0b3f5d;
  text-decoration: none;
  border-bottom: 1px solid #e7eff4;
  font-size: 14px;
}
.experience-links a:hover {
  color: #b81d24;
}
.experience-market-options {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}
.experience-market-options button {
  border: 1px solid #d5e4ec;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  background: #fff;
  color: #0b3f5d;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.experience-market-options button[aria-pressed="true"] {
  background: #edf6fa;
  border-color: #0b3f5d;
}
.experience-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-block: 22px;
  border-top: 1px solid #e4edf2;
}
.experience-trust a {
  display: flex;
  gap: 8px;
  align-items: center;
  text-decoration: none;
  color: #0b3f5d;
  font-size: 12px;
}
.experience-trust svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  flex: none;
}
.experience-trust img {
  max-height: 30px;
  max-width: 100px;
}
.experience-install-nudge {
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: 520px;
  margin: 28px auto;
  padding: 16px;
  background: #edf6fa;
  border-radius: 16px;
  color: #0b3f5d;
}
.experience-install-nudge span {
  flex: 1;
}
.experience-install-nudge small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
}
.experience-install-nudge button {
  border: 0;
  border-radius: 8px;
  background: #b81d24;
  color: white;
  padding: 10px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.experience-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.experience-form .page-actions {
  grid-column: 1/-1;
}
.experience-guidance {
  margin-top: 28px;
}
.experience-guidance ul {
  padding-left: 20px;
  line-height: 1.8;
}
.experience-guidance a {
  overflow-wrap: anywhere;
}
.experience-guidance .notice-panel {
  margin-block: 18px;
}
#travel-form[data-service="Visa"] .visa-fields {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (min-width: 1025px) {
  #travel-form[data-service="Visa"] #search-fields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
}
@media (max-width: 1024px) {
  .experience-region {
    display: none;
  }
  .experience-trust {
    gap: 12px;
    padding: 16px;
  }
  .experience-trust a {
    font-size: 10px;
  }
  .experience-trust svg {
    width: 17px;
    height: 17px;
  }
  .experience-install-nudge {
    margin: 20px 16px;
  }
  .experience-dialog {
    padding: 20px;
  }
}
@media (max-width: 600px) {
  .experience-form {
    grid-template-columns: minmax(0, 1fr);
  }
  #travel-form[data-service="Visa"] .visa-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .experience-market-options button,
  .experience-links a {
    transition:
      color 0.2s,
      background 0.2s,
      border-color 0.2s;
  }
}
.experience-offline {
  max-width: 420px;
  margin: 15vh auto;
  padding: 28px;
  color: #0b3f5d;
  font-family: system-ui, sans-serif;
  line-height: 1.7;
  text-align: center;
}
.experience-offline img {
  border-radius: 18px;
}
.experience-offline a {
  display: inline-block;
  background: #0b3f5d;
  color: #fff;
  border-radius: 12px;
  padding: 12px 20px;
  text-decoration: none;
}

.experience-install-nudge [data-install-dismiss] {
  background: transparent;
  color: #0b3f5d;
  padding: 8px;
  font-size: 18px;
  flex: none;
}

/* National colors identify preferences; the controls use Travelsian brand colors. */
.market-flag {
  display: inline-block;
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px #0b3f5d18;
  flex: none;
}
.experience-market-country {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.experience-market-options button {
  align-items: center;
  gap: 12px;
}
.experience-market-options button:hover,
.experience-market-options button:focus-visible {
  border-color: #b81d24;
  background: #fff5f5;
}
.experience-region:hover,
.experience-region:focus-visible {
  color: #b81d24;
}
.experience-network .network-flag {
  display: block;
  width: 48px;
  height: 32px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px #0b3f5d18;
  margin-bottom: 20px;
}
.experience-network .page-card {
  display: flex;
  flex-direction: column;
}
.experience-network .page-card > a {
  margin-top: auto;
  padding-top: 12px;
}
.app-menu-links [data-region-open] {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-network-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  text-decoration: none;
}
.footer-network-link:hover {
  color: #b81d24;
}
@media (max-width: 360px) {
  .experience-dialog {
    padding: 18px;
  }
  .experience-market-options button {
    padding: 14px 10px;
    font-size: 12px;
    gap: 8px;
  }
  .experience-market-country {
    gap: 8px;
  }
}

.experience-dialog [data-market-auto] {
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: 999px;
  background: #0b3f5d;
  color: #fff;
  padding: 10px 16px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: background 180ms ease;
}
.experience-dialog [data-market-auto]:hover,
.experience-dialog [data-market-auto]:focus-visible {
  background: #b81d24;
}

/* T192: address-led worldwide network and compact responsive preferences. */
.network-office .network-region {
  color: var(--red, #b81d24);
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
}
.network-office address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 18px;
}
.network-contacts {
  display: grid;
  gap: 8px;
  margin-top: auto;
  font-size: 13px;
}
.network-contacts a {
  text-decoration: none;
}
.network-contacts a:hover {
  color: var(--red);
}
.network-office .network-contact-link {
  font-size: 12px;
  font-weight: 650;
  margin-top: 16px;
  padding-top: 0;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.network-actions {
  margin-bottom: 20px;
}
.network-scope {
  max-width: 900px;
  font-size: 12px;
}
@media (max-width: 1024px) {
  .content-page .primary-action,
  .content-page .secondary-action {
    min-height: 40px;
    padding: 9px 16px;
    font-size: 12px;
    gap: 7px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .content-page .page-actions {
    gap: 10px;
  }
  .network-office .network-flag {
    width: 36px;
    height: 24px;
    margin-bottom: 16px;
  }
  .network-office address {
    font-size: 13px;
  }
  .newsletter .pill,
  .about-content > .pill,
  .cta > .pill {
    min-height: 40px;
    padding: 9px 16px;
    font-size: 12px;
  }
}

/* T193: national artwork is the only visible country-control content. */
.experience-region .market-flag {
  display: block;
  width: 28px;
  height: auto;
  max-height: 20px;
  border-radius: 2px;
  object-fit: contain;
  box-shadow: none;
  filter: drop-shadow(0 1px 1px #082f461a);
}
.experience-market-country .market-flag {
  width: 28px;
  height: auto;
  max-height: 20px;
  object-fit: contain;
  box-shadow: none;
}
.experience-network .network-flag {
  object-fit: contain;
  box-shadow: none;
}
.experience-region:hover {
  background: transparent;
}
.experience-region:focus-visible {
  outline: 2px solid var(--red, #b81d24);
  outline-offset: 3px;
}
.app-menu-links .experience-region {
  display: inline-flex;
  width: 44px;
  min-height: 40px;
  height: 40px;
  padding: 6px;
  margin-block: 8px;
  border: 0;
  background: transparent;
  box-shadow: none;
}
@media (prefers-reduced-motion: no-preference) {
  .experience-region {
    transition:
      background-color 160ms,
      border-color 160ms,
      box-shadow 160ms;
  }
}

/* Country controls stay within the original 60px app toolbar. */
.app-menu-controls {
  display: none;
}
@media (max-width: 1024px) {
  .app-menu-controls {
    display: grid;
    grid-column: -2 / -1;
    grid-row: 1;
    grid-template-rows: 24px 24px;
    justify-items: center;
    align-items: center;
    justify-self: center;
    width: 32px;
    height: 48px;
    gap: 0;
  }
  .app-menu-controls .app-region {
    display: grid;
    place-items: end center;
    width: 32px;
    min-width: 32px;
    height: 24px;
    min-height: 24px;
    padding: 0 3px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .app-menu-controls .app-region .market-flag {
    width: 22px;
    height: auto;
    max-height: 15px;
    border-radius: 1px;
  }
  .app-menu-controls [data-app-panel="menu"] {
    display: grid;
    place-items: center;
    width: 32px;
    min-height: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--navy, #0b3f5d);
  }
  .app-menu-controls [data-app-panel="menu"] svg {
    width: 24px;
    height: 24px;
  }
  .app-menu-controls [data-app-panel="menu"]:is(:hover, :focus-visible) {
    color: var(--red, #b81d24);
  }
  .app-menu-controls [data-app-panel="menu"]:focus-visible {
    outline: 2px solid var(--red, #b81d24);
    outline-offset: 0;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  body[data-app-page="home"]
    .app-header:not(.is-scrolled)
    .app-menu-controls
    [data-app-panel="menu"] {
    color: #fff;
  }
}

/* T203: top/middle match the flag; bottom is40% shorter from the right. */
@media (max-width: 767px) {
  .app-menu-controls [data-app-panel="menu"] svg {
    display: none;
  }
  .app-menu-controls [data-app-panel="menu"] {
    position: relative;
  }
  .app-menu-controls [data-app-panel="menu"]::before {
    content: "";
    position: absolute;
    left: 5px;
    top: calc(50% + 4.25px);
    width: 13.2px;
    height: 1.5px;
    border-radius: 1px;
    background: currentColor;
  }
  .app-menu-controls [data-app-panel="menu"]::after {
    content: "";
    width: 22px;
    height: 1.5px;
    border-radius: 1px;
    background: currentColor;
    box-shadow: 0 -5px 0 currentColor;
  }
}

/* T195: tablet uses a horizontal flag/account/menu group; phone keeps the stack. */
@media (min-width: 768px) and (max-width: 1024px) {
  .app-header,
  .app-header.is-scrolled {
    grid-template-columns: 220px minmax(0, 1fr) 44px 44px 44px;
  }
  .app-menu-controls {
    display: contents;
  }
  .app-menu-controls .app-region {
    grid-column: 3;
    grid-row: 1;
    place-items: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 6px;
  }
  .app-menu-controls .app-region .market-flag {
    width: 26.88px;
    max-height: 19.2px;
  }
  .app-header > [data-app-panel="account"],
  .app-header.is-scrolled > [data-app-panel="account"] {
    grid-column: 4;
  }
  .app-menu-controls [data-app-panel="menu"] {
    grid-column: 5;
    grid-row: 1;
    width: 44px;
    min-height: 44px;
    height: 44px;
    padding: 6px;
  }
}
@media (min-width: 1025px) {
  .header-actions .experience-region,
  .shop-region-actions .experience-region {
    /* Match the flag artwork width so flex gaps measure visible edges equally. */
    width: 26.88px;
    min-width: 26.88px;
    height: 44px;
    padding: 0;
  }
  .header-actions .experience-region .market-flag,
  .shop-region-actions .experience-region .market-flag {
    width: 26.88px;
    max-height: 19.2px;
  }
}

/* T227: content actions only. Header,dock,calendar,fields and icon targets retain geometry. */
@media (max-width: 1024px) {
  .hero-shell .search-submit,
  .offer-card .mini-pill,
  .cta > .pill,
  .about-content > .pill,
  .tour-card button,
  .newsletter .pill,
  .content-page .primary-action,
  .content-page .secondary-action,
  .results-page .primary {
    min-height: var(--public-app-action-height);
    height: auto;
    box-sizing: border-box;
    padding: var(--public-app-action-padding);
    font-size: var(--public-app-action-font);
    line-height: 1.4;
    border-radius: var(--public-app-action-radius);
  }
  .offer-card .mini-pill > span,
  .cta > .pill .cta-button-arrow {
    width: 22px;
    height: 22px;
    min-width: 22px;
    line-height: 22px;
  }
  .offer-card .mini-pill {
    padding-block: 6px;
  }
}
@media (max-width: 1024px) {
  .hero-shell .search-submit,
  .results-page .primary {
    height: var(--public-app-action-height);
    align-self: center;
  }
  .newsletter form > .pill {
    min-height: var(--public-app-action-height);
    height: var(--public-app-action-height);
    padding: var(--public-app-action-padding);
    font-size: var(--public-app-action-font);
    align-self: center;
  }
  .newsletter form > .pill > svg {
    width: 18px;
    height: 18px;
  }
}

/* T228: shared group attribution, including the minimal app footer. */
.group-credit {
  display: inline-block;
  font-size: 12px;
  line-height: 1.5;
  margin-left: 8px;
}
.group-credit a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}
.group-credit a:hover {
  color: var(--red, #b81d24);
}
.group-credit sup {
  font-size: 8px;
  margin-left: 1px;
}
/* Existing app copyright rules hide old descriptive spans; group identity stays visible. */
footer#contact .copyright > .group-credit {
  display: inline-block;
  margin-left: 8px;
  color: inherit;
  font-size: inherit;
}
@media (max-width: 1024px) {
  footer#contact .copyright > .group-credit {
    display: block;
    margin: 4px 0 0;
  }
}

/* T246: one bottom bar. Copyright and the group credit sit together on the left,
   policy links on the right; centered and stacked on app widths. */
footer#contact .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px 24px;
  margin-top: 18px;
  padding: 14px 0 4px;
  border-top: 1px solid rgba(11, 63, 93, 0.12);
}
footer#contact .footer-bottom .copyright {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  white-space: nowrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 0;
  padding: 0;
  text-align: left;
}
footer#contact .footer-bottom .copyright > .copyright-main {
  display: inline;
  margin: 0;
  color: inherit;
}
footer#contact .footer-bottom .copyright > .group-credit {
  display: inline-block;
  margin: 0;
}
footer#contact .footer-bottom .footer-policies {
  flex: 1 1 auto;
  width: auto;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}
@media (max-width: 1024px) {
  footer#contact .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 12px 30px 0;
  }
  footer#contact .footer-bottom .copyright {
    flex-wrap: wrap;
    white-space: normal;
    justify-content: center;
    text-align: center;
  }
  footer#contact .footer-bottom .footer-policies {
    justify-content: center;
  }
}
