/*
Theme Name: Navruz Öğretmen
Theme URI: https://navruzogretmen.com
Author: Navruz Öğretmen
Author URI: https://navruzogretmen.com
Description: Öğretmenlere özel ücretsiz eğitim materyalleri, ders planları ve okul belgeleri için tasarlanmış modern, AdSense uyumlu ve tamamen responsive WordPress teması.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: navruz-ogretmen
Tags: education, downloads, responsive, custom-menu, featured-images, adsense
*/

/* ===========================
   CSS CUSTOM PROPERTIES
=========================== */
:root {
  --navy:         #1E3A5F;
  --navy-dark:    #152B47;
  --navy-light:   #2D6A9F;
  --gold:         #F0A500;
  --gold-light:   #FFB830;
  --gold-dark:    #D4920A;
  --bg:           #F8FAFC;
  --bg-card:      #FFFFFF;
  --text-dark:    #1A1A2E;
  --text-mid:     #374151;
  --text-light:   #6B7280;
  --success:      #10B981;
  --success-dark: #059669;
  --border:       #E5E7EB;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08);
  --shadow-md:    0 4px 16px rgba(30,58,95,.12);
  --shadow-lg:    0 8px 32px rgba(30,58,95,.18);
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --transition:   all .25s cubic-bezier(.4,0,.2,1);
  --container:    1200px;
}

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 15px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { font-family: inherit; }
input, textarea, select { font-family: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Screen reader text */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* ===========================
   TYPOGRAPHY
=========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(22px, 4vw, 36px); }
h2 { font-size: clamp(18px, 2.5vw, 28px); }
h3 { font-size: clamp(15px, 2vw, 20px); }
h4 { font-size: 17px; }

p { margin-bottom: 1em; line-height: 1.7; }
p:last-child { margin-bottom: 0; }

/* ===========================
   LAYOUT HELPERS
=========================== */
.section { padding: 60px 0; }
.section-alt { background: #fff; }
.section-sm { padding: 40px 0; }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 16px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 6px;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-title { color: var(--navy); }
.section-title span { color: var(--gold-dark); }

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { background: var(--navy-light); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-download {
  background: var(--success);
  color: #fff;
  width: 100%;
  padding: 12px 18px;
  font-size: 14px;
}
.btn-download:hover { background: var(--success-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(16,185,129,.3); }

.btn-download-lg {
  background: linear-gradient(135deg, var(--success), var(--success-dark));
  color: #fff;
  padding: 16px 36px;
  font-size: 17px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(16,185,129,.35);
}
.btn-download-lg:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(16,185,129,.45); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--navy-light);
  border: 1.5px solid var(--navy-light);
}
.btn-outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover { background: var(--gold-light); color: var(--navy); }

.btn-see-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy-light);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border: 1.5px solid var(--navy-light);
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-see-all:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ===========================
   NOTICE BAR
=========================== */
.notice-bar {
  background: var(--gold);
  color: var(--navy);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.notice-bar a { color: var(--navy); font-weight: 700; text-decoration: underline; }

/* ===========================
   STICKY HEADER
=========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text strong {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
}
.logo-text span {
  font-size: 10px;
  color: rgba(255,255,255,.55);
  font-weight: 500;
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* Primary Nav */
.primary-nav { flex: 1; display: flex; justify-content: center; }
.primary-nav ul { display: flex; gap: 2px; }
.primary-nav a {
  color: rgba(255,255,255,.8);
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 7px;
  transition: var(--transition);
  white-space: nowrap;
}
.primary-nav a:hover,
.primary-nav a.current-menu-item { background: rgba(255,255,255,.12); color: #fff; }

/* Header Search */
.header-search {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  overflow: hidden;
  width: 230px;
  transition: var(--transition);
}
.header-search:focus-within {
  background: rgba(255,255,255,.18);
  border-color: var(--gold);
  width: 270px;
}
.header-search input {
  background: none;
  border: none;
  color: #fff;
  font-size: 13px;
  padding: 8px 12px;
  width: 100%;
  outline: none;
}
.header-search input::placeholder { color: rgba(255,255,255,.45); }
.header-search button {
  background: var(--gold);
  border: none;
  color: var(--navy);
  padding: 9px 14px;
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
  flex-shrink: 0;
  font-family: inherit;
}
.header-search button:hover { background: var(--gold-light); }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

/* Mobile Menu */
.mobile-menu-wrap {
  display: none;
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 12px 0;
}
.mobile-menu-wrap.is-open { display: block; }
.mobile-menu-wrap ul { display: flex; flex-direction: column; }
.mobile-menu-wrap a {
  color: rgba(255,255,255,.8);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  display: block;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: var(--transition);
}
.mobile-menu-wrap a:hover { background: rgba(255,255,255,.07); color: #fff; padding-left: 28px; }

/* Mobile search */
.mobile-search {
  padding: 12px 20px;
  display: flex;
  gap: 8px;
}
.mobile-search input {
  flex: 1;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 7px;
  color: #fff;
  padding: 9px 14px;
  font-size: 13px;
  outline: none;
}
.mobile-search input::placeholder { color: rgba(255,255,255,.4); }
.mobile-search button {
  background: var(--gold);
  border: none;
  border-radius: 7px;
  color: var(--navy);
  padding: 9px 16px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 700;
}

/* ===========================
   BREADCRUMB
=========================== */
.breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-light);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--navy-light); transition: var(--transition); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb .sep { color: #CBD5E1; }

/* ===========================
   HERO SECTION
=========================== */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  padding: 64px 0 52px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(240,165,0,.07) 0%, transparent 50%),
    radial-gradient(circle at 85% 20%, rgba(45,106,159,.25) 0%, transparent 50%);
  pointer-events: none;
}

