/*
Theme Name: BlankSlate Child
Template: blankslate
*/

/* =========================================================
   INTER FONT FAMILY - @font-face declarations
   ========================================================= */
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter_18pt-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter_18pt-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter_18pt-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter_18pt-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter_18pt-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
	VARIABLES & RESET
	========================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colors */
  --primary-color: #8b4513;
  --secondary-color: #d4a574;
  --accent-color: #c19a6b;
  /* --dark-color: #2C1810; */
  --dark-color: #9a6d5a;
  --light-bg: #faf8f5;
  --white: #ffffff;
  --text-dark: #3a2820;
  --text-medium: #52433b;
  --text-light: #9b8b7e;
  --border-color: #e8ded2;

  /* Typography */
  --font-sans:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    Arial, sans-serif;
  --font-serif: "Georgia", "Garamond", serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.7rem;
  --spacing-md: 1rem;
  --spacing-lg: 5rem;
  --spacing-xl: 6rem;

  /* Layout */
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

/* =========================================================
	BASE TYPOGRAPHY
	========================================================= */
body {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-dark);
  font-weight: 400;
}

/* Headings use serif and a single authoritative weight */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: var(--spacing-sm);
  color: var(--dark-color);
}

h1 {
  font-size: 2.5rem;
}

h1.entry-title {
  margin-top: 0px;
}

h2 {
  font-size: 1.5rem;
    margin-top: 0;
}

h3 {
  font-size: 1.2rem;
}

.lead-text,
.hero-subtitle {
  font-weight: 300;
}

.section-text,
.section-text p,
.hero-quote {
  font-weight: 400;
}

.hero-title {
  font-weight: 700;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color);
}

/* =========================================================
	LAYOUT CONTAINERS
	========================================================= */
.page-container {
  max-width: var(--max-width, 1400px);
  margin: 0 auto;
  padding: 0 2rem;
}

/* =========================================================
	HEADER / NAV
	Single consolidated header/nav/menu/hamburger/fullscreen block
	========================================================= */
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 80px;
}

.nav-container {
  max-width: var(--max-width, 1400px);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo a {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-decoration: none;
}

.artist-name {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--dark-color);
  font-weight: 400;
}

.artist-years {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Menu structure */
#menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.desktop-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-menu a {
  color: var(--text-dark);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  position: relative;
  padding: 0.5rem 0;
  text-decoration: none;
}

.desktop-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s;
}

.desktop-menu a:hover::after,
.desktop-menu a.current-menu-item::after {
  width: 100%;
}

/* Mobile: hide desktop menu in small viewports - use media queries below */
#menu-toggle {
  display: none; /* hidden by default on desktop */
}

/* Hamburger */
#menu-toggle {
  background: none;
  border: 0;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--dark-color);
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.hamburger {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

/* Open menu state is applied to body for global control */
body.menu-open {
  overflow: hidden;
}

body.menu-open .hamburger {
  background: transparent;
}

body.menu-open .hamburger::before {
  transform: translateY(8px) rotate(45deg);
}

body.menu-open .hamburger::after {
  transform: translateY(-8px) rotate(-45deg);
}

/* Fullscreen menu */
#fullscreen-menu {
  position: fixed;
  inset: 0;
  background: var(--light-bg);
  z-index: 999;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

#fullscreen-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#fullscreen-menu .main-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 0 2.5rem;
}

#fullscreen-menu .main-menu li {
  margin: 0;
  width: 100%;
  border-bottom: 1px solid var(--border-color);
}

#fullscreen-menu .main-menu li:first-child {
  border-top: 1px solid var(--border-color);
}

#fullscreen-menu .main-menu a {
  display: block;
  padding: 1.1rem 0 1.1rem 1rem;
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text-dark);
  border-left: 3px solid transparent;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    padding-left 0.2s ease;
}

#fullscreen-menu .main-menu a:hover,
#fullscreen-menu .main-menu .current-menu-item > a {
  color: var(--primary-color);
  border-left-color: var(--primary-color);
  padding-left: 1.5rem;
}

/* Optional search box hidden by default */
#menu div#search {
  display: none;
}

/* =========================================================
	HERO
	========================================================= */
