/* ================================================================
   ROBB PSYCHOLOGY KENT
   Cassiopeia base stylesheet — version 1.16
   ================================================================ */

:root {
  --rp-teal: #15998f;
  --rp-teal-dark: #0d716b;
  --rp-teal-soft: #e7f3f1;
  --rp-blue: #1d5888;
  --rp-blue-dark: #153f63;
  --rp-ink: #25383e;
  --rp-text: #4e5e63;
  --rp-muted: #6d7a7e;
  --rp-white: #ffffff;
  --rp-ivory: #f8f7f3;
  --rp-grey: #eef2f2;
  --rp-border: #dce5e4;
  --rp-yellow: #d4a526;

  --rp-font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --rp-font-body: "Montserrat", Arial, Helvetica, sans-serif;
  --rp-container: 1280px;
  --rp-content: 1120px;
  --rp-radius: 4px;
  --rp-shadow: 0 18px 48px rgba(24, 57, 62, 0.13);
  --rp-transition: 180ms ease;
}

/* ================================================================
   RESET AND GLOBAL TYPOGRAPHY
   ================================================================ */

html {
  scroll-behavior: smooth;
}

body.site {
  margin: 0;
  color: var(--rp-text);
  background: var(--rp-white);
  font-family: var(--rp-font-body);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body.site h1,
body.site h2,
body.site h3,
body.site h4,
body.site h5,
body.site h6 {
  margin-top: 0;
  color: var(--rp-ink);
  font-family: var(--rp-font-heading);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

body.site h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.35rem);
}

body.site h2 {
  font-size: clamp(1.55rem, 2.5vw, 1.95rem);
}

body.site h3 {
  font-size: clamp(1.3rem, 1.8vw, 1.55rem);
}

body.site h4 {
  font-size: clamp(1.16rem, 1.5vw, 1.35rem);
}

body.site h5 {
  font-size: clamp(1.08rem, 1.3vw, 1.2rem);
}

body.site h6 {
  font-size: clamp(1rem, 1.15vw, 1.08rem);
}

body.site p,
body.site li {
  font-size: 1.04rem;
}

body.site p:last-child {
  margin-bottom: 0;
}

body.site a {
  color: var(--rp-teal-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--rp-transition), background-color var(--rp-transition), border-color var(--rp-transition);
}

body.site a:hover,
body.site a:focus {
  color: var(--rp-blue);
}

body.site img {
  max-width: 100%;
  height: auto;
}

body.site ::selection {
  color: var(--rp-white);
  background: var(--rp-teal-dark);
}

:focus-visible {
  outline: 3px solid var(--rp-yellow);
  outline-offset: 3px;
}

/* Prevent Cassiopeia's main area from constraining full-width sections. */
.site-grid {
  grid-gap: 0;
  background: #f6f6f6;
}

.site-grid > .grid-child.container-component,
.site-grid > .grid-child.container-main {
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

.com-content-article.item-page,
.com-content-article.item-page > div {
  max-width: none;
}

.com-content-article.item-page .page-header {
  display: none;
}

/* ================================================================
   OPTIONAL TOP LOGO / CONTACT MODULE
   Place a Custom module in the top-logo position.
   ================================================================ */

.top-logo {
  width: 100%;
  background: var(--rp-white);
  border-bottom: 1px solid var(--rp-border);
}

.top-logo .mod-custom {
  width: 100%;
}

.rp-topbar {
  width: min(100% - 2rem, var(--rp-container));
  min-height: 150px;
  margin-inline: auto;
  padding-block: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 5rem);
}

.rp-topbar__brand {
  min-width: 0;
  flex: 0 1 560px;
}

.rp-topbar__brand a {
  display: inline-flex;
  align-items: center;
}

.rp-topbar__brand img {
  display: block;
  width: min(100%, 560px);
  max-height: 130px;
  object-fit: contain;
  object-position: left center;
}

.rp-topbar__contact {
  min-width: max-content;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.65rem;
  color: var(--rp-muted);
  font-size: 0.9rem;
  text-align: left;
}

.rp-topbar__contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  line-height: 1.4;
}

.rp-topbar__icon {
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  display: inline-grid;
  place-items: center;
  color: var(--rp-teal-dark);
  background: var(--rp-teal-soft);
  border: 1px solid rgba(21, 153, 143, 0.22);
  border-radius: 50%;
}

