.dropdown-menu { display: block; } .dropdown-menu li { padding: 0.75rem 1rem; white-space: nowrap; } .dropdown-menu li:hover { background-color: #f7fafc; color: #1e293b; } .main-content { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; padding: 2rem 0; } .post-list .post { margin-bottom: 2rem; } .post-title { font-size: 2rem; margin-bottom: 0.5rem; } .post-meta { color: #6b7280; font-size: 0.875rem; margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; } .post-meta span::after { content: "•"; margin-left: 0.5rem; } .post-meta span:last-child::after { content: ""; } .featured-image { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 0.5rem; margin-bottom: 1rem; } .post-content { line-height: 1.7; color: #4b5563; } .post-content h2 { font-size: 1.5rem; margin: 2rem 0 1rem; } .post-content h3 { font-size: 1.25rem; margin: 1.5rem 0 0.75rem; } .post-content ul, .post-content ol { margin-left: 2rem; margin-bottom: 1rem; } .post-content li { margin-bottom: 0.5rem; } .related-posts { margin-top: 4rem; } .related-posts-title { font-size: 1.25rem; font-weight: 500; margin-bottom: 1rem; color: #334155; border-bottom: 2px solid #e5e7eb; padding-bottom: 0.5rem; } .related-posts-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; } .related-posts-item { margin-bottom: 1rem; } .related-posts-item img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 0.5rem; margin-bottom: 0.5rem; } .related-posts-item h3 { font-size: 1rem; font-weight: 500; color: #1e293b; line-height: 1.5; margin-bottom: 0.25rem; } .related-posts-item a { color: #3b82f6; } .related-posts-item a:hover { color: #2563eb; } .sidebar-widget { margin-bottom: 2rem; } .sidebar-widget-title { font-size: 1.25rem; font-weight: 500; margin-bottom: 1rem; color: #334155; border-bottom: 2px solid #e5e7eb; padding-bottom: 0.5rem; } .sidebar-about { text-align: center; } .sidebar-about img { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 1rem; } .sidebar-about p { color: #4b5563; } .sidebar-search { display: flex; } .sidebar-search input { flex: 1; padding: 0.75rem; border: 1px solid #e5e7eb; border-radius: 0.375rem 0 0 0.375rem; outline: none; font-size: 1rem; } .sidebar-search button { background-color: #3b82f6; color: white; padding: 0.75rem 1rem; border-radius: 0 0.375rem 0.375rem 0; border: none; cursor: pointer; transition: background-color 0.3s ease; } .sidebar-search button:hover { background-color: #2563eb; } .sidebar-labels { display: flex; flex-wrap: wrap; gap: 0.5rem; } .sidebar-labels a { background-color: #f3f4f6; color: #4b5563; padding: 0.375rem 0.75rem; border-radius: 1rem; transition: background-color 0.3s ease; font-size: 0.875rem; } .sidebar-labels a:hover { background-color: #d1d5db; } .sidebar-popular-posts li { margin-bottom: 1rem; } .sidebar-popular-posts li:last-child { margin-bottom: 0; } .sidebar-popular-posts a { color: #4b5563; font-weight: 500; } .sidebar-popular-posts a:hover { color: #3b82f6; } .sidebar-popular-posts .post-date { color: #6b7280; font-size: 0.75rem; } .footer { background-color: #f9fafb; padding: 2rem 0; margin-top: 4rem; } .footer-inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; flex-wrap: wrap; } .footer-social { display: flex; margin-bottom: 1rem; } .footer-social a { width: 2rem; height: 2rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; margin-right: 0.5rem; transition: background-color 0.3s ease; } .footer-social svg { width: 1.25rem; height: 1.25rem; color: white; } .footer-social .facebook { background-color: #1877f2; } .footer-social .facebook:hover { background-color: #105cb5; } .footer-social .twitter { background-color: #1da1f2; } .footer-social .twitter:hover { background-color: #0d8ed9; } .footer-social .instagram { background-color: #e1306c; } .footer-social .instagram:hover { background-color: #c12255; } .footer-social .linkedin { background-color: #0077b5; } .footer-social .linkedin:hover { background-color: #004d80; } .footer-copyright { color: #6b7280; margin-bottom: 1rem; font-size: 0.875rem; } .footer-nav { display: flex; list-style: none; margin: 0; padding: 0; } .footer-nav li { margin-right: 1rem; } .footer-nav li:last-child { margin-right: 0; } .footer-nav a { color: #6b7280; transition: color 0.3s ease; } .footer-nav a:hover { color: #334155; } /* Mobile menu styles */ .mobile-menu-button { display: none; /* Hide by default, show on small screens */ background: none; border: none; color: #4b5563; font-size: 1.5rem; cursor: pointer; padding: 0.5rem; } .mobile-menu { display: none; position: fixed; top: 0; right: 0; height: 100%; width: 250px; background-color: white; box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1); z-index: 1002; padding: 1rem; overflow-y: auto; } .mobile-menu.active { display: block; } .mobile-menu-header { display: flex; justify-content: flex-end; margin-bottom: 1rem; } .mobile-menu-close-button { background: none; border: none; color: #4b5563; font-size: 1.5rem; cursor: pointer; padding: 0.5rem; } .mobile-menu-nav { list-style: none; margin: 0; padding: 0; } .mobile-menu-nav li { margin-bottom: 1rem; } .mobile-menu-nav a { display: block; color: #4b5563; font-weight: 500; padding: 0.75rem 0; border-bottom: 1px solid #e5e7eb; } .mobile-menu-nav a:hover { color: #3b82f6; } .mobile-menu-dropdown-menu { display: none; margin-left: 1rem; margin-top: 0.5rem; } .mobile-menu-dropdown-menu.active { display: block; } .mobile-menu-dropdown-menu li { margin-bottom: 0.5rem; } .mobile-menu-dropdown-toggle { display: flex; justify-content: space-between; align-items: center; } /* Responsive adjustments */ @media (max-width: 768px) { .nav { display: none; } .mobile-menu-button { display: block; /* Show on small screens */ } .main-content { grid-template-columns: 1fr; } .sidebar { margin-top: 2rem; } .related-posts-grid { grid-template-columns: 1fr; /* Stack on small screens */ } .footer-inner { flex-direction: column; text-align: center; } .footer-social { margin-bottom: 1rem; } .footer-nav { flex-direction: column; align-items: center; } .footer-nav li { margin-right: 0; margin-bottom: 0.5rem; } } ]]> <data:blog.pageTitle/>