 * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: Arial, sans-serif; line-height: 1.6; color: #333; background-color: #f5f5f5; }  .navbar { background-color: #fff; padding: 1rem 13rem; box-shadow: 0 2px 5px rgba(0,0,0,0.1); display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1000; } .logo h1 { color: #2c3e50; font-size: 1.8rem; margin-left: -86%; } .nav-links { display: flex; gap: 2rem; } .nav-links a { text-decoration: none; color: #2c3e50; font-weight: 500; transition: color 0.3s ease; } .nav-links a:hover, .nav-links a.active { color: #3498db; } .menu-btn { display: none; cursor: pointer; } .menu-icon { font-size: 1.5rem; }  .container { max-width: 1200px; margin: 2rem auto; padding: 0 1rem; display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; } .main-content { background: #fff; padding: 1rem; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); } .featured-posts h2 { color: #2c3e50; margin-bottom: 2rem; font-size: 1.8rem; } .posts-grid { display: block; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; } .post-card { background: #fff;margin: 8px; border-radius: 8px; padding: 1.5rem; box-shadow: 0 2px 5px rgba(0,0,0,0.1); transition: transform 0.3s ease; } .post-card:hover { transform: translateY(-5px); } .post-card img { width: 100%; height: 200px; object-fit: cover; } .post-content h3 { color: #2c3e50; margin-bottom: 1rem; font-size: 1.2rem; } .post-content p { color: #666; margin-bottom: 1rem; } .post-meta { display: flex; justify-content: space-between; color: #888; font-size: 0.9rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #eee; } .sidebar { display: flex; flex-direction: column; gap: 2rem; } .ad-section, .categories-section { background: #fff; padding: 1.5rem; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); } .ad-box { background: #f8f9fa; padding: 1rem; margin: 1rem 0; border-radius: 4px; text-align: center; min-height: 100px; display: flex; align-items: center; justify-content: center; } .categories-list { list-style: none; } .categories-list li { margin-bottom: 0.5rem; } .categories-list a { color: #2c3e50; text-decoration: none; transition: color 0.3s ease; } .categories-list a:hover { color: #3498db; }  footer { background: #2c3e50; color: #fff; padding: 3rem 0 1rem; margin-top: 3rem; } .footer-content { max-width: 1200px; margin: 0 auto; padding: 0 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; } .footer-section h3 { margin-bottom: 1rem; font-size: 1.2rem; } .footer-section ul { list-style: none; } .footer-section ul li { margin-bottom: 0.5rem; } .footer-section a { color: #fff; text-decoration: none; transition: color 0.3s ease; } .footer-section a:hover { color: #3498db; } .social-links { display: flex; gap: 1rem; } .social-links a { padding: 0.5rem; background: rgba(255,255,255,0.1); border-radius: 4px; transition: background 0.3s ease; } .social-links a:hover { background: rgba(255,255,255,0.2); } .footer-bottom { text-align: center; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1); }  @media (max-width: 768px) { .container { grid-template-columns: 1fr; padding: 0 1rem; margin: 1rem auto; } .single-post-container { grid-template-columns: 1fr; } .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem; flex-direction: column; gap: 1rem; box-shadow: 0 2px 5px rgba(0,0,0,0.1); z-index: 1000; } .nav-links.active { display: flex; } .menu-btn { display: block; } .main-content { padding: 1rem; } .single-post { padding: 1.5rem; } .single-post h1 { font-size: 1.8rem; line-height: 1.4; } .posts-grid { grid-template-columns: 1fr; gap: 1.5rem; } .post-card { padding: 1.2rem; } .post-content h3 { font-size: 1.1rem; } .sidebar { margin-top: 2rem; } .ad-section, .categories-section { padding: 1.2rem; } .footer-content { grid-template-columns: 1fr; text-align: center; gap: 2rem; } .social-links { justify-content: center; } } @media (max-width: 480px) { .navbar { padding: 0.8rem 1rem; } .logo h1 { font-size: 1.4rem; } .menu-icon { font-size: 1.3rem; } .single-post h1 { font-size: 1.5rem; } .single-post .post-content { font-size: 1rem; line-height: 1.6; } .post-meta { flex-direction: column; gap: 0.5rem; align-items: flex-start; } .post-card { padding: 1rem; } .post-content h3 { font-size: 1rem; } .post-content p { font-size: 0.9rem; } .related-posts h3 { font-size: 1.3rem; } .footer-section h3 { font-size: 1.1rem; } .social-links a { padding: 0.4rem; } }  @media (max-width: 360px) { .navbar { padding: 0.6rem 0.8rem; } .logo h1 { font-size: 1.2rem; } .single-post { padding: 1rem; } .single-post h1 { font-size: 1.3rem; } .post-card { padding: 0.8rem; } .post-content h3 { font-size: 0.95rem; } .post-content p { font-size: 0.85rem; } }  @media (hover: none) { .post-card:hover { transform: none; } .nav-links a:hover, .categories-list a:hover, .footer-section a:hover { color: inherit; } .social-links a:hover { background: rgba(255,255,255,0.1); } }  @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { .logo h1, .single-post h1, .post-content h3 { font-weight: 600; margin-left: 2%; } }  @media (max-width: 768px) and (orientation: landscape) { .nav-links { max-height: 80vh; overflow-y: auto; } .single-post { padding: 1.2rem; } }  .single-post-container { grid-template-columns: 3fr 1fr; } .single-post { background: #fff; padding: 2rem; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); margin-bottom: 2rem; } .single-post h1 { color: #2c3e50; font-size: 2.2rem; margin-bottom: 1.5rem; line-height: 1.3; } .single-post .post-meta { margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid #eee; } .single-post .post-content { color: #444; line-height: 1.8; font-size: 1.1rem; } .single-post .post-content p { margin-bottom: 1.5rem; } .single-post-container p{ margin: 10px; } .single-post-container h2 { font-size: 20px; background: #455bdd; color: white; padding: 5px; border-radius: 10px; margin: 10px; } .single-post-container li { margin: 5px; } .single-post-container ol { margin: 10px; } .single-post-container ul { margin: 10px; }.sticky-ad { position: fixed; bottom: 20px; z-index: 9999; width: 160px; height: 600px; } .sticky-left { left: 10px; } .sticky-right { right: 10px; } .sticky-ad img { width: 100%; height: auto; display: block; border: 1px solid #ccc; box-shadow: 0 0 10px rgba(0,0,0,0.2); } @media (max-width: 768px) { .sticky-ad { display: none;  } }  .menu-btn {width: 30px;height: 20px;display: flex;flex-direction: column;justify-content: space-between;cursor: pointer;}.menu-btn span {height: 3px;background: #333;border-radius: 2px;transition: 0.3s;} header {max-width: 1166px; margin: auto;} .singlepost { margin: 10px; line-height: 1.7;}.singlepost li {margin-left: 14px;}.singlepost p { margin-top: 20px;margin-bottom: 20px;}