/*
  Theme Name:   Larrikin Puppets
  Template:     larrikin
*/
.post-thumbnail {
  display: none; }

.main-social-search {
  background: #21759B;
  color: #fff; }

#site-branding {
  background: #0C1E40; }

#site-branding-ll {
  background: #91c7e9; }

.main-navigation {
  background: #6D428D;
  color: #fff; }

.main-navigation :link,
.main-navigation :visited {
  color: #fff; }

.main-navigation ul ul {
  background: #6D428D; }

#secondary {
  background: #E0D1ED; }

.site-title,
.site-description {
  color: #FCE499; }

.site-title-ll,
.site-description-ll {
  color: #6d428d; }

.site-description-home {
  color: #6D428D;
  line-height: 1.5; }

.site-branding-home .custom-logo-link {
  position: absolute;
  left: 15px;
  top: -75px; }

@media (min-width: 1024px) {
  .site-branding-home .custom-logo {
    width: 200px;
    height: 200px; } }
@media (max-width: 600px) {
  .site-branding-home .custom-logo-link {
    top: 25px; } }
@media (min-width: 1200px) {
  .site-title, .site-description {
    font-size: 42px; } }
.puppet-show {
  display: block;
  position: absolute;
  bottom: 0;
  width: 100%;
  max-width: 1024px; }

.custom-logo-link, p.site-description {
  z-index: 10; }

.site-branding {
  background-color: #4C0105; }

.site-branding-home {
  background-position: center center;
  background-size: cover;
  height: 340px; }

.site-branding-ll {
  background-position: center top;
  background-size: cover;
  height: 340px; }


.site-branding-home p.site-description {
  background-color: white; }

.entry-title {
  text-align: center;
  color: #6d428d; }

.site-footer {
  background: #21759B;
  color: #fff; }

.site-footer :link,
.site-footer :visited {
  color: #fff; }

.cta1 {
  background: #EE3762;
  color: #fff; }

.cta2 {
  background: #F36C4E;
  color: #fff; }

.cta3 {
  background: #6C428D;
  color: #fff; }

.h2-pink {
  color: #f53a61;
  text-transform: uppercase;
  text-align: center;
  font-size: 1.7em; }

#wpcf7-f38-p47-o1, #wpcf7-f37-p5-o1, #wpcf7-f37-o1 {
  overflow: visible;
  margin: 3px; }
#wpcf7-f38-p47-o1 p, #wpcf7-f37-p5-o1 p, #wpcf7-f37-o1 p {
  margin: 0; }
#wpcf7-f38-p47-o1 input, #wpcf7-f38-p47-o1 textarea, #wpcf7-f38-p47-o1 select, #wpcf7-f37-p5-o1 input, #wpcf7-f37-p5-o1 textarea, #wpcf7-f37-p5-o1 select, #wpcf7-f37-o1 input, #wpcf7-f37-o1 textarea, #wpcf7-f37-o1 select {
  border: 1px solid #f53a61;
  box-sizing: border-box;
  border-radius: 0.6em;
  padding: 10px;
  margin-bottom: 1em;
  width: 100%;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none; }
#wpcf7-f38-p47-o1 select, #wpcf7-f37-p5-o1 select, #wpcf7-f37-o1 select {
  line-height: 1.3;
  background-color: #FFF; }
#wpcf7-f38-p47-o1 select::-ms-expand, #wpcf7-f37-p5-o1 select::-ms-expand, #wpcf7-f37-o1 select::-ms-expand {
  display: none; }
#wpcf7-f38-p47-o1 select:hover, #wpcf7-f37-p5-o1 select:hover, #wpcf7-f37-o1 select:hover {
  border-color: #888; }
#wpcf7-f38-p47-o1 select:focus, #wpcf7-f38-p47-o1 input:focus, #wpcf7-f38-p47-o1 textarea:focus, #wpcf7-f37-p5-o1 select:focus, #wpcf7-f37-p5-o1 input:focus, #wpcf7-f37-p5-o1 textarea:focus, #wpcf7-f37-o1 select:focus, #wpcf7-f37-o1 input:focus, #wpcf7-f37-o1 textarea:focus {
  border-color: #aaa;
  box-shadow: 0 0 3px 1px rgba(59, 153, 252, 0.7);
  box-shadow: 0 0 0 3px -moz-mac-focusring;
  color: #222;
  outline: none; }
#wpcf7-f38-p47-o1 select option, #wpcf7-f37-p5-o1 select option, #wpcf7-f37-o1 select option {
  font-weight: normal; }
#wpcf7-f38-p47-o1 .wpcf7-submit, #wpcf7-f37-p5-o1 .wpcf7-submit, #wpcf7-f37-o1 .wpcf7-submit {
  line-height: 1.5;
  word-break: break-word;
  border: none;
  border-radius: 28px !important;
  box-shadow: none;
  color: #ffffff;
  cursor: pointer;
  display: block;
  width: 100%;
  font-size: 18px;
  margin: 0;
  padding: 12px 24px;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: break-word;
  background-color: #f53a61; }

.wp-block-button {
  line-height: 1.5;
  word-break: break-word;
  border: none;
  border-radius: 28px !important;
  box-shadow: none;
  color: #ffffff;
  cursor: pointer;
  display: block;
  width: 100%;
  font-size: 18px;
  margin: 0;
  padding: 12px 24px;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: break-word; }

#wpcf7-f38-p47-o1 label {
  color: #6D428D;
  font-weight: bold; }
#wpcf7-f38-p47-o1 input, #wpcf7-f38-p47-o1 textarea, #wpcf7-f38-p47-o1 select {
  border: 1px solid #6D428D; }

.embed-youtube {
  overflow: hidden;
  position: relative;
  max-width: 100%;
  height: auto;
  padding-bottom: 56.25%; }

.embed-youtube iframe,
.embed-youtube object,
.embed-youtube embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; }

.our-services-preview img {
  border: 2px solid #6d428d;
  border-radius: 12px; }

.side-hanger {
  position: absolute;
  transform: scale(0.5); }

.side-chicken {
  transform: scale(0.6) rotate(20deg);
  left: -250px;
  top: 100px; }

.side-flossy {
  transform: scale(0.4) rotate(45deg);
  left: -250px;
  bottom: 100px; }

.side-troggg {
  top: 50px;
  right: -150px;
  transform: scale(0.5) rotate(-45deg); }

.side-frazz {
  transform: scale(0.4) rotate(-35deg);
  bottom: 150px;
  right: -250px; }

table.gig {
  border: 0; }

table.gig td, table.gig th {
  border-bottom: 1px solid #ccc;
  padding: 3px 6px; }

#menu-categories-main {
  list-style: none;
  display: flex;
  margin: 0;
  flex-wrap: wrap;
  padding: 0;
  align-items: stretch;
  align-content: space-between;
  justify-items: stretch;
  justify-content: center;
  flex-direction: row; }
#menu-categories-main li {
  padding: 12px 24px;
  border-radius: 8px;
  background: #EE3762;
  margin: 0.25em;
  text-decoration: none;
  text-align: center;
  flex-grow: 1;
  flex-shrink: 0; }
#menu-categories-main li:hover {
  opacity: 0.9; }
#menu-categories-main li a {
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  text-decoration: none; }

.features {
  display: grid;
  grid-gap: 30px;
  grid-template-columns: 385px 385px;
  grid-template-rows: 160px 160px;
  margin-top: 1em;
  margin-bottom: 1em; }
.features .primary-feature {
  grid-column-start: 1;
  grid-row-end: span 2;
  overflow: hidden;
  display: block;
  position: relative; }
.features .secondary-feature {
  display: block;
  overflow: hidden;
  position: relative; }
.features .secondary-feature .caption-right {
  margin-left: 66%;
  margin-right: 15px; }

.caption-bottom {
  position: absolute;
  height: auto;
  overflow: hidden;
  margin: 0;
  padding: 1em;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #6d428d; }
.caption-bottom.transparent {
  background-color: rgba(0, 0, 0, 0.5);
  color: white; }
.caption-bottom h2, .caption-bottom h3, .caption-bottom h4, .caption-bottom h5, .caption-bottom h6 {
  margin: 0; }

#secondary ul {
  margin: 1em 0;
  padding-left: 0.5em; }
#secondary ul li {
  margin-block-start: 0.5em; }

