/*
Theme Name: Janta Post Pro
Theme URI: https://www.jantapost.in
Author: Janta Post
Author URI: https://www.jantapost.in
Description: Fast, modern, fully responsive news and blog theme for Janta Post.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: jantapost-pro
*/

:root {
  --primary: #211d78;
  --secondary: #0f172a;
  --accent: #ff6b00;
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #222222;
  --text-light: #6b7280;
  --muted: #6b7280;
  --border: #e4e7ec;
  --primary-dark: #1a175f;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.btn {
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
}

.btn:hover {
  color: #fff;
  filter: brightness(.95);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
}

.navbar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-branding a {
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 800;
}

.logo {
  color: var(--primary);
  font-weight: 700;
  font-size: 28px;
}

.site-nav ul {
  display: flex;
  list-style: none;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--text);
  font-weight: 600;
}

.site-nav a:hover,
.site-nav .current-menu-item a {
  color: var(--primary);
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #25d366, #10b981);
}

.hero {
  background: radial-gradient(circle at 20% 20%, #dbeafe, #f6f8fc);
  padding: 72px 0 48px;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 48px);
}

.hero h1 {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
}

.hero .subheading {
  margin: 14px 0 0;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-weight: 700;
}

.hero p {
  color: var(--muted);
  max-width: 800px;
}

.section {
  margin: 40px 0;
}

.section-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(20px, 3vw, 30px);
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}

.section-title {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.category-grid,
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.category-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.category-pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid #c7d7fe;
  background: #eef4ff;
  color: #1d4ed8;
  font-weight: 700;
  white-space: nowrap;
  flex: 0 0 auto;
}

.category-pill-link:hover {
  color: #ffffff;
  border-color: #4f46e5;
  background: #4f46e5;
}

.category-card,
.post-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.category-card:hover,
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.category-card h3,
.post-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.category-card .inner,
.post-card .inner {
  padding: 16px;
}

.recent-posts-heading {
  text-align: center;
  margin-bottom: 26px;
}

.recent-posts-heading .section-title {
  margin-bottom: 8px;
}

.recent-posts-heading p {
  margin: 0;
  color: #667085;
}

.recent-posts-dark-section {
  background: #f6f8fc;
  padding: 44px 0 20px;
}

.recent-posts-dark-section .recent-posts-heading .section-title {
  color: #101828;
}

.recent-posts-dark-section .recent-posts-heading p {
  color: #667085;
}

.recent-post-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.recent-post-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: none;
  border: 0;
  background: transparent;
}

.recent-category-pill {
  position: static;
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 10px 4px;
  border-radius: 2px;
  font-size: .7rem;
  letter-spacing: .5px;
  text-transform: uppercase;
  font-weight: 800;
  background: #facc15;
  color: #111827;
}

.recent-thumb {
  width: 100%;
  height: 215px;
  object-fit: cover;
  background: #e5e7eb;
}

.recent-thumb-placeholder {
  background: #e5e7eb;
}

.recent-post-card .inner {
  padding: 14px 14px 12px;
  background: #ffffff;
  border: 1px solid #e4e7ec;
  border-top: 0;
}

.recent-post-card h2 {
  font-size: 1.95rem;
  margin-bottom: 8px;
  line-height: 1.35;
}

.recent-post-card h2 a {
  color: #101828;
}

.recent-post-card p {
  margin: 0;
  color: #475467;
  min-height: 0;
  display: none;
}

.recent-post-meta {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: .76rem;
  color: #667085;
}

.recent-pagination-wrap {
  justify-content: center;
  align-items: center;
  margin-top: 34px;
  gap: 10px;
}

.recent-pagination-wrap .page-numbers {
  border-radius: 999px;
  min-width: 42px;
  min-height: 42px;
  font-weight: 700;
  border: 1px solid #d0d5dd;
  background: #ffffff;
  color: #344054;
}

