/*
Theme Name: Mashaweer
Theme URI: https://mashaweer.shoes
Author: Mashaweer Dev Team
Description: قالب مخصص لعلامة مشاوير للأحذية الرياضية الرجالية
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mashaweer
*/

:root {
  --turquoise: #0BA6A9;
  --green: #78C043;
  --dark: #2E2E2E;
  --light: #F3F3F3;
  --white: #FFFFFF;
  --green-dark: #5FA032;
  --turquoise-dark: #088789;
  --turquoise-light: #0EC5C9;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Cairo', sans-serif;
  color: var(--dark);
  background-color: var(--white);
  direction: rtl;
  text-align: right;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul, ol {
  list-style: none;
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

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

h1, h2, h3, h4, h5, h6 {
  color: var(--turquoise);
  font-weight: 700;
  line-height: 1.3;
}

.font-en {
  font-family: 'Montserrat', sans-serif;
}

.border-0 {
  border-radius: 0 !important;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--white);
  padding: 14px 36px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--green);
}

.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
}

.btn-primary .slogan-mini {
  font-size: 0.65rem;
  opacity: 0.8;
  font-weight: 400;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--turquoise);
  padding: 14px 36px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid var(--turquoise);
}

.btn-secondary:hover {
  background: var(--turquoise);
  color: var(--white);
  transform: translateY(-2px);
}

.speed-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(to left, transparent, var(--turquoise), transparent);
  opacity: 0.15;
  pointer-events: none;
}

.speed-line-1 {
  width: 300px;
  top: 20%;
  right: -50px;
  transform: rotate(-15deg);
  animation: speedMove 3s ease-in-out infinite;
}

.speed-line-2 {
  width: 200px;
  top: 45%;
  left: -30px;
  transform: rotate(10deg);
  animation: speedMove 4s ease-in-out infinite 0.5s;
}

.speed-line-3 {
  width: 250px;
  bottom: 25%;
  right: 10%;
  transform: rotate(-8deg);
  animation: speedMove 3.5s ease-in-out infinite 1s;
}

.speed-line-4 {
  width: 180px;
  top: 60%;
  left: 20%;
  transform: rotate(5deg);
  animation: speedMove 2.8s ease-in-out infinite 1.5s;
}

@keyframes speedMove {
  0%, 100% { opacity: 0.08; transform: translateX(0) rotate(-15deg); }
  50% { opacity: 0.2; transform: translateX(30px) rotate(-15deg); }
}

.arrow-dynamic {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
  opacity: 0.08;
}

.arrow-left {
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 20px solid var(--green);
  animation: arrowPulse 2.5s ease-in-out infinite;
}

.arrow-left-2 {
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 14px solid var(--turquoise);
  animation: arrowPulse 3s ease-in-out infinite 0.8s;
}

@keyframes arrowPulse {
  0%, 100% { opacity: 0.05; transform: translateX(0); }
  50% { opacity: 0.15; transform: translateX(-15px); }
}

header.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 3px solid var(--turquoise);
  transition: box-shadow 0.3s ease;
}

header.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo img {
  height: 50px;
  width: auto;
}

.site-logo .logo-text {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--turquoise);
}

.site-logo .logo-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  color: var(--dark);
  letter-spacing: 1px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.current-menu-item {
  color: var(--turquoise);
}

.main-nav a:hover::after,
.main-nav a.current-menu-item::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-icon {
  position: relative;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  border-radius: 0;
}

.cart-icon:hover {
  background: var(--light);
}

.cart-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--dark);
}

.cart-count {
  position: absolute;
  top: 2px;
  left: 2px;
  background: var(--green);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: all 0.3s ease;
}

.hero-section {
  padding-top: 75px;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--light);
  position: relative;
  overflow: hidden;
}

.hero-section .speed-line {
  opacity: 0.12;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--turquoise);
  margin-bottom: 24px;
  border-right: 3px solid var(--green);
}

.hero-content h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content h1 span {
  color: var(--green);
}

.hero-desc {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #ddd;
}

.hero-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--turquoise);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: #777;
}

