/*
 * Scoped WordPress editor content styles.
 *
 * These rules replace the public wp-block-library stylesheet without changing
 * the rest of The AGULA interface. Every selector is restricted to .wp-content.
 */

.wp-content {
  font-family: "SVN-Gilroy", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.wp-content > :first-child {
  margin-top: 0;
}

.wp-content > :last-child {
  margin-bottom: 0;
}

.wp-content h1,
.wp-content h2,
.wp-content h3,
.wp-content h4,
.wp-content h5,
.wp-content h6 {
  margin: 1.75em 0 0.65em;
  font-family: "SVN-Schnyder Wide", Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #faf8f3;
}

.wp-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.wp-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.wp-content h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.wp-content h4 {
  font-size: 1.3rem;
}

.wp-content p,
.wp-content ul,
.wp-content ol,
.wp-content blockquote,
.wp-content figure,
.wp-content table,
.wp-content pre {
  margin: 0 0 1.35rem;
}

.wp-content ul,
.wp-content ol {
  padding-left: 1.5rem;
}

.wp-content ul {
  list-style: disc;
}

.wp-content ol {
  list-style: decimal;
}

.wp-content li + li {
  margin-top: 0.45rem;
}

.wp-content a {
  color: #e0b882;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.wp-content a:hover,
.wp-content a:focus-visible {
  color: #f4d5ac;
}

.wp-content blockquote {
  border-left: 3px solid #e0b882;
  padding: 0.35rem 0 0.35rem 1.25rem;
  color: rgb(250 248 243 / 0.82);
}

.wp-content blockquote > :last-child {
  margin-bottom: 0;
}

.wp-content img,
.wp-content video,
.wp-content iframe {
  max-width: 100%;
}

.wp-content img,
.wp-content video {
  height: auto;
}

.wp-content figure {
  max-width: 100%;
}

.wp-content figcaption {
  margin-top: 0.65rem;
  font-size: 0.875rem;
  line-height: 1.55;
  text-align: center;
  color: rgb(250 248 243 / 0.62);
}

.wp-content table {
  width: 100%;
  border-collapse: collapse;
  color: #faf8f3;
}

.wp-content th,
.wp-content td {
  border: 1px solid rgb(224 184 130 / 0.32);
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}

.wp-content th {
  background: rgb(224 184 130 / 0.12);
  color: #e0b882;
}

.wp-content pre,
.wp-content code {
  font-family: Consolas, Monaco, "Courier New", monospace;
}

.wp-content code {
  border: 1px solid rgb(224 184 130 / 0.2);
  background: rgb(3 42 38 / 0.72);
  padding: 0.12em 0.35em;
}

.wp-content pre {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid rgb(224 184 130 / 0.24);
  background: #032a26;
  padding: 1rem;
}

.wp-content pre code {
  border: 0;
  background: transparent;
  padding: 0;
}

.wp-content hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid rgb(224 184 130 / 0.28);
}

.wp-content .alignleft {
  float: left;
  margin: 0.35rem 1.5rem 1rem 0;
}

.wp-content .alignright {
  float: right;
  margin: 0.35rem 0 1rem 1.5rem;
}

.wp-content .aligncenter {
  display: block;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.wp-content .alignwide,
.wp-content .alignfull {
  width: 100%;
  max-width: 100%;
}

.wp-content .wp-element-button,
.wp-content .wp-block-button__link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0b882;
  border-radius: 0;
  background: #e0b882;
  padding: 0.75rem 1.25rem;
  color: #032a26;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.wp-content .wp-element-button:hover,
.wp-content .wp-block-button__link:hover {
  background: #f4d5ac;
  color: #032a26;
}

.wp-content::after {
  display: table;
  clear: both;
  content: "";
}

@media (max-width: 767px) {
  .wp-content .alignleft,
  .wp-content .alignright {
    float: none;
    margin: 0 0 1.25rem;
  }
}
