/* ===========================================================
   BARKATE RAZA — ULTRA-PREMIUM THEME CSS
   Version: 2.0 | Optimized + Complete
   
   Sections:
   01. Google Fonts + CSS Variables
   02. Base & Reset
   03. Body & Background
   04. Header (Sticky + Premium)
   05. Navigation Menu
   06. Post Cards (Archive/Home)
   07. Single Post
   08. Featured Image
   09. Entry Title & Meta
   10. Buttons
   11. Lyrics Sections (Roman, Hindi, Urdu, Arabic, Bangla)
   12. Info Table (Naat Details)
   13. Sidebar & Widgets
   14. Footer
   15. Pagination
   16. Related Posts
   17. Search Form
   18. Comments
   19. Responsive / Mobile
   20. Animations & Utilities
   =========================================================== */

/* ──────────────────────────────────────────────────────────
   01. CSS VARIABLES
   NOTE: Fonts are loaded via functions.php wp_enqueue_style
   (NOT @import — @import causes render-blocking chain!)
   ────────────────────────────────────────────────────────── */

:root {
  /* Brand Colors */
  --green-light:   #20d29b;
  --green-main:    #10a87a;
  --green-dark:    #077b58;
  --green-darker:  #055740;
  --gold:          #f0b429;
  --gold-light:    #fcd34d;
  --gold-dark:     #d97706;

  /* Backgrounds */
  --bg-page:       #f0f5f2;
  --bg-gradient:   linear-gradient(155deg, #f0f7f4 0%, #e8f5ee 50%, #f0f5f2 100%);
  --card-bg:       rgba(255,255,255,0.98);
  --card-border:   rgba(255,255,255,0.9);

  /* Text */
  --text-main:     #374151;
  --text-muted:    #6b7280;
  --text-heading:  #0f172a;
  --text-white:    #ffffff;

  /* Header gradient */
  --header-grad:   linear-gradient(135deg, #10a87a 0%, #077b58 60%, #055740 100%);

  /* Typography */
  --font-main:     'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-urdu:     'Noto Nastaliq Urdu', serif;
  --font-hindi:    'Noto Sans Devanagari', sans-serif;
  --font-arabic:   'Noto Naskh Arabic', serif;
  --font-bengali:  'Noto Sans Bengali', sans-serif;

  /* Spacing */
  --radius:        16px;
  --radius-sm:     8px;
  --radius-lg:     24px;
  --radius-full:   9999px;

  /* Shadows */
  --shadow-xs:     0 1px 3px rgba(0,0,0,0.06);
  --shadow-sm:     0 4px 12px rgba(0,0,0,0.07);
  --shadow-md:     0 8px 24px rgba(16,168,122,0.10);
  --shadow-lg:     0 20px 48px rgba(16,168,122,0.14);
  --shadow-card:   0 2px 8px rgba(0,0,0,0.06), 0 0 0 1px rgba(255,255,255,0.8);

  /* Transitions */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast:        0.18s;
  --t-normal:      0.30s;
  --t-slow:        0.45s;
}

/* ──────────────────────────────────────────────────────────
   02. BASE & RESET
   ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

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

/* ──────────────────────────────────────────────────────────
   03. BODY & BACKGROUND
   ────────────────────────────────────────────────────────── */
body {
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#page {
  background: transparent;
}

/* Decorative background blobs — subtle, fixed */
body::before {
  content: '';
  position: fixed;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(32,210,155,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ──────────────────────────────────────────────────────────
   04. HEADER — Sticky Premium
   ────────────────────────────────────────────────────────── */
.site-header {
  background: var(--header-grad) !important;
  position: sticky !important;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 24px rgba(7,123,88,0.25);
  /* GPU acceleration for sticky */
  transform: translateZ(0);
  will-change: transform;
  /* Fixed height prevents CLS */
  min-height: 72px;
}

.inside-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 32px;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 72px;
}

/* Site Title */
.main-title {
  margin: 0;
  line-height: 1.2;
}

.main-title a {
  color: #ffffff !important;
  font-weight: 800;
  font-size: clamp(20px, 3vw, 30px);
  letter-spacing: -0.5px;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(0,0,0,0.15);
  transition: opacity var(--t-fast) ease;
}

.main-title a:hover {
  opacity: 0.9;
  color: #ffffff !important;
}

.site-description {
  color: rgba(255,255,255,0.80) !important;
  font-size: 13px;
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* Logo */
.site-logo img,
.header-image.is-logo-image {
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(1.05);
}

/* ──────────────────────────────────────────────────────────
   05. NAVIGATION MENU
   ────────────────────────────────────────────────────────── */
.main-navigation {
  background: rgba(5, 87, 64, 0.97) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px -4px rgba(7,123,88,0.35);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.inside-navigation {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  min-height: 50px;
}

/* Nav links */
.main-navigation .main-nav > ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 2px;
}

.main-navigation .main-nav ul li a {
  color: rgba(255,255,255,0.90) !important;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  padding: 0 16px;
  line-height: 50px;
  display: block;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background var(--t-fast) ease, color var(--t-fast) ease;
  position: relative;
}

/* Active underline indicator */
.main-navigation .main-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--gold-light);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--t-normal) var(--ease-out);
}

.main-navigation .main-nav ul li:hover > a::after,
.main-navigation .main-nav ul li.current-menu-item > a::after {
  transform: scaleX(1);
}

.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li.current-menu-ancestor > a {
  color: #ffffff !important;
  background: rgba(255,255,255,0.12) !important;
}

/* Dropdown */
.main-navigation ul ul {
  background: var(--green-darker) !important;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
}

.main-navigation ul ul li a {
  line-height: 1 !important;
  padding: 12px 20px !important;
  font-size: 13px;
}

/* Mobile toggle button */
.menu-toggle {
  background: rgba(255,255,255,0.12) !important;
  border: 1.5px solid rgba(255,255,255,0.35) !important;
  border-radius: var(--radius-sm) !important;
  color: #ffffff !important;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--t-fast) ease, border-color var(--t-fast) ease;
  font-family: var(--font-main);
}

.menu-toggle:hover {
  background: rgba(255,255,255,0.22) !important;
  border-color: var(--gold-light) !important;
}

/* ──────────────────────────────────────────────────────────
   06. POST CARDS (Archive / Home Loop)
   ────────────────────────────────────────────────────────── */
.site-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 32px 56px;
}

