@font-face{
  font-family: "Inter";
  src: url("docs/fonts/Inter/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face{
  font-family: "Inter";
  src: url("docs/fonts/Inter/Inter-Italic-VariableFont_opsz,wght.ttf") format("truetype");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}
:root{
  /* Palette sobria stile documentazione WordPress */
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #1d2327;
  --muted: #646970;
  --border: #dcdcde;

  --headerblack: #000000;

  --link: #2271b1;
  --linkHover: #135e96;

  /* Niente “effetti app” */
  --shadow: none;
  --radius: 6px;
}

*{ box-sizing:border-box; }

html,body{ height:100%; }

body{
  margin:0;
font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
.wrap{
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header{
  background: var(--headerblack);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap{
  max-width: 1400px;
}

.header-inner{
  height: 64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color: #ffffff;
  font-weight: 700;
  line-height: 1;
}

.brand-logo{
  height:34px;
  width:auto;
  display:block;
}

.top-nav{
  display:flex;
  gap:24px;
}

.top-nav a{
  text-decoration:none;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
}

.top-nav a:hover{
  color: rgba(255,255,255,.85);
}

.top-nav a.top-nav-auth{
  margin-left: 22px;
}

/* Hero */
.hero{
  padding: 44px 0 18px;
}

.hero-inner{
  background: var(--surface);
  padding: 26px 22px;
  box-shadow: none;
}

.eyebrow{
  margin:0 0 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 12px;
}

.hero-title{
  margin:0 0 10px;
  font-size: 36px;
  line-height: 1.15;
}

.hero-subtitle{
  margin:0 0 18px;
  color: var(--muted);
  max-width: 70ch;
}

/* Azioni */
.actions{
  display:flex;
  gap:10px;
  flex-wrap: wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 9px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  text-decoration:none;
  font-weight: 700;
  font-size: 14px;
}

.btn:hover{
  border-color: var(--link);
  color: var(--linkHover);
}

.btn.primary{
  background: var(--link);
  border-color: var(--link);
  color: #fff;
}

.btn.primary:hover{
  background: var(--linkHover);
  border-color: var(--linkHover);
  color:#fff;
}

/* Cards */
.cards{
  padding: 16px 0 48px;
}

.grid-2{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 860px){
  .grid-2{ grid-template-columns: 1fr; }
}

.card{
  display:block;
  text-decoration:none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  color: var(--text);
  transition: none;
}

.card:hover{
  border-color: rgba(34,113,177,.45);
}

.card-kicker{
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 11px;
  font-weight: 800;
}

.card-title{
  margin: 8px 0 8px;
  font-size: 18px;
}

.card-text{
  margin:0 0 14px;
  color: var(--muted);
}

.card-text code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95em;
}

.card-cta{
  font-weight: 800;
  color: var(--linkHover);
  font-size: 14px;
}

/* Footer */
.site-footer{
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner{
  height: 56px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.muted{
  color: var(--muted);
  font-size: 13px;
}

/* =========================================================
   DOCS — SOLO docs.html
   ========================================================= */

body.docs{
  background:#fff;
  color: var(--text);
}

/* Topbar minimale */
body.docs .docs-topbar{
  background:#1d2327;
  border-bottom:1px solid #2c3338;
}

body.docs .docs-topbar-inner{
  width:100%;
  padding: 0 18px;
  height:56px;
  display:flex;
  align-items:center;
}

body.docs .docs-topbar-title{
  color:#fff;
  font-weight:700;
  font-size:14px;
  letter-spacing:.2px;
}

/* Layout (no compattamento) */
body.docs .docs-layout{
  width:100%;
  display:grid;
  grid-template-columns: 320px 1fr;
  gap: 26px;
  padding: 22px 40px 64px;
}

@media (max-width: 980px){
  body.docs .docs-layout{ grid-template-columns: 1fr; }
  body.docs .docs-sidebar{ position:static; top:auto; }
}

/* Sidebar */
body.docs .docs-sidebar{
  position: sticky;
  top: 18px;
  align-self:start;
}

body.docs .docs-search{
  background:#fff;
  border:1px solid var(--border);
  border-radius: 6px;
  padding: 14px;
  margin-bottom: 14px;
}

body.docs .docs-label{
  display:block;
  font-size:12px;
  color: var(--muted);
  margin: 0 0 8px;
}

body.docs .docs-search-row{
  display:flex;
  gap:8px;
  align-items:center;
}

body.docs #docsSearch{
  width:100%;
  padding: 10px 10px;
  border:1px solid var(--border);
  border-radius: 6px;
  font-size:14px;
  outline:none;
}

body.docs #docsSearch:focus{
  border-color: rgba(34,113,177,.55);
}

body.docs .docs-clear{
  width:34px;
  height:34px;
  border:1px solid var(--border);
  border-radius:6px;
  background:#fff;
  font-size:18px;
  line-height: 1;
  cursor:pointer;
  color: var(--muted);
}

body.docs .docs-clear:hover{
  border-color: rgba(34,113,177,.55);
  color: var(--text);
}

body.docs .docs-chapters-title{
  font-size:14px;
  font-weight:700;
  margin: 0 0 10px;
}

body.docs .docs-nav-group-btn{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 8px 10px;
  background:transparent;
  border:0;
  cursor:pointer;
  font-weight:700;
  color: var(--text);
  font-size:14px;
}

body.docs .docs-caret{
  font-size:12px;
  color: var(--muted);
}

body.docs .docs-nav-list{
  list-style:none;
  margin: 6px 0 0;
  padding: 0 0 0 10px;
}

body.docs .docs-nav-list li{ margin: 6px 0; }

body.docs a.docs-nav-link{
  display:inline-block;
  text-decoration:none;
  color: var(--muted);
  font-size:14px;
  padding: 2px 0 2px 10px;
}

body.docs a.docs-nav-link:hover{
  color: var(--linkHover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.docs a.docs-nav-link.is-active{
  color: var(--text);
  font-weight:700;
}

/* Content */
body.docs .docs-article{
  max-width: none;
}

body.docs .docs-lead{
  margin: 0 0 18px;
  max-width: 90ch;
}

body.docs .docs-hr{
  border:0;
  border-top:1px solid var(--border);
  margin: 18px 0 26px;
}

body.docs .docs-section{
  padding: 8px 0 18px;
}

body.docs .docs-muted{
  color: var(--muted);
  margin:0;
}

/* =========================================================
   HEADINGS — SOLO docs.html
   ========================================================= */

body.docs h1,
body.docs h2,
body.docs h3,
body.docs h4,
body.docs h5,
body.docs h6{
  margin: 0 0 10px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--text);
}

body.docs h1{
  font-size: 40px;
  line-height: 1.15;
  margin: 10px 0 18px;
}

body.docs h2{
  font-size: 28px;
  line-height: 1.25;
  margin: 22px 0 10px;
}

body.docs h3{
  font-size: 22px;
  line-height: 1.3;
  margin: 18px 0 8px;
}

body.docs h4{
  font-size: 18px;
  line-height: 1.35;
  margin: 14px 0 6px;
}

body.docs h5{
  font-size: 16px;
  line-height: 1.4;
  margin: 12px 0 6px;
}

body.docs h6{
  font-size: 14px;
  line-height: 1.45;
  margin: 10px 0 6px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}/* Login */
body.login-page{
  min-height:100%;
  background:#f6f7f7;
}

.login-shell{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:32px 18px;
}

.login-card{
  width:100%;
  max-width:420px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:28px;
}

.login-brand{
  display:inline-flex;
  margin:0 0 22px;
}

.login-card h1{
  margin:0 0 20px;
  font-size:28px;
  line-height:1.2;
}

.login-form{
  display:grid;
  gap:14px;
}

.login-field label{
  display:block;
  margin:0 0 6px;
  font-size:13px;
  font-weight:700;
  color:var(--text);
}

.login-field input{
  width:100%;
  height:42px;
  border:1px solid var(--border);
  border-radius:6px;
  padding:8px 10px;
  font:inherit;
  color:var(--text);
  background:#fff;
}

.login-field input:focus{
  outline:none;
  border-color:rgba(34,113,177,.65);
}

.login-submit{
  width:100%;
  height:42px;
  margin-top:4px;
}

.login-error{
  margin:0 0 14px;
  padding:10px 12px;
  border-left:4px solid #b32d2e;
  background:#fcf0f1;
  color:#1d2327;
}

