/* ==========================================================================
   families/press-archive.css
   Base comune di stampa e archivio pubblico: schede stampa, rassegna, materiali scaricabili.
   Caricato da 4 pagine.
   ========================================================================== */

:root {
  --paper: #ffffff;
  --muted: #526071;
  --shadow-card: 0 16px 34px rgba(10,22,40,.08);
}

body {
  font-family: var(--font-corpo,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif);
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(255,255,255,.03),transparent 40%);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-inline: 1rem;
}

.hero-text {
  flex: 1;
  min-width: 280px;
  text-align: left;
}

.hero-text .sub {
  opacity: .92;
}

main {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 1.2rem 0;
}

section {
  position: relative;
  border-bottom: 1px solid rgba(142,160,184,.18);
}

section.press-profile:nth-of-type(odd) {
  background: linear-gradient(180deg,rgba(255,255,255,.94),rgba(247,250,255,.84));
  border-radius: var(--r-lg);
  padding-inline: 1.35rem;
  box-shadow: 0 10px 26px rgba(10,22,40,.04),inset 0 1px 0 rgba(255,255,255,.68);
  border: 1px solid rgba(219,228,239,.95);
}

section.press-profile:nth-of-type(even) {
  background: linear-gradient(180deg,rgba(244,247,251,.46),rgba(255,255,255,0));
  border-radius: var(--r-lg);
  padding-inline: 1rem;
}

section:last-of-type {
  border-bottom: none;
}

h2 {
  color: var(--blu-notte);
  font-family: "Cormorant Garamond",Georgia,serif;
  position: relative;
  padding-bottom: .35rem;
}

h3 {
  line-height: 1.35;
  color: var(--blu-notte);
  margin: 0 0 .45rem;
}

p {
  line-height: 1.7;
  color: #475467;
  margin: 0 0 .85rem;
}

.section-intro {
  color: #586579;
}

.press-featured .signal-card,
.press-coverage .media-card,
.press-books .pub-item {
  backdrop-filter: saturate(1.03);
}

.press-profile .quick-facts {
  margin-top: 1.15rem;
}

.press-featured .signal-card,
.press-books .pub-item {
  border-color: rgba(44,80,128,.16);
}

.press-angles .angle-card {
  background: radial-gradient(circle at top right,rgba(44,80,128,.10),transparent 34%),linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
}

.press-coverage .media-card:nth-child(1) {
  background: radial-gradient(circle at top right,rgba(44,80,128,.12),transparent 34%),linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);
}

.press-coverage .media-card:nth-child(2) {
  background: radial-gradient(circle at top right,rgba(212,180,109,.12),transparent 34%),linear-gradient(180deg,#ffffff 0%,#fbfaf7 100%);
}

.media-grid,
.signal-grid,
.angle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 1.25rem;
}

.media-card,
.signal-card,
.angle-card {
  position: relative;
  background: radial-gradient(circle at top right,rgba(212,180,109,.12),transparent 34%),linear-gradient(180deg,#ffffff 0%,#f9fbfe 62%,#f3f7fc 100%);
  border: 1px solid rgba(44,80,128,.14);
  border-radius: var(--r-lg);
  padding: 1.35rem 1.3rem 1.2rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}

.media-card:before,
.signal-card:before,
.angle-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg,var(--blu-accent) 0%,#5f84b8 45%,var(--oro) 100%);
}

.media-card:after,
.signal-card:after,
.angle-card:after {
  content: "";
  position: absolute;
  right: -36px;
  top: -36px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(44,80,128,.10) 0%,rgba(44,80,128,0) 72%);
  pointer-events: none;
}

.media-card:hover,
.signal-card:hover,
.angle-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(44,80,128,.24);
}

.signal-card:nth-child(1) {
  background: radial-gradient(circle at top right,rgba(44,80,128,.10),transparent 34%),linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);
}