.rp-topbar__label {
  color: var(--rp-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.rp-topbar__contact a {
  color: var(--rp-ink);
  font-weight: 600;
  text-decoration: none;
}

.rp-topbar__contact a:hover,
.rp-topbar__contact a:focus {
  color: var(--rp-teal-dark);
}

.rp-topbar__contact i {
  margin: 0;
  color: inherit;
  font-size: 0.95rem;
}

/* ================================================================
   CASSIOPEIA HEADER AND NAVIGATION
   ================================================================ */

.container-header {
  position: relative;
  z-index: 1000;
  color: var(--rp-ink);
  background: var(--rp-white);
  background-image: none;
  box-shadow: 0 1px 0 var(--rp-border);
}

.container-header .grid-child {
  width: min(100% - 2rem, var(--rp-container));
  max-width: var(--rp-container);
  margin-inline: auto;
}

.container-header .navbar-brand {
  color: var(--rp-ink);
}

.container-header .navbar-brand img {
  max-height: 92px;
}

.container-header .container-nav {
  min-height: 64px;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.container-header .navbar-collapse {
  flex-grow: 1;
  justify-content: center;
}

.container-header .mod-menu {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.container-header .mod-menu > li {
  position: relative;
  display: flex;
  align-items: stretch;
}

.container-header .mod-menu > li > a,
.container-header .mod-menu > li > button,
.container-header .mod-menu > li > .nav-header,
.container-header .mod-menu > li > .separator {
  min-height: 64px;
  padding: 0.75rem clamp(0.65rem, 1.35vw, 1.15rem);
  display: flex;
  align-items: center;
  color: var(--rp-ink);
  background: transparent;
  border: 0;
  font-family: var(--rp-font-body);
  font-size: 0.79rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.085em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: normal;
}

.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > a:focus,
.container-header .mod-menu > li > button:hover,
.container-header .mod-menu > li > button:focus,
.container-header .mod-menu > li.active > a,
.container-header .mod-menu > li.current > a,
.container-header .mod-menu > li.active > button {
  color: var(--rp-teal-dark);
  background: var(--rp-teal-soft);
}

.container-header .mod-menu > li.active > a::after,
.container-header .mod-menu > li.current > a::after {
  content: "";
  position: absolute;
  right: 0.8rem;
  bottom: 0;
  left: 0.8rem;
  height: 3px;
  background: var(--rp-teal);
}

.container-header .metismenu.mod-menu .metismenu-item > button.mm-collapsed,
.container-header .metismenu.mod-menu .metismenu-item > button.mm-expanded {
  color: inherit;
}

.container-header .mod-menu .mm-toggler {
  margin-left: 0.42rem;
  padding: 0.2rem;
}

/* Desktop dropdowns */
.container-header .mod-menu .metismenu-item > ul,
.container-header .mod-menu .small {
  min-width: 250px;
  margin: 0;
  padding: 0.45rem 0;
  color: var(--rp-text);
  background: var(--rp-white);
  border: 1px solid var(--rp-border);
  border-top: 3px solid var(--rp-teal);
  border-radius: 0 0 var(--rp-radius) var(--rp-radius);
  box-shadow: 0 15px 35px rgba(20, 55, 62, 0.15);
}

.container-header .mod-menu .metismenu-item > ul li,
.container-header .mod-menu .small li {
  display: block;
  width: 100%;
}

.container-header .mod-menu .metismenu-item > ul a,
.container-header .mod-menu .small a {
  display: block;
  width: 100%;
  padding: 0.72rem 1rem;
  color: var(--rp-ink);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: normal;
}

.container-header .mod-menu .metismenu-item > ul a:hover,
.container-header .mod-menu .metismenu-item > ul a:focus,
.container-header .mod-menu .small a:hover,
.container-header .mod-menu .small a:focus {
  color: var(--rp-teal-dark);
  background: var(--rp-teal-soft);
}

.container-header .navbar-toggler {
  margin: 0.7rem 0 0.7rem auto;
  padding: 0.55rem 0.7rem;
  color: var(--rp-teal-dark);
  background: var(--rp-white);
  border: 1px solid var(--rp-teal-dark);
  border-radius: var(--rp-radius);
}

.container-header .navbar-toggler-icon {
  filter: none;
}

/* Full-width, single-line desktop navigation. */
@media (min-width: 992px) {
  .container-header .grid-child,
  .container-header .container-nav {
    width: 100%;
    max-width: none;
  }

  .container-header .container-nav {
    padding-inline: clamp(1rem, 2.5vw, 3rem);
    flex-wrap: nowrap;
    gap: clamp(0.5rem, 1vw, 1.25rem);
  }

  .container-header .navbar-collapse {
    min-width: 0;
    flex: 1 1 auto;
  }

  .container-header .mod-menu {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .container-header .mod-menu > li {
    min-width: 0;
    flex: 1 1 auto;
    justify-content: center;
  }

  .container-header .mod-menu > li > a,
  .container-header .mod-menu > li > button,
  .container-header .mod-menu > li > .nav-header,
  .container-header .mod-menu > li > .separator {
    padding-right: clamp(0.35rem, 0.85vw, 0.9rem);
    padding-left: clamp(0.35rem, 0.85vw, 0.9rem);
    white-space: nowrap;
  }

  .container-header .mod-menu .mm-toggler {
    flex: 0 0 auto;
  }
}

/* ================================================================
   SHARED PAGE LAYOUT
   ================================================================ */

.rp-section {
  padding: clamp(2.5rem, 5vw, 4rem) 1rem;
}

.rp-section--white {
  background: var(--rp-white);
}

.rp-section--ivory {
  background: var(--rp-ivory);
}

.rp-section--teal-soft {
  background: var(--rp-teal-soft);
}

.rp-container {
  width: min(100%, var(--rp-content));
  margin-inline: auto;
}

.rp-container--wide {
  width: min(100%, var(--rp-container));
}

.rp-section-heading {
  max-width: 760px;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.rp-section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.rp-section-heading h2 {
  margin-bottom: 0.8rem;
}

.rp-rule {
  width: 64px;
  height: 3px;
  margin: 1.25rem 0 0;
  background: var(--rp-teal);
  border: 0;
}

.rp-section-heading--center .rp-rule {
  margin-inline: auto;
}

/* ================================================================
   HOME HERO
   Set --rp-hero-image inline in the homepage HTML.
   ================================================================ */

.rp-hero {
  position: relative;
  width: min(100%, 1600px);
  min-height: 560px;
  aspect-ratio: 1600 / 730;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 4rem) 1rem;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background-color: #bbc3c1;
  background-image: var(--rp-hero-image);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.rp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(18, 42, 45, 0.14), rgba(18, 42, 45, 0.02) 58%, rgba(18, 42, 45, 0.08));
}

.rp-hero__inner {
  width: min(100%, var(--rp-container));
  margin-inline: auto;
}

.rp-hero__panel {
  width: min(100%, 650px);
  padding: clamp(2rem, 5vw, 4rem);
  background: rgba(255, 255, 255, 0.93);
  border-left: 5px solid var(--rp-teal);
  box-shadow: var(--rp-shadow);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.rp-hero__panel h1 {
  margin-bottom: 1.25rem;
  color: var(--rp-ink);
  font-size: clamp(1.9rem, 3vw, 2.35rem);
}

.rp-hero__panel p {
  max-width: 56ch;
  margin-bottom: 1.65rem;
  color: var(--rp-text);
  font-size: clamp(1.03rem, 1.5vw, 1.14rem);
  line-height: 1.72;
}

.rp-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.rp-button,
body.site a.rp-button {
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  color: var(--rp-white);
  background: var(--rp-teal-dark);
  border: 2px solid var(--rp-teal-dark);
  border-radius: var(--rp-radius);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.rp-button:hover,
.rp-button:focus,
body.site a.rp-button:hover,
body.site a.rp-button:focus {
  color: var(--rp-white);
  background: var(--rp-blue);
  border-color: var(--rp-blue);
  transform: translateY(-1px);
}

.rp-button--outline,
body.site a.rp-button--outline {
  color: var(--rp-teal-dark);
  background: transparent;
}

.rp-button--outline:hover,
.rp-button--outline:focus,
body.site a.rp-button--outline:hover,
body.site a.rp-button--outline:focus {
  color: var(--rp-white);
  background: var(--rp-teal-dark);
  border-color: var(--rp-teal-dark);
}

/* ================================================================
   HOME SERVICE CARDS
   ================================================================ */

.rp-service-grid {
  width: min(100%, var(--rp-container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}

.rp-service-card,
body.site a.rp-service-card {
  position: relative;
  min-height: 150px;
  padding: clamp(1.8rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.3rem;
  color: var(--rp-ink);
  background: var(--rp-white);
  border: 1px solid var(--rp-border);
  border-top: 4px solid var(--rp-teal);
  box-shadow: 0 12px 30px rgba(27, 63, 68, 0.07);
  text-decoration: none;
  overflow: hidden;
}

.rp-service-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -115px;
  width: 230px;
  height: 230px;
  background: var(--rp-teal-soft);
  border-radius: 50%;
  transition: transform var(--rp-transition);
}

.rp-service-card:hover,
.rp-service-card:focus,
body.site a.rp-service-card:hover,
body.site a.rp-service-card:focus {
  color: var(--rp-ink);
  border-color: var(--rp-teal);
  box-shadow: var(--rp-shadow);
  transform: translateY(-3px);
}

.rp-service-card:hover::after,
.rp-service-card:focus::after {
  transform: scale(1.12);
}

.rp-service-card__icon {
  width: 62px;
  height: 62px;
  display: inline-grid;
  place-items: center;
  color: var(--rp-white);
  background: var(--rp-teal);
  border-radius: 50%;
  font-size: 1.45rem;
}

.rp-service-card__title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--rp-ink);
  font-family: var(--rp-font-heading);
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 400;
  line-height: 1.18;
}

.rp-service-card__arrow {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  color: var(--rp-teal-dark);
  background: var(--rp-white);
  border: 1px solid var(--rp-teal);
  border-radius: 50%;
}

/* ================================================================
   TEAM CATEGORY BLOG CARDS
   Add rp-team-card to the menu item's Article Class field.
   ================================================================ */

.com-content-category-blog__items.blog-items {
  width: min(100% - 2rem, var(--rp-container));
  margin-right: auto;
  margin-left: auto;
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: stretch;
}

.com-content-category-blog__items.blog-items > div {
  min-width: 0;
  display: flex;
}

.com-content-category-blog__items .blog-item.rp-team-card {
  position: relative;
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  color: var(--rp-text);
  background: var(--rp-white);
  border: 1px solid var(--rp-border);
  border-top: 4px solid var(--rp-teal);
  border-radius: var(--rp-radius);
  box-shadow: 0 12px 32px rgba(27, 63, 68, 0.08);
  text-align: center;
  overflow: hidden;
  transition: border-color var(--rp-transition), box-shadow var(--rp-transition), transform var(--rp-transition);
}

.com-content-category-blog__items .blog-item.rp-team-card:hover {
  border-color: rgba(21, 153, 143, 0.62);
  box-shadow: var(--rp-shadow);
  transform: translateY(-3px);
}

.com-content-category-blog__items .rp-team-card .item-image {
  float: none;
  width: 100%;
  margin: 0 0 1.35rem;
  text-align: center;
}

.com-content-category-blog__items .rp-team-card .item-image a {
  display: inline-block;
}

.com-content-category-blog__items .rp-team-card .item-image img {
  display: block;
  width: min(100%, 230px);
  height: 270px;
  margin-right: auto;
  margin-left: auto;
  object-fit: cover;
  object-position: center top;
  border-radius: 2px;
}

.com-content-category-blog__items .rp-team-card .item-content {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
}

.com-content-category-blog__items .rp-team-card .page-header {
  margin: 0;
  padding: 0;
  border: 0;
  text-align: center;
}

.com-content-category-blog__items .rp-team-card .page-header h2,
.com-content-category-blog__items .rp-team-card .item-title {
  margin: 0 0 0.65rem;
  color: var(--rp-ink);
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  font-weight: 400;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.com-content-category-blog__items .rp-team-card .page-header h2 a,
.com-content-category-blog__items .rp-team-card .item-title a {
  color: inherit;
  text-decoration: none;
}

.com-content-category-blog__items .rp-team-card .page-header h2 a:hover,
.com-content-category-blog__items .rp-team-card .page-header h2 a:focus,
.com-content-category-blog__items .rp-team-card .item-title a:hover,
.com-content-category-blog__items .rp-team-card .item-title a:focus {
  color: var(--rp-teal-dark);
}

.com-content-category-blog__items .rp-team-card p {
  margin-bottom: 0.75rem;
  font-size: 0.96rem;
  line-height: 1.65;
  text-align: center;
}

.com-content-category-blog__items .rp-team-card .article-info {
  justify-content: center;
  text-align: center;
}

.com-content-category-blog__items .rp-team-card .readmore {
  margin: auto 0 0;
  padding-top: 1.25rem;
  text-align: center;
}

.com-content-category-blog__items .rp-team-card .readmore .btn,
.com-content-category-blog__items .rp-team-card .readmore a {
  min-height: 44px;
  padding: 0.65rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--rp-teal-dark);
  background: var(--rp-white);
  border: 1px solid var(--rp-teal);
  border-radius: var(--rp-radius);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.35;
  text-decoration: none;
  text-transform: uppercase;
}

.com-content-category-blog__items .rp-team-card .readmore .btn:hover,
.com-content-category-blog__items .rp-team-card .readmore .btn:focus,
.com-content-category-blog__items .rp-team-card .readmore a:hover,
.com-content-category-blog__items .rp-team-card .readmore a:focus {
  color: var(--rp-white);
  background: var(--rp-teal-dark);
  border-color: var(--rp-teal-dark);
}

/* ================================================================
   REUSABLE INNER-PAGE INTRO AND CONTENT COMPONENTS
   Alternate with rp-page-intro--image-right / --image-left.
   ================================================================ */

.rp-page {
  color: var(--rp-text);
  background: var(--rp-white);
}

.rp-page-intro {
  padding: clamp(2.5rem, 5vw, 4rem) 1rem;
  background: var(--rp-ivory);
  overflow: hidden;
}

.rp-page-intro__inner {
  width: min(100%, var(--rp-container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
}

.rp-page-intro__content {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 5vw, 4rem);
  background: rgba(255, 255, 255, 0.95);
  border-left: 5px solid var(--rp-teal);
  box-shadow: var(--rp-shadow);
}

.rp-page-intro__content h1 {
  max-width: 14ch;
  margin-bottom: 1.2rem;
}

.rp-page-intro__content p {
  max-width: 62ch;
  margin-bottom: 0;
  font-size: clamp(1.02rem, 1.35vw, 1.12rem);
  line-height: 1.75;
}

.rp-page-intro__media {
  position: relative;
  z-index: 1;
  min-height: clamp(430px, 45vw, 610px);
  overflow: hidden;
  box-shadow: 0 16px 42px rgba(27, 63, 68, 0.12);
}

.rp-page-intro__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.rp-page-intro--image-right .rp-page-intro__content {
  margin-right: -4rem;
}

.rp-page-intro--image-left .rp-page-intro__inner {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
}

.rp-page-intro--image-left .rp-page-intro__media {
  grid-column: 1;
  grid-row: 1;
}

.rp-page-intro--image-left .rp-page-intro__content {
  grid-column: 2;
  grid-row: 1;
  margin-left: -4rem;
  border-right: 5px solid var(--rp-teal);
  border-left: 0;
}

.rp-content-section {
  padding: clamp(2.5rem, 5vw, 4rem) 1rem;
  background: var(--rp-white);
}

.rp-content-section--tint {
  background: var(--rp-teal-soft);
}

.rp-content-inner {
  width: min(100%, 1000px);
  margin-inline: auto;
}

.rp-content-inner > h2 {
  margin-bottom: 1.2rem;
}

.rp-content-inner > p {
  margin-bottom: 1.25rem;
}

.rp-highlight-box {
  margin: clamp(2rem, 4vw, 3rem) 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--rp-ivory);
  border: 1px solid var(--rp-border);
  border-left: 5px solid var(--rp-teal);
}

.rp-highlight-box > p:first-child {
  margin-bottom: 1.25rem;
  color: var(--rp-ink);
  font-family: var(--rp-font-heading);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.25;
}

.rp-embedded-module {
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(2rem, 4vw, 3rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--rp-ivory);
  border: 1px solid var(--rp-border);
  border-left: 5px solid var(--rp-teal);
}

.rp-embedded-module > :last-child {
  margin-bottom: 0;
}

.rp-check-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 2rem;
  list-style: none;
}

.rp-check-list--single {
  grid-template-columns: 1fr;
  gap: 0.95rem;
}

.rp-check-list li {
  position: relative;
  margin: 0;
  padding-left: 1.4rem;
  font-size: 0.98rem;
  line-height: 1.6;
}

.rp-check-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 0.48rem;
  height: 0.48rem;
  background: var(--rp-teal);
  border-radius: 50%;
}

.rp-information-grid {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.rp-information-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rp-information-card {
  min-height: 100%;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--rp-white);
  border: 1px solid var(--rp-border);
  border-top: 4px solid var(--rp-teal);
  box-shadow: 0 10px 28px rgba(27, 63, 68, 0.07);
}

.rp-information-card h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.3rem, 2vw, 1.5rem);
}

.rp-information-card p {
  margin-bottom: 0;
  font-size: 0.98rem;
  line-height: 1.7;
}

.rp-contact-panel {
  padding: clamp(1.75rem, 4vw, 3rem);
  color: var(--rp-ink);
  background: var(--rp-ivory);
  border: 1px solid var(--rp-border);
  border-left: 5px solid var(--rp-blue);
  box-shadow: 0 12px 30px rgba(27, 63, 68, 0.07);
}

.rp-contact-panel p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.8;
}

.rp-contact-panel a {
  font-weight: 650;
}

/* Reusable fee and policy layouts. */
.rp-fee-list {
  margin: clamp(1.5rem, 3vw, 2.25rem) 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  list-style: none;
}

.rp-fee-list li {
  margin: 0;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--rp-white);
  border: 1px solid var(--rp-border);
  border-left: 4px solid var(--rp-teal);
  box-shadow: 0 8px 22px rgba(27, 63, 68, 0.06);
}

