/* ============================================
   BLOG LISTING PAGE STYLES
   ============================================ */

.blog-container {
  position: relative;
  background: url("../images/blogs/blogs-hero.jpg") lightgray 50% / cover no-repeat;
  min-height: 100vh;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: start;
  text-align: center;
}

.blog-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 0;
}

.blog-banner-content {
  padding-bottom: 110px;
}

.blog-banner-content h2 {
  color: var(--color-bw-white, #fff);
  font-family: Montserrat, sans-serif;
  font-size: 60px;
  font-style: normal;
  font-weight: 600;
  line-height: 68px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.blog-banner-content p {
  color: var(--color-bw-white, #fff);
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 28.8px;
  width: 549px;
}

.blog-section .card-section {
  padding: 80px 0px;
}

.blog-section .custom-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
  border: none;
  height: 530px;
  background: #c4996c;
  text-decoration: none;
}

.blog-section .custom-card .image-wrap {
  height: 416px;
  overflow: hidden;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

.blog-section .custom-card .image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  transition: transform 0.4s ease;
}

.blog-section .custom-card:hover .image-wrap img {
  transform: scale(1.05);
}

.blog-section .custom-card .card-footer-box {
  background: #c79b6a;
  color: #fff;
  text-align: center;
  min-height: 114px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-section .custom-card .card-footer-box h3 {
  color: var(--color-bw-white, #fff);
  text-align: center;
  font-family: Montserrat, sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  line-height: 36.484px;
  text-transform: uppercase;
  margin: 0;
}

/* Contact Banner */
.contact-banner {
  position: relative;
  background: url("../images/blogs/layout-bg.jpg") center center / cover no-repeat;
  min-height: 316px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.contact-banner .banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.banner-text h2 {
  color: #382213;
  font-family: Montserrat, sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.banner-text p {
  color: var(--color-bw-white, #fff);
  font-family: Montserrat, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 36px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  height: 48px;
  padding: 0 8px 0 16px;
  border-radius: 999px;
  background: #613f1a;
  text-decoration: none;
  color: #e3c29f;
  font-family: Montserrat, sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  transition: 0.3s ease;
  box-shadow: 0 8px 18px rgba(90, 53, 24, 0.2);
}

.contact-btn:hover {
  background: #5f3818;
  color: #fff;
}

.banner-text {
  padding-left: 70px;
}

.contact-btn .icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #b08a5a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
}

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

.single-blog-page-hero {
  position: relative;
  background: #ececec;
  overflow: hidden;
  min-height: 100vh;
}

.single-blog-page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #c79a66;
}

.single-blog-page-hero .accent-block {
  position: absolute;
  top: 160px;
  left: 0;
  width: 80px;
  height: 24px;
  background: #c79a66;
}

.single-blog-page-hero .content {
  margin-top: 200px;
  width: 914px;
  margin-left: auto;
  margin-right: auto;
}

.single-blog-page-hero h1 {
  color: #3b3b3b;
  font-family: Montserrat, sans-serif;
  font-size: 59px;
  font-style: normal;
  font-weight: 500;
  line-height: 68px;
  letter-spacing: 0.59px;
  text-transform: uppercase;
}

.single-blog-page-hero p {
  color: #3b3b3b;
  font-family: Montserrat, sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 28.8px;
}

.hero-image {
  margin-top: 25px;
}

.hero-image img {
  width: 80vw;
  height: 455px;
  display: block;
  object-fit: cover;
}

/* Blog Content Sections */
.blog-custom-home-section {
  display: flex;
  align-items: stretch;
  background: #e7e6e4;
  padding-top: 128px;
}

.blog-custom-home .banner {
  width: 100vw;
  height: 383px;
  margin-left: calc(50% - 50vw);
  background: #e7e6e4;
}

.blog-custom-home .banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-footer-image {
  width: 100%;
  height: 649px;
}

.blog-footer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* LEFT CONTENT */
.blog-custom-home-section .content {
  width: 60%;
  padding: 80px 116px;
}

.blog-custom-home-section .content.pb-0 {
  padding-bottom: 0 !important;
}

.blog-custom-home-section.pt-0 {
  padding-top: 0 !important;
}

.blog-custom-home-section .block {
  margin-bottom: 60px;
  position: relative;
  display: flex;
  column-gap: 37px;
}

.blog-custom-home-section .block .icon {
  flex-shrink: 0;
}

.blog-custom-home-section .block .icon img {
  width: 80px;
  height: 43px;
  display: block;
}

.blog-custom-home-section .block h2 {
  color: #3b3b3b;
  font-family: Montserrat, sans-serif;
  font-size: 36px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.blog-custom-home-section .block h2 span {
  font-weight: 400;
  color: #3b3b3b;
}

.blog-custom-home-section .block p {
  color: #3b3b3b;
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 27px;
}

.blog-custom-home-section .block ul {
  margin: 0 0 20px 24px;
  padding: 0;
}

.blog-custom-home-section .block ul li {
  color: #3b3b3b;
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 27px;
  margin-bottom: 6px;
}

/* RIGHT IMAGE */
.blog-custom-home-section .image {
  width: 40%;
  height: 788px;
}

.blog-custom-home-section .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Builder Text Section (Blog 2) */
.builder-text-content {
  max-width: 790px;
  font-family: "Montserrat", sans-serif;
  color: #4b4b4b;
  line-height: 1.45;
}

.builder-text-content .intro,
.builder-text-content .outro,
.builder-text-content ul li {
  font-size: 17px;
  font-weight: 400;
}

.builder-text-content .intro {
  margin-bottom: 20px;
}

.builder-text-content ul {
  margin: 0 0 20px 24px;
  padding: 0;
}

.builder-text-content ul li {
  margin-bottom: 6px;
}

.builder-text-content .outro {
  margin: 0;
}

/* Blog 3 Content Box Styles */
.blog-custom-home-section .content-box {
  max-width: 900px;
}

.blog-custom-home-section .point {
  margin-bottom: 34px;
}

.blog-custom-home-section .point-title {
  color: #3b3b3b;
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 27px;
}

.blog-custom-home-section .point p {
  color: #3b3b3b;
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 27px;
}

.blog-custom-home-section .point p:last-child {
  margin-bottom: 0;
}

.blog-custom-home-section .techniques-box {
  max-width: 860px;
}

.blog-custom-home-section .technique-item {
  margin-bottom: 30px;
}

.blog-custom-home-section .technique-title {
  color: #3b3b3b;
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 27px;
}

.blog-custom-home-section .technique-title::before {
  content: "\2022 ";
  font-weight: 700;
  margin-right: 2px;
}

.blog-custom-home-section .technique-item p {
  color: #3b3b3b;
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 27px;
}

.blog-custom-home-section .technique-item p:last-child {
  margin-bottom: 0;
}

/* Blog page header style */
.blog-page-header {
  background: rgba(0, 0, 0, 0.40);
  box-shadow: 0 5px 68px 0 rgba(0, 0, 0, 0.25);
}

.single-blog-page-header {
  background: #C4996C;
  box-shadow: 0 5px 68px 0 rgba(0, 0, 0, 0.25);
}

.single-blog-page-header .logo {
  width: 100%;
  text-align: center;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 991.98px) {
  .contact-banner {
    padding: 30px 0;
  }

  .banner-text {
    text-align: center;
  }

  .banner-text h2 {
    font-size: 1.8rem;
  }

  .banner-text p {
    font-size: 1rem;
  }

  .blog-section .custom-card .card-footer-box h3 {
    font-size: 16px;
  }
}

@media (max-width: 767.98px) {
  .blog-section .custom-card .image-wrap {
    height: 260px;
  }

  .blog-section .custom-card {
    height: 375px;
  }

  .blog-banner-content {
    padding-bottom: 0px;
  }

  .contact-banner {
    position: relative;
    background: url("../images/blogs/layout-bg.jpg");
    background-size: cover;
    min-height: 228px;
  }

  .banner-text {
    text-align: left !important;
    padding-left: 0px;
  }

  .banner-text h2 {
    color: #382213;
    font-family: Montserrat, sans-serif;
    font-size: 29px;
    font-weight: 600;
  }

  .banner-text p {
    color: var(--color-bw-white, #fff);
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 26.193px;
  }

  .contact-btn {
    font-size: 1rem;
  }

  /* Single Blog Responsive */
  .single-blog-page-hero h1 {
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: -0.54px;
  }

  .single-blog-page-hero p {
    font-size: 14px;
    font-weight: 500;
    line-height: 21.073px;
  }

  .hero-image img {
    width: 100%;
    height: 200px;
    padding: 0px 30px;
    object-fit: cover;
  }

  .single-blog-page-header .logo {
    width: 100%;
    text-align: start;
  }

  .single-blog-page-hero {
    background: #e7e6e4;
  }

  .single-blog-page-hero .accent-block {
    top: 200px;
    width: 50px;
    height: 16px;
  }

  .blog-custom-home-section {
    padding-top: 0px;
    flex-direction: column;
  }

  .blog-custom-home-section .block {
    flex-direction: column;
  }

  .blog-custom-home-section .content {
    width: 100% !important;
    padding: 40px 30px !important;
    padding-bottom: 0px !important;
  }

  .blog-custom-home-section .image {
    width: 100%;
    height: 100%;
  }

  .blog-custom-home .banner {
    width: 100vw;
    height: 235px;
    margin-left: calc(50% - 50vw);
    padding-top: 50px;
  }

  .blog-footer-image {
    width: 100%;
    height: 235px;
    padding-top: 40px;
    background: #e7e6e4;
  }

  .single-blog-page-hero .content {
    margin-top: 97px;
    width: 100%;
  }

  .blog-custom-home-section .block .icon img {
    margin-left: -31px;
  }

  .blog-custom-home-section .block h2 {
    margin-top: 10px;
    font-size: 20px !important;
  }

  .blog-custom-home-section .block p {
    font-size: 14px !important;
  }
}

@media (max-width: 575.98px) {
  .blog-banner-content h2 {
    font-size: 26px;
    font-weight: 600;
    line-height: 38.048px;
    letter-spacing: -0.527px;
  }

  .blog-banner-content p {
    font-size: 18px;
    font-weight: 500;
    line-height: 28.8px;
    width: auto;
  }

  .blog-container {
    min-height: 533px;
  }

  .blog-section .custom-card {
    height: 375px;
  }
}
