/* Embla Carousel Styles */
.embla {
    position: relative;
    max-width: 5000px;
    margin: auto;
    overflow: hidden;
}
.embla__viewport {
    overflow: hidden;
    width: 100%;
}
.embla__container {
    display: flex;
    position: relative;
}
.embla__slide {

}
.embla__slide.active {
    display: block;
}
.embla__slide img {
    height: 100%;
    display: block;
    max-width: 2700px;
    object-fit: cover;
    width: 100%;
}
.slide-img {
    width: 100vw;
    height: 100%;
}
.thumbnails {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-left: -5px;
    margin-right: -5px;
}
.thumbnail {
       width: 33%;
    display: flex;
    margin: 0 5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    border-top: 3px solid hsl(0deg 0% 100% / 38%);
    padding-top: 20px;
    
}
.thumbnail img {
    width: 66px;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    float: left;
}
.thumbnail.active {
    border-top: 3px solid white;
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: #018A60;
 
}
.controls {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}
.prev, .next {
    cursor: pointer;
    background: black;
    color: white;
    padding: 10px;
    border: none;
    position: absolute;
    top: 50px;
    left: 50px;
    display: none;
}
.next {
    left: 100px;
}
.prev:focus, .next:focus {
    outline: 2px solid red;
}
 .progress-bar {
    display: none;
 }
.autoplay-slider .progress-bar{
    display: block;
 }
  .autoplay-slider  .progress-bar{
    opacity: 0;
 }
 .autoplay-slider .active .progress-bar{
    opacity: 1;
 }
 .autoplay-slider .thumbnail {
    border-top: 0;
}
.autoplay-slider .progress-container {
    width: 100%;
    height: 4px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    right: 0;
    background: hsl(0deg 0% 100% / 44%);
}
.autoplay-slider .active .progress-container {
    background: #fff;
}
 .embla__slide {
    position: relative;
}
.slide-content {
    position: absolute;
    bottom: 170px;
    left: 50px;
    width: calc(100% - 100px);
    max-width: 924px;
}
 .slide-content h2 {
    font-size: 36px;
    color: #FFFFFF !important;
    line-height: 1.3em;
    text-shadow: 0em 0em 1.15em #000000;
    font-family: trajan-pro-3, serif;
    font-weight: 700 !important;
}
 .slide-content p {
    font-size: 18px;
    color: #FFFFFF !important;
    line-height: 1.6em;
    text-shadow: 0em 0em 0.3em rgba(0, 0, 0, 0.4);
    padding-bottom: 15px;
    margin-bottom: 10px;
}
.thumbnail-title {
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    line-height: 1.4em;
    text-align: left;
    text-shadow: 0em 0em 0.3em rgba(0, 0, 0, 0.4);
    color: hsl(0deg 0% 100% / 72%);
    font-family: trajan-pro-3, serif;
    font-weight: 700 !important;
    font-size: 21px;
    padding-left: 10px;
    transition: color 1s ease;
}
.thumbnail:hover .thumbnail-title {
    color: white;
    transition: color .5s ease;
}

.active .thumbnail-title {
    color: white;
}

 .thumbnail-section {
    position: absolute;
    bottom: 30px;
    left: 50px;
    width: calc(100% - 100px);
}
.slide-shade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    width: 100%;
    /* background: black; */
    background: rgb(0 0 0 / 50%);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4906556372549019) 53%, rgba(0, 0, 0, 0.821187850140056) 100%);
}

