/* Drovo theme: cms styles, compiled from the original SCSS modules. */

/* components/common/CmsPageView.module.scss */
.cms-cmsPage {
  width: 100%;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
@media (max-width: 1399px) {
  .cms-cmsPage {
    max-width: 86%;
  }
}
@media (max-width: 1199px) {
  .cms-cmsPage {
    max-width: 92%;
  }
}
@media (max-width: 991px) {
  .cms-cmsPage {
    max-width: 96%;
  }
}
@media (max-width: 575px) {
  .cms-cmsPage {
    max-width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }
}
.cms-cmsPage {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  padding-block: clamp(2rem, 4vw, 4rem);
}

.cms-eyebrow {
  color: #607B7B;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cms-contentShell {
  padding: clamp(1rem, 2vw, 1.4rem);
  border: 1px solid rgba(15, 123, 108, 0.22);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(8, 80, 65, 0.07);
}

.cms-content {
  margin: 0 auto;
  color: #1b1818;
  font-size: clamp(0.98rem, 1.15vw, 1.05rem);
  line-height: 1.85;
}
.cms-content > *:first-child {
  margin-top: 0;
}
.cms-content > *:last-child {
  margin-bottom: 0;
}
.cms-content h2,
.cms-content h3,
.cms-content h4 {
  margin: 2rem 0 0.8rem;
  color: #1b1818;
  line-height: 1.18;
  letter-spacing: 0;
}
.cms-content h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}
.cms-content h3 {
  font-size: clamp(1.18rem, 1.8vw, 1.45rem);
}
.cms-content p,
.cms-content li {
  color: #607B7B;
}
.cms-content p {
  margin: 0 0 1rem;
}
.cms-content a {
  color: #607B7B;
  font-weight: 800;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}
.cms-content ul,
.cms-content ol {
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0 1.25rem;
  padding-left: 1.25rem;
}
.cms-content blockquote {
  margin: 1.4rem 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--clr-primary, #0F7B6C);
  border-radius: 0 8px 8px 0;
  background: #EDF8F4;
  color: #1b1818;
}
.cms-content table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid rgba(15, 123, 108, 0.18);
  border-radius: 8px;
}
.cms-content th,
.cms-content td {
  padding: 0.85rem;
  border-bottom: 1px solid rgba(15, 123, 108, 0.14);
  text-align: left;
  vertical-align: top;
}
.cms-content th {
  background: #EDF8F4;
  color: #1b1818;
}
.cms-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 760px) {
  .cms-contentShell {
    padding: 1rem;
  }
  .cms-content {
    line-height: 1.75;
  }
}
