/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* Rank Math TOC: stop overlapping the next blocks */
.wp-block-rank-math-toc-block,
#rank-math-toc {
  display: block;
  position: relative;
  clear: both;
  overflow: auto;
  margin-bottom: 24px;
  z-index: 1;
}

/* Make sure the TOC list is not positioned/floated by theme styles */
#rank-math-toc nav,
#rank-math-toc ul,
#rank-math-toc li {
  position: static !important;
  float: none !important;
}

/* Ensure the next block starts below the TOC */
.wp-block-rank-math-toc-block + * {
  clear: both;
}


/* GeneratePress Site CSS */ #site-navigation {
		border-top: 0px solid rgba(0,0,0,0.1);
		border-bottom: 0px solid rgba(0,0,0,0.1);
}

button, html input[type="button"], input[type="reset"], input[type="submit"], a.button, a.button:visited {
	border-width: 1px;
	border-style: solid;
	border-color: inherit;
}

.mc4wp-form-fields input[type="email"] {
	margin-bottom: 10px;
	width: 100%;
}

.entry-meta {
	font-weight: 300;
	font-size: 13px;
}

.main-navigation:not(.toggled) li.menu-social > a,
.main-navigation:not(.toggled) li.search-item > a{
	padding: 0 10px;
}

.post-image img {
	transition: opacity 500ms;
}

.post-image img:hover {
	opacity: 0.9;
}

.no-sidebar .entry-content {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.page.no-sidebar .entry-title {
	text-align: center;
}

.top-bar .lsi-social-icons a,
.top-bar .lsi-social-icons a:focus,
.top-bar .lsi-social-icons a:active,
.top-bar .lsi-social-icons a:hover {
    background: transparent !important;
}

.top-bar .lsi-social-icons li {
	margin-bottom: 0 !important;
} /* End GeneratePress Site CSS */



.widget {text-align:center}


/*******************************/
/* Remove meta data
.entry-meta .byline, .entry-meta .cat-links { display: none; }
.entry-meta .posted-on { display: none; } */
/*******************************/


/* Remove “Exit mobile version” Text*/
#amp-mobile-version-switcher {
	display: none;
}

/* Tap targets are not sized appropriately*/
.paging-navigation a {
    padding: 5px 10px;
    background-color: #648223;
    color: white;
    text-decoration: none;
}

.paging-navigation {
    display: flex;
    justify-content: space-between;
}

.tasty-recipes-jump-link,
.tasty-recipes-print-link {
  display: inline-block;
  padding: 10px 20px;
  font-weight: bold;
  text-decoration: none;
  background-color: #77A663; /* Green background - customize as needed */
  color: #fff; /* White text */
  border: none;
  border-radius: 5px;
  font-size: 16px;
  margin: 10px 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.tasty-recipes-jump-link:hover,
.tasty-recipes-print-link:hover {
  background-color: #218838; /* Darker green on hover */
}




.fallback-toc {
    margin-bottom: 2rem;
    background: #f9f9f9;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.fallback-toc h2 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.fallback-toc h2 .arrow {
    font-size: 0.9em;
    margin-left: 10px;
}
.fallback-toc ul {
    list-style: none;
    padding-left: 0;
}
.fallback-toc li {
    margin: 6px 0;
}
.fallback-toc li.h3 {
    margin-left: 20px;
}
.fallback-toc .toc-link {
    text-decoration: none;
    color: #0073aa;
}
.fallback-toc .toc-link:hover {
    text-decoration: underline;
}

.fallback-toc #fallback-toc-list {
    display: none;
    margin-top: 10px;
}
.gb-element-9a5f8371 {
  text-align: center;
}

/* Desktop only */
@media (min-width: 1024px) {



	
	
	
	

  /* No-sidebar templates stay full width */
  body.no-sidebar #primary,
  body.no-sidebar .content-area,
  body.home #primary,
  body.home .content-area {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100%;
  }
}

@media (min-width:1024px){
  .sticky-ad {
    position: sticky;
    top: 80px;     /* space below header */
    z-index: 5;
  }
}

/* ====================================
   BOUTIQUE ATTRACTIVE - DESIGN MODERNE
   ==================================== */

