/* BTLA editorial blocks. Shared by Gutenberg and the public article. */
.btla-article-body,
.article-content {
  --btla-ink: #00393f;
  --btla-mid: #005c66;
  --btla-line: rgba(0,57,63,.2);
  font-size: 1.125rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.btla-article-body { max-width: 760px; margin-inline: auto; }
.btla-article-body > * { margin-block: 0; }
.btla-article-body > * + * { margin-block-start: 1.6rem; }
.btla-article-body p { line-height: 1.8; }
.btla-article-body h2 {
  font-size: clamp(1.65rem, 2.7vw, 2rem);
  line-height: 1.2;
  margin-block: 3.5rem 1.25rem;
}
.btla-article-body h3 {
  font-size: 1.35rem;
  line-height: 1.3;
  margin-block: 2rem 1rem;
}
.btla-article-body :is(h2,h3,h4)[id] { scroll-margin-top: 2rem; }
.btla-article-body li { margin-block: .7em; }
.btla-article-body a { color: #005c66; text-underline-offset: .2em; }
.btla-article-body a:hover { text-decoration-thickness: 2px; }
/* Class selectors also work for individual patterns inserted without a wrapper. */
p.is-style-btla-lead,
.article-content p.is-style-btla-lead {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 400;
  line-height: 1.65;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(0,57,63,.2);
  color: #00393f;
}
p.btla-kicker,
.article-content p.btla-kicker {
  font-size: .75rem;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 1.1rem;
}
:is(.is-style-btla-summary,.is-style-btla-check-panel,.is-style-btla-example,.is-style-btla-note,.is-style-btla-sources,.is-style-btla-article-cta) {
  padding: 2rem;
  color: #00393f;
  font-size: 1rem;
  line-height: 1.75;
  margin-block: 2rem;
}
:is(.is-style-btla-summary,.is-style-btla-check-panel,.is-style-btla-example,.is-style-btla-note,.is-style-btla-sources,.is-style-btla-article-cta) > * + * {
  margin-block-start: 1rem;
}
:is(.is-style-btla-summary,.is-style-btla-check-panel,.is-style-btla-example,.is-style-btla-note,.is-style-btla-sources,.is-style-btla-article-cta) > :last-child {
  margin-block-end: 0;
}
.is-style-btla-summary { background: #dbe283; }
.is-style-btla-summary ul { margin: 0; padding-left: 1.2em; }
.is-style-btla-summary li { padding-left: .35rem; margin-block: .85rem; }
.is-style-btla-summary li:first-child { margin-top: 0; }
.is-style-btla-summary li:last-child { margin-bottom: 0; }
.btla-toc {
  padding: 1.3rem 0 1.8rem;
  border-bottom: 1px solid rgba(0,57,63,.2);
  margin-block: 2rem;
  font-size: 1rem;
}
.btla-toc ol { margin: 0; padding-left: 1.5em; }
.btla-toc li { padding-left: .55em; margin-block: .65rem; }
.btla-toc li::marker { color: #005c66; font-size: .8em; }
.btla-toc a { color: #00393f; text-decoration: none; }
.btla-toc a:hover { text-decoration: underline; }
.is-style-btla-check-panel { border: 1px solid rgba(0,57,63,.25); }
ul.is-style-btla-checklist,
.article-content ul.is-style-btla-checklist { list-style: none; padding-left: 0; margin-block: 1rem; }
.is-style-btla-checklist > li {
  position: relative;
  padding: .95rem 0 .95rem 2.3rem;
  margin-block: 0;
  border-bottom: 1px solid rgba(0,57,63,.15);
}
.is-style-btla-checklist > li:last-child { border-bottom: 0; padding-bottom: 0; }
.is-style-btla-checklist > li:first-child { padding-top: 0; }
.is-style-btla-checklist > li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 1.4rem;
  height: 1.4rem;
  display: grid;
  place-content: center;
  border: 1px solid #6fbc85;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1;
  color: #00393f;
}
.is-style-btla-checklist > li:first-child::before { top: .2rem; }
.is-style-btla-example { background: rgba(111,188,133,.12); border-left: 3px solid #6fbc85; }
.is-style-btla-example h3,
.article-content .is-style-btla-example h3 { font-size: 1.4rem; margin-block: 0 1.25rem; }
.is-style-btla-note { border-left: 3px solid #005c66; background: #fff; padding-block: .3rem; padding-inline: 1.5rem 0; }
.is-style-btla-note .btla-kicker { color: #005c66; margin-bottom: .5rem; }
blockquote.is-style-btla-expert,
.article-content blockquote.is-style-btla-expert {
  position: relative;
  margin: 2.5rem 0;
  padding: 2.2rem;
  border: 0;
  background: #00393f;
  color: #fff;
}
blockquote.is-style-btla-expert::before { content: '“'; display: block; color: #dbe283; font-size: 5rem; line-height: .9; height: 3.2rem; }
blockquote.is-style-btla-expert p { font-size: 1.35rem; font-weight: 500; line-height: 1.5; }
blockquote.is-style-btla-expert cite { display: block; margin-top: 1.3rem; color: #dbe283; font-size: .8125rem; font-style: normal; }
.btla-faq { border-top: 1px solid rgba(0,57,63,.25); margin-block: 1.5rem; }
details.btla-faq-item { border-bottom: 1px solid rgba(0,57,63,.25); margin: 0; padding: 0; }
details.btla-faq-item summary {
  position: relative;
  padding: 1.3rem 2rem 1.3rem 0;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.55;
  list-style: none;
  cursor: pointer;
}
details.btla-faq-item summary::-webkit-details-marker { display: none; }
details.btla-faq-item summary::after { content: '+'; position: absolute; right: .25rem; top: 1.15rem; font-size: 1.5rem; font-weight: 400; color: #005c66; }
details.btla-faq-item[open] summary::after { content: '−'; }
details.btla-faq-item p { font-size: 1rem; line-height: 1.8; padding: 0 1.5rem 1.3rem 0; margin: 0; }
.btla-article-body :is(a,summary):focus-visible,
.article-content :is(a,summary):focus-visible { outline: 2px solid #005c66; outline-offset: 4px; }
/* Yoast Free FAQ markup: style its visible content; the plugin owns its schema. */
:where(.article-content,.editor-styles-wrapper) .schema-faq { border-top: 1px solid rgba(0,57,63,.25); }
:where(.article-content,.editor-styles-wrapper) .schema-faq-section { padding: 1.5rem 0; border-bottom: 1px solid rgba(0,57,63,.25); }
:where(.article-content,.editor-styles-wrapper) .schema-faq-question { display: block; margin-bottom: .6rem; font-size: 1.1rem; line-height: 1.5; font-weight: 500; color: #00393f; }
:where(.article-content,.editor-styles-wrapper) .schema-faq-answer { font-size: 1rem; line-height: 1.8; margin: 0; }
/* Optional Yoast Premium TOC. No dependency on the paid plugin. */
:where(.article-content,.editor-styles-wrapper) .wp-block-yoast-seo-table-of-contents { border-block: 1px solid rgba(0,57,63,.2); padding-block: 1.5rem; font-size: 1rem; }
.is-style-btla-sources { padding: 1.5rem 0 0; border-top: 1px solid rgba(0,57,63,.2); font-size: .875rem; }
.is-style-btla-sources ul { padding-left: 1.2em; margin: 0; }
.is-style-btla-sources li { margin-block: .7em; }
.is-style-btla-article-cta { background: #00393f; color: #fff; padding: 2.2rem; }
.is-style-btla-article-cta .btla-kicker { color: #dbe283; }
.is-style-btla-article-cta h3,
.article-content .is-style-btla-article-cta h3 { font-size: clamp(1.55rem, 2.7vw, 2rem); color: #fff; margin-block: 0 1.2rem; }
.is-style-btla-article-cta p { color: #fff; max-width: 580px; }
.is-style-btla-article-cta .wp-block-buttons { margin-top: 1.5rem; }
.is-style-btla-article-cta .wp-block-button__link,
.article-content .is-style-btla-article-cta .wp-block-button__link { background: #dbe283; color: #00393f; font-size: .875rem; line-height: 1.5; border-radius: 0; }
.is-style-btla-article-cta .wp-block-button__link:hover { background: #fff; }
.is-style-btla-article-cta a:focus-visible,
.article-content .is-style-btla-article-cta a:focus-visible { outline-color: #dbe283; }
/* Keep post body line lengths comfortable; no global homepage layout overrides. */
.single-main .article-content { max-width: 760px; margin-inline: auto; }
@media (max-width: 1000px) {
  /* The in-article contact panel already supplies the mobile call to action. */
  .article-layout:has(.is-style-btla-article-cta) .article-sidebar { display: none; }
}
@media (max-width: 700px) {
  .btla-article-body,.article-content { font-size: 1rem; }
  .btla-article-body h2 { margin-top: 2.6rem; }
  :is(.is-style-btla-summary,.is-style-btla-check-panel,.is-style-btla-example,.is-style-btla-article-cta) { padding: 1.4rem; }
  blockquote.is-style-btla-expert,.article-content blockquote.is-style-btla-expert { padding: 1.5rem; }
  blockquote.is-style-btla-expert p { font-size: 1.2rem; }
  details.btla-faq-item summary { font-size: 1rem; }
}
@media print {
  .single-main .article-sidebar,.single-main .related-section,.single-main .article-navigation,.single-main .article-comments,.single-main .is-style-btla-article-cta { display: none; }
  .single-main .article-layout { display: block; }
  .single-main .article-content { max-width: none; }
}