.hero-section {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 900px;
  padding: 0 2rem;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5rem);
  color: var(--white);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--spacing-md);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
}

.hero-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-style: italic;
  line-height: 1.6;
  margin: var(--spacing-lg) auto;
  max-width: 700px;
  padding: 0 2rem;
}

.hero-cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
  background: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--white);
  font-weight: 500;
  transition: var(--transition);
  margin-top: var(--spacing-md);
  cursor: pointer;
}

.hero-cta:hover {
  background: transparent;
  color: var(--white);
}

/* =========================================================
	TWO-COLUMNS / REUSABLE LAYOUT
	========================================================= */
.section-two-columns {
  padding: var(--spacing-xl) 0;
  background: var(--white);
}

.section-two-columns.bg-light {
  background: var(--light-bg);
}

.two-columns-wrapper {
  max-width: var(--max-width, 1400px);
  margin: 0 auto;
  padding: 0 2rem;
}

.two-columns-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.two-columns-grid.image-left {
  grid-template-columns: 1fr 1.2fr;
}

.two-columns-grid.image-left .column-content {
  order: 2;
}

.two-columns-grid.image-left .column-image {
  order: 1;
}

.column-content h2 {
  margin-bottom: var(--spacing-md);
  font-size: 2.5rem;
}

.column-content .lead-text {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-medium);
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
}

.column-content .section-text {
  color: var(--text-medium);
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
}

.column-content .section-text p {
  margin-bottom: 1rem;
  font-weight: 300;
  text-align: justify;
}

.column-content .section-cta {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition);
  margin-top: var(--spacing-sm);
  text-decoration: none;
}

.column-content .section-cta:hover {
  background: var(--primary-color);
  color: var(--white);
}

.column-image {
  position: relative;
}

.column-image img {
  width: 100%;
  border-radius: 2px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* =========================================================
	SINGLE OPERA (detail view)
	========================================================= */
.breadcrumb-container {
  padding: 1rem 0;
  background: var(--light-bg);
  font-size: 0.9rem;
}

.breadcrumb-container a {
  color: var(--text-medium);
  transition: var(--transition);
}

.breadcrumb-container a:hover {
  color: var(--primary-color);
}

.opera-hero {
  padding: var(--spacing-xl) 0;
  background: var(--white);
}

.opera-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

.opera-image-main {
  width: 100%;
  position: sticky;
  top: 100px;
  align-self: start;
}

.opera-image-main img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.opera-lb-trigger {
  display: block;
  position: relative;
  cursor: zoom-in;
}

.opera-lb-hint {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
  white-space: nowrap;
}

.opera-lb-trigger:hover .opera-lb-hint {
  opacity: 1;
}

.opera-info {
  position: sticky;
  top: 100px;
}

.opera-title {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  margin-top: 0px;
}

.opera-meta {
  background: var(--light-bg);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: 2px;
  margin-bottom: var(--spacing-md);
}

.meta-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.meta-item:last-child {
  border-bottom: none;
}

.meta-label {
  font-weight: 600;
  color: var(--text-dark);
}

.meta-value {
  color: var(--text-medium);
  text-align: right;
}

.opera-descrizione {
  margin: var(--spacing-md) 0;
  line-height: 1.7;
  color: var(--text-medium);
}

.opera-descrizione p {
  margin-bottom: 1rem;
}

.back-to-opere {
  display: inline-block;
  margin-top: var(--spacing-md);
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  transition: var(--transition);
}

.back-to-opere:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* Navigazione prev/next tra opere */
.opera-nav {
  border-top: 1px solid var(--border-color);
  background: var(--light-bg);
  padding: 1.25rem 0;
}

.opera-nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.opera-nav-prev { text-align: left; }
.opera-nav-next { text-align: right; }

.opera-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  max-width: 260px;
}

.opera-nav-link:hover { color: var(--primary-color); }

.opera-nav-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.opera-nav-arrow {
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--primary-color);
}

