.page .entry-title {
  display: none;
}
.page-id-96187 p.woocommerce-store-notice.demo_store {
  display: none;
}
.page-id-95731 p.woocommerce-store-notice.demo_store {
  display: none;
}
.page-id-90093 p.woocommerce-store-notice.demo_store {
  display: none;
}

.page-id-96462 p.woocommerce-store-notice.demo_store {
  display: none;
}

.page-id-98939 header.entry-header {

  display: none !important;

}



.page-id-98939 .entry-content {

  margin-top: 0 !important;

  padding-top: 0 !important;

}

/* Hide reCAPTCHA on mobile */
@media (max-width: 1023px) {
  .rc-anchor {
    display: none !important;
  }
}

/* Alternative: More specific targeting if needed */
@media (max-width: 1023px) {
  .rc-anchor.rc-anchor-invisible {
    display: none !important;
  }
}

/* 5px black border for testimonial block */
.wp-block-group.alignwide.is-style-heim-cover-padding {
    border: 2px solid #8B7A6B !important;
    box-sizing: border-box !important;
}

/* Hide reCAPTCHA badge on mobile */
@media (max-width: 1023px) {
  .grecaptcha-badge {
    display: none !important;
    visibility: hidden !important;
  }
  
  /* Also hide the response textarea */
  .g-recaptcha-response {
    display: none !important;
  }
  
  /* Backup selectors for other reCAPTCHA elements */
  .rc-anchor,
  .rc-anchor-invisible,
  div[class*="rc-anchor"],
  iframe[src*="recaptcha"],
  iframe[title*="reCAPTCHA"] {
    display: none !important;
  }
}

/* Target the paragraph containing the images */
.term-description p:last-of-type {
    display: flex;        
    flex-wrap: nowrap;    
    gap: 10px;            
    align-items: center;  
    overflow-x: auto;     
}

/* Resize images for consistency */
.term-description p:last-of-type img {
    height: 150px;        
    width: auto;          
    flex-shrink: 0;       
    display: block;
}

/* Mobile: keep images in a row but reduce size to 50% */
@media (max-width: 768px) {
    .term-description p:last-of-type img {
        height: 75px;       /* 50% of original */
        width: auto;        /* maintain aspect ratio */
    }
}

/* Target the buttons in the WooCommerce checkout form */
.thwmscf-buttons .button-prev,
.thwmscf-buttons .button-next,
.thwmscf-buttons .thwmscf-cart-url {
  color: var(--buttons--font-color) !important;
  background-color: var(--buttons--background-color) !important;
  border: 1px solid transparent !important;
  border-radius: 50px !important; /* pill shape */
  padding: 0 28px !important;      /* same spacing */
  height: 46px !important;         /* consistent button height */
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.theme-heim .wc-block-grid[data-content-visibility*='button":false'] .wc-block-grid__products {
  margin-left: 16px;
  margin-right: 16px;
}

#thwmscf-tab-panels .thwmscf-buttons:nth-of-type(2) {
  display: none !important;
}

body > .woocommerce-store-notice.demo_store {
  display: none !important;
}

/* Mobile / smaller screens */
@media (max-width: 1023px) {
  .swiper-backface-hidden .swiper-slide {
    min-height: 1000px;
  }
}

/* Desktop / larger screens (leave as is) */
@media (min-width: 1024px) {
  .swiper-backface-hidden .swiper-slide {
    min-height: 800px;
  }
}

/* Mobile-first: default size */
.wp-block-heading.testimonial.has-medium-font-size {
  font-size: 16px !important; /* force override */
}

/* Desktop: 1024px and up */
@media (min-width: 1024px) {
  .wp-block-heading.testimonial.has-medium-font-size {
    font-size: 16px !important; /* force override */
  }
}

/* Mobile-first: smaller size */
#scrollup-master {
  transform: scale(0.75); /* 50% of current size */
}

/* Desktop: hide the button */
@media (min-width: 1024px) {
  #scrollup-master {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .trusted.slider {
    min-height: 1500px;
  }
}

/* --- Staging-only additions --- */
body.page-id-91217 header.entry-header {
  display: none !important;
}

