.photo-item-description{
  padding: 10px 6px 4px !important;
  text-align: center !important;
}

.photo-item-description .photo-item-title,
.photo-item-description h4.photo-item-title{
  display: none !important;
}

.photo-item-description .photo-item-contributor,
.photo-item-description p.photo-item-contributor{
  margin: 0 !important;
  font-size: 0 !important; /* nasconde il testo "by" */
  line-height: 1.4 !important;
}

.photo-item-description .photo-item-contributor a,
.photo-item-description p.photo-item-contributor a{
  display: inline-block !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
  letter-spacing: 0.03em !important;
  font-style: italic !important;
  font-weight: 500 !important;
  color: #2f2f2f !important;
  text-decoration: none !important;
  transition: transform .22s ease, color .22s ease, opacity .22s ease !important;
}

.photo-item-description .photo-item-contributor a:hover,
.photo-item-description p.photo-item-contributor a:hover{
  transform: scale(1.08) !important;
  color: #000 !important;
  opacity: 1 !important;
}



















/* ===== SOLO MINIATURE E ANTEPRIME, NON LE FOTO GRANDI ===== */

.comments img[src*="storage.ning.com/topology/rest/1.0/file/get/"],
.comment img[src*="storage.ning.com/topology/rest/1.0/file/get/"],
.comments-main img[src*="storage.ning.com/topology/rest/1.0/file/get/"],
.comments-ningSemiThreaded img[src*="storage.ning.com/topology/rest/1.0/file/get/"],
a img[src*="profile=RESIZE_180x180"],
a img[src*="crop=1%3A1"],
span img[src*="profile=RESIZE_180x180"],
span img[src*="crop=1%3A1"]{
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  clip-path: none !important;
  object-fit: cover !important;
  display: block !important;
}

.comments a:has(img),
.comments span:has(img),
.comment a:has(img),
.comment span:has(img),
.comments-main a:has(img),
.comments-main span:has(img),
.comments-ningSemiThreaded a:has(img),
.comments-ningSemiThreaded span:has(img){
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  overflow: hidden !important;
  clip-path: none !important;
}








#xg_body .xg_module_body img{
  width:auto !important;
  height:auto !important;
  max-width:100% !important;
  object-fit:unset !important;
}



/* ===== ARTFreeLife - All Photos / Latest Publications ===== */
/* trasforma TUTTI i link blu della pagina in grigi eleganti */

