:root {
  --ric-bg: #d7eadf;
  --ric-bg-2: #e8f4ec;
  --ric-bg-3: #cfe3d7;

  --ric-green-deep: #063c2f;
  --ric-green: #0d5a45;
  --ric-green-soft: #2f735c;
  --ric-green-pale: #eaf5ef;

  --ric-gold: #b9964f;
  --ric-gold-2: #d8bd78;

  --ric-text: #10251d;
  --ric-muted: #587167;

  --ric-white: rgba(255, 255, 255, 0.82);
  --ric-white-strong: rgba(255, 255, 255, 0.94);

  --ric-border: rgba(13, 90, 69, 0.16);
  --ric-border-strong: rgba(185, 150, 79, 0.38);

  --ric-shadow: 0 28px 70px rgba(6, 60, 47, 0.16);
  --ric-shadow-soft: 0 16px 36px rgba(6, 60, 47, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.ricciardi-page {
  margin: 0;
  color: var(--ric-text);
  font-family: "Segoe UI", "Inter", Arial, sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(circle at 8% 4%, rgba(185, 150, 79, 0.28), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(13, 90, 69, 0.14), transparent 32%),
    linear-gradient(180deg, var(--ric-bg) 0%, var(--ric-bg-2) 48%, #edf7f1 100%);
}

body.ricciardi-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(13, 90, 69, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 90, 69, 0.028) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.ric-page {
  position: relative;
  min-height: 100vh;
}

.ric-container {
  width: min(1240px, calc(100% - 72px));
  margin: 0 auto;
}

.ric-hero {
  padding: 34px 0 72px;
}

.ric-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
}

.ric-logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(185, 150, 79, 0.25);
  color: var(--ric-green-deep);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(6, 60, 47, 0.08);
}

.ric-logo img {
  height: 34px;
  width: auto;
  display: block;
}

.ric-nav-note {
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--ric-green);
  background: rgba(255, 255, 255, 0.50);
  border: 1px solid rgba(13, 90, 69, 0.12);
  font-size: 0.88rem;
  font-weight: 600;
}

.ric-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.72fr);
  gap: 36px;
  align-items: stretch;
  padding: clamp(42px, 5vw, 72px);
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,255,255,0.66)),
    linear-gradient(135deg, rgba(13, 90, 69, 0.08), rgba(185, 150, 79, 0.10));
  border: 1px solid var(--ric-border-strong);
  box-shadow: var(--ric-shadow);
  overflow: hidden;
}

.ric-hero-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 30px;
  border: 1px solid rgba(185, 150, 79, 0.22);
  pointer-events: none;
}

.ric-hero-card::after {
  content: "";
  position: absolute;
  right: -95px;
  top: -95px;
  width: 310px;
  height: 310px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(185,150,79,0.30), transparent 68%);
  pointer-events: none;
}

.ric-kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--ric-gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.ric-kicker::before {
  content: "";
  width: 44px;
  height: 2px;
  background: var(--ric-gold);
}

.ric-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0;
  color: var(--ric-green-deep);
  font-size: clamp(3rem, 6.2vw, 6.7rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.ric-subtitle {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 28px 0 0;
  color: var(--ric-green);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.45;
  font-weight: 750;
}

.ric-positioning {
  position: relative;
  z-index: 1;
  max-width: 830px;
  margin: 32px 0 0;
  padding: 22px 0 22px 26px;
  border-left: 4px solid var(--ric-gold);
  color: #243b32;
  font-size: clamp(1.03rem, 1.3vw, 1.22rem);
  line-height: 1.68;
}

.ric-hero-side {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  padding: 24px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(232,244,236,0.95), rgba(255,255,255,0.66));
  border: 1px solid rgba(13, 90, 69, 0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.74);
}

.ric-side-title {
  margin: 0 0 15px;
  color: var(--ric-green-deep);
  font-size: 1.08rem;
  font-weight: 900;
}

.ric-side-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ric-side-list li {
  position: relative;
  padding: 14px 15px 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(13, 90, 69, 0.10);
  color: #244039;
  font-size: 0.98rem;
  line-height: 1.52;
}

.ric-side-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 999px;
  background: var(--ric-gold);
}

.ric-section {
  padding: 40px 0;
}

.ric-section-header {
  max-width: 820px;
  margin-bottom: 26px;
}

.ric-section-label {
  color: var(--ric-gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ric-section h2 {
  margin: 8px 0 0;
  color: var(--ric-green-deep);
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.ric-card {
  padding: clamp(28px, 3vw, 42px);
  border-radius: 30px;
  background: var(--ric-white-strong);
  border: 1px solid var(--ric-border);
  box-shadow: var(--ric-shadow-soft);
}

.ric-card p {
  margin: 0 0 18px;
  color: #243a32;
  font-size: 1.04rem;
}

.ric-card p:last-child {
  margin-bottom: 0;
}

.ric-grid {
  display: grid;
  gap: 20px;
}

.ric-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.ric-competence,
.ric-publication {
  position: relative;
  min-height: 172px;
  padding: 25px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.90), rgba(255,255,255,0.68));
  border: 1px solid rgba(13, 90, 69, 0.14);
  box-shadow: 0 14px 34px rgba(6, 60, 47, 0.07);
  overflow: hidden;
}

.ric-competence::before,
.ric-publication::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 0;
  width: 52px;
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: var(--ric-gold);
}

.ric-competence h3,
.ric-publication h3 {
  margin: 8px 0 12px;
  color: var(--ric-green-deep);
  font-size: 1.12rem;
  line-height: 1.22;
}

.ric-competence p,
.ric-publication p {
  margin: 0;
  color: var(--ric-muted);
  font-size: 0.98rem;
  line-height: 1.58;
}

.ric-vision {
  position: relative;
  padding: clamp(38px, 5vw, 60px);
  border-radius: 36px;
  background:
    radial-gradient(circle at 88% 82%, rgba(185,150,79,0.28), transparent 24%),
    linear-gradient(135deg, #063c2f 0%, #0d5a45 58%, #1f6a53 100%);
  color: #f7fff9;
  box-shadow: var(--ric-shadow);
  overflow: hidden;
}

.ric-vision::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 26px;
  border: 1px solid rgba(216, 189, 120, 0.22);
  pointer-events: none;
}

