/* ═══════ BLOG — Dark Premium ═══════ */

.blog-hero {
  padding: 11rem 3rem 4rem;
  max-width: 1200px; margin: 0 auto;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.blog-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.78rem; color: var(--gold);
  letter-spacing: 3px; font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.blog-hero-eyebrow::before, .blog-hero-eyebrow::after {
  content: ''; width: 30px; height: 1px;
  background: var(--gold); opacity: 0.5;
}

.blog-hero h1 {
  font-family: var(--font-arabic);
  font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800;
  line-height: 1.1; letter-spacing: -1.5px;
  margin-bottom: 1.5rem; color: var(--text);
}
.blog-hero h1 em {
  font-family: var(--font-display); font-style: italic;
  color: var(--gold); font-weight: 400;
}

.blog-hero p {
  color: var(--text-2); font-size: 1.05rem;
  line-height: 1.95; max-width: 600px; margin: 0 auto;
}

.blog-list {
  max-width: 1300px; margin: 0 auto;
  padding: 5rem 3rem;
}

.blog-list-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.blog-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: all 0.4s var(--ease);
  overflow: hidden;
}

.blog-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.blog-card-img-link {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-card-img {
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  transition: transform 1s var(--ease);
}

.blog-card-img--placeholder {
  background: linear-gradient(135deg, var(--bg-3), var(--bg-4));
}

.blog-card:hover .blog-card-img { transform: scale(1.08); }

.blog-card-body {
  padding: 2rem; flex-grow: 1;
  display: flex; flex-direction: column;
}

.blog-card-meta {
  display: flex; gap: 0.5rem; align-items: center;
  font-size: 0.82rem; color: var(--text-3);
  margin-bottom: 1rem;
}

.blog-card-meta .dot { color: var(--gold); }
.blog-card-meta .cat { color: var(--gold); font-weight: 600; }

.blog-card-title {
  font-family: var(--font-arabic);
  font-size: 1.4rem; font-weight: 700;
  line-height: 1.4; margin-bottom: 1rem;
}

.blog-card-title a {
  color: var(--text); transition: color 0.3s;
}

.blog-card-title a:hover { color: var(--gold); }

.blog-card-excerpt {
  color: var(--text-3); font-size: 0.95rem;
  line-height: 1.85; margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-card-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--gold); font-size: 0.88rem;
  font-weight: 600;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.3rem;
  align-self: flex-start;
  transition: gap 0.3s;
}

.blog-card-link:hover { gap: 0.9rem; color: var(--gold-light); }

/* PAGINATION */
.pagination {
  display: flex; justify-content: center; gap: 0.5rem;
  margin-top: 4rem; flex-wrap: wrap;
}

.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px;
  padding: 0 1rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--text-2);
  font-size: 0.9rem; font-weight: 600;
  transition: all 0.3s;
}

.pagination a:hover { border-color: var(--gold); color: var(--gold); }

.pagination .current {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg); border-color: var(--gold);
}

/* SINGLE ARTICLE */
.single-article {
  max-width: 760px; margin: 0 auto;
  padding: 9rem 3rem 5rem;
}

.single-meta {
  display: flex; gap: 0.8rem; align-items: center;
  font-size: 0.85rem; color: var(--text-3);
  margin-bottom: 1.5rem; flex-wrap: wrap;
}

.single-meta .dot { color: var(--gold); }
.single-meta .cat { color: var(--gold); font-weight: 600; }

.single-title {
  font-family: var(--font-arabic);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -1px; color: var(--text);
  margin-bottom: 2rem;
}

.single-thumb {
  margin: 2rem 0 3rem;
  border: 1px solid var(--line);
}

.single-thumb img {
  width: 100%; height: auto; display: block;
  filter: brightness(0.9);
}

.single-content {
  font-size: 1.08rem;
  line-height: 1.95;
  color: var(--text-2);
}

.single-content > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 4rem;
  color: var(--gold);
  float: right;
  line-height: 1;
  margin: 0.2rem 0 0 0.6rem;
  font-weight: 500;
}

.single-content p { margin-bottom: 1.5rem; }

.single-content h2,
.single-content h3 {
  font-family: var(--font-arabic);
  font-weight: 700; color: var(--text);
  margin-top: 2.5rem; margin-bottom: 1rem;
  letter-spacing: -0.3px;
}
.single-content h2 { font-size: 1.8rem; color: var(--gold); }
.single-content h3 { font-size: 1.4rem; }

.single-content a {
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  transition: all 0.3s;
}
.single-content a:hover { color: var(--gold-light); border-color: var(--gold-light); }

