/* ═══════════════════════════════════════════════════════════
   agriturismi.app — Theme CSS v4.1
   Mobile-first · Professional · Distinctive
   ═══════════════════════════════════════════════════════════ */

/* ── Reset & tokens ────────────────────────────────────────── */
:root {
  --g:     #28785d;
  --g-dk:  #0d3e31;
  --g-lt:  #d8f3dc;
  --g-bg:  #f0faf4;
  --ink:   #111827;
  --muted: #6b7280;
  --line:  #e5e7eb;
  --bg:    #ffffff;
  --r:     24px;
  --r-lg:  32px;
  --sh:    0 4px 24px rgba(17,24,39,.08);
  --sh-lg: 0 12px 48px rgba(17,24,39,.13);
  --ease:  cubic-bezier(.22,1,.36,1);
  --font:  'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { margin: 0 !important; overflow-x: hidden; scroll-behavior: smooth; }

body.agri-body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.agri-no-scroll { overflow: hidden; }
body.admin-bar .agri-hdr { top: 32px; }
@media (max-width: 782px) { body.admin-bar .agri-hdr { top: 46px; } }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.agri-site { width: 100%; min-height: 100vh; overflow: hidden; }
.agri-main { width: 100%; }

/* ── Scroll progress ───────────────────────────────────────── */
.agri-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 9999;
  background: linear-gradient(90deg, var(--g), #6ee7b7);
  transform-origin: left; transform: scaleX(0); pointer-events: none;
  transition: transform .08s linear;
}

/* ── Back to top ───────────────────────────────────────────── */
.agri-btt {
  position: fixed; bottom: 24px; right: 24px; z-index: 1000;
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: var(--g); color: #fff; font-size: 18px; font-weight: 700;
  cursor: pointer; box-shadow: var(--sh);
  opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s;
  display: flex; align-items: center; justify-content: center;
}
.agri-btt.is-visible { opacity: 1; transform: translateY(0); }
.agri-btt:hover { background: var(--g-dk); }

/* ── Header ────────────────────────────────────────────────── */
.agri-hdr {
  position: sticky; top: 0; left: 0; right: 0; z-index: 200;
  height: 72px; background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 64px);
  transition: border-color .2s, box-shadow .2s;
}
.agri-hdr.is-scrolled { border-color: var(--line); box-shadow: 0 2px 16px rgba(17,24,39,.06); }

.agri-brand { display: flex; align-items: center; gap: 12px; }
.agri-logo  { width: 40px; height: 40px; flex: 0 0 40px; }
.agri-brand-name {
  font-size: clamp(22px, 3.5vw, 28px); font-weight: 900; letter-spacing: -.055em;
  color: var(--ink); white-space: nowrap;
}
.agri-brand-dot { color: var(--g); }

