/* =================================================================== */
/* BLOG SINGLE PAGE SPECIFIC STYLES                                   */
/* =================================================================== */

/* =================================================================== */
/* BLOG ARTICLE SECTION                                               */
/* =================================================================== */

.blogArticle {
  padding: 60px 0px;
  background: #ffffff;
}

.blogContainer {
  margin: 0 auto;
  max-width: calc(100% - 11vw);
}

/* Featured Image */
.blogFeaturedImage {
  width: 100%;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 30px;
  background: #f8f8f8;
}

.blogFeaturedImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Article Meta */
.articleMeta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 30px;
  font-size: 14px;
  color: #666;
  font-family: 'Heebo', sans-serif;
}

.metaItem {
  color: #666;
}

.metaSeparator {
  color: #ddd;
}

.metaCategory {
  background: #f0f7ff;
  color: #007bff;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 500;
}

/* Article Content */
.articleContent {
  font-family: 'Heebo', sans-serif;
  line-height: 1.8;
  color: #333;
}

/* Two Column Layout */
.articleColumns {
  display: flex;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
  margin-bottom: 60px;
  flex-direction: row;
  flex-wrap: nowrap;
}

.articleColumn {
  min-height: 0;
}

.articleColumnRight {
  padding-left: 20px;
  width: 49%;
}

.articleColumnLeft {
  padding-right: 20px;
  width: 50%;
}

/* Reversed Columns Layout - Text first, then image */
.articleColumnsReversed .articleColumnRight {
  padding-right: 20px;
  padding-left: 0;
  width: 50%;
}

.articleColumnsReversed .articleColumnLeft {
  padding-left: 20px;
  padding-right: 0;
  width: 50%;
}

.articleColumnImage {
  width: 100%;
  height: 100%;
  border-radius: 0px;
  object-fit: cover;
  position: sticky;
  top: 20px;
  max-height: 570px;
  min-height: 520px;
}

/* Full Width Section */
.articleFullWidth {
  width: 100%;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid #e0e0e0;
}

.articleIntro {
  font-size: 18px;
  line-height: 1.8;
  color: #444;
  margin: 0 0 40px 0;
  font-weight: 500;
}

.articleSection {
  margin: 0 0 35px 0;
}

.sectionTitle {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin: 0 0 15px 0;
  font-family: 'Rubik', 'Heebo', sans-serif;
  line-height: 1.4;
  color: #2B2A29;
  text-align: right;

/* רץ */
  font-family: Heebo;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px; /* 166.667% */
  color: #2B2A29;
  text-align: right;

/* רץ */
  font-family: Heebo;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px; /* 166.667% */
}

.sectionContent {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin: 0;
  color: #2B2A29;
  text-align: right;

/* רץ */
  font-family: Heebo;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px; /* 166.667% */
}

/* Product Highlight Box */
.productHighlight {
  display: flex;
  gap: 40px;
  background: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  margin: 40px 0;
  align-items: center;
}

.highlightContent {
  flex: 1;
}

.highlightTitle {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0 0 12px 0;
  font-family: 'Rubik', 'Heebo', sans-serif;
}

.highlightDescription {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
  margin: 0 0 15px 0;
}

.highlightPrice {
  font-size: 24px;
  font-weight: 600;
  color: #007bff;
  margin: 0 0 20px 0;
  font-family: 'Rubik', 'Heebo', sans-serif;
}

.highlightButton {
  display: inline-block;
  padding: 12px 30px;
  background: #333;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 500;
  font-family: 'Rubik', 'Heebo', sans-serif;
  transition: all 0.3s ease;
}

.highlightButton:hover {
  background: #000;
  transform: translateY(-2px);
}

