.dr3-page .team-detail-copy {
  min-width: 0;
  container-type: inline-size;
}
.dr3-page .team-detail-copy h1 {
  max-width: 100%;
  white-space: normal;
  font-size: clamp(2rem, 5vw, 6rem);
  font-size: min(14cqw, 6rem);
  line-height: .95;
}
.dr3-page .team-detail-hero::after { content: "DR3"; }
.dr3-page .roster-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1px;
  background: transparent;
  border: 0;
}
.dr3-page .roster-grid .roster-card { flex: 0 0 calc(25% - .75px); }
@media (max-width: 700px) {
  .dr3-page .roster-grid .roster-card { flex-basis: calc(50% - .5px); }
}
.dr3-page .roster-grid .roster-card {
  min-height: 0;
  padding: 0 0 24px;
  justify-content: flex-start;
  background: radial-gradient(circle at top right, #0b6839, #032d1d 75%);
}
.dr3-page .roster-grid .roster-card::before { display: none; }
.dr3-page .roster-grid .roster-card::after { display: none; }
.dr3-page .dr3-player-photo {
  display: block;
  width: min(100%, 215px);
  align-self: center;
  height: auto;
  aspect-ratio: 260 / 270;
  object-fit: cover;
}
.dr3-page .roster-card > span { margin: 20px 20px 0; }
.dr3-page .roster-card > strong { margin: 8px 20px 0; }
.dr3-page .roster-section { margin-top: 64px; }
.dr3-page .organization-section { margin-top: 64px; }
.dr3-calendar { scroll-margin-top: 110px; }
.dr3-calendar-scroll { overflow-x: auto; }
.dr3-calendar-table { width: 100%; min-width: 540px; border-collapse: collapse; text-align: left; background: #fff; color: #032d1d; font-size: 1rem; }
.dr3-calendar-table thead { background: var(--green-950); color: white; }
.dr3-calendar-table thead th { color: #fff; }
.dr3-calendar-table th, .dr3-calendar-table td { padding: 18px 22px; }
.dr3-calendar-table tbody tr { border-bottom: 1px solid rgba(3,45,29,.15); }
.dr3-calendar-table tbody tr:nth-child(even) { background: rgba(3,45,29,.04); }
.dr3-calendar-table tbody th { color: var(--green-950); }
.dr3-calendar-table time { display: block; color: #032d1d; font-weight: 800; white-space: nowrap; }
.dr3-venue { display: block; margin-top: 5px; color: #40594b; font-size: .9rem; }
.dr3-calendar-note { color: #e0eee6; font-size: .95rem; margin-top: 18px; }
@media (max-width: 700px) {
  .dr3-calendar-table th, .dr3-calendar-table td { padding: 14px; }
}

/* La Primavera: page layout and calendar. */
.dr3-page .team-detail-hero { padding: 150px 0 72px; }
.dr3-page .team-detail-hero-grid { gap: 64px; align-items: center; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); }
.dr3-page .team-detail-hero::after { font-size: min(30vw,28rem); right: -3vw; bottom: -8%; }
.dr3-page .team-detail-copy h1 { margin: 28px 0; }
.dr3-hero-title { display: block; font-size: .38em; color: #a4ef9c; letter-spacing: -.025em; }
.dr3-hero-category { display: block; margin-top: 14px; font-size: 1.7em; line-height: .9; }
.dr3-hero-category > span { color: var(--green-electric); }
.dr3-page .team-detail-copy p { color: #d7e9de; max-width: 530px; line-height: 1.7; }
.dr3-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 28px; }
.dr3-hero-link { color: #e0eee6; font-size: .9rem; font-weight: 800; text-underline-offset: 5px; }
.dr3-page .team-season-card { padding: 30px; background: rgba(1,25,15,.75); border: 1px solid #276442; }
.dr3-season-mark { display: flex; align-items: center; gap: 22px; margin-bottom: 26px; }
.dr3-season-mark img { width: 88px; height: 88px; object-fit: cover; border: 1px solid #427252; border-radius: 50%; }
.dr3-season-mark .team-season-label { margin: 0; line-height: 1.7; }
.dr3-page .team-season-card > strong { font-size: clamp(2rem,3.3vw,3.2rem); }
.dr3-section-nav { position: sticky; top: 84px; z-index: 15; background: #f3f5ef; border-bottom: 1px solid #d6e0d3; }
.dr3-section-nav .container { display: flex; gap: 28px; overflow-x: auto; }
.dr3-section-nav a { flex: 0 0 auto; padding: 22px 0; text-decoration: none; color: #032d1d; font-weight: 900; font-size: .78rem; text-transform: uppercase; }
.dr3-section-nav a:hover { color: #087b2d; }
.dr3-page .page-content { padding-top: 64px; }
.dr3-project { padding-bottom: 42px; border-bottom: 1px solid #d6e0d3; }
.dr3-page .roster-heading { gap: 48px; }
.dr3-page .roster-heading h2 { font-size: clamp(2.5rem,4.5vw,4.3rem); line-height: .98; }
.dr3-page .roster-heading p { color: #53665b; line-height: 1.7; }
.dr3-page #progetto, .dr3-page #gruppo { scroll-margin-top: 175px; }
.dr3-page .roster-grid { gap: 18px; align-items: stretch; }
.dr3-page .roster-grid .roster-card { flex-basis: calc(25% - 13.5px); padding: 18px 0 24px; border: 1px solid #286342; background: linear-gradient(155deg,#0c4a2d,#032d1d); }
.dr3-page .dr3-player-photo { border: 1px solid rgba(255,255,255,.12); }
.dr3-page .roster-card > span { margin: 20px 20px 0; color: #8be882; font-size: .62rem; }
.dr3-page .roster-card > strong { font-size: clamp(1.2rem,1.7vw,1.7rem); line-height: 1.05; }
.dr3-page .organization-section.dr3-calendar { margin-top: 88px; padding: 0; background: transparent; overflow: visible; scroll-margin-top: 175px; }
.dr3-page .dr3-calendar::before, .dr3-page .dr3-calendar::after { display: none; }
.dr3-page .dr3-calendar .organization-heading { gap: 48px; margin-bottom: 32px; padding-bottom: 0; border: 0; }
.dr3-page .dr3-calendar .organization-heading span { color: #0b8735; }
.dr3-page .dr3-calendar .organization-heading h2 { color: #032d1d; font-size: clamp(2.5rem,4.5vw,4.3rem); line-height: .98; }
.dr3-page .dr3-calendar .organization-heading p { color: #53665b; line-height: 1.7; }
.dr3-calendar-scroll { border: 1px solid #d6e0d3; }
.dr3-calendar-table thead th { padding-block: 22px; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.dr3-calendar-table th, .dr3-calendar-table td { padding: 22px 26px; }
.dr3-calendar-table tbody th { font-size: 1.05rem; }
.dr3-calendar-table tbody tr:nth-child(even) { background: #f3f8ef; }
.dr3-calendar-table time { font-size: 1rem; }
.dr3-venue { display: inline-block; padding: 4px 9px; margin-top: 8px; font-size: .75rem; font-weight: 800; }
.dr3-venue.is-home { color: #07512a; background: #dcf1d8; }
.dr3-venue.is-away { color: #40594b; background: #e9eee8; }
.dr3-calendar-note { color: #53665b; font-size: .9rem; }
.dr3-date-confirmation { padding: 16px 20px; border-left: 3px solid #0b8735; background: #e8efe4; }
.dr3-closing { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 72px; padding: 38px; background: #032d1d; }
.dr3-closing span { color: #83ef80; font-size: .8rem; font-weight: 800; }
.dr3-closing h2 { margin: 12px 0 0; color: #fff; font-family: var(--font-display); font-size: clamp(1.8rem,3vw,3rem); line-height: 1; letter-spacing: -.025em; }
@media (max-width: 900px) {
  .dr3-page .team-detail-hero-grid { gap: 32px; }
  .dr3-page .roster-grid { gap: 12px; }
  .dr3-page .roster-grid .roster-card { flex-basis: calc(25% - 9px); padding-top: 12px; }
  .dr3-page .roster-card > span, .dr3-page .roster-card > strong { margin-inline: 12px; }
  .dr3-page .roster-card > span { font-size: .52rem; }
}
@media (max-width: 700px) {
  .dr3-page .team-detail-hero { padding: 120px 0 44px; }
  .dr3-page .team-detail-hero-grid { grid-template-columns: 1fr; }
  .dr3-page .team-detail-copy h1 { font-size: min(14cqw,4.5rem); }
  .dr3-page .team-season-card { padding: 24px; }
  .dr3-section-nav { top: 72px; }
  .dr3-section-nav .container { gap: 24px; }
  .dr3-section-nav a { font-size: .7rem; padding-block: 18px; }
  .dr3-page .roster-heading, .dr3-page .dr3-calendar .organization-heading { grid-template-columns: 1fr; gap: 20px; }
  .dr3-page .roster-grid .roster-card { flex-basis: calc(50% - 6px); }
  .dr3-page .roster-card > strong { font-size: 1.35rem; }
  .dr3-page .organization-section.dr3-calendar { margin-top: 64px; }
  .dr3-calendar-scroll { border: 0; overflow: visible; }
  .dr3-calendar-table { display: block; min-width: 0; background: transparent; }
  .dr3-calendar-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .dr3-calendar-table tbody { display: grid; gap: 12px; }
  .dr3-calendar-table tbody tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); background: #fff; border: 1px solid #d6e0d3; }
  .dr3-calendar-table tbody tr:nth-child(even) { background: #fff; }
  .dr3-calendar-table tbody th { grid-column: 1 / -1; padding: 18px; background: #032d1d; color: #fff; }
  .dr3-calendar-table td { padding: 18px; }
  .dr3-calendar-table td + td { border-left: 1px solid #d6e0d3; }
  .dr3-calendar-table td::before { content: attr(data-label); display: block; margin-bottom: 8px; color: #53665b; text-transform: uppercase; font-size: .7rem; font-weight: 800; letter-spacing: .07em; }
  .dr3-calendar-table time { font-size: .95rem; }
  .dr3-closing { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
}

/* Shared Serie C visual language. */
.dr3-page .dr3-hero-montage { aspect-ratio: 1 / 1.12; }
.dr3-hero-faces { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 2px; height: 100%; background: #032d1d; align-content: start; }
.dr3-hero-faces img { display: block; width: 100%; height: auto; aspect-ratio: 260 / 270; object-fit: cover; }
.dr3-page .dr3-section-nav .container { gap: 10px; }
.dr3-page .dr3-section-nav a { padding: 0 18px; }
.dr3-page .dr3-project { border-bottom: 0; padding-bottom: 0; }
.dr3-page .roster-grid { gap: 12px; }
.dr3-page .roster-grid .roster-card {
  flex-basis: calc(25% - 9px);
  background: #fff;
  border-color: #dbe4d9;
  padding-top: 18px;
}
.dr3-page .roster-card > span { color: #0b8735; }
.dr3-page .roster-card > strong { color: #032d1d; }
.dr3-page .dr3-player-photo { border-color: #dbe4d9; }
.dr3-page .roster-grid .roster-card:hover { border-color: #0b8735; }
.dr3-page .dr3-calendar .organization-heading { gap: 40px; }
.dr3-page .dr3-calendar .organization-heading h2, .dr3-page .roster-heading h2 { font-size: clamp(2.5rem,4.5vw,4.5rem); }
@media (max-width: 760px) {
  .dr3-page .dr3-hero-montage { aspect-ratio: 1.1; }
}
@media (max-width: 700px) {
  .dr3-page .roster-grid .roster-card { flex-basis: calc(50% - 6px); }
}
/* Crests retrieved from the corresponding club profiles. */
.dr3-calendar-table .dr3-team{display:flex;align-items:center;gap:14px;min-width:0}
.dr3-calendar-table .dr3-team>img{display:block;flex:0 0 46px;width:46px;height:46px;object-fit:contain;padding:5px;border:1px solid #dbe2d6;border-radius:50%;background:#fff}
.dr3-calendar-table .dr3-team>span{min-width:0;line-height:1.35}
@media(max-width:700px){.dr3-calendar-table .dr3-team{gap:12px}.dr3-calendar-table .dr3-team>img{width:42px;height:42px;flex-basis:42px}}