/* Individual article wrapper */
article.type-post,
.post {
  background: transparent;
  margin-bottom: 32px;
}

.inside-article {
  background: var(--card-bg) !important;
  border-radius: var(--radius) !important;
  padding: 36px !important;
  box-shadow: var(--shadow-card) !important;
  border: 1px solid var(--card-border) !important;
  transition: transform var(--t-slow) var(--ease-out),
              box-shadow var(--t-slow) var(--ease-out);
  position: relative;
  overflow: hidden;
}

/* Green shimmer line on top of card */
.inside-article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-light), var(--green-main), var(--gold));
  opacity: 0;
  transition: opacity var(--t-normal) ease;
}

.inside-article:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg) !important;
}

.inside-article:hover::before {
  opacity: 1;
}

/* ──────────────────────────────────────────────────────────
   07. SINGLE POST
   ────────────────────────────────────────────────────────── */
.single .inside-article {
  padding: 44px !important;
}

.single .inside-article:hover {
  transform: none;
  box-shadow: var(--shadow-card) !important;
}

/* ──────────────────────────────────────────────────────────
   08. FEATURED IMAGE
   ────────────────────────────────────────────────────────── */
.post-image,
.featured-image {
  margin: -36px -36px 32px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.single .post-image,
.single .featured-image {
  margin: -44px -44px 36px;
}

.post-image img,
.featured-image img,
.post-image a img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow) var(--ease-out);
}

.post-image:hover img {
  transform: scale(1.04);
}

