/* ==========================================================================
   families/hubs.css
   Indici editoriali: archivio degli articoli e pagine per tema.
   Caricato da 8 pagine.
   ========================================================================== */

a {
  color: var(--blu-accent);
}

p {
  margin-top: 0;
}

.hero .eyebrow {
  display: inline-block;
  margin-bottom: .9rem;
  border-radius: var(--r-pill);
  color: rgba(255,255,255,.92);
}

.hero .lead {
  opacity: .92;
  margin: 0 auto;
}

.hero-btns {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}

#main {
  margin: 0 auto;
}

.section.section--white {
  padding: 0;
}

.container {
  margin: 0 auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
}

.article-teaser {
  background: #fff;
  border-radius: var(--r);
  padding: 1.35rem 1.35rem 1.25rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--blu-accent);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.article-teaser .eyebrow {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: .75rem;
  padding: .24rem .6rem;
  border-radius: var(--r-pill);
  background: #eef4fb;
  color: var(--blu-accent);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.article-teaser h3 {
  color: var(--blu-notte);
  margin: 0 0 .55rem;
}

.article-teaser p {
  color: #666;
  flex-grow: 1;
  margin: 0 0 1rem;
}

.article-links {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border-radius: var(--r-pill);
  text-decoration: none;
  font-weight: 600;
  font-size: .88rem;
  padding: .55rem 1.05rem;
  border: 0;
  min-width: 118px;
}

.btn-blue {
  background: var(--blu-notte);
  color: #fff;
}

.btn-blue:hover {
  background: #091221;
  color: #fff;
}

.btn-sand {
  background: var(--blu-accent);
  color: #fff;
}

.btn-sand:hover {
  background: var(--blu-notte);
  color: #fff;
}

.btn-white {
  background: var(--blu-accent);
  color: #fff;
}

.btn-white:hover {
  background: var(--blu-notte);
  color: #fff;
}

.cta-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem 2.4rem;
}

.cta-section .wrap {
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 1.8rem 1.5rem;
  text-align: center;
}

.cta-divider {
  width: 72px;
  height: 2px;
  background: var(--blu-accent);
  margin: 0 auto 1rem;
}

.cta-section h2 {
  color: var(--blu-notte);
}

.cta-section .lead {
  color: #556477;
  margin: 0 auto 1rem;
}

.hero>.hero-inner>.eyebrow {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.26;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: calc(.32rem - 1px) calc(.75rem - 1px);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  white-space: nowrap;
}

.editorial-hub .editorial-block {
  margin: 0 0 2.6rem;
}

.editorial-hub .section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.editorial-hub .section-title {
  color: var(--blu-notte);
}

.editorial-hub .section-kicker {
  margin: 0;
  font-weight: 800;
  text-transform: uppercase;
}

.editorial-hub .section-intro {
  color: #5b6878;
  margin: .1rem 0 1.25rem;
}

.editorial-hub .text-link {
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.editorial-hub .text-link:hover,
.editorial-hub .text-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-teaser .topic-link {
  text-decoration: none;
}

.article-teaser .topic-link:hover,
.article-teaser .topic-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-teaser .article-date {
  display: block;
  margin: -.2rem 0 .48rem;
  font-size: .79rem;
  font-weight: 600;
}

.topic-grid {
  display: grid;
}

.topic-card {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  border: 1px solid #dbe4ef;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform .15s ease,box-shadow .15s ease,border-color .15s ease;
}

.topic-card:hover,
.topic-card:focus-visible {
  transform: translateY(-2px);
  border-color: #b9c9dc;
}

.topic-card strong {
  color: var(--blu-notte);
}

.topic-card span {
  color: #5d6978;
}

.topic-card small {
  font-weight: 700;
}

.topic-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem;
  margin: 1rem 0 0;
}

.topic-pill {
  display: inline-flex;
  align-items: center;
  padding: .46rem .78rem;
  border-radius: var(--r-pill);
  background: #eef4fb;
  color: var(--blu-notte);
  font-size: .83rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #dbe4ef;
}

.topic-pill:hover,
.topic-pill:focus-visible,
.topic-pill.is-current {
  background: var(--blu-notte);
  border-color: var(--blu-notte);
  color: #fff;
}

body.v2-editorial-articles {
  background: var(--v2-canvas);
  color: var(--v2-ink);
}

body.v2-editorial-articles .hero {
  position: relative;
  background: var(--v2-cover-bg);
  color: #fff;
}

body.v2-editorial-articles .hero::before {
  content: "";
  position: absolute;
  inset: -18rem -12rem auto auto;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(212,180,109,.17),rgba(212,180,109,0) 68%);
  pointer-events: none;
}

