/* Inner page layout (subpages) */
.page-main {
  margin-top: calc(2mm + 3cm);
  min-height: 40vh;
}

.page-banner {
  position: relative;
  width: 100%;
  height: 189px;
  background-image: url("/photos/slider_21.jpg");
  background-repeat: no-repeat;
  background-position: center 12%;
  background-size: cover;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  padding: 0;
}

.page-banner h1 {
  width: 100%;
  margin: 0;
  padding: 0.88rem 2rem;
  padding-left: max(2.75rem, calc((100% - 1000px) / 2 + 2.75rem));
  background: rgba(34, 29, 83, 0.72); /* #221D53 translucent belt */
  color: #fff;
  font-family: "Oswald", Arial, Helvetica, sans-serif;
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1.2;
  text-align: left;
  box-sizing: border-box;
}

.page-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.5rem 2rem 3rem;
}

.page-breadcrumb {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12px;
  color: #777;
  margin-bottom: 1.2rem;
}

.page-breadcrumb a {
  color: #61A60E;
  text-decoration: none;
}

.page-breadcrumb a:hover {
  text-decoration: underline;
}

/* Override header-footer .page-body offset — subpages use .page-main for nav spacing */
.page-main .page-body {
  margin-top: 0;
  padding: 0;
}

.page-body {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: #595757;
}

.page-body p {
  margin-bottom: 0.9rem;
}

.page-body .page-note {
  font-size: 0.78rem;
  line-height: 1.5;
}

.page-body h2 {
  color: #61A60E;
  font-family: "Oswald", Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 300;
  margin: 1.5rem 0 0.7rem;
}

.page-body h3 {
  color: #333;
  font-family: "Oswald", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 300;
  margin: 1.2rem 0 0.5rem;
}

.page-body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.page-body .body_lt_img,
.page-body .alignleft {
  float: left;
  margin: 0 1.2rem 0.8rem 0;
  max-width: 45%;
}

.page-body figure {
  margin: 1rem 0;
}

.page-body ul,
.page-body ol {
  margin: 0.5rem 0 1rem 1.5rem;
}

.page-body li {
  margin-bottom: 0.4rem;
}

.page-body a {
  color: #61A60E;
}

.page-body a:hover {
  text-decoration: underline;
}

.page-body .button {
  display: inline-block;
  background: linear-gradient(#fff, #ececec);
  color: #869541 !important;
  font-family: "Oswald", Arial, Helvetica, sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.6;
  padding: 0.35rem 1.4rem 0.45rem;
  border-radius: 25px;
  box-shadow: 0 3px 0 2px #869541;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.page-body .button:hover {
  background: #60B001;
  color: #fff !important;
  text-decoration: none;
}

/* Section blocks: menu-style subtitle + footer-gray content area */
.content-section {
  margin-bottom: 2.5rem;
}

.page-body h2.section-subtitle {
  display: block;
  margin: 0;
  padding: 0.9rem 1.25rem;
  background: #749E0A;
  color: #fff;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  border-radius: 10px 0 10px 0;
}

.page-body h2.section-subtitle em {
  font-style: normal;
  color: #fff;
}

.page-body h2.section-subtitle strong {
  color: #fff;
  font-weight: 700;
}

.section-body {
  background: #EDEAE5;
  padding: 1.25rem 1.5rem;
  margin-top: 0.75rem;
  border-radius: 8px;
  display: flow-root;
}

.section-body .body_lt_img {
  float: left;
  margin: 0 1.25rem 0.75rem 0;
  width: 180px;
  max-width: 32%;
  max-height: 240px;
  height: auto;
  object-fit: cover;
  object-position: top center;
  border-radius: 4px;
}

.section-body > p:has(.body_lt_img) {
  margin-bottom: 0;
}

.section-body p:last-child,
.section-body ul:last-child {
  margin-bottom: 0;
}

.page-body .italic_20 {
  font-style: italic;
  font-size: 0.88rem;
  color: #555;
}

/* Video embeds only — do not constrain form iframes (EmailMeForm, etc.) */
.whatsapp-wrap {
  margin: 0.75rem 0 1rem;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: auto;
  max-width: 100%;
  padding: 0.55rem 1.1rem;
  background: #25D366;
  color: #fff !important;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  border-radius: 10px 0 10px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: background 0.2s;
  vertical-align: middle;
}

.whatsapp-btn::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  max-width: 18px;
  min-height: 18px;
  max-height: 18px;
  flex: 0 0 18px;
  background: center / 18px 18px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.881 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E");
}