.ric-vision h2 {
  position: relative;
  margin: 0 0 24px;
  color: #ffffff;
  font-size: clamp(2.1rem, 3.6vw, 3.7rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.ric-vision p {
  position: relative;
  max-width: 980px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.90);
  font-size: 1.08rem;
  line-height: 1.72;
}

.ric-vision strong {
  color: #fff0c2;
}

.ric-coherence {
  border-left: 6px solid var(--ric-gold);
  background:
    linear-gradient(90deg, rgba(185,150,79,0.10), transparent 28%),
    var(--ric-white-strong);
}

.ric-footer {
  margin-top: 34px;
  padding: 34px 0 48px;
  color: var(--ric-muted);
  font-size: 0.94rem;
}

.ric-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(13, 90, 69, 0.18);
}

@media (max-width: 980px) {
  .ric-container {
    width: min(100% - 36px, 1240px);
  }

  .ric-hero-card,
  .ric-grid-3,
  .ric-grid-2 {
    grid-template-columns: 1fr;
  }

  .ric-topbar,
  .ric-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .ric-nav-note {
    display: none;
  }
}

@media (max-width: 620px) {
  .ric-container {
    width: min(100% - 24px, 1240px);
  }

  .ric-hero {
    padding-top: 20px;
  }

  .ric-logo {
    padding: 8px 12px;
  }

  .ric-logo img {
    height: 30px;
  }

  .ric-hero-card,
  .ric-card,
  .ric-vision {
    border-radius: 26px;
    padding: 26px;
  }

  .ric-hero-card::before,
  .ric-vision::before {
    display: none;
  }

  .ric-positioning {
    padding-left: 18px;
  }

  .ric-section {
    padding: 30px 0;
  }
}

/* ===============================
   Placeholder fotografici Ricciardi
   =============================== */

.ric-photo-placeholder {
  position: relative;
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 18%, rgba(216, 189, 120, 0.34), transparent 28%),
    linear-gradient(135deg, rgba(6, 60, 47, 0.92), rgba(13, 90, 69, 0.78)),
    linear-gradient(180deg, #d8e9df, #eef7f1);
  border: 1px solid rgba(216, 189, 120, 0.36);
  box-shadow: 0 22px 48px rgba(6, 60, 47, 0.16);
  color: #ffffff;
}

.ric-photo-placeholder::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

.ric-photo-placeholder::after {
  content: "";
  position: absolute;
  top: 34px;
  left: 34px;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.24);
}

.ric-photo-label,
.ric-photo-title,
.ric-photo-text {
  position: relative;
  z-index: 1;
}

.ric-photo-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(216, 189, 120, 0.18);
  border: 1px solid rgba(216, 189, 120, 0.34);
  color: #fff0c2;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ric-photo-title {
  max-width: 420px;
  color: #ffffff;
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.ric-photo-text {
  max-width: 430px;
  margin-top: 12px;
  color: rgba(255,255,255,0.82);
  font-size: 0.98rem;
  line-height: 1.55;
}

.ric-photo-portrait {
  min-height: 100%;
}

.ric-media-feature,
.ric-institutional {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: stretch;
}

.ric-institutional {
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
}

.ric-media-copy {
  padding: clamp(30px, 4vw, 48px);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(13, 90, 69, 0.14);
  box-shadow: 0 16px 36px rgba(6, 60, 47, 0.08);
}

.ric-media-copy h2 {
  margin: 8px 0 20px;
  color: var(--ric-green-deep);
  font-size: clamp(2rem, 3.1vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.ric-media-copy p {
  margin: 0;
  color: #243a32;
  font-size: 1.05rem;
  line-height: 1.72;
}

.ric-contact-card strong {
  color: var(--ric-green-deep);
  font-size: 1.12rem;
}

.ric-contact-placeholder {
  display: inline-flex;
  margin-top: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(185, 150, 79, 0.12);
  border: 1px solid rgba(185, 150, 79, 0.24);
  color: var(--ric-green);
  font-weight: 800;
}

@media (max-width: 980px) {
  .ric-media-feature,
  .ric-institutional {
    grid-template-columns: 1fr;
  }

  .ric-institutional .ric-media-copy {
    order: 2;
  }

  .ric-institutional .ric-photo-placeholder {
    order: 1;
  }

  .ric-photo-portrait,
  .ric-photo-placeholder {
    min-height: 340px;
  }
}

@media (max-width: 620px) {
  .ric-photo-placeholder {
    min-height: 300px;
    padding: 24px;
    border-radius: 26px;
  }

  .ric-photo-placeholder::before {
    display: none;
  }

  .ric-media-copy {
    padding: 26px;
    border-radius: 26px;
  }
}

/* ===============================
   Foto reali Ricciardi
   =============================== */

.ric-photo-real {
  position: relative;
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
  background: rgba(6, 60, 47, 0.16);
  border: 1px solid rgba(216, 189, 120, 0.40);
  box-shadow: 0 22px 48px rgba(6, 60, 47, 0.16);
}

.ric-photo-real img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ric-photo-real::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(6, 60, 47, 0.78) 100%);
  pointer-events: none;
}

.ric-photo-real figcaption {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 18px;
  color: #fff4d3;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.ric-photo-main {
  min-height: 100%;
}

.ric-photo-main img {
  object-position: center center;
}

.ric-photo-senato {
  min-height: 420px;
}

.ric-photo-senato img {
  object-position: center center;
}

.ric-photo-mini-real {
  min-height: 255px;
}

.ric-photo-mini-real figcaption {
  left: 16px;
  right: 16px;
  bottom: 14px;
  font-size: 0.78rem;
}

@media (max-width: 980px) {
  .ric-photo-main {
    min-height: 440px;
  }

  .ric-photo-senato {
    min-height: 360px;
  }
}

@media (max-width: 620px) {
  .ric-photo-main {
    min-height: 360px;
  }

  .ric-photo-senato {
    min-height: 300px;
  }
}

/* ===============================
   Foto reali Ricciardi
   =============================== */

.ric-photo-real {
  position: relative;
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
  background: rgba(6, 60, 47, 0.16);
  border: 1px solid rgba(216, 189, 120, 0.40);
  box-shadow: 0 22px 48px rgba(6, 60, 47, 0.16);
}

.ric-photo-real img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ric-photo-real::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(6, 60, 47, 0.78) 100%);
  pointer-events: none;
}

.ric-photo-real figcaption {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 18px;
  color: #fff4d3;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.ric-photo-main {
  min-height: 100%;
}

.ric-photo-main img {
  object-position: center center;
}

.ric-photo-senato {
  min-height: 420px;
}

.ric-photo-senato img {
  object-position: center center;
}

.ric-photo-mini-real {
  min-height: 255px;
}

.ric-photo-mini-real figcaption {
  left: 16px;
  right: 16px;
  bottom: 14px;
  font-size: 0.78rem;
}

