/* ===================================================== */
/* SITE.CSS — Central Stylesheet                          */
/* Fabrizio Ruggiero / ART_HUB                            */
/* ===================================================== */

/* ----------------------------- */
/* Global reset & base typography */
/* ----------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: #222;
  background: #ffffff;
  overflow-x: hidden;
}

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

a {
  color: #222;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ----------------------------- */
/* Header & navigation            */
/* ----------------------------- */

header table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

nav.style18 {
  margin-top: 10px;
}

.menu-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Dropdown */

.dropdown {
  position: relative;
}

.dropdown button {
  background: none;
  border: none;
  font-size: 15px;
  padding: 8px 10px;
  cursor: pointer;
  color: #555;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #f9f9f9;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  z-index: 10;
}

.dropdown-content a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
}

.dropdown-content a:hover {
  background: #eeeeee;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* ----------------------------- */
/* Legacy table safety            */
/* ----------------------------- */

table {
  border-collapse: collapse;
}

td {
  vertical-align: top;
}

/* ===================================================== */
/* ART_HUB NODE SYSTEM                                   */
/* ===================================================== */

.art-hub-node {
  max-width: 880px;
  margin: 60px auto;
  padding: 0 24px;
}

.art-hub-node section {
  margin-bottom: 70px;
}

/* Intro */

.node-intro {
  text-align: center;
}

.node-title {
  font-size: 2.4em;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

.node-type {
  font-style: italic;
  color: #666;
  margin-top: 10px;
}

.node-context {
  color: #777;
  margin-top: 6px;
}

/* Core text */

.node-text p {
  font-size: 1.05em;
  line-height: 1.75;
  max-width: 760px;
  margin: 0 auto;
}

/* Quote */

.node-quote {
  margin: 50px auto;
  max-width: 680px;
  font-style: italic;
  font-size: 1.05em;
  line-height: 1.6;
  text-align: center;
  color: #555;
}

/* Media */

.node-media {
  margin: 80px 0;
  text-align: center;
}

.node-image {
  max-width: 820px;
  margin: 0 auto;
}

.node-image figcaption {
  margin-top: 12px;
  font-size: 0.85em;
  color: #666;
  letter-spacing: 0.02em;
}

/* Metadata */

.node-metadata {
  font-size: 0.9em;
  color: #777;
}

.node-metadata ul {
  list-style: none;
  padding-left: 0;
  max-width: 700px;
  margin: 0 auto;
}

.node-metadata li {
  margin-bottom: 6px;
}

/* ===================================================== */
/* CROSS-LINKS / RELATED NODES                            */
/* ===================================================== */

.node-crosslinks {
  margin-top: 90px;
  padding-top: 40px;
  border-top: 1px solid #e0e0e0;
}

.node-crosslinks h2 {
  font-size: 1.3em;
  letter-spacing: 0.04em;
  margin-bottom: 30px;
  text-align: center;
}

.cross-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

/* Cards */

.cross-card {
  display: block;
  padding: 24px 22px;
  border: 1px solid #e2e2e2;
  background: #fafafa;
  transition: all 0.25s ease;
}

.cross-card:hover {
  background: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* Card meta */

.cross-type {
  display: block;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 6px;
}

.cross-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #222;
}

/* ===================================================== */
/* Responsive                                            */
/* ===================================================== */

@media (max-width: 768px) {

  .menu-container {
    justify-content: center;
    gap: 12px;
  }

  .node-title {
    font-size: 1.9em;
  }

  .node-text p {
    font-size: 1em;
    line-height: 1.65;
  }

  .node-media {
    margin: 50px 0;
  }

  .cross-card {
    padding: 20px 18px;
  }
}.node-title {
  font-weight: 480;          /* meno “bold digitale” */
  letter-spacing: 0.04em;   /* più respiro */
}

.node-type {
  font-size: 0.9em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.node-context {
  font-size: 0.9em;
}.node-text p {
  letter-spacing: 0.01em;
}

.node-text p + p {
  margin-top: 1.2em;
}.node-quote {
  letter-spacing: 0.02em;
  opacity: 0.9;
}.node-image img {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
	}

	.node-metadata {
  font-size: 0.85em;
  letter-spacing: 0.02em;
}.node-crosslinks h2 {
  text-transform: uppercase;
  font-size: 1.1em;
}

.cross-title {
  letter-spacing: 0.02em;
}
}