body a,
body a:link,
body a:visited,
#xg_body a,
#xg_body a:link,
#xg_body a:visited,
#xg_canvas a,
#xg_canvas a:link,
#xg_canvas a:visited,
.xg_module a,
.xg_module_foot a,
.xg_module_head a,
ul.pagination a,
.pagination a,
.photo a,
h3 a,
h4 a {
  color: #6e6e6e !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

/* hover */
body a:hover,
body a:focus,
body a:active,
#xg_body a:hover,
#xg_body a:focus,
#xg_body a:active,
#xg_canvas a:hover,
#xg_canvas a:focus,
#xg_canvas a:active,
.xg_module a:hover,
.xg_module_foot a:hover,
.xg_module_head a:hover,
ul.pagination a:hover,
.pagination a:hover,
.photo a:hover,
h3 a:hover,
h4 a:hover {
  color: #2f2f2f !important;
  text-decoration: none !important;
}

/* titoli foto */
h3 a,
h4 a {
  color: #5f5f5f !important;
  font-weight: 500 !important;
  letter-spacing: 0.3px !important;
}

/* autore / testo secondario */
.xg_lightfont a,
.byline a,
.description a,
small a {
  color: #8a8a8a !important;
}

/* paginazione */
.pagination a,
ul.pagination a {
  color: #777777 !important;
}

.pagination .current,
.pagination .current a,
.pagination strong {
  color: #2a2a2a !important;
}

.photo-detail-page a[href$="/previous"],
.photo-detail-page a[href$="/next"] {
  display: none !important;
}

.photo-detail-page .image-nav,
.photo-detail-page .photo-navigation,
.photo-detail-page .slideshow-navigation,
.photo-detail-page .xg_lightbox-navigation {
  display: none !important;
}

.photo-detail-page .image-slideshow img,
.photo-detail-page .slideshow img,
.photo-detail-page .content-body img {
  display: block !important;
  margin: 0 auto !important;
  border-radius: 0 !important;
  box-shadow:
    0 18px 50px rgba(0,0,0,.18),
    0 2px 10px rgba(0,0,0,.10) !important;
}

.photo-detail-page .content-body,
.photo-detail-page .xg_module_body,
.photo-detail-page .photo,
.photo-detail-page .entry-content {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* contenitore miniatura */
.matrix-item,
.matrix-thumb {
  position: relative !important;
  overflow: visible !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  z-index: 1 !important;
  padding: 12px !important;
  box-sizing: border-box !important;
}

/* link interno */
.matrix-item a,
.matrix-thumb a {
  display: block !important;
  position: relative !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible !important;
}

/* area immagine */
.matrix-media-4-3 {
  position: relative !important;
  z-index: 2 !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: contain !important;
  background-color: #ffffff !important; /* base bianca tipo stampa */
  border: 12px solid transparent !important; /* spazio per cornice */
  outline: none !important;
  box-shadow: none !important;
  transition:
    transform 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease,
    background-color 0.45s ease !important;
  transform: scale(1) !important;
  transform-origin: center center !important;
  will-change: transform !important;
  box-sizing: border-box !important;
}

/* hover */
.matrix-item:hover,
.matrix-thumb:hover {
  z-index: 30 !important;
}

.matrix-item:hover .matrix-media-4-3,
.matrix-thumb:hover .matrix-media-4-3 {
  transform: scale(1.10) !important;
  background-color: #ffffff !important;
  border-color: rgba(255,255,255,0.98) !important; /* passepartout */
  box-shadow:
    0 0 0 1px rgba(170,170,170,0.85),
    0 12px 30px rgba(0,0,0,0.16),
    0 3px 10px rgba(0,0,0,0.08) !important;
  z-index: 40 !important;
}

/* immagini eventuali */
.matrix-item img,
.matrix-thumb img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}






/* miniature sotto la foto */
.photo-thumbs img,
.image-thumb img,
.matrix-media-4-3 img {

    transition: transform 0.6s ease, box-shadow 0.6s ease, filter 0.6s ease !important;
    transform: scale(1);
    cursor: pointer;
}

/* effetto movimento al passaggio del mouse */
.photo-thumbs img:hover,
.image-thumb img:hover,
.matrix-media-4-3:hover {

    transform: scale(1.12) translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
    filter: brightness(1.05);
    z-index: 10;
}



.poweredBy-text {
    display: table-column;
}




/* ===== ARTFREELIFE - MENU TOTAL WHITE ===== */

/* fascia altissima con Sign Up / Sign In */
#xn_bar,
.xn-bar,
div.xn-bar,
div[id*="xn_bar"],
div[class*="xn-bar"]{
  background:#ffffff !important;
  border:none !important;
  box-shadow:none !important;
}

/* header/logo area */
#xg_head,
#xg_headWrap,
#xg_header,
div[id*="xg_head"],
div[class*="xg-head"],
div[class*="site-header"]{
  background:#ffffff !important;
  border:none !important;
  box-shadow:none !important;
}

/* barra del menu principale */
#xg_navigation,
#xg_navigation ul,
#xg_navigation .mainTabContainer,
#xg_navigation .tabContainer,
#xg_navigation .xg_module,
#xg_navigation .xg_module_body,
div[id*="xg_navigation"],
div[class*="xg_navigation"]{
  background:#ffffff !important;
  border:none !important;
}

/* bordo intorno al menu */
#xg_navigation,
div[id*="xg_navigation"],
div[class*="xg_navigation"]{
  border-top:1px solid #efefef !important;
  border-bottom:1px solid #efefef !important;
  box-shadow:0 8px 24px rgba(0,0,0,.04) !important;
}

/* voci del menu */
#xg_navigation a,
div[id*="xg_navigation"] a,
div[class*="xg_navigation"] a{
  color:#bbbbbb !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size:13px !important;
  font-weight:500 !important;
  letter-spacing:1.6px !important;
  text-transform:uppercase !important;
  transition:color .25s ease, transform .25s ease, letter-spacing .25s ease !important;
}

/* hover */
#xg_navigation a:hover,
div[id*="xg_navigation"] a:hover,
div[class*="xg_navigation"] a:hover{
  color:#7d7d7d !important;
  transform:translateY(-1px) !important;
  letter-spacing:1.9px !important;
}

/* attivo */
#xg_navigation .this a,
#xg_navigation .current a,
#xg_navigation .selected a,
#xg_navigation li.active a,
div[id*="xg_navigation"] .this a,
div[id*="xg_navigation"] .current a,
div[id*="xg_navigation"] .selected a,
div[id*="xg_navigation"] li.active a{
  color:#5f5f5f !important;
  font-weight:600 !important;
}

/* linea elegante sotto le voci */
#xg_navigation li,
div[id*="xg_navigation"] li{
  position:relative !important;
}

#xg_navigation li::after,
div[id*="xg_navigation"] li::after{
  content:"";
  position:absolute;
  left:20%;
  bottom:5px;
  width:60%;
  height:1px;
  background:transparent;
  transition:all .25s ease;
}

#xg_navigation li:hover::after,
#xg_navigation li.this::after,
#xg_navigation li.current::after,
#xg_navigation li.selected::after,
#xg_navigation li.active::after,
div[id*="xg_navigation"] li:hover::after,
div[id*="xg_navigation"] li.this::after,
div[id*="xg_navigation"] li.current::after,
div[id*="xg_navigation"] li.selected::after,
div[id*="xg_navigation"] li.active::after{
  background:rgba(110,110,110,.28);
}

/* logo testuale */
#siteName a,
.site-name a,
#xg_head h1 a,
#xg_head .site-name a{
  color:#9b9b9b !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight:600 !important;
  letter-spacing:1.5px !important;
  transition:color .25s ease, transform .25s ease !important;
}

