/* ================================================================
   Aircraft Types — directory + single
   ================================================================ */

.ac-directory,
.ac-single { padding: 20px 0 60px; }

/* Filter chips */
.ac-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 24px;
}
.ac-chip {
    display: inline-block;
    padding: 6px 14px;
    background: #fff;
    border: 1px solid #dde6ee;
    border-radius: 20px;
    color: #0a3d62;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.ac-chip:hover        { background: #f7f9fc; border-color: #c8d2dc; }
.ac-chip.is-active    { background: #0a3d62; color: #fff; border-color: #0a3d62; }

/* Grid */
.ac-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
    margin-bottom: 30px;
}
.ac-card {
    background: #fff;
    border: 1px solid #e6e9ec;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.ac-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(10,61,98,0.12);
    border-color: #c8d2dc;
}
.ac-card-image {
    aspect-ratio: 16 / 10;
    background: #eaeef3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.ac-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ac-card-placeholder {
    color: rgba(10,61,98,0.35);
    font-size: 3rem;
}
.ac-card-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.ac-card-mfr {
    color: #e67e22;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}
.ac-card-name { color: #0a3d62; margin: 0; font-size: 1.05rem; line-height: 1.25; }
.ac-card-codes { display: flex; gap: 6px; }
.ac-card-codes code {
    background: #ecf0f5;
    color: #0a3d62;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}
.ac-card-facts {
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.85rem;
    color: #4a5568;
}
.ac-card-facts i { color: #6b7785; width: 14px; }

/* Single */
.ac-single-head {
    background: linear-gradient(135deg, #0a3d62 0%, #145080 100%);
    color: #fff;
    padding: 24px 28px;
    border-radius: 12px;
    margin: 16px 0 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.ac-single-mfr {
    color: #f1c40f;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.ac-single-head h1 { color: #fff !important; font-size: 2rem; margin: 0 0 10px; line-height: 1.15; }
.ac-single-codes { display: flex; gap: 10px; flex-wrap: wrap; }
.ac-code-badge {
    background: rgba(255,255,255,0.15);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.95);
}
.ac-code-badge code {
    background: none;
    color: #fff;
    font-family: 'Roboto Mono', monospace;
    letter-spacing: 0.5px;
}

.ac-single-image {
    margin: 0 0 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.ac-single-image img { width: 100%; height: auto; display: block; }

.ac-single-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    background: #fff;
    border: 1px solid #e6e9ec;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 20px;
}

.ac-single-body,
.ac-single-operators,
.ac-single-route-watch,
.ac-single-articles,
.ac-single-foot {
    background: #fff;
    border: 1px solid #e6e9ec;
    border-radius: 12px;
    padding: 22px 24px;
    margin-bottom: 18px;
}
.ac-single-operators h2,
.ac-single-route-watch h2,
.ac-single-articles h2 {
    color: #0a3d62;
    font-size: 1.2rem;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e6e9ec;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ac-single-operators h2 i,
.ac-single-route-watch h2 i,
.ac-single-articles h2 i { color: #e67e22; font-size: 0.95rem; }
.ac-section-lead { color: #6b7785; font-size: 0.9rem; margin: 0 0 14px; }

/* Operators grid */
.ac-operator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
}
.ac-operator {
    background: #f7f9fc;
    border: 1px solid #dde6ee;
    border-radius: 8px;
    padding: 12px 14px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
    display: block;
}
.ac-operator:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    border-color: #c8d2dc;
}
.ac-operator-iata {
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    font-size: 1.1rem;
    color: #0a3d62;
    letter-spacing: 0.6px;
}
.ac-operator-name {
    color: #2c3e50;
    font-size: 0.88rem;
    line-height: 1.3;
    margin: 3px 0 6px;
}
.ac-operator-count {
    color: #6b7785;
    font-size: 0.78rem;
}

.ac-single-foot { font-size: 0.9rem; color: #6b7785; }
.ac-single-foot a { color: #0a3d62; }