.rp-fee-list li > span {
  color: var(--rp-ink);
  line-height: 1.6;
}

.rp-fee-list li > strong {
  color: var(--rp-blue);
  font-size: 1.08rem;
  text-align: right;
}

.rp-policy-panel {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--rp-white);
  border: 1px solid var(--rp-border);
  border-left: 5px solid var(--rp-blue);
  box-shadow: 0 12px 30px rgba(27, 63, 68, 0.07);
}

.rp-policy-panel--notice {
  background: #fffaf0;
  border-left-color: var(--rp-yellow);
}

.rp-policy-panel > :last-child {
  margin-bottom: 0;
}

/* Wide, accessible FAQ accordions. */
.rp-faq-inner {
  width: min(100%, 1160px);
  margin-inline: auto;
}

.rp-faq-intro {
  max-width: 920px;
}

.rp-faq-intro p {
  margin-bottom: 0;
  font-size: 1.04rem;
  line-height: 1.8;
}

.rp-faq-list {
  display: grid;
  gap: 1rem;
}

.rp-faq-list details {
  overflow: hidden;
  background: var(--rp-white);
  border: 1px solid var(--rp-border);
  border-left: 5px solid var(--rp-teal);
  box-shadow: 0 8px 24px rgba(27, 63, 68, 0.06);
}

