@charset "utf-8";

body {
  background-color: #1f1f1f;
  color: #cfcfcf;
  font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
  font-size: 16px;
  margin-top: 8px;
  margin-bottom: 8px;
  margin-left: 8px;
  margin-right: 8px;
}

a:link,
a:visited {
  color: #ce9500;
  text-decoration: none;
  font-weight: bold;
}

a:hover,
a:active {
  text-decoration: none;
  color: #ffd56a;
}

h1 {
  font-size: 30px;
  line-height: 1em;
  font-weight: bold;
  color: #ce9500;
  margin-top: 0px;
  margin-bottom: 0px;
}

h2 {
  font-size: 15px;
  line-height: 1em;
  font-weight: bold;
  color: #737373;
  margin-top: -6px;
  margin-bottom: 0px;
}

h3 {
  font-size: 26px;
  font-variant: small-caps;
  font-weight: normal;
  color: #15c035;
  margin-bottom: -12px;
}

b {
  color: #18b8cf;
  font-weight: normal;
}

i {
  color: #808080;
}

hr {
  height: 2px;
  border: none;
  background-color: #737373;
}

figure {
  border: 1px solid #ffffff;
  display: inline-block;
  margin: 0;
  max-width: 100%;
}

figure img {
  display: block;
  max-width: 100%;
  height: auto;
}

.warning {
  font-weight: bold;
  color: #db1e1e;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  margin-top: 7px;
  margin-left: 0px;
  margin-bottom: -4px;
  gap: 4px;
}

/* Menu a griglia centrato */
.menu-grid {
  width: max-content;
  margin: 0 auto;
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 10px;
}

/* Singola voce del menu */
.menu-item a {
  display: grid;
  grid-template-columns: 44px auto;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

/* Lista a griglia centrata */
.centerList {
  width: max-content;
  margin: 0 auto;
}

.rowContainer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}

.rowImage {
  object-fit: cover;
}

.rowText {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

/* Elenco dell'hardware */
.hardwareList {
  width: 100%;
  max-width: none;
  margin: 0;
}

.hardwareRow {
  display: grid;
  grid-template-columns: 300px 1fr; /* immagine | testo */
  column-gap: 12px;
  align-items: start; /* 🔑 allineamento in alto */
  margin-bottom: 8px;
}

.hardwareRow img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  display: block;
  border: 2px solid #808080;
}

.hardwareCat {
  font-size: 16px;
  font-weight: bold;
  color: #808080;
}

.hardwareTitle {
  font-size: 26px;
  font-variant: small-caps;
  font-weight: bold;
  color: #15c035;
  line-height: 1.1em;
}

.webdings {
  font-family: Webdings;
}

/* Definizione per una tabella generica */
.table-grid {
  display: grid;
}

.table-grid .row {
  color: #18b8cf;
  padding: 4px 6px;
  text-align: right;
}
.table-grid .row.alt {
  color: #ffffff;
  text-align: left;
}
.table-grid .highlighted {
  color: #ff6600;
}
