@charset "UTF-8";
/* ===== Posts Carousel (Splide) ===== */
.splide__container {
  box-sizing: border-box;
  position: relative; }

.splide__list {
  backface-visibility: hidden;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important; }

.splide.is-initialized:not(.is-active) .splide__list {
  display: block; }

.splide__pagination {
  -ms-flex-align: center;
  align-items: center;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 0;
  pointer-events: none; }

.splide__pagination li {
  display: inline-block;
  line-height: 1;
  list-style-type: none;
  margin: 0;
  pointer-events: auto; }

.splide:not(.is-overflow) .splide__pagination {
  display: none; }

.splide__progress__bar {
  width: 0; }

.splide {
  position: relative;
  visibility: hidden; }

.splide.is-initialized, .splide.is-rendered {
  visibility: visible; }

.splide__slide {
  backface-visibility: hidden;
  box-sizing: border-box;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  list-style-type: none !important;
  margin: 0;
  position: relative; }

.splide__slide img {
  vertical-align: bottom; }

.splide__spinner {
  animation: splide-loading 1s linear infinite;
  border: 2px solid #999;
  border-left-color: transparent;
  border-radius: 50%;
  bottom: 0;
  contain: strict;
  display: inline-block;
  height: 20px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 20px; }

.splide__sr {
  clip: rect(0 0 0 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px; }

.splide__toggle.is-active .splide__toggle__play, .splide__toggle__pause {
  display: none; }

.splide__toggle.is-active .splide__toggle__pause {
  display: inline; }

.splide__track {
  overflow: hidden;
  position: relative;
  z-index: 0; }

@keyframes splide-loading {
  0% {
    transform: rotate(0); }
  to {
    transform: rotate(1turn); } }

.splide__track--draggable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none; }

.splide__track--fade > .splide__list > .splide__slide {
  margin: 0 !important;
  opacity: 0;
  z-index: 0; }

.splide__track--fade > .splide__list > .splide__slide.is-active {
  opacity: 1;
  z-index: 1; }

.splide--rtl {
  direction: rtl; }

.splide__track--ttb > .splide__list {
  display: block; }

.splide__arrow {
  -ms-flex-align: center;
  align-items: center;
  background: #ccc;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: -ms-flexbox;
  display: flex;
  height: 2em;
  -ms-flex-pack: center;
  justify-content: center;
  opacity: .7;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2em;
  z-index: 1; }

.splide__arrow svg {
  fill: #000;
  height: 1.2em;
  width: 1.2em; }

.splide__arrow:hover:not(:disabled) {
  opacity: .9; }

.splide__arrow:disabled {
  opacity: .3; }

.splide__arrow:focus-visible {
  outline: 3px solid #0bf;
  outline-offset: 3px; }

.splide__arrow--prev {
  left: 1em; }

.splide__arrow--prev svg {
  transform: scaleX(-1); }

.splide__arrow--next {
  right: 1em; }

.splide.is-focus-in .splide__arrow:focus {
  outline: 3px solid #0bf;
  outline-offset: 3px; }

.splide__pagination {
  bottom: .5em;
  left: 0;
  padding: 0 1em;
  position: absolute;
  right: 0;
  z-index: 1; }

.splide__pagination__page {
  background: #ccc;
  border: 0;
  border-radius: 50%;
  display: inline-block;
  height: 8px;
  margin: 3px;
  opacity: .7;
  padding: 0;
  position: relative;
  transition: transform .2s linear;
  width: 8px; }

.splide__pagination__page.is-active {
  background: #fff;
  transform: scale(1.4);
  z-index: 1; }

.splide__pagination__page:hover {
  cursor: pointer;
  opacity: .9; }

.splide__pagination__page:focus-visible {
  outline: 3px solid #0bf;
  outline-offset: 3px; }

.splide.is-focus-in .splide__pagination__page:focus {
  outline: 3px solid #0bf;
  outline-offset: 3px; }

.splide__progress__bar {
  background: #ccc;
  height: 3px; }

.splide__slide {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }

.splide__slide:focus {
  outline: 0; }

@supports (outline-offset: -3px) {
  .splide__slide:focus-visible {
    outline: 3px solid #0bf;
    outline-offset: -3px; } }

