/* FILOMENA v1.3.0 – original shortcode provides the photo, not a URL placeholder */
.ah-module-shell.ah-module-id-custom-filomena-de-pasquale.ah-theme-light {
  --fdp-bg:#f9f5ed; --fdp-fg:#291f1d; --fdp-text:#5a514d;
  --fdp-line:#bd975b; --fdp-frame:#eee0c7; --fdp-paper:#fffcf7;
  --fdp-img-bg:#e4d1b7; --fdp-quote-bg:rgba(255,252,247,.95);
}
.ah-module-shell.ah-module-id-custom-filomena-de-pasquale.ah-theme-dark {
  --fdp-bg:#21191c; --fdp-fg:#f4e3cb; --fdp-text:#e8dcd1;
  --fdp-line:#d2ad71; --fdp-frame:#4a343a; --fdp-paper:#34262b;
  --fdp-img-bg:#362626; --fdp-quote-bg:rgba(41,27,31,.96);
}
.ah-module-id-custom-filomena-de-pasquale .fdp-v130 {
  background:var(--fdp-bg);color:var(--fdp-fg);position:relative;overflow:clip;
}
.ah-module-id-custom-filomena-de-pasquale .fdp-v130 #custom-filomena-de-pasquale,
.ah-module-id-custom-filomena-de-pasquale .fdp-v130 #custom-filomena-de-pasquale.ah-theme-dark,
.ah-module-id-custom-filomena-de-pasquale .fdp-v130 #custom-filomena-de-pasquale.ah-theme-light {
  background:transparent!important;color:var(--fdp-fg)!important;border:0!important;
  box-shadow:none!important;margin:0!important;max-width:none!important;
}
/* While scripts load: the original section remains usable, with better balance. */
.ah-module-id-custom-filomena-de-pasquale .fdp-v130 .ah-panel-split {
  grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)!important;
  gap:clamp(25px,4vw,60px)!important;
  align-items:start!important;overflow:visible!important;
}
.ah-module-id-custom-filomena-de-pasquale .fdp-v130 .ah-panel-split .ah-custom-media img {
  display:block!important;max-height:540px!important;min-height:0!important;height:auto!important;
  width:100%!important;object-fit:contain!important;
}
.ah-module-id-custom-filomena-de-pasquale .fdp-v130 .fdp-settings-source{display:none}
.ah-module-id-custom-filomena-de-pasquale .fdp-stage {
  width:min(100%,1350px);margin:0 auto;padding:clamp(42px,5vw,74px) clamp(22px,5vw,70px);
  display:grid;grid-template-columns:minmax(0,1.13fr) minmax(0,.87fr);
  align-items:center;gap:clamp(30px,5vw,76px);
}
.ah-module-id-custom-filomena-de-pasquale .fdp-copy-panel{min-width:0;}
.ah-module-id-custom-filomena-de-pasquale .fdp-kicker{
  display:block;margin:0 0 19px;color:var(--fdp-line)!important;
  font:700 11px/1.3 system-ui,-apple-system,sans-serif;letter-spacing:.29em;text-transform:uppercase;
}
.ah-module-id-custom-filomena-de-pasquale .fdp-title {
  font:400 clamp(40px,4.7vw,69px)/1.09 Georgia,'Times New Roman',serif!important;
  letter-spacing:-.028em;margin:0!important;color:var(--fdp-fg)!important;text-wrap:balance;
}
.ah-module-id-custom-filomena-de-pasquale .fdp-rule{
  display:block;width:95px;height:2px;background:linear-gradient(90deg,var(--fdp-line),transparent);
  margin:clamp(19px,2.4vw,29px) 0!important;
}
.ah-module-id-custom-filomena-de-pasquale .fdp-intro{max-width:56ch;}
.ah-module-id-custom-filomena-de-pasquale .fdp-intro-paragraph {
  margin:0 0 16px!important;color:var(--fdp-text)!important;
  font:400 clamp(16px,1.35vw,19px)/1.72 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  letter-spacing:0;text-wrap:pretty;
}
.ah-module-id-custom-filomena-de-pasquale .fdp-bio-details{margin-top:clamp(12px,2vw,24px);max-width:63ch;}
.ah-module-id-custom-filomena-de-pasquale .fdp-bio-toggle {
  display:inline-flex;align-items:center;gap:12px;cursor:pointer;
  border:1px solid var(--fdp-line);border-radius:4px;
  padding:14px 19px;color:var(--fdp-fg)!important;background:transparent;
  font:700 11px/1.4 system-ui,-apple-system,sans-serif;letter-spacing:.13em;text-transform:uppercase;
  list-style:none;transition:background .2s ease;
}
.ah-module-id-custom-filomena-de-pasquale .fdp-bio-toggle:hover{background:var(--fdp-paper)}
.ah-module-id-custom-filomena-de-pasquale .fdp-bio-toggle::-webkit-details-marker{display:none}
.ah-module-id-custom-filomena-de-pasquale .fdp-bio-toggle:after{content:'＋';font-size:17px;line-height:0.7;color:var(--fdp-line)}
.ah-module-id-custom-filomena-de-pasquale details[open]>.fdp-bio-toggle:after{content:'−'}
.ah-module-id-custom-filomena-de-pasquale .fdp-bio-content{
  max-width:100%;padding:20px 0 12px;color:var(--fdp-text)!important;
  font:400 15px/1.8 system-ui,-apple-system,'Segoe UI',sans-serif;
}
.ah-module-id-custom-filomena-de-pasquale .fdp-bio-content .ah-copy{max-width:100%;color:inherit!important}
.ah-module-id-custom-filomena-de-pasquale .fdp-bio-content .ah-copy p{
  margin:0 0 15px!important;white-space:pre-line;color:inherit!important;
  font:inherit!important;overflow-wrap:break-word;
}
.ah-module-id-custom-filomena-de-pasquale .fdp-existing-button{display:inline-block;margin-top:20px;color:var(--fdp-line)}
.ah-module-id-custom-filomena-de-pasquale .fdp-visual-panel{
  position:relative;min-width:0;display:flex;align-items:center;justify-content:center;
}
.ah-module-id-custom-filomena-de-pasquale .fdp-picture-frame{
  position:relative;width:100%;max-width:460px;padding:12px;
  border:1px solid var(--fdp-line);background:var(--fdp-frame);
  box-shadow:0 22px 58px rgba(33,18,14,.12);
}
.ah-module-id-custom-filomena-de-pasquale .fdp-photo{
  display:flex;align-items:center;justify-content:center;overflow:hidden;
  width:100%;background:var(--fdp-img-bg);transform:none!important;box-shadow:none!important;
}
.ah-module-id-custom-filomena-de-pasquale .fdp-photo img {
  display:block!important;width:100%!important;max-width:100%!important;
  height:auto!important;max-height:530px!important;min-height:0!important;
  object-fit:contain!important;object-position:center center!important;
  aspect-ratio:auto!important;transform:none!important;filter:none!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
}
.ah-module-id-custom-filomena-de-pasquale .fdp-quote{
  position:absolute;right:-18px;bottom:22px;width:min(55%,234px);
  background:var(--fdp-quote-bg);border:1px solid var(--fdp-line);
  box-shadow:0 15px 36px rgba(0,0,0,.16);padding:19px 22px;
}
.ah-module-id-custom-filomena-de-pasquale .fdp-quote-sign{
  display:block;font:400 32px/1 Georgia,serif;color:var(--fdp-line);
}
.ah-module-id-custom-filomena-de-pasquale .fdp-quote-copy{
  margin:3px 0 0!important;color:var(--fdp-fg)!important;
  font:italic 400 clamp(14px,1.3vw,17px)/1.55 Georgia,'Times New Roman',serif;
  white-space:pre-line;
}
@media(max-width:920px){
  .ah-module-id-custom-filomena-de-pasquale .fdp-stage {
    grid-template-columns:minmax(0,1fr);gap:32px;max-width:730px;
  }
  .ah-module-id-custom-filomena-de-pasquale .fdp-title{font-size:clamp(37px,6vw,62px)!important}
  .ah-module-id-custom-filomena-de-pasquale .fdp-picture-frame{max-width:500px}
  .ah-module-id-custom-filomena-de-pasquale .fdp-quote{right:0}
}
@media(max-width:600px){
  .ah-module-id-custom-filomena-de-pasquale .fdp-stage{padding:43px 18px 54px;gap:25px}
  .ah-module-id-custom-filomena-de-pasquale .fdp-title{font-size:clamp(36px,9.2vw,49px)!important}
  .ah-module-id-custom-filomena-de-pasquale .fdp-intro-paragraph{font-size:16px;line-height:1.65}
  .ah-module-id-custom-filomena-de-pasquale .fdp-picture-frame{width:100%;padding:8px}
  .ah-module-id-custom-filomena-de-pasquale .fdp-quote{
    position:relative;width:auto;max-width:none;right:auto;bottom:auto;
    margin-top:-1px;box-shadow:none;
  }
  .ah-module-id-custom-filomena-de-pasquale .fdp-visual-panel{display:block}
}