.highlightImage {
  flex: 0 0 200px;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.highlightImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.articleConclusion {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin: 40px 0;
  padding: 20px;
  background: #f8f8f8;
  border-right: 4px solid #007bff;
  border-radius: 0 8px 8px 0;
}

/* Share Section */
.shareSection {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px 0;
  border-top: 1px solid #e0e0e0;
  margin-top: 40px;
}

.shareLabel {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  font-family: 'Rubik', 'Heebo', sans-serif;
}

.shareButtons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.shareButton {
  padding: 8px 20px;
  border: 1px solid #e0e0e0;
  background: white;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Heebo', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.shareButton:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.shareButton.facebook {
  border-color: #1877f2;
  color: #1877f2;
}

.shareButton.facebook:hover {
  background: #1877f2;
  color: white;
}

.shareButton.whatsapp {
  border-color: #25d366;
  color: #25d366;
}

.shareButton.whatsapp:hover {
  background: #25d366;
  color: white;
}

.shareButton.email {
  border-color: #ea4335;
  color: #ea4335;
}

.shareButton.email:hover {
  background: #ea4335;
  color: white;
}

.shareButton.copy {
  border-color: #333;
  color: #333;
}

.shareButton.copy:hover {
  background: #333;
  color: white;
}

/* =================================================================== */
/* MORE ARTICLES SECTION                                              */
/* =================================================================== */

.moreArticlesSection {
  padding: 80px 0px;
  background: #f8f8f8;
  position: relative;
}

.moreArticlesSection::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 0;
    background-image: url('../images/general/about-bg1.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top left;
    z-index: 1;
    opacity: 1;
    width: 35%;
    height: 35%;
    max-width: 550px;
    max-height: 560px;
}

.moreArticlesContainer {
  margin: 0 auto;
  max-width: calc(100% - 11vw);
}

.moreArticlesTitle {
  font-size: 36px;
  font-weight: 500;
  color: #333;
  margin: 0 0 40px 0;
  text-align: center;
  font-family: 'Rubik', 'Heebo', sans-serif;
  color: #2B2A29;
  text-align: center;

/* כותרת */
  font-family: Heebo;
  font-size: 58px;
  font-style: normal;
  font-weight: 200;
  line-height: 70px; /* 120.69% */
  padding-bottom: 50px;
}

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

.moreArticleCard {
  display: block;
  text-decoration: none;
  color: inherit;
  /* background: white; */
  border-radius: 0px;
  overflow: hidden;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); */
  transition: all 0.3s ease;
}

.moreArticleCard:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.moreArticleImage {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f0f0f0;
}

.moreArticleImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.moreArticleCard:hover .moreArticleImage img {
  transform: scale(1.05);
}

.moreArticleTitle {
  padding: 10px 0px;
  margin: 0;
  background: transparent;
  color: #2B2A29;
  text-align: right;
  font-family: Heebo;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 30px; /* 125% */
}


.blogLayout {
  display: flex;
}
/* =================================================================== */
/* RESPONSIVE DESIGN                                                  */
/* =================================================================== */

@media (max-width: 1200px) {
  .moreArticlesGrid {
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
  }
}

