:root {
  --navy: #0B2347;
  --blue: #1261A0;
  --blue-light: #1976D2;
  --white: #FFFFFF;
  --bg: #F5F8FC;
  --ink: #172033;
  --text: #26344D;
  --muted: #687386;
  --border: #DCE5F0;
  --border-soft: #EAF0F6;
  --surface: #FFFFFF;
  --surface-soft: #F8FAFD;
  --blue-50: #F0F6FC;
  --blue-100: #E7F0F8;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-2xl: 38px;
  --shadow-sm: 0 8px 24px rgba(11, 35, 71, .06);
  --shadow: 0 18px 50px rgba(11, 35, 71, .11);
  --shadow-lg: 0 28px 70px rgba(11, 35, 71, .16);
  --focus: 0 0 0 4px rgba(25, 118, 210, .12);
  --transition: 180ms cubic-bezier(.2, .7, .2, 1);
  --transition-slow: 320ms cubic-bezier(.2, .7, .2, 1);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

html,
body {
  margin: 0;
  direction: rtl;
  color: var(--ink);
  background-color: var(--bg);
  background-repeat: repeat-y;
  background-size: 1600px 2500px;
  background-position: center top;
  background-attachment: fixed;
  font-family: Vazirmatn, Tahoma, Arial, sans-serif;
  line-height: 1.9;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea,
select {
  font-size: 16px
}

body.page-template-page-about {
  background-image: url("../images/lineart-about.svg");
}

body.page-template-page-contact {
  background-image: url("../images/lineart-contact.svg");
}

body.single-rdm_news {
  background-image: url("../images/lineart-single-news.svg");
}

body.post-type-archive-rdm_news,
body.tax-rdm_news_category {
  background-image: url("../images/lineart-news.svg");
  background-size: 1700px 2650px;
  background-position: calc(50% + 30px) top;
}

body.page-template-page-student-login {
  background-image: url("../images/lineart-auth.svg");
}

body.page-template-page-student-dashboard {
  background-image: url("../images/lineart-dashboard.svg");
}

body.page.page-template-default:not(.home) {
  background-image: url("../images/lineart-news.svg");
}

/* Explicit home background: never allow generic page rules to override the homepage. */
body.home {
  background-image: url("../images/lineart/lineart-home-v3.svg");
  background-size: 1600px 3200px;
  background-position: center top;
}

a {
  color: inherit;
  text-decoration: none
}

img {
  max-width: 100%;
  height: auto;
  display: block
}

button,
input,
textarea,
select {
  font: inherit
}

button {
  cursor: pointer
}

:focus-visible {
  outline: 3px solid rgba(25, 118, 210, .28);
  outline-offset: 3px
}

.rdm-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto
}

/* Header — stronger glass / frosted surface */
.rdm-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .66), rgba(255, 255, 255, .42)),
    rgba(255, 255, 255, .48);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, .82);
  border-bottom: 1px solid rgba(255, 255, 255, .62);
  box-shadow:
    0 10px 38px rgba(11, 35, 71, .085),
    inset 0 1px 0 rgba(255, 255, 255, .82),
    inset 0 -1px 0 rgba(255, 255, 255, .28);
  transition: box-shadow var(--transition), background var(--transition), border-color var(--transition), transform var(--transition);
}

.rdm-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .18), transparent 42%, rgba(255, 255, 255, .05));
}

.rdm-header.is-scrolled {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .76), rgba(255, 255, 255, .56)),
    rgba(255, 255, 255, .58);
  border-color: rgba(255, 255, 255, .72);
  box-shadow:
    0 14px 44px rgba(11, 35, 71, .13),
    inset 0 1px 0 rgba(255, 255, 255, .9),
    inset 0 -1px 0 rgba(11, 35, 71, .04);
}

.rdm-header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px
}

.rdm-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  font-size: 23px;
  color: var(--navy);
  white-space: nowrap;
  flex: 0 0 auto
}

.rdm-brand-logo {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(11, 35, 71, .08);
  box-shadow: 0 8px 20px rgba(11, 35, 71, .07)
}

.rdm-brand img,
.rdm-brand .custom-logo {
  max-height: 50px;
  width: auto
}

.rdm-brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(11, 35, 71, .14)
}

.rdm-brand-name {
  letter-spacing: -.3px
}

.rdm-primary-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0
}

.rdm-menu,
.rdm-mobile-links {
  display: flex;
  gap: 30px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0
}

.rdm-menu li,
.rdm-mobile-links li {
  margin: 0;
  padding: 0
}

.rdm-menu a,
.rdm-mobile-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 5px 2px;
  font-weight: 800;
  color: var(--text);
  transition: color var(--transition), transform var(--transition)
}

.rdm-menu a::after,
.rdm-mobile-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: var(--blue-light);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform var(--transition)
}

.rdm-menu a:hover,
.rdm-mobile-links a:hover {
  color: var(--blue);
  transform: translateY(-1px)
}

.rdm-menu a:hover::after,
.rdm-mobile-links a:hover::after,
.rdm-menu .current-menu-item>a::after,
.rdm-menu .current_page_item>a::after,
.rdm-menu .current-menu-ancestor>a::after,
.rdm-menu .is-current>a::after,
.rdm-mobile-links .current-menu-item>a::after,
.rdm-mobile-links .current_page_item>a::after,
.rdm-mobile-links .current-menu-ancestor>a::after,
.rdm-mobile-links .is-current>a::after {
  transform: scaleX(1)
}