@media (max-width: 980px) {
  .ric-photo-main {
    min-height: 440px;
  }

  .ric-photo-senato {
    min-height: 360px;
  }
}

@media (max-width: 620px) {
  .ric-photo-main {
    min-height: 360px;
  }

  .ric-photo-senato {
    min-height: 300px;
  }
}

/* ===============================
   Testo sezione istituzionale ampliato
   =============================== */

.ric-institutional-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ric-institutional-copy p + p {
  margin-top: 18px;
}

.ric-institutional-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 28px;
}

.ric-institutional-points div {
  padding: 16px 18px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(185,150,79,0.12), rgba(255,255,255,0.62));
  border: 1px solid rgba(13,90,69,0.12);
}

.ric-institutional-points strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ric-green-deep);
  font-size: 0.98rem;
  font-weight: 900;
}

.ric-institutional-points span {
  display: block;
  color: var(--ric-muted);
  font-size: 0.92rem;
  line-height: 1.52;
}

/* ===============================
   Foto lezione Ricciardi
   =============================== */

.ric-photo-lesson {
  min-height: 420px;
}

.ric-photo-lesson img {
  object-position: center center;
}

.ric-photo-mini-lesson img {
  object-position: center center;
}

@media (max-width: 980px) {
  .ric-photo-lesson {
    min-height: 360px;
  }
}

@media (max-width: 620px) {
  .ric-photo-lesson {
    min-height: 300px;
  }
}

/* ===============================
   Nome hero su due righe controllate
   =============================== */

.ric-hero-name {
  display: flex;
  flex-direction: column;
  gap: 0.04em;
}

.ric-hero-name span {
  display: block;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .ric-hero-name span {
    white-space: normal;
  }
}

/* ===============================
   FIX nome hero: evita sovrapposizione foto
   =============================== */

.ric-hero-card > div:first-child {
  min-width: 0;
  max-width: 760px;
}

.ric-hero h1,
.ric-hero-name {
  max-width: 760px;
  font-size: clamp(3.15rem, 5vw, 5.25rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.ric-hero-name span {
  white-space: normal;
}

@media (min-width: 981px) {
  .ric-hero-card {
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.62fr);
  }

  .ric-hero-name span:first-child {
    white-space: nowrap;
    font-size: 0.84em;
  }

  .ric-hero-name span:last-child {
    font-size: 1em;
  }
}

@media (max-width: 1200px) {
  .ric-hero h1,
  .ric-hero-name {
    font-size: clamp(2.8rem, 4.7vw, 4.45rem);
  }
}

/* ===============================
   Topbar Ricciardi: logo + azioni
   =============================== */

.ric-logo-only {
  padding: 10px 18px;
}

.ric-logo-only img {
  height: 38px;
}

.ric-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ric-top-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 850;
  color: var(--ric-green-deep);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(13, 90, 69, 0.16);
  box-shadow: 0 12px 28px rgba(6, 60, 47, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ric-top-actions a:first-child {
  color: #ffffff;
  background: linear-gradient(135deg, var(--ric-green-deep), var(--ric-green));
  border-color: rgba(216, 189, 120, 0.36);
}

.ric-top-actions a:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(6, 60, 47, 0.13);
  border-color: rgba(185, 150, 79, 0.42);
}

@media (max-width: 720px) {
  .ric-top-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .ric-top-actions a {
    flex: 1 1 auto;
    min-width: 160px;
  }
}

/* ===============================
   FIX titoli sezioni: più respiro su desktop
   =============================== */

@media (min-width: 981px) {
  .ric-section-header {
    max-width: 1080px;
  }

  .ric-section h2 {
    font-size: clamp(2rem, 3vw, 3.05rem);
  }
}

@media (min-width: 1200px) {
  .ric-section-header {
    max-width: 1180px;
  }
}

/* ===============================
   Link contatti reali
   =============================== */

.ric-contact-link {
  display: inline-flex;
  margin-top: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--ric-green-deep);
  background: rgba(185, 150, 79, 0.13);
  border: 1px solid rgba(185, 150, 79, 0.28);
  font-weight: 900;
  text-decoration: none;
}

.ric-contact-link:hover {
  border-color: rgba(13, 90, 69, 0.28);
  background: rgba(13, 90, 69, 0.08);
}

/* ===============================
   Pulsante contatti Prof. Ricciardi
   =============================== */

.ric-contact-actions {
  margin-top: 24px;
}

.ric-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--ric-green-deep), var(--ric-green));
  border: 1px solid rgba(216, 189, 120, 0.42);
  box-shadow: 0 14px 32px rgba(6, 60, 47, 0.14);
  font-size: 0.95rem;
  font-weight: 900;
  text-decoration: none;
}

.ric-contact-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(6, 60, 47, 0.18);
}

/* ===============================
   Video Senato
   =============================== */

.ric-video-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
  gap: 28px;
  align-items: stretch;
  padding: clamp(26px, 3vw, 38px);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.90), rgba(255,255,255,0.62)),
    linear-gradient(135deg, rgba(13,90,69,0.08), rgba(185,150,79,0.12));
  border: 1px solid rgba(185,150,79,0.30);
  box-shadow: 0 24px 58px rgba(6,60,47,0.11);
}

.ric-video-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 28px;
  background: rgba(6, 60, 47, 0.92);
  border: 1px solid rgba(216,189,120,0.25);
}

.ric-video-copy h2 {
  margin: 8px 0 18px;
  color: #ffffff;
  font-size: clamp(2rem, 3vw, 3.05rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.ric-video-copy p {
  margin: 0;
  color: rgba(255,255,255,0.86);
  font-size: 1.04rem;
  line-height: 1.72;
}

.ric-video-frame {
  position: relative;
  padding: 14px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(216,189,120,0.22), rgba(13,90,69,0.10)),
    rgba(255,255,255,0.68);
  border: 1px solid rgba(185,150,79,0.34);
  box-shadow: 0 22px 48px rgba(6,60,47,0.16);
}

.ric-video-frame video {
  width: 100%;
  display: block;
  border-radius: 22px;
  background: #082f27;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media (max-width: 980px) {
  .ric-video-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .ric-video-section {
    padding: 16px;
    border-radius: 26px;
  }

  .ric-video-copy,
  .ric-video-frame {
    border-radius: 22px;
  }

  .ric-video-frame video {
    border-radius: 16px;
  }
}


/* =========================================================
   RUBRICA DEL PROF. RICCIARDI
   Pagina: /ricciardi/rubrica
   ========================================================= */

.ricciardi-rubrica-page {
    background:
        radial-gradient(circle at top left, rgba(194, 168, 92, 0.14), transparent 34rem),
        linear-gradient(180deg, #eef7ed 0%, #f7fbf5 48%, #edf6ea 100%);
    color: #123b31;
}

.rubrica-shell {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 34px 0 70px;
}

.rubrica-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(25, 91, 70, 0.18);
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.84), rgba(232,245,228,0.9)),
        radial-gradient(circle at 85% 18%, rgba(194,168,92,0.22), transparent 18rem);
    box-shadow: 0 24px 70px rgba(22, 71, 55, 0.12);
    padding: 28px;
}

