/*
 * EditorsKit (block-options) replacement — frontend only.
 *
 * That plugin is discontinued and the block editor is disabled, so it is
 * NOT installed, but its classes are hardcoded across ~1000 legacy posts'
 * post_content (device-visibility, spacing utilities, list/image styles,
 * the "linked block" overlay, ek-* layout/typography utilities, …). Rules
 * below are copied verbatim from the old plugin's style.build.css so any
 * of those classes still render correctly. First found missing: .mb-0.
 */

@media screen and (min-width: 769px) {
  body:not(.wp-admin) .blockopts-hide.blockopts-desktop,
  body:not(.wp-admin) .editorskit-no-desktop {
    display: none;
  }
}

@media screen and (max-width: 768px) and (min-width: 737px) {
  body:not(.wp-admin) .blockopts-hide.blockopts-tablet,
  body:not(.wp-admin) .editorskit-no-tablet {
    display: none;
  }
  body:not(.wp-admin) .has-tablet-text-align-center { text-align: center; }
  body:not(.wp-admin) .has-tablet-text-align-center.wp-block-buttons { justify-content: center; }
  body:not(.wp-admin) .has-tablet-text-align-right { text-align: right; }
  body:not(.wp-admin) .has-tablet-text-align-right.wp-block-buttons { justify-content: right; }
  body:not(.wp-admin) .has-tablet-text-align-left { text-align: left; }
  body:not(.wp-admin) .has-tablet-text-align-left.wp-block-buttons { justify-content: left; }
  body:not(.wp-admin) .has-tablet-text-align-justify { text-align: justify; }
}

@media screen and (max-width: 736px) {
  body:not(.wp-admin) .blockopts-hide.blockopts-mobile,
  body:not(.wp-admin) .editorskit-no-mobile {
    display: none;
  }
  body:not(.wp-admin) .has-mobile-text-align-center { text-align: center; }
  body:not(.wp-admin) .has-mobile-text-align-center.wp-block-buttons { justify-content: center; }
  body:not(.wp-admin) .has-mobile-text-align-right { text-align: right; }
  body:not(.wp-admin) .has-mobile-text-align-right.wp-block-buttons { justify-content: right; }
  body:not(.wp-admin) .has-mobile-text-align-left { text-align: left; }
  body:not(.wp-admin) .has-mobile-text-align-left.wp-block-buttons { justify-content: left; }
  body:not(.wp-admin) .has-mobile-text-align-justify { text-align: justify; }
}

.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }

.is-style-editorskit-circular.wp-block-image img,
.is-style-editorskit-circular:not(.wp-block-image) {
  border-radius: 9999px !important;
  object-fit: cover;
  overflow: hidden;
}
.is-style-editorskit-rounded.wp-block-image img,
.is-style-editorskit-rounded:not(.wp-block-image) {
  border-radius: .5em;
  overflow: hidden;
}
.is-style-editorskit-diagonal.wp-block-image img,
.is-style-editorskit-diagonal:not(.wp-block-image) {
  clip-path: polygon(0 12%, 0 100%, 100% 88%, 100% 0);
}
.is-style-editorskit-inverted-diagonal.wp-block-image img,
.is-style-editorskit-inverted-diagonal:not(.wp-block-image) {
  clip-path: polygon(0 0, 0 88%, 100% 100%, 100% 12%);
}
.is-style-editorskit-shadow.wp-block-image img,
.is-style-editorskit-shadow:not(.wp-block-image) {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);
}
.is-style-editorskit-shadow.wp-block-image img:hover,
.is-style-editorskit-shadow:not(.wp-block-image):hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);
}

/* Coloured/styled list bullets (has-list-bullet-color, is-style-arrow/checked/crossed/dashed/starred/connected/none) */
ul.has-list-bullet-color li:before {
  top: 2px; content: "•"; text-align: center; font-weight: 900;
  background-color: transparent; color: var(--ek-bullet-color);
}
ol.has-list-bullet-color { counter-reset: li var(--li-start, 0); }
ol.has-list-bullet-color li { counter-increment: li; }
ol.has-list-bullet-color li:before {
  content: counter(li) "."; top: 2px; text-align: center;
  background-color: transparent; color: var(--ek-bullet-color);
}
ol.has-list-bullet-color:not(.is-style-connected) li:before { width: auto !important; min-width: 25px; }
ol.has-list-bullet-color.is-style-default li { counter-increment: li; counter-reset: li counter(li); }
ol.has-list-bullet-color.is-style-default li:before { top: 1em; margin-top: -.95em; }