#siteName a:hover,
.site-name a:hover,
#xg_head h1 a:hover,
#xg_head .site-name a:hover{
  color:#6f6f6f !important;
  transform:translateY(-1px) !important;
}

/* logo immagine */
#xg_head img,
#siteLogo img,
.site-logo img,
img#logo{
  filter:grayscale(100%) brightness(1.2) contrast(.88) !important;
  opacity:.97 !important;
}

/* NON toccare la hero */
#xg_body .hero,
#xg_body .section-hero,
#xg_body [class*="hero"],
#xg_body [id*="hero"]{
  background-image:inherit !important;
}













/* =========================
   LOGO + MENU REFINED MOTION
   aggiungi sotto il CSS attuale
   ========================= */

/* FONT PIÙ RAFFINATI */
#xg_navigation a,
div[id*="xg_navigation"] a,
div[class*="xg_navigation"] a,
#siteName a,
.site-name a,
#xg_head h1 a,
#xg_head .site-name a{
  font-family: "Cormorant Garamond", "Georgia", "Times New Roman", serif !important;
  letter-spacing: 1.4px !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* MENU PIÙ ELEGANTE */
#xg_navigation a,
div[id*="xg_navigation"] a,
div[class*="xg_navigation"] a{
  color:#bcbcbc !important;
  font-size:15px !important;
  font-weight:500 !important;
  text-transform:uppercase !important;
  transition:
    color .22s ease,
    transform .22s ease,
    letter-spacing .22s ease,
    text-shadow .22s ease !important;
  transform-origin:center center !important;
  display:inline-block !important;
}

/* HOVER MENU */
#xg_navigation a:hover,
div[id*="xg_navigation"] a:hover,
div[class*="xg_navigation"] a:hover{
  color:#7a7a7a !important;
  transform:scale(1.045) translateY(-1px) !important;
  letter-spacing:1.8px !important;
  text-shadow:0 1px 10px rgba(0,0,0,0.04) !important;
}

/* CLICK MENU */
#xg_navigation a:active,
div[id*="xg_navigation"] a:active,
div[class*="xg_navigation"] a:active{
  transform:scale(1.065) !important;
  color:#555555 !important;
}

