/* Base layout and typography */
body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f0f0f0;
  color: #2a2a2a;
  line-height: 1.7;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #fff;
}

/* Headings */
h1 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #C4130E;
}


h2 {
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #C4130E;
  border-bottom: 2px solid #C4130E;
  padding-bottom: 5px;
}

/*
h3 {
  font-size: 18px;
  margin-top: 15px;
  margin-bottom: 10px;
  color: #2a2a2a;
  text-align: left;
}*/

h3 {
  display: inline-block; 
  font-size: 18px;
  font-weight: 700;
  color: #4a4a4a;
  letter-spacing: 0.8px;
  margin: 0 0 6px 0;
  padding-bottom: 4px;
  border-bottom: 1.5px solid #C4130E;
}



@media (max-width: 768px) {
  h1 {
    font-size: 28px;
  }
  h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 24px;
  }
  h2 {
    font-size: 20px;
  }
  h3 {
    font-size: 17px;
  }
}

h4 {
  font-size: 18px;
  margin-top: 15px;
  margin-bottom: 10px;
  color: #2a2a2a;
  text-align: center;
}

/* Paragraphs and text blocks */
p {
  margin-top: 10px;
  margin-bottom: 5px;
}

.paragraph {
  margin-bottom: 20px;
}

.paragraph img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
}
.image-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.image-block {
  flex: 1 1 300px;
  max-width: 450px;
  text-align: center;
}

.image-block.small {
  max-width: 400px;
}

.image-block.verysmall {
  max-width: 300px;
}

.image {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  text-align: center;
}

.image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.image-label {
  text-align: center;
  font-size: 0.95rem;
  color: #444;
  margin-top: 0.5rem;
  font-weight: 400;
}

/* Highlight blocks */
.highlight {
  background-color: #f7f7f7;
  padding: 10px;
  border-left: 4px solid #C4130E;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease;
  margin-bottom: 30px;
}

.highlight h2 {
  font-size: 18px;
  font-weight: 700;
  color: #4a4a4a;
  letter-spacing: 0.8px;
  margin: 0 0 6px 0;
  padding-bottom: 4px;
  border-bottom: 2px solid #C4130E;
}

.highlight h3 {
  display: block; 
  font-size: 18px;
  font-weight: 700;
  color: #4a4a4a;
  text-align: left;
  letter-spacing: 0.8px;
  margin: 0 0 6px 0;
  padding-bottom: 4px;
  border-bottom: 2px solid #C4130E;
}

.highlight ul {
  list-style: none;
  padding-left: 0;
}

.highlight li {
  margin-bottom: 2px;
  padding: 0;
}


/* Contact info */
.contact-info strong {
  display: block;
  margin-top: 16px;
  margin-bottom: 6px;
  color: #C4130E;
}

.contact-info a {
  display: block;
  margin-bottom: 10px;
  color: #C4130E;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Subscribe section */
.subscribe-section {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Lists */
ul {
  list-style: none;
  padding-left: 10px;
  margin-bottom: 3px;
}

ol {
  padding-left: 10px;
  margin-bottom: 3px;
}

li {
  margin-bottom: 4px;
}


strong {
  color: #4a4a4a;
}

/* Links */
a {
  color: #C4130E;
  text-decoration: none;
}

a strong {
  color: inherit;
}

a:hover {
  text-decoration: underline;
}

/* Embedded media */
.shortvideo {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 9 / 16;
  margin: 20px auto 0;
  overflow: hidden;
}

.shortvideo iframe {
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scale(1.1);
  transform-origin: center;
}

.header-image {
  text-align: center;
  text-align: center;
  margin: 2rem 0;
}
 
.header-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto 10px;
  border-radius: 8px;
}
.body-image {
  text-align: center;
  text-align: center;
  margin: 2rem 0;
}
.body-image img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  margin: 0 auto 10px;
  border-radius: 8px;
}

/* Schedule table */
.swwa-schedule {
  font-family: 'Montserrat', sans-serif;
  max-width: 800px;
  margin: 0 auto 40px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  border-top: 5px soid #8a8a8a;
}

.swwa-schedule table {
  width: 100%;
  border-collapse: collapse;
}

.swwa-schedule td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
}

.swwa-schedule tr:nth-child(even) {
  background-color: #f9f9f9;
}

.swwa-class {
  background: #6a6a6a;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  padding: 10px;
  font-size: 1rem;
}

.swwa-note-red {
  color: #C4130E;
  font-weight: bold;
}

