/*
Theme Name: SEO Hub Light
Theme URI: https://seo.aiprofi.online
Author: SEO Hub
Description: Clean light editorial theme for AI SEO content.
Version: 2.0.0
Text Domain: seohub-light
*/

:root {
  --bg: #f3f6fb;
  --bg-soft: #edf2fa;
  --card: #ffffff;
  --text: #13233d;
  --muted: #5f738f;
  --line: #dbe5f2;
  --brand: #1f73ff;
  --brand-2: #42a5ff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 40, 80, 0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 80% -40%, rgba(62, 134, 255, 0.10), transparent 70%),
    radial-gradient(900px 500px at 0% -20%, rgba(78, 170, 255, 0.12), transparent 70%),
    var(--bg);
  min-height: 100vh;
  line-height: 1.6;
}

a { color: #1968f3; text-decoration: none; }
a:hover { color: #0d54d6; }

.container {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid #ffffff;
  box-shadow: 0 3px 16px rgba(20, 50, 95, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 800;
  color: #0f2444;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: contain;
  display: inline-block;
}

.main-nav ul {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  color: #35557f;
  font-weight: 700;
  font-size: 14px;
  border-radius: 10px;
  padding: 8px 12px;
}

.main-nav a:hover,
.main-nav .current-menu-item a {
  color: #0d2d57;
  background: #eff5ff;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}

.hero {
  margin-top: 26px;
  margin-bottom: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #ffffff, #f7fbff);
  box-shadow: var(--shadow);
  padding: 28px;
}

.hero h1 {
  margin: 0 0 10px;
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.12;
  color: #0f2b55;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  max-width: 860px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  margin-bottom: 28px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.post-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
}

.post-card__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #dce8fa;
}

.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__body { padding: 16px 16px 18px; }

.post-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.2;
  color: #12305c;
}

.post-card__meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 11px;
}

.post-card__excerpt {
  margin: 0;
  color: #345174;
  font-size: 16px;
}

.sidebar-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 18px;
  margin-bottom: 16px;
}

.sidebar-card h3 {
  margin: 0 0 11px;
  font-size: 19px;
  color: #153760;
}

.sidebar-card ul { margin: 0; padding-left: 18px; }

.entry {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 28px;
}

.entry h1 {
  margin-top: 0;
  margin-bottom: 14px;
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: clamp(28px, 4.4vw, 40px);
  line-height: 1.15;
  color: #10315d;
}

.entry .entry-meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.entry p,
.entry li {
  color: #203f66;
  font-size: 17px;
}

.entry h2,
.entry h3,
.entry h4 { color: #133b6d; }
.entry img { max-width: 100%; height: auto; border-radius: 12px; }

.pagination {
  margin: 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pagination .page-numbers {
  min-width: 39px;
  height: 39px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: #1f3d66;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pagination .current {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(140deg, var(--brand), var(--brand-2));
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 30px;
  color: #58708f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
}

.footer-title {
  color: #153760;
  font-weight: 800;
  margin-bottom: 8px;
}

@media (max-width: 1000px) {
  .layout { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .site-header__inner { min-height: auto; padding: 12px 0; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; }
}
