/** Shopify CDN: Minification failed

Line 288:2 "max-wdth" is not a known CSS property
Line 403:0 Unexpected "}"

**/
.custom-blog-slider {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  position: relative;
  flex-wrap: nowrap;
  max-width: 100%;
  overflow: hidden;
  padding: 20px;
  padding-inline: var(--page-padding);
  padding-top: 60px;
  padding-bottom: 100px;
}

.custom-main-post {
  width: 65vw;
  height: 65vw;
  max-width: 500px;
  max-height: 500px;
  position: relative;
  z-index: 1;
}

.custom-main-post::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease-in-out;
  pointer-events: none;
  z-index: 2;
  border-radius: 10px;
}

.custom-main-post:hover::after {
  background: rgba(0, 0, 0, 0.2) !important;
}

.custom-main-post h2{
  font-size: 24px;
  width: calc(100% - 20px); 
  white-space: normal; 
  color: white;
  word-wrap: break-word; 
  overflow: hidden; 
  text-overflow: ellipsis; 
  font-family: var(--font-pcard-title-family);
  font-style: var(--font-pcard-title-style);
  font-weight: var(--font-pcard-title-weight);
}

.custom-main-post p{
  font-size: 12px;
  width: calc(100% - 20px); 
  white-space: normal; 
  color: white;
  word-wrap: break-word;
  overflow: hidden; 
  text-overflow: ellipsis;
  font-family: var(--font-pcard-title-family);
  font-style: var(--font-pcard-title-style);
  font-weight: var(--font-pcard-title-weight);
}

.custom-main-post img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.custom-main-post-info {
  position: absolute;
  bottom: 10%;
  left: 10px;
  color: white;
  padding: 10px;
  border-radius: 5px;
  font-family: var(--font-pcard-title-family);
  font-style: var(--font-pcard-title-style);
  font-weight: var(--font-pcard-title-weight);
}

.custom-blog-slider .swiper-container {
  position: relative;
  flex: 1;
  max-width: 70%; /* was 45% */
  height: auto;
  overflow: hidden;
  margin-left: -8%; /* was -5% */
  z-index: 5;
}

.custom-blog-slider .swiper-container .swiper-wrapper {
  display: flex;
  white-space: nowrap;
  transition: transform 0.3s ease-in-out; 
  will-change: transform;
}

.custom-blog-slider .swiper-container .swiper-slide {
  width: 25vw !important;
  height: 25vw;
  max-width: 350px;
  max-height: 350px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s;
  position: relative;
  overflow: visible;
}

.custom-blog-slider .swiper-container .swiper-slide {
  pointer-events: auto !important;
}

.custom-blog-slider .swiper-container .swiper-slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease-in-out;
  pointer-events: none;
  z-index: 2;
  border-radius: 10px;
}

.custom-blog-slider .swiper-container .swiper-slide a {
  height: 100%;
  width: 100%;
}

.custom-blog-slider .swiper-container .swiper-slide img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.custom-blog-slider .swiper-container .swiper-wrapper .swiper-slide:hover::after {
  background: rgba(0, 0, 0, 0.2) !important;
}

.custom-blog-slider .swiper-container .swiper-pagination-bullet::after {
  background: #A89E9B !important;
  
}

.custom-slide-info {
  position: absolute;
  bottom: 10%;
  color: white !important;
  padding: 10px;
  border-radius: 5px;
  width: calc(100% - 20px);
  white-space: normal;
  word-wrap: break-word;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-pcard-title-family);
  font-style: var(--font-pcard-title-style);
  font-weight: var(--font-pcard-title-weight);
}

.custom-slide-info h3{
  color: white;
  font-family: var(--font-pcard-title-family);
  font-style: var(--font-pcard-title-style);
  font-weight: var(--font-pcard-title-weight);
}

.custom-blog-slider .swiper-container .custom-swiper-button-container .swiper-button-prev, 
.custom-blog-slider .swiper-container .custom-swiper-button-container .swiper-button-next {
  position: absolute !important;
  transform: translateY(-260%) !important;
  top: 40% !important;
  width: 40px;
  height: 40px;
  display: flex !important;
  justify-content: center;
  align-items: center;
  color: black;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  border: 0;
}

.custom-blog-slider .swiper-container .custom-swiper-button-container .swiper-button-prev{
  left: auto !important;
  right: calc(-5% + 40px + 10px) !important;
  background-color: rgba(234,233,231,1);
}

.custom-blog-slider .swiper-container .custom-swiper-button-container .swiper-button-next{
  background-color: rgba(234,233,231,1);
  right: -5% !important;
}