/* VOCE ATTIVA */
#xg_navigation .this a,
#xg_navigation .current a,
#xg_navigation .selected a,
#xg_navigation li.active a,
div[id*="xg_navigation"] .this a,
div[id*="xg_navigation"] .current a,
div[id*="xg_navigation"] .selected a,
div[id*="xg_navigation"] li.active a{
  color:#5c5c5c !important;
  font-weight:600 !important;
  transform:scale(1.03) !important;
}

/* LOGO TESTUALE */
#siteName a,
.site-name a,
#xg_head h1 a,
#xg_head .site-name a{
  color:#9c9c9c !important;
  font-size:clamp(20px, 2vw, 30px) !important;
  font-weight:600 !important;
  letter-spacing:1.8px !important;
  transition:
    color .25s ease,
    transform .25s ease,
    text-shadow .25s ease !important;
  display:inline-block !important;
  transform-origin:center center !important;
}

/* HOVER LOGO TESTUALE */
#siteName a:hover,
.site-name a:hover,
#xg_head h1 a:hover,
#xg_head .site-name a:hover{
  color:#6c6c6c !important;
  transform:scale(1.06) translateY(-1px) !important;
  text-shadow:0 2px 16px rgba(0,0,0,0.05) !important;
}

/* CLICK LOGO TESTUALE */
#siteName a:active,
.site-name a:active,
#xg_head h1 a:active,
#xg_head .site-name a:active{
  transform:scale(1.085) !important;
}

/* LOGO IMMAGINE */
#xg_head img,
#siteLogo img,
.site-logo img,
img#logo,
a[class*="logo"] img{
  filter:grayscale(100%) brightness(1.18) contrast(.9) !important;
  opacity:.97 !important;
  transition:
    transform .28s ease,
    filter .28s ease,
    opacity .28s ease,
    box-shadow .28s ease !important;
  transform-origin:center center !important;
  display:block !important;
}

/* HOVER LOGO IMMAGINE */
#xg_head img:hover,
#siteLogo img:hover,
.site-logo img:hover,
img#logo:hover,
a[class*="logo"] img:hover{
  transform:scale(1.07) translateY(-1px) !important;
  filter:grayscale(100%) brightness(1.08) contrast(.98) !important;
  opacity:1 !important;
}

/* CLICK LOGO IMMAGINE */
#xg_head img:active,
#siteLogo img:active,
.site-logo img:active,
img#logo:active,
a[class*="logo"] img:active{
  transform:scale(1.1) !important;
}

/* TRANSIZIONE MORBIDA SUI CONTENITORI */
#xg_navigation li,
div[id*="xg_navigation"] li,
div[class*="xg_navigation"] li{
  overflow:visible !important;
}

/* RESPONSIVE */
@media (max-width: 768px){
  #xg_navigation a,
  div[id*="xg_navigation"] a,
  div[class*="xg_navigation"] a{
    font-size:12px !important;
    letter-spacing:1.1px !important;
  }

  #siteName a,
  .site-name a,
  #xg_head h1 a,
  #xg_head .site-name a{
    font-size:20px !important;
    letter-spacing:1.2px !important;
  }
}






/* =========================
   MENU STICKY REALE
   ========================= */

/* il contenitore principale non deve tagliare sticky */
html, body,
body > div.central-content.cf,
body > div.central-content.cf > header{
  overflow: visible !important;
}

/* blocca l'intero header, non il div interno */
body > div.central-content.cf > header{
  position: sticky !important;
  top: 0 !important;
  z-index: 99999 !important;
  background: #ffffff !important;
}

/* il div interno resta bianco ed elegante */
body > div.central-content.cf > header > div{
  background: #ffffff !important;
  border-bottom: 1px solid #e9e9e9 !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04) !important;
  width: 100% !important;
}

/* linea chiara finale */
body > div.central-content.cf > header > div::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #ececec;
  pointer-events: none;
}












