/*
Theme Name: Roberto Pinelli Child
Theme URI: https://robertopinelli.com/
Description: Child theme del tema proprietario Roberto Pinelli.
Author: Rixalto Media
Template: roberto-pinelli
Version: 2.3.9
Text Domain: roberto-pinelli
*/

.page-id-161 .entry-title,
.page-id-161 .page-header,
.page-id-161 .page .entry-title,
.page-id-161 .page .entry-header,
.page-id-161 .rp-generic-header,
.page-id-161 .rp-generic-entry > .rp-generic-header,
.page-id-161 .rp-generic-entry > header.rp-generic-header {
  display: none !important;
}

.rp-pubs-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 96px 0 90px;
  overflow: hidden;
  background: #0f1a1d;
  color: #fff;
}

.rp-pubs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(9, 17, 20, 0.96) 0%, rgba(14, 25, 29, 0.92) 40%, rgba(16, 28, 34, 0.82) 100%);
  z-index: 1;
}

.rp-pubs-hero::after {
  content: "";
  position: absolute;
  inset: -10% -5%;
  background:
    radial-gradient(circle at 78% 24%, rgba(200, 143, 87, 0.18), transparent 24%),
    radial-gradient(circle at 84% 72%, rgba(200, 143, 87, 0.12), transparent 28%),
    repeating-radial-gradient(circle at 80% 45%, transparent 0 52px, rgba(200, 143, 87, 0.18) 52px 54px, transparent 54px 84px);
  opacity: 0.72;
  z-index: 1;
  pointer-events: none;
}

.rp-pubs-hero__inner,
.rp-publications-page {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 40px;
}

.rp-pubs-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 42px;
  align-items: end;
}

.rp-pubs-hero__copy {
  max-width: 720px;
}

.rp-pubs-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
  color: #c98f57;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.rp-pubs-hero__eyebrow::before {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  background: rgba(201, 143, 87, 0.85);
}

.rp-pubs-hero h1 {
  margin: 0 0 22px;
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-weight: 400;
  font-size: clamp(52px, 7vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: #fff;
  max-width: 11ch;
}

.rp-pubs-hero p {
  margin: 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 21px;
  line-height: 1.7;
}

.rp-pubs-hero__panel,
.rp-publications-page__note,
.rp-pubs-item,
.rp-pubs-group__count {
  border: 1px solid rgba(17, 24, 28, 0.08);
  border-radius: 30px;
}

.rp-pubs-hero__panel {
  padding: 34px 32px;
  border-color: rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.22);
}

.rp-pubs-hero__panel h2,
.rp-publications-page h2,
.rp-pubs-item h3 {
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-weight: 400;
  color: #11181c;
  letter-spacing: -0.04em;
}

.rp-pubs-hero__panel h2 {
  margin: 0 0 16px;
  font-size: 36px;
  line-height: 1;
  color: #fff;
}

.rp-pubs-hero__panel p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.74);
}

.rp-pubs-hero__kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 22px;
}

.rp-pubs-hero__kpi {
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: rgba(7, 12, 15, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rp-pubs-hero__kpi strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  font-weight: 600;
}

.rp-pubs-hero__kpi span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rp-pubs-hero__chips,
.rp-pubs-item__meta,
.rp-pubs-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rp-pubs-hero__chips {
  margin-top: 18px;
}

.rp-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rp-chip--muted {
  background: rgba(184, 115, 51, 0.1);
  border-color: rgba(184, 115, 51, 0.18);
  color: #b87333;
}

.rp-publications-page {
  padding-top: 76px;
  padding-bottom: 104px;
  color: #162126;
  font-family: Inter, Avenir, "Helvetica Neue", sans-serif;
}

.rp-publications-page h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
}

.rp-publications-page__intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: start;
}

.rp-publications-page__note {
  padding: 30px 30px 28px;
  box-shadow: 0 20px 48px rgba(12, 23, 28, 0.06);
  background: #fff;
}

.rp-publications-page p,
.rp-pubs-group p,
.rp-pubs-item p {
  color: #34434b;
  font-size: 18px;
  line-height: 1.85;
}

.rp-pubs-group {
  margin-top: 72px;
}

.rp-pubs-group + .rp-pubs-group {
  padding-top: 48px;
  border-top: 1px solid rgba(17, 24, 28, 0.08);
}

.rp-pubs-group__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  margin-bottom: 24px;
}

.rp-pubs-group__label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  color: #b87333;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.rp-pubs-group__label::before {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  background: rgba(184, 115, 51, 0.7);
}

.rp-pubs-group__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  height: 62px;
  padding: 0 16px;
  background: #f6efe6;
  color: #11181c;
  font-size: 18px;
  font-weight: 600;
}

