/* ========== Global Reset & Box Sizing ========== */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } /* ========== Base Styles ========== */ body { font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 16px; line-height: 1.6; background: #fff; color: var(--body-font-color); overflow-x: hidden; } a { color: var(--link-color); text-decoration: none; } button, .button { background: var(--primary-color); color: var(--button-text-color); } img { max-width: 100%; height: auto; display: block; } .text-center { text-align: center; } /* ========== Typography ========== */ h1 { font-size: 1.75rem; } h2 { font-size: 1.5rem; } h3 { font-size: 1.25rem; } @media (min-width: 768px) { h1 { font-size: 2.5rem; } h2 { font-size: 2.125rem; } h3 { font-size: 1.75rem; } } @media (min-width: 992px) { h1 { font-size: 3rem; } } /* ========== Header ========== */ .site-header { background: #fff; border-bottom: 1px solid #eee; padding: 1rem 0; position: sticky; top: 0; z-index: 999; } .site-header .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; padding: 0 8rem; } .site-branding { display: flex; flex-direction: column; } .site-branding .site-title { font-size: 1.75rem; font-weight: 700; color: #222; } .site-branding .site-title:hover { color: #0073e6; } .site-branding .site-description { font-size: 0.9rem; color: #666; margin-top: 0.3rem; } ul{ padding-left:1.2rem; } ul.wp-block-list{ padding-left:1.2rem; } /* ========== Navigation ========== */ .main-navigation .menu { display: flex; gap: 1.5rem; list-style: none; padding: 0; margin: 0; flex-direction: row; } .main-navigation li { position: relative; } .main-navigation li ul { position: absolute; top: 100%; left: 0; background: #fff; min-width: 200px; display: none; box-shadow: 0 2px 8px rgba(0,0,0,0.1); z-index: 999; list-style: none; } .main-navigation li:hover > ul, .main-navigation li.open > ul { display: block; } .main-navigation li ul li { padding: 10px; border-bottom: 1px solid #eee; } .main-navigation li ul li a { display: block; white-space: nowrap; } .menu-toggle, .menu-close { display: none; background: none; border: none; font-size: 2rem; color: #000; cursor: pointer; } .menu-wrapper { display: flex; } /* Dropdown indicator */ .main-navigation .menu > .menu-item-has-children > a::after { content: "▾"; margin-left: 6px; font-size: 1rem; } @media (max-width: 768px) { .menu-toggle { display: block; margin-left: auto; } .menu-close { display: block; font-size: 1.2rem; margin-bottom: 1rem; align-self: flex-start; } .menu-wrapper { position: fixed; top: 0; right: -100%; width: 80%; height: 100%; background: #fff; flex-direction: column; align-items: flex-start; padding: 1.2rem; gap: 1.2rem; transition: right 0.3s ease; box-shadow: -4px 0 8px rgba(0, 0, 0, 0.2); z-index: 1000; } .menu-wrapper.active { right: 0; } .main-navigation .menu { flex-direction: column; width: 100%; } .main-navigation li ul { position: static; display: none; box-shadow: none; } .main-navigation li.open > ul { display: block; } .main-navigation li a { width: 100%; } } /* ========== Layout Containers ========== */ .container, .container-sidebar { width: 100%; margin: 0 auto; padding: 0 8rem; } .full-width, .full-width-sidebar{ width: 100%; margin: 0 auto; padding: 0 2rem; } .content-wrapper { display: flex; gap: 2rem; padding: 2rem 0; } .main-content { flex: 1 1 70%; } .widget-area { flex: 1 1 30%; padding: 0 2rem; } @media (max-width: 768px) { .container, .container-sidebar { padding: 0 2rem; } .content-wrapper, .with-sidebar { flex-direction: column; } .main-content, .widget-area { flex: 1 1 100%; max-width: 100%; } } /* ========== Footer Widgets ========== */ .site-footer{ background: #f5f5f5 !important; } .site-info { text-align: center; border-top:1px solid #333 ; padding: 2rem; } .footer-widgets { display: grid; gap: 2rem; margin: 2rem 0; padding: 1rem 0; } .footer-widgets.columns-1 { grid-template-columns: 1fr; } .footer-widgets.columns-2 { grid-template-columns: repeat(2, 1fr); } .footer-widgets.columns-3 { grid-template-columns: repeat(3, 1fr); } .footer-widgets.columns-4 { grid-template-columns: repeat(4, 1fr); } .footer-widget-area { background: transparent; padding: 1rem; border-radius: 6px; } @media (max-width: 1024px) { .footer-widgets.columns-4, .footer-widgets.columns-3 { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 768px) { .footer-widgets.columns-4, .footer-widgets.columns-3, .footer-widgets.columns-2 { grid-template-columns: 1fr; } } /* ========== Article ========== */ article { background: #fff; padding: 2rem; border: 1px solid #eaeaea; border-radius: 6px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03); margin-bottom: 2rem; } .entry-header { margin-bottom: 1.5rem; } .entry-title { font-size: 2rem; margin-bottom: 0.5rem; } .entry-meta { font-size: 0.875rem; color: #666; display: flex; gap: 1rem; flex-wrap: wrap; } .entry-content { line-height: 1.7; color: #333; margin-top: 1rem; } .post-thumbnail img { border-radius: 6px; margin: 1rem 0; } /* ========== Author Box ========== */ .author-box { display: flex; gap: 1rem; align-items: center; background: #f1f1f1; padding: 1.5rem; border-radius: 6px; margin-top: 2rem; } .author-box img { border-radius: 50%; } .author-box h3 { margin-bottom: 0.5rem; } .author-info p { margin: 0; } /* ========== Post Navigation ========== */ .post-navigation .nav-links { margin-top: 2rem; display: flex; justify-content: space-between; font-weight: bold; } .post-navigation a { color: #0073aa; text-decoration: none; } .post-navigation a:hover { text-decoration: underline; } @media (max-width: 768px) { .post-navigation .nav-links { flex-direction: column; gap: 1rem; } } /* ========== Tags & Edit Link ========== */ .tags-links { margin-top: 1rem; font-size: 0.9rem; } .edit-link { display: inline-block; margin-top: 1rem; font-size: 0.85rem; } /* ========== Comments ========== */ .comments-area { margin-top: 3rem; background: #fafafa; padding: 2rem; border: 1px solid #eee; border-radius: 8px; } .comments-title, .comment-reply-title { font-size: 1.5rem; margin-bottom: 1.5rem; font-weight: bold; color: #333; } .comment-list { list-style: none; padding: 0; } .comment { padding: 1rem 0; border-bottom: 1px solid #eaeaea; } .comment:last-child { border-bottom: none; } .comment-author { display: flex; align-items: center; gap: 1rem; font-weight: bold; } .comment-author img { border-radius: 50%; width: 48px; height: 48px; } .comment-meta { font-size: 0.85rem; color: #888; } .comment-content { margin-top: 0.5rem; color: #333; line-height: 1.6; } .comment-reply-link { display: inline-block; margin-top: 0.5rem; font-size: 0.85rem; color: #0073aa; text-decoration: none; } .comment-reply-link:hover { text-decoration: underline; } .comment ul.children { margin-left: 2rem; border-left: 2px solid #eee; padding-left: 1rem; } @media (max-width: 600px) { .comment-author { flex-direction: column; align-items: flex-start; } .comment-author img { width: 40px; height: 40px; } } /* ========== Comment Form ========== */ .comment-respond { margin-top: 3rem; } .comment-form label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: #444; } .comment-form input, .comment-form textarea { width: 100%; padding: 0.75rem; margin-bottom: 1.25rem; border: 1px solid #ccc; border-radius: 6px; font-size: 1rem; } .comment-form textarea { resize: vertical; min-height: 150px; } .comment-form input[type="submit"] { background: #0073aa; color: #fff; border: none; cursor: pointer; font-weight: bold; transition: background 0.3s ease; } .comment-form input[type="submit"]:hover { background: #005f8d; } /* ========== Post Grid ========== */ .post-grid { display: grid; gap: 2rem; } .post-card { background: #fff; border: 1px solid #eaeaea; padding: 1rem; border-radius: 8px; display: flex; flex-direction: column; transition: box-shadow 0.3s ease; } .post-card:hover { box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); } .post-thumb img { width: 100%; height: auto; border-radius: 6px; margin-bottom: 1rem; } .post-title { font-size: 1.25rem; margin-bottom: 0.5rem; } .post-title a { color: #333; text-decoration: none; } .post-meta { font-size: 0.85rem; color: #777; margin-bottom: 1rem; display: flex; gap: 0.5rem; flex-wrap: wrap; } .post-excerpt { color: #444; margin-bottom: 1rem; } .read-more { color: #0073aa; font-weight: bold; text-decoration: underline; align-self: flex-start; } .read-more:hover { color: #005177; } .pagination { margin-top: 3rem; text-align: center; } /* ========== Misc ========== */ .section-title { margin-bottom: 2rem; border-bottom: 2px solid #ddd; } .archive-title { font-size: 2rem; font-weight: 700; color: #222; } .wp-block-group .wp-block-archives, .wp-block-categories-list.wp-block-categories { padding: 0 1.2rem; } .wp-caption { max-width: 100%; text-align: center; margin: 1em 0; } .wp-caption img { border: 0; padding: 0; margin: 0; } .wp-caption-text { font-size: 0.9em; color: #666; } .sticky { border-left: 3px solid #0073aa; padding-left: 1em; } .gallery-caption { font-style: italic; font-size: 0.85em; text-align: center; } .bypostauthor { background-color: #f9f9f9; } .alignright { float: right; margin-left: 1em; } .alignleft { float: left; margin-right: 1em; } .aligncenter { display: block; margin-left: auto; margin-right: auto; }