.elementor-kit-6{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;--container-default-padding-top:0px;--container-default-padding-right:0px;--container-default-padding-bottom:0px;--container-default-padding-left:0px;}.elementor-widget:not(:last-child){--kit-widget-spacing:0px;}.elementor-element{--widgets-spacing:0px 0px;--widgets-spacing-row:0px;--widgets-spacing-column:0px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* ============================================
     SINGLE POST — Body nero + Titoli blu navy
     + Spaziatura immagini + Altri articoli (stile blog)
     ============================================ */

  /* ── Body text: NERO ── */
  .elementor-widget-theme-post-content,
  .elementor-widget-theme-post-content p,
  .elementor-widget-theme-post-content li,
  .elementor-widget-theme-post-content span,
  .elementor-widget-theme-post-content strong,
  .elementor-widget-theme-post-content em,
  .fc-single-post__content,
  .fc-single-post__content p,
  .fc-single-post__content li,
  .fc-single-post__content span,
  .fc-single-post__content strong,
  .fc-single-post__content em {
    color: #1A1A1A !important;
  }

  /* ── Titolo principale (H1) e titoletti (H2–H6): BLU NAVY ── */
  .elementor-widget-theme-post-title,
  .elementor-widget-theme-post-title h1,
  .elementor-widget-theme-post-title .elementor-heading-title,
  .fc-single-post__title,
  .elementor-widget-theme-post-content h1,
  .elementor-widget-theme-post-content h2,
  .elementor-widget-theme-post-content h3,
  .elementor-widget-theme-post-content h4,
  .elementor-widget-theme-post-content h5,
  .elementor-widget-theme-post-content h6,
  .fc-single-post__content h1,
  .fc-single-post__content h2,
  .fc-single-post__content h3,
  .fc-single-post__content h4,
  .fc-single-post__content h5,
  .fc-single-post__content h6 {
    color: #0B1D3A !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-weight: 700;
  }

  /* ── Link dentro il contenuto: oro accent ── */
  .elementor-widget-theme-post-content a,
  .fc-single-post__content a {
    color: #BF9B51 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .elementor-widget-theme-post-content a:hover,
  .fc-single-post__content a:hover {
    color: #A8863F !important;
  }

  /* ── Blockquote ── */
  .elementor-widget-theme-post-content blockquote,
  .fc-single-post__content blockquote {
    color: #1A1A1A !important;
    opacity: 0.85;
  }

  /* ── Immagini inline nel contenuto ── */
  .elementor-widget-theme-post-content img,
  .elementor-widget-theme-post-content figure,
  .elementor-widget-theme-post-content .wp-block-image,
  .fc-single-post__content img,
  .fc-single-post__content figure,
  .fc-single-post__content .wp-block-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2.5rem auto !important;
    border-radius: 8px;
  }

  .elementor-widget-theme-post-content figcaption,
  .elementor-widget-theme-post-content .wp-caption-text,
  .fc-single-post__content figcaption,
  .fc-single-post__content .wp-caption-text {
    display: block;
    font-size: 0.85rem;
    color: #6B6B6B !important;
    font-style: italic;
    text-align: center;
    margin-top: 0.75rem;
    line-height: 1.5;
  }

  .elementor-widget-theme-post-content p img,
  .fc-single-post__content p img {
    margin: 2.5rem auto !important;
  }

  .elementor-widget-theme-post-content .alignleft,
  .fc-single-post__content .alignleft {
    float: left;
    margin: 0.5rem 2rem 1.5rem 0 !important;
    max-width: 50%;
  }
  .elementor-widget-theme-post-content .alignright,
  .fc-single-post__content .alignright {
    float: right;
    margin: 0.5rem 0 1.5rem 2rem !important;
    max-width: 50%;
  }
  .elementor-widget-theme-post-content .aligncenter,
  .fc-single-post__content .aligncenter {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  @media (max-width: 768px) {
    .elementor-widget-theme-post-content .alignleft,
    .elementor-widget-theme-post-content .alignright,
    .fc-single-post__content .alignleft,
    .fc-single-post__content .alignright {
      float: none;
      margin: 2rem auto !important;
      max-width: 100%;
    }
  }

  /* ============================================
     ALTRI ARTICOLI — Card identiche al blog archive
     ============================================ */

  /* Grid: 3 col desktop, 2 tablet, 1 mobile */
  .fc-related .elementor-posts-container,
  .fc-related .elementor-loop-container,
  .elementor-widget-related .elementor-posts-container,
  .elementor-widget-posts .elementor-posts-container,
  .elementor-widget-loop-grid .elementor-loop-container {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    align-items: stretch;
  }

  @media (max-width: 1024px) {
    .fc-related .elementor-posts-container,
    .fc-related .elementor-loop-container,
    .elementor-widget-related .elementor-posts-container,
    .elementor-widget-posts .elementor-posts-container,
    .elementor-widget-loop-grid .elementor-loop-container {
      grid-template-columns: repeat(2, 1fr) !important;
    }
  }

  @media (max-width: 640px) {
    .fc-related .elementor-posts-container,
    .fc-related .elementor-loop-container,
    .elementor-widget-related .elementor-posts-container,
    .elementor-widget-posts .elementor-posts-container,
    .elementor-widget-loop-grid .elementor-loop-container {
      grid-template-columns: 1fr !important;
    }
  }

  /* ── Card base (identica a .fc-blog-card del blog archive) ── */
  .fc-related .elementor-post,
  .fc-related .elementor-loop-item,
  .fc-related .e-loop-item,
  .elementor-widget-related .elementor-post {
    background: #FFFFFF !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: 0 1px 3px rgba(11, 29, 58, 0.06), 0 1px 2px rgba(11, 29, 58, 0.04) !important;
    transition: box-shadow .25s cubic-bezier(.165,.84,.44,1),
                transform .25s cubic-bezier(.165,.84,.44,1) !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .fc-related .elementor-post:hover,
  .fc-related .elementor-loop-item:hover,
  .fc-related .e-loop-item:hover,
  .elementor-widget-related .elementor-post:hover {
    box-shadow: 0 10px 25px rgba(11, 29, 58, 0.10), 0 4px 10px rgba(11, 29, 58, 0.06) !important;
  }

  /* ── Image area (16:9, riempie larghezza, zoom su hover) ── */
  .fc-related .elementor-post__thumbnail,
  .elementor-widget-related .elementor-post__thumbnail {
    aspect-ratio: 16/9 !important;
    overflow: hidden !important;
    background: #F7F6F3;
    margin: 0 !important;
    border-radius: 0 !important;
  }
  .fc-related .elementor-post__thumbnail img,
  .elementor-widget-related .elementor-post__thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform .6s cubic-bezier(.165,.84,.44,1) !important;
  }
  .fc-related .elementor-post:hover .elementor-post__thumbnail img,
  .elementor-widget-related .elementor-post:hover .elementor-post__thumbnail img {
    transform: scale(1.05);
  }

  /* Nasconde thumbnail vuote (post senza featured image) */
  .fc-related .elementor-post__thumbnail__link:empty,
  .fc-related .elementor-post__thumbnail:empty,
  .elementor-widget-related .elementor-post__thumbnail__link:empty,
  .elementor-widget-related .elementor-post__thumbnail:empty {
    display: none !important;
  }

  /* ── Body della card (padding identico a .fc-blog-card__body) ── */
  .fc-related .elementor-post__text,
  .fc-related .elementor-post .elementor-post__card,
  .elementor-widget-related .elementor-post__text {
    padding: 1.5rem 1.5rem 2rem !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    gap: 0.75rem !important;
  }

  /* ── Data: oro, piccola ── */
  .fc-related .elementor-post__meta-data,
  .fc-related .elementor-post-date {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.8125rem !important;
    color: #BF9B51 !important;
    font-weight: 500 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* ── Titolo card: serif navy, 2 righe max ── */
  .fc-related .elementor-post__title,
  .fc-related .e-loop-item h2,
  .fc-related .e-loop-item h3 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: clamp(1.05rem, 1.6vw, 1.2rem) !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    min-height: calc(1.35em * 2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .fc-related .elementor-post__title a,
  .fc-related .e-loop-item h2 a,
  .fc-related .e-loop-item h3 a {
    color: #0B1D3A !important;
    text-decoration: none !important;
    transition: color .15s ease !important;
  }
  .fc-related .elementor-post:hover .elementor-post__title a,
  .fc-related .e-loop-item:hover h2 a,
  .fc-related .e-loop-item:hover h3 a {
    color: #BF9B51 !important;
  }

  /* ── Excerpt: grigio, 3 righe max ── */
  .fc-related .elementor-post__excerpt,
  .fc-related .elementor-post__excerpt p {
    font-family: 'Inter', sans-serif !important;
    font-size: clamp(0.9rem, 1.2vw, 0.95rem) !important;
    color: #6B6B6B !important;
    line-height: 1.65 !important;
    margin: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* ── Nasconde "Leggi tutto" ── */
  .fc-related .elementor-post__read-more,
  .fc-related .elementor-post__read-more-wrapper,
  .fc-related .e-loop-item .read-more,
  .fc-related .elementor-button-link,
  .elementor-widget-related .elementor-post__read-more,
  .elementor-widget-related .elementor-post__read-more-wrapper {
    display: none !important;
  }

  /* ── Variante text-only: card senza immagine ── */
  /* Selettore moderno: applica lo stile alle card che NON contengono thumbnail */
  .fc-related .elementor-post:not(:has(.elementor-post__thumbnail img)),
  .elementor-widget-related .elementor-post:not(:has(.elementor-post__thumbnail img)) {
    border-left: 3px solid #BF9B51 !important;
  }
  .fc-related .elementor-post:not(:has(.elementor-post__thumbnail img)) .elementor-post__text,
  .elementor-widget-related .elementor-post:not(:has(.elementor-post__thumbnail img)) .elementor-post__text {
    padding: 2rem 1.5rem !important;
    gap: 1rem !important;
  }
  .fc-related .elementor-post:not(:has(.elementor-post__thumbnail img)) .elementor-post__title,
  .elementor-widget-related .elementor-post:not(:has(.elementor-post__thumbnail img)) .elementor-post__title {
    font-size: clamp(1.15rem, 1.8vw, 1.35rem) !important;
    min-height: 0 !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
  }
  .fc-related .elementor-post:not(:has(.elementor-post__thumbnail img)) .elementor-post__excerpt,
  .elementor-widget-related .elementor-post:not(:has(.elementor-post__thumbnail img)) .elementor-post__excerpt {
    -webkit-line-clamp: 5 !important;
    line-clamp: 5 !important;
  }

  /* ── Titolo della sezione "Altri articoli" ── */
  .fc-related .elementor-heading-title,
  .fc-related h2.elementor-heading-title {
    text-align: center;
    font-family: 'Playfair Display', Georgia, serif !important;
    color: #0B1D3A !important;
    font-size: clamp(2rem, 3.5vw, 2.75rem) !important;
    font-weight: 700;
    margin-bottom: 3rem !important;
  }/* End custom CSS */