/* Solo pagine profilo membri */
body[class*="members"] .profileCoverArea,
body[class*="members"] .profile-cover,
body[class*="members"] .member-cover,
body[class*="members"] .xg_profile_cover,
body[class*="members"] .cover-photo,
body[class*="members"] .coverArea {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Contenitori superiori che spesso creano il vuoto */
body[class*="members"] #content,
body[class*="members"] .content,
body[class*="members"] .main,
body[class*="members"] .xg_span-16,
body[class*="members"] .xg_module:first-child,
body[class*="members"] .xg_module_foot,
body[class*="members"] .xg_headline {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Immagine cover */
body[class*="members"] .profileCoverArea img,
body[class*="members"] .profile-cover img,
body[class*="members"] .member-cover img,
body[class*="members"] .xg_profile_cover img,
body[class*="members"] .cover-photo img,
body[class*="members"] .coverArea img {
  margin-top: 0 !important;
  display: block !important;
}







.photoDetailPage-moreEntries > li {
    padding: 10px;
}
.image-aspect-1-1 {
    width: 100%;
    height: 0;
    padding-bottom: 70%;
}






.standard-comments.entry-comments.sheet.grid-frame{
  max-width:980px;
  margin:34px auto 0;
  background:#fff;
  border:1px solid rgba(0,0,0,.05);
  border-radius:24px;
  padding:30px 34px;
  box-shadow:0 14px 40px rgba(0,0,0,.06);
  transition:box-shadow .28s ease,transform .28s ease;
}
.standard-comments.entry-comments.sheet.grid-frame:hover{
  box-shadow:0 20px 54px rgba(0,0,0,.09);
  transform:translateY(-1px);
}

.standard-comments.entry-comments.sheet.grid-frame h3,
.standard-comments.entry-comments.sheet.grid-frame h4,
.standard-comments.entry-comments.sheet.grid-frame .comments-title,
.standard-comments.entry-comments.sheet.grid-frame .section-title{
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  margin:0 0 22px!important;
  font-size:20px;
  font-weight:500;
  letter-spacing:.02em;
  line-height:1.25;
  color:#111;
  text-transform:none;
}

.standard-comments.entry-comments.sheet.grid-frame hr,
.standard-comments.entry-comments.sheet.grid-frame .divider,
.standard-comments.entry-comments.sheet.grid-frame .xg_lightborder,
.standard-comments.entry-comments.sheet.grid-frame .section-header,
.standard-comments.entry-comments.sheet.grid-frame .section-header div{
  border:0!important;
  box-shadow:none!important;
  background:none!important;
}

.standard-comments.entry-comments.sheet.grid-frame .addCommentContainer{
  max-width:900px;
  margin:0 auto 26px;
  background:#fcfcfc;
  border:1px solid rgba(0,0,0,.045);
  border-radius:20px;
  padding:18px 18px 16px;
}

.standard-comments.entry-comments.sheet.grid-frame textarea,
.standard-comments.entry-comments.sheet.grid-frame .input-full{
  width:100%;
  min-height:96px;
  background:#fff;
  border:1px solid rgba(0,0,0,.07);
  border-radius:16px;
  padding:15px 17px;
  font-size:14px;
  line-height:1.65;
  color:#111;
  resize:vertical;
  box-shadow:0 2px 8px rgba(0,0,0,.05);
  transition:border-color .24s ease,box-shadow .24s ease,background .24s ease;
}
.standard-comments.entry-comments.sheet.grid-frame textarea::placeholder,
.standard-comments.entry-comments.sheet.grid-frame .input-full::placeholder{
  color:#8a8a8a;
}
.standard-comments.entry-comments.sheet.grid-frame textarea:focus,
.standard-comments.entry-comments.sheet.grid-frame .input-full:focus{
  outline:none;
  border-color:rgba(0,0,0,.16);
  box-shadow:0 0 0 4px rgba(0,0,0,.04),0 6px 18px rgba(0,0,0,.08);
  background:#fff;
}

.standard-comments.entry-comments.sheet.grid-frame .formFooter{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  margin-top:14px;
}

.standard-comments.entry-comments.sheet.grid-frame .button,
.standard-comments.entry-comments.sheet.grid-frame .button-primary,
.standard-comments.entry-comments.sheet.grid-frame input[type="submit"]{
  appearance:none;
  background:#111;
  color:#fff;
  border:0;
  border-radius:999px;
  padding:10px 22px;
  min-height:42px;
  font-size:13px;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
  box-shadow:0 8px 18px rgba(0,0,0,.12);
  transition:transform .22s ease,box-shadow .22s ease,background .22s ease;
}
.standard-comments.entry-comments.sheet.grid-frame .button:hover,
.standard-comments.entry-comments.sheet.grid-frame .button-primary:hover,
.standard-comments.entry-comments.sheet.grid-frame input[type="submit"]:hover{
  background:#1b1b1b;
  transform:translateY(-1px);
  box-shadow:0 12px 24px rgba(0,0,0,.16);
}

.standard-comments.entry-comments.sheet.grid-frame .comment,
.standard-comments.entry-comments.sheet.grid-frame .entry-comment{
  max-width:900px;
  margin:0 auto 16px;
  background:#fff;
  border:1px solid rgba(0,0,0,.05);
  border-radius:18px;
  padding:18px 20px;
  box-shadow:0 4px 14px rgba(0,0,0,.03);
  transition:box-shadow .22s ease,border-color .22s ease,transform .22s ease;
}
.standard-comments.entry-comments.sheet.grid-frame .comment:hover,
.standard-comments.entry-comments.sheet.grid-frame .entry-comment:hover{
  border-color:rgba(0,0,0,.08);
  box-shadow:0 10px 24px rgba(0,0,0,.05);
}

.standard-comments.entry-comments.sheet.grid-frame .comment .author,
.standard-comments.entry-comments.sheet.grid-frame .entry-comment .author,
.standard-comments.entry-comments.sheet.grid-frame .comment .fn{
  color:#111;
  font-weight:600;
  letter-spacing:.01em;
}

.standard-comments.entry-comments.sheet.grid-frame .comment p,
.standard-comments.entry-comments.sheet.grid-frame .entry-comment p{
  margin:8px 0 0;
  color:#3f3f3f;
  font-size:14px;
  line-height:1.72;
}

.standard-comments.entry-comments.sheet.grid-frame .metadata,
.standard-comments.entry-comments.sheet.grid-frame .commentMeta,
.standard-comments.entry-comments.sheet.grid-frame .small,
.standard-comments.entry-comments.sheet.grid-frame .comment .xg_lightfont{
  color:#8b8b8b;
  font-size:12px;
  letter-spacing:.02em;
}

.standard-comments.entry-comments.sheet.grid-frame img{
  border-radius:50%;
}

@media (max-width:768px){
  .standard-comments.entry-comments.sheet.grid-frame{
    max-width:94%;
    padding:20px 18px;
    border-radius:20px;
  }
  .standard-comments.entry-comments.sheet.grid-frame .addCommentContainer,
  .standard-comments.entry-comments.sheet.grid-frame .comment,
  .standard-comments.entry-comments.sheet.grid-frame .entry-comment{
    max-width:100%;
  }
  .standard-comments.entry-comments.sheet.grid-frame .formFooter{
    display:block;
  }
  .standard-comments.entry-comments.sheet.grid-frame .button,
  .standard-comments.entry-comments.sheet.grid-frame .button-primary,
  .standard-comments.entry-comments.sheet.grid-frame input[type="submit"]{
    width:100%;
  }
}




/* =========================================
   ARTFreeLife – Main photo section refined
   ========================================= */

body > div.central-content.cf > section > div.site-body.container > section > div > div > div.section-primaryContent > div > div.photoDetailPage-mainSection.sheet.grid-frame{
  max-width: 1360px !important;
  margin: 42px auto 70px !important;
  padding: 30px 30px 36px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(247,247,244,0.98) 100%) !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  border-radius: 30px !important;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.07),
    0 10px 28px rgba(0,0,0,0.045),
    inset 0 1px 0 rgba(255,255,255,0.85) !important;
  position: relative !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

/* luce interna morbida */
body > div.central-content.cf > section > div.site-body.container > section > div > div > div.section-primaryContent > div > div.photoDetailPage-mainSection.sheet.grid-frame::before{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: 30px !important;
  pointer-events: none !important;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.65) 0%, rgba(255,255,255,0) 42%),
    radial-gradient(circle at bottom right, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0) 40%) !important;
}

