
/* Breadcrumb Styles */
.breadcrumb {
    padding: 10px 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
    margin: 20px auto;
    width: 70%; /* Match the width of .category-page */
  }
  
  .breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
  }
  
  .breadcrumb li {
    display: inline-block;
    margin: 0 5px;
    font-size: 0.9rem;
    color: #666;
  }
  
  .breadcrumb li:not(:last-child)::after {
    content: "›"; /* Add a separator between breadcrumb items */
    margin-left: 10px;
    color: #666;
  }
  
  .breadcrumb a {
    color: #0b175f;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .breadcrumb a:hover {
    color: #0056b3;
  }
  /* FAQ Hero Section */
.faq-hero {
    position: relative;
    width: 100%;
    height: 400px; /* Adjust height as needed */
    background: url('../img/articles/close-up-colors-construction-hands.jpg') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .faq-hero .hero-overlay {
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for contrast */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .faq-hero .hero-overlay h1 {
    color: #fff;
    font-size: 3rem;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px 40px;
    border-radius: 10px;
    text-align: center;
  }
  
  /* FAQ Page Styles */
  .faq-page {
    padding: 40px 20px;
    text-align: center;
    width: 70%;
    margin: 0 auto; /* Center the container */
  }
  
  .faq-page .page-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
  }
  
  .faq-page .page-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
  }
  
  /* FAQ List */
  .faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
  }
  
  .faq-item {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: right;
  }
  
  .faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }
  
  .faq-item h3 {
    font-size: 1.5rem;
    color: #0b175f;
    margin-bottom: 10px;
  }
  
  .faq-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 992px) {
    .faq-page {
      width: 90%; /* Increase width on smaller screens */
    }
  }


/* Main Content Styles */
body {
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

h1 {
  font-size: 2.2rem;
  color: #0b175f;
  text-align: center;
  margin: 30px auto;
  padding: 0 20px;
  max-width: 1200px;
}

.section {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
  margin: 20px auto;
  max-width: 1000px;
}

.section h2 {
  color: #0b175f;
  font-size: 1.6rem;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f0f0;
}

.section h3 {
  color: #1a2a80;
  font-size: 1.3rem;
  margin: 20px 0 10px;
}

.section p {
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: #444;
}

.section ol, .section ul {
  margin: 15px 0;
  padding-right: 20px;
}

.section li {
  margin-bottom: 10px;
  padding-right: 10px;
}

/* Warning Box */
.warning {
  background-color: #fff8f8;
  border-right: 4px solid #e74c3c;
  padding: 15px;
  margin: 20px 0;
  border-radius: 4px;
}

.warning h3 {
  color: #e74c3c;
  margin-top: 0;
}

/* Advantages List */
.advantages ul {
  list-style-type: none;
  padding: 0;
}

.advantages li {
  position: relative;
  padding-right: 25px;
  margin-bottom: 8px;
}

.advantages li::before {
  content: "✓";
  color: #27ae60;
  position: absolute;
  right: 0;
  font-weight: bold;
}

/* Paint Type Comparison */
.comparison {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 25px 0;
}

.paint-type {
  flex: 1;
  min-width: 300px;
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-top: 4px solid #0b175f;
}

.paint-type h3 {
  color: #0b175f;
  margin-top: 0;
  font-size: 1.3rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }
  
  .section {
    padding: 20px 15px;
  }
  
  .section h2 {
    font-size: 1.4rem;
  }
  
  .section h3 {
    font-size: 1.2rem;
  }
  
  .paint-type {
    min-width: 100%;
  }
}

/* RTL Specific Adjustments */
[dir="rtl"] .section ol, 
[dir="rtl"] .section ul {
  padding-right: 0;
  padding-left: 20px;
}

[dir="rtl"] .section li {
  padding-right: 0;
  padding-left: 10px;
}

[dir="rtl"] .advantages li {
  padding-right: 0;
  padding-left: 25px;
}

[dir="rtl"] .advantages li::before {
  right: auto;
  left: 0;
}

ol {
  list-style-position: inside;
}