.h2-left, .h3-left {
  text-align: left;
}

ul.centered-list-flex {
  display: flex;
  flex-direction: column; /* Stacks list items vertically */
  justify-content: center; /* Centers items along the main axis (vertical in this case) */
  align-items: center; /* Centers items along the cross axis (horizontal in this case) */

}

div.has-text-align-left.centered-list-flex.wp-block-pmpro-single-level-description p {text-align:center !important;}

.wp-block-button.has-custom-width.wp-block-button__width-75.is-style-fill.blue-hover {
  padding: 0;
}

.blue-hover a.wp-block-button__link.has-white-color.has-text-color.has-background.has-link-color.wp-element-button:hover, a.wp-block-button__link.wp-block-pmpro-checkout-button.blue-hover.has-background.wp-element-button:hover {
  background-color:#499bd5 !important;
  color: #ffffff !important;
}

p.info-box {padding-left:20px;
  padding-right:20px;
}

h3.info-box {padding-left:20px !important;
  padding-right:10px !important;
  padding-bottom:0px;
  margin-bottom:0px;
  text-align:left;
  height: 4em;
}

.image-hover-effect img {
  transition: transform 0.3s ease-in-out;
}

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

.larrikin-cta-no-margin {margin-left: 0;
  margin-right: 0;}