/* Hide the specific menu item on mobile (≤768px) */
@media (max-width: 768px) {
  li.menu-item-97460,
  li.menu-item-97460 a {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* Mobile-only fix for post 80363 */
@media (max-width: 768px) {
  body.postid-80363 .wp-block-column.is-layout-flow {
    flex: 0 0 50% !important;   /* each column takes half width */
    max-width: 50% !important;
  }
}

/* Your fix for the overlay */
.theme-heim .wc-block-components-drawer__screen-overlay {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.theme-heim .wc-block-components-drawer__screen-overlay.wc-block-components-drawer__screen-overlay--is-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    background-color: transparent !important;
}

/* Fix for the drawer positioning */
.wc-block-mini-cart__drawer[aria-hidden="true"] {
    transform: translateX(100%) !important;
    visibility: hidden !important;
    /* This prevents the "jump" back during the double-trigger */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0s 0.4s !important;
}













/* GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Inter:wght@300;400;500;600&display=swap');

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  background:#f5f5f0;
  font-family:'Inter', sans-serif;
}

/* SECTION */

.journal-section{
  width:100%;
  padding:70px 5%;
  background:#f5f5f0;
}

/* TOP AREA */

.journal-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:60px;
  margin-bottom:50px;
}

.section-label{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:20px;
  font-size:10px;
  letter-spacing:4px;
  text-transform:uppercase;
  color:#7a8a58;
}

.section-label::before{
  content:"";
  width:20px;
  height:1px;
  background:#7a8a58;
}

.journal-title{
  font-family:'Cormorant Garamond', serif;
  font-size:70px;
  line-height:0.95;
  font-weight:300;
  letter-spacing:-2px;
  color:#1d1d1b;
}

.journal-title em{
  color:#7a8a58;
  font-style:italic;
  font-weight:300;
}

.journal-intro{
  max-width:320px;
  padding-top:70px;
  font-family:'Cormorant Garamond', serif;
  font-size:22px;
  line-height:1.7;
  color:#8a7f74;
  font-style:italic;
}

/* GRID */

.journal-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid #dddcd4;
  border-left:1px solid #dddcd4;
}

/* CARD */

.journal-card{
  border-right:1px solid #dddcd4;
  border-bottom:1px solid #dddcd4;
  background:#f5f5f0;
  overflow:hidden;
  position:relative;
}

/* IMAGE */

.card-image{
  width:100%;
  height:220px;
  display:block;
  overflow:hidden;
}

.card-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:0.6s ease;
}

.journal-card:hover .card-image img{
  transform:scale(1.05);
}

/* CONTENT */

.card-content{
  padding:28px;
  position:relative;
  min-height:320px;
}

.card-category{
  display:block;
  margin-bottom:20px;
  font-size:10px;
  letter-spacing:4px;
  text-transform:uppercase;
  color:#9b988d;
}

.card-title{
  margin-bottom:18px;
}

.card-title a{
  text-decoration:none;
  color:#1d1d1b;
  font-family:'Cormorant Garamond', serif;
  font-size:42px;
  line-height:1.05;
  font-weight:300;
  transition:0.3s ease;
}

.card-title a:hover{
  color:#7a8a58;
}

.card-text{
  font-size:16px;
  line-height:1.9;
  color:#7f7f78;
  margin-bottom:30px;
}

.read-more{
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:3px;
  font-size:10px;
  color:#7a8a58;
  transition:0.3s ease;
}

.read-more:hover{
  letter-spacing:4px;
}

.card-number{
  position:absolute;
  right:18px;
  bottom:0;
  font-family:'Cormorant Garamond', serif;
  font-size:72px;
  color:#ecebe4;
  line-height:1;
  font-weight:300;
}

/* =========================
   TABLET
========================= */

@media (max-width:1024px){

  .journal-top{
    flex-direction:column;
    gap:30px;
  }

  .journal-intro{
    padding-top:0;
    max-width:100%;
  }

  .journal-grid{
    grid-template-columns:1fr;
  }

  .journal-title{
    font-size:58px;
  }

  .card-content{
    min-height:auto;
  }

}

/* =========================
   MOBILE
========================= */

@media (max-width:768px){

  .journal-section{
    padding:50px 20px;
  }

  .journal-title{
    font-size:44px;
    line-height:1;
  }

  .journal-intro{
    font-size:19px;
  }

  .card-image{
    height:200px;
  }

  .card-content{
    padding:24px;
  }

  .card-title a{
    font-size:32px;
  }

  .card-text{
    font-size:15px;
  }

  .card-number{
    font-size:56px;
  }

}


/* Headings */
.page-id-101350 h1,
.page-id-101350 h2,
.page-id-101350 h3,
.page-id-101350 h4,
.page-id-101350 h5,
.page-id-101350 h6 {
    font-family: "Source Serif 4", serif !important;
}

/* Body Content */
.page-id-101350,
.page-id-101350 .wp-site-blocks,
.page-id-101350 p,
.page-id-101350 li,
.page-id-101350 span,
.page-id-101350 a,
.page-id-101350 div,
.page-id-101350 input,
.page-id-101350 textarea,
.page-id-101350 button,
.page-id-101350 label {
    font-family: "Gotham", sans-serif!important;
}