/* Empty Leg page — long-form sections beneath the board.
   The structure follows the pattern the consumer empty-leg marketplaces have
   converged on (explainer → why us → who it suits → FAQ → route index),
   because it answers questions in the order visitors actually ask them. The
   copy, the figures and the caveats are ours. */

.el-wrap {
  /* Layout comes from .wrap, which these elements also carry — the page column
     differs between EN and TR and is assembled from several rules, so it must
     not be described a second time here. */
  min-width: 0;
}
.el-kicker { margin: 0; font-size: .7rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #8A7745; }
.el-h2 { margin: 12px 0 0; font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: clamp(30px, 4vw, 52px); line-height: 1.08; letter-spacing: -.02em; max-width: 20ch; }
.el-lede { margin: 16px 0 0; max-width: 68ch; font-size: 1rem; line-height: 1.6; color: #55585C; }

.el-btn { display: inline-block; margin-top: 18px; padding: 13px 20px; border-radius: 10px; font-size: .85rem; font-weight: 800; text-decoration: none; }
.el-btn--ghost { border: 1px solid rgba(11,13,15,.24); color: #0B0D0F; }
.el-btn--ghost:hover { border-color: #C8A96A; background: rgba(200,169,106,.12); }

/* Explainer */
.el-explain { padding: clamp(56px, 8vw, 104px) 0; background: #FAF8F3; border-top: 1px solid rgba(11,13,15,.08); }
.el-explain__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.el-explain__grid > div > p { margin: 18px 0 0; max-width: 62ch; font-size: 1rem; line-height: 1.65; color: #45484C; }
.el-explain__side { padding: 26px; border: 1px solid rgba(11,13,15,.12); border-radius: 16px; background: #fff; box-shadow: 0 26px 60px -34px rgba(6,16,30,.35); }
.el-explain__side h3 { margin: 0 0 14px; font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: #55585C; }
.el-breakdown { margin: 0; padding: 0; list-style: none; }
.el-breakdown li { display: grid; gap: 3px; padding: 12px 0; border-top: 1px solid rgba(11,13,15,.09); }
.el-breakdown li:first-child { border-top: 0; }
.el-breakdown span { font-size: .78rem; color: #6B6E72; }
.el-breakdown b { font-size: .92rem; color: #0B0D0F; }
.el-breakdown li:last-child b { color: #7A6428; }
.el-breakdown__note { margin: 14px 0 0; font-size: .8rem; line-height: 1.55; color: #6B6E72; }

/* Why the desk */
.el-why { padding: clamp(56px, 8vw, 104px) 0; background: #0B0D0F; color: #F5F4F0; }
.el-why .el-h2 { color: #F5F4F0; }
.el-why .el-lede { color: #B9B5AC; }
.el-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.el-stat { padding: 24px; border: 1px solid rgba(245,244,240,.16); border-radius: 14px; background: rgba(245,244,240,.04); }
.el-stat b { display: block; font-family: Newsreader, Georgia, serif; font-size: clamp(34px, 4vw, 50px); line-height: 1; color: #C8A96A; }
.el-stat span { display: block; margin-top: 12px; font-size: .84rem; line-height: 1.5; color: #B9B5AC; }
.el-assure { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 24px; }
.el-assure article { padding: 24px; border: 1px solid rgba(245,244,240,.14); border-radius: 14px; }
.el-assure h3 { margin: 0 0 9px; font-size: 1.02rem; font-weight: 700; }
.el-assure p { margin: 0; font-size: .88rem; line-height: 1.6; color: #B9B5AC; }

/* Who it suits */
.el-who { padding: clamp(56px, 8vw, 104px) 0; background: #F5F3EE; }
.el-who__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 40px; }
.el-who__card { padding: 28px; border: 1px solid rgba(11,13,15,.1); border-radius: 16px; background: #fff; }
.el-who__card h3 { margin: 0 0 10px; font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: 1.35rem; }
.el-who__card p { margin: 0; font-size: .92rem; line-height: 1.62; color: #55585C; }

/* FAQ */
.el-faq { padding: clamp(56px, 8vw, 104px) 0; background: #fff; }
.el-faq__list { margin-top: 40px; border-top: 1px solid rgba(11,13,15,.12); }
.el-faq__item { border-bottom: 1px solid rgba(11,13,15,.12); }
.el-faq__item summary { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 1.05rem; font-weight: 600; color: #0B0D0F; }
.el-faq__item summary::-webkit-details-marker { display: none; }
.el-faq__item summary::after { content: '+'; flex: none; font-size: 1.4rem; font-weight: 400; color: #8A7745; }
.el-faq__item[open] summary::after { content: '−'; }
.el-faq__item > div { padding: 0 0 24px; }
.el-faq__item p { margin: 0; max-width: 78ch; font-size: .95rem; line-height: 1.65; color: #55585C; }

/* Route index */
.el-routes { padding: clamp(48px, 6vw, 84px) 0; background: #FAF8F3; border-top: 1px solid rgba(11,13,15,.08); }
.el-routes__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 60px); margin-top: 36px; }
.el-routes__h3 { margin: 0 0 14px; font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: #55585C; }
.el-routes__h3 + .el-linklist + .el-routes__h3 { margin-top: 30px; }
.el-linklist { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 28px; }
.el-linklist li { break-inside: avoid; }
.el-linklist a { display: block; padding: 8px 0; font-size: .9rem; color: #2A3038; text-decoration: none; border-bottom: 1px solid transparent; }
.el-linklist a:hover { color: #0B0D0F; border-bottom-color: #C8A96A; }

@media (max-width: 900px) {
  .el-explain__grid, .el-stats, .el-assure, .el-who__grid, .el-routes__grid { grid-template-columns: 1fr; }
  .el-linklist { columns: 1; }
}



/* Empty state wears its own photograph — dawn apron, calm and expectant */
.elm-empty .elm-empty__img { width: 100%; max-height: 320px; object-fit: cover; object-position: center 62%; border-radius: 10px; margin-bottom: 18px; }

/* Indicative sample cards say what they are — a quiet gold-hairline badge */
.elm-card__samplebadge { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(11,13,15,.72); border: 1px solid rgba(200,169,106,.65); color: #E8D5AB; font: 700 10.5px/1 "Satoshi", system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; }

/* Ambient film under the board hero — dusk apron time-lapse, deep scrim
   keeps the serif headline readable; stills win under reduced motion */
.ai-core-empty-legs-hero .elm-hero-video { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.ai-core-empty-legs-hero .elm-hero-scrim { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(8,17,24,.72) 0%, rgba(8,17,24,.5) 45%, rgba(8,17,24,.86) 100%); }
@media (prefers-reduced-motion: reduce) { .ai-core-empty-legs-hero .elm-hero-video { display: none; } }

/* ═══ Search page: filter rail + results ══════════════════════════════
   Desktop: a quiet sticky rail beside the results. Mobile: the same rail
   slides up as a sheet from the "All filters" button. */
/* One column of results, full width. The filters live in a drawer at every
   size — a permanent rail spent a quarter of the screen on controls a
   visitor touches once, and stood there empty while the board was empty. */
.elm-shell { display: block; }
.elm-results { min-width: 0; }

.elf {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 92vw); z-index: 210;
  display: flex; flex-direction: column; background: #fff; border-left: 1px solid rgba(11,13,15,.08);
  box-shadow: -24px 0 60px -30px rgba(11,13,15,.45);
  transform: translateX(102%); transition: transform .32s cubic-bezier(.16,1,.3,1);
}
.elf.is-open { transform: none; }
.elf-scrim { position: fixed; inset: 0; z-index: 205; background: rgba(11,13,15,.34); opacity: 0; pointer-events: none; transition: opacity .3s; }
.elf-scrim.is-on { opacity: 1; pointer-events: auto; }
.elf__head { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid rgba(11,13,15,.07); }
.elf__head b { font: 400 17px/1 "Newsreader", Georgia, serif; }
.elf__clear { margin-left: auto; background: none; border: 0; cursor: pointer; font: 700 10.5px/1 "Satoshi", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #8a6f3c; }
.elf__x { display: block; background: none; border: 0; font-size: 15px; color: #6A6C62; cursor: pointer; }
.elf__body { flex: 1 1 auto; overflow: auto; padding: 4px 18px 14px; }
.elf__sec { padding: 14px 0; border-bottom: 1px solid rgba(11,13,15,.06); }
.elf__sec:last-child { border-bottom: 0; }
.elf__sec h4 { font: 700 10px/1 "Satoshi", sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #8b8d84; margin: 0 0 10px; }
.elf-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; font: 400 13.5px/1.3 "Satoshi", sans-serif; color: #0B0D0F; }
.elf-row input { width: 15px; height: 15px; accent-color: #C8A96A; cursor: pointer; }
.elf-row i { margin-left: auto; font-style: normal; font-size: 11.5px; color: #8b8d84; font-variant-numeric: tabular-nums; }
.elf-row.is-empty { opacity: .42; }
.elf__sec input[type="range"] { width: 100%; accent-color: #C8A96A; }
.elf__sec input[type="number"] { width: 100%; border: 0; border-bottom: 1px solid rgba(11,13,15,.22); background: none; padding: 6px 0; font: 400 14px/1 "Satoshi", sans-serif; outline: none; }
.elf__note { margin: 6px 0 0; font: 400 12px/1 "Satoshi", sans-serif; color: #8b8d84; }
.elf__foot { display: block; padding: 12px 18px; border-top: 1px solid rgba(11,13,15,.07); }
.elf__apply { width: 100%; padding: 12px; border: 0; border-radius: 10px; background: #C8A96A; color: #0B0F1E; font: 700 12px/1 "Satoshi", sans-serif; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }

.elm-filterbtn { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; padding: 9px 17px; border: 1px solid rgba(11,13,15,.18); border-radius: 999px; background: #fff; font: 600 12.5px/1 "Satoshi", sans-serif; cursor: pointer; }
.elm-filterbtn:hover { border-color: #C8A96A; color: #8a6f3c; }

@media (max-width: 640px) {
  /* on a phone the sheet comes up from the bottom, where the thumb is */
  .elf { inset: auto 0 0 0; width: auto; max-height: 86vh; border-left: 0; border-radius: 16px 16px 0 0; transform: translateY(104%); box-shadow: 0 -20px 60px -20px rgba(11,13,15,.4); }
  .elf.is-open { transform: none; }
}

/* The jet page gives every <section> 156px of breathing room. The board's
   own <section>s live inside that page, so each filter group was inheriting
   a page-sized padding and the drawer looked broken. Scope it back. */
body.jetp .board section, body.jetp .elf section { padding-block: 0; }
body.jetp .elf .elf__sec { padding: 14px 0; }
