/* ========================================
   FRESH WEATHER DISPLAY CSS - JUNGLE LEELAA
   ========================================
   
   Fresh weather display styles
   INHERITS ALL COLORS AND VARIABLES FROM THEME4.CSS
   ======================================== */

/* Weather Content Styles - Integrated with Theme Structure */
.content-section-1 .fresh-weather-location,
.content-section-1 .fresh-weather-current,
.content-section-1 .fresh-weather-details,
.content-section-1 .fresh-weather-forecast,
.content-section-1 .fresh-weather-update,
.content-section-1 .fresh-weather-error {
    margin-bottom: 2rem;
}

.content-section-1 .fresh-weather-location:last-child,
.content-section-1 .fresh-weather-current:last-child,
.content-section-1 .fresh-weather-details:last-child,
.content-section-1 .fresh-weather-forecast:last-child,
.content-section-1 .fresh-weather-update:last-child,
.content-section-1 .fresh-weather-error:last-child {
    margin-bottom: 0;
}
/* Weather Location - Now using universal section-title class */

.fresh-weather-current {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px 0;
    width: 100%;
}

.fresh-weather-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.fresh-weather-icon {
    text-align: center;
}

.fresh-weather-icon span {
    font-size: 4rem;
}

.fresh-weather-temp {
    text-align: center;
}

.fresh-temp-value {
    font-size: var(--weather-temp-size); /* INHERIT FROM THEME4.CSS */
    font-weight: var(--weather-temp-weight); /* INHERIT FROM THEME4.CSS */
    color: var(--weather-temp-color); /* INHERIT FROM THEME4.CSS */
    display: block;
    line-height: 1;
}

.fresh-temp-feels {
    font-size: var(--font-size-base); /* INHERIT FROM THEME4.CSS */
    color: var(--muted-foreground); /* INHERIT FROM THEME4.CSS */
    font-weight: var(--font-weight-normal); /* INHERIT FROM THEME4.CSS */
}

.fresh-weather-desc {
    font-size: var(--weather-desc-size); /* INHERIT FROM THEME4.CSS */
    font-weight: var(--weather-desc-weight); /* INHERIT FROM THEME4.CSS */
    color: var(--weather-desc-color); /* INHERIT FROM THEME4.CSS */
    text-transform: capitalize;
}

.fresh-weather-details {
    margin-bottom: 30px;
}

.fresh-weather-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.fresh-weather-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: var(--weather-item-bg); /* INHERIT FROM THEME4.CSS */
    border: 1px solid var(--weather-item-border); /* INHERIT FROM THEME4.CSS */
    border-radius: 10px;
    color: var(--weather-item-color); /* INHERIT FROM THEME4.CSS */
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.fresh-weather-label {
    font-weight: var(--font-weight-medium); /* INHERIT FROM THEME4.CSS */
    color: var(--muted-foreground); /* INHERIT FROM THEME4.CSS */
    flex-shrink: 0;
    margin-right: 10px;
    min-width: 80px;
}

.fresh-weather-value {
    font-weight: var(--font-weight-semibold); /* INHERIT FROM THEME4.CSS */
    font-size: var(--font-size-base); /* INHERIT FROM THEME4.CSS */
    text-align: right;
    word-break: break-word;
    overflow-wrap: break-word;
}

.fresh-weather-forecast {
    margin-bottom: 30px;
    padding: 20px 0;
    border-top: 1px solid var(--border); /* INHERIT FROM THEME4.CSS */
}

.fresh-weather-forecast h4 {
    text-align: center;
    margin: 0 0 20px 0;
    font-size: var(--font-size-xl); /* INHERIT FROM THEME4.CSS */
    font-weight: var(--font-weight-semibold); /* INHERIT FROM THEME4.CSS */
    color: var(--foreground); /* INHERIT FROM THEME4.CSS */
}

.fresh-forecast-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.fresh-forecast-list-item {
    text-align: center;
    padding: 15px;
    background: var(--weather-item-bg); /* INHERIT FROM THEME4.CSS */
    border: 1px solid var(--weather-item-border); /* INHERIT FROM THEME4.CSS */
    border-radius: 12px;
    color: var(--weather-item-color); /* INHERIT FROM THEME4.CSS */
}

