/* Self-hosted Manrope variable font (zero external Google Fonts requests) */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(../fonts/manrope-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(../fonts/manrope-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(../fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(../fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.avia-form-input-unit .avia-field-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

/* Any.Flights site skin. Loaded after the 2012 base theme (style.css,
   layout.css and their -rtl twins) and overrides it. Logical properties
   only, so the Arabic site mirrors without extra rules. The search form
   has its own skin in avia-mobile-sheets.css. */

:root {
  --ink: #1b2133;
  --muted: #5e677a;
  --faint: #8a93a5;
  --blue: #2d55ff;
  --blue-dark: #1e43e4;
  --blue-soft: #edf1ff;
  --orange: #ef9118;
  --orange-dark: #db7f0c;
  --orange-soft: #fff3e3;
  --line: #e6ebf4;
  --soft: #f4f6fb;
  --card-shadow: 0 1px 2px rgba(16, 24, 48, .05), 0 6px 20px rgba(16, 24, 48, .06);
  --card-shadow-hover: 0 2px 4px rgba(16, 24, 48, .06), 0 18px 40px rgba(16, 24, 48, .14);
  --gutter: 24px;
  --site-w: min(1160px, calc(100vw - 2 * var(--gutter)));
  --text-w: 860px;
  --radius: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 1199px) { :root { --gutter: 20px; } }
@media (max-width: 767px) { :root { --gutter: 16px; --radius: 14px; } }

/* 1. Base ------------------------------------------------------------------ */

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: #fff;
  color: var(--ink);
  font-family: Manrope, "Google Sans", Roboto, "Segoe UI", Arial, sans-serif !important;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[dir="rtl"] body { font-family: Manrope, "Noto Sans Arabic", Tahoma, Arial, sans-serif !important; }
#page-wrapper { min-width: 0; }
h1, h2, h3, h4 {
  color: var(--ink);
  font-family: inherit;
  letter-spacing: -.02em;
  line-height: 1.2;
}
html[dir="rtl"] :is(h1, h2, h3, h4) { letter-spacing: 0; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .15s, background-color .15s, border-color .15s, box-shadow .15s; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
img { max-width: 100%; }
::selection { background: rgba(45, 85, 255, .16); }

/* One width for every horizontal band of the page. */
.header-in,
#featured div.section,
#messages div.section,
#breadcrumb,
#main,
footer .section,
#footer .section,
.app-box__inner,
.legal-info {
  box-sizing: border-box;
  width: var(--site-w) !important;
  max-width: none !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}
#main-wrapper { margin: 0; min-height: 0; }
#main { margin-top: 0; margin-bottom: 72px; }
#content,
.no-sidebars #content { float: none; width: auto; padding: 0; }

/* 2. Header ---------------------------------------------------------------- */

#header {
  position: relative;
  z-index: 900;
  height: 64px;
  padding: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
#header.is-scrolled { border-bottom-color: var(--line); }
.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
  position: relative;
}
.header-in .logo { flex: none; }
#logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  float: none;
  padding: 0;
  color: var(--ink) !important;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.03em;
  text-decoration: none !important;
}
#logo::before {
  content: "";
  width: 30px;
  height: 30px;
  border-radius: 9px;
  /* The blue patch hides the plane of the base image (it spans 16-83% x 26-73%,
     clouds start at 83%), so only the clouds stay here. */
  background:
    linear-gradient(var(--blue), var(--blue)) center / 72% 52% no-repeat,
    var(--blue) url("../images/af-mark.svg") center / cover no-repeat;
  box-shadow: 0 4px 10px rgba(45, 85, 255, .35);
}
/* The plane: same image on top, cut above the clouds, flies over its own blue. */
#logo::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  background: url("../images/af-mark.svg") center / cover no-repeat;
  clip-path: inset(21% 10% 23% 10%);
  transform-origin: 50% 50%;
  animation: af-fly 2.6s ease-in-out infinite paused;
  pointer-events: none;
}
#logo:hover::after { animation-play-state: running; }
@keyframes af-fly {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  25% { transform: translate(.4px, -1.8px) rotate(-2deg); }
  50% { transform: translate(0, -.6px) rotate(0); }
  75% { transform: translate(-.4px, .6px) rotate(1.5deg); }
}

/* Filter chips (explore, airlines). */
.af-chip {
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #343b4f;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  transition: background-color .15s, border-color .15s, color .15s;
}
.af-chip:hover { border-color: var(--blue); color: var(--blue); }
.af-chip.is-on { border-color: var(--blue); background: var(--blue); color: #fff; }

/* Language and currency are secondary controls: neutral pills on the white header. */
#header .fg-tools .lang__trigger,
#header .fg-tools .cur__trigger {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}
#header .fg-tools .lang__trigger:hover,
#header .fg-tools .cur__trigger:hover,
#header .fg-tools [aria-expanded="true"] {
  border-color: #cdd6ff;
  background: #f2f5ff;
  color: var(--blue);
}
#header .fg-tools .cur__trigger b { color: inherit; }
#header .fg-tools .cur__tsym { background: #eef1f7; color: var(--muted); }
.header-in > .block,
.header-in .region-header { position: static; margin: 0; }

/* 3. Hero ------------------------------------------------------------------ */

#featured {
  position: relative;
  padding: 56px 0 72px;
  background-color: var(--blue);
  background-image:
    radial-gradient(900px 420px at 85% -10%, rgba(255, 255, 255, .18), transparent 60%),
    radial-gradient(700px 360px at -5% 110%, rgba(16, 32, 140, .45), transparent 65%),
    linear-gradient(160deg, #3a61ff 0%, #2d55ff 45%, #2143e6 100%);
}
#featured::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255, 255, 255, .12);
}
#featured h1 {
  max-width: 900px;
  margin: 0 auto 28px;
  color: #fff;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-wrap: balance;
}
#featured h1,
#featured #avia-search { animation: af-rise .6s var(--ease) backwards; }
#featured #avia-search { animation-delay: .08s; }
body.page-search #featured { padding: 24px 0 !important; }

