/*
* Next Chapter Recovery - Breadcrumb & Layout Component Styles
* Version: 1.0
*/

/* Breadcrumb Styles */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0.75rem 0;
  margin-bottom: 1rem;
  list-style: none;
  background-color: transparent;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  color: var(--color-white);
  font-size: 0.9rem;
}

.breadcrumb-item a {
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.breadcrumb-item + .breadcrumb-item {
  padding-left: 0.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  display: inline-block;
  padding-right: 0.5rem;
  color: var(--color-white);
  content: "/";
}

.breadcrumb-item.active {
  color: var(--color-primary);
}

/* Page Banner Styles */
.page-banner {
  position: relative;
  padding: 6rem 0 3rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-white);
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 17, 40, 0.7);
}

.banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.banner-content h1 {
  margin-bottom: 1rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-white);
}

/* Layout Grid System */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, 
.col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.col {
  flex-basis: 0;
  flex-grow: 1;
  max-width: 100%;
}

.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* Two Column Layout Fix */
.two-column-layout {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.two-column-layout .column {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 15px;
  margin-bottom: 2rem;
}

/* Section Styles */
.section {
  padding: 4rem 0;
}

.section-title {
  margin-bottom: 2rem;
  text-align: center;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 800px;
  margin: 0 auto;
}

/* Responsive Styles */
@media (min-width: 576px) {
  .banner-content h1 {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .two-column-layout .column {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .banner-content {
    text-align: left;
  }
  
  .page-banner {
    padding: 8rem 0 4rem;
  }
}

@media (min-width: 992px) {
  .section {
    padding: 6rem 0;
  }
  
  .banner-content h1 {
    font-size: 3.5rem;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: var(--container-max-width);
  }
}