/* ==========================================
   CSS لصفحة المدونة - blog.php
   NiceChat - متعدد اللغات (English/Arabic)
   ========================================== */

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-green: #77bd20;
  --dark-green: #39a750;
  --text-color: #39a750;
  --gradient-green: linear-gradient(135deg, #77bd20, #39a750);
  --mysterious-gradient: linear-gradient(
    135deg,
    #000000,
    #1a3d2e,
    #39a750,
    #77bd20
  );
  --glow-green: #77bd20;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --shadow: rgba(57, 167, 80, 0.1);
  --dark-shadow: rgba(0, 0, 0, 0.3);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #1a3d2e, #39a750);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-green);
  border-radius: 10px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #77bd20, #39a750);
}

/* تعريف خط Bahij TheSansArabic */
@font-face {
  font-family: "Bahij TheSansArabic";
  src: url("../fonts/Bahij_TheSansArabic-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bahij TheSansArabic";
  src: url("../fonts/alfont_com_ArbFONTS-Bahij_TheSansArabic-Plain.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bahij TheSansArabic";
  src: url("../fonts/ArbFONTS-Bahij_TheSansArabic-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* حماية شاملة للخط - تطبيق على جميع العناصر */
* {
  font-family: inherit;
}

body,
html {
  font-family: "Bahij TheSansArabic", -apple-system, BlinkMacSystemFont,
    sans-serif !important;
}

/* تطبيق الخط على جميع الأزرار والنماذج */
button,
input,
textarea,
select,
.cta-button,
.hero-btn,
.form-btn,
.faq-question,
.nav-link,
.mobile-menu-btn,
.language-toggle,
.close {
  font-family: "Bahij TheSansArabic", -apple-system, BlinkMacSystemFont,
    sans-serif !important;
}

/* تطبيق على العربي والإنجليزي */
body[dir="rtl"] *,
body[dir="ltr"] * {
  font-family: "Bahij TheSansArabic", -apple-system, BlinkMacSystemFont,
    sans-serif !important;
}

body {
  font-family: "Bahij TheSansArabic", -apple-system, BlinkMacSystemFont,
    sans-serif;
  background: linear-gradient(135deg, #000000, #1a3d2e, #39a750, #77bd20);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  color: #333;
  text-align: left;
}

/* Arabic Font Support */
body[dir="rtl"] {
  font-family: "Bahij TheSansArabic", -apple-system, BlinkMacSystemFont,
    sans-serif !important;
}

/* Animated Background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--mysterious-gradient);
  z-index: -2;
  animation: backgroundShift 25s ease-in-out infinite;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="g1"><stop offset="0%" stop-color="%2377bd20" stop-opacity="0.15"/><stop offset="100%" stop-color="%2377bd20" stop-opacity="0"/></radialGradient><radialGradient id="g2"><stop offset="0%" stop-color="%2339a750" stop-opacity="0.08"/><stop offset="100%" stop-color="%2339a750" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="400" fill="url(%23g1)" opacity="0.8"><animate attributeName="cx" values="200;800;200" dur="35s" repeatCount="indefinite"/><animate attributeName="cy" values="200;600;200" dur="30s" repeatCount="indefinite"/></circle><circle cx="800" cy="800" r="350" fill="url(%23g2)" opacity="0.6"><animate attributeName="cy" values="800;200;800" dur="28s" repeatCount="indefinite"/><animate attributeName="r" values="350;500;350" dur="32s" repeatCount="indefinite"/></circle><circle cx="500" cy="500" r="450" fill="url(%23g1)" opacity="0.4"><animate attributeName="r" values="450;650;450" dur="40s" repeatCount="indefinite"/><animate attributeName="cx" values="500;300;500" dur="25s" repeatCount="indefinite"/></circle></svg>')
    center/cover;
  z-index: -1;
  opacity: 0.7;
}

@keyframes backgroundShift {
  0%,
  100% {
    background: linear-gradient(
      135deg,
      #000000 0%,
      #1a3d2e 25%,
      #39a750 75%,
      #77bd20 100%
    );
  }
  25% {
    background: linear-gradient(
      225deg,
      #082611 0%,
      #1a3d2e 35%,
      #39a750 65%,
      #77bd20 100%
    );
  }
  50% {
    background: linear-gradient(
      315deg,
      #000000 0%,
      #082611 30%,
      #1a3d2e 70%,
      #39a750 100%
    );
  }
  75% {
    background: linear-gradient(
      45deg,
      #1a3d2e 0%,
      #39a750 40%,
      #77bd20 80%,
      #39a750 100%
    );
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================
   HEADER STYLES
   ========================================== */
header {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(119, 189, 32, 0.2);
  box-shadow: 0 4px 30px rgba(119, 189, 32, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LTR Layout (English) */
body[dir="ltr"] .header-container {
  flex-direction: row;
}

/* RTL Layout (Arabic) */
body[dir="rtl"] .header-container {
  flex-direction: row-reverse;
}

.logo {
  cursor: pointer;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 10px rgba(119, 189, 32, 0.5));
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 15px rgba(119, 189, 32, 0.8));
}

.logo img {
  height: clamp(60px, 7vw, 90px);
  width: auto;
  max-width: clamp(200px, 35vw, 350px);
  object-fit: contain;
  transition: all 0.3s ease;
  border-radius: 8px;
  padding: 5px;
}

.logo-text {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--primary-green);
  text-shadow: 0 0 10px rgba(119, 189, 32, 0.3);
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

body[dir="rtl"] .nav-menu {
  flex-direction: row-reverse;
}

.nav-link {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 0.8rem 0 0.5rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  border-bottom: 3px solid transparent;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-green);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(119, 189, 32, 0.5);
  border-radius: 2px;
}

body[dir="ltr"] .nav-link::after {
  right: 0;
}

body[dir="rtl"] .nav-link::after {
  left: 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--glow-green);
  text-shadow: 0 0 15px rgba(119, 189, 32, 0.8);
  border-bottom: 3px solid var(--primary-green);
}

.cta-button {
  background: var(--gradient-green);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.4s ease;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(119, 189, 32, 0.4);
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 35px rgba(119, 189, 32, 0.6);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

body[dir="rtl"] .header-actions {
  flex-direction: row-reverse;
}

.language-toggle {
  background: rgba(119, 189, 32, 0.1);
  border: 1px solid rgba(119, 189, 32, 0.3);
  border-radius: 25px;
  padding: 0.6rem 1.2rem;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.language-toggle:hover {
  background: rgba(119, 189, 32, 0.2);
  border-color: rgba(119, 189, 32, 0.5);
  transform: translateY(-2px);
}

.globe-icon {
  width: 20px;
  height: 20px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  color: var(--primary-green);
  transform: scale(1.1);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 2rem;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  display: block;
  transform: translateY(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

.mobile-nav-links .nav-link {
  font-size: 1.2rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(119, 189, 32, 0.2);
}

/* ==========================================
   BLOG HERO SECTION
   ========================================== */
.blog-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 160px 20px 100px;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.8),
    rgba(26, 61, 46, 0.9)
  );
  overflow: hidden;
}

.blog-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(119, 189, 32, 0.05) 1px,
    transparent 1px
  );
  background-size: 50px 50px;
  animation: float 20s linear infinite;
  opacity: 0.3;
}

@keyframes float {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: white;
  margin-bottom: 25px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.3;
  animation: fadeInUp 1s ease-out;
  background: linear-gradient(45deg, #fff, #77bd20, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: #77bd20;
  margin-bottom: 40px;
  line-height: 1.8;
  font-weight: 500;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.2s both;
}

body[dir="ltr"] .hero-subtitle {
  text-align: center;
}

body[dir="rtl"] .hero-subtitle {
  text-align: center;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   SEARCH CONTAINER
   ========================================== */
.search-container {
  max-width: 600px;
  margin: 0 auto 30px;
  position: relative;
  z-index: 2;
}

.search-form {
  display: flex;
  gap: 12px;
}

.search-input {
  flex: 1;
  padding: 15px 20px;
  border: 2px solid rgba(119, 189, 32, 0.3);
  border-radius: 8px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  font-family: inherit;
}

.search-input:focus {
  outline: none;
  border-color: #77bd20;
  background: white;
  box-shadow: 0 0 0 3px rgba(119, 189, 32, 0.1);
  transform: translateY(-1px);
}

.search-btn {
  background: linear-gradient(135deg, #77bd20, #39a750);
  color: white;
  border: none;
  padding: 15px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  min-width: 120px;
  font-family: inherit;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(119, 189, 32, 0.4);
}

/* ==========================================
   MAIN CONTENT
   ========================================== */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 60px;
  position: relative;
  z-index: 2;
}

/* ==========================================
   SEARCH RESULTS INFO
   ========================================== */
.search-info {
  background: rgba(255, 255, 255, 0.95);
  padding: 25px;
  border-radius: 20px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  border: 2px solid rgba(119, 189, 32, 0.2);
  backdrop-filter: blur(20px);
}

.search-info h3 {
  color: #39a750;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 700;
}

.clear-search {
  color: #77bd20;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 10px;
}

body[dir="ltr"] .clear-search {
  margin-right: 15px;
}

body[dir="rtl"] .clear-search {
  margin-left: 15px;
}

.clear-search:hover {
  background: rgba(119, 189, 32, 0.1);
  text-decoration: none;
}

/* ==========================================
   BLOG GRID
   ========================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

/* ==========================================
   BLOG CARD
   ========================================== */
.blog-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.5);
  position: relative;
  backdrop-filter: blur(20px);
}

.blog-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(119, 189, 32, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.blog-card:hover::before {
  left: 100%;
}

.blog-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  border-color: #77bd20;
}

.blog-image {
  height: 220px;
  background: linear-gradient(45deg, #77bd20, #39a750);
  position: relative;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
  display: block;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  padding: 30px 25px;
}

.blog-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #39a750;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-excerpt {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #eee;
  font-size: 14px;
  color: #888;
}

.blog-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.blog-date i {
  color: #77bd20;
}

.read-more {
  background: linear-gradient(135deg, #77bd20, #39a750);
  color: white;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.read-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(119, 189, 32, 0.4);
}

/* ==========================================
   EMPTY STATE
   ========================================== */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.empty-state i {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.7;
  color: #77bd20;
}

.empty-state h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: white;
}

.empty-state a {
  color: #77bd20;
  text-decoration: none;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 20px;
  border-radius: 25px;
  display: inline-block;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.empty-state a:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ==========================================
   PAGINATION
   ========================================== */
.pagination-container {
  display: flex;
  justify-content: center;
  margin: 50px 0;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.95);
  padding: 20px 25px;
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  color: #555;
}

.pagination a:hover {
  background: linear-gradient(135deg, #77bd20, #39a750);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(119, 189, 32, 0.4);
}

.pagination .current {
  background: linear-gradient(135deg, #39a750, #77bd20);
  color: white;
  box-shadow: 0 6px 20px rgba(57, 167, 80, 0.3);
}

.pagination .disabled {
  opacity: 0.4;
  pointer-events: none;
  color: #ccc;
}

.pagination .dots {
  color: #999;
  font-weight: bold;
  pointer-events: none;
}

/* ==========================================
   FOOTER STYLES
   ========================================== */
footer {
  background: linear-gradient(135deg, #000, #1a1a1a);
  color: white;
  padding: 4rem 2rem 2rem;
  border-top: 1px solid rgba(119, 189, 32, 0.2);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  text-align: center;
}

@media (min-width: 769px) {
  .footer-container {
    text-align: left;
  }

  body[dir="rtl"] .footer-container {
    text-align: right;
  }
}

.footer-section h3 {
  margin-bottom: 1.5rem;
  color: var(--primary-green);
  font-weight: 700;
  font-size: 1.3rem;
}

.footer-section p {
  line-height: 1.6;
  opacity: 0.9;
}

body[dir="ltr"] .footer-section p {
  text-align: left;
}

body[dir="rtl"] .footer-section p {
  text-align: justify;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary-green);
  text-shadow: 0 0 10px rgba(119, 189, 32, 0.3);
}

body[dir="ltr"] .footer-links a:hover {
  transform: translateX(-5px);
}

body[dir="rtl"] .footer-links a:hover {
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 2rem;
  text-align: center;
  color: #999;
}

.footer-bottom a {
  color: var(--primary-green);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-bottom a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(119, 189, 32, 0.5);
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(119, 189, 32, 0.1);
  border-radius: 50%;
  transition: all 0.4s ease;
  font-size: 1.2rem;
}

.social-links a:hover {
  background: var(--gradient-green);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(119, 189, 32, 0.4);
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-menu {
    display: block;
  }

  .header-container {
    padding: 1rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .search-form {
    flex-direction: column;
    gap: 15px;
  }

  .main-content {
    padding: 0 15px 40px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-content {
    padding: 25px 20px;
  }

  .blog-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .pagination {
    padding: 15px 20px;
    gap: 6px;
  }

  .pagination a,
  .pagination span {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 50px;
  }

  .blog-hero {
    padding: 140px 15px 80px;
    min-height: 50vh;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .pagination {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
  .mobile-menu-btn,
  .language-toggle {
    display: none !important;
  }

  body::before,
  body::after {
    display: none;
  }

  * {
    background: white !important;
    color: black !important;
  }
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