/* 4. Page heading and breadcrumbs ------------------------------------------ */

#breadcrumb { margin-block: 0; padding: 20px 0 16px; clear: both; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  padding: 0;
  color: var(--faint);
  font-size: 14px;
  line-height: 20px;
}
.breadcrumb a:link,
.breadcrumb a:visited { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); text-decoration: none; }
.breadcrumb > span:last-child,
.breadcrumb > span:last-child a { color: var(--ink); font-weight: 600; }

.page_title,
#main > .page_title {
  max-width: var(--text-w);
  margin: 12px 0 24px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  text-align: start;
  text-wrap: pretty;
}

/* 5. Content typography ---------------------------------------------------- */

#content .section > h2,
#content .block > h2,
#content .small_p > h2 {
  margin: 56px 0 20px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  text-align: start;
  text-wrap: balance;
}
#content .section > h2:first-child { margin-top: 32px; }
#content h2 { text-align: start; }
body:not(.featured) .page_title { margin-top: 40px; }
#content h3 { font-size: 18px; font-weight: 700; }
#content p,
#content li { text-align: start; }
#content .section > p,
#content .section > ul,
#content .section > ol,
#content .small_p > p,
#content .block > p,
#content .node .content > * {
  max-width: var(--text-w);
  color: #343b4f;
  font-size: 16px;
  line-height: 1.7;
}
#content .section { margin: 0; }
#content .section > p { margin: 0 0 16px; }
#content .section > ul,
#content .section > ol { margin: 0 0 20px; padding-inline-start: 22px; }
#content .section > ul li,
#content .section > ol li { margin: 0 0 8px; padding-inline-start: 4px; }
#content .section > ul li::marker { color: var(--blue); }
#content .section > ol li::marker { color: var(--blue); font-weight: 700; }
#content .section > p u { text-decoration-color: rgba(45, 85, 255, .35); }
#content .section > p a,
#content .block > p a { font-weight: 600; text-decoration: underline; text-decoration-color: rgba(45, 85, 255, .3); }
#content .section > p a:hover { text-decoration-color: currentColor; }

/* 6. Cards: cities with their cheapest routes ------------------------------ */