.hero-image {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  max-width: 100%;
  filter: drop-shadow(0 20px 40px rgba(11,166,169,0.2));
  animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-image .arrow-dynamic {
  opacity: 0.1;
}

.hero-arrow-1 {
  top: 20%;
  right: -10px;
  animation: arrowPulse 2s ease-in-out infinite;
}

.hero-arrow-2 {
  bottom: 30%;
  left: 20px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-right: 16px solid var(--green);
  animation: arrowPulse 2.8s ease-in-out infinite 0.5s;
}

.hero-arrow-3 {
  top: 50%;
  left: -20px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 12px solid var(--turquoise);
  animation: arrowPulse 3.2s ease-in-out infinite 1s;
}

.features-section {
  padding: 80px 0;
  background: var(--white);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.section-header p {
  color: #777;
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  padding: 40px 30px;
  text-align: center;
  border: 1px solid #eee;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.feature-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  border-color: var(--turquoise);
  box-shadow: 0 8px 30px rgba(11,166,169,0.08);
  transform: translateY(-4px);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--turquoise);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: #777;
  font-size: 0.95rem;
  line-height: 1.8;
}

.products-section {
  padding: 80px 0;
  background: var(--light);
  position: relative;
  overflow: hidden;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border: 1px solid #eee;
  overflow: hidden;
  transition: all 0.3s ease;
  border-radius: 0;
  position: relative;
}

.product-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.product-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--light);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--green);
  color: var(--white);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  border-radius: 0;
}

.product-card-body {
  padding: 20px;
}

.product-card-body h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--dark);
  transition: color 0.3s ease;
}

.product-card:hover .product-card-body h3 {
  color: var(--turquoise);
}

.product-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.product-price .current {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--turquoise);
}

.product-price .old {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: #aaa;
  text-decoration: line-through;
}

.product-price .currency {
  font-size: 0.8rem;
  color: var(--turquoise);
  font-weight: 600;
}

.add-to-cart-btn {
  width: 100%;
  padding: 10px;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.add-to-cart-btn:hover {
  background: var(--green-dark);
}

.products-more {
  text-align: center;
  margin-top: 48px;
}

.cta-section {
  padding: 80px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.cta-section .speed-line {
  background: linear-gradient(to left, transparent, var(--green), transparent);
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-inner h2 {
  color: var(--white);
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.cta-inner p {
  color: #aaa;
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

footer.site-footer {
  background: var(--dark);
  color: #ccc;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #444;
}

.footer-about .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-about .footer-logo .logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--turquoise);
}

.footer-about .footer-logo .logo-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  color: #888;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.9;
  margin-bottom: 20px;
}

.footer-slogan {
  color: var(--green);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 16px;
  border: 1px solid var(--green);
  display: inline-block;
  border-radius: 0;
}

.footer-slogan .en {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  opacity: 0.8;
  margin-right: 8px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 2px;
  background: var(--green);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: #aaa;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--turquoise);
  padding-right: 8px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  fill: var(--turquoise);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #666;
}

.footer-bottom .slogan-bottom {
  color: var(--green);
  font-weight: 600;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1001;
}

.mobile-menu-overlay.active {
  display: block;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: var(--white);
  z-index: 1002;
  transition: right 0.3s ease;
  padding: 20px;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  text-align: left;
  margin-bottom: 30px;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--dark);
}

.mobile-menu ul li {
  border-bottom: 1px solid #eee;
}

.mobile-menu ul li a {
  display: block;
  padding: 14px 0;
  font-weight: 600;
  color: var(--dark);
}

.mobile-menu ul li a:hover {
  color: var(--turquoise);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border-radius: 0 !important;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  border-radius: 0 !important;
  background: var(--green) !important;
  border-color: var(--green) !important;
  color: var(--white) !important;
  font-family: 'Cairo', sans-serif !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--green-dark) !important;
  border-color: var(--green-dark) !important;
}

.woocommerce ul.products li.product a img,
.woocommerce div.product div.images img {
  border-radius: 0 !important;
}

.woocommerce .woocommerce-ordering select {
  border-radius: 0 !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border-radius: 0 !important;
}

.woocommerce span.onsale {
  border-radius: 0 !important;
  background: var(--green);
}

.woocommerce-info,
.woocommerce-message {
  border-radius: 0 !important;
  border-top-color: var(--turquoise) !important;
}

.woocommerce div.product .product_title {
  color: var(--turquoise);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--turquoise) !important;
}

.woocommerce .star-rating span::before {
  color: var(--green) !important;
}

