      :root {
        --page: #080b12;
        --ink: #f8fafc;
        --muted: rgba(248, 250, 252, 0.6);
        --gold-soft: rgba(201, 168, 83, 0.18);
        --gold-border: rgba(201, 168, 83, 0.6);
        --panel: rgba(11, 15, 26, 0.72);
        --nav-silver: rgba(248, 250, 252, 0.55);

        /* colori playbook */
        --pb-travel-bg: rgba(13, 148, 136, 0.16);
        --pb-travel-border: rgba(13, 148, 136, 0.5);
        --pb-mar-bg: rgba(79, 70, 229, 0.16);
        --pb-mar-border: rgba(79, 70, 229, 0.55);
        --pb-intl-bg: rgba(190, 242, 100, 0.1);
        --pb-intl-border: rgba(190, 242, 100, 0.4);
      }
      * {
        box-sizing: border-box;
      }
      body {
        background: radial-gradient(circle at top, #0f172a 0, #080b12 47%, #05060b 100%);
        font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        margin: 0;
        color: var(--ink);
        font-size: 15px;
      }
      /* TOPBAR */
      .topbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: rgba(8, 11, 18, 0.3);
        backdrop-filter: blur(8px);
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 16px;
        gap: 12px;
        z-index: 90;
        transition: background 0.25s ease, box-shadow 0.25s ease;
      }
      body.sf-shrink .topbar {
        background: rgba(8, 11, 18, 0.92);
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
      }
      .brand {
        display: flex;
        align-items: center;
        gap: 10px;
      }
      .brand-lines {
        display: flex;
        flex-direction: column;
        line-height: 1;
      }
      .brand-lines > span:first-child {
        font-weight: 600;
        font-size: 0.85rem;
        color: #fff;
        transition: opacity 0.25s ease, transform 0.25s ease;
      }
      .brand-sub {
        font-size: 0.6rem;
        color: rgba(248, 250, 252, 0.45);
        font-weight: 400;
        margin-top: 3px;
      }
      .logo {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        transition: transform 0.25s ease;
      }
      .logo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      body.sf-shrink .logo {
        transform: scale(0.9);
      }
      .top-center {
        flex: 1;
        display: flex;
        justify-content: center;
      }
      .top-switch {
        display: flex;
        gap: 8px;
        background: rgba(255, 255, 255, 0.02);
        padding: 3px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.02);
      }
      .switch-btn {
        border: none;
        background: transparent;
        color: rgba(255, 255, 255, 0.45);
        font-size: 0.72rem;
        padding: 4px 12px;
        border-radius: 999px;
        cursor: pointer;
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 6px;
      }
      .nav-icon {
        width: 14px;
        height: 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
      }
      .nav-icon svg {
        width: 14px;
        height: 14px;
        stroke: rgba(248, 250, 252, 0.5);
      }
      .switch-btn.active {
        background: #fff;
        color: #0f172a;
        font-weight: 600;
      }
      .switch-btn.active .nav-icon svg {
        stroke: #0f172a;
      }
      .notif-badge {
        position: absolute;
        top: -6px;
        right: -6px;
        background: #ef4444;
        color: #fff;
        width: 16px;
        height: 16px;
        border-radius: 999px;
        font-size: 0.6rem;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        font-weight: 700;
        box-shadow: 0 0 0 2px rgba(8, 11, 18, 0.85);
      }
      .right-zone {
        display: flex;
        gap: 10px;
        align-items: center;
      }
      .lang-toggle {
        display: flex;
        gap: 4px;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 999px;
        padding: 2px 4px;
      }
      .lang-btn {
        border: none;
        background: transparent;
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.65rem;
        padding: 2px 8px;
        border-radius: 999px;
        cursor: pointer;
      }
      .lang-btn.active {
        background: #fff;
        color: #0f172a;
        font-weight: 600;
      }
      #userArea {
        display: flex;
        align-items: center;
        gap: 8px;
      }
      #userArea button {
        background: transparent;
        border: 1px solid rgba(201, 168, 83, 0.5);
        color: #fff;
        border-radius: 999px;
        padding: 5px 12px;
        font-size: 0.7rem;
        cursor: pointer;
      }

/* === TOPBAR: SIGN IN IN ALTO A DESTRA (MOBILE) === */
@media (max-width: 768px) {
  .topbar {
    padding-inline: 12px;
    gap: 8px;
  }

  /* nascondo lo switch centrale (Dashboard / Advisory…) su mobile
     così resta solo: brand a sx, lingua + sign in a dx */
  .top-center {
    display: none;
  }

  .right-zone {
    margin-left: auto;           /* spinge la right-zone tutto a destra */
    gap: 8px;
  }

  .lang-toggle {
    order: 1;
  }

  #userArea {
    order: 2;                    /* bottone Sign in sempre il più a destra */
  }

  #userArea button {
    background: transparent;
    border: 1px solid rgba(201, 168, 83, 0.7);
    color: #f9fafb;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 0.7rem;
    white-space: nowrap;
  }
}