.rdm-menu .current-menu-item>a,
.rdm-menu .current_page_item>a,
.rdm-menu .is-current>a,
.rdm-mobile-links .current-menu-item>a,
.rdm-mobile-links .current_page_item>a,
.rdm-mobile-links .is-current>a {
  color: var(--blue);
  font-weight: 900
}

.rdm-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto
}

.rdm-account {
  position: relative
}

.rdm-account-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(11, 35, 71, .08);
  border-radius: 15px;
  background: rgba(255, 255, 255, .48);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  color: var(--blue);
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition)
}

.rdm-account-toggle:hover {
  transform: translateY(-2px);
  border-color: #BFD5E9;
  background: var(--blue-50);
  box-shadow: 0 10px 24px rgba(11, 35, 71, .10)
}

.rdm-person-icon svg {
  width: 23px;
  height: 23px
}

.rdm-account-menu {
  position: absolute;
  inset-inline-start: 0;
  top: 57px;
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 20px 55px rgba(11, 35, 71, .16)
}

.rdm-account-menu a {
  display: block;
  padding: 11px 13px;
  border-radius: 12px;
  font-weight: 800;
  transition: background var(--transition), color var(--transition), transform var(--transition)
}

.rdm-account-menu a:hover {
  background: var(--blue-50);
  color: var(--blue);
  transform: translateX(-2px)
}

.rdm-mobile-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
  border-radius: 12px
}

.rdm-mobile-toggle:hover {
  background: var(--blue-50)
}

.rdm-mobile-toggle span {
  display: block;
  width: 25px;
  height: 2.5px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 999px;
  transition: transform var(--transition), opacity var(--transition)
}

.rdm-mobile-menu {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, .62);
  background: linear-gradient(180deg, rgba(255, 255, 255, .66), rgba(255, 255, 255, .48)), rgba(255, 255, 255, .52);
  backdrop-filter: blur(28px) saturate(175%);
  -webkit-backdrop-filter: blur(28px) saturate(175%);
  padding: 14px 0 18px;
  box-shadow: 0 18px 34px rgba(11, 35, 71, .12), inset 0 1px 0 rgba(255, 255, 255, .84)
}

.rdm-mobile-links {
  flex-direction: column;
  align-items: stretch;
  gap: 2px
}

.rdm-mobile-links a {
  display: flex;
  justify-content: flex-start;
  padding: 11px 3px
}

/* Shared interactions */
a,
.rdm-btn,
.rdm-button,
.rdm-text-link,
.rdm-card-link,
.rdm-filters a,
.rdm-pagination .page-numbers,
.rdm-news-nav a {
  -webkit-tap-highlight-color: transparent
}

.rdm-text-link,
.rdm-card-link,
.rdm-news-nav a:not(.rdm-btn) {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-weight: 900;
  transition: color var(--transition), transform var(--transition)
}

.rdm-text-link:hover,
.rdm-card-link:hover,
.rdm-news-nav a:not(.rdm-btn):hover {
  color: var(--blue-light)
}

.rdm-text-link span,
.rdm-card-link span,
.rdm-btn span,
.rdm-footer-bottom a span {
  display: inline-block;
  transition: transform var(--transition)
}

.rdm-text-link:hover span,
.rdm-card-link:hover span,
.rdm-btn:hover span,
.rdm-footer-bottom a:hover span {
  transform: translateX(-4px)
}

.rdm-btn,
.rdm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 11px 20px;
  border-radius: 15px;
  border: 1px solid transparent;
  font-weight: 900;
  line-height: 1.3;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition)
}

.rdm-btn:hover,
.rdm-button:hover {
  transform: translateY(-2px)
}

.rdm-btn:active,
.rdm-button:active {
  transform: translateY(0) scale(.985)
}

.rdm-btn-primary,
.rdm-button {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(18, 97, 160, .20)
}

.rdm-btn-primary:hover,
.rdm-button:hover {
  background: var(--blue-light);
  box-shadow: 0 16px 32px rgba(25, 118, 210, .24)
}

.rdm-btn-ghost {
  border-color: var(--border);
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 7px 18px rgba(11, 35, 71, .04)
}

.rdm-btn-ghost:hover {
  border-color: #BFD4E7;
  background: var(--blue-50);
  color: var(--blue-light);
  box-shadow: 0 12px 24px rgba(11, 35, 71, .08)
}

/* Home hero */
.rdm-hero-photo {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--navy)
}

.rdm-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden
}

.rdm-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  filter: saturate(.98)
}

.rdm-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  background: linear-gradient(270deg, rgba(11, 35, 71, .94) 0%, rgba(11, 35, 71, .76) 42%, rgba(11, 35, 71, .28) 100%)
}

.rdm-hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  column-gap: 56px;
  min-height: 600px
}

.rdm-hero-copy {
  grid-column: 1;
  width: 100%;
  max-width: 560px;
  margin-inline-start: 0;
  margin-inline-end: auto;
  justify-self: start;
  color: var(--white);
  padding: 82px 0 90px;
  text-align: right
}

.rdm-kicker-light {
  white-space: nowrap
}

.rdm-kicker,
.rdm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-weight: 900;
  font-size: 14px
}

.rdm-kicker:before,
.rdm-eyebrow:before {
  content: "";
  width: 27px;
  height: 3px;
  border-radius: 999px;
  background: var(--blue-light)
}

.rdm-kicker-light,
.rdm-eyebrow-light {
  color: var(--white)
}

.rdm-kicker-light:before,
.rdm-eyebrow-light:before {
  background: #64A9E5
}