/* lieve cornice elegante interna */
body > div.central-content.cf > section > div.site-body.container > section > div > div > div.section-primaryContent > div > div.photoDetailPage-mainSection.sheet.grid-frame::after{
  content: "" !important;
  position: absolute !important;
  inset: 10px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(0,0,0,0.035) !important;
  pointer-events: none !important;
}

/* spazio interno più raffinato per i blocchi */
body > div.central-content.cf > section > div.site-body.container > section > div > div > div.section-primaryContent > div > div.photoDetailPage-mainSection.sheet.grid-frame > *{
  position: relative !important;
  z-index: 1 !important;
}

/* tablet */
@media (max-width: 1024px){
  body > div.central-content.cf > section > div.site-body.container > section > div > div > div.section-primaryContent > div > div.photoDetailPage-mainSection.sheet.grid-frame{
    margin: 28px 16px 50px !important;
    padding: 22px 20px 26px !important;
    border-radius: 24px !important;
  }

  body > div.central-content.cf > section > div.site-body.container > section > div > div > div.section-primaryContent > div > div.photoDetailPage-mainSection.sheet.grid-frame::before{
    border-radius: 24px !important;
  }

  body > div.central-content.cf > section > div.site-body.container > section > div > div > div.section-primaryContent > div > div.photoDetailPage-mainSection.sheet.grid-frame::after{
    inset: 8px !important;
    border-radius: 18px !important;
  }
}