@media (max-width: 992px) {
  .blogFeaturedImage {
    height: 400px;
  }
  
  .productHighlight {
    flex-direction: column;
    text-align: center;
  }
  
  .highlightImage {
    flex: 1;
    width: 100%;
    max-width: 300px;
  }
  
  .moreArticlesGrid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Two columns layout on tablets */
  .articleColumns,
  .articleColumnsReversed {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .blogArticle {
    padding: 40px 15px;
  }
  
  .blogFeaturedImage {
    height: 300px;
    border-radius: 8px;
  }
  
  .articleMeta {
    font-size: 13px;
    gap: 8px;
  }
  
  .articleIntro {
    font-size: 16px;
    margin-bottom: 30px;
  }
  
  /* Single column on mobile */
  .articleColumns,
  .articleColumnsReversed {
    grid-template-columns: 1fr;
    gap: 20px;
    direction: rtl; /* Reset to RTL on mobile */
    display: flex;
    flex-direction: column-reverse;
  }
  
  .articleColumnRight,
  .articleColumnsReversed .articleColumnRight {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 20px;
    direction: rtl;
    width: 100%;
  }
  
  .articleColumnLeft,
  .articleColumnsReversed .articleColumnLeft {
    padding-right: 0;
    padding-left: 0;
    width: 100%;
  }
  
  .sectionTitle {
    font-size: 20px;
  }
  
  .sectionContent {
    font-size: 15px;
  }
  
  .productHighlight {
    padding: 20px;
    margin: 30px 0;
  }
  
  .highlightTitle {
    font-size: 18px;
  }
  
  .highlightDescription {
    font-size: 14px;
  }
  
  .highlightPrice {
    font-size: 20px;
  }
  
  .highlightButton {
    padding: 10px 25px;
    font-size: 14px;
  }
  
  .articleConclusion {
    font-size: 15px;
    padding: 15px;
    margin: 30px 0;
  }
  
  .shareSection {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 0;
  }
  
  .shareButtons {
    width: 100%;
  }
  
  .shareButton {
    padding: 6px 15px;
    font-size: 13px;
  }
  
  .moreArticlesSection {
    padding: 60px 15px;
  }
  
  .moreArticlesTitle {
    font-size: 28px;
    margin-bottom: 30px;
  }
  
  .moreArticlesGrid {
    gap: 20px;
  }
  
  .moreArticleImage {
    height: 180px;
  }
  
  .moreArticleTitle {
    padding: 15px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .blogFeaturedImage {
    height: 250px;
  }
  
  .articleSection {
    margin-bottom: 25px;
  }
  
  .productHighlight {
    padding: 15px;
  }
  
  .highlightImage {
    height: 150px;
  }
  
  .moreArticlesGrid {
    grid-template-columns: 1fr;
  }
  
  .moreArticleImage {
    height: 200px;
  }
}

/* =========================================================
   ARTICLE CONTENT FORMATTING
   ========================================================= */

.sectionContent {
    width: 100%;
    max-width: 100%;
    font-family: Heebo, sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #2B2A29;
    text-align: right;
    direction: rtl;
}

/* כותרת ראשית בתוך תוכן המאמר */
.sectionContent h2 {
    font-family: Heebo, sans-serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.4;
    color: #2B2A29;
    text-align: right;
    margin: 45px 0 18px;
}

/* כותרות משנה */
.sectionContent h3 {
    font-family: Heebo, sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    color: #2B2A29;
    text-align: right;
    margin: 35px 0 15px;
}

/* פסקאות */
.sectionContent p {
    font-size: 18px;
    line-height: 1.8;
    text-align: right;
    margin: 0 0 20px;
}

/* רשימות */
.sectionContent ul,
.sectionContent ol {
    direction: rtl;
    text-align: right;
    margin: 15px 0 25px;
    padding-right: 28px;
    padding-left: 0;
}

.sectionContent li {
    font-size: 18px;
    line-height: 1.8;
    text-align: right;
    margin-bottom: 7px;
    padding-right: 4px;
}

/* קישורים */
.sectionContent a {
    color: #0000ee;
    text-decoration: underline;
}

/* תמונות */
.sectionContent img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 25px auto 30px;
}

/* כיתוב מודגש */
.sectionContent strong {
    font-weight: 700;
}

/* הסרת רווח מיותר מהאלמנט הראשון */
.sectionContent > *:first-child {
    margin-top: 0;
}

/* מובייל */
@media (max-width: 768px) {
    .sectionContent {
        font-size: 17px;
        line-height: 1.75;
    }

    .sectionContent h2 {
        font-size: 25px;
        margin-top: 35px;
    }

    .sectionContent h3 {
        font-size: 21px;
        margin-top: 28px;
    }

    .sectionContent p,
    .sectionContent li {
        font-size: 17px;
    }

    .sectionContent ul,
    .sectionContent ol {
        padding-right: 22px;
    }
}