/*
Theme Name:     thymegp
Theme URI:      
Description:    GeneratePress child theme for Thyme.
Author:         Me
Author URI:     
Template:       generatepress
Version:        0.1.0
*/

/* 🎨 Global Styles */


/* 🧼 Global fallback font-size for h1 */
h1 {
  font-size: 2rem;
}



/* 🌿 Ensure Background Reaches Full Height */
body {
    background: url('https://thymeinthecountrycottages.com/app/uploads/2025/06/body-bg.png') repeat-x center top;
    background-size: contain; /* 🛠 Prevents scaling distortion */
    background-attachment: fixed;
    position: relative;
}

/* 🏠 Only on the Home Page */

/* ✅ Only offset body on home page */
.has-mobile-action-bar {
    padding-top: 75px; /* Same as .mobile-action-bar height */
}


/* 🩹 Section fallback fix */
section {
  font-size: inherit;
}



body.search.separate-containers .site-main,
body.archive.separate-containers .site-main {
    margin-top: 0 !important;
}



/* 🔗 Breadcrumbs */
.breadcrumbs {
  font-size: 18px;
  font-family: helvetica;
  color: #d30c0c;
  margin: 15px 10px 10px 15px;
  position: relative;
  top: 0px;
  left: 0px;
  padding-top: 0px;
  font-weight: 800;
}

@media (max-width: 768px) {
  .breadcrumbs {
    font-size: 14px;
    padding-top: 0px;
  }

  .breadcrumbs a,
  .breadcrumbs .current {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .breadcrumbs {
    font-size: 12px;
    padding-top: 0px;

  }

  .breadcrumbs a,
  .breadcrumbs .current {
    font-size: 12px;
  }
}

/* 📍 Current Page in Breadcrumbs */
.breadcrumbs .current {
  font-weight: 600; /* Lighter than links */
  color: #ffffff;
  text-decoration: none;
  /* background: rgba(253, 248, 209, 0.5); */
  /* padding: 2px 6px; */
  /* border-radius: 3px; */
}

.breadcrumbs a {
  color: #faf292;
  text-decoration: none;
  background: none !important;
}

.breadcrumbs a:hover {
  text-decoration: none;
  color: #d30c0c;
}

/* Primary Menu */

.main-navigation {
  position: relative;
  top: 390px;
  z-index: 5;
}

.home .main-navigation {
  position: relative;
  top: -30px;
  z-index: 5;
}

.main-navigation a, .main-navigation .menu-toggle, .main-navigation .menu-bar-items {
  font-size:  1.1em;
  font-weight:  800;
}

.main-navigation a {
    border-radius:  0px !important;

}

@media (max-width: 768px) {
    .main-navigation a {
    border-radius:  3px !important;
 }
}

.main-navigation .main-nav ul ul li a {
  font-size:  1em;
}


/* ✅ Minimal Mobile Navigation with Background Image */
@media (max-width: 768px) {
  /* ✅ Main Navigation Header with Background Image */
  .main-navigation {
    background-image: url('https://thymeinthecountrycottages.com/app/uploads/2025/06/alternate-header.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100px; /* Adjust as needed for desired header height */
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: space-between; /* Space between hamburger and search */
    padding: 0 15px; /* Space around the header elements */
  }

  /* ✅ Inside Navigation Flex Layout */
  .main-navigation .inside-navigation {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

  /* ✅ Hamburger Menu (Left) */
  .main-navigation .menu-toggle {
    order: 0;
    flex: 0 0 auto; /* Prevents it from expanding */
  }

  /* ✅ Menu Bar Items (Search) on the Right */
  .main-navigation .menu-bar-items {
    order: 1;
    margin-left: auto; /* Push to the far right */
    flex: 0 0 auto;
  }
}

/* ✅ Off-Canvas Slideout Menu with Little House Image */
@media (max-width: 768px) {
  #generate-slideout-menu {
    background-image: url('https://thymeinthecountrycottages.com/app/uploads/2025/06/thymelogo2.jpg');
    background-size: 200px auto; /* Adjust image width for better fit */
    background-repeat: no-repeat;
    background-position: center top; /* Positioned to the left */
    background-attachment: scroll; /* Allow scrolling with content */
    background-color: #FDFADF; /* Fallback color for background */
    height: 100vh; /* Full height for slideout */
    overflow-y: auto; /* Scrollable content */

    /* ✅ Current Hack: Large Padding to Reveal Home Link and Close (X) */
    padding-top: 480px; /* ⚠️ Required to ensure visibility of Home and Close (X) */
    /* ⚡ If layout changes, adjust this value or consider a cleaner approach */
  }

  /* ✅ Fix for Close (X) Button */
  #generate-slideout-menu .slideout-navigation button {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10; /* Ensures Close (X) is always visible */
  }

  /* ✅ Ensure Menu Items Start Immediately After Padding */
  #generate-slideout-menu .slideout-navigation ul {
    margin-top: 0; /* Prevents extra spacing below the image */
  }
}

/* ✅ Optimized for Smaller Screens (520px and below) */
@media (max-width: 520px) {
  .main-navigation {
    background-image: url('https://thymeinthecountrycottages.com/app/uploads/2025/06/alternate-header.jpg');
    background-size: cover;
    background-size: 400px auto; /* Smaller background image for better scaling */
    background-position: 75% center; /* Centered nicely */
    background-repeat: no-repeat;
    height: 65px; /* Reduced height for mobile */
  }
}

/* adjust color for down arrow on offcanvas */
@media (max-width: 520px) {
.slideout-navigation.do-overlay .menu-item-has-children .dropdown-menu-toggle {
    border-left: 1px solid green !important;
    position: relative;
    top: 0px;
 }
}

/* 🍂 Position Twig Between the Slider and the Menu */
.home .header-twig {
  width: 100%;
  height: 25px; /* Adjust height if needed */
  background: url('https://thymeinthecountrycottages.com/app/uploads/2025/06/border-page-top.png') repeat-x center bottom;
  background-size: auto; /* Prevents stretching */
  position: relative;
  bottom: 10px;
  z-index: 10; /* Ensure it stays above the slider */
}

/* 🍂 Position Twig on Non-Front Pages Only */
body:not(.home) .header-twig {
  width: 100%;
  height: 25px; /* Adjust height if needed */
  background: url('https://thymeinthecountrycottages.com/app/uploads/2025/06/border-page-top.png') repeat-x center bottom;
  background-size: auto; /* Prevents stretching */
  position: relative;
  bottom: 35px; /* Adjust as needed */
  z-index: 10; /* Ensure it's above the menu */
}

 .search .header-twig, .nosearch .header-twig, .error404 .header-twig, .archive .header-twig {
    z-index: -1 !important;
 }


