/* climate_section.css - التنسيقات والتحريكات والـ Glassmorphism لمرصد البيانات المناخية */
.climate-wrapper { 
    padding-top: 10px; 
    font-family: 'Cairo', sans-serif; 
}

.strategic-header-card { 
    background: #1e293b; 
    border-radius: 24px; 
    padding: 0; 
    color: white; 
    position: relative; 
    overflow: hidden; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.2); 
    border: 1px solid rgba(255,255,255,0.05); 
    margin-bottom: 40px; 
    display: flex; 
    flex-wrap: wrap; 
}

.shc-ar { 
    flex: 1; 
    min-width: 300px; 
    padding: 40px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    background: #1e293b; 
    position: relative; 
    z-index: 1;
}

.shc-ar h1 { 
    font-size: 26px; 
    font-weight: 900; 
    margin: 0 0 15px 0; 
    font-family: 'Tajawal', sans-serif; 
    color: #34d399; 
}

.shc-ar p { 
    font-size: 14px; 
    color: #94a3b8; 
    margin: 0; 
    line-height: 1.9; 
    font-weight: 600; 
    text-align: justify; 
}

.shc-en { 
    flex: 1.2; 
    min-width: 320px; 
    padding: 40px; 
    background: linear-gradient(135deg, #022c22, #0f172a); 
    border-left: 4px solid #10b981; 
    position: relative; 
    z-index: 1; 
}

.shc-en::before { 
    content: ''; 
    position: absolute; 
    top: 0; left: 0; right: 0; bottom: 0; 
    background: url('https://www.transparenttextures.com/patterns/cubes.png') opacity(0.1); 
    pointer-events: none; 
}

.shc-en-tag { 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    background: rgba(56, 189, 248, 0.1); 
    color: #38bdf8; 
    font-size: 10px; 
    font-weight: 900; 
    letter-spacing: 1px; 
    padding: 5px 12px; 
    border-radius: 6px; 
    margin-bottom: 15px; 
    border: 1px solid rgba(56, 189, 248, 0.2); 
    text-transform: uppercase; 
}

.shc-en h1 { 
    font-size: 20px; 
    font-weight: 900; 
    margin: 0 0 12px 0; 
    font-family: 'Arial', sans-serif; 
    color: #f8fafc; 
    letter-spacing: -0.5px;
}

.shc-en p { 
    font-size: 12px; 
    color: #cbd5e1; 
    margin: 0; 
    line-height: 1.7; 
    font-family: 'Arial', sans-serif; 
    text-align: justify;
}

.filter-nav-bar { 
    display: flex; 
    justify-content: center; 
    gap: 12px; 
    margin-bottom: 35px; 
    flex-wrap: wrap; 
}

.filter-btn { 
    background: rgba(255,255,255,0.03); 
    color: #cbd5e1; 
    border: 1px solid rgba(255,255,255,0.1); 
    padding: 8px 20px; 
    border-radius: 8px; 
    font-size: 13px; 
    font-weight: bold; 
    font-family: 'Cairo'; 
    cursor: pointer; 
    transition: 0.3s; 
    backdrop-filter: blur(5px); 
}

.filter-btn.active, .filter-btn:hover { 
    background: rgba(16, 185, 129, 0.15); 
    color: #34d399; 
    border-color: rgba(16, 185, 129, 0.4); 
    transform: translateY(-2px); 
}

.topics-grid-layout { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 25px; 
    margin-bottom: 50px; 
}

.luxury-topic-card { 
    background: #1e293b; 
    border-radius: 16px; 
    border: 1px solid rgba(255,255,255,0.05); 
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
    transition: all 0.3s ease; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); 
}

.luxury-topic-card:hover { 
    transform: translateY(-6px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.4); 
    border-color: rgba(16, 185, 129, 0.4); 
}

.topic-img-wrapper { 
    width: 100%; 
    height: 160px; 
    background: #0f172a; 
    overflow: hidden; 
    position: relative; 
    border-bottom: 2px solid #10b981; 
}

.topic-img-wrapper img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    opacity: 0.85; 
    transition: 0.5s; 
}

.luxury-topic-card:hover .topic-img-wrapper img { 
    transform: scale(1.05); 
    opacity: 1; 
}

.topic-badge { 
    position: absolute; 
    top: 12px; right: 12px; 
    background: rgba(15, 23, 42, 0.9); 
    color: #34d399; 
    padding: 4px 10px; 
    border-radius: 6px; 
    font-size: 10px; 
    font-weight: 900; 
    border: 1px solid rgba(16, 185, 129, 0.3); 
    backdrop-filter: blur(4px); 
    display: flex; 
    align-items: center; 
    gap: 4px; 
    font-family: 'Tajawal'; 
}

.topic-body { 
    padding: 20px; 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column;
}

.topic-title { 
    font-size: 16px; 
    font-weight: 900; 
    color: #f8fafc; 
    margin: 0 0 10px 0; 
    font-family: 'Tajawal', sans-serif; 
    line-height: 1.5; 
}

.topic-summary { 
    font-size: 12px; 
    color: #94a3b8; 
    line-height: 1.8; 
    text-align: justify; 
    margin: 0 0 15px 0; 
    font-weight: 600; 
    flex-grow: 1; 
    display: -webkit-box; 
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical; 
    overflow: hidden;
}