/* --- FIX: mostra i selettori anche su mobile --- */
@media (max-width: 768px) {
  .topbar {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .top-center {
    display: flex !important;
    justify-content: center;
    width: 100%;
    order: 3; /* li mette sotto brand e right-zone */
  }

  .top-switch {
    display: inline-flex !important;
    justify-content: center;
    gap: 8px;
  }
}



      /* HERO IMG */
      .hero-strip {
        background-image: url("/studioflesca-hero.jpg");
        background-size: cover;
        background-position: center 18%;
        background-repeat: no-repeat;
        height: 310px;
        width: 100%;
        margin-top: 64px;
        position: relative;
        transition: height 1.25s ease, background-position 1.25s ease;
      }
      body.sf-shrink .hero-strip {
        height: 210px;
        background-position: center 10%;
      }
      .hero-strip::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(8, 11, 18, 0.02) 0%, rgba(8, 11, 18, 0.9) 100%);
      }

      .wrap {
        max-width: 1100px;
        margin: 0 auto;
        padding: 0 16px 80px;
      }

      /* HERO BOX */
      .hero {
        background: var(--panel);
        border: none;
        border-radius: 14px;
        padding: 26px 24px 20px;
        margin-top: 14px;
      }
      .hero h1 {
        font-size: 1.28rem;
        margin: 0;
        color: #fff;
      }
      .hero-sub {
        margin-top: 4px;
        font-size: 0.74rem;
        color: rgba(248, 250, 252, 0.65);
      }
      .hero p {
        font-size: 0.73rem;
        color: rgba(248, 250, 252, 0.6);
        margin: 10px 0 14px;
        line-height: 1.35;
      }
      .btn-primary {
        background: #0f172a;
        color: #fff;
        border: 2.5px solid #fff;
        border-radius: 999px;
        padding: 7px 14px;
        font-size: 0.75rem;
        font-weight: 900;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 8px;
      }
      /* CTA animation */
      .btn-primary.cta-pulse {
        position: relative;
        overflow: hidden;
        animation: ctaBreath 3.2s ease-in-out infinite;
      }
      .btn-primary.cta-pulse::after {
        content: "";
        position: absolute;
        top: -40%;
        left: -80%;
        width: 60%;
        height: 180%;
        background: linear-gradient(
          120deg,
          rgba(255, 255, 255, 0) 0%,
          rgba(255, 255, 255, 0.42) 45%,
          rgba(255, 255, 255, 0) 100%
        );
        transform: skewX(-20deg);
        animation: ctaSweep 3.2s ease-in-out infinite;
      }
      @keyframes ctaSweep {
        0% {
          left: -80%;
        }
        35% {
          left: 140%;
        }
        100% {
          left: 140%;
        }
      }
      @keyframes ctaBreath {
        0%,
        100% {
          box-shadow: 0 0 0 rgba(201, 168, 83, 0);
        }
        40% {
          box-shadow: 0 0 14px rgba(255, 255, 255, 0.22);
        }
      }

      /* SECTIONS */
      .section-block {
        margin-top: 98px;
        padding: 0 4px 0;
      }
      .section-block + .section-block {
        margin-top: 118px;
      }
      .section-title {
        font-weight: 650;
        font-size: 0.95rem;
        margin-bottom: 10px;
        color: #fff;
      }
      .section-sep {
        height: 1px;
        background: rgba(248, 250, 252, 0.02);
        margin: 0 0 14px;
      }

      /* OPS GRID */
      .ops-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
        column-gap: 20px;
        row-gap: 32px;
      }
      .ops-box {
        background: radial-gradient(circle at top, rgba(44, 41, 79, 0.16), rgba(7, 8, 13, 0.5));
        border: 1px solid rgba(148, 163, 184, 0.1);
        border-radius: 10px;
        padding: 10px 13px 12px;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
        position: relative;
        overflow: hidden;
        transition: transform 0.18s ease-out, border-color 0.18s ease-out;
      }
      .ops-box::after {
        content: "";
        position: absolute;
        inset: -140% -50%;
        background: linear-gradient(
          120deg,
          rgba(255, 255, 255, 0) 25%,
          rgba(201, 168, 83, 0.6) 50%,
          rgba(255, 255, 255, 0) 75%
        );
        transform: translateX(-65%);
        opacity: 0;
      }
      .ops-box:hover::after {
        opacity: 1;
        transform: translateX(65%);
        transition: transform 0.9s ease, opacity 0.1s ease;
      }
      .ops-box:hover {
        transform: translateY(-2px);
        border-color: rgba(201, 168, 83, 0.4);
      }
      .ops-badge {
        display: inline-block;
        background: var(--gold-soft);
        border: 1px solid var(--gold-border);
        color: #fff;
        font-size: 0.58rem;
        font-weight: 600;
        border-radius: 999px;
        padding: 3px 11px 3px;
        margin-bottom: 15px;
      }
      .ops-box h3 {
        margin: 0 0 8px;
        font-size: 0.8rem;
        line-height: 1.15;
        color: #fff;
      }
      .ops-box p {
        margin: 0;
        font-size: 0.68rem;
        color: rgba(226, 232, 240, 0.37);
        transition: color 0.12s ease-out;
      }
      .ops-box:hover p {
        color: rgba(255, 255, 255, 0.92);
      }

      /* VALUES */
      .values-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 16px;
      }
      .value-box {
        background: rgba(11, 15, 26, 0.45);
        border: 1px solid rgba(248, 250, 252, 0.01);
        border-radius: 10px;
        padding: 10px 12px 10px;
        display: flex;
        gap: 10px;
        align-items: center;
        transition: background 0.14s ease-out, transform 0.14s ease-out;
      }
      .value-box:hover {
        background: rgba(11, 15, 26, 0.8);
        transform: translateY(-2px);
      }
      .value-icon {
        width: 30px;
        height: 30px;
        border-radius: 999px;
        background: rgba(248, 250, 252, 0.03);
        border: 1px solid rgba(248, 250, 252, 0.12);
        display: flex;
        align-items: center;
        justify-content: center;
        animation: heartbeat 1.8s ease-in-out infinite;
      }
      .value-svg {
        width: 16px;
        height: 16px;
        stroke: #fff;
        stroke-width: 1.4;
        fill: none;
        stroke-linecap: round;
        stroke-linejoin: round;
      }
      .value-content h4 {
        margin: 0;
        font-size: 0.74rem;
        color: #fff;
      }
      @keyframes heartbeat {
        0%,
        100% {
          transform: scale(1);
        }
        30% {
          transform: scale(1.18);
        }
        55% {
          transform: scale(1.05);
        }
      }

      /* TEAM */
      .team-shell {
        position: relative;
        display: flex;
        gap: 18px;
        align-items: flex-start;
        min-height: 280px;
      }
      .team-tabs {
        flex: 0 0 210px;
        display: flex;
        flex-direction: column;
        gap: 10px;
      }
      .team-tab {
        background: rgba(11, 15, 26, 0.25);
        border: 1px solid rgba(248, 250, 252, 0.02);
        border-radius: 12px;
        padding: 10px 10px 10px 12px;
        min-height: 78px;
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        transition: border 0.12s ease, background 0.12s ease;
        position: relative;
        z-index: 2;
      }
      .team-tab .role-pill {
        width: fit-content;
        padding: 2px 10px 2px;
        border-radius: 999px;
        font-size: 0.57rem;
        letter-spacing: 0.05em;
        text-transform: uppercase;
      }
      .team-tab.partner .role-pill {
        background: rgba(201, 168, 83, 0.12);
        border: 1px solid rgba(201, 168, 83, 0.4);
        color: #fffced;
      }
      .team-tab.associate .role-pill {
        background: rgba(203, 213, 225, 0.08);
        border: 1px solid rgba(203, 213, 225, 0.45);
        color: #e2e8f0;
      }
      .team-tab.light {
        min-height: 58px;
      }
      .team-tab.light .role-pill {
        background: rgba(203, 213, 225, 0.08);
        border: 1px solid rgba(203, 213, 225, 0.45);
        color: #e2e8f0;
      }
      .team-tab .name {
        font-size: 0.74rem;
        color: #fff;
      }
      .team-tab .hint {
        font-size: 0.62rem;
        color: rgba(226, 232, 240, 0.5);
      }
      .team-tab.active {
        background: rgba(15, 23, 42, 0.35);
        border: 2px solid rgba(201, 168, 83, 0.8);
      }
      .team-tab.active .name {
        font-weight: 700;
      }
      /* freccia oro tra tab e box */
      .team-tab.active::after {
        content: "";
        position: absolute;
        top: 50%;
        right: -16px;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-top: 11px solid transparent;
        border-bottom: 11px solid transparent;
        border-left: 13px solid rgba(201, 168, 83, 0.9);
        pointer-events: none;
      }

      .team-detail {
        position: absolute;
        top: 0;
        left: 228px;
        right: 0;
        background: radial-gradient(circle at top, rgba(15, 23, 42, 0.45), rgba(8, 11, 18, 0.45));
        border: 1px solid rgba(201, 168, 83, 0.38);
        border-radius: 14px;
        padding: 14px 14px 14px;
        overflow: hidden;
        z-index: 1;
      }
      .team-detail-inner {
        height: 100%;
        overflow-y: auto;
      }
      .team-detail-name {
        margin: 0 0 4px;
        font-size: 0.86rem;
        color: #fff;
      }
      .team-detail-title {
        margin: 0 0 6px;
        font-size: 0.68rem;
        color: rgba(248, 250, 252, 0.6);
      }
      .team-detail-text {
        margin: 0;
        font-size: 0.67rem;
        line-height: 1.45;
        color: rgba(248, 250, 252, 0.7);
      }
      .team-placeholder {
        color: rgba(248, 250, 252, 0.35);
        font-size: 0.66rem;
      }

      /* CONTACTS */
      .contact-block {
        margin-top: 118px;
        background: rgba(11, 15, 26, 0.6);
        border: 1px solid rgba(248, 250, 252, 0.03);
        border-radius: 12px;
        padding: 14px 14px 16px;
      }
      .contact-title {
        font-weight: 650;
        font-size: 0.95rem;
        margin-bottom: 10px;
        color: #fff;
      }
      .contact-flex {
        display: flex;
        gap: 24px;
      }
      .map-col {
        flex: 0 0 240px;
        max-width: 240px;
      }
      .map-frame {
        width: 100%;
        height: 190px;
        border: 0;
        border-radius: 8px;
        overflow: hidden;
      }
      .contact-col {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        gap: 6px;
      }
      .contact-item {
        font-size: 0.66rem;
        color: rgba(226, 232, 240, 0.65);
      }

      /* DASHBOARD */
      #dashboardView {
        display: none;
      }
      .cards-header {
        margin-top: 20px;
        display: flex;
        justify-content: space-between;
        gap: 14px;
        align-items: center;
        padding: 0 4px;
      }
          .filters {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
      }

      .filters-access {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
      }

	  
	  .filters-access {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
      .filter-btn {
        border: 1px solid rgba(148, 163, 184, 0.35);
        background: #f8fafc;
        color: #0f172a;
        border-radius: 999px;
        padding: 4px 14px;
        font-size: 0.68rem;
        cursor: pointer;
      }
	  
	  /* Filtro "All" (topics) – colore dedicato */
.filter-btn[data-filter="all"] {
  background: rgba(15, 23, 42, 0.18);        /* sfondo scuro soft */
  border-color: rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

/* Filtro "All contents" (access) – colore dedicato */
.access-btn[data-access="all"] {
  background: rgba(15, 23, 42, 0.18);
  border-color: rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}


/* Tutti i filtri selezionati (topic + access) vanno in grassetto */
.filter-btn.active {
  font-weight: 700;
}

	  


	  
	        /* Access filters – stile come le pill nelle card */

      .access-btn[data-access="free"] {
        background: rgba(22, 163, 74, 0.12);            /* come access-pill.free */
        border-color: rgba(34, 197, 94, 0.5);
        color: #dcfce7;
      }
      .access-btn[data-access="free"].active {
        background: rgba(22, 163, 74, 0.5);
        border-color: rgba(34, 197, 94, 0.9);
        color: #f0fdf4;
      }


      .access-btn[data-access="premium"] {
        background: rgba(201, 168, 83, 0.22);          /* come access-pill.premium */
        border-color: rgba(201, 168, 83, 0.65);
        color: #fff;
      }
      .access-btn[data-access="premium"].active {
        background: rgba(201, 168, 83, 0.45);
        border-color: rgba(234, 179, 8, 0.9);
        color: #fefce8;
      }

  .access-btn[data-access="owned"] {
  background: rgba(59, 130, 246, 0.14);      /* blu soft */
  border-color: rgba(59, 130, 246, 0.6);
  color: #dbeafe;
}

.access-btn[data-access="owned"].active {
  background: rgba(37, 99, 235, 0.8);        /* blu più pieno quando attivo */
  border-color: rgba(59, 130, 246, 0.95);
  color: #eff6ff;
}


      .filter-btn[data-filter="cruises"] {
        background: rgba(13, 148, 136, 0.12);
        border-color: rgba(13, 148, 136, 0.25);
        color: #ecfdf5;
      }
      .filter-btn[data-filter="maritime"] {
        background: rgba(79, 70, 229, 0.12);
        border-color: rgba(79, 70, 229, 0.35);
        color: #e0e7ff;
      }
      .filter-btn[data-filter="intl"] {
        background: rgba(190, 242, 100, 0.12);
        border-color: rgba(190, 242, 100, 0.35);
        color: #ecfccb;
      }
      .filter-btn[data-filter="cruises"].active {
        background: rgba(13, 148, 136, 0.5);
        color: #fff;
      }
      .filter-btn[data-filter="maritime"].active {
        background: rgba(79, 70, 229, 0.6);
        color: #fff;
      }
      .filter-btn[data-filter="intl"].active {
        background: rgba(190, 242, 100, 0.5);
        color: #0f172a;
      }
	  
	        .dash-layout {
        margin-top: 16px;
        display: flex;
        gap: 20px;
        align-items: flex-start;
      }

      .dash-filters {
        flex: 0 0 230px;
        max-width: 230px;
        padding-right: 18px;
        border-right: 1px solid rgba(148, 163, 184, 0.25); /* riga leggera di separazione */
      }

      .dash-main {
        flex: 1 1 auto;
      }

        .filters-block {
        margin-bottom: 20px;
      }

      /* il secondo blocco (Access) un filo più basso */
      .filters-block + .filters-block {
        margin-top: 10px;
      }

      .filters-title {
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: rgba(148, 163, 184, 0.9);
        margin-bottom: 10px; /* più spazio tra "Topics"/"Access" e le pill */
      }

	  
	  
           .cards {
        margin-top: 4px;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 card per riga */
        gap: 18px;
        padding: 0 4px 0;
        min-height: 360px;
      }

      .card {
        border-radius: 14px;
        /* light: bordi silver, non oro */
        border: 1px solid rgba(148, 163, 184, 0.35);
        background: linear-gradient(
          120deg,
          rgba(3, 6, 15, 1) 5%,
          rgba(9, 17, 30, 0.9) 45%,
          rgba(224, 231, 238, 0.35) 100%
        );
        box-shadow: 0 18px 28px rgba(0, 0, 0, 0.22);
        padding: 22px 14px 14px;
        position: relative;
        overflow: hidden;
        min-height: 220px;
        cursor: pointer;
        transition: border 0.12s ease, transform 0.12s ease, box-shadow 0.12s ease;
        color: #fff;
      }
      .card:hover {
        border: 1px solid rgba(148, 163, 184, 0.9);
        transform: translateY(-2px);
        box-shadow: 0 20px 35px rgba(0, 0, 0, 0.33);
      }
	  
	  
	  
    .card-labels {
  position: absolute;
  top: 9px;
  left: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.card-label-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-id {
  background: rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.26);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 2px 10px;
}

.access-pill {
  font-size: 0.58rem;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.lang-pill {
  font-size: 0.58rem;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 600;
  background: rgba(148, 163, 184, 0.15);
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
}

      .card-id.travel {
        background: var(--pb-travel-bg);
        border-color: var(--pb-travel-border);
        color: #ecfdf5;
      }
      .card-id.maritime {
        background: var(--pb-mar-bg);
        border-color: var(--pb-mar-border);
        color: #e0e7ff;
      }
      .card-id.intl {
        background: var(--pb-intl-bg);
        border-color: var(--pb-intl-border);
        color: #ecfccb;
      }
  
      .access-pill.free {
        background: rgba(22, 163, 74, 0.12);
        color: #dcfce7;
        border: 1px solid rgba(34, 197, 94, 0.5);
      }
      .access-pill.owned {
        background: rgba(34, 197, 94, 0.18);
        color: #dcfce7;
        border: 1px solid rgba(34, 197, 94, 0.7);
      }
      .access-pill.premium {
        background: rgba(201, 168, 83, 0.22);
        color: #fff;
        border: 1px solid rgba(201, 168, 83, 0.65);
      }
      .card h3 {
        margin: 40px 0 6px;
        font-size: 0.78rem;
        color: #fff;
      }
      .card p {
        font-size: 0.67rem;
        line-height: 1.35;
        color: rgba(226, 232, 240, 0.75);
      }
      .card.card-empty {
        visibility: hidden;
        pointer-events: none;
      }
      .cards-pagination {
        margin-top: 14px;
        display: flex;
        gap: 6px;
        justify-content: center;
      }
      .cards-page-dot {
        width: 9px;
        height: 9px;
        border-radius: 999px;
        background: rgba(248, 250, 252, 0.12);
        border: 1px solid rgba(248, 250, 252, 0.4);
        cursor: pointer;
      }
      .cards-page-dot.active {
        background: #f8fafc;
        border-color: #f8fafc;
        width: 20px;
      }

      /* MODALS */
      .modal-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(5, 6, 11, 0.6);
        display: none;
        align-items: center;
        justify-content: center;
        padding: 20px;
        z-index: 110;
      }
      .modal {
        background: #0f172a;
        max-width: 480px;
        width: 100%;
        border-radius: 14px;
        border: 1px solid rgba(201, 168, 83, 0.15);
        overflow: hidden;
      }
      .modal-header {
        padding: 10px 14px;
        background: #0f172a;
        color: #fff;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid rgba(248, 250, 252, 0.06);
      }
      .modal-brand {
        display: flex;
        align-items: center;
        gap: 10px;
      }
      .modal-brand-logo img {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        object-fit: cover;
      }
      .modal-brand-texts {
        line-height: 1.05;
      }
      .modal-brand-name {
        font-weight: 600;
        font-size: 0.78rem;
      }
      .modal-brand-sub {
        font-size: 0.58rem;
        color: rgba(248, 250, 252, 0.55);
      }
      .modal-body {
        padding: 14px 14px 18px;
        max-height: 60vh;
        overflow-y: auto;
        color: rgba(226, 232, 240, 0.85);
      }
      .close-btn {
        background: transparent;
        border: none;
        color: #fff;
        font-size: 1.2rem;
        cursor: pointer;
      }
      .modal-cardhead {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 4px;
        border: 1.2px solid rgba(248, 250, 252, 0.45);
        background: radial-gradient(circle at top, rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0));
        border-radius: 12px;
        padding: 10px 12px 12px;
        margin-bottom: 10px;
        overflow: hidden;
      }
      .modal-cardhead::after {
        content: "";
        position: absolute;
        top: -40%;
        left: -60%;
        width: 40%;
        height: 180%;
        background: linear-gradient(
          115deg,
          rgba(255, 255, 255, 0) 0%,
          rgba(255, 255, 255, 0.42) 45%,
          rgba(255, 255, 255, 0) 100%
        );
        transform: skewX(-18deg);
        animation: modalSweep 3.4s ease-in-out infinite;
        pointer-events: none;
        opacity: 0.85;
      }
      @keyframes modalSweep {
        0% {
          left: -60%;
        }
        35% {
          left: 130%;
        }
        100% {
          left: 130%;
        }
      }
      .modal-code {
        font-size: 0.63rem;
        letter-spacing: 0.03em;
        color: rgba(248, 250, 252, 0.62);
      }
      .modal-cardtitle {
        font-size: 0.84rem;
        font-weight: 700;
        color: #fff;
      }
      .modal-info-line {
        font-size: 0.67rem;
        color: rgba(248, 250, 252, 0.8);
        margin-top: 2px;
      }

/* --- TOAST GLOBALI STUDIO FLESCA --- */
.sf-toast-container {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none; /* i click passano sotto, tranne sul toast stesso */
}

.sf-toast {
  min-width: 260px;
  max-width: 420px;
  background: rgba(8, 11, 18, 0.98);
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65);
  padding: 10px 12px 9px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  pointer-events: auto;
  animation: sf-toast-in 0.22s ease-out;
}

