/*
Theme Name: BlocTech
Theme URI: https://sammarketingagency.com
Author: SAM Marketing Agency
Description: A clean, professional WordPress theme with automatic logo generation. Part of the SAM 10-Theme Pack.
Version: 1.0.0
License: GPL-2.0+
Text Domain: sam-bloctech
Tags: blog, news, casino, business, one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, sticky-post, threaded-comments, translation-ready
*/

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    background: #f2f3f8;
    color: #1e2340;
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
    line-height: 1.6;
}
a { text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── Container ── */
.site-container { max-width: 1200px; margin: 0 auto; padding: 24px 20px; display: grid; grid-template-columns: 1fr 270px; gap: 24px; }
@media (max-width: 900px) { .site-container { grid-template-columns: 1fr; } .sidebar { display: none; } }

/* ── Top Bar ── */
.site-topbar { background: #1e2340; color: #888; font-size: 11px; padding: 5px 20px; display: flex; gap: 18px; flex-wrap: wrap; font-family: 'Segoe UI', sans-serif; }
.site-topbar a { color: #aaa; }
.site-topbar .breaking { color: #3f51b5; font-weight: 700; }

/* ── Header ── */
.site-header { background: #fff; border-bottom: 3px solid #3f51b5; padding: 14px 20px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

/* ── AUTO LOGO ── */
.auto-logo-wrap { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.auto-logo-icon {
    width: 46px; height: 46px;
    background: linear-gradient(135deg, #3f51b5, #3f51b5cc);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 900; color: #fff;
    flex-shrink: 0;
    font-family: 'Segoe UI', sans-serif;
}
.auto-logo-text .site-name {
    font-size: 20px; font-weight: 800; line-height: 1;
    color: #1e2340; font-family: 'Segoe UI', Arial, sans-serif;
    letter-spacing: -.3px;
}
.auto-logo-text .site-tagline {
    font-size: 10px; color: #aaa; letter-spacing: 1.5px;
    text-transform: uppercase; margin-top: 3px;
    font-family: 'Segoe UI', sans-serif;
}
/* If WP custom logo is set, show it instead */
.custom-logo-link img { height: 52px; width: auto; }
.has-custom-logo .auto-logo-wrap { display: none; }

/* ── Nav ── */
.site-nav { background: #1e2340; }
.nav-inner { max-width: 1200px; margin: 0 auto; }
.nav-inner ul { list-style: none; display: flex; flex-wrap: wrap; align-items: center; padding: 0 20px; }
.nav-inner ul li a {
    display: block; padding: 11px 14px;
    color: #aaa; font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .5px;
    font-family: 'Segoe UI', sans-serif;
    transition: color .2s;
}
.nav-inner ul li a:hover,
.nav-inner ul li.current-menu-item a { color: #fff; }
.nav-inner ul li.menu-casino a,
.nav-inner ul li:last-of-type a {
    background: #3f51b5; color: #fff !important;
    margin: 5px 3px; padding: 6px 13px;
    border-radius: 3px;
}

/* ── Featured Post ── */
.featured-post { background: #fff; border-radius: 6px; overflow: hidden; margin-bottom: 20px; border: 1px solid #e8e8e8; }
.featured-post .post-thumb { height: 240px; width: 100%; object-fit: cover; background: linear-gradient(135deg, #1e2340, #636e72); }
.featured-post .post-body { padding: 20px; }
.post-cat {
    font-size: 10px; font-weight: 700; letter-spacing: .8px;
    text-transform: uppercase; display: inline-block;
    padding: 2px 9px; border-radius: 3px; margin-bottom: 8px;
    background: #3f51b5; color: #fff;
    font-family: 'Segoe UI', sans-serif;
}
.featured-post h2 { font-size: 22px; font-weight: 800; line-height: 1.3; margin-bottom: 8px; color: #1e2340; font-family: 'Segoe UI', Arial, sans-serif; }
.featured-post .post-meta { font-size: 12px; color: #aaa; margin-bottom: 10px; font-family: 'Segoe UI', sans-serif; }
.featured-post p { font-size: 14px; line-height: 1.8; color: #666; }

/* ── Post Grid ── */
.post-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.post-card { background: #fff; border-radius: 6px; overflow: hidden; border: 1px solid #eee; }
.post-card .post-thumb { height: 150px; width: 100%; object-fit: cover; background: linear-gradient(135deg, #1e2340aa, #636e72); }
.post-card .post-body { padding: 13px; }
.post-card h3 { font-size: 14px; font-weight: 700; line-height: 1.4; margin-bottom: 5px; color: #1e2340; font-family: 'Segoe UI', Arial, sans-serif; }
.post-card .post-meta { font-size: 11px; color: #bbb; font-family: 'Segoe UI', sans-serif; }

/* ── Sidebar ── */
.sidebar { }
.widget {
    background: #fff; border: 1px solid #eee;
    border-radius: 6px; padding: 18px; margin-bottom: 16px;
}
.widget-title {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.2px; padding-bottom: 9px; margin-bottom: 12px;
    border-bottom: 2px solid #3f51b5; color: #1e2340;
    font-family: 'Segoe UI', sans-serif;
}
/* Partners Widget */
.partners-widget li {
    list-style: none; padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    display: flex; align-items: center; gap: 8px;
    font-family: 'Segoe UI', sans-serif;
}
.partners-widget li::before {
    content: ''; display: block;
    width: 7px; height: 7px; border-radius: 50%;
    background: #3f51b5; flex-shrink: 0;
}
.partners-widget li a { font-size: 12px; font-weight: 600; color: #3f51b5; }

/* ── Footer ── */
.site-footer { background: #1e2340; color: #666; text-align: center; padding: 16px 20px; font-size: 12px; font-family: 'Segoe UI', sans-serif; letter-spacing: .3px; }
.site-footer a { color: #888; }

/* ── Pagination ── */
.pagination { display: flex; gap: 6px; justify-content: center; padding: 20px 0; }
.pagination a, .pagination span { padding: 6px 12px; border: 1px solid #e0e0e0; border-radius: 4px; font-size: 13px; color: #1e2340; font-family: 'Segoe UI', sans-serif; }
.pagination .current { background: #3f51b5; color: #fff; border-color: #3f51b5; }

/* ── Responsive ── */
@media (max-width: 700px) {
    .post-grid { grid-template-columns: 1fr; }
    .header-inner { flex-wrap: wrap; }
    .auto-logo-text .site-name { font-size: 18px; }
}