.topic-footer { 
    padding: 15px 20px; 
    border-top: 1px dashed rgba(255,255,255,0.05); 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    background: rgba(255,255,255,0.01); 
    font-size: 11px; 
    font-weight: bold; 
    color: #64748b; 
}

.topic-footer span { font-family: 'Courier New', monospace; }

.btn-read-more { 
    color: #34d399; 
    text-decoration: none; 
    display: inline-flex; 
    align-items: center; 
    gap: 5px; 
    font-weight: 900; 
    transition: 0.3s; 
    background: rgba(16, 185, 129, 0.1); 
    padding: 6px 12px; 
    border-radius: 6px; 
    border: 1px solid rgba(16, 185, 129, 0.2); 
    cursor: pointer;
}

.btn-read-more:hover { 
    color: #0f172a; 
    background: #10b981; 
}

.climate-map-container { 
    background: #1e293b; 
    border-radius: 24px; 
    border: 1px solid rgba(255,255,255,0.05); 
    padding: 30px; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.3); 
    margin-top: 20px; 
    border-top: 4px solid #38bdf8;
}

.map-header-dual { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: space-between; 
    align-items: flex-end; 
    gap: 20px; 
    margin-bottom: 25px; 
    border-bottom: 1px dashed rgba(255,255,255,0.1); 
    padding-bottom: 15px; 
}

.mh-ar h3 { font-size: 18px; font-weight: 900; color: #f8fafc; margin: 0 0 5px 0; font-family: 'Tajawal'; }
.mh-ar p { font-size: 12px; color: #94a3b8; margin: 0; }
.mh-en { text-align: left; }
.mh-en h3 { font-size: 15px; font-weight: 900; color: #7dd3fc; margin: 0 0 5px 0; font-family: 'Arial'; }
.mh-en p { font-size: 11px; color: #64748b; margin: 0; font-family: 'Arial'; max-width: 400px; }

.map-frame-wrapper { 
    width: 100%; 
    height: 450px; 
    border-radius: 16px; 
    overflow: hidden; 
    border: 1px solid rgba(255,255,255,0.1); 
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5); 
}

.article-modal-overlay { 
    display: none; 
    position: fixed; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    background: rgba(15, 23, 42, 0.95); 
    z-index: 9999; 
    align-items: center; 
    justify-content: center; 
    backdrop-filter: blur(12px); 
    padding: 15px; 
    box-sizing: border-box;
}

.article-modal { 
    background: #1e293b; 
    width: 100%; 
    max-width: 800px; 
    border-radius: 20px; 
    position: relative; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.6); 
    max-height: 95vh; 
    display: flex; 
    flex-direction: column; 
    border: 1px solid rgba(255,255,255,0.1); 
    animation: scaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1); 
    overflow: hidden;
}

@keyframes scaleUp { from { transform: scale(0.95) translateY(20px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }

.am-top-bar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 12px 20px; 
    border-bottom: 1px solid rgba(255,255,255,0.05); 
    background: #0f172a; 
    position: relative; 
    z-index: 10; 
}

.btn-back-modal { 
    background: rgba(255,255,255,0.05); 
    border: 1px solid rgba(255,255,255,0.1); 
    color: #cbd5e1; 
    padding: 6px 12px; 
    border-radius: 6px; 
    font-family: 'Cairo', sans-serif; 
    font-size: 11px; 
    font-weight: bold; 
    cursor: pointer; 
    display: inline-flex; 
    align-items: center; 
    gap: 6px; 
    transition: 0.3s; 
}

.btn-back-modal:hover { 
    background: rgba(56, 189, 248, 0.15); 
    color: #38bdf8; 
    border-color: rgba(56, 189, 248, 0.3); 
    transform: translateX(3px); 
}

.am-scroll-area { 
    overflow-y: auto; 
    padding: 30px; 
    flex-grow: 1; 
    scroll-behavior: smooth; 
}

.am-scroll-area::-webkit-scrollbar { width: 5px; }
.am-scroll-area::-webkit-scrollbar-thumb { background: rgba(56, 189, 248, 0.5); border-radius: 10px; }

.am-title-area { 
    margin-bottom: 25px; 
    border-bottom: 1px dashed rgba(255,255,255,0.1); 
    padding-bottom: 20px;
}

.am-title-area h2 { 
    margin: 0 0 10px 0; 
    color: #f8fafc; 
    font-size: 22px; 
    font-weight: 900; 
    font-family: 'Tajawal', sans-serif; 
    line-height: 1.4; 
}

.am-meta { 
    font-size: 11px; 
    color: #64748b; 
    font-family: 'Courier New', monospace; 
    font-weight: bold; 
    display: flex; 
    align-items: center; 
    gap: 5px;
}

.am-body { 
    color: #cbd5e1; 
    font-size: 14px; 
    line-height: 2; 
    font-weight: 600; 
    text-align: justify; 
}

.am-body p { margin-bottom: 1.5em; }

.am-bottom-bar { 
    padding: 12px 20px; 
    border-top: 1px solid rgba(255,255,255,0.05); 
    background: #0f172a; 
    text-align: left; 
}