/* 🔘 Bouton Produit (Amazon Affiliate) */
.woocommerce div.product form.cart .button,
.woocommerce div.product .single_add_to_cart_button.button,
.woocommerce div.product .single_add_to_cart_button.button.alt {
    background: linear-gradient(135deg, #f7931a 0%, #ff6b35 100%) !important;
    color: #ffffff !important;
    border-radius: 12px;
    font-weight: 700;
    font-size: 17px;
    padding: 16px 32px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(247, 147, 26, 0.4);
}

/* Mobile: Bouton sticky en bas de l'écran */
@media (max-width: 768px) {
    .woocommerce div.product form.cart .button,
    .woocommerce div.product .single_add_to_cart_button.button,
    .woocommerce div.product .single_add_to_cart_button.button.alt {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 999 !important;
        margin: 0 !important;
        border-radius: 0 !important;
        padding: 14px 20px !important;
        font-size: 14px !important;
        letter-spacing: 0.5px !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15) !important;
        white-space: nowrap !important;
        text-align: center !important;
    }
    
    /* Ajouter un padding en bas du contenu pour éviter que le bouton cache du contenu */
    .woocommerce div.product .summary,
    .woocommerce div.product .product {
        padding-bottom: 80px !important;
    }
}

/* 🔘 Hover effect */
.woocommerce div.product form.cart .button:hover,
.woocommerce div.product .single_add_to_cart_button.button:hover,
.woocommerce div.product .single_add_to_cart_button.button.alt:hover {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931a 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(247, 147, 26, 0.6);
}

/* 🛑 Hide default icon */
.woocommerce div.product .single_add_to_cart_button.button::before,
.woocommerce div.product .single_add_to_cart_button.button.alt::before {
    display: none !important;
}

/* 🛒 Shopping cart icon */
.woocommerce div.product .single_add_to_cart_button.button::after,
.woocommerce div.product .single_add_to_cart_button.button.alt::after {
    content: "\1F6D2";
    font-size: 20px;
    margin-left: 8px;
    vertical-align: middle;
}

/* Hide cart in header */
.site-header-cart,
.menu-bar-item.woocommerce,
.menu-bar-item.woocommerce > a,
a.cart-contents,
.generate-cart-item,
.has-cart-icon .menu-bar-item {
    display: none !important;
}

/* ====================================
   HIDE ADS ONLY ON WOOCOMMERCE PAGES
   ==================================== */
/* Ne cacher les publicités QUE sur les pages produits WooCommerce */
.woocommerce iframe[src*="doubleclick"],
.woocommerce iframe[src*="googlesyndication"],
.woocommerce iframe[src*="googleads"],
.woocommerce .adsbygoogle,
.woocommerce div[class*="ad-"]:not(.added_to_cart):not(.add_to_cart_button),
.woocommerce div[id*="ad-"],
.woocommerce div[class*="advertisement"],
.woocommerce aside[class*="ad"],
.woocommerce-page iframe[src*="doubleclick"],
.woocommerce-page iframe[src*="googlesyndication"],
.woocommerce-page iframe[src*="googleads"],
.woocommerce-page .adsbygoogle,
.woocommerce-page div[class*="ad-"]:not(.added_to_cart):not(.add_to_cart_button),
.woocommerce-page div[id*="ad-"],
.woocommerce-page div[class*="advertisement"],
.woocommerce-page aside[class*="ad"],
/* Verisure ad spécifique */
.woocommerce div[class*="verisure"],
.woocommerce div[id*="verisure"],
.woocommerce-page div[class*="verisure"],
.woocommerce-page div[id*="verisure"] {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}

/* IMPORTANT: Ne PAS cacher les prix en promotion */
.woocommerce .price ins,
.woocommerce-page .price ins,
ins.woocommerce-Price-amount {
    display: inline !important;
    height: auto !important;
    width: auto !important;
}

/* ====================================
   GRILLE PRODUITS - 2 COLONNES ALIGNÉES
   ==================================== */
.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px !important;
    margin: 0 !important;
    padding: 20px !important;
    list-style: none !important;
    clear: both !important;
}

/* Override any theme float styles */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    clear: none !important;
}

/* Force les produits à rester alignés */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
}

/* Responsive - 1 colonne sur mobile */
@media (max-width: 768px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding: 10px !important;
    }
}

/* IMPORTANT: Augmenter la largeur du contenu pour GeneratePress */
.woocommerce .content-area,
.woocommerce-page .content-area,
.woocommerce .site-main,
.woocommerce-page .site-main {
    max-width: 100% !important;
    width: 100% !important;
}

/* Container principal plus large */
.woocommerce .inside-article,
.woocommerce-page .inside-article {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
}

@media (max-width: 768px) {
    .woocommerce .inside-article,
    .woocommerce-page .inside-article {
        padding: 0 15px !important;
    }
}

/* Remove any clearfix that might break the grid */
.woocommerce ul.products::after,
.woocommerce ul.products::before {
    display: none !important;
}

/* ====================================
   CARTE PRODUIT MODERNE - PLUS GRANDE
   ==================================== */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    background: #ffffff;
    border: 2px solid #f0f0f0;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Mobile: Padding réduit */
@media (max-width: 768px) {
    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        padding: 20px;
        border-radius: 16px;
    }
}

