/*
Theme Name: BlossomBeyondBorders
Theme URI: https://blossombeyondbordersproject.eu/
Author: BlossomBeyondBorders Project
Description: Custom theme for the BlossomBeyondBorders Erasmus+ project (KA220-ADU), faithful port of the original static one-page site. Migrant Women – Entrepreneurship.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blossombeyondborders
*/

    :root {
      --ivory:   #fff4e9;
      --orange:  #fba343;
      --magenta: #ff00cf;
      --violet:  #6300ff;
      --indigo:  #170044;
      --text-soft: rgba(23,0,68,0.85);
    }

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

    html { scroll-behavior: smooth; font-size: 16px; }

    body {
      font-family: 'Jost', sans-serif;
      background: var(--ivory);
      color: var(--indigo);
      overflow-x: hidden;
      font-size: 1rem;
      line-height: 1.6;
    }

    p { font-size: 1rem; line-height: 1.7; }

    /* ── NAVBAR ── */
    .navbar {
      background: var(--ivory);
      border-bottom: 2px solid var(--indigo);
      padding: 1rem 2rem;
      position: sticky;
      top: 0;
      z-index: 1000;
    }
    .navbar-brand {
      font-weight: 900;
      font-size: 1.4rem;
      color: var(--indigo) !important;
      letter-spacing: -0.5px;
    }
    .navbar-brand span { font-weight: 300; }
    .navbar-brand img { height: 44px; width: auto; }
    .nav-link {
      color: var(--indigo) !important;
      font-weight: 500;
      font-size: 1rem;
      letter-spacing: 0.03em;
      transition: color 0.2s;
    }
    .nav-link:hover { color: var(--magenta) !important; }

    .btn-nav {
      background: var(--indigo);
      color: var(--ivory) !important;
      font-weight: 700;
      border-radius: 50px;
      padding: 0.45rem 1.4rem;
      font-size: 0.95rem;
      transition: background 0.2s, transform 0.15s;
    }
    .btn-nav:hover { background: var(--violet); transform: translateY(-1px); }

    /* Language selector */
    .lang-dropdown .dropdown-toggle {
      background: transparent;
      border: 1px solid var(--indigo);
      color: var(--indigo);
      font-weight: 600;
      font-size: 0.9rem;
      border-radius: 50px;
      padding: 0.35rem 0.9rem;
    }
    .lang-dropdown .dropdown-toggle:hover { background: var(--indigo); color: var(--ivory); }
    .lang-dropdown .dropdown-menu {
      border-radius: 12px;
      border: 1px solid rgba(23,0,68,0.15);
      font-size: 0.95rem;
      min-width: 140px;
    }
    .lang-dropdown .dropdown-item { color: var(--indigo); font-weight: 500; }
    .lang-dropdown .dropdown-item:hover { background: var(--ivory); color: var(--magenta); }
    .lang-dropdown .dropdown-item.active { background: var(--violet); color: #fff; }

    /* Google Translate — hide its UI, keep only the translation engine */
    .goog-te-banner-frame.skiptranslate,
    .goog-te-gadget-icon,
    #google_translate_element { display: none !important; }
    body { top: 0 !important; }
    .goog-tooltip, .goog-tooltip:hover { display: none !important; }
    .goog-text-highlight { background: none !important; box-shadow: none !important; }

    /* ── INTRO BANNER (logo + disclaimer) ── */
    .intro-banner {
      background: var(--ivory);
      border-bottom: 1px solid rgba(23,0,68,0.1);
      padding: 2rem 0;
    }
    .intro-banner-inner {
      display: flex;
      align-items: center;
      gap: 2rem;
      flex-wrap: wrap;
    }
    .intro-logo {
      height: 70px;
      width: auto;
      flex-shrink: 0;
    }
    .intro-disclaimer {
      flex: 1;
      min-width: 280px;
      font-size: 0.85rem;
      line-height: 1.55;
      color: var(--text-soft);
      margin: 0;
    }

    /* ── HERO ── */
    .hero {
      background: var(--violet);
      min-height: 88vh;
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      padding: 4rem 0;
    }

    .hero-blob-1 {
      position: absolute;
      top: -60px; left: -80px;
      width: 380px; height: 380px;
      background: var(--magenta);
      border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
      opacity: 0.9;
      animation: morph1 8s ease-in-out infinite;
    }
    .hero-blob-2 {
      position: absolute;
      bottom: -80px; right: -60px;
      width: 420px; height: 420px;
      background: var(--orange);
      border-radius: 40% 60% 30% 70% / 60% 40% 60% 40%;
      opacity: 0.85;
      animation: morph2 9s ease-in-out infinite;
    }

    @keyframes morph1 {
      0%, 100% { border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; }
      50%       { border-radius: 40% 60% 30% 70% / 70% 30% 60% 40%; }
    }
    @keyframes morph2 {
      0%, 100% { border-radius: 40% 60% 30% 70% / 60% 40% 60% 40%; }
      50%       { border-radius: 60% 40% 70% 30% / 40% 60% 30% 70%; }
    }

    .hero-content { position: relative; z-index: 2; }

    .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: var(--magenta);
      color: #fff;
      font-size: 0.85rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 0.4rem 1rem;
      border-radius: 50px;
      margin-bottom: 1.5rem;
      animation: fadeUp 0.6s ease both;
    }

    .hero-title {
      font-size: clamp(3rem, 8vw, 7rem);
      font-weight: 900;
      line-height: 0.95;
      color: var(--ivory);
      letter-spacing: -0.03em;
      animation: fadeUp 0.7s 0.1s ease both;
    }
    .hero-title .accent { color: var(--orange); }

    .hero-sub {
      font-size: 1.15rem;
      font-weight: 400;
      color: rgba(255,244,233,0.95);
      max-width: 560px;
      line-height: 1.6;
      margin-top: 1.5rem;
      animation: fadeUp 0.7s 0.2s ease both;
    }

    .hero-actions {
      margin-top: 2.5rem;
      display: flex; gap: 1rem; flex-wrap: wrap;
      animation: fadeUp 0.7s 0.3s ease both;
    }

    .btn-primary-brand {
      background: var(--magenta);
      color: #fff;
      font-weight: 700;
      font-size: 1rem;
      padding: 0.85rem 2.2rem;
      border-radius: 50px;
      border: none;
      transition: transform 0.2s, background 0.2s;
      text-decoration: none;
      display: inline-block;
    }
    .btn-primary-brand:hover { background: var(--orange); color: var(--indigo); transform: translateY(-2px); }

    .btn-outline-brand {
      background: transparent;
      color: var(--ivory);
      font-weight: 600;
      font-size: 1rem;
      padding: 0.85rem 2.2rem;
      border-radius: 50px;
      border: 2px solid rgba(255,244,233,0.7);
      transition: border-color 0.2s, color 0.2s, background 0.2s;
      text-decoration: none;
      display: inline-block;
    }
    .btn-outline-brand:hover { border-color: var(--ivory); background: rgba(255,244,233,0.1); color: var(--ivory); }

    .hero-eu {
      margin-top: 3rem;
      display: flex; align-items: center; gap: 1rem;
      animation: fadeUp 0.7s 0.4s ease both;
    }
    .hero-eu .eu-flag {
      height: 80px;
      width: auto;
      background: #fff;
      border-radius: 6px;
      padding: 6px 10px;
      flex-shrink: 0;
      object-fit: contain;
    }
    .hero-eu p {
      font-size: 0.85rem;
      color: rgba(255,244,233,0.85);
      margin: 0;
      line-height: 1.4;
      max-width: 380px;
    }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(24px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* ── MARQUEE ── */
    .marquee-strip {
      background: var(--magenta);
      padding: 0.75rem 0;
      overflow: hidden;
      white-space: nowrap;
    }
    .marquee-inner {
      display: inline-block;
      animation: marquee 22s linear infinite;
    }
    .marquee-inner span {
      font-size: 0.9rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #fff;
      margin: 0 2rem;
    }
    .marquee-inner span i { color: var(--orange); font-size: 0.7rem; vertical-align: middle; margin-right: 0.3rem; }
    @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

    /* ── SECTION LABELS ── */
    .section-label {
      font-size: 0.85rem;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--magenta);
      margin-bottom: 0.75rem;
    }

    /* ── PROJECT OVERVIEW (What is this project about?) ── */
    .overview { background: var(--ivory); padding: 6rem 0 4rem; }
    .overview-title {
      font-size: clamp(2rem, 4.5vw, 3.2rem);
      font-weight: 900;
      line-height: 1.05;
      letter-spacing: -0.02em;
      color: var(--indigo);
    }
    .overview-bullets {
      list-style: none; padding: 0; margin: 2rem 0 0;
    }
    .overview-bullets li {
      display: flex; gap: 1rem; padding: 1rem 0;
      border-bottom: 1px solid rgba(23,0,68,0.1);
      font-size: 1.05rem; color: var(--text-soft); font-weight: 500;
      line-height: 1.5;
    }
    .overview-bullets li:last-child { border-bottom: none; }
    .overview-bullets li i {
      font-size: 1.4rem; color: var(--violet); flex-shrink: 0;
    }
    .overview-card {
      background: #fff;
      border: 2px solid var(--indigo);
      border-radius: 20px;
      padding: 2rem;
      height: 100%;
    }
    .overview-card h3 {
      font-size: 1.3rem; font-weight: 900; color: var(--indigo);
      margin-bottom: 1rem;
    }
    .overview-card h3 i {
      color: var(--magenta); margin-right: 0.5rem;
    }
    .overview-card ul { padding-left: 1.2rem; margin: 0; }
    .overview-card ul li {
      font-size: 1rem; color: var(--text-soft); margin-bottom: 0.5rem;
      line-height: 1.5;
    }

    /* ── ABOUT ── */
    .about { background: #fff; padding: 7rem 0; }
    .about-title {
      font-size: clamp(2rem, 5vw, 3.8rem);
      font-weight: 900;
      line-height: 1.05;
      letter-spacing: -0.02em;
    }
    .about-title em { font-style: normal; color: var(--violet); }

    .about-visual {
      background: var(--indigo);
      border-radius: 24px;
      aspect-ratio: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      position: relative;
    }
    .about-visual::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 30% 30%, var(--magenta) 0%, transparent 60%),
                  radial-gradient(circle at 70% 70%, var(--violet) 0%, transparent 60%);
      opacity: 0.6;
    }
    .about-icon-grid {
      position: relative; z-index: 1;
      display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; padding: 2rem;
    }
    .about-icon-cell {
      background: rgba(255,244,233,0.1);
      border: 1px solid rgba(255,244,233,0.2);
      border-radius: 16px;
      padding: 1.5rem;
      text-align: center;
    }
    .about-icon-cell i { font-size: 2rem; color: var(--orange); }
    .about-icon-cell p { font-size: 0.9rem; color: #fff; margin: 0.5rem 0 0; font-weight: 500; }

    .about-blocks {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 1.5rem;
      margin-top: 4rem;
    }
    .about-block {
      background: var(--ivory);
      border-left: 4px solid var(--violet);
      padding: 1.5rem 1.75rem;
      border-radius: 12px;
    }
    .about-block h4 {
      font-size: 1.1rem; font-weight: 900;
      color: var(--indigo); margin-bottom: 0.6rem;
      display: flex; align-items: center; gap: 0.5rem;
    }
    .about-block h4 i { color: var(--magenta); }
    .about-block p {
      font-size: 1rem; color: var(--text-soft); margin: 0;
      line-height: 1.6;
    }

    /* ── PILLARS ── */
    .pillars { background: var(--indigo); padding: 7rem 0; }
    .pillars-title {
      font-size: clamp(2rem, 4.5vw, 3.2rem);
      font-weight: 900;
      color: var(--ivory);
      letter-spacing: -0.02em;
    }

    .pillar-card {
      border-radius: 20px;
      padding: 2rem;
      height: 100%;
      transition: transform 0.25s;
      cursor: default;
    }
    .pillar-card:hover { transform: translateY(-6px); }

    .pillar-card.care     { background: var(--ivory); color: var(--indigo); }
    .pillar-card.opp      { background: var(--orange); color: var(--indigo); }
    .pillar-card.voice    { background: var(--magenta); color: #fff; }
    .pillar-card.empower  { background: var(--violet); color: #fff; }
    .pillar-card.strength { background: #1e0060; color: #fff; border: 1px solid rgba(255,255,255,0.15); }

    .pillar-num {
      font-size: 0.8rem; font-weight: 700; letter-spacing: 0.15em;
      text-transform: uppercase; opacity: 0.7; margin-bottom: 1.5rem;
    }
    .pillar-name { font-size: 1.6rem; font-weight: 900; margin-bottom: 0.5rem; line-height: 1; }
    .pillar-desc { font-size: 1rem; font-weight: 400; opacity: 0.95; line-height: 1.6; }

    /* ── NEWS ── */
    .news { background: var(--ivory); padding: 7rem 0; }
    .news-title {
      font-size: clamp(2rem, 5vw, 3.5rem);
      font-weight: 900;
      color: var(--indigo);
      letter-spacing: -0.02em;
    }
    .news-card {
      background: #fff;
      border-radius: 18px;
      overflow: hidden;
      height: 100%;
      transition: transform 0.25s, box-shadow 0.25s;
      border: 1px solid rgba(23,0,68,0.08);
      display: flex; flex-direction: column;
    }
    .news-card:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(23,0,68,0.12); }
    .news-card-img {
      aspect-ratio: 16/10;
      background: var(--violet);
      position: relative;
      display: flex; align-items: center; justify-content: center;
    }
    .news-card-img.bg-orange { background: var(--orange); }
    .news-card-img.bg-magenta { background: var(--magenta); }
    .news-card-img i {
      font-size: 4rem; color: rgba(255,244,233,0.85);
    }
    .news-card-cat {
      position: absolute; top: 1rem; left: 1rem;
      background: rgba(23,0,68,0.85); color: var(--ivory);
      font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
      text-transform: uppercase; padding: 0.3rem 0.8rem; border-radius: 50px;
    }
    .news-card-body {
      padding: 1.5rem;
      flex: 1; display: flex; flex-direction: column;
    }
    .news-card-date {
      font-size: 0.85rem; color: var(--violet); font-weight: 700;
      letter-spacing: 0.05em; margin-bottom: 0.5rem;
    }
    .news-card-title {
      font-size: 1.2rem; font-weight: 900; color: var(--indigo);
      margin-bottom: 0.75rem; line-height: 1.3;
    }
    .news-card-excerpt {
      font-size: 1rem; color: var(--text-soft);
      line-height: 1.55; margin-bottom: 1rem; flex: 1;
    }
    .news-card-link {
      font-size: 0.95rem; font-weight: 700; color: var(--magenta);
      text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem;
    }
    .news-card-link:hover { color: var(--violet); }

    /* ── COMMUNITY ── */
    .community { background: var(--orange); padding: 7rem 0; overflow: hidden; }
    .community-title {
      font-size: clamp(2.5rem, 6vw, 5rem);
      font-weight: 900;
      color: var(--indigo);
      letter-spacing: -0.03em;
      line-height: 1;
    }
    .community-title .line2 { color: var(--ivory); -webkit-text-stroke: 2px var(--indigo); }

    .feature-list { list-style: none; padding: 0; margin: 2rem 0 0; }
    .feature-list li {
      display: flex; align-items: flex-start; gap: 1rem;
      padding: 1.1rem 0; border-bottom: 1px solid rgba(23,0,68,0.2);
      font-size: 1.05rem; font-weight: 500; color: var(--indigo);
      line-height: 1.5;
    }
    .feature-list li:last-child { border-bottom: none; }
    .feature-list li i { font-size: 1.3rem; color: var(--violet); margin-top: 2px; flex-shrink: 0; }

    .community-card {
      background: var(--indigo);
      border-radius: 24px;
      padding: 3rem 2.5rem;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .community-card::before {
      content: '';
      position: absolute;
      top: -50px; right: -50px;
      width: 200px; height: 200px;
      background: var(--magenta);
      border-radius: 50%;
      opacity: 0.3;
    }
    .community-card .q-mark {
      font-size: 5rem; font-weight: 900; color: var(--magenta);
      line-height: 1; margin-bottom: 1rem;
    }
    .community-card blockquote {
      font-size: 1.15rem; font-weight: 400; color: var(--ivory);
      line-height: 1.6; font-style: italic; margin: 0;
    }
    .community-card .author {
      margin-top: 1.5rem; font-size: 0.9rem;
      font-weight: 700; color: var(--orange); letter-spacing: 0.08em;
    }

    /* ── CONSORTIUM ── */
    .consortium { background: #fff; padding: 7rem 0; }
    .consortium-title {
      font-size: clamp(2rem, 5vw, 3.5rem);
      font-weight: 900;
      color: var(--indigo);
      letter-spacing: -0.02em;
    }
    .partner-card {
      background: var(--ivory);
      border-radius: 18px;
      padding: 2rem 1.75rem;
      height: 100%;
      transition: transform 0.25s, box-shadow 0.25s;
      border: 1px solid rgba(23,0,68,0.06);
      display: flex; flex-direction: column;
    }
    .partner-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(23,0,68,0.1); }
    .partner-logo {
      width: 100%;
      aspect-ratio: 16/9;
      background: #fff;
      border: 1px solid rgba(23,0,68,0.1);
      border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      padding: 1.25rem;
      margin-bottom: 1.25rem;
    }
    .partner-logo img {
      max-width: 100%;
      max-height: 100%;
      width: auto;
      height: auto;
      object-fit: contain;
    }
    .partner-role {
      display: inline-block;
      background: var(--violet); color: #fff;
      font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
      text-transform: uppercase; padding: 0.3rem 0.8rem;
      border-radius: 50px; margin-bottom: 0.75rem;
    }
    .partner-name {
      font-size: 1.2rem; font-weight: 900; color: var(--indigo);
      margin-bottom: 0.6rem;
    }
    .partner-country {
      font-size: 0.85rem; color: var(--magenta); font-weight: 700;
      letter-spacing: 0.05em; margin-bottom: 0.75rem;
    }
    .partner-desc {
      font-size: 0.95rem; color: var(--text-soft);
      line-height: 1.55; margin-bottom: 1rem; flex: 1;
    }
    .partner-link {
      font-size: 0.9rem; font-weight: 700; color: var(--violet);
      text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem;
    }
    .partner-link:hover { color: var(--magenta); }

    /* ── CONTACT ── */
    .contact { background: var(--indigo); padding: 7rem 0; color: var(--ivory); }
    .contact-title {
      font-size: clamp(1.75rem, 4vw, 3.2rem);
      font-weight: 900;
      color: var(--ivory);
      letter-spacing: -0.02em;
      overflow-wrap: break-word;
      word-break: break-word;
      hyphens: auto;
    }
    .contact-intro {
      font-size: 1.1rem;
      color: rgba(255,244,233,0.9);
      line-height: 1.6;
      margin: 1rem 0 2rem;
    }
    .contact-benefits {
      list-style: none; padding: 0; margin: 0 0 2rem;
    }
    .contact-benefits li {
      display: flex; gap: 0.75rem; align-items: flex-start;
      padding: 0.6rem 0;
      font-size: 1rem; color: rgba(255,244,233,0.95);
    }
    .contact-benefits li i {
      color: var(--orange); font-size: 1.2rem; margin-top: 2px;
      flex-shrink: 0;
    }
    /* ── Esito invio form + honeypot ── */
    .form-feedback {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
      padding: 1rem 1.25rem;
      border-radius: 12px;
      margin-bottom: 1.5rem;
      font-size: 0.95rem;
      line-height: 1.5;
      border: 2px solid;
    }
    .form-feedback i { font-size: 1.25rem; line-height: 1.4; flex-shrink: 0; }
    .form-feedback--ok {
      background: rgba(255,244,233,0.12);
      border-color: var(--orange);
      color: var(--ivory);
    }
    .form-feedback--ok i { color: var(--orange); }
    .form-feedback--error {
      background: rgba(255,0,207,0.12);
      border-color: var(--magenta);
      color: var(--ivory);
    }
    .form-feedback--error i { color: var(--magenta); }

    /* Honeypot: fuori dallo schermo ma non display:none, così i bot lo compilano. */
    .hp-field {
      position: absolute;
      left: -9999px;
      width: 1px;
      height: 1px;
      overflow: hidden;
    }

    .contact-form {
      background: rgba(255,244,233,0.05);
      border: 1px solid rgba(255,244,233,0.15);
      border-radius: 20px;
      padding: 2.5rem;
    }
    .contact-form label {
      display: block; font-size: 0.95rem; font-weight: 600;
      color: var(--ivory); margin-bottom: 0.5rem;
    }
    .contact-form .form-control,
    .contact-form .form-select {
      background: rgba(255,244,233,0.08);
      border: 1px solid rgba(255,244,233,0.25);
      color: var(--ivory);
      border-radius: 10px;
      padding: 0.7rem 1rem;
      font-size: 1rem;
      font-family: 'Jost', sans-serif;
    }
    .contact-form .form-control::placeholder { color: rgba(255,244,233,0.5); }
    .contact-form .form-control:focus,
    .contact-form .form-select:focus {
      background: rgba(255,244,233,0.12);
      border-color: var(--magenta);
      color: var(--ivory);
      box-shadow: 0 0 0 3px rgba(255,0,207,0.15);
    }
    .contact-form .form-check-label {
      font-size: 0.9rem; color: rgba(255,244,233,0.9);
      line-height: 1.5;
    }
    .contact-form .form-check-label a {
      color: var(--orange); text-decoration: underline;
    }
    .contact-form .btn-submit {
      background: var(--magenta);
      color: #fff;
      font-weight: 700; font-size: 1rem;
      padding: 0.85rem 2.2rem;
      border-radius: 50px;
      border: none;
      transition: background 0.2s, transform 0.15s;
    }
    .contact-form .btn-submit:hover { background: var(--orange); color: var(--indigo); transform: translateY(-2px); }

    /* ── FOOTER ── */
    footer {
      background: #0f002e;
      color: rgba(255,244,233,0.8);
      padding: 4rem 0 2rem;
    }
    .footer-brand {
      font-size: 1.5rem; font-weight: 900; color: var(--ivory);
      letter-spacing: -0.5px; margin-bottom: 0.5rem;
    }
    .footer-brand span { font-weight: 300; }
    .footer-tagline { font-size: 0.9rem; color: rgba(255,244,233,0.7); }

    .footer-heading {
      font-size: 0.85rem; font-weight: 700;
      letter-spacing: 0.15em; text-transform: uppercase;
      color: var(--orange); margin-bottom: 1rem;
    }
    footer ul { list-style: none; padding: 0; }
    footer ul li { margin-bottom: 0.6rem; }
    footer ul li a {
      color: rgba(255,244,233,0.8); text-decoration: none;
      font-size: 0.95rem; transition: color 0.2s;
    }
    footer ul li a:hover { color: var(--ivory); }

    .footer-social { display: flex; gap: 0.75rem; margin-top: 1rem; }
    .social-btn {
      width: 40px; height: 40px;
      border-radius: 50%; border: 1px solid rgba(255,244,233,0.3);
      display: flex; align-items: center; justify-content: center;
      color: rgba(255,244,233,0.85); font-size: 1.05rem;
      text-decoration: none; transition: background 0.2s, color 0.2s;
    }
    .social-btn:hover { background: var(--magenta); color: #fff; border-color: var(--magenta); }

    .eu-block {
      background: rgba(255,244,233,0.04);
      border: 1px solid rgba(255,244,233,0.12);
      border-radius: 16px;
      padding: 1.5rem;
      margin-top: 3rem;
    }
    .eu-block-inner {
      display: flex; gap: 1.5rem; align-items: flex-start; flex-wrap: wrap;
    }
    .eu-flag-large {
      height: 64px;
      width: auto;
      background: #fff;
      border-radius: 6px;
      padding: 6px 10px;
      flex-shrink: 0;
      object-fit: contain;
    }
    .sepie-logo {
      height: 64px;
      width: auto;
      border-radius: 6px;
      flex-shrink: 0;
      object-fit: contain;
    }
    .eu-disclaimer {
      flex: 1; min-width: 260px;
      font-size: 0.85rem; line-height: 1.55;
      color: rgba(255,244,233,0.85);
    }
    .eu-project-meta {
      font-size: 0.8rem; color: rgba(255,244,233,0.65);
      margin-top: 0.5rem;
    }

    .footer-bottom {
      border-top: 1px solid rgba(255,244,233,0.15);
      margin-top: 3rem; padding-top: 1.5rem;
      font-size: 0.85rem; color: rgba(255,244,233,0.6);
    }
    .footer-bottom a { color: rgba(255,244,233,0.7); text-decoration: none; margin-left: 1rem; }
    .footer-bottom a:hover { color: var(--ivory); }

    /* ── COLOR DOTS ── */
    .color-dot {
      width: 12px; height: 12px; border-radius: 50%; display: inline-block;
    }

    /* ── RESPONSIVE TWEAKS ── */
    @media (max-width: 768px) {
      .hero { min-height: auto; padding: 5rem 0 4rem; }
      .hero-blob-1, .hero-blob-2 { width: 220px; height: 220px; }
      .contact-form { padding: 1.75rem; }
      .navbar { padding: 1rem; }
    }

/* ═══════════════════════════════════════════════════════════════════════
   Integrazione WordPress (non presente nel sito statico originale)
   ─ Wrapper WPBakery neutri: le righe che contengono le sezioni [bbb_*]
     non devono introdurre margini/padding propri.
   ─ Form Contact Form 7: replica l'aspetto del form e dei feedback originali.
   ═══════════════════════════════════════════════════════════════════════ */

.bbb-section-row { margin-left: 0; margin-right: 0; }
.bbb-section-row > .wpb_column > .vc_column-inner { padding-left: 0; padding-right: 0; }
.bbb-section-row .wpb_wrapper > .wpb_content_element { margin-bottom: 0; }

.contact-form .wpcf7-form-control-wrap { display: block; }
.contact-form .wpcf7-not-valid-tip {
  color: #ffd9f6;
  font-size: 0.85rem;
  margin-top: 0.35rem;
}
.contact-form .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.contact-form .wpcf7-acceptance .wpcf7-list-item label {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.9rem; font-weight: 400; color: rgba(255,244,233,0.9);
  line-height: 1.5; margin-bottom: 0;
}
.contact-form .wpcf7-acceptance .wpcf7-list-item-label a {
  color: var(--orange); text-decoration: underline;
}
.contact-form .wpcf7-spinner { display: block; margin: 0.75rem 0 0; }
form.contact-form .wpcf7-response-output {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
  border: 2px solid var(--orange);
  background: rgba(255,244,233,0.12);
  color: var(--ivory);
}
form.contact-form.invalid .wpcf7-response-output,
form.contact-form.unaccepted .wpcf7-response-output,
form.contact-form.failed .wpcf7-response-output,
form.contact-form.spam .wpcf7-response-output,
form.contact-form.aborted .wpcf7-response-output {
  border-color: var(--magenta);
  background: rgba(255,0,207,0.12);
}

/* Card news: immagine in evidenza al posto dell'icona, quando presente. */
.news-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-card-cat { z-index: 1; }

/* ── Sezioni Results, Tool & Game, Digital Museum (nuove — ottobre 2026) ── */
.results { background: var(--indigo); padding: 7rem 0; }
.results-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: var(--ivory);
  letter-spacing: -0.02em;
}
.results-intro { margin-top: 1rem; font-size: 1.1rem; color: rgba(255,244,233,0.8); max-width: 560px; }
.result-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.5rem;
  height: 100%;
  display: flex; flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.result-card:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(0,0,0,0.25); }
.result-head { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: 0.9rem; }
.result-code { font-weight: 900; color: var(--violet); letter-spacing: 0.05em; }
.result-status {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1.5px solid rgba(23,0,68,0.25); color: rgba(23,0,68,0.6);
  border-radius: 50px; padding: 0.25rem 0.7rem; white-space: nowrap;
}
.result-status.is-available { background: var(--orange); border-color: var(--orange); color: var(--indigo); }
.result-name { font-size: 1.05rem; font-weight: 800; color: var(--indigo); margin-bottom: 0.5rem; line-height: 1.35; }
.result-desc { font-size: 0.95rem; color: var(--text-soft); line-height: 1.55; margin-bottom: 0; flex: 1; }
.result-link {
  margin-top: 0.9rem; font-size: 0.95rem; font-weight: 700; color: var(--magenta);
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem;
}
.result-link:hover { color: var(--violet); }

.tool-game { background: var(--ivory); padding: 7rem 0; }
.tool-game-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: var(--indigo);
  letter-spacing: -0.02em;
}
.tool-game-intro { margin-top: 1rem; font-size: 1.1rem; color: var(--text-soft); max-width: 560px; }
.tg-card {
  background: #fff;
  border: 1px solid rgba(23,0,68,0.08);
  border-radius: 20px;
  padding: 2.5rem;
  height: 100%;
  display: flex; flex-direction: column; align-items: flex-start;
  transition: transform 0.25s, box-shadow 0.25s;
}
.tg-card:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(23,0,68,0.12); }
.tg-icon {
  width: 64px; height: 64px; border-radius: 18px;
  background: var(--violet); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: 1.25rem;
}
.tool-game .col-lg-6:nth-child(2) .tg-icon { background: var(--magenta); }
.tg-name { font-size: 1.4rem; font-weight: 900; color: var(--indigo); margin-bottom: 0.75rem; }
.tg-desc { font-size: 1rem; color: var(--text-soft); line-height: 1.6; flex: 1; margin-bottom: 0; }
.tg-btn { margin-top: 1.25rem; }
.tg-btn-soon {
  display: inline-block; margin-top: 1.25rem;
  border: 2px dashed rgba(23,0,68,0.35); color: rgba(23,0,68,0.65);
  border-radius: 50px; padding: 0.65rem 1.6rem; font-weight: 700; font-size: 0.95rem;
}

.digital-museum { background: var(--violet); padding: 7rem 0; overflow: hidden; }
.museum-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: var(--ivory);
  letter-spacing: -0.02em;
}
.museum-intro { margin-top: 1rem; font-size: 1.1rem; color: rgba(255,244,233,0.85); max-width: 620px; }
.museum-btn-soon {
  display: inline-block;
  border: 2px dashed rgba(255,244,233,0.5); color: rgba(255,244,233,0.85);
  border-radius: 50px; padding: 0.65rem 1.6rem; font-weight: 700; font-size: 0.95rem;
}
.museum-card {
  background: rgba(255,244,233,0.08);
  border: 1px solid rgba(255,244,233,0.2);
  border-radius: 18px;
  padding: 2rem;
  height: 100%;
  color: var(--ivory);
  transition: transform 0.25s, background 0.25s;
}
.museum-card:hover { transform: translateY(-6px); background: rgba(255,244,233,0.14); }
.museum-card-visual {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--orange); color: var(--indigo);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.1rem;
}
.museum-card-name { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.25rem; }
.museum-card-meta {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 0.75rem;
}
.museum-card-text { font-size: 0.98rem; color: rgba(255,244,233,0.85); line-height: 1.6; margin-bottom: 0; }

@media (max-width: 768px) {
  .results, .tool-game, .digital-museum { padding: 4.5rem 0; }
  .tg-card { padding: 1.75rem; }
}

/* ── Header a due righe (ottobre 2026): logo sopra, menu centrato.
   Sotto i 992px resta il layout originale logo + hamburger. ── */
@media (min-width: 992px) {
  .navbar { padding-top: 0.85rem; padding-bottom: 0.85rem; }
  .navbar > .container { flex-direction: column; }
  .navbar .navbar-brand { margin-right: 0; margin-bottom: 0.6rem; }
}