ol.has-list-bullet-color li, ol.is-style-arrow li, ol.is-style-checked li, ol.is-style-connected li,
ol.is-style-crossed li, ol.is-style-dashed li, ol.is-style-starred li,
ul.has-list-bullet-color li, ul.is-style-arrow li, ul.is-style-checked li, ul.is-style-connected li,
ul.is-style-crossed li, ul.is-style-dashed li, ul.is-style-starred li {
  list-style-type: none !important; padding-left: 8px; position: relative;
}
ol.has-list-bullet-color li:before, ol.is-style-arrow li:before, ol.is-style-checked li:before,
ol.is-style-connected li:before, ol.is-style-crossed li:before, ol.is-style-dashed li:before,
ol.is-style-starred li:before, ul.has-list-bullet-color li:before, ul.is-style-arrow li:before,
ul.is-style-checked li:before, ul.is-style-connected li:before, ul.is-style-crossed li:before,
ul.is-style-dashed li:before, ul.is-style-starred li:before {
  background-size: cover; display: inline-block; height: 25px; left: -25px; position: absolute;
  top: 1em; margin-top: -18px; transform: scale(.9); width: 25px;
  mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat;
}
ol.is-style-arrow li:before, ol.is-style-checked li:before, ol.is-style-connected li:before,
ol.is-style-crossed li:before, ol.is-style-starred li:before, ul.is-style-arrow li:before,
ul.is-style-checked li:before, ul.is-style-connected li:before, ul.is-style-crossed li:before,
ul.is-style-starred li:before {
  content: ""; background-color: var(--ek-bullet-color, currentColor);
}
ol.is-style-arrow li:before, ul.is-style-arrow li:before {
  transform: scale(.65); margin-top: -16px;
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" > <path d="M5.88 4.12L13.76 12l-7.88 7.88L8 22l10-10L8 2z"></path><path fill="none" d="M0 0h24v24H0z"></path></svg>');
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" > <path d="M5.88 4.12L13.76 12l-7.88 7.88L8 22l10-10L8 2z"></path><path fill="none" d="M0 0h24v24H0z"></path></svg>');
}
ol.is-style-checked li:before, ul.is-style-checked li:before {
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" ><path fill="none" d="M0 0h24v24H0z"></path><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"></path></svg>');
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" ><path fill="none" d="M0 0h24v24H0z"></path><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"></path></svg>');
}
ol.is-style-crossed li:before, ul.is-style-crossed li:before {
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" ><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path><path fill="none" d="M0 0h24v24H0z"></path></svg>');
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" ><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path><path fill="none" d="M0 0h24v24H0z"></path></svg>');
}
ol.is-style-starred li:before, ul.is-style-starred li:before {
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" > <path fill="none" d="M0 0h24v24H0z"></path><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"></path><path fill="none" d="M0 0h24v24H0z"></path></svg>');
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" > <path fill="none" d="M0 0h24v24H0z"></path><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"></path><path fill="none" d="M0 0h24v24H0z"></path></svg>');
}
ol.is-style-dashed li:before, ul.is-style-dashed li:before { content: "–"; text-align: right; }
ol.is-style-connected, ol.is-style-connected ol, ol.is-style-connected ul,
ul.is-style-connected, ul.is-style-connected ol, ul.is-style-connected ul {
  overflow: hidden;
}
ol.is-style-connected li:before, ul.is-style-connected li:before {
  border-radius: 9999px; background: var(--ek-bullet-color, currentColor);
  height: 12px; width: 12px; top: .5em; left: -18px; margin-top: 0;
}
ol.is-style-connected li:after, ul.is-style-connected li:after {
  content: ""; position: absolute; height: 125%;
  border-left: 2px solid var(--ek-bullet-color, currentColor); left: -13px; top: 0;
}
ol.is-style-connected.has-list-bullet-color li:before, ul.is-style-connected.has-list-bullet-color li:before {
  background-color: var(--ek-bullet-color);
}
ol.is-style-connected.has-list-bullet-color li:after, ul.is-style-connected.has-list-bullet-color li:after {
  border-color: var(--ek-bullet-color);
}
ol.is-style-none, ol.is-style-none li, ul.is-style-none, ul.is-style-none li {
  list-style-type: none !important; padding-left: 0 !important;
}
ol.is-style-none li, ul.is-style-none li { margin-left: 0 !important; }
ol.is-style-none li:before, ul.is-style-none li:before { content: ""; }