.fresh-forecast-day {
    font-weight: var(--font-weight-semibold); /* INHERIT FROM THEME4.CSS */
    margin-bottom: 8px;
    font-size: var(--font-size-base); /* INHERIT FROM THEME4.CSS */
    color: var(--foreground); /* INHERIT FROM THEME4.CSS */
}

.fresh-forecast-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.fresh-forecast-temp {
    font-size: var(--font-size-lg); /* INHERIT FROM THEME4.CSS */
    font-weight: var(--font-weight-semibold); /* INHERIT FROM THEME4.CSS */
    margin-bottom: 5px;
    color: var(--foreground); /* INHERIT FROM THEME4.CSS */
}

.fresh-forecast-desc {
    font-size: var(--font-size-sm); /* INHERIT FROM THEME4.CSS */
    color: var(--muted-foreground); /* INHERIT FROM THEME4.CSS */
    text-transform: capitalize;
    margin-bottom: 5px;
}

.fresh-weather-update {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border); /* INHERIT FROM THEME4.CSS */
}

.fresh-weather-update small {
    font-size: var(--font-size-sm); /* INHERIT FROM THEME4.CSS */
    color: var(--muted-foreground); /* INHERIT FROM THEME4.CSS */
}

.fresh-weather-error {
    text-align: center;
    padding: 40px 20px;
    background: var(--weather-item-bg); /* INHERIT FROM THEME4.CSS */
    border: 1px solid var(--weather-item-border); /* INHERIT FROM THEME4.CSS */
    border-radius: 12px;
    color: var(--weather-item-color); /* INHERIT FROM THEME4.CSS */
}

.fresh-error-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.fresh-weather-error h3 {
    font-size: var(--font-size-xl); /* INHERIT FROM THEME4.CSS */
    font-weight: var(--font-weight-semibold); /* INHERIT FROM THEME4.CSS */
    color: var(--foreground); /* INHERIT FROM THEME4.CSS */
    margin-bottom: 10px;
}

.fresh-weather-error p {
    font-size: var(--font-size-base); /* INHERIT FROM THEME4.CSS */
    color: var(--muted-foreground); /* INHERIT FROM THEME4.CSS */
    margin: 0;
}

/* Responsive Design for Weather */
@media (max-width: 768px) {
    .fresh-weather-current {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .fresh-weather-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .fresh-weather-temp {
        text-align: center;
    }
    
    .fresh-weather-icon span {
        font-size: 3rem;
    }
    
    .fresh-temp-value {
        font-size: calc(var(--weather-temp-size) * 0.8); /* Responsive temp size */
    }
    
    .fresh-weather-list-item {
        padding: 10px 12px;
    }
    
    .fresh-weather-label {
        min-width: 60px;
        font-size: var(--font-size-sm); /* INHERIT FROM THEME4.CSS */
    }
}

@media (max-width: 480px) {
    .fresh-weather-icon span {
        font-size: 2.5rem;
    }
    
    .fresh-temp-value {
        font-size: calc(var(--weather-temp-size) * 0.7); /* Responsive temp size */
    }
    
    .fresh-weather-list-item {
        padding: 8px 10px;
    }
    
    .fresh-weather-label {
        min-width: 50px;
        font-size: var(--font-size-xs); /* INHERIT FROM THEME4.CSS */
    }
}

/* ========================================
   WEATHER TIPS CARDS - FRESH STYLING
   ======================================== */

/* Weather Tips Grid */
.safari-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Weather Tip Cards */
.tip-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tip-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

/* Tip Card Icon */
.tip-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    line-height: 1;
}

/* Tip Card Title */
.tip-card h3 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--foreground);
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Tip Card Description */
.tip-card p {
    font-size: var(--font-size-base);
    color: var(--muted-foreground);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design for Tip Cards */
@media (max-width: 768px) {
    .safari-types-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .tip-card {
        padding: 1.5rem;
    }
    
    .tip-icon {
        font-size: 2.5rem;
    }
    
    .tip-card h3 {
        font-size: var(--font-size-lg);
    }
}

@media (max-width: 480px) {
    .tip-card {
        padding: 1.25rem;
    }
    
    .tip-icon {
        font-size: 2rem;
    }
    
    .tip-card h3 {
        font-size: var(--font-size-base);
    }
}