/* ── GLOBAL COMPONENT STYLES ── */

/* AIRCRAFT CARD & FLIGHT CARD BASE */
.aircraft-card,
.flight-card {
    background: #131313;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.07);
    cursor: pointer;
    height: 100%;
    position: relative;
    text-decoration: none;
}

/* NO HOVER EFFECTS — per design spec */

/* IMAGE CONTAINERS */
.aircraft-image,
.image-box,
.flight-image-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #1a1a1a;
}

.aircraft-image img,
.image-box img,
.flight-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* INFO BODIES */
.aircraft-info,
.flight-body,
.card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    border-radius: 0;
    flex-direction: column;
}

/* LABELS & TITLES */
.category-label,
.aircraft-name-label {
    color: #c9a86a;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
    font-family: "Urbanist", sans-serif;
}

.aircraft-name {
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 18px;
    text-transform: uppercase;
    font-family: "Tenor Sans", sans-serif;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.route-text {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    font-family: "Raleway", sans-serif;
}

/* SPECS & DETAILS */
.specs-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    flex: 1;
}

.spec-item {
    display: flex;
    align-items: center;

    font-size: 14px;
    font-family: "Urbanist", sans-serif;
}

.spec-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spec-icon {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.spec-label {
    color: rgba(255, 255, 255, 0.45);
    font-size: 14px;
    font-family: "Urbanist", sans-serif;
}

.spec-value {
    color: #bdbdbd;
    font-weight: 500;
    font-size: 14px;
}

/* ROUTE HEADER FOR EMPTY LEG */
.route-header {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
}

.route-header .beige_location {
    width: 16px;
    height: 16px;
}

/* SPEC TABLE (empty leg card rows) */
.spec-table {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    flex: 1;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;

    font-size: 14px;
    font-family: "Urbanist", sans-serif;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-row .spec-label {
    color: #bdbdbd;
}

.spec-row .spec-value {
    color: #c9a86a;
    font-weight: 500;
}

.spec-value.iata-code {
    font-weight: 500;
    letter-spacing: 1px;
    color: #c9a86a;
}

/* PRICE BOX — gold-bordered */
.price-box-gold {
    border: 1px solid rgba(201, 168, 106, 0.5);
    padding: 12px 14px;
    display: flex;
    border-radius: 10px;
    background-color: transparent;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.price-box-gold .price-lbl {
    font-size: 14px;
    color: #bdbdbd;
    font-family: "Urbanist", sans-serif;
}

.price-box-gold .price-val {
    font-size: 20px;
    color: #c9a86a;
    font-weight: 700;
    font-family: "Urbanist", sans-serif;
}

/* Legacy price-box */
.price-box {
    background: rgba(201, 168, 106, 0.04);
    border: 1px solid rgba(201, 168, 106, 0.2);
    padding: 14px;
    margin-top: auto;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-lbl {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-family: "Urbanist", sans-serif;
}

.price-val {
    color: #c9a86a;
    font-size: 20px;
    font-family: "Tenor Sans", serif;
}

/* BUTTONS */
.view-details {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #c9a86a;
    font-size: 14px;
    font-family: "Urbanist", sans-serif;
    text-decoration: none;
    margin-top: auto;
    padding: 0;
    background: transparent;
    border: none;
    font-weight: 400;
}

.book-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: #c9a86a;
    color: #000;
    border: none;
    border-radius: 0 !important;
    font-size: 15px;
    max-width: 200px;
    font-weight: 700;

    letter-spacing: 1.5px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-family: "Urbanist", sans-serif;
}

.book-btn-el {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 14px;
    background: #c9a86a;
    color: #000;
    border: none;
    font-family: "Urbanist", sans-serif;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    transition: 0.3s;
    border-radius: 10px !important;
}

.book-btn:hover,
.book-btn-el:hover {
    background: #b89658;
    color: #000;
}

/* ── RICH TEXT CONTENT — ensures bullets, headings, and links work ── */
.rich-text {
    line-height: 1.8;
    color: #ccc;
    font-size: 1rem;
}

.rich-text p {
    margin-bottom: 1.2rem;
}

.rich-text ul {
    list-style-type: disc !important;
    margin-left: 25px !important;
    margin-bottom: 1.5rem !important;
    display: block !important;
}

.rich-text ol {
    list-style-type: decimal !important;
    margin-left: 25px !important;
    margin-bottom: 1.5rem !important;
    display: block !important;
}

.rich-text li {
    margin-bottom: 0.6rem !important;
    display: list-item !important;
}

.rich-text h1,
.rich-text h2,
.rich-text h3,
.rich-text h4 {
    color: #c9a86a !important;
    /* Theme gold for visibility */
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Tenor Sans", serif;
}

.rich-text h1 {
    font-size: 2rem;
}

.rich-text h2 {
    font-size: 1.6rem;
}

.rich-text h3 {
    font-size: 1.3rem;
}

.rich-text a {
    color: #c9a86a !important;
    text-decoration: underline !important;
}