/* Blog Grid Card Styling with Buttons === */

/* Post grid */
.wp-block-query .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  width: 100%;
  margin-left: 0;
}

/* Ensure cards stretch to equal height */
.wp-block-post-template .wp-block-group {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 20px;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid #e5e5e5;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-sizing: border-box;
}

/* Hover effect on cards */
.wp-block-post-template .wp-block-group:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Featured image styling */
.wp-block-post-featured-image img {
  width: 100%;
  height: 200px; /* fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* Post title styling */
.wp-block-post-title {
  font-size: 20px;
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 10px;
  font-family: Montserrat;
}

/* Post excerpt styling */
.wp-block-post-excerpt {
  font-size: 16px;
  margin-top: 10px;
  margin-bottom: 15px;
}

/* Convert Read More links to buttons */
.wp-block-post-excerpt a {
  display: inline-block;
  padding: 8px 18px;
  background-color: #6d458b;
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
}

.wp-block-post-excerpt a:hover {
  background-color: #499bd5;
  transform: translateY(-2px);
}

.max-width {
  width: 100%;
  max-width: 90rem;
  margin: 0 auto;
  padding-left: 3%;
  padding-right: 3%;
  box-sizing: border-box;
}

/* --- HAMBURGER MENU --- */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

.menu-toggle .hamburger {
  position: relative;
  width: 28px;
  height: 20px;
  display: inline-block;
}

.menu-toggle .hamburger span {
  position: absolute;
  height: 3px;
  width: 100%;
  background: #ffffff;
  border-radius: 2px;
  left: 0;
  transition: all 0.3s ease;
}

.menu-toggle .hamburger span:nth-child(1) { top: 0; }
.menu-toggle .hamburger span:nth-child(2) { top: 8px; }
.menu-toggle .hamburger span:nth-child(3) { top: 16px; }

/* Animate to "X" when active */
.menu-toggle.toggled .hamburger span:nth-child(1) {
  transform: rotate(45deg);
  top: 8px;
}
.menu-toggle.toggled .hamburger span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.toggled .hamburger span:nth-child(3) {
  transform: rotate(-45deg);
  top: 8px;
}

/* --- HEADER LOGIN / JOIN BUTTONS --- */
.main-navigation .max-width {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Container for buttons */
.header-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

/* Shared base styles */
.header-buttons a {
  display: inline-flex !important;
  text-align: center !important;
  padding: 0 !important;
  border-radius: 50px !important;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  white-space: nowrap !important;
  border: none;
  box-sizing: border-box !important;
  width: 160px !important;                /* identical width for all buttons */
  height: 44px !important;
  align-items: center !important;       /* vertical centring */
  justify-content: center !important;   /* horizontal centring */
  line-height: 1.2 !important;
  transition: all 0.3s ease;

}

.btn-login {
  color: #fff;
  background: #ef4ba4;
}

.btn-login:hover {
  background: #499bd5 !important; /* blue hover */
  color: #fff !important;
}

.btn-join {
  color: #fff;
  background: #f26722; /* orange */
}

.btn-join:hover {
  background: #499bd5 !important; /* blue hover */
  color: #fff !important;
}

.header-buttons a:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

/* --- Logout Button (outlined style) --- */
.btn-logout {
  color: #ffffff !important;
  background: transparent !important;
  border: 2px solid #ffffff !important;
  padding: 0.65rem 1.8rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  text-decoration: none;
  font-size: 0.95rem !important;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* Hover state */
.btn-logout:hover {
  color: #fff !important;
  background: #499bd5 !important; /* blue hover to match other buttons */
  border-color: #499bd5 !important;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  transform: translateY(-1px);
}

@media (max-width: 1400px) {
  .header-buttons {margin-bottom:20px;}
}

@media (min-width: 769px) {
  .header-buttons {
    max-width: 350px;
  }
}

/* --- Header Slider Wrapper --- */
.header-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index:0;
}

.site-header {
  position: relative;
  z-index: 2;
  overflow: visible; /* ensures overlap isn't clipped */
}

#content.site-content {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  clear: both;
  background: #fff;
}


/* --- Slider Container --- */
.header-slider {
  width: 100%;
  height: 55vh !important;       /* proportional to screen height */
  max-height: 500px !important;  /* never taller than 500px */
  min-height: 300px !important;  /* keeps it from collapsing on short screens */
  overflow: hidden;
  position:relative;
  z-index:1;
}

/* --- Each slide fills the container --- */
.header-slider .carousel-cell {
  width: 100%;
  height: 100%;
}

/* --- Images scale & crop*/
.header-slider .carousel-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;            /* fills container, maintains aspect ratio */
  object-position: center;      /* keeps main focal area centered */
  display: block;
  transition: transform 0.6s ease-out;
  z-index:1;
  position: relative;
}