.agri-nav-desk { display: flex; align-items: center; gap: 6px; }
.agri-nav-desk a { font-size: 14px; font-weight: 600; color: var(--muted); padding: 7px 14px; border-radius: 8px; transition: color .15s, background .15s; }
.agri-nav-desk a:hover { color: var(--ink); background: var(--g-bg); }
.agri-nav-cta { background: var(--g) !important; color: #fff !important; border-radius: 999px !important; padding: 8px 18px !important; }
.agri-nav-cta:hover { background: var(--g-dk) !important; }

.agri-burger {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer; flex: 0 0 44px;
}
.agri-burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; display: block; transition: transform .2s, opacity .2s; }
.agri-burger[aria-expanded=true] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.agri-burger[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.agri-burger[aria-expanded=true] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.agri-drawer {
  position: fixed; inset: 72px 0 0 0; z-index: 190;
  background: rgba(17,24,39,.5); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.agri-drawer.is-open { opacity: 1; pointer-events: all; }
.agri-drawer-inner {
  position: absolute; top: 0; left: 0; right: 0;
  background: #fff; padding: 12px 20px 24px;
  border-bottom: 1px solid var(--line); box-shadow: var(--sh-lg);
  transform: translateY(-100%); transition: transform .28s var(--ease);
}
.agri-drawer.is-open .agri-drawer-inner { transform: translateY(0); }
.agri-drawer-inner a {
  display: block; padding: 14px 4px; font-size: 17px; font-weight: 700;
  border-bottom: 1px solid var(--line); color: var(--ink);
}
.agri-drawer-inner a:last-child { border-bottom: none; }
.agri-drawer-cta { margin-top: 8px; color: var(--g) !important; }

/* ── Hero ──────────────────────────────────────────────────── */
.agri-hero {
  position: relative; min-height: 620px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--g-dk);
}
.agri-hero-bg {
  position: absolute; inset: 0; overflow: hidden;
  background: linear-gradient(160deg, #0d3e31 0%, #1a5944 40%, #28785d 100%);
}
.agri-hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .22; pointer-events: none;
  animation: agriFloat linear infinite;
}
.agri-hero-orb-1 { width: 560px; height: 560px; background: #2d7a56; top: -120px; right: -100px; animation-duration: 20s; }
.agri-hero-orb-2 { width: 340px; height: 340px; background: #6ee7b7; bottom: -60px; left: 5%; animation-duration: 26s; animation-delay: -10s; }
@keyframes agriFloat { 0%,100%{transform:translateY(0) scale(1)} 50%{transform:translateY(-24px) scale(1.04)} }

.agri-hero-content {
  position: relative; z-index: 2; width: min(1080px, 100%);
  padding: clamp(60px, 10vw, 100px) clamp(20px, 5vw, 60px) clamp(48px, 8vw, 80px);
  color: #fff; text-align: center;
}

/* Badge */
.agri-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px; padding: 8px 20px; font-size: 13px; font-weight: 700;
  letter-spacing: .04em; color: #a7f3d0; margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.agri-hero-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #6ee7b7; flex: 0 0 auto;
  box-shadow: 0 0 0 0 rgba(110,231,183,.4);
  animation: agriPulse 2s ease-out infinite;
}
@keyframes agriPulse { 0%{box-shadow:0 0 0 0 rgba(110,231,183,.5)} 70%{box-shadow:0 0 0 8px rgba(110,231,183,0)} 100%{box-shadow:0 0 0 0 rgba(110,231,183,0)} }

/* H1 */
.agri-hero-h1 {
  font-size: clamp(48px, 9vw, 100px); font-weight: 950; letter-spacing: -.065em;
  line-height: 1.0; margin: 0 0 20px; color: #fff;
  text-shadow: 0 4px 24px rgba(0,0,0,.25);
}
.agri-typewriter { color: #6ee7b7; position: relative; }
.agri-typewriter::after {
  content: '|'; animation: agriBlink .7s step-end infinite;
}
@keyframes agriBlink { 0%,100%{opacity:1} 50%{opacity:0} }

/* Subtitle */
.agri-hero-sub {
  font-size: clamp(18px, 3vw, 26px); font-weight: 400; line-height: 1.45;
  color: rgba(255,255,255,.75); margin: 0 0 36px;
}

/* Search */
.agri-hero-search { display: flex; flex-direction: column; align-items: center; gap: 14px; width: min(700px, 100%); margin: 0 auto 28px; }
.agri-search-wrap {
  width: 100%; display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.12); backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,.25); border-radius: 999px;
  padding: 0 24px; height: 60px;
  transition: border-color .2s, box-shadow .2s;
}
.agri-search-wrap:focus-within {
  border-color: #6ee7b7; box-shadow: 0 0 0 4px rgba(110,231,183,.2);
}
.agri-search-icon { font-size: 20px; color: #6ee7b7; flex: 0 0 auto; }
.agri-search-input {
  flex: 1; border: none; background: transparent; color: #fff;
  font-size: 16px; font-family: var(--font); outline: none;
}
.agri-search-input::placeholder { color: rgba(255,255,255,.5); }

.agri-search-btn, .agri-near-btn {
  width: 100%; height: 54px; border-radius: 999px; border: none;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 17px; font-weight: 800; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s;
}
.agri-search-btn { background: #fff; color: var(--g-dk); }
.agri-search-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.agri-search-btn:disabled { opacity: .6; }
.agri-near-btn {
  background: transparent; color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.3);
}
.agri-near-btn:hover { background: rgba(255,255,255,.1); }

/* Tags */
.agri-hero-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.agri-hero-tag {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px; padding: 8px 16px; color: rgba(255,255,255,.85);
  font-size: 14px; font-weight: 600; cursor: pointer; backdrop-filter: blur(6px);
  transition: background .18s, transform .18s var(--ease);
}
.agri-hero-tag:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }

/* Scroll hint */
.agri-hero-scroll {
  position: absolute; bottom: 20px; right: 24px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.45); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.agri-scroll-line { width: 1px; height: 36px; background: rgba(255,255,255,.25); overflow: hidden; position: relative; }
.agri-scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: rgba(255,255,255,.7); animation: agriDrip 1.8s ease-in-out infinite;
}
@keyframes agriDrip { 0%{top:-100%} 100%{top:200%} }