.signal-card:nth-child(2) {
  background: radial-gradient(circle at top right,rgba(104,139,88,.10),transparent 34%),linear-gradient(180deg,#ffffff 0%,#f8fbf8 100%);
}

.signal-card:nth-child(3) {
  background: radial-gradient(circle at top right,rgba(212,180,109,.12),transparent 34%),linear-gradient(180deg,#ffffff 0%,#fbfaf7 100%);
}

.media-card p,
.signal-card p,
.angle-card p {
  margin: 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin: 0 0 .65rem;
  color: var(--blu-accent);
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  padding: .32rem .62rem;
  background: #eef4fb;
  border: 1px solid rgba(44,80,128,.12);
  border-radius: var(--r-pill);
}

.pub-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0;
}

.pub-item {
  background: linear-gradient(180deg,#fff 0%,#fbfcfe 100%);
  border-radius: var(--r-lg);
  padding: 1.18rem 1.25rem 1.1rem;
  border: 1px solid rgba(44,80,128,.12);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.pub-item:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg,var(--blu-accent) 0%,var(--oro) 100%);
}

.pub-item .title {
  font-weight: 700;
  color: var(--blu-notte);
  margin-bottom: .25rem;
  font-size: 1.05rem;
}

.pub-item .meta {
  margin-bottom: .45rem;
}

.pub-item p {
  margin: 0 0 .55rem;
}

.pub-item a,
.signal-card a,
.download-card a,
.media-card a {
  color: var(--blu-accent);
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
}

.pub-item a:hover,
.signal-card a:hover,
.download-card a:hover,
.media-card a:hover {
  text-decoration: underline;
}

.signal-card .meta {
  margin: .1rem 0 .55rem;
}

.note-strip {
  background: linear-gradient(180deg,#fbfdff,#eef4fb);
  border: 1px solid #d7e4f2;
  border-radius: var(--r-lg);
  padding: 1.05rem 1.15rem;
  color: #334155;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.note-strip:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg,var(--blu-accent),var(--oro));
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: .95rem;
}

.fact {
  background: radial-gradient(circle at top right,rgba(44,80,128,.08),transparent 34%),linear-gradient(180deg,#ffffff,#fbfcfe);
  border: 1px solid rgba(44,80,128,.12);
  border-radius: var(--r-lg);
  padding: 1rem 1rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.fact:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,var(--blu-accent),#d0b16a);
}

.fact strong {
  display: block;
  color: var(--blu-notte);
  margin-bottom: .25rem;
}

.fact span {
  display: block;
  color: #556070;
  font-size: .92rem;
  line-height: 1.55;
}

.download-card {
  background: radial-gradient(circle at top right,rgba(212,180,109,.10),transparent 34%),linear-gradient(180deg,#ffffff 0%,#f4f8fc 100%);
  border: 1px solid rgba(44,80,128,.14);
  border-radius: var(--r-lg);
  padding: 1.3rem 1.25rem 1.2rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.download-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg,var(--blu-accent),var(--oro));
}

.cta-box {
  background: linear-gradient(135deg,var(--blu-notte),#203a5d 55%,var(--blu-accent));
  color: #fff;
  border-radius: var(--r-lg);
  padding: 2.3rem 1.45rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.08);
}

.cta-box h2 {
  color: #fff;
}

.cta-box h2:after {
  margin-left: auto;
  margin-right: auto;
}

.cta-box p {
  color: rgba(255,255,255,.86);
  margin: 0 auto .95rem;
  text-align: center !important;
  text-align-last: center !important;
}

body.v2-editorial-press .cta-box a,
body.v2-editorial-press .cta-box a:visited {
  color: #f4dda0;
  text-decoration-color: rgba(244,221,160,.65);
  text-underline-offset: 3px;
}

body.v2-editorial-press .cta-box a:hover,
body.v2-editorial-press .cta-box a:focus-visible {
  color: #fff;
  text-decoration-color: #fff;
}

.hero .hero-cta a.btn-w,
.hero .hero-cta a.btn-o {
  -webkit-backdrop-filter: none;
}

.press-download-strip {
  display: grid;
  grid-template-columns: 1.5fr .9fr;
  gap: 1.1rem;
  align-items: center;
  background: linear-gradient(135deg,var(--blu-notte) 0%,#203a5d 58%,var(--blu-accent) 100%);
  color: #fff;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.press-download-strip:before {
  content: "";
  position: absolute;
  inset: auto -50px -80px auto;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(244,210,122,.18),rgba(244,210,122,0) 68%);
  pointer-events: none;
}

.press-download-strip h2 {
  color: #fff;
  font-family: "Cormorant Garamond",Georgia,serif;
}

.press-download-strip p {
  color: rgba(255,255,255,.88);
  margin: 0;
}

.press-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .72rem;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.press-download-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .78rem 1.05rem;
  border-radius: var(--r-pill);
  background: var(--grad-oro);
  color: var(--blu-notte);
  text-decoration: none;
  font-weight: 850;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.42);
  text-align: center;
}

.press-download-actions a:hover,
.press-download-actions a:focus-visible {
  text-decoration: none;
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.verification-grid {
  grid-template-columns: repeat(auto-fit,minmax(230px,1fr));
  margin-top: 1rem;
}

.verification-card {
  background: radial-gradient(circle at top right,rgba(44,80,128,.08),transparent 34%),linear-gradient(180deg,#fff,#f8fbff);
  border: 1px solid rgba(44,80,128,.13);
  padding: 1.05rem 1.05rem;
  position: relative;
  overflow: hidden;
}

.verification-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,var(--blu-accent),#d0b16a);
}

.verification-card h3 {
  margin: 0 0 .42rem;
  color: var(--blu-notte);
}

.verification-card p {
  margin: 0 0 .55rem;
  color: #556070;
}

.verification-card a {
  font-weight: 800;
  color: var(--blu-accent);
  text-decoration: none;
}

.verification-card a:hover {
  text-decoration: underline;
}

.media-note-quiet {
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--r-lg);
  padding: .9rem 1rem;
  margin-top: .9rem;
}

body.page-stampa-media .hero .hero-cta>a,
body.page-stampa-media .cta-row>a {
  -webkit-backdrop-filter: none;
}

body.page-stampa-media .hero .glb-hero-button-grid--actions {
  align-items: center !important;
  width: min(100%,1100px) !important;
  grid-template-columns: none !important;
}

body.page-stampa-media .hero .glb-hero-button-grid--actions>a {
  max-width: max-content;
  flex: 0 0 auto !important;
  min-width: max-content !important;
}

.verification-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
}