/* ──────────────────────────────────────────────────────────
   09. ENTRY TITLE & META
   ────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  color: var(--text-heading);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
  margin-bottom: 16px;
  margin-top: 0;
}

.entry-title {
  font-size: clamp(22px, 4vw, 34px) !important;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-heading) !important;
  line-height: 1.3;
}

/* Animated underline on title */
.entry-title a {
  color: var(--text-heading) !important;
  text-decoration: none;
  background-image: linear-gradient(var(--green-main), var(--green-main));
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size var(--t-normal) var(--ease-out),
              color var(--t-normal) ease;
}

.entry-title a:hover {
  color: var(--green-dark) !important;
  background-size: 100% 2px;
}

/* Post meta */
.entry-meta,
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
}

.entry-meta a,
.post-meta a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--t-fast) ease;
}

.entry-meta a:hover,
.post-meta a:hover {
  color: var(--green-main);
}

/* Category badge in meta */
.entry-meta .entry-categories a {
  background: linear-gradient(135deg, var(--green-light), var(--green-main));
  color: #fff;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: capitalize;
  letter-spacing: 0.3px;
  font-size: 11px;
  font-weight: 700;
}

/* Entry content */
.entry-content {
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.85;
}

.entry-content p:last-child { margin-bottom: 0; }

.entry-content a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--t-fast) ease;
}

.entry-content a:hover { color: var(--green-main); }

/* ──────────────────────────────────────────────────────────
   10. BUTTONS
   ────────────────────────────────────────────────────────── */
.read-more,
.button,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
  background: linear-gradient(135deg, var(--green-light) 0%, var(--green-main) 60%, var(--green-dark) 100%) !important;
  color: #ffffff !important;
  padding: 12px 28px !important;
  border-radius: var(--radius-full) !important;
  border: none !important;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-main);
  letter-spacing: 0.3px;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: transform var(--t-normal) var(--ease-out),
              box-shadow var(--t-normal) ease,
              opacity var(--t-fast) ease;
  box-shadow: 0 4px 16px rgba(16,168,122,0.35);
  position: relative;
  overflow: hidden;
}

/* Shine effect */
.read-more::after,
.button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.read-more:hover::after,
.button:hover::after {
  left: 150%;
}

.read-more:hover,
.button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 28px rgba(16,168,122,0.45) !important;
  color: #fff !important;
  opacity: 1;
}

.read-more:active,
.button:active {
  transform: translateY(-1px) !important;
}

/* ──────────────────────────────────────────────────────────
   11. LYRICS SECTIONS — Premium Multilingual Typography
   ────────────────────────────────────────────────────────── */