.single-content blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background: var(--bg-2);
  border-right: 4px solid var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--text);
  line-height: 1.7;
}

.single-content ul, .single-content ol {
  margin-bottom: 1.5rem;
  padding-right: 1.5rem;
}

.single-content li { margin-bottom: 0.6rem; }

.single-content code {
  background: var(--bg-3);
  color: var(--gold);
  padding: 0.2rem 0.5rem;
  font-size: 0.92em;
  border: 1px solid var(--line);
}

.single-content pre {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.single-content pre code {
  background: transparent;
  border: none; padding: 0;
  color: var(--text-2);
}

.single-content img {
  margin: 2rem 0;
  border: 1px solid var(--line);
}

/* TAGS */
.single-tags {
  margin: 3rem 0 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center;
}

.single-tags-label {
  font-size: 0.85rem;
  color: var(--text-3);
  margin-left: 0.5rem;
}

.single-tags a {
  padding: 0.4rem 1rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--text-2);
  font-size: 0.82rem;
  transition: all 0.3s;
}

.single-tags a:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

/* POST NAV */
.post-nav {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin: 3rem 0;
}

.post-nav-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 1.5rem;
  transition: all 0.4s var(--ease);
}

.post-nav-card:hover {
  border-color: var(--gold);
  background: var(--bg-3);
}

.post-nav-card .post-nav-label {
  font-size: 0.75rem; color: var(--gold);
  letter-spacing: 1.5px; font-weight: 600;
  margin-bottom: 0.6rem; text-transform: uppercase;
}

.post-nav-card h4 {
  font-family: var(--font-arabic);
  font-size: 1.05rem; font-weight: 600;
  color: var(--text); line-height: 1.4;
}

.post-nav-card.next { text-align: left; }

/* RELATED */
.related-posts {
  margin: 4rem 0 0;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}

.related-posts h3 {
  font-family: var(--font-arabic);
  font-size: 1.6rem; font-weight: 700;
  color: var(--text); margin-bottom: 2rem;
}

.related-posts h3 em {
  font-family: var(--font-display); font-style: italic;
  color: var(--gold); font-weight: 400;
}

.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.related-card {
  display: flex; flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line);
  transition: all 0.4s var(--ease);
}

.related-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.related-card-img {
  aspect-ratio: 4/3;
  background-size: cover; background-position: center;
}

.related-card-body { padding: 1.2rem; }

.related-card-date {
  font-size: 0.78rem;
  color: var(--text-3);
  margin-bottom: 0.5rem;
}

.related-card h4 {
  font-family: var(--font-arabic);
  font-size: 1rem; font-weight: 600;
  line-height: 1.4;
}

.related-card h4 a {
  color: var(--text); transition: color 0.3s;
}

.related-card:hover h4 a { color: var(--gold); }

/* COMMENTS */
.comments-area {
  margin: 4rem 0 0;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}

.comments-area h3 {
  font-family: var(--font-arabic);
  font-size: 1.5rem; font-weight: 700;
  color: var(--text); margin-bottom: 2rem;
}

.comment-list {
  list-style: none; margin-bottom: 3rem;
}

.comment {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.comment-author {
  font-weight: 700;
  color: var(--text); margin-bottom: 0.3rem;
}

.comment-meta {
  font-size: 0.82rem;
  color: var(--text-3); margin-bottom: 0.8rem;
}

.comment-content {
  color: var(--text-2);
  line-height: 1.85;
}

.comment-respond {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 2rem;
}

.comment-respond h3 {
  font-size: 1.3rem; margin-bottom: 1.5rem;
}

.comment-form-comment textarea,
.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--line);
  padding: 0.9rem 1rem;
  font-family: var(--font-arabic);
  color: var(--text);
  margin-bottom: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

.comment-form-comment textarea:focus,
.comment-form-author input:focus,
.comment-form-email input:focus {
  border-color: var(--gold);
}

.form-submit input,
input.submit {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg);
  border: none;
  padding: 1rem 2rem;
  font-family: var(--font-arabic);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.form-submit input:hover,
input.submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

@media (max-width: 1024px) {
  .blog-list-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .blog-hero { padding: 8rem 1.5rem 3rem; }
  .blog-list { padding: 4rem 1.5rem; }
  .single-article { padding: 7rem 1.5rem 3rem; }
  .post-nav { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .single-content { font-size: 1rem; }
  .single-content > p:first-of-type::first-letter {
    font-size: 3rem;
  }
}