.verification-grid>* {
  flex: 0 1 calc((100% - 2rem)/3);
  max-width: calc((100% - 2rem)/3);
}

.media-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.25rem;
}

.media-grid>* {
  flex: 0 1 calc((100% - 2.5rem)/3);
  max-width: calc((100% - 2.5rem)/3);
}

.angle-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.25rem;
}

.angle-grid>* {
  flex: 0 1 calc((100% - 2.5rem)/3);
  max-width: calc((100% - 2.5rem)/3);
}

.press-profile .print-sheet .line {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: .3rem 1.1rem;
  padding: .5rem 0;
  border-bottom: 1px solid #eef1f6;
  align-items: baseline;
}

.press-profile .print-sheet .line strong {
  color: #0a1628;
  font-weight: 700;
}

.press-profile .print-sheet .line span {
  color: #333;
  line-height: 1.55;
}

body.page-stampa-media,
body.page-archivio-pubblico {
  background: var(--bg,#f8f6f1) !important;
}

body.page-stampa-media .hero .hero-inner {
  text-align: center;
}

html body.page-rassegna-stampa .hero .hero-text .sub {
  text-align: center;
  text-align-last: center;
}

@media (max-width: 700px) {
  .hero-inner {
    flex-direction: column;
  }
  .hero-text {
    text-align: center;
  }
  section.press-profile:nth-of-type(odd) {
    padding-inline: 1rem;
    border-radius: var(--r-lg);
  }
  main {
    padding: 0 .85rem;
  }
}

@media (max-width: 820px) {
  .press-download-strip {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .press-download-actions {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .press-download-strip {
    border-radius: var(--r-lg);
  }
  .press-download-actions a {
    width: 100%;
  }
}

@media (max-width: 540px) {
  body.page-stampa-media .hero .glb-hero-button-grid--actions {
    flex-direction: column !important;
  }
  body.page-stampa-media .hero .glb-hero-button-grid--actions>a {
    width: 100% !important;
    max-width: none;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .verification-grid>* {
    flex-basis: calc((100% - 1rem)/2);
    max-width: calc((100% - 1rem)/2);
  }
  .media-grid>*,
.angle-grid>*{
    flex-basis: calc((100% - 1.25rem)/2);
    max-width: calc((100% - 1.25rem)/2);
  }
  
}

@media (max-width: 520px) {
  .verification-grid>*,
.media-grid>*,
.angle-grid>*{
    flex-basis: 100%;
    max-width: 100%;
  }
  
  
}

@media (max-width: 600px) {
  .press-profile .print-sheet .line {
    grid-template-columns: 1fr;
    gap: .1rem;
  }
}

