.mog-poster-public,.mog-poster-manager{--mog-post-wine:#71343b;--mog-post-ink:#2d2322;--mog-post-gold:#bd975e;--mog-post-cream:#f9f4ed;font-family:inherit;color:var(--mog-post-ink);box-sizing:border-box}
.mog-poster-public *,.mog-poster-manager *{box-sizing:border-box}
.mog-poster-public{position:relative;padding:68px 24px 48px;background:linear-gradient(170deg,#fffdf9 0%,#f6f0e8 100%);overflow:hidden}
.mog-poster-section-head{max-width:1190px;margin:0 auto 28px;text-align:center}
.mog-poster-overline{display:block;color:var(--mog-post-gold);font-size:11px;font-weight:750;letter-spacing:.23em;margin-bottom:12px}
.mog-poster-section-head h2{font-family:Georgia,'Times New Roman',serif;font-weight:500;font-size:clamp(34px,4.5vw,56px);color:var(--mog-post-wine);margin:0 0 9px;line-height:1.1}
.mog-poster-section-head p{margin:0;color:#736562;font-size:16px}
.mog-poster-slider-shell{max-width:1300px;margin:auto;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px}
.mog-poster-arrow{width:42px;height:54px;background:#fff8;border:1px solid #d5bb98;border-radius:14px;color:var(--mog-post-wine);font-size:28px;cursor:pointer;box-shadow:0 4px 15px #38231b13}
.mog-poster-arrow:hover{background:#ead7bd}
.mog-poster-slide[hidden],.mog-poster-lightbox[hidden]{display:none!important}
.mog-poster-slide{max-width:1080px;margin:0 auto;animation:mogPosterFade .3s ease-out}
@keyframes mogPosterFade{from{opacity:.55;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.mog-poster-slide-heading{display:flex;gap:20px;align-items:center;justify-content:space-between;margin:0 0 16px;padding:0 4px}
.mog-poster-slide-heading>div{display:flex;flex-wrap:wrap;gap:12px;align-items:baseline}
.mog-poster-slide-heading strong{font-family:Georgia,serif;color:var(--mog-post-wine);font-size:25px;font-weight:500}
.mog-poster-slide-heading time{color:#78645b;font-size:14px}
.mog-poster-counter{font-variant-numeric:tabular-nums;color:#987961;font-size:13px;white-space:nowrap}
.mog-poster-book{display:flex;align-items:stretch;justify-content:center;gap:3px;background:#eadfd2;padding:12px;border-radius:9px;box-shadow:0 18px 44px #543a351f}
.mog-poster-book-page{position:relative;display:flex;flex:1 1 0;min-width:0;max-width:500px;min-height:0;border:0;background:white;align-items:center;justify-content:center;padding:0;cursor:zoom-in;overflow:hidden;box-shadow:0 2px 8px #0002}
.mog-poster-book-page img{display:block;max-width:100%;height:min(65vw,650px);width:100%;object-fit:contain;background:white}
.mog-poster-book-page>span{position:absolute;right:9px;bottom:8px;color:white;background:#26171bbb;border:1px solid #ffffff44;border-radius:22px;padding:6px 10px;font:12px/1.2 sans-serif}
.mog-poster-book-page:hover img{filter:brightness(.98)}
.mog-poster-dots{display:flex;justify-content:center;gap:9px;margin-top:21px}
.mog-poster-dot{width:9px;height:9px;border:0;border-radius:50%;background:#b5a79b;cursor:pointer;padding:0}
.mog-poster-dot.active{background:var(--mog-post-wine);width:29px;border-radius:8px}
.mog-poster-flip{display:none}
.mog-poster-lightbox{position:fixed!important;inset:0;z-index:2147483600;background:#100b0cf5;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 20px 12px}
.mog-poster-lightbox>img{object-fit:contain;max-width:100%;max-height:calc(100vh - 115px);width:auto;height:auto;box-shadow:0 15px 60px #0008}
.mog-poster-close{position:absolute;top:10px;right:20px;z-index:2;background:#ffffff12;color:#fff;border:1px solid #fff5;font-size:32px;width:48px;height:44px;border-radius:10px;cursor:pointer}
.mog-poster-lightbox-controls{display:flex;gap:12px;margin:12px 0}
.mog-poster-lightbox-controls button{background:#f7eee8;color:#5c242b;border:0;border-radius:20px;padding:9px 16px;cursor:pointer}
body.mog-poster-lightbox-open{overflow:hidden}
.mog-poster-manager{max-width:1220px;margin:30px auto;padding:25px;background:#faf7f3;border:1px solid #e7dbce;border-radius:16px;box-shadow:0 12px 30px #35241c0b}
.mog-poster-manager-head{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin:0 0 22px}
.mog-poster-manager h2{font-family:Georgia,serif;font-size:32px;line-height:1.2;color:var(--mog-post-wine);margin:0 0 5px}
.mog-poster-manager-head p{font-size:15px;margin:0;color:#74655e}
.mog-poster-btn{background:var(--mog-post-wine)!important;color:#fff!important;border:1px solid var(--mog-post-wine)!important;border-radius:8px!important;padding:12px 17px!important;font:600 14px/1.2 inherit!important;cursor:pointer!important;white-space:nowrap}
.mog-poster-btn:hover{background:#843b45!important}
.mog-poster-role{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:14px;background:#eee7dd;border-radius:10px;margin-bottom:15px}
.mog-poster-role label{font-size:14px;font-weight:600;flex:1 1 240px}
.mog-poster-role select{min-width:180px;max-width:100%;padding:8px}
.mog-poster-feedback{min-height:23px;margin:8px 0 17px;color:#276043;font-weight:600;font-size:14px}
.mog-poster-feedback.is-error{color:#a12727}
.mog-poster-manager.is-working{opacity:.68;pointer-events:none}
.mog-poster-editor{background:#fff;border:1px solid #e3d6c8;border-radius:13px;padding:19px;margin:0 0 17px;box-shadow:0 3px 17px #00000009}
.mog-poster-editor-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}
.mog-poster-editor-id{font-size:11px;color:#99846d;font-weight:800;letter-spacing:.12em}
.mog-poster-status{background:#e4f3e9;border-radius:20px;font-size:12px;padding:5px 11px;color:#235c39}
.mog-poster-status.is-hidden{background:#f2e7e6;color:#873d3c}
.mog-poster-form-grid{display:grid;grid-template-columns:2fr 1fr;gap:15px}
.mog-poster-form-grid label{display:block;font-size:13px;font-weight:650;color:#5f5149}
.mog-poster-form-grid input{display:block;width:100%;min-height:40px;border:1px solid #dbccc0;border-radius:7px;padding:8px;margin:6px 0 0;color:#322625;background:#fff}
.mog-poster-editor-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}
.mog-poster-upload{min-width:0;background:#faf6f0;border:1px dashed #d3baa0;padding:12px;border-radius:10px}
.mog-poster-upload>strong{font-size:11px;letter-spacing:.08em;color:#6d3a3f}
.mog-poster-preview{display:flex;justify-content:center;align-items:center;background:#f0e8df;height:200px;margin:10px 0;border-radius:5px;overflow:hidden}
.mog-poster-preview img{max-height:100%;max-width:100%;object-fit:contain}
.mog-poster-preview>span{color:#977e6e;font-size:13px}
.mog-poster-file-label{display:block;cursor:pointer;background:white;border:1px solid #d6bd9f;border-radius:7px;padding:8px;color:#6b3238;font-weight:600;font-size:13px}
.mog-poster-file-label input{display:block;margin-top:7px;width:100%;max-width:100%;font-size:12px;color:#68534b}
.mog-poster-link{background:none;border:0;padding:8px 0 0;color:#8d3642;font-size:12px;cursor:pointer;text-decoration:underline}
.mog-poster-editor-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-top:16px}
.mog-poster-switch{display:inline-flex;align-items:center;gap:7px;font-weight:600;font-size:14px}
.mog-poster-switch input{width:18px;height:18px;accent-color:#78303a}
.mog-poster-tools{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
.mog-poster-quiet,.mog-poster-danger{padding:9px 13px;cursor:pointer;border-radius:7px;background:#fff;border:1px solid #d4bdae;color:#603039;font-size:14px}
.mog-poster-danger{color:#9a233a;border-color:#deafb5}
.mog-poster-private,.mog-poster-empty{padding:28px;background:#fbf3eb;border:1px solid #dfc8b0;border-radius:9px;text-align:center}
@media(max-width:760px){
 .mog-poster-public{padding:42px 10px 35px}
 .mog-poster-section-head h2{font-size:34px}
 .mog-poster-section-head p{font-size:14px}
 .mog-poster-slider-shell{grid-template-columns:28px minmax(0,1fr) 28px;gap:2px}
 .mog-poster-arrow{width:28px;height:46px;border-radius:7px;font-size:19px}
 .mog-poster-book{padding:6px}
 .mog-poster-book-page{max-width:none}
 .mog-poster-book-page img{height:auto;max-height:65vh;min-height:0;aspect-ratio:4/5;object-fit:contain}
 .mog-poster-book-back{display:none}
 .mog-poster-slide.is-back .mog-poster-book-front{display:none}
 .mog-poster-slide.is-back .mog-poster-book-back{display:flex}
 .mog-poster-flip{display:block;width:100%;margin-top:12px;padding:9px;color:#6b2932;background:transparent;border:1px solid #bd9b75;border-radius:20px;cursor:pointer}
 .mog-poster-slide-heading strong{font-size:20px}
 .mog-poster-manager{padding:15px;margin:15px 4px}
 .mog-poster-editor{padding:12px}
 .mog-poster-form-grid{grid-template-columns:1fr}
 .mog-poster-editor-images{grid-template-columns:1fr}
 .mog-poster-preview{height:230px}
 .mog-poster-manager-head h2{font-size:26px}
 .mog-poster-lightbox-controls button{font-size:12px}
}
@media(prefers-reduced-motion:reduce){.mog-poster-slide{animation:none}}

/* 2.6 — isolamento dai colori magenta/fucsia di Elementor e del tema */
.mog-poster-public .mog-poster-arrow,.mog-poster-public .mog-poster-flip,.mog-poster-public .mog-poster-dot,.mog-poster-public .mog-poster-book-page{accent-color:var(--mog-post-wine)!important;outline-color:var(--mog-post-gold)!important;box-shadow:none}
.mog-poster-public .mog-poster-arrow{border:1px solid var(--mog-post-gold)!important;color:var(--mog-post-wine)!important;background:#fffbf6!important}
.mog-poster-public .mog-poster-arrow:hover,.mog-poster-public .mog-poster-arrow:focus-visible{background:#efe1cc!important;color:var(--mog-post-wine)!important;border-color:var(--mog-post-wine)!important}
.mog-poster-public .mog-poster-book-page{border:2px solid transparent!important;border-radius:3px!important;background:#fff!important}
.mog-poster-public .mog-poster-book-page:hover,.mog-poster-public .mog-poster-book-page:focus-visible{border-color:var(--mog-post-gold)!important;box-shadow:0 0 0 2px #f2e7d6!important}
.mog-poster-public .mog-poster-dot.active{background:var(--mog-post-wine)!important}
.mog-poster-public .mog-poster-flip{border:1px solid var(--mog-post-gold)!important;color:var(--mog-post-wine)!important;background:#fffbf6!important}
.mog-poster-public button:focus-visible{outline:2px solid var(--mog-post-gold)!important;outline-offset:3px!important}


/* MOG Locandine: filtro cronologico e date evento */
.mog-poster-manager .mog-poster-sort{border:1px solid rgba(177,135,113,.35);background:rgba(247,241,235,.85);border-radius:12px;padding:13px 16px;margin:15px 0}
.mog-poster-manager .mog-poster-sort>label{display:block;font-size:14px;font-weight:750;color:var(--mog-post-wine,#71343b);margin-bottom:8px}
.mog-poster-manager .mog-poster-sort-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.mog-poster-manager .mog-poster-sort-actions select{flex:1;min-width:220px;max-width:100%;border:1px solid #cdb9a9;border-radius:8px;min-height:41px;padding:7px 9px}
.mog-poster-manager .mog-poster-sort small,.mog-poster-manager .mog-poster-form-grid label>small{display:block;color:#645651;font-size:12px;line-height:1.4;margin-top:6px}
@media(max-width:600px){.mog-poster-manager .mog-poster-sort-actions select,.mog-poster-manager .mog-poster-sort-actions button{width:100%;flex:1 1 100%}}


/* Locandine 2026-10-27: sezioni cronologiche e archivio elegante */
.mog-poster-public .mog-poster-group{max-width:1380px;margin:0 auto;position:relative}
.mog-poster-public .mog-poster-group-upcoming{margin-bottom:28px}
.mog-poster-public .mog-poster-group-archive{margin-top:23px}
.mog-poster-public .mog-poster-archive-intro{
  display:flex;align-items:center;justify-content:center;gap:clamp(10px,3.4vw,34px);
  margin:clamp(45px,6vw,78px) auto 26px;padding:0 12px;
  max-width:1120px;text-align:center;color:var(--mog-post-wine,#71343b)
}
.mog-poster-public .mog-poster-archive-intro>div{max-width:620px;min-width:0;flex:0 1 auto}
.mog-poster-public .mog-poster-archive-line{height:1px;flex:1 1 70px;max-width:250px;min-width:30px;background:linear-gradient(90deg,transparent,var(--mog-post-gold,#bd975e) 75%,var(--mog-post-wine,#71343b))}
.mog-poster-public .mog-poster-archive-line:last-child{transform:rotate(180deg)}
.mog-poster-public .mog-poster-archive-overline{
  display:block;color:#8f6a51;font:750 10px/1.6 system-ui,sans-serif;letter-spacing:.22em;margin-bottom:7px
}
.mog-poster-public .mog-poster-archive-intro h3{
  font-family:Georgia,"Times New Roman",serif!important;font-weight:500!important;
  font-size:clamp(25px,3.2vw,39px)!important;letter-spacing:-.02em;line-height:1.16;
  margin:0 0 6px!important;color:var(--mog-post-wine,#71343b)!important
}
.mog-poster-public .mog-poster-archive-intro p{margin:0;color:#766760;font-size:14px;line-height:1.55}
.mog-poster-public .mog-poster-undated-intro{text-align:center;margin:44px auto 20px;color:var(--mog-post-wine,#71343b)}
.mog-poster-public .mog-poster-undated-intro h3{font:500 clamp(23px,3vw,34px)/1.2 Georgia,serif;margin:0 0 8px;color:inherit}
.mog-poster-public .mog-poster-undated-intro p{color:#766760;font-size:13px;margin:0}
@media(max-width:760px){
  .mog-poster-public .mog-poster-archive-intro{margin:36px auto 19px;gap:10px}
  .mog-poster-public .mog-poster-archive-line{min-width:12px}
  .mog-poster-public .mog-poster-archive-overline{font-size:9px;letter-spacing:.12em}
  .mog-poster-public .mog-poster-archive-intro p{font-size:12px}
  .mog-poster-public .mog-poster-group-upcoming{margin-bottom:16px}
}


/* 3.1.2 — Locandine allineate alla scala tipografica Armònia */
.mog-poster-overline{
  font-size:10.5px!important;
  letter-spacing:.22em!important;
}
.mog-poster-section-head h2{
  font-size:clamp(32px,3.2vw,44px)!important;
  line-height:1.08!important;
  letter-spacing:-.022em!important;
}
.mog-poster-section-head p{
  font-size:15px!important;
  line-height:1.65!important;
}
.mog-poster-slide-heading strong{
  font-size:clamp(20px,1.7vw,24px)!important;
  line-height:1.18!important;
}
.mog-poster-slide-heading time,
.mog-poster-counter{
  font-size:12.5px!important;
}
.mog-poster-public .mog-poster-archive-intro h3,
.mog-poster-public .mog-poster-undated-intro h3{
  font-size:clamp(22px,2vw,28px)!important;
  line-height:1.16!important;
}
.mog-poster-public .mog-poster-archive-intro p,
.mog-poster-public .mog-poster-undated-intro p{
  font-size:14px!important;
  line-height:1.6!important;
}