.opera-nav-all {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.opera-nav-all:hover { color: var(--primary-color); }

@media (max-width: 600px) {
  .opera-nav-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .opera-nav-all {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
    margin-top: 0.25rem;
  }
  .opera-nav-label {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
}

/* =========================================================
	WORKS GRID / CARDS
	========================================================= */
.featured-works {
  padding: var(--spacing-xl) 0;
  background: var(--light-bg);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.work-card {
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.work-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.work-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.work-card:hover .work-image img {
  transform: scale(1.05);
}

.work-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 24, 16, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.work-card:hover .work-overlay {
  opacity: 1;
}

.view-work {
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.view-work:hover {
  background: var(--white);
  color: var(--primary-color);
}

.work-info {
  padding: 1.5rem;
}

.work-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  margin-top: 0;
}

.work-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.work-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--light-bg);
  color: var(--primary-color);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 2px;
  font-weight: 500;
}

/* No-image placeholders */
.no-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.1rem;
  border: 2px dashed var(--border-color);
}

.no-image-small {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border-color);
}

.no-image-small span {
  font-size: 4rem;
  font-weight: 300;
}

/* =========================================================
	RESPONSIVE ADJUSTMENTS
	========================================================= */
@media (max-width: 1200px) {
  nav#menu .desktop-menu {
    display: none;
  }
  #menu-toggle {
    display: block;
    margin-left: auto;
  }
}

@media (max-width: 991px) {
  :root {
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
  }

  .section-two-columns {
    padding: 3rem 0;
  }

  /* desktop menu kept visible until 768px; padding adjustments only */

  .nav-container {
    padding: 0 1.5rem;
  }

  .opera-image-main {
    position: static;
  }

  .opera-image-main img {
    max-height: 60vh;
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-lg: 2rem;
    --spacing-xl: 2.5rem;
  }

  /* mobile menu handled at 1200px — see rule below */

  .hero-section {
    height: 80vh;
  }

  .hero-quote {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .two-columns-grid,
  .two-columns-grid.image-left,
  section#opere .two-columns-grid.image-left {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .two-columns-grid.image-left .column-content,
  .two-columns-grid.image-left .column-image {
    order: 0;
  }

  .column-content h2 {
    font-size: 2rem;
  }

 

  .opera-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .opera-info {
    position: static;
  }

  .nav-container {
    padding: 0 1rem;
    height: 70px;
  }

  .artist-name {
    font-size: 1.25rem;
  }

  .artist-years {
    font-size: 0.7rem;
  }

  .opera-title {
    font-size: 2rem;
  }

  .opera-image-main img {
    max-height: 60vh;
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .featured-works {
    padding: 3rem 0;
  }

}

@media (max-width: 480px) {
  :root {
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .column-content h2 {
    font-size: 1.75rem;
  }

  .column-content .lead-text {
    font-size: 1.1rem;
  }

  .opera-title {
    font-size: 1.75rem;
  }

  .meta-item {
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem 0;
  }

  .meta-value {
    text-align: left;
    font-size: 0.95rem;
  }

}

/* Small helpers */
section#introduzione h2,
section#opere h2,
section#opere-selezionate h2 {
  margin-top: 0;
}

section#opere-selezionate {
  text-align: center;
}

section#opere-selezionate .section-cta {
  margin-top: 3rem;
}

a.section-cta {
  font-size: 16px;
}
/* End of consolidated stylesheet */

/* =========================================================
   PAGINE INTERNE — BIOGRAFIA
   ========================================================= */
.bio-lead-section {
  padding: var(--spacing-xl) 0;
  background: var(--light-bg);
}

/* Lead + citazione artista: due colonne */
.bio-lead-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.bio-lead-text {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-medium);
  font-weight: 300;
  text-align: justify;
}

.bio-artista-quote {
  padding: 2rem 2rem 2rem 2.5rem;
  border-left: 4px solid var(--primary-color);
  background: var(--white);
  text-align: justify;
}

.bio-artista-quote blockquote {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.85;
  color: var(--text-dark);
  font-style: italic;
  margin: 0 0 1rem;
}