/* Master lyrics container */
.lyrics-box {
  background: linear-gradient(135deg, #f8fffe 0%, #f0faf6 100%);
  border: 1px solid rgba(16,168,122,0.15);
  border-left: 4px solid var(--green-main);
  border-radius: var(--radius);
  padding: 32px 36px;
  margin: 28px 0;
  position: relative;
  box-shadow: 0 2px 12px rgba(16,168,122,0.07);
}

.lyrics-box::before {
  content: '☽';
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 52px;
  color: var(--green-main);
  opacity: 0.04;
  pointer-events: none;
  line-height: 1;
}

.lyrics-box__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(16,168,122,0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.lyrics-box__badge {
  background: linear-gradient(135deg, var(--green-main), var(--green-dark));
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

/* Roman / English */
.roman-lyrics {
  font-family: var(--font-main);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 2.0;
  color: var(--text-main);
  direction: ltr;
  text-align: left;
}

/* Hindi / Devanagari */
.hindi-lyrics {
  font-family: var(--font-hindi);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 2.2;
  color: var(--text-heading);
  direction: ltr;
  text-align: left;
}

/* Urdu / Nastaliq — RTL */
.urdu-lyrics {
  font-family: var(--font-urdu);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 2.6;
  color: var(--text-heading);
  direction: rtl;
  text-align: right;
  word-spacing: 0.08em;
}

/* Arabic */
.arabic-lyrics {
  font-family: var(--font-arabic);
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 2.4;
  color: var(--text-heading);
  direction: rtl;
  text-align: right;
}

/* Bangla */
.bangla-lyrics {
  font-family: var(--font-bengali);
  font-size: clamp(16px, 2vw, 22px);
  line-height: 2.2;
  color: var(--text-main);
  direction: ltr;
}

/* Translation box */
.translation-box {
  background: linear-gradient(135deg, #fffbeb 0%, #fef9ee 100%);
  border: 1px solid rgba(240,180,41,0.25);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 20px 0;
  box-shadow: 0 2px 10px rgba(240,180,41,0.07);
}

.translation-box__label {
  font-size: 11px;
  font-weight: 800;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: block;
}

/* Chorus / Mukhda highlight */
.chorus-line,
.mukhda {
  background: linear-gradient(90deg, rgba(16,168,122,0.08) 0%, transparent 100%);
  border-left: 3px solid var(--green-light);
  padding: 4px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 700;
  margin: 4px 0;
  color: var(--green-dark);
}

/* ──────────────────────────────────────────────────────────
   12. INFO TABLE — Naat Details
   ────────────────────────────────────────────────────────── */
.info-table,
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 28px 0;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(16,168,122,0.12);
}

table caption,
.info-table caption {
  font-weight: 700;
  font-size: 18px;
  color: var(--green-dark);
  text-align: left;
  padding: 0 0 14px;
  caption-side: top;
}

table th,
table td,
.info-table th,
.info-table td {
  padding: 14px 20px;
  text-align: left;
  border: none;
  border-bottom: 1px solid rgba(16,168,122,0.09);
  line-height: 1.5;
}

table tr:last-child th,
table tr:last-child td {
  border-bottom: none;
}

table th,
.info-table th {
  background: linear-gradient(135deg, var(--green-main) 0%, var(--green-dark) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  width: 38%;
}

table td,
.info-table td {
  background: var(--card-bg);
  color: var(--text-main);
  font-weight: 500;
}

table tr:nth-child(even) td {
  background: rgba(16,168,122,0.03);
}

table tr:hover td {
  background: rgba(16,168,122,0.06);
  transition: background 0.2s ease;
}

/* ──────────────────────────────────────────────────────────
   13. SIDEBAR & WIDGETS
   ────────────────────────────────────────────────────────── */
.sidebar {
  min-width: 0;
}

.sidebar .widget {
  background: var(--card-bg) !important;
  border-radius: var(--radius) !important;
  padding: 28px !important;
  margin-bottom: 28px !important;
  box-shadow: var(--shadow-card) !important;
  border: 1px solid rgba(255,255,255,0.9) !important;
  transition: box-shadow var(--t-normal) ease;
}

.sidebar .widget:hover {
  box-shadow: var(--shadow-md) !important;
}

.sidebar .widget-title,
.widget-title {
  font-size: 16px !important;
  font-weight: 700;
  color: var(--text-heading) !important;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--green-main) !important;
  background: linear-gradient(90deg, rgba(16,168,122,0.07) 0%, rgba(16,168,122,0.02) 100%);
  margin-bottom: 20px !important;
  margin-top: 0;
  letter-spacing: -0.01em;
}

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

.sidebar ul li {
  padding: 12px 0;
  border-bottom: 1px dashed rgba(0,0,0,0.07);
  transition: transform var(--t-fast) ease;
}

.sidebar ul li:last-child { border-bottom: none; }

.sidebar ul li a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--t-fast) ease;
}

/* Arrow indicator */
.sidebar ul li a::before {
  content: '›';
  color: var(--green-main);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  transition: transform var(--t-fast) ease;
  flex-shrink: 0;
}

.sidebar ul li:hover {
  transform: translateX(4px);
}

.sidebar ul li:hover a {
  color: var(--green-dark);
}

.sidebar ul li:hover a::before {
  transform: translateX(3px);
}

/* Post count badges in sidebar */
.sidebar ul li .post-count {
  margin-left: auto;
  background: rgba(16,168,122,0.1);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Search widget */
.sidebar .widget_search .search-form {
  display: flex;
  gap: 8px;
}

.sidebar .widget_search input[type="search"] {
  flex: 1;
  border: 1.5px solid rgba(16,168,122,0.25);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-main);
  font-size: 14px;
  outline: none;
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
  background: #fff;
  color: var(--text-main);
}

.sidebar .widget_search input[type="search"]:focus {
  border-color: var(--green-main);
  box-shadow: 0 0 0 3px rgba(16,168,122,0.12);
}

.sidebar .widget_search input[type="submit"] {
  padding: 10px 18px !important;
  border-radius: var(--radius-sm) !important;
  font-size: 13px !important;
}

/* ──────────────────────────────────────────────────────────
   14. FOOTER
   ────────────────────────────────────────────────────────── */
.site-footer {
  background: linear-gradient(135deg, #0a3d28 0%, #055740 50%, #077b58 100%);
  color: rgba(255,255,255,0.85);
  margin-top: 48px;
}

.footer-widgets-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 52px 32px 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
}

.site-footer .widget-title {
  color: #fff !important;
  background: rgba(255,255,255,0.08) !important;
  border-left-color: var(--gold) !important;
  font-size: 15px !important;
}

.site-footer .widget ul li {
  border-bottom-color: rgba(255,255,255,0.08);
}

.site-footer .widget ul li a {
  color: rgba(255,255,255,0.80);
}

.site-footer .widget ul li a::before {
  color: var(--gold-light);
}

.site-footer .widget ul li a:hover {
  color: #fff;
}

/* Site info bar */
.site-info {
  text-align: center;
  padding: 18px 32px;
  font-size: 13px;
  color: rgba(255,255,255,0.60);
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 1280px;
  margin: 0 auto;
}

.site-info a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color var(--t-fast) ease;
}

