:root {
  --ur-brand-teal: #007691;
  --ur-brand-navy: #15417b;
  --ur-brand-gradient: linear-gradient(135deg, var(--ur-brand-teal) 0%, var(--ur-brand-navy) 100%);
  --ur-brand-light-gradient: linear-gradient(135deg, #eef7fa 0%, #eaf0f8 100%);
}

/* Match the federation cards on the five Continental Council pages. */
body.itemid-226.view-category .com-content-category-members > .cat-children
  > .com-content-category-blog__child:has(> h3 > a[href$="/40-european-council"]) {
  background-image: linear-gradient(#005783 0%, #006fa9 48%, #2c7ca2 100%);
}

body.itemid-226.view-category .com-content-category-members > .cat-children
  > .com-content-category-blog__child:has(> h3 > a[href$="/41-african-council"]) {
  background-image: linear-gradient(#111318 0%, #303640 48%, #646b75 100%);
}

body.itemid-226.view-category .com-content-category-members > .cat-children
  > .com-content-category-blog__child:has(> h3 > a[href$="/43-american-council"]) {
  background-image: linear-gradient(#a90022 0%, #c91f43 48%, #c9445d 100%);
}

body.itemid-226.view-category .com-content-category-members > .cat-children
  > .com-content-category-blog__child:has(> h3 > a[href$="/44-asian-council"]) {
  background-image: linear-gradient(#f4c300 0%, #f9d96c 48%, #fff1c2 100%);
}

body.itemid-226.view-category .com-content-category-members > .cat-children
  > .com-content-category-blog__child > h3 > a[href$="/44-asian-council"] {
  color: #141414;
}

body.itemid-226.view-category .com-content-category-members > .cat-children
  > .com-content-category-blog__child:has(> h3 > a[href$="/45-oceania-council"]) {
  background-image: linear-gradient(#005d2e 0%, #007b39 48%, #39844f 100%);
}

/* Centre the continental links and separate them from the news ticker. */
body.itemid-226.view-category .com-content-category-members > .cat-children {
  justify-content: center;
  padding-block-start: clamp(1.25rem, 3vw, 2rem);
}

body.itemid-226.view-category .com-content-category-members > h1,
body.itemid-226.view-article.layout-cassiopeia_wrfmembers .com-content-article > .page-header > h1,
body.com_contact:is(.itemid-316, .itemid-1059, .itemid-1124, .itemid-1125, .itemid-979, .itemid-992, .itemid-1134) main :is(.contact-category, .com-contact-categories > .category-desc) > h1 {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  text-align: center;
  color: var(--ur-brand-navy);
}

@media screen and (forced-colors: none) {
  @supports (background-clip: text) or (-webkit-background-clip: text) {
    body.itemid-226.view-category .com-content-category-members > h1,
    body.itemid-226.view-article.layout-cassiopeia_wrfmembers .com-content-article > .page-header > h1,
    body.com_contact:is(.itemid-316, .itemid-1059, .itemid-1124, .itemid-1125, .itemid-979, .itemid-992, .itemid-1134) main :is(.contact-category, .com-contact-categories > .category-desc) > h1 {
      background-image: var(--ur-brand-gradient);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
  }
}

/* About: use the same outer width as the modules beneath the article. */
body.itemid-1133.view-article #ur-about {
  width: 100%;
  max-width: none !important;
  color: var(--ur-brand-navy) !important;
  overflow-wrap: anywhere;
}

/* The Joomla article currently supplies its panel and text colors inline. */
body.itemid-1133 #ur-about [style*="background: #103c51"] {
  background: var(--ur-brand-gradient) !important;
  padding-inline: clamp(16px, 4vw, 24px) !important;
}

body.itemid-1133 #ur-about [style*="background: #f1f7f8"],
body.com_contact:is(.itemid-316, .itemid-1059, .itemid-1124, .itemid-1125, .itemid-979, .itemid-992, .itemid-1134) :is(#ur-executive-board, #ur-general-board, #ur-sport-department, #ur-gte-department, #ur-continental-councils, #ur-administration, #ur-sport-director, #ur-athletes-commission, #ur-officials-commission, #ur-sport-technical-commission, #ur-gte-director) [style*="background: #f1f7f8"] {
  background: var(--ur-brand-light-gradient) !important;
}

body.itemid-1133 #ur-about [style*="color: #103c51"],
body.com_contact:is(.itemid-316, .itemid-1059, .itemid-1124, .itemid-1125, .itemid-979, .itemid-992, .itemid-1134) :is(#ur-executive-board, #ur-general-board, #ur-sport-department, #ur-gte-department, #ur-continental-councils, #ur-administration, #ur-sport-director, #ur-athletes-commission, #ur-officials-commission, #ur-sport-technical-commission, #ur-gte-director) [style*="color: #103c51"] {
  color: var(--ur-brand-navy) !important;
}

body.itemid-1133 #ur-about [style*="color: #116b85"],
body.com_contact:is(.itemid-316, .itemid-1059, .itemid-1124, .itemid-1125, .itemid-979, .itemid-992, .itemid-1134) :is(#ur-executive-board, #ur-general-board, #ur-sport-department, #ur-gte-department, #ur-continental-councils, #ur-administration, #ur-sport-director, #ur-athletes-commission, #ur-officials-commission, #ur-sport-technical-commission, #ur-gte-director) [style*="color: #116b85"] {
  color: var(--ur-brand-teal) !important;
}

body.itemid-1133 #ur-about [style*="color: #bde4e9"] {
  color: #fff !important;
}

body.itemid-1133 #ur-about [style*="color: #536d7b"],
body.com_contact:is(.itemid-316, .itemid-1059, .itemid-1124, .itemid-1125, .itemid-979, .itemid-992, .itemid-1134) :is(#ur-executive-board, #ur-general-board, #ur-sport-department, #ur-gte-department, #ur-continental-councils, #ur-administration, #ur-sport-director, #ur-athletes-commission, #ur-officials-commission, #ur-sport-technical-commission, #ur-gte-director) [style*="color: #536d7b"] {
  color: #435e73 !important;
}

body.itemid-1133 #ur-about #ur-history {
  border-top-color: #d8e6ee !important;
}

/* Governance pages: Joomla category and contact cards. */
body.com_contact:is(.itemid-316, .itemid-1059, .itemid-1124, .itemid-1125, .itemid-979, .itemid-992, .itemid-1134) main .contact_cont > .list-title {
  background-image: var(--ur-brand-gradient);
}

body.com_contact:is(.itemid-316, .itemid-1059, .itemid-1124, .itemid-1125, .itemid-979, .itemid-992, .itemid-1134) main .com-contact-categories__items {
  background-image: url('../images/logo_overlay.png'), var(--ur-brand-gradient);
}

body.itemid-1125 .com-contact-categories > .category-desc > h1:first-of-type:has(> .mce-nbsp-wrap) {
  display: none;
}

body.itemid-1125 .com-contact-categories > .category-desc > h1 {
  height: auto !important;
  line-height: 1.15 !important;
  margin: 0 auto .5em !important;
}

/* About: keep the group centred in the panoramic crop. */
body.itemid-1133.view-article main .full_image {
  height: 40vw;
}

body.itemid-1133.view-article main .full_image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 43%;
}

body.itemid-1133.view-article main .full_image > .item-image {
  height: 100%;
}

body.com_contact:is(.itemid-316, .itemid-1059, .itemid-1124, .itemid-1125, .itemid-979, .itemid-992, .itemid-1134) :is(#ur-executive-board, #ur-general-board, #ur-sport-department, #ur-gte-department, #ur-continental-councils, #ur-administration, #ur-sport-director, #ur-athletes-commission, #ur-officials-commission, #ur-sport-technical-commission, #ur-gte-director) {
  width: 100%;
  max-width: none !important;
  overflow-wrap: anywhere;
}

/* Governance contact profiles. */
.ur-contact-profile {
  max-width: 1120px;
  margin-inline: auto;
  padding-block: clamp(24px, 4vw, 48px);
  overflow-wrap: anywhere;
}

.ur-contact-profile__header {
  margin-bottom: clamp(24px, 4vw, 44px);
  text-align: center;
}

.ur-contact-profile__header h1 {
  margin: 0 0 .25em;
  color: var(--ur-brand-navy, #15417b);
  text-align: center;
}

.ur-contact-profile__role {
  margin: 0;
  color: var(--ur-brand-teal, #007691);
  font-weight: 600;
}

.ur-contact-profile__body {
  display: flow-root;
}

.ur-contact-profile__portrait {
  width: min(270px, 100%);
  margin: 0 auto 1.5rem;
}

.ur-contact-profile__portrait img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.ur-contact-profile__portrait figcaption {
  margin-top: .5rem;
  color: #435e73;
  text-align: center;
}

.ur-contact-profile__heading {
  margin: 0 0 .7em;
  color: var(--ur-brand-navy, #15417b);
  text-align: left;
}

/* The Joomla contact title replaces the repeated heading in authored bios. */
.ur-contact-profile--named .ur-contact-profile__description article[id^="ur-"] > header:first-child > h1,
.ur-contact-profile--named .ur-contact-profile__description article[id^="ur-"] > header:first-child > p:first-child:has(+ h1) {
  display: none;
}

.ur-contact-profile__description [style*="background: #f1f7f8"] {
  background: var(--ur-brand-light-gradient, #eef7fa) !important;
}

.ur-contact-profile__description [style*="color: #103c51"] {
  color: var(--ur-brand-navy, #15417b) !important;
}

.ur-contact-profile__contact {
  margin-top: clamp(24px, 5vw, 56px);
  padding: clamp(18px, 4vw, 40px);
  border-radius: 24px;
  background: var(--ur-brand-light-gradient, #eef7fa);
}

.ur-contact-profile__contact :is(input:not([type="checkbox"]):not([type="radio"]), textarea, select) {
  max-width: 100%;
}

@media (min-width: 850px) {
  .ur-contact-profile__portrait:has(+ .ur-contact-profile__bio) {
    float: left;
    margin: 0 clamp(20px, 4vw, 40px) 20px 0;
  }

  .ur-contact-profile__bio > .ur-contact-profile__heading,
  .ur-contact-profile__description article > header:first-child,
  .ur-contact-profile__description article > section:first-of-type {
    display: flow-root;
  }

  .ur-contact-profile__description article > section + section {
    clear: left;
  }
}

/* About: share the same gutters across the editorial blocks. */
body.itemid-1133.view-article #ur-about {
  --ur-about-inset: clamp(20px, 4vw, 48px);
}

#ur-about > div[style*="max-width: 830px"],
#ur-about #ur-history > div[style*="max-width: 830px"] {
  max-width: none !important;
  margin-inline: 0 !important;
  padding-inline: var(--ur-about-inset) !important;
  text-align: center !important;
}

#ur-about [style*="background: #f1f7f8"] {
  padding-inline: var(--ur-about-inset) !important;
  text-align: center;
}

#ur-about [style*="background: #f1f7f8"] > div[style*="max-width: 790px"] {
  max-width: none !important;
  margin-inline: 0 !important;
}

body.itemid-1133.view-article #ur-about > div:first-child {
  padding-block: clamp(36px, 6vw, 72px) !important;
}

/* About: left-align the introduction, mission and rivers copy. */
#ur-about > div[style*="max-width: 830px"],
#ur-about > section[style*="background: #f1f7f8"] > div[style*="max-width: 790px"] {
  text-align: left !important;
}

/* About: left-align the history copy and federation profiles. */
#ur-about #ur-history > div[style*="max-width: 850px"] {
  max-width: none !important;
  padding-inline: var(--ur-about-inset) !important;
  text-align: left !important;
}

#ur-about #ur-history > div[style*="max-width: 830px"],
#ur-about #ur-history > div[style*="background: #f1f7f8"] > div[style*="max-width: 790px"],
#ur-about #ur-history > div[style*="flex-wrap: wrap"] > div[style*="flex: 1 1 360px"] > :is(h3, h3 ~ p) {
  text-align: left !important;
}