.hero-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-shapes span {
  position: absolute;
  border-radius: 50%;
  opacity: .05;
  background: var(--gold);
  animation: floatShape 7s ease-in-out infinite;
}
.hero-shapes span:nth-child(1) { width:220px;height:220px;top:-60px;right:8%;animation-delay:0s; }
.hero-shapes span:nth-child(2) { width:120px;height:120px;bottom:10px;left:4%;animation-delay:2.5s; }
.hero-shapes span:nth-child(3) { width:70px;height:70px;top:35%;right:22%;animation-delay:4.5s; }

@keyframes floatShape {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-22px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(240,165,0,.15);
  border: 1px solid rgba(240,165,0,.3);
  color: var(--gold-light);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.hero h1 {
  color: #fff;
  font-size: clamp(26px, 4.5vw, 46px);
  margin-bottom: 16px;
  line-height: 1.15;
}
.hero h1 span { color: var(--gold); }

.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,.72);
  margin-bottom: 36px;
  line-height: 1.75;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.hero-search {
  display: flex;
  max-width: 600px;
  margin: 0 auto 36px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,.3);
}
.hero-search input {
  flex: 1;
  border: none;
  padding: 17px 22px;
  font-size: 15px;
  color: var(--text-dark);
  outline: none;
}
.hero-search input::placeholder { color: var(--text-light); }
.hero-search button {
  background: var(--gold);
  border: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  padding: 0 30px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Nunito', sans-serif;
  white-space: nowrap;
}
.hero-search button:hover { background: var(--gold-light); }

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.8);
  font-size: 14px;
}
.stat-item .num {
  font-family: 'Nunito', sans-serif;
  font-size: 21px;
  font-weight: 900;
  color: var(--gold);
}
.stat-divider { width: 1px; height: 28px; background: rgba(255,255,255,.18); }

/* ===========================
   CATEGORY CARDS
=========================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cat-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}
.cat-card:hover {
  border-color: var(--navy-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.cat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  transition: var(--transition);
}
.cat-card:hover .cat-icon { transform: scale(1.08); }
.ci-1 { background: #EEF2FF; }
.ci-2 { background: #FFF7ED; }
.ci-3 { background: #F0FDF4; }
.ci-4 { background: #FFF1F2; }
.ci-5 { background: #F0F9FF; }
.ci-6 { background: #FDF4FF; }
.ci-7 { background: #FFFBEB; }
.ci-8 { background: #F0FDFA; }

.cat-name {
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.cat-count { font-size: 12px; color: var(--text-light); }

/* Tags band */
.tags-band {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.tags-band-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
}
.tag-pill {
  background: #EEF2FF;
  color: #3730A3;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 13px;
  border-radius: 50px;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}