.sf-toast-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.95);
}

.sf-toast-success .sf-toast-icon {
  background: #22c55e;
  color: #020617;
}

.sf-toast-error .sf-toast-icon {
  background: #ef4444;
  color: #020617;
}

.sf-toast-info .sf-toast-icon {
  background: #0ea5e9;
  color: #020617;
}

.sf-toast-main {
  flex: 1 1 auto;
  font-size: 0.78rem;
  color: #e5e7eb;
}

.sf-toast-title {
  font-weight: 600;
  margin-bottom: 2px;
  font-size: 0.78rem;
}

.sf-toast-body {
  font-size: 0.74rem;
  line-height: 1.4;
}

.toast-line-main {
  margin: 0;
}

.toast-line-sub {
  margin: 0;
  opacity: 0.78;
  font-size: 0.7rem;
}

/* Animazioni */
@keyframes sf-toast-in {
  from {
    opacity: 0;
    transform: translateY(10px) translateX(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) translateX(0);
  }
}

.sf-toast-hide {
  animation: sf-toast-out 0.18s ease-in forwards;
}

@keyframes sf-toast-out {
  from {
    opacity: 1;
    transform: translateY(0) translateX(0);
  }
  to {
    opacity: 0;
    transform: translateY(8px) translateX(4px);
  }
}

