/* Digitalia v1.0.43 — global translucent play buttons on video thumbnails */
.thumbnail-link,
.dv-card-media,
.digitalia-editoriali-archive-thumb {
  position: relative;
}
.thumbnail-link::before,
.dv-card-media::before,
.digitalia-editoriali-archive-thumb::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  margin-left: -29px;
  margin-top: -29px;
  border-radius: 50%;
  background: rgba(25,45,87,.16);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  pointer-events: none;
  z-index: 4;
}
.thumbnail-link::after,
.dv-card-media::after,
.digitalia-editoriali-archive-thumb::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  margin-left: -6px;
  margin-top: -11px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid rgba(255,255,255,.88);
  transition: border-left-color .18s ease, transform .18s ease;
  pointer-events: none;
  z-index: 5;
}
.thumbnail-link:hover::before,
.thumbnail-link:focus-visible::before,
.dv-card-media:hover::before,
.dv-card-media:focus-within::before,
.digitalia-editoriali-archive-thumb:hover::before,
.digitalia-editoriali-archive-thumb:focus-within::before {
  background: rgba(25,45,87,.78);
  border-color: rgba(255,255,255,.92);
  box-shadow: 0 10px 24px rgba(0,0,0,.24);
  transform: scale(1.06);
}
.thumbnail-link:hover::after,
.thumbnail-link:focus-visible::after,
.dv-card-media:hover::after,
.dv-card-media:focus-within::after,
.digitalia-editoriali-archive-thumb:hover::after,
.digitalia-editoriali-archive-thumb:focus-within::after {
  border-left-color: rgba(255,255,255,1);
  transform: scale(1.06);
}
/* Avoid duplicate icons where custom overlays already exist: hide old spans. */
.thumbnail-link .icon-play,
.digitalia-hero-play,
.digitalia-editorial-play,
.digitalia-editoriali-archive-play,
.dv-card-play {
  opacity: 0 !important;
}
@media (max-width: 640px) {
  .thumbnail-link::before,
  .dv-card-media::before,
  .digitalia-editoriali-archive-thumb::before { width: 48px; height: 48px; margin-left: -24px; margin-top: -24px; }
  .thumbnail-link::after,
  .dv-card-media::after,
  .digitalia-editoriali-archive-thumb::after { margin-left: -5px; margin-top: -9px; border-top-width: 9px; border-bottom-width: 9px; border-left-width: 14px; }
}

/* v1.0.44 — Large feature cards: their media ::after is deliberately used
   for the dark readability gradient. Keep that gradient and use the real
   .dv-card-play child span for the triangle, instead of competing ::after. */
body.home .dv-topic--spotlight .dv-card:first-child .dv-card-media::before,
body.home .dv-topic--mosaic .dv-card:first-child .dv-card-media::before {
  display: none !important; /* prevent a second, empty circle */
}
body.home .dv-topic--spotlight .dv-card:first-child .dv-card-play,
body.home .dv-topic--mosaic .dv-card:first-child .dv-card-play {
  display: grid !important;
  place-items: center;
  position: absolute;
  z-index: 8;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.6);
  background: rgba(25,45,87,.16);
  color: #fff;
  opacity: 1 !important;
  transform: translate(-50%, -50%) !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  pointer-events: none;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
body.home .dv-topic--spotlight .dv-card:first-child .dv-card-play::before,
body.home .dv-topic--mosaic .dv-card:first-child .dv-card-play::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid #fff;
}
body.home .dv-topic--spotlight .dv-card:first-child:is(:hover, :focus-within) .dv-card-play,
body.home .dv-topic--mosaic .dv-card:first-child:is(:hover, :focus-within) .dv-card-play {
  opacity: 1 !important;
  background: rgba(25,45,87,.8);
  border-color: rgba(255,255,255,.95);
  transform: translate(-50%, -50%) scale(1.06) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}

/* The separate lead editorial/hero templates already contain a real icon.
   Restore that icon (hidden by v1.0.43 global rule) rather than inserting
   a pseudo-element triangle in a different position. */
body.home #featured-content .featured-large .thumbnail-link::after {
  display: none !important;
}
body.home #featured-content .featured-large .digitalia-hero-play,
body.home #featured-content .digitalia-editorial-card .digitalia-editorial-play {
  opacity: 1 !important;
  color: #fff;
  border: 1px solid rgba(255,255,255,.6);
  background: rgba(25,45,87,.16);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  pointer-events: none;
}
body.home #featured-content .featured-large:is(:hover,:focus-within) .digitalia-hero-play,
body.home #featured-content .digitalia-editorial-card:is(:hover,:focus-within) .digitalia-editorial-play {
  background: rgba(25,45,87,.8);
  border-color: rgba(255,255,255,.95);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
@media (max-width: 640px) {
  body.home .dv-topic--spotlight .dv-card:first-child .dv-card-play,
  body.home .dv-topic--mosaic .dv-card:first-child .dv-card-play {
    width: 48px;
    height: 48px;
  }
  body.home .dv-topic--spotlight .dv-card:first-child .dv-card-play::before,
  body.home .dv-topic--mosaic .dv-card:first-child .dv-card-play::before {
    border-top-width: 9px;
    border-bottom-width: 9px;
    border-left-width: 14px;
  }
}

/* Large media ::after must be a full-width gradient layer, not the global
   triangle: reset the border/size/margins inherited from the general overlay. */
body.home .dv-topic--spotlight .dv-card:first-child .dv-card-media::after,
body.home .dv-topic--mosaic .dv-card:first-child .dv-card-media::after {
  left: 0;
  right: 0;
  top: 30%;
  bottom: 0;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  border: 0 !important;
  transform: none !important;
  z-index: 1;
}