body.v2-editorial-articles .hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(4.1rem,7vw,6.5rem) 1.5rem;
  text-align: center;
}

.v2-articles-hero__copy {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.v2-articles-hero__kicker,
.v2-section-label {
  margin: 0 0 .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

body.v2-editorial-articles .hero h1 {
  margin: 0 0 1rem !important;
  color: #fff;
  font-family: var(--v2-serif);
  font-weight: 600 !important;
  letter-spacing: -.026em;
  text-align: center;
}

.v2-articles-hero__lead {
  max-width: 820px;
  margin: 0 auto 1.4rem;
  text-align: center;
}

.v2-articles-hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem;
  margin-bottom: 1.25rem;
}

.v2-articles-hero__stats span {
  display: inline-flex;
  align-items: baseline;
  gap: .32rem;
  padding: .54rem .72rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: rgba(255,255,255,.7);
}

.v2-articles-hero__stats strong {
  color: #fff;
  font-size: .9rem;
}

.v2-articles-hero__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem;
}

.v2-articles-hero__nav a {
  display: inline-flex;
  padding: .58rem .78rem;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 750;
}

.v2-articles-hero__nav a:hover,
.v2-articles-hero__nav a:focus-visible {
  border-color: rgba(225,201,130,.65);
  background: rgba(255,255,255,.12);
}

body.v2-editorial-articles #main {
  max-width: 1120px;
  padding: 2.2rem 1.5rem 0;
}

.v2-editorial-articles .container {
  max-width: 1120px;
}

.v2-editorial-note {
  display: grid;
  grid-template-columns: 180px minmax(0,1fr);
  gap: 1.4rem;
  margin: 1.5rem 0 3.2rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--v2-border);
  border-radius: 17px;
  background: #fff;
  box-shadow: var(--v2-shadow-card);
}

.v2-editorial-note .v2-section-label {
  margin: .15rem 0 0;
  color: var(--v2-gold-text);
}

.v2-editorial-note p:last-child {
  margin: 0;
  color: #4d5c6d;
}

.article-hub-search {
  padding: clamp(1.4rem,3vw,2rem);
  border: 1px solid var(--v2-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--v2-shadow-card);
}

.article-hub-search__label {
  display: block;
  margin-bottom: .45rem;
  color: var(--blu-notte);
  font-size: .84rem;
  font-weight: 800;
}

.article-hub-search__bar {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: .65rem;
}

.article-hub-search__bar input {
  min-width: 0;
  min-height: 48px;
  padding: .72rem .9rem;
  border: 1px solid #aebccd;
  border-radius: 10px;
  background: #fff;
  color: var(--blu-notte);
  font: inherit;
}

.article-hub-search__bar input:focus-visible {
  outline: 3px solid rgba(44,80,128,.22);
  outline-offset: 2px;
  border-color: var(--blu-accent);
}

.article-hub-search__bar button {
  min-height: 48px;
  padding: .65rem 1rem;
  border: 1px solid var(--blu-notte);
  border-radius: 10px;
  background: var(--blu-notte);
  color: #fff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.article-hub-search__status {
  margin: .75rem 0 0;
  color: #59687a;
  font-size: .84rem;
}

.article-hub-search__results {
  display: grid;
  gap: .65rem;
  margin-top: 1rem;
}

.article-hub-result {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: .8rem;
  align-items: center;
  padding: .9rem 1rem;
  border: 1px solid #dbe4ef;
  border-radius: 12px;
  background: #f9fbfd;
}

.article-hub-result strong,
.article-hub-result small {
  display: block;
}

.article-hub-result small {
  margin-top: .22rem;
  color: #617083;
}

.article-hub-result__links {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  justify-content: flex-end;
}

.article-hub-result__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .48rem .68rem;
  border-radius: 9px;
  background: var(--blu-notte);
  color: #fff;
  font-size: .76rem;
  font-weight: 750;
  text-decoration: none;
}

.article-hub-result__links a:last-child {
  background: var(--blu-accent);
}

.v2-editorial-articles .editorial-hub .editorial-block {
  margin-bottom: 4.6rem;
}

.v2-editorial-articles .editorial-hub .section-kicker {
  color: var(--v2-gold-text);
  letter-spacing: .12em;
}

/* Le intestazioni dei percorsi tematici devono occupare l'intera riga:
   in questo modo l'occhiello resta centrato anche se una versione precedente
   delle regole tipografiche generali è ancora presente nella cache. */
.v2-editorial-articles .topic-intro > .section-kicker {
  width: 100%;
  text-align: center;
  text-align-last: center;
}