/* 🍂 Repeat Twig Image Above Footer for Large Screens */
.container.grid-container::after {
  content: "";
  display: block;
  width: 100%;
  height: 25px; /* Adjust height if needed */
  background: url('https://thymeinthecountrycottages.com/app/uploads/2025/06/border-page-top.png') repeat-x center bottom;
  background-size: auto; /* Prevents stretching */
  position: relative;
  z-index: 3; /* Keep it above the parchment */
  margin-top: -12px;
  top: 20px;
}


/* 📜 Parchment Background for `.inside-article` */
.inside-article {
  padding: 40px;
  margin-left: auto;
  margin-right: auto;
  max-width: 960px !important;
  position: relative; /* Ensures it stays on top */
  background-color: #f5f1e3; /* Light parchment fallback */
  background:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.85) 0%,  /* Strongest white at the top */
      rgba(255, 255, 255, 0.6) 20%,  
      rgba(255, 255, 255, 0.3) 40%,  
      rgba(255, 255, 255, 0.1) 60%,  
      rgba(255, 255, 255, 0) 100%    /* No white at the bottom */
    ),
    url('https://thymeinthecountrycottages.com/app/uploads/2025/06/bg-parch.jpg')
    repeat center top !important;
  background-size: 520px 520px; /* Keep texture size natural */
  background-color: transparent !important;
  z-index: 3 !important; /* Ensures it's visible */
  border-radius: 5px;
}
/*
@media (max-width: 1024px) {
.inside-article {
  margin: 0px 10px;
 }
}
*/
/* 🔗 Link Styles */
a {
  text-decoration: none;
  color: #d30c0c; /* Dark red for readability */
  background: transparent; /* Transparent background */
  padding: 1px 2px;
  border-radius: 3px;
  transition: all 0.3s ease-in-out; /* Smooth effect */
}

/* Hover Effect */
a:hover {
  color: #717ff7; /* Bright blue on hover */
}


/* 📰 Images & Captions */
.wp-block-image img, .post-image img {
  background: white;
  padding: 5px;
  border-radius: 8px;
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
}

/* Center Images and Captions on Mobile */
@media (max-width: 768px) {
  .wp-block-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
  }

  .wp-block-image figcaption {
    text-align: center;
    width: 100%;
    margin-top: 0.5em;
  }

  .wp-block-image img {
    width: 90% !important; /* Ensures images are properly sized */
    max-width: 90% !important;
    height: auto;
  }
}

/* 📝 Blockquotes */
.wp-block-quote {
  text-align: center; /* Ensure blockquotes are centered */
}


/*************************************
 * 1️⃣ HOME PAGE LOGO (.slider-logo)
 *************************************/
/*************************************
 * 1️⃣ HOME PAGE LOGO (.slider-logo)
 *************************************/
.slider-logo {
    position: absolute;
    top: 22%; /* Adjust this to move it up/down */
    left: 5%;
    transform: translateY(-50%);
    z-index: 10;
    
    width: 300px; /* Set explicit width */
    height: auto;
    max-width: none; /* Ensure no limits */
}

@media (max-width: 768px) {
    .slider-logo {
        top: 20%;
        left: 50%;
        transform: translateX(-50%);
        /*width: 260px; /* Adjusted size for mobile */
        display: none;
    }
}

.slider-logo img {
    width: 100%;
    height: auto;
    max-width: none; /* Ensure no restrictions */
    display: block;
}


/* ✅ Fix content positioning */
.site-content {
    width: 100%;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    padding-top: 10px; /* Space below nav */
}

/* ✅ Ensure slider is full width */
.swiper-header {
    position: relative;
    width: 100vw; /* Full viewport width */
    max-width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ✅ Ensure slides fill the full width */
.swiper-container {
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* Full-Width Header Slider */


/* 🔒 Hide entire slider wrapper initially */
.header-slider {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out;
}

/* ✅ Reveal once Swiper is initialized */
.header-slider.swiper-ready {
    opacity: 1;
    visibility: visible;
    max-height: 450px; /* Adjust height as needed */
    height: 450px;     /* Ensure it takes effect */
    overflow: hidden;
    width: 100vw;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}


/* Adjust slide images to show the bottom */
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom; /* Shift focus to bottom */
}

/* ✅ Make slides use background images */
.swiper-slide {
    position: relative;
    width: 100%;
    height: 450px; /* Adjust height as needed */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ✅ Centered text & add off-white border */
.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6); /* Subtle text glow */
}

/* 🔒 Prevent initial flash */
.swiper-container {
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

/* 🎬 Reveal once Swiper is ready */
.swiper-container.swiper-initialized {
    opacity: 1;
}


/* 🌟 Define Animations Globally */
@keyframes gentleBounce {
    0% { transform: translateY(0); opacity: 0; }
    50% { transform: translateY(-5px); opacity: 1; }
    100% { transform: translateY(0); }
}

@keyframes pulseGlow {
    0% { box-shadow: 0px 0px 3px rgba(255, 255, 245, 0.4); }
    50% { box-shadow: 0px 0px 18px rgba(255, 255, 245, 1); } /* ✨ Stronger glow */
    100% { box-shadow: 0px 0px 3px rgba(255, 255, 245, 0.4); }
}

/* 🌿 Make the overlay text clickable */
.overlay-text {
    display: inline-block;
    padding: 10px 24px 20px 14px;
    border: 2px solid rgba(255, 255, 245, 0.8);
    font-family: 'Lora', sans-serif;
    font-size: 1em;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    text-decoration: none;
    color: #ffffff;
    max-width: 90%; /* Keep it flexible */
    text-align: center;
    white-space: nowrap;
    word-wrap: normal;
    display: inline-block;
}


/* 📏 Tablets & Small Screens (≤ 960px) */
@media (max-width: 960px) {
    .overlay-text {
        font-size: .9em;
        padding: 8px 22px;
        max-width: 92%;
        position: relative;
        top: 125px;
    }
}

/* 📱 Small Tablets & Large Phones (≤ 768px) */
@media (max-width: 768px) {
    .overlay-text {
        font-size: .8em;
        padding: 6px 20px;
        max-width: 95%;
        position: relative;
        top: 5px;
    }
}

/* 📞 Fix for Small Mobile Screens (≤ 480px) */
@media (max-width: 480px) {
    .overlay-text {
        font-size: .7em; /* Reduce font size */
        padding: 6px 10px; /* Adjust padding */
        max-width: 100%; /* Allow full container width */
        width: 50vw; /* Force it to use viewport width */
        min-width: 50vw; /* Prevent shrinking too much */
        white-space: normal; /* Allow proper wrapping */
        word-break: break-word; /* Ensure it wraps naturally */
        display: block; /* Prevent inline spacing quirks */
        animation: pulseGlow 3.5s infinite ease-in-out;
        will-change: box-shadow;
        transform: translateZ(0); /* Forces GPU acceleration */
        position: relative;
        top: 5px;
    }
}


/* 🎯 Add hover effect */
.overlay-text:hover {
    box-shadow: 0px 0px 10px rgba(255, 255, 245, 0.8); 
    background: rgba(0, 0, 0, 0.3);
    color: #f4a261; 
}

.slider-controls, 
.swiper-button-prev, 
.swiper-button-next, 
.slick-prev, 
.slick-next {
    /*margin-top: -30px; /* Move them up */
}

@media (max-width: 768px) {
    .slider-controls, 
    .swiper-button-prev, 
    .swiper-button-next, 
    .slick-prev, 
    .slick-next {
        /*margin-top: -150px; /* Move them higher */
    }
}

@media (max-width: 480px) {
    .slider-controls, 
    .swiper-button-prev, 
    .swiper-button-next, 
    .slick-prev, 
    .slick-next {
        /*margin-top: -150px; /* Move even higher for mobile */
    }
}


/* 🛠️ Force Pagination to Center */
.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
    left: 50% !important; 
    transform: translateX(-50%) !important;
    width: auto !important; 
    text-align: center !important;
    bottom: 50px !important; /* Move it up */
}