.rdm-hero h1 {
  font-size: clamp(44px, 5.8vw, 72px);
  line-height: 1.1;
  margin: 18px 0 20px;
  letter-spacing: -1.35px;
  color: var(--white);
  max-width: 560px
}

.rdm-hero h1 strong {
  color: #A9D6FF
}

.rdm-hero p {
  max-width: 540px;
  color: #E5EFF9;
  font-size: 19px;
  margin: 0 0 28px
}

.rdm-hero-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px
}

.rdm-btn-inverse {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .16)
}

.rdm-btn-inverse:hover {
  background: #F6FAFE;
  color: var(--blue-light)
}

.rdm-btn-ghost-light {
  border-color: rgba(255, 255, 255, .30);
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  backdrop-filter: blur(5px)
}

.rdm-btn-ghost-light:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .52);
  color: var(--white)
}

.rdm-hero-trust {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 24px;
  color: #D8E7F6;
  font-size: 14px;
  font-weight: 800
}

.rdm-hero-trust i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #79B4E5
}

/* Sections */
.rdm-section {
  padding: 96px 0
}

.rdm-soft {
  background: transparent
}

.rdm-section-about {
  background: transparent
}

.rdm-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center
}

.rdm-image-card {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy);
  min-height: 380px
}

.rdm-image-card-feature {
  isolation: isolate
}

.rdm-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1)
}

.rdm-image-card:hover img {
  transform: scale(1.035)
}

.rdm-image-badge {
  position: absolute;
  right: 22px;
  bottom: 22px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(11, 35, 71, .86);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .14)
}

.rdm-copy h2,
.rdm-section h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.2;
  margin: 10px 0 16px;
  color: var(--navy);
  letter-spacing: -.6px
}

.rdm-copy p {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 13px
}

.rdm-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 30px
}

.rdm-section-lead {
  max-width: 510px;
  margin: 0;
  color: var(--muted);
  font-size: 16px
}

.rdm-card-grid {
  display: grid;
  gap: 22px
}

.rdm-news-grid {
  grid-template-columns: repeat(3, 1fr)
}

.rdm-coach-grid {
  grid-template-columns: repeat(4, 1fr)
}

.rdm-news-card,
.rdm-coach-card,
.rdm-feature-card,
.rdm-empty-card,
.rdm-event-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-slow)
}

.rdm-news-card:hover,
.rdm-coach-card:hover,
.rdm-feature-card:hover,
.rdm-event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #C5D9EA
}

.rdm-news-media {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #E6EEF6
}

.rdm-news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1)
}

.rdm-news-card:hover .rdm-news-media img {
  transform: scale(1.05)
}

.rdm-news-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #EEF5FB, #F9FBFD)
}

.rdm-news-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.rdm-home-news-section {
  background: transparent
}

.rdm-home-news-section .rdm-section-head {
  align-items: flex-end
}

.rdm-home-news-section .rdm-section-head>div {
  max-width: 760px
}

.rdm-news-grid {
  align-items: stretch
}

.rdm-news-card {
  height: 100%;
  display: flex;
  flex-direction: column
}

.rdm-news-card .rdm-news-body {
  display: flex;
  flex: 1;
  flex-direction: column
}

.rdm-news-card .rdm-card-link {
  margin-top: auto;
  align-self: flex-start
}

.rdm-news-empty-state {
  min-height: 230px;
  display: grid;
  align-content: center
}

.rdm-news-body {
  padding: 22px
}

.rdm-news-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px
}

.rdm-news-category {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: #EAF3FB;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900
}

.rdm-meta {
  font-size: 13px;
  color: #7A879C
}

.rdm-news-body h2,
.rdm-news-body h3 {
  font-size: 21px;
  margin: 10px 0 8px;
  line-height: 1.5;
  color: var(--navy)
}

.rdm-news-body h2 a,
.rdm-news-body h3 a {
  transition: color var(--transition)
}

.rdm-news-body h2 a:hover,
.rdm-news-body h3 a:hover {
  color: var(--blue)
}

.rdm-news-body p {
  color: var(--muted);
  margin: 0 0 13px
}

/* Photo proof / achievements */

/* Features */
.rdm-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px
}

.rdm-feature-card {
  padding: 25px
}

.rdm-feature-card span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #EAF3FB;
  color: var(--blue);
  font-weight: 900;
  transition: transform var(--transition), background var(--transition), color var(--transition)
}

.rdm-feature-card:hover span {
  transform: translateY(-2px);
  background: #DDEDF9;
  color: var(--blue-light)
}

.rdm-feature-card h3 {
  margin: 15px 0 6px;
  color: var(--navy);
  font-size: 20px
}

.rdm-feature-card p {
  color: var(--muted);
  margin: 0
}

.rdm-empty-card {
  padding: 28px
}

.rdm-empty-card h3 {
  margin-top: 0;
  color: var(--navy)
}

.rdm-empty-card p {
  color: var(--muted)
}


/* Transparent page field + readable text-only panels */
.rdm-text-panel {
  background: rgba(255, 255, 255, .80);
  border: 1px solid rgba(255, 255, 255, .88);
  border-radius: 26px;
  padding: 26px 28px;
  box-shadow: 0 12px 34px rgba(11, 35, 71, .045);
  backdrop-filter: blur(4px) saturate(115%);
  -webkit-backdrop-filter: blur(4px) saturate(115%);
}

.rdm-section-head.rdm-text-panel {
  margin-bottom: 30px
}

