
		.custom #popular-tags {
			margin-top:20px;
			height:365px;
			overflow:hidden;
			
		}
		@media screen AND (max-width:1024px) {
		.custom #popular-tags {
			margin-top:20px;
			height:212px;
			
		}
	}



		.custom  .swiper-container {
			width: 100%;
			/* max-width:1544px; */
			height: auto;
		}




		.custom .swiper-container .swiper-slide {
			text-align: center;
			font-size: 12px;
			-webkit-box-pack: center;
			-ms-flex-pack: center;
			justify-content: center;
			-webkit-box-align: center;
			-ms-flex-align: center;
			align-items: center;

			/* font-family:'source-sans-pro',sans-serif; */
    
  	}


	  :root {
    --swiper-theme-color: #fff;
  }
  
  .custom .swiper-container .swiper-wrapper {
	padding: 20px;
	
  }
  
  .custom  .swiper-container .swiper-slide {
    -webkit-transition: 250ms all;
    transition: 250ms all;
  }
  
  .custom  .swiper-container .swiper-slide:hover {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
    z-index: 1;
    
  }
  







	.custom .swiper-button-next, .custom .swiper-button-prev {
	background:#000;
		border-radius:50px;
		padding:10px;
		height:40px;
		width:40px;
		top:40%;
		font-size:12pt;
	}

	.custom .swiper-button-next::after {
	
		font-size:16pt;
	}
	
	.custom .swiper-button-prev::after {
		font-size:16pt;
	}


	  