.rubrica-hero::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -120px;
    width: 330px;
    height: 330px;
    border-radius: 999px;
    border: 1px solid rgba(194, 168, 92, 0.34);
    background: rgba(194, 168, 92, 0.06);
}

.rubrica-hero__top {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 74px;
}

.rubrica-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rubrica-brand__mark {
    width: fit-content;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(25, 91, 70, 0.1);
    color: #185b46;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.rubrica-brand__line {
    color: rgba(18, 59, 49, 0.66);
    font-size: 0.92rem;
}

.rubrica-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(25, 91, 70, 0.26);
    color: #185b46;
    text-decoration: none;
    font-weight: 700;
    background: rgba(255,255,255,0.58);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.rubrica-back:hover {
    transform: translateY(-1px);
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(22, 71, 55, 0.12);
}

.rubrica-hero__content {
    position: relative;
    z-index: 1;
    max-width: 860px;
}

.rubrica-kicker {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 18px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(194, 168, 92, 0.18);
    color: #806727;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.rubrica-hero h1 {
    margin: 0;
    color: #123b31;
    font-size: clamp(2.45rem, 5vw, 5.2rem);
    line-height: 0.96;
    letter-spacing: -0.055em;
}

.rubrica-subtitle {
    max-width: 780px;
    margin: 22px 0 0;
    color: #185b46;
    font-size: clamp(1.22rem, 2vw, 1.72rem);
    line-height: 1.28;
    font-weight: 650;
}

.rubrica-intro {
    max-width: 790px;
    margin: 18px 0 0;
    color: rgba(18, 59, 49, 0.78);
    font-size: 1.04rem;
    line-height: 1.74;
}

.rubrica-section {
    margin-top: 34px;
}

.rubrica-section__head {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.85fr);
    gap: 28px;
    align-items: end;
    margin-bottom: 22px;
    padding: 0 8px;
}

.rubrica-section__eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #9a7c2f;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.rubrica-section__head h2 {
    margin: 0;
    color: #123b31;
    font-size: clamp(1.7rem, 3vw, 2.7rem);
    letter-spacing: -0.035em;
}

.rubrica-section__head p {
    margin: 0;
    color: rgba(18, 59, 49, 0.72);
    line-height: 1.65;
}

.rubrica-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.rubrica-card {
    display: flex;
    flex-direction: column;
    min-height: 365px;
    border: 1px solid rgba(25, 91, 70, 0.16);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.88), rgba(244,250,241,0.9));
    box-shadow: 0 18px 46px rgba(22, 71, 55, 0.09);
    padding: 24px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.rubrica-card:hover {
    transform: translateY(-3px);
    border-color: rgba(194, 168, 92, 0.48);
    box-shadow: 0 26px 64px rgba(22, 71, 55, 0.14);
}

.rubrica-card--featured {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.92), rgba(246,248,235,0.92)),
        radial-gradient(circle at top right, rgba(194,168,92,0.18), transparent 13rem);
}

.rubrica-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 28px;
}

.rubrica-card__meta span,
.rubrica-card__meta strong {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    font-size: 0.72rem;
    line-height: 1;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    white-space: nowrap;
}

.rubrica-card__meta span {
    background: rgba(25, 91, 70, 0.09);
    color: #185b46;
    font-weight: 800;
}

.rubrica-card__meta strong {
    background: rgba(194, 168, 92, 0.16);
    color: #806727;
    font-weight: 800;
}

.rubrica-card h3 {
    margin: 0;
    color: #123b31;
    font-size: 1.42rem;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.rubrica-card p {
    margin: 16px 0 0;
    color: rgba(18, 59, 49, 0.76);
    font-size: 0.98rem;
    line-height: 1.65;
}

.rubrica-card__footer {
    margin-top: auto;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.rubrica-status {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.rubrica-status--draft {
    background: rgba(25, 91, 70, 0.09);
    color: #185b46;
}

.rubrica-status--published {
    background: rgba(194, 168, 92, 0.18);
    color: #806727;
}

.rubrica-card__footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 15px;
    border-radius: 999px;
    background: #185b46;
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 12px 26px rgba(22, 71, 55, 0.16);
    transition: transform .18s ease, background .18s ease;
}

.rubrica-card__footer a:hover {
    transform: translateY(-1px);
    background: #123b31;
}

.rubrica-origin {
    margin-top: 34px;
    border: 1px solid rgba(25, 91, 70, 0.16);
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.82), rgba(236,247,232,0.88));
    box-shadow: 0 18px 48px rgba(22, 71, 55, 0.09);
    padding: clamp(24px, 4vw, 42px);
}