#prices-blocks > .item-list > ul,
#content ul:has(> li > .prices-block) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  align-content: start;
  gap: 20px;
  height: auto !important;
  margin: 0;
  padding: 0;
  list-style: none;
}
#prices-blocks > .item-list > ul > li,
#prices-blocks > .item-list > ul > li:first-child,
#content ul:has(> li > .prices-block) > li { margin: 0 !important; padding: 0; list-style: none; float: none; width: auto; }
#content :not(ul) > .prices-block + .prices-block { margin-top: 20px; }
.prices-block {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--card-shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.prices-block:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.prices-block > a { position: relative; display: block; overflow: hidden; text-decoration: none; }
.prices-block .bg-alfa { display: none; }
.city-image { height: auto; aspect-ratio: 16 / 9; background-size: cover; background-position: center; }
.city-image picture { display: contents; }
.city-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.prices-block:hover .city-image img { transform: scale(1.06); }
.prices-block div.titles {
  inset: auto 0 0;
  top: auto;
  width: auto;
  padding: 40px 16px 12px;
  background: linear-gradient(to top, rgba(12, 18, 40, .78), rgba(12, 18, 40, 0));
  text-align: start;
}
#content .prices-block div.titles h2 {
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  text-align: start;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.prices-block div.titles h3 {
  margin: 2px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, .8);
  font-size: 13px;
  font-weight: 600;
}
.prices-block .item-list ul.prices-list { padding: 6px; }
.prices-block .item-list ul.prices-list li { padding: 8px 10px; border: 0 !important; border-radius: 10px; }

/* 7. Route rows: name on the start side, fare pill on the end ------------- */

.item-list ul.prices-list { margin: 0; padding: 0; background: none; }
.item-list ul.prices-list li,
.item-list ul.prices-list li.even,
.item-list ul.prices-list li.odd {
  position: relative;
  margin: 0;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  background: none !important;
  list-style: none;
  transition: background-color .15s;
}
.prices-list li > div { width: 100%; }
.item-list ul.prices-list li:hover { background: var(--soft) !important; }
.prices-list li,
.prices-list li > div,
.prices-table td > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.prices-list li a:not(.ajax-link),
.prices-table td > div > a {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.prices-list li a:not(.ajax-link):hover,
.prices-table td > div > a:hover { color: var(--blue); }

/* The old theme fades the row under the price with a background image. */
.prices-table tr td span.w,
.prices-list span.w,
.prices-table tr.odd span.w,
.prices-table tr.even span.w,
.prices-list .odd span.w,
.prices-list .even span.w {
  position: static;
  flex: none;
  padding: 0;
  background: none !important;
}
.prices-list span.price,
.prices-table span.price,
.prices-table tr.odd span.price,
.prices-table tr.even span.price,
.prices-list .odd span.price,
.prices-list .even span.price { background: none !important; }
.prices-list .price a.ajax-link,
.prices-table .price a.ajax-link,
.item-list .price a {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 5px 10px;
  border: 0 !important;
  border-radius: 999px;
  background: var(--orange-soft);
  color: #b35f00 !important;
  font-size: 14px;
  font-weight: 700 !important;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .15s, color .15s, transform .15s;
}
.prices-list .price a.ajax-link:hover,
.prices-table .price a.ajax-link:hover,
.item-list .price a:hover { background: var(--orange); color: #fff !important; transform: translateY(-1px); }
.price .price_amount { font-weight: 800; }
.price .cc_rub { font-family: inherit; }
html[dir="rtl"] .price[data-currency],
html[dir="rtl"] .price_amount {
  direction: ltr;
  unicode-bidi: isolate;
}

/* Two-column route lists on route/city pages (same grid as prices-table). */
@media (min-width: 768px) {
  #content :not(.prices-block) > .item-list > ul.prices-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }
}

/* Two-column route table on city pages. */
#content table.prices-table,
#content table.prices-table tbody { display: block; width: auto; border: 0; }
#content table.prices-table tbody {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
}
#content table.prices-table tr { display: contents; }
#content table.prices-table td {
  display: block;
  width: auto !important;
  padding: 12px 14px !important;
  border: 0 !important;
  border-top: 1px solid var(--line) !important;
  border-radius: 0;
  background: none !important;
  transition: background-color .15s;
}
#content table.prices-table td:hover { background: var(--soft) !important; }
#content table.prices-table td:empty { display: none; }

/* 8. Chips: airlines on a route, catalogue links --------------------------- */

#block-avia-avia-route-airlines table,
#block-avia-avia-route-airlines tbody { display: block; width: auto; border: 0; }
#block-avia-avia-route-airlines tbody { display: flex; flex-wrap: wrap; gap: 8px; }
#block-avia-avia-route-airlines tr { display: contents; }
#block-avia-avia-route-airlines td {
  display: block;
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}
#block-avia-avia-route-airlines td:empty { display: none; }
#block-avia-avia-route-airlines td a {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
#block-avia-avia-route-airlines td a:hover { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); }
#block-avia-avia-route-airlines > p,
#block-avia-avia-route-airlines + p { margin-top: 16px; color: var(--muted); }

