/* =========================================================
   RESET / BASE
   ========================================================= */
* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  font-family: 'Market Sans', Arial, sans-serif;
  color: #333;
  background: #f7f7f7;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

img { border: 0; }

/* =========================================================
   CONTAINER
   ========================================================= */
.ecp-container {
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  padding: 0 16px 24px;
  box-sizing: border-box;
}

/* HEADER UNICO: stessa immagine responsive per desktop e mobile */
.ecp-header { width: 100%; background: #000; overflow: hidden; }
.ecp-header .ecp-header-image { display: block; width: 100%; height: auto; }

/* =========================================================
   NAVIGAZIONE
   ========================================================= */
.ecp-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #e5e5e5;
  text-align: center;
}

.ecp-nav a {
  color: #0654ba;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  padding: 10px 12px;
  line-height: 24px;
}

.ecp-nav a:hover,
.ecp-nav a:focus {
  text-decoration: underline;
}

/* =========================================================
   CONTENITORI IMMAGINE A RAPPORTO FISSO
   ========================================================= */
.ecp-box {
  position: relative;
  overflow: hidden;
}

.ecp-box > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.ecp-banner {
  aspect-ratio: 1100 / 130;
  margin: 2px 0;
}

.ecp-info-header {
  aspect-ratio: 1100 / 95;
  margin: 0 0 2px;
}

/* =========================================================
   CONTENUTO
   ========================================================= */
.ecp-item-desc { margin: 0; }

.ecp-spacer { height: 10px; }

.ecp-deco {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 4px 0;
  align-items: center;
}

.ecp-deco img {
  display: block;
  width: 70%;
  height: auto;
  max-width: 100%;
}

/* =========================================================
   FOOTER
   ========================================================= */
.ecp-footer {
  margin-top: 24px;
  padding: 0;
  text-align: center;
  font-size: 14px;
  color: #666;
}

.ecp-footer img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}