.rubrica-origin__badge {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 16px;
    min-height: 30px;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(194, 168, 92, 0.17);
    color: #806727;
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.rubrica-origin h2 {
    margin: 0 0 14px;
    color: #123b31;
    font-size: clamp(1.6rem, 3vw, 2.55rem);
    letter-spacing: -0.035em;
}

.rubrica-origin p {
    max-width: 900px;
    margin: 0;
    color: rgba(18, 59, 49, 0.76);
    font-size: 1.03rem;
    line-height: 1.75;
}

.rubrica-origin p + p {
    margin-top: 12px;
}

@media (max-width: 980px) {
    .rubrica-section__head {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .rubrica-grid {
        grid-template-columns: 1fr;
    }

    .rubrica-card {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .rubrica-shell {
        width: min(100% - 22px, 1180px);
        padding-top: 18px;
    }

    .rubrica-hero {
        border-radius: 24px;
        padding: 20px;
    }

    .rubrica-hero__top {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 46px;
    }

    .rubrica-card__meta,
    .rubrica-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .rubrica-card__footer a {
        width: 100%;
    }
}

.rubrica-card__meta--article {
    justify-content: flex-start;
    margin-bottom: 16px;
}

.rubrica-card__meta--article span,
.rubrica-card__meta--article strong {
    white-space: normal;
}

.rubrica-article-body {
    margin-top: 28px;
    border: 1px solid rgba(25, 91, 70, 0.16);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255,255,255,0.90), rgba(244,250,241,0.92));
    box-shadow: 0 18px 46px rgba(22, 71, 55, 0.09);
    padding: clamp(24px, 4vw, 42px);
}

.rubrica-article-body p {
    margin: 0;
    max-width: 860px;
    color: rgba(18, 59, 49, 0.82);
    font-size: 1.03rem;
    line-height: 1.82;
}

.rubrica-article-body p + p {
    margin-top: 16px;
}

.rubrica-article-actions {
    margin-top: 24px;
}

.rubrica-section__head--clean {
    display: block;
    margin-bottom: 24px;
}

.rubrica-section__head--clean h2 {
    max-width: 720px;
}

.rubrica-hero-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.rubrica-ask {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(25, 91, 70, 0.18);
    background: #185b46;
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 12px 26px rgba(22, 71, 55, 0.16);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.rubrica-ask:hover {
    transform: translateY(-1px);
    background: #123b31;
    box-shadow: 0 16px 34px rgba(22, 71, 55, 0.20);
}

@media (max-width: 640px) {
    .rubrica-hero-actions {
        width: 100%;
    }

    .rubrica-hero-actions a {
        width: 100%;
    }
}


/* =========================================================
   PAGINA PUBBLICAZIONI RICCIARDI
   ========================================================= */

.ric-section-header-action {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
}

.ric-section-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(25, 91, 70, 0.22);
  background: rgba(255,255,255,0.62);
  color: #185b46;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.ric-section-button:hover {
  transform: translateY(-1px);
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(22, 71, 55, 0.13);
}

.ric-pub-hero {
  width: min(1120px, calc(100% - 36px));
  margin: 34px auto 0;
  border: 1px solid rgba(25, 91, 70, 0.16);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.86), rgba(232,245,228,0.92)),
    radial-gradient(circle at 86% 20%, rgba(194,168,92,0.18), transparent 18rem);
  box-shadow: 0 24px 70px rgba(22, 71, 55, 0.12);
  padding: clamp(26px, 5vw, 54px);
}

.ric-pub-hero-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.ric-pub-hero h1 {
  margin: 12px 0 0;
  color: #123b31;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.ric-pub-hero p {
  max-width: 850px;
  margin: 24px 0 0;
  color: rgba(18, 59, 49, 0.78);
  font-size: 1.06rem;
  line-height: 1.75;
}

.ric-pub-note {
  margin-bottom: 22px;
  border: 1px solid rgba(25, 91, 70, 0.14);
  border-radius: 26px;
  background: rgba(255,255,255,0.62);
  padding: 26px;
}

.ric-pub-note h2 {
  margin: 0 0 10px;
  color: #123b31;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.ric-pub-note p {
  margin: 0;
  color: rgba(18, 59, 49, 0.76);
  line-height: 1.7;
}

@media (max-width: 760px) {
  .ric-section-header-action,
  .ric-pub-hero-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .ric-section-button {
    width: 100%;
  }
}


/* =========================================================
   PAGINA PUBBLICAZIONI RICCIARDI - VERSIONE COMPLETA
   ========================================================= */

.ricciardi-pubblicazioni-page {
  background:
    radial-gradient(circle at top left, rgba(194, 168, 92, 0.13), transparent 34rem),
    linear-gradient(180deg, #eef7ed 0%, #f7fbf5 48%, #edf6ea 100%);
  color: #123b31;
}

.ric-publications-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 76px;
}

.ric-publications-hero {
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(25, 91, 70, 0.18);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.86), rgba(232,245,228,0.92)),
    radial-gradient(circle at 88% 18%, rgba(194,168,92,0.22), transparent 18rem);
  box-shadow: 0 24px 70px rgba(22, 71, 55, 0.12);
  padding: clamp(24px, 4vw, 34px);
}

.ric-publications-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 330px;
  height: 330px;
  border-radius: 999px;
  border: 1px solid rgba(194, 168, 92, 0.34);
  background: rgba(194, 168, 92, 0.06);
}

.ric-publications-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 70px;
}

.ric-publications-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ric-publications-brand span {
  width: fit-content;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(25, 91, 70, 0.1);
  color: #185b46;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.ric-publications-brand small {
  color: rgba(18, 59, 49, 0.66);
  font-size: 0.92rem;
}

.ric-publications-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(25, 91, 70, 0.26);
  color: #185b46;
  text-decoration: none;
  font-weight: 800;
  background: rgba(255,255,255,0.58);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.ric-publications-back:hover {
  transform: translateY(-1px);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(22, 71, 55, 0.12);
}

.ric-publications-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.ric-publications-hero-copy h1 {
  margin: 14px 0 0;
  color: #123b31;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.ric-publications-hero-copy p {
  max-width: 860px;
  margin: 24px 0 0;
  color: rgba(18, 59, 49, 0.78);
  font-size: 1.06rem;
  line-height: 1.76;
}

.ric-publications-intro {
  margin-top: 28px;
  border: 1px solid rgba(25, 91, 70, 0.14);
  border-radius: 28px;
  background: rgba(255,255,255,0.62);
  box-shadow: 0 16px 44px rgba(22, 71, 55, 0.08);
  padding: clamp(22px, 4vw, 34px);
}

.ric-publications-intro p {
  max-width: 940px;
  margin: 0;
  color: rgba(18, 59, 49, 0.78);
  font-size: 1.02rem;
  line-height: 1.78;
}

.ric-publications-list {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.ric-publications-group {
  border: 1px solid rgba(25, 91, 70, 0.16);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.9), rgba(244,250,241,0.92));
  box-shadow: 0 18px 50px rgba(22, 71, 55, 0.09);
  padding: clamp(22px, 4vw, 34px);
}

.ric-publications-group-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(25, 91, 70, 0.12);
}

.ric-publications-group-head span {
  order: 2;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(194, 168, 92, 0.17);
  color: #806727;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ric-publications-group-head h2 {
  margin: 0;
  color: #123b31;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.ric-publications-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ric-publication-item {
  position: relative;
  border: 1px solid rgba(25, 91, 70, 0.12);
  border-radius: 22px;
  background: rgba(255,255,255,0.72);
  padding: 20px 20px 18px;
}

.ric-publication-item::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: #c2a85c;
}

.ric-publication-item h3 {
  margin: 0;
  color: #123b31;
  font-size: 1.04rem;
  line-height: 1.28;
  letter-spacing: -0.01em;
}

.ric-publication-item p {
  margin: 10px 0 0;
  color: rgba(18, 59, 49, 0.72);
  font-size: 0.95rem;
  line-height: 1.58;
}