.is-style-gapless.wp-block-columns > .wp-block-column {
  margin-left: 0 !important; margin-right: 0 !important; flex-basis: 50%;
}

/* Media & Text block: top/bottom media placement */
.wp-block-media-text:not(.has-media-on-the-right):not(.has-media-on-the-left).has-media-on-the-top {
  grid-template-columns: 100% !important; grid-template-areas: "media-text-media" "media-text-content";
}
.wp-block-media-text:not(.has-media-on-the-right):not(.has-media-on-the-left).has-media-on-the-top .wp-block-media-text__content {
  grid-column: 1; grid-row: 2;
}
.wp-block-media-text:not(.has-media-on-the-right):not(.has-media-on-the-left).has-media-on-the-bottom {
  grid-template-columns: 100% !important; grid-template-areas: "media-text-content" "media-text-media";
}
.wp-block-media-text:not(.has-media-on-the-right):not(.has-media-on-the-left).has-media-on-the-bottom .wp-block-media-text__media {
  grid-column: 1; grid-row: 2;
}
.wp-block-media-text:not(.has-media-on-the-right):not(.has-media-on-the-left).has-media-on-the-bottom .wp-block-media-text__content {
  grid-column: 1; grid-row: 1;
}

.wp-block-cover.is-vertically-aligned-top { align-items: flex-start; align-self: flex-start; }
.wp-block-cover.is-vertically-aligned-bottom { align-items: flex-end; align-self: flex-end; }

/* Full-card link overlay (core/column with attr "href") */
.ek-linked-block { position: relative !important; }
.ek-linked-block a.editorskit-block-link { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 90; }
.ek-linked-block.ek-linked-block-animate { transition: .35s; }
.ek-linked-block.ek-linked-block-animate:hover { transform: translateY(-15px); }

.uppercase { text-transform: uppercase; }
.has-inline-background { padding: .12em 4px; border-radius: 2px; }

div[class*=wp-block-].caption-align-left figcaption,
figure[class*=wp-block-].caption-align-left figcaption,
ul[class*=wp-block-].caption-align-left figcaption { text-align: left; }
div[class*=wp-block-].caption-align-center figcaption,
figure[class*=wp-block-].caption-align-center figcaption,
ul[class*=wp-block-].caption-align-center figcaption { text-align: center; }
div[class*=wp-block-].caption-align-right figcaption,
figure[class*=wp-block-].caption-align-right figcaption,
ul[class*=wp-block-].caption-align-right figcaption { text-align: right; }

.has-text-align-justify { text-align: justify; }
.has-ek-indent { padding-left: var(--ek-indent, 20px); }
.ek-align-slim { max-width: 500px !important; margin-left: auto; margin-right: auto; }

.ek-padding--sm { padding: 14px !important; }
.ek-padding--md { padding: 24px !important; }
.ek-padding--lg { padding: 34px !important; }
.ek-padding--xl { padding: 60px !important; }
.ek-rounded-none { border-radius: 0 !important; }
.ek-rounded-sm { border-radius: .125rem !important; }
.ek-rounded-md { border-radius: .25rem !important; }
.ek-rounded-lg { border-radius: .5rem !important; }
.ek-rounded-xl { border-radius: .9rem !important; }
.ek-rounded-full { border-radius: 9999px !important; }
.ek-rounded-full, .ek-rounded-lg, .ek-rounded-md, .ek-rounded-sm, .ek-rounded-xl { overflow: hidden; }