@media (max-width: 480px) {
    .swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
    width: 90% !important; 
 }
}

/* 🚀 Hero styles */
.home .page-hero, .page-template-default .page-hero {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers vertically */
    align-items: center; /* Centers horizontally */
    height: 450px; /* Set an appropriate height */
    position: relative;
    text-align: center;
}

/* 🚫 No easing on mobile */
@media (max-width: 768px) {
  .swiper-wrapper,
  .swiper-slide {
    transition-timing-function: linear !important;
  }
}

/* ✅ Smooth easing on desktop */
@media (min-width: 769px) {
  .swiper-wrapper,
  .swiper-slide {
    transition-timing-function: ease-in-out !important;
  }
}



/*************************************
 * 1️⃣ PAGE TITLE STYLING (.pagetitle)
 *************************************/
.pagetitle {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid rgba(255, 255, 245, 0.8); 
    font-family: 'Lora', sans-serif;
    font-size: 35px;  /* 🔹 Matches home page */
    font-weight: bold;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    text-decoration: none;
    color: #ffffff;
    text-align: center;
    margin: 0 auto;
    position: relative; /* Keep it naturally placed inside flex container */
    top: 13%; /* Adjusted to match */
    left: 50%;
    transform: translateX(-50%); /* Only move horizontally */
    
    /** 🔹 Allow the box to expand based on content **/
    width: auto; /* Expand dynamically */
    min-width: 250px; /* Prevent it from being too narrow */
    max-width: 100%; /* Keep it from going too wide on large screens */
    white-space: normal; /* Allow wrapping */
    word-wrap: break-word; /* Ensure long words don’t overflow */
}


/*************************************
 * 2️⃣ RESPONSIVE ADJUSTMENTS
 *************************************/

/* 🔹 **960px:** Slight reduction in size, ensure the box can expand */
@media (max-width: 960px) {
    .pagetitle {
        font-size: 2.5em; /* 🔹 Maintain a bold presence */
        padding: 12px 24px;
        top: 5%;
        max-width: 100%; /* 🔹 Allow more width */
    }
}

/* 🔹 **768px:** Maintain strong readability while centering better */
@media (max-width: 768px) {
    .pagetitle {
        font-size: 2em;
        padding: 10px 22px;
        top: 6%;
        max-width: 100%; /* 🔹 Almost full width for better balance */
    }
}

/* 🔹 **600px:** Adjust width & padding for smoother layout */
@media (max-width: 600px) {
    .pagetitle {
        font-size: 1.8em;
        padding: 10px 20px;
        top: 7%;
        max-width: 100%; /* 🔹 Use almost full width */
        min-width: 320px; /* 🔹 Prevents excessive shrinking */
    }
}

/* 🔹 **480px:** Keep box flexible but avoid excessive wrapping */
@media (max-width: 480px) {
    .pagetitle {
        font-size: 1.6em; /* 🔹 Maintain readability */
        padding: 8px 18px;
        top: 8%;
        max-width: 100%; /* 🔹 Utilize full space */
        min-width: 300px; /* 🔹 Prevents it from being too small */
    }
}

/* 🔹 **320px and below:** Optimize for very small screens */
@media (max-width: 320px) {
    .pagetitle {
        font-size: 1.4em;
        padding: 6px 16px;
        top: 8.5%;
        max-width: 100%; /* 🔹 Utilize full width */
        min-width: 280px; /* 🔹 Prevents title from becoming too narrow */
    }
}


/*************************************
 * 2️⃣ NON-HOME PAGES LOGO (.site-logo)
 *************************************/
 .site-logo {
    /* Removed extra "position: relative" */
    position: absolute;
    top: 88%;             /* Adjust for home page vertical placement */
    left: 5%;
    transform: translateY(-50%); /* Moves from the top anchor */
    z-index: 10;
    max-width: 300px; /* Increase max width */
    width: 300px; /* Ensure it scales */
    /* ⭐ Make the glow more dramatic & quicker */
    animation: pulseGlow 5s infinite ease-in-out;
}

/* Remove button-like styling, same as before */
.site-logo a {
    display: block;
    line-height: 0;
    margin: 0;
    padding: 0;
    text-decoration: none;
    background: none;
    border: none;
    box-shadow: none;
    color: inherit;


}

.site-logo img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    line-height: 1;
    vertical-align: middle;
}

/* 🔹 **768px and below:** Lowered & added subtle glow */
@media (max-width: 768px) {
    .site-logo {
        top: 100%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 180px;
        
    }
    .site-logo img {
        width: 180px;
    }
}

/* 🔹 **480px and below:** Lowered & still glowing */
@media (max-width: 480px) {
    .site-logo {
        top: 78%;
        max-width: 160px;
        
    }
    .site-logo img {
        width: 160px;
    }
}

/* 🔹 **320px and below:** Lowered more, glow remains */
@media (max-width: 320px) {
    .site-logo {
        top: 83%;
        max-width: 140px;
        
    }
    .site-logo img {
        width: 140px;
    }
}