/* Inline link lists ("flights to the city are operated from ..."). */
#block-avia-avia-to-city { display: block; }
#block-avia-avia-to-city .content,
#block-avia-avia-to-city > div:not(.hr) { display: flex; flex-wrap: wrap; }
#content #block-avia-avia-to-city a {
  display: inline-flex;
  align-items: center;
  margin: 0 0 8px;
  margin-inline-end: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
#content #block-avia-avia-to-city a:hover { background: var(--blue-soft); color: var(--blue); }
#block-avia-avia-to-city .hr { display: none; }

/* Catalogues: cities, countries, airports grouped in columns. */
#content table.countries-cities,
#content table.countries-cities tbody { display: block; width: auto; border: 0; }
#content table.countries-cities tbody {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 4px 24px;
}
#content table.countries-cities tr { display: contents; }
#content table.countries-cities td {
  display: block;
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}
.countries-cities .letter { margin: 20px 0 8px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--blue); font-size: 20px; font-weight: 800; }
.countries-cities .item-list ul { margin: 0; padding: 0; }
.countries-cities .item-list ul li { margin: 0; padding: 0; list-style: none; }
.countries-cities .item-list ul li a {
  display: block;
  margin-inline: -10px;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 15px;
  text-decoration: none;
}
.countries-cities .item-list ul li a:hover { background: var(--soft); color: var(--blue); }
.countries-cities .item-list ul li a:empty,
.countries-cities .item-list ul li:has(> a:empty) { display: none; }

/* Airline logo strips: logo tiles. */
#content table.f_airlines,
#content table.f_airlines tbody { display: block; width: auto; border: 0; }
#content table.f_airlines tbody { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
#content table.f_airlines tr { display: contents; }
#content table.f_airlines td {
  display: block;
  min-width: 0;
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}
#content table.f_airlines td a {
  display: grid;
  place-items: center;
  height: 64px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: border-color .15s, box-shadow .2s, transform .2s var(--ease);
}
#content table.f_airlines td a:hover { border-color: transparent; box-shadow: var(--card-shadow-hover); transform: translateY(-2px); }
#content table.f_airlines td img { max-height: 36px; width: auto; object-fit: contain; }
.af-airline-name {
  max-width: 100%;
  overflow: hidden;
  font-size: 13px;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.af-airline img + .af-airline-name { color: var(--muted); font-weight: 500; }
.af-airline:hover img + .af-airline-name { color: var(--blue); }
#content table.f_airlines .af-airline img + .af-airline-name { display: none; }

/* Airline page logo. */
#content .section > img:first-child {
  display: block;
  max-height: 56px;
  width: auto;
  margin: 0 0 16px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

/* 9. Fare highlights ------------------------------------------------------- */

.the-cheapest-ticket {
  position: relative;
  max-width: var(--text-w);
  padding: 20px 22px;
  padding-inline-start: 72px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue-soft), #f7f9ff);
  color: #343b4f;
  line-height: 1.6;
}
.the-cheapest-ticket::before {
  content: "";
  position: absolute;
  inset-inline-start: 20px;
  top: 20px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M21 15.5v-1.8l-7.5-4.6V4.2a1.5 1.5 0 0 0-3 0v4.9L3 13.7v1.8l7.5-2.3v4.9l-2 1.5V21l3.5-1 3.5 1v-1.4l-2-1.5v-4.9z'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.the-cheapest-ticket .price { color: var(--ink); font-size: 18px; font-weight: 800; white-space: nowrap; }
.the-cheapest-ticket a.ajax-link { border: 0; }

/* Month bars (prices per day). */
.prices_per_day .val a { width: 17px; border-radius: 6px 6px 2px 2px; background: var(--blue); transition: background-color .15s, transform .15s; }
.prices_per_day .val a:hover { width: 17px; margin: 0; background: var(--orange); transform: scaleY(1.03); transform-origin: bottom; }
.prices_per_day .labels td { color: var(--muted); }

/* 10. FAQ accordion -------------------------------------------------------- */

.block-faq { display: grid; gap: 10px; max-width: var(--text-w); }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item:hover { border-color: #d3dbea; }
.faq-item.is-open { border-color: transparent; box-shadow: var(--card-shadow); }
#content .faq-item h3.faq-question {
  position: relative;
  margin: 0;
  padding: 18px 20px;
  padding-inline-end: 56px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  user-select: none;
}
#content .faq-item h3.faq-question::after {
  content: "";
  position: absolute;
  inset-inline-end: 18px;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%232d55ff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .3s var(--ease), background-color .2s;
}
.faq-item.is-open h3.faq-question::after { transform: rotate(180deg); background-color: var(--blue-soft); }
.js-faq .faq-item:not(.is-open) .faq-answer { display: none; }
.js-faq .faq-item.is-open .faq-answer { animation: af-rise .35s var(--ease); }
#content .faq-answer p { margin: 0; padding: 0 20px 18px; color: #343b4f; line-height: 1.7; }