@media screen AND (max-width:1024px) {

	.custom .swiper-button-prev,.custom .swiper-button-next {
		display:none;
	}
}

	
	

		.custom #popular-tags .swiper-slide img{
			border-radius:300px;
			display:inline-block;
			margin-bottom:15px;
			max-width:300px;
			max-height:300px;
			
			
        }
		@media screen AND (max-width:1024px) {
		.custom #popular-tags .swiper-slide img{
          
			margin-bottom:10px;
			max-width:120px;
			max-height:120px;
		}
			
        }

		.custom #popular-tags .swiper-slide a{
           font-size:14pt;
		   font-weight:bold;
		   text-transform:uppercase;
		   display:inline-block;
			
        }

		@media screen AND (max-width:1024px) {
			.custom #popular-tags .swiper-slide a{
           font-size:12pt;
		   
			
        }
		}

		
     














        /* ============== CUSTOM LOOP (mobile = horizontal scroll, desktop = grid) ============== */
        
        .custom-loop-container{
          max-width: 1500px;
          margin: 0 auto;
          padding: 0 1rem;
          margin-bottom: 10px;
        }
        
        .custom-loop-header{
          display: flex;
          justify-content: space-between;
          align-items: baseline;
          margin-bottom: 1rem;
        }
        
        h2.custom-loop-heading{
          text-align: left;
        }
        
        .custom-loop-see-more{
          font-size: 0.95rem;
          color: #fff;
          text-decoration: none;
          transition: background-color 0.2s ease;
          padding: 12px 16px;
          border-radius: 30px;
        }
        
        .custom-loop-see-more:hover{ background-color: #444; }
        
        @media (max-width: 768px){
          .custom-loop-see-more{
            font-size: 0.8rem;
            padding: 8px 10px;
          }
        }
        
        /* -------------------------
           Default card design (shared)
        ------------------------- */
        
        /* Desktop “size presets” kept as variables (still useful for image sizing) */
        .custom-loop-wrapper.height-590{ --card-width: 360px; }
        .custom-loop-wrapper.height-720{ --card-width: 420px; }
        
        .custom-loop-item{
          overflow: hidden;
          position: relative;
          background: #fff;
          transition: transform 0.3s ease;
        }
        
        .custom-loop-item a{
          display: flex;
          flex-direction: column;
          height: 100%;
          width: 100%;
          text-decoration: none;
          color: inherit;
        }
        
        .custom-loop-image-wrapper{
          position: relative;
          flex: 0 0 auto;
          aspect-ratio: 2 / 3;
          background: #f6f6f6;
        }
        
        .custom-loop-image-wrapper img{
          position: absolute;
          inset: 0;
          width: 100%;
          height: 100%;
          object-fit: cover;
          display: block;
        }
        
        .custom-loop-item:hover{ transform: translateY(-2px); }
        
        .custom-loop-title{
          width: 100%;
          padding: 10px 8px 0px;
          font-size: 1.4rem;
          font-weight: 700;
          background: #fff;
          color: #000;
          text-align: center;
          box-sizing: border-box;
        
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: normal;
          line-height: 1.3em;
          min-height: calc(1.4rem * 1.3 * 2);
        }
        
        .custom-loop-title:hover{ color: #264f3e; }
        
        
        /* =========================================================
           DESKTOP (>= 769px): GRID MODE (no horizontal scrolling)
        ========================================================= */
        
        @media (min-width: 769px){
        
          /* Wrapper becomes normal flow (no scrollbars) */
          .custom-loop-wrapper{
            overflow: visible;
            padding-bottom: 0;
            scroll-snap-type: none;
            -webkit-overflow-scrolling: auto;
            scrollbar-width: auto;
            height: auto !important; /* ignore fixed heights in grid mode */
          }
        
          .custom-loop-wrapper::-webkit-scrollbar{ display: none; }
        
          /* Track becomes a responsive grid */
          .custom-loop-track{
            display: grid;
            gap: 20px;
            height: auto;
        
            /* “auto-fit” columns based on card width preference */
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            align-items: start;
          }
        
          /* Cards fill grid cells */
          .custom-loop-item{
            width: auto;
            height: auto;
            scroll-snap-align: none;
            border-radius: 12px; /* optional desktop polish */
          }
        
          /* Make the title slightly smaller on desktop grids if you want */
          .custom-loop-title{
            font-size: 1.15rem;
            min-height: calc(1.15rem * 1.3 * 2);
          }
        }
        
        
        /* =========================================================
           MOBILE (<= 768px): HORIZONTAL SCROLL MODE (unchanged)
        ========================================================= */
        
        @media (max-width: 768px){
        
          .custom-loop-wrapper{
            overflow-x: auto;
            overflow-y: hidden;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
            scroll-padding-left: 1rem;
            padding-bottom: 20px;
            scrollbar-width: thin;
            -ms-overflow-style: none;
          }
        
          /* Track = inline flex */
          .custom-loop-track{
            display: inline-flex;
            gap: 20px;
            height: 100%;
          }
        
          /* Card width in viewport units for easy swiping */
          .custom-loop-item{
            flex: 0 0 auto;
            width: 55vw;
            height: auto;
            scroll-snap-align: start;
            border-radius: 0;
          }
        
          .custom-loop-title{
            font-size: 1rem;
            padding: 10px 12px 12px;
            min-height: calc(1rem * 1.3 * 2);
          }
        }
       














.custom-grid-background {
  background-color: #fff;
  /* background-color: #ddd; */
  /* padding: 60px 0; */
  padding: 0px 0;
  width: 100%;
}

.custom-grid-loop-container {
  max-width: 1500px;
  margin: 0 auto 40px;
  padding: 0 1rem;
}

.custom-grid-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}

.custom-grid-see-more {
    font-size: 0.95rem;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
  padding:12px 16px;
  border-radius:30px;
}

.custom-grid-see-more:hover {
	background-color: #444;
  
}


h2.custom-grid-heading {
  font-size: 2.8rem;
  text-align: left;
  margin: 0;
}



@media (max-width: 768px) {

h2.custom-grid-heading {
	font-size: 1.8rem;
}

.custom-grid-see-more {
font-size: 0.8rem;
padding: 8px 10px;

}

}

/* Main grid layout for desktop */
.custom-grid-loop {
  display: grid;
  grid-template-columns: 42% 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 25px;
  grid-template-areas:
    "featured item1 item2"
    "featured item3 item4";
}

.custom-grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 3 / 2;
  
}

.custom-grid-item.featured {
  grid-area: featured;
  aspect-ratio: auto;
  min-height: 100%;
}

.custom-grid-link {
	display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.custom-grid-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  /* background: linear-gradient(to top, rgba(255,255,255,0.95), rgba(255,255,255,0.9)); */
  background: linear-gradient(to top, rgba(45, 45, 43,1.0), rgba(45, 45, 43,0.05));
  /* color: #000; */
  color: #fff;
  box-sizing: border-box;
}