.whatsapp-btn:hover {
  background: #1ebe57;
  text-decoration: none;
}

.page-body iframe[src*="youtube"],
.page-body iframe[src*="youtu.be"] {
  max-width: 100%;
  border: none;
  aspect-ratio: 16/9;
}

.page-body iframe.video-embed-sm {
  width: 75%;
  max-width: 75%;
  display: block;
  margin: 0 auto;
}

.video-grid {
  display: grid;
  gap: 1.25rem;
}

.video-grid iframe {
  width: 100%;
  display: block;
}

.video-grid-long {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.video-grid-shorts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-body .video-grid-shorts iframe {
  aspect-ratio: 9/16;
}

.rhythm-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

.rhythm-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.rhythm-grade {
  border: 0;
  cursor: pointer;
  background: #749E0A;
  color: #fff;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1rem;
  border-radius: 10px 0 10px 0;
}

.rhythm-grade:hover,
.rhythm-grade.is-active {
  background: #9CC72F;
}

.rhythm-select-label {
  display: block;
  color: #555;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.rhythm-select {
  min-width: 180px;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  color: #444;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  padding: 0.6rem 0.75rem;
}

.rhythm-player-wrap {
  max-width: 360px;
  margin: 0 auto;
}

.page-body iframe.rhythm-player {
  width: 100%;
  aspect-ratio: 9/16;
  display: block;
}

.page-body iframe {
  max-width: 100%;
  border: none;
}

.page-body .form-embed {
  width: 100%;
  overflow: visible;
  margin-bottom: 2rem;
}

.page-body .form-embed iframe {
  width: 100% !important;
  border: none;
  display: block;
  overflow: hidden !important;
}

/* FAQ accordion */
.faq-list {
  margin-top: 1rem;
}

.faq-item {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 0.85rem 1rem;
  background: #f5f9ee;
  font-weight: 700;
  font-size: 0.88rem;
  color: #333;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "+ ";
  color: #61A60E;
  font-weight: 700;
}

.faq-item[open] summary::before {
  content: "− ";
}

.faq-item[open] summary {
  background: #61A60E;
  color: #fff;
}

.faq-item[open] summary::before {
  color: #fff;
}

.faq-answer {
  padding: 0.9rem 1rem 1rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #555;
}

.faq-answer ul {
  margin-left: 1.2rem;
}

.category_faq li {
  list-style: disc;
}

@media (max-width: 767px) {
  .page-main {
    margin-top: 0;
  }

  .page-banner {
    height: 150px;
  }

  .page-banner h1 {
    font-size: 1.2rem;
    padding: 0.68rem 1.2rem;
    padding-left: 1.75rem;
  }

  .page-content {
    padding: 1rem 1.2rem 2rem;
  }

  .whatsapp-btn {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    font-size: 0.9rem;
  }

  .whatsapp-btn::before {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    flex: 0 0 18px !important;
    background-size: 18px 18px !important;
  }

  .page-body .body_lt_img,
  .page-body .alignleft {
    float: none;
    max-width: 100%;
    margin: 0 0 0.8rem;
  }

  .section-body .body_lt_img {
    float: none;
    width: 100%;
    max-width: 220px;
    max-height: none;
    margin: 0 auto 0.8rem;
    display: block;
  }

  .video-grid-long,
  .video-grid-shorts {
    grid-template-columns: 1fr;
  }
}
