/*
Theme Name: MacToolUpdate Ultimate
Theme URI: https://mactoolupdate.com/
Author: MacToolUpdate
Description: 2-Tier Header (GSM Style) and Fully Customizable Post Options.
Version: 5.0
*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

body { font-family: 'Poppins', sans-serif; background-color: #f4f7f6; color: #333; margin: 0; padding: 0; line-height: 1.7; }
a { text-decoration: none; color: #0d6efd; transition: all 0.2s ease; }
a:hover { color: #0a58ca; }
img { max-width: 100%; height: auto; display: block; border-radius: 8px; }
.container { max-width: 1350px; margin: 0 auto; padding: 0 20px; }

/* 2-Tier Header (GSM Tools Zone Style) */
.site-header { background: #ffffff; }
.header-top { padding: 25px 0; border-bottom: 1px solid #f1f1f1; }
.site-logo a { font-size: 34px; font-weight: 700; color: #111; text-transform: uppercase; letter-spacing: 0.5px; }
.site-logo img { max-height: 70px; width: auto; }

/* Menu Bottom Bar */
.header-bottom { background: #1a1e23; position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.main-navigation ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; }
.main-navigation li { margin: 0; }
.main-navigation a { display: block; padding: 15px 22px; color: #fff; font-weight: 500; font-size: 15px; text-transform: uppercase; letter-spacing: 0.5px; }
.main-navigation a:hover { background: #0d6efd; color: #fff; }

/* Main Layout */
.main-area { display: flex; flex-wrap: wrap; margin: 40px 0; gap: 40px; }
.content-area { flex: 1 1 72%; max-width: calc(100% - 370px); }
.sidebar-area { flex: 1 1 330px; max-width: 330px; }

@media(max-width: 992px) {
    .content-area, .sidebar-area { max-width: 100%; flex: 1 1 100%; }
    .site-logo { text-align: center; }
    .main-navigation ul { justify-content: center; }
}

/* Homepage Post Design (Single Column List) */
.post-list { display: flex; flex-direction: column; gap: 40px; }
.post-card { background: #ffffff; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); overflow: hidden; border: 1px solid #e9ecef; }
.post-card-thumb img { width: 100%; height: 400px; object-fit: cover; border-radius: 10px 10px 0 0; }
.post-card-body { padding: 35px; }
.post-card-title { font-size: 26px; margin: 0 0 15px; line-height: 1.4; font-weight: 700; }
.post-card-title a { color: #111; }
.post-card-title a:hover { color: #0d6efd; }
.post-card-meta { font-size: 14px; color: #777; margin-bottom: 20px; font-weight: 500; display: flex; gap: 15px; }
.post-card-excerpt { font-size: 16px; color: #555; margin-bottom: 25px; line-height: 1.8; }
.read-more-btn { display: inline-block; background: #0d6efd; color: #fff; padding: 12px 25px; border-radius: 6px; font-size: 15px; font-weight: 600; text-transform: uppercase; }
.read-more-btn:hover { background: #0b5ed7; color: #fff; }

/* Single Post */
.single-post-box { background: #ffffff; padding: 40px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.04); border: 1px solid #e9ecef; }
.single-title { font-size: 36px; line-height: 1.3; margin: 0 0 20px; color: #111; font-weight: 700; }
.single-meta { font-size: 15px; color: #666; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid #eaeaea; display: flex; gap: 15px; flex-wrap: wrap; }
.single-meta span { background: #f8f9fa; padding: 8px 15px; border-radius: 6px; font-weight: 500; border: 1px solid #eee; }
.single-thumbnail { margin-bottom: 30px; }
.single-thumbnail img { width: 100%; border-radius: 10px; }
.single-content { font-size: 18px; line-height: 1.9; color: #333; }
.single-content h2, .single-content h3 { color: #111; margin-top: 40px; margin-bottom: 20px; font-weight: 700; }

/* Sidebar */
.widget { background: #ffffff; padding: 30px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.04); margin-bottom: 35px; border: 1px solid #e9ecef; }
.widget-title { font-size: 18px; font-weight: 700; margin: 0 0 20px; padding-bottom: 15px; border-bottom: 3px solid #0d6efd; color: #111; text-transform: uppercase; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: 12px 0; border-bottom: 1px solid #f1f1f1; }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: #555; font-size: 15px; font-weight: 500; }
.widget ul li a:hover { color: #0d6efd; padding-left: 5px; }

/* Footer */
.site-footer { background: #1a1e23; color: #adb5bd; padding: 40px 0; text-align: center; }
.site-footer p { margin: 0; font-size: 15px; }