/* 11. Buttons -------------------------------------------------------------- */

.fillform.backbutton,
#block-avia-avia-backtoform .backbutton {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  height: 52px;
  margin: 40px 0 0;
  padding: 0 24px;
  border-radius: 14px;
  background: var(--orange);
  box-shadow: 0 10px 24px -10px rgba(239, 145, 24, .8);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  transition: background-color .15s, transform .2s var(--ease), box-shadow .2s;
}
.fillform.backbutton > span { background: none; padding: 0; color: inherit; font: inherit; }
.fillform.backbutton::after {
  content: "";
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s var(--ease);
}
html[dir="rtl"] .fillform.backbutton::after { transform: scaleX(-1); }
.fillform.backbutton:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 16px 28px -12px rgba(239, 145, 24, .9); }
.fillform.backbutton:hover::after { transform: translateX(3px); }
html[dir="rtl"] .fillform.backbutton:hover::after { transform: scaleX(-1) translateX(3px); }
.ob { border-radius: 12px; background: var(--orange); background-image: none; box-shadow: none; text-shadow: none; }
.ob:hover { background: var(--orange-dark); }
.ticket .ob { background: var(--blue) !important; background-image: none; }
.ticket .ob:hover { background: var(--blue-dark) !important; }

/* 12. Generic tables (data tables inside articles) ------------------------- */

#content table:not(.prices-table):not(.countries-cities):not(.f_airlines):not(.prices_per_day) {
  border-collapse: separate;
  border-spacing: 0;
}
table td,
table th {
  background: #fff !important;
  background-image: none !important;
  border: 0 !important;
  border-top: 1px solid var(--line) !important;
  padding: 10px 14px;
  color: var(--ink);
}
table th { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
tr.even, tr.odd { background: none; }

/* 13. Messages ------------------------------------------------------------- */

#messages { padding: 16px 0 0; }
div.messages { margin: 0; padding: 14px 18px; border: 0; border-radius: 12px; background-image: none; }
div.status { background: #ecfdf3; color: #0c6b3a; }
div.error { background: #fdeeee; color: #a3262b; }

/* 14. Footer --------------------------------------------------------------- */

footer {
  margin-top: 0;
  padding: 56px 0 0;
  border-top: 1px solid var(--line);
  background: var(--soft) !important;
  color: var(--muted);
  text-align: start;
}
footer .section {
  margin-block: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 48px;
}
footer .footer-column { float: none; width: auto; margin: 0; }
footer .footer-column:empty,
footer .column-3:empty { display: none; }
footer .footer-title,
#footer .footer-title {
  margin: 0 0 14px;
  color: var(--ink) !important;
  font-size: 15px;
  font-weight: 800;
  text-align: start;
}
footer .footer-title a { color: inherit !important; }
footer .footer-column > a {
  display: inline-block;
  margin: 0 0 6px;
  margin-inline-end: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  color: #343b4f !important;
  font-size: 14px;
  line-height: 20px;
  box-shadow: 0 1px 2px rgba(16, 24, 48, .05);
}
footer .footer-column > a:hover { background: var(--blue); color: #fff !important; }
#footer {
  margin: 48px 0 0;
  padding: 40px 0 0;
  border-top: 1px solid var(--line);
  background: none !important;
}
#footer .section { display: block; }
#footer .item-list,
#lang-links .item-list { display: block; }
#footer ul.language,
#lang-links ul.language {
  float: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 4px 16px;
  margin: 0;
  padding: 0;
}
#footer ul.language li,
#lang-links .item-list ul li {
  position: static;
  display: flex;
  align-items: center;
  gap: 8px;
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}
#lang-links ul.language .flag {
  position: static;
  flex: none;
  float: none;
  margin: 0;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(16, 24, 48, .08);
}
#footer ul.language li a.name,
#lang-links ul.language .name {
  display: block;
  float: none;
  padding-inline-start: 0;
  padding: 6px 0;
  color: #343b4f !important;
  font-size: 14px;
}
#footer ul.language li a.name:hover { color: var(--blue) !important; }
#footer ul.language li a.active { color: var(--ink) !important; font-weight: 800; }
.app-box { padding: 32px 0 8px; }
.app-box__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin: 0;
  text-align: start;
}
.app-box__btn { padding: 0; border-radius: 8px; transition: transform .2s var(--ease), box-shadow .2s; }
.app-box__btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -10px rgba(16, 24, 48, .5); }
.app-box__img { display: block; width: auto; height: 40px; }
.legal-info { padding: 16px 0 32px; border-top: 0; }
#copyright { margin: 0; color: var(--faint); font-size: 14px; text-align: start; }

