/* Project-wide modern presentation layer */

:root {
  --surface: rgba(255, 255, 255, 0.86);
  --surface-solid: #ffffff;
  --surface-soft: #f6f1e9;
  --ink-muted: rgba(44, 44, 44, 0.72);
  --line-soft: rgba(212, 196, 168, 0.72);
  --shadow-soft: 0 18px 50px rgba(26, 42, 64, 0.12);
  --shadow-card: 0 14px 34px rgba(26, 42, 64, 0.11);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 15% 8%, rgba(166, 123, 91, 0.12), transparent 28%),
    radial-gradient(circle at 86% 22%, rgba(75, 100, 85, 0.1), transparent 30%),
    linear-gradient(180deg, #f8f5ef 0%, #ffffff 46%, #f7f9f6 100%);
  color: var(--neutral-dark);
}

.site-header {
  background: rgba(26, 42, 64, 0.94);
  border-bottom: 1px solid rgba(212, 196, 168, 0.25);
  box-shadow: 0 14px 34px rgba(26, 42, 64, 0.18);
  backdrop-filter: blur(14px);
}

.header-container {
  padding: 13px 24px;
  justify-content: flex-start;
}

.site-nav {
  width: 100%;
}

.site-nav ul {
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  justify-content: flex-start;
}

.site-nav li {
  margin-right: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  position: relative;
  min-height: 32px;
  padding: 5px 0;
  font-size: 0.98rem;
  letter-spacing: 0;
}

.site-nav a.active {
  border-bottom: 0;
  color: #ffffff;
}

.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
}

.hero-section {
  position: relative;
  min-height: 620px;
  height: auto;
  padding: 148px 20px 76px;
  background-image:
    linear-gradient(90deg, rgba(13, 24, 38, 0.92) 0%, rgba(26, 42, 64, 0.75) 52%, rgba(26, 42, 64, 0.36) 100%),
    url("../images/the_banner.jpeg");
  justify-content: flex-start;
  text-align: left;
}

.hero-content {
  max-width: 1180px;
  padding: 0;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: end;
}

.home-hero-copy {
  max-width: 960px;
}

.home-hero-single {
  grid-template-columns: minmax(0, 1fr);
}

.hero-content h1 {
  max-width: 960px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(3rem, 6.4vw, 6.4rem);
  line-height: 0.98;
  text-wrap: balance;
}

.home-hero-title {
  display: grid;
  gap: 14px;
}

.home-hero-title span {
  display: block;
}

.home-hero-brand {
  font-size: clamp(4rem, 8vw, 7.4rem);
  line-height: 0.9;
}

.home-hero-subtitle {
  max-width: 820px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  font-weight: 600;
  line-height: 1.16;
}

.home-hero-years {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  font-weight: 500;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.82);
}

.page-hero {
  min-height: 560px;
  padding: 150px 0 64px;
  color: #ffffff;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.page-hero-crimean {
  background-image:
    linear-gradient(90deg, rgba(13, 24, 38, 0.92) 0%, rgba(26, 42, 64, 0.72) 50%, rgba(26, 42, 64, 0.38) 100%),
    url("../images/paris-peace-conference.jpg");
}

.page-hero-network {
  background-image:
    linear-gradient(90deg, rgba(13, 24, 38, 0.92) 0%, rgba(26, 42, 64, 0.74) 48%, rgba(26, 42, 64, 0.42) 100%),
    url("../maps/scheda-1869-constantinople.jpg");
}