/* Hover effect - carte s'élève */
.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(247, 147, 26, 0.15);
    border-color: #f7931a;
}

/* Mobile: Désactiver le hover effect */
@media (max-width: 768px) {
    .woocommerce ul.products li.product:hover,
    .woocommerce-page ul.products li.product:hover {
        transform: none;
    }
}

/* Lien wrapper */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

/* ====================================
   TITRE EN PREMIER - GRAND ET VISIBLE
   ==================================== */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    order: 1;
    font-size: 1.6rem;
    line-height: 1.3;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 24px 0;
    text-align: left;
    min-height: 90px;
    display: flex;
    align-items: center;
    overflow: visible;
}

/* Mobile: Titre plus petit et centré */
@media (max-width: 768px) {
    .woocommerce ul.products li.product .woocommerce-loop-product__title,
    .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
        font-size: 1.3rem;
        min-height: auto;
        margin: 0 0 20px 0;
        text-align: center;
        justify-content: center;
    }
}

/* ====================================
   IMAGE CARRÉE PARFAITE - GRANDE TAILLE
   ==================================== */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link img,
.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link img {
    order: 2;
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
    margin: 0 0 24px 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    background: #f9f9f9;
    display: block;
    transition: transform 0.4s ease;
}

/* Mobile: Image APRÈS le titre, plein écran et centrée */
@media (max-width: 768px) {
    .woocommerce ul.products li.product a.woocommerce-LoopProduct-link img,
    .woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link img {
        order: 2 !important; /* Après le titre */
        min-height: 350px !important;
        height: auto;
        width: calc(100% + 40px) !important; /* Déborde du padding */
        max-width: none !important;
        margin: 0 -20px 20px -20px !important; /* Annule le padding de la carte */
        border-radius: 0 !important; /* Pas de coins arrondis sur les côtés */
        aspect-ratio: 1 / 1;
        object-fit: cover;
        display: block !important;
    }
    
    /* Force l'image à prendre toute la largeur */
    .woocommerce ul.products li.product .woocommerce-LoopProduct-link,
    .woocommerce-page ul.products li.product .woocommerce-LoopProduct-link {
        width: 100% !important;
    }
    
    /* S'assurer que le conteneur parent n'a pas de contraintes */
    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        overflow: visible !important;
    }
}

/* Image zoom au survol - désactivé sur mobile */
.woocommerce ul.products li.product:hover a.woocommerce-LoopProduct-link img,
.woocommerce-page ul.products li.product:hover a.woocommerce-LoopProduct-link img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .woocommerce ul.products li.product:hover a.woocommerce-LoopProduct-link img,
    .woocommerce-page ul.products li.product:hover a.woocommerce-LoopProduct-link img {
        transform: none;
    }
}

/* ====================================
   PRIX STYLISÉ - PLUS GRAND
   ==================================== */
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
    order: 3;
    font-weight: 800;
    color: #f7931a;
    font-size: 1.8rem;
    margin: 0;
    text-align: left;
}

/* Mobile: Prix centré et plus gros */
@media (max-width: 768px) {
    .woocommerce ul.products li.product .price,
    .woocommerce-page ul.products li.product .price {
        text-align: center;
        font-size: 2rem;
    }
}

/* Prix barré (ancien prix) */
.woocommerce ul.products li.product .price del,
.woocommerce-page ul.products li.product .price del {
    color: #999;
    font-size: 1.3rem;
    margin-right: 10px;
}

/* Nouveau prix */
.woocommerce ul.products li.product .price ins,
.woocommerce-page ul.products li.product .price ins {
    text-decoration: none;
    color: #f7931a;
    font-weight: 900;
}

/* Hide Add to cart button in archive */
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
    display: none !important;
}

/* ====================================
   BADGE PROMO MODERNE
   ==================================== */
.woocommerce span.onsale {
    background: linear-gradient(135deg, #f7931a 0%, #ff6b35 100%) !important;
    color: #fff !important;
    font-weight: 700;
    border-radius: 10px !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    min-height: unset !important;
    min-width: unset !important;
    box-shadow: 0 4px 12px rgba(247, 147, 26, 0.4);
    position: absolute;
    top: 20px;
    right: 20px;
    left: auto;
    z-index: 3;
    animation: pulse-sale 2s infinite;
}

@media (max-width: 768px) {
    .woocommerce span.onsale {
        top: 10px;
        right: 10px;
        padding: 6px 12px !important;
        font-size: 12px !important;
    }
}

@keyframes pulse-sale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ====================================
   AMÉLIORATIONS SUPPLÉMENTAIRES
   ==================================== */

/* Wrapper de la boutique avec fond */
.woocommerce,
.woocommerce-page {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    padding: 40px 0;
}

@media (max-width: 768px) {
    .woocommerce,
    .woocommerce-page {
        padding: 20px 0;
    }
}

/* Conteneur des produits */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
    margin-bottom: 30px;
    font-weight: 600;
    color: #333;
}