.rp-pubs-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.rp-pubs-item {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 28px 30px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(12, 23, 28, 0.06);
}

.rp-pubs-item--featured {
  grid-column: 1 / -1;
  padding: 32px 32px 34px;
  background: linear-gradient(180deg, #fff 0%, #fcf7f1 100%);
}

.rp-pubs-item h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.rp-pubs-authors,
.rp-pubs-detail,
.rp-pubs-summary {
  margin: 0;
}

.rp-pubs-authors {
  color: #11181c;
  font-size: 15px;
  line-height: 1.7;
}

.rp-pubs-detail {
  color: #b87333;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rp-pubs-summary {
  font-size: 16px;
  line-height: 1.75;
  color: #55656d;
}

.rp-pubs-item__actions {
  margin-top: auto;
  padding-top: 6px;
  gap: 12px;
}

.rp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid #b87333;
  color: #b87333;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.rp-btn:hover {
  transform: translateY(-1px);
}

.rp-btn--fill {
  background: #0f1a1d;
  border-color: #0f1a1d;
  color: #fff;
}

.rp-prefooter-cta {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0 0 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(184, 115, 51, 0.08), transparent 26%),
    radial-gradient(circle at 88% 72%, rgba(184, 115, 51, 0.06), transparent 24%),
    linear-gradient(180deg, #f8f3ec 0%, #f4ede3 100%);
}

.rp-prefooter-cta__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-top: 72px;
  padding-bottom: 72px;
}

.rp-prefooter-cta__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  padding: 38px 40px;
  border: 1px solid rgba(17, 24, 28, 0.08);
  border-radius: 34px;
  background: rgba(255, 252, 247, 0.84);
  box-shadow: 0 22px 54px rgba(15, 26, 29, 0.08);
}

.rp-prefooter-cta__card--accent {
  background: linear-gradient(180deg, #102025 0%, #0f1a1d 100%);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 60px rgba(15, 26, 29, 0.18);
}

.rp-prefooter-cta__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: #b87333;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.rp-prefooter-cta__eyebrow::before {
  content: "";
  display: block;
  width: 54px;
  height: 1px;
  background: currentColor;
  opacity: 0.72;
}

.rp-prefooter-cta__card h2 {
  margin: 0 0 18px;
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 0.96;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: #11181c;
  max-width: 9ch;
}

.rp-prefooter-cta__card--accent h2 {
  color: #fff;
}

.rp-prefooter-cta__card p {
  margin: 0;
  max-width: 38ch;
  color: #43535b;
  font-size: 18px;
  line-height: 1.75;
}

.rp-prefooter-cta__card--accent p {
  color: rgba(255, 255, 255, 0.78);
}