.tag-pill:hover { background: var(--navy); color: #fff; }

/* ===========================
   AD BANNER
=========================== */
.ad-zone {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.ad-label {
  font-size: 10px;
  color: #B0B8C4;
  text-align: center;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}
.ad-placeholder {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8FAFC;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
  color: #B0B8C4;
  font-size: 12px;
}

/* ===========================
   WHY US
=========================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--navy-light));
  transform: scaleX(0);
  transition: var(--transition);
}
.why-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.why-card:hover::after { transform: scaleX(1); }

.why-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  box-shadow: 0 4px 18px rgba(30,58,95,.22);
}
.why-title {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--navy);
}
.why-desc { font-size: 14px; color: var(--text-light); line-height: 1.7; margin: 0; }

/* ===========================
   CONTENT CARDS
=========================== */
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.content-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.content-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(30,58,95,.15);
}

.card-thumb {
  position: relative;
  height: 158px;
  background: linear-gradient(135deg, #EEF2FF, #DBEAFE);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.content-card:hover .card-thumb img { transform: scale(1.04); }
.card-thumb-placeholder { font-size: 52px; opacity: .2; }
.card-cat-badge {
  position: absolute;
  top: 11px;
  left: 11px;
  background: var(--navy);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.card-new-badge {
  position: absolute;
  top: 11px;
  right: 11px;
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
}

.card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-excerpt {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 14px;
}
.card-meta span { display: flex; align-items: center; gap: 4px; }

/* ===========================
   FEATURED (Koyu) SECTION
=========================== */
.featured-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.featured-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 60%, rgba(240,165,0,.07), transparent 60%);
  pointer-events: none;
}
.featured-section .section-label { color: rgba(240,165,0,.9); }
.featured-section .section-label::before { background: var(--gold); }
.featured-section .section-title { color: #fff; }
.featured-section .section-title span { color: var(--gold); }
.featured-section .btn-see-all { color: var(--gold-light); border-color: rgba(240,165,0,.5); }
.featured-section .btn-see-all:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.feat-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition);
  text-decoration: none;
}
.feat-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(240,165,0,.35);
  transform: translateX(4px);
}
.feat-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.feat-card-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feat-card-meta {
  font-size: 11.5px;
  color: rgba(255,255,255,.45);
  display: flex;
  align-items: center;
  gap: 10px;
}
.feat-card-dl {
  margin-left: auto;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  font-family: 'Nunito', sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.feat-card-dl:hover { background: var(--gold-light); color: var(--navy); }

/* ===========================
   TRUST BAR
=========================== */
.trust-bar {
  background: #fff;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text-mid);
  font-weight: 500;
}
.trust-item .ti { font-size: 20px; }
.trust-item strong { color: var(--navy); }
.trust-sep { width: 1px; height: 26px; background: var(--border); }

/* ===========================
   SINGLE POST / DOWNLOAD PAGE
=========================== */
.single-wrapper {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  align-items: start;
  padding: 36px 0 60px;
}

/* Download box (sidebar) */
.download-box {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: 80px;
}
.download-box-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 20px 24px;
  text-align: center;
}
.download-box-header h3 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 4px;
}
.download-box-header p {
  color: rgba(255,255,255,.65);
  font-size: 12.5px;
  margin: 0;
}
.download-box-body { padding: 24px; }

.download-box .btn-download-lg {
  width: 100%;
  text-align: center;
  display: flex;
  margin-bottom: 14px;
}

.download-info-list { list-style: none; padding: 0; margin: 0; }
.download-info-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-mid);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}
.download-info-list li:last-child { border-bottom: none; }
.download-info-list .dil { font-size: 14px; }
.download-info-list strong { color: var(--text-dark); }