.bio-artista-quote cite {
  font-size: 0.8rem;
  color: var(--text-light);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Carousel citazioni critici */
.bio-quote-section {
  padding: var(--spacing-xl) 0;
  background: var(--light-bg);
}

.bio-carousel {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.carousel-track {
  flex: 1;
  min-height: 160px;
  position: relative;
}

.carousel-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.carousel-slide.active {
  display: block;
}

.carousel-slide.active.entering {
  opacity: 1;
}

.carousel-slide blockquote {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.85;
  color: var(--text-dark);
  font-style: italic;
  margin: 0 0 var(--spacing-sm);
  padding-left: 2rem;
  border-left: 4px solid var(--primary-color);
}

.carousel-slide cite {
  display: block;
  padding-left: 2rem;
  font-size: 0.82rem;
  color: var(--text-light);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: none;
  border: 2px solid var(--border-color);
  color: var(--text-medium);
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.carousel-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Griglia citazioni critici */
.bio-citazioni-section {
  padding: var(--spacing-xl) 0;
  background: var(--light-bg);
}

.bio-citazioni-titolo {
  font-size: 2.5rem;
  text-align: center;
  margin-top: 0;
  margin-bottom: var(--spacing-lg);
}

.bio-citazioni-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.bio-cit-hidden {
  display: none;
}

.bio-cit-card {
  padding: 1.5rem 1.5rem 1.25rem 1.75rem;
  border-left: 3px solid var(--primary-color);
  background: var(--white);
  align-content: center;
  text-align: justify;
}

.bio-cit-card blockquote {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--text-dark);
  font-style: italic;
  margin: 0 0 0.75rem;
}

.bio-cit-card blockquote::before {
  content: "«";
}
.bio-cit-card blockquote::after {
  content: "»";
}

.bio-cit-card cite {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-light);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.cit-anno {
  color: var(--primary-color);
  font-weight: 600;
}

.bio-cit-more-wrap {
  text-align: center;
  padding: 2rem 0 0;
}

.bio-cit-more {
  padding: 0.75rem 2rem;
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 2px;
}

.bio-cit-more:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* Mostre */
.bio-mostre-section {
  padding: var(--spacing-xl) 0;
  background: var(--white);
}

.bio-mostre-inner {
  max-width: 800px;
  margin: 0 auto;
}

.bio-mostre-inner h2 {
  margin-bottom: var(--spacing-md);
  margin-top: 0;
}

.bio-mostre-content {
  color: var(--text-medium);
}

.bio-mostre-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bio-mostre-content ul li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
  line-height: 1.5;
}

.bio-mostre-content ul li:last-child {
  border-bottom: none;
}

/* =========================================================
   STILE E TECNICA
   ========================================================= */

/* Lead */
.stile-lead-section {
  padding: var(--spacing-xl) 0;
  background: var(--light-bg);
  text-align: center;
}

.stile-lead-text {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text-medium);
  font-weight: 300;
}

/* I quattro elementi */
.stile-elementi-section {
  padding: var(--spacing-xl) 0;
  background: var(--white);
}

.stile-elementi-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.stile-elementi-intro {
  text-align: center;
  font-size: 0.97rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto var(--spacing-lg);
  font-style: italic;
}

.stile-elementi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.elemento-card {
  background: var(--white);
  padding: 2rem;
  border-top: 3px solid var(--primary-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.elemento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.elemento-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 0 0 0.75rem;
  font-style: italic;
}

.elemento-card p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-medium);
  margin: 0;
}

/* CTA Opere */
.stile-cta-section {
  padding: var(--spacing-xl) 0;
  background: var(--white);
  text-align: center;
}

.stile-cta-label {
  font-size: 1.1rem;
  color: var(--text-medium);
  margin-bottom: var(--spacing-md);
}

.stile-cta-btn {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  background: var(--primary-color);
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.3s ease;
}

.stile-cta-btn:hover {
  background: var(--dark-color);
  color: var(--white);
}

/* Lightbox */
#lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

#lb-overlay.lb-open {
  display: flex;
}

.lb-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  overflow: hidden;
}

#lb-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
  transition: none;
}

.lb-zoom-hint {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.78rem;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s;
  white-space: nowrap;
}

.lb-btn {
  position: absolute;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  padding: 1rem;
  transition: color 0.2s ease;
  z-index: 10000;
  line-height: 1;
}

.lb-btn:hover {
  color: var(--white);
}

.lb-close {
  top: 1rem;
  right: 1.5rem;
  font-size: 2.5rem;
}

.lb-prev {
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
}

.lb-next {
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
}

