/* Fix invisible "Find Your Way Here" hero text on the Contact page */
body.page-template-page-contact #hero h1 {
  color: #172554 !important; /* same dark navy as the About/Classes page headings */
}
body.page-template-page-contact #hero h1 span {
  color: #881337 !important; /* same dark rose accent used elsewhere */
}
body.page-template-page-contact #hero p {
  color: #475569 !important; /* same slate gray used elsewhere */
}

/*Red header warning */
main.site-main {
  position: relative;
}

main.site-main::before {
  content: "Please Note: Kate's sewing classes are by appointment. During instructed time, please do not interrupt, as classes require focused instruction. If you have a question, please do not hesitate to contact Kate to arrange an appointment. Thank you so much!";
  display: block;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  background: #881337;
  color: #fff;
  border-bottom: 3px solid #172554;
  padding: 10px 0;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: inherit;
  text-indent: 100%;
  animation: csw-marquee-indent 22s linear infinite;
}

@keyframes csw-marquee-indent {
  from { text-indent: 100%; }
  to   { text-indent: -3000px; }
}

@media (prefers-reduced-motion: reduce) {
  main.site-main::before {
    animation: none;
    white-space: normal;
    text-indent: 0;
    overflow: visible;
  }
}

/*Moving images behind "The Art of Creative Sewing" */
#hero-section-h1k2m3n4 > div.absolute.inset-0.z-0 {
  animation: csw-hero-carousel 24s infinite;
}

@keyframes csw-hero-carousel {
  0% {
    background-image: url('https://mysewings.com/wp-content/themes/classic-sewing-site-v2-theme/assets/images/groups.jpg');
  }
  25% {
    background-image: url('https://mysewings.com/wp-content/uploads/2026/10/20260412_121722.jpg');
  }
  50% {
    background-image: url('https://mysewings.com/wp-content/uploads/2026/10/20260830_141011.jpg');
  }
  75% {
    background-image: url('https://mysewings.com/wp-content/uploads/2026/10/20241212_133854.jpg ');
  }
  100% {
    background-image: url('https://mysewings.com/wp-content/themes/classic-sewing-site-v2-theme/assets/images/groups.jpg');
  }
}

/* Remove the separate Saturday row (it gets merged into Sat - Sun below) */
#footer-hours-col-p2o3i4u5 ul li:nth-child(4) {
  display: none;
}

/* Turn the Sunday row into "Sat - Sun ... Closed" */
#footer-hours-col-p2o3i4u5 ul li:nth-child(3) span:first-child {
  font-size: 0;
}
#footer-hours-col-p2o3i4u5 ul li:nth-child(3) span:first-child::before {
  content: "Sat - Sun";
  font-size: 14px;
  color: #E7E5E4;
  font-family: Inter, sans-serif;
}

#footer-hours-col-p2o3i4u5 ul li:nth-child(3) span:last-child {
  font-size: 0;
}
#footer-hours-col-p2o3i4u5 ul li:nth-child(3) span:last-child::before {
  content: "Closed";
  font-size: 14px;
  color: #FB7185;
  font-family: Inter, sans-serif;
}
/* Hide the separate Sunday row on the Contact page's Hours of Operation table */
body.page-template-page-contact table.w-full.text-left.font-sans tbody tr:nth-child(4) {
  display: none;
}

/* Turn the Saturday row into "Sat - Sun" (keeps its existing red/bold/uppercase "Closed" styling) */
body.page-template-page-contact table.w-full.text-left.font-sans tbody tr:nth-child(3) td:first-child {
  font-size: 0;
}
body.page-template-page-contact table.w-full.text-left.font-sans tbody tr:nth-child(3) td:first-child::before {
  content: "Sat - Sun";
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.4px;
  text-transform: uppercase;
  color: #881337;
  font-family: Inter, sans-serif;
}
/* Legacy of Stiches */
/* Hide the current single photo visually (kept in the page for layout + alt text) */
#studio-intro-image-p5o4i3u2 {
  opacity: 0;
}

/* Overlay a rotating set of photos in its place */
#welcome-intro-w9e8r7t6 .relative::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  background-size: cover;
  background-position: center center;
  animation: csw-legacy-carousel 30s infinite;
}

@keyframes csw-legacy-carousel {
  0% {
    background-image: url('https://mysewings.com/wp-content/themes/classic-sewing-site-v2-theme/assets/images/inside-the-classic-sewing-studio.jpg'); /* current photo */
  }
  20% {
    background-image: url('https://mysewings.com/wp-content/uploads/2026/10/20250507_121116-2.jpg');
  }
  40% {
    background-image: url('https://mysewings.com/wp-content/uploads/2026/10/20250518_124243-1.jpg');
  }
  60% {
    background-image: url('https://mysewings.com/wp-content/uploads/2026/10/20250710_131828.jpg');
  }
  80% {
    background-image: url('https://mysewings.com/wp-content/uploads/2026/10/20250710_131645.jpg');
  }
  100% {
    background-image: url('https://mysewings.com/wp-content/themes/classic-sewing-site-v2-theme/assets/images/inside-the-classic-sewing-studio.jpg'); /* loops back */
  }
}
/* A Philosophy of Resourcfulness */
/* Hide the current single photo visually (kept in the page for layout + alt text) */
#about-story-image-j2k3l4m5 {
  opacity: 0;
}

/* Overlay a rotating set of photos in its place */
#about-story-s9d8f7g6 .relative::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  background-size: cover;
  background-position: center center;
  animation: csw-philosophy-carousel 30s infinite;
}

@keyframes csw-philosophy-carousel {
  0% {
    background-image: url('https://mysewings.com/wp-content/themes/classic-sewing-site-v2-theme/assets/images/about.jpg'); /* current photo */
  }
  20% {
    background-image: url('https://mysewings.com/wp-content/uploads/2026/10/20250205_154202.jpg');
  }
  40% {
    background-image: url('https://mysewings.com/wp-content/uploads/2026/10/20250206_120938.jpg');
  }
  60% {
    background-image: url('https://mysewings.com/wp-content/uploads/2026/10/20250710_131805.jpg');
  }
  80% {
    background-image: url('https://mysewings.com/wp-content/uploads/2026/10/20250805_131439.jpg');
  }
  100% {
    background-image: url('https://mysewings.com/wp-content/themes/classic-sewing-site-v2-theme/assets/images/about.jpg'); /* loops back */
  }
}