/* The Rangers R2: cohesive component styles. Keep v043 layout as a separate stable base. */

/* v051-programme.css: consolidated from pre-v0.9 assets, preserving cascade order. */
/* v0.5.1: home programme summary and team fees CTA; only these components. */
.r2-practice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.r2-practice-card { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; min-width: 0; padding: 20px; background: #fff; border: 1px solid #dfe6ef; border-radius: 10px; box-shadow: 0 2px 8px rgb(14 32 55 / 4%); }
.r2-practice-card__tag { font-weight: 800; color: #d31825; }
.r2-practice-card strong { color: #181f2a; font-size: 17px; }
.r2-practice-card small { color: #576575; font-size: 13px; }
.r2-practice-winter { padding: 12px 0 0; margin: 12px 0 0; line-height: 1.6; color: #263340; }
.r2-team-detail__fees { display: inline-flex; align-items: center; min-height: 44px; margin-left: 14px; font-weight: 750; text-underline-offset: 3px; }
.r2-team-detail__fees:focus-visible { outline: 3px solid #ffca00; outline-offset: 3px; }
@media(max-width:760px) { .r2-practice-grid { grid-template-columns: 1fr; } .r2-team-detail__fees { margin: 8px 0 0; } }


/* v060-features.css: consolidated from pre-v0.9 assets, preserving cascade order. */
/* v0.6.0: presentation-only stats navigation and central contribution table. */
.r2-v060-stats { margin: 0; }
.r2-v060-stats__content { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: clamp(20px,3vw,32px); border-left: 5px solid #1261ad; border-radius: 10px; background: linear-gradient(115deg,#e9f1fa,#f7fafd); }
.r2-v060-stats h2 { margin: 0 0 5px; font-size: clamp(25px,2.5vw,31px); }
.r2-v060-stats p { margin: 0; line-height: 1.55; }
.r2-v060-stats .r2-button { white-space: nowrap; }
.r2-button--blue { background: #1261ad; color: #fff; }
.r2-button--blue:hover { color: #fff; }
.r2-team-detail__stats { display: inline-flex; align-items: center; min-height: 44px; font-weight: 750; text-underline-offset: 3px; }
.r2-v060-fees { max-width: 900px; width: 100%; margin: 0 auto; }
.r2-v060-fees h2 { margin: 0 0 12px; }
.r2-v060-fees__note { margin: 0 0 20px; color: #43536a; }
.r2-v060-fees__table { border-collapse: collapse; width: 100%; font-size: clamp(15px,1.5vw,17px); }
.r2-v060-fees__table th,.r2-v060-fees__table td { padding: 14px 16px; border-bottom: 1px solid #dbe4ed; text-align: left; }
.r2-v060-fees__table thead th { background: #e9eff7; color: #202b35; font-weight: 800; }
.r2-v060-fees__table tbody th { font-weight: 600; }
.r2-v060-fees__table tbody tr:nth-child(even) { background: #f6f8fb; }
.r2-v060-fees__table td { white-space: nowrap; text-align: right; font-weight: 750; }
.r2-v060-fees__age { margin-top: 16px; font-size: 14px; color: #526072; }
body.page-id-1272 .r2-article,body.page-id-1272 .wp-block-post-content { max-width: 1280px; width: 100%; }
@media (max-width: 700px) { .r2-v060-stats__content { display: block; } .r2-v060-stats .r2-button { margin-top: 18px; white-space: normal; } .r2-v060-fees__table th,.r2-v060-fees__table td { padding: 12px 9px; } }


/* v061-foys-stats.css: consolidated from pre-v0.9 assets, preserving cascade order. */
/* Rangers R2 v0.6.1 — scoped plugin-safe layout and FOYS content. */
/* WordPress constrained layout is 920px by default; only the statistics page is wider. */
body.page-id-1272 .r2-article .wp-block-post-content,
body.page-id-1272 .r2-article .wp-block-post-content > .wp-block-rangers-stats-public-component,
body.page-id-1272 .r2-article .wp-block-post-content > .wp-block-shortcode,
body.page-id-1272 .r2-article .wp-block-post-content > .wp-block-group {
  width: 100%; max-width: 100%; margin-inline: auto;
}
/* Respect the publisher's internal components; loosen only its outer presentation frame. */
body.page-id-1272 .r2-article :where(.trs-public-shell, .trs-public-root, .trs-public-components, .trs-public-component, .trs-public-app, .rangers-stats-public-component) {
  width: 100%; max-width: 1200px; margin-inline: auto;
}
/* Membership pointer follows team cards; rates themselves live on /contributie/. */
.r2-membership-teaser {
  display: flex; justify-content: space-between; align-items: center; gap: 22px;
  margin: 32px 0 12px; padding: clamp(20px,3vw,30px);
  border-left: 5px solid #e21c23; background: #f1f6fc; border-radius: 10px;
}
.r2-membership-teaser h2 { margin: 0 0 6px; font-size: clamp(21px,2.1vw,26px); }
.r2-membership-teaser p { margin: 0; line-height: 1.55; }
.r2-membership-teaser .r2-button { flex: 0 0 auto; white-space: normal; }
@media (max-width:720px) {
  .r2-membership-teaser { flex-direction: column; align-items: flex-start; gap: 16px; }
}
.r2-foys-teaser {
  display: flex; justify-content: space-between; align-items: center; gap: 22px;
  margin: 36px 0 12px; padding: clamp(20px,3vw,30px);
  border-left: 5px solid var(--r2-blue, #1261ad); background: #f1f6fc; border-radius: 10px;
}
.r2-foys-teaser h2 { margin: 0 0 6px; font-size: clamp(21px,2.1vw,26px); }
.r2-foys-teaser p { margin: 0; line-height: 1.55; }
.r2-foys-teaser .r2-button { flex: 0 0 auto; }
.r2-foys-guide { width: 100%; max-width: 1080px; margin: 0 auto 36px; line-height: 1.75; }
.r2-foys-guide > .wp-block-heading { margin: 30px 0 12px; font-size: clamp(23px,2.4vw,29px); }
.r2-foys-guide > p { width: 100%; max-width: 100%; margin: 0 0 15px; }
.r2-foys-guide .r2-foys-lead { font-size: clamp(18px,1.6vw,21px); line-height: 1.6; padding: 20px 23px; background: #f2f6fb; border-left: 4px solid #e21c23; border-radius: 8px; }
.r2-foys-guide .r2-foys-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.r2-foys-guide .wp-block-button__link { background: #1261ad; color: #fff; font-weight: 750; border-radius: 7px; padding: 12px 21px; text-decoration: none; }
.r2-foys-guide .wp-block-button__link:hover, .r2-foys-guide .wp-block-button__link:focus-visible { background: #0c4f91; color: #fff; }
@media (max-width: 720px) {
 .r2-foys-teaser { flex-direction: column; align-items: flex-start; gap: 16px; }
 .r2-foys-teaser .r2-button { white-space: normal; }
 .r2-foys-guide .r2-foys-lead { padding: 16px; }
}


/* v062-team-actions.css: consolidated from pre-v0.9 assets, preserving cascade order. */
/* R2 0.6.2 — Teamactie: één primaire knop, secundaire links eronder. */
.r2-team-detail__bottom {
  display: block;
  padding: clamp(17px,2.2vw,25px);
}
.r2-team-detail__primary {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px 22px;
}
.r2-team-detail__primary > p { margin: 0; flex: 1 1 270px; line-height: 1.6; }
.r2-team-detail__primary > .r2-button {
  flex: 0 0 auto; margin: 0; text-align: center; white-space: normal;
}
.r2-team-detail__more {
  display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap;
  margin-top: 20px; padding-top: 17px; border-top: 1px solid #d7e2ec;
}
.r2-team-detail__more-title {
  font-weight: 800; font-size: 14px; color: #4c6175;
}
.r2-team-detail__more-links {
  display: flex; flex: 1 1 450px; flex-wrap: wrap; gap: 9px;
}
.r2-team-detail__more-links a {
  box-sizing: border-box; display: inline-flex; align-items: center;
  justify-content: center; min-height: 42px; max-width: 100%;
  padding: 8px 14px; border: 1px solid #cbd9e7; border-radius: 7px;
  background: #fff; color: #145893; font-weight: 750;
  text-decoration: none; line-height: 1.3; overflow-wrap: anywhere;
}
.r2-team-detail__more-links a:hover,
.r2-team-detail__more-links a:focus-visible {
  background: #e5f1fd; border-color: #86add0;
}
.r2-team-detail__more-links a:focus-visible {
  outline: 2px solid #e21c23; outline-offset: 2px;
}
@media (max-width: 700px) {
  .r2-team-detail__primary { align-items: stretch; }
  .r2-team-detail__primary > p { flex: 1 1 100%; }
  .r2-team-detail__primary > .r2-button { width: 100%; }
  .r2-team-detail__more { display: block; }
  .r2-team-detail__more-title { display: block; margin: 0 0 10px; }
  .r2-team-detail__more-links { display: grid; grid-template-columns: 1fr; }
  .r2-team-detail__more-links a { justify-content: flex-start; }
}


/* mockup-components.css: consolidated from pre-v0.9 assets, preserving cascade order. */
/* Concept C v3 components (v0.7.1). Base hero/header/CTA styles belong in
   site.css and v043-layout.css; do not create successive override layers. */
/* Mockup-like section header with a light secondary navigation link. */
.r2-v070-section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; column-gap: 24px; row-gap: 10px; margin-bottom: 19px; }
.r2-v070-section-head .r2-section__title { margin: 0; }
.r2-v070-section-head > a { margin-left: auto; font-size: 14px; font-weight: 750; color: #0e579a; text-decoration: none; }
.r2-v070-section-head > a:hover { text-decoration: underline; }
.r2-v070-sponsor-heading { padding-bottom: 8px; }
.r2-v070-sponsor-heading p { margin: 10px 0 0; }
/* Shared large-photo cards for homepage AND news archive.
   Admin can set 'news_image_layout' to 'klein' for the compact view. */
.r2-news-cards--visual .r2-news-card { padding: 0; overflow: hidden; }
.r2-news-cards--visual .r2-news-card__cover { display: block; width: 100%; height: 165px; overflow: hidden; background: #edf2f7; }
.r2-news-cards--visual .r2-news-card__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.r2-news-cards--visual .r2-news-card__cover img:hover { transform: scale(1.03); }
.r2-news-cards--visual .r2-news-card__cover img { transition: transform .25s ease; }
.r2-news-cards--visual .r2-news-card > :is(time,h3,.r2-news-card__excerpt,.r2-news-card__bottom) { margin-left: 18px; margin-right: 18px; }
.r2-news-cards--visual .r2-news-card time { margin-top: 15px; }
.r2-news-cards--visual .r2-news-card h3 { font-size: clamp(18px,1.7vw,22px); }
.r2-news-cards--visual .r2-news-card__bottom { margin-bottom: 18px; padding-top: 12px; }
/* Contrast and spacing for training cards without presenting invented events. */
.r2-practice-card { position: relative; overflow: hidden; border-top: 3px solid #1561a9; }
.r2-practice-card:nth-child(2) { border-top-color: #e21c23; }
.r2-practice-card:nth-child(3) { border-top-color: #f1b500; }
/* Compact, recognizable Rangers Stats strip as in the first mockups. */
.r2-v060-stats__content { border: 1px solid #dce7f0; border-left: 5px solid #e21c23; background: linear-gradient(100deg,#eff6fc,#fff 73%); box-shadow: 0 2px 9px rgb(14 32 55 / 6%); }
.r2-v070-stats-icon { flex: 0 0 76px; }
.r2-v070-stats-copy { min-width: 0; flex: 1; }
.r2-v070-stats-copy h2 { font-style: italic; }
/* Sponsor recruitment CTA from the approved original sponsor-page mockup. */
.r2-v070-sponsor-cta { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 60%); margin: 45px 0 15px; border-radius: 14px; overflow: hidden; background: #f0f6fc; box-shadow: 0 2px 12px rgb(13 31 54 / 7%); }
.r2-v070-sponsor-cta__photo img { display: block; width: 100%; height: 100%; min-height: 174px; max-height: 202px; object-fit: cover; }
.r2-v070-sponsor-cta__copy { padding: clamp(20px,2.4vw,30px); align-self: center; }
.r2-v070-sponsor-cta__copy h2 { position: relative; margin: 0 0 9px; padding-left: 17px; font-size: clamp(25px,2.7vw,37px); font-weight: 830; line-height: 1.2; font-style: italic; }
.r2-v070-sponsor-cta__copy p { margin: 0 0 14px; line-height: 1.55; }
.r2-v070-sponsor-cta__copy h2::before {
  content: ""; position: absolute; top: .1em; left: 0;
  width: 7px; height: .9em; transform: skew(-16deg); background: var(--r2-red);
}
@media (min-width: 721px) {
  .r2-v070-sponsor-cta__photo { clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
}
@media (max-width: 720px) {
  .r2-news-cards--visual .r2-news-card__cover { height: 188px; }
  .r2-v070-stats-icon { width: 52px; height: 50px; }
  .r2-v060-stats__content { gap: 12px; }
  .r2-v070-sponsor-cta { grid-template-columns: 1fr; }
  .r2-v070-sponsor-cta__photo img { height: 190px; min-height: 0; }
  .r2-v070-sponsor-cta__copy { padding: 22px; }
  .r2-v070-section-head > a { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .r2-news-cards--visual .r2-news-card__cover img { transition: none; }
}

/* Gutenberg-native team cards and fee table after an explicit staging migration. */
.r2-team-detail--blocks .r2-team-detail__fact { margin: 0; }
.r2-team-detail--blocks .r2-team-detail__fact h3 { margin: 0; font-size: 18px; line-height: 1.45; }
.r2-team-detail--blocks .r2-team-detail__fact > p:not(.r2-team-detail__label) { margin-top: 8px; }
.r2-team-detail--blocks .r2-team-detail__bottom .wp-block-buttons { margin: 0; }
.r2-team-detail--blocks .r2-team-detail__bottom .wp-block-button__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 12px 20px;
  background: var(--r2-red); color: #fff; font-weight: 750; border-radius: 6px;
  text-decoration: none; text-align: center;
}
.r2-team-detail--blocks .r2-team-detail__bottom .wp-block-button__link:focus-visible {
  outline: 3px solid #ffcf21; outline-offset: 3px;
}
.r2-fees-block-table { margin: 20px 0; width: 100%; overflow-x: auto; }
.r2-fees-block-table table { border-collapse: collapse; width: 100%; min-width: 340px; border: 0; }
.r2-fees-block-table th, .r2-fees-block-table td { padding: 14px 16px; border: 0; border-bottom: 1px solid #dbe4ed; }
.r2-fees-block-table tbody tr:last-child > * { border-bottom: 1px solid #dbe4ed; }
.r2-fees-block-table thead th { background: #e9eff7; text-align: left; color: #202b35; }
.r2-fees-block-table td:last-child { font-weight: 750; text-align: right; white-space: nowrap; }
.r2-fees-block-table tbody tr:nth-child(even) { background: #f6f8fb; }
@media (max-width: 720px) {
  .r2-fees-block-table th, .r2-fees-block-table td { padding: 12px 9px; }
}

/* Optional, confirmed KNBSB links on legacy team display. */
.r2-team-knbsb { margin: 15px 0 10px; padding: 16px 20px; border: 1px solid #dfe7ee; border-radius: 8px; }
.r2-team-knbsb ul { display: flex; flex-wrap: wrap; gap: 12px 20px; list-style: none; padding: 0; margin: 8px 0 0; }
.r2-team-knbsb a { font-weight: 700; text-underline-offset: 3px; }


/* RC4: one-row trial-training CTA on both Gutenberg-migrated team pages and
   the legacy adapter. Only direct children participate: possible KNBSB
   content below the Gutenberg button remains its own full-width row. */
.r2-team-detail__primary,
.r2-team-detail--blocks .r2-team-detail__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  justify-content: start;
  gap: 12px 18px;
}
.r2-team-detail__primary > p,
.r2-team-detail--blocks .r2-team-detail__bottom > p {
  margin: 0;
  min-width: 0;
  max-width: none;
  flex: none;
}
.r2-team-detail__primary > .r2-button,
.r2-team-detail--blocks .r2-team-detail__bottom > .wp-block-buttons {
  margin: 0;
  width: auto;
  max-width: 100%;
  min-width: 0;
  flex: none;
}
.r2-team-detail--blocks .r2-team-detail__bottom > .wp-block-buttons {
  display: flex;
  justify-content: flex-end;
}
.r2-team-detail--blocks .r2-team-detail__bottom > :not(p):not(.wp-block-buttons) {
  grid-column: 1 / -1;
}
@media (max-width: 700px) {
  .r2-team-detail__primary,
  .r2-team-detail--blocks .r2-team-detail__bottom {
    grid-template-columns: minmax(0, 1fr);
  }
  .r2-team-detail__primary > .r2-button,
  .r2-team-detail--blocks .r2-team-detail__bottom > .wp-block-buttons {
    width: 100%;
    justify-content: flex-start;
  }
  .r2-team-detail--blocks .r2-team-detail__bottom > .wp-block-buttons .wp-block-button,
  .r2-team-detail--blocks .r2-team-detail__bottom > .wp-block-buttons .wp-block-button__link {
    max-width: 100%;
  }
}

/* v0.9.1: distinct components, not a second cascade of old header fixes. */
/* One editorial team image per card. Youth fallbacks are neutral field imagery. */
.r2-team-card__photo { display: block; width: 100%; height: 185px; overflow: hidden; background: #eaf0f4; }
.r2-team-card__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.r2-team-card__photo img:hover { transform: scale(1.025); }
.r2-team-card__body { min-height: 160px; display: flex; flex-direction: column; }
.r2-team-card__body .r2-team-card__link { margin-top: auto; }
/* Every link's destination is confirmed to be a published page; unavailable
   future destinations are plain text and have no empty anchors. */
.r2-footer__links { list-style: none; padding: 0; margin: 13px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); grid-auto-flow: column; gap: 8px 16px; }
.r2-footer__links li { min-width: 0; line-height: 1.45; font-size: 13px; }
.r2-footer__links a { display: inline-block; text-underline-offset: 3px; }
.r2-footer__pending { color: #dae5f4; opacity: .88; }
/* Sponsor-page rhythm. The wide 1280px canvas is inherited unchanged. */
body.r2-sponsors-page .r2-article { margin-top: 0; }
body.r2-sponsors-page .r2-article .wp-block-post-content > :first-child { margin-bottom: 26px; }
body.r2-sponsors-page .r2-sponsor-grid { margin-block: 25px 18px; }
body.r2-sponsors-page .r2-v070-sponsor-cta { margin-top: 38px; }
/* Vereniging: editable Gutenberg groups and individually removable vacancies. */
.r2-vereniging { width: 100%; max-width: 1160px; margin: 0 auto; }
.r2-vereniging :where(.wp-block-heading) { color: #192838; }
.r2-vereniging-lead {
  /* Same 1280px breakout as Gutenberg 'Rangers introductie'. Keep other
     Vereniging cards in their current, accepted 1160px editorial grid. */
  box-sizing: border-box;
  width: min(calc(100vw - 32px), var(--r2-max)) !important;
  max-width: var(--r2-max) !important;
  position: relative; left: 50%; transform: translateX(-50%);
  margin: 0 0 30px !important;
  padding: clamp(18px, 2.3vw, 26px);
  border-radius: 12px; background: #f1f6fc; border-left: 5px solid var(--r2-red);
}
.r2-vereniging-lead h2 { font-size: clamp(25px, 2.6vw, 34px); margin: 0 0 12px; }
.r2-vereniging-lead p { width: 100%; max-width: none; margin: 0 0 10px; line-height: 1.6; }
.r2-vereniging-lead p:last-child { margin-bottom: 0; }
.r2-vereniging-explore { margin-bottom: 41px; }
.r2-vereniging-explore > h2, .r2-vereniging-volunteers > h2 { position: relative; padding-left: 18px; margin: 0 0 22px; font-size: clamp(25px,2.7vw,33px); --r2-slash-height: 1.50em; }
/* The main heading accents need a longer visual stroke than the smaller role labels. */
.r2-vereniging-explore > h2::before, .r2-vereniging-volunteers > h2::before { top: -.14em; }
.r2-vereniging-tiles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
/* C6: a fifth ALV tile occupies the entire third row; normal four-tile layout is unchanged. */
.r2-vereniging-tiles > .r2-vereniging-tile:nth-child(5):last-child { grid-column: 1 / -1; }
.r2-vereniging-tile { min-width: 0; padding: clamp(18px,2vw,25px); border:1px solid #dfe7ef; border-radius: 12px; background:#fff; box-shadow:0 1px 8px rgb(18 38 64 / 5%); }
.r2-vereniging-tile h3 { position:relative; padding-left:18px; margin:0 0 10px; font-size:21px; line-height:1.35; }
.r2-vereniging-tile p { margin:0 0 13px; line-height:1.6; }
.r2-vereniging-tile p:last-child { margin-bottom:0; }
.r2-vereniging-tile a, .r2-vereniging-contact a { color: var(--r2-blue); font-weight: 750; text-underline-offset: 3px; }
.r2-vereniging-volunteers > p { max-width: 940px; line-height:1.75; margin: 0 0 24px; }
.r2-vereniging-roles { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap:16px; margin:23px 0; }
.r2-vereniging-role { min-width:0; padding:22px; background:#fbfdff; border:1px solid #dfe7ef; border-radius:12px; box-shadow:0 2px 9px rgb(18 38 64 / 4%); }
.r2-vereniging-role h3 { position:relative; padding-left:18px; margin:0 0 10px; line-height:1.35; font-size:clamp(19px,1.65vw,22px); }
.r2-vereniging-role p { margin:0; line-height:1.65; }
.r2-vereniging-role ul { margin:12px 0 0; padding-left:23px; line-height:1.65; }
.r2-vereniging-volunteers .r2-vereniging-contact { margin-top: 14px; }
.r2-contact-preform { font-weight: 750; }
.r2-contact-address-strong { font-weight: 800; }
/* Only visual reCAPTCHA badge is hidden; verification scripts remain active. */
.grecaptcha-badge { visibility: hidden; }
.r2-recaptcha-disclosure { font-size: 12px; line-height: 1.5; color: #526072; margin: 16px 0 0; width: 100%; max-width: 100%; text-align: left; }
.r2-recaptcha-disclosure a { text-underline-offset: 2px; }
@media (max-width: 720px) {
  .r2-team-card__photo { height: 190px; }
  .r2-footer__links { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); grid-auto-flow: column; gap: 7px 12px; }
  .r2-vereniging-tiles, .r2-vereniging-roles { grid-template-columns: 1fr; }
  .r2-vereniging-role, .r2-vereniging-tile { padding: 17px; }
  body.r2-sponsors-page .r2-article { margin-top: 0; }
  .r2-v070-sponsor-cta__photo img { height: 170px; }
}
@media (prefers-reduced-motion: reduce) {
  .r2-team-card__photo img { transition: none; }
}

/* v0.9.6: Gutenberg "Rangers introductie" now shares the visual language of
   the approved Vereniging lead: light blue panel, rounded corners, red rule.
   Opt-in class is already saved on chosen paragraph/group blocks; no DB edits. */
.r2-article .wp-block-post-content > .is-style-rangers-intro,
.r2-article .wp-block-post-content .is-style-rangers-intro,
.r2-article .wp-block-post-content.is-layout-constrained > .is-style-rangers-intro,
.r2-article .r2-news-intro-fallback {
  box-sizing: border-box;
  display: block;
  /* v0.9.7 full 1280px experiment: breakout from WP 920px content column. */
  width: min(calc(100vw - 32px), var(--r2-max)) !important;
  max-width: var(--r2-max) !important;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 0 0 30px !important;
  padding: clamp(18px, 2.3vw, 26px);
  border-left: 5px solid var(--r2-red);
  border-radius: 12px;
  background: #f1f6fc;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.65;
  color: #283744;
}
.r2-article .is-style-rangers-intro p { margin: 0 0 12px; line-height: inherit; }
.r2-article .is-style-rangers-intro p:last-child { margin-bottom: 0; }
.r2-article .is-style-rangers-intro :is(h2,h3) { line-height: 1.22; margin: 0 0 13px; color: #192838; }
.r2-article .is-style-rangers-intro a { text-underline-offset: 3px; }

/* Vereniging already supplies the approved lead card. An editor-marked
   inner paragraph must not create a second nested intro card. */
.r2-article .wp-block-post-content .r2-vereniging-lead .is-style-rangers-intro {
  max-width: none !important; width: 100% !important; margin: 0 0 12px !important;
  position: static; left: auto; transform: none; padding: 0;
  border: 0; border-radius: 0; background: transparent;
}

/* v0.9.10 — shared typographic hierarchy for the entire intro family.
 * Vereniging's editorial lead already has an h2 and is preserved unchanged.
 * Gutenberg keeps the existing paragraph/group in the database; the front-end
 * wrapper supplies an accessible default heading only when none was authored. */
.r2-article .r2-auto-intro > .r2-auto-intro__title {
  display: block;
  width: 100%; max-width: 100%;
  margin: 0 0 12px;
  color: #192838;
  font-size: clamp(25px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1.22;
}
.r2-article .wp-block-post-content .r2-auto-intro > :is(p, .wp-block-group),
.r2-article .r2-auto-intro > :is(p, .wp-block-group) {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  left: auto !important;
  transform: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
.r2-article .r2-auto-intro > :is(p, .wp-block-group) p { margin: 0 0 12px; }
.r2-article .r2-auto-intro > :is(p, .wp-block-group) p:last-child { margin-bottom: 0; }


/* RC2 -- guard against misplaced opt-in intro styles INSIDE team fact cards.
   The Gutenberg editor can store this style on a training label or fact group;
   it must never escape the card/grid or invent a second page heading. */
.r2-article .r2-team-detail__facts :is(.is-style-rangers-intro, .r2-auto-intro) {
  width: 100% !important; max-width: 100% !important;
  position: static !important; left: auto !important; transform: none !important;
  margin: 0 !important; padding: 0 !important;
  border: 0 !important; box-shadow: none !important;
  border-radius: 0 !important; background: transparent !important;
  font-size: inherit !important; font-weight: inherit;
  line-height: inherit;
}
.r2-article .r2-team-detail__facts .r2-auto-intro__title { display: none !important; }
/* FOYS is one 1280px intro card, not a 1080px legacy callout. Other guide
   paragraphs stay readable inside their existing 1080px column. */
.r2-article .r2-foys-guide > .r2-foys-intro {
  width: min(calc(100vw - 32px), var(--r2-max)) !important;
  max-width: var(--r2-max) !important;
  margin-bottom: clamp(24px, 3vw, 34px) !important;
}
.r2-article .r2-foys-intro > p { font-weight: 400; margin: 0; line-height: 1.65; }

/* RC2: universal archive-safe editorial template for ALL single news posts.
   Do not alter historic post_content, links, gallery IDs or image proportions.
   This scope is never applied to teams, pages or the news card overview. */
body.single-post .r2-article {
  margin-top: 0; padding-top: clamp(23px, 3vw, 42px);
  margin-bottom: clamp(38px, 5vw, 65px);
}
body.single-post .r2-article > .wp-block-post-date {
  display: block; max-width: 920px; width: 100%;
  margin: 0 auto 23px; padding: 0 0 14px;
  border-bottom: 1px solid #dbe5ee;
  color: #5a6672; font-size: 14px; font-weight: 650; line-height: 1.4;
}
body.single-post .r2-article .wp-block-post-content {
  width: 100%; max-width: 920px; margin-inline: auto;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.75; color: #273444;
  overflow-wrap: anywhere;
}
body.single-post .r2-article .wp-block-post-content > :where(p,ul,ol,blockquote,h2,h3,h4,figure,div,table,pre) {
  max-width: 100%; margin-left: 0; margin-right: 0;
}
body.single-post .r2-article .wp-block-post-content :where(p,ul,ol) {
  margin-top: 0; margin-bottom: 19px;
}
body.single-post .r2-article .wp-block-post-content :where(ul,ol) {
  padding-left: 1.6em;
}
body.single-post .r2-article .wp-block-post-content li { margin-bottom: 8px; }
body.single-post .r2-article .wp-block-post-content :where(h2,h3,h4) {
  color: #192838; line-height: 1.3; font-weight: 800;
  margin-top: 32px; margin-bottom: 16px;
}
body.single-post .r2-article .wp-block-post-content h2 {
  font-size: clamp(23px,2.4vw,31px);
  border-left: 5px solid var(--r2-red); padding-left: 14px;
}
body.single-post .r2-article .wp-block-post-content h3 { font-size: clamp(20px,2vw,25px); }
body.single-post .r2-article .wp-block-post-content a {
  color: #1261ad; text-decoration-thickness: 1.5px; text-underline-offset: 3px;
}
body.single-post .r2-article .wp-block-post-content a:focus-visible {
  outline: 3px solid #ffcb00; outline-offset: 3px;
}
body.single-post .r2-article .wp-block-post-content :where(figure,.wp-block-image,.wp-block-gallery) {
  max-width: 100%; margin: 25px auto;
}
/* Respect Gutenberg gallery grid/flex and embed aspect ratios; do not impose
   display:block on galleries or height:auto on video iframes. */
body.single-post .r2-article .wp-block-post-content img { max-width: 100%; height: auto; }
body.single-post .r2-article .wp-block-post-content :where(video,iframe) { max-width: 100%; }
body.single-post .r2-article .wp-block-post-content :where(figure,.wp-block-image) > img,
body.single-post .r2-article .wp-block-post-content :where(figure,.wp-block-image) > a > img {
  display: block; max-width: 100%; height: auto;
  border-radius: 10px;
}
body.single-post .r2-article .wp-block-post-content figcaption {
  color: #596a7b; font-size: 13px; line-height: 1.5;
  margin: 8px 0 0;
}
body.single-post .r2-article .wp-block-post-content blockquote {
  margin: 26px 0; padding: 16px 22px;
  border-left: 4px solid var(--r2-red); background: #f1f6fc;
  border-radius: 7px;
}
body.single-post .r2-article .wp-block-post-content :where(table,pre) { max-width: 100%; }
body.single-post .r2-article .wp-block-post-content .wp-block-table {
  max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
}
body.single-post .r2-article .wp-block-post-content .wp-block-table table {
  width: 100%; border-collapse: collapse;
}
body.single-post .r2-article .wp-block-post-content .wp-block-table :where(th,td) {
  padding: 11px 13px; border-bottom: 1px solid #dbe5ee;
  text-align: left; vertical-align: top;
}
body.single-post .r2-article .wp-block-post-content .wp-block-table thead { background: #e9f1fa; }
@media(max-width:720px) {
  body.single-post .r2-article { padding-top: 22px; }
  body.single-post .r2-article .wp-block-post-content { font-size: 16px; }
  body.single-post .r2-article .wp-block-post-content :where(figure,.wp-block-image,.wp-block-gallery) { margin-block: 20px; }
}
