body {
  overflow-y: scroll;
  overflow-x: hidden;
}

.top-full-row {
  font-family: 'Nunito Sans', sans-serif!important;
}

/* HEADER BANNER */

.not-front .region-top-full-row {
  position: relative;
}

.backpages-banner-wrapper,
.view-backpage-banner .views-field-field-images > .field-content {
  position: relative;
  margin-bottom: 0;
}

.backpages-banner-wrapper:before,
.view-backpage-banner .views-field-field-images > .field-content:before {
  content: "";
  background-color: rgba(39,36,68,0.7);
  position: absolute;
  height: 100%;
  width: 100%;
}

.backpages-banner-wrapper .img-wrap img,
.view-backpage-banner .views-field-field-images > .field-content .img-wrap img {
  height: 150px;
  object-fit: cover;
  object-position: left;
}

.container {
  width: 100%;
  padding-right: 10px;
  padding-left: 10px;
  margin-right: auto;
  margin-left: auto;
}

.container {
  max-width: 1200px;
  width: 100%;
}

.backpages-banner-wrapper .container,
.view-backpage-banner .views-field-field-images > .field-content .container {
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.backpages-banner-wrapper h1.title,
.view-backpage-banner .views-field-field-images > .field-content h1.title {
  position: absolute;
  top: 0;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  color: #ffffff !important;
  align-items: center;
  margin: 0;
  padding: 0 15px;
}

.not-front h1.title {
  font-size: 18px;
  font-weight: 400;
  text-align: left;
  padding: 50px 0 30px;
  color: #983738;
  text-transform: uppercase;
}

.backpages-banner-wrapper h1.title span,
.view-backpage-banner .views-field-field-images > .field-content h1.title span {
  margin-left: 8px;
}

.not-front .block-system-breadcrumb-block {
  margin: 0 auto 25px;
  max-width: 1200px;
  width: 100%;
  padding: 0 10px;
}

.breadcrumb {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  list-style: none;
  background-color: #e9ecef;
  border-radius: 0.25rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  display: inline-block;
  padding-right: 0.5rem;
  padding-left: 0.5rem;
  color: #6c757d;
  content: "/";
}

.breadcrumb-item + .breadcrumb-item:hover::before {
  text-decoration: underline;
}

.breadcrumb-item + .breadcrumb-item:hover::before {
  text-decoration: none;
}

.breadcrumb-item.active {
  color: #6c757d;
}

/* MAIN CONTENT */

.layout-main-wrapper {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
}

.main-content {
  padding: 0;
}

.section {
  padding: 0;
}

/* PARAGRAPH STYLES */

.paragraph {
  margin-bottom: 2rem;
}

.paragraph--type--image-and-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.paragraph--type--image-and-text .field--name-field-image {
  flex: 0 0 40%;
  max-width: 40%;
}

.paragraph--type--image-and-text .field--name-field-content {
  flex: 0 0 55%;
  max-width: 55%;
}

.paragraph--type--image-and-text.image-right {
  flex-direction: row-reverse;
}

.paragraph--type--text-only {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.paragraph--type--two-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.paragraph--type--two-blocks .field__item {
  flex: 0 0 calc(50% - 1rem);
  max-width: calc(50% - 1rem);
}

.paragraph--type--blocks {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
  height: 100%;
}

/* TYPOGRAPHY */

.field--name-field-title {
  font-size: 24px;
  font-weight: 600;
  color: #b64243;
  margin-bottom: 1rem;
  text-align: center;
}

.title-center .field--name-field-title {
  font-size: 28px;
  margin-bottom: 1.5rem;
}

.field--name-field-content p {
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 16px;
  color: #333;
}

.field--name-field-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.field--name-field-content li {
  line-height: 1.6;
  margin-bottom: 0.5rem;
  color: #333;
}

.field--name-field-content strong {
  color: #b64243;
  font-weight: 600;
}

/* IMAGE STYLES */

.img-wrap {
  overflow: hidden;
  border-radius: 8px;
}

.img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* CONTACT BOX */

.contact-info-box {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 5px;
  margin: 20px 0;
  border-left: 4px solid #b64243;
}

.contact-info-box p {
  margin-bottom: 0.5rem;
}

.contact-info-box a {
  color: #b64243;
  text-decoration: none;
  font-weight: 500;
}

.contact-info-box a:hover {
  text-decoration: underline;
}

/* RESPONSIVE DESIGN */

@media (max-width: 768px) {
  .paragraph--type--image-and-text {
    flex-direction: column;
  }
  
  .paragraph--type--image-and-text .field--name-field-image,
  .paragraph--type--image-and-text .field--name-field-content {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .paragraph--type--two-blocks .field__item {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .title-center .field--name-field-title {
    font-size: 24px;
  }
  
  .field--name-field-title {
    font-size: 20px;
  }
  
  .field--name-field-content p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .backpages-banner-wrapper h1.title,
  .view-backpage-banner .views-field-field-images > .field-content h1.title {
    font-size: 16px;
    padding: 0 10px;
  }
  
  .title-center .field--name-field-title {
    font-size: 22px;
  }
  
  .field--name-field-title {
    font-size: 18px;
  }
  
  .field--name-field-content p {
    font-size: 14px;
  }
  
  .paragraph--type--blocks {
    padding: 1.5rem;
  }
}