.rp-faq-list details[open] {
  border-left-color: var(--rp-blue);
  box-shadow: 0 14px 34px rgba(27, 63, 68, 0.1);
}

.rp-faq-list summary {
  padding: clamp(1.2rem, 2.5vw, 1.65rem) clamp(1.2rem, 3vw, 1.8rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  color: var(--rp-ink);
  font-family: var(--rp-font-heading);
  font-size: clamp(1.22rem, 2vw, 1.45rem);
  font-weight: 400;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}

.rp-faq-list summary::-webkit-details-marker {
  display: none;
}

.rp-faq-list summary::after {
  content: "+";
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  color: var(--rp-white);
  background: var(--rp-teal);
  border-radius: 50%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
}

.rp-faq-list details[open] summary::after {
  content: "−";
  background: var(--rp-blue);
}

.rp-faq-list summary:focus-visible {
  outline: 3px solid rgba(21, 153, 143, 0.35);
  outline-offset: -3px;
}

.rp-faq-answer {
  padding: clamp(1.25rem, 3vw, 1.8rem);
  background: var(--rp-ivory);
  border-top: 1px solid var(--rp-border);
}

.rp-faq-answer p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.rp-faq-answer > :last-child {
  margin-bottom: 0;
}

/* Consultation-room feature page. */
.rp-room-hero .rp-hero__panel {
  width: min(100%, 700px);
}

.rp-room-hero .rp-hero__panel h1 {
  max-width: 14ch;
}

.rp-room-hero .rp-hero__panel h2 {
  margin: 0;
  color: var(--rp-teal-dark);
  font-family: var(--rp-font-body);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  font-weight: 400;
  line-height: 1.5;
}

.rp-room-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.rp-room-card {
  position: relative;
  min-height: 100%;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--rp-white);
  border: 1px solid var(--rp-border);
  border-top: 5px solid var(--rp-teal);
  box-shadow: 0 14px 34px rgba(27, 63, 68, 0.09);
}