.page-hero-portfolio {
  background-image:
    linear-gradient(90deg, rgba(13, 24, 38, 0.96) 0%, rgba(26, 42, 64, 0.88) 48%, rgba(26, 42, 64, 0.72) 100%),
    radial-gradient(circle at 78% 26%, rgba(166, 123, 91, 0.28), transparent 24%),
    repeating-linear-gradient(0deg, rgba(240, 220, 192, 0.13) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, rgba(240, 220, 192, 0.1) 0 1px, transparent 1px 92px),
    linear-gradient(135deg, #1a2a40 0%, #263b38 100%);
}

.page-hero-team {
  background-image:
    linear-gradient(90deg, rgba(13, 24, 38, 0.94) 0%, rgba(26, 42, 64, 0.78) 52%, rgba(26, 42, 64, 0.48) 100%),
    url("../images/hero-bg.jpg");
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: end;
}

.page-hero-copy {
  max-width: 780px;
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #f0dcc0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-kicker::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}

.page-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-family: "Playfair Display", serif;
  font-size: clamp(3.1rem, 7vw, 6.5rem);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 690px;
  margin: 24px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.04rem;
  line-height: 1.75;
}

.page-hero-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(240, 220, 192, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.page-hero-panel div {
  padding: 22px 24px;
  background: rgba(13, 24, 38, 0.34);
}

.hero-stat-number,
.hero-stat-label {
  display: block;
}

.hero-stat-number {
  color: #ffffff;
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}

.hero-stat-label {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue:hover,
.scroll-cue:focus {
  color: #ffffff;
}

.scroll-cue-icon {
  position: relative;
  width: 24px;
  height: 24px;
  animation: scroll-cue-arrow 2.8s ease-in-out infinite;
}

.scroll-cue-icon::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 13px;
  height: 13px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

@keyframes scroll-cue-arrow {
  0% {
    opacity: 0.55;
    transform: translateY(0);
  }

  50% {
    opacity: 0.9;
    transform: translateY(4px);
  }

  100% {
    opacity: 0.55;
    transform: translateY(0);
  }
}

.section {
  padding: 70px 0;
  background: transparent;
}

.section:first-of-type {
  padding-top: 112px;
}

.hero-section + .section:first-of-type {
  padding-top: 70px;
}

.page-hero + .section:first-of-type {
  padding-top: 54px;
}

.section-container {
  max-width: 1240px;
}

#criminal-network .section-container {
  max-width: 1240px !important;
  padding-left: 30px !important;
  padding-right: 30px !important;
}

.section-title-wrapper {
  margin-bottom: 22px;
}

.section h2 {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section h2::after {
  left: 50%;
  width: 96px;
  transform: translateX(-50%);
  background: linear-gradient(to right, var(--secondary), var(--data-highlight));
}

.section-subtitle-wrapper {
  max-width: 1060px;
  margin: 42px auto 16px;
}

#criminal-network .section-subtitle-wrapper {
  margin-left: auto;
}

.section h3 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  letter-spacing: 0;
}

.section h3::after {
  background: var(--secondary);
}

.section p {
  max-width: 1060px;
  padding: 20px 24px;
  border: 1px solid rgba(212, 196, 168, 0.62);
  border-left: 4px solid var(--secondary);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card);
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.78;
}

#criminal-network .section-container p {
  max-width: 1060px;
  padding: 20px 24px;
  border: 1px solid rgba(212, 196, 168, 0.62);
  border-left: 4px solid var(--secondary);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card);
}

.image-container {
  max-width: 920px;
  margin: 28px auto;
  border: 1px solid rgba(212, 196, 168, 0.68);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.image-container img,
.section-image {
  width: 100%;
  border-radius: 8px 8px 0 0;
}

.image-caption,
.section p.image-caption {
  max-width: none;
  margin: 0;
  padding: 12px 16px 14px;
  border: 0;
  border-radius: 0 0 8px 8px;
  background: #ffffff;
  box-shadow: none;
  color: rgba(44, 44, 44, 0.64);
  font-size: 0.86rem;
  line-height: 1.5;
}

.image-row {
  max-width: 1060px;
  margin: 28px auto;
  gap: 24px;
}

.image-container.side-by-side {
  flex: 1 1 420px;
  width: auto;
}

.timeline-container {
  max-width: 980px;
  padding: 26px 28px 26px 48px;
  border: 1px solid rgba(212, 196, 168, 0.68);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.timeline-container::before {
  left: 24px;
  top: 28px;
  bottom: 28px;
  background: linear-gradient(var(--secondary), var(--data-highlight));
}

.timeline-item {
  margin-bottom: 18px;
  padding: 16px 16px 16px 26px;
  border: 1px solid rgba(212, 196, 168, 0.45);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.timeline-item:hover {
  transform: translateX(3px);
  box-shadow: 0 12px 24px rgba(26, 42, 64, 0.1);
}

.timeline-item::before {
  left: -33px;
  top: 21px;
}

.timeline-date {
  color: var(--primary);
  font-size: 1.04rem;
}

.map-container,
.map-section,
.criminal-journeys-container #map-container,
.graphcommons-container,
.network-container {
  border: 1px solid rgba(212, 196, 168, 0.66);
  border-radius: 8px;
  background: var(--surface-solid);
  box-shadow: var(--shadow-soft);
}

.map-section {
  padding: 22px !important;
}

iframe {
  border: 1px solid rgba(212, 196, 168, 0.78) !important;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  background: #ffffff;
}

.criminals-wrapper {
  max-width: 1160px;
  margin: 28px auto 0;
  padding: 22px;
  border: 1px solid rgba(212, 196, 168, 0.66);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.criminals-controls {
  margin-bottom: 18px;
}

.search-container {
  width: min(100%, 360px);
}

#criminal-search {
  width: 100%;
  height: 44px;
  box-sizing: border-box;
  border-color: rgba(166, 123, 91, 0.42);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(26, 42, 64, 0.07);
}

.criminals-table-container {
  border: 1px solid rgba(212, 196, 168, 0.55);
  border-radius: 8px;
  box-shadow: none;
}

.criminals-table {
  font-size: 0.9rem;
}

.criminals-table th {
  background: var(--primary);
}

.criminals-table th,
.criminals-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(212, 196, 168, 0.42);
}

.criminals-table tr:nth-child(even) {
  background-color: rgba(232, 240, 230, 0.42);
}

.criminals-table tr:hover {
  background-color: rgba(212, 196, 168, 0.28);
}

.team-container,
.supervisor-container {
  max-width: 1120px;
}

.team-row {
  gap: 24px;
}

.team-member-card {
  border: 1px solid rgba(212, 196, 168, 0.64);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-card);
}

.team-member-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 46px rgba(26, 42, 64, 0.15);
}

