/* Page Banner Component */
/* Created to fix banner alignment and gradient issues */
/* Matches home page color scheme: #ff3131 primary color */

/* Banner Container Improvements */
.page-banner-container {
  position: relative;
  width: 100%;
  min-height: 300px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .page-banner-container {
    min-height: 250px;
  }
}

@media (max-width: 640px) {
  .page-banner-container {
    min-height: 220px !important;
  }
}

/* Updated Gradient Overlay to Match Home Page Theme */
.page-banner-overlay::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  /* Lighter primary color gradient for better aesthetics */
  background: linear-gradient(135deg,
    rgba(255, 49, 49, 0.7) 0%,     /* Primary color #ff3131 with reduced opacity */
    rgba(255, 102, 102, 0.65) 50%, /* Lighter mid-tone */
    rgba(255, 153, 153, 0.6) 100%  /* Even lighter end tone */
  );
}

/* Banner Content Container */
.page-banner-content {
  position: relative;
  z-index: 2;
  display: table;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.page-banner-inner {
  display: table-cell;
  vertical-align: middle;
  color: white;
  padding-top: 80px; /* Add proper spacing from top */
  padding-bottom: 40px;
}

@media (max-width: 768px) {
  .page-banner-inner {
    text-align: center !important;
    padding-top: 60px;
    padding-bottom: 30px;
  }
}

/* Banner Title Styling */
.page-banner-title {
  color: white !important;
  margin-bottom: 15px;
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1280px) {
  .page-banner-title {
    font-size: 42px;
  }
}

@media (max-width: 1024px) {
  .page-banner-title {
    font-size: 36px;
  }
}

@media (max-width: 640px) {
  .page-banner-title {
    font-size: 30px !important;
    margin-bottom: 5px !important;
  }
}

/* Breadcrumb Styling */
.page-banner-breadcrumb {
  margin-top: 10px;
}

@media (max-width: 768px) {
  .page-banner-breadcrumb {
    display: inline-block;
  }
}

.page-banner-breadcrumb ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-banner-breadcrumb li {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-family: 'Poppins', sans-serif;
  margin-right: 3px;
}

@media (max-width: 1024px) {
  .page-banner-breadcrumb li {
    font-size: 15px;
  }
}

.page-banner-breadcrumb li a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-banner-breadcrumb li a:hover {
  color: white;
}

.page-banner-breadcrumb li.active {
  color: white;
  font-weight: 500;
}

/* Breadcrumb separator */
.page-banner-breadcrumb li:not(:first-child):before {
  content: '\f105';
  font-family: 'Line Awesome Free';
  font-weight: 900;
  padding-left: 8px;
  padding-right: 8px;
  color: rgba(255, 255, 255, 0.7);
}

/* RTL Support */
[dir='rtl'] .page-banner-breadcrumb li {
  margin-left: 3px;
  margin-right: 0;
}

[dir='rtl'] .page-banner-breadcrumb li:not(:first-child):before {
  padding-right: 8px;
  padding-left: 8px;
}

/* Enhanced spacing and layout */
.page-banner-wrapper {
  position: relative;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .page-banner-wrapper {
    background-attachment: scroll;
  }
}

/* Improved container spacing */
.page-banner-container .container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: table;
  width: 100%;
}