/* mobile: porto il toast un po' più al centro */
@media (max-width: 640px) {
  .sf-toast-container {
    right: 12px;
    left: 12px;
    bottom: 12px;
    align-items: flex-end;
  }
  .sf-toast {
    width: 100%;
  }
}


/* ===========================
   DASHBOARD – MOBILE FIX
   =========================== */
@media (max-width: 768px) {

  /* Evita overflow orizzontale */
  #dashboardView {
    padding-inline: 10px;
  }

  /* Header (titolo + filtri/ricerca) in colonna */
  .cards-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  /* Layout principale: filtri sopra, card sotto */
  .dash-layout {
    flex-direction: column;         /* prima era row */
    align-items: stretch;
    gap: 16px;
  }

  .dash-filters {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
    padding-right: 0;
    padding-bottom: 10px;
    border-right: none;             /* niente colonna separata */
    border-bottom: 1px solid rgba(148, 163, 184, 0.25); /* separatore orizzontale */
  }

  .dash-main {
    flex: 1 1 auto;
    width: 100%;
  }

  /* Le pill dei filtri vanno a capo senza stringere troppo */
  .filters,
  .filters-access {
    row-gap: 6px;
  }

  /* Cards: da 3 colonne → 1 colonna */
  .cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    min-height: auto;
  }

  .card {
    min-height: 0;
    padding: 16px 12px;
  }

  /* Modale: un po' più friendly su mobile (opzionale ma utile) */
  .modal-backdrop {
    align-items: flex-start;
    padding: 16px 10px;
  }

  .modal {
    max-width: 100%;
    border-radius: 14px;
  }

  .modal-body {
    max-height: calc(100vh - 100px);
  }
}
/* ===========================
   DASHBOARD – MOBILE FIX
   =========================== */
