.hourly-wrapper {
    width: 100%;
    overflow: hidden; 
    margin-bottom: 20px;
}
.hourly-scroll {
    display: flex;
    flex-wrap: nowrap; 
    overflow-x: auto; 
    gap: 7px;
    padding: 10px 5px;
    -webkit-overflow-scrolling: touch; 
    scrollbar-width: thin; 
}
.hourly-scroll::-webkit-scrollbar {
    height: 6px;
}
.hourly-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
.hour-item {
    flex: 0 0 auto;
    width: 85px;
    text-align: center;
    background: #f8f9fa;
    padding: 12px 5px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.nav-btn a:hover {
    background: #ebebeb;
    color: #222;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.nav-btn a:active {
    transform: scale(0.98);
}
.kutu3 a:hover {
    color:#036;
    text-decoration:none;
}

.icon-wrap::before {
    will-change: opacity;
}
.weather-icon {
    -webkit-filter: drop-shadow(1px 1px 1px #999);
}

ol {
    margin:5px 0 5px 20px;
    list-style-type:circle;
}

.main-grid { 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
    margin: 10px 0 20px 0;
}
@media (min-width: 992px) { 
    .main-grid { flex-direction: row; align-items: flex-start; } 
    main { flex: 2; width: 0; min-width: 0; flex-grow: 2; }
    aside { flex: 1; min-width: 300px; } 
}

.weather-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 10px;
}
.weather-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}
.weather-item:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}
.weather-highlight {
    background: #f0f7ff;
    border-color: #c3dafe;
    grid-column: span 2;
}
.weather-icon-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    margin-right: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.weather-emoji {
    font-size: 1.3rem;
}
.weather-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.weather-label {
    font-size: 0.75rem;
    color: #718096;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}
.weather-value {
    font-size: 0.95rem;
    color: #2d3748;
    font-weight: 700;
}

.uyari.isinma {
    background-color: #fff8e1; 
    border-color: #ff9800;
    color: #bf360c;   
}
.uyari.soguma {
    background-color: #e0f7fa;
    border-color: #00bcd4;  
    color: #006064;   
}

.site-footer { 
    font-size:0.9rem;
    background: #fff; 
    padding: 30px 0; 
    border-top: 1px solid var(--border); 
}

.card {
    content-visibility: auto;
    contain-intrinsic-size: 500px;
}

@media (max-width: 768px) {
    .weather-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .weather-item {
        padding: 10px;
    }
    .weather-icon-box {
        width: 36px;
        height: 36px;
        margin-right: 10px;
    }
    .weather-emoji {
        font-size: 1.1rem;
    }
    .weather-label {
        font-size: 0.7rem;
    }
    .weather-value {
        font-size: 0.85rem;
    }
    .weather-highlight {
        grid-column: span 2;
    }
}
@media (max-width: 300px) {
    .weather-grid {
        grid-template-columns: 1fr;
    }
    .weather-highlight {
        grid-column: span 1;
    }
}