/* supplement.css — generic readable styling for the legacy WebSite X5 pages
   (cos-e-, iscriviti, link, contatti, gnf-in-tour). Their original theme CSS/JS
   (/style, /res, /pcss) was not preserved in the archive and is unrecoverable;
   this restores a clean, coherent layout without chasing the original design. */

#imPage {
  max-width: 1000px;
  margin: 0 auto;
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  color: #333333;
  line-height: 1.6;
}
#imHeader { padding: 0; margin: 0; }
#imHeader img { max-width: 100%; height: auto; display: block; }

/* main menu */
#imMnMn ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  background: #3d6b35;
}
#imMnMn li { position: relative; }
#imMnMn li a,
#imMnMn li > .imMnMnFirstBg {
  display: block;
  padding: 12px 16px;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}
#imMnMn li a:hover { background: #315828; }
#imMnMn li.imMnMnCurrent > a { background: #2a4c22; }
#imMnMn .imMnMnImg { display: none; }
/* submenu (LA STORIA) — render inline, keep links reachable */
#imMnMn ul ul {
  display: block;
  background: transparent;
  padding-left: 8px;
}
#imMnMn .imMnMnLevelImg { display: none; }

/* content */
#imContent {
  padding: 24px 28px;
  overflow: hidden;
}
#imPgTitle {
  color: #2a4c22;
  font-size: 26px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 8px;
  margin: 0 0 18px;
}
#imContent p { margin: 0 0 14px; }
#imContent a { color: #3d6b35; }
#imContent img { max-width: 100%; height: auto; }
#imContent > div[style*="float"] { float: none !important; width: auto !important; }

/* footer */
#imFooter {
  clear: both;
  padding: 16px 28px;
  background: #f2f2f2;
  color: #666666;
  font-size: 12px;
  text-align: center;
}