@media (max-width: 1024px) {
  .lg\:ek-padding--sm { padding: 14px !important; }
  .lg\:ek-padding--md { padding: 24px !important; }
  .lg\:ek-padding--lg { padding: 34px !important; }
  .lg\:ek-padding--xl { padding: 60px !important; }
}
@media (max-width: 768px) {
  .md\:ek-padding--sm { padding: 14px !important; }
  .md\:ek-padding--md { padding: 24px !important; }
  .md\:ek-padding--lg { padding: 34px !important; }
  .md\:ek-padding--xl { padding: 60px !important; }
}
@media (max-width: 640px) {
  .sm\:ek-padding--sm { padding: 14px !important; }
  .sm\:ek-padding--md { padding: 24px !important; }
  .sm\:ek-padding--lg { padding: 34px !important; }
  .sm\:ek-padding--xl { padding: 60px !important; }
}

.ek-margin--sm { margin: 14px !important; }
.ek-margin--md { margin: 24px !important; }
.ek-margin--lg { margin: 34px !important; }
.ek-margin--xl { margin: 60px !important; }
@media (max-width: 1024px) {
  .lg\:ek-margin--sm { margin: 14px !important; }
  .lg\:ek-margin--md { margin: 24px !important; }
  .lg\:ek-margin--lg { margin: 34px !important; }
  .lg\:ek-margin--xl { margin: 60px !important; }
}
@media (max-width: 768px) {
  .md\:ek-margin--sm { margin: 14px !important; }
  .md\:ek-margin--md { margin: 24px !important; }
  .md\:ek-margin--lg { margin: 34px !important; }
  .md\:ek-margin--xl { margin: 60px !important; }
}
@media (max-width: 640px) {
  .sm\:ek-margin--sm { margin: 14px !important; }
  .sm\:ek-margin--md { margin: 24px !important; }
  .sm\:ek-margin--lg { margin: 34px !important; }
  .sm\:ek-margin--xl { margin: 60px !important; }
}

/* ek-flex-* layout utilities (applied to the block's own child <div>) */
body:not(.wp-admin) .ek-flex > div { display: flex !important; }
body:not(.wp-admin) .ek-flex-initial > div { flex: 0 1 auto !important; }
body:not(.wp-admin) .ek-flex-1 > div { flex: 1 1 0% !important; }
body:not(.wp-admin) .ek-flex-auto > div { flex: 1 1 auto !important; }
body:not(.wp-admin) .ek-flex-none > div { flex: none !important; }
body:not(.wp-admin) .ek-flex-no-wrap > div { flex-wrap: nowrap !important; }
body:not(.wp-admin) .ek-flex-wrap > div { flex-wrap: wrap !important; }
body:not(.wp-admin) .ek-flex-wrap-reverse > div { flex-wrap: wrap-reverse !important; }
body:not(.wp-admin) .ek-flex-row > div { flex-direction: row !important; }
body:not(.wp-admin) .ek-flex-row-reverse > div { flex-direction: row-reverse !important; }
body:not(.wp-admin) .ek-flex-col > div { flex-direction: column !important; }
body:not(.wp-admin) .ek-flex-col-reverse > div { flex-direction: column-reverse !important; }
body:not(.wp-admin) .ek-items-stretch > div { align-items: stretch !important; }
body:not(.wp-admin) .ek-items-start > div { align-items: flex-start !important; }
body:not(.wp-admin) .ek-items-center > div { align-items: center !important; }
body:not(.wp-admin) .ek-items-end.wp-block-cover, body:not(.wp-admin) .ek-items-end > div { align-items: flex-end !important; }
body:not(.wp-admin) .ek-items-baseline > div { align-items: baseline !important; }
body:not(.wp-admin) .ek-justify-start > div { justify-content: flex-start !important; }
body:not(.wp-admin) .ek-justify-center > div { justify-content: center !important; }
body:not(.wp-admin) .ek-justify-end > div { justify-content: flex-end !important; }
body:not(.wp-admin) .ek-justify-between > div { justify-content: space-between !important; }
body:not(.wp-admin) .ek-justify-around > div { justify-content: space-around !important; }