/* v1.3.1 – finestra modale biografia, chiara/scura in eredità dal blocco */
.fdp-modal-body-open{overflow:hidden!important}
.ah-module-id-custom-filomena-de-pasquale .fdp-bio-toggle{cursor:pointer}
.ah-module-id-custom-filomena-de-pasquale .fdp-modal{display:none;position:fixed;inset:0;z-index:2147483000;align-items:center;justify-content:center;padding:22px}
.ah-module-id-custom-filomena-de-pasquale .fdp-modal.fdp-modal-open{display:flex}
.ah-module-id-custom-filomena-de-pasquale .fdp-modal-backdrop{position:absolute;inset:0;background:rgba(8,7,9,.78);backdrop-filter:blur(5px)}
.ah-module-id-custom-filomena-de-pasquale .fdp-modal-dialog{position:relative;z-index:1;width:min(760px,100%);max-height:min(84vh,900px);overflow-y:auto;overscroll-behavior:contain;background:var(--fdp-paper);color:var(--fdp-fg);border:1px solid var(--fdp-line);border-radius:12px;padding:clamp(24px,4vw,48px);box-shadow:0 24px 85px rgba(0,0,0,.3)}
.ah-module-id-custom-filomena-de-pasquale .fdp-modal-title{font:400 clamp(28px,4vw,43px)/1.16 Georgia,serif;color:var(--fdp-fg);margin:0 42px 20px 0}
.ah-module-id-custom-filomena-de-pasquale .fdp-modal-close{position:absolute;right:18px;top:14px;background:transparent;border:1px solid var(--fdp-line);border-radius:6px;color:var(--fdp-fg);width:38px;height:38px;font-size:28px;cursor:pointer;line-height:1}
.ah-module-id-custom-filomena-de-pasquale .fdp-modal .fdp-bio-content{padding:0;color:var(--fdp-text)!important;font-size:16px;line-height:1.8}
@media(max-width:600px){.ah-module-id-custom-filomena-de-pasquale .fdp-modal{padding:12px}.ah-module-id-custom-filomena-de-pasquale .fdp-modal-dialog{max-height:90vh;padding:28px 20px}}