.custom-grid-title {
  font-size: 1.1rem;
  margin: 0 0 4px;
  text-transform: capitalize; /* ✅ Capitalize all words */
  font-weight:bold;
}

.custom-grid-excerpt {
  font-size: 0.9rem;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  max-height: 2.6em;
}

/* 🔹 Scrollable horizontal row on mobile */
.custom-grid-row {
  display: none;
}

/* By default, hide mobile version */
.custom-grid-row.mobile-only {
  display: none;
}

/* By default, show desktop grid */
.custom-grid-loop.desktop-only {
  display: grid;
}

/* On small screens: hide desktop, show mobile row */
@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

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

  .custom-grid-item.featured.mobile-only {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 20px;
  }

  .custom-grid-row.mobile-only {
    display: flex !important;
    flex-direction: row;
    overflow-x: auto;
    gap: 15px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 1rem 10px;
    margin: 0 -1rem;
  }

  .custom-grid-row.mobile-only .custom-grid-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 40vw;
  aspect-ratio: 1 / 1; /* 👈 now square */
}
}


/* Visibility helpers */
.desktop-only {
  display: block;
}
.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: block !important;
  }
}




@media (max-width: 768px) {
  .custom-grid-row .custom-grid-title {
    font-size: 0.8rem;
    text-transform: capitalize; /* 👈 change to uppercase for ALL CAPS */
    line-height: 1.3;
    font-weight: 600;
  }

  .custom-grid-item.featured.mobile-only .custom-grid-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: capitalize;
  }
}





.custom-grid-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.1); /* ✅ zoom always */
  transition: transform 0.4s ease;
  z-index: 0;
}


.custom-grid-link:hover .custom-grid-image {
  transform: scale(1.2); /* extra zoom on hover */
}




/* ✅ Mobile featured image fix */
.custom-grid-featured-mobile {
  display: none;
}

@media (max-width: 768px) {
  .custom-grid-featured-mobile {
    display: block;
    width: 100%;
    position: relative;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
  }

  /* Instead of forcing cover on the link background, we wrap the image */
  .custom-grid-featured-mobile .custom-grid-link {
    display: block;
    width: 100%;
    height: auto;
    background: none !important; /* Remove forced cover */
  }
}
 
@media (max-width: 768px) {
  .custom-grid-featured-mobile img {
    width: 100%;
    height: auto;
    display: block;
	/* aspect-ratio: 1 / 1; */
    object-fit: cover; /* ✅ Better fill without cropping too much */
  }
}




/* =========================
   MP2 Dark CTA Module
========================= */

.mp2-cta {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 1rem;
  }
  
  .mp2-cta__card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #111;
    color: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
  }
  
  .mp2-cta__inner {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 30px;
    padding: 40px;
    align-items: center;
  }
  
  @media (max-width: 900px){
    .mp2-cta__inner {
      grid-template-columns: 1fr;
      padding: 28px;
      gap: 20px;
    }
  }
  
  .mp2-cta__eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.6);
    margin-bottom: 12px;
  }
  
  .mp2-cta__title {
    font-size: clamp(24px, 2.6vw, 38px);
    line-height: 1.1;
    margin: 0 0 14px;
    letter-spacing: -0.02em;
  }
  
  .mp2-cta__desc {
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255,255,255,.75);
    margin: 0;
    max-width: 560px;
  }
  
  /* Right panel */
  .mp2-cta__panel {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    padding: 24px;
  }
  
  .mp2-cta__panelTitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 16px;
    color: rgba(255,255,255,.6);
  }
  
  .mp2-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    padding: 14px 18px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
    transition: all .2s ease;
  }
  
  .mp2-btn--primary {
    background: #264f3e;
    color: #fff;
    border: 1px solid rgba(255,255,255,.15);
  }
  
  .mp2-btn--primary:hover {
    background: #1f3f32;
    transform: translateY(-2px);
  }
  
  .mp2-cta__fineprint {
    font-size: 13px;
    margin-top: 12px;
    color: rgba(255,255,255,.5);
  }

  /* =========================
   Recipe Box CTA Module
========================= */