.rdm-page-hero.rdm-text-panel {
  max-width: 820px;
  margin-bottom: 26px
}

.rdm-copy.rdm-text-panel,
.rdm-story-copy.rdm-text-panel,
.rdm-contact-intro.rdm-text-panel {
  height: fit-content
}

.rdm-article-head.rdm-text-panel {
  border-color: var(--border);
  background: rgba(255, 255, 255, .90)
}

@media(max-width:700px) {
  .rdm-text-panel {
    padding: 21px 20px;
    border-radius: 22px
  }
}

/* CTA */
.rdm-cta-band {
  padding: 26px 0 88px;
  background: transparent
}

.rdm-cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 34px 38px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  box-shadow: var(--shadow)
}

.rdm-cta-band h2 {
  color: var(--white);
  margin: 8px 0 0;
  font-size: clamp(25px, 3vw, 34px)
}

.rdm-cta-band .rdm-btn-cta {
  background: var(--white);
  color: var(--blue);
  box-shadow: none
}

.rdm-cta-band .rdm-btn-cta:hover {
  background: #F5FAFE;
  color: var(--blue-light);
  box-shadow: none
}

/* General content / events */
.rdm-event-list {
  display: grid;
  gap: 14px
}

.rdm-event-card {
  padding: 20px;
  display: grid;
  grid-template-columns: 1.4fr 1fr .7fr;
  align-items: center;
  gap: 18px
}

.rdm-event-team {
  display: flex;
  gap: 12px;
  align-items: center
}

.rdm-event-team span {
  color: var(--blue-light);
  font-weight: 900
}

.rdm-event-info {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px
}

.rdm-event-result {
  justify-self: start;
  background: #EAF3FB;
  color: var(--blue);
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 900
}

.rdm-coach-media {
  aspect-ratio: 1/1;
  background: var(--navy);
  overflow: hidden
}

.rdm-coach-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1)
}

.rdm-coach-card:hover .rdm-coach-media img {
  transform: scale(1.04)
}

.rdm-coach-body {
  padding: 18px
}

.rdm-coach-body h3 {
  margin: 0 0 3px;
  font-size: 20px;
  color: var(--navy)
}

.rdm-coach-body strong {
  color: var(--blue);
  font-size: 14px
}

.rdm-coach-body p {
  color: var(--muted);
  margin: 8px 0 0
}

/* Footer */
.rdm-footer {
  background: var(--navy);
  color: #DCE7F5;
  padding-top: 62px
}

.rdm-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr 1fr;
  gap: 42px;
  padding-bottom: 50px
}

.rdm-footer h3 {
  color: var(--white);
  margin: 0 0 15px
}

.rdm-footer p {
  color: #AFC0D7;
  max-width: 520px;
  margin: 16px 0 0
}

.rdm-footer a,
.rdm-footer span {
  display: block;
  margin: 9px 0;
  color: #DCE7F5;
  transition: color var(--transition), transform var(--transition)
}

.rdm-footer a:hover {
  color: var(--white);
  transform: translateX(-3px)
}

.rdm-footer-brand-row {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  margin: 0 !important;
  color: var(--white) !important
}

.rdm-footer-brand-row img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, .20)
}

.rdm-footer-brand {
  font-size: 27px;
  font-weight: 900;
  color: var(--white) !important;
  margin: 0 !important
}

.rdm-footer-contact {
  display: flex !important;
  align-items: baseline;
  gap: 8px
}

.rdm-footer-contact>span:first-child {
  color: #93AAC4;
  font-size: 12px;
  min-width: 40px
}

.rdm-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .10);
  padding: 18px 0;
  color: #95ABC6;
  font-size: 13px
}

.rdm-footer-bottom .rdm-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px
}

.rdm-footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #DCE7F5
}

/* Pages */
.rdm-page,
.rdm-dashboard-page,
.rdm-auth-page {
  padding: 58px 0 92px;
  background: transparent
}

.rdm-page-hero,
.rdm-single-head {
  padding: 34px 0 32px
}

.rdm-page-hero h1,
.rdm-single-head h1,
.rdm-inner-hero h1 {
  font-size: clamp(38px, 5vw, 60px);
  margin: 10px 0;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -.7px
}

.rdm-page-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 18px
}

.rdm-inner-hero {
  position: relative;
  min-height: 370px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy);
  color: var(--white)
}

.rdm-inner-hero>img,
.rdm-inner-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%
}

.rdm-inner-hero>img {
  object-fit: cover;
  object-position: center 45%;
  filter: saturate(.95)
}

.rdm-inner-hero-overlay {
  background: linear-gradient(270deg, rgba(11, 35, 71, .92), rgba(11, 35, 71, .55), rgba(11, 35, 71, .22))
}

.rdm-inner-hero-content {
  position: relative;
  z-index: 1;
  padding: 76px 0 78px
}

.rdm-inner-hero p {
  margin: 8px 0 0;
  color: #DCE8F7;
  max-width: 720px;
  font-size: 18px
}

.rdm-inner-hero h1 {
  color: var(--white)
}

.rdm-prose {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm)
}

.rdm-prose h2,
.rdm-prose h3 {
  color: var(--navy)
}

.rdm-prose p,
.rdm-prose li {
  color: var(--muted)
}

.rdm-prose a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(25, 118, 210, .25);
  text-underline-offset: 4px;
  transition: color var(--transition), text-decoration-color var(--transition)
}

.rdm-prose a:hover {
  color: var(--blue-light);
  text-decoration-color: var(--blue-light)
}

