/* ==========================================================================
   pages/professione-pedagogista.css
   Eccezioni della pagina professione pedagogista.
   Caricato da 1 pagina.
   ========================================================================== */

main {
  margin: 24px auto;
  padding: 0 16px;
}

.cta-box-section {
  background: var(--blu-notte);
  text-align: center;
}

.cta-box {
  margin: 0 auto;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-box h2 {
  color: #fff;
  font-family: "Cormorant Garamond",Georgia,serif;
}

.cta-box p {
  margin: 0 auto;
}

.cta-box__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.cta-box__actions .btn-w {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  font-weight: 800;
  text-decoration: none;
  box-sizing: border-box;
  line-height: 1;
  white-space: nowrap;
}

.cta-box__actions .btn-w {
  background: #fff;
  color: var(--blu-notte);
  border: 2px solid #fff;
}

section[aria-label="Approfondimenti correlati"] .rel-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: .45rem;
  height: 100%;
}

section[aria-label="Approfondimenti correlati"] .rel-card span:last-child {
  margin-top: auto;
}

.book-store-preview .btn-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 46px;
  padding: .8rem 1.5rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(10,22,40,.12);
  font-family: var(--font-corpo);
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .15s ease,box-shadow .15s ease,filter .15s ease;
}

.book-store-preview .btn-store:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  filter: saturate(1.05);
  text-decoration: none;
}

.book-store-preview {
  scroll-margin-top: 150px;
}

.book-store-kicker {
  margin: 0 0 .35rem;
  color: var(--blu-accent);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.book-store-lead {
  color: #334155;
  margin: .25rem 0 1rem;
}

.book-store-hub-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid #dce4ee;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}

.book-store-hub-callout strong {
  display: block;
  color: var(--blu-notte);
  margin-bottom: .25rem;
}

.book-store-hub-callout span {
  display: block;
  color: #4b5563;
  line-height: 1.6;
  max-width: 62ch;
}

.book-store-note {
  margin: 1rem 0 0;
}

.page-professione-pedagogista .professione-use-panel h3,
.page-professione-pedagogista .professione-store-preview h3 {
  font-family: "Cormorant Garamond",Georgia,serif;
  color: var(--blu-notte);
}

.page-professione-pedagogista .professione-section-lead {
  margin: .25rem 0 1.15rem;
  color: #40536b;
}

.page-professione-pedagogista .professione-use-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1rem;
  max-width: 820px;
  margin: 1rem auto 0;
}

.page-professione-pedagogista .professione-use-card {
  position: relative;
  min-height: 150px;
  padding: 1.35rem 1.25rem 1.25rem;
  border: 1px solid rgba(44,80,128,.16);
  border-radius: var(--r-lg);
  background: linear-gradient(145deg,#ffffff 0%,#eef4fb 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.page-professione-pedagogista .professione-use-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg,var(--oro),var(--blu-accent));
}

.page-professione-pedagogista .professione-card-kicker {
  display: block;
  margin: 0 0 .45rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.page-professione-pedagogista .professione-use-card strong {
  display: block;
  margin: 0 0 .45rem;
  color: var(--blu-notte);
  font-size: 1.08rem;
  line-height: 1.25;
}

.page-professione-pedagogista .professione-use-card p {
  margin: 0;
  color: #40536b;
}

.page-professione-pedagogista .professione-use-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .85rem;
  margin-top: 1.35rem;
}

.page-professione-pedagogista .professione-use-cta .btn-w,
.page-professione-pedagogista .professione-use-cta .btn-o {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .8rem 1.5rem;
  border-radius: var(--r-pill);
  font-weight: 800;
  text-decoration: none;
}

.page-professione-pedagogista .professione-store-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 1rem;
  margin: 1.2rem 0;
}

.page-professione-pedagogista .professione-store-card {
  padding: 1.25rem;
  border: 1px solid #dce4ee;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.page-professione-pedagogista .professione-store-card-primary {
  background: linear-gradient(145deg,var(--blu-notte) 0%,#173f64 100%);
  color: #fff;
  border-color: rgba(255,255,255,.18);
}

.page-professione-pedagogista .professione-store-card h4 {
  margin: .1rem 0 .55rem;
  font-family: "Cormorant Garamond",Georgia,serif;
  color: var(--blu-notte);
}

.page-professione-pedagogista .professione-store-card-primary h4,
.page-professione-pedagogista .professione-store-card-primary p {
  color: #fff;
}

.page-professione-pedagogista .professione-store-card-primary .book-store-kicker {
  color: #f1d88d;
}

.page-professione-pedagogista .professione-store-card p:not(.book-store-kicker) {
  color: #4b5563;
  margin: .25rem 0 1rem;
}

.page-professione-pedagogista .professione-store-card-primary p:not(.book-store-kicker) {
  color: rgba(255,255,255,.9);
}

.page-professione-pedagogista .professione-store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: .9rem;
}

.page-professione-pedagogista .professione-store-actions .btn-store {
  min-width: 150px;
}

.page-professione-pedagogista .professione-store-hub-callout {
  background: #eef4fb;
  border-color: #ccd9e8;
}

.rel-card.store-card-link:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  border-color: #2c5080;
}

.btn-store.store-piccin,
.btn-store.store-piccin:hover,
.btn-store.store-piccin:focus-visible {
  background: #3f5f8f;
  color: #fff;
}

.btn-store.store-amazon,
.btn-store.store-amazon:hover,
.btn-store.store-amazon:focus-visible {
  background: #ff9900;
}

.btn-store.store-ibs,
.btn-store.store-ibs:hover,
.btn-store.store-ibs:focus-visible {
  background: #0060a0;
  color: #fff;
}

.btn-store.store-fel,
.btn-store.store-fel:hover,
.btn-store.store-fel:focus-visible {
  background: #c0001f;
  color: #fff;
}

.btn-store.store-hoepli,
.btn-store.store-hoepli:hover,
.btn-store.store-hoepli:focus-visible {
  background: #1b3f8b;
  color: #fff;
}

.btn-store.store-libraccio,
.btn-store.store-libraccio:hover,
.btn-store.store-libraccio:focus-visible {
  background: #7a4a24;
  color: #fff;
}

.btn-store.store-unilibro,
.btn-store.store-unilibro:hover,
.btn-store.store-unilibro:focus-visible {
  background: #073b75;
  color: #fff;
}

.btn-store.store-ubik,
.btn-store.store-ubik:hover,
.btn-store.store-ubik:focus-visible {
  background: #0f766e;
  color: #fff;
}

@media (max-width: 640px) {
  .page-professione-pedagogista .professione-use-grid {
    grid-template-columns: 1fr;
  }
  .cta-box {
    padding: 24px 18px;
  }
  .cta-box__actions {
    flex-direction: column;
  }
  .cta-box__actions .btn-w {
    width: 100%;
    max-width: 320px;
  }
  .book-store-hub-callout {
    align-items: stretch;
  }
  .page-professione-pedagogista .professione-use-cta .btn-w,
  .page-professione-pedagogista .professione-use-cta .btn-o {
    width: 100%;
  }
}

/* R5.47: keep the three cover actions on one row at narrow tablet widths; hero system unchanged. */
@media (min-width: 701px) and (max-width: 800px) { body.page-professione-pedagogista .v2-book-cover__actions a { padding-inline: 12px; } }
@media (min-width: 701px) and (max-width: 767px) {
  body.page-professione-pedagogista .v2-book-cover__actions { column-gap: 6px; }
  body.page-professione-pedagogista .v2-book-cover__actions a { padding-inline: 3px; }
}
