@import url("https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600&family=Playfair+Display:wght@400;500;600&display=swap");

/* Blog-specific overrides */

/* The user's existing style: */
.navbar-container .navlogo .logo {
  width: 6vw;
}
.header {
  background: none;
}

/* 
  Use these classes to change the blog header/footer 
  without affecting the rest of the site's header/footer.
  Because the elements still use the <header> and <footer> tags, 
  they will inherit all the default styles automatically. 
*/

header.blog-header {
  /* Add your custom blog header CSS here */
  background: none;
  /* Since you want the header ON the banner image, we remove the position: relative */
}
.menu-txt {
  font-family: "Jost", sans-serif;
  gap: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}

.bars span {
  display: block;
  width: 100%;
  height: 1px;
  background-color: wheat;
}
.bars span:nth-child(2) {
  width: 70%;
  margin-left: auto;
  transition: 0.3s ease-in-out;
}
.bars:hover span {
  background-color: #fff;
}
.bars:hover span:nth-child(2) {
  width: 100%;
}

/* On scroll, the .dropped class is added to the header */
header.blog-header.dropped {
  background: #121110 !important;
}
.blog-header .navbar-container .menu {
  background: none !important;
}

/* Styles for the new banner section */
.blog-main-banner {
  /* Added a linear-gradient for the black overlay */
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("../assets/images/blog/blog-bg-palladina.webp");
  background-size: cover;
  background-position: center;
  height: 80vh;
  width: 100%;
  position: relative;
  /* Flexbox to center everything */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding-top: 60px; /* Offset to prevent overlap with the transparent header */
}

.banner-content {
  z-index: 2; /* Ensures text is above overlay */
}

.banner-subtitle {
  font-family: "Jost", sans-serif;
  font-size: 12px;
  background: linear-gradient(
    90deg,
    #b9803c 0.04%,
    #c0863f 21.36%,
    #d29746 52.72%,
    #f8bb57 90.12%,
    #f9bc57 90.77%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 3px;
  animation: rise 0.9s ease-out 0.2s forwards;
}

.banner-title {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: clamp(54px, 9vw, 108px);
  margin: 0px 0 18px !important;
  color: #fff;
  animation: rise 0.9s ease-out 0.4s forwards;
  opacity: 0;
}

@keyframes rise {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.banner-breadcrumb {
  font-size: 14px;
  animation: rise 0.9s ease-out 0.6s forwards;
}

.banner-breadcrumb .breadcrumb-home {
  background: linear-gradient(
    90deg,
    #b9803c 0.04%,
    #c0863f 21.36%,
    #d29746 52.72%,
    #f8bb57 90.12%,
    #f9bc57 90.77%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  font-weight: 500;
}

.banner-breadcrumb .breadcrumb-sep,
.banner-breadcrumb .breadcrumb-current {
  color: white;
  margin: 0 5px;
}

footer.blog-footer {
  /* Add your custom blog footer CSS here */
  /* background: #121110; */
}

.section-blogs {
  /* The banner naturally pushes this down now, so no huge padding is needed */
  /* padding-top: 20px; */
  padding: 0 0 0rem 0 !important;
  background-color: #f6f2ea;
}
.section-heading {
  padding: 0 0 1rem 0 !important;
}

.journal-heading {
  text-align: center;
}

.journal-subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Jost", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #c0863f;
  margin-bottom: 15px;
}

.journal-subtitle::before,
.journal-subtitle::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background-color: #c0863f;
  margin: 0 15px;
}

.journal-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(36px, 5vw, 56px);
  color: #0e2835;
  font-weight: 500;
  margin-bottom: 0 !important;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e0e0e0;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
}

.blog-date {
  font-size: 13px;
  color: #888;
  letter-spacing: 1px;
}

.blog-read-more {
  font-size: 13px;
  color: #111;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

.blog-read-more:hover {
  background: linear-gradient(
    90deg,
    #b9803c 0.04%,
    #c0863f 21.36%,
    #d29746 52.72%,
    #f8bb57 90.12%,
    #f9bc57 90.77%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* Ensure columns stretch equally */
.gallery-container .row > .col-md-4 {
  display: flex;
}

.blog-img {
  padding: 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.blog-img .project {
  display: flex;
  flex-direction: column;
  flex: 1; /* take up remaining space */
}

.blog-img .project-content {
  display: flex;
  flex-direction: column;
  flex: 1; /* stretch full height */
}

.blog-title {
  position: relative;
  flex: 1; /* stretches to fill remaining height */
  padding-bottom: 60px; /* Ensures space for the footer + 20px padding above the border line */
}

.blog-card-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  margin-top: 0 !important; /* overrides previous auto margin */
}

@media only screen and (max-width: 767px) {
  .section-blogs .gallery-container .row.g-4 {
    --bs-gutter-y: 0 !important; /* Removes Bootstrap's gutter entirely */
  }
  .section-blogs .gallery-container .row.g-4 > .col-md-4 + .col-md-4 {
    margin-top: -20px; /* Counteracts the visual gap created by transform: scale(0.9) */
  }
}
@media only screen and (max-width: 460px) {
  .navbar-container .navlogo .logo {
    width: 26vw;
  }
}
@media only screen and (max-width: 576px) {
  .navbar-container .navlogo .logo {
    width: 24vw;
  }
}
@media only screen and (max-width: 767px) {
  .navbar-container .navlogo .logo {
    width: 18vw;
  }
}
@media only screen and (max-width: 991px) {
  .navbar-container .navlogo .logo {
    width: 16vw;
  }
}
@media only screen and (max-width: 1200px) {
  .navbar-container .navlogo .logo {
    width: 23vw;
  }
}

.pagination .page-link {
  color: #111;
  font-family: "Jost", sans-serif;
  border: 1px solid #ddd;
  margin: 0 5px;
  border-radius: 4px;
  transition: 0.3s ease-in-out;
}
.pagination .page-item.active .page-link {
  background-color: #111;
  border-color: #111;
  color: #fff;
}
.pagination .page-link:hover {
  background: linear-gradient(
    90deg,
    #b9803c 0.04%,
    #c0863f 21.36%,
    #d29746 52.72%,
    #f8bb57 90.12%,
    #f9bc57 90.77%
  );
  border-color: #d29746;
  color: #fff;
}
.pagination .page-item.disabled .page-link {
  color: #aaa;
  background-color: #f9f9f9;
  border-color: #ddd;
  cursor: not-allowed;
}
.pagination .page-item.disabled .page-link:hover {
  background: #f9f9f9;
  border-color: #ddd;
  color: #aaa;
}

.load-more-container {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
}
.showing-count {
  font-family: "Jost", sans-serif;
  font-size: 13px;
  letter-spacing: 3px;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.load-more-btn {
  font-family: "Jost", sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  background: #111;
  border: none;
  padding: 12px 32px;
  border-radius: 4px;
  transition: 0.3s ease-in-out;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.load-more-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #b9803c 0.04%, #c0863f 21.36%, #d29746 52.72%, #f8bb57 90.12%, #f9bc57 90.77%);
  z-index: -1;
  transition: transform 0.4s ease-in-out;
  transform: translateX(-100%);
}
.load-more-btn:hover::before {
  transform: translateX(0);
}
.load-more-btn:hover {
  color: #fff;
}

.blog-footer {
  /* background: #121110 !important; */
}