@media (max-width: 1024px) {
  body:not(.wp-admin) .lg\:ek-flex > div { display: flex !important; }
  body:not(.wp-admin) .lg\:ek-flex-initial > div { flex: 0 1 auto !important; }
  body:not(.wp-admin) .lg\:ek-flex-1 > div { flex: 1 1 0% !important; }
  body:not(.wp-admin) .lg\:ek-flex-auto > div { flex: 1 1 auto !important; }
  body:not(.wp-admin) .lg\:ek-flex-none > div { flex: none !important; }
  body:not(.wp-admin) .lg\:ek-flex-no-wrap > div { flex-wrap: nowrap !important; }
  body:not(.wp-admin) .lg\:ek-flex-wrap > div { flex-wrap: wrap !important; }
  body:not(.wp-admin) .lg\:ek-flex-wrap-reverse > div { flex-wrap: wrap-reverse !important; }
  body:not(.wp-admin) .lg\:ek-flex-row > div { flex-direction: row !important; }
  body:not(.wp-admin) .lg\:ek-flex-row-reverse > div { flex-direction: row-reverse !important; }
  body:not(.wp-admin) .lg\:ek-flex-col > div { flex-direction: column !important; }
  body:not(.wp-admin) .lg\:ek-flex-col-reverse > div { flex-direction: column-reverse !important; }
  body:not(.wp-admin) .lg\:ek-items-stretch > div { align-items: stretch !important; }
  body:not(.wp-admin) .lg\:ek-items-start > div { align-items: flex-start !important; }
  body:not(.wp-admin) .lg\:ek-items-center > div { align-items: center !important; }
  body:not(.wp-admin) .lg\:ek-items-end > div { align-items: flex-end !important; }
  body:not(.wp-admin) .lg\:ek-items-baseline > div { align-items: baseline !important; }
  body:not(.wp-admin) .lg\:ek-justify-start > div { justify-content: flex-start !important; }
  body:not(.wp-admin) .lg\:ek-justify-center > div { justify-content: center !important; }
  body:not(.wp-admin) .lg\:ek-justify-end > div { justify-content: flex-end !important; }
  body:not(.wp-admin) .lg\:ek-justify-between > div { justify-content: space-between !important; }
  body:not(.wp-admin) .lg\:ek-justify-around > div { justify-content: space-around !important; }
}
@media (max-width: 768px) {
  body:not(.wp-admin) .md\:ek-flex > div { display: flex !important; }
  body:not(.wp-admin) .md\:ek-flex-initial > div { flex: 0 1 auto !important; }
  body:not(.wp-admin) .md\:ek-flex-1 > div { flex: 1 1 0% !important; }
  body:not(.wp-admin) .md\:ek-flex-auto > div { flex: 1 1 auto !important; }
  body:not(.wp-admin) .md\:ek-flex-none > div { flex: none !important; }
  body:not(.wp-admin) .md\:ek-flex-no-wrap > div { flex-wrap: nowrap !important; }
  body:not(.wp-admin) .md\:ek-flex-wrap > div { flex-wrap: wrap !important; }
  body:not(.wp-admin) .md\:ek-flex-wrap-reverse > div { flex-wrap: wrap-reverse !important; }
  body:not(.wp-admin) .md\:ek-flex-row > div { flex-direction: row !important; }
  body:not(.wp-admin) .md\:ek-flex-row-reverse > div { flex-direction: row-reverse !important; }
  body:not(.wp-admin) .md\:ek-flex-col > div { flex-direction: column !important; }
  body:not(.wp-admin) .md\:ek-flex-col-reverse > div { flex-direction: column-reverse !important; }
  body:not(.wp-admin) .md\:ek-items-stretch > div { align-items: stretch !important; }
  body:not(.wp-admin) .md\:ek-items-start > div { align-items: flex-start !important; }
  body:not(.wp-admin) .md\:ek-items-center > div { align-items: center !important; }
  body:not(.wp-admin) .md\:ek-items-end > div { align-items: flex-end !important; }
  body:not(.wp-admin) .md\:ek-items-baseline > div { align-items: baseline !important; }
  body:not(.wp-admin) .md\:ek-justify-start > div { justify-content: flex-start !important; }
  body:not(.wp-admin) .md\:ek-justify-center > div { justify-content: center !important; }
  body:not(.wp-admin) .md\:ek-justify-end > div { justify-content: flex-end !important; }
  body:not(.wp-admin) .md\:ek-justify-between > div { justify-content: space-between !important; }
  body:not(.wp-admin) .md\:ek-justify-around > div { justify-content: space-around !important; }
}
@media (max-width: 640px) {
  body:not(.wp-admin) .sm\:ek-flex > div { display: flex !important; }
  body:not(.wp-admin) .sm\:ek-flex-initial > div { flex: 0 1 auto !important; }
  body:not(.wp-admin) .sm\:ek-flex-1 > div { flex: 1 1 0% !important; }
  body:not(.wp-admin) .sm\:ek-flex-auto > div { flex: 1 1 auto !important; }
  body:not(.wp-admin) .sm\:ek-flex-none > div { flex: none !important; }
  body:not(.wp-admin) .sm\:ek-flex-no-wrap > div { flex-wrap: nowrap !important; }
  body:not(.wp-admin) .sm\:ek-flex-wrap > div { flex-wrap: wrap !important; }
  body:not(.wp-admin) .sm\:ek-flex-wrap-reverse > div { flex-wrap: wrap-reverse !important; }
  body:not(.wp-admin) .sm\:ek-flex-row > div { flex-direction: row !important; }
  body:not(.wp-admin) .sm\:ek-flex-row-reverse > div { flex-direction: row-reverse !important; }
  body:not(.wp-admin) .sm\:ek-flex-col > div { flex-direction: column !important; }
  body:not(.wp-admin) .sm\:ek-flex-col-reverse > div { flex-direction: column-reverse !important; }
  body:not(.wp-admin) .sm\:ek-items-stretch > div { align-items: stretch !important; }
  body:not(.wp-admin) .sm\:ek-items-start > div { align-items: flex-start !important; }
  body:not(.wp-admin) .sm\:ek-items-center > div { align-items: center !important; }
  body:not(.wp-admin) .sm\:ek-items-end > div { align-items: flex-end !important; }
  body:not(.wp-admin) .sm\:ek-items-baseline > div { align-items: baseline !important; }
  body:not(.wp-admin) .sm\:ek-justify-start > div { justify-content: flex-start !important; }
  body:not(.wp-admin) .sm\:ek-justify-center > div { justify-content: center !important; }
  body:not(.wp-admin) .sm\:ek-justify-end > div { justify-content: flex-end !important; }
  body:not(.wp-admin) .sm\:ek-justify-between > div { justify-content: space-between !important; }
  body:not(.wp-admin) .sm\:ek-justify-around > div { justify-content: space-around !important; }
}