.rp-prefooter-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.rp-prefooter-cta__card--accent .rp-btn:not(.rp-btn--fill) {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.rp-prefooter-cta__card .rp-btn--fill {
  background: #b87333;
  border-color: #b87333;
  color: #fff;
}

@media (max-width: 980px) {
  .rp-pubs-hero {
    padding: 82px 0 78px;
  }

  .rp-pubs-hero__inner,
  .rp-publications-page {
    padding-inline: 24px;
  }

  .rp-pubs-hero__layout,
  .rp-publications-page__intro-grid,
  .rp-pubs-group__head,
  .rp-pubs-list,
  .rp-prefooter-cta__inner {
    grid-template-columns: 1fr;
  }

  .rp-pubs-hero__copy {
    max-width: 100%;
  }

  .rp-prefooter-cta__inner {
    gap: 18px;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .rp-prefooter-cta__card {
    min-height: auto;
    padding: 32px 28px;
  }
}

@media (max-width: 640px) {
  .rp-pubs-hero h1 {
    font-size: clamp(42px, 15vw, 72px);
  }

  .rp-pubs-hero p {
    font-size: 18px;
  }

  .rp-pubs-hero__panel {
    padding: 26px 22px;
  }

  .rp-pubs-hero__kpis {
    grid-template-columns: 1fr 1fr;
  }

  .rp-publications-page {
    padding-top: 58px;
    padding-bottom: 84px;
  }

  .rp-pubs-item,
  .rp-publications-page__note {
    padding-left: 22px;
    padding-right: 22px;
  }

  .rp-prefooter-cta__card h2 {
    max-width: none;
    font-size: clamp(32px, 11vw, 44px);
  }

  .rp-prefooter-cta__card p {
    font-size: 16px;
    line-height: 1.7;
  }

.rp-prefooter-cta__actions .rp-btn {
    width: 100%;
  }
}

.rp-interviews-page {
  background: linear-gradient(180deg, #fcf8f3 0%, #f7f1e8 100%);
}

.rp-interviews-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 96px 0 82px;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(184, 115, 51, 0.12), transparent 24%),
    radial-gradient(circle at 84% 78%, rgba(16, 32, 37, 0.06), transparent 24%),
    linear-gradient(180deg, #fffdf9 0%, #f5ede3 100%);
}

.rp-interviews-hero__inner,
.rp-interviews-archive {
  position: relative;
  z-index: 2;
}

.rp-interviews-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 42px;
  align-items: end;
}

.rp-interviews-hero__copy {
  max-width: 720px;
}

.rp-interviews-hero__eyebrow,
.rp-interviews-section__label {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #b87333;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.rp-interviews-hero__eyebrow {
  margin-bottom: 26px;
}

.rp-interviews-hero__eyebrow::before,
.rp-interviews-section__label::before {
  content: "";
  display: block;
  width: 68px;
  height: 1px;
  background: rgba(184, 115, 51, 0.72);
}

.rp-interviews-hero h1,
.rp-interviews-section h2,
.rp-interviews-card h3,
.rp-interviews-empty h2 {
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: #11181c;
}

.rp-interviews-hero h1 {
  margin: 0 0 22px;
  font-size: clamp(54px, 7vw, 90px);
  line-height: 0.92;
  max-width: 8ch;
}

.rp-interviews-hero p,
.rp-interviews-card p,
.rp-interviews-empty p {
  color: #42525a;
  font-size: 18px;
  line-height: 1.8;
}

.rp-interviews-hero__panel,
.rp-interviews-card,
.rp-interviews-empty {
  border: 1px solid rgba(17, 24, 28, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 54px rgba(15, 26, 29, 0.08);
}

.rp-interviews-hero__panel {
  padding: 34px 32px;
}

.rp-interviews-hero__panel h2 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 0.98;
}

.rp-interviews-hero__panel p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
}

.rp-interviews-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.rp-interviews-hero__stat {
  padding: 18px 16px 16px;
  border-radius: 22px;
  background: #f9f4ee;
  border: 1px solid rgba(184, 115, 51, 0.1);
}

.rp-interviews-hero__stat strong {
  display: block;
  margin-bottom: 4px;
  color: #11181c;
  font-size: 28px;
  line-height: 1;
  font-weight: 600;
}

.rp-interviews-hero__stat span {
  display: block;
  color: #55656d;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rp-interviews-archive {
  padding-top: 74px;
  padding-bottom: 108px;
}

.rp-interviews-section + .rp-interviews-section {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid rgba(17, 24, 28, 0.08);
}

.rp-interviews-section__head {
  margin-bottom: 26px;
}

.rp-interviews-section h2 {
  margin: 14px 0 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
}

.rp-interviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

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

.rp-interviews-card {
  overflow: hidden;
}

.rp-interviews-card__video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #11181c;
}

.rp-interviews-card__video iframe,
.rp-interviews-card__video video,
.rp-interviews-card__video embed,
.rp-interviews-card__video object {
  width: 100%;
  height: 100%;
  border: 0;
}

.rp-interviews-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 28px 30px;
}

.rp-interviews-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rp-interviews-card h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.04;
}

.rp-interviews-card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
}

.rp-interviews-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.rp-interviews-card__details {
  margin-top: 6px;
  border-top: 1px solid rgba(17, 24, 28, 0.08);
  padding-top: 18px;
}

.rp-interviews-card__details summary {
  cursor: pointer;
  color: #11181c;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rp-interviews-card__details div {
  margin-top: 14px;
}

.rp-interviews-empty {
  padding: 38px 34px;
}

.rp-interviews-empty h2 {
  margin: 0 0 14px;
  font-size: 36px;
  line-height: 1;
}

@media (max-width: 980px) {
  .rp-interviews-hero {
    padding: 82px 0 70px;
  }

  .rp-interviews-hero__layout,
  .rp-interviews-hero__stats {
    grid-template-columns: 1fr;
  }

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

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

  .rp-interviews-archive {
    padding-top: 58px;
    padding-bottom: 84px;
  }
}

@media (max-width: 640px) {
  .rp-interviews-hero h1 {
    font-size: clamp(42px, 15vw, 64px);
  }

  .rp-interviews-hero__panel,
  .rp-interviews-card__body,
  .rp-interviews-empty {
    padding-left: 22px;
    padding-right: 22px;
  }

  .rp-interviews-grid,
  .rp-interviews-grid--video {
    grid-template-columns: 1fr;
  }

  .rp-interviews-card__actions .rp-btn {
    width: 100%;
  }
}