/* v1.3.2: modale fuori dal blocco, niente ritagli e contenuto sempre leggibile */
body > .fdp-modal{display:none;position:fixed;inset:0;z-index:2147483000;align-items:center;justify-content:center;padding:20px}
body > .fdp-modal.fdp-modal-open{display:flex}
body > .fdp-modal .fdp-modal-backdrop{position:absolute;inset:0;background:rgba(10,7,10,.8);backdrop-filter:blur(5px)}
body > .fdp-modal .fdp-modal-dialog{position:relative;z-index:1;box-sizing:border-box;width:min(780px,100%);max-height:85vh;overflow-y:auto;background:var(--fdp-paper,#fffaf2)!important;color:var(--fdp-fg,#231b1b)!important;border:1px solid var(--fdp-line,#b99157);border-radius:12px;padding:clamp(24px,4vw,46px);box-shadow:0 25px 80px #0006}
body > .fdp-modal .fdp-modal-title{color:var(--fdp-fg,#231b1b)!important;font:400 clamp(27px,4vw,42px)/1.2 Georgia,serif;margin:0 44px 24px 0}
body > .fdp-modal .fdp-modal-close{position:absolute;top:14px;right:16px;width:38px;height:38px;background:transparent;border:1px solid var(--fdp-line,#b99157);color:var(--fdp-fg,#231b1b);font-size:27px;cursor:pointer}
body > .fdp-modal .fdp-bio-content,body > .fdp-modal .fdp-bio-content .ah-copy{display:block!important;visibility:visible!important;opacity:1!important;max-width:none!important;height:auto!important;overflow:visible!important;color:var(--fdp-text,#544c47)!important;font:400 16px/1.8 system-ui,sans-serif!important}
body > .fdp-modal .fdp-bio-content p{display:block!important;color:inherit!important;margin:0 0 18px!important;white-space:pre-line!important}
@media(max-width:600px){body > .fdp-modal{padding:12px}body > .fdp-modal .fdp-modal-dialog{max-height:92vh;padding:26px 20px}}

/* v1.3.3: neutralizza animazioni ed effetti globali della biografia nella modal */
body > .fdp-modal .fdp-bio-content,
body > .fdp-modal .fdp-bio-content *,
body > .fdp-modal .fdp-modal-paragraph {
  filter:none!important;
  -webkit-filter:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  transform:none!important;
  -webkit-transform:none!important;
  animation:none!important;
  transition:none!important;
  opacity:1!important;
  visibility:visible!important;
  text-shadow:none!important;
  mix-blend-mode:normal!important;
  -webkit-text-fill-color:var(--fdp-text,#544c47)!important;
}
body > .fdp-modal .fdp-modal-paragraph{
  display:block!important;
  margin:0 0 1.2em!important;
  padding:0!important;
  font:400 16px/1.85 system-ui,-apple-system,'Segoe UI',sans-serif!important;
  color:var(--fdp-text,#544c47)!important;
  white-space:pre-line!important;
  letter-spacing:normal!important;
}


/* v1.3.4 — tipografia allineata al resto del sito */
.ah-module-id-custom-filomena-de-pasquale .fdp-title{
  font-size:clamp(32px,3.2vw,44px)!important;
  line-height:1.08!important;
  letter-spacing:-.022em!important;
}
.ah-module-id-custom-filomena-de-pasquale .fdp-kicker{
  font-size:10.5px!important;
  letter-spacing:.22em!important;
  margin-bottom:11px!important;
}
.ah-module-id-custom-filomena-de-pasquale .fdp-intro-paragraph{
  font-size:15px!important;
  line-height:1.68!important;
}
.ah-module-id-custom-filomena-de-pasquale .fdp-stage{
  padding-top:48px!important;
  padding-bottom:56px!important;
}
@media(max-width:600px){
  .ah-module-id-custom-filomena-de-pasquale .fdp-title{
    font-size:clamp(29px,8vw,36px)!important;
  }
  .ah-module-id-custom-filomena-de-pasquale .fdp-intro-paragraph{
    font-size:14px!important;
  }
}