.custom-blog-slider .swiper-container .custom-swiper-button-container .swiper-button-prev:hover,
.custom-blog-slider .swiper-container .custom-swiper-button-container .swiper-button-next:hover {
  background-color: rgba(167,157,155,1) !important;
  border-color: rgba(167,157,155,1) !important;
}

.custom-blog-slider .swiper-container .custom-swiper-button-container .swiper-button-prev span,
.custom-blog-slider .swiper-container .custom-swiper-button-container .swiper-button-next span {
  font-size: 24px;
}


.custom-blog-slider .swiper-container .custom-swiper-button-container .swiper-button-prev::before {
  content: "←";
  font-size: 24px;
  font-weight: bold;
  color: rgba(168,158,155,1)  !important;
}

.custom-blog-slider .swiper-container .custom-swiper-button-container .swiper-button-prev:hover::before {
  content: "←";
  font-size: 24px;
  font-weight: bold;
  color: rgba(235,234,231,1)  !important;
}

.custom-blog-slider .swiper-container .custom-swiper-button-container .swiper-button-next::before {
  content: "→";
  font-size: 24px;
  font-weight: bold;
  color: rgba(168,158,155,1)  !important;
}

.custom-blog-slider .swiper-container .custom-swiper-button-container .swiper-button-next:hover::before {
  content: "→";
  font-size: 24px;
  font-weight: bold;
  color: rgba(235,234,231,1)  !important;
}

.custom-blog-slider .swiper-container .custom-swiper-button-container .swiper-pagination {
  flex-grow: 1;
  display: flex;
  gap: 5px;
  width: auto !important;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  transform: translateY(-600%);
  left: 35%;
  bottom: 45px;
}

.custom-blog-slider .swiper-container .custom-swiper-button-container .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #EBEAE7;
  border-radius: 50%;
  transition: background 0.3s ease-in-out, transform 0.3s ease-in-out;
  opacity: 1;
}

.custom-blog-slider .swiper-container .swiper-pagination-bullet-active {
  background: #EBEAE7 !important;
  opacity: 1 !important;
}

.custom-swiper-button-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 90%;
  max-wdth: 900px;
  margin: auto;
}

.mobile-only {
  display: none !important;
}

@media (max-width: 768px) {

  .mobile-only {
    display: block !important;
  }

  .custom-main-post {
    display: none !important;
  }

  .custom-blog-slider {
    display: flex;
    flex-direction: row; /* Ensure side-by-side */
    align-items: center;
    justify-content: center;
    padding: 20px;
    padding-inline: var(--page-padding);
    height: auto; /* Allow it to grow naturally */
    overflow: visible;
    gap: 10px; /* Optional: adjust spacing */
  }
  .custom-main-post {
    width: 45vw;
    height: 45vw;
    max-width: 100%;
    position: relative;
    z-index: 1;
  }
  .custom-main-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
  }
  .custom-blog-slider .swiper-wrapper {
    display: flex;
    white-space: nowrap;
    height: 60vw;
  }
  
  .custom-blog-slider .swiper-container .swiper-wrapper .swiper-slide {
    width: 45vw !important;
    height: 45vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
    margin-right: 10px !important;
  }

  .custom-blog-slider .swiper-container {
    width: 45vw;
    height: 45vw;
    max-width: 100%;
    position: relative;
    margin-left: 0; /* remove overlap */
    top: auto;
    transform: none;
    z-index: 1;
    overflow: hidden;
  }
  
  .custom-main-post h2{
    font-size: 8px !important;
    width: calc(100% - 20px); 
    white-space: normal; 
    color: white;
    word-wrap: break-word; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    display: none !important;
  }
  
  .custom-main-post p{
    font-size: 10px !important;
    width: calc(100% - 20px); 
    white-space: normal; 
    color: white;
    word-wrap: break-word;
    overflow: hidden; 
    text-overflow: ellipsis;
    display: none !important;
  }

  .custom-slide-info h3 {
    display: block !important;
    font-size: 12px;
    color: white;
    margin-top: 5px;
    line-height: 1.2;
  }

}

  .custom-blog-slider .swiper-container .custom-swiper-button-container {
    display: none !important;
  }
  .custom-blog-slider .swiper-container .custom-swiper-button-container .swiper-button-prev,
  .custom-blog-slider .swiper-container .custom-swiper-button-container .swiper-button-next{
    display:none !important;
  }
  .custom-blog-slider .swiper-container .custom-swiper-button-container .swiper-pagination,
  .custom-blog-slider .swiper-container .custom-swiper-button-container .swiper-pagination-bullet {
    display: none !important;
  }
}