:root {
  --f13-ink: #24302c;
  --f13-muted: #68756f;
  --f13-paper: #fffdf8;
  --f13-soft: #f4f0e6;
  --f13-green: #3d7b59;
  --f13-green-dark: #24553d;
  --f13-coral: #c96f56;
  --f13-gold: #d9a441;
  --f13-sky: #e8f2f1;
  --f13-line: rgba(36, 48, 44, .14);
}

body.elementor-page:has(.f13-shell) {
  margin: 0;
  color: var(--f13-ink);
  background: var(--f13-paper);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
.f13-shell, .f13-shell > .e-con-inner { padding: 0 !important; max-width: none !important; }
.f13-shell .elementor-widget-shortcode, .f13-shell .elementor-widget-container { width: 100%; }
.f13-site-header {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between;
  gap: 22px; min-height: 76px; padding: 12px clamp(20px, 4vw, 48px); background: rgba(255,253,248,.94);
  border-bottom: 1px solid var(--f13-line); backdrop-filter: blur(16px);
}
.f13-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--f13-ink); text-decoration: none; }
.f13-brand-logo { display: grid; place-items: center; width: 52px; height: 52px; overflow: hidden; border-radius: 50%; background: #fff; border: 1px solid var(--f13-line); }
.f13-brand-logo img { width: 48px; height: auto; }
.f13-brand strong, .f13-brand small { display: block; }
.f13-brand strong { font-size: 15px; line-height: 1.2; }
.f13-brand small { color: var(--f13-muted); font-size: 12px; }
.f13-main-nav .f13-menu { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.f13-main-nav a { display: block; padding: 10px 12px; border-radius: 999px; color: var(--f13-muted); font-weight: 600; font-size: 14px; text-decoration: none; }
.f13-main-nav a:hover { color: var(--f13-green-dark); background: var(--f13-sky); }
.f13-main-nav li:last-child a { color: #fff; background: var(--f13-green); }
.f13-menu-toggle { display: none; }

.f13-hero { min-height: 470px; display: flex !important; flex-direction: column; justify-content: flex-end; align-items: flex-start !important; padding: 90px max(20px, calc((100% - 1120px)/2)) 82px !important; color: #fff; background: linear-gradient(90deg, rgba(18,33,26,.94), rgba(36,85,61,.78)), #17231e; }
.f13-home-hero { min-height: calc(100vh - 76px); padding-bottom: 104px !important; background: linear-gradient(90deg, rgba(18,33,26,.92), rgba(18,33,26,.62) 45%, rgba(18,33,26,.20)), url("https://associazione.matteodicocco.it/wp-content/uploads/2025/07/1abhwj-1200x676.jpg") center/cover; }
.f13-hero > .e-con-inner { width: min(920px, 100%); margin: 0; }
.f13-hero .elementor-widget { max-width: 900px; }
.f13-eyebrow { margin: 0 0 14px; color: var(--f13-gold); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.f13-h1 .elementor-heading-title { color: #fff !important; font-family: Lora, Georgia, serif !important; font-size: clamp(44px, 7vw, 82px) !important; line-height: 1.08 !important; }
.f13-page-hero .f13-h1 .elementor-heading-title { font-size: clamp(40px, 6vw, 68px) !important; }
.f13-intro { max-width: 760px; margin: 24px 0 0; color: rgba(255,255,255,.86); font-size: 20px; }
.f13-section { width: 100%; padding: 96px max(20px, calc((100% - 1120px)/2)) !important; background: var(--f13-paper); }
.f13-section > .e-con-inner { width: 100%; max-width: 1120px; }
.f13-content > .e-con-inner { max-width: 820px; }
.f13-readable { color: #4e5d57; font-size: 20px; }
.f13-readable p { margin: 0 0 24px; }
.f13-intro-grid { color: #fff; background: var(--f13-green-dark); padding-top: 28px !important; padding-bottom: 28px !important; }
.f13-intro-grid > .e-con-inner { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.f13-home-point article { padding: 22px 20px 22px 0; }
.f13-home-point span { color: var(--f13-gold); font-weight: 700; }
.f13-home-point h2 { margin: 8px 0; color: #fff; font-size: 21px; }
.f13-home-point p { color: rgba(255,255,255,.82); }
.f13-card-grid > .e-con-inner { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.f13-card article { height: 100%; min-height: 190px; padding: 24px; border: 1px solid var(--f13-line); border-radius: 8px; background: #fff; box-shadow: 0 10px 25px rgba(36,48,44,.06); }
.f13-card h3 { margin: 0; color: var(--f13-ink); font-size: 22px; line-height: 1.15; }
.f13-card p { margin: 12px 0 0; color: var(--f13-muted); }
.f13-card a { display: inline-flex; margin-top: 18px; color: var(--f13-green-dark); font-weight: 700; text-decoration: none; }
.f13-contact-mail a { color: var(--f13-green-dark); font-size: 20px; font-weight: 700; overflow-wrap: anywhere; }
.f13-site-footer { padding: 36px 0; color: #fff; background: #17231e; }
.f13-wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.f13-footer-grid { display: flex; justify-content: space-between; gap: 24px; }
.f13-site-footer p { margin: 8px 0 0; color: rgba(255,255,255,.72); }
.f13-site-footer a { display: inline-block; margin-left: 16px; color: rgba(255,255,255,.78); text-decoration: none; }

@media (max-width: 980px) {
  .f13-menu-toggle { display: inline-flex !important; width: auto !important; min-width: 0 !important; height: auto !important; padding: 9px 12px !important; border: 1px solid var(--f13-line) !important; border-radius: 999px !important; color: var(--f13-ink) !important; background: #fff !important; font: inherit !important; font-weight: 700 !important; }
  .f13-main-nav { position: absolute; left: 20px; right: 20px; top: 72px; display: none; padding: 12px; border: 1px solid var(--f13-line); border-radius: 8px; background: #fff; box-shadow: 0 18px 45px rgba(36,48,44,.13); }
  .f13-main-nav.is-open { display: block; }
  .f13-main-nav .f13-menu { flex-direction: column; align-items: stretch; }
  .f13-main-nav a { border-radius: 6px; }
  .f13-intro-grid > .e-con-inner, .f13-card-grid > .e-con-inner { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .f13-site-header { min-height: 68px; padding: 10px 14px; }
  .f13-brand-logo { width: 44px; height: 44px; }
  .f13-brand-logo img { width: 40px; }
  .f13-brand small { display: none; }
  .f13-brand strong { max-width: 190px; }
  .f13-home-hero { min-height: 760px; }
  .f13-page-hero { min-height: 560px; }
  .f13-hero { padding: 74px 14px 64px !important; }
  .f13-h1 .elementor-heading-title, .f13-page-hero .f13-h1 .elementor-heading-title { font-size: 40px !important; }
  .f13-intro { font-size: 18px; }
  .f13-section { padding: 68px 14px !important; }
  .f13-intro-grid > .e-con-inner, .f13-card-grid > .e-con-inner { grid-template-columns: 1fr; }
  .f13-footer-grid { flex-direction: column; }
  .f13-site-footer a { margin: 0 14px 8px 0; }
}
:root {
  --f13-ink: #24302c;
  --f13-muted: #68756f;
  --f13-paper: #fffdf8;
  --f13-soft: #f4f0e6;
  --f13-green: #3d7b59;
  --f13-green-dark: #24553d;
  --f13-coral: #c96f56;
  --f13-gold: #d9a441;
  --f13-sky: #e8f2f1;
  --f13-line: rgba(36, 48, 44, .14);
}

body.elementor-page:has(.f13-shell) {
  margin: 0;
  color: var(--f13-ink);
  background: var(--f13-paper);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
.f13-shell, .f13-shell > .e-con-inner { padding: 0 !important; max-width: none !important; }
.f13-shell .elementor-widget-shortcode, .f13-shell .elementor-widget-container { width: 100%; }
.f13-site-header {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between;
  gap: 22px; min-height: 76px; padding: 12px clamp(20px, 4vw, 48px); background: rgba(255,253,248,.94);
  border-bottom: 1px solid var(--f13-line); backdrop-filter: blur(16px);
}
.f13-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--f13-ink); text-decoration: none; }
.f13-brand-logo { display: grid; place-items: center; width: 52px; height: 52px; overflow: hidden; border-radius: 50%; background: #fff; border: 1px solid var(--f13-line); }
.f13-brand-logo img { width: 48px; height: auto; }
.f13-brand strong, .f13-brand small { display: block; }
.f13-brand strong { font-size: 15px; line-height: 1.2; }
.f13-brand small { color: var(--f13-muted); font-size: 12px; }
.f13-main-nav .f13-menu { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.f13-main-nav a { display: block; padding: 10px 12px; border-radius: 999px; color: var(--f13-muted); font-weight: 600; font-size: 14px; text-decoration: none; }
.f13-main-nav a:hover { color: var(--f13-green-dark); background: var(--f13-sky); }
.f13-main-nav li:last-child a { color: #fff; background: var(--f13-green); }
.f13-menu-toggle { display: none; }

.f13-hero { min-height: 470px; display: flex !important; flex-direction: column; justify-content: flex-end; align-items: flex-start !important; padding: 90px max(20px, calc((100% - 1120px)/2)) 82px !important; color: #fff; background: linear-gradient(90deg, rgba(18,33,26,.94), rgba(36,85,61,.78)), #17231e; }
.f13-home-hero { min-height: calc(100vh - 76px); padding-bottom: 104px !important; background: linear-gradient(90deg, rgba(18,33,26,.92), rgba(18,33,26,.62) 45%, rgba(18,33,26,.20)), url("https://associazione.matteodicocco.it/wp-content/uploads/2025/07/1abhwj-1200x676.jpg") center/cover; }
.f13-hero > .e-con-inner { width: min(920px, 100%); margin: 0; }
.f13-hero .elementor-widget { max-width: 900px; }
.f13-eyebrow { margin: 0 0 14px; color: var(--f13-gold); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.f13-h1 .elementor-heading-title { color: #fff !important; font-family: Lora, Georgia, serif !important; font-size: clamp(44px, 7vw, 82px) !important; line-height: 1.08 !important; }
.f13-page-hero .f13-h1 .elementor-heading-title { font-size: clamp(40px, 6vw, 68px) !important; }
.f13-intro { max-width: 760px; margin: 24px 0 0; color: rgba(255,255,255,.86); font-size: 20px; }
.f13-section { width: 100%; padding: 96px max(20px, calc((100% - 1120px)/2)) !important; background: var(--f13-paper); }
.f13-section > .e-con-inner { width: 100%; max-width: 1120px; }
.f13-content > .e-con-inner { max-width: 820px; }
.f13-readable { color: #4e5d57; font-size: 20px; }
.f13-readable p { margin: 0 0 24px; }
.f13-intro-grid { display: grid !important; grid-template-columns: repeat(3,1fr); gap: 18px; color: #fff; background: var(--f13-green-dark); padding-top: 28px !important; padding-bottom: 28px !important; }
.f13-home-point article { padding: 22px 20px 22px 0; }
.f13-home-point span { color: var(--f13-gold); font-weight: 700; }
.f13-home-point h2 { margin: 8px 0; color: #fff; font-size: 21px; }
.f13-home-point p { color: rgba(255,255,255,.82); }
.f13-card-grid { display: grid !important; grid-template-columns: repeat(3,1fr); gap: 18px; }
.f13-card article { height: 100%; min-height: 190px; padding: 24px; border: 1px solid var(--f13-line); border-radius: 8px; background: #fff; box-shadow: 0 10px 25px rgba(36,48,44,.06); }
.f13-card h3 { margin: 0; color: var(--f13-ink); font-size: 22px; line-height: 1.15; }
.f13-card p { margin: 12px 0 0; color: var(--f13-muted); }
.f13-card a { display: inline-flex; margin-top: 18px; color: var(--f13-green-dark); font-weight: 700; text-decoration: none; }
.f13-contact-mail a { color: var(--f13-green-dark); font-size: 20px; font-weight: 700; overflow-wrap: anywhere; }
.f13-site-footer { padding: 36px 0; color: #fff; background: #17231e; }
.f13-wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.f13-footer-grid { display: flex; justify-content: space-between; gap: 24px; }
.f13-site-footer p { margin: 8px 0 0; color: rgba(255,255,255,.72); }
.f13-site-footer a { display: inline-block; margin-left: 16px; color: rgba(255,255,255,.78); text-decoration: none; }

@media (max-width: 980px) {
  .f13-menu-toggle { display: inline-flex !important; width: auto !important; min-width: 0 !important; height: auto !important; padding: 9px 12px !important; border: 1px solid var(--f13-line) !important; border-radius: 999px !important; color: var(--f13-ink) !important; background: #fff !important; font: inherit !important; font-weight: 700 !important; }
  .f13-main-nav { position: absolute; left: 20px; right: 20px; top: 72px; display: none; padding: 12px; border: 1px solid var(--f13-line); border-radius: 8px; background: #fff; box-shadow: 0 18px 45px rgba(36,48,44,.13); }
  .f13-main-nav.is-open { display: block; }
  .f13-main-nav .f13-menu { flex-direction: column; align-items: stretch; }
  .f13-main-nav a { border-radius: 6px; }
  .f13-intro-grid, .f13-card-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .f13-site-header { min-height: 68px; padding: 10px 14px; }
  .f13-brand-logo { width: 44px; height: 44px; }
  .f13-brand-logo img { width: 40px; }
  .f13-brand small { display: none; }
  .f13-brand strong { max-width: 190px; }
  .f13-home-hero { min-height: 760px; }
  .f13-page-hero { min-height: 560px; }
  .f13-hero { padding: 74px 14px 64px !important; }
  .f13-h1 .elementor-heading-title, .f13-page-hero .f13-h1 .elementor-heading-title { font-size: 40px !important; }
  .f13-intro { font-size: 18px; }
  .f13-section { padding: 68px 14px !important; }
  .f13-intro-grid, .f13-card-grid { grid-template-columns: 1fr; }
  .f13-footer-grid { flex-direction: column; }
  .f13-site-footer a { margin: 0 14px 8px 0; }
}