@media (max-width: 860px) {
  .ric-publications-top,
  .ric-publications-group-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .ric-publications-items {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ric-publications-shell {
    width: min(100% - 22px, 1180px);
    padding-top: 18px;
  }

  .ric-publications-hero {
    border-radius: 24px;
  }

  .ric-publications-top {
    margin-bottom: 46px;
  }

  .ric-publications-back {
    width: 100%;
  }
}

.ric-publication-featured-home {
  grid-column: 1 / -1;
  position: relative;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(246,248,235,0.94)),
    radial-gradient(circle at top right, rgba(194,168,92,0.18), transparent 16rem);
  border-color: rgba(194, 168, 92, 0.42);
}

.ric-publication-featured-label {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(194, 168, 92, 0.17);
  color: #806727;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}


/* =========================================================
   PAGINA CHIEDI AL PROF. RICCIARDI
   ========================================================= */

.ricciardi-contact-page {
  background:
    radial-gradient(circle at top left, rgba(194, 168, 92, 0.13), transparent 34rem),
    linear-gradient(180deg, #eef7ed 0%, #f7fbf5 48%, #edf6ea 100%);
  color: #123b31;
}

.ric-contact-shell {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 76px;
}

.ric-contact-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(25, 91, 70, 0.18);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.86), rgba(232,245,228,0.92)),
    radial-gradient(circle at 88% 18%, rgba(194,168,92,0.22), transparent 18rem);
  box-shadow: 0 24px 70px rgba(22, 71, 55, 0.12);
  padding: clamp(24px, 4vw, 34px);
}

.ric-contact-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 330px;
  height: 330px;
  border-radius: 999px;
  border: 1px solid rgba(194, 168, 92, 0.34);
  background: rgba(194, 168, 92, 0.06);
}

.ric-contact-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 68px;
}

.ric-contact-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ric-contact-brand span {
  width: fit-content;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(25, 91, 70, 0.1);
  color: #185b46;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.ric-contact-brand small {
  color: rgba(18, 59, 49, 0.66);
  font-size: 0.92rem;
}

.ric-contact-back,
.ric-contact-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(25, 91, 70, 0.26);
  color: #185b46;
  text-decoration: none;
  font-weight: 800;
  background: rgba(255,255,255,0.58);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.ric-contact-back:hover,
.ric-contact-secondary:hover {
  transform: translateY(-1px);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(22, 71, 55, 0.12);
}

.ric-contact-copy {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.ric-contact-copy h1 {
  margin: 14px 0 0;
  color: #123b31;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.ric-contact-copy p {
  max-width: 820px;
  margin: 24px 0 0;
  color: rgba(18, 59, 49, 0.78);
  font-size: 1.06rem;
  line-height: 1.76;
}

.ric-contact-panel {
  margin-top: 28px;
  border: 1px solid rgba(25, 91, 70, 0.16);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.9), rgba(244,250,241,0.92));
  box-shadow: 0 18px 50px rgba(22, 71, 55, 0.09);
  padding: clamp(24px, 4vw, 38px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.ric-contact-panel-label {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(194, 168, 92, 0.17);
  color: #806727;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.ric-contact-panel h2 {
  margin: 16px 0 0;
  color: #123b31;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  word-break: break-word;
}

.ric-contact-panel p {
  max-width: 720px;
  margin: 14px 0 0;
  color: rgba(18, 59, 49, 0.76);
  font-size: 1rem;
  line-height: 1.7;
}

.ric-contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ric-contact-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: #185b46;
  color: #ffffff;
  text-decoration: none;
  font-weight: 850;
  box-shadow: 0 14px 30px rgba(22, 71, 55, 0.18);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.ric-contact-primary:hover {
  transform: translateY(-1px);
  background: #123b31;
  box-shadow: 0 18px 38px rgba(22, 71, 55, 0.22);
}

@media (max-width: 760px) {
  .ric-contact-top,
  .ric-contact-panel {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .ric-contact-actions {
    justify-content: flex-start;
  }

  .ric-contact-actions a,
  .ric-contact-back {
    width: 100%;
  }
}

/* =========================================================
   Pagina Ricciardi - Prenota una visita
   ========================================================= */

.ricciardi-prenota-page {
  background:
    radial-gradient(circle at top left, rgba(194, 161, 83, 0.16), transparent 34rem),
    linear-gradient(180deg, #edf5ee 0%, #dfeee3 100%);
}

.prenota-hero {
  min-height: auto;
  padding-top: 4.5rem;
  padding-bottom: 3.5rem;
}

.prenota-hero .ricciardi-hero-text {
  max-width: 920px;
}

.prenota-grid {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 1.4rem;
}

.prenota-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 83, 64, 0.12);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 22px 50px rgba(20, 83, 64, 0.10);
  backdrop-filter: blur(10px);
}

.prenota-card h2 {
  margin: 0.45rem 0 1rem;
  color: #153f34;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1.12;
}

.prenota-card p {
  color: #355d51;
  line-height: 1.75;
  margin: 0 0 1rem;
}

.prenota-card p:last-child {
  margin-bottom: 0;
}

.prenota-card-main {
  position: relative;
  overflow: hidden;
}

.prenota-card-main::after {
  content: "";
  position: absolute;
  right: -4rem;
  bottom: -4rem;
  width: 14rem;
  height: 14rem;
  border-radius: 999px;
  background: rgba(194, 161, 83, 0.13);
  pointer-events: none;
}

.contact-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(237, 245, 238, 0.82);
  border: 1px solid rgba(20, 83, 64, 0.10);
}

.contact-row span {
  color: #668278;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

.contact-row strong {
  color: #153f34;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.small-action {
  width: fit-content;
  margin-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: #174f3f;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 22px rgba(20, 83, 64, 0.16);
}

.small-action:hover {
  transform: translateY(-1px);
}

.contact-note {
  margin-top: 1.15rem !important;
  padding-top: 1rem;
  border-top: 1px solid rgba(20, 83, 64, 0.12);
  font-size: 0.96rem;
}

.prenota-note {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto 4rem;
}

.note-card {
  border-left: 5px solid #c2a153;
}

.note-card p {
  font-size: 1.02rem;
}

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

  .prenota-card {
    padding: 1.45rem;
    border-radius: 24px;
  }

  .prenota-hero {
    padding-top: 3rem;
  }
}


/* =========================================================
   Pagina Ricciardi - Prenota visita V2
   Allineata alla pagina Chiedi al Prof.
   ========================================================= */

.ric-prenota-shell {
  padding-bottom: 4rem;
}

.ric-prenota-hero {
  margin-bottom: 1.4rem;
}

.ric-prenota-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 1.35rem;
  margin-top: 1.35rem;
}