.rb-cta{
    max-width: 1000px;
    margin: 36px auto;
    padding: 0 1rem;
  }
  
  .rb-cta__card{
    border-radius: 20px;
    padding: 32px 36px;
    background: linear-gradient(135deg, #f7f9f8 0%, #eef3f1 100%);
    border: 1px solid rgba(0,0,0,.05);
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 30px;
    align-items: center;
  }
  
  @media (max-width: 900px){
    .rb-cta__card{
      grid-template-columns: 1fr;
      padding: 24px;
      gap: 18px;
    }
  }
  
  .rb-cta__eyebrow{
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
    color: #264f3e;
    margin-bottom: 12px;
  }
  
  .rb-cta__title{
    font-size: clamp(22px, 2.4vw, 34px);
    line-height: 1.15;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
  }
  
  .rb-cta__desc{
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    color: rgba(0,0,0,.7);
    max-width: 560px;
  }
  
  /* Right panel */
  .rb-cta__panel{
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(0,0,0,.06);
    text-align: center;
  }
  
  .rb-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 90%;
    padding: 14px 18px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
    transition: all .2s ease;
    background: #264f3e;
    color: #fff;
    border: 1px solid rgba(0,0,0,.08);
  }
  
  .rb-btn:hover{
    background: #1f3f32;
    transform: translateY(-2px);
  }
  
  .rb-cta__fineprint{
    font-size: 13px;
    margin-top: 10px;
    color: rgba(0,0,0,.55);
  }
  
  /* subtle floating heart */
  .rb-heart{
    font-size: 18px;
    color: #d2b48c;
  }











  /* =========================
   Seasonal Hub CTA (tiles)
========================= */

.sh-cta{
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 1rem;
  }
  
  .sh-cta__card{
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
    position: relative;
  }
  
  .sh-cta__card--dark{
    /* background: #111; */
    background: #264f3e;
    color: #fff;
    border-color: rgba(255,255,255,.10);
  }
  
  .sh-cta__card--light{
    background: #fff;
    color: #111;
  }
  
  /* subtle glow */
  .sh-cta__card::before{
    content:"";
    position:absolute;
    inset:-2px;
    pointer-events:none;
    background: radial-gradient(900px 360px at 18% 20%,
      rgba(38,79,62,.20) 0%,
      rgba(38,79,62,0) 60%);
  }
  
  .sh-cta__inner{
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 26px;
    padding: 34px;
    align-items: center;
  }
  
  @media (max-width: 900px){
    .sh-cta__inner{
      grid-template-columns: 1fr;
      padding: 24px;
      gap: 18px;
    }
  }
  
  .sh-cta__eyebrow{
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 12px;
  }
  
  .sh-cta__card--dark .sh-cta__eyebrow{ color: rgba(255,255,255,.65); }
  .sh-cta__card--light .sh-cta__eyebrow{ color: rgba(0,0,0,.55); }
  
  .sh-cta__title{
    font-size: clamp(22px, 2.5vw, 36px);
    line-height: 1.12;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
  }
  
  .sh-cta__desc{
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 18px;
    max-width: 62ch;
  }
  
  .sh-cta__card--dark .sh-cta__desc{ color: rgba(255,255,255,.75); }
  .sh-cta__card--light .sh-cta__desc{ color: rgba(0,0,0,.68); }
  
  .sh-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 18px;
    border-radius: 14px;
    font-weight: 800;
    text-decoration: none;
    font-size: 15px;
    transition: all .2s ease;
    width: fit-content;
    border: 1px solid transparent;
  }
  
  .sh-cta__card--dark .sh-btn{
    background: #264f3e;
    color: #fff;
    border-color: rgba(255,255,255,.18);
  }
  .sh-cta__card--dark .sh-btn:hover{
    background: #1f3f32;
    transform: translateY(-2px);
  }
  
  .sh-cta__card--light .sh-btn{
    background: #111;
    color: #fff;
    border-color: rgba(0,0,0,.10);
  }
  .sh-cta__card--light .sh-btn:hover{
    transform: translateY(-2px);
  }
  
  /* Right column: tiles */
  .sh-cta__tiles{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  
  @media (max-width: 520px){
    .sh-cta__tiles{ grid-template-columns: 1fr; }
  }
  
  .sh-tile{
    display: block;
    text-decoration: none;
    border-radius: 16px;
    padding: 14px 14px;
    border: 1px solid rgba(255,255,255,.10);
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
  }
  
  .sh-cta__card--dark .sh-tile{
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.10);
    color: rgba(255,255,255,.92);
  }
  
  .sh-cta__card--light .sh-tile{
    background: rgba(0,0,0,.03);
    border-color: rgba(0,0,0,.08);
    color: rgba(0,0,0,.85);
  }
  
  .sh-tile:hover{
    transform: translateY(-2px);
  }
  
  .sh-tile__label{
    font-weight: 800;
    font-size: 14px;
    letter-spacing: -0.01em;
  }
  
  .sh-tile__meta{
    margin-top: 6px;
    font-size: 12px;
    opacity: .72;
  }








  /* =========================
   Newsletter CTA Module
   Softer Light Mode
========================= */

