/*
Theme Name: قالب مجله باشگاه بانوان (نسخه کامل المنتور + تصاویر داخلی)
Theme URI: https://mangym.ir/blog/
Author: Walvira Web Design
Version: 6.0.0
Description: قالب اختصاصی مجله باشگاه بانوان، طراحی شده بر اساس رابط کاربری مدرن و مینیمال، ۱۰۰٪ سازگار با ویرایشگر زنده المنتور (Elementor)، مجهز به فونت فارسی وزیرمتن، تصاویر واقعی JPG داخلی، فیلتر و جستجوی زنده مقالات، صفحه اختصاصی مطالعه مقاله، مطالب مرتبط و بخش دیدگاه‌ها.
Text Domain: bashgah-banoo-theme
*/

@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

:root {
  --primary-green: #2d5a43;
  --primary-green-hover: #1e3f2e;
  --accent-sage: #5e7766;
  --bg-page: #fbf9f5;
  --bg-card: #ffffff;
  --bg-hero-box: #f3efe6;
  --bg-banner: #e6ede6;
  --bg-footer: #233b2e;
  --text-dark: #222924;
  --text-body: #4a534d;
  --text-muted: #8c978f;
  --border-light: #e8e2d7;
  --border-card: #ece7de;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --font-main: 'Vazirmatn', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  direction: rtl;
  font-family: var(--font-main) !important;
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.85;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, p, a, span, button, input, textarea, div {
  font-family: var(--font-main);
}

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

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

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

/* =========================================
   1. Top Ticker Bar & Header
========================================= */
.top-ticker-bar {
  background-color: #1d3528;
  color: #d6e6dc;
  font-size: 12px;
  padding: 8px 0;
  text-align: center;
  font-weight: 500;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.site-header .site-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.brand-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f2f5f2;
  border: 1px solid #dce5de;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
}

.brand-sub {
  font-size: 9.5px;
  color: var(--text-muted);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-top: 2px;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.main-navigation a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  padding: 8px 2px;
  position: relative;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
  color: var(--primary-green);
  font-weight: 700;
}

.main-navigation .current-menu-item a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 100%;
  height: 2.5px;
  background: var(--primary-green);
  border-radius: 4px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-body);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-header-explore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 8px 18px;
  border-radius: 30px;
  color: var(--text-dark);
}

.btn-header-explore:hover {
  border-color: var(--primary-green);
  color: var(--primary-green);
}

/* =========================================
   2. Hero Section (Native + Elementor)
========================================= */
.hero-section {
  padding: 36px 0 24px;
}

.hero-card,
.hero-card-el > .elementor-container {
  background: var(--bg-hero-box);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
}

.hero-content-wrap {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-sage);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: var(--accent-sage);
}

.hero-title {
  font-size: 34px;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.45;
  margin-bottom: 18px;
}

.hero-title .highlight-sage {
  color: var(--accent-sage);
  display: block;
}

.hero-description {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.btn-primary {
  background: var(--primary-green);
  color: #ffffff !important;
  padding: 12px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(45, 90, 67, 0.18);
  border: none;
  cursor: pointer;
}

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

.hero-submeta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.hero-submeta .dot-green {
  color: var(--primary-green);
  font-weight: 700;
}

.hero-image-wrap {
  position: relative;
  min-height: 410px;
  overflow: hidden;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-badge-tag {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  padding: 7px 18px;
  border-radius: 30px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-dark);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* =========================================
   3. Category Explorer Section
========================================= */
.categories-section {
  padding: 36px 0 24px;
}

.section-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}

.section-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: #829687;
  margin-bottom: 6px;
  font-weight: 700;
}

.section-heading {
  font-size: 23px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.section-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
}

.section-more-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-body);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.section-more-link:hover {
  color: var(--primary-green);
}

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

.category-chip-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.category-chip-card:hover {
  border-color: #c5d6cb;
  box-shadow: 0 8px 20px rgba(45, 90, 67, 0.05);
  transform: translateY(-3px);
}

