/* 3.10.21: impostazioni, editing foto e prima verniciatura corretti alla sorgente */
body.page-template-page-gestione-palestra .cyc-page-hero,body.page-template-page-gestione-palestra-php .cyc-page-hero,
body.page-slug-gestione-palestra .cyc-page-hero,body:has(.cyc-suite-operator) .cyc-page-hero,
body:has(.cyc-suite-operator) .page-header,body:has(.cyc-suite-operator) .entry-header{display:none!important}
.cyc-suite-operator .cyc-embedded-admin-shell :is(.form-table,.form-table tbody,.form-table tr){width:100%!important;max-width:100%!important}
.cyc-suite-operator .cyc-area-wp-settings :is(.form-table tr,.cyc-form-row){display:grid!important;grid-template-columns:minmax(210px,30%) minmax(0,1fr)!important;gap:12px 24px!important;align-items:start!important;margin:0!important;padding:12px 0!important}
.cyc-suite-operator .cyc-area-wp-settings .form-table :is(th,td){width:auto!important;min-width:0!important;max-width:none!important;display:block!important;padding:5px 8px!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important}
.cyc-suite-operator .cyc-area-wp-settings :is(label,th,label *,th *, .description){writing-mode:horizontal-tb!important;word-break:normal!important;overflow-wrap:normal!important;white-space:normal!important;min-width:0!important;line-height:1.5!important;letter-spacing:normal!important}
.cyc-suite-operator .cyc-area-wp-settings :is(input[type=text],input[type=email],input[type=tel],input[type=number],select,textarea){width:min(100%,560px)!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
.cyc-suite-operator .cyc-area-wp-settings :is(input[type=checkbox],input[type=radio]){width:auto!important;min-width:16px!important}
.cyc-suite-operator .cyc-area-wp-settings :is(.form-table, .form-table td, .form-table th){table-layout:auto!important}
.cyc-site-photos-workspace{min-width:0;color:#17233b;font:15px/1.5 Arial,Helvetica,sans-serif}
.cyc-site-photos-header{padding:22px 24px;background:linear-gradient(125deg,#0b1831,#262044);color:#fff;border-radius:16px;margin-bottom:22px}
.cyc-site-photos-header span{color:#48c6d7;font-size:12px;font-weight:800;letter-spacing:.09em}
.cyc-site-photos-header h2{color:#fff!important;font-size:29px!important;margin:8px 0!important}
.cyc-site-photos-header p{margin:0;color:#e3e4f2}
.cyc-site-photos-workspace .cyc-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:18px}
.cyc-site-photos-workspace .cyc-photo-card{min-width:0;box-sizing:border-box;background:#fff;border:1px solid #dce3ef;border-radius:15px;padding:16px}
.cyc-site-photos-workspace .cyc-photo-pickers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cyc-site-photos-workspace .cyc-photo-preview img{max-width:100%;height:auto;object-fit:contain}
.cyc-site-photos-workspace :is(input,select,textarea){box-sizing:border-box;max-width:100%}
@media(max-width:760px){.cyc-suite-operator .cyc-area-wp-settings .form-table tr{grid-template-columns:1fr!important;gap:6px!important}.cyc-site-photos-workspace .cyc-photo-pickers{grid-template-columns:1fr}}

/* v3.11.3: no 3-column miniature cards on the photo editor. */
.cyc-site-photos-workspace .cyc-photo-admin .cyc-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.cyc-site-photos-workspace .cyc-photo-preview img{object-fit:contain!important}
@media(max-width:1050px){.cyc-site-photos-workspace .cyc-photo-admin .cyc-photo-grid{grid-template-columns:1fr}}