.rp-room-card:nth-child(2) {
  border-top-color: var(--rp-blue);
}

.rp-room-card:nth-child(3) {
  border-top-color: var(--rp-yellow);
}

.rp-room-card__icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.1rem;
  display: grid;
  place-items: center;
  color: var(--rp-white);
  background: var(--rp-teal);
  border-radius: 50%;
  font-size: 1.1rem;
}

.rp-room-card:nth-child(2) .rp-room-card__icon {
  background: var(--rp-blue);
}

.rp-room-card:nth-child(3) .rp-room-card__icon {
  color: var(--rp-ink);
  background: var(--rp-yellow);
}

.rp-room-card h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.28rem, 2vw, 1.5rem);
}

.rp-room-card h3 span {
  display: block;
  margin-top: 0.55rem;
  color: var(--rp-blue);
  font-family: var(--rp-font-body);
  font-size: 0.95rem;
  font-weight: 700;
}

.rp-room-card p:last-child {
  margin-bottom: 0;
}

.rp-session-grid {
  margin: clamp(1.5rem, 3vw, 2.25rem) 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.rp-session-card {
  padding: 1.35rem;
  text-align: center;
  background: var(--rp-white);
  border: 1px solid var(--rp-border);
  box-shadow: 0 8px 22px rgba(27, 63, 68, 0.06);
}

.rp-session-card i {
  margin-bottom: 0.7rem;
  color: var(--rp-teal);
  font-size: 1.35rem;
}

.rp-session-card h3 {
  margin-bottom: 0.35rem;
  font-size: 1.3rem;
}

.rp-session-card p {
  margin: 0;
  color: var(--rp-blue);
  font-weight: 700;
}

.rp-room-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}

.rp-room-feature-panel {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--rp-white);
  border: 1px solid var(--rp-border);
  box-shadow: 0 12px 30px rgba(27, 63, 68, 0.07);
}

.rp-room-feature-panel h2 {
  margin-bottom: 1rem;
}

.rp-room-feature-panel .rp-check-list {
  margin-bottom: 1.5rem;
  grid-template-columns: 1fr;
}

.rp-room-cta {
  padding: clamp(2rem, 5vw, 3.5rem);
  color: var(--rp-white);
  background: var(--rp-blue-dark);
  border-left: 6px solid var(--rp-yellow);
  box-shadow: var(--rp-shadow);
}

.rp-room-cta h2,
.rp-room-cta p,
.rp-room-cta a {
  color: var(--rp-white);
}

.rp-room-cta a {
  font-weight: 700;
  text-decoration-color: rgba(255, 255, 255, 0.65);
}

.rp-room-cta > :last-child {
  margin-bottom: 0;
}

.rp-gallery-panel {
  padding: clamp(1rem, 2.5vw, 1.5rem);
  background: var(--rp-ivory);
  border: 1px solid var(--rp-border);
}

.rp-gallery-panel > :last-child {
  margin-bottom: 0;
}