.member-photo {
  width: 164px;
  height: 164px;
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 1px rgba(166, 123, 91, 0.42), 0 12px 26px rgba(26, 42, 64, 0.14);
}

.member-info {
  padding: 0 10px 8px;
}

.member-name {
  font-size: 1.28rem;
}

.member-department,
.member-program,
.member-institution,
.member-title {
  color: rgba(44, 44, 44, 0.68);
  line-height: 1.45;
}

.member-info p,
.team-member-card p {
  max-width: none;
  margin: 4px 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.criminal-journeys-container,
.communications-container {
  border-radius: 8px;
}

.criminal-network-control-panel,
.criminal-network-map-block,
.criminal-network-iframe-wrap {
  width: min(100%, 1200px);
  margin: 0 auto;
}

.criminal-network-control-panel {
  padding: 0 0 18px;
}

.criminal-selector-label {
  margin-bottom: 8px;
  color: var(--primary);
  font-family: "Montserrat", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.criminal-network-map-block {
  padding: 0 30px;
}

.beyoglu-map-section {
  box-sizing: border-box;
  width: 100%;
  padding: 22px;
}

.beyoglu-map-content {
  height: 700px;
}

.beyoglu-map-content .map-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#beyoglu-map {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  z-index: 1;
}

.beyoglu-div-icon {
  background: transparent !important;
  border: 0 !important;
}

.beyoglu-marker-icon {
  transition: transform 0.15s ease;
}

.beyoglu-marker-icon:hover {
  transform: scale(1.1);
}

.beyoglu-popup {
  min-width: 220px;
}

.beyoglu-popup h4 {
  margin: 0 0 4px;
  color: var(--primary, #1a2a40);
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-weight: 700;
}

.beyoglu-popup .popup-year,
.beyoglu-popup .popup-place {
  margin: 0 0 4px;
  color: var(--secondary, #a67b5b);
  font-family: "Montserrat", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
}

.beyoglu-popup .popup-address {
  margin: 0 0 4px;
  color: var(--accent, #d4c4a8);
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-style: italic;
  font-weight: 500;
}

.beyoglu-popup .popup-desc {
  margin: 0 0 6px;
  color: var(--neutral-dark, #2c2c2c);
  font-family: "Montserrat", sans-serif;
  font-size: 0.82rem;
  line-height: 1.4;
}

.beyoglu-popup .popup-streetview {
  display: inline-block;
  margin-top: 4px;
  color: #2b6cb0;
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.beyoglu-popup .popup-streetview:hover {
  color: #1a2a40;
  text-decoration: underline;
}

.beyoglu-legend {
  padding: 10px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-family: "Montserrat", sans-serif;
  font-size: 0.82rem;
  line-height: 1.8;
}

.beyoglu-legend-title {
  margin: 0 0 4px;
  color: var(--primary, #1a2a40);
  font-family: "Playfair Display", serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.beyoglu-legend-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  border: 2px solid;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  vertical-align: middle;
}

.beyoglu-legend-icon i {
  width: auto;
  height: auto;
  margin: 0;
  border: 0;
  color: #ffffff;
  font-size: 10px;
}

.beyoglu-opacity-slider {
  padding: 8px 12px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  line-height: 1.2;
}

.beyoglu-opacity-slider label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  cursor: pointer;
}

.beyoglu-opacity-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary, #1a2a40);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.beyoglu-opacity-label i {
  color: var(--secondary, #a67b5b);
  font-size: 0.85rem;
}

.beyoglu-opacity-slider input[type="range"] {
  width: 140px;
  height: 18px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.beyoglu-opacity-slider input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--secondary, #a67b5b), var(--primary, #1a2a40));
}

.beyoglu-opacity-slider input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--secondary, #a67b5b), var(--primary, #1a2a40));
}

.beyoglu-opacity-slider input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -5px;
  border: 2px solid var(--primary, #1a2a40);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.beyoglu-opacity-slider input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 2px solid var(--primary, #1a2a40);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.map-credit {
  width: min(100% - 60px, 1060px);
  margin: 10px auto 0;
  color: rgba(44, 44, 44, 0.68);
  font-size: 0.78rem;
  font-style: italic;
  line-height: 1.5;
  text-align: center;
}

.section-subtitle-spaced {
  margin-top: 48px;
}

.criminal-network-iframe-wrap {
  display: flex;
  justify-content: center;
  padding: 0 30px;
}

.criminal-network-iframe {
  width: 100%;
}

.criminal-network-iframe-large {
  height: 900px;
}

.criminal-network-iframe-medium {
  height: 710px;
}

.description-box,
#criminal-description {
  border: 1px solid rgba(212, 196, 168, 0.62);
  border-left: 4px solid var(--secondary);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-card);
}

footer {
  margin-top: 52px !important;
  padding: 26px 20px !important;
  border-top: 1px solid rgba(212, 196, 168, 0.22);
  background: var(--primary) !important;
  color: #f8f5ef !important;
}

footer p {
  max-width: none !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
}

@media (max-width: 900px) {
  .site-nav ul {
    gap: 6px 14px;
  }

  .site-nav a {
    font-size: 0.9rem;
  }

  .hero-section {
    min-height: 520px;
    padding-top: 132px;
  }

  .page-hero {
    min-height: auto;
    padding: 128px 0 48px;
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-subtitle {
    max-width: 680px;
  }

  .page-hero-panel {
    grid-template-columns: repeat(3, 1fr);
  }

  .section,
  .hero-section + .section:first-of-type {
    padding: 54px 0;
  }

  #criminal-network .section-container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .criminal-network-map-block,
  .criminal-network-iframe-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  .beyoglu-map-content {
    height: 560px;
  }

  .criminal-network-iframe-large {
    height: 760px;
  }
}

@media (max-width: 640px) {
  .header-container {
    padding: 10px 16px;
  }

  .site-nav ul {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 0 4px 4px;
    scrollbar-width: thin;
  }

  .site-nav a {
    white-space: nowrap;
  }

  .hero-section {
    min-height: 480px;
    padding: 120px 16px 54px;
  }

  .home-hero-title {
    gap: 10px;
  }

  .home-hero-brand {
    font-size: 3.55rem;
  }

  .home-hero-subtitle {
    font-size: 1.45rem;
  }

  .home-hero-years {
    font-size: 1rem;
  }

  .page-hero {
    padding: 112px 0 36px;
  }

  .page-hero h1 {
    font-size: 2.65rem;
  }

  .page-hero p {
    font-size: 0.96rem;
  }

  .page-hero-panel {
    grid-template-columns: 1fr;
  }

  .section-container,
  #criminal-network .section-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .section p,
  #criminal-network .section-container p {
    padding: 16px;
  }

  .criminal-network-map-block,
  .criminal-network-iframe-wrap {
    padding-left: 0;
    padding-right: 0;
  }

  .beyoglu-map-section {
    padding: 14px;
  }

  .beyoglu-map-content {
    height: 460px;
  }

  .map-credit {
    width: 100%;
    padding: 0 4px;
  }

  .criminal-network-iframe-large,
  .criminal-network-iframe-medium {
    height: 560px;
  }

  .criminals-wrapper {
    padding: 14px;
  }

  .criminals-controls {
    justify-content: stretch;
  }

  .timeline-container {
    padding: 20px 14px 20px 38px;
  }

  .timeline-container::before {
    left: 18px;
  }

  .timeline-item::before {
    left: -29px;
  }
}

/* ─── About page ─────────────────────────────────────────────────────────── */

.about-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.about-container {
  max-width: 860px;
}

/* Lead */
.about-lead {
  margin-bottom: 64px;
}

.about-lead-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.075rem;
  line-height: 1.85;
  color: #2c3440;
  margin-bottom: 1.4em;
}

/* Section guide */
.about-guide {
  margin-bottom: 64px;
}

.about-guide-title,
.about-provenance-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary);
  display: inline-block;
}

.about-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-guide-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px;
  border: 1px solid rgba(166, 123, 91, 0.2);
  border-left: 4px solid var(--secondary);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  color: inherit;
  transition: background 0.18s, border-left-color 0.18s, transform 0.18s;
}

.about-guide-card:hover {
  background: rgba(166, 123, 91, 0.06);
  border-left-color: var(--primary);
  transform: translateY(-2px);
}

.about-guide-icon {
  font-size: 1.4rem;
  color: var(--secondary);
  line-height: 1;
}

.about-guide-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
}

.about-guide-card p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #4a5060;
  margin: 0;
}

/* Provenance */
.about-provenance p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  line-height: 1.85;
  color: #2c3440;
  margin-bottom: 1.2em;
}

.about-provenance em {
  font-style: italic;
}

/* Responsive */
@media (max-width: 640px) {
  .about-guide-grid {
    grid-template-columns: 1fr;
  }

  .about-lead-text {
    font-size: 1rem;
  }
}