/* ✨ Glowing Pulse Animation */
/* ✨ Maximum Glow Effect */
@keyframes pulseGlow {
    0% {
        box-shadow: 
            0 0 25px rgba(250, 242, 146, 0.9),  /* Base bright yellow */
            0 0 50px rgba(255, 255, 180, 0.7),  /* Lighter golden */
            0 0 75px rgba(230, 220, 110, 0.5);  /* Slightly darker */
    }
    50% {
        box-shadow: 
            0 0 60px rgba(250, 242, 146, 1.0),  
            0 0 90px rgba(255, 255, 180, 0.85),  
            0 0 130px rgba(230, 220, 110, 0.7);
    }
    100% {
        box-shadow: 
            0 0 25px rgba(250, 242, 146, 0.9),  
            0 0 50px rgba(255, 255, 180, 0.7),  
            0 0 75px rgba(230, 220, 110, 0.5);
    }
}



/*************************************
 * 3️⃣ WHITE BORDER AROUND BOTH LOGOS
 *************************************/
.slider-logo::before,
.site-logo::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid white;
    z-index: -1;
    box-sizing: border-box; /* Ensures the border doesn't overflow */
}


/* ✅ Custom Footer Styles */

/* 🔹 Desktop Footer Base */

/* =========================================
   Base (Desktop) - Above 960px
   ========================================= */

/* ✅ Custom Footer Styles */

/* footer button */
.booknow {
    top: 20px;
}

@media (max-width: 768px) {
    .booknow {
    top: -20px;
 }
}

/* Footer Base Styles (Desktop) */
.site-footer {
    max-width: 960px;
    width: 100%;
    margin: auto;
    background: linear-gradient(78deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.3)), #d7a32b;
    padding: 15px 0px 10px 0px;
    position: relative;
    bottom: -1px;
    color: white;
    overflow: hidden;
    min-height: auto;
    height:  auto;
    margin-bottom: 0;
}

/* Footer Layout */
.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.footer-left,
.footer-right {
    flex: 1;
    min-width: 50%;
}

/* Instagram Section */
.footer-left {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-left h2 {
    font-family: "Lora", serif;
    font-size: 29px;
}

.footer-left h2 a {
    color: white;
    text-decoration: none;
}

.footer-left h2 a:hover {
    color: #FAF292;
}

/* Instagram Icon with Glow */
.footer-icon {
    position: relative;
    left:  30px;
    top:  20px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    overflow: visible;
    background: transparent;
}

.footer-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: none !important;
}

/* Glowing effect */
.footer-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 20%;
    background-color: rgba(255, 255, 255, 0.1);
    pointer-events: none;
    z-index: -1;
    animation: bigGlow 5s infinite ease-in-out;
}

@keyframes bigGlow {
    0% {
        box-shadow: 0 0 10px 3px rgba(255, 255, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 35px 15px rgba(255, 255, 255, 0.8);
    }
    100% {
        box-shadow: 0 0 10px 3px rgba(255, 255, 255, 0.4);
    }
}

/* Address & Contact Section */
.footer-right {
    text-align: right;
    flex: 1;
    padding-right: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-right p {
    font-family: "Jost", sans-serif;
    font-size: 17px;
    margin: 5px 0;
}

.footer-right a {
    color: white;
    text-decoration: none;
}

.footer-right a:hover {
    color: #f20a0a;
}

.footerphone {
  font-size: 1.25em !important;
  font-weight: 800;
  color: white;
  position: relative;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6))
          drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
  animation: footerPhoneGlowFilter 4.5s infinite ease-in-out;
}

/* Gently dramatic glow */
@keyframes footerPhoneGlowFilter {
  0%, 100% {
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6))
            drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9))
            drop-shadow(0 0 16px rgba(255, 255, 255, 0.7));
  }
}



/* Footer Links now stay with the address */
.footer-links {
    margin-top: 10px;
}

/* Footer Shape Divider (Desktop) */
.footer-shape-divider {
    position: absolute !important; /* forces it to stay at the bottom */
    bottom: 0;
    left: 0;
    width: 100%;
    height: 155px; /* Desktop height */
    z-index: 1;
    overflow: hidden;
}

/* Book Now Button Positioning (desktop) */
.footer-book-now {
    position: absolute;
    bottom: 20px;
    left: 15%;
    transform: translateX(-50%);
    z-index: 5;
}


/* Book Now Button Styling */
.book-now-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* Reduce padding & font size */
    padding: 8px 20px;
    font-size: 25px;

    /* Lower border thickness */
    border-radius: 20px;
    border: 2px solid white;

    font-family: "Jost", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    background-color: #c20000;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}


.book-now-button:hover {
    background-color: var(--base-3);
    border-color: black;
}

/* Slower, smoother glowing animation for Book Now */
a.book-now-button {
    animation: booknowGlow 4.5s infinite ease-in-out;
}

@keyframes booknowGlow {
    0% {
        box-shadow: 0 0 10px 3px rgba(255, 255, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 30px 10px rgba(250, 242, 146, 0.8);
    }
    100% {
        box-shadow: 0 0 10px 3px rgba(255, 255, 255, 0.4);
    }
}

/* =========================================
   1) Medium screens (<= 960px)
   ========================================= */
@media (max-width: 960px) {
    .site-footer {
        padding-bottom: 10px;  /* Tweak as needed */
        min-height: auto;      /* Enough space so wave won't ride up */
    }

    .footer-shape-divider {
        height: 120px;          /* The wave for <=960px */
    }
    .footer-icon {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        left:  0px;
        top:  0px;
    }
}

/* =========================================
   2) Tablet screens (<= 768px)
   ========================================= */
@media (max-width: 768px) {
    .site-footer {
        padding-bottom: 70px;   /* Tweak as needed for content */
        min-height: 325px;      /* Enough space so wave won't ride up */
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-left, .footer-right {
        text-align: center;
        flex: none;
        width: 100%;
        margin-bottom: 20px;
        align-items: center;
        padding: 0;
    }

    .footer-right {
        align-items: center;
        text-align: center;
    }

    .footer-links {
        text-align: center;
    }

    .footer-shape-divider {
        height: 85px;  /* The wave for <=768px */
    }

    /* Book Now button is optional (for debugging shape) */
    .footer-book-now {
        position: absolute; 
        bottom: 75px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 5;
    }


    .footer-icon {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        left:  0px;
        top:  0px;
    }
}

/* =========================================
   3) Small mobile (<= 480px)
   ========================================= */
@media (max-width: 480px) {
    .site-footer {
        padding-bottom: 65px;   /* Tweak as needed */
        min-height: 325px;      /* Enough space so wave won't ride up */
    }

    .footer-shape-divider {
        height: 60px; /* The wave for <=480px */
    }

    .footer-icon {
        margin-left:  auto;
        margin-right:  auto;
        left:  0px;
        top:  0px;
    }
}


/* try this out */

/*    margin: 20px 20px -25px 20px;
}
*/


/* Leaflet map for single page */

/* Container for the single attraction post */
.attraction-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Header & title styling (inside article) */
.entry-header {
  margin-bottom: 1rem;
}

.entry-title {
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
  line-height: 1.2;
}

/* Content styling (inside article) */
.entry-content {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}


/* Attractions filters and styles */


/* Map container styling (designed as a separate element) */
#map {
  width: 100%;
  height: 300px;
  margin: 20px 0; /* spacing above and below the map */
  border: 1px solid #ddd;
  box-sizing: border-box;
}

/* Navigation styling for previous/next links */
.attraction-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

/* Responsive adjustments for tablets */
@media (max-width: 768px) {
  .attraction-container {
    padding: 15px;
  }
  
  #map {
    height: 250px;
  }
  
 .attractions_type .entry-title {
    font-size: 2rem;
  }
  
 .attractions_type .entry-content {
    font-size: 0.9rem;
  }
}

