/* All rules are scoped to plugin markup; existing Elementor styles are untouched. */
#derma-funding-banner {
    display: block;
    position: relative;
    margin: 0;
    padding: 6px 16px;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border-bottom: 1px solid #eee;
    line-height: 0;
}
#derma-funding-banner a {
    display: block;
    width: min(100%, 760px);
    margin: 0 auto;
    min-height: 44px;
}
#derma-funding-banner img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    aspect-ratio: 1160 / 140;
}
#derma-funding-banner a:focus-visible,
.derma-funding-page a:focus-visible { outline: 3px solid #005ca9; outline-offset: 3px; }
.derma-funding-page { max-width: 1000px; margin: 0 auto; padding: 56px 24px 72px; }
.derma-funding-page h1 { font-size: clamp(26px, 3vw, 42px); line-height: 1.2; margin: 0 0 20px; overflow-wrap: anywhere; }
.derma-funding-poster p { margin: 0 0 24px; }
.derma-funding-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 30px; }
.derma-funding-page .derma-funding-button { display: inline-block; background: #2b2c24; color: #fff; border-radius: 4px; padding: 13px 20px; font-size: 16px; line-height: 1.5; text-decoration: none; }
.derma-funding-page .derma-funding-button:hover { background: #49483a; }
.derma-funding-page .derma-funding-download { color: #34372d; text-decoration: underline; padding: 10px 0; }
.derma-funding-preview { display: block; max-width: 850px; margin: 0 auto; }
.derma-funding-preview img { display: block; width: 100%; height: auto; background: #fff; box-shadow: 0 2px 16px #0000000d; border: 1px solid #e7e4dd; box-sizing: border-box; }
@media (max-width: 767px) {
    #derma-funding-banner { padding: 5px 8px; }
    #derma-funding-banner a { display: flex; align-items: center; }
    .derma-funding-page { padding: 32px 20px 48px; }
}
@media print {
    #derma-funding-banner, .derma-funding-actions { display: none; }
    .derma-funding-preview img { border: 0; box-shadow: none; }
}
/* The clinic's absolute hero header needs normal flow on these new, non-hero pages only. */
body.derma-funding-poster-page .ekit-template-content-header > .elementor > .e-con {
    position: relative;
}