@media (max-width: 768px) {
    .woocommerce .woocommerce-result-count,
    .woocommerce .woocommerce-ordering {
        font-size: 14px;
        margin-bottom: 20px;
    }
}

/* ====================================
   TITRE ET BREADCRUMB CENTRÉS
   ==================================== */

/* Breadcrumb en premier - le déplacer vers le haut */
.woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb {
    text-align: center !important;
    margin: 20px 0 30px 0 !important;
    order: -2 !important;
    display: block !important;
    width: 100% !important;
}

@media (max-width: 768px) {
    .woocommerce-breadcrumb,
    .woocommerce .woocommerce-breadcrumb {
        font-size: 13px;
        margin: 10px 0 20px 0 !important;
    }
}

/* Style du titre de page centré - vient après le breadcrumb */
.woocommerce-page .page-title,
.woocommerce .page-title,
.woocommerce-page h1.entry-title,
.woocommerce h1.entry-title {
    text-align: center !important;
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: #1a1a1a !important;
    margin: 0 0 30px 0 !important;
    order: -1 !important;
}

@media (max-width: 768px) {
    .woocommerce-page .page-title,
    .woocommerce .page-title,
    .woocommerce-page h1.entry-title,
    .woocommerce h1.entry-title {
        font-size: 1.8rem !important;
        margin: 0 0 20px 0 !important;
    }
}

/* Description du header */
.woocommerce .woocommerce-products-header__description,
.woocommerce-page .woocommerce-products-header__description {
    order: 0 !important;
    text-align: left !important;
    margin: 0 0 40px 0 !important;
}

@media (max-width: 768px) {
    .woocommerce .woocommerce-products-header__description,
    .woocommerce-page .woocommerce-products-header__description {
        margin: 0 0 20px 0 !important;
        font-size: 14px;
    }
}

/* Container pour réorganiser */
.woocommerce .inside-article,
.woocommerce-page .inside-article {
    display: flex !important;
    flex-direction: column !important;
}

/* Header container */
.woocommerce .woocommerce-products-header,
.woocommerce-page .woocommerce-products-header {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

/* ===== Modern Sidebar Recent Posts Design ===== */

/* Brand palette - refreshed colors */
:root {
  --lr-bg: #FFFFFF;
  --lr-card-bg: #F8FAF9;
  --lr-card-hover: #FFFFFF;
  --lr-border: #E5EBE8;
  --lr-accent: #6B9B5C;
  --lr-accent-hover: #588347;
  --lr-heading: #2C3E3A;
  --lr-subheading: #7A9188;
  --lr-text: #3A3A3A;
  --lr-shadow: rgba(107, 155, 92, 0.08);
  --lr-shadow-hover: rgba(107, 155, 92, 0.15);
}

/* Container wrapper */
.lr-recent {
  background: var(--lr-bg);
  border: 1px solid var(--lr-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px var(--lr-shadow);
}

/* "Recent Posts" heading */
.lr-recent > .wp-block-heading {
  margin: 0 0 20px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--lr-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 12px;
}

/* Decorative underline for heading */
.lr-recent > .wp-block-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--lr-accent), transparent);
  border-radius: 2px;
}

/* Each post card */
.lr-recent .wp-block-post {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  background: var(--lr-card-bg);
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  margin-bottom: 12px;
}

/* Reorder blocks */
.lr-recent .wp-block-post-featured-image { order: 0; }
.lr-recent .wp-block-post-title { order: 1; }

/* Hover effect with elevation */
.lr-recent .wp-block-post:hover {
  background: var(--lr-card-hover);
  border-color: var(--lr-border);
  transform: translateX(4px);
  box-shadow: 0 6px 20px var(--lr-shadow-hover);
}

/* Thumbnail styling */
.lr-recent .wp-block-post-featured-image {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.lr-recent .wp-block-post-featured-image img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  transition: transform 0.3s ease;
}

/* Image zoom on hover */
.lr-recent .wp-block-post:hover .wp-block-post-featured-image img {
  transform: scale(1.08);
}

/* Overlay effect on thumbnail */
.lr-recent .wp-block-post-featured-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(107, 155, 92, 0.15));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 10px;
  pointer-events: none;
}

.lr-recent .wp-block-post:hover .wp-block-post-featured-image::after {
  opacity: 1;
}

/* Title styling */
.lr-recent .wp-block-post-title {
  margin: 0;
  padding: 0;
}