.site-info a:hover { color: #fff; }

/* ──────────────────────────────────────────────────────────
   15. PAGINATION
   ────────────────────────────────────────────────────────── */
.pagination,
.nav-links,
.posts-navigation,
.paging-navigation {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 40px 0;
}

.page-numbers,
.nav-links a,
.nav-links span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1.5px solid rgba(16,168,122,0.20);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: var(--card-bg);
  transition: all var(--t-fast) ease;
  box-shadow: var(--shadow-xs);
}

.page-numbers.current {
  background: linear-gradient(135deg, var(--green-main), var(--green-dark));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 12px rgba(16,168,122,0.35);
}

.page-numbers:hover:not(.current),
.nav-links a:hover {
  background: var(--green-main);
  border-color: var(--green-main);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16,168,122,0.30);
}

/* ──────────────────────────────────────────────────────────
   16. RELATED POSTS
   ────────────────────────────────────────────────────────── */
.related-posts {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 2px solid rgba(0,0,0,0.07);
}

.related-posts__title {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.related-posts__title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(16,168,122,0.3), transparent);
  border-radius: 2px;
}

.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.related-post-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255,255,255,0.9);
  transition: transform var(--t-slow) var(--ease-out),
              box-shadow var(--t-slow) ease;
}

.related-post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.related-post-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  aspect-ratio: 16/9;
  transition: transform var(--t-slow) var(--ease-out);
}

.related-post-card:hover img { transform: scale(1.06); }

.related-post-card__body {
  padding: 18px 20px;
}

.related-post-card__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
  color: var(--text-heading);
}

.related-post-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast) ease;
}

.related-post-card__title a:hover { color: var(--green-dark); }

/* ──────────────────────────────────────────────────────────
   17. SEARCH FORM
   ────────────────────────────────────────────────────────── */
.search-form {
  display: flex;
  gap: 8px;
}

input[type="search"],
input[type="text"] {
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-family: var(--font-main);
  font-size: 15px;
  width: 100%;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  background: #fff;
  color: var(--text-main);
}

input[type="search"]:focus,
input[type="text"]:focus {
  border-color: var(--green-main);
  box-shadow: 0 0 0 3px rgba(16,168,122,0.15);
}

/* ──────────────────────────────────────────────────────────
   18. COMMENTS
   ────────────────────────────────────────────────────────── */
