    /* --------------------------------------------------------------
    RESET DI BASE
    -------------------------------------------------------------- */

    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        margin: 0;
        padding: 0;
        font-family: "Helvetica Neue", Arial, sans-serif;
        font-size: 16px;
        line-height: 1.6;
        color: #222;
        background-color: #fff;
    }

    /* --------------------------------------------------------------
    TIPOGRAFIA
    -------------------------------------------------------------- */

    h1, h2, h3, h4, h5, h6 {
        font-weight: 600;
        line-height: 1.25;
        margin-top: 0;
        margin-bottom: 1rem;
        color: #2f5d62;
    }

    p {
        margin-top: 0;
        margin-bottom: 1.2rem;
        color:#444;
    }

    a {
        color: #5f8896;
        text-decoration: none;
    }

    a:hover {
        text-decoration: underline;
    }

    /* --------------------------------------------------------------
    IMMAGINI
    -------------------------------------------------------------- */

    img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    /* --------------------------------------------------------------
    LISTE
    -------------------------------------------------------------- */

    ul, ol {
        padding-left: 1.4rem;
        margin-top: 0;
        margin-bottom: 1.2rem;
    }

    /* --------------------------------------------------------------
    TABELLE
    -------------------------------------------------------------- */

    table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 1.5rem;
    }

    th, td {
        padding: 0.75rem;
        border: 1px solid #ddd;
    }

    th {
        background-color: #f8f9fa;
        font-weight: 600;
    }

    /* --------------------------------------------------------------
    FORM
    -------------------------------------------------------------- */

    input, textarea, select {
        font-family: inherit;
        font-size: 1rem;
        padding: 0.5rem;
        width: 100%;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    button {
        font-family: inherit;
    }

    /* --------------------------------------------------------------
    SPACING UTILITY (minimali)
    -------------------------------------------------------------- */

    .mt-0 { margin-top: 0 !important; }
    .mb-0 { margin-bottom: 0 !important; }
    .mt-1 { margin-top: .5rem !important; }
    .mb-1 { margin-bottom: .5rem !important; }
    .mt-2 { margin-top: 1rem !important; }
    .mb-2 { margin-bottom: 1rem !important; }
    .mt-3 { margin-top: 1.5rem !important; }
    .mb-3 { margin-bottom: 1.5rem !important; }

    /* --------------------------------------------------------------
    CONTENUTO WORDPRESS
    -------------------------------------------------------------- */


    .wp-block-quote {
        border-left: 4px solid #ccc;
        padding-left: 1rem;
        color: #555;
        margin: 1.5rem 0;
    }

    .alignwide {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    .alignfull {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    /* --------------------------------------------------------------
    HEADER E FOOTER (minimali)
    -------------------------------------------------------------- */

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

    footer {
      background-color: #669aff;
      color: white;
    }
    /* --------------------------------------------------------------
    Gutenberg Color Palette Support
    -------------------------------------------------------------- */

    .has-primary-color {
        color: #0d6efd !important;
    }

    .has-primary-background-color {
        background-color: #0d6efd !important;
    }

    .has-dark-color {
        color: #212529 !important;
    }

    .has-dark-background-color {
        background-color: #212529 !important;
    }

    .post-tags i {
        color: #6c757d;
        font-size: 1rem;
    }

    .post-tags .badge {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }

    .logo {
        height: 70px;
    }

    .nav-link {
        color: white;
    }

    /* HERO */
    .hero {
      position: relative;
      z-index: 1;
      min-height: 90vh;
      display: flex;
      align-items: center;
      color: white;
      background:
        linear-gradient(rgba(15,76,92,0.35), rgba(15,76,92,0.45)),
        url('/wp-content/themes/silviatheme/img/hero-home.webp');
      background-size: cover;
      background-position: center;
    }

    .hero h1 {
      font-size: 2.8rem;
      font-weight: 600;
    }

    .hero p {
      color: #dbe7f3;
    }

        /* BUTTON */
    .btn-primary {
      background: linear-gradient(135deg, #4da6ff, #1e88e5);
      border: none;
      border-radius: 8px;
      padding: 10px 24px;
    }

    /* CARD */
    .card {
      border: none;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0,0,0,0.05);
      transition: 0.3s;
    }

    .card:hover {
      transform: translateY(-6px);
      box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    }

    .card img {
      height: 220px;
      object-fit: cover;
    }

    .section-title {
      font-weight: 600;
      margin-bottom: 50px;
    }

    .bg-soft {
      background-color: #eef5fb;
    }

    /* Contenitore principale */
.pagination-wrapper .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px; /* Spazio tra i numeri */
}

/* Stile base per tutti i numeri e frecce */
.pagination-wrapper .page-numbers {
    position: relative;
    display: block;
    padding: 0.6rem 1rem;
    color: #333; /* Grigio scuro */
    text-decoration: none;
    background-color: #fff;
    transition: all 0.3s ease;
    font-weight: 500;
}

/* Effetto Hover */
.pagination-wrapper .page-numbers:hover {
    background-color: #f8f9fa;
    color: #5f8896;
}

/* Numero di pagina Corrente (Attivo) */
.pagination-wrapper .page-numbers.current {
    z-index: 3;
    color: #5f8896;
    font-weight: bold;
    cursor: default;

}

/* Stile per i puntini (...) */
.pagination-wrapper .page-numbers.dots {
    border: none;
    background: transparent;
    cursor: default;
}

/* Responsive: nascondi i bordi su schermi molto piccoli se necessario */
@media (max-width: 576px) {
    .pagination-wrapper .page-numbers {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }
}

    /* ============================
   BUTTON PRIMARY – CUSTOM STYLE
============================ */

.btn-primary {
    background-color: #2C2C2C !important;   /* colore di esempio */
    border-color: #2C2C2C !important;
    color: #FFFFFF !important;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.4rem;
    transition: all 0.25s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #F7BB50 !important;   /* variante hover */
    border-color: #F7BB50 !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

.btn-primary:active {
    background-color: #F7BB50 !important;   /* variante active */
    border-color: #F7BB50 !important;
    transform: translateY(0);
}

/* ============================
   BUTTON OUTLINE PRIMARY – CUSTOM STYLE
============================ */

.btn-outline-primary {
    color: #2C2C2C !important;          /* colore testo */
    border-color: #2C2C2C !important;   /* colore bordo */
    background-color: transparent !important;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.4rem;
    transition: all 0.25s ease;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: #FFFFFF !important;          /* colore testo hover */
    background-color: #2f5d62 !important; /* colore sfondo hover */
    border-color: #2f5d62 !important;
    transform: translateY(-2px);
}

.btn-outline-primary:active {
    color: #FFFFFF !important;
    background-color: #2f5d62 !important; /* variante active */
    border-color: #2f5d62 !important;
    transform: translateY(0);
}


    /* =========================
   CONTACT FORM 7 - MEDICAL STYLE
   Wrapper: .bootstrap.container
========================= */

.wpcf7 {
  max-width: 850px;
  margin: 0 auto;
  padding: 50px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

/* labels */
.wpcf7 label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #0f4c5c;
  margin-bottom: 10px;
  letter-spacing: .2px;
}

/* input + textarea + select */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid #d9e6ea;
  border-radius: 12px;
  background: #f8fbfc;
  font-size: 16px;
  color: #2f2f2f;
  transition: all .25s ease;
  outline: none;
  margin-top: 6px;
}

/* Checkbox CF7 */
.wpcf7 input[type="checkbox"]{
  width:auto !important;
  min-width:auto !important;
  display:inline-block;
  margin-right:10px;
  transform:scale(1.1);
}

/* focus */
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: #1d748b;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(29,116,139,.12);
}

/* textarea */
.wpcf7 textarea {
  min-height: 180px;
  resize: vertical;
}

/* placeholder */
.wpcf7 ::placeholder {
  color: #9aa8ad;
  font-size: 15px;
}

/* spacing between fields */
.wpcf7 p {
  margin-bottom: 24px;
}

/* submit button */
.wpcf7 input[type="submit"] {
  background: #0f4c5c;
  color: #fff;
  border: none;
  padding: 18px 42px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all .3s ease;
  box-shadow: 0 8px 20px rgba(15,76,92,.18);
}

.wpcf7 input[type="submit"]:hover {
  background: #1d748b;
  transform: translateY(-2px);
}

/* spinner */
.wpcf7-spinner {
  margin-left: 15px;
}

/* validation errors */
.wpcf7-not-valid-tip {
  color: #d93025;
  font-size: 13px;
  margin-top: 8px;
  font-weight: 500;
}

/* response output */
.wpcf7-response-output {
  margin: 30px 0 0 !important;
  padding: 16px 20px !important;
  border-radius: 12px;
  font-size: 15px;
  border: none !important;
}

.wpcf7 form.sent .wpcf7-response-output {
  background: #e7f7ef;
  color: #23754d;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
  background: #fff1f1;
  color: #c62828;
}

/* checkbox/radio */
.wpcf7-list-item {
  margin-left: 0;
  margin-right: 18px;
  color: #555;
}

/* mobile */
@media (max-width: 768px) {
  .wpcf7 {
    padding: 30px 24px;
  }

  .wpcf7 input[type="submit"] {
    width: 100%;
  }
}