/* === Page-specific overrides === */
.simple-hero { padding: 80px 0 32px; }
.simple-hero .crumb { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; color: var(--ink-3); text-transform: uppercase; margin-bottom: 28px; }
.simple-hero .crumb a { color: var(--ink-3); }
.simple-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 6.5vw, 100px); letter-spacing: -0.025em; line-height: 1; text-wrap: balance; max-width: 18ch; }
.simple-hero h1 em { color: var(--terra); }
.simple-hero .lede { margin-top: 36px; max-width: 56ch; font-size: clamp(18px, 1.4vw, 21px); color: var(--ink-2); line-height: 1.55; }

.simple-hero-photo { margin: 64px 0 0; width: 100%; overflow: hidden; }
.simple-hero-photo img { width: 100%; height: auto; max-height: 620px; object-fit: cover; display: block; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.simple-hero-photo:hover img { transform: scale(1.02); }

.simple-content { padding: 96px 0; }
.simple-content h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 24px; }
.simple-content h2 em { color: var(--terra); }
.simple-content h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.5vw, 28px); letter-spacing: -0.01em; line-height: 1.1; margin-bottom: 12px; margin-top: 28px; }
.simple-content p { color: var(--ink-2); font-size: 17px; line-height: 1.65; max-width: 64ch; margin-bottom: 16px; }
.simple-content ul { margin: 16px 0 24px 24px; }
.simple-content ul li { color: var(--ink-2); font-size: 17px; line-height: 1.55; margin-bottom: 8px; position: relative; }
.simple-content ul li::before { content: "→ "; color: var(--terra); }

.simple-content .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 48px; }
.simple-content .grid-2 > div { background: var(--paper-2); padding: 36px 32px; border-radius: 8px; border: 1px solid var(--line); }
@media (max-width: 800px) { .simple-content .grid-2 { grid-template-columns: 1fr; gap: 24px; } }

.simple-cta { text-align: center; padding: 110px 0; background: var(--paper-2); }
.simple-cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -0.02em; margin-bottom: 18px; text-wrap: balance; max-width: 18ch; margin-left: auto; margin-right: auto; }
.simple-cta h2 em { color: var(--terra); }
.simple-cta p { color: var(--ink-2); font-size: 17px; margin-bottom: 32px; }
.simple-cta .ctas { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* CSS effetti già inclusi nel css globale del preview, qui solo le essentials */
html { scroll-behavior: smooth; }
.btn { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.btn:hover { transform: translateY(-2px); }
@keyframes ots-fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.simple-hero h1 { animation: ots-fade-up 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.simple-hero .lede { animation: ots-fade-up 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both; }
/* === Regole che nell'anteprima erano stili in linea === */
.simple-hero .simple-eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--terra);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.simple-content .photo-gallery {
  display: grid;
  gap: 14px;
  margin: 32px 0 16px;
  grid-template-columns: repeat(3, 1fr);
}
.simple-content .photo-gallery-2 { grid-template-columns: repeat(2, 1fr); }
.simple-content .photo-gallery-4 { grid-template-columns: repeat(4, 1fr); }
.simple-content .photo-gallery .pg-item {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--sand);
  aspect-ratio: 4/3;
}
.simple-content .photo-gallery .pg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.simple-content .photo-gallery .pg-item:hover img { transform: scale(1.05); }
@media (max-width: 800px) {
  .simple-content .photo-gallery,
  .simple-content .photo-gallery-4 { grid-template-columns: 1fr 1fr; }
}

/* I link dentro al testo scritto con l'editor. */
.simple-content a { color: var(--terra); text-decoration: underline; text-underline-offset: 3px; }
.simple-content a:hover { color: var(--terra-2); }

/* Elenco dei risultati di ricerca. */
.archive-list { display: grid; gap: 28px; margin-top: 12px; }
.archive-item h2 { margin-bottom: 6px; }
.archive-item h2 a { color: inherit; }
.archive-item h2 a:hover { color: var(--terra); }
.navigation.pagination { margin-top: 48px; font-family: var(--mono); font-size: 13px; }
.navigation.pagination .page-numbers { padding: 0 8px; color: var(--ink-3); }
.navigation.pagination .current { color: var(--terra); }

/* Tabella dei cookie nella cookie policy (shortcode [otosense_cookie]). */
.ots-cookie-table-wrap { overflow-x: auto; margin: 24px 0 28px; -webkit-overflow-scrolling: touch; }
.ots-cookie-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.ots-cookie-table th {
  text-align: left;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  padding: 0 14px 12px 0;
  border-bottom: 1px solid var(--line);
}
.ots-cookie-table td { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.ots-cookie-table code { font-family: var(--mono); font-size: 13px; color: var(--ink); }
.simple-content small { font-size: 14px; color: var(--ink-3); }
.ots-cookie-table-wrap + p { margin-bottom: 48px; }