.rdm-prose img {
  border-radius: 18px
}

.rdm-single-news {
  max-width: 980px
}

.rdm-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800
}

.rdm-breadcrumbs a {
  color: var(--blue);
  transition: color var(--transition)
}

.rdm-breadcrumbs a:hover {
  color: var(--blue-light)
}

.rdm-article-shell {
  max-width: 1060px;
  margin-inline: auto
}

.rdm-article-head {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 32px 36px 30px;
  box-shadow: var(--shadow-sm)
}

.rdm-article-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap
}

.rdm-article-head h1 {
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.2;
  color: var(--navy);
  margin: 16px 0 12px;
  letter-spacing: -1px
}

.rdm-article-lead {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 2
}

.rdm-article-media {
  margin: 22px 0 26px;
  border-radius: 32px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow)
}

.rdm-article-media img {
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: cover
}

.rdm-article-content-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: start
}

.rdm-article-share {
  position: sticky;
  top: 112px
}

.rdm-article-side-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow-sm)
}

.rdm-article-side-card>span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-top: 10px
}

.rdm-article-side-card>span:first-child {
  margin-top: 0
}

.rdm-article-side-card>strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
  margin-top: 3px
}

.rdm-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px
}

.rdm-article-tags a {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  transition: transform var(--transition), background var(--transition), color var(--transition)
}

.rdm-article-tags a:hover {
  transform: translateY(-1px);
  background: var(--blue-100);
  color: var(--blue-light)
}

.rdm-article-content {
  padding: 36px 40px;
  max-width: none
}

.rdm-article-content> :first-child {
  margin-top: 0
}

.rdm-article-content> :last-child {
  margin-bottom: 0
}

.rdm-news-adjacent {
  min-width: 0;
  flex: 1
}

.rdm-news-nav .rdm-news-adjacent a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition)
}

.rdm-news-nav .rdm-news-adjacent a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #C7DAEA
}

.rdm-news-nav .rdm-news-adjacent span {
  font-size: 11px;
  color: var(--muted);
  font-weight: 800
}

.rdm-news-nav .rdm-news-adjacent strong {
  font-size: 14px;
  color: var(--navy);
  line-height: 1.7;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.rdm-news-adjacent-prev {
  text-align: right
}

.rdm-news-adjacent-next {
  text-align: left
}

.rdm-related-news {
  padding-bottom: 10px
}

.rdm-single-media {
  margin-bottom: 26px
}

.rdm-single-media img {
  width: 100%;
  max-height: 580px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: var(--shadow)
}

.rdm-news-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 30px
}

.rdm-pagination {
  margin-top: 36px;
  text-align: center
}

.rdm-pagination .page-numbers {
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin: 0 4px;
  background: var(--white);
  border: 1px solid var(--border);
  font-weight: 800;
  color: var(--text);
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition)
}

.rdm-pagination .page-numbers:hover {
  transform: translateY(-2px);
  border-color: #BFD4E7;
  color: var(--blue);
  box-shadow: 0 8px 18px rgba(11, 35, 71, .06)
}

.rdm-pagination .current {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 8px 20px rgba(18, 97, 160, .18)
}

.rdm-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px
}

.rdm-filters a {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  font-weight: 800;
  color: var(--text);
  transition: transform var(--transition), border-color var(--transition), color var(--transition), background var(--transition), box-shadow var(--transition)
}

.rdm-filters a:hover,
.rdm-filters a.is-active {
  transform: translateY(-1px);
  border-color: #BFD4E7;
  color: var(--blue);
  background: var(--blue-50);
  box-shadow: 0 7px 18px rgba(11, 35, 71, .05)
}

.rdm-filters a.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(18, 97, 160, .16)
}

/* News visual storytelling */

/* About */
.rdm-about-page .rdm-image-card {
  min-height: 460px
}

.rdm-story-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: center
}

.rdm-story-photo {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy)
}

.rdm-story-photo img {
  width: 100%;
  height: 610px;
  object-fit: cover;
  object-position: center 45%;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1)
}

.rdm-story-photo:hover img {
  transform: scale(1.025)
}

/* Contact page */
.rdm-contact-layout {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 55px;
  align-items: start
}

.rdm-contact-items {
  display: grid;
  gap: 14px
}

.rdm-contact-card {
  display: flex !important;
  align-items: center;
  gap: 13px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition)
}

.rdm-contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #C7DAEA;
  background: #FCFEFF
}

.rdm-contact-card .rdm-contact-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #EAF3FB;
  color: var(--blue);
  font-size: 20px;
  font-weight: 900
}

.rdm-contact-card>span:not(.rdm-contact-icon) {
  min-width: 0;
  flex: 1
}

.rdm-contact-card small {
  display: block;
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 3px
}

.rdm-contact-card strong {
  display: block;
  color: var(--navy);
  font-size: 17px;
  overflow-wrap: anywhere
}

.rdm-contact-card>b {
  color: #7F91A7;
  font-size: 18px;
  transition: transform var(--transition), color var(--transition)
}

.rdm-contact-card:hover>b {
  transform: translateX(-4px);
  color: var(--blue-light)
}

.rdm-contact-extra {
  margin-top: 24px
}

/* Authentication */
.rdm-auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch
}

.rdm-auth-visual {
  position: relative;
  min-height: 610px;
  border-radius: 32px;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate
}

.rdm-auth-visual>img,
.rdm-auth-visual-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%
}