.lr-recent .wp-block-post-title a {
  color: var(--lr-text);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.4;
  transition: color 0.2s ease;
  
  /* Clamp to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lr-recent .wp-block-post-title a:hover {
  color: var(--lr-accent);
}

/* Add subtle arrow indicator on hover */
.lr-recent .wp-block-post-title::after {
  content: '→';
  display: inline-block;
  margin-left: 6px;
  color: var(--lr-accent);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s ease;
}

.lr-recent .wp-block-post:hover .wp-block-post-title::after {
  opacity: 1;
  transform: translateX(0);
}

/* Remove default separators */
.lr-recent .wp-block-separator {
  display: none;
}

/* Query template spacing */
.lr-recent .wp-block-query .wp-block-post-template {
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Last item - remove bottom margin */
.lr-recent .wp-block-post:last-child {
  margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 420px) {
  .lr-recent {
    padding: 18px;
  }
  
/* Make the image a bit narrower + ensure the text column can actually shrink */
.lr-recent .wp-block-post{
  grid-template-columns: 85px minmax(0,1fr); /* ↓ image, let text take the rest */
  gap: 10px;
}
.lr-recent .wp-block-post-title{ min-width:0; } /* critical for CSS Grid text wrapping */

	
	
  
  .lr-recent .wp-block-post-featured-image img {
    width: 85px;
    height: 68px;
  }
  
  .lr-recent > .wp-block-heading {
    font-size: 1.15rem;
  }
  
  .lr-recent .wp-block-post-title a {
    font-size: 0.88rem;
  }
}

/* Extra small screens */
@media (max-width: 360px) {
  .lr-recent .wp-block-post {
    grid-template-columns: 75px 1fr;
    gap: 10px;
  }
  
  .lr-recent .wp-block-post-featured-image img {
    width: 75px;
    height: 60px;
  }
}

/* ===== Desktop layout: content 760–980px + sticky sidebar ad ===== */
@media (min-width: 1024px){

	
	  /* If you previously set a smaller cap, override it */
  .content-area { max-width: 980px !important; }
	
	
  /* Set a clear gap between content and sidebar */
  .site-content { display: flex; gap: 24px; }

  /* Sidebar width (ad-friendly) */
  .widget-area,
  #secondary {
    flex: 0 0 340px;          /* 320–380px works well for 300px ads + padding */
    max-width: 340px;
  }

  /* Content area width target (between 728–1024px) */
  .content-area,
  #primary {
    flex: 1 1 auto;
    max-width: 980px;         /* cap inside range for readability */
  }

}

/* Sticky ad/widget inside the sidebar */
@media (min-width: 1024px){
  /* Add this class to the ad widget: "sticky-ad" (Appearance → Widgets) */
  .widget-area .sticky-ad {
    position: sticky;
    top: 90px;                /* below header */
    z-index: 10;
  }
}


.lr-aff-mini ins.adsbygoogle,
.lr-aff-mini .google-auto-placed,
.lr-aff-mini [id^="google_ads_iframe_"],
.lr-aff-mini iframe[src*="googleads"],
.lr-aff-mini a[href*="googleadservices.com/pagead/aclk"]{
  display:none!important;visibility:hidden!important;max-height:0!important;height:0!important;margin:0!important;padding:0!important;
}










/*****************************************
 ✅ ACCESSIBLE FAQ COLORS (RankMath + Tasty)
******************************************/

/* FAQ Question Style */
.rank-math-list .rank-math-question,
.tasty-recipes-faq__question {
  background:#C1DDB8;      /* soft green */
  color:#1E1E1E;           /* high-contrast text */
  border:1px solid #77A663;
  border-radius:10px;
  font-weight:600;
  padding:14px 16px;
  margin:10px 0;
  cursor:pointer;
  transition: all 0.2s ease-in-out;
}

/* FAQ Question Hover */
.rank-math-list .rank-math-question:hover,
.tasty-recipes-faq__question:hover {
  background:#77A663;      /* dark brand green */
  color:#FFFFFF;           /* clear contrast */
}

/* FAQ Answer Style */
.rank-math-list .rank-math-answer,
.tasty-recipes-faq__answer {
  background:#FFFFFF;      /* clean white */
  color:#333333;           /* readable dark text */
  border-left:4px solid #906A64; /* brown accent */
  padding:14px 16px;
  margin:0 0 14px;
  border-radius:0 0 10px 10px;
}

/* Optional: Add soft shadow */
.rank-math-list .rank-math-question,
.tasty-recipes-faq__question {
  box-shadow:0 1px 3px rgba(0,0,0,0.08);
}

/* Base card */
.faq-accordion .faq-item{
  border:1px solid #77A663 !important;
  border-radius:10px !important;
  margin-bottom:12px !important;
  background:#fff !important;
}