/* 15. Scroll reveal (modern.js adds .af-reveal and .is-in) ---------------- */

.af-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.af-reveal.is-in { opacity: 1; transform: none; }

@keyframes af-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* 16. Narrow screens ------------------------------------------------------- */

@media (max-width: 1023px) {
}
@media (max-width: 767px) {
  body { font-size: 15px; }
  #header { height: 56px; }
  .header-in { height: 56px; align-items: center; }
  #header #block-avia-avia-curlang { margin: 0 !important; float: none !important; display: flex; align-items: center; }
  #logo { font-size: 18px; }
  #logo::before, #logo::after { width: 28px; height: 28px; }
  #logo::after { margin-top: -14px; }
  #featured { padding: 24px 0 32px; }
  #featured h1 { margin-bottom: 18px; }
  #breadcrumb { padding: 14px 0 12px; }
  .breadcrumb { font-size: 13px; }
  .page_title, #main > .page_title { margin: 8px 0 18px; }
  #content .section > h2,
  #content .block > h2,
  #content .small_p > h2 { margin: 40px 0 14px; }
  #content .section > p,
  #content .small_p > p,
  #content .block > p { font-size: 15px; line-height: 1.65; }
  #prices-blocks > .item-list > ul,
  #content ul:has(> li > .prices-block) { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  #content table.prices-table tbody { grid-template-columns: minmax(0, 1fr); }
  #content table.countries-cities tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
  #content table.f_airlines tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .item-list ul.prices-list li { padding: 11px 10px; }
  .prices-list li a:not(.ajax-link),
  .prices-table td > div > a { font-size: 14px; line-height: 1.35; white-space: normal; }
  .the-cheapest-ticket { padding: 16px; padding-inline-start: 64px; }
  .the-cheapest-ticket::before { inset-inline-start: 16px; top: 16px; }
  #content .faq-item h3.faq-question { padding: 16px; padding-inline-end: 52px; font-size: 15px; }
  #content .faq-answer p { padding: 0 16px 16px; }
  .fillform.backbutton,
  #block-avia-avia-backtoform .backbutton { display: flex; justify-content: center; width: 100%; box-sizing: border-box; }
  footer { padding-top: 40px; }
  footer .section { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  #footer ul.language { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .af-reveal { opacity: 1; transform: none; }
  #logo::after { animation: none !important; }
}

/* Top Smart Summary / Key Facts card (GEO / AI Overviews) */
.af-facts {
  margin: 0 0 24px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--card-shadow);
  border-inline-start: 4px solid var(--blue);
}
#content .af-facts__lead {
  max-width: none;
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
}
.af-facts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 12px;
  margin: 0;
}
.af-facts__item {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
}
.af-facts__item--price {
  background: var(--orange-soft);
  border-color: rgba(239, 145, 24, .28);
}
.af-facts__item dt {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.af-facts__item dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}
.af-facts__item--price dd {
  color: #b35f00;
  font-size: 17px;
  font-weight: 800;
}
@media (max-width: 639px) {
  .af-facts { padding: 16px; }
  #content .af-facts__lead { font-size: 15px; margin-bottom: 12px; }
  .af-facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .af-facts__item { padding: 10px 12px; }
  .af-facts__item dd { font-size: 14px; }
}