/* Gallery mosaico */
.stile-gallery-section {
  padding: var(--spacing-lg) 0;
  background: var(--dark-color);
}

.stile-gallery-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 320px 220px;
  gap: 4px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-img {
  overflow: hidden;
}

.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-img:hover img {
  transform: scale(1.03);
}

.gallery-img-1 {
  grid-column: 1;
  grid-row: 1 / 3;
}
.gallery-img-2 {
  grid-column: 2;
  grid-row: 1;
}
.gallery-img-3 {
  grid-column: 3;
  grid-row: 1;
}
.gallery-img-4 {
  grid-column: 2 / 4;
  grid-row: 2;
}

/* Citazione colore */
.stile-citazione-section {
  padding: var(--spacing-xl) 0;
  background: var(--dark-color);
  text-align: center;
  padding-top: 0px;
}

.stile-citazione-quote {
  max-width: 800px;
  margin: 0 auto var(--spacing-sm);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.85;
  font-style: italic;
  color: var(--white);
  padding: 0;
  border: none;
}

.stile-citazione-fonte {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-style: normal;
}

/* Responsive */
@media (max-width: 768px) {
  .bio-artista-quote {
    padding: 1.5rem 1.5rem 1.25rem 1.75rem;
  }

  .stile-cta-section {
    padding: 3rem 0;
  }

  .stile-elementi-grid {
    grid-template-columns: 1fr;
  }

  .stile-gallery-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
  }

  .gallery-img-1 {
    grid-column: 1 / 3;
    grid-row: 1;
  }
  .gallery-img-2 {
    grid-column: 1;
    grid-row: 2;
  }
  .gallery-img-3 {
    grid-column: 2;
    grid-row: 2;
  }
  .gallery-img-4 {
    grid-column: 1 / 3;
    grid-row: 3;
  }

  .stile-citazione-quote {
    font-size: 1.05rem;
  }
}

/* =========================================================
   CONTATTI
   ========================================================= */
.contatti-section {
  padding: var(--spacing-xl) 0;
  background: var(--light-bg);
}

.contatti-grid {
  grid-template-columns: 5fr 7fr;
  align-items: flex-start;
}

.contatti-lead {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-medium);
  font-weight: 300;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
}

.contatti-email {
  display: inline-block;
  font-size: 1rem;
  color: var(--primary-color);
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 2px;
  transition: var(--transition);
}

.contatti-email:hover {
  color: var(--dark-color);
  border-color: var(--dark-color);
}

/* Forminator — override stile sito */
.forminator-ui .forminator-label,
.forminator-ui label {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.forminator-ui .forminator-input,
.forminator-ui .forminator-textarea,
.forminator-ui input[type="text"],
.forminator-ui input[type="email"],
.forminator-ui textarea {
  font-family: var(--font-sans);
  font-size: 0.97rem;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 0;
  padding: 0.75rem 1rem;
  width: 100%;
  box-shadow: none;
  transition: border-color 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}

.forminator-ui .forminator-input:focus,
.forminator-ui .forminator-textarea:focus,
.forminator-ui input[type="text"]:focus,
.forminator-ui input[type="email"]:focus,
.forminator-ui textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: none;
}

.forminator-ui .forminator-textarea,
.forminator-ui textarea {
  min-height: 140px;
  resize: vertical;
}

