/*
Theme Name: Dawraan Custom Pro
Theme URI: https://dawraan.com
Author: Dawraan Engineering Team
Version: 1.0.2
*/

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: #0b0f19;
  color: #e2e8f0;
  line-height: 1.75;
}

.site-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: #06090e;
  border-bottom: 1px solid #1e293b;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-logo img {
  max-height: 44px;
  width: auto;
  display: block;
}
.site-nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
}
.site-nav a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s;
}
.site-nav a:hover {
  color: #00d4ff;
}

/* Hero */
.hero-banner {
  padding: 60px 0 40px;
  text-align: center;
  border-bottom: 1px solid #1e293b;
}
.hero-tag {
  display: inline-block;
  background: rgba(0, 212, 255, 0.1);
  color: #00d4ff;
  border: 1px solid rgba(0, 212, 255, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.hero-title {
  font-size: 2.8rem;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero-subtitle {
  font-size: 1.2rem;
  color: #94a3b8;
  max-width: 760px;
  margin: 0 auto;
}

/* Post Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 32px;
  padding: 50px 0 40px;
}
.card {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: #00d4ff;
  box-shadow: 0 12px 30px rgba(0, 212, 255, 0.12);
}
.card-image img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}
.card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.card-category {
  color: #00d4ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}
.card-title a {
  color: #ffffff;
  text-decoration: none;
}
.card-title a:hover {
  color: #00d4ff;
}
.card-excerpt {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 16px;
  flex-grow: 1;
}
.card-meta {
  color: #64748b;
  font-size: 13px;
  border-top: 1px solid #1e293b;
  padding-top: 12px;
}

/* ==========================================================
   HIGH-END ENTERPRISE PAGINATION DOCK
   ========================================================== */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0 70px;
}
.pagination-container {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0d1527;
  border: 1px solid #1e293b;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.03);
  padding: 8px 12px;
  border-radius: 12px;
}
.pagination-container .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #94a3b8;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}
.pagination-container .page-numbers:hover {
  background: #1e293b;
  color: #00d4ff;
  border-color: rgba(0, 212, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.15);
}
.pagination-container .page-numbers.current {
  background: linear-gradient(135deg, #00d4ff 0%, #0284c7 100%);
  color: #06090e;
  font-weight: 800;
  border-color: #00d4ff;
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.4);
  transform: translateY(-1px);
}
.pagination-container .prev.page-numbers,
.pagination-container .next.page-numbers {
  padding: 0 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid #334155;
  color: #f1f5f9;
}
.pagination-container .prev.page-numbers:hover,
.pagination-container .next.page-numbers:hover {
  background: rgba(0, 212, 255, 0.15);
  border-color: #00d4ff;
  color: #00d4ff;
  box-shadow: 0 4px 14px rgba(0, 212, 255, 0.2);
}
.pagination-container .dots {
  color: #64748b;
  border: none;
  background: transparent;
  min-width: 24px;
}

/* Single Article */
.article-container {
  max-width: 880px;
  margin: 40px auto;
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 16px;
  padding: 44px;
}
.article-header { margin-bottom: 30px; }
.article-title {
  font-size: 2.4rem;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}
.article-content { color: #cbd5e1; font-size: 1.1rem; }
.article-content p { margin-bottom: 24px; }
.article-content h2 {
  color: #ffffff;
  font-size: 1.65rem;
  margin-top: 40px;
  margin-bottom: 16px;
  border-bottom: 1px solid #1e293b;
  padding-bottom: 8px;
}
.article-content h3 { color: #00d4ff; font-size: 1.3rem; margin-top: 28px; margin-bottom: 12px; }
.article-content a { color: #00d4ff; }
.article-content table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.article-content th, .article-content td { padding: 12px; border: 1px solid #1e293b; }
.article-content th { background: #1e293b; color: #ffffff; }

/* Footer */
.site-footer {
  background: #06090e;
  border-top: 1px solid #1e293b;
  padding: 40px 0 20px;
  color: #64748b;
  font-size: 14px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  margin-left: 20px;
}
.footer-links a:hover { color: #00d4ff; }