/* ── Region tabs ───────────────────────────────────────────── */
.agri-regions { background: var(--bg); border-bottom: 1px solid var(--line); }
.agri-regions-track {
  display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  padding: 16px clamp(20px, 5vw, 64px);
  -webkit-overflow-scrolling: touch;
}
.agri-regions-track::-webkit-scrollbar { display: none; }

.agri-region-btn {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 20px; border: 2px solid transparent; border-radius: 16px;
  background: transparent; color: var(--muted); font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all .18s var(--ease); white-space: nowrap;
}
.agri-region-icon { font-size: 26px; line-height: 1; display: block; }
.agri-region-btn:hover { color: var(--g); background: var(--g-bg); }
.agri-region-btn.is-active {
  color: var(--g); border-color: var(--g); background: var(--g-bg);
  box-shadow: 0 4px 14px rgba(40,120,93,.12);
}

/* ── Listings section ──────────────────────────────────────── */
.agri-listings { max-width: 1200px; margin: 0 auto; padding: 40px clamp(20px, 5vw, 48px) 60px; }
.agri-listings-hd { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.agri-listings-hd h2 { margin: 0; font-size: clamp(20px, 3vw, 28px); font-weight: 500; color: var(--muted); }
.agri-listings-hd h2 #agri-count { font-weight: 900; color: var(--ink); }
.agri-listings-sort select {
  padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 8px;
  font-size: 13px; color: var(--ink); background: #fff; cursor: pointer;
}

/* Loading state */
.agri-grid.is-loading { opacity: .4; pointer-events: none; transition: opacity .2s; }

.agri-grid-empty {
  grid-column: 1 / -1; text-align: center; padding: 60px 20px;
  color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.agri-grid-empty span { font-size: 48px; }
.agri-grid-empty p { font-size: 16px; margin: 0; line-height: 1.5; }

/* Grid */
.agri-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 24px;
}

/* ── Cards ─────────────────────────────────────────────────── */
.agri-card {
  border-radius: var(--r); background: var(--bg);
  box-shadow: var(--sh); border: 1px solid var(--line);
  overflow: hidden; display: flex; flex-direction: column;
  opacity: 0; transform: translateY(20px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), box-shadow .2s;
}
.agri-card.is-visible { opacity: 1; transform: translateY(0); }
.agri-card.is-visible:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); }

.agri-card-img {
  height: 220px; display: block; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--g) 0%, var(--g-dk) 100%);
  flex: 0 0 auto;
}
.agri-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.agri-card:hover .agri-card-img img { transform: scale(1.04); }
.agri-card-img-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; color: rgba(255,255,255,.5); font-size: 40px; }

