/*
 Theme Name:   Bootscore Child
 Description:  Bootscore Child Theme
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0
 Requires at least: 5.0
 Tested up to: 6.6
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/* 
All style editing is done via /assets/scss/_bootscore_custom.scss
*/

/*
Theme Name: bootscore Child
Template: bootscore
Description: Tema child per Bootscore
Author: [il tuo nome o azienda]
Version: 1.0
*/

/* === Font setup === */

/* Titoli e heading */
h1, h2, h3, h4, h5, h6,
.entry-title,
.site-title {
    font-family: 'Libre Baskerville', serif;
}

/* Testo, paragrafi, menu, interfaccia */
body,
p,
a,
button,
input,
textarea,
.navbar,
.footer,
small {
    font-family: 'Lato', sans-serif;
}

ul#bootscore-navbar {
    text-transform: uppercase;
}

:root{
      --color-primary:#0e2a39; /* colore testo logo, adattabile */
      --accent:#1f6f8b;
    }


    /* Wrapper per il logo (link) */
    .logo{
      display:flex;
      align-items:center;
      gap:12px;
      text-decoration:none;
      color:var(--color-primary);
    }

    /* piccolo simbolo SVG / mark */
    .logo__mark{
      width:46px;
      height:46px;
      flex:0 0 46px;
    }

    /* Testo del logo su due righe (stile serif come mockup) */
    .logo__text{
      display:flex;
      flex-direction:column;
      line-height:1;
      font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    }

    .logo__line--small{
      letter-spacing:1.6px;
      text-transform:uppercase;
      font-weight:400;
      color:var(--color-primary);
      opacity:.9;
      margin-bottom:6px;
    }

    .logo__line--big{
      font-weight:700;
      letter-spacing:1px;
	  text-transform: uppercase;
    }

    /* Alternativa: versione compatta per schermi piccoli */
    @media (max-width:480px){
      .logo__mark{ width:40px; height:40px; }
      .logo__line--small{ font-size:10px; }
      .logo__line--big{ font-size:16px; }
    }

.hero, .indicators-methodology {
    background: #ecfcff !important;
}


    /* === HERO CONTAINER === */
    .hero {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;
      min-height: 400px;
      background-color: #f9fbfc;

      /* 👉 Qui puoi cambiare o caricare l’immagine di sfondo */
      background-image: url('/wp-content/uploads/2025/10/bg-hero7.png') !important;
      background-repeat: no-repeat;
      background-size: contain;
      background-position: right center;
      overflow: hidden;
    }

    /* Layer semitrasparente opzionale (per migliorare contrasto testo) */
    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 1;
    }

    /* === TESTO HERO === */
    .hero__content {
      position: relative;
      z-index: 2;
      max-width: 580px;
    }

    .hero__title {
      font-family: "Playfair Display", serif;
      font-size: 2.2rem;
      line-height: 1.3;
      color: var(--color-primary);
      margin-bottom: 20px;
    }

    .hero__text {
      font-size: 1.05rem;
      color: #444;
      margin-bottom: 32px;
    }

    .hero__btn {
      background: var(--color-accent);
      color: #fff;
      font-weight: 600;
      text-decoration: none;
      padding: 12px 28px;
      border-radius: 4px;
      transition: background 0.2s;
    }

    .hero__btn:hover {
      background: #1c5d84;
    }

    /* === RESPONSIVE === */
    @media (max-width: 900px) {
      .hero {
        background-position: center bottom;
        background-size: 400px;
        text-align: center;
        align-items: center;
        padding: 80px 6%;
      }

      .hero__content {
        max-width: 100%;
      }
    }

.dashicons, .dashicons-before:before {
	width: auto !important;
	height: auto !important;
}

.hero-page-title {
  position: relative;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;
      min-height: 40vh;
      background-color: #f9fbfc;

      /* 👉 Qui puoi cambiare o caricare l’immagine di sfondo */
	  background-color: #ecfcff !important;
      background-repeat: no-repeat;
      background-size: contain;
      background-position: right center;
      overflow: hidden;
}

.custom-red {
    color: #97131f !important;
}

blockquote {
  border-left: 4px solid #ccc;
  margin: 1.5rem 0;
  padding-left: 1rem;
  color: #555;
  font-style: italic;
  background: #f9f9f9;
}

blockquote p {
  margin-bottom: 0;
}

blockquote strong {
  color: #000;
}

/* Sidebar elegante numerata */
.custom-sidebar {
  position: sticky;
  top: 90px;
  align-self: flex-start;
}

.sidebar-nav {
  background: #fff;
  border-radius: 10px;
}

.sidebar-nav .card-body {
  padding: 1.5rem;
}

.sidebar-menu .nav-link {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: #444;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  line-height: 1.4;
}

.sidebar-menu .menu-number {
  flex-shrink: 0;
  min-width: 24px;
  text-align: right;
  color: #999;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-top: 0.15rem;
}

.sidebar-menu .nav-link:hover {
  background: #f8f9fa;
  color: #0d6efd;
  transform: translateX(4px);
}

.sidebar-menu .nav-link.active {
  background: #0d6efd;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(13, 110, 253, 0.25);
}

.sidebar-menu .nav-link.active .menu-number {
  color: #fff;
}

/* Offcanvas laterale (Bootscore style) */
.offcanvas-start {
  width: 280px;
  border-right: 1px solid #ddd;
  background-color: #fff;
}

.offcanvas-header {
  border-bottom: 1px solid #eee;
}

.offcanvas-body {
  padding: 1.25rem;
}

.offcanvas-body .sidebar-menu .nav-link {
  font-size: 1rem;
}