.forminator-ui .forminator-button,
.forminator-ui button[type="submit"],
.forminator-ui input[type="submit"] {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 0;
  padding: 0.85rem 2.5rem;
  cursor: pointer;
  transition: background 0.3s ease;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

.forminator-ui .forminator-button:hover,
.forminator-ui button[type="submit"]:hover,
.forminator-ui input[type="submit"]:hover {
  background: var(--dark-color);
}

.forminator-field {
  margin-bottom: 15px;
}

.forminator-ui .forminator-error-message,
.forminator-ui .forminator-field--error .forminator-input,
.forminator-ui .forminator-field--error .forminator-textarea {
  border-color: #b94a48;
}

.forminator-ui .forminator-error-message {
  font-size: 0.8rem;
  color: #b94a48;
  margin-top: 0.3rem;
}

/* Rimuove ombre e bordi decorativi di default Forminator */
.forminator-ui.forminator-design--default .forminator-custom-form,
.forminator-ui .forminator-custom-form {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

span.forminator-description {
  font-size: 0.8rem;
  margin-left: 10px;
}

@media (max-width: 768px) {
  .contatti-grid {
    grid-template-columns: 1fr;
  }
}

/* Fade-in on scroll */
.fade-in-section {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive — griglia citazioni */
@media (max-width: 960px) {
  .bio-citazioni-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .bio-citazioni-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive — lead grid */
@media (max-width: 768px) {
  .bio-lead-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  .bio-carousel {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }
  .carousel-track {
    flex: 0 0 100%;
    order: 0;
    min-height: auto;
    margin-bottom: 0.25rem;
  }
  .carousel-prev {
    order: 1;
  }
  .carousel-next {
    order: 2;
  }
  .carousel-slide blockquote {
    font-size: 1.05rem;
    padding-left: 1.25rem;
  }
  .carousel-slide cite {
    padding-left: 1.25rem;
  }
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* =========================================================
   FOOTER
   AGGIUNGI nel tuo style.css
   ========================================================= */

#footer {
  background: var(--dark-color);
  color: rgba(255, 255, 255, 0.8);
  margin-top: auto;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Footer Top */
.footer-top {
  padding: var(--spacing-xl) 2rem var(--spacing-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--spacing-lg);
}

/* Footer Logo */
.footer-logo a {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-decoration: none;
}

.footer-logo .artist-name {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.footer-logo .artist-years {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Footer Disclaimer */
.footer-disclaimer {
  margin-top: var(--spacing-md);
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
}

/* Footer Links */
.footer-links h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: var(--spacing-sm);
  font-weight: 500;
  margin-top: 0px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-color);
}

/* Footer Menu - Vertical Navigation */
.footer-menu h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: var(--spacing-sm);
  font-weight: 500;
  margin-top: 0px;
}

.footer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0rem;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
  display: block;
  padding: 0.25rem 0;
}

.footer-menu a:hover {
  color: var(--accent-color);
  padding-left: 0.5rem;
}

/* Footer Bottom - Copyright */
.footer-bottom {
    padding: 1rem 0rem 0rem 0rem;
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.7);
    margin-top: 2rem;
}

.footer-bottom p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--accent-color);
}

.copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* =========================================================
   RESPONSIVE FOOTER
   ========================================================= */

/* Tablet */
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .footer-top {
    padding: var(--spacing-lg) 1.5rem;
  }

}

/* Mobile */
@media (max-width: 768px) {
  .footer-top {
    padding: var(--spacing-lg) 1rem;
  }

  .footer-logo .artist-name {
    font-size: 1.5rem;
  }

  .footer-disclaimer {
    font-size: 0.9rem;
    margin-top: var(--spacing-sm);
  }

  .footer-bottom {
    margin-top: 1rem;
  }

  .footer-bottom p {
    font-size: 0.9rem;
  }

  .footer-sep { display: none; }
  .footer-credit { display: block; }
}

/* Mobile piccolo */
@media (max-width: 480px) {
  .footer-logo .artist-name {
    font-size: 1.5rem;
  }

  .footer-logo .artist-years {
    font-size: 0.7rem;
  }

  .footer-disclaimer {
    font-size: 0.85rem;
  }

  .copyright {
    font-size: 0.85rem;
  }

  .footer-bottom p {
    font-size: 0.85rem;
  }
}

/* =========================================================
   ARCHIVE OPERE - Pagina tutte le opere
   AGGIUNGI nel tuo style.css
   ========================================================= */

/* =========================================================
   SCROLL TO TOP BUTTON
   Background matches footer, white border, smooth appearance
   ========================================================= */
#scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-color);
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    background 0.25s;
  z-index: 1200;
  pointer-events: none;
}

#scroll-top svg {
  display: block;
  width: 18px;
  height: 18px;
}

#scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#scroll-top:hover {
  background: rgba(255, 255, 255, 0.06);
}

#scroll-top:focus {
  outline: 3px solid rgba(255, 255, 255, 0.12);
}

/* Hero Archive */
.archive-hero {
  padding: var(--spacing-xl) 0 var(--spacing-lg);
  background: var(--dark-color);
  text-align: center;
}