/* Responsive adjustments for mobile */
@media (max-width: 480px) {
  .attraction-container {
    padding: 10px;
  }
  
  #map {
    height: 200px;
  }
  
  .attraction-container .entry-title {
    font-size: 1.8rem;
  }
  
  .attraction-container .entry-content {
    font-size: 0.85rem;
  }
  
  .attraction-navigation {
    flex-direction: column;
    align-items: center;
  }
  .attraction-navigation span {
    margin: 5px 0;
  }
}

/* Container for the attraction info */
.attraction-info {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  justify-content: space-between;

}

/* Left column for custom fields */
.attraction-fields {
  flex: 1; /* takes remaining available space */
  max-width:  600px;
}

/* Right column for the featured image thumbnail */
/* Ensure the thumbnail image doesn't shrink */
.attraction-thumbnail {
    flex-shrink: 0;
    max-width: 250px;
}

/* Ensure the image scales properly */
.attraction-thumbnail img.featured-thumbnail {
  width: 100%;
  height: auto;
  display: block;
  background: white;
  padding: 5px;
  border-radius: 8px;
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive layout: Move image above fields on smaller screens */
@media (max-width: 768px) {
    .attraction-info,  .attractions_type .entry-title {
        flex-direction: column;
        align-items: left;
        text-align: left;
    }
    
    .attraction-thumbnail {
        max-width: 100%;
    }
    
    .attraction-fields {
        width: 100%;
    }

    .attractions_type .entry-content{
        margin-bottom:  0;
    }
}



.leaflet-routing-container {
  display: none !important;
}


.marker-label {
  background-color: #FAF292;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 0.9rem;
  color: #333;
  border: 1px solid #ccc;
  position:  relative;
  bottom:  40px;
}


/* Style the map button container */
.map-button-container {
    text-align: center;
    margin-top: 15px;
}

/* Style the button */
.map-button {
    display: inline-block;
    background-color: #0073e6;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

.map-button:hover {
    background-color: #005bb5;
}



/* Attractions filters and styles */

.page-template-page-attractions .page-title {
    display: none !important;
}


/* 🌐 Filters Container (Modular and Clean) */
.filters-container {
    display: flex;
    flex-wrap: nowrap; /* Prevents wrapping on desktop */
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: #626A0A;
    padding: 15px;
    border: 1px solid #faf292;
    margin-bottom: 20px;
    color: #ffffff;
    animation: attractionsfilterGlow 2s infinite ease-in-out;
    font-family: Helvetica, Arial, sans-serif;
}

/* ✨ Glowing Animation for Text */
@keyframes attractionsfilterGlow {
  0%, 100% {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
  }
  50% {
    text-shadow: 0 0 25px rgba(255, 255, 255, 1);
  }
}

/* 🌐 Label Styling (Consistent Font and Style) */
.filters-container label {
    font-weight: bold;
    color: #ffffff;
    font-family: inherit;
    margin-bottom: 5px;
    animation: attractionsfilterGlow 2s infinite ease-in-out;
}

/* 🌐 Filter Wrapper for Consistent Layout */
.filter-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 300px; /* Consistent width for all dropdowns */
    max-width: 100%;
    margin-right: 15px; /* Space between dropdowns */
}

/* 🌐 General Select Dropdowns (Standard and Select2) */
.filter-wrapper select,
.filter-wrapper .select2-container--default .select2-selection--single {
    width: 100%;
    height: 40px;
    padding: 0 12px; /* Space inside the field */
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    background-color: white;
    font-family: inherit;
    box-sizing: border-box;
    display: flex; /* Flex for perfect alignment */
    align-items: center; /* Vertically centers text */
    justify-content: space-between; /* Ensures text and arrow align perfectly */
}

/* 🌐 Vertically Aligning the Text for Select2 */
.filter-wrapper .select2-container--default .select2-selection--single .select2-selection__rendered {
    display: flex;
    align-items: center;
    height: 100%;
    line-height: normal;
    padding-left: 10px;
}


/* 🌐 Aligning the Dropdown Arrow (Perfectly Centered) */
.filter-wrapper .select2-container--default .select2-selection--single .select2-selection__arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* 🌐 Buttons - Consistent Style */
.filters-container button {
    background: #f2c40e;
    color: #000000;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 600;
    flex-shrink: 0;
}

/* 🌐 Button Hover Effect */
.filters-container button:hover {
    background: #003d7a;
    color: #ffffff;
}

/* 🌐 Mobile Layout (Up to 768px) */
@media (max-width: 768px) {
    .filters-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-top: 25px;
    }

    /* Full-Width Dropdowns and Buttons */
    .filter-wrapper {
        width: 100%;
        max-width: 300px;
        margin-bottom: 10px;
    }

    .filters-container button {
        width: 100%;
        max-width: 300px;
    }
}

/* 🌐 Tablet Layout (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .filters-container {
        justify-content: center;
        gap: 10px;
    }

    .filter-wrapper {
        width: 280px; /* Slightly narrower on tablets */
        max-width: 100%;
    }

    .filters-container button {
        max-width: 150px;
    }
}

/* 🌐 Remove the Clear (X) Button from Single Select2 */
.select2-container--default .select2-selection--single .select2-selection__clear {
    display: none !important;
}

/* 🌐 Force Placeholder Text to Black (Standard Dropdown - Distance) */
#filter-distance option[value=""] {
    color: #000 !important; /* Black text for placeholder */
    font-style: normal;
}