/* subtle zoom on slide change  */
.header-slider.is-selected .carousel-cell img {
  transform: scale(1.03);
}

/* --- Soft white diagonal gradient overlay, focused under center-left text --- */
.carousel-cell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
          115deg,                              /* diagonal from top-left to bottom-right */
          rgba(255, 255, 255, 0.85) 0%,        /* strong white on far left */
          rgba(255, 255, 255, 0.65) 25%,       /* still visible behind text area */
          rgba(255, 255, 255, 0.35) 50%,       /* soft fade */
          rgba(255, 255, 255, 0.10) 75%,       /* nearly transparent */
          rgba(255, 255, 255, 0.00) 100%       /* fully clear on right/bottom */
  );
  pointer-events: none;
  z-index: 2;
}



/* --- Dots navigation (bottom centered) --- */
.flickity-page-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 3;
}

.flickity-page-dots .dot {
  width: 10px;
  height: 10px;
  margin: 0 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  transition: background 0.3s, transform 0.3s;
}

.flickity-page-dots .dot.is-selected {
  background: #ffffff;
  transform: scale(1.2);
}

/* --- Fix Flickity viewport height --- */

/* ensure each slide fills the height */
.header-slider .carousel-cell {
  height: 100% !important;
}

/* images still cover their cells */
.header-slider .carousel-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Force Flickity viewport to follow parent height --- */
.header-slider .flickity-viewport {
  height: 100% !important;
  min-height: inherit !important;
}

.header-slider .flickity-slider {
  height: 100% !important;
}


.slide-text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 3 !important; /* higher than Flickity viewport */
  pointer-events: none;
}

.slide-text-overlay .max-width {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1rem;
  position: relative;
  pointer-events: auto;
}