/* Boards and Sport Department: align the introduction and responsibilities copy. */
body.com_contact :is(#ur-executive-board, #ur-general-board, #ur-sport-department, #ur-sport-director, #ur-officials-commission, #ur-athletes-commission, #ur-sport-technical-commission, #ur-gte-department, #ur-gte-director) {
  --ur-section-inset: clamp(20px, 4vw, 48px);
  text-align: left;
}

body.com_contact :is(#ur-executive-board, #ur-general-board, #ur-sport-department, #ur-sport-director, #ur-officials-commission, #ur-athletes-commission, #ur-sport-technical-commission, #ur-gte-department, #ur-gte-director) > div[style*="max-width: 830px"],
body.com_contact :is(#ur-executive-board, #ur-general-board, #ur-sport-department, #ur-sport-director, #ur-officials-commission, #ur-athletes-commission, #ur-sport-technical-commission, #ur-gte-department, #ur-gte-director) > div[style*="background: #f1f7f8"] {
  padding-inline: var(--ur-section-inset) !important;
}

body.com_contact :is(#ur-executive-board, #ur-general-board, #ur-sport-department, #ur-sport-director, #ur-officials-commission, #ur-athletes-commission, #ur-sport-technical-commission, #ur-gte-department, #ur-gte-director) > div[style*="max-width: 830px"],
body.com_contact :is(#ur-executive-board, #ur-general-board, #ur-sport-department, #ur-sport-director, #ur-officials-commission, #ur-athletes-commission, #ur-sport-technical-commission, #ur-gte-department, #ur-gte-director) > div[style*="background: #f1f7f8"] > div[style*="max-width: 782px"] {
  max-width: none !important;
}

/* Boards and Sport Department: tighten the editorial rhythm and clear the email badge. */
body.com_contact main :is(.contact-category:has(> .category-desc > :is(#ur-executive-board, #ur-general-board, #ur-sport-department, #ur-sport-director, #ur-officials-commission, #ur-athletes-commission, #ur-sport-technical-commission, #ur-gte-department, #ur-gte-director)), .com-contact-categories > .category-desc:has(> :is(#ur-executive-board, #ur-general-board, #ur-sport-department, #ur-sport-director, #ur-officials-commission, #ur-athletes-commission, #ur-sport-technical-commission, #ur-gte-department, #ur-gte-director))) > h1 {
  margin-block-end: clamp(20px, 2vw, 28px);
}

body.com_contact main .category-desc > p[style*="height: 24px"]:has(+ :is(#ur-executive-board, #ur-general-board, #ur-sport-department, #ur-sport-director, #ur-officials-commission, #ur-athletes-commission, #ur-sport-technical-commission, #ur-gte-department, #ur-gte-director)) {
  display: none;
}

body.com_contact :is(#ur-executive-board, #ur-general-board, #ur-sport-department, #ur-sport-director, #ur-officials-commission, #ur-athletes-commission, #ur-sport-technical-commission, #ur-gte-department, #ur-gte-director) > div:first-child[style*="max-width: 830px"] {
  padding-block: 8px clamp(28px, 3vw, 40px) !important;
}

body.com_contact :is(#ur-executive-board, #ur-general-board, #ur-sport-department, #ur-sport-director, #ur-officials-commission, #ur-athletes-commission, #ur-sport-technical-commission, #ur-gte-department, #ur-gte-director) > div[style*="background: #f1f7f8"] {
  padding-block: clamp(24px, 3vw, 36px) !important;
}

body.com_contact :is(#ur-executive-board, #ur-general-board, #ur-sport-department, #ur-sport-director, #ur-officials-commission, #ur-athletes-commission, #ur-sport-technical-commission, #ur-gte-department, #ur-gte-director) > div[style*="background: #f1f7f8"] h3 {
  margin-block-end: 14px !important;
}

body:is(.itemid-316, .itemid-1059).view-category main .contact-category .contact_cont > .list-title:has(> .cont_email_br) {
  padding-block-end: 40px;
}

body.itemid-1059.view-category #ur-general-board > div:last-child[style*="max-width: 830px"] {
  padding-block: clamp(24px, 3vw, 36px) 0 !important;
}

body.com_contact :is(#ur-sport-department, #ur-officials-commission, #ur-athletes-commission, #ur-gte-department) > div[style*="max-width: 830px"]:not(:first-child) {
  padding-block: clamp(24px, 3vw, 36px) !important;
}

body.com_contact :is(#ur-sport-department, #ur-officials-commission, #ur-athletes-commission, #ur-gte-department) > div[style*="max-width: 830px"]:not(:first-child):has(+ div[style*="flex-wrap: wrap"]) {
  padding-block-end: 24px !important;
}

body.itemid-1059.view-category #ur-general-board a[href$="/documents/administration/general-board"],
body.itemid-1125.view-categories #ur-gte-department a[href="/gte"],
body.itemid-1061.view-article #ur-communication #ur-media-title ~ p > a[href^="mailto:"] {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  max-inline-size: 100%;
  padding: .6rem 1rem;
  border-radius: .75rem;
  background: var(--ur-brand-gradient) !important;
  color: #fff !important;
  line-height: 1.3;
}

body.itemid-1059.view-category #ur-general-board a[href$="/documents/administration/general-board"]:hover,
body.itemid-1125.view-categories #ur-gte-department a[href="/gte"]:hover,
body.itemid-1061.view-article #ur-communication #ur-media-title ~ p > a[href^="mailto:"]:hover {
  background: var(--ur-brand-navy) !important;
}

body.itemid-1059.view-category #ur-general-board a[href$="/documents/administration/general-board"]:focus-visible,
body.itemid-1125.view-categories #ur-gte-department a[href="/gte"]:focus-visible,
body.itemid-1061.view-article #ur-communication #ur-media-title ~ p > a[href^="mailto:"]:focus-visible {
  outline: 2px solid var(--ur-brand-navy);
  outline-offset: 3px;
}

/* GTE Department: hide the empty paragraph before the introduction. */
body.itemid-1125.view-categories .category-desc > p:has(> .mce-nbsp-wrap:only-child):has(+ #ur-gte-department) {
  display: none;
}

/* Identity: align editorial sections and use the United Rafting palette. */
body.itemid-1061.view-article #ur-communication:not(.identity-v2) {
  --ur-section-inset: clamp(20px, 4vw, 48px);
  max-width: none !important;
  text-align: left;
  overflow-wrap: anywhere !important;
}