.rdm-auth-visual>img {
  object-fit: cover;
  object-position: center 42%;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1)
}

.rdm-auth-visual:hover>img {
  transform: scale(1.025)
}

.rdm-auth-visual-overlay {
  background: linear-gradient(to top, rgba(11, 35, 71, .94), rgba(11, 35, 71, .25) 72%)
}

.rdm-auth-visual-copy {
  position: absolute;
  right: 30px;
  left: 30px;
  bottom: 30px;
  z-index: 2
}

.rdm-auth-visual-copy span {
  display: block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 3px;
  color: #B9DBF7;
  margin-bottom: 7px
}

.rdm-auth-visual-copy strong {
  display: block;
  font-size: 28px;
  line-height: 1.4
}

.rdm-auth-visual-copy p {
  margin: 8px 0 0;
  color: #DCE8F7
}

.rdm-auth-panel {
  display: flex;
  align-items: center
}

.radman-login-form {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 34px;
  box-shadow: var(--shadow)
}

.rdm-login-brand {
  display: inline-flex;
  padding: 6px 11px;
  border-radius: 999px;
  background: #EAF3FB;
  color: var(--blue);
  font-weight: 900;
  font-size: 12px
}

.radman-login-form h2 {
  font-size: 32px;
  line-height: 1.25;
  color: var(--navy);
  margin: 15px 0 18px
}

.radman-login-form label:not(.rdm-check) {
  display: block;
  color: var(--navy);
  font-weight: 800;
  margin: 13px 0 6px
}

.radman-login-form input:not([type=checkbox]) {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition)
}

.radman-login-form input:not([type=checkbox]):focus {
  outline: 0;
  border-color: #9EC1DF;
  background: var(--white);
  box-shadow: var(--focus)
}

.radman-login-form button {
  width: 100%;
  min-height: 49px;
  margin-top: 15px;
  border: 0;
  border-radius: 15px;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(18, 97, 160, .20);
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition)
}

.radman-login-form button:hover {
  transform: translateY(-2px);
  background: var(--blue-light);
  box-shadow: 0 16px 30px rgba(25, 118, 210, .24)
}

.radman-login-form small {
  display: block;
  margin-top: 15px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8
}

.rdm-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px !important;
  color: var(--muted) !important;
  font-size: 13px;
  font-weight: 800 !important
}

.rdm-check input {
  accent-color: var(--blue);
  width: 17px;
  height: 17px
}

.rdm-error {
  padding: 11px 13px;
  border-radius: 13px;
  background: #FFF4F4;
  border: 1px solid #F2D0D0;
  color: #B42318;
  font-weight: 700
}

.rdm-login-notice,
.rdm-login-required {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  color: var(--muted)
}

.rdm-login-notice a,
.rdm-login-required a {
  color: var(--blue);
  font-weight: 900
}

/* Student dashboard */
.rdm-dashboard-page {
  background: transparent
}

.rdm-dashboard-shell {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 24px;
  align-items: start
}

.rdm-dashboard-sidebar {
  position: sticky;
  top: 102px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow-sm)
}

.rdm-student-mini {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 8px 0 18px;
  border-bottom: 1px solid var(--border-soft)
}

.rdm-student-mini span {
  font-size: 13px;
  color: var(--muted)
}

.rdm-avatar {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(18, 97, 160, .18)
}

.rdm-dashboard-sidebar nav {
  display: grid;
  gap: 5px;
  padding-top: 12px
}

.rdm-dashboard-sidebar nav a {
  padding: 11px 12px;
  border-radius: 13px;
  font-weight: 800;
  color: #34435D;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition)
}

.rdm-dashboard-sidebar nav a:hover {
  background: #EEF5FB;
  color: var(--blue);
  transform: translateX(-2px)
}

.rdm-dashboard-sidebar nav .logout {
  color: #B42318;
  margin-top: 6px
}

.rdm-dashboard-welcome {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px
}

.rdm-dashboard-welcome h1 {
  font-size: clamp(30px, 4vw, 48px);
  margin: 7px 0;
  color: var(--navy);
  line-height: 1.2
}

.rdm-dashboard-welcome p {
  margin: 0;
  color: var(--muted)
}

.rdm-summary-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end
}

.rdm-summary-pills span {
  background: #EAF3FB;
  color: var(--blue);
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900
}

.rdm-dashboard-notice {
  padding: 13px 16px;
  border-radius: 14px;
  background: #E8F7EC;
  color: #166534;
  margin-bottom: 18px;
  border: 1px solid #D1F0D9
}

.rdm-dashboard-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px
}

.rdm-dashboard-card-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 18px
}

.rdm-dashboard-card h2 {
  font-size: 26px;
  margin: 5px 0;
  color: var(--navy)
}

.rdm-dashboard-card p {
  color: var(--muted)
}

.rdm-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px
}

.rdm-profile-grid>div {
  padding: 15px;
  border-radius: 16px;
  background: var(--surface-soft);
  border: 1px solid var(--border-soft)
}

.rdm-profile-grid .wide {
  grid-column: 1/-1
}

.rdm-profile-grid span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px
}

.rdm-status {
  font-weight: 900
}

.rdm-status.paid {
  color: #15803D
}

.rdm-status.unpaid {
  color: #B42318
}

.rdm-table-wrap {
  overflow: auto
}

.rdm-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px
}

.rdm-table th,
.rdm-table td {
  text-align: right;
  padding: 13px;
  border-bottom: 1px solid var(--border)
}