.nl-cta{
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 1rem;
  }
  
  .nl-cta__card{
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.05);
  }
  
  /* -------- THEMES -------- */
  
  .nl-cta__card--dark{
    background: #111;
    color: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    border-color: rgba(255,255,255,.08);
  }
  
  /* ✨ Softer light background */
  .nl-cta__card--light{
    background: #86C1B7;
    
    color: #fff;
    box-shadow: 0 12px 40px rgba(0,0,0,.06); /* much softer */
  }
  
  /* -------- LAYOUT -------- */
  
  .nl-cta__inner{
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 30px;
    padding: 42px;
    align-items: center;
  }
  
  @media (max-width: 900px){
    .nl-cta__inner{
      grid-template-columns: 1fr;
      padding: 28px;
      gap: 18px;
    }
  }
  
  .nl-cta__eyebrow{
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 12px;
  }
  
  .nl-cta__card--dark .nl-cta__eyebrow{ color: rgba(255,255,255,.65); }
  .nl-cta__card--light .nl-cta__eyebrow{ 
      /* color: rgba(0,0,0,.45);  */
  }
  
  .nl-cta__title{
    font-size: clamp(24px, 2.6vw, 38px);
    line-height: 1.1;
    margin: 0 0 14px;
    letter-spacing: -0.02em;
  }
  
  .nl-cta__desc{
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    max-width: 62ch;
  }
  
  .nl-cta__card--dark .nl-cta__desc{ color: rgba(255,255,255,.75); }
  .nl-cta__card--light .nl-cta__desc{
      /* color: rgba(0,0,0,.60); */
  }
  
  /* -------- Right Panel -------- */
  
  /* ✨ Softer panel in light mode */
  .nl-cta__panel{
    border-radius: 16px;
    padding: 24px;
  }
  
  .nl-cta__card--dark .nl-cta__panel{
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.10);
  }
  
  .nl-cta__card--light .nl-cta__panel{
    background: rgba(255,255,255,.80);
    border: 1px solid rgba(0,0,0,.06);
  }
  
  .nl-cta__panelTitle{
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 16px;
  }
  
  .nl-cta__card--dark .nl-cta__panelTitle{ color: rgba(255,255,255,.62); }
  .nl-cta__card--light .nl-cta__panelTitle{ color: rgba(0,0,0,.45); }
  
  /* -------- Button -------- */
  
  /* ✨ Softer button for light mode */
  .nl-btn{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    padding: 14px 18px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
    transition: all .2s ease;
  }
  
  /* Dark theme button */
  .nl-cta__card--dark .nl-btn{
    background: #264f3e;
    color: #fff;
    border: 1px solid rgba(255,255,255,.18);
  }
  .nl-cta__card--dark .nl-btn:hover{
    background: #1f3f32;
    transform: translateY(-2px);
  }
  
  /* ✨ Light theme button (less harsh than pure black) */
  .nl-cta__card--light .nl-btn{
    background: #264f3e;   /* brand green instead of black */
    color: #fff;
    border: none;
  }
  .nl-cta__card--light .nl-btn:hover{
    background: #1f3f32;
    transform: translateY(-2px);
  }
  
  /* -------- Fineprint -------- */
  
  .nl-cta__fineprint{
    font-size: 13px;
    margin-top: 12px;
  }
  
  .nl-cta__card--dark .nl-cta__fineprint{ color: rgba(255,255,255,.55); }
  .nl-cta__card--light .nl-cta__fineprint{ color: rgba(0,0,0,.45); }

  

  /* container + heading (same width rhythm as modules) */