.agri-card-region {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-radius: 999px; padding: 5px 14px; font-size: 12px; font-weight: 800;
  color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.agri-card-verified {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%; background: var(--g);
  color: #fff; font-size: 14px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(40,120,93,.3);
}
.agri-card-body { padding: 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.agri-card-body h3 { margin: 0; font-size: 20px; font-weight: 850; letter-spacing: -.03em; line-height: 1.15; }
.agri-card-body h3 a:hover { color: var(--g); }
.agri-card-loc { margin: 0; font-size: 13px; color: var(--muted); }
.agri-card-exc { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.agri-card-price { display: block; font-size: 16px; color: var(--g); margin-top: 4px; }
.agri-card-price span { font-size: 12px; font-weight: 500; color: var(--muted); }
.agri-card-cta {
  display: inline-flex; align-items: center; margin-top: auto; padding-top: 12px;
  font-size: 13px; font-weight: 700; color: var(--g);
  border-top: 1px solid var(--line);
  transition: gap .15s;
}
.agri-card-cta:hover { gap: 4px; }

/* ── Section labels ────────────────────────────────────────── */
.agri-section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--g); margin-bottom: 10px;
}
.agri-section-label::before { content:''; width:20px; height:2px; background:currentColor; border-radius:2px; }

/* ── Network strip ─────────────────────────────────────────── */
.agri-network-section { background: var(--bg); padding: clamp(48px, 8vw, 80px) 0; border-top: 1px solid var(--line); }
.agri-network-inner { max-width: 1100px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); text-align: center; }
.agri-network-h2 { font-size: clamp(24px, 4vw, 38px); font-weight: 900; letter-spacing: -.04em; margin: 0 0 12px; color: var(--ink); }
.agri-network-sub { font-size: 16px; color: var(--muted); margin: 0 0 36px; line-height: 1.55; }
.agri-network-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 8px; }
.agri-net-card { display: flex; flex-direction: column; border-radius: var(--r); border: 2px solid transparent; overflow: hidden; text-decoration: none; color: inherit; transition: all .2s var(--ease); background: #fff; box-shadow: var(--sh); }
.agri-net-card:hover { border-color: var(--net-color, var(--g)); transform: translateY(-3px); box-shadow: var(--sh-lg); }
.agri-net-card img { width: 100%; height: 120px; object-fit: cover; }
.agri-net-card-ph { height: 120px; display: flex; align-items: center; justify-content: center; font-size: 36px; background: var(--g-bg); }
.agri-net-card-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; }
.agri-net-site { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.agri-net-card-body strong { font-size: 14px; font-weight: 800; color: var(--ink); }
.agri-net-card-body span:last-child { font-size: 11px; color: var(--muted); }
.agri-network-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border: 2px solid var(--g); color: var(--g); border-radius: 999px; font-size: 14px; font-weight: 800; transition: all .18s; }
.agri-network-btn:hover { background: var(--g); color: #fff; }

/* ── Gestore CTA ───────────────────────────────────────────── */
.agri-gestore { background: var(--ink); padding: clamp(60px, 10vw, 100px) 0; position: relative; overflow: hidden; }
.agri-gestore::before {
  content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(40,120,93,.3), transparent 70%);
  top: -200px; right: -200px; pointer-events: none;
}
.agri-gestore-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.agri-gestore-text { color: #fff; }
.agri-gestore-text .agri-section-label { color: #6ee7b7; }
.agri-gestore-h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 900; letter-spacing: -.04em; margin: 0 0 16px; line-height: 1.08; }
.agri-gestore-text p { font-size: 16px; color: rgba(255,255,255,.65); line-height: 1.6; margin: 0 0 24px; }
.agri-gestore-list { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.agri-gestore-list li { font-size: 15px; color: rgba(255,255,255,.85); font-weight: 500; }
.agri-gestore-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--g-dk) !important; border-radius: 999px;
  padding: 14px 28px; font-size: 15px; font-weight: 800;
  transition: transform .18s var(--ease), box-shadow .18s;
}
.agri-gestore-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.2); }