/* --- Text under logo --- */
.slide-text-content {
  margin-top: 120px;
  max-width: 600px;
  color: #000;
  text-shadow: none;
  pointer-events: auto;
  justify-content: flex-start; /* push text to the left */
  position: relative;

}

.slide-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: left !important;      /* left align text */

}

.slide-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;

}

.slide-btn {
  display: inline-block;
  background: #f26722;
  color: #fff !important;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;


}

.slide-btn:hover {
  background: #499bd5;
  transform: translateY(-2px);
  color: #fff;
}

/* --- Flickity Play Button (brand purple with white icon) --- */
.slide-text-content .slide-btn.play-style {
  position: relative;
  background: #6d458b !important; /* brand purple */
  width: 70px !important;
  height: 70px !important;
  border-radius: 50% !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  pointer-events: auto;
  border: none !important;
}

/* Hover effect — invert colours */
.slide-text-content .slide-btn.play-style:hover {
  background: #ffffff !important; /* white background */
  transform: scale(1.05);
}

/* Triangle play icon (white on purple, visually centered) */
.slide-text-content .slide-btn.play-style .play-icon {
  width: 0;
  height: 0;
  border-left: 16px solid #ffffff; /* white icon */
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  transition: border-left-color 0.3s ease;
  transform: translateX(2px); /* keeps triangle visually centered */
}

/* Hover: purple icon on white background */
.slide-text-content .slide-btn.play-style:hover .play-icon {
  border-left-color: #6d458b; /* purple */
}

/* --- Mobile scaling --- */
@media (max-width: 768px) {
  .slide-text-content .slide-btn.play-style {
    width: 55px !important;
    height: 55px !important;
  }
  .slide-text-content .slide-btn.play-style .play-icon {
    border-left: 12px solid #ffffff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    transform: translateX(1.5px);
  }
  .slide-text-content .slide-btn.play-style:hover .play-icon {
    border-left-color: #6d458b;
  }
}




/* override Flickity’s own stacking context */
.flickity-viewport {
  position: relative !important;
  z-index: 1 !important;
  overflow: hidden !important;
}

.flickity-slider {
  position: relative;
  z-index: 1;
}

.slide-text-overlay {
  position: absolute;
  z-index: 3 !important; /* force above Flickity’s layers */
  pointer-events: none;
}

.slide-text-content {
  position: relative;
  z-index: 4; /* text above gradient */
  pointer-events: auto;
}


/* --- Mobile adjustments --- */
@media (max-width: 768px) {
  .slide-text-content {
    margin-top: 100px;
    max-width: 90%;
  }
  .slide-title {
    font-size: 1.5rem;
  }
  .slide-text {
    font-size: 1rem;
  }
}


/* --- Mobile Adjustments --- */
@media (max-width: 768px) {
  .header-slider {
    height: 45vh;
    max-height: 400px;
  }
  .header-slider .carousel-cell img {
    object-position: center top; /* shows more top area on phones */
  }
}

/* --- Logo overlay positioning --- */
.logo-overlay {
  position: absolute;
  top: 0;                /* start from top of header */
  left: 0;
  width: 100%;
  z-index: 10;
  pointer-events: none;  /* so Flickity dots etc still clickable */
}

/* keep it inside the safe area */
.logo-overlay .max-width {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 1rem;
}

/* make the logo large and slightly overlapping */
.logo-overlay .custom-logo-link {
  pointer-events: auto; /* clickable again */
  display: inline-block;
  margin-left: -3%;
}

.logo-overlay .custom-logo {
  max-width: 200px;   /* increase size */
  width: 100%;
  height: auto;
  margin-top: 40px;   /* pushes logo down slightly into white + slider area */
  margin-left: 0;
  z-index: 11;
}
/* join page*/
.wp-block-group.join-group h3.wp-block-heading {text-align:left !important;}

.wp-block-group.join-group .wp-block-button.has-custom-width.wp-block-button__width-100 {
  padding-left: 0;
}

.wp-block-group.join-group ul.wp-block-list {
  margin-left: 0;
}