/* Question — CLOSED (default) */
.faq-accordion .faq-question{
  width:100% !important;
  text-align:left !important;
  padding:14px 16px !important;
  background:#C1DDB8 !important;      /* brand green (soft) */
  color:#1E1E1E !important;            /* dark text — overrides theme button white */
  border:none !important;
  font-weight:800 !important;
  border-radius:10px 10px 0 0 !important;
  transition:background .2s,color .2s !important;
  text-transform:none !important;
}

/* Question — HOVER or OPEN */
.faq-accordion .faq-question:hover,
.faq-accordion .faq-item.open > .faq-question,
.faq-accordion .faq-question[aria-expanded="true"],
.faq-accordion .faq-question:focus{
  background:#77A663 !important;
  color:#FFFFFF !important;
}

/* Answer panel */
.faq-accordion .faq-answer{
  padding:14px 16px !important;
  background:#FFFFFF !important;
  color:#333333 !important;
  border-top:1px solid #77A663 !important;
  border-left:4px solid #906A64 !important;
  border-radius:0 0 10px 10px !important;
}





/* Best Recipes Section - PERFECT CIRCLES */
/* Brand Colors: #EBF8EC #DEF0D6 #C1DDB8 #77A663 #906A64 #DED2C7 */

/* Main container - NO padding on sides */
.wp-block-group.alignfull {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  background: transparent !important;
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

/* Best Recipes Section Header */
.gb-text-fef459f2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem) !important;
  color: #000000 !important;
  font-weight: 700 !important;
  margin-bottom: 4rem !important;
  position: relative;
  padding-bottom: 1.5rem;
  text-align: center;
}

.gb-text-fef459f2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, #77A663, #C1DDB8);
  border-radius: 3px;
}

/* Columns Layout - NO padding on sides */
.wp-block-columns.alignwide {
  max-width: 1200px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  gap: 2rem !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
}

/* Individual Columns */
.wp-block-columns.alignwide .wp-block-column {
  flex: 0 0 auto !important;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 350px !important;
}

/* Image Containers - PERFECT CIRCLES - FIXED! */
.wp-block-columns.alignwide .wp-block-image {
  margin: 0 0 1.5rem 0 !important;
  position: relative;
  overflow: hidden;
  border-radius: 50% !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 4px solid transparent;
  width: 350px !important;
  height: 350px !important;
  min-width: 350px !important;
  min-height: 350px !important;
  max-width: 350px !important;
  max-height: 350px !important;
  flex-shrink: 0;
}

/* Force figure element to be square */
.wp-block-columns.alignwide .wp-block-image figure {
  width: 350px !important;
  height: 350px !important;
  min-width: 350px !important;
  min-height: 350px !important;
  max-width: 350px !important;
  max-height: 350px !important;
  margin: 0 !important;
  display: block !important;
  padding: 0 !important;
}

.wp-block-columns.alignwide .wp-block-image:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 25px 60px rgba(119, 166, 99, 0.35);
  border-color: #77A663;
}

/* Images Styling - PERFECT CIRCLE, NO DISTORTION */
.wp-block-columns.alignwide .wp-block-image img {
  width: 350px !important;
  height: 350px !important;
  min-width: 350px !important;
  min-height: 350px !important;
  max-width: 350px !important;
  max-height: 350px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.92) contrast(1.05);
}

/* Override WordPress inline styles */
.wp-block-columns.alignwide .wp-block-image img[style*="aspect-ratio"] {
  aspect-ratio: 1/1 !important;
}

.wp-block-columns.alignwide .wp-block-image:hover img {
  transform: scale(1.15);
  filter: brightness(1) contrast(1.1);
}

/* Overlay Effect on Hover */
.wp-block-columns.alignwide .wp-block-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(119, 166, 99, 0.2) 0%,
    rgba(193, 221, 184, 0.15) 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
  border-radius: 50%;
}

.wp-block-columns.alignwide .wp-block-image:hover::before {
  opacity: 1;
}

/* Gradient border effect with brand colors */
.wp-block-columns.alignwide .wp-block-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #77A663, #C1DDB8, #DEF0D6);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.wp-block-columns.alignwide .wp-block-image:hover::after {
  opacity: 0.8;
}

/* Circle Titles - Beautiful styling below images */
.wp-block-columns.alignwide .wp-block-column p.circle-title {
  margin: 0 !important;
  padding: 0 20px !important;
  text-align: center !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: #000000 !important;
  line-height: 1.4 !important;
  transition: color 0.3s ease;
  width: 100%;
  max-width: 350px;
}

.wp-block-columns.alignwide .wp-block-column p.circle-title strong {
  font-weight: 700 !important;
}

/* Make entire column clickable if there's a link */
.wp-block-columns.alignwide .wp-block-column {
  cursor: pointer;
}

.wp-block-columns.alignwide .wp-block-column:hover p.circle-title {
  color: #77A663 !important;
}