/* mobile */
@media (max-width: 640px){
  body > div.central-content.cf > section > div.site-body.container > section > div > div > div.section-primaryContent > div > div.photoDetailPage-mainSection.sheet.grid-frame{
    margin: 20px 10px 38px !important;
    padding: 16px 14px 20px !important;
    border-radius: 20px !important;
    box-shadow:
      0 18px 42px rgba(0,0,0,0.065),
      0 5px 16px rgba(0,0,0,0.04),
      inset 0 1px 0 rgba(255,255,255,0.82) !important;
  }

  body > div.central-content.cf > section > div.site-body.container > section > div > div > div.section-primaryContent > div > div.photoDetailPage-mainSection.sheet.grid-frame::before{
    border-radius: 20px !important;
  }

  body > div.central-content.cf > section > div.site-body.container > section > div > div > div.section-primaryContent > div > div.photoDetailPage-mainSection.sheet.grid-frame::after{
    inset: 6px !important;
    border-radius: 14px !important;
  }
}













/* ===== LIKE BUTTON DEFINITIVO: CUORE + CONTATORE ===== */

a.socialSharingListItemLink{
  position: relative !important;
  min-width: 84px !important;
  height: 54px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  padding: 0 14px 0 0 !important;
  margin: 0 !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.18) !important;
  border: 1px solid rgba(255,255,255,0.28) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow:
    0 8px 22px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.24) !important;
  overflow: visible !important;
  text-decoration: none !important;
  line-height: 1 !important;
  font-size: 14px !important;
  vertical-align: middle !important;
}

/* nasconde l'icona originale */
a.socialSharingListItemLink > svg{
  opacity: 0 !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  pointer-events: none !important;
}

/* cuore custom */
a.socialSharingListItemLink::before{
  content: "❤" !important;
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 23px !important;
  line-height: 1 !important;
  color: rgba(220, 70, 95, 0.78) !important;
  text-shadow: 0 2px 6px rgba(0,0,0,0.14) !important;
  flex: 0 0 54px !important;
  transition: transform .22s ease, color .22s ease !important;
}

/* hover */
a.socialSharingListItemLink:hover::before{
  color: rgba(255,72,105,0.96) !important;
  transform: scale(1.08) !important;
}

/* contatore visibile */
a.socialSharingListItemLink > span.likeButton-count{
  display: inline-block !important;
  flex: 0 0 auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  color: #444 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  z-index: 10 !important;
  white-space: nowrap !important;
  text-shadow: none !important;
}

/* stato attivo */
.liked > a.socialSharingListItemLink::before,
a.socialSharingListItemLink.active::before{
  color: rgba(255,72,105,1) !important;
}






