@media (max-width: 768px) {

  /* Evita overflow orizzontale */
  #dashboardView {
    padding-inline: 10px;
  }

  /* Header (titolo + filtri/ricerca) in colonna */
  .cards-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  /* Layout principale: filtri sopra, card sotto */
  .dash-layout {
    flex-direction: column;         /* prima era row */
    align-items: stretch;
    gap: 16px;
  }

  .dash-filters {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
    padding-right: 0;
    padding-bottom: 10px;
    border-right: none;             /* niente colonna separata */
    border-bottom: 1px solid rgba(148, 163, 184, 0.25); /* separatore orizzontale */
  }

  .dash-main {
    flex: 1 1 auto;
    width: 100%;
  }

  /* Le pill dei filtri vanno a capo senza stringere troppo */
  .filters,
  .filters-access {
    row-gap: 6px;
  }

  /* Cards: da 3 colonne → 1 colonna */
  .cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    min-height: auto;
  }

  .card {
    min-height: 0;
    padding: 16px 12px;
  }

  /* Modale: un po' più friendly su mobile (opzionale ma utile) */
  .modal-backdrop {
    align-items: flex-start;
    padding: 16px 10px;
  }

  .modal {
    max-width: 100%;
    border-radius: 14px;
  }

  .modal-body {
    max-height: calc(100vh - 100px);
  }
}



      /* LOGIN MODAL */
      #loginBackdrop .modal {
        max-width: 420px;
        background: #fff;
        border-radius: 12px;
      }
      .login-header {
        background: #fff;
        color: #0f172a;
        border-bottom: 1px solid rgba(148, 163, 184, 0.12);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
      }
	        .login-spinner {
        display: inline-block;
        width: 14px;
        height: 14px;
        border-radius: 999px;
        border: 2px solid #e5e7eb;
        border-top-color: #0f172a;
        animation: sfSpin 0.6s linear infinite;
        margin-right: 6px;
        vertical-align: -2px;
      }

      @keyframes sfSpin {
        to {
          transform: rotate(360deg);
        }
      }

	  
      .login-brand {
        display: flex;
        align-items: center;
        gap: 10px;
      }
      .login-logo img {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        object-fit: cover;
      }
      .login-brand-texts {
        line-height: 1.05;
      }
      .login-brand-name {
        font-weight: 600;
        font-size: 0.78rem;
      }
      .login-brand-sub {
        font-size: 0.58rem;
        color: rgba(15, 23, 42, 0.55);
      }

      /* SCROLL HINT */
      .scroll-hint {
        position: fixed;
        bottom: 42px;
        left: 26px;
        z-index: 95;
        cursor: pointer;
        transition: all 0.25s ease;
      }
      .scroll-arrow {
        width: 0;
        height: 0;
        border-left: 14px solid transparent;
        border-right: 14px solid transparent;
        border-top: 22px solid #ffffff;
        animation: arrowPulse 1.05s ease-in-out infinite;
      }
      @keyframes arrowPulse {
        0% {
          transform: translateY(0);
          opacity: 1;
        }
        50% {
          transform: translateY(4px);
          opacity: 0.3;
        }
        100% {
          transform: translateY(0);
          opacity: 1;
        }
      }
      .scroll-hint.at-bottom .scroll-arrow {
        border-top: none;
        border-bottom: 22px solid #8b8b8b;
        animation: none;
      }

      /* FOOTER */
      footer {
        background: rgba(8, 11, 18, 0.85);
        border-top: 1px solid rgba(248, 250, 252, 0.03);
        text-align: right;
        padding: 20px 16px 20px;
        color: rgba(226, 232, 240, 0.6);
        font-size: 0.7rem;
      }
      footer a {
        color: rgba(226, 232, 240, 0.8);
        text-decoration: underline;
      }
      .bottom-white {
        background: #ffffff;
        width: 100%;
      }
      .bottom-white-inner {
        max-width: 1100px;
        margin: 0 auto;
        padding: 16px 16px 22px;
        display: flex;
        gap: 87px;
        align-items: center;
        flex-wrap: wrap;
      }
      .bottom-logo img {
        height: 34px;
      }
      .bottom-logo:first-child img {
        height: 40px;
      }


