/*
Theme Name: Shotscribus
Theme URI: https://shotscribuss.blog/
Author: Shotscribus Team
Author URI: https://shotscribuss.blog/
Description: A clean, fast, SEO-friendly blogging theme built for Shotscribuss.blog — covering software guides, tutorials, downloads, upgrades, security and more.
Version: 1.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: shotscribus
Tags: blog, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* ===== Reset & Base ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #24272b;
  background: #f7f8fa;
  line-height: 1.7;
}

a { color: #1a56db; text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
.site-header {
  background: #101418;
  color: #fff;
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.site-branding a {
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.site-description {
  font-size: 12px;
  color: #9aa4b2;
  margin-top: 2px;
}
.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.main-navigation a {
  color: #e5e7eb;
  font-weight: 600;
  font-size: 15px;
}
.main-navigation a:hover { color: #4d9bff; text-decoration: none; }

/* ===== Layout ===== */
.site-content {
  padding: 40px 0;
}
.content-area {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}
@media (max-width: 782px) {
  .content-area { grid-template-columns: 1fr; }
}

/* ===== Posts / Pages ===== */
article.hentry, .page-content-wrap {
  background: #fff;
  border-radius: 10px;
  padding: 28px 30px;
  margin-bottom: 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.entry-title { font-size: 28px; margin-bottom: 10px; font-weight: 800; }
.entry-title a { color: #101418; }
.entry-meta { font-size: 13px; color: #6b7280; margin-bottom: 16px; }
.entry-content h2 { margin: 26px 0 12px; font-size: 22px; }
.entry-content h3 { margin: 20px 0 10px; font-size: 18px; }
.entry-content p { margin-bottom: 14px; }
.entry-content ul, .entry-content ol { margin: 0 0 14px 22px; }

.read-more-btn {
  display: inline-block;
  background: #1a56db;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  margin-top: 6px;
}
.read-more-btn:hover { background: #123f9e; text-decoration: none; color: #fff; }

/* ===== Sidebar ===== */
.widget-area .widget {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 22px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.widget-title { font-size: 16px; font-weight: 800; margin-bottom: 12px; border-bottom: 2px solid #1a56db; padding-bottom: 8px; }
.widget ul { list-style: none; }
.widget ul li { padding: 6px 0; border-bottom: 1px dashed #e5e7eb; font-size: 14px; }

/* ===== Home hero ===== */
.hero {
  background: linear-gradient(135deg,#101418,#1a2230);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.hero h1 { font-size: 34px; font-weight: 800; margin-bottom: 14px; }
.hero p { max-width: 700px; margin: 0 auto; color: #c6cdd6; font-size: 16px; }

/* ===== Footer ===== */
.site-footer {
  background: #101418;
  color: #cbd2db;
  padding: 40px 0 20px;
  margin-top: 40px;
  font-size: 14px;
}
.footer-widgets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 24px;
}
@media (max-width: 782px) { .footer-widgets { grid-template-columns: 1fr; } }
.footer-widgets h3 { color: #fff; font-size: 15px; margin-bottom: 10px; }
.site-info { text-align: center; border-top: 1px solid #232a33; padding-top: 16px; color: #8b94a3; }

.pagination { margin-top: 10px; }
.pagination a, .pagination span {
  display: inline-block; padding: 6px 12px; margin-right: 6px;
  background: #fff; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
