/*
Theme Name: Aaplesarkarinfo Theme
Theme URI: https://example.com/aaplesarkarinfo-theme
Author: Sachin / Crav
Author URI: https://example.com
Description: Simple Marathi blogging theme for Aaplesarkarinfo – government certificates, schemes and job information.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: aaplesarkarinfo
*/

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Noto Sans Devanagari', 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f5f7fb;
  color: #222;
}

a {
  color: #2457d3;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e0e3ef;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  font-weight: 700;
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-logo span.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2457d3, #5a7cf0);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}

.site-logo span.logo-text-small {
  display: block;
  font-size: 11px;
  font-weight: 500;
}

.main-nav {
  display: flex;
  gap: 16px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 24px;
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 56px;
    right: 0;
    background: #ffffff;
    padding: 12px 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    border-radius: 8px 0 0 8px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

.site-main {
  max-width: 1100px;
  margin: 24px auto 40px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr);
  gap: 24px;
}

.full-width {
  grid-column: 1 / -1;
}

@media (max-width: 960px) {
  .site-main {
    display: block;
  }
}

.card {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px 18px 20px 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
  border: 1px solid #e3e6f3;
}

.card + .card {
  margin-top: 16px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.hero-title {
  font-size: 26px;
  margin: 0 0 8px 0;
}

.hero-subtitle {
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 16px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.hero-badge {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
}

.search-box {
  margin-top: 8px;
}

.search-form {
  display: flex;
  gap: 8px;
  background: #f1f4ff;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid #dde3ff;
}

.search-form input[type="search"] {
  border: none;
  flex: 1;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 14px;
  background: transparent;
}

.search-form input[type="search"]:focus {
  outline: none;
}

.search-form button {
  border-radius: 999px;
  border: none;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #2457d3, #4f46e5);
  color: #ffffff;
}

.mascot-card {
  text-align: center;
  background: radial-gradient(circle at top left, #eef2ff, #ffffff);
}

.mascot-figure {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 10px auto;
  border: 3px solid #d4ddff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  background: linear-gradient(145deg, #22c55e, #a3e635);
}

.mascot-title {
  font-size: 15px;
  margin-bottom: 4px;
}

.mascot-text {
  font-size: 13px;
  color: #4b5563;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.section-title {
  font-size: 17px;
  font-weight: 600;
}

.section-link {
  font-size: 13px;
}

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

@media (max-width: 768px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .post-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.post-card {
  padding: 12px 12px 14px 12px;
  border-radius: 12px;
  border: 1px solid #e4e6f3;
  background: #ffffff;
}

.post-category {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6366f1;
  margin-bottom: 4px;
}

.post-title {
  font-size: 14px;
  margin: 0 0 4px 0;
  font-weight: 600;
}

.post-meta {
  font-size: 11px;
  color: #6b7280;
}

.sidebar .card {
  margin-bottom: 18px;
}

.sidebar-title {
  font-size: 15px;
  margin: 0 0 6px 0;
}

.list-unstyled {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-unstyled li + li {
  margin-top: 4px;
}

.newsletter-form input[type="email"] {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #d4d7e8;
  margin-bottom: 8px;
  font-size: 13px;
}

.newsletter-form button {
  width: 100%;
  border-radius: 8px;
  border: none;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: #22c55e;
  color: #ffffff;
}

.breadcrumb {
  font-size: 12px;
  margin-bottom: 4px;
  color: #6b7280;
}

.entry-header h1 {
  font-size: 22px;
  margin: 0 0 6px 0;
}

.entry-meta {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 12px;
}

.entry-content {
  font-size: 15px;
  line-height: 1.7;
}

.entry-content h2 {
  font-size: 18px;
  margin-top: 18px;
}

.entry-content h3 {
  font-size: 16px;
  margin-top: 16px;
}

.notice-box {
  border-radius: 10px;
  padding: 10px 12px;
  background: #fefce8;
  border: 1px solid #facc15;
  font-size: 13px;
  margin: 12px 0;
}

.toc-box {
  border-radius: 10px;
  padding: 10px 12px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  font-size: 13px;
  margin-bottom: 14px;
}

.mascot-tip-box {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-radius: 12px;
  padding: 10px 12px;
  background: #ecfdf3;
  border: 1px dashed #4ade80;
  font-size: 13px;
  margin: 16px 0 14px 0;
}

.mascot-mini {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #22c55e, #a3e635);
  font-size: 20px;
}

.mascot-tip-text strong {
  display: block;
  margin-bottom: 2px;
}

.pagination {
  margin-top: 16px;
  font-size: 13px;
}

.site-footer {
  background: #0f172a;
  color: #e5e7eb;
  margin-top: 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 16px 18px 16px;
  font-size: 13px;
}

.footer-top {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.footer-links a {
  color: #cbd5f5;
  margin-right: 12px;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: #9ca3af;
}