.ric-prenota-card,
.ric-prenota-note {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 77, 61, 0.12);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(17, 77, 61, 0.10);
  padding: 2rem;
}

.ric-prenota-card h2 {
  margin: 0.45rem 0 1rem;
  color: #153f34;
  font-size: clamp(1.55rem, 2vw, 2.05rem);
  line-height: 1.08;
}

.ric-prenota-card p,
.ric-prenota-note p {
  color: #315d51;
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 1rem;
}

.ric-prenota-card p:last-child,
.ric-prenota-note p:last-child {
  margin-bottom: 0;
}

.ric-prenota-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.ric-prenota-contact-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.ric-prenota-contact-row {
  background: rgba(235, 245, 238, 0.82);
  border: 1px solid rgba(17, 77, 61, 0.10);
  border-radius: 20px;
  padding: 1rem;
}

.ric-prenota-contact-row span {
  display: block;
  color: #607f73;
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
}

.ric-prenota-contact-row strong {
  display: block;
  color: #153f34;
  font-size: 1rem;
  overflow-wrap: anywhere;
  margin-bottom: 0.65rem;
}

.ric-prenota-contact-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: #174f3f;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 12px 24px rgba(17, 77, 61, 0.16);
}

.ric-prenota-small-note {
  border-top: 1px solid rgba(17, 77, 61, 0.12);
  padding-top: 1rem;
  margin-top: 1rem !important;
  font-size: 0.94rem !important;
}

.ric-prenota-note {
  margin-top: 1.35rem;
  border-left: 5px solid #c2a153;
}

@media (max-width: 860px) {
  .ric-prenota-grid {
    grid-template-columns: 1fr;
  }

  .ric-prenota-card,
  .ric-prenota-note {
    padding: 1.45rem;
    border-radius: 24px;
  }
}

/* =========================================================
   Pagina Ricciardi - Form prenota visita
   ========================================================= */

.ric-prenota-grid-form {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: start;
}

.ric-prenota-form-card {
  min-height: auto;
}

.ric-prenota-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.ric-form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ric-prenota-form label {
  display: grid;
  gap: 0.45rem;
}

.ric-prenota-form label > span {
  color: #174f3f;
  font-size: 0.9rem;
  font-weight: 800;
}

.ric-prenota-form input,
.ric-prenota-form select,
.ric-prenota-form textarea {
  width: 100%;
  border: 1px solid rgba(17, 77, 61, 0.18);
  border-radius: 16px;
  background: rgba(244, 249, 246, 0.92);
  color: #153f34;
  font: inherit;
  padding: 0.9rem 1rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ric-prenota-form textarea {
  resize: vertical;
  min-height: 130px;
}

.ric-prenota-form input:focus,
.ric-prenota-form select:focus,
.ric-prenota-form textarea:focus {
  border-color: rgba(194, 161, 83, 0.72);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(194, 161, 83, 0.14);
}

.ric-prenota-check {
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem !important;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(235, 245, 238, 0.82);
  border: 1px solid rgba(17, 77, 61, 0.10);
}

.ric-prenota-check input {
  width: 18px;
  height: 18px;
  padding: 0;
}

.ric-prenota-form-note {
  color: #5d7c70;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

.ric-prenota-submit {
  justify-self: start;
  border: 0;
  cursor: pointer;
  min-height: 2.9rem;
  padding: 0 1.35rem;
  border-radius: 999px;
  background: #174f3f;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.98rem;
  box-shadow: 0 16px 32px rgba(17, 77, 61, 0.18);
}

.ric-prenota-submit:hover {
  transform: translateY(-1px);
}

.ric-prenota-alert {
  border-radius: 18px;
  padding: 0.95rem 1rem;
  margin-top: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.ric-prenota-alert-error {
  color: #7a2f22;
  background: rgba(255, 232, 224, 0.9);
  border: 1px solid rgba(122, 47, 34, 0.18);
}

.ric-prenota-alert-success {
  color: #174f3f;
  background: rgba(227, 245, 235, 0.95);
  border: 1px solid rgba(17, 77, 61, 0.16);
}

@media (max-width: 860px) {
  .ric-prenota-grid-form,
  .ric-form-two {
    grid-template-columns: 1fr;
  }
}

/* Rubrica Prof. Ricciardi - articolo editoriale */
.ricciardi-article-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 72px 28px 96px;
}

.ricciardi-article-hero {
    max-width: 850px;
    margin-bottom: 54px;
}

.ricciardi-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 26px;
    color: #9b7425;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .82rem;
    font-weight: 800;
}

.ricciardi-article-hero h1 {
    color: #0d4638;
    font-size: clamp(2.7rem, 6vw, 5.3rem);
    line-height: .96;
    margin: 0 0 18px;
    letter-spacing: -0.045em;
}

.ricciardi-article-subtitle {
    color: #234f43;
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    line-height: 1.45;
    font-style: italic;
    margin: 0 0 34px;
}

.ricciardi-article-abstract {
    background: linear-gradient(135deg, rgba(244,236,211,.88), rgba(255,255,250,.96));
    border: 1px solid rgba(196, 159, 73, .24);
    border-radius: 18px;
    padding: 26px 30px;
    color: #173f35;
    font-size: 1.04rem;
    line-height: 1.75;
    box-shadow: 0 18px 48px rgba(12, 61, 49, .08);
}

.ricciardi-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 64px;
    align-items: start;
}

.ricciardi-article-body {
    color: #173f35;
    font-size: 1.08rem;
    line-height: 1.85;
}

.ricciardi-article-section {
    padding: 0 0 34px;
    margin: 0 0 34px;
    border-bottom: 1px solid rgba(196, 159, 73, .35);
}

.ricciardi-article-section h2,
.ricciardi-bibliografia h2 {
    color: #0d4638;
    font-size: 1.55rem;
    margin: 0 0 18px;
}

.ricciardi-article-section p {
    margin: 0 0 18px;
}

.ricciardi-editor-note {
    background: rgba(223, 234, 220, .75);
    border-left: 5px solid #0d6b53;
    border-radius: 14px;
    padding: 18px 22px;
    margin: 28px 0 42px;
    color: #173f35;
    font-size: .98rem;
}

.ricciardi-bibliografia ul {
    padding-left: 20px;
}

.ricciardi-bibliografia li {
    margin-bottom: 10px;
}

.ricciardi-article-sidebar {
    position: sticky;
    top: 104px;
}

.ricciardi-side-card {
    background: rgba(255,255,250,.88);
    border: 1px solid rgba(13,70,56,.12);
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 22px;
    box-shadow: 0 18px 44px rgba(12, 61, 49, .08);
}