.slide-button {
    color: #FFFFFF !important;
    border-color: #018A60;
    border-radius: 6px;
    font-size: 14px;
    background-color: #018A60;
    padding-top: 10px !important;
    padding-right: 20px !important;
    padding-bottom: 10px !important;
    padding-left: 20px !important;
    font-weight: 500;
    line-height: 1.7em !important;
    margin-top: 15px;
    display: inline-block;
        align-items: center;
    display: inline-flex
}
.slide-button:after {
    content: "E";
    line-height: inherit;
    /* font-size: inherit !important; */
    opacity: 1;
    margin-left: 10px;
    left: auto;
    font-family: ETmodules !important;
    /* font-weight: 600 !important; */
    font-size: 20px;
    padding-left: 5px;
    /* display: block; */
}
@media only screen and (max-width: 1300px) {
 .thumbnail-title {
font-size: 18px;
}
}
@media only screen and (max-width: 992px) {
 
        .thumbnail-title {
        /* display: none; */
        font-weight: 600 !important;
        font-size: 14px;
    }
}
@media only screen and (max-width: 768px) {
 
       
    .thumbnail img,  .thumbnail-title {
        display: none;
    }
    .slide-content {
    bottom: 80px;
    }
     .slide-content h2 {
    font-size: 28px;
}
}
@media only screen and (max-width: 600px) {
   .slide-content p {
    display: none;
   }
   .thumbnail-section {
        bottom: 5px;
   }
        .slide-content {
        bottom: 50px;
    }
    .slide-content h2 {
        font-size: 24px;
        margin-bottom: 0;
    }
}

/* ───────────────────────────────────────────────
   MOBILE TEASER FEED  ( .custom-posts-feed … )
   ─────────────────────────────────────────────── */
.custom-posts-feed{
    display:none;            /* hidden by default → shown via mobile MQ */
    padding:0 0 20px 0;
    max-width:768px;
    margin:auto;
}

.mobile-hero{position:relative;}
.mobile-hero picture img{width:100%;height:auto;display:block;}
.teaser-img
 {
    width: 40%;
    height: 100px;
}
.mobile-hero .content{padding:30px 25px;}
.mobile-hero h2{
    color: #333;
        font-size: 28px;
    line-height: 1.3em;
    font-family: trajan-pro-3, serif;
    font-style: normal;
    font-weight: 500;
}

.mobile-hero p{font-family: nimbus-sans, sans-serif;font-size:16px;line-height:1.6em;margin-bottom:15px;}
.mobile-hero .btn{
    display:inline-flex;align-items:center;justify-content:center;
    background:#018A60;color:#fff;border:0;border-radius:6px;
    font-size:14px;font-weight:500;padding:10px 20px;text-decoration:none;
}

.rolex-promo {
    background-color: #00603a;
    padding-top: 10px;
    padding-bottom: 2px;
    text-align: center;
}
.mobile-teaser{
    display:flex;align-items:center;gap:15px; 
    border-bottom:1px solid #E4E4E4;
    padding: 30px 25px;
}
.mh-background {
    height: 280px;
}
.mobile-teaser img{width:110px;height:auto;object-fit:cover;border-radius:4px;}
.mobile-teaser h3, .mobile-teaser h2{
    color: #333333;
    font-size:16px;line-height:1.3em;
    margin:0; font-family: "nimbus-sans", sans-serif;
    font-weight: 400;
    padding-left: 15px;
    width: 60%;
      transition: color 0.3s ease-in-out;
}
.mobile-teaser h2:hover {
  color: #03603a;
}
.teaser-link{display:flex;align-items:center;text-decoration:none;color:inherit;width: 100%;}
.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #008765; /* Emerald green shade */
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-family: sans-serif;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.read-more-btn:hover {
  background-color: #006f54; /* Slightly darker on hover */
}

.arrow-icon {
  width: 6px;
  height: 6px;
  stroke: #fff;
}

@media only screen and (max-width: 992px) {
 
   
}
@media only screen and (max-width: 768px) {
 
 .teaser-img {
        background-size: cover !important;
        background-position: center center !important;
    }
 .mobile-teaser img {
    visibility: hidden;
 }
}
@media only screen and (max-width: 600px) {
 
}

/* ───────────────────────────────────────────────
   VISIBILITY  TOGGLES
   ─────────────────────────────────────────────── */
@media (max-width:768px){       /* phones & small tablets */
    .custom-posts-feed{display:block;}
    .embla-slider-canvas{display:none;}
}

@media (min-width:769px){       /* desktop & large tablets */
    .custom-posts-feed{display:none;}
    /* .embla-slider-canvas already visible by default */
}


section.mobile-hero a.read-more-btn.btn {
    color: #fff !important;
}