body.itemid-1061.view-article p[style*="height: 24px"]:empty:has(+ #ur-communication:not(.identity-v2)),
body.itemid-1061.view-article #ur-communication:not(.identity-v2) > header > p:has(> .mce-nbsp-wrap:only-child),
body.itemid-1061.view-article #ur-communication:not(.identity-v2) > p[style*="height: 32px"]:last-child {
  display: none;
}

body.itemid-1061.view-article #ur-communication:not(.identity-v2) > header,
body.itemid-1061.view-article #ur-communication:not(.identity-v2) > section {
  padding: clamp(24px, 3vw, 40px) var(--ur-section-inset) !important;
}

body.itemid-1061.view-article #ur-communication:not(.identity-v2) > header,
body.itemid-1061.view-article #ur-communication:not(.identity-v2) > section > div[style*="max-width: 782px"] {
  max-width: none !important;
}

body.itemid-1061.view-article #ur-communication:not(.identity-v2) > header > :is(h1, p:nth-child(3)) {
  text-align: center;
}

body.itemid-1061.view-article #ur-communication:not(.identity-v2) > header img {
  display: block;
  float: none !important;
  margin-inline: auto;
}

body.itemid-1061.view-article #ur-communication:not(.identity-v2) img {
  max-inline-size: 100%;
  height: auto;
}