.ricciardi-side-card h3 {
    color: #0d4638;
    margin: 0 0 14px;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ricciardi-side-card p,
.ricciardi-side-card li {
    color: #234f43;
    font-size: .96rem;
    line-height: 1.65;
}

.ricciardi-side-card ol {
    padding-left: 18px;
    margin: 0;
}

.ricciardi-side-card a {
    color: #0d6b53;
    text-decoration: none;
    font-weight: 700;
}

.ricciardi-side-button {
    display: inline-flex;
    margin-top: 10px;
    background: #0d6b53;
    color: #fff !important;
    padding: 12px 18px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: .78rem;
}

.ricciardi-side-link span {
    display: block;
    color: #9b7425;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

@media (max-width: 960px) {
    .ricciardi-article-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ricciardi-article-sidebar {
        position: static;
    }
}

/* Articolo editoriale Rubrica Ricciardi - versione sicura */
.rubrica-article-editorial {
    padding-bottom: 88px;
}

.rubrica-article-cover {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    padding: 34px;
    margin-bottom: 48px;
    background:
        radial-gradient(circle at 12% 8%, rgba(199, 164, 82, .24), transparent 30%),
        linear-gradient(135deg, rgba(240, 247, 234, .96), rgba(250, 247, 235, .98));
    border: 1px solid rgba(199, 164, 82, .24);
    box-shadow: 0 28px 70px rgba(12, 61, 49, .12);
}

.rubrica-article-cover::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -140px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(13, 107, 83, .08);
}

.rubrica-article-top {
    position: relative;
    z-index: 1;
    margin-bottom: 70px;
}

.rubrica-article-cover__content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.rubrica-article-cover h1 {
    color: #0d4638;
    font-size: clamp(2.6rem, 6vw, 5.2rem);
    line-height: .98;
    letter-spacing: -0.055em;
    margin: 0 0 18px;
}

.rubrica-article-subhead {
    max-width: 760px;
    color: #234f43;
    font-size: clamp(1.18rem, 2vw, 1.55rem);
    line-height: 1.45;
    font-style: italic;
    margin: 0 0 32px;
}

.rubrica-article-abstract-box {
    max-width: 820px;
    background: rgba(255,255,250,.78);
    border: 1px solid rgba(199, 164, 82, .28);
    border-radius: 20px;
    padding: 24px 28px;
    color: #173f35;
}

.rubrica-article-abstract-box strong {
    display: block;
    color: #9b7425;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .78rem;
    margin-bottom: 8px;
}

.rubrica-article-abstract-box p {
    margin: 0;
    line-height: 1.75;
}

.rubrica-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 56px;
    align-items: start;
}

.rubrica-article-body--editorial {
    max-width: none;
    margin: 0;
    background: rgba(255,255,250,.88);
    border: 1px solid rgba(13,70,56,.10);
    border-radius: 26px;
    padding: 46px 54px;
    box-shadow: 0 24px 58px rgba(12, 61, 49, .08);
}

.rubrica-article-body--editorial p {
    color: #173f35;
    font-size: 1.08rem;
    line-height: 1.9;
    margin: 0 0 22px;
}

.rubrica-article-body--editorial p:first-child::first-letter {
    float: left;
    color: #0d6b53;
    font-size: 4.6rem;
    line-height: .82;
    padding: 10px 12px 0 0;
    font-weight: 700;
}

.rubrica-editorial-note {
    margin-top: 34px;
    padding: 18px 22px;
    border-radius: 16px;
    background: rgba(223, 234, 220, .78);
    border-left: 5px solid #0d6b53;
    color: #173f35;
    font-size: .95rem;
    line-height: 1.65;
}

.rubrica-article-sidebar {
    position: sticky;
    top: 28px;
}

.rubrica-side-card {
    background: rgba(255,255,250,.9);
    border: 1px solid rgba(13,70,56,.12);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 18px 44px rgba(12, 61, 49, .08);
}

.rubrica-side-card h3 {
    margin: 0 0 12px;
    color: #0d4638;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .055em;
}

.rubrica-side-card p,
.rubrica-side-card li {
    color: #234f43;
    font-size: .95rem;
    line-height: 1.65;
}

.rubrica-side-card ul {
    padding-left: 18px;
    margin: 0;
}

.rubrica-side-card--gold {
    background: linear-gradient(135deg, rgba(244,236,211,.92), rgba(255,255,250,.96));
    border-color: rgba(199, 164, 82, .32);
}

.rubrica-side-card a {
    display: inline-flex;
    margin-top: 10px;
    color: #0d6b53;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 960px) {
    .rubrica-article-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .rubrica-article-sidebar {
        position: static;
    }

    .rubrica-article-body--editorial {
        padding: 32px 26px;
    }
}

/* Titoli interni articolo Rubrica Ricciardi */
.rubrica-article-inner-title {
    color: #0d4638;
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    line-height: 1.2;
    margin: 42px 0 18px;
    padding-top: 24px;
    border-top: 1px solid rgba(199, 164, 82, .35);
}

.rubrica-article-body--editorial .rubrica-article-inner-title:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.rubrica-biblio-item {
    padding-left: 18px;
    text-indent: -12px;
    font-size: .98rem !important;
}


/* Foto del Prof. nella sidebar degli articoli */
.rubrica-side-card--prof {
    overflow: hidden;
}

.rubrica-side-prof-photo {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center top;
    margin: 0 0 22px;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(18, 57, 45, 0.14);
}

.rubrica-side-card--prof h3 {
    margin-top: 0;
}

@media (max-width: 900px) {
    .rubrica-side-prof-photo {
        max-height: 420px;
    }
}


/* Figure scientifiche negli articoli della Rubrica */
.rubrica-article-figure {
    margin: 34px 0 38px;
    padding: 18px;
    background: rgba(255, 255, 252, 0.96);
    border: 1px solid rgba(181, 145, 62, 0.30);
    border-radius: 20px;
    box-shadow: 0 14px 34px rgba(20, 67, 54, 0.10);
}

.rubrica-article-figure img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 720px;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 12px;
}

.rubrica-article-figure figcaption {
    max-width: 760px;
    margin: 15px auto 0;
    color: #315f53;
    font-size: 0.94rem;
    line-height: 1.55;
    font-style: italic;
    text-align: center;
}

@media (max-width: 768px) {
    .rubrica-article-figure {
        margin: 26px 0 30px;
        padding: 11px;
        border-radius: 15px;
    }

    .rubrica-article-figure img {
        max-height: 560px;
    }

    .rubrica-article-figure figcaption {
        font-size: 0.88rem;
    }
}