/* ALL Section Headers Styling */
.gb-text-9f3646c9,  /* Lunch Recipes */
.gb-text-60e7c4e6,  /* Breakfast Recipes */
.gb-text-3528d882,  /* Dinner Recipes */
.gb-text-c64ece6c {  /* Dessert Recipes */
  font-size: clamp(2.5rem, 5vw, 3.5rem) !important;
  color: #000000 !important;
  font-weight: 700 !important;
  margin-bottom: 3rem !important;
  margin-top: 4rem !important;
  position: relative;
  padding-bottom: 1.5rem;
  text-align: center;
}

/* Add underline to all section headers */
.gb-text-9f3646c9::after,
.gb-text-60e7c4e6::after,
.gb-text-3528d882::after,
.gb-text-c64ece6c::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, #77A663, #C1DDB8);
  border-radius: 3px;
}

/* Recipe Grid Sections Styling */
.wp-block-query {
  padding: 0 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.wp-block-post-template {
  gap: 2rem !important;
}

/* Recipe Grid Images */
.gb-media-1c025dce,
.gb-media-a78589fa,
.gb-media-54b150c9,
.gb-media-be15b7e2 {
  border-radius: 25px !important;
  transition: all 0.5s ease;
  box-shadow: 0 10px 30px rgba(119, 166, 99, 0.2);
  border: 3px solid transparent;
}

.gb-media-1c025dce:hover,
.gb-media-a78589fa:hover,
.gb-media-54b150c9:hover,
.gb-media-be15b7e2:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(119, 166, 99, 0.35);
  border-color: #77A663;
}

/* Recipe Titles Below Images */
.wp-block-post-template h3 {
  color: #000000 !important;
  font-weight: 600 !important;
  font-size: 1.25rem !important;
  margin-top: 1.25rem !important;
  transition: color 0.3s ease;
}

.wp-block-post-template h3:hover {
  color: #77A663 !important;
}

.wp-block-post-template h3 a {
  color: inherit !important;
  text-decoration: none !important;
}

.wp-block-post-template h3 a:hover {
  color: #77A663 !important;
}

/* Remove section backgrounds */
.gb-element-498fb99c,
.gb-element-dd3a2e16,
.gb-element-51577192,
.gb-element-9fa8be55,
.gb-element-7fd2f2b3 {
  background: transparent !important;
  padding: 3rem 0;
}

/* Add spacing between rows */
.wp-block-columns.alignwide + .wp-block-columns.alignwide {
  margin-top: 2.5rem !important;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .wp-block-columns.alignwide {
    gap: 2rem !important;
  }
  
  .wp-block-columns.alignwide .wp-block-column {
    width: 300px !important;
  }
  
  .wp-block-columns.alignwide .wp-block-image,
  .wp-block-columns.alignwide .wp-block-image figure {
    width: 300px !important;
    height: 300px !important;
    min-width: 300px !important;
    min-height: 300px !important;
    max-width: 300px !important;
    max-height: 300px !important;
  }
  
  .wp-block-columns.alignwide .wp-block-image img {
    width: 300px !important;
    height: 300px !important;
    min-width: 300px !important;
    min-height: 300px !important;
    max-width: 300px !important;
    max-height: 300px !important;
  }
  
  .wp-block-columns.alignwide .wp-block-column p.circle-title {
    max-width: 300px;
    font-size: 1.1rem !important;
  }
}

@media (max-width: 900px) {
  .wp-block-columns.alignwide {
    gap: 1.5rem !important;
  }
  
  .wp-block-columns.alignwide .wp-block-column {
    width: 250px !important;
  }
  
  .wp-block-columns.alignwide .wp-block-image,
  .wp-block-columns.alignwide .wp-block-image figure {
    width: 250px !important;
    height: 250px !important;
    min-width: 250px !important;
    min-height: 250px !important;
    max-width: 250px !important;
    max-height: 250px !important;
  }
  
  .wp-block-columns.alignwide .wp-block-image img {
    width: 250px !important;
    height: 250px !important;
    min-width: 250px !important;
    min-height: 250px !important;
    max-width: 250px !important;
    max-height: 250px !important;
  }
  
  .wp-block-columns.alignwide .wp-block-column p.circle-title {
    max-width: 250px;
    font-size: 1rem !important;
  }
}