.archive-title {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
  color: var(--white);
}

.archive-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 300;
}

/* Filtri */
.opere-filters {
  padding: var(--spacing-md) 0;
  background: var(--light-bg);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 80px;
  z-index: 100;
}

.filters-wrapper {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 2px solid var(--border-color);
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

.filter-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.filter-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

.filter-search {
  padding: 0.7rem 1rem;
  border: 2px solid var(--border-color);
  background: var(--white);
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 400;
  outline: none;
  transition: border-color 0.2s ease;
  width: 200px;
}

.filter-search::placeholder {
  color: var(--text-light);
}

.filter-search:focus {
  border-color: var(--primary-color);
}

/* Griglia Opere */
section.opere-grid-section {
  background: var(--light-bg);
  padding-top: 5rem;
  padding-bottom: 1rem;
}

.opere-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
}

.opera-card {
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.opera-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.opera-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.opera-card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--light-bg);
}

.opera-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.opera-card:hover .opera-card-image img {
  transform: scale(1.05);
}

.opera-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 24, 16, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.opera-card:hover .opera-card-overlay {
  opacity: 1;
}

.view-btn {
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--white);
  transition: var(--transition);
}

.opera-card:hover .view-btn {
  background: var(--white);
  color: var(--primary-color);
}

.opera-card-info {
  padding: 1.5rem;
}

.opera-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  margin-top: 0px;
}

.opera-card-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.opera-card-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--light-bg);
  color: var(--primary-color);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* Placeholder immagine */
.no-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-bg);
  color: var(--border-color);
}

.no-image-placeholder span {
  font-size: 3rem;
  font-weight: 300;
}

/* Animazione filtro */
.opera-card.hidden {
  display: none;
}

/* Paginazione (non più usata nell'archivio opere) */
.pagination {
  display: none;
}

/* Load More */
.load-more-section {
  text-align: center;
  padding: 2.5rem 0 1rem;
}

.load-more-btn {
  padding: 0.9rem 2.5rem;
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 2px;
  letter-spacing: 0.03em;
}

.load-more-btn:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* No opere */
.no-opere {
  text-align: center;
  padding: var(--spacing-xl) 0;
}

.no-opere p {
  font-size: 1.25rem;
  color: var(--text-medium);
}
/* Tablet Verticale e inferiori - 2 colonne */
@media (max-width: 991px) {
  .opere-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .archive-title {
    font-size: 2rem;
  }

  .opere-filters {
    top: 70px;
  }

  .opere-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* =========================================================
   RICONOSCIMENTI
   ========================================================= */

.rico-lead-section {
  padding: 4rem 0 3rem;
}

.rico-lead-text {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-medium);
  line-height: 1.8;
  max-width: 760px;
  margin: 0 auto;
}

/* Sezione premi */
.rico-premi-section {
  padding: 1rem 0 4rem;
}

.rico-section-title {
  font-size: 1.75rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-top: 0px;
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-color);
}

/* WYSIWYG content area */
.rico-content-area {
  color: var(--text-medium);
  line-height: 1.8;
  font-size: 1rem;
}

.rico-content-area p {
  margin-bottom: 1rem;
}

.rico-content-area ul,
.rico-content-area ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.rico-content-area li {
  margin-bottom: 0.4rem;
}

.rico-content-area h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 1.5rem 0 0.5rem;
}

.rico-content-area strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* Tabella premi */
.rico-content-area table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.rico-content-area thead th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: var(--light-bg);
  border-bottom: 2px solid var(--border-color);
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rico-content-area tbody tr {
  border-bottom: 1px solid var(--border-color);
  transition: background 0.15s ease;
}

.rico-content-area tbody tr:hover {
  background: var(--light-bg);
}

.rico-content-area tbody td {
  padding: 0.85rem 1rem;
  vertical-align: top;
  color: var(--text-medium);
}

.rico-content-area tbody td:first-child {
  font-weight: 600;
  color: var(--primary-color);
  white-space: nowrap;
}

/* Bottom section: collezioni + biblio */
.rico-bottom-section {
  padding: 0rem 0 5rem;
}

.rico-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