.rdm-table th {
  font-size: 13px;
  color: var(--muted);
  background: var(--surface-soft)
}

.rdm-payment-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 11px;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition)
}

.rdm-payment-button:hover {
  transform: translateY(-2px);
  background: var(--blue-light);
  box-shadow: 0 10px 20px rgba(25, 118, 210, .18)
}

.rdm-payment-done {
  font-size: 13px;
  font-weight: 900;
  color: #15803D;
  white-space: nowrap
}

.rdm-message-list {
  max-height: 380px;
  overflow: auto;
  background: var(--surface-soft);
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--border-soft)
}

.rdm-message {
  padding: 11px 14px;
  border-radius: 16px;
  max-width: 82%;
  margin: 8px 0;
  white-space: normal
}

.rdm-message span {
  display: block;
  font-size: 11px;
  font-weight: 900;
  opacity: .7;
  margin-bottom: 2px
}

.rdm-message.student {
  background: var(--blue);
  color: var(--white);
  margin-right: auto
}

.rdm-message.coach {
  background: #E8EEF5;
  margin-left: auto
}

.rdm-message-form {
  margin-top: 14px
}

.rdm-message-form textarea {
  width: 100%;
  min-height: 110px;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 14px;
  resize: vertical;
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition)
}

.rdm-message-form textarea:focus {
  border-color: #9EC1DF;
  box-shadow: var(--focus);
  outline: 0
}

.rdm-insurance-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white)
}

.rdm-insurance-card p {
  color: #DCE7FB;
  max-width: 680px
}

.rdm-insurance-card .rdm-eyebrow {
  color: var(--white)
}

.rdm-insurance-card .rdm-eyebrow:before {
  background: var(--blue-light)
}

.rdm-insurance-card .rdm-button {
  background: var(--white);
  color: var(--blue);
  box-shadow: none
}

.rdm-insurance-card .rdm-button:hover {
  background: #F4FAFF;
  color: var(--blue-light)
}

/* 404 / generic */
.rdm-404 {
  padding: 120px 0;
  background: transparent
}

.rdm-404-card {
  max-width: 590px;
  margin: auto;
  text-align: center;
  background: var(--white);
  padding: 54px;
  border-radius: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border)
}

.rdm-404-card span {
  font-size: 96px;
  line-height: 1;
  font-weight: 900;
  color: var(--blue)
}

.rdm-article {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow-sm)
}

.rdm-article h1 {
  color: var(--navy)
}

.rdm-empty {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 34px;
  text-align: center
}

/* Forms shared with public pages */
.rdm-page input:not([type=checkbox]):not([type=radio]),
.rdm-page textarea,
.rdm-page select,
.rdm-contact-page input:not([type=checkbox]):not([type=radio]),
.rdm-contact-page textarea,
.rdm-contact-page select {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--white);
  color: var(--ink)
}

.rdm-page input:focus,
.rdm-page textarea:focus,
.rdm-page select:focus,
.rdm-contact-page input:focus,
.rdm-contact-page textarea:focus,
.rdm-contact-page select:focus {
  outline: 0;
  border-color: #9EC1DF;
  box-shadow: var(--focus)
}

/* Page transition and reveal */
main {
  animation: rdm-page-enter 240ms ease both
}

@keyframes rdm-page-enter {
  from {
    opacity: .86;
    transform: translateY(4px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.rdm-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .58s ease, transform .58s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--reveal-delay, 0ms)
}

.rdm-reveal.is-visible {
  opacity: 1;
  transform: none
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-14px)
  }
}

.rdm-float-slow img {
  animation: float 5s ease-in-out infinite
}

@media(max-width:980px) {
  body {
    background-size: 1150px 2200px;
    background-attachment: scroll;
  }

  body.home {
    background-size: 1150px 2300px;
  }

  body.post-type-archive-rdm_news,
  body.tax-rdm_news_category {
    background-size: 1200px 2350px;
    background-position: center top;
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important
  }

  main {
    animation: none !important
  }

  .rdm-reveal {
    opacity: 1;
    transform: none;
    transition: none !important
  }
}

@media(max-width:1100px) {
  .rdm-menu {
    gap: 20px
  }

  .rdm-news-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .rdm-coach-grid,
  .rdm-feature-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:980px) {
  .rdm-hero-content {
    min-height: 560px;
    display: flex
  }

  .rdm-hero-photo {
    min-height: 560px
  }

  .rdm-hero-copy {
    padding: 70px 0;
    max-width: 600px;
    width: 100%;
    margin-inline: 0
  }

  .rdm-hero-grid,
  .rdm-two-col,
  .rdm-auth-grid,
  .rdm-story-grid,
  .rdm-contact-layout {
    grid-template-columns: 1fr
  }

  .rdm-primary-nav {
    display: none
  }

  .rdm-mobile-toggle {
    display: block
  }

  .rdm-mobile-menu[hidden] {
    display: none
  }

  .rdm-mobile-menu:not([hidden]) {
    display: block
  }

  .rdm-dashboard-shell {
    grid-template-columns: 1fr
  }

  .rdm-dashboard-sidebar {
    position: relative;
    top: auto
  }

  .rdm-dashboard-sidebar nav {
    grid-template-columns: repeat(3, 1fr)
  }

  .rdm-dashboard-sidebar nav .logout {
    margin-top: 0
  }

  .rdm-contact-layout {
    gap: 24px
  }
}