body.itemid-1061.view-article #ur-communication:not(.identity-v2) > section div:has(> img:only-child) {
  padding: 0 0 24px !important;
}

body.itemid-1061.view-article #ur-communication:not(.identity-v2) :is([style*="color: #103c51"], h1) {
  color: var(--ur-brand-navy) !important;
}

body.itemid-1061.view-article #ur-communication:not(.identity-v2) [style*="color: #116b85"]:not(a) {
  color: var(--ur-brand-teal) !important;
}

body.itemid-1061.view-article #ur-communication:not(.identity-v2) [style*="color: #536d7b"] {
  color: #435d70 !important;
}

body.itemid-1061.view-article #ur-communication:not(.identity-v2) > section[style*="background: #f1f7f8"] {
  background: var(--ur-brand-light-gradient) !important;
}

body.itemid-1061.view-article #ur-communication:not(.identity-v2) > section[style*="background: #103c51"] {
  background: var(--ur-brand-gradient) !important;
}

body.itemid-1061.view-article #ur-communication:not(.identity-v2) #ur-ecosystem-title ~ div[style*="display: flex"] {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 48rem) {
  body.itemid-1061.view-article #ur-communication:not(.identity-v2) #ur-ecosystem-title ~ div[style*="display: flex"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (forced-colors: none) {
  @supports (background-clip: text) or (-webkit-background-clip: text) {
    body.itemid-1061.view-article #ur-communication:not(.identity-v2) > header > h1 {
      background-image: var(--ur-brand-gradient);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent !important;
    }
  }
}

