/*
 * Globals
 */


/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #c2591d;
  text-shadow: none; /* Prevent inheritance from `body` */
}


/*
 * Base structure
 */

 /*
body {
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
  
}
*/
.cover-container {
  max-width: 42em;
}


/*
 * Header
 */

.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  background-color: transparent;
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}


/**
  pnautica
*/

.bg-pnautica {
  background-color: #c2591d;
}

.bg-pnautica-1 {
  background-color: #e4b695;
}

.bg-pnautica-2 {
  background-color: #ebceb3;
}

.bg-pnautica-3 {
  background-color: #f6e5d1;
}

.bg-pnautica-4 {
  background-color: #fffdef;
}

.text-white-muted {
  color: rgba(255, 255, 255, 0.85) !important;
}


/*
 * Trustpilot testimonial cards (riusate su home, /libro/, /quizbase/, /quizvela/, /carteggio-*)
 */
.tp-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 6px 18px rgba(0, 0, 0, .05);
  transition: transform .15s ease, box-shadow .15s ease;
}
.tp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .06), 0 10px 24px rgba(0, 0, 0, .07);
}
.tp-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .02em;
  flex-shrink: 0;
}
.tp-stars-mini { display: inline-flex; gap: 1px; margin-top: 3px; }
.tp-stars-mini > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px; height: 16px;
  background: #00B67A;
}
.tp-stars-mini > span svg { width: 10px; height: 10px; fill: #fff; }
.tp-quote {
  font-size: 1rem;
  line-height: 1.55;
  color: #222;
  margin-bottom: 1rem;
}
.tp-source {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  color: #6c757d;
  margin-top: auto;
}