﻿.img-frame {
  width: 250px;
  height: 250px;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f3f0;   /* tono chiaro neutro */
  border: 1px solid #C65D3B;
  margin: auto;
}

.img-frame img {
  height: 250px;
  width: auto;
  border-radius: 12px;          /* leggermente stondato */
  display: block;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 0 0 3px #fff;  /* effetto margine interno */
}.news-block {
  border: 1px solid rgba(198,93,59,0.15);
  border-radius: 10px;
  background-color: #fff;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.news-block h4 {
  margin-bottom: 12px;
}

.news-block p {
  margin-top: 10px;
  margin-bottom: 10px;
}

/* ===== Responsive Layout Borghe e Memorie ===== */

/* Tablet e Mobile (sotto 992 px) */
@media (max-width: 991.98px) {
  .news-block {
    padding: 20px;
    margin-bottom: 25px;
  }

  .news-block h4 {
    font-size: 18px;
    line-height: 1.4;
  }

  .news-block p {
    font-size: 14px;
  }

  .btn {
    font-size: 14px;
    padding: 6px 14px;
  }
}

/* Mobile (sotto 768 px) */
@media (max-width: 767.98px) {
  /* L'immagine scende sotto il testo */
  .news-block .col-lg-3,
  .news-block .col-md-4 {
    margin-top: 20px;
  }

  /* Riquadro immagine ridotto */
  .img-frame {
    width: 200px;
    height: 200px;
    border-radius: 12px;
  }

  .img-frame img {
    height: 200px;
    border-radius: 10px;
  }

  /* Allineamento e margine inferiore */
  .news-block .col-lg-3.text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* Testo descrittivo più leggibile su mobile */
  .news-block p {
    line-height: 1.5;
  }
}
/* ============================
   Responsive: Intro Area
   ============================ */

/* Tablet e schermi medi (max 991px) */
@media (max-width: 991.98px) {
  .intro-area h1 {
    font-size: 26px;
  }
  .intro-area p {
    font-size: 16px;
  }
  .intro-area img {
    width: 100px;
  }
}

/* Smartphone (max 767px) */
@media (max-width: 767.98px) {
  .intro-area {
    padding: 40px 0;
  }
  .intro-area img {
    width: 90px;
    margin-bottom: 8px;
  }
  .intro-area h1 {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 10px;
  }
  .intro-area p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  .intro-area hr {
    width: 50px;
    height: 2px;
    margin: 15px auto;
  }
}

/* Smartphone piccoli (max 480px) */
@media (max-width: 480px) {
  .intro-area h1 {
    font-size: 20px;
  }
  .intro-area p {
    font-size: 14px;
  }
}


.riepilogo {
  margin-top: 2rem;
  padding: 1rem;
  background: #f9f9f9;
  border-left: 3px solid #ccc;
}
.riepilogo h3 {
  font-size: 1.2rem;
  margin-bottom: .5rem;
}

