/*main menu*/
@media screen and (min-width: 1024px) {

    /*menu desktop*/
    .menu-item {
        position: relative;
    }
  
    .menu-item a {
        padding: .8rem;
        width: 100%;
        display: flex; 
        text-decoration: none;
    }
  
    /* .menu-item a:hover {
      font-weight: 700;
    } */
  
    .menu-item .sub-menu {    
        opacity: 0;
        visibility: hidden;
        position: absolute;
        top: inherit;
        z-index: 300;
        text-align: left;
        background-color: #fff;
        color: #000000;
        font-size: 0.875rem;

    }
  
    .sub-menu .menu-item {
      /*display: flex;*/
      display: none;
      position: relative;        
    }
  
    .menu-item:hover > .sub-menu {    
        opacity: 1;
        visibility: visible;
        background-color: #BE8533;
        color: #fff;
        width: 100%;
    }

    .menu-item:hover > .sub-menu > li > a:hover {            
        color: #BE8533;
        background-color: #fff;
    }
  
    /*#MainNav > .menu-item {
      padding: 10px 5px;
    }
  
    #MainNav ul.sub-menu {
        text-transform: capitalize;
        width: 170%;
        margin-top: .65rem;
        margin-left: -12%;
        border-radius: 4%;
        border-radius: .25rem;
        font-weight: 500;
        font-size: 0.75rem; 
        line-height: 1rem;
        padding: .50rem;
        transition-property: all;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
        transition-duration: 150ms;
        box-shadow: 1px 1px 4px #a9a9a9;
      
        &:after {
          content: '';
          position: absolute;
          border: 1px solid rgba(255, 255, 255, 0);
        }
  
        &:before {
          content: '';
          position: absolute;
          border: 1px solid #ffffff00;
        }
        
        &.top:after {
          border-color: #fff transparent;
          border-width: 0 10px 12px 10px;
          top: -12px;
          left: 15%;
        }
    }
  
    #MainNav ul.sub-menu ul.sub-menu {
      top: 0;
      left: 100%;
      margin-top: 0;
      width: 100%;
    }*/
  }

.button-top {
    /* font-family: -webkit-pictograph; */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    /* width: 40px; 
    height: 40px; */
    border: 0;
    /* border-radius: 50px;
    box-shadow: none;
    font-size: 18px;
    text-align: center; */
    cursor: pointer;
    transition: opacity .18s ease;
    /* outline: none important; */
}

.button-top-visible {
    opacity: 1;
    pointer-events: auto;
}

/**splide bug**/
.splide__sr {
    display: none;
}

/**wp**/
.aligncenter {
  margin: auto;
}

.alignright {
  float: right;
  clear: both;
}

.alignleft {
  float: left;
  clear: both;
}

.wp-caption.aligncenter {
  text-align: center;
}

.wp-caption.aligncenter img {
  width: 100%;
}


/* 
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/

@media (max-width: 1024px) {  
    .menu-item a {
      padding: 10px 5px;    
  }
}


/* make the mobile menu clickable */
/* Apply these styles ONLY on screens smaller than 992px */
@media (max-width: 991px) {

  /* Reset default list spacing */
  #mobile-menu li {
    margin: 0;
    padding: 0;
  }

  /* Standard top-level item spacing */
  #mobile-menu > li > a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: center;
    line-height: 1.4;
  }

  /* Dropdown arrow */
  .submenu-toggle {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.75rem;
    line-height: 1;
    display: inline-block;
    margin: 0;
    transition: transform 0.3s ease;
  }

  .menu-item-has-children.active > a .submenu-toggle {
    transform: rotate(180deg);
  }

  /* Submenu default hidden — and does NOT take space */
  .menu-item-has-children .sub-menu {
    display: none;
    padding: 0;
    margin: 0;
    height: 0;
    overflow: hidden;
  }

  /* ✅ CRUCIAL: Prevent .sub-menu from adding space due to Tailwind gap */
  .menu-item-has-children:not(.active) .sub-menu {
    display: none;
    margin-top: -0.75rem; /* cancels the gap-y-3 effect below parent li */
  }

  /* Show submenu when active */
  .menu-item-has-children.active .sub-menu {
    display: block;
    height: auto;
    margin-top: 4px;
  }

  /* Submenu inner spacing */
  .menu-item-has-children .sub-menu li {
    margin: 0;
    padding: 4px 0;
  }

  .menu-item-has-children .sub-menu li a {
    font-size: 0.95rem;
    line-height: 1.3;
    padding: 0;
    display: block;
  }

  /* Ensure the link with the arrow stays centered */
  #mobile-menu li.menu-item-has-children > a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding-top: 12px;
    padding-bottom: 12px;
    line-height: 1.4;
  }




}


