﻿/* Structural compatibility for static Divi HTML; no Divi JavaScript is needed. */
#main .original-style { padding-bottom: 0; }
#main .original-style .original-body { --original-rem: 18px; font-family: "Times New Roman", serif; }
/* The static header already occupies normal document flow. */
#main .original-style .original-body > #page-container { padding-top: 0 !important; }
/* The outer post template supplies article geometry; retain only CSS ancestry. */
#main .original-style .original-post { display: contents !important; }
#main .original-style .eb-section-inner { display: contents; }
#main .original-style :where(.eb-row) { display: block; flex-wrap: nowrap; gap: normal; }
#main .original-style :where(.eb-col) { flex: 0 1 auto; min-width: auto; max-width: none; }
#main .original-style .eb-image img { margin: 0; }
/* Retain compatible glyph fonts, but restore authored icon sizing and colours. */
#main .original-style .eb-icon { font-family: "Font Awesome Free" !important; font-weight: 900 !important; }
#main .original-style .eb-icon--divi { font-family: "Elegant Icons" !important; font-weight: 400 !important; }
#main .page-article > .original-style .entry-content { max-width: none; }
#main .original-style :where(.eb-button-wrap) { margin: 0; }
#main .original-style .eb-text > .et_pb_text_inner > p:empty { display: none; }
#main .original-style .eb-divider { width: 100%; border: 0; }
/* The static map embed fills Divi's map canvas instead of using the generic 16:9 embed box. */
#main .original-style .eb-embed.eb-map { height: auto; padding: 0; margin: 0; background: transparent; }
#main .original-style .eb-map > .et_pb_map > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
#main .original-style .eb-toggle { margin: 0; border-radius: 0; }
#main .original-style .eb-toggle-body { padding: 0; }
#main .original-style details.eb-toggle > summary { list-style: none; padding: 0; }
#main .original-style details.eb-toggle[open] > .et_pb_toggle_content { display: block; }
@media (max-width: 980px) {
  #main .original-style .original-body:lang(en) { --original-rem: 15px; }
}
@font-face { font-family: "ETmodules"; src: url("/vendor/elegant-icons/ElegantIcons.woff") format("woff"); font-weight: 400; font-display: block; }
/* Divi's slider script swaps the visible slide; the active class replaces its fade. */
#main .original-style .et_pb_slider.is-ready .et_pb_slide:not(.et-pb-active-slide) { display: none; }
#main .original-style .et_pb_slider.is-ready .et_pb_slide.et-pb-active-slide { display: block; }
#main .original-style .et_pb_slider .et-pb-slider-arrows a, #main .original-style .et-pb-controllers a { text-decoration: none; }
/* Divi's FitVids script normally creates this responsive wrapper at runtime. */
#main .original-style .eb-video-facade { position: static; height: auto; margin: 0; padding: 0; background: transparent; }
#main .original-style .fluid-width-video-wrapper { width: 100%; position: relative; padding: 0; }
#main .original-style .fluid-width-video-wrapper > :is(iframe, a) { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
#main .original-style .fluid-width-video-wrapper img { display: block; width: 100%; height: 100%; object-fit: cover; }
#main .original-style .eb-video-facade .eb-video-play { position: absolute; inset: 0; margin: auto; width: 68px; height: 48px; border-radius: 14px; background: #f00; }
#main .original-style .eb-video-facade .eb-video-play::after { content: ""; position: absolute; top: 14px; left: 26px; border-style: solid; border-width: 10px 0 10px 18px; border-color: transparent transparent transparent #fff; }

.fluid-width-video-wrapper { position: relative; width: 100%; }
.fluid-width-video-wrapper > iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* Divi sections that hold only empty rows/columns take no space on phones (matches live). */
@media (max-width: 980px) { .original-style .eb-section:not([style*="background-image"]):not(:has(.eb-slider, .eb-text, .eb-image, img, iframe, a, button, h1, h2, h3, h4, p, form, .eb-carousel)) { display: none !important; } }