.cat-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cat-icon-green { background: #eaf2ec; color: #2d5a43; }
.cat-icon-peach { background: #f9efe8; color: #c4774b; }
.cat-icon-sand  { background: #f4efe4; color: #8c7647; }
.cat-icon-rose  { background: #f8ecf0; color: #b56576; }

.cat-text-info {
  text-align: right;
  flex: 1;
  margin-right: 14px;
}

.cat-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.cat-desc {
  font-size: 12px;
  color: var(--text-muted);
}

/* =========================================
   4. Fresh Articles Grid & Filter Bar
========================================= */
.articles-feed-section {
  padding: 36px 0 50px;
}

.feed-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.feed-filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill-btn {
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  background: #ffffff;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill-btn.active,
.filter-pill-btn:hover {
  background: var(--primary-green);
  color: #ffffff;
  border-color: var(--primary-green);
}

.feed-search-box {
  position: relative;
}

.feed-search-box input {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 30px;
  padding: 7px 16px 7px 34px;
  font-size: 13px;
  color: var(--text-dark);
  width: 210px;
  outline: none;
  transition: border-color 0.2s ease;
}

.feed-search-box input:focus {
  border-color: var(--primary-green);
}

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

.article-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(45, 90, 67, 0.07);
}

.card-thumb-wrap {
  position: relative;
  height: 210px;
  background: #eee9df;
  overflow: hidden;
}

.card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.article-card:hover .card-thumb-wrap img {
  transform: scale(1.04);
}

.card-category-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  padding: 4px 13px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.card-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta-line {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.card-title {
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.card-title a:hover {
  color: var(--primary-green);
}

.card-snippet {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 20px;
  flex: 1;
}

.card-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid #f4f0e8;
}

.card-read-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-read-link:hover {
  gap: 10px;
}

.card-like-btn {
  color: #b5bdb7;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.card-like-btn:hover {
  color: #e05d5d;
}

/* =========================================
   5. Bottom Callout Banner
========================================= */
.callout-banner-section {
  padding: 10px 0 56px;
}

.callout-banner-box {
  background-color: var(--bg-banner);
  border-radius: var(--radius-xl);
  padding: 42px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid #d8e3d7;
}

.banner-star-decor {
  position: absolute;
  left: 38%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.14;
  color: var(--primary-green);
  pointer-events: none;
}

.banner-text {
  position: relative;
  z-index: 2;
}

.banner-eyebrow {
  font-size: 12px;
  color: var(--accent-sage);
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
}

.banner-text h3 {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.banner-text p {
  font-size: 14px;
  color: var(--text-body);
}

/* =========================================
   6. Single Article Page (single.php)
========================================= */
.single-post-hero {
  background: var(--bg-hero-box);
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 40px;
}

.single-breadcrumb {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

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

.single-post-header {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.single-category-pill {
  display: inline-block;
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--primary-green);
  font-weight: 700;
  font-size: 13px;
  padding: 5px 18px;
  border-radius: 30px;
  margin-bottom: 16px;
}

.single-title {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.55;
  margin-bottom: 18px;
  color: var(--text-dark);
}

.single-meta-details {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.single-container {
  max-width: 820px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.single-featured-wrap {
  margin-bottom: 36px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-light);
}

.single-featured-wrap img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.single-entry-content {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  font-size: 16px;
  line-height: 2.15;
  color: #313833;
}

.single-entry-content p {
  margin-bottom: 22px;
}

.single-entry-content h2,
.single-entry-content h3 {
  color: var(--text-dark);
  font-weight: 800;
  margin: 32px 0 14px;
}

.single-entry-content blockquote {
  border-right: 4px solid var(--primary-green);
  background: var(--bg-hero-box);
  padding: 20px 26px;
  border-radius: 12px;
  margin: 28px 0;
  font-weight: 700;
  color: var(--text-dark);
}

.single-tags-share {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--text-muted);
}

.related-posts-section {
  margin-top: 56px;
}

/* =========================================
   7. Comments Section
========================================= */
.comments-area {
  margin-top: 48px;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
}

.comments-title,
.comment-reply-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.comment-list {
  list-style: none;
  margin-bottom: 30px;
}

.comment-body {
  background: var(--bg-page);
  padding: 18px 22px;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
}

.comment-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  margin-bottom: 16px;
  font-family: var(--font-main);
  font-size: 14px;
  background: var(--bg-page);
}

.comment-form input[type="submit"],
.comment-form .submit {
  background: var(--primary-green);
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-main);
}

/* =========================================
   8. Footer
========================================= */
.site-footer {
  background: var(--bg-footer);
  color: #d2ded6;
  padding: 48px 0 28px;
  margin-top: 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand .brand-name {
  color: #ffffff;
  font-size: 18px;
}

.footer-tagline {
  font-size: 12.5px;
  color: #9ab0a2;
  margin-top: 4px;
}

.footer-nav ul {
  display: flex;
  list-style: none;
  gap: 26px;
}

.footer-nav a {
  color: #d2ded6;
  font-size: 13.5px;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #88a091;
}

/* =========================================
   9. Responsive Design
========================================= */
@media (max-width: 991px) {
  .hero-card,
  .hero-card-el > .elementor-container {
    grid-template-columns: 1fr;
  }
  .hero-content-wrap {
    padding: 36px 28px;
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .callout-banner-box {
    flex-direction: column;
    text-align: center;
    gap: 24px;
    padding: 32px 24px;
  }
}

@media (max-width: 640px) {
  .main-navigation {
    display: none;
  }
  .categories-grid,
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .feed-controls-bar,
  .section-top-bar,
  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .single-entry-content {
    padding: 24px 20px;
  }
}


/* =========================================
   10. Elementor Wrapper Reset & Quick Edit Button
   Ensures Elementor outer sections never break or squeeze the v4 layout
========================================= */
.elementor-page .site-main-front,
.elementor-page .elementor-page-builder-content {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.banoo-el-reset-sec.elementor-section > .elementor-container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
}

.banoo-el-reset-sec .elementor-column > .elementor-element-populated,
.banoo-el-reset-sec .elementor-widget-wrap {
  padding: 0 !important;
}

.banoo-el-quick-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-green);
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 15px;
  border-radius: 30px;
}

.banoo-el-quick-edit-btn:hover {
  background: var(--primary-green-hover);
}