/* Gestore visual */
.agri-gestore-visual { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.agri-gestore-card {
  width: 100%; max-width: 360px; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12); border-radius: 20px; overflow: hidden;
  backdrop-filter: blur(8px);
}
.agri-gestore-card-img {
  height: 140px; background: linear-gradient(135deg, #28785d, #6ee7b7);
  display: flex; align-items: center; justify-content: center; font-size: 56px;
}
.agri-gestore-card-body { padding: 16px 20px; color: #fff; }
.agri-gestore-card-body strong { display: block; font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.agri-gestore-card-body span { display: block; font-size: 13px; color: rgba(255,255,255,.6); }
.agri-gestore-verified { color: #6ee7b7 !important; font-size: 12px !important; font-weight: 700 !important; margin-top: 8px !important; }
.agri-gestore-stat {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 14px 20px; color: #fff; backdrop-filter: blur(8px);
}
.agri-gestore-stat span { font-size: 26px; font-weight: 900; letter-spacing: -.04em; color: #6ee7b7; }

/* ── Footer ────────────────────────────────────────────────── */
.agri-footer { background: #fbfaf7; border-top: 1px solid #ece7df; padding: clamp(40px, 6vw, 60px) clamp(20px, 5vw, 64px) 0; }
.agri-footer-inner { max-width: 1200px; margin: 0 auto; }
.agri-footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 36px; }
.agri-footer-brand img { width: 36px; height: 36px; }
.agri-footer-brand strong { display: block; font-size: 20px; font-weight: 900; letter-spacing: -.04em; color: var(--ink); }
.agri-footer-brand span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.agri-footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 40px; }
.agri-footer h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin: 0 0 14px; }
.agri-footer a { display: block; color: var(--muted); font-size: 14px; margin: 0 0 10px; transition: color .15s; }
.agri-footer a:hover { color: var(--g); }
.agri-footer-bottom { border-top: 1px solid var(--line); padding: 20px 0; }
.agri-footer-bottom p { margin: 0; font-size: 13px; color: var(--muted); }
.agri-footer-bottom a { color: var(--g); font-weight: 600; }

/* ── Single listing page ───────────────────────────────────── */
.agri-single { max-width: 900px; margin: 48px auto; padding: 0 clamp(20px, 5vw, 40px); }
.agri-single-hero { border-radius: var(--r-lg); overflow: hidden; height: 380px; background: linear-gradient(135deg, var(--g), var(--g-dk)); display: flex; align-items: center; justify-content: center; font-size: 80px; margin-bottom: 32px; }
.agri-single-hero img { width: 100%; height: 100%; object-fit: cover; }
.agri-single h1 { font-size: clamp(32px, 6vw, 56px); letter-spacing: -.05em; line-height: 1.04; font-weight: 950; margin: 0 0 12px; }
.agri-single-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.agri-single-meta span { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.agri-single-content { font-size: 17px; line-height: 1.7; color: #374151; }

/* ── Archive ───────────────────────────────────────────────── */
.agri-archive { max-width: 1200px; margin: 0 auto; padding: 40px clamp(20px, 5vw, 48px) 60px; }
.agri-archive h1 { font-size: clamp(28px, 5vw, 44px); font-weight: 900; letter-spacing: -.04em; margin: 0 0 28px; }

/* ── Page / blog ───────────────────────────────────────────── */
.agri-page-wrap { max-width: 780px; margin: 48px auto; padding: 0 clamp(20px, 5vw, 40px) 80px; }
.agri-page-wrap h1 { font-size: clamp(30px, 6vw, 52px); font-weight: 950; letter-spacing: -.05em; margin: 0 0 20px; }
.agri-page-wrap .entry-content { font-size: 17px; line-height: 1.75; }
.agri-page-wrap .entry-content h2 { font-size: clamp(22px, 4vw, 32px); letter-spacing: -.03em; margin: 40px 0 16px; }
.agri-page-wrap .entry-content p { margin: 0 0 20px; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .agri-nav-desk  { display: none; }
  .agri-burger    { display: flex; }
  .agri-gestore-inner { grid-template-columns: 1fr; gap: 40px; }
  .agri-gestore-visual { flex-direction: row; flex-wrap: wrap; }
  .agri-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .agri-hdr { height: 64px; padding: 0 16px; }
  .agri-drawer { top: 64px; }
  body.admin-bar .agri-hdr { top: 46px; }
  .agri-hero { min-height: 540px; }
  .agri-hero-content { padding: 48px 16px 40px; }
  .agri-hero-badge { font-size: 11px; padding: 6px 14px; }
  .agri-hero-h1 { font-size: clamp(42px, 12vw, 56px); }
  .agri-hero-sub { font-size: 16px; }
  .agri-search-wrap { height: 52px; padding: 0 16px; }
  .agri-search-input { font-size: 15px; }
  .agri-search-btn, .agri-near-btn { height: 50px; font-size: 15px; }
  .agri-hero-tags { gap: 8px; }
  .agri-hero-tag { font-size: 13px; padding: 7px 14px; }
  .agri-grid { grid-template-columns: 1fr; }
  .agri-card-img { height: 200px; }
  .agri-gestore-visual { display: none; }
  .agri-footer-grid { grid-template-columns: 1fr; }
  .agri-btt { bottom: 16px; right: 16px; }
}
@media (max-width: 380px) {
  .agri-hero-h1 { font-size: 38px; }
  .agri-brand-name { font-size: 20px; }
  .agri-listings { padding: 28px 16px 48px; }
}