.recent-pagination-wrap .page-numbers:hover {
  border-color: #4f46e5;
  color: #4f46e5;
}

.recent-pagination-wrap .current {
  border-color: #4f46e5;
  background: #4f46e5;
  color: #ffffff;
}

.home-contact-section .section-card {
  padding-top: 26px;
}

.google-news-card {
  max-width: 520px;
  margin: 0 auto 32px;
  text-align: center;
}

.google-news-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #4285f4, #34a853, #fbbc05, #ea4335);
}

.google-news-title {
  margin: 0 0 8px;
  font-size: 1.8rem;
  line-height: 1.3;
}

.google-news-card p {
  margin: 0;
  color: #475467;
}

.google-news-btn {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.google-news-btn:hover {
  color: #fff;
  filter: brightness(.95);
}

.contact-heading {
  text-align: center;
  margin-bottom: 20px;
}

.contact-badge {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .4px;
  margin-bottom: 10px;
}

.contact-heading .section-title {
  margin-bottom: 0;
}

.home-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1.1fr);
  gap: 20px;
  align-items: stretch;
}

.home-contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-card-item {
  background: #fff;
  border: 1px solid #eaecf0;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.08);
  padding: 18px 16px;
  text-align: center;
}

.contact-card-item h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.contact-card-item a {
  display: inline-block;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-card-item p {
  margin: 0;
  color: #667085;
  font-size: .92rem;
}

.home-contact-map {
  min-height: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #eaecf0;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.08);
  background: #f8fafc;
}

.home-contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: 0;
}

.faq-home-section .section-card {
  padding-top: 28px;
}

.faq-home-title {
  text-align: center;
  margin-bottom: 18px;
}

.faq-accordion {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
}

.faq-item summary {
  list-style: none;
  position: relative;
  cursor: pointer;
  padding: 18px 52px 18px 20px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #101828;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
  line-height: 1;
  color: #344054;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  color: #475467;
}

.newsletter-home-section {
  margin-bottom: 0;
}

.home-support-section {
  margin-top: 20px;
  margin-bottom: 20px;
}

.support-cta-card {
  background: linear-gradient(135deg, #fff9db, #fffdf2);
  border: 1px solid #fde68a;
  border-radius: 14px;
  padding: clamp(24px, 3vw, 42px);
  text-align: center;
}

.support-cta-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3.8vw, 2.4rem);
  color: #a16207;
}

.support-cta-card p {
  margin: 0 auto;
  max-width: 760px;
  color: #475467;
}

.support-cta-card a {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 150px;
  padding: 0 20px;
  border-radius: 10px;
  background: #facc15;
  color: #101828;
  text-transform: uppercase;
  letter-spacing: .4px;
  font-weight: 800;
}

.support-cta-card a:hover {
  background: #eab308;
  color: #101828;
}

.newsletter-card {
  background: linear-gradient(135deg, #eef6ff, #f7fbff);
  border: 1px solid #d6e4ff;
  border-radius: 14px;
  padding: clamp(26px, 4vw, 54px);
  text-align: center;
  color: #101828;
}

.newsletter-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.2;
  color: #0f172a;
}

.newsletter-card p {
  margin: 0 auto;
  max-width: 760px;
  color: #475467;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.newsletter-form {
  margin: 28px auto 0;
  max-width: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
}

.newsletter-form input {
  min-height: 52px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-size: 1.05rem;
  padding: 0 16px;
}

.newsletter-form input::placeholder {
  color: #64748b;
}

.newsletter-form button {
  min-height: 52px;
  border: 0;
  border-radius: 10px;
  background: #facc15;
  color: #101828;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 0 28px;
  cursor: pointer;
}

.newsletter-form button:hover {
  background: #eab308;
}

.content-wrap {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 24px;
  margin: 28px auto;
}

.article-card,
.widget,
.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0;
  overflow: hidden;
}

.post-thumbnail {
  width: 100%;
  margin-bottom: 0;
}

