/* ---------------------------------------------------------
   TELEMETRY — FULL CLEAN CSS FILE
   Unified + Hero Block Integrated
--------------------------------------------------------- */

:root {
}

/* ---------------------------------------------------------
   HERO / HEADER BLOCK
--------------------------------------------------------- */

.telemetry-hero {
    width: 90%;
    min-height: 180px;
    max-height: 220px;
    background: linear-gradient(180deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 8px;
    margin: 25px auto 25px auto;
}

.hero-inner {
    width: 90%;
    max-width: 1100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-temp {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.hero-sub {
    font-size: 0.9rem;
    opacity: 0.9;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-right img {
    width: 120px;
    height: 129px;
    opacity: 0.95;
}

/* ---------------------------------------------------------
   WRAPPER
--------------------------------------------------------- */

.telemetry-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

/* ---------------------------------------------------------
   TITLE
--------------------------------------------------------- */

.telemetry-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ddd;
}

/* ---------------------------------------------------------
   OUTER GRID — 2 COLUMNS
--------------------------------------------------------- */

.telemetry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--telemetry-gap);
    position: relative;
    padding: 20px 0;
    margin-right: 30px;
    margin-left: 30px;
    padding-right: 20px;
    padding-left: 20px;
    background-color: var(--hero-slate);
    width: 90%;
    margin: 0 auto 25px auto;
    box-sizing: border-box;
    border-radius: 8px;
}

/* VERTICAL DIVIDER */
.telemetry-grid::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--telemetry-divider);
}

/* COLUMN STACK */
.telemetry-col {
    display: flex;
    flex-direction: column;
    gap: var(--telemetry-row-gap);
}

/* ---------------------------------------------------------
   STAT ROW — 4 COLUMNS
   [ left-icon ][ label ][ right-icon ][ value ]
--------------------------------------------------------- */

.stat-row {
    display: grid;
    grid-template-columns: 24px auto 24px 1fr;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
}

/* ICON SLOTS */
.stat-icon-left,
.stat-icon-right {
    width: 20px;
    height: 20px;
    opacity: 0.85;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* LABEL */
.stat-label {
    font-size: 12px;
    color: var(--telemetry-label);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* VALUE */
.stat-value {
    font-size: 20px;
    font-weight: 600;
    color: var(--telemetry-value);
    text-align: right;
    white-space: nowrap;
}

/* ---------------------------------------------------------
   LIGHT WINDOW (Sunrise / Sunset / Daylight)
--------------------------------------------------------- */

.telemetry-lightwindow {
    padding: 20px 0 10px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--telemetry-divider);
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 90%;
    margin: 0 auto 25px auto;
    box-sizing: border-box;
    border-radius: 8px;
    padding-left: 40px;
    padding-right: 40px;
}

.light-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.light-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--telemetry-label);
}

.light-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--telemetry-value);
}


/* ICON CLASSES — hook your real icons here */
.wind-icon {}
.wind-dir-icon {}
.humidity-icon {}
.conditions-icon {}
.cloud-icon {}
.uv-icon {}
.rain-prob-icon {}
.rain-amt-icon {}
.pressure-icon {}
.visibility-icon {}
.dewpoint-icon {}
.gust-icon {}

/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 800px) {

    /* HERO */
    .hero-inner {
        flex-direction: row;
        justify-content: space-between;
    }

    .hero-temp {
        font-size: 2.8rem;
    }

    .hero-right img {
        width: 70px;
        height: 70px;
    }

    /* GRID */
    .telemetry-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .telemetry-grid::before {
        display: none;
    }
}