/* 🌐 Force Placeholder Text to Black (Select2 - Activities) */
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #000 !important; /* Black text for placeholder */
    font-style: normal !important;
}

/* 🌐 Force Placeholder Text to Black (Directly in Options) */
#filter-activity option[value=""] {
    color: #000 !important; /* Black text for placeholder */
    font-style: normal;
}


/* attractions styles */

/* Improve attraction grid layout */


#attractions-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  will-change: transform;
  transform: translateZ(0); /* 🔧 forces hardware layer */
}




/* Make attraction cards more engaging
.attraction-item {
    background: white;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;

}
 */

.attraction-item {
  background-color: #ffffff; /* Force white background */
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  min-height: 250px;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease; /* 🔮 this adds the smoothness */
}


.attraction-item:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Improve attraction title & text */
.attraction-item h2 {
    margin-top: 10px;
    font-size: 1.3rem;
    color: #333;
}

.attraction-item p {
    margin: 5px 0;
    font-size: 1rem;
    color: #666;
}

#attractions-list img.wp-post-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.attraction-activity {
  font-size: 0.9rem;
  color: #555;
  font-style: italic;
  margin: 4px 0;
}

/* 🌟 Activity Link Styles */

.activity-tag {
    text-align:  left;
}

.activity-tag a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease, transform 0.3s ease;
    font-weight: 300;
    font-family: Helvetica, sans-serif;
}

/* 🌟 Emoji Style (Separate for better control) */
.activity-tag .emoji {
    margin-right: 0.25rem;
    transition: transform 0.3s ease;
}

/* 🌟 Hover Effect */
.activity-tag a:hover {
    transform: scale(1.05);
}

.activity-tag a:hover .emoji {
    transform: rotate(10deg) scale(1.2);
}



/* Custom Header for Search, Archives, 404, and No Results */

.search .main-navigation, .error404 .main-navigation, .archive .main-navigation {
    position: relative;
    top:  0px;
}

.error404 .inside-header {
    padding:  0px 40px;
}

.search .post-image, .archive .post-image {
    margin-top:  0px !important;
}

.search .post-image img {
  background: white;
  padding: 5px;
  border-radius: 8px;
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .post-image img {
        width: 100%; /* Makes sure it scales */
        height: auto; /* Maintains aspect ratio */
        max-width: none; /* Prevents scaling down if needed */
        object-fit: contain; /* Ensures clarity */
        image-rendering: crisp-edges; /* Helps with rendering */
    }
}



body.search .header-twig,
body.nosearch .header-twig,
body.error404 .header-twig,
body.archive .header-twig {
    /* Your new styles */
    position: relative; /* Adjust as needed */
    top: -4px; /* Example position */
}


.search .page-header,
.archive .page-header,
.error404 .page-header,
.no-results .page-header {
    position: relative; /* Fix overlay issue */
    background-image: url('https://thymeinthecountrycottages.com/app/uploads/2025/06/alternate-header.jpg');
    background-size: cover; /* Ensures full coverage */
    background-position: center;
    background-repeat: no-repeat;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* Prevents any odd spacing issues */
    border-radius: 10px;
}

/* 🛬 Fly-in animation for page header title */
.search .page-header h1,
.archive .page-header h1,
.error404 .page-header h1,
.no-results .page-header h1 {
    opacity: 0;
    transform: translateY(20px);
    animation: flyIn 0.9s ease-out forwards;
    animation-delay: 0.3s;
    margin: 0;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.75); /* Optional: black background for readability */
    color: #fff;
    border-radius: 6px;
    display: inline-block;
}

/* ✨ Keyframes for fly-in */
@keyframes flyIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Hide Site Logo and Branding on Archives */
.search .site-logo,
.archive .site-logo,
.error404 .site-logo,
.no-results .site-logo,
.post-type-archive .site-logo,
.search .site-branding,
.archive .site-branding,
.error404 .site-branding,
.no-results .site-branding,
.post-type-archive .site-branding {
    display: none !important;
}

/* Move search title down and add a black strip */

body.search .page-header h1, body.archive .page-header h1 {
    position: relative;
    top: 90px;
    background: black; /* Black strip */
    color: white; /* White text */
    display: inline-block; /* Fit content width */
    padding: 5px 10px;
    font-size: .8rem; /* Reduce font size */
    text-transform: uppercase; /* Optional: Make text uppercase */
    letter-spacing: 1px; /* Optional: Space out letters */
    border-radius: 5px; /* Optional: Add slight rounding */
}

.search .inside-header, .archive .inside-header  {
    padding:  0px 40px;
}

/* mobile for search and archive */

@media (max-width: 768px) {
    .search .page-header,
    .archive .page-header,
    .error404 .page-header,
    .no-results .page-header {
        display:  none;
    }

    /* Adjust search title */
    body.search .page-header h1, body.archive .page-header h1 {
        position: static; /* Reset positioning */
        align-self: center; /* Center horizontally */
        background: black; /* Black strip */
        color: white;
        padding: 6px 12px;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border-radius: 5px;
        max-width: 80%; /* Prevent text from being too wide */
        text-align: center;
    }
}

@media (max-width: 480px) {
    .search .page-header,
    .archive .page-header,
    .error404 .page-header,
    .no-results .page-header {
        min-height: 120px; /* Smaller header */
    }

    /* Adjust search title */
    body.search .page-header h1, body.archive .page-header h1 {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
}


/* posts */

/* 🎬 Ken Burns Featured Image Header */
.page-hero {
    position: relative;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 1;
    text-align: center;

    /* 🌀 Animate background directly */
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    animation: kenburnsZoom 20s ease-out forwards;
    transform-origin: center;
}

/* ✨ Title styling */
.page-hero .pagetitle {
    font-size: 2rem;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: 2px solid rgba(255,255,255,0.7);
    border-radius: 5px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.75);
    z-index: 2;
    position: relative;
    margin: 0;
}

.page-template-page-almanac .pagetitle {
    display: none;
}

/* 🛠️ Optional: restore logo/nav stacking in GP default header */
.site-logo {
    margin-bottom: 10px;
}

.main-navigation {
    z-index: 6;
}

/* 🔄 Ken Burns animation keyframes */
@keyframes kenburnsZoom {
    0% {
        background-size: 100%;
    }
    100% {
        background-size: 130%;
    }
}

/* 📱 Mobile styles */
@media (max-width: 768px) {
    .page-hero {
        height: 450px;
        background-size: 150%;
        background-position: center center;
        animation-name: kenburnsZoomMobile;
        animation-duration: 10s;
        animation-timing-function: ease-out;
        animation-fill-mode: forwards;
        transform-origin: center center;
    }

    .page-hero .pagetitle {
        font-size: 1.75rem;
        padding: 8px 16px;
    }
}