.featured-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.post-content-wrapper {
  padding: clamp(18px, 2.5vw, 28px);
}

.post-category {
  margin-bottom: 16px;
}

.category-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--accent);
  color: #fff;
}

.post-title {
  margin: 0 0 20px;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.2;
  color: var(--text);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}

.post-date,
.post-author,
.read-time {
  display: flex;
  align-items: center;
  gap: 6px;
}

.post-content {
  margin-bottom: 32px;
  line-height: 1.8;
}

.post-content p {
  margin-bottom: 16px;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  margin: 32px 0 16px;
  color: var(--text);
}

.post-content ul,
.post-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.post-content li {
  margin-bottom: 8px;
}

.post-content blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--accent);
  background: #f8f9fa;
  font-style: italic;
  color: var(--muted);
}

/* Mehndi Design Page Styles */
.mehndi-design-page {
  padding: 0;
}

.page-header {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 0;
  margin-bottom: 0;
}

.page-thumbnail {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.page-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-content-wrapper {
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-title {
  margin: 0 0 20px;
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  line-height: 1.2;
  color: var(--text);
}

.intro-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 32px;
  border-left: 4px solid var(--accent);
}

.design-showcase {
  margin-bottom: 48px;
}

.design-showcase h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 32px;
  color: var(--primary);
}

.design-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.design-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.design-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.design-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.design-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.design-item:hover .design-image img {
  transform: scale(1.05);
}

.design-info {
  padding: 24px;
}

.design-info h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  color: var(--primary);
}

.design-info p {
  margin: 0 0 16px;
  color: var(--text);
  line-height: 1.6;
}

.design-info ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.design-info li {
  padding: 6px 0;
  color: var(--muted);
  position: relative;
  padding-left: 20px;
}

.design-info li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.tips-section {
  margin-bottom: 48px;
  background: linear-gradient(135deg, #fff9db, #fffdf2);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid #fde68a;
}

.tips-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 32px;
  color: #a16207;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.tip-card {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #fbbf24;
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.1);
}

.tip-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  color: #a16207;
}

.tip-card p {
  margin: 0;
  color: var(--text);
  line-height: 1.6;
}

.care-instructions {
  margin-bottom: 48px;
}

.care-instructions h2 {
  font-size: 1.8rem;
  margin-bottom: 24px;
  color: var(--primary);
}

.care-instructions ol {
  margin: 0;
  padding-left: 24px;
}

.care-instructions li {
  margin-bottom: 16px;
  color: var(--text);
  line-height: 1.7;
}

.care-instructions strong {
  color: var(--primary);
}

.conclusion {
  background: linear-gradient(135deg, #eef6ff, #f7fbff);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid #d6e4ff;
  margin-bottom: 32px;
}

.conclusion h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.conclusion p {
  margin-bottom: 16px;
  color: var(--text);
  line-height: 1.7;
}

.page-share-bar {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.page-share-bar span {
  font-weight: 700;
  color: #1d2939;
}

.page-share-bar a,
.print-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  color: #344054;
  background: #fff;
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  text-decoration: none;
}

.page-share-bar a:hover,
.print-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Responsive Design for Mehndi Page */
@media (max-width: 768px) {
  .page-header {
    grid-template-columns: 1fr;
  }
  
  .page-thumbnail {
    min-height: 250px;
  }
  
  .design-grid {
    grid-template-columns: 1fr;
  }
  
  .tips-grid {
    grid-template-columns: 1fr;
  }
  
  .tips-section {
    padding: 24px;
  }
  
  .conclusion {
    padding: 24px;
  }
  
  .page-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
}

.article-meta {
  color: var(--muted);
  font-size: .92rem;
}

.post-share-bar {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.post-share-bar span {
  font-weight: 700;
  color: #1d2939;
}

.post-share-bar a,
.print-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  color: #344054;
  background: #fff;
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
}

.post-share-bar a:hover,
.print-btn:hover {
  border-color: #fd8c00;
  color: #fd8c00;
}

.comment-respond {
  margin-top: 8px;
}

.comment-reply-title {
  font-size: 1.7rem;
  margin-bottom: 6px;
}

.comment-form {
  margin-top: 12px;
  background: #f3f4f6;
  border-radius: 12px;
  padding: clamp(16px, 3vw, 28px);
}

.comment-notes {
  margin-top: 0;
  margin-bottom: 16px;
  color: #475467;
}

.comment-form label {
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .2px;
  font-size: .95rem;
  font-weight: 800;
  color: #0f172a;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
  width: 32%;
  display: inline-block;
  vertical-align: top;
  margin: 0 1% 16px 0;
}

.comment-form-url {
  margin-right: 0;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  border: 1px solid #e4e7ec;
  border-radius: 2px;
  background: #fff;
  padding: 12px 14px;
  color: #1d2939;
  font-size: 1rem;
}

.comment-form textarea {
  min-height: 280px;
  resize: vertical;
}

.comment-form-comment {
  margin: 0 0 16px;
}

.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 16px;
}

