/* --- ACCESSIBLE WEEKLY RECAP STYLE SHEET --- */

.cache-info-banner-accessible {
    font-size: 1.1rem;
    color: #000000;
    font-weight: bold;
    padding: 0 15px;
    margin-top: 15px;
}

.no-data-msg {
    color: #000000; 
    font-weight: 900; 
    font-size: 1.5rem; 
    padding: 20px;
}

.recap-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 15px;
    margin-top: 20px;
    margin-bottom: 30px;
}

/* Horizontal Row Card Configuration */
.recap-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #ffffff;
    border-radius: 8px;
    padding: 14px 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    color: #000000;
    transition: transform 0.15s ease-in-out;
}

.recap-row:hover {
    transform: translateY(-1px);
}

.recap-day-label {
    flex: 0 0 150px; 
    font-size: 1.35rem;
    font-weight: 900;
}

.recap-temp-bounds {
    flex: 0 0 120px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 18px;
    font-size: 1.4rem;
    font-weight: 900;
}

.recap-high { color: #ef233c; }
.recap-low { color: #00b4d8; }

.recap-icon-block {
    flex: 0 0 85px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.recap-icon-small {
    width: 46px;
    height: 46px;
    border: 2px solid #000000;
    border-radius: 6px;
    background: #f0f0f0;
}

/* Raindrop + Badge horizontal row container */
.recap-pop-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 16px;
}

.recap-raindrop {
    font-size: 0.85rem;
    line-height: 1;
}

.recap-pop-badge {
    font-size: 0.9rem;
    font-weight: 900;
    color: #0056b3;
    text-align: center;
    line-height: 1;
}

.recap-pop-badge.empty-pop {
    color: #cccccc;
}

.recap-summary-text {
    flex: 1;
    padding-left: 20px;
}

/* --- ACCORDION CORE STRUCTURAL RULES --- */
.forecast-accordion {
    width: 100%;
}

.accordion-trigger {
    display: block;
    list-style: none;
    cursor: pointer;
    outline: none;
}
.accordion-trigger::-webkit-details-marker {
    display: none;
}

.short-summary-link {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0066cc; 
    text-decoration: underline;
    line-height: 1.2;
}

.short-summary-link:hover {
    color: #004499;
}

.accordion-content {
    margin-top: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #333333;
    line-height: 1.4;
    padding-top: 6px;
    border-top: 1px dashed #cccccc;
}

/* --- MOBILE RESPONSIVE BREAKPOINT --- */
@media (max-width: 768px) {
    .recap-row {
        flex-wrap: wrap;
        padding: 15px;
    }
    
    /* Top line on mobile: Day name and temperatures split 50/50 */
    .recap-day-label {
        flex: 1 1 50%;
        font-size: 1.25rem;
        margin-bottom: 12px;
    }
    .recap-temp-bounds {
        flex: 1 1 50%;
        justify-content: flex-end;
        font-size: 1.25rem;
        gap: 15px;
        margin-bottom: 12px;
    }
    
    /* FIX: Force the icon/precip block to sit inline with the text link on mobile */
    .recap-icon-block {
        flex: 0 0 65px; /* Give it a strict width so text can wrap next to it */
        align-items: flex-start;
    }
    
    .recap-pop-container {
        justify-content: flex-start;
        margin-top: 2px;
    }
    
    /* FIX: The text element now claims the remaining row width right next to the icon */
    .recap-summary-text {
        flex: 1 1 calc(100% - 75px);
        padding-left: 10px;
    }
}
/* --- ADAPTIVE CURRENT METRICS AND ATTRIBUTION LAYOUTS --- */

.sensor-attribution-banner {
    font-size: 1rem;
    color: #4a5568;
    font-weight: 700;
    padding: 0 15px;
    margin-top: 15px;
    font-style: italic;
}

.current-metrics-deck {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    padding: 0 15px;
    margin-top: 15px;
}

.current-metric-tile {
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.current-metric-tile small {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #4a5568;
    margin-bottom: 5px;
}

.current-metric-tile span {
    font-size: 1.8rem;
    font-weight: 900;
    color: #000000;
}

/* Optional styling indicator if Heat Index flashes active */
.current-metric-tile.highlight-heat {
    border-color: #d90429;
    background: #fff0f1;
}

.section-divider-stark {
    border: 0;
    height: 3px;
    background: #000000;
    margin: 25px 15px;
}

/* Ensure mobile layout elements sit perfectly tight */
@media (max-width: 768px) {
    .current-metrics-deck {
        grid-template-columns: repeat(2, 1fr); /* 2 Columns grid layout on mobile screens */
    }
}
.forecast-night-text {
    color: #0066cc; /* Matches your underlined short-summary-link exactly */
    text-decoration: none; /* Keeps it clean without an underline */
    margin-left: 6px; /* Provides a clear separation from the day text */
}
/* --- VERSION CONTROL & CHANGELOG ACCORDION --- */
.version-changelog-container {
    padding: 0 15px;
    margin-top: 12px;
}
.version-accordion {
    width: 100%;
}
.version-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    cursor: pointer;
    outline: none;
}
.version-trigger::-webkit-details-marker {
    display: none;
}
.version-badge {
    background: #000000;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}
.version-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0066cc; /* Matches your default link blue */
    text-decoration: underline;
}
.version-accordion[open] .version-link {
    text-decoration: none;
    color: #333333;
}
.version-content {
    margin-top: 8px;
    padding: 10px 15px;
    background: #ffffff;
    border: 1px dashed #cccccc;
    border-radius: 6px;
    max-width: 500px;
}
.changelog-list {
    margin: 0;
    padding-left: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333333;
    line-height: 1.6;
}
.changelog-list li {
    margin-bottom: 4px;
}
.changelog-list li:last-child {
    margin-bottom: 0;
}