@keyframes kenburnsZoomMobile {
    0% {
        background-size: 150%;
        background-position: center center;
    }
    100% {
        background-size: 185%;
        background-position: center center;
    }
}

/* 🎯 Attractions-only mobile override */
@media (max-width: 768px) {
    .page-template-page-attractions .page-hero {
        animation-name: kenburnsZoomAttractionsMobile;
        background-size: 160%;
    }
}

@keyframes kenburnsZoomAttractionsMobile {
    0% {
        background-size: 210%;
        background-position: center center;
    }
    100% {
        background-size: 250%;
        background-position: center center;
    }
}



/* hide taxonomy description in CPT archives */

.taxonomy-description {
    display: none;
}

/* WooCommerce styles */

.woocommerce .book-now-button {
    background-color: #c20000 !important; /* Red */
    color: white !important;
    border-radius: 20px !important;
    padding: 8px 20px !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    border: 2px solid white !important;
    font-family: "Jost", sans-serif !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease-in-out !important;
}

/* Fix Hover Effect */
.woocommerce .book-now-button:hover {
    background-color: var(--base-3) !important;
    border-color: black !important;
    color: #1F71BC !important;
}


.wc-product-image, .woocommerce-product-gallery__wrapper img {
  background: white;
  padding: 5px;
  border-radius: 8px;
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
}

.description_tab a, .reviews_tab a {
    font-family:  helvetica;
}

.woocommerce div.product div.images .flex-control-thumbs {
    zoom: 2;
    margin-left: 5px;
}

/* Hide the entire tabs navigation */
.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: none !important;
}

/* Hide the tab headings inside content panels */
.woocommerce div.product .woocommerce-Tabs-panel h2 {
    display: none !important;
}


.woocommerce div.product div.summary {
    margin-bottom:  0em;
}

.booking-note {
    margin-bottom:  0em;
}

/* off canvas menu */

.offcanvas-featured-attraction {
    text-align: center;
    padding: 1em 0;
    border-top: 1px solid #ccc;
}

.offcanvas-featured-attraction img {
    margin-bottom: 0.5em;
    max-width: 100%;
    height: auto;
    background: white;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
}


/* submit button  */

form input[type="submit"] {
  background-color: #5c7d3a !important;
  color: white!important;
  padding: 0.8em 1.5em!important;
  border-radius: 30px!important;
  font-size: 1.1em!important;
  font-family: 'Playfair Display', serif!important;
  transition: all 0.3s ease!important;
}

form input[type="submit"]:hover {
  background-color: #3f5827!important;
  transform: scale(1.05)!important;
}

/* single almanac post: original post date and modified */

.original-posted-date,
.byline,
.modified-date {
    font-size: 0.9em;
    color: #666;
    margin: 5px 0px;
}


.date-icon {
    font-size: 1.75em;
    margin-right: 0.3em;
    vertical-align: middle;
}


/* Almanac styles */

.custom-almanac-archive {
  background-color: #fffdf8;
  padding: 2rem; /* Add space around entire content area */
}

.seasonal-flourish-container {
  text-align: center;
  margin-bottom: 1.2rem;
}

.almanac-title {
  font-size: 2.5rem;
  font-family: 'Georgia', serif;
}

@media (max-width: 768px) {
  .almanac-title {
    font-size: 1.8rem;
  }
}

.almanac-subtitle {
  font-style: italic;
  color: #666;
}

/* Grid layout for cards */
.almanac-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 1rem;
  background-color: transparent;
}

@media (max-width: 768px) {
  .almanac-grid {
    gap: 1.2rem;
    padding: 0.5rem;
  }
}

/* Card container */
.almanac-entry-card {
  display: block;
  background-color: #fffdf8;
  border: 1px solid #e0d8c8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.almanac-entry-card:hover {
  transform: translateY(-4px);
}

@media (hover: hover) {
  .almanac-entry-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: #e5c4a1;
  }

  .almanac-entry-card:hover .almanac-entry-title a::after {
    content: ' 🏡✨';
  }
}

/* Card inner layout */
.almanac-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

/* Thumbnail */
.almanac-thumbnail {
  width: 100%;
  height: auto;
  display: block;
}

/* Title */
.almanac-entry-title {
  padding: .5rem 1rem;
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.3;
  flex-shrink: 0;
}

.almanac-entry-title a {
  text-decoration: none;
  color: #333;
  display: block;
  margin: 0;
}

@media (max-width: 768px) {
  .almanac-entry-title {
    font-size: 1.2rem;
    padding: 0.75rem;
  }
}

/* Meta Info */
.almanac-meta {
  font-size: 0.9rem;
  color: #666;
  margin: 0 1rem 0.5rem 1rem;
  padding: 0 1rem;
}

.almanac-meta span {
  display: inline-block;
  margin-right: 0.5rem;
}

@media (max-width: 768px) {
  .almanac-meta {
    margin: 0 0.5rem 0.5rem;
    padding: 0 0.75rem;
    display: inline-block;
  }
}

/* Excerpt */
.almanac-excerpt {
  font-size: 1rem;
  line-height: 1.4;
  color: #333;
  padding: 0rem 1rem;
  margin: 0;
  flex-shrink: 0;
}

.almanac-excerpt p {
  margin: 0; /* Prevent extra space from auto-wrapped <p> in the_excerpt() */
}

@media (max-width: 768px) {
  .almanac-excerpt {
    font-size: 0.95rem;
    padding: 0.75rem;
  }
}

/* Pagination */
.almanac-pagination {
  text-align: center;
  margin-top: 3rem;
}


.almanac-pagination-notice {
  text-align: center;
  font-style: bold;
  font-size:  1.1rem;
  color: #666;
  margin-bottom: 1rem;
}

.entry-summary {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    position: relative;
}

/* 🔍 Search Result Customization – Thyme style 🌿 */

.archive-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Glowing 'Read More' button */
.read-more-button {
    display: inline-block;
    max-width: max-content;
    width: auto;
    margin-top: 1em;
    margin-left: auto;

    /* Typography 🍞 to match breadcrumbs */
    font-family: Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;

    /* Style */
    background-color: #6b8e23;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    padding: 0.5em 1.2em;
    transition: all 0.3s ease-in-out;

    /* Always-glowing joy 💛 */
    box-shadow:
        0 0 4px #FCF66C,
        0 0 10px #FCF66C,
        0 0 15px #F6E05E;
}