/* Responsive */
@media (max-width: 768px) {
  .rico-bottom-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .rico-content-area table {
    font-size: 0.85rem;
  }

  .rico-content-area thead th,
  .rico-content-area tbody td {
    padding: 0.6rem 0.5rem;
  }
}

/* ==========================================================
   RASSEGNA STAMPA
   ========================================================== */

.stampa-lead-section {
  padding: 4rem 0 3rem;
}

.stampa-lead-text {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-medium);
  line-height: 1.8;
  max-width: 760px;
}

/* Lista cronologica */
.stampa-lista-section {
  padding: 4rem 0 5rem;
}

.stampa-lista-title {
  font-size: 1.75rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-top: 0px;
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-color);
}

.stampa-lista-content {
  color: var(--text-medium);
  line-height: 1.8;
  font-size: 1rem;
}

.stampa-lista-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.stampa-lista-content thead th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: var(--light-bg);
  border-bottom: 2px solid var(--border-color);
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stampa-lista-content tbody tr {
  border-bottom: 1px solid var(--border-color);
  transition: background 0.15s ease;
}

.stampa-lista-content tbody tr:hover {
  background: var(--light-bg);
}

.stampa-lista-content tbody td {
  padding: 0.85rem 1rem;
  vertical-align: top;
  color: var(--text-medium);
}

.stampa-lista-content tbody td:first-child {
  font-weight: 600;
  color: var(--primary-color);
  white-space: nowrap;
}

/* Mosaico masonry */
.stampa-mosaic-section {
  padding: 4rem 0 5rem;
  background: var(--light-bg);
}

.stampa-mosaic-title {
  font-size: 1.75rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-top: 0px;
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-color);
}

.stampa-masonry {
  column-count: 3;
  column-gap: 1.25rem;
}

.stampa-masonry-item {
  break-inside: avoid;
  margin-bottom: 1.25rem;
}

.stampa-masonry-link {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.stampa-masonry-link:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

.stampa-masonry-link img {
  display: block;
  width: 100%;
  height: auto;
  filter: sepia(0.15) contrast(1.05);
  transition: filter 0.2s ease;
}

.stampa-masonry-link:hover img {
  filter: sepia(0) contrast(1.1);
}

.stampa-masonry-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem 0.75rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.stampa-masonry-link:hover .stampa-masonry-overlay {
  opacity: 1;
}

/* Responsive */
@media (max-width: 900px) {
  .stampa-masonry {
    column-count: 2;
  }
}

@media (max-width: 520px) {
  .stampa-masonry {
    column-count: 1;
  }

  .stampa-lista-content table {
    font-size: 0.85rem;
  }

  .stampa-lista-content thead th,
  .stampa-lista-content tbody td {
    padding: 0.6rem 0.5rem;
  }
}

/* =============================================================
   PERCHÉ QUESTO SITO
   ============================================================= */

.perche-section {
  background: var(--light-bg);
  padding: 5rem 0 6rem;
}

.perche-inner {
  max-width: 700px;
  margin: 0 auto;
}

.perche-data {
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 2.5rem;
}

.perche-testo {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text-dark);
  text-align: justify;
}

.perche-testo p {
  margin-bottom: 1.6rem;
}

.perche-testo p:last-child {
  margin-bottom: 0;
}

.perche-download {
  margin-top: 2.5rem;
}

.perche-download-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 0.75rem 1.4rem;
  font-size: 0.95rem;
  transition: var(--transition);
  border-radius: 2px;
}

.perche-download-link:hover {
  background: var(--primary-color);
  color: var(--white);
}

.perche-download-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.perche-firma {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  text-align: right;
}

.perche-firma p {
  font-style: italic;
  color: var(--text-medium);
  font-size: 1.05rem;
}

.perche-flipbook-section {
  padding: 4rem 0 6rem;
  background: var(--white);
}

.consent-field {
    margin-top: 1rem;
}

.page-content-section {
  padding: var(--spacing-xl) 0;
}

.page-content-section .entry-content {
  max-width: 780px;
  margin: 0 auto;
}

.consent-field .forminator-label {
    display: none;
}

.consent-field .forminator-checkbox__wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.consent-field .forminator-checkbox__wrapper .forminator-checkbox {
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.consent-field .forminator-checkbox__label {
    margin: 0;
}