/* === FOOTER MOBILE FIX === */
@media (max-width: 768px) {

  /* Testo "Studio Flesca – VAT id..." centrato su mobile */
  footer {
    text-align: center;
    padding-inline: 12px;
    font-size: 0.68rem;
    line-height: 1.4;
  }

  /* Barra bianca loghi: tutto centrato e no wrap */
  .bottom-white-inner {
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;      /* impedisce il ritorno a capo dei loghi */
    gap: 24px;              /* meno di 87px per farceli stare su una riga */
  }

  .bottom-logo img {
    height: 26px;           /* un filo più piccoli su mobile */
  }

  .bottom-logo:first-child img {
    height: 30px;           /* logo principale un pelo più grande */
  }
}


      /* ===========================
         PLAYBOOK READER (SIDEBAR + TOC + SEARCH)
      ============================ */

      /* quando il modal contiene il reader lo allarghiamo un po' */
      #modalBackdrop .modal.pb-reader-modal {
        max-width: 960px;
      }

      .pb-layout {
        display: grid;
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 20px;
      }

      .pb-meta {
        position: sticky;
        top: 0;
        align-self: flex-start;
        border-right: 1px solid rgba(148, 163, 184, 0.35);
        padding-right: 14px;
        font-size: 0.7rem;
        color: rgba(226, 232, 240, 0.75);
      }

      .pb-code-pill {
        display: inline-block;
        padding: 3px 10px;
        border-radius: 999px;
        font-size: 0.62rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        background: rgba(15, 23, 42, 0.85);
        border: 1px solid rgba(148, 163, 184, 0.7);
        color: #e5e7eb;
        margin-bottom: 6px;
      }

      .pb-access-pill {
        display: inline-block;
        padding: 2px 10px;
        border-radius: 999px;
        font-size: 0.6rem;
        font-weight: 600;
        margin-bottom: 6px;
      }
      .pb-access-free {
        background: rgba(22, 163, 74, 0.12);
        border: 1px solid rgba(34, 197, 94, 0.5);
        color: #dcfce7;
      }
      .pb-access-owned {
        background: rgba(34, 197, 94, 0.18);
        border: 1px solid rgba(34, 197, 94, 0.7);
        color: #dcfce7;
      }
      .pb-access-premium {
        background: rgba(201, 168, 83, 0.22);
        border: 1px solid rgba(201, 168, 83, 0.65);
        color: #fff;
      }

      .pb-lang-pill {
        display: inline-block;
        padding: 2px 10px;
        border-radius: 999px;
        font-size: 0.6rem;
        border: 1px solid rgba(148, 163, 184, 0.5);
        color: rgba(226, 232, 240, 0.9);
        margin-top: 4px;
        margin-bottom: 10px;
      }

      .pb-meta-block {
        margin-bottom: 10px;
      }
      .pb-meta-row {
        display: flex;
        justify-content: space-between;
        gap: 6px;
        margin-bottom: 3px;
      }
      .pb-meta-label {
        color: rgba(148, 163, 184, 0.95);
      }
      .pb-meta-value {
        color: rgba(226, 232, 240, 0.95);
        text-align: right;
      }

      .pb-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        margin-top: 6px;
        margin-bottom: 10px;
      }
      .pb-tag {
        padding: 2px 8px;
        border-radius: 999px;
        background: rgba(15, 23, 42, 0.85);
        border: 1px solid rgba(148, 163, 184, 0.55);
        font-size: 0.6rem;
        color: #e5e7eb;
      }

      /* TOC (indice sezioni) */
      .pb-toc-block {
        margin-top: 10px;
        padding-top: 8px;
        border-top: 1px solid rgba(148, 163, 184, 0.35);
      }
      .pb-toc-title {
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: rgba(148, 163, 184, 0.95);
        margin-bottom: 6px;
      }
      .pb-toc-list {
        display: flex;
        flex-direction: column;
        gap: 3px;
      }
      .pb-toc-item {
        text-align: left;
        background: transparent;
        border: none;
        padding: 3px 0;
        font-size: 0.7rem;
        color: rgba(226, 232, 240, 0.8);
        cursor: pointer;
        border-radius: 6px;
      }
      .pb-toc-item:hover {
        background: rgba(15, 23, 42, 0.6);
      }
      .pb-toc-item.active {
        font-weight: 700;
        color: #fefce8;
        background: rgba(201, 168, 83, 0.18);
      }

      /* SEARCH */
      .pb-search-block {
        margin-top: 12px;
        padding-top: 8px;
        border-top: 1px dashed rgba(148, 163, 184, 0.35);
      }
      .pb-search-title {
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: rgba(148, 163, 184, 0.95);
        margin-bottom: 4px;
      }
      .pb-search {
        display: flex;
        gap: 4px;
        align-items: center;
        margin-bottom: 3px;
      }
      .pb-search-input {
        flex: 1 1 auto;
        padding: 3px 6px;
        font-size: 0.68rem;
        border-radius: 999px;
        border: 1px solid rgba(148, 163, 184, 0.7);
        background: rgba(15, 23, 42, 0.9);
        color: #e5e7eb;
      }
      .pb-search-input::placeholder {
        color: rgba(148, 163, 184, 0.9);
      }
      .pb-search-btn {
        flex: 0 0 auto;
        padding: 3px 8px;
        font-size: 0.68rem;
        border-radius: 999px;
        border: 1px solid rgba(201, 168, 83, 0.7);
        background: rgba(201, 168, 83, 0.15);
        color: #fefce8;
        cursor: pointer;
      }
      .pb-search-btn:hover {
        background: rgba(201, 168, 83, 0.3);
      }
      .pb-search-meta {
        font-size: 0.64rem;
        color: rgba(148, 163, 184, 0.95);
      }

      .pb-main {
        font-size: 0.78rem;
        line-height: 1.55;
        color: rgba(241, 245, 249, 0.95);
      }

      .pb-heading {
        margin-bottom: 10px;
      }
      .pb-title {
        font-size: 0.98rem;
        margin: 0 0 6px;
        color: #fff;
      }
      .pb-subtitle {
        margin: 0;
        font-size: 0.73rem;
        color: rgba(203, 213, 225, 0.9);
      }

      .pb-body {
        padding-top: 4px;
      }

      .pb-section + .pb-section {
        margin-top: 14px;
      }

      .pb-section h3 {
        font-size: 0.84rem;
        margin: 0 0 6px;
        color: #e5e7eb;
      }

      .pb-section p {
        margin: 0 0 6px;
      }

      .pb-section ul,
      .pb-section ol {
        margin: 0 0 6px 18px;
        padding: 0;
      }

      .pb-section li {
        margin-bottom: 3px;
      }

      .pb-callout {
        border-radius: 10px;
        padding: 8px 10px;
        margin-top: 6px;
        font-size: 0.74rem;
      }
      .pb-callout-title {
        font-weight: 600;
        margin-bottom: 3px;
      }
      .pb-callout-body {
        color: rgba(241, 245, 249, 0.9);
      }
      .pb-callout-info {
        border: 1px solid rgba(59, 130, 246, 0.7);
        background: rgba(15, 23, 42, 0.75);
      }
      .pb-callout-warning {
        border: 1px solid rgba(234, 179, 8, 0.85);
        background: rgba(24, 20, 5, 0.9);
      }

      .pb-chart-block {
        margin-top: 8px;
        border-radius: 10px;
        border: 1px solid rgba(148, 163, 184, 0.5);
        padding: 8px 10px 10px;
        background: radial-gradient(circle at top, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.95));
      }
      .pb-chart-title {
        font-size: 0.74rem;
        font-weight: 600;
        margin-bottom: 6px;
      }
      .pb-chart-img {
        width: 100%;
        max-height: 260px;
        object-fit: contain;
        border-radius: 6px;
        display: block;
      }
      .pb-chart-note {
        margin-top: 4px;
        font-size: 0.68rem;
        color: rgba(203, 213, 225, 0.9);
      }

      /* evidenziazione ricerca */
      .pb-search-hit {
        background: rgba(234, 179, 8, 0.4);
        border-radius: 2px;
        padding: 0 1px;
      }
      .pb-search-hit-active {
        background: rgba(234, 179, 8, 0.9);
        color: #111827;
      }

      /* un po' più spazio verticale nel modal body per leggere meglio */
      .modal-body {
        padding: 14px 14px 18px;
        max-height: 72vh; /* se era 60vh, puoi portarlo a 72 */
        overflow-y: auto;
        color: rgba(226, 232, 240, 0.85);
      }

      /* responsive: reader a una colonna su schermi stretti */
      @media (max-width: 900px) {
        .pb-layout {
          grid-template-columns: 1fr;
        }
        .pb-meta {
          border-right: none;
          border-bottom: 1px solid rgba(148, 163, 184, 0.3);
          padding-right: 0;
          padding-bottom: 10px;
          margin-bottom: 10px;
        }
      }


      @media (max-width: 1100px) {
        .cards {
          grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 card per riga su schermi medi */
        }
      }

      @media (max-width: 900px) {
        .topbar {
          flex-wrap: wrap;
        }
        .top-center {
          order: 3;
          width: 100%;
          justify-content: center;
          margin-top: 6px;
        }
        .contact-flex {
          flex-direction: column;
        }
        .map-col {
          max-width: 100%;
        }
        .ops-grid,
        .values-grid {
          grid-template-columns: 1fr;
        }
        .team-shell {
          flex-direction: column;
        }
        .team-detail {
          position: static;
          margin-top: 10px;
        }
        .cards {
          grid-template-columns: 1fr;
        }
        .scroll-hint {
          left: 14px;
          bottom: 28px;
        }
      }

      /* REVEAL */
      .reveal {
        opacity: 0;
        transform: translateY(14px);
        transition: opacity 0.4s ease, transform 0.4s ease;
      }
      .reveal.visible {
        opacity: 1;
        transform: translateY(0);
      }
      .reveal-delay-1 {
        transition-delay: 0.08s;
      }
      .reveal-delay-2 {
        transition-delay: 0.14s;
      }
      .reveal-delay-3 {
        transition-delay: 0.2s;
      }
	  
	  /* ===========================
   MOBILE TWEAKS (<= 768px)
   =========================== */