.share-buttons {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.share-buttons p {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 10px;
}
.share-btns {
  display: flex;
  gap: 8px;
}
.share-btn {
  flex: 1;
  padding: 8px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: 'Nunito', sans-serif;
}
.share-btn.fb { background: #EEF2FF; color: #3730A3; }
.share-btn.fb:hover { background: #3730A3; color: #fff; }
.share-btn.tw { background: #F0F9FF; color: #0369A1; }
.share-btn.tw:hover { background: #0369A1; color: #fff; }
.share-btn.wa { background: #F0FDF4; color: #15803D; }
.share-btn.wa:hover { background: #15803D; color: #fff; }

/* Single Left Column */
.single-left {}

.post-header {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-bottom: 24px;
}
.post-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #EEF2FF;
  color: #3730A3;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.post-category-badge:hover { background: var(--navy); color: #fff; }

.post-title {
  font-size: clamp(20px, 3vw, 30px);
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
}
.post-meta-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-light);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.post-meta-bar span { display: flex; align-items: center; gap: 5px; }

/* Featured image */
.post-featured-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  border: 1.5px solid var(--border);
}
.post-featured-image img { width: 100%; height: auto; }

/* Post content */
.post-content {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 32px;
  margin-bottom: 24px;
  line-height: 1.8;
}
.post-content h2,
.post-content h3,
.post-content h4 { margin-top: 1.5em; margin-bottom: .6em; }
.post-content ul, .post-content ol { padding-left: 20px; margin-bottom: 1em; }
.post-content li { margin-bottom: .4em; }
.post-content strong { color: var(--navy); }
.post-content a { color: var(--navy-light); text-decoration: underline; }
.post-content a:hover { color: var(--navy); }

/* In-content ad */
.in-content-ad {
  margin: 24px 0;
}

/* Tags */
.post-tags {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.post-tags-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.post-tags a {
  background: #F3F4F6;
  color: var(--text-mid);
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  transition: var(--transition);
}
.post-tags a:hover { background: var(--navy); color: #fff; }

/* Related posts */
.related-posts { margin-bottom: 30px; }
.related-posts-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.related-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
  display: flex;
  gap: 12px;
  padding: 14px;
  align-items: center;
}
.related-card:hover { border-color: var(--navy-light); box-shadow: var(--shadow-sm); }
.related-card img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.related-card-thumb-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: linear-gradient(135deg, #EEF2FF, #DBEAFE);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.related-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===========================
   COMMENTS
=========================== */
.comments-area {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 32px;
}
.comments-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
}
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--border); }
.comment-author { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.comment-avatar img { width: 38px; height: 38px; border-radius: 50%; }
.comment-author-name { font-weight: 700; font-size: 14px; color: var(--navy); }
.comment-date { font-size: 12px; color: var(--text-light); }
.comment-text { font-size: 14px; color: var(--text-mid); line-height: 1.6; }
.comment-text p { margin-bottom: .5em; }

/* Comment form */
.comment-respond { margin-top: 28px; }
.comment-reply-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 18px;
}
.comment-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.comment-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 5px;
}
.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-dark);
  background: var(--bg);
  transition: var(--transition);
  outline: none;
}
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--navy-light);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(45,106,159,.1);
}
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form .full { grid-column: 1 / -1; }
.comment-submit {
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}
.comment-submit:hover { background: var(--navy-light); transform: translateY(-1px); }

/* ===========================
   SIDEBAR WIDGETS
=========================== */
.sidebar-widget {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
}
.widget-title {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 18px;
  margin: 0;
}
.widget-body { padding: 16px 18px; }

.widget-popular-list { list-style: none; padding: 0; margin: 0; }
.widget-popular-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
.widget-popular-item:last-child { border-bottom: none; padding-bottom: 0; }
.widget-popular-item:hover .wp-title { color: var(--navy-light); }
.wp-thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: linear-gradient(135deg, #EEF2FF, #DBEAFE);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  overflow: hidden;
}
.wp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wp-info {}
.wp-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 2px;
  transition: var(--transition);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wp-meta { font-size: 11.5px; color: var(--text-light); }

/* ===========================
   ARCHIVE / CATEGORY PAGE
=========================== */
.archive-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 40px 0;
}
.archive-header h1 { color: #fff; margin-bottom: 8px; }
.archive-header p { color: rgba(255,255,255,.7); margin: 0; font-size: 15px; }

.archive-content { padding: 40px 0 60px; }
.archive-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
  align-items: start;
}
.archive-main {}
.archive-sidebar {}

