/* FlightRadar.world – site styles (on top of Bootstrap 5.0.2). */

:root {
  --brand: #ee5a24;          /* logo orange */
  --brand-dark: #c8431a;
  --brand-2: #f7931e;        /* logo gradient end */
  --ink: #1d2433;
  --muted: #5b6475;
  --line: #e6e8ee;
  --soft: #f6f7fa;
  --sky: #0f1b33;
}

body {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
}
a { color: var(--brand-dark); }
a:hover { color: #9c3313; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.3; }
h2 { font-size: 1.5rem; margin-top: 2.25rem; margin-bottom: .75rem; }
h3 { font-size: 1.2rem; margin-top: 1.5rem; margin-bottom: .5rem; }

.container { max-width: 1140px; }

.skip-link { position: absolute; left: 8px; top: 8px; z-index: 2000; background: #fff; padding: 4px 8px; }

/* Navigation ---------------------------------------------------------------- */
.navbar { padding-top: .6rem; padding-bottom: .6rem; }
.site-logo { width: auto; height: 40px; }
.navbar-light .navbar-nav .nav-link { color: var(--ink); font-weight: 500; font-size: 16px; padding-left: .8rem; padding-right: .8rem; }
.navbar-light .navbar-nav .nav-link:hover { color: var(--brand-dark); }
.navbar-light .navbar-nav .nav-link.active { color: var(--brand-dark); box-shadow: inset 0 -2px 0 var(--brand); }
@media (max-width: 991.98px) {
  .navbar-light .navbar-nav .nav-link.active { box-shadow: none; }
}

.breadcrumbs { padding-top: .75rem; font-size: 14px; }
.breadcrumb { background: none; padding: 0; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Buttons ------------------------------------------------------------------- */
.btn-brand {
  color: #fff;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 100%);
  border: 0;
  font-weight: 600;
}
.btn-brand:hover, .btn-brand:focus { color: #fff; background: linear-gradient(90deg, var(--brand-dark) 0%, var(--brand) 100%); }
.btn-brand:focus-visible { outline: 3px solid rgba(238, 90, 36, .45); outline-offset: 2px; }
.btn-brand:disabled { opacity: .7; }

/* Home hero + radar ------------------------------------------------------------ */
.hero { padding: 2rem 0 1.25rem; }
.hero h1 { font-size: 2.25rem; margin: 0 0 .5rem; }
.hero-lead { font-size: 1.15rem; color: var(--muted); max-width: 46rem; margin: 0; }
@media (max-width: 575.98px) {
  .hero h1 { font-size: 1.75rem; }
  .hero-lead { font-size: 1rem; }
}

.radar-box { margin: 0 0 1.5rem; scroll-margin-top: 1rem; }
.radar-stage {
  position: relative;
  height: 640px;
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 55%, rgba(247, 147, 30, .18) 0, rgba(247, 147, 30, 0) 45%),
    repeating-radial-gradient(circle at 50% 55%, rgba(255, 255, 255, .07) 0 1px, transparent 1px 70px),
    linear-gradient(160deg, #13254a 0%, var(--sky) 70%);
  color: #fff;
}
.radar-stage.is-live { background: #e9ecef; }
.radar-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 1.5rem;
}
.radar-title { color: #fff; font-size: 1.6rem; margin: 0 0 .5rem; }
.radar-lead { max-width: 30rem; color: rgba(255, 255, 255, .85); font-size: 1rem; }
.radar-status { min-height: 1.5em; margin: 1rem 0 0; font-size: .95rem; color: rgba(255, 255, 255, .9); }
.radar-status.is-error { color: #ffd2c2; }
.radar-frame { display: block; width: 100%; height: 100%; border: 0; }
.radar-credit { font-size: 13px; color: var(--muted); margin: .4rem 0 0; }
@media (max-width: 767.98px) {
  .radar-stage { height: 480px; }
}

/* Content -------------------------------------------------------------------- */
.content-area { padding-bottom: 3rem; }
/* Flex columns must be allowed to shrink, otherwise a wide table widens the whole column on phones */
.row > [class*="col"] { min-width: 0; }
.entry-content, .page-h1 { overflow-wrap: break-word; }
.page-h1 { font-size: 2rem; margin: 1rem 0 .25rem; }
.page-updated, .post-meta { font-size: 14px; color: var(--muted); margin-bottom: 1.25rem; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content figure { margin: 1.5rem 0; }
.entry-content figcaption { font-size: 14px; color: var(--muted); margin-top: .35rem; }
.entry-content table { width: 100%; margin: 1rem 0 .5rem; font-size: 16px; border-collapse: collapse; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: .5rem .6rem; vertical-align: top; text-align: left; }
.entry-content thead th { background: var(--soft); border-bottom: 2px solid var(--line); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-note { font-size: 14px; color: var(--muted); }
.entry-content blockquote { border-left: 4px solid var(--brand); padding: .25rem 0 .25rem 1rem; color: var(--muted); }
.callout { background: var(--soft); border-left: 4px solid var(--brand); border-radius: 6px; padding: 1rem 1.25rem; margin: 1.5rem 0; }
.callout p:last-child { margin-bottom: 0; }
.toc { background: var(--soft); border-radius: 8px; padding: 1rem 1.25rem; margin: 1.25rem 0; font-size: 16px; }
.toc p { font-weight: 700; margin-bottom: .35rem; }
.toc ol { margin: 0; padding-left: 1.25rem; }
.app-badges { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin: 1rem 0; }
.app-badges img { height: 48px; width: auto; }
.screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 1.5rem 0; }
.screens img { border-radius: 10px; border: 1px solid var(--line); }
@media (max-width: 575.98px) { .screens { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.guide-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.25rem 0; }
.guide-card { display: flex; gap: .9rem; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: .9rem; text-decoration: none; color: var(--ink); }
.guide-card:hover { border-color: var(--brand); color: var(--ink); }
.guide-card img { width: 64px; height: 64px; border-radius: 14px; flex: 0 0 64px; }
.guide-card strong { display: block; }
.guide-card span { font-size: 15px; color: var(--muted); }
@media (max-width: 575.98px) { .guide-cards { grid-template-columns: 1fr; } }

/* FAQ ------------------------------------------------------------------------ */
.faq-item { border: 1px solid var(--line); border-radius: 8px; margin-bottom: .5rem; background: #fff; }
.faq-item summary { padding: .8rem 2.5rem .8rem 1rem; font-weight: 600; cursor: pointer; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 1rem; top: .65rem; font-size: 1.3em; color: var(--brand); }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item summary:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.faq-answer { padding: 0 1rem .4rem; }

/* Sidebar -------------------------------------------------------------------- */
@media (min-width: 992px) { .sticky-side { position: sticky; top: 20px; } }
.side-box { border: 1px solid var(--line); border-radius: 10px; padding: 1.1rem; margin-top: 1rem; font-size: 16px; }
.side-box-title { font-weight: 700; margin-bottom: .35rem; }
.side-links { list-style: none; padding: 0; margin: 1rem 0 0; }
.side-links li { border-top: 1px solid var(--line); padding: .45rem 0; }
.side-links a { text-decoration: none; }

/* Blog ----------------------------------------------------------------------- */
.post-image { margin: 0 0 1.5rem; }
.post-image img { width: 100%; height: auto; }
.post-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--ink); background: #fff; }
.post-card:hover { border-color: var(--brand); color: var(--ink); }
.post-card-img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.post-card-body { display: flex; flex-direction: column; gap: .4rem; padding: 1rem; flex: 1 1 auto; }
.post-card-title { font-weight: 700; font-size: 1.1rem; line-height: 1.35; }
.post-card-text { font-size: 15px; color: var(--muted); line-height: 1.5; }
.post-card-date { font-size: 13px; color: var(--muted); margin-top: auto; }
.related h2 { margin-top: 0; }
.pagination .page-link { color: var(--brand-dark); }
.pagination .page-item.active .page-link { background: var(--brand); border-color: var(--brand); color: #fff; }
.sitemap-list li { margin-bottom: .25rem; }

/* Footer --------------------------------------------------------------------- */
.site-footer { background: var(--soft); font-size: 15px; color: var(--muted); margin-top: 2rem; }
.footer-heading { font-weight: 700; color: var(--ink); margin-bottom: .4rem; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: .25rem; }
.footer-menu a { color: var(--muted); text-decoration: none; }
.footer-menu a:hover { color: var(--brand-dark); text-decoration: underline; }
.footer-copy { font-size: 13px; }

/* Ads (Assertive Yield) ------------------------------------------------------ */
.ad-slot:empty { display: none; }
.ad-slot { margin: 1.25rem 0; text-align: center; }
#ad-masterhead { margin: .75rem 0; }

#aymStickyFooter { position: fixed; bottom: 0; right: 0; z-index: 1040; background: #fff; border-top: 1px solid #efefef; border-left: 1px solid #efefef; }
#aymStickyFooter.empty { border-top: 0; border-left: 0; }
#aymStickyFooter.empty #aymStickyFooterClose { display: none; }
#aymStickyFooterClose { position: absolute; top: -22px; right: 5px; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .5); color: #fff; font: 16px/22px sans-serif; cursor: pointer; }

/* Rewarded ad prompt – shown inside the radar box where the visitor clicked ----- */
.radar-prompt {
  position: absolute; inset: 0; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  background: rgba(10, 18, 36, .72);
  animation: radar-prompt-in .18s ease-out;
}
.radar-prompt[hidden] { display: none; }
.radar-prompt-card {
  position: relative;
  width: 100%; max-width: 420px;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 12px;
  background: #fff; color: var(--ink);
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}
.radar-prompt-card .no-ad-btn { position: absolute; top: .75rem; right: .75rem; opacity: .4; }
.radar-prompt-card .no-ad-btn:hover { opacity: .8; }
.rw-modal-icon { font-size: 2.6em; line-height: 1; color: var(--brand); margin-bottom: .5rem; }
.rw-modal-title { font-size: 22px; line-height: 1.3; margin-bottom: 6px; font-weight: 700; }
.rw-modal-text { font-size: 15px; color: var(--muted); margin-bottom: 1.1rem; }
.watch-ad-btn { width: 100%; }
@keyframes radar-prompt-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .radar-prompt { animation: none; } }

@media (max-width: 767.98px) { body { overflow-x: hidden; } }