/* =========================================
   Blog Content Wrapper Styles
========================================= */
.blog-content {
  color: #36251D;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  line-height: 1.625;
}

/* --- Headings --- */
.blog-content :is(h1:not(:where(.mcr-rt)),h1:where(.mcr-was-h1),h2:where(.mcr-was-h1),h3:where(.mcr-was-h1),h4:where(.mcr-was-h1),h5:where(.mcr-was-h1),h6:where(.mcr-was-h1),mcr-label:where(.mcr-was-h1)), 
.blog-content :is(h2:not(:where(.mcr-rt)),h1:where(.mcr-was-h2),h2:where(.mcr-was-h2),h3:where(.mcr-was-h2),h4:where(.mcr-was-h2),h5:where(.mcr-was-h2),h6:where(.mcr-was-h2),mcr-label:where(.mcr-was-h2)), 
.blog-content :is(h3:not(:where(.mcr-rt)),h1:where(.mcr-was-h3),h2:where(.mcr-was-h3),h3:where(.mcr-was-h3),h4:where(.mcr-was-h3),h5:where(.mcr-was-h3),h6:where(.mcr-was-h3),mcr-label:where(.mcr-was-h3)), 
.blog-content :is(h4:not(:where(.mcr-rt)),h1:where(.mcr-was-h4),h2:where(.mcr-was-h4),h3:where(.mcr-was-h4),h4:where(.mcr-was-h4),h5:where(.mcr-was-h4),h6:where(.mcr-was-h4),mcr-label:where(.mcr-was-h4)), 
.blog-content :is(h5:not(:where(.mcr-rt)),h1:where(.mcr-was-h5),h2:where(.mcr-was-h5),h3:where(.mcr-was-h5),h4:where(.mcr-was-h5),h5:where(.mcr-was-h5),h6:where(.mcr-was-h5),mcr-label:where(.mcr-was-h5)), 
.blog-content :is(h6:not(:where(.mcr-rt)),h1:where(.mcr-was-h6),h2:where(.mcr-was-h6),h3:where(.mcr-was-h6),h4:where(.mcr-was-h6),h5:where(.mcr-was-h6),h6:where(.mcr-was-h6),mcr-label:where(.mcr-was-h6)) {
  font-family: 'Playfair Display', serif;
  font-weight: 300;
  color: #36251D;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

/* Mobile & Tablet Heading Sizes */
.blog-content :is(h1:not(:where(.mcr-rt)),h1:where(.mcr-was-h1),h2:where(.mcr-was-h1),h3:where(.mcr-was-h1),h4:where(.mcr-was-h1),h5:where(.mcr-was-h1),h6:where(.mcr-was-h1),mcr-label:where(.mcr-was-h1)) { font-size: 2.25rem; line-height: 2.5rem; }
.blog-content :is(h2:not(:where(.mcr-rt)),h1:where(.mcr-was-h2),h2:where(.mcr-was-h2),h3:where(.mcr-was-h2),h4:where(.mcr-was-h2),h5:where(.mcr-was-h2),h6:where(.mcr-was-h2),mcr-label:where(.mcr-was-h2)) { font-size: 1.875rem; line-height: 2.25rem; }
.blog-content :is(h3:not(:where(.mcr-rt)),h1:where(.mcr-was-h3),h2:where(.mcr-was-h3),h3:where(.mcr-was-h3),h4:where(.mcr-was-h3),h5:where(.mcr-was-h3),h6:where(.mcr-was-h3),mcr-label:where(.mcr-was-h3)) { font-size: 1.5rem; line-height: 2rem; }
.blog-content :is(h4:not(:where(.mcr-rt)),h1:where(.mcr-was-h4),h2:where(.mcr-was-h4),h3:where(.mcr-was-h4),h4:where(.mcr-was-h4),h5:where(.mcr-was-h4),h6:where(.mcr-was-h4),mcr-label:where(.mcr-was-h4)) { font-size: 1.25rem; line-height: 1.75rem; }

/* Desktop Heading Sizes (Tailwind's 'lg:' breakpoint at 1024px) */
@media (min-width: 1024px) {
  .blog-content :is(h1:not(:where(.mcr-rt)),h1:where(.mcr-was-h1),h2:where(.mcr-was-h1),h3:where(.mcr-was-h1),h4:where(.mcr-was-h1),h5:where(.mcr-was-h1),h6:where(.mcr-was-h1),mcr-label:where(.mcr-was-h1)) { font-size: 3rem; line-height: 1; }
  .blog-content :is(h2:not(:where(.mcr-rt)),h1:where(.mcr-was-h2),h2:where(.mcr-was-h2),h3:where(.mcr-was-h2),h4:where(.mcr-was-h2),h5:where(.mcr-was-h2),h6:where(.mcr-was-h2),mcr-label:where(.mcr-was-h2)) { font-size: 2.25rem; line-height: 2.5rem; }
  .blog-content :is(h3:not(:where(.mcr-rt)),h1:where(.mcr-was-h3),h2:where(.mcr-was-h3),h3:where(.mcr-was-h3),h4:where(.mcr-was-h3),h5:where(.mcr-was-h3),h6:where(.mcr-was-h3),mcr-label:where(.mcr-was-h3)) { font-size: 1.875rem; line-height: 2.25rem; }
  .blog-content :is(h4:not(:where(.mcr-rt)),h1:where(.mcr-was-h4),h2:where(.mcr-was-h4),h3:where(.mcr-was-h4),h4:where(.mcr-was-h4),h5:where(.mcr-was-h4),h6:where(.mcr-was-h4),mcr-label:where(.mcr-was-h4)) { font-size: 1.5rem; line-height: 2rem; }
}

/* --- Paragraphs --- */
.blog-content p {
  margin-bottom: 1.5rem;
}

/* --- Lists (Bullets and Numbers) --- */
.blog-content ul {
  list-style-type: disc;
  list-style-position: outside;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.blog-content ol {
  list-style-type: decimal;
  list-style-position: outside;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.blog-content li {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Make the bullets/numbers gold */
.blog-content li::marker {
  color: #BE8533;
}

/* --- Images & Figures --- */
.blog-content img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  object-fit: cover;
}

.blog-content figure {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.blog-content figcaption {
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.75rem;
  font-style: italic;
}

/* --- Links --- */
.blog-content a {
  color: #BE8533;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.15s ease-in-out;
}

.blog-content a:hover {
  color: #a6722a;
}

/* --- Blockquotes --- */
.blog-content blockquote {
  border-left: 4px solid #BE8533;
  padding-left: 1.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  background-color: #fafaf9;
  font-style: italic;
  font-size: 1.25rem;
  font-family: 'Cormorant Garamond', serif;
  color: #374151;
}

/* --- Strong / Bold Text --- */
.blog-content strong, 
.blog-content b {
  font-weight: 600;
}