.wp-block-group.join-group a.wp-block-button__link.has-background.wp-element-button:hover {
  background-color: #499bd5 !important;
  color: #fff;
}

/* mobile scaling */
@media (max-width: 768px) {
  .logo-overlay .custom-logo {
    max-width: 160px;
    margin-top: 30px;
  }

  .logo-overlay .custom-logo-link {
    margin-left: -4%;
  }
}

.wp-block-button.has-custom-width.wp-block-button__width-25.is-style-fill.video-page-buttons {
  padding-left: 0;
  width: calc(20% - var(--wp--style--block-gap, .5em) * .80);
}

a.wp-block-button__link.has-white-color.has-text-color.has-background.has-link-color.has-text-align-center.has-custom-font-size.wp-element-button:hover, .stripe-button-el span:hover; {
  background-color: #499bd5 !important;
  transform: translateY(-2px);

}

@media (max-width: 1400px) {
  .header-slider {
    height: 60vh !important;
    max-height: 520px !important;
  }
  .slide-title {
    font-size: 1.75rem;
  }
  .slide-text {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .slide-btn {
    padding: 0.65rem 1.5rem;
  }
}

.mux-video-category-archive .mux-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.mux-video-category-archive .mux-video-item {
  border: 1px solid #eee;
  padding: 1rem;
  border-radius: 8px;
}

.mux-video-category-archive .mux-video-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.mux-video-category-archive .mux-video-title {
  font-size: 1.1rem;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.mux-video-category-archive .mux-video-excerpt {
  font-size: 0.95rem;
}

.mux-secure-video-preview {
  position: relative;
  max-width: 100%;
  height: auto;
}

.mux-secure-video-preview .mux-secure-video-active {
  width: 100%;
  height: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mux-secure-video-preview .mux-secure-video-static {
  position: absolute;
  width: 100%;
  background: white;
  object-fit: cover;
}

.mux-secure-video-preview .mux-secure-video-static:hover {
  opacity: 0;
}

/* Simple Membership Stripe payment button – match site buttons */
.membership-btn,
.membership-btn.stripe-button-el,
.membership-btn.stripe-button-el span, 
button.swpm-submit.swpm-registration-submit-button.swpm-submit-btn-default-style {
    background-color: #6e468c !important;
    font-size: 1.3em !important;
    font-style: normal !important;
    width: 95%;
    color: #ffffff !important;
    border-radius: 9999px !important;
    box-shadow: none !important;
    text-decoration: none !important;
    padding: calc(.867em + 2px) calc(1.333em + 2px) !important;
    text-align: center;
    cursor: pointer;
    border: none !important;
    display: inline-block;
}

.membership-btn:hover,
.membership-btn.stripe-button-el:hover,
.membership-btn.stripe-button-el:hover span,
button.swpm-submit.swpm-registration-submit-button.swpm-submit-btn-default-style:hover {
    background-color: #499bd5 !important;
    text-decoration: none !important;
}

/* Replace Simple Membership Stripe button text cleanly */
.membership-btn span,
.membership-btn .stripe-button-el span {
    visibility: hidden;
    position: relative;
    white-space: nowrap !important; /* keep text on one line */
}

.membership-btn span::after,
.membership-btn .stripe-button-el span::after {
    content: "Start Free Trial";
    visibility: visible;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap !important; /* prevents line breaks */
}

button.swpm-submit.swpm-registration-submit-button.swpm-submit-btn-default-style {width:25%;}
.swpm-registration-submit-section
 {
    text-align: left !important;
}



/* --- RESPONSIVE: integrate with mobile menu --- */
@media (max-width: 768px) {
  /* Stack buttons neatly under the menu when expanded */
  .header-buttons {
    flex-direction: column;
    width: 100%;
    justify-content: center;
    margin-top: 0.75rem;
    display: none;
  }

  /* When hamburger toggled open, show buttons */
  .menu-toggle.toggled ~ .header-buttons {
    display: flex;
    margin-bottom: 1.5rem; /* space only when visible */
  }

  .header-buttons a {
    width: 80%; /* Equal width on mobile */
    max-width: 250px; /* Optional limit */
  }

  /* Force the main nav container to behave vertically on mobile */
  .main-navigation .max-width {
    flex-direction: column;
    align-items: stretch;
  }

  /* Keep the hamburger / close icon aligned properly */
  .menu-toggle {
    align-self: flex-end;
    margin-right: 0;
  }

  /* Ensure the menu itself fills available width */
  #primary-menu {
    width: 100%;
  }

  .menu-toggle.toggled ~ .header-buttons {
    display: flex;
  }
}




/* Hide nav menu by default on mobile */
@media (max-width: 768px) {

  #primary-menu {
    display: none;
    flex-direction: column; /* make sure it stacks */
    width: 100%;
    text-align: left;
    background: #6D428D;
    padding: 1rem 0;
  }

  #primary-menu.toggled {
    display: flex; /* show as vertical flex column */
  }

  #primary-menu li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  #primary-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #eee;
  }

  /* Reset positioning and width for mobile */
  #primary-menu,
  #primary-menu ul,
  #primary-menu li,
  #primary-menu .sub-menu {
    position: static;
    width: 100%;
    box-sizing: border-box;
  }

  /* Base submenu styling */
  #primary-menu .sub-menu {
    display: none;
    flex-direction: column;
    margin: 0;
    border: none;
    background: #6D428D; /* brand purple */
    padding: 0;
  }

  /* Show submenu when parent is open */
  #primary-menu li.menu-item-has-children.open > .sub-menu {
    display: flex;
  }

  /* All list items span full width */
  #primary-menu .sub-menu li {
    width: 100%;
  }

  /* Links full width */
  #primary-menu .sub-menu a {
    display: block;
    width: 100%;
    padding: 0.8rem 1.5rem;
    color: #fff;
    font-size: 0.95em;
    text-decoration: none;
    background: transparent;
  }

  #primary-menu .sub-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  /* Slight indent + darker shade for nested levels */
  #primary-menu .sub-menu .sub-menu a {
    padding-left: 2.5rem;
    background: #5B3675;
  }

  #primary-menu .sub-menu .sub-menu .sub-menu a {
    padding-left: 3rem;
    background: #4A2D63;
  }

  /* Arrows */
  #primary-menu li.menu-item-has-children > a::after {
    content: '▾';
    float: right;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    color: #fff;
  }

  #primary-menu li.menu-item-has-children.open > a::after {
    transform: rotate(180deg);
  }
  .header-slider { height: 50vh; max-height: 500px; }
  /* .header-overlay .custom-logo { width: clamp(120px, 40vw, 200px); }*/
}