.ek-w-full, .ek-w-full > .wp-block-button__link { width: 100%; }
@media (max-width: 768px) {
  .md\:ek-w-full, .md\:ek-w-full > .wp-block-button__link { width: 100%; }
}
@media (max-width: 640px) {
  .sm\:ek-w-full, .sm\:ek-w-full > .wp-block-button__link { width: 100%; }
}

body .entry [class*=wp-block-].h-screen, body div [class*=wp-block-].h-screen { min-height: 100vh; }
body .entry [class*=wp-block-].h-screen.wp-block-image img, body div [class*=wp-block-].h-screen.wp-block-image img {
  object-fit: cover; min-height: 100vh;
}

/* ek-has-typography: per-post custom typography (EditorsKit editor panel) */
body.ek-has-typography.ek-has-content-font-family.ek-has-body-font-family,
body.ek-has-typography.ek-has-content-font-family .entry-content dl,
body.ek-has-typography.ek-has-content-font-family .entry-content dt,
body.ek-has-typography.ek-has-content-font-family .entry-content ol,
body.ek-has-typography.ek-has-content-font-family .entry-content p,
body.ek-has-typography.ek-has-content-font-family .entry-content ul { font-family: var(--ek-font-family, inherit); }
body.ek-has-typography.ek-has-content-font-size .entry-content dl:not([class*=-font-size]),
body.ek-has-typography.ek-has-content-font-size .entry-content dt:not([class*=-font-size]),
body.ek-has-typography.ek-has-content-font-size .entry-content ol:not([class*=-font-size]),
body.ek-has-typography.ek-has-content-font-size .entry-content p:not([class*=-font-size]),
body.ek-has-typography.ek-has-content-font-size .entry-content ul:not([class*=-font-size]) { font-size: var(--ek-font-size, inherit); }
body.ek-has-typography.ek-has-content-line-height .entry-content dl,
body.ek-has-typography.ek-has-content-line-height .entry-content dt,
body.ek-has-typography.ek-has-content-line-height .entry-content ol,
body.ek-has-typography.ek-has-content-line-height .entry-content p,
body.ek-has-typography.ek-has-content-line-height .entry-content ul { line-height: var(--ek-line-height, inherit); }
body.ek-has-typography.ek-has-content-letter-spacing .entry-content dl,
body.ek-has-typography.ek-has-content-letter-spacing .entry-content dt,
body.ek-has-typography.ek-has-content-letter-spacing .entry-content ol,
body.ek-has-typography.ek-has-content-letter-spacing .entry-content p,
body.ek-has-typography.ek-has-content-letter-spacing .entry-content ul { letter-spacing: var(--ek-letter-spacing, inherit); }
body.ek-has-typography.ek-apply-H1-to-title .entry-title { font-family: var(--ek-heading-font-family, inherit); }
body.ek-has-typography.ek-apply-H1-to-title.ek-has-H1-font-size .entry-title { font-size: var(--ek-H1-font-size, inherit); }
body.ek-has-typography.ek-apply-H1-to-title.ek-has-H1-font-weight .entry-title { font-weight: var(--ek-H1-font-weight, 700); }
body.ek-has-typography.ek-apply-H1-to-title.ek-has-H1-lineheight .entry-title { line-height: var(--ek-H1-line-height, inherit); }
body.ek-has-typography.ek-apply-H1-to-title.ek-has-H1-letter-spacing .entry-title { letter-spacing: var(--ek-H1-letter-spacing, inherit); }
body.ek-has-typography.ek-apply-H1-to-title.ek-has-H1-text-transform .entry-title { text-transform: var(--ek-H1-text-transform, inherit); }
body.ek-has-typography .entry-content > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) { font-weight: var(--ek-font-weight, normal); }
body.ek-has-typography .entry-content h1, body.ek-has-typography .entry-content h2, body.ek-has-typography .entry-content h3,
body.ek-has-typography .entry-content h4, body.ek-has-typography .entry-content h5, body.ek-has-typography .entry-content h6 { font-weight: var(--ek-heading-font-weight, 700); }
body.ek-has-typography.ek-has-header-font-family .entry-content h1, body.ek-has-typography.ek-has-header-font-family .entry-content h2,
body.ek-has-typography.ek-has-header-font-family .entry-content h3, body.ek-has-typography.ek-has-header-font-family .entry-content h4,
body.ek-has-typography.ek-has-header-font-family .entry-content h5, body.ek-has-typography.ek-has-header-font-family .entry-content h6 { font-family: var(--ek-heading-font-family, inherit); }
body.ek-has-typography.ek-has-H1-font-size .entry-content h1 { font-size: var(--ek-H1-font-size, inherit); }
body.ek-has-typography.ek-has-H1-font-weight .entry-content h1 { font-weight: var(--ek-H1-font-weight, 700); }
body.ek-has-typography.ek-has-H1-line-height .entry-content h1 { line-height: var(--ek-H1-line-height, inherit); }
body.ek-has-typography.ek-has-H1-letter-spacing .entry-content h1 { letter-spacing: var(--ek-H1-letter-spacing, inherit); }
body.ek-has-typography.ek-has-H1-text-transform .entry-content h1 { text-transform: var(--ek-H1-text-transform, inherit); }
body.ek-has-typography.ek-has-H2-font-size .entry-content h2 { font-size: var(--ek-H2-font-size, inherit); }
body.ek-has-typography.ek-has-H2-font-weight .entry-content h2 { font-weight: var(--ek-H2-font-weight, 700); }
body.ek-has-typography.ek-has-H2-line-height .entry-content h2 { line-height: var(--ek-H2-line-height, inherit); }
body.ek-has-typography.ek-has-H2-letter-spacing .entry-content h2 { letter-spacing: var(--ek-H2-letter-spacing, inherit); }
body.ek-has-typography.ek-has-H2-text-transform .entry-content h2 { text-transform: var(--ek-H2-text-transform, inherit); }
body.ek-has-typography.ek-has-H3-font-size .entry-content h3 { font-size: var(--ek-H3-font-size, inherit); }
body.ek-has-typography.ek-has-H3-font-weight .entry-content h3 { font-weight: var(--ek-H3-font-weight, 700); }
body.ek-has-typography.ek-has-H3-line-height .entry-content h3 { line-height: var(--ek-H3-line-height, inherit); }
body.ek-has-typography.ek-has-H3-letter-spacing .entry-content h3 { letter-spacing: var(--ek-H3-letter-spacing, inherit); }
body.ek-has-typography.ek-has-H3-text-transform .entry-content h3 { text-transform: var(--ek-H3-text-transform, inherit); }
body.ek-has-typography.ek-has-H4-font-size .entry-content h4 { font-size: var(--ek-H4-font-size, inherit); }
body.ek-has-typography.ek-has-H4-font-weight .entry-content h4 { font-weight: var(--ek-H4-font-weight, 700); }
body.ek-has-typography.ek-has-H4-line-height .entry-content h4 { line-height: var(--ek-H4-line-height, inherit); }
body.ek-has-typography.ek-has-H4-letter-spacing .entry-content h4 { letter-spacing: var(--ek-H4-letter-spacing, inherit); }
body.ek-has-typography.ek-has-H4-text-transform .entry-content h4 { text-transform: var(--ek-H4-text-transform, inherit); }
body.ek-has-typography.ek-has-H5-font-size .entry-content h5 { font-size: var(--ek-H5-font-size, inherit); }
body.ek-has-typography.ek-has-H5-font-weight .entry-content h5 { font-weight: var(--ek-H5-font-weight, 700); }
body.ek-has-typography.ek-has-H5-line-height .entry-content h5 { line-height: var(--ek-H5-line-height, inherit); }
body.ek-has-typography.ek-has-H5-letter-spacing .entry-content h5 { letter-spacing: var(--ek-H5-letter-spacing, inherit); }
body.ek-has-typography.ek-has-H5-text-transform .entry-content h5 { text-transform: var(--ek-H5-text-transform, inherit); }
body.ek-has-typography.ek-has-H6-font-size .entry-content h6 { font-size: var(--ek-H6-font-size, inherit); }
body.ek-has-typography.ek-has-H6-font-weight .entry-content h6 { font-weight: var(--ek-H6-font-weight, 700); }
body.ek-has-typography.ek-has-H6-line-height .entry-content h6 { line-height: var(--ek-H6-line-height, inherit); }
body.ek-has-typography.ek-has-H6-letter-spacing .entry-content h6 { letter-spacing: var(--ek-H6-letter-spacing, inherit); }
body.ek-has-typography.ek-has-H6-text-transform .entry-content h6 { text-transform: var(--ek-H6-text-transform, inherit); }
body.ek-has-typography.ek-has-button-font-family .wp-block-button__link { font-family: var(--ek-button-font-family, inherit); }
body.ek-has-typography.ek-has-button-font-weight .wp-block-button__link { font-weight: var(--ek-button-font-weight, inherit); }
body.ek-has-typography.ek-has-button-font-size .wp-block-button__link { font-size: var(--ek-button-font-size, inherit); }
body.ek-has-typography.ek-has-button-line-height .wp-block-button__link { line-height: var(--ek-button-line-height, inherit); }
body.ek-has-typography.ek-has-button-letter-spacing .wp-block-button__link { letter-spacing: var(--ek-button-letter-spacing, inherit); }
body.ek-has-typography.ek-has-button-text-transform .wp-block-button__link { text-transform: var(--ek-button-text-transform, inherit); }
body h1.has-ek-typography, body h2.has-ek-typography, body h3.has-ek-typography,
body h4.has-ek-typography, body h5.has-ek-typography, body h6.has-ek-typography {
  font-family: var(--ek-heading-font-family, inherit); font-weight: var(--ek-heading-font-weight, inherit);
}
body .has-ek-typography, body .has-ek-typography blockquote, body .has-ek-typography dl, body .has-ek-typography dt,
body .has-ek-typography ol, body .has-ek-typography p, body .has-ek-typography ul,
body ol.has-ek-typography, body p.has-ek-typography, body ul.has-ek-typography {
  font-family: var(--ek-font-family, inherit); font-weight: var(--ek-font-weight, inherit);
}
body .has-ek-typography.wp-block-button { font-family: var(--ek-button-font-family, inherit); }
body .has-ek-typography.wp-block-button .wp-block-button__link {
  font-family: var(--ek-button-font-family, inherit); font-weight: var(--ek-button-font-weight, inherit);
}
