/* =========================
   FULL WIDTH BREAKOUT (SAFE)
========================= */

.hec-slider-fullwidth {
	position: relative;

	/* full width breakout WITHOUT overflow bug */
	width: 100vw;
	margin-left: calc(50% - 50vw);

	/* prevents horizontal scroll bug */
	overflow-x: clip;
}

/* fallback for older browsers */
@supports not (overflow: clip) {
	.hec-slider-fullwidth {
		overflow-x: hidden;
	}
}

/* =========================
   TOP NAV BUTTONS
========================= */

.hec-slider-nav {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	padding: 0;
    position: absolute;
    right: 0;
    top: -60px;
}

.hec-slider-nav button {
	border-radius: 50%;
	border: none;
	cursor: pointer;
	z-index: 10;
    background-color: transparent !important;
    padding: 0 !important;
    border: 0 !important;
}
 
.hec-slider-nav button svg path {
    transition: fill 0.3s ease, stroke 0.3s ease, opacity 0.3s ease;
}

.hec-slider-nav button:hover svg path {
    fill: var(--e-global-color-cd0c6e9);
    stroke: var(--e-global-color-cd0c6e9);
    opacity: 1;
}
/* =========================
   SLICK CORE FIXES
========================= */

.hec-post-slider .slick-list {
	overflow: visible; /* needed for peek effect */
}

.hec-post-slider .slick-track {
	display: flex !important;
}

.hec-post-slider .slick-slide {
	padding: 0 10px;
	box-sizing: border-box;
}

/* IMPORTANT: prevent slick from expanding layout width */
.hec-post-slider {
	max-width: 100vw;
}


.hec-post-slider {
    overflow: visible;
    padding-right: 100px; /* 👈 RIGHT SIDE PEEK ONLY */
    box-sizing: border-box;
}

.hec-post-slider .slick-list {
    overflow: visible;
}

.hec-post-slider .hec-slide {
    margin-right: 16px;
}

.hec-post-slider img {
    border-radius: 20px !important;
}

.hec-post-slider h3 {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.1em;
    text-transform: uppercase;
    text-align: center;
    color: var(--e-global-color-dea8e88);
    margin-top: 30px;
}

.hec-post-slider .hec-slide a  { 
    position: relative;
}
.hec-post-slider {
    margin-top: 45px;
}
.hec-post-slider .badge {
    color: var(--e-global-color-dea8e88);
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: 1em; 
    text-transform: uppercase;
    position: absolute;
    z-index: 1;
    background:  var(--e-global-color-primary);
    padding: 10px;
    border-radius: 10px;
    top: 10px;
    left: 10px;
}

.hec-slide-image {
    position: relative;
    overflow: hidden;
}

.posts-3-per-slide .image-container {
    height: 344px;
}
 
.hec-post-slider .image-container img { 
    display: block;
    width: 100% !important;
    height: 344px !important;
    object-fit: cover;
    object-position: center;
}

.posts-3-per-slide .hec-post-slider .image-container > img {
    position: absolute;
    bottom: 0;
}
.posts-3-per-slide .hec-post-slider .image-container  {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    padding-bottom: 20px;
}



.hec-post-slider .image-container {
    position: relative;
    border-radius: 20px;
}
.hec-post-slider .image-container ,
.hec-post-slider .image-container *
{ 
    transition: all 0.6s ease !important;
}

.hec-post-slider .blur img {
     filter: blur(3px);
    transform: scale(.95);
}
.hec-post-slider .hec-image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0 , 0, 0, .75);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #fff;
    text-align: center;
    font-family: "Work Sans";
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%; /* 24px */
    text-transform: uppercase;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
    height: 100%;
    border-radius: 20px;
    pointer-events: none;
    padding-left: 13%;
    padding-right: 13%;
}

.hec-post-slider .not-blur:hover,
.hec-post-slider .blur:hover  {
    transform: scale(1.08);
    box-shadow: 0 0 30px var(--e-global-color-primary);
}

 
.posts-3-per-slide .image-container  {
    overflow: hidden;
}
 
.posts-3-per-slide .image-container h3,
.posts-3-per-slide .image-container p 
{
    line-height: 1.1em;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    z-index: 1;
    margin-left: 20px;
}

.posts-3-per-slide .image-container h3 {
    font-size: 20px;
    text-align: left;

}
.posts-3-per-slide .image-container p {
    bottom: 14px;
    width: 75%;
    font-size: 14px;
}


.posts-3-per-slide .image-container h3,
.posts-3-per-slide .image-container p  {
    color: var(--e-global-color-e6232dc);
}

.posts-3-per-slide  .hec-post-slider .not-blur:hover,
.posts-3-per-slide  .hec-post-slider .blur:hover {
        transform: scale(1);
         box-shadow: none;
}

.posts-3-per-slide  .hec-post-slider .not-blur:hover img ,
.posts-3-per-slide  .hec-post-slider .blur:hover img {
  transform: scale(1.1);
}


 .hec-post-slider.is-first-load .hec-slide[data-slick-index="-1"],
 .hec-post-slider.is-first-load .hec-slide[data-slick-index="-2"],
 .hec-post-slider.is-first-load .hec-slide[data-slick-index="-3"],
 .hec-post-slider.is-first-load .hec-slide[data-slick-index="-4"],
 .hec-post-slider.is-first-load .hec-slide[data-slick-index="-5"],
 .hec-post-slider.is-first-load .hec-slide[data-slick-index="-6"],
 .hec-post-slider.is-first-load .hec-slide[data-slick-index="-7"],
 .hec-post-slider.is-first-load .hec-slide[data-slick-index="-8"],
 .hec-post-slider.is-first-load .hec-slide[tabindata-slick-indexdex="-9"],
 .hec-post-slider.is-first-load .hec-slide[data-slick-index="-10"]
{
    visibility: hidden !important;
}

.posts-3-per-slide .image-container {
    background-size: 100% !important;
}
.posts-3-per-slide .image-container:hover {
    background-size: 110% !important;
}

.posts-3-per-slide  .dark-overlay-gradient {
    background: linear-gradient(65deg, #000 1.25%, rgba(0, 0, 0, 0) 98.75%);
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.single-post .hec-slider-nav button svg path {
    fill : #18A0FB;
}
.single-post .hec-slider-nav button:hover svg path {
    stroke: #18A0FB;
    fill : #18A0FB;
}


@media screen and (max-width: 1366px) {
    .posts-3-per-slide .image-container,
    .posts-3-per-slide .image-container:hover { 
        background-size: cover !important;
    }
}


@media screen and (min-width: 601px) { 
    .hidden-arrows {
        display: none !important;
    }
}

@media screen and (max-width: 767px) {
    .hec-slider-nav {
       top: -55px;
    }
    .hec-slider-nav button svg path {
        fill: var(--e-global-color-c6d7e16) !important;
    }
    .hec-post-slider .slick-slide {
        padding: 0 5px;
    }
    
    .hec-post-slider {
        overflow: visible;
        padding-right: 50px; 
    }

    .posts-3-per-slide .image-container h3, 
    .posts-3-per-slide .image-container p {
        text-align: left;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}