/* Show full menu on desktop */
@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
  #primary-menu {
    display: flex !important;
  }
}



/* Responsive adjustments */
@media (max-width: 768px) {
  .wp-block-query .wp-block-post-template {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

/* 4 columns → 2 on tablets, 1 on mobiles */
@media (max-width: 1024px) {
  .tablet-col .wp-block-columns.is-layout-flex {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem;
  }


}

@media (max-width: 600px) {
  .tablet-col.wp-block-columns.is-layout-flex {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .wp-block-query .wp-block-post-template {
    grid-template-columns: 1fr;
  }
  .wp-block-group.is-vertical.is-layout-flex.wp-container-core-group-is-layout-8686952a.wp-block-group-is-layout-flex {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media screen and (max-width: 767px) {
  .features {
    grid-template-columns: 100%; }

  .side-hanger {
    display: none; }

  #post-433 {
    overflow: scroll; } }
@media screen and (min-width: 768px) and (max-width: 999px) {
  .features {
    grid-template-columns: 47% 47%;
    grid-template-rows: 160px 160px;
    grid-column-gap: 6%; }

  .side-hanger {
    display: none; } }
@media (min-width: 1000px) {
  .masonry {
    display: block;
    margin: 0 auto;
    column-count: 3;
    column-gap: 31px; }
  .masonry article {
    width: 100%;
    margin-bottom: 30px;
    display: inline-block; } }

/*# sourceMappingURL=style.css.map */