.comment-form-cookies-consent label {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.form-submit {
  margin: 0;
}

.comment-form .submit {
  border: 0;
  border-radius: 999px;
  background: #ff8a00;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 12px 26px;
  cursor: pointer;
}

.comment-form .submit:hover {
  background: #ea7a00;
}

.site-footer {
  margin-top: 44px;
  background: var(--secondary);
  color: #101828;
  border-top: 1px solid #e4e7ec;
}

.footer {
  background: var(--secondary);
  color: #fff;
}

.footer-inner {
  padding: 38px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding-bottom: 20px;
}

.footer-col h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.2rem;
  color: #ffffff;
}

.footer-col p {
  margin: 0 0 10px;
  color: #cbd5e1;
}

.footer-links-list {
  display: grid;
  gap: 8px;
}

.footer-links-list a,
.footer-contact-list a,
.footer-social-links a {
  color: #e2e8f0;
}

.footer-links-list a:hover,
.footer-contact-list a:hover,
.footer-social-links a:hover {
  color: var(--accent);
}

.footer-contact-list p {
  margin: 0 0 8px;
}

.footer-social-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-social-links a {
  font-size: .9rem;
  font-weight: 600;
}

.copyright {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 14px;
  color: #cbd5e1;
  text-align: center;
}

.pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  color: var(--text);
}

.pagination .current {
  border-color: var(--primary);
  color: #fff;
  background: var(--primary);
}

.pagination ul.page-numbers {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.page-category-posts .post-grid {
  margin-top: 12px;
}

.page-category-list {
  display: grid;
  gap: 14px;
}

.page-category-item.list-view {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 16px;
}

.page-category-item.list-view h3 {
  margin: 0 0 8px;
}

.page-category-item.list-view p {
  margin: 0;
}

@media (max-width: 1024px) {
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recent-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .site-nav ul {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .content-wrap {
    grid-template-columns: 1fr;
  }

  .home-contact-cards {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .comment-form-author,
  .comment-form-email,
  .comment-form-url {
    width: 100%;
    margin-right: 0;
  }

  .featured-image {
    height: 250px;
  }

  .post-meta {
    flex-wrap: wrap;
    gap: 12px;
  }

  .post-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .post-content {
    font-size: 0.95rem;
  }

  .post-share-bar {
    flex-wrap: wrap;
    gap: 8px;
  }

  .post-share-bar span {
    width: 100%;
    margin-bottom: 4px;
  }
}

@media (max-width: 540px) {
  .post-grid {
    grid-template-columns: 1fr;
  }

  .recent-post-grid {
    grid-template-columns: 1fr;
  }

  .recent-post-meta {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .recent-post-card h2 {
    font-size: 1.35rem;
  }
}
