/* article-styles.css */ /* Modern Color Palette */ :root { --primary-color: #2D46B9; /* Rich blue */ --secondary-color: #6C63FF; /* Purple blue */ --accent-color: #00E99F; /* Vibrant teal */ --background-color: #F8FAFF; /* Off-white with blue tint */ --card-background: #FFFFFF; /* Pure white for cards */ --text-color: #1A2238; /* Dark blue-gray for text */ --light-gray: #F0F4FF; /* Light blue-tinted gray */ --mid-gray: #E2E8F5; /* Medium blue-tinted gray */ --dark-gray: #6B7280; /* Slate gray */ --footer-bg: #151E35; /* Dark blue-black */ --footer-text: #CDD5F1; /* Light blue-white */ --footer-text-light: #aab0c5; /* Lighter text for footer links */ --button-hover: #03BF83; /* Darker teal for buttons */ --gradient-start: #2D46B9; /* Blue gradient start */ --gradient-end: #7F78FF; /* Purple gradient end */ } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } body { background-color: var(--background-color); color: var(--text-color); line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; } .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } /* Typography Improvements */ h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.5px; margin-top: 1.5rem; margin-bottom: 1rem; } /* Header Styles */ header { background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); color: white; padding: 1rem 0; box-shadow: 0 4px 20px rgba(45, 70, 185, 0.15); position: sticky; top: 0; z-index: 1000; } .header-container { display: flex; justify-content: space-between; align-items: center; } .logo { font-size: 1.8rem; font-weight: 800; display: flex; align-items: center; } .logo a { text-decoration: none; color: white; } .logo a:hover { color: var(--accent-color); } .logo span.highlight { color: var(--accent-color); font-weight: 900; } nav ul { display: flex; list-style: none; } nav ul li { margin-left: 1.8rem; } nav ul li a { color: white; text-decoration: none; font-weight: 600; transition: all 0.3s; font-size: 1.05rem; position: relative; padding-bottom: 5px; } nav ul li a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background-color: var(--accent-color); transition: width 0.3s ease; } nav ul li a:hover::after { width: 100%; } nav ul li a:hover { color: var(--accent-color); } /* Footer Styles */ footer { background-color: var(--footer-bg); color: var(--footer-text); padding: 4rem 0 1.5rem; margin-top: auto; } .footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; } .footer-section { flex: 1; min-width: 250px; } .footer-section h3 { color: white; margin-bottom: 1.5rem; position: relative; display: inline-block; } .footer-section h3::after { content: ''; position: absolute; left: 0; bottom: -8px; width: 40px; height: 3px; background-color: var(--accent-color); } .footer-links { list-style: none; } .footer-links li { margin-bottom: 1rem; } .footer-links a { color: var(--footer-text); text-decoration: none; transition: all 0.3s; } .footer-links a:hover { color: var(--accent-color); padding-left: 5px; } .copyright { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.95rem; } /* Centralized Footer Styles - More specific selectors */ #footer-container { width: 100%; } #site-footer { background-color: var(--footer-bg) !important; color: var(--footer-text) !important; padding: 2.5rem 0 1rem; width: 100%; margin-top: 2rem; position: relative; z-index: 1000; font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important; } #site-footer .container { max-width: 1200px; margin: 0 auto; padding: 0 15px; } #site-footer .footer-main { display: flex; flex-wrap: wrap; justify-content: space-between; margin-bottom: 2rem; } #site-footer .footer-section { flex: 1 1 300px; padding: 0 15px; margin-bottom: 2rem; } #site-footer h3 { font-size: 1.4rem; margin-bottom: 1.2rem; color: white !important; font-weight: 600; } #site-footer p { margin-bottom: 1.5rem; line-height: 1.6; font-size: 0.95rem; color: var(--footer-text) !important; } #site-footer ul { list-style: none; padding: 0; margin: 0; } #site-footer ul li { margin-bottom: 0.8rem; } #site-footer ul li a { color: var(--footer-text) !important; text-decoration: none; font-size: 0.95rem; display: block; transition: color 0.2s ease; } #site-footer ul li a:hover { color: var(--accent-color) !important; } #site-footer ul li a i, #site-footer ul li span i { margin-right: 10px; width: 16px; } #site-footer ul li span { color: var(--footer-text) !important; font-size: 0.95rem; display: flex; align-items: center; } #site-footer .social-links { display: flex; gap: 12px; margin-top: 1.2rem; } #site-footer .social-links a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.1); color: white !important; text-decoration: none; transition: all 0.2s ease; } #site-footer .social-links a:hover { background-color: var(--accent-color); transform: translateY(-3px); color: var(--footer-bg) !important; } #site-footer .copyright { text-align: center; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); } #site-footer .copyright p { margin: 0; font-size: 0.9rem; color: var(--footer-text) !important; } #site-footer .footer-bottom-links { margin-top: 0.8rem; } #site-footer .footer-bottom-links a { color: var(--footer-text-light) !important; text-decoration: none; font-size: 0.85rem; margin: 0 10px; transition: color 0.2s ease; display: inline-block; } #site-footer .footer-bottom-links a:hover { color: var(--accent-color) !important; } /* Article Styles */ main { flex: 1; padding: 2rem 0; } .article-container { background-color: var(--card-background); border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); padding: 30px; margin: 30px auto; max-width: 1000px; } .article-header { margin-bottom: 30px; border-bottom: 1px solid #eee; padding-bottom: 20px; } .article-title { font-size: 3.2rem; font-weight: 800; margin-bottom: 20px; line-height: 1.1; color: var(--primary-color); letter-spacing: -0.5px; } .article-meta { display: flex; flex-wrap: wrap; gap: 20px; color: var(--dark-gray); margin-bottom: 10px; } .article-meta div { display: flex; align-items: center; gap: 0.5rem; } .article-meta i { color: var(--secondary-color); } .article-content { font-size: 1.1rem; line-height: 1.8; } .article-content p { margin-bottom: 20px; } .article-content h2 { font-size: 1.8rem; color: var(--primary-color); margin-top: 40px; margin-bottom: 20px; letter-spacing: -0.5px; font-weight: 700; } .article-content h3 { font-size: 1.4rem; color: var(--secondary-color); margin-top: 30px; margin-bottom: 15px; letter-spacing: -0.5px; font-weight: 700; } .article-content h4 { font-size: 1.2rem; margin-top: 25px; margin-bottom: 10px; letter-spacing: -0.5px; font-weight: 700; } .article-content ul, .article-content ol { padding-left: 25px; margin-bottom: 20px; } .article-content li { margin-bottom: 0.5rem; } .article-content strong { font-weight: 600; } .article-content a { color: var(--primary-color); text-decoration: none; transition: color 0.3s ease; } .article-content a:hover { color: var(--secondary-color); text-decoration: underline; } /* Table Styles */ .comparison-table { width: 100%; border-collapse: collapse; margin: 25px 0; } .comparison-table th, .comparison-table td { border: 1px solid #ddd; padding: 12px; text-align: left; } .comparison-table th { background-color: var(--light-gray); font-weight: 600; } /* Figure and Image Styles */ figure { margin: 30px 0; text-align: center; } figure img { max-width: 100%; border-radius: 5px; box-shadow: 0 3px 10px rgba(0,0,0,0.1); } figcaption { margin-top: 10px; font-style: italic; color: var(--dark-gray); font-size: 0.9rem; } /* Footer Container for Articles */ .footer-container { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--mid-gray); } /* Responsive Design */ @media (max-width: 768px) { .article-meta { flex-direction: column; gap: 10px; } .article-title { font-size: 1.8rem; } .article-content h2 { font-size: 1.5rem; } .article-content h3 { font-size: 1.2rem; } .article-content h4 { font-size: 1.1rem; } .article-content { font-size: 1rem; } .container { padding: 0 15px; } .article-container { padding: 20px; } #site-footer .footer-main { flex-direction: column; } #site-footer .footer-section { flex: 1 1 100%; } }