/* AIRPORTS: ABOUT THIS AIRPORT, with facts, runways and radio frequencies from OurAirports. */
.apt-about {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
  background: var(--c-black);
  border: 1px solid var(--c-grey-222);
  border-radius: 4px;
}

.apt-about-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.apt-about-title {
  color: var(--c-amber);
  font-size: 0.75rem;
  font-weight: bold;
}

.apt-about-links {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
}

.apt-about-links a {
  color: var(--c-cyan);
}

.apt-about-facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 12px;
  margin: 0;
  font-size: 0.8rem;
}

.apt-about-facts dt {
  color: var(--c-grey-aaa);
}

.apt-about-facts dd {
  margin: 0;
  color: var(--c-white);
}

.apt-about-table-wrap {
  overflow-x: auto;
}

/* board.css styles every table as the fixed-width BOARD; this one sizes to its content. */
#airport-details-panel .apt-about-table {
  width: 100%;
  table-layout: auto;
  border-collapse: collapse;
  font-size: 0.78rem;
}

#airport-details-panel .apt-about-table th,
#airport-details-panel .apt-about-table td {
  width: auto !important;
  padding: 5px 8px;
  border-bottom: 1px solid var(--c-grey-222);
  text-align: left;
  white-space: nowrap;
  overflow: visible;
}

#airport-details-panel .apt-about-table th {
  color: var(--c-grey-aaa);
  font-size: 0.65rem;
}

.apt-about-freqs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.apt-about-freqs li {
  padding: 2px 8px;
  border: 1px solid var(--c-grey-333);
  border-radius: 12px;
  font-family: monospace;
  font-size: 0.72rem;
}

.apt-about-credit {
  margin: 0;
  color: var(--c-grey-666);
  font-size: 0.62rem;
}

/* RUNWAY IN USE (RunwayInUse), above the runways table. */
.apt-runway-in-use {
  margin: 10px 0 6px;
  padding: 6px 10px;
  border-left: 3px solid var(--c-green);
  background: rgba(85, 255, 0, 0.06);
  color: var(--c-white);
  font-size: 0.85rem;
  line-height: 1.4;
}

.apt-runway-in-use-note {
  display: block;
  color: var(--c-grey-aaa);
  font-size: 0.72rem;
}

/* WHERE FLIGHTS HERE GO and AIRFIELDS NEARBY. */
.apt-about-heading {
  margin: 14px 0 6px;
  color: var(--c-amber);
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.apt-routes {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
}

.apt-routes li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  border-bottom: 1px solid var(--c-grey-222);
}

.apt-route-link {
  color: var(--c-white);
  text-decoration: none;
}

.apt-route-link:hover {
  text-decoration: underline;
}

.apt-route-code,
.apt-route-count {
  color: var(--c-grey-aaa);
  font-size: 0.75rem;
}

.apt-about-note {
  margin: 6px 0 0;
  color: var(--c-grey-aaa);
  font-size: 0.72rem;
}
