/* --- LAUNCH FEED STYLES (Specific to Launch Page) --- */
.sc-launch-container {
    font-family: 'Inter', sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.sc-main-card, .sc-card {
    background: var(--sc-bg-card);
    border-radius: 12px;
    box-shadow: var(--sc-shadow);
    overflow: hidden;
    border: 1px solid var(--sc-border);
    margin-bottom: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Ensure headers inside the launch feed use specific colors */
.sc-header {
    background-color: #075985;
    background: linear-gradient(to right, #0c4a6e, #075985);
    color: white !important; /* Always white */
    padding: 30px 20px;
    text-align: center;
}
.sc-header h2, .sc-mission-name { color: white !important; }
.sc-mission-name { font-size: 2.2rem; font-weight: 800; margin-top: 10px; line-height: 1.2; }

/* Grid System */
.sc-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) { .sc-grid { grid-template-columns: 1.2fr 1fr 1fr; } }

.sc-col { padding: 30px; border-bottom: 1px solid var(--sc-border); }
@media (min-width: 768px) { 
    .sc-col { border-bottom: none; border-right: 1px solid var(--sc-border); } 
    .sc-col:last-child { border-right: none; }
}

/* Detail Styling */
.sc-col h3 { color: #0369a1; font-weight: 700; margin-bottom: 20px; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.05em; }
body.sc-dark-mode .sc-col h3 { color: #38bdf8; } /* Light blue header in dark mode */

.sc-specs-list { list-style: none; padding: 0; margin: 0; font-size: 0.9rem; color: var(--sc-text-body); }
.sc-specs-list li { margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px dashed var(--sc-border); display: flex; justify-content: space-between; }
.sc-specs-list li:last-child { border-bottom: none; }
.sc-specs-list strong { color: var(--sc-text-head); font-weight: 700; }

.sc-timing { text-align: center; background: var(--sc-bg-accent); display: flex; flex-direction: column; justify-content: center; }
.sc-big-time { font-size: 1.6rem; font-weight: 800; color: var(--sc-text-head); margin-bottom: 10px; }
.sc-window { font-size: 0.85rem; color: var(--sc-text-body); font-family: monospace; background: var(--sc-border); display: inline-block; padding: 4px 8px; border-radius: 4px; }
body.sc-dark-mode .sc-window { color: #0f172a; background: #94a3b8; } /* Dark text on light badge */

.sc-loc { text-align: center; }
.sc-pad-name { font-weight: 700; color: var(--sc-text-head); font-size: 1.1rem; margin-bottom: 5px; }
.sc-loc-name { color: var(--sc-text-body); font-size: 0.9rem; }

/* Upcoming List Header */
.sc-list-header {
    background-color: #0369a1; color: #ffffff !important; padding: 1.5rem; text-align: center; font-size: 1.8rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.05em; margin-top: 60px; margin-bottom: 40px; border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); border: 1px solid #0284c7;
}

/* Cards Grid */
.sc-cards-grid { display: grid; grid-template-columns: 1fr; gap: 25px; }
@media (min-width: 768px) { .sc-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sc-cards-grid { grid-template-columns: repeat(3, 1fr); } }

.sc-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); }
.sc-card-img { height: 200px; background-size: cover; background-position: center; position: relative; }

/* Badges */
.sc-status-pill {
    position: absolute; top: 10px; right: 10px; padding: 4px 8px; border-radius: 4px;
    font-size: 0.7rem; font-weight: 800; text-transform: uppercase; color: white; box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.sc-type-badge {
    position: absolute; bottom: 10px; left: 10px; background: rgba(0,0,0,0.7); color: white;
    padding: 4px 8px; border-radius: 4px; font-size: 0.7rem; font-weight: 600; backdrop-filter: blur(4px);
}
.sc-status-green { background-color: #16a34a; }
.sc-status-blue { background-color: #2563eb; }
.sc-status-yellow { background-color: #ca8a04; }

/* Card Internals */
.sc-card-body { padding: 25px; }
.sc-card-body h4 { margin: 0 0 8px 0; font-size: 1.15rem; color: var(--sc-text-head); font-weight: 700; line-height: 1.3; }
.sc-rocket-name { color: #0284c7; font-size: 0.85rem; font-weight: 700; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.05em; }
body.sc-dark-mode .sc-rocket-name { color: #38bdf8; }

.sc-card-desc { font-size: 0.85rem; color: var(--sc-text-body); line-height: 1.5; margin-bottom: 15px; min-height: 60px; }
.sc-card-details { background: var(--sc-bg-accent); padding: 10px; border-radius: 6px; margin-bottom: 15px; border: 1px solid var(--sc-border); }
.sc-detail-row { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--sc-text-body); margin-bottom: 6px; }
.sc-detail-row:last-child { margin-bottom: 0; }
.sc-pad-truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }

/* Buttons */
.sc-btn-stream {
    display: block; text-align: center; background: #ef4444; color: #ffffff !important;
    padding: 8px; border-radius: 6px; font-weight: 700; font-size: 0.85rem;
    text-decoration: none; transition: background 0.2s;
}
.sc-btn-stream:hover { background: #dc2626; color: #ffffff !important; }
.sc-main-stream-btn {
    display: block; width: 100%; background-color: #cc0000; color: #ffffff !important;
    text-align: center; padding: 12px 15px; border-radius: 6px; font-weight: 700;
    text-decoration: none; text-transform: uppercase; letter-spacing: 0.05em;
    transition: background-color 0.2s ease; box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.sc-main-stream-btn:hover { background-color: #990000; color: #ffffff !important; }
.sc-inline-badge { padding: 2px 8px; border-radius: 4px; font-weight: 800; font-size: 0.75rem; text-transform: uppercase; color: white; }