/*
Theme Name: SmartPrivateJet
Theme URI: https://privatejetfinder.local
Author: SmartPrivateJet
Description: Aeronautical-Excellence theme for SmartPrivateJet, comparing private jet flights.
Version: 0.1.0
License: GPL-2.0-or-later
Text Domain: pjf
*/

body { background-color: #101415; color: #e0e3e5; }

.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24; }

.glass-panel {
    background: rgba(29, 32, 34, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(233, 193, 118, 0.1);
}

.input-ghost {
    background: transparent;
    border: none;
    border-bottom: 1px solid #909097;
    color: #e0e3e5;
    transition: border-color 0.3s ease;
}
.input-ghost:focus {
    outline: none;
    border-bottom-color: #e9c176;
    box-shadow: none;
}

details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }

select option { background-color: #1d2022; color: #e0e3e5; }

::selection { background: #e9c176; color: #412d00; }

/* ── Content link visibility ──
 * Make any inline link inside long-form content blocks (prose, ACF rich text,
 * flight-intro, FAQ answers, etc.) clearly visible against the dark surface.
 * Block-level "link cards" and navigation items add their own classes (group,
 * font-label-sm, …) and are not affected.
 */
/* `:not([class*="bg-"])` skips any anchor styled as a button (Tailwind
 * `bg-secondary`/`bg-primary` etc.) — those have their own color and the
 * generic content-link rule below would otherwise clobber them.
 */
.prose a:not([class*="bg-"]),
.flight-intro a:not([class*="bg-"]),
.pjf-content a:not([class*="bg-"]),
.acf-content a:not([class*="bg-"]),
details > div a:not([class*="bg-"]),
details p a:not([class*="bg-"]) {
    color: #e9c176;
    text-decoration: underline;
    text-decoration-color: rgba(233, 193, 118, 0.4);
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.prose a:not([class*="bg-"]):hover,
.flight-intro a:not([class*="bg-"]):hover,
.pjf-content a:not([class*="bg-"]):hover,
.acf-content a:not([class*="bg-"]):hover,
details > div a:not([class*="bg-"]):hover,
details p a:not([class*="bg-"]):hover {
    color: #ffdea5;
    text-decoration-color: #ffdea5;
}

/* ── Flight intro prose ── */
.flight-intro p {
    margin-bottom: 1.5rem;
    line-height: 1.75;
}
.flight-intro h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e9c176;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.flight-intro ul.flight-details-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: grid;
    gap: 0.6rem;
}
.flight-intro ul.flight-details-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(69,70,77,0.4);
    color: #c6c6cd;
    font-size: 0.95rem;
    line-height: 1.6;
}
.flight-intro ul.flight-details-list li strong {
    color: #e0e3e5;
}

/* ── Leaflet map ── */
.flight-map-leaflet {
    height: 420px;
    border-radius: 0.5rem;
    overflow: hidden;
}
.leaflet-container {
    background: #101415;
    font-family: inherit;
}
.leaflet-popup-content-wrapper {
    background: #1d2022;
    color: #e0e3e5;
    border: 1px solid rgba(69,70,77,0.5);
    border-radius: 0.375rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.leaflet-popup-tip { background: #1d2022; }
.leaflet-popup-content { color: #e0e3e5; margin: 10px 14px; }