@media (max-width: 768px) {

  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    font-size: 14px;
  }
  
  

  /* Contenitore generale / shell pagina */
  .page-shell,
  .page-inner,
  .main-layout {
    padding-inline: 12px !important;
    gap: 16px !important;
  }

  /* Top strip: lingua / email / logout in colonna */
  .top-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .top-strip-right,
  .top-strip-left {
    flex-wrap: wrap;
    row-gap: 4px;
  }

  /* Sezione hero + advisory: da layout a colonne → stack verticale */
  .hero-layout,
  .advisory-layout,
  .two-col-layout {
    flex-direction: column;
    align-items: stretch;
  }

  /* Griglie di card: una sola colonna full width */
  .pb-grid,
  .playbook-grid,
  .cards-grid,
  .ops-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .pb-card,
  .ops-card {
    padding: 12px 10px;
  }

  /* Evita che le card abbiano altezza fissa su mobile */
  .pb-card,
  .ops-card {
    min-height: unset;
    height: auto;
  }

  /* Modale generico */
  #modalBackdrop {
    align-items: flex-start;
    justify-content: center;
    padding: 24px 10px;
  }

  #modalBackdrop .modal {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 18px;
    max-height: calc(100vh - 32px);
    overflow: hidden;
  }

  #modalBackdrop .modal-body {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }

  /* Reader playbook a tutto schermo */
  #modalBackdrop .modal.pb-reader-modal,
  .pb-reader-modal {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }

  .pb-reader-modal .modal-body {
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    padding-inline: 14px;
  }

  /* Titoli / testi un po' più compatti */
  .section-title,
  .hero-title {
    font-size: 20px;
  }

  .hero-subtitle,
  .section-lead {
    font-size: 13px;
  }

}
