/*
Theme Name: RowTech Base
Theme URI: https://rowtech.it/
Author: Row Tech SRLS
Author URI: https://rowtech.it/
Description: Tema parent leggero, pulito e pronto per siti custom Row Tech.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: rowtech-base
*/

:root {
  --rt-bg: #ffffff;
  --rt-ink: #111827;
  --rt-muted: #5b6472;
  --rt-line: #e5e7eb;
  --rt-accent: #0f766e;
  --rt-accent-strong: #0b4f4a;
  --rt-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--rt-bg);
  color: var(--rt-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-header, .site-footer { border-color: var(--rt-line); }
.site-header { border-bottom: 1px solid var(--rt-line); }
.site-header__inner, .site-footer__inner, .site-main {
  width: min(100% - 32px, var(--rt-max));
  margin-inline: auto;
}
.site-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-branding { font-weight: 700; letter-spacing: 0; text-decoration: none; }
.primary-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-menu a { text-decoration: none; color: var(--rt-muted); }
.primary-menu a:hover, .primary-menu .current-menu-item > a { color: var(--rt-ink); }
.site-main { padding-block: 56px; }
.entry-header { margin-bottom: 28px; }
.entry-title {
  margin: 0;
  max-width: 900px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.06;
  letter-spacing: 0;
}
.entry-content > * { max-width: 820px; }
.entry-content > .alignwide { max-width: var(--rt-max); }
.entry-content > .alignfull { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); }
.site-footer { border-top: 1px solid var(--rt-line); color: var(--rt-muted); }
.site-footer__inner { padding-block: 28px; font-size: .95rem; }
button, input, select, textarea { font: inherit; }
@media (max-width: 720px) {
  .site-header__inner { align-items: flex-start; flex-direction: column; padding-block: 18px; }
  .primary-menu { flex-wrap: wrap; gap: 12px 16px; }
  .site-main { padding-block: 36px; }
}