.v2-editorial-articles .editorial-hub .section-title {
  font-family: var(--v2-serif);
  font-weight: 600;
  letter-spacing: -.018em;
}

.v2-editorial-articles .latest-grid {
  display: grid;
  grid-template-columns: minmax(0,1.45fr) minmax(280px,.7fr);
  gap: 1rem !important;
}

.v2-editorial-articles .latest-grid .article-teaser {
  border: 1px solid var(--v2-border);
  border-radius: 18px;
  box-shadow: var(--v2-shadow-card-strong);
  padding: 1.45rem;
}

.v2-editorial-articles .latest-grid .v2-featured-article {
  grid-row: span 2;
  padding: clamp(1.6rem,3vw,2.2rem);
}

.v2-editorial-articles .latest-grid .v2-featured-article h3 {
  font-family: var(--v2-serif);
  letter-spacing: -.015em;
}

.v2-editorial-articles .article-date {
  color: #687588;
}

.v2-editorial-articles .topic-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.v2-editorial-articles .topic-card {
  flex: 0 1 calc((100% - 2rem)/3);
  min-width: 0;
  min-height: 190px;
  padding: 1.35rem;
  border-radius: 17px;
  box-shadow: none;
}

.v2-editorial-articles .topic-card strong {
  font-family: var(--v2-serif);
  font-size: 1.35rem;
}

.v2-editorial-articles .topic-card span {
  font-size: .86rem;
  line-height: 1.62;
}

.v2-editorial-articles .topic-card small {
  margin-top: auto;
  padding-top: .55rem;
  color: #8a6925;
}

.v2-editorial-articles #archivio-completo .grid-2 {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1rem !important;
}

.v2-editorial-articles #archivio-completo .article-teaser {
  border: 1px solid var(--v2-border);
  border-radius: 17px;
  box-shadow: 0 8px 24px rgba(17,37,58,.045);
}

.v2-editorial-articles #archivio-completo .article-teaser h3 {
  font-family: var(--v2-serif);
}

.v2-editorial-articles .article-links .btn {
  border-radius: 10px;
  min-width: 0;
  padding: .5rem .78rem;
  font-size: .78rem;
}

.v2-editorial-articles .latest-grid .v2-featured-article {
  justify-content: center;
  background: linear-gradient(150deg,#0b1d2f 0%,#173c60 100%);
  border-color: #173c60;
  color: #fff;
}

.v2-editorial-articles .latest-grid .v2-featured-article .eyebrow {
  background: rgba(255,255,255,.09);
  color: #e6cf8a;
}

.v2-editorial-articles .latest-grid .v2-featured-article .article-date {
  color: rgba(255,255,255,.66);
}

.v2-editorial-articles .latest-grid .v2-featured-article h3 {
  color: #fff;
}

.v2-editorial-articles .latest-grid .v2-featured-article p {
  flex-grow: 0;
  color: rgba(255,255,255,.78);
  margin-bottom: 1.2rem;
}

.v2-editorial-articles .latest-grid .v2-featured-article .article-links {
  margin-top: .2rem;
}

.v2-editorial-articles .latest-grid .v2-featured-article .btn-blue {
  background: #f4efe2;
  color: #102235;
}

.v2-editorial-articles .latest-grid .v2-featured-article .btn-sand {
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
}

body.v2-editorial-articles main p:not(:is(.section-label,.v3-section-label,.section-kicker,.eyebrow,.kicker,.bio-kicker,.archive-kicker,.v2-section-label,.v2-articles-hero__kicker)),
body.v2-editorial-articles .editorial-hub p:not(:is(.section-label,.v3-section-label,.section-kicker,.eyebrow,.kicker,.bio-kicker,.archive-kicker,.v2-section-label,.v2-articles-hero__kicker)),
body.v2-editorial-articles .section-intro {
  text-align: justify !important;
  text-align-last: left !important;
  hyphens: auto !important;
  -webkit-hyphens: auto !important;
}

body.v2-editorial-articles :is(.v2-articles-hero__kicker,.v2-section-label,.v2-articles-hero__stats span) {
  font-size: 12px !important;
}

.v2-editorial-articles .article-teaser h3 {
  text-wrap: balance;
}

body.v2-editorial-articles .v3-foundational-hub {
  margin-top: 0;
  padding: clamp(3.7rem,6vw,5.4rem) 1.5rem;
  background: var(--v2-cover-bg);
  color: #fff;
}

body.v2-editorial-articles .v3-foundational-hub h2 {
  color: #fff;
}

body.v2-editorial-articles .v3-foundational-hub .section-kicker {
  color: var(--v2-gold-soft);
}

body.v2-editorial-articles .v3-foundational-hub .section-intro {
  color: rgba(255,255,255,.88);
}

body.v2-editorial-articles .v3-foundational-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1rem;
  margin-top: 2rem;
}