@media(max-width:700px) {
  .rdm-kicker-light {
    white-space: normal
  }

  .rdm-hero-copy {
    text-align: right;
    margin-inline-start: 0;
    margin-inline-end: 0;
    justify-self: auto
  }

  .rdm-hero h1 {
    max-width: 100%;
  }
}

@media(max-width:700px) {
  .rdm-container {
    width: min(100% - 28px, 1180px)
  }

  .rdm-header-inner {
    min-height: 74px;
    gap: 12px
  }

  .rdm-brand {
    font-size: 20px;
    gap: 8px
  }

  .rdm-brand-logo {
    width: 44px;
    height: 44px
  }

  .rdm-brand img,
  .rdm-brand .custom-logo {
    max-height: 44px
  }

  .rdm-header-login {
    min-height: 42px;
    padding: 8px 13px;
    font-size: 13px
  }

  .rdm-account-toggle {
    width: 42px;
    height: 42px
  }

  .rdm-news-grid,
  .rdm-coach-grid,
  .rdm-feature-grid,
  .rdm-profile-grid {
    grid-template-columns: 1fr
  }

  .rdm-event-card {
    grid-template-columns: 1fr
  }

  .rdm-event-result {
    justify-self: start
  }

  .rdm-hero-photo {
    min-height: 600px
  }

  .rdm-hero-content {
    min-height: 600px
  }

  .rdm-hero-copy {
    padding: 65px 0 75px;
    max-width: 100%;
    width: 100%;
    margin-inline-end: 0
  }

  .rdm-hero h1 {
    font-size: 42px;
    line-height: 1.16;
    letter-spacing: -.8px
  }

  .rdm-hero p {
    font-size: 17px
  }

  .rdm-hero-actions {
    flex-direction: column;
    align-items: stretch
  }

  .rdm-hero-actions .rdm-btn {
    width: 100%
  }

  .rdm-hero-overlay {
    background: linear-gradient(180deg, rgba(11, 35, 71, .78) 0%, rgba(11, 35, 71, .88) 55%, rgba(11, 35, 71, .97) 100%)
  }

  .rdm-section {
    padding: 68px 0
  }

  .rdm-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px
  }

  .rdm-section h2 {
    font-size: 31px
  }

  .rdm-section-lead {
    font-size: 15px
  }

  .rdm-image-card {
    min-height: 300px
  }

  .rdm-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px
  }

  .rdm-footer-bottom .rdm-container {
    align-items: flex-start;
    flex-direction: column
  }

  .rdm-inner-hero {
    min-height: 330px
  }

  .rdm-inner-hero-content {
    padding: 62px 0
  }

  .rdm-inner-hero h1 {
    font-size: 42px
  }

  .rdm-auth-visual {
    min-height: 390px
  }

  .rdm-auth-panel {
    align-items: stretch
  }

  .radman-login-form {
    padding: 26px 21px
  }

  .radman-login-form h2 {
    font-size: 29px
  }

  .rdm-dashboard-welcome,
  .rdm-insurance-card,
  .rdm-cta-band-inner {
    align-items: flex-start;
    flex-direction: column
  }

  .rdm-dashboard-sidebar nav {
    grid-template-columns: repeat(2, 1fr)
  }

  .rdm-dashboard-sidebar nav .logout {
    grid-column: 1/-1
  }

  .rdm-news-nav {
    flex-direction: column;
    align-items: stretch
  }

  .rdm-article-content-grid {
    grid-template-columns: 1fr
  }

  .rdm-article-share {
    position: static;
    order: 2
  }

  .rdm-article-content {
    padding: 26px 24px
  }

  .rdm-article-head {
    padding: 26px 22px 24px
  }

  .rdm-article-head h1 {
    font-size: 38px
  }

  .rdm-article-meta-row {
    align-items: flex-start;
    flex-direction: column
  }

  .rdm-news-adjacent {
    width: 100%
  }

  .rdm-news-adjacent-next {
    text-align: right
  }

  .rdm-prose,
  .rdm-article {
    padding: 24px
  }

  .rdm-contact-card {
    padding: 17px
  }

  .rdm-contact-card strong {
    font-size: 15px
  }

  .rdm-cta-band {
    padding: 14px 0 64px
  }

  .rdm-cta-band-inner {
    padding: 26px 22px
  }

  .rdm-cta-band .rdm-btn {
    width: 100%
  }
}

/* Header CTA */
.rdm-header-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 9px 17px;
  border-radius: 14px;
  background: var(--blue);
  color: var(--white) !important;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(18, 97, 160, .18);
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition)
}

.rdm-header-login:hover {
  transform: translateY(-2px);
  background: var(--blue-light);
  box-shadow: 0 14px 26px rgba(25, 118, 210, .22)
}

.rdm-header-login::after {
  display: none !important
}


/* Student password-change form (rendered by Radman Core's dashboard shortcode, when Core is installed) */
.rdm-password-form {
  display: grid;
  gap: 12px;
  margin-top: 8px
}

.rdm-password-field label {
  display: block;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px
}

.rdm-password-field input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--ink)
}

.rdm-password-field input:focus {
  outline: 0;
  border-color: #9EC1DF;
  background: var(--white);
  box-shadow: var(--focus)
}

.rdm-password-field small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 6px;
  line-height: 1.8
}

.rdm-password-change-inline {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft)
}

.rdm-password-change-inline h3 {
  color: var(--navy);
  margin: 0 0 6px;
  font-size: 20px
}

.rdm-password-required-card h1 {
  font-size: clamp(30px, 4vw, 48px);
  margin: 7px 0;
  color: var(--navy)
}