/* Despegar Argentina — sitemap mirror presentation.
 *
 * Colours and type sizes are taken from the inline styles the live pages
 * still carry: headings rgb(39, 5, 112) and rgb(68, 68, 68), h1 at 32px,
 * section h2 at 24px, body copy in neutral grey on a white page.
 * No remote fonts or URLs; no cards, gradients or shadows are added. */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #2f2f2f;
  --text-muted: #6d6d6d;
  --heading: #270570;
  --heading-alt: #444444;
  --primary: #7234ff;
  --accent: #ed594a;
  --border: #e0e0e0;
  --rule: #ededf3;
  --code-bg: #f3f2f8;

  /* The captured markup still references the site's own design tokens from
   * inline style attributes. Defining them keeps those colours truthful
   * instead of letting them fall back to an inherited value. */
  --color-white: #ffffff;
  --color-neutral-100: #f5f5f7;
  --color-neutral-800: #2f2f2f;
  --color-gray-1: #5a5a5a;
  --color-gray-2: #6d6d6d;
  --color-gray-3: #767676;
  --color-green-3: #1a7f4b;
  --brand-primary-2: #4b1ea8;
  --brand-primary-3: #7234ff;
  --brand-primary-4: #9567ff;
}

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

html {
  background: var(--bg);
}

body {
  font-family: Roboto, "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  overflow-wrap: break-word;
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 24px 64px;
  background: var(--surface);
}

/* ------------------------------------------------------------- headings -- */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: inherit;
  line-height: 1.25;
  font-weight: 600;
}

h1 {
  font-size: 32px;
  color: var(--heading);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

h2 {
  font-size: 24px;
  color: var(--heading);
  margin: 40px 0 12px;
}

h3 {
  font-size: 20px;
  color: var(--heading);
  margin: 32px 0 10px;
}

h4 {
  font-size: 18px;
  color: var(--heading-alt);
  margin: 24px 0 8px;
}

h5 {
  font-size: 16px;
  color: var(--heading-alt);
  margin: 20px 0 6px;
}

h6 {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  margin: 0 0 8px;
}

/* The landing hero is a coloured band or a background photo on the live site.
 * The mirror has neither, so titles inline-styled white would be invisible. */
[style*="color: white"],
[style*="color:white"],
[style*="color: #fff"],
[style*="color:#fff"],
[style*="color: rgb(255, 255, 255)"] {
  color: var(--heading) !important;
}

.header-wrapper,
.header-content,
.header-box,
.main {
  background: none !important;
}

/* Heading wrappers carry the heading's font-size and colour inline, which
 * otherwise leaks onto the body copy and lists they also contain. */
section.tag-text-heading,
section[class*="eva-3-h"],
section[class*="shifu-3-h"],
section[style*="font-size"] {
  font-size: 16px !important;
  font-weight: 400;
  color: var(--text) !important;
}

/* ----------------------------------------------------------- text blocks -- */

p {
  margin: 0 0 12px;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

strong,
.-eva-3-bold,
.-shifu-3-bold {
  font-weight: 700;
  color: inherit;
}

/* <em> is used throughout the capture as a generic wrapper for button and
 * label text, not for emphasis; italicising it misreads the page. */
em {
  font-style: normal;
  color: inherit;
}

ul,
ol {
  margin: 8px 0 16px 22px;
}

li {
  margin: 0 0 4px;
}

ul.task-list {
  display: none;
}

span:empty,
p:empty,
li:empty,
ul:empty,
ol:empty,
h1:empty,
h2:empty,
h3:empty,
h4:empty,
h5:empty,
h6:empty {
  display: none;
}

hr,
.shifu-line,
.div-separator {
  border: none;
  border-top: 1px solid var(--rule);
  height: 0;
  margin: 24px 0;
}

blockquote {
  margin: 16px 0;
  padding-left: 16px;
  border-left: 3px solid var(--rule);
  color: var(--text-muted);
}

code {
  background: var(--code-bg);
  padding: 0.1em 0.35em;
  font-family: "JetBrains Mono", Consolas, Monaco, monospace;
  font-size: 0.9em;
}

pre {
  background: var(--code-bg);
  padding: 16px;
  overflow-x: auto;
  margin: 16px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

th {
  text-align: left;
  font-weight: 600;
  padding: 8px 12px;
  border-bottom: 2px solid var(--border);
}

td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--rule);
}

::selection {
  background: var(--accent);
  color: #ffffff;
}

/* --------------------------------------------------------------- images -- */

/* Galleries are flat runs of <img> once the grid wrappers are gone. Letting
 * them flow inline at thumbnail height reproduces the site's photo mosaic
 * instead of a column of full-bleed pictures. */
img {
  max-width: 100%;
  max-height: 240px;
  height: auto;
  object-fit: contain;
  display: inline-block;
  vertical-align: top;
  margin: 0 12px 12px 0;
}

figure {
  display: inline-block;
  margin: 0 12px 12px 0;
}

figcaption {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 320px;
}

/* -------------------------------------------------------- page structure -- */

section.eva-3-container {
  display: block;
  margin: 0 0 36px;
}

/* FAQ entries are question headings wrapped in nested lists whose first item
 * is only an empty accordion handle. */
section.frequently-asked-question-container ul,
section.frequently-asked-question-container ol {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

section.frequently-asked-question-container li > p:has(> span:empty) {
  display: none;
}

h5.item-label {
  font-size: 17px;
  color: var(--heading);
  margin: 20px 0 6px;
}

.breadcrumb-text {
  font-size: 14px;
}

.eva-3-breadcrumb ol {
  list-style: none;
  margin-left: 0;
}

.eva-3-breadcrumb li {
  display: inline;
}

.eva-3-breadcrumb li + li::before {
  content: " / ";
  color: var(--text-muted);
}

.footer-legal-container,
.footer-primary-text,
.footer-legal-secondary,
.footer-text-links {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------------------------------------------------------------- print -- */

@media (max-width: 768px) {
  body {
    padding: 20px 16px 40px;
    font-size: 15px;
  }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 21px;
  }

  h3 {
    font-size: 18px;
  }
}

@media print {
  body {
    max-width: none;
    padding: 0;
  }

  a {
    color: #000000;
    text-decoration: underline;
  }
}