.woocommerce table.shop_table {
  border-radius: 0 !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  border-radius: 0 !important;
}

.page-template-default .site-main {
  padding: 100px 0 60px;
}

.page-title {
  font-size: 2rem;
  margin-bottom: 24px;
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    max-width: 400px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-section {
    min-height: auto;
    padding-top: 75px;
  }

  .hero-inner {
    padding: 40px 0;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-card-body {
    padding: 12px;
  }

  .product-card-body h3 {
    font-size: 0.85rem;
  }

  .product-price .current {
    font-size: 1rem;
  }

  .add-to-cart-btn {
    padding: 8px;
    font-size: 0.8rem;
  }

  .cta-inner h2 {
    font-size: 1.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    justify-content: center;
  }
}
.page-banner {
  padding: 140px 0 60px;
  background: var(--light);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-banner-inner h1 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #777;
}

.breadcrumb-nav a {
  color: var(--turquoise);
  transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
  color: var(--green);
}

.breadcrumb-sep {
  color: #ccc;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 60px 0;
}

.post-card {
  background: var(--white);
  border: 1px solid #eee;
  overflow: hidden;
  transition: all 0.3s ease;
  border-radius: 0;
}

.post-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.post-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.post-date-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--turquoise);
  color: var(--white);
  padding: 8px 12px;
  text-align: center;
  line-height: 1.1;
  border-radius: 0;
}

.post-date-day {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
}

.post-date-month {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.post-card-body {
  padding: 24px;
}

.post-categories {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.post-categories a {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
  background: rgba(120,192,67,0.1);
  padding: 3px 10px;
  transition: all 0.3s ease;
  border-radius: 0;
}

.post-categories a:hover {
  background: var(--green);
  color: var(--white);
}

.post-card-body h2 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.post-card-body h2 a {
  color: var(--dark);
}

.post-card:hover .post-card-body h2 a {
  color: var(--turquoise);
}

.post-excerpt {
  color: #777;
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}

.post-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: #999;
}

.post-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--turquoise);
  transition: all 0.3s ease;
}

.post-read-more:hover {
  gap: 10px;
  color: var(--green);
}

.post-read-more svg {
  transition: transform 0.3s ease;
}

.post-read-more:hover svg {
  transform: translateX(-4px);
  fill: var(--green);
}

.posts-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 0 60px;
}

.posts-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  border: 1px solid #ddd;
  transition: all 0.3s ease;
  border-radius: 0;
}

.posts-pagination .page-numbers:hover {
  border-color: var(--turquoise);
  color: var(--turquoise);
}

.posts-pagination .page-numbers.current {
  background: var(--turquoise);
  border-color: var(--turquoise);
  color: var(--white);
}

.posts-pagination .page-numbers.dots {
  border: none;
  color: #aaa;
}

.error-section,
.no-results {
  padding: 80px 0;
  text-align: center;
}

.error-inner,
.no-results-inner {
  max-width: 500px;
  margin: 0 auto;
}

.error-code {
  font-size: 6rem;
  font-weight: 900;
  color: var(--turquoise);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.3;
}

.error-inner h2,
.no-results-inner h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.error-inner p,
.no-results-inner p {
  color: #777;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.error-actions .search-form {
  width: 100%;
  max-width: 400px;
}

.error-actions .search-form .search-field {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid #ddd;
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  border-radius: 0;
  text-align: right;
  direction: rtl;
}

.error-actions .search-form .search-field:focus {
  border-color: var(--turquoise);
}

.no-results-inner .search-form {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.no-results-inner .search-form .search-field {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid #ddd;
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  border-radius: 0;
  text-align: right;
  direction: rtl;
}

.no-results-inner .search-form .search-field:focus {
  border-color: var(--turquoise);
}

.no-results-inner .search-form .search-submit {
  display: none;
}

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

@media (max-width: 768px) {
  .page-banner {
    padding: 120px 0 40px;
  }

  .page-banner-inner h1 {
    font-size: 1.7rem;
  }

  .posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 40px 0;
  }

  .posts-pagination {
    padding-bottom: 40px;
  }

  .error-code {
    font-size: 4rem;
  }
}

@media (max-width: 480px) {
  .post-card-body {
    padding: 16px;
  }

  .post-card-body h2 {
    font-size: 1rem;
  }

  .posts-pagination .page-numbers {
    min-width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }
}