@media (max-width: 782px) {
  .wp-block-columns.alignwide {
    flex-direction: column;
    align-items: center;
  }
  
  .wp-block-columns.alignwide .wp-block-column {
    width: 100% !important;
    max-width: 280px;
    margin-bottom: 2.5rem;
  }
  
  .wp-block-columns.alignwide .wp-block-image,
  .wp-block-columns.alignwide .wp-block-image figure {
    width: 280px !important;
    height: 280px !important;
    min-width: 280px !important;
    min-height: 280px !important;
    max-width: 280px !important;
    max-height: 280px !important;
  }
  
  .wp-block-columns.alignwide .wp-block-image img {
    width: 280px !important;
    height: 280px !important;
    min-width: 280px !important;
    min-height: 280px !important;
    max-width: 280px !important;
    max-height: 280px !important;
  }
  
  .wp-block-columns.alignwide .wp-block-column p.circle-title {
    max-width: 280px;
    font-size: 1.1rem !important;
  }
  
  .gb-text-fef459f2,
  .gb-text-9f3646c9,
  .gb-text-60e7c4e6,
  .gb-text-3528d882,
  .gb-text-c64ece6c {
    font-size: 2rem !important;
  }
}


/* Desktop: keep full-width background BUT contain the CONTENT */
@media (min-width:1024px){
  /* target the hero block you showed */
  .home .entry-content .gb-element-c2376247{
    position: relative; /* keeps background/image behavior */
  }

  /* create a centered inner container without changing the parent width */
  .home .entry-content .gb-element-c2376247 > *{
    max-width: 1200px !important;     /* content width cap */
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;     /* side padding you asked for */
    padding-right: 24px !important;
    box-sizing: border-box !important;
  }
}


/* Animation on page load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wp-block-columns.alignwide .wp-block-column {
  animation: fadeInUp 0.7s ease-out backwards;
}

.wp-block-columns.alignwide .wp-block-column:nth-child(1) {
  animation-delay: 0.1s;
}

.wp-block-columns.alignwide .wp-block-column:nth-child(2) {
  animation-delay: 0.2s;
}

.wp-block-columns.alignwide .wp-block-column:nth-child(3) {
  animation-delay: 0.3s;
}
/* --- Fix: allow clicks on Best Recipes images --- */
.wp-block-columns.alignwide .wp-block-image::before,
.wp-block-columns.alignwide .wp-block-image::after {
  pointer-events: none;            /* overlays no longer block clicks */
}

.wp-block-columns.alignwide .wp-block-image a {
  position: relative;
  z-index: 2;                      /* put the link above everything */
}




/* (optional) remove fake hand cursor on whole column */
.wp-block-columns.alignwide .wp-block-column { cursor: default; }

/* Kill any container caps on Home */
.home .grid-container,
.home .site-content,
.home #primary,
.home .content-area,
.home .inside-article,
.home .entry-content,
.home [class*="gb-container"],
.home [class*="gb-element"] {
  max-width: 100% !important;
  width: 100% !important;
}

/* ===== CONSISTENT WIDTH FOR ALL HOME SECTIONS ===== */

/* Set all main content sections to same max-width */
.wp-block-columns.alignwide,
.wp-block-query,
.luscious-ebook-box {
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
}

/* ---------- Adjustable container size for specific home sections ---------- */
:root { --home-inner: 1200px; --home-pad: 30px; }

/* 1) Top intro/hero block (your screenshot shows gb-element-99787624) */
.home .gb-element-99787624 {
  max-width: var(--home-inner) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--home-pad) !important;
  padding-right: var(--home-pad) !important;
  width: auto !important;   /* defeats the global 100% width */
}

/* === CONTAINER – NORMAL WIDTH WITH PADDING === */
#mlb2-33153255.ml-form-embedContainer {
  max-width: 1200px;        /* adjust width if you want */
  margin: 0 auto !important;
  padding: 0 24px !important;   /* left–right padding */
}

/* remove forced 400px width */
#mlb2-33153255 .ml-form-embedWrapper {
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 12px !important;
  overflow: hidden;
}

/* ✅ DESKTOP – LEFT IMAGE / RIGHT TEXT */
@media (min-width: 1024px) {

  #mlb2-33153255 .ml-form-embedWrapper {
    display: grid !important;
    grid-template-columns: 35% 65%;   /* image smaller */
    align-items: stretch;
  }

  /* LEFT IMAGE */
  #mlb2-33153255 .ml-form-embedHeader {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    order: 1;
  }

  #mlb2-33153255 .ml-form-embedHeader img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* RIGHT CONTENT */
  #mlb2-33153255 .ml-form-embedBody {
    padding: 40px 32px !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    order: 2;
  }

  /* center text only on desktop */
  #mlb2-33153255 .ml-form-embedContent,
  #mlb2-33153255 .ml-form-embedContent h4,
  #mlb2-33153255 .ml-form-embedContent h2,
  #mlb2-33153255 .ml-form-embedContent p {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
  }

  /* form narrower + centered */
  #mlb2-33153255 .ml-block-form {
    max-width: 420px;
    margin: 0 auto !important;
  }
}

/* ✅ DO NOT CHANGE SUCCESS SECTION */