.swwa-note-muted {
  display: block;
  font-size: 0.9em;
  color: #777;
  margin-top: 4px;
  font-style: italic;
}

/* Coaches page layout */
.coach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.coach-card {
  background-color: #f7f7f7;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
}

.coach-card img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px; /* Changed from 50% to soft square corners */
  margin-bottom: 15px;
  background-color: #ddd;
}

.coach-card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 10px;
  color: #C4130E;
}

.coach-card ul {
  list-style: circle;
  text-align: left;
  padding-left: 10px;
  margin: 0;
}

.coach-card p {
  margin: 0;
}

/* Error page */
.error-page {
  text-align: center;
  padding: 80px 20px;
  color: #2a2a2a;
}

.error-page h1 {
  font-size: 36px;
  color: #C4130E;
  margin-bottom: 20px;
}

.error-page p {
  font-size: 18px;
  margin-bottom: 15px;
}

.error-page .button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #C4130E;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 700;
  transition: background-color 0.3s ease;
}

.error-page .button:hover {
  background-color: #a61e1e;
}

/* Video section */
.video {
  margin-bottom: 40px;
  text-align: center;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  margin: 20px auto;
}

.video iframe {
  width: 100%;
  max-width: 600px;
  height: 300px;
  display: block;
  margin: 20px auto;
  border: none;
  border-radius: 8px;
}


.video h3 {
  margin-bottom: 12px;
  font-size: 20px;
  color: #333;
  text-align: inherit;
}


/* Header styles */
.swwa-header {
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
  font-family: 'Montserrat', sans-serif;
}

.swwa-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.swwa-header .banner img {
  width: 100%;
  height: auto;
  max-width: 1000px;
  display: block;
  margin-bottom: 10px;
}

.swwa-header .menu-toggle {
  display: none;
}


/* Navigation */
.swwa-header nav {
  width: 100%;
  text-align: center;
}

.swwa-header nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.swwa-header nav li {
  margin: 10px 15px;
}
.swwa-header nav a {
  position: relative;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  color: #2a2a2a;
  transition: color 0.4s ease;
}

.swwa-header nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 0;
  height: 2px;
  background-color: #C4130E;
   transition: width 0.4s ease, left 0.4s ease, transform 0.4s ease;
  transform: translateX(-50%);
  pointer-events: none;
}

.swwa-header nav a:hover,
.swwa-header nav a:focus {
  color: #C4130E;
}

.swwa-header nav a:hover::after,
.swwa-header nav a:focus::after {
  width: 100%;
  left: 0;
  transform: none;
}

/* Active page stays red and underlined */
.swwa-header nav a.active {
  color: #C4130E;
}

.swwa-header nav a.active::after {
  width: 100%;
  left: 0;
  transform: none;
}



/* Hide checkbox by default */
#menu-toggle {
  display: none;
}

/* Hide menu icon on desktop */
.menu-icon {
  display: none;
}
/* Hide the checkbox */
#menu-toggle {
  display: none;
}

/* Hide menu icon on desktop */
.menu-icon {
  display: none;
}
/* Hide toggle on desktop */
.swwa-header .menu-toggle {
  display: none;
}

/* Mobile styles */
@media (max-width: 768px) {
  .swwa-header .menu-toggle {
    display: block;
    font-size: 24px;
    cursor: pointer;
    margin-top: 10px;
    text-align: center;
    color: #000;
  }

  .swwa-header nav ul {
    display: none;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
  }

  .swwa-header nav ul.show {
    display: flex;
  }

  .swwa-header nav li {
    margin: 8px 0;
  }
  .swwa-footer {
    font-size: 13px;
    padding: 20px 15px;
  }

  .swwa-footer a {
    display: inline-block;
    margin: 6px 8px;
  }
}

/* Footer Styles */
.swwa-footer {
  background-color: #2a2a2a;
  color: #ffffff;
  text-align: center;
  padding: 30px 20px;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
}

.swwa-footer p {
  margin: 10px 0;
}

.swwa-footer a {
  color: #ffffff;
  margin-left: 0;
  margin-right: 10px;
  font-weight: 400;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.3s ease;
}


.swwa-footer a:hover {
  color: #C4130E;
}

.swwa-footer i {
  margin-right: 6px;
}

.map {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 20px;
  text-align: center;
}

.map iframe {
  width: 100%;
  height: 350px; /* or keep 450px if you prefer a taller map */
  border: 0;
}