/* Pagination */
.pagination-wrap { margin-top: 36px; display: flex; justify-content: center; }
.pagination {
  display: flex;
  gap: 6px;
  align-items: center;
}
.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text-mid);
  transition: var(--transition);
  text-decoration: none;
}
.page-numbers:hover,
.page-numbers.current {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* ===========================
   SEARCH PAGE
=========================== */
.search-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.search-form-lg {
  display: flex;
  max-width: 600px;
  gap: 10px;
}
.search-form-lg input {
  flex: 1;
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 15px;
  outline: none;
  transition: var(--transition);
}
.search-form-lg input:focus { border-color: var(--navy-light); }
.search-form-lg button {
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Nunito', sans-serif;
}
.search-form-lg button:hover { background: var(--navy-light); }
.search-results-count { font-size: 14px; color: var(--text-light); margin-top: 12px; }
.search-results-count strong { color: var(--navy); }

/* ===========================
   404 PAGE
=========================== */
.error-404-page {
  text-align: center;
  padding: 80px 20px;
}
.error-404-icon { font-size: 80px; margin-bottom: 20px; }
.error-404-title { font-size: 36px; color: var(--navy); margin-bottom: 12px; }
.error-404-desc { font-size: 16px; color: var(--text-light); margin-bottom: 28px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ===========================
   LOAD MORE
=========================== */
.load-more-wrap { text-align: center; margin-top: 36px; }
.btn-load-more {
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--navy);
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-load-more:hover { background: var(--navy); color: #fff; }

/* ===========================
   FOOTER
=========================== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.7);
}

.footer-top {
  padding: 52px 0 36px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  text-decoration: none;
}
.footer-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gold);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.footer-logo strong {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}
.footer-desc {
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: var(--transition);
  text-decoration: none;
}
.social-btn:hover { background: var(--gold); border-color: var(--gold); }

.footer-col-title {
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-links li { margin-bottom: 9px; }
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before { content: '›'; color: var(--gold); font-size: 15px; }
.footer-links a:hover { color: var(--gold-light); padding-left: 3px; }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 12.5px; color: rgba(255,255,255,.35); }
.footer-policy { display: flex; gap: 18px; }
.footer-policy a {
  font-size: 12.5px;
  color: rgba(255,255,255,.35);
  transition: var(--transition);
}
.footer-policy a:hover { color: var(--gold-light); }

/* ===========================
   SCROLL TO TOP
=========================== */
#scroll-top {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  z-index: 999;
  border: none;
  opacity: 0;
  pointer-events: none;
}
#scroll-top.visible { opacity: 1; pointer-events: auto; }
#scroll-top:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }

/* ===========================
   WORDPRESS SPECIFIC
=========================== */
.alignleft { float: left; margin: 0 20px 10px 0; }
.alignright { float: right; margin: 0 0 10px 20px; }
.aligncenter { margin: 0 auto 10px; display: block; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--text-light); text-align: center; margin-top: 5px; }
.sticky { /* WordPress sticky posts */ }
.gallery { /* WordPress gallery */ }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .single-wrapper { grid-template-columns: 1fr; }
  .download-box { position: static; }
  .archive-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .primary-nav { display: none; }
  .header-search { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 44px 0 36px; }
  .hero-stats { gap: 14px; }
  .stat-divider { display: none; }
  .hero-search { flex-direction: column; }
  .hero-search button { padding: 14px; border-radius: 0; }

  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .content-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .trust-inner { gap: 18px; }
  .trust-sep { display: none; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .post-header { padding: 20px; }
  .post-content { padding: 20px; }
  .comments-area { padding: 20px; }
  .comment-form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .categories-grid { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .featured-grid { grid-template-columns: 1fr; }
}

/* Homepage Accordion Menu */
.homepage-accordion-menu {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 30px;
}
.acc-menu-list {
  list-style: none;
  margin: 0; padding: 0;
}
.acc-menu-list > li {
  border-bottom: 1px solid var(--border);
}
.acc-menu-list > li:last-child {
  border-bottom: none;
}
.acc-menu-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.acc-menu-list > li > a:hover {
  background: rgba(0,0,0,0.02);
}
.acc-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.04);
  font-size: 10px;
  color: var(--text-light);
  transition: transform 0.3s ease;
}
.acc-menu-list li.active > a .acc-toggle-btn {
  transform: rotate(180deg);
}

/* Submenus */
.acc-menu-list .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #f8fafc;
  display: none;
  border-top: 1px solid var(--border);
}
.acc-menu-list li.active > .sub-menu {
  display: block;
}
.acc-menu-list .sub-menu a {
  padding: 12px 20px 12px 40px;
  font-weight: 500;
  font-size: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  color: var(--text-light);
}
.acc-menu-list .sub-menu a:hover {
  color: var(--navy);
  padding-left: 45px;
}
.acc-menu-list .sub-menu .sub-menu a {
  padding-left: 60px;
}
.acc-menu-list .sub-menu .sub-menu a:hover {
  padding-left: 65px;
}