.more-latest-container{
    max-width: 1500px;
    margin: 40px auto 20px;
    padding: 0 1rem;
    border-top: 1px solid #ddd;
  }
  
  .more-latest-heading{
    text-align: center;
    font-size: 28pt;
    letter-spacing: 1px;
    padding: 6px;
    margin: 15px 0 10px;
  }
  
  .more-latest-heading span{ color:#333; display:inline-block; }
  
  /* wrapper behaves like custom_post_loop wrapper: desktop grid, mobile swipe */
  .more-latest-wrapper{
    /* desktop defaults */
    overflow: visible;
  }
  
  .more-latest-track{
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    align-items: start;
  }
  
  /* cards: borrow your custom_post_loop card styling */
  .more-latest-item{
    overflow: hidden;
    position: relative;
    background: #fff;
    transition: transform 0.3s ease;
    border-radius: 12px;
  }
  
  .more-latest-item:hover{ transform: translateY(-2px); }
  
  .more-latest-item a{
    display:flex;
    flex-direction:column;
    height:100%;
    width:100%;
    text-decoration:none;
    color:inherit;
  }
  
  /* consistent image area like custom_post_loop */
  .more-latest-image{
    position: relative;
    aspect-ratio: 2 / 3;
    background: #f6f6f6;
  }
  
  .more-latest-image img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
  }
  
  /* title: 2-line clamp + stable height */
  .more-latest-title{
    padding: 10px 14px 8px;
    font-size: 1.15rem;
    font-weight: 700;
    background: #fff;
    color: #000;
    text-align: center;
    box-sizing: border-box;
  
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.3;
    min-height: calc(1.15rem * 1.3 * 2);
  }
  
  .more-latest-title:hover{ color:#264f3e; }
  
  /* ---------- Mobile: horizontal shelf like custom_post_loop ---------- */
  @media (max-width: 768px){
    .more-latest-wrapper{
      overflow-x: auto;
      overflow-y: hidden;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      scroll-padding-left: 1rem;
      padding-bottom: 20px;
      scrollbar-width: thin;
      -ms-overflow-style: none;
    }
  
    .more-latest-track{
      display: inline-flex;
      gap: 20px;
      height: 100%;
      padding-bottom: 2px;
    }
  
    .more-latest-item{
      flex: 0 0 auto;
      width: 55vw;
      scroll-snap-align: start;
      border-radius: 0;
    }
  
    .more-latest-title{
      font-size: 1rem;
      padding: 10px 12px 12px;
      min-height: calc(1rem * 1.3 * 2);
    }
  }
  
  /* ====================================
     ALM homepage styling – match More Latest
     Scoped to #morearticle
     ==================================== */
  
  /* Make ALM track behave like .more-latest-track */
  #morearticle .alm-reveal{
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    align-items: start;
  }
  
  /* Remove any weird ALM inline-block defaults */
  #morearticle .alm-listing{
    overflow: visible;
  }
  
  /* Make sure ALM doesn't wrap each batch in block-breaking divs */
  #morearticle .alm-reveal > div{
    min-width: 0;
  }
  
  /* Button styling to match your rhythm */
  #morearticle .alm-btn-wrap{
    text-align: center;
    margin-top: 30px;
  }
  
  #morearticle .alm-load-more-btn{
    padding: 12px 18px;
    border-radius: 10px;
    border: 1px solid #ddd;
    /* background: #fff; */
    font-weight: 700;
    letter-spacing: .5px;
    cursor: pointer;
    transition: transform .2s ease;
  }
  
  #morearticle .alm-load-more-btn:hover{
    transform: translateY(-1px);
  }
  
  
  /* ========================
     Mobile: horizontal shelf
     ======================== */
  
  @media (max-width: 768px){
  
    /* Make ALM behave like your swipe shelf */
    #morearticle .alm-listing{
      overflow-x: auto;
      overflow-y: hidden;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      scroll-padding-left: 1rem;
      padding-bottom: 20px;
    }
  
    #morearticle .alm-reveal{
      display: inline-flex;
      gap: 20px;
      padding-bottom: 2px;
    }
  
    #morearticle .more-latest-item{
      flex: 0 0 auto;
      width: 55vw;
      scroll-snap-align: start;
      border-radius: 0;
    }
  }
  
  