/* ============================================================
   AVIATION WEATHER PAGE
   Extracted from known-good harper.css during modular migration.
   Do not merge page-specific rules back into harper-core.css.
   ============================================================ */

/* ============================================================
   AVIATION WEATHER
   ============================================================ */

.aviation-disclaimer {
    margin-bottom: 16px;
    padding: 12px 15px;
    background: #fff8e6;
    border: 1px solid #ead7a3;
    border-radius: 10px;
    color: #66511d;
    font-size: 0.83rem;
}

.aviation-subheading {
    margin: 20px 0 10px;
    color: var(--blue-dark);
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0.01em;
}


/* ============================================================
   PRIMARY AIRPORT CARD — KERV
   ============================================================ */

.aviation-primary-card {
    margin-top: 16px;
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #ccd8e4;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.11);
}

.aviation-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--border);
}

.aviation-card-header h3 {
    margin: 0;
    color: var(--text);
    font-size: 1.25rem;
}

.aviation-icao {
    display: block;
    margin-bottom: 2px;
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.flight-category {
    flex-shrink: 0;
    padding: 5px 10px;
    border-radius: 7px;
    background: var(--green-light);
    color: var(--green);
    font-size: 0.95rem;
    font-weight: 900;
}
.flight-vfr {
    background: var(--green-light);
    color: var(--green);
}

.flight-mvfr {
    background: var(--blue-light);
    color: var(--blue);
}

.flight-ifr {
    background: #fdecec;
    color: var(--red);
}

.flight-lifr {
    background: #f7e9fb;
    color: #8e24aa;
}



/* ------------------------------------------------------------
   METAR observations
   ------------------------------------------------------------ */

.aviation-observations {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 11px;
    margin-top: 15px;
}

.aviation-observation {
    padding: 11px 13px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.aviation-observation span {
    display: block;
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.045em;
}

.aviation-observation strong {
    display: block;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
}


/* ------------------------------------------------------------
   Raw METAR
   ------------------------------------------------------------ */

.raw-metar {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-family: "Courier New", Courier, monospace;
    font-size: 0.90rem;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.raw-metar span {
    display: block;
    margin-bottom: 3px;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


/* ============================================================
   REGIONAL AIRPORT CARDS
   ============================================================ */

.aviation-regional-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.aviation-card,
.camera-card {
    padding: 17px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.aviation-card .aviation-card-header {
    padding-bottom: 10px;
}

.aviation-card .aviation-card-header h3 {
    font-size: 1.05rem;
}

.aviation-card .flight-category {
    font-size: 0.82rem;
    padding: 4px 8px;
}

.aviation-card .aviation-observations {
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
    margin-top: 11px;
}

.aviation-card .aviation-observation {
    padding: 9px 10px;
}

.aviation-card .aviation-observation span {
    font-size: 0.68rem;
}

.aviation-card .aviation-observation strong {
    font-size: 0.9rem;
}

.aviation-card .raw-metar {
    margin-top: 12px;
    padding-top: 10px;
    font-size: 0.84rem;
}


/* ============================================================
   AVIATION WEATHER RESOURCES
   ============================================================ */

.aviation-resources-card {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 16px;
    padding: 13px 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.aviation-resources-title {
    flex-shrink: 0;
    color: var(--blue-dark);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.aviation-resource-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

.aviation-resource-link {
    display: inline-block;
    padding: 6px 11px;
    border: 1px solid #c9d8e8;
    border-radius: 8px;
    background: var(--blue-light);
    color: var(--blue-dark);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 900;
    white-space: nowrap;
}

.aviation-resource-link:hover {
    background: #dcecfb;
    border-color: #a9c4df;
}


/* ============================================================
   INTERACTIVE GFA
   ============================================================ */

.gfa-card {
    margin-top: 16px;
    padding: 18px 20px;
    background: white;
    border: 1px solid #c8d7e6;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.gfa-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.gfa-card h3 {
    margin: 0;
    color: var(--blue-dark);
    font-size: 1.08rem;
}

.gfa-card p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.gfa-link {
    display: inline-block;
    flex-shrink: 0;
    padding: 8px 14px;
    border-radius: 8px;
    background: var(--blue-dark);
    color: white;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 900;
}

.gfa-link:hover {
    background: var(--blue);
}


/* ============================================================
   REGIONAL WEATHER PICTURE
   RADAR + SATELLITE
   ============================================================ */

.weather-picture-card {
    margin-top: 16px;
    padding: 18px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.weather-picture-header {
    margin-bottom: 13px;
}

.weather-picture-header h3 {
    margin: 0;
    color: var(--blue-dark);
    font-size: 1.08rem;
}

.weather-picture-header p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.weather-picture-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.weather-picture-panel {
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 11px;
}

.weather-picture-panel a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.weather-picture-panel img {
    display: block;
    width: 100%;
    height: auto;
    background: #e9eef3;
}

.weather-picture-caption {
    padding: 9px 11px;
}

.weather-picture-caption strong {
    display: block;
    color: var(--text);
    font-size: 0.84rem;
}

.weather-picture-caption span {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.76rem;
}


/* ============================================================
   MORE WEATHER GEEKERY
   ============================================================ */

.geekery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.geekery-card {
    padding: 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.geekery-card h3 {
    margin: 0 0 5px;
    color: var(--blue-dark);
    font-size: 1rem;
}

.geekery-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
}


/* ============================================================
   AVIATION HAZARDS / PLANNING
   Retained for compatibility with existing Page 2 markup.
   ============================================================ */

.aviation-hazards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.aviation-hazard-card {
    padding: 14px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.aviation-hazard-card h3 {
    margin: 0 0 5px;
    color: var(--blue-dark);
    font-size: 0.92rem;
}

.aviation-hazard-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
}

/* ============================================================
   AVIATION PAGE — AUTO REFRESH NOTICE
   ============================================================ */

.aviation-refresh-notice {
    display: flex;
    align-items: center;
    gap: 18px;

    margin: 12px 0 16px 0;
    padding: 16px 20px;

    border: 2px solid #2f80d8;
    border-radius: 10px;

    background: #eef6ff;
    box-shadow: var(--shadow);
}

.aviation-refresh-icon {
    flex: 0 0 auto;
    font-size: 3rem;
    line-height: 1;
    color: #0d4f91;
    font-weight: 900;
}

.aviation-refresh-title {
    color: #0d4f91;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-bottom: 4px;
}

.aviation-refresh-text {
    font-size: 0.92rem;
    line-height: 1.4;
    color: #24415f;
}

/* Aviation regional cards — breathing room below primary airport */
.aviation-regional-grid {
    margin-top: 16px;
}