#comments {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 2px solid rgba(0,0,0,0.07);
}

.comments-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 28px;
}

.comment-body {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-xs);
  border: 1px solid rgba(0,0,0,0.06);
}

.comment-form label {
  font-weight: 700;
  font-size: 13px;
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: block;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-main);
  font-size: 14px;
  width: 100%;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  background: #fff;
}

.comment-form textarea:focus,
.comment-form input:focus {
  border-color: var(--green-main);
  box-shadow: 0 0 0 3px rgba(16,168,122,0.15);
  outline: none;
}

/* ──────────────────────────────────────────────────────────
   19. RESPONSIVE / MOBILE
   ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .inside-header {
    padding: 12px 20px;
    min-height: 60px;
  }

  .site-header { min-height: 60px; }

  .main-title a { font-size: 20px !important; }

  .inside-navigation {
    padding: 0 20px;
  }

  .site-content {
    padding: 20px 16px 40px;
  }

  .inside-article {
    padding: 24px !important;
  }

  .single .inside-article {
    padding: 24px !important;
  }

  .post-image,
  .featured-image {
    margin: -24px -24px 24px;
  }

  .site-logo img,
  .header-image.is-logo-image {
    max-height: 40px;
  }

  .entry-title {
    font-size: clamp(18px, 5vw, 26px) !important;
  }

  /* Lyrics mobile */
  .lyrics-box {
    padding: 22px 20px;
  }

  .urdu-lyrics {
    font-size: clamp(20px, 5vw, 28px);
    line-height: 2.4;
  }

  .arabic-lyrics {
    font-size: clamp(20px, 5vw, 30px);
  }

  /* Table scrollable */
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Related posts 1 column */
  .related-posts__grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-widgets-container {
    padding: 36px 20px 24px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-info { padding: 16px 20px; }
}

@media (max-width: 480px) {
  .inside-article { padding: 18px !important; }
  .post-image, .featured-image {
    margin: -18px -18px 18px;
  }
  .lyrics-box { padding: 18px 16px; }
}

/* ──────────────────────────────────────────────────────────
   20. ANIMATIONS & UTILITY CLASSES
   ────────────────────────────────────────────────────────── */

/* Fade in on scroll (add class via JS or GP) */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.inside-article {
  animation: fadeUp 0.5s var(--ease-out) both;
}

/* Stagger delay for loop cards */
article:nth-child(1) .inside-article { animation-delay: 0.05s; }
article:nth-child(2) .inside-article { animation-delay: 0.10s; }
article:nth-child(3) .inside-article { animation-delay: 0.15s; }
article:nth-child(4) .inside-article { animation-delay: 0.20s; }

/* Ad slots — CLS prevention */
.ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16,168,122,0.03);
  border: 1px dashed rgba(16,168,122,0.15);
  border-radius: var(--radius-sm);
  margin: 24px 0;
  color: var(--text-muted);
  font-size: 12px;
  overflow: hidden;
}
.ad-slot--banner      { min-height: 90px; }
.ad-slot--rectangle   { min-height: 250px; min-width: 300px; }
.ad-slot--leaderboard { min-height: 90px; max-width: 100%; }

/* YouTube / embed wrapper — 16:9 no CLS */
.video-wrapper {
  position: relative;
  padding-top: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  margin: 24px 0;
  background: #000;
}
.video-wrapper iframe,
.video-wrapper embed {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* Focus visible */
:focus-visible {
  outline: 3px solid var(--green-light);
  outline-offset: 3px;
  border-radius: 4px;
}
.using-mouse :focus { outline: none; }

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

/* ──────────────────────────────────────────────────────────
   PRINT
   ────────────────────────────────────────────────────────── */
@media print {
  .site-header, .main-navigation, .site-footer,
  .sidebar, .related-posts, .pagination,
  .menu-toggle, nav { display: none !important; }
  body { font-size: 12pt; color: #000; background: #fff; }
  .inside-article { box-shadow: none; border: 1pt solid #ccc; }
}