@media (max-width: 899.98px) {
  .rp-page-intro__inner,
  .rp-page-intro--image-left .rp-page-intro__inner {
    grid-template-columns: 1fr;
  }

  .rp-page-intro__content,
  .rp-page-intro--image-right .rp-page-intro__content,
  .rp-page-intro--image-left .rp-page-intro__content {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    border-right: 0;
    border-left: 5px solid var(--rp-teal);
  }

  .rp-page-intro__media,
  .rp-page-intro--image-left .rp-page-intro__media {
    grid-column: 1;
    grid-row: 2;
    min-height: 380px;
  }

  .rp-room-grid,
  .rp-room-two-column {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 599.98px) {
  .rp-check-list,
  .rp-information-grid {
    grid-template-columns: 1fr;
  }

  .rp-fee-list li {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .rp-fee-list li > strong {
    text-align: left;
  }

  .rp-session-grid {
    grid-template-columns: 1fr;
  }

  .rp-page-intro__content {
    padding: 1.7rem 1.35rem;
  }

  .rp-page-intro__media,
  .rp-page-intro--image-left .rp-page-intro__media {
    min-height: 290px;
  }
}

/* ================================================================
   INTRODUCTION COPY
   ================================================================ */

.rp-copy {
  max-width: 850px;
}

.rp-copy p {
  margin-bottom: 1.2rem;
}

.rp-copy strong {
  color: var(--rp-ink);
  font-weight: 650;
}

.rp-copy a {
  font-weight: 650;
}

/* ================================================================
   THERAPIES GRID
   ================================================================ */

.rp-therapy-grid {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
}

.rp-therapy-grid li {
  margin: 0;
}

.rp-therapy-grid a {
  min-height: 100%;
  padding: 1.35rem 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: var(--rp-ink);
  background: var(--rp-white);
  border: 1px solid var(--rp-border);
  border-left: 4px solid var(--rp-teal);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.55;
  text-decoration: none;
}

.rp-therapy-grid a::before {
  content: "\f15c";
  margin-top: 0.14rem;
  color: var(--rp-teal);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.rp-therapy-grid a:hover,
.rp-therapy-grid a:focus {
  color: var(--rp-teal-dark);
  background: var(--rp-teal-soft);
  border-color: var(--rp-teal);
  transform: translateY(-2px);
}

/* ================================================================
   CONTACT PANELS
   ================================================================ */

.rp-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.rp-contact-card,
body.site a.rp-contact-card {
  min-height: 210px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--rp-ink);
  background: var(--rp-white);
  border: 1px solid var(--rp-border);
  text-align: center;
  text-decoration: none;
}

.rp-contact-card i {
  margin-bottom: 0.85rem;
  color: var(--rp-teal);
  font-size: 1.55rem;
}

.rp-contact-card h3 {
  margin-bottom: 0.45rem;
}

.rp-contact-card p {
  color: var(--rp-muted);
}

.rp-contact-card:hover,
.rp-contact-card:focus,
body.site a.rp-contact-card:hover,
body.site a.rp-contact-card:focus {
  color: var(--rp-ink);
  background: var(--rp-teal-soft);
  border-color: var(--rp-teal);
  transform: translateY(-2px);
}

.rp-contact-line {
  margin-top: 1.5rem;
  text-align: center;
}

.rp-contact-line a {
  font-weight: 650;
}

/* ================================================================
   JOOMLA FORMS AND COMMON COMPONENTS
   ================================================================ */

body.site input[type="text"],
body.site input[type="email"],
body.site input[type="tel"],
body.site input[type="url"],
body.site select,
body.site textarea,
body.site .form-control {
  min-height: 48px;
  padding: 0.72rem 0.85rem;
  color: var(--rp-ink);
  background: var(--rp-white);
  border: 1px solid #b9c8c7;
  border-radius: var(--rp-radius);
  box-shadow: none;
}

body.site textarea,
body.site textarea.form-control {
  min-height: 150px;
}

body.site input:focus,
body.site select:focus,
body.site textarea:focus,
body.site .form-control:focus {
  border-color: var(--rp-teal);
  box-shadow: 0 0 0 0.2rem rgba(21, 153, 143, 0.16);
}

body.site .btn-primary,
body.site button.btn-primary {
  color: var(--rp-white);
  background: var(--rp-teal-dark);
  border-color: var(--rp-teal-dark);
  border-radius: var(--rp-radius);
}

body.site .btn-primary:hover,
body.site .btn-primary:focus,
body.site button.btn-primary:hover,
body.site button.btn-primary:focus {
  background: var(--rp-blue);
  border-color: var(--rp-blue);
}

body.site blockquote {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  color: var(--rp-ink);
  background: var(--rp-grey);
  border-left: 4px solid var(--rp-teal);
  font-family: var(--rp-font-heading);
  font-size: 1.35rem;
}

/* ================================================================
   FOOTER
   ================================================================ */

.container-footer {
  color: rgba(255, 255, 255, 0.88);
  background: var(--rp-blue-dark);
  background-image: none;
  box-shadow: none;
}

.container-footer .grid-child {
  width: min(100% - 2rem, var(--rp-container));
  max-width: var(--rp-container);
  margin-inline: auto;
  padding-block: 2.2rem;
}

.container-footer p,
.container-footer li {
  font-size: 0.88rem;
}

.container-footer a {
  color: var(--rp-white);
}

.container-footer a:hover,
.container-footer a:focus {
  color: #bfe8e3;
}

.back-to-top-link {
  color: var(--rp-white);
  background: var(--rp-teal-dark);
  border-color: var(--rp-white);
}

/* ================================================================
   TABLET
   ================================================================ */

@media (max-width: 991.98px) {
  .rp-topbar {
    min-height: auto;
  }

  .rp-topbar__brand {
    flex-basis: 430px;
  }

  .container-header .container-nav {
    min-height: 58px;
    align-items: center;
    flex-wrap: wrap;
  }

  .container-header .navbar-collapse {
    width: 100%;
    flex-basis: 100%;
  }

  .container-header .mod-menu {
    padding: 0.55rem 0 1rem;
    display: block;
  }

  .container-header .mod-menu > li {
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--rp-border);
  }

  .container-header .mod-menu > li > a,
  .container-header .mod-menu > li > button,
  .container-header .mod-menu > li > .nav-header,
  .container-header .mod-menu > li > .separator {
    width: 100%;
    min-height: 48px;
    padding: 0.8rem 0.75rem;
    justify-content: space-between;
    text-align: left;
  }

  .container-header .mod-menu > li.active > a::after,
  .container-header .mod-menu > li.current > a::after {
    top: 0.45rem;
    right: auto;
    bottom: 0.45rem;
    left: 0;
    width: 3px;
    height: auto;
  }

  .container-header .mod-menu .metismenu-item > ul,
  .container-header .mod-menu .small {
    position: static;
    width: 100%;
    min-width: 0;
    padding: 0.25rem 0 0.55rem 1rem;
    background: var(--rp-ivory);
    border: 0;
    border-left: 3px solid var(--rp-teal);
    border-radius: 0;
    box-shadow: none;
  }

  .container-header .mod-menu .metismenu-item > ul a,
  .container-header .mod-menu .small a {
    padding: 0.7rem 0.85rem;
  }

  .rp-hero {
    min-height: 590px;
    aspect-ratio: auto;
    align-items: flex-end;
    background-position: 56% center;
  }

  .rp-hero__panel {
    width: min(100%, 610px);
  }

  .rp-service-grid {
    grid-template-columns: 1fr;
  }

  .rp-therapy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ================================================================
   MOBILE
   ================================================================ */

@media (max-width: 767.98px) {
  body.site p,
  body.site li {
    font-size: 1rem;
  }

  .rp-topbar {
    padding-block: 1rem;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
  }

  .rp-topbar__brand {
    flex: 0 1 auto;
    width: min(100%, 440px);
  }

  .rp-topbar__brand img {
    margin-inline: auto;
    object-position: center;
  }

  .rp-topbar__contact {
    min-width: 0;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .rp-topbar__contact-item {
    justify-content: center;
  }

  .rp-hero {
    min-height: 0;
    aspect-ratio: auto;
    padding: 4rem 1rem;
    display: flex;
    background-position: center;
    background-size: cover;
  }

  .rp-hero::before {
    display: none;
  }

  .rp-hero__panel {
    width: 100%;
    padding: 1.75rem 1.35rem;
    background: rgba(255, 255, 255, 0.97);
    border-left-width: 4px;
    box-shadow: 0 10px 28px rgba(24, 57, 62, 0.13);
  }

  .rp-hero__panel h1 {
    font-size: clamp(1.85rem, 8vw, 2.25rem);
  }

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

  .rp-button,
  body.site a.rp-button {
    width: 100%;
  }

  .rp-service-grid,
  .rp-contact-grid,
  .rp-therapy-grid {
    grid-template-columns: 1fr;
  }

  .rp-service-card,
  body.site a.rp-service-card {
    min-height: 160px;
    padding: 1.45rem;
    grid-template-columns: auto 1fr;
    gap: 1rem;
  }

  .rp-service-card__icon {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
  }

  .rp-service-card__arrow {
    display: none;
  }

  .rp-contact-card,
  body.site a.rp-contact-card {
    min-height: 175px;
  }
}

@media (max-width: 420px) {
  .rp-topbar__contact {
    gap: 0.2rem;
  }

  .rp-hero {
    padding: 3rem 1rem;
  }

  .rp-service-card,
  body.site a.rp-service-card {
    grid-template-columns: 1fr;
  }
}

/* Respect reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
/* ================================================================
   ROBB PSYCHOLOGY — BOTTOM-A FOOTER MODULE
   ================================================================ */

.rp-footer-module {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  color: var(--rp-text);
  background: var(--rp-ivory);
  border-top: 1px solid var(--rp-border);
}

.rp-footer-module__inner {
  width: min(calc(100% - 2rem), var(--rp-container));
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 3.5rem) 0;
}

.rp-footer-module__logos {
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: center;
  gap: clamp(0.65rem, 1.5vw, 1.15rem);
}

.rp-footer-module__logo {
  min-width: 0;
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
  color: var(--rp-muted);
  background: var(--rp-white);
  border: 1px dashed #b7c7c5;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.rp-footer-module__logo img {
  width: 100%;
  height: 100%;
  padding: 0.65rem;
  display: block;
  object-fit: contain;
}

.rp-footer-module__contact {
  margin-bottom: 1.5rem;
  padding: 1.15rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  color: var(--rp-ink);
  background: var(--rp-white);
  border-top: 3px solid var(--rp-teal);
  box-shadow: 0 8px 22px rgba(27, 63, 68, 0.06);
}

.rp-footer-module__contact span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.rp-footer-module__contact i {
  color: var(--rp-teal-dark);
}

.rp-footer-module__contact a {
  font-weight: 600;
  text-decoration: none;
}

.rp-footer-module p.rp-footer-module__company {
  margin-bottom: 1rem;
  color: var(--rp-text);
  font-size: 0.93rem;
  line-height: 1.75;
  text-align: center;
}

.rp-footer-module p.rp-footer-module__policies {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.9rem;
  text-align: center;
}

.rp-footer-module__policies a {
  color: var(--rp-ink);
  font-weight: 600;
}

/* Tablet */
@media (max-width: 899.98px) {
  .rp-footer-module__logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 599.98px) {
  .rp-footer-module__logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rp-footer-module__contact {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* Homepage hero panel — right aligned */
.rp-hero--panel-right .rp-hero__inner {
  display: flex;
  justify-content: flex-end;
}

.rp-hero--panel-right .rp-hero__panel {
  border-left: 0;
  border-right: 5px solid var(--rp-teal);
}

/* Keep the familiar left accent on mobile */
@media (max-width: 599.98px) {
  .rp-hero--panel-right .rp-hero__panel {
    border-right: 0;
    border-left: 4px solid var(--rp-teal);
  }
}
/* ================================================================
   HOMEPAGE HERO — FULL-WIDTH BOTTOM PANEL
   ================================================================ */

.rp-hero--panel-bottom {
  min-height: 0;
  aspect-ratio: auto;
  padding: 0;
  display: grid;
  grid-template-rows: min(30.4375vw, 407px) auto;
  align-items: stretch;
  background-color: var(--rp-ivory);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.rp-hero--panel-bottom::before {
  display: block;
  inset: 0 0 auto;
  height: min(30.4375vw, 487px);
  background:
    linear-gradient(
      180deg,
      rgba(18, 42, 45, 0.02) 35%,
      rgba(18, 42, 45, 0.22) 100%
    );
}

.rp-hero--panel-bottom .rp-hero__inner {
  grid-row: 2;
  width: 100%;
  max-width: none;
  margin: 0;
}

.rp-hero--panel-bottom .rp-hero__panel {
  width: 100%;
  padding: clamp(1.5rem, 3vw, 2.5rem)
    clamp(1.25rem, 4vw, 4rem);
  display: grid;
  grid-template-columns:
    minmax(260px, 0.85fr)
    minmax(380px, 1.5fr)
    auto;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  background: rgba(255, 255, 255, 0.93);
  border-top: 4px solid var(--rp-teal);
  border-right: 0;
  border-left: 0;
  box-shadow: 0 -12px 34px rgba(24, 57, 62, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.rp-hero--panel-bottom .rp-hero__panel h1 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(1.85rem, 2.6vw, 2.35rem);
  font-weight: 400;
}

.rp-hero--panel-bottom .rp-hero__panel p {
  max-width: none;
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

.rp-hero--panel-bottom .rp-actions {
  margin: 0;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* Tablet */
@media (max-width: 999.98px) {
  .rp-hero--panel-bottom .rp-hero__panel {
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.4fr);
  }

  .rp-hero--panel-bottom .rp-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

/* Mobile */
@media (max-width: 599.98px) {
  .rp-hero--panel-bottom {
    min-height: 0;
    aspect-ratio: auto;
    padding: 0;
    display: grid;
    grid-template-rows: min(30.4375vw, 487px) auto;
    align-items: stretch;
    background-position: center top;
    background-size: 100% auto;
  }

  .rp-hero--panel-bottom .rp-hero__panel {
    padding: 1.5rem 1.25rem;
    display: block;
    border-top: 4px solid var(--rp-teal);
    border-left: 0;
  }

  .rp-hero--panel-bottom .rp-hero__panel h1 {
    margin-bottom: 1rem;
  }

  .rp-hero--panel-bottom .rp-hero__panel p {
    margin-bottom: 1.25rem;
    font-size: 0.97rem;
    line-height: 1.65;
  }

  .rp-hero--panel-bottom .rp-actions {
    display: flex;
    flex-direction: column;
  }
}
/* ================================================================
   ASSESSMENT FEES PAGE
   Page-specific styling only
   ================================================================ */

.ak-fees-page {
  width: min(calc(100% - 2rem), 1120px);
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 4rem) 0;
  color: var(--rp-text, #333333);
}

/* Page headings */
.ak-fees-page .ak-heading {
  margin: 0 0 1.5rem;
  text-align: center;
}

.ak-fees-page .ak-heading h1,
.ak-fees-page .ak-heading h2 {
  margin: 0;
  color: var(--rp-teal-dark, #008d89);
  font-weight: 400;
  line-height: 1.25;
}

.ak-fees-page .ak-heading h1 {
  font-size: clamp(1.8rem, 3vw, 2.35rem);
}

.ak-fees-page .ak-heading h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
}

/* Four-column fee cards */
.ak-fees-page .ak-fee-grid {
  margin: 0 0 1.75rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

/* Two-card row */
.ak-fees-page .ak-fee-grid--two {
  width: min(100%, 750px);
  margin-inline: auto;
  margin-bottom: 1.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Individual fee card */
.ak-fees-page .ak-fee-card {
  min-height: 132px;
  padding: 1.4rem 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #ffffff;
  border: 1px solid #d8e6e8;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(27, 63, 68, 0.08);
}

.ak-fees-page .ak-fee-card h2 {
  margin: 0 0 0.65rem;
  color: var(--rp-text, #333333);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
}

.ak-fees-page .ak-fee-card p {
  margin: 0;
  color: #9d0000;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Payment information panels */
.ak-fees-page .ak-info-panel {
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  padding: clamp(1.4rem, 3vw, 2rem);
  background: #f2f9fa;
  border-left: 5px solid var(--rp-teal, #009b96);
  border-radius: 12px;
}

.ak-fees-page .ak-info-panel p {
  margin: 0 0 1rem;
  line-height: 1.7;
}

.ak-fees-page .ak-info-panel p:last-child {
  margin-bottom: 0;
}

/* Cancellation panel */
.ak-fees-page .ak-notice {
  margin: 0 0 1.75rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: #fff7f2;
  border-left: 5px solid #b8490d;
  border-radius: 12px;
}

.ak-fees-page .ak-notice h2,
.ak-fees-page .ak-confidentiality h2 {
  margin: 0 0 1rem;
  color: var(--rp-teal-dark, #008d89);
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 400;
  line-height: 1.3;
}

.ak-fees-page .ak-notice p,
.ak-fees-page .ak-confidentiality p {
  margin: 0 0 1rem;
  line-height: 1.7;
}

.ak-fees-page .ak-notice p:last-child,
.ak-fees-page .ak-confidentiality p:last-child {
  margin-bottom: 0;
}

/* Confidentiality panel */
.ak-fees-page .ak-confidentiality {
  margin: 0;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: #f5f5f5;
  border-left: 5px solid #858585;
  border-radius: 12px;
}

/* Tablet */
@media (max-width: 899.98px) {
  .ak-fees-page .ak-fee-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ak-fees-page .ak-fee-grid--two {
    width: 100%;
  }
}

/* Mobile */
@media (max-width: 599.98px) {
  .ak-fees-page {
    width: min(calc(100% - 1.5rem), 1120px);
    padding: 2rem 0;
  }

  .ak-fees-page .ak-fee-grid,
  .ak-fees-page .ak-fee-grid--two {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .ak-fees-page .ak-fee-card {
    min-height: 0;
    padding: 1.25rem 1rem;
  }

  .ak-fees-page .ak-info-panel,
  .ak-fees-page .ak-notice,
  .ak-fees-page .ak-confidentiality {
    padding: 1.35rem 1.15rem;
  }
}
/* Full-width information card */
.rp-information-card--full {
  grid-column: 1 / -1;
}
/* ================================================================
   TEAM BLOG PAGE
   Menu item Page Class: rp-team-blog
   ================================================================ */

.rp-team-blog .com-content-category-blog__items.blog-items {
  width: min(calc(100% - 2rem), var(--rp-container));
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 4rem) 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(1rem, 2vw, 1.5rem);
}

/* Equal-height profile cards */
.rp-team-blog .com-content-category-blog__items .blog-item {
  position: relative;
  min-width: 0;
  height: 100%;
  padding: clamp(1rem, 2vw, 1.4rem);
  display: flex;
  flex-direction: column;
  background: var(--rp-white);
  border: 1px solid var(--rp-border);
  border-top: 4px solid var(--rp-teal);
  border-radius: var(--rp-radius);
  box-shadow: 0 10px 28px rgba(27, 63, 68, 0.07);
  overflow: hidden;
  transition:
    border-color var(--rp-transition),
    box-shadow var(--rp-transition),
    transform var(--rp-transition);
}

.rp-team-blog .com-content-category-blog__items .blog-item:hover {
  border-color: rgba(21, 153, 143, 0.55);
  box-shadow: 0 16px 36px rgba(27, 63, 68, 0.12);
  transform: translateY(-3px);
}

/* Profile images */
.rp-team-blog .blog-item .item-image {
  float: none;
  width: 100%;
  margin: 0 0 1.15rem;
  text-align: center;
}

.rp-team-blog .blog-item .item-image a {
  display: block;
}

.rp-team-blog .blog-item .item-image img {
  width: 100%;
  max-width: 220px;
  height: 250px;
  margin-inline: auto;
  display: block;
  object-fit: cover;
  object-position: center top;
}

/* Card content */
.rp-team-blog .blog-item .item-content {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

/* Smaller profile headings */
.rp-team-blog .blog-item .page-header {
  margin: 0;
  padding: 0;
  border: 0;
}

.rp-team-blog .blog-item .page-header h2,
.rp-team-blog .blog-item .item-title {
  margin: 0 0 0.65rem;
  color: var(--rp-ink);
  font-size: clamp(1.2rem, 1.6vw, 1.4rem);
  font-weight: 400;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.rp-team-blog .blog-item .page-header h2 a,
.rp-team-blog .blog-item .item-title a {
  color: inherit;
  text-decoration: none;
}

.rp-team-blog .blog-item .page-header h2 a:hover,
.rp-team-blog .blog-item .page-header h2 a:focus,
.rp-team-blog .blog-item .item-title a:hover,
.rp-team-blog .blog-item .item-title a:focus {
  color: var(--rp-teal-dark);
}

/* Profile introduction */
.rp-team-blog .blog-item p {
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Keep buttons aligned along the bottom */
.rp-team-blog .blog-item .readmore {
  margin-top: auto;
  padding-top: 1rem;
}

.rp-team-blog .blog-item .readmore .btn,
.rp-team-blog .blog-item .readmore a {
  width: 100%;
  min-height: 42px;
  padding: 0.6rem 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--rp-teal-dark);
  background: var(--rp-white);
  border: 1px solid var(--rp-border);
  border-radius: var(--rp-radius);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.rp-team-blog .blog-item .readmore .btn:hover,
.rp-team-blog .blog-item .readmore .btn:focus,
.rp-team-blog .blog-item .readmore a:hover,
.rp-team-blog .blog-item .readmore a:focus {
  color: var(--rp-white);
  background: var(--rp-teal-dark);
  border-color: var(--rp-teal-dark);
}

/* Logged-in editing controls */
.rp-team-blog .blog-item .icons {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
}

/* Tablet */
@media (max-width: 999.98px) {
  .rp-team-blog .com-content-category-blog__items.blog-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 599.98px) {
  .rp-team-blog .com-content-category-blog__items.blog-items {
    width: min(calc(100% - 1.5rem), var(--rp-container));
    grid-template-columns: 1fr;
  }

  .rp-team-blog .blog-item {
    padding: 1.25rem;
  }

  .rp-team-blog .blog-item .item-image img {
    max-width: 260px;
    height: 300px;
  }
}