/*
Theme Name: MacToolUpdate Pro
Theme URI: https://mactoolupdate.com/
Author: MacToolUpdate
Description: A premium, fast-loading tech and tools blog theme mimicking standard GSM tool websites.
Version: 2.0
*/
body { font-family: 'Roboto', sans-serif; background-color: #f0f2f5; color: #333; margin: 0; padding: 0; }
a { text-decoration: none; color: #007bff; transition: 0.2s; }
a:hover { color: #0056b3; }
img { max-width: 100%; height: auto; display: block; border-radius: 4px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid #e1e1e1; }
.header-top { padding: 30px 0; text-align: center; } /* Logo Area */
.header-top .site-logo a { font-size: 36px; font-weight: 700; color: #222; text-transform: uppercase; letter-spacing: 1px; }
.header-nav-area { background: #111; }
.main-navigation ul { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; flex-wrap: wrap; }
.main-navigation li { margin: 0; }
.main-navigation a { display: block; padding: 15px 25px; color: #fff; font-weight: 500; text-transform: uppercase; font-size: 14px; }
.main-navigation a:hover { background: #007bff; color: #fff; }

/* Main Area */
.main-area { display: flex; flex-wrap: wrap; margin-top: 40px; gap: 30px; margin-bottom: 40px; }
.content-area { flex: 1 1 70%; max-width: calc(100% - 330px); }
.sidebar-area { flex: 1 1 300px; max-width: 300px; }

@media(max-width: 768px) {
    .content-area, .sidebar-area { max-width: 100%; flex: 1 1 100%; }
}

/* Post Grid */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; }
.post-card { background: #fff; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.08); overflow: hidden; border: 1px solid #e9ecef; transition: 0.3s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 6px 12px rgba(0,0,0,0.12); }
.post-card img { width: 100%; height: 200px; object-fit: cover; }
.post-card-body { padding: 20px; }
.post-card-title { font-size: 18px; margin: 0 0 10px; line-height: 1.4; font-weight: 600; }
.post-card-title a { color: #222; }
.post-card-title a:hover { color: #007bff; }
.post-card-meta { font-size: 12px; color: #777; margin-bottom: 12px; }
.post-card-excerpt { font-size: 14px; color: #555; margin-bottom: 18px; line-height: 1.6; }
.read-more-btn { display: inline-block; background: #007bff; color: #fff; padding: 8px 18px; border-radius: 4px; font-size: 13px; font-weight: 500; text-transform: uppercase; }
.read-more-btn:hover { background: #0056b3; color: #fff; }

/* Single Post */
.single-post-box { background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.08); border: 1px solid #e9ecef; }
.single-title { font-size: 32px; line-height: 1.3; margin: 0 0 15px; color: #222; }
.single-meta { font-size: 14px; color: #777; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.single-content { font-size: 16px; line-height: 1.8; color: #333; }
.single-content h2, .single-content h3 { color: #222; margin-top: 30px; margin-bottom: 15px; }
.single-content ul { margin-left: 20px; margin-bottom: 20px; }

/* Sidebar Widgets */
.widget { background: #fff; padding: 25px; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.08); margin-bottom: 25px; border: 1px solid #e9ecef; }
.widget-title { font-size: 16px; font-weight: 700; margin: 0 0 15px; padding-bottom: 10px; border-bottom: 2px solid #007bff; text-transform: uppercase; color: #222; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: 10px 0; border-bottom: 1px dashed #ddd; }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: #444; font-size: 15px; }
.widget ul li a:hover { color: #007bff; padding-left: 5px; }

/* Footer */
.site-footer { background: #111; color: #ccc; padding: 30px 0; text-align: center; border-top: 4px solid #007bff; }
.site-footer p { margin: 0; font-size: 14px; }