/* Identity: live layout for the three-brand editorial page. */
body.itemid-1061.view-article .identity-v2 {
  --identity-ink: #102c4a;
  --identity-muted: #425d72;
  --identity-line: #d5e4eb;
  --identity-inset: clamp(20px, 5vw, 72px);
  color: var(--identity-ink);
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.identity-v2 :is(h1, h2, p) { margin: 0; }
.identity-v2 a { text-underline-offset: .2em; }
.identity-v2 a:focus-visible { outline: 3px solid #d87c25; outline-offset: 4px; }
.identity-v2 img { display: block; max-width: 100%; height: auto; }

.identity-v2 .identity-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(rgb(21, 65, 123) 0px, rgb(255, 255, 255) 140%);
  color: #fff;
  padding: clamp(38px, 7vw, 100px) var(--identity-inset) clamp(72px, 10vw, 136px);
}

.identity-v2 .identity-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: -50%;
  transform: rotate(15deg);
  opacity: .5;
  background-image: url("../images/logowr_background.png");
  background-repeat: repeat;
  background-size: auto;
}

.identity-v2 .identity-label {
  color: #00657a;
  margin-block-end: .7rem;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .13em;
  line-height: 1.35;
  text-transform: uppercase;
}

.identity-v2 :is(.identity-hero, .identity-social) .identity-label { color: #c0f1f0; }
.identity-v2 .identity-hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 7.3vw, 6.5rem);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -.06em;
}
.identity-v2 .identity-hero h1 span { display: block; color: #fff; text-shadow: 0 2px 6px #102c4a99; }
.identity-v2 .identity-hero .identity-lead {
  max-width: 39rem;
  margin-block-start: 1.25rem;
  color: #f0fbfc;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.identity-v2 .identity-nav {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 24px);
  margin: -3rem var(--identity-inset) 0;
}
.identity-v2 .identity-tile {
  display: grid;
  grid-template-rows: 4.65rem auto 1fr;
  gap: .45rem;
  min-width: 0;
  padding: clamp(16px, 2.4vw, 28px);
  border: 1px solid var(--identity-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 26px #102c4a13;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.identity-v2 .identity-tile:hover { transform: translateY(-4px); border-color: #79bccb; box-shadow: 0 14px 28px #102c4a25; }
.identity-v2 .identity-tile-logo { display: flex; align-items: center; min-width: 0; }
.identity-v2 .identity-tile-logo img { width: auto; max-height: 3.85rem; object-fit: contain; object-position: left center; }
.identity-v2 .identity-tile-name { display: flex; align-items: center; justify-content: space-between; gap: .6rem; color: var(--ur-brand-navy); font-size: 1.15rem; font-weight: 750; line-height: 1.3; }
.identity-v2 .identity-tile-summary { color: var(--identity-muted); font-size: .95rem; line-height: 1.5; }
.identity-v2 .identity-arrow { display: inline-block; flex: none; width: .55em; height: .55em; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(-45deg); }
.identity-v2 .identity-tile .identity-arrow { color: var(--ur-brand-teal); transform: rotate(45deg); }

.identity-v2 .identity-sections { padding-block-start: clamp(36px, 6vw, 84px); }
.identity-v2 :is(.identity-detail, .identity-ecosystem, .identity-outreach > section) {
  border: 1px solid var(--identity-line);
  border-radius: 22px;
  padding: clamp(24px, 4vw, 54px);
  background: #fff;
}
.identity-v2 .identity-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.85fr);
  align-items: center;
  gap: clamp(20px, 5vw, 64px);
  margin-block-end: clamp(16px, 2.5vw, 28px);
  scroll-margin-top: 8rem;
}
.identity-v2 .identity-detail:nth-child(even), .identity-v2 .identity-ecosystem { background: var(--ur-brand-light-gradient); }
.identity-v2 .identity-detail:target { border-color: var(--ur-brand-teal); }
.identity-v2 .identity-detail-logo { display: grid; place-items: center; }
.identity-v2 .identity-detail-logo img { width: auto; max-height: 75px; object-fit: contain; }
.identity-v2 #identity-gte .identity-detail-logo img { max-height: clamp(96px, 11vw, 144px); }
.identity-v2 .identity-copy h2 { color: var(--ur-brand-navy); font-size: clamp(1.7rem, 3.6vw, 2.9rem); font-weight: 750; line-height: 1.12; letter-spacing: -.045em; }
.identity-v2 .identity-copy p:not(.identity-label) { margin-block-start: .8rem; color: var(--identity-muted); }
.identity-v2 .identity-copy strong { color: var(--ur-brand-navy); }
.identity-v2 .identity-ecosystem p { max-width: 72ch; }
.identity-v2 .identity-button { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; padding: .6rem 1rem; border-radius: .75rem; background: var(--ur-brand-gradient); color: #fff; font-weight: 750; text-decoration: none; }
.identity-v2 .identity-button:hover { background: var(--ur-brand-navy); color: #fff; }
.identity-v2 .identity-outreach { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 28px); margin-block: clamp(22px, 3.4vw, 42px) 28px; }
.identity-v2 .identity-outreach > section { padding: clamp(22px, 3.4vw, 42px); }
.identity-v2 .identity-outreach > .identity-social { background: var(--ur-brand-gradient); color: #fff; border-color: transparent; }
.identity-v2 .identity-social h2 { color: #fff; }
.identity-v2 .identity-social-links { display: flex; flex-wrap: wrap; gap: .55rem; margin-block-start: 1.1rem; }
.identity-v2 .identity-social-links a { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .85rem; border: 1px solid #c2eef0a0; border-radius: 2rem; color: #fff; font-size: .9rem; font-weight: 700; text-decoration: none; }
.identity-v2 .identity-social-links a:hover { background: #ffffff24; }

@media (max-width: 47.99rem) {
  .identity-v2 .identity-hero { border-radius: 20px; }
  .identity-v2 .identity-nav { grid-template-columns: minmax(0, 1fr); margin: -2rem 12px 0; }
  .identity-v2 .identity-tile { grid-template-columns: 5rem minmax(0, 1fr); grid-template-rows: auto auto; column-gap: .85rem; }
  .identity-v2 .identity-tile-logo { grid-row: span 2; }
  .identity-v2 .identity-tile-logo img { max-height: 2.9rem; }
  .identity-v2 :is(.identity-detail, .identity-outreach) { grid-template-columns: minmax(0, 1fr); }
  .identity-v2 .identity-detail-logo img { max-height: 55px; }
}

@media (prefers-reduced-motion: reduce) {
  .identity-v2 .identity-tile { transition: none; }
  .identity-v2 .identity-tile:hover { transform: none; }
}

/* Identity: space the social marks and envelope apart from their labels. */
.identity-v2 :is(.identity-social-links a, .identity-media a[href^="mailto:"]) {
  gap: .55rem;
}
.identity-v2 .identity-link-icon {
  flex: none;
  width: 1.1em;
  text-align: center;
  font-size: 1.05em;
}

/* Upcoming Events: editorial header and registration link. */
body.itemid-935.view-category #ur-event-calendar {
  --ur-events-inset: clamp(20px, 4vw, 48px);
  max-width: none !important;
}

body.itemid-935.view-category .category-desc > p[style*="height: 24px"]:has(+ #ur-event-calendar) {
  margin: 0 !important;
  height: clamp(14px, 2vw, 24px) !important;
  line-height: 1 !important;
}

body.itemid-935.view-category #ur-event-calendar > header {
  padding: clamp(28px, 4.5vw, 62px) var(--ur-events-inset) !important;
  border-radius: 24px;
  background: var(--ur-brand-gradient);
}

body.itemid-935.view-category #ur-event-calendar > header > h1 {
  margin-block-end: 1rem !important;
  color: #fff !important;
  text-wrap: balance;
}

body.itemid-935.view-category #ur-event-calendar > header > p:first-child {
  margin-block-end: .75rem !important;
  color: #c0f1f0 !important;
}

body.itemid-935.view-category #ur-event-calendar > header > p:last-child {
  max-width: 62ch;
  color: #f0fbfc !important;
  font-size: clamp(1.05rem, 2vw, 1.35rem) !important;
}

body.itemid-935.view-category #ur-event-calendar > section {
  margin-block: clamp(16px, 2.5vw, 30px);
  padding: clamp(24px, 3vw, 40px) var(--ur-events-inset) !important;
  background: var(--ur-brand-light-gradient) !important;
}

body.itemid-935.view-category #ur-event-calendar > section > div[style*="max-width: 782px"] {
  max-width: none !important;
}

body.itemid-935.view-category #ur-event-calendar #ur-upcoming-events-title {
  margin-block-end: .7rem !important;
  color: var(--ur-brand-navy) !important;
}

body.itemid-935.view-category #ur-event-calendar > section p {
  color: #435d70 !important;
}

body.itemid-935.view-category #ur-event-calendar > section p:has(> a[href*="theflow.rsportz.com"]) {
  margin-block-start: 1.15rem !important;
}

body.itemid-935.view-category #ur-event-calendar a[href*="theflow.rsportz.com"] {
  min-height: 44px;
  padding: .65rem 1rem !important;
  border: 0 !important;
  border-radius: .75rem !important;
  background: var(--ur-brand-gradient) !important;
}

body.itemid-935.view-category #ur-event-calendar a[href*="theflow.rsportz.com"]:hover {
  background: var(--ur-brand-navy) !important;
}