body.v2-editorial-articles .v3-foundational-card {
  display: flex;
  flex-direction: column;
  padding: 1.65rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
}

body.v2-editorial-articles .v3-foundational-card>span {
  color: var(--v2-gold-soft);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

body.v2-editorial-articles .v3-foundational-card h3 {
  margin: .85rem 0 .7rem;
  color: #fff;
  font-family: var(--v2-serif);
}

body.v2-editorial-articles .v3-foundational-card p {
  color: rgba(255,255,255,.88);
  line-height: 1.72 !important;
  text-align: justify !important;
  text-align-last: left !important;
  hyphens: auto;
  -webkit-hyphens: auto;
}

body.v2-editorial-articles .v3-foundational-card a {
  margin-top: auto;
  padding-top: .7rem;
  color: #f0d98e;
  font-size: .82rem;
  font-weight: 800;
}

@media (max-width: 768px) {
  body.v2-editorial-articles main p:not(:is(.section-label,.v3-section-label,.section-kicker,.eyebrow,.kicker,.bio-kicker,.archive-kicker,.v2-section-label,.v2-articles-hero__kicker)),
  body.v2-editorial-articles .editorial-hub p:not(:is(.section-label,.v3-section-label,.section-kicker,.eyebrow,.kicker,.bio-kicker,.archive-kicker,.v2-section-label,.v2-articles-hero__kicker)),
  body.v2-editorial-articles .section-intro,
  body.v2-editorial-articles .v3-foundational-card p {
    text-align: justify !important;
    text-align-last: left !important;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
  .hero-inner,
  #main,
  .cta-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hero>.hero-inner>.eyebrow {
    letter-spacing: .1em;
  }
  body.page-articolo-index .hero>.hero-inner {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  body.page-articolo-index .hero>.hero-inner>.eyebrow {
    max-width: 100%;
    white-space: normal;
  }
}

body.page-topic.v2-editorial-articles .editorial-block > .grid-2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

body.page-topic.v2-editorial-articles .editorial-block > .grid-2 > .article-teaser {
  flex: 0 1 calc((100% - 2rem)/3);
  max-width: calc((100% - 2rem)/3);
  min-width: 0;
}

@media (min-width: 1000px) {
  .grid-2 {
    grid-template-columns: repeat(3,1fr);
  }
}

@media (max-width: 330px) {
  .hero>.hero-inner>.eyebrow {
    font-size: .93rem;
    line-height: 1.355;
    letter-spacing: .08em;
  }
}

@media (max-width: 700px) {
  .editorial-hub .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .editorial-hub .text-link {
    white-space: normal;
  }
}

@media (max-width: 860px) {
  body.page-topic.v2-editorial-articles .editorial-block > .grid-2 > .article-teaser {
    flex-basis: calc((100% - 1rem)/2);
    max-width: calc((100% - 1rem)/2);
  }
  .v2-editorial-articles .latest-grid {
    grid-template-columns: 1fr !important;
  }
  .v2-editorial-articles .latest-grid .v2-featured-article {
    grid-row: auto;
  }
  .v2-editorial-articles .topic-card {
    flex-basis: calc((100% - 1rem)/2);
  }
  .v2-editorial-articles #archivio-completo .grid-2 {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 620px) {
  body.page-topic.v2-editorial-articles .editorial-block > .grid-2 > .article-teaser {
    flex-basis: 100%;
    max-width: 100%;
  }
  body.v2-editorial-articles .hero-inner {
    padding: 3.5rem 1rem;
  }
  body.v2-editorial-articles .hero h1 {
    text-align: center !important;
  }
  .v2-articles-hero__copy {
    text-align: center;
  }
  .v2-articles-hero__stats,
  .v2-articles-hero__nav {
    justify-content: center;
  }
  .v2-editorial-note {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .v2-editorial-articles .topic-card {
    flex-basis: 100%;
    min-height: 0;
  }
  .article-hub-search__bar,
  .article-hub-result {
    grid-template-columns: 1fr;
  }
  .article-hub-search__bar button {
    width: 100%;
  }
  .article-hub-result__links {
    justify-content: flex-start;
  }
  .v2-editorial-articles .editorial-hub .section-heading-row {
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  body.v2-editorial-articles .v3-foundational-hub {
    padding: 3.4rem 1rem;
  }
  body.v2-editorial-articles .v3-foundational-grid {
    grid-template-columns: 1fr;
  }
}
