/*
Theme Name: FileToolLab Theme
Theme URI: https://filetoollab.com/
Author: MacToolUpdate
Description: Modern theme designed for FileToolLab with horizontal thumb layout and customizer options.
Version: 1.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; }

/* Header Setup */
.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; }

.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; }
    .post-card { flex-direction: column !important; }
    .post-card-thumb { width: 100% !important; max-height: 250px; }
}

/* Post Cards */
.post-list { display: flex; flex-direction: column; gap: 30px; }
.post-card { background: #ffffff; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); overflow: hidden; border: 1px solid #e9ecef; display: flex; flex-direction: row; }
.post-card-thumb { width: 280px; flex-shrink: 0; background: #000; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.post-card-body { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.post-card-title { font-size: 24px; margin: 0 0 12px; 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: 15px; font-weight: 500; display: flex; gap: 15px; }
.post-card-excerpt { font-size: 15px; color: #555; margin-bottom: 20px; line-height: 1.7; }

/* Download Button */
.download-btn-wrap { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.read-more-btn { display: inline-flex; align-items: center; gap: 8px; background: #0d6efd; color: #fff; padding: 10px 22px; border-radius: 6px; font-size: 14px; 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; max-width: 350px; float: left; margin-right: 25px; margin-bottom: 15px; }
.single-thumbnail img { width: 100%; border-radius: 8px; }
.single-content { font-size: 17px; line-height: 1.8; color: #333; clear: both; }
.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; }