@media screen and (-ms-high-contrast: none) {
  .splide__slide:focus-visible {
    border: 3px solid #0bf; } }

@supports (outline-offset: -3px) {
  .splide.is-focus-in .splide__slide:focus {
    outline: 3px solid #0bf;
    outline-offset: -3px; } }

@media screen and (-ms-high-contrast: none) {
  .splide.is-focus-in .splide__slide:focus {
    border: 3px solid #0bf; }
  .splide.is-focus-in .splide__track > .splide__list > .splide__slide:focus {
    border-color: #0bf; } }

.splide__toggle {
  cursor: pointer; }

.splide__toggle:focus-visible {
  outline: 3px solid #0bf;
  outline-offset: 3px; }

.splide.is-focus-in .splide__toggle:focus {
  outline: 3px solid #0bf;
  outline-offset: 3px; }

.splide__track--nav > .splide__list > .splide__slide {
  border: 3px solid transparent;
  cursor: pointer; }

.splide__track--nav > .splide__list > .splide__slide.is-active {
  border: 3px solid #000; }

.splide__arrows--rtl .splide__arrow--prev {
  left: auto;
  right: 1em; }

.splide__arrows--rtl .splide__arrow--prev svg {
  transform: scaleX(1); }

.splide__arrows--rtl .splide__arrow--next {
  left: 1em;
  right: auto; }

.splide__arrows--rtl .splide__arrow--next svg {
  transform: scaleX(-1); }

.splide__arrows--ttb .splide__arrow {
  left: 50%;
  transform: translate(-50%); }

.splide__arrows--ttb .splide__arrow--prev {
  top: 1em; }

.splide__arrows--ttb .splide__arrow--prev svg {
  transform: rotate(-90deg); }

.splide__arrows--ttb .splide__arrow--next {
  bottom: 1em;
  top: auto; }

.splide__arrows--ttb .splide__arrow--next svg {
  transform: rotate(90deg); }

.splide__pagination--ttb {
  bottom: 0;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  left: auto;
  padding: 1em 0;
  right: .5em;
  top: 0; }

/* ======================================================================
   COMPONENT: Posts Carousel
   Tutto ciò che è scoped al componente vive qui
====================================================================== */
.posts-carousel {
  /* ------------------------------------------------------------------
     Titolo
  ------------------------------------------------------------------ */
  /* ------------------------------------------------------------------
     Splide – integrazione e sicurezza layout
  ------------------------------------------------------------------ */
  /* ------------------------------------------------------------------
     Card – struttura base
  ------------------------------------------------------------------ */
  /* ------------------------------------------------------------------
     Media / immagine
  ------------------------------------------------------------------ */
  /* ------------------------------------------------------------------
     Testi card
  ------------------------------------------------------------------ */
  /* ------------------------------------------------------------------
     Tag / filtri
  ------------------------------------------------------------------ */
  /* ------------------------------------------------------------------
     Responsive
  ------------------------------------------------------------------ */ }
  .posts-carousel .posts-carousel__title {
    text-align: left;
    color: var(--primary-fuxia);
    font-size: 44px;
    font-weight: 400;
    line-height: 42px;
    margin: 0 0 24px 0; }
  .posts-carousel .posts-splide {
    overflow: hidden; }
  .posts-carousel .posts-splide .splide__arrows {
    display: none !important; }
  .posts-carousel .posts-splide .splide__track {
    overflow: hidden; }
  .posts-carousel .posts-splide .splide__list {
    width: 100%;
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none; }
  .posts-carousel .posts-splide .splide__slide {
    transition: opacity .22s ease;
    padding: 0; }
  .posts-carousel .posts-splide .splide__slide.is-fading-out {
    opacity: 0;
    pointer-events: none; }
  .posts-carousel .posts-splide .splide__slide.is-filtered-out {
    display: none !important; }
  .posts-carousel .project-card {
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    transition: transform 0.3s ease; }
    .posts-carousel .project-card:hover {
      transform: translateY(-4px); }
  .posts-carousel .project-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit; }
  .posts-carousel .project-content {
    padding: 10px 0 0 0;
    min-height: 132px;
    display: flex;
    flex-direction: column; }
  .posts-carousel .project-img {
    height: 250px;
    overflow: hidden;
    border-radius: 0;
    background: #eee;
    contain: layout paint; }
  .posts-carousel .project-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transform: translateZ(0); }
  .posts-carousel .project-kicker {
    margin: 10px 0 8px 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 14px;
    color: var(--primary-pink-medium); }
  .posts-carousel .project-card h3 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 24px;
    color: var(--primary-fuxia);
    min-height: 48px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden; }
    @media (max-width: 768px) {
      .posts-carousel .project-card h3 {
        font-size: 20px;
        line-height: 20px;
        min-height: 40px; } }
  .posts-carousel .project-card p {
    margin: 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 22px;
    color: var(--neutral-dark-grey);
    min-height: 44px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    padding-bottom: 0; }
    @media (max-width: 768px) {
      .posts-carousel .project-card p {
        font-size: 16px;
        line-height: 18px;
        min-height: 36px; } }
  .posts-carousel .project-tags {
    margin-top: auto;
    padding: 12px 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap; }
  .posts-carousel .project-tags .tag {
    display: inline-block;
    background: var(--primary-pink);
    color: var(--primary-fuxia);
    padding: 10px 16px;
    font-size: 16px;
    font-weight: 600;
    line-height: 16px;
    border-radius: 40px;
    cursor: pointer;
    border: 0;
    transition: background .15s ease, color .15s ease, transform .15s ease; }
  .posts-carousel .project-tags .tag:hover,
  .posts-carousel .project-tags .tag.is-active {
    background: var(--primary-fuxia);
    color: var(--bg-white); }
  .posts-carousel .project-tags .tag:hover {
    transform: translateY(-1px); }
  @media (max-width: 768px) {
    .posts-carousel .posts-carousel__title {
      font-size: 32px; }
    .posts-carousel .project-card:hover {
      transform: none; }
    .posts-carousel .project-img {
      height: 200px; }
    .posts-carousel .project-card h3 {
      font-size: 20px; }
    .posts-carousel .project-card p {
      font-size: 16px; }
    .posts-carousel .project-tags .tag {
      font-size: 14px;
      padding: 8px 12px; } }
/* ======================================================================
   GLOBAL UI – Card hover (shared)
====================================================================== */
.project-card {
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden; }

/* ======================================================================
   GLOBAL UI – Tag animation
====================================================================== */
@keyframes tag-bounce {
  0% {
    transform: translateY(0); }
  25% {
    transform: translateY(-8px); }
  50% {
    transform: translateY(0); }
  70% {
    transform: translateY(-4px); }
  85% {
    transform: translateY(0); }
  100% {
    transform: translateY(0); } }

.post-tag {
  transition: all 0.2s ease; }
  .post-tag:hover {
    transform: scale(1.05); }
  .post-tag.is-active {
    animation: tag-bounce 0.5s ease; }
