figure figcaption,
figcaption.wp-element-caption {
    font-size: 12px !important;
    color: #404040 !important;
    text-align: center;
    font-family: 'Lora', serif !important;
    margin-top: 0.5em;
    line-height: 1.5;
    font-style: italic;
}
/* 2025 Space Coast Launches - WordPress Additional CSS */

/* CSS Variables */
.space-launches-container {
    --blue-darkest: #0A1628;
    --blue-dark: #1A2744;
    --blue-primary: #2C3E5A;
    --blue-medium: #3D5478;
    --blue-light: #5A7199;
    --blue-lighter: #8FA4C4;
    --blue-pale: #C4D0E4;
    --blue-cream: #E8EDF5;
    --text-light: #F0F4FA;
    --text-medium: #C4D0E4;
    --success: #4CAF50;
    --failure: #EF5350;
    --partial: #FFB74D;
}

.space-launches-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--blue-darkest) 0%, var(--blue-dark) 100%);
    color: var(--text-light);
    line-height: 1.5;
    padding: 15px;
    border-radius: 10px;
    box-sizing: border-box;
}

.space-launches-container * {
    box-sizing: border-box;
}

.space-launches-container .stats-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    padding: 12px;
    background: var(--blue-dark);
    border-radius: 10px;
    border: 1px solid var(--blue-medium);
}

.space-launches-container .stat-item {
    background: var(--blue-primary);
    padding: 8px 14px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    text-align: center;
    min-width: 80px;
}

.space-launches-container .stat-number {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--blue-pale);
}

.space-launches-container .stat-label {
    font-size: 0.7rem;
    color: var(--blue-lighter);
    text-transform: uppercase;
}

.space-launches-container .table-wrapper {
    overflow-x: auto;
    background: var(--blue-dark);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.space-launches-container table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.space-launches-container thead {
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-darkest) 100%);
    position: sticky;
    top: 0;
    z-index: 10;
}

.space-launches-container th {
    color: var(--blue-pale);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 10px 6px;
    text-align: left;
    font-size: 0.65rem;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.space-launches-container th:hover {
    background: rgba(255,255,255,0.05);
}

.space-launches-container th::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    opacity: 0.5;
}

.space-launches-container th.sort-asc::after {
    border-bottom-color: var(--blue-pale);
    border-top: none;
    opacity: 1;
}

.space-launches-container th.sort-desc::after {
    border-top-color: var(--blue-pale);
    border-bottom: none;
    opacity: 1;
}

.space-launches-container td {
    padding: 8px 6px;
    border-bottom: 1px solid var(--blue-primary);
    vertical-align: top;
    color: var(--text-light);
}

.space-launches-container tr:hover {
    background: var(--blue-primary);
}

.space-launches-container tbody tr:nth-child(even) {
    background: rgba(44, 62, 90, 0.5);
}

.space-launches-container tbody tr:nth-child(even):hover {
    background: var(--blue-primary);
}

.space-launches-container .launch-num {
    font-weight: bold;
    color: var(--blue-lighter);
    text-align: center;
    min-width: 25px;
}

.space-launches-container .date-cell {
    white-space: nowrap;
    font-weight: 500;
}

.space-launches-container .time-cell {
    white-space: nowrap;
    font-size: 0.75rem;
    color: var(--blue-lighter);
}

.space-launches-container .pad-cell {
    white-space: nowrap;
    font-size: 0.75rem;
    color: var(--blue-lighter);
}

.space-launches-container .company-spacex {
    color: #90CAF9;
    font-weight: 600;
}

.space-launches-container .company-ula {
    color: #81D4FA;
    font-weight: 600;
}

.space-launches-container .company-blueorigin {
    color: #80DEEA;
    font-weight: 600;
}

.space-launches-container .rocket-cell {
    font-weight: 500;
    color: var(--blue-lighter);
}

.space-launches-container .payload-cell {
    max-width: 200px;
}

.space-launches-container .payload-cell a {
    color: #64B5F6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.space-launches-container .payload-cell a:hover {
    color: #FFB74D;
    text-decoration: underline;
}

.space-launches-container .result-success {
    color: var(--success);
    font-weight: 600;
}

.space-launches-container .result-failure {
    color: var(--failure);
    font-weight: 600;
}

.space-launches-container .result-partial {
    color: var(--partial);
    font-weight: 600;
}

.space-launches-container .badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-right: 4px;
}

.space-launches-container .badge-crew {
    background: rgba(76, 175, 80, 0.2);
    color: #81C784;
    border: 1px solid rgba(76, 175, 80, 0.4);
}

.space-launches-container .badge-lunar {
    background: rgba(156, 39, 176, 0.2);
    color: #CE93D8;
    border: 1px solid rgba(156, 39, 176, 0.4);
}

.space-launches-container .badge-natsec {
    background: rgba(255, 152, 0, 0.2);
    color: #FFB74D;
    border: 1px solid rgba(255, 152, 0, 0.4);
}

.space-launches-container .launches-footer {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    color: var(--blue-lighter);
    font-size: 0.8rem;
}

.space-launches-container .launches-footer a {
    color: #64B5F6;
}

/* Tablet Responsive */
@media (max-width: 900px) {
    .space-launches-container {
        padding: 8px;
    }

    .space-launches-container .stats-bar {
        padding: 10px;
        gap: 8px;
    }

    .space-launches-container .stat-item {
        padding: 6px 10px;
        min-width: 70px;
    }

    .space-launches-container .stat-number {
        font-size: 1.1rem;
    }

    .space-launches-container table {
        font-size: 0.7rem;
    }

    .space-launches-container th,
    .space-launches-container td {
        padding: 6px 4px;
    }

    .space-launches-container th {
        font-size: 0.55rem;
    }

    .space-launches-container .payload-cell {
        max-width: 140px;
    }
}

/* Mobile Responsive - Card Layout */
@media (max-width: 600px) {
    .space-launches-container .table-wrapper {
        background: transparent;
        box-shadow: none;
    }

    .space-launches-container table,
    .space-launches-container thead,
    .space-launches-container tbody,
    .space-launches-container th,
    .space-launches-container td,
    .space-launches-container tr {
        display: block;
    }

    .space-launches-container thead {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .space-launches-container tbody tr {
        background: var(--blue-dark);
        margin-bottom: 10px;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
        padding: 12px;
        border-left: 3px solid var(--blue-light);
    }

    .space-launches-container tbody tr:nth-child(even) {
        background: var(--blue-dark);
    }

    .space-launches-container td {
        border: none;
        padding: 5px 0;
        position: relative;
        padding-left: 42%;
        text-align: left;
    }

    .space-launches-container td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 38%;
        font-weight: 600;
        color: var(--blue-lighter);
        font-size: 0.65rem;
        text-transform: uppercase;
    }

    .space-launches-container .launch-num {
        text-align: left;
    }

    .space-launches-container .payload-cell {
        max-width: none;
    }
}
