/* Profielpagina klimgeit: johnr.html (tegels), johnr2.html (vlak, zonder tegelkaarten) */

.content--johnr .johnr-profile,
.content--johnr2 .johnr-profile {
  max-width: var(--content-width);
  margin-inline: auto;
  width: 100%;
}

/* johnr2.html: iets kleinere tekst dan beginjaren-basis (tabellen erven via font: inherit) */
.content--johnr2 .johnr-profile {
  font-size: clamp(0.7rem, 0.66rem + 0.14vw, 0.8rem);
}

.content--johnr .johnr-grid,
.content--johnr2 .johnr-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
  align-items: start;
}

@media (max-width: 52rem) {
  .content--johnr .johnr-grid,
  .content--johnr2 .johnr-grid {
    grid-template-columns: 1fr;
  }
}

.content--johnr .johnr-panel {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(16, 100, 70, 0.12);
  padding: clamp(0.85rem, 0.55rem + 0.9vw, 1.15rem) clamp(0.9rem, 0.65rem + 0.85vw, 1.25rem);
  margin-bottom: clamp(0.85rem, 1.5vw, 1.15rem);
}

.content--johnr2 .johnr-panel {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border: none;
  padding: 0 0 clamp(0.4rem, 0.5vw, 0.55rem);
  margin-bottom: clamp(0.4rem, 0.55vw, 0.6rem);
}

.content--johnr .johnr-panel:last-child {
  margin-bottom: 0;
}

.content--johnr2 .johnr-panel:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.content--johnr .johnr-panel__title,
.content--johnr2 .johnr-panel__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(0.88rem, 0.82rem + 0.2vw, 0.98rem);
  font-weight: 700;
  color: var(--header-teal-deep);
  letter-spacing: -0.02em;
}

.content--johnr .johnr-kv,
.content--johnr2 .johnr-kv {
  width: 100%;
  border-collapse: collapse;
  font: inherit;
}

.content--johnr .johnr-kv th,
.content--johnr .johnr-kv td,
.content--johnr2 .johnr-kv th,
.content--johnr2 .johnr-kv td {
  padding: 0.28rem 0.55rem;
  line-height: 1.22;
  text-align: left;
  vertical-align: top;
  border: 1px solid rgba(16, 100, 70, 0.14);
}

.content--johnr .johnr-kv th,
.content--johnr2 .johnr-kv th {
  width: 34%;
  background: linear-gradient(180deg, rgba(147, 214, 177, 0.55), rgba(147, 214, 177, 0.35));
  font-weight: 700;
  color: var(--header-teal-deep);
}

.content--johnr .johnr-kv td,
.content--johnr2 .johnr-kv td {
  background: #fff;
}

.content--johnr .johnr-kv--status .johnr-kv__icon-cell,
.content--johnr2 .johnr-kv--status .johnr-kv__icon-cell {
  width: 3.25rem;
  text-align: center;
  vertical-align: middle;
}

.content--johnr .johnr-kv--points .johnr-kv__num,
.content--johnr2 .johnr-kv--points .johnr-kv__num {
  font-weight: 700;
  white-space: nowrap;
}

.content--johnr .johnr-kv--points .johnr-kv__icon-cell,
.content--johnr2 .johnr-kv--points .johnr-kv__icon-cell {
  width: 2.75rem;
  text-align: center;
  vertical-align: middle;
}

.content--johnr .johnr-kv a,
.content--johnr2 .johnr-kv a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.content--johnr .johnr-kv a:focus-visible,
.content--johnr2 .johnr-kv a:focus-visible {
  outline-offset: 2px;
}

.content--johnr .johnr-layout-icon,
.content--johnr2 .johnr-layout-icon {
  width: 21px;
  height: 15px;
  object-fit: contain;
  display: block;
}

.content--johnr .johnr-layout-icon--medal,
.content--johnr2 .johnr-layout-icon--medal {
  width: 25px;
  height: 25px;
}

.content--johnr .johnr-status-icon,
.content--johnr2 .johnr-status-icon {
  width: 25px;
  height: 30px;
  object-fit: contain;
  display: block;
  margin-inline: auto;
}

.content--johnr .johnr-flag,
.content--johnr2 .johnr-flag {
  width: 24px;
  height: auto;
  max-height: 17px;
  object-fit: cover;
  border-radius: var(--flag-radius, 0.2rem);
  display: inline-block;
  vertical-align: middle;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

.content--johnr .johnr-kv--countries .johnr-kv__count,
.content--johnr .johnr-kv--climbs .johnr-kv__count,
.content--johnr2 .johnr-kv--countries .johnr-kv__count,
.content--johnr2 .johnr-kv--climbs .johnr-kv__count {
  text-align: left;
}

.content--johnr .johnr-kv--climbs .johnr-kv__rank,
.content--johnr2 .johnr-kv--climbs .johnr-kv__rank {
  width: 2.25rem;
  text-align: center;
  font-weight: 700;
}

.content--johnr .johnr-kv--climbs td:last-child,
.content--johnr2 .johnr-kv--climbs td:last-child {
  text-align: right;
  width: 2.75rem;
}

.content--johnr .johnr-kv--climbs .johnr-kv__fav-head,
.content--johnr2 .johnr-kv--climbs .johnr-kv__fav-head {
  width: 22%;
  max-width: 6.5rem;
  line-height: 1.35;
}

.content--johnr .johnr-aside,
.content--johnr2 .johnr-aside {
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 1.5vw, 1.15rem);
}

.content--johnr2 .johnr-aside {
  gap: clamp(0.45rem, 0.85vw, 0.65rem);
}

.content--johnr .johnr-aside__banner,
.content--johnr2 .johnr-aside__banner {
  text-align: right;
}

.content--johnr .johnr-aside__banner img,
.content--johnr2 .johnr-aside__banner img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

.geit-name {
  margin: 0;
  font-family: "Aptos", "Aptos Display", "Segoe UI", sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.geit-name__char:nth-child(odd) {
  color: #000;
}

.geit-name__char:nth-child(even) {
  color: #cc0000;
}

.content--johnr .johnr-aside__photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(16, 100, 70, 0.12);
  box-shadow: var(--shadow);
  background: var(--card);
}

.content--johnr2 .johnr-aside__photo {
  margin: 0;
  border-radius: 0;
  overflow: visible;
  border: none;
  box-shadow: none;
  background: transparent;
}

.content--johnr .johnr-aside__photo img,
.content--johnr2 .johnr-aside__photo img {
  width: 100%;
  max-width: 350px;
  height: auto;
  margin-inline: auto;
  display: block;
}

.content--johnr .johnr-aside__photo--natural,
.content--johnr2 .johnr-aside__photo--natural {
  text-align: right;
}

.content--johnr .johnr-aside__photo--natural img,
.content--johnr2 .johnr-aside__photo--natural img {
  width: auto;
  max-width: none;
  display: inline-block;
  margin: 0;
}