/* Hover sparkle effect */
.read-more-button:hover {
    background-color: #FCF66C;
    color: #000;
    text-decoration: none;
    box-shadow:
        0 0 6px #FCF66C,
        0 0 12px #FCF66C,
        0 0 24px #F6E05E,
        0 0 36px #F6E05E;
}

/* 🔗 CPT label under the image (acts like a caption) */
.image-caption-cpt {
    text-align: center;
    font-size: 0.85rem;
    margin-top: 0.5em;
}

/* 🪴 Glowing link to the post from the CPT label */
.cpt-label-link {
    font-family: Helvetica, Arial, sans-serif;
    display: inline-block;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    color: #6b8e23;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    padding: 0.2em 0.5em;
    border-radius: 4px;
    background-color: rgba(252, 246, 108, 0.1);
    box-shadow: 0 0 4px rgba(252, 246, 108, 0.6);
    transition: all 0.3s ease-in-out;
}

/* 💥 CPT label hover effect */
.cpt-label-link:hover {
    background-color: #FCF66C;
    color: #000;
    box-shadow:
        0 0 6px #FCF66C,
        0 0 12px #F6E05E;
}

/* 📅 Date row under excerpt */
.search-meta {
    margin-top: 1em;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: Helvetica, Arial, sans-serif;
}

/* 🕰 Small, soft timestamp text */
.search-dates {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5em;
}


.search .entry-image-wrapper, .archive .entry-image-wrapper {
    text-align: center;
    margin-bottom: 1em;
}

.search .entry-image-wrapper img, .archive .entry-image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    background: white;
    padding: 5px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
}

/* Restore classic layout: image on left, content on right */
.search .entry-image-wrapper.alignleft, .archive .entry-image-wrapper.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
    max-width: 40%;
}

.search .entry-summary, .archive .entry-summary {
    overflow: hidden; /* ensures wrapping works properly */
}

@media (max-width: 768px) {
    /* 🌱 Stack image on top for mobile */
    .search .entry-image-wrapper.alignleft, .archive .entry-image-wrapper.alignleft {
        float: none;
        margin-right: 0;
        max-width: 100%;
        text-align: center;
    }

    /* 🌼 Title tweak: make slightly smaller and centered on small screens */
    .search .entry-title, .archive .archive .entry-title {
        font-size: 1.4rem; /* Adjust as needed */
        text-align: center;
        margin-bottom: 0.5em;
        letter-spacing: 0.02em; /* 🌬 Adds breathing space */
    }

    /* 💬 Read more button: center it below content */
    .search .read-more-button, .archive .read-more-button {
        margin-left: 0;
        margin-right: auto;
        margin-top: 1em;
        display: block;
        text-align: center;
    }

    /* ✏️ Optional: keep meta tidy on small screens */
    .search .search-meta, .archive .search-meta {
        align-items: center;
        font-size: 0.8rem;
    }

    .search .search-dates, .archive .search-dates {
        text-align: center;
    }
}

/* search entry-card styles */

/* 🖼 Shared image styles for entry cards and search results */
.search .entry-image-wrapper,
.entry-card .entry-image-wrapper {
    text-align: center;
    margin-bottom: 1em;
}

.search .entry-image-wrapper img,
.entry-card .entry-image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    background: white;
    padding: 5px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
}

.search .entry-image-wrapper.alignleft,
.entry-card .entry-image-wrapper.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
    max-width: 40%;
}

.search .entry-summary,
.entry-card .entry-summary {
    overflow: hidden;
}

/* 🌿 Responsive layout: mobile-friendly stacking */
@media (max-width: 768px) {
    .search .entry-image-wrapper.alignleft,
    .entry-card .entry-image-wrapper.alignleft {
        float: none;
        margin-right: 0;
        max-width: 100%;
        text-align: center;
    }

    .search .entry-title,
    .entry-card .entry-title {
        font-size: 1.4rem;
        text-align: center;
        margin-bottom: 0.5em;
        letter-spacing: 0.02em;
    }

    .search .read-more-button,
    .entry-card .read-more-button {
        margin-left: 0;
        margin-right: auto;
        margin-top: 1em;
        display: block;
        text-align: center;
    }

    .search .search-meta,
    .entry-card .search-meta {
        align-items: center;
        font-size: 0.8rem;
    }

    .search .search-dates,
    .entry-card .search-dates {
        text-align: center;
    }
}

.tax-activity .entry-card .cpt-label-link {
    display: none;
}


/* refine the book now button for screen reader */

/* Screen reader only: hides text visually but makes it available to assistive tech */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* policies page – styling for larger clock icons next to time text */
.big-clock {
  font-size: 2em;             /* Makes the emoji nice and prominent */
  padding-right: 0.8rem;      /* Adds space between emoji and the text */
  line-height: 1;             /* Prevents vertical jumping or spacing weirdness */
  vertical-align: middle;     /* Keeps it aligned with the text baseline */
}

/* tweak the space in front of an icon */

.icon-space-left {
  margin-left: 0.5em;
}

.icon-space-right {
  margin-right: 0.5em;
}

/* 🌿 Front Page Buttons - Mobile Action Bar Styles */
/*
@media (min-width: 769px) {
  .mobile-action-bar {
    display: none !important;
  }
}
*/

/* ✅ Show on mobile */
@media (max-width: 768px) {
  .mobile-action-bar {
    visibility: visible;
  }
}

/* 📱 Offset mobile action bar if admin bar is present */

body.admin-bar .mobile-action-bar {
  top: 32px !important;
}


.mobile-action-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(253,250,223,0.95);
    padding: 2px 0;
    font-family: Lora, sans-serif;
    text-transform: uppercase;
    font-weight: 200;
    text-align: center;
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 75px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: opacity 1s ease-out;
    opacity: 0;
    animation: fadeInBar 1.8s ease-out forwards;
}

@keyframes fadeInBar {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


/* hide the page title over the image on single almanac and aingle attractions */


.single-almanac .page-hero .pagetitle, .single-attractions_type .page-hero .pagetitle, .privacy-policy .page-hero .pagetitle {
    display:  none;
}

/* Hide default title on specific pages */
.hide-entry-title .pagetitle {
    display: none;
}


/* get img and alt tags for slider */

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* size of swiper slide bullets */

/* 🌕 Make Swiper bullets larger and more visible */
.swiper-pagination-bullet {
  width: 26px;
  height: 26px;
  background-color: rgba(255, 255, 255, 0.9); /* or your own color */
  opacity: 1;
  border-radius: 50%;
  margin: 0 15px !important;
}

.swiper-pagination-bullet-active {
  background-color: #fdb347; /* highlight color when active */
}

