:root{
  --rc-bg: #f5f5f2;
  --rc-card: #ffffff;
  --rc-text: #171717;
  --rc-muted: #6f6f6a;
  --rc-border: #deded8;
  --rc-brand: #171717;
  --rc-brand-dark: #000000;
  --rc-link: #171717;
  --rc-radius: 12px;
  --rc-shadow: none;
  --rc-shadow-hover: none;
}

/* Keep Drupal validation messages visible while debugging account/settings saves. */




/* Philosopher’s Hub final UI corrections. */




















/* Final final overrides: profile buttons,
publications,
privacy,
.rc-account-delete-link,
.rc-account-delete-confirm,
.rc-account-cancel-button,
.rc-privacy-actions button{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 10px 18px !important;
  border: 1.5px solid #cfd8e3 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #111827 !important;
  font-weight: 900 !important;
  text-align: center !important;
  text-decoration: none !important;
  line-height: 1 !important;
  box-shadow: none !important;
}
.rc-account-delete-link:hover,
.rc-account-delete-confirm:hover,
.rc-account-cancel-button:hover,
.rc-privacy-panel{
  border: 1px solid #e5e7eb !important;
  background: #ffffff !important;
}

.rc-settings-sidebar a{
  display: flex !important;
  align-items: center !important;
  min-height: 64px !important;
  padding: 0 32px !important;
  border-bottom: 1px solid #e5e7eb !important;
  color: #374151 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.rc-settings-sidebar a.is-active{
  border-left: 4px solid #2563eb !important;
  color: #111827 !important;
  box-shadow: inset 0 -2px 0 #111827 !important;
}

.rc-privacy-settings-form section{
  padding: 28px 0 !important;
  border-bottom: 1px solid #e5e7eb !important;
}

.rc-privacy-settings-form select,
.rc-privacy-settings-form input[type="text"]{
  min-height: 56px !important;
  width: 100% !important;
  border: 0 !important;
  border-bottom: 2px solid #c8ccd2 !important;
  background: #f3f4f6 !important;
  padding: 0 16px !important;
  color: #111827 !important;
  font: inherit !important;
}

.rc-privacy-check{
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.rc-privacy-check input{
  width: 22px !important;
  height: 22px !important;
  accent-color: #2563eb !important;
}

body.path-user-cancel .form-actions a,
body.path-user-cancel .form-actions .button,
body.path-user-cancel .form-actions input[type="submit"],
body.path-user-logout-confirm .form-actions a,
body.path-user-logout-confirm .form-actions .button{
  grid-template-columns: auto minmax(0, 1fr) auto !important;
}
.rc-feed-comments{
  grid-column: 2 / -1 !important;
}
.rc-feed-comments button,
.rc-message-compose button,
.rc-requests-page .rc-primary-action,
.rc-messages-page .rc-primary-action{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 9px 16px !important;
  border: 1.5px solid #d7dee8 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #111827 !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  line-height: 1 !important;
  cursor: pointer !important;
}
.rc-feed-comments button:hover,
.rc-message-compose button:hover,
.rc-requests-page .rc-primary-action:hover,
.rc-messages-page .rc-primary-action:hover{
  border-color: #2563eb !important;
  background: #eef5ff !important;
  color: #0f46d2 !important;
}

.rc-feed-save.is-saved{
  border-color: #2563eb !important;
  background: #eaf2ff !important;
  color: #0f46d2 !important;
}

.rc-feed-comments{
  display: grid !important;
  gap: 12px !important;
  margin-top: 8px !important;
  padding: 14px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  background: #f8fafc !important;
}

.rc-feed-comments[hidden]{
  display: none !important;
}

.rc-feed-comment-list{
  display: grid !important;
  gap: 8px !important;
}

.rc-feed-comment-list p{
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #1f2937 !important;
}

.rc-feed-comment-list small{
  color: #64748b !important;
  font-size: 12px !important;
}

.rc-feed-comments form,
.rc-message-compose{
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.rc-feed-comments input,
.rc-message-compose input{
  flex: 1 1 auto !important;
  min-height: 46px !important;
  min-width: 0 !important;
  border: 1.5px solid #d7dee8 !important;
  border-radius: 8px !important;
  padding: 0 14px !important;
  color: #111827 !important;
}

.rc-request-card.is-reviewed{
  border-color: #d7dee8 !important;
  background: #fbfdff !important;
}

.rc-request-actions button:disabled{
  opacity: 0.55 !important;
  cursor: not-allowed !important;
}

/* Final fixes: funding import,
publication stats,
project collaborator checkbox{
  grid-template-columns: minmax(210px, 250px) minmax(0, 1fr) !important;
  gap: 28px !important;
  width: 100% !important;
}

.rc-publication-stats{
  min-width: 0 !important;
  overflow: hidden !important;
}

.rc-publication-stats h4{
  margin: 0 0 18px !important;
  color: #111827 !important;
  font-size: 24px !important;
  line-height: 1.15 !important;
}

.rc-publication-stats ul{
  display: grid !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.rc-publication-stats li{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 44px !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid #edf0f3 !important;
  color: #374151 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.rc-publication-stats li span{
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}

.rc-publication-stats li strong{
  min-width: 28px !important;
  text-align: right !important;
  color: #111827 !important;
  font-size: 16px !important;
}

.rc-publication-stats .is-total{
  border-bottom: 0 !important;
  font-weight: 900 !important;
}

.rc-publication-authorship{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  margin-top: 18px !important;
  padding: 12px 14px !important;
  border: 1.5px solid #cfd8e3 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #1d4ed8 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
}

.rc-publication-authorship:hover{
  border-color: #2563eb !important;
  background: #eef5ff !important;
  color: #0f46d2 !important;
}

.rc-project-collab-toggle{
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 16px !important;
  border: 1.5px solid #dbe5f1 !important;
  border-radius: 8px !important;
  background: #f8fbff !important;
  color: #111827 !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

.rc-project-collab-toggle input[type="checkbox"]{
  appearance: none !important;
  display: inline-grid !important;
  place-items: center !important;
  width: 32px !important;
  height: 32px !important;
  flex: 0 0 32px !important;
  margin: 0 !important;
  border: 3px solid #111827 !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  cursor: pointer !important;
}

.rc-project-collab-toggle input[type="checkbox"]:checked{
  border-color: #2563eb !important;
  background: #2563eb !important;
}

.rc-project-collab-toggle input[type="checkbox"]:checked::after{
  content: "×" !important;
  color: #ffffff !important;
  font-size: 28px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.rc-secondary-action,
.rc-funding-import-form .form-submit{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  padding: 12px 20px !important;
  border: 1.5px solid #cfd8e3 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #111827 !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.rc-secondary-action:hover,
.rc-funding-import-form .form-submit:hover{
  border-color: #2563eb !important;
  background: #eef5ff !important;
  color: #0f46d2 !important;
}

.rc-funding-import-form{
  width: min(100% - 48px, 1040px) !important;
  margin: 64px auto !important;
  padding: 36px !important;
  border: 1px solid #dbe5f1 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
}

.rc-funding-import-intro h2{
  margin: 0 0 12px !important;
  color: #0b1744 !important;
  font-size: 34px !important;
}

.rc-funding-import-intro p,
.rc-funding-import-form .description{
  color: #53627a !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}

.rc-help-center-page{
  min-height: 100vh !important;
  background: #ffffff !important;
}

.rc-help-topbar{
  display: grid !important;
  grid-template-columns: 240px minmax(280px, 680px) 1fr !important;
  align-items: center !important;
  gap: 32px !important;
  min-height: 88px !important;
  padding: 0 44px !important;
  border-bottom: 1px solid #e5e7eb !important;
}

.rc-help-topbar strong{
  color: #111827 !important;
  font-size: 32px !important;
  font-weight: 500 !important;
}

.rc-help-topbar label{
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 54px !important;
  padding: 0 16px !important;
  border: 1px solid #d7e2f2 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
}

.rc-help-topbar input{
  width: 100% !important;
  border: 0 !important;
  outline: 0 !important;
  color: #111827 !important;
  font-size: 18px !important;
}

.rc-help-topbar a{
  justify-self: end !important;
  color: #64748b !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.rc-help-main{
  width: min(100% - 48px, 1060px) !important;
  margin: 80px auto !important;
}

.rc-help-main h1{
  margin: 0 0 28px !important;
  color: #111827 !important;
  font-size: 42px !important;
  line-height: 1.15 !important;
  text-align: center !important;
}

.rc-help-intro{
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  gap: 16px !important;
  align-items: start !important;
  margin-bottom: 28px !important;
  padding: 22px 24px !important;
  border-radius: 8px !important;
  background: #eef5ff !important;
  color: #243044 !important;
}

.rc-help-intro p{
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.45 !important;
}

.rc-help-grid{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

.rc-help-card{
  display: grid !important;
  gap: 14px !important;
  min-height: 214px !important;
  padding: 24px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #111827 !important;
  text-decoration: none !important;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05) !important;
}

.rc-help-card > span{
  color: #475569 !important;
  font-size: 22px !important;
}

.rc-help-card strong{
  color: #2563eb !important;
  font-size: 20px !important;
  text-decoration: underline !important;
}

.rc-help-card p{
  margin: 0 !important;
  color: #374151 !important;
  font-size: 17px !important;
  line-height: 1.45 !important;
}

.rc-help-card:hover{
  border-color: #2563eb !important;
  background: #f8fbff !important;
}

@media (max-width: 900px) {
  .rc-help-topbar{
    grid-template-columns: 1fr !important;
    padding: 20px !important;
  }

  .rc-help-topbar a{
    justify-self: start !important;
  }

  .rc-help-grid{
    grid-template-columns: 1fr !important;
  }
}
.rc-account-delete-link,
.rc-account-delete-confirm,
.rc-account-cancel-button,
.rc-privacy-actions button{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 10px 18px !important;
  border: 1.5px solid #cfd8e3 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #111827 !important;
  font-weight: 900 !important;
  text-align: center !important;
  text-decoration: none !important;
  line-height: 1 !important;
  box-shadow: none !important;
}
.rc-account-delete-link:hover,
.rc-account-delete-confirm:hover,
.rc-account-cancel-button:hover,
.rc-privacy-panel{
  border: 1px solid #e5e7eb;
  background: #ffffff;
}

.rc-settings-sidebar h2,
.rc-privacy-panel h1{
  margin: 0;
  padding: 28px 32px;
  border-bottom: 1px solid #e5e7eb;
  color: #111827;
  font-size: 28px;
  font-weight: 900;
}

.rc-settings-sidebar a{
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 0 32px;
  border-bottom: 1px solid #e5e7eb;
  color: #374151;
  font-weight: 800;
  text-decoration: none;
}

.rc-settings-sidebar a.is-active{
  border-left: 4px solid #2563eb;
  color: #111827;
  box-shadow: inset 0 -2px 0 #111827;
}

.rc-privacy-settings-form{
  display: grid;
  gap: 0;
  padding: 0 32px 36px;
}

.rc-privacy-settings-form section{
  padding: 28px 0;
  border-bottom: 1px solid #e5e7eb;
}

.rc-privacy-settings-form h2{
  margin: 0 0 16px;
  color: #111827;
  font-size: 22px;
  font-weight: 900;
}

.rc-privacy-settings-form p{
  margin: 0 0 14px;
  color: #111827;
  line-height: 1.5;
}

.rc-privacy-settings-form label{
  display: grid;
  gap: 10px;
  margin-top: 16px;
  color: #111827;
  font-weight: 800;
}

.rc-privacy-settings-form select,
.rc-privacy-settings-form input[type="text"]{
  min-height: 56px;
  width: 100%;
  border: 0;
  border-bottom: 2px solid #c8ccd2;
  background: #f3f4f6;
  padding: 0 16px;
  color: #111827;
  font: inherit;
}

.rc-privacy-check{
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 14px !important;
}

.rc-privacy-check input{
  width: 22px;
  height: 22px;
  accent-color: #2563eb;
}

.rc-privacy-actions{
  display: flex;
  justify-content: flex-end;
  padding-top: 28px;
}

.rc-account-delete-link{
  width: fit-content;
  border-color: #111827 !important;
}

body.path-user-cancel .form-actions a,
body.path-user-cancel .form-actions .button,
body.path-user-cancel .form-actions input[type="submit"],
body.path-user-logout-confirm .form-actions a,
body.path-user-logout-confirm .form-actions .button,
body.path-user-logout-confirm .form-actions input[type="submit"]{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1 !important;
}

@media (max-width: 900px) {
  .rc-settings-layout{
    grid-template-columns: 1fr;
  }

  .rc-publication-stats{
    position: static;
  }
}

/* Philosopher’s Hub final UI corrections. Keep these at the bottom. */




















/* Password setup should feel like a focused modal step after email verification. */






body.path-user .rc-content form.user-form.rc-password-setup-form .form-actions{
  display: flex !important;
  justify-content: center !important;
}

/* Final action-button alignment fixes. */








.rc-registration-complete__actions{
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 14px !important;
  text-align: center !important;
}

.rc-registration-complete__actions a,
.rc-registration-complete__button{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  text-decoration: none !important;
  text-align: center !important;
}

.rc-registration-complete__button--secondary,
.rc-registration-complete__actions a:last-child{
  color: #111111 !important;
}

/* Final registration complete button override. */






/* Final registration complete button override. */






/* Registration complete page buttons,
independent of body route classes. */






/* Final Experts directory compact rows: registered users only{
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  margin-top: 12px !important;
}

/* Final expert rows: one clean outer card,
plain text inside{
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  margin-top: 12px !important;
}

/* True final expert row layout: square image left,
details beside it{
  grid-template-columns: 96px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 18px !important;
  min-height: 132px !important;
  padding: 16px 18px !important;
}

/* Final auth form fixes. Keep password reset legal/help links clickable. */
body.path-user-password .rc-content form::after,
html body.path-user-password .rc-content form::after,
.rc-auth-password form::after{
  content: none !important;
  display: none !important;
}



/* Final public-page palette override. Keep anonymous pages black and white. */























*** End of File

/* Final override for platform pages: never show Drupal status/error banners in the app layout. */


/* Final override for platform pages: never show Drupal status/error banners in the app layout. */


/* Final route fixes: keep search details readable and expert names as the only bold profile text. */


.rc-search-result-details div{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  color: #52524d !important;
  font-size: 14px !important;
  font-weight: 400 !important;
}





/* Final custom search overrides. Keep after all theme palette overrides. */
































































.rc-search-result-details{
  display: grid !important;
  gap: 6px !important;
  margin: 12px 0 !important;
}

.rc-search-result-details div{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  color: #52524d !important;
  font-size: 14px !important;
}

.rc-search-result-details span{
  color: #777770 !important;
  font-weight: 600 !important;
}

.rc-search-result-details strong{
  color: #171717 !important;
  font-weight: 800 !important;
}

/* Use the main menu search as the only platform search box. */
.rc-content .rc-workspace-search,
.rc-content .rc-saved-search,
.rc-content .rc-equipment-searchbar,
.rc-content .rc-experts-fallback-search input[type="search"],
.rc-content .rc-experts-fallback-search button[type="submit"]{
  display: none !important;
}

.rc-content .rc-experts-fallback-search{
  grid-template-columns: minmax(260px, 420px) !important;
  width: fit-content !important;
}

@media (max-width: 900px) {
  .rc-search-results-page{
    width: min(100% - 28px, 1440px) !important;
  }

  .rc-search-suggestions{
    width: 100% !important;
  }
}

/* Final custom search overrides. Keep after all theme palette overrides. */
























.rc-search-results-page{
  width: min(100% - 48px, 1440px) !important;
  max-width: none !important;
  margin: 24px auto 70px !important;
  padding: 0 !important;
}

.rc-search-results-count{
  display: inline-flex !important;
  align-items: center !important;
  min-height: 44px !important;
  margin-bottom: 16px !important;
  padding: 0 16px !important;
  border: 1px solid #deded8 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  color: #52524d !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

.rc-search-result-action a{
  background: #171717 !important;
  border-color: #171717 !important;
  color: #ffffff !important;
}



























.rc-search-result-details{
  display: grid !important;
  gap: 8px !important;
  margin: 12px 0 !important;
}

.rc-search-result-details div{
  display: grid !important;
  grid-template-columns: 92px minmax(0, 1fr) !important;
  gap: 10px !important;
}

.rc-search-result-details dt{
  color: #6f6f6a !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.rc-search-result-details dd{
  margin: 0 !important;
  color: #171717 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

@media (max-width: 900px) {
  .rc-search-results-page{
    width: min(100% - 28px, 1440px) !important;
  }

  .rc-search-results-header,
.rc-search-results-form{
    grid-template-columns: 1fr !important;
  }

  .rc-search-results-header{
    padding: 24px !important;
  }

  .rc-search-suggestions,
.rc-search-results-form .rc-search-suggestions{
    width: 100% !important;
  }
}

/* =====================================================
   Philosopher’s Hub search polish.
   Final targeted overrides for the custom search experience.
===================================================== */




.rc-search,
.rc-search-results-form{
  position: relative;
}

.rc-search-suggestions{
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 80;
  width: min(420px, 100%);
  overflow: hidden;
  border: 1px solid #d7d7d1;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(23, 23, 23, 0.14);
  display: none;
}

.rc-search-results-form .rc-search-suggestions{
  width: min(520px, 100%);
}

.rc-search.is-suggesting .rc-search-suggestions,
.rc-search-results-form.is-suggesting .rc-search-suggestions{
  display: block;
}

.rc-search-suggestions a{
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid #ededeb;
  color: #171717 !important;
  font-size: 14px;
  text-decoration: none;
}

.rc-search-suggestions a:last-child{
  border-bottom: 0;
}

.rc-search-suggestions a::before{
  content: ">";
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6f6f6a;
}



.rc-search-suggestions span{
  color: #6f6f6a;
}

.rc-search-suggestions strong{
  color: #171717;
  font-weight: 900;
}



.rc-search-results-header{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: end !important;
  gap: 34px !important;
  padding: 38px !important;
  border: 1px solid #deded8;
  border-radius: 14px;
  background: #ffffff;
}

.rc-search-results-header h1{
  max-width: 760px;
  margin: 0 0 10px !important;
  font-size: clamp(34px, 5vw, 64px) !important;
  line-height: 1;
  letter-spacing: 0 !important;
}



.rc-search-results-form{
  grid-template-columns: minmax(0, 1fr) auto !important;
  padding: 14px;
  border: 1px solid #deded8;
  border-radius: 12px;
  background: #f8f8f5;
}









.rc-search-summary-row a:hover{
  background: #f0f0ed !important;
}

.rc-search-results-layout--wide,
.rc-search-main{
  width: 100%;
}



.rc-search-group-heading{
  align-items: center !important;
  padding: 0 2px 12px;
  border-bottom: 1px solid #deded8;
}



.rc-search-list{
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px !important;
  margin-top: 18px;
}

.rc-search-result-card{
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: start !important;
  gap: 16px !important;
  min-height: 100%;
  padding: 20px !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}



.rc-search-result-content h3{
  font-size: 22px !important;
  line-height: 1.18;
}

.rc-search-result-content p{
  font-size: 15px;
  line-height: 1.55 !important;
}

.rc-search-result-action{
  grid-column: 2;
}

.rc-search-result-action a{
  min-width: 0 !important;
  width: fit-content;
  height: 42px !important;
  border-radius: 8px !important;
}

@media (max-width: 900px) {
  .rc-search-results-page{
    width: min(100% - 28px, 1440px) !important;
  }

  .rc-search-results-header{
    grid-template-columns: 1fr !important;
    padding: 24px !important;
  }

  .rc-search-results-form{
    grid-template-columns: 1fr !important;
  }

  .rc-search-suggestions,
.rc-search-results-form .rc-search-suggestions{
    width: 100%;
  }
}

/* Final login/password interaction polish. */
body.path-user-login .rc-researchconnect-login-form .rc-login-options input[type="checkbox"],
.rc-auth-login .rc-researchconnect-login-form .rc-login-options input[type="checkbox"]{
  appearance: none !important;
  -webkit-appearance: none !important;
  position: relative !important;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 2px solid #171717 !important;
  border-radius: 3px !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 2px rgba(23, 23, 23, 0.08) !important;
  cursor: pointer !important;
}

body.path-user-login .rc-researchconnect-login-form .rc-login-options input[type="checkbox"]:checked,
.rc-auth-login .rc-researchconnect-login-form .rc-login-options input[type="checkbox"]:checked{
  background: #171717 !important;
  border-color: #171717 !important;
}

body.path-user-login .rc-researchconnect-login-form .rc-login-options input[type="checkbox"]:checked::after,
.rc-auth-login .rc-researchconnect-login-form .rc-login-options input[type="checkbox"]:checked::after{
  content: "" !important;
  position: absolute !important;
  left: 7px !important;
  top: 3px !important;
  width: 7px !important;
  height: 13px !important;
  border: solid #ffffff !important;
  border-width: 0 3px 3px 0 !important;
  transform: rotate(45deg) !important;
}

.rc-password-support-links button.rc-password-legal-popup{
  appearance: none;
  border: 0;
  background: transparent;
  color: #4f5f8c !important;
  font: inherit;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
}

.rc-password-support-links button.rc-password-legal-popup:hover{
  color: #171717 !important;
  text-decoration: underline;
}

/* Final auth form fixes. Keep password reset legal/help links clickable. */


body.path-user-password .rc-content .rc-password-support-links,
.rc-auth-password .rc-password-support-links{
  display: flex !important;
}

/* Password reset support links are real links,
not CSS-only text. */
body.path-user-password .rc-content form::after,
.rc-auth-password form::after{
  content: none !important;
  display: none !important;
}

.rc-password-support-links{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: #4f5f8c;
  font-size: 14px;
  font-weight: 700;
}

.rc-password-support-links a{
  color: #4f5f8c !important;
  text-decoration: none;
}

.rc-password-support-links a:hover{
  color: #171717 !important;
  text-decoration: underline;
}
body.path-user-register .rc-account-settings-intro,
body.path-user-register .rc-openalex-import{
  display: none !important;
}

/* Google quick login. Shows only when Drupal has a Google auth provider. */
.rc-google-auth-card{
  display: grid !important;
  justify-items: stretch !important;
  gap: 14px !important;
  margin: 0 0 22px !important;
}

.rc-google-auth-actions{
  display: grid !important;
}

.rc-google-button{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  width: 100% !important;
  min-height: 52px !important;
  padding: 0 18px !important;
  border: 1px solid #171717 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #171717 !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.rc-google-button::before{
  content: "G" !important;
  display: inline-grid !important;
  place-items: center !important;
  width: 24px !important;
  height: 24px !important;
  border: 1px solid #deded8 !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  color: #171717 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.rc-google-button:hover{
  background: #f1f1ef !important;
  color: #171717 !important;
}

/* Final public-page palette override. Keep anonymous pages black and white. */
























/* Public homepage and auth pages: black,
white,
and neutral gray only. */
body:not(.user-logged-in) .rc-site,
body:not(.user-logged-in){
  background: #f7f7f4 !important;
}

body:not(.user-logged-in) .rc-topbar{
  background: #ffffff !important;
  border-bottom: 1px solid #deded8 !important;
  box-shadow: none !important;
}

body:not(.user-logged-in) .rc-logo,
body:not(.user-logged-in) .rc-public-benefits h2,
body:not(.user-logged-in) .rc-public-home h2,
body:not(.user-logged-in) .rc-public-home h3{
  color: #171717 !important;
}







body:not(.user-logged-in) .rc-primary-btn:visited,
body:not(.user-logged-in) .rc-slide-content .rc-primary-btn:visited,
body:not(.user-logged-in) .rc-user-auth-links a:last-child:visited{
  color: #ffffff !important;
}



body:not(.user-logged-in) .rc-slider-prev,
body:not(.user-logged-in) .rc-slider-next{
  background: #171717 !important;
  color: #ffffff !important;
}



body:not(.user-logged-in) .rc-slider-dots span.active{
  background: #171717 !important;
}





body:not(.user-logged-in):is(
  .path-user-login,
.path-user-register,
.path-user-password,
.path-user-logout,
.path-user-logout-confirm,
.path-logged-out
){
  background: #f7f7f4 !important;
}

:is(
  .rc-auth-page,
body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm,
body.path-logged-out
){
  --rc-auth-accent: #171717 !important;
  --rc-auth-accent-dark: #000000 !important;
  --rc-auth-accent-soft: #f1f1ef !important;
  --rc-auth-accent-line: #deded8 !important;
  --rc-auth-accent-shadow: rgba(0, 0, 0, 0.12) !important;
}

:is(
  .rc-auth-page,
body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm,
body.path-logged-out
) .rc-site,
:is(
  .rc-auth-page,
body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm,
body.path-logged-out
) .rc-content{
  background: #f7f7f4 !important;
}

/* Expert rows: larger square photo,
left-aligned details{
  grid-template-columns: 96px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 18px !important;
  min-height: 132px !important;
  padding: 16px 18px !important;
}

/* Experts directory final arrangement: stats above availability{
  grid-template-columns: 42px minmax(0, 1fr) auto !important;
  align-items: center !important;
  min-height: 0 !important;
  padding: 12px !important;
}

/* Expert rows: keep one card per user{
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) max-content !important;
  align-items: center !important;
  gap: 14px !important;
  min-height: 0 !important;
  padding: 14px 16px !important;
  border: 1px solid #deded8 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

/* =========================
   GLOBAL BASE
========================= */

*{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  background: #f5f5f2;
  color: var(--rc-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.55;
  min-height: 100vh;
}

a{
  color: var(--rc-link);
  text-decoration: none;
}

a:hover{
  text-decoration: underline;
}

button,
.button,
input[type="submit"]{
  border-radius: 6px !important;
  border: 1px solid var(--rc-brand-dark) !important;
  background: var(--rc-brand) !important;
  color: #ffffff !important;
  padding: 10px 15px !important;
  font-weight: 700 !important;
  cursor: pointer;
}

button:hover,
.button:hover,
input[type="submit"]:hover{
  background: var(--rc-brand-dark) !important;
}

input,
select,
textarea{
  max-width: 100%;
  border: 1px solid var(--rc-border);
  border-radius: 6px;
  padding: 10px 11px;
  background: #ffffff;
}

/* =========================
   LAYOUT CONTAINERS
========================= */

.rc-container{
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
}

.rc-content .block,
.rc-content article,
.rc-content .node,
.rc-content form{
  background: var(--rc-card);
  border: 1px solid var(--rc-border);
  border-radius: var(--rc-radius);
  box-shadow: var(--rc-shadow);
  padding: 18px;
}

/* =========================
   HEADER / NAVIGATION
========================= */

.rc-topbar{
  position: sticky;
  top: 0;
  z-index: 999;
  background: #ffffff;
  border-bottom: 1px solid var(--rc-border);
  box-shadow: 0 1px 8px rgba(10,31,41,0.08);
}

.rc-topbar__inner{
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
}

.rc-logo{
  font-size: 17px;
  font-weight: 900;
  color: var(--rc-brand);
  text-decoration: none;
  white-space: nowrap;
}

.rc-main-menu{
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 18px;
}

.rc-main-menu a{
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 38px;
  padding: 0 11px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--rc-text);
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.rc-main-menu a:hover,
.rc-main-menu a:focus-visible,
.rc-main-menu a.active{
  background: #f0f0ed;
  color: var(--rc-brand-dark);
  text-decoration: none;
  box-shadow: inset 0 0 0 1px #deded8;
}

.rc-search{
  display: flex;
  flex: 1;
  max-width: 380px;
  margin-left: auto;
  gap: 7px;
}

.rc-search input{
  width: 100%;
  height: 36px;
  font-size: 13px;
  border-radius: 8px;
  border: 1px solid var(--rc-border);
  padding: 7px 10px;
}

.rc-search button{
  height: 36px !important;
  padding: 0 14px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

.rc-top-icons{
  display: flex;
  align-items: center;
  gap: 13px;
}

.rc-top-icon{
  position: relative;
  font-size: 17px;
  color: var(--rc-text);
  text-decoration: none;
  line-height: 1;
}

.rc-top-icon span{
  position: absolute;
  top: -8px;
  right: -9px;
  background: #ef4444;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rc-layout,
.rc-topbar{
  transition: margin-left 0.3s ease;
}

.rc-user-dropdown{
  position: relative;
  margin-left: 0 !important;
}

.rc-user-button{
  display: flex !important;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  background: transparent !important;
  border: none !important;
  padding: 0 !important;

  border-radius: 50%;
  overflow: hidden;

  cursor: pointer;
}

.rc-user-button img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.rc-user-menu{
  display: none;
  position: absolute;
  right: 0;
  top: 44px;
  min-width: 210px;
  background: #ffffff;
  border: 1px solid var(--rc-border);
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  z-index: 9999;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.2s ease;
  pointer-events: none;
}

.rc-user-menu a{
  display: block;
  padding: 12px 15px;
  color: var(--rc-text);
  text-decoration: none;
  font-weight: 700;
}

.rc-user-menu{
  min-width: 230px;
  padding: 8px;
}

.rc-user-menu-head{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px 12px;
  margin-bottom: 4px;
  border-radius: 10px;
  background: #eef9f8;
  color: var(--rc-text);
}

.rc-user-menu-avatar{
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid rgba(73, 165, 158, 0.35);
  background: #ffffff;
}

.rc-user-menu-avatar img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.rc-user-menu-head strong,
.rc-user-menu-head small{
  display: block;
  line-height: 1.25;
}

.rc-user-menu-head strong{
  font-size: 13px;
  font-weight: 800;
}

.rc-user-menu-head small{
  margin-top: 2px;
  color: var(--rc-muted);
  font-size: 11px;
  font-weight: 700;
}

.rc-user-menu a{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  font-size: 13px;
  border-radius: 8px;
}

.rc-user-menu a:hover{
  background: #f0f0ed;
  color: var(--rc-brand-dark);
}

.rc-menu-divider{
  height: 1px;
  background: #e5e7eb;
  margin: 6px 0;
}

.rc-menu-badge{
  margin-left: auto;
  background: #171717;
  color: #ffffff;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rc-user-dropdown.open .rc-user-menu{
  display: block !important;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.rc-add-new{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 13px;
  border-radius: 8px;
  background: var(--rc-brand);
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
}

.rc-add-new:hover{
  background: var(--rc-brand-dark);
}

/* ADD NEW DROPDOWN */

.rc-add-dropdown{
  position: relative;
}

.rc-add-menu{
  display: none;

  position: absolute;
  right: 0;
  top: 42px;

  width: 520px;

  background: #ffffff;
  border: 1px solid var(--rc-border);
  border-radius: 14px;

  box-shadow: 0 16px 40px rgba(0,0,0,0.16);

  padding: 18px;

  z-index: 99999;

  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.rc-add-dropdown.open .rc-add-menu{
  display: grid;
}

.rc-add-column{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rc-add-column h4{
  margin: 8px 0 6px;

  font-size: 11px;
  font-weight: 900;

  text-transform: uppercase;

  color: #64717d;
}

.rc-add-column a{
  display: flex;
  align-items: center;
  gap: 8px;

  padding: 9px 10px;

  border-radius: 8px;

  color: #17212b;
  font-size: 13px;
  font-weight: 700;

  text-decoration: none;
}

.rc-add-column a:hover{
  background: #f0f0ed;
  color: var(--rc-brand-dark);
}

.rc-view-all-options{
  justify-content: center;

  margin-top: 18px;

  border: 1px solid var(--rc-border);

  color: var(--rc-brand-dark) !important;
}

.rc-user-auth-links{
  display: flex;
  align-items: center;
  gap: 10px;
}

/* =========================================
   SEARCH RESULTS PAGE
========================================= */

.rc-search-results-page{
  max-width: 1500px;
  margin: 30px auto;
  padding: 0 20px;
}

.rc-search-results-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;

  margin-bottom: 28px;
}

.rc-search-results-header h1{
  margin: 0 0 8px;

  font-size: 42px;
  font-weight: 900;

  color: #171717;
}

.rc-search-results-header p{
  margin: 0;

  color: #6f6f6a;

  font-size: 16px;
}

.rc-search-results-header strong{
  color: #171717;
}

.rc-search-results-form{
  display: grid;
  grid-template-columns: minmax(260px, 460px) auto;
  gap: 10px;
  align-items: center;
}

.rc-search-results-form input{
  width: 100%;
  height: 48px;
  border: 1px solid #d9e1e6;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 15px;
}

.rc-search-results-form button{
  height: 48px !important;
  padding: 0 22px !important;
  border-radius: 12px !important;
  font-weight: 900 !important;
  background: #171717 !important;
}

.rc-search-summary-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.rc-search-summary-row a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #d9e1e6;
  border-radius: 999px;
  background: #ffffff;
  color: #171717;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.rc-search-summary-row strong{
  min-width: 26px;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f0f0ed;
}

/* LAYOUT */

.rc-search-results-layout{
  display: grid;

  grid-template-columns: 300px 1fr;

  gap: 28px;

  align-items: start;
}

.rc-search-results-layout--wide{
  display: block;
}

.rc-search-group{
  margin-bottom: 34px;
}

.rc-search-group-heading{
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 14px;
}

.rc-search-group-heading h2{
  margin: 0;
  color: #171717;
  font-size: 24px;
  font-weight: 900;
}

.rc-search-group-heading span{
  color: #6f6f6a;
  font-size: 13px;
  font-weight: 800;
}

/* FILTER SIDEBAR */

.rc-search-filter-card{
  background: #ffffff;

  border: 1px solid #d9e1e6;
  border-radius: 18px;

  padding: 22px;

  box-shadow: 0 6px 18px rgba(23, 23, 23, 0.06);

  position: sticky;
  top: 90px;
}

.rc-filter-title{
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 25px;
}

.rc-filter-title strong{
  font-size: 20px;
  color: #171717;
}

.rc-filter-title a{
  color: #171717;
  font-weight: 800;
  font-size: 13px;
}

.rc-search-filter-card h4{
  margin-top: 22px;
  margin-bottom: 14px;

  font-size: 14px;
  font-weight: 900;

  color: #171717;
}

.rc-search-filter-card label{
  display: flex;
  align-items: center;

  gap: 10px;

  margin-bottom: 12px;

  font-size: 14px;

  color: #334155;
}

.rc-search-filter-card select,
.rc-search-filter-card input[type="text"]{
  width: 100%;

  height: 44px;

  border: 1px solid #d9e1e6;
  border-radius: 10px;

  padding: 0 14px;

  background: #ffffff;
}

.rc-search-filter-card button{
  width: 100%;

  margin-top: 24px !important;

  height: 46px;

  border-radius: 12px !important;

  background: linear-gradient(135deg, #171717, #000000) !important;

  font-weight: 800 !important;
}

/* TABS */

.rc-search-tabs{
  display: flex;
  gap: 30px;

  background: #ffffff;

  border: 1px solid #d9e1e6;
  border-radius: 16px;

  padding: 0 24px;

  margin-bottom: 24px;

  overflow-x: auto;
}

.rc-search-tabs a{
  display: inline-flex;
  align-items: center;

  height: 60px;

  color: #475569;

  font-size: 14px;
  font-weight: 800;

  text-decoration: none;

  white-space: nowrap;

  border-bottom: 3px solid transparent;
}

.rc-search-tabs a.active{
  color: #171717;
  border-bottom-color: #171717;
}

/* RESULTS LIST */

.rc-search-list{
  display: flex;
  flex-direction: column;

  gap: 20px;
}

/* RESULT CARD */

.rc-search-result-card{
  display: grid;

  grid-template-columns: 70px 1fr auto;

  gap: 18px;

  align-items: center;

  background: #ffffff;

  border: 1px solid #d9e1e6;
  border-radius: 18px;

  padding: 22px;

  box-shadow: 0 6px 18px rgba(23, 23, 23, 0.06);

  transition: 0.25s ease;
}

.rc-search-result-card:hover{
  transform: translateY(-3px);

  box-shadow: 0 14px 30px rgba(23, 23, 23, 0.10);
}

/* ICON */

.rc-search-result-icon{
  width: 64px;
  height: 64px;

  border-radius: 14px;

  background: #f0f0ed;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 30px;
}

/* CONTENT */

.rc-search-result-type{
  display: inline-flex;
  align-items: center;

  width: fit-content;

  padding: 6px 12px;

  border-radius: 999px;

  background: #f0f0ed;

  color: #000000;

  font-size: 11px;
  font-weight: 900;

  margin-bottom: 10px;
}

.rc-search-result-content h3{
  margin: 0 0 10px;

  font-size: 24px;

  color: #171717;
}

.rc-search-result-content h3 a{
  color: inherit;
  text-decoration: none;
}

.rc-search-result-content h3 a:hover{
  color: #171717;
}

.rc-search-result-content p{
  margin: 0 0 12px;

  color: #475569;

  line-height: 1.7;
}

.rc-search-result-meta{
  color: #6f6f6a;

  font-size: 13px;
}

/* BUTTON */

.rc-search-result-action a{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 130px;

  height: 46px;

  padding: 0 20px;

  border-radius: 12px;

  background: linear-gradient(135deg, #171717, #000000);

  color: #ffffff !important;

  font-size: 13px;
  font-weight: 800;

  text-decoration: none !important;

  transition: 0.25s ease;
}

.rc-search-result-action a:hover{
  transform: translateY(-2px);
}

/* =========================================
   ADVANCED SEARCH FILTERS
========================================= */

.path-search-results .view-filters,
.path-search-results .views-exposed-form{
  background: #ffffff !important;

  border: 1px solid #d9e1e6 !important;
  border-radius: 20px !important;

  padding: 24px !important;

  margin-bottom: 30px !important;

  box-shadow: 0 6px 18px rgba(23, 23, 23, 0.06) !important;
}

/* FILTER GRID */

.path-search-results .views-exposed-form{
  display: grid !important;

  grid-template-columns:
    minmax(300px, 2fr)
    minmax(180px, 1fr)
    minmax(180px, 1fr)
    auto !important;

  gap: 18px !important;

  align-items: end !important;
}

/* FORM ITEMS */

.path-search-results .views-exposed-form .form-item{
  margin: 0 !important;
}

/* LABELS */

.path-search-results .views-exposed-form label{
  display: block;

  margin-bottom: 8px;

  font-size: 12px;
  font-weight: 900;

  color: #171717;
}

/* INPUTS */

.path-search-results .views-exposed-form input[type="text"],
.path-search-results .views-exposed-form input[type="search"],
.path-search-results .views-exposed-form select{
  width: 100% !important;

  height: 48px !important;

  border: 1px solid #cbd5e1 !important;
  border-radius: 14px !important;

  padding: 0 16px !important;

  background: #ffffff !important;

  font-size: 14px !important;

  transition: 0.2s ease;
}

/* FOCUS */

.path-search-results .views-exposed-form input:focus,
.path-search-results .views-exposed-form select:focus{
  outline: none !important;

  border-color: #171717 !important;

  box-shadow: 0 0 0 4px rgba(23, 23, 23, 0.10) !important;
}

/* SEARCH BUTTON */

.path-search-results .views-exposed-form input[type="submit"]{
  height: 48px !important;

  min-width: 140px !important;

  border: none !important;
  border-radius: 14px !important;

  background: linear-gradient(
    135deg,
    #171717,
    #000000
  ) !important;

  color: #ffffff !important;

  font-size: 14px !important;
  font-weight: 900 !important;

  box-shadow: 0 8px 20px rgba(23, 23, 23, 0.20);

  transition: 0.25s ease;
}

.path-search-results .views-exposed-form input[type="submit"]:hover{
  transform: translateY(-2px);

  box-shadow: 0 12px 24px rgba(23, 23, 23, 0.28);
}

/* RESULTS CONTAINER */

.path-search-results .view-content{
  display: flex;
  flex-direction: column;

  gap: 22px;
}

/* EACH RESULT */

.path-search-results .views-row{
  position: relative;

  background: #ffffff !important;

  border: 1px solid #d9e1e6 !important;
  border-radius: 20px !important;

  padding: 26px !important;

  box-shadow: 0 6px 18px rgba(23, 23, 23, 0.06);

  transition: 0.25s ease;
}

.path-search-results .views-row:hover{
  transform: translateY(-3px);

  box-shadow: 0 16px 34px rgba(23, 23, 23, 0.10);
}

/* TITLES */

.path-search-results .views-row h2,
.path-search-results .views-row h3,
.path-search-results .views-row .views-field-title{
  margin-top: 0 !important;

  font-size: 24px !important;
  font-weight: 900 !important;

  color: #171717 !important;
}

/* LINKS */

.path-search-results .views-row a{
  text-decoration: none !important;
}

.path-search-results .views-row a:hover{
  color: #171717 !important;
}

/* BODY TEXT */

.path-search-results .views-row p,
.path-search-results .views-row .views-field-body,
.path-search-results .views-row .search-snippet-info{
  color: #475569 !important;

  line-height: 1.8 !important;
}

/* PAGER */

.path-search-results .pager{
  margin-top: 40px;
}

.path-search-results .pager__items{
  display: flex;
  justify-content: center;
  gap: 10px;

  list-style: none;
  padding: 0;
}

.path-search-results .pager__item a{
  display: flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  border-radius: 12px;

  background: #ffffff;

  border: 1px solid #d9e1e6;

  color: #171717;

  font-weight: 800;

  text-decoration: none;
}

.path-search-results .pager__item.is-active a,
.path-search-results .pager__item a:hover{
  background: #171717;
  color: #ffffff;
}

/* MOBILE */

@media (max-width: 1100px){

  .path-search-results .views-exposed-form {
    grid-template-columns: 1fr !important;
  }

}

@media (max-width: 768px) {

  .rc-search-results-header{
    display: block;
  }

  .rc-search-results-form{
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .rc-search-group-heading{
    display: block;
  }

  .rc-search-result-card{
    grid-template-columns: 1fr;
  }

  .rc-search-result-action a{
    width: 100%;
  }

  .path-search-results .views-row{
    padding: 20px !important;
  }

  .path-search-results .views-row h2,
.path-search-results .views-row h3{
    font-size: 20px !important;
  }

}

/* NO RESULTS */

.rc-no-results{
  background: #ffffff;

  border: 1px solid #d9e1e6;
  border-radius: 18px;

  padding: 60px 30px;

  text-align: center;
}

.rc-no-results h3{
  margin-top: 0;

  font-size: 28px;

  color: #171717;
}

.rc-no-results p{
  color: #6f6f6a;
}

/* MOBILE */

@media (max-width: 1100px){

  .rc-search-results-layout {
    grid-template-columns: 1fr;
  }

  .rc-search-filter-card {
    position: relative;
    top: auto;
  }

}

@media (max-width: 768px) {

  .rc-search-result-card{
    grid-template-columns: 1fr;

    text-align: center;
  }

  .rc-search-result-icon{
    margin: 0 auto;
  }

  .rc-search-result-action a{
    width: 100%;
  }

  .rc-search-tabs{
    gap: 18px;
  }

}

/* =========================================
   ALERT DROPDOWNS
   Requests / Messages / Notifications
========================================= */

.rc-top-icons{
  display: flex;
  align-items: center;
  gap: 14px;
}

/* DROPDOWN WRAPPER */

.rc-alert-dropdown{
  position: relative;
}

/* ICON BUTTON */

.rc-alert-button{
  position: relative;

  display: flex !important;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  background: transparent !important;
  border: none !important;

  padding: 0 !important;

  font-size: 18px;

  cursor: pointer;

  border-radius: 50%;

  transition: 0.2s ease;
}

.rc-alert-button:hover,
.rc-alert-button:focus-visible,
.rc-alert-dropdown.open .rc-alert-button{
  background: #f0f0ed !important;
  color: var(--rc-brand-dark) !important;
  box-shadow: inset 0 0 0 1px #deded8;
  outline: none;
}

/* BADGE */

.rc-alert-button span{
  position: absolute;

  top: -5px;
  right: -5px;

  min-width: 18px;
  height: 18px;

  padding: 0 5px;

  border-radius: 999px;

  background: #ef4444;

  color: #ffffff;

  font-size: 10px;
  font-weight: 800;

  display: flex;
  align-items: center;
  justify-content: center;

  line-height: 1;
}

/* MENU */

.rc-alert-menu{
  display: none;

  position: absolute;

  top: 48px;
  right: -120px;

  width: 380px;

  background: #ffffff;

  border: 1px solid #d9e1e6;
  border-radius: 16px;

  box-shadow: 0 18px 40px rgba(23, 23, 23, 0.16);

  overflow: hidden;

  z-index: 99999;
}

/* OPEN STATE */

.rc-alert-dropdown.open .rc-alert-menu{
  display: block;
}

/* SMALL TOP TRIANGLE */

.rc-alert-menu::before{
  content: "";

  position: absolute;

  top: -8px;
  left: 50%;

  width: 16px;
  height: 16px;

  background: #ffffff;

  border-left: 1px solid #d9e1e6;
  border-top: 1px solid #d9e1e6;

  transform: rotate(45deg);
}

/* HEADER */

.rc-alert-header{
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 16px 18px;

  border-bottom: 1px solid #eef2f7;

  background: #ffffff;
}

.rc-alert-header strong{
  font-size: 17px;
  color: #171717;
}

.rc-alert-header a{
  font-size: 13px;
  font-weight: 800;

  color: #171717;

  text-decoration: none;
}

.rc-alert-header a:hover{
  text-decoration: underline;
}

/* ALERT ITEM */

.rc-alert-item{
  display: grid;

  grid-template-columns: 42px 1fr auto;

  gap: 12px;

  align-items: center;

  padding: 14px 18px;

  border-bottom: 1px solid #f1f5f9;

  text-decoration: none;

  color: #17212b;

  transition: 0.2s ease;
}

.rc-alert-item:hover{
  background: #f8fbff;
  text-decoration: none;
}

/* AVATAR */

.rc-alert-item img{
  width: 40px;
  height: 40px;

  border-radius: 50%;

  object-fit: cover;
}

/* MAIN CONTENT */

.rc-alert-item div{
  font-size: 13px;
  line-height: 1.5;
  color: #334155;
}

.rc-alert-item strong{
  color: #171717;
}

/* TIME */

.rc-alert-item small{
  font-size: 11px;
  color: #6f6f6a;

  white-space: nowrap;
}

/* SYMBOLS */

.rc-alert-symbol{
  display: flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  border-radius: 50%;

  background: #f1f5f9;

  font-size: 18px;
}

/* FOOTER */

.rc-alert-footer{
  display: block;

  padding: 15px;

  text-align: center;

  background: #f8fafc;

  color: #171717;

  font-size: 14px;
  font-weight: 900;

  text-decoration: none;

  transition: 0.2s ease;
}

.rc-alert-footer:hover{
  background: #f0f0ed;
  text-decoration: none;
}

/* RIGHT EDGE FIX */

.rc-alert-menu-right{
  right: -40px;
}

.rc-inbox-page{
  max-width: 1100px;
  margin: 35px auto;
  padding: 0 20px;
}

.rc-inbox-header{
  margin-bottom: 24px;
}

.rc-inbox-header h1{
  margin: 0 0 8px;
  font-size: 38px;
  font-weight: 900;
  color: #171717;
}

.rc-inbox-header p{
  margin: 0;
  color: #6f6f6a;
}

.rc-inbox-tabs{
  display: flex;
  gap: 18px;
  background: #ffffff;
  border: 1px solid #d9e1e6;
  border-radius: 16px;
  padding: 0 20px;
  margin-bottom: 24px;
}

.rc-inbox-tabs a{
  height: 56px;
  display: flex;
  align-items: center;
  font-weight: 800;
  color: #475569;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.rc-inbox-tabs a.active{
  color: #171717;
  border-bottom-color: #171717;
}

.rc-inbox-list{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rc-inbox-card{
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 18px;
  align-items: center;
  background: #ffffff;
  border: 1px solid #d9e1e6;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(23, 23, 23, 0.06);
}

.rc-inbox-card img{
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.rc-inbox-card h3{
  margin: 0 0 6px;
  color: #171717;
}

.rc-inbox-card p{
  margin: 0 0 6px;
  color: #475569;
}

.rc-inbox-card span{
  font-size: 12px;
  color: #6f6f6a;
}

.rc-inbox-symbol{
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #f0f0ed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.rc-inbox-actions{
  display: flex;
  gap: 10px;
}

.rc-btn-accept,
.rc-btn-decline{
  padding: 10px 15px;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none !important;
}

.rc-btn-accept{
  background: #171717;
  color: #ffffff !important;
}

.rc-btn-decline{
  background: #f1f5f9;
  color: #475569 !important;
}

@media (max-width: 700px) {
  .rc-inbox-card{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .rc-inbox-actions{
    justify-content: center;
  }
}

/* MOBILE */

@media (max-width: 768px){

  .rc-alert-menu {
    width: 320px;
    right: -100px;
  }

}

@media (max-width: 500px) {

  .rc-alert-menu{
    position: fixed;

    top: 70px;
    right: 10px;

    width: calc(100vw - 20px);

    max-width: 360px;
  }

}

/* =========================================
   REQUESTS / MESSAGES / NOTIFICATIONS PAGES
========================================= */

.rc-inbox-page{
  max-width: 1100px !important;
  margin: 35px auto !important;
  padding: 0 20px !important;
}

.rc-inbox-switcher{
  display: flex !important;
  gap: 12px !important;
  margin-bottom: 20px !important;
}

.rc-inbox-switcher a{
  padding: 12px 24px !important;
  border: 1px solid #d9e1e6 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  color: #171717 !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.rc-inbox-switcher a.active,
.rc-inbox-switcher a:hover{
  background: linear-gradient(135deg, #171717, #000000) !important;
  color: #ffffff !important;
}

.rc-inbox-panel{
  background: #ffffff !important;
  border: 1px solid #d9e1e6 !important;
  border-radius: 18px !important;
  padding: 28px !important;
  box-shadow: 0 8px 24px rgba(23, 23, 23, 0.08) !important;
}

.rc-inbox-top{
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 20px !important;
  margin-bottom: 18px !important;
}

.rc-inbox-header h1{
  margin: 0 !important;
  color: #171717 !important;
  font-size: 30px !important;
  font-weight: 900 !important;
}

.rc-inbox-header p{
  margin: 5px 0 0 !important;
  color: #6f6f6a !important;
}

.rc-inbox-search{
  width: 260px !important;
  height: 42px !important;
  border-radius: 10px !important;
  border: 1px solid #d9e1e6 !important;
  padding: 0 14px !important;
}

.rc-inbox-tabs{
  display: flex !important;
  gap: 10px !important;
  margin: 18px 0 !important;
  flex-wrap: wrap !important;
}

.rc-inbox-tabs a{
  padding: 9px 16px !important;
  border-radius: 8px !important;
  background: #f1f5f9 !important;
  color: #171717 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.rc-inbox-tabs a.active,
.rc-inbox-tabs a:hover{
  background: #171717 !important;
  color: #ffffff !important;
}

.rc-inbox-list{
  border: 1px solid #e5e7eb !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: #ffffff !important;
}

.rc-inbox-card{
  display: grid !important;
  grid-template-columns: 58px 1fr 130px 150px !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 16px 18px !important;
  border-bottom: 1px solid #e5e7eb !important;
  background: #ffffff !important;
}

.rc-inbox-card:last-child{
  border-bottom: none !important;
}

.rc-inbox-card img,
.rc-inbox-symbol{
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
}

.rc-inbox-card img{
  object-fit: cover !important;
}

.rc-inbox-symbol{
  background: #f0f0ed !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 24px !important;
}

.rc-inbox-content h3{
  margin: 0 0 4px !important;
  color: #171717 !important;
  font-size: 16px !important;
  font-weight: 900 !important;
}

.rc-inbox-content p{
  margin: 0 !important;
  color: #17212b !important;
  font-size: 14px !important;
}

.rc-inbox-time{
  color: #6f6f6a !important;
  font-size: 13px !important;
}

.rc-inbox-actions{
  display: flex !important;
  gap: 10px !important;
  justify-content: flex-end !important;
}

.rc-btn-accept,
.rc-btn-decline{
  padding: 9px 16px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.rc-btn-accept{
  background: #171717 !important;
  color: #ffffff !important;
}

.rc-btn-decline{
  background: #ffffff !important;
  color: #171717 !important;
  border: 1px solid #d9e1e6 !important;
}

.rc-inbox-pager{
  display: flex !important;
  justify-content: center !important;
  gap: 16px !important;
  margin-top: 22px !important;
  color: #000000 !important;
  font-weight: 800 !important;
}

@media (max-width: 800px) {
  .rc-inbox-top,
.rc-inbox-switcher{
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .rc-inbox-search{
    width: 100% !important;
  }

  .rc-inbox-card{
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }

  .rc-inbox-actions{
    justify-content: center !important;
  }
}

/* ========================================
   Philosopher’s Hub INBOX PAGES
======================================== */

.rc-inbox-page{
  max-width:1100px;
  margin:40px auto;
  padding:0 20px;
}

.rc-inbox-switcher{
  display:flex;
  gap:14px;
  margin-bottom:25px;
}

.rc-inbox-switcher a{
  background:#fff;
  border:1px solid #dfe5ec;
  padding:12px 22px;
  border-radius:10px;
  text-decoration:none;
  color:#1f2d3d;
  font-weight:600;
  transition:0.2s;
}

.rc-inbox-switcher a.active{
  background:#171717;
  color:#fff;
  border-color:#171717;
}

.rc-inbox-panel{
  background:#fff;
  border-radius:16px;
  padding:25px;
  box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

.rc-inbox-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:25px;
  gap:20px;
}

.rc-inbox-header h1{
  font-size:34px;
  margin:0;
  color:#16213e;
}

.rc-inbox-header p{
  margin-top:8px;
  color:#6b7280;
}

.rc-inbox-search{
  width:260px;
  padding:12px 15px;
  border-radius:10px;
  border:1px solid #d9e1ea;
  outline:none;
}

.rc-inbox-tabs{
  display:flex;
  gap:10px;
  margin-bottom:25px;
}

.rc-inbox-tabs a{
  background:#f1f5f9;
  padding:10px 18px;
  border-radius:8px;
  text-decoration:none;
  color:#1f2d3d;
  font-weight:600;
}

.rc-inbox-tabs a.active{
  background:#171717;
  color:#fff;
}

.rc-inbox-list{
  border:1px solid #e6ebf1;
  border-radius:14px;
  overflow:hidden;
}

.rc-inbox-card{
  display:grid;
  grid-template-columns:60px 1fr 150px 170px;
  align-items:center;
  gap:15px;
  padding:18px 22px;
  border-bottom:1px solid #edf2f7;
}

.rc-inbox-card:last-child{
  border-bottom:none;
}

.rc-inbox-card img{
  width:52px;
  height:52px;
  border-radius:50%;
  object-fit:cover;
}

.rc-inbox-content h3{
  margin:0;
  font-size:18px;
  color:#16213e;
}

.rc-inbox-content p{
  margin-top:6px;
  color:#4b5563;
}

.rc-inbox-time{
  color:#6b7280;
  font-size:14px;
}

.rc-inbox-actions{
  display:flex;
  gap:10px;
}

.rc-btn-accept{
  background:#171717;
  color:#fff;
  padding:10px 18px;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
}

.rc-btn-decline{
  background:#fff;
  color:#1f2d3d;
  border:1px solid #d1d5db;
  padding:10px 18px;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
}

@media(max-width:900px){

  .rc-inbox-card{
    grid-template-columns:1fr;
    text-align:left;
  }

  .rc-inbox-top{
    flex-direction:column;
    align-items:flex-start;
  }

  .rc-inbox-search{
    width:100%;
  }

}

/* =========================
   EQUIPMENT PAGE
========================= */

/* ADD EQUIPMENT BUTTON */

.rc-add-equipment-btn{
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 13px 22px !important;

  background: linear-gradient(135deg, #171717, #000000) !important;

  color: #ffffff !important;

  border-radius: 14px !important;

  font-size: 14px !important;
  font-weight: 800 !important;

  text-decoration: none !important;

  box-shadow: 0 8px 22px rgba(23, 23, 23, 0.25);

  transition: all 0.25s ease;

  border: none !important;
}

.rc-add-equipment-btn:hover{
  background: linear-gradient(135deg, #00948d, #006963) !important;

  transform: translateY(-2px);

  box-shadow: 0 12px 26px rgba(23, 23, 23, 0.30);
}

.rc-add-equipment-btn span{
  font-size: 18px;
  line-height: 1;
}

/* PAGE TOPBAR */

.rc-equipment-topbar{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  gap: 20px;
}

.rc-equipment-page-title{
  margin: 0;
  font-size: 42px;
  font-weight: 900;
  color: #171717;
}

.rc-add-equipment-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 20px;

  background: linear-gradient(135deg, #171717, #000000);
  color: #ffffff !important;

  border-radius: 12px;

  font-size: 14px;
  font-weight: 800;

  text-decoration: none !important;

  box-shadow: 0 6px 18px rgba(23, 23, 23, 0.25);

  transition: 0.25s ease;
}

.rc-add-equipment-btn:hover{
  transform: translateY(-2px);
  background: linear-gradient(135deg, #00948d, #006963);
}

/* FILTER BAR */

.view-equipments .views-exposed-form{
  display: grid !important;

  grid-template-columns:
    minmax(240px, 2fr)
    minmax(180px, 1fr)
    minmax(180px, 1fr)
    auto;

  gap: 16px;

  align-items: end;

  background: #ffffff;

  border: 1px solid #d9e1e6;
  border-radius: 18px;

  padding: 20px;
  margin-bottom: 40px;

  box-shadow: 0 4px 14px rgba(23, 23, 23, 0.06);
}

.view-equipments .views-exposed-form .form-item{
  margin: 0 !important;
}

.view-equipments .views-exposed-form label{
  display: block;

  margin-bottom: 7px;

  font-size: 12px;
  font-weight: 800;

  color: #171717;
}

.view-equipments .views-exposed-form input,
.view-equipments .views-exposed-form select{
  width: 100%;
  height: 46px;

  border: 1px solid #cbd5e1;
  border-radius: 12px;

  padding: 0 14px;

  background: #ffffff;

  font-size: 13px;
}

.view-equipments .views-exposed-form input:focus,
.view-equipments .views-exposed-form select:focus{
  outline: none;
  border-color: #171717;
  box-shadow: 0 0 0 3px rgba(23, 23, 23, 0.10);
}

.view-equipments .views-exposed-form .form-actions{
  margin: 0 !important;
}

.view-equipments .views-exposed-form input[type="submit"]{
  height: 46px;

  padding: 0 24px !important;

  border: none !important;
  border-radius: 12px !important;

  background: linear-gradient(135deg, #171717, #000000) !important;

  font-size: 13px !important;
  font-weight: 800 !important;

  color: #ffffff !important;
}

/* EQUIPMENT GRID */

.view-equipments .view-content{
  display: grid !important;

  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

  gap: 28px !important;

  padding: 0 !important;
}

.view-equipments .views-row{
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* CARD */

.rc-equipment-card{
  display: flex;
  flex-direction: column;

  width: 100%;

  background: #ffffff;

  border: 1px solid #e2e8f0;
  border-radius: 18px;

  overflow: hidden;

  box-shadow: 0 4px 14px rgba(23, 23, 23, 0.08);

  transition: 0.25s ease;
}

.rc-equipment-card:hover{
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(23, 23, 23, 0.12);
}

/* IMAGE */

.rc-equipment-image-wrapper{
  position: relative;

  height: 210px;

  overflow: hidden;

  background: #f8fafc;
}

.rc-equipment-image-wrapper img,
.rc-equipment-image{
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;

  transition: transform 0.4s ease;
}

.rc-equipment-card:hover .rc-equipment-image-wrapper img{
  transform: scale(1.04);
}

/* CATEGORY */

.rc-equipment-category{
  position: absolute;

  top: 14px;
  right: 14px;

  background: linear-gradient(135deg, #171717, #000000);

  color: #ffffff;

  padding: 7px 12px;

  border-radius: 999px;

  font-size: 11px;
  font-weight: 800;

  z-index: 10;
}

/* CONTENT */

.rc-equipment-content{
  padding: 18px;

  display: flex;
  flex-direction: column;

  flex-grow: 1;
}

.rc-equipment-title{
  margin: 0 0 12px;

  font-size: 20px;
  line-height: 1.3;

  font-weight: 900;

  color: #171717;
}

.rc-equipment-institution,
.rc-equipment-department{
  font-size: 13px;
  color: #475569;

  margin-bottom: 6px;
}

.rc-equipment-function{
  margin-top: 10px;
  margin-bottom: 18px;

  font-size: 13px;
  line-height: 1.7;

  color: #334155;

  flex-grow: 1;
}

/* ACTIONS */

.rc-equipment-actions{
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-top: auto;
}

.rc-equipment-button a{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 120px;

  padding: 11px 16px;

  border-radius: 10px;

  background: linear-gradient(135deg, #171717, #000000);

  color: #ffffff !important;

  font-size: 13px;
  font-weight: 800;

  text-decoration: none !important;

  transition: 0.25s ease;
}

.rc-equipment-button a:hover{
  transform: translateY(-2px);
}

.rc-equipment-save{
  display: flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  border-radius: 50%;

  background: #f1f5f9;

  color: #171717;

  font-size: 18px;

  text-decoration: none;

  transition: 0.2s ease;
}

.rc-equipment-save:hover{
  background: #e2e8f0;
}

/* MOBILE */

@media (max-width: 900px){

  .rc-equipment-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .view-equipments .views-exposed-form {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 600px) {

  .view-equipments .view-content{
    grid-template-columns: 1fr !important;
  }

  .rc-equipment-page-title{
    font-size: 34px;
  }

}

/* =========================================
   EQUIPMENT DETAILS PAGE
========================================= */

.rc-equipment-detail-page{
  max-width: 1250px;
  margin: 0 auto;
  padding: 30px;
  color: #0f172a;
}

.rc-breadcrumb{
  font-size: 14px;
  color: #008c87;
  margin-bottom: 25px;
}

.rc-equipment-hero{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 35px;
  margin-bottom: 35px;
}

.rc-main-equipment-image{
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 25px;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rc-main-equipment-image img{
  max-width: 100%;
  max-height: 310px;
  object-fit: contain;
}

.rc-thumbnail-row{
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.rc-thumbnail-row img{
  width: 80px;
  height: 65px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #d1d5db;
}

.rc-equipment-tag{
  color: #171717;
  font-weight: 700;
  margin-bottom: 12px;
}

.rc-equipment-summary h1{
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #061747;
}

.rc-equipment-meta{
  margin-bottom: 12px;
  color: #334155;
}

.rc-equipment-short{
  margin-top: 20px;
  line-height: 1.7;
  color: #475569;
}

.rc-equipment-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.rc-btn-primary,
.rc-btn-outline{
  padding: 13px 22px;
  border-radius: 9px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}

.rc-btn-primary{
  background: #171717;
  color: white;
}

.rc-btn-outline{
  border: 1px solid #171717;
  color: #171717;
  background: white;
}

.rc-tabs{
  display: flex;
  gap: 35px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 25px;
}

.rc-tabs a{
  padding: 15px 0;
  text-decoration: none;
  color: #0f172a;
  font-weight: 700;
}

.rc-tabs a:first-child{
  color: #171717;
  border-bottom: 3px solid #171717;
}

.rc-equipment-layout{
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 25px;
}

.rc-card{
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 22px;
  box-shadow: 0 6px 18px rgba(23, 23, 23, 0.05);
}

.rc-card h2{
  font-size: 21px;
  color: #061747;
  margin-bottom: 18px;
}

.rc-card h3{
  margin-top: 25px;
  color: #061747;
}

.rc-spec-table{
  width: 100%;
  border-collapse: collapse;
}

.rc-spec-table td{
  padding: 11px 8px;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
}

.rc-spec-table td:first-child{
  font-weight: 700;
  width: 35%;
  color: #334155;
}

.rc-calendar-box{
  background: #f8fafc;
  border-radius: 12px;
  min-height: 230px;
  padding: 20px;
  margin-bottom: 20px;
}

.rc-full-btn{
  width: 100%;
  text-align: center;
}

.rc-contact-row{
  margin-bottom: 16px;
}

.rc-contact-row strong{
  display: block;
  margin-bottom: 5px;
  color: #061747;
}

.rc-quick-link{
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
  color: #334155;
}

@media (max-width: 900px) {

  .rc-equipment-hero,
.rc-equipment-layout{
    grid-template-columns: 1fr;
  }

  .rc-tabs{
    overflow-x: auto;
    white-space: nowrap;
  }

  .rc-equipment-summary h1{
    font-size: 28px;
  }

}

/* =========================
   FINAL NEWSFEED PAGE
========================= */

.path-newsfeed .rc-container.rc-layout{
  width: min(1280px, calc(100% - 40px)) !important;
  max-width: 1280px !important;
  margin: 22px auto !important;
  display: block !important;
}



.path-newsfeed .rc-content .block,
.path-newsfeed .rc-content article,
.path-newsfeed .rc-content .node,
.path-newsfeed .rc-content form{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.view-newsfeed .view-content{
  display: grid !important;
  gap: 14px !important;
}

.view-newsfeed .views-row{
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.rc-news-card{
  display: grid !important;
  grid-template-columns: 120px minmax(0, 1fr) 118px !important;
  grid-template-areas:
    "thumb main tools"
    "thumb main action" !important;
  gap: 8px 18px !important;
  align-items: center !important;
  min-height: 118px !important;
  background: #ffffff !important;
  border: 1px solid #dfe7ee !important;
  border-radius: 10px !important;
  padding: 14px !important;
  box-shadow: 0 4px 14px rgba(23, 23, 23, 0.05) !important;
}

.rc-news-thumb{
  grid-area: thumb !important;
  width: 120px !important;
  height: 88px !important;
  border-radius: 8px !important;
  background: #eef7f6 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}



.rc-news-thumb span{
  font-size: 30px !important;
}

.rc-news-main{
  grid-area: main !important;
  min-width: 0 !important;
}

.rc-news-topline{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 9px !important;
  align-items: center !important;
  margin-bottom: 7px !important;
  color: #6f6f6a !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.rc-news-type{
  background: #f0f0ed !important;
  color: #000000 !important;
  border-radius: 999px !important;
  padding: 3px 9px !important;
}

.rc-news-title{
  margin: 0 0 8px !important;
  color: #171717 !important;
  font-size: 17px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
}



.rc-news-title a:hover{
  color: #000000 !important;
}

.rc-news-tags{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

.rc-news-tags span{
  background: #f1f5f9 !important;
  color: #475569 !important;
  border-radius: 999px !important;
  padding: 3px 8px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

.rc-news-tools{
  grid-area: tools !important;
  display: flex !important;
  justify-content: flex-end !important;
  gap: 8px !important;
}

.rc-news-tools button{
  width: 28px !important;
  height: 28px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #6f6f6a !important;
  font-size: 20px !important;
  box-shadow: none !important;
}

.rc-news-action{
  grid-area: action !important;
  justify-self: end !important;
  align-self: end !important;
}

.rc-news-action a{
  min-width: 108px !important;
  height: 34px !important;
  padding: 0 14px !important;
  border-radius: 7px !important;
  background: #003bff !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

@media (max-width: 760px) {

  .rc-news-card{
    grid-template-columns: 86px minmax(0, 1fr) !important;
    grid-template-areas:
      "thumb main"
      "thumb action"
      "tools tools" !important;
  }

  .rc-news-thumb{
    width: 86px !important;
    height: 72px !important;
  }

  .rc-news-action{
    justify-self: start !important;
  }
}

/* =========================
   NEWSFEED CARD FINAL LOOK
========================= */

.path-newsfeed .rc-container.rc-layout{
  width: min(1320px, calc(100% - 40px)) !important;
  max-width: 1320px !important;
  margin: 24px auto !important;
  display: block !important;
}

.path-newsfeed .rc-content{
  max-width: 1040px !important;
  margin: 0 auto !important;
}

.rc-news-card{
  display: grid !important;
  grid-template-columns: 180px minmax(0, 1fr) 130px !important;
  grid-template-areas:
    "thumb main tools"
    "thumb main action" !important;
  gap: 12px 24px !important;
  align-items: start !important;
  background: #ffffff !important;
  border: 1px solid #dfe7ee !important;
  border-radius: 12px !important;
  padding: 18px !important;
  min-height: 150px !important;
  box-shadow: 0 4px 14px rgba(23, 23, 23, 0.05) !important;
}

.rc-news-thumb{
  grid-area: thumb !important;
  width: 180px !important;
  height: 120px !important;
  border-radius: 10px !important;
  background: #eef7f6 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}



.rc-news-main{
  grid-area: main !important;
}

.rc-news-topline{
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
  margin-bottom: 6px !important;
  color: #6f6f6a !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

.rc-news-type{
  background: #f0f0ed !important;
  color: #000000 !important;
  border-radius: 999px !important;
  padding: 4px 10px !important;
}

.rc-news-title{
  margin: 0 0 6px !important;
  color: #171717 !important;
  font-size: 22px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
}

.rc-news-title a{
  color: inherit !important;
  text-decoration: none !important;
}

.rc-news-summary{
  margin: 0 0 10px !important;
  color: #6f6f6a !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
}

.rc-news-tags,
.rc-news-meta{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 8px !important;
}

.rc-news-tags span{
  background: #f1f5f9 !important;
  color: #334155 !important;
  border-radius: 999px !important;
  padding: 4px 10px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.rc-news-meta span{
  color: #6f6f6a !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.rc-news-tools{
  grid-area: tools !important;
  display: flex !important;
  justify-content: flex-end !important;
  gap: 10px !important;
}

.rc-news-tools button{
  width: 30px !important;
  height: 30px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #6f6f6a !important;
  font-size: 22px !important;
}

.rc-news-action{
  grid-area: action !important;
  align-self: end !important;
  justify-self: end !important;
}

.rc-news-action a{
  min-width: 120px !important;
  height: 38px !important;
  border-radius: 8px !important;
  background: #003bff !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

@media (max-width: 800px) {
  .rc-news-card{
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "thumb"
      "main"
      "tools"
      "action" !important;
  }

  .rc-news-thumb{
    width: 100% !important;
    height: 180px !important;
  }

  .rc-news-action{
    justify-self: start !important;
  }
}

.rc-news-thumb{
  grid-area: thumb !important;
  width: 180px !important;
  height: 120px !important;
  border-radius: 10px !important;
  background: #eef7f6 !important;
  overflow: hidden !important;
  display: block !important;
}

.rc-news-thumb img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.rc-news-type{
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #f0f0ed !important;
  color: #000000 !important;
  border-radius: 999px !important;
  padding: 4px 10px !important;
}

.rc-news-type-icon{
  font-size: 13px !important;
  line-height: 1 !important;
}

/* =========================
   NEWSFEED 3-DOT MENU
========================= */

.rc-news-tools{
  position: relative !important;
  grid-area: tools !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: flex-start !important;
  gap: 8px !important;
}

.rc-news-save,
.rc-news-menu-button{
  width: 30px !important;
  height: 30px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #6f6f6a !important;
  font-size: 22px !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

.rc-news-menu-wrap{
  position: relative !important;
}

.rc-news-menu{
  display: none;
  position: absolute;
  top: 34px;
  right: 0;
  z-index: 9999;
  width: 230px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid #d9e1e6;
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(23, 23, 23, 0.16);
}

.rc-news-menu-wrap.open .rc-news-menu{
  display: block;
}

.rc-news-menu a,
.rc-news-menu-action{
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 34px;
  padding: 8px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #17212b !important;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  text-align: left;
}

.rc-news-menu a:hover,
.rc-news-menu-action:hover{
  background: #eef7f6;
  color: #000000 !important;
}

.rc-news-menu a.danger{
  color: #dc2626 !important;
}

.rc-news-menu a.danger:hover{
  background: #fef2f2;
  color: #b91c1c !important;
}

.rc-news-menu-divider{
  height: 1px;
  background: #e5e7eb;
  margin: 6px 4px;
}

@media (max-width: 760px) {
  .rc-news-menu{
    right: auto;
    left: 0;
  }
}

/* =========================
   NEWSFEED SIDEBAR
========================= */

.path-newsfeed .rc-content{
  max-width: 1320px !important;
}

.rc-side-card{
  background: #ffffff !important;
  border: 1px solid #dfe7ee !important;
  border-radius: 12px !important;
  padding: 16px !important;
  box-shadow: 0 4px 14px rgba(23, 23, 23, 0.05) !important;
}

.rc-side-card h3{
  margin: 0 0 12px !important;
  color: #171717 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

.rc-side-card > a{
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 11px 0 !important;
  border-bottom: 1px solid #eef2f6 !important;
  color: #17212b !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

.rc-side-card > a:last-child{
  border-bottom: 0 !important;
}

.rc-side-card > a strong{
  margin-left: auto !important;
  color: #6f6f6a !important;
}

.rc-side-card-head{
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 10px !important;
}

.rc-side-card-head h3{
  margin: 0 !important;
}

.rc-side-card-head a,
.rc-side-card-head span{
  color: #171717 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.rc-mini-event{
  align-items: flex-start !important;
}

.rc-mini-event div{
  display: grid !important;
  gap: 3px !important;
}

.rc-mini-event small{
  color: #6f6f6a !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.rc-topic-list{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.rc-topic-list a{
  display: inline-flex !important;
  padding: 7px 10px !important;
  border: 1px solid #d9e1e6 !important;
  border-radius: 8px !important;
  color: #334155 !important;
  background: #ffffff !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.rc-stat-row{
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 11px 0 !important;
  border-bottom: 1px solid #eef2f6 !important;
  color: #17212b !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

.rc-stat-row:last-child{
  border-bottom: 0 !important;
}

.rc-stat-row strong{
  color: #171717 !important;
}

/* =========================
   NEWSFEED WIDTH / CARD FIX
========================= */





.rc-news-card{
  width: 100% !important;
  display: grid !important;
  grid-template-columns: 170px minmax(0, 1fr) 130px !important;
  grid-template-areas:
    "thumb main tools"
    "thumb main action" !important;
  gap: 12px 22px !important;
  align-items: start !important;
  padding: 16px !important;
  min-height: 142px !important;
}

.rc-news-thumb{
  width: 170px !important;
  height: 112px !important;
}

.rc-news-main{
  min-width: 0 !important;
  width: 100% !important;
}

.rc-news-title{
  max-width: 100% !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  font-size: 20px !important;
  line-height: 1.25 !important;
}

.rc-news-title a{
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

.rc-news-summary{
  max-width: 100% !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.rc-news-tools{
  justify-self: end !important;
}

.rc-news-action{
  justify-self: end !important;
  align-self: end !important;
}

.rc-news-action a{
  min-width: 112px !important;
}

/* Mobile */
@media (max-width: 760px){
  .rc-news-card {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "thumb"
      "main"
      "tools"
      "action" !important;
  }

  .rc-news-thumb {
    width: 100% !important;
    height: 180px !important;
  }

  .rc-news-action {
    justify-self: start !important;
  }
}

/* =========================
   DASHBOARD PAGE
========================= */

.path-dashboard .rc-content{
  max-width: 1320px !important;
  width: 100% !important;
}

.rc-dashboard{
  display: grid;
  gap: 18px;
}

.rc-dashboard-hero{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.rc-dashboard-hero h1{
  margin: 0 0 4px;
  color: #171717;
  font-size: 24px;
  font-weight: 900;
}

.rc-dashboard-hero p{
  margin: 0;
  color: #6f6f6a;
}

.rc-dashboard-date{
  background: #ffffff;
  border: 1px solid #d9e1e6;
  border-radius: 8px;
  padding: 10px 14px;
  color: #171717;
  font-size: 13px;
  font-weight: 800;
}

.rc-metric-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.rc-metric-card,
.rc-dashboard-panel{
  background: #ffffff;
  border: 1px solid #d9e1e6;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(23, 23, 23, 0.05);
}

.rc-metric-card{
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px;
}

.rc-metric-card > span{
  font-size: 30px;
}

.rc-metric-card small{
  display: block;
  color: #6f6f6a;
  font-size: 12px;
  font-weight: 800;
}

.rc-metric-card strong{
  display: block;
  color: #171717;
  font-size: 26px;
  font-weight: 900;
}

.rc-metric-card em{
  color: #0f9f6e;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.rc-dashboard-main{
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(340px, 1fr);
  gap: 16px;
}

.rc-feature-event{
  min-height: 310px;
  border-radius: 12px;
  padding: 28px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(7,20,92,0.96), rgba(7,20,92,0.45)),
    url("../images/default-event-image.png") center/cover;
}

.rc-feature-event > span{
  display: inline-flex;
  background: #6d28d9;
  border-radius: 7px;
  padding: 6px 10px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
}

.rc-feature-event h2{
  max-width: 480px;
  margin: 18px 0 10px;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 900;
}

.rc-feature-event p{
  max-width: 520px;
  margin: 0 0 16px;
  color: #e5e7eb;
}

.rc-feature-meta{
  display: grid;
  gap: 7px;
  margin-bottom: 20px;
}

.rc-feature-actions{
  display: flex;
  gap: 10px;
}

.rc-feature-actions a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 7px;
  background: #003bff;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 900;
}

.rc-feature-actions .secondary{
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
}

.rc-dashboard-panel{
  padding: 16px;
}

.rc-panel-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.rc-panel-head h3{
  margin: 0;
  color: #171717;
  font-size: 16px;
  font-weight: 900;
}

.rc-panel-head a{
  color: #003bff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.rc-date-item,
.rc-list-item,
.rc-publication-item{
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid #eef2f6;
  color: #17212b;
  text-decoration: none !important;
}

.rc-date-item:last-child,
.rc-list-item:last-child,
.rc-publication-item:last-child{
  border-bottom: 0;
}

.rc-date-item > span{
  width: 52px;
  height: 58px;
  border-radius: 8px;
  background: #fff1f2;
  color: #dc2626;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.rc-date-item > span strong{
  display: block;
  text-transform: uppercase;
  font-size: 11px;
}

.rc-date-item div,
.rc-list-item div,
.rc-publication-item div{
  min-width: 0;
  flex: 1;
}

.rc-date-item strong,
.rc-list-item strong,
.rc-publication-item strong{
  display: block;
  color: #171717;
  font-weight: 900;
}

.rc-date-item small,
.rc-date-item em,
.rc-list-item small,
.rc-publication-item small{
  display: block;
  color: #6f6f6a;
  font-size: 12px;
  font-style: normal;
}

.rc-date-item b{
  border: 1px solid #171717;
  color: #000000;
  border-radius: 6px;
  padding: 5px 9px;
  font-size: 11px;
}

.rc-dashboard-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.rc-list-item img{
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 7px;
}

.rc-list-item span{
  background: #dcfce7;
  color: #15803d;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 900;
}

.rc-list-item span.busy{
  background: #ffedd5;
  color: #c2410c;
}

.rc-publication-item > span{
  width: 42px;
  height: 42px;
  background: #f0f0ed;
  border-radius: 8px;
  display: grid;
  place-items: center;
}

.rc-expert-spotlight{
  text-align: center;
}

.rc-expert-spotlight img{
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
}

.rc-expert-spotlight h4{
  margin: 10px 0 2px;
  color: #171717;
  font-size: 17px;
}

.rc-expert-spotlight p{
  color: #334155;
  font-size: 13px;
}

.rc-expert-spotlight > div{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #eef2f6;
  border-bottom: 1px solid #eef2f6;
  margin: 14px 0;
}

.rc-expert-spotlight > div strong{
  padding: 12px 6px;
  color: #171717;
}

.rc-expert-spotlight > div small{
  display: block;
  color: #6f6f6a;
  font-size: 11px;
}

.rc-dashboard-bottom{
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}

.rc-topic-cloud{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rc-topic-cloud a{
  background: #f0f0ed;
  color: #000000;
  border-radius: 999px;
  padding: 8px 12px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.rc-availability{
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
}

.rc-donut{
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: conic-gradient(#171717 0 52%, #171717 52% 75%, #ef4444 75% 86%, #6f6f6a 86% 100%);
  display: grid;
  place-items: center;
  color: #171717;
  font-size: 26px;
  font-weight: 900;
  position: relative;
}

.rc-donut::after{
  content: "";
  position: absolute;
  width: 82px;
  height: 82px;
  background: #ffffff;
  border-radius: 50%;
}

.rc-donut small,
.rc-donut{
  z-index: 1;
}

.rc-donut small{
  display: block;
  font-size: 10px;
}

.rc-availability-list{
  display: grid;
  gap: 10px;
}

.rc-availability-list span{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.rc-availability-list i{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.rc-availability-list .black{ background: #171717; }
.rc-availability-list .orange{ background: #171717; }
.rc-availability-list .red{ background: #ef4444; }
.rc-availability-list .gray{ background: #6f6f6a; }

@media (max-width: 1100px) {
  .rc-metric-grid,
.rc-dashboard-grid,
.rc-dashboard-main,
.rc-dashboard-bottom{
    grid-template-columns: 1fr 1fr;
  }

  .rc-feature-event{
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .rc-dashboard-hero,
.rc-metric-grid,
.rc-dashboard-grid,
.rc-dashboard-main,
.rc-dashboard-bottom,
.rc-availability{
    grid-template-columns: 1fr;
  }

  .rc-dashboard-hero{
    align-items: flex-start;
    flex-direction: column;
  }
}

/* =========================================
   ADVANCED USER PROFILE
========================================= */

.path-user .rc-container.rc-layout{
  width: calc(100% - 40px);
  max-width: 1600px;
}

.path-user .rc-content{
  width: 100%;
}

.path-user .rc-content .block,
.path-user .rc-content article,
.path-user .rc-content .node,
.path-user .rc-content form{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* CATEGORY BAR */
.rc-expert-categories{
  display: grid !important;
  grid-template-columns: repeat(8, 1fr);
  margin: 24px 0 34px;
  border: 1px solid var(--rc-border);
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
}

.rc-expert-categories a{
  display: block;
  padding: 18px 14px;
  border-right: 1px solid var(--rc-border);
  color: #171717;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
  line-height: 1.3;
}



.rc-expert-categories a:hover{
  background: #f0f0ed;
  color: #171717;
}

.rc-expert-categories span{
  display: block;
  margin-top: 4px;
  color: #6f6f6a;
  font-size: 12px;
}

.rc-expert-categories{
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0;
  margin: 22px 0 26px;
  border: 1px solid var(--rc-border);
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

.rc-expert-categories a{
  padding: 16px;
  border-right: 1px solid var(--rc-border);
  color: #171717;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
}

.rc-expert-categories a:last-child{
  border-right: none;
}

.rc-expert-categories a.active,
.rc-expert-categories a:hover{
  background: #f0f0ed;
  color: #171717;
}

.rc-expert-categories span{
  display: block;
  font-size: 12px;
  color: #6f6f6a;
  margin-top: 4px;
}

.rc-experts-header{
  margin-bottom: 28px;
}

.rc-experts-header h1{
  margin: 0 0 6px;
  font-size: 38px;
  color: #171717;
}

.rc-experts-header p{
  margin: 0;
  color: #6f6f6a;
  font-size: 16px;
}

/* Expert card grid */
.experts-grid .view-content{
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)) !important;
  gap: 28px !important;
  max-width: 1400px;
}

.experts-grid .views-row{
  background: #ffffff !important;
  border: 1px solid #d9e1e6 !important;
  border-radius: 18px !important;
  padding: 24px !important;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08) !important;
  text-align: center !important;
  position: relative !important;
}

.experts-grid .views-row:hover{
  transform: translateY(-6px);
}

.experts-grid .views-row img{
  width: 105px !important;
  height: 105px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  margin: 0 auto 14px !important;
  display: block !important;
}

.experts-grid .views-row a{
  font-weight: 800;
  text-decoration: none;
}

.experts-grid .views-row .views-field-field-full-name,
.experts-grid .views-row h3{
  font-size: 20px !important;
  color: #171717 !important;
  margin-bottom: 6px !important;
}

.experts-grid .views-row .views-field-field-position{
  color: #334155 !important;
  font-size: 14px !important;
  margin-bottom: 6px !important;
}

.experts-grid .views-row .views-field-field-institution{
  color: #475569 !important;
  font-size: 14px !important;
  margin-bottom: 10px !important;
}

.experts-grid .views-row .views-field-field-research-field{
  display: inline-block !important;
  background: #f0f0ed !important;
  color: #000000 !important;
  padding: 7px 12px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  margin: 10px 0 !important;
}

.experts-grid .views-row .views-field-view-user a{
  display: block !important;
  padding: 10px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  color: #171717 !important;
  font-weight: 800 !important;
  background: #ffffff !important;
}

.rc-expert-photo img{
  width: 105px;
  height: 105px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
}

.rc-expert-position{
  font-size: 14px;
  color: #334155;
  margin-bottom: 6px;
}

.rc-expert-institution{
  font-size: 14px;
  color: #475569;
  margin-bottom: 12px;
}

.rc-expert-field{
  display: inline-block;
  background: #f0f0ed;
  color: var(--rc-brand-dark);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 16px;
}

.rc-expert-stats{
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;

  font-size: 13px;
  color: #475569;

  margin: 18px 0;
}

/* =========================
   WORKSHOPS
========================= */

.view-workshops .views-row{
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--rc-shadow);
  transition: 0.3s;
}

.view-workshops .views-row:hover{
  transform: translateY(-5px);
  box-shadow: var(--rc-shadow-hover);
}

.view-workshops img{
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}

.view-workshops .views-field-field-registration-for-workshop a{
  display: inline-block;
  background: var(--rc-brand);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 10px;
}

.view-workshops .views-field-field-registration-for-workshop a:hover{
  background: var(--rc-brand-dark);
}

/* =========================================
   EVENTS PAGE
========================================= */

.rc-event-image img{
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

.events-grid .view-content{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  max-width: 1500px;
  margin: 0 auto;
}

.rc-event-image{
  position: relative;
  height: 240px;
  overflow: hidden;
}

.rc-event-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rc-event-category{
  position: absolute;
  top: 16px;
  left: 16px;

  background: #171717;
  color: #ffffff;

  padding: 8px 14px;
  border-radius: 999px;

  font-size: 12px;
  font-weight: 900;

  z-index: 10;
}

.rc-event-content{
  padding: 24px;
}

.rc-event-date{
  font-size: 13px;
  font-weight: 800;
  color: #6f6f6a;
  margin-bottom: 10px;
}

.rc-event-title{
  font-size: 24px;
  line-height: 1.3;
  margin: 0 0 14px;
  color: #171717;
}

.rc-event-location{
  font-size: 14px;
  color: #475569;
  margin-bottom: 14px;
}

.rc-event-description{
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 20px;
}

.rc-event-button a{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 18px;

  border-radius: 12px;

  background: var(--rc-brand);
  color: #ffffff !important;

  font-weight: 800;
  text-decoration: none !important;
}

.rc-event-button a:hover{
  background: var(--rc-brand-dark);
}

@media (max-width: 768px) {

  .events-grid .view-content{
    grid-template-columns: 1fr;
  }

}

/* =========================
   AUTH PAGES
========================= */

.path-user-login .rc-main-menu,
.path-user-login .rc-search,
.path-user-register .rc-main-menu,
.path-user-register .rc-search,
.path-user-password .rc-main-menu,
.path-user-password .rc-search,
.rc-auth-login .rc-main-menu,
.rc-auth-login .rc-search,
.rc-auth-register .rc-main-menu,
.rc-auth-register .rc-search,
.rc-auth-password .rc-main-menu,
.rc-auth-password .rc-search{
  display: none !important;
}

.path-user-login .rc-logo,
.path-user-register .rc-logo{
  pointer-events: none;
}

.path-user-login .rc-content,
.path-user-register .rc-content,
.path-user-password .rc-content,
.rc-auth-register .rc-content{
  max-width: 1000px !important;
  margin: 40px auto !important;
  display: block !important;
  grid-template-columns: none !important;
}

.path-user-login .rc-content::before,
.path-user-register .rc-content::before,
.path-user-password .rc-content::before,
.rc-auth-register .rc-content::before{
  display: none !important;
  content: none !important;
  background: none !important;
  box-shadow: none !important;
}

.path-user-login form,
.path-user-register form,
.path-user-password form,
.path-user-register .user-register-form{
  width: 100% !important;
  max-width: 1000px !important;
  margin: 0 auto !important;
  background: #ffffff !important;
  border-radius: 24px !important;
  padding: 45px !important;
  border: 1px solid var(--rc-border) !important;
  box-shadow: 0 18px 45px rgba(0,0,0,0.12) !important;
}

.path-user-login form::before{
  content: "Welcome back";
  display: block;
  font-size: 32px;
  font-weight: 900;
  color: var(--rc-brand-dark);
  margin-bottom: 18px;
}

.path-user-register form::before{
  content: "Create your account";
  display: block;
  font-size: 32px;
  font-weight: 900;
  color: var(--rc-brand-dark);
  margin-bottom: 18px;
}

.path-user-register form::after{
  content: "Your profile helps others discover your expertise, affiliation and research interests.";
  display: block;
  margin-top: 18px;
  color: var(--rc-muted);
  font-size: 14px;
}

.path-user-login label,
.path-user-register label,
.path-user-password label{
  display: block;
  font-weight: 800;
  color: var(--rc-text);
  margin-bottom: 6px;
}

.path-user-login .description,
.path-user-login .form-item__description,
.path-user-register .description,
.path-user-register .form-item__description,
.path-user-password .description,
.path-user-password .form-item__description{
  color: var(--rc-muted);
  font-size: 13px;
  margin-top: 6px;
  line-height: 1.4;
}

.path-user-login input[type="text"],
.path-user-login input[type="email"],
.path-user-login input[type="password"],
.path-user-login select,
.path-user-login textarea,
.path-user-register input[type="text"],
.path-user-register input[type="email"],
.path-user-register input[type="password"],
.path-user-register select,
.path-user-register textarea,
.path-user-password input[type="text"],
.path-user-password input[type="email"],
.path-user-password input[type="password"],
.path-user-password select,
.path-user-password textarea{
  width: 100%;
  border: 1px solid #cfd8dc;
  border-radius: 12px;
  padding: 14px;
  background: #ffffff;
  font-size: 15px;
}

.path-user-login input[type="file"],
.path-user-register input[type="file"]{
  width: 100%;
  padding: 12px;
  border: 1px dashed var(--rc-brand);
  border-radius: 10px;
  background: #f4fbfa;
}

.path-user-login input[type="submit"],
.path-user-login .button,
.path-user-register input[type="submit"],
.path-user-register .button,
.path-user-password input[type="submit"],
.path-user-password .button{
  width: 100%;
  margin-top: 20px;
  background: var(--rc-brand) !important;
  border: none !important;
  border-radius: 14px !important;
  padding: 15px !important;
  color: #ffffff !important;
  font-size: 17px;
  font-weight: 900 !important;
}

.path-user-login input[type="submit"]:hover,
.path-user-login .button:hover,
.path-user-register input[type="submit"]:hover,
.path-user-register .button:hover,
.path-user-password input[type="submit"]:hover,
.path-user-password .button:hover{
  background: var(--rc-brand-dark) !important;
}

/* Auth tabs */
.path-user-login .tabs,
.path-user-register .tabs,
.path-user-password .tabs{
  max-width: 1000px !important;
  margin: 25px auto !important;
  display: flex !important;
  justify-content: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.path-user-login .tabs a,
.path-user-register .tabs a,
.path-user-password .tabs a{
  display: inline-block;
  padding: 14px 22px !important;
  background: #ffffff !important;
  border: 1px solid var(--rc-border) !important;
  border-radius: 10px !important;
  font-weight: 800 !important;
  color: var(--rc-text) !important;
  text-decoration: none !important;
}

.path-user-login .tabs a.is-active,
.path-user-register .tabs a.is-active,
.path-user-password .tabs a.is-active{
  background: var(--rc-brand) !important;
  color: #ffffff !important;
  border-color: var(--rc-brand) !important;
}

.rc-user-auth-links a{
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.rc-user-auth-links a:hover{
  box-shadow: 0 6px 18px rgba(23, 23, 23, 0.18);
}

/* =========================
   Philosopher’s Hub AUTH REDESIGN
========================= */

.path-user-login #toolbar-administration,
.path-user-register #toolbar-administration,
.path-user-password #toolbar-administration,
.path-user-logout #toolbar-administration,
.path-user-logout-confirm #toolbar-administration,
.path-logged-out #toolbar-administration{
  display: none !important;
}

body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm,
body.path-logged-out{
  padding-top: 0 !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
  background:
    radial-gradient(circle at 18% 28%, rgba(0, 82, 255, 0.08), transparent 32%),
    linear-gradient(120deg, #f8fbff 0%, #eef6ff 46%, #ffffff 100%) !important;
}

.rc-auth-page{
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.88)),
    radial-gradient(circle at 30% 48%, rgba(3, 78, 255, 0.13), transparent 30%),
    linear-gradient(135deg, #f7fbff, #edf6ff 48%, #ffffff);
  color: #07123f;
}

.rc-auth-page .rc-topbar{
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid #deded8;
  box-shadow: 0 8px 28px rgba(15, 39, 94, 0.08);
}

.rc-auth-page .rc-topbar__inner{
  min-height: 88px;
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 0;
}

.rc-auth-page .rc-logo{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #06144d;
  font-size: 25px;
  font-weight: 900;
}

.rc-auth-page .rc-logo::before{
  content: "";
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 50%, #034eff 0 5px, transparent 6px),
    radial-gradient(circle at 15% 15%, #034eff 0 5px, transparent 6px),
    radial-gradient(circle at 85% 15%, #034eff 0 5px, transparent 6px),
    radial-gradient(circle at 15% 85%, #034eff 0 5px, transparent 6px),
    radial-gradient(circle at 85% 85%, #034eff 0 5px, transparent 6px),
    linear-gradient(45deg, transparent 45%, #034eff 46% 54%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, #034eff 46% 54%, transparent 55%);
}

.rc-auth-page .rc-user-auth-links{
  align-items: center;
  gap: 14px;
  margin-left: auto;
  color: #29345d;
  font-size: 14px;
  font-weight: 700;
}

.rc-auth-page .rc-user-auth-links a{
  min-width: 104px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid #a8beff;
  background: #ffffff;
  color: #034eff;
  box-shadow: none;
}

.rc-auth-page .rc-user-auth-links a:last-child{
  background: #034eff !important;
  border-color: #034eff !important;
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(3, 78, 255, 0.18);
}

.rc-auth-register .rc-user-auth-links a:last-child,
.rc-auth-password .rc-user-auth-links a:last-child,
.rc-auth-logout .rc-user-auth-links a:last-child,
.rc-auth-logged-out .rc-user-auth-links a:last-child{
  background: #ffffff !important;
  border-color: #a8beff !important;
  color: #034eff !important;
  box-shadow: none;
}

.rc-auth-page .rc-left-rail,
.rc-auth-page .tabs,
.rc-auth-page nav.tabs,
.rc-auth-page .rc-footer{
  display: none !important;
}

.rc-auth-page .rc-container.rc-system{
  width: min(1180px, calc(100% - 48px));
  margin: 24px auto 0;
}

.rc-auth-page .rc-container.rc-layout{
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 34px 0 48px;
  display: block;
}

.rc-auth-page .rc-content{
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(310px, 0.78fr) minmax(480px, 1fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 170px);
}

.rc-auth-page .rc-content::after{
  content: "";
  position: absolute;
  left: 28%;
  bottom: 18px;
  width: 260px;
  height: 360px;
  opacity: 0.28;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 44%, rgba(3, 78, 255, 0.35) 45% 46%, transparent 47%),
    radial-gradient(ellipse at 50% 18%, rgba(3, 78, 255, 0.32) 0 7%, transparent 8%),
    radial-gradient(ellipse at 50% 31%, rgba(3, 78, 255, 0.16) 0 18%, transparent 19%),
    linear-gradient(#0b5eff, #0b5eff) 48% 34% / 18px 190px no-repeat,
    linear-gradient(#0b5eff, #0b5eff) 43% 78% / 108px 20px no-repeat,
    linear-gradient(#0b5eff, #0b5eff) 43% 86% / 70px 20px no-repeat;
  filter: blur(0.2px);
}

.rc-auth-page .rc-login-text{
  position: relative;
  z-index: 1;
  max-width: 470px;
  color: #08133e;
}

.rc-auth-page .rc-login-text h1{
  margin: 0 0 24px;
  font-size: 38px;
  line-height: 1.22;
  letter-spacing: 0;
  color: #08133e;
}

.rc-auth-page .rc-login-text h1::after{
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 18px;
  border-radius: 999px;
  background: #034eff;
}

.rc-auth-login .rc-login-text h1{
  font-size: 38px;
}

.rc-auth-login .rc-login-text h1,
.rc-auth-login .rc-login-text p{
  color: transparent;
  font-size: 0;
}

.rc-auth-login .rc-login-text h1::before{
  content: "Welcome back! Glad to see you again.";
  color: #08133e;
  display: block;
  font-size: 38px;
  line-height: 1.22;
}

.rc-auth-login .rc-login-text p::before{
  content: "Login to your Philosopher’s Hub account and continue your research journey.";
  color: #28345f;
  display: block;
  font-size: 18px;
  line-height: 1.65;
}

.rc-auth-register .rc-login-text h1,
.rc-auth-register .rc-login-text p{
  color: transparent;
  font-size: 0;
}

.rc-auth-register .rc-login-text h1::before{
  content: "Create your account and join Philosopher’s Hub";
  color: #08133e;
  display: block;
  font-size: 38px;
  line-height: 1.22;
}

.rc-auth-register .rc-login-text p::before{
  content: "Connect with researchers, access advanced equipment, discover opportunities, and collaborate for a better future.";
  color: #28345f;
  display: block;
  font-size: 18px;
  line-height: 1.65;
}

.rc-auth-password .rc-login-text h1,
.rc-auth-password .rc-login-text p{
  color: transparent;
  font-size: 0;
}

.rc-auth-password .rc-login-text h1::before{
  content: "Forgot your password? No worries, we have got you.";
  color: #08133e;
  display: block;
  font-size: 38px;
  line-height: 1.22;
}

.rc-auth-password .rc-login-text p::before{
  content: "Enter the email address associated with your Philosopher’s Hub account and we will send you a link to reset your password.";
  color: #28345f;
  display: block;
  font-size: 18px;
  line-height: 1.65;
}

.rc-auth-page .rc-login-text p{
  margin: 0 0 34px;
  color: #28345f;
  font-size: 18px;
  line-height: 1.65;
}

.rc-auth-page .rc-login-text a{
  display: none;
}

.rc-auth-page .rc-login-text::after{
  content: "Collaborate\A Connect with researchers, experts, and institutions.\A\A Discover\A Access research equipment, labs, and facilities.\A\A Advance\A Share your work, publish research, and drive innovation.";
  display: block;
  white-space: pre-line;
  margin-top: 28px;
  padding-left: 76px;
  color: #08133e;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 800;
  background:
    radial-gradient(circle at 24px 26px, #e8efff 0 31px, transparent 32px),
    radial-gradient(circle at 24px 129px, #e8efff 0 31px, transparent 32px),
    radial-gradient(circle at 24px 232px, #e8efff 0 31px, transparent 32px);
}

.rc-auth-page .rc-content .block,
.rc-auth-page .rc-content article,
.rc-auth-page .rc-content .node,
.rc-auth-page .rc-content form{
  box-shadow: none;
}

.rc-auth-page .rc-content > form,
.rc-auth-page .rc-content .user-login-form,
.rc-auth-page .rc-content .user-register-form,
.rc-auth-page .rc-content .user-pass,
.rc-auth-page .rc-content .user-pass-reset,
.rc-auth-page .rc-content form[class*="user-logout"]{
  position: relative;
  z-index: 2;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 54px 68px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid #dbe6ff !important;
  border-radius: 18px !important;
  box-shadow: 0 22px 48px rgba(25, 47, 96, 0.12) !important;
}

.rc-auth-page form::before{
  display: block;
  margin-bottom: 10px;
  color: #08133e;
  font-size: 26px;
  line-height: 1.2;
  text-align: center;
}

.rc-auth-login form::before{
  content: "Login to Philosopher’s Hub";
}

.rc-auth-register form::before{
  content: "Create Your Philosopher’s Hub Account";
}

.rc-auth-password form::before{
  content: "Reset your password";
}

.rc-auth-logout form::before{
  content: "Ready to log out?";
}

.rc-auth-page form::after{
  content: "Your data is secure with us.";
  display: block;
  margin-top: 28px;
  color: #4f5f8c;
  font-size: 13px;
  text-align: center;
}

.rc-auth-login form::after{
  content: "Do not have an account? Register";
}

.rc-auth-register form::after{
  content: "Your data is secure with us. We never share your information.";
}

.rc-auth-password form::after{
  content: "Privacy Policy  |  Terms of Service  |  Help Center";
}

.rc-auth-logout form::after{
  content: "You can come back anytime and continue your research work.";
}

.rc-auth-page label{
  margin: 18px 0 8px !important;
  color: #13204f !important;
  font-size: 13px;
  font-weight: 800 !important;
}

.rc-auth-page input[type="text"],
.rc-auth-page input[type="email"],
.rc-auth-page input[type="password"],
.rc-auth-page input[type="search"],
.rc-auth-page select,
.rc-auth-page textarea{
  min-height: 52px;
  border: 1px solid #cfd9ee !important;
  border-radius: 8px !important;
  padding: 14px 18px !important;
  background: #ffffff !important;
  color: #111a44;
  font-size: 15px;
  box-shadow: none !important;
}

.rc-auth-page input:focus,
.rc-auth-page select:focus,
.rc-auth-page textarea:focus{
  outline: 3px solid rgba(3, 78, 255, 0.14);
  border-color: #034eff !important;
}

.rc-auth-page .description,
.rc-auth-page .form-item__description{
  color: #5c6a91 !important;
  font-size: 13px !important;
}

.rc-auth-page .form-actions{
  margin-top: 22px;
}

.rc-auth-page input[type="submit"],
.rc-auth-page .button{
  width: 100%;
  min-height: 52px;
  border: 0 !important;
  border-radius: 8px !important;
  background: #034eff !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  box-shadow: 0 14px 26px rgba(3, 78, 255, 0.18);
}

.rc-auth-page input[type="submit"]:hover,
.rc-auth-page .button:hover{
  background: #003bd1 !important;
}

.rc-auth-register .rc-content .user-register-form{
  padding: 36px 48px !important;
}

.rc-auth-register .user-register-form{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  align-items: start;
}

.rc-auth-register .user-register-form::before,
.rc-auth-register .user-register-form::after,
.rc-auth-register .user-register-form .form-actions,
.rc-auth-register .user-register-form .description,
.rc-auth-register .user-register-form .form-item__description,
.rc-auth-register .user-register-form details,
.rc-auth-register .user-register-form .field--name-field-research-interests,
.rc-auth-register .user-register-form .field--name-user-picture,
.rc-auth-register .user-register-form .field--name-field-profile-picture{
  grid-column: 1 / -1;
}

.rc-auth-register .user-register-form .form-actions{
  margin-top: 18px;
}

.rc-auth-register .user-register-form input,
.rc-auth-register .user-register-form select,
.rc-auth-register .user-register-form textarea{
  width: 100%;
}

.rc-auth-register .user-register-form .field--name-field-agree-privacy input[type="checkbox"],
.rc-auth-register .user-register-form .field--name-field-agree-terms input[type="checkbox"]{
  width: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  height: 22px !important;
  margin: 0 10px 0 0 !important;
  padding: 0 !important;
}

.rc-auth-register .user-register-form .field--name-field-agree-privacy,
.rc-auth-register .user-register-form .field--name-field-agree-terms{
  align-self: end;
}

.rc-auth-register .rc-registration-legal-links{
  grid-column: 1 / -1;
  margin: 4px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(55, 142, 139, 0.22);
  border-radius: 8px;
  background: rgba(226, 246, 243, 0.72);
  color: #43557d;
  font-size: 13px;
}

.rc-auth-register .rc-registration-legal-links p{
  margin: 0;
}

.rc-auth-register .rc-registration-legal-links a{
  color: #287f7d;
  font-weight: 800;
}

.rc-auth-logout .rc-content::before{
  content: "See you soon\A Your Philosopher’s Hub workspace will be ready when you return.";
  white-space: pre-line;
  color: #08133e;
  font-size: 38px;
  line-height: 1.25;
  font-weight: 900;
}

.rc-auth-logout .rc-content > form,
.rc-auth-logout .rc-content form[class*="user-logout"]{
  max-width: 560px !important;
  justify-self: end;
}

.rc-auth-logout .rc-content .form-actions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.rc-auth-logged-out .rc-content{
  display: block !important;
  min-height: calc(100vh - 170px);
}

.rc-auth-logged-out .rc-content::after{
  display: none;
}

.rc-logged-out-shell{
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(460px, 1fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 188px);
}

.rc-logged-out-intro{
  position: relative;
  min-height: 670px;
  padding: 34px 0;
  color: #08133e;
}

.rc-logged-out-intro::after{
  content: "";
  position: absolute;
  z-index: -1;
  right: -22px;
  bottom: 0;
  width: min(100%, 420px);
  height: 560px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(248, 252, 255, 0.18), rgba(248, 252, 255, 0.96)),
    url("../images/slide4.png") center / cover no-repeat;
  opacity: 0.38;
}

.rc-logged-out-intro h1{
  max-width: 410px;
  margin: 8px 0 20px;
  color: #08133e;
  font-size: clamp(40px, 4vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
}

.rc-logged-out-intro > p{
  max-width: 430px;
  margin: 0 0 42px;
  color: #162454;
  font-size: 20px;
  line-height: 1.55;
}

.rc-logged-out-points{
  display: grid;
  gap: 28px;
  max-width: 430px;
}

.rc-logged-out-points article{
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: center;
}

.rc-logged-out-points span,
.rc-logged-out-mark{
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf1ff;
  color: #034eff;
}

.rc-logged-out-points span{
  width: 72px;
  height: 72px;
  border: 1px solid #d7e5ff;
  font-size: 31px;
  font-weight: 900;
}

.rc-logged-out-points h2{
  margin: 0 0 3px;
  color: #171717;
  font-size: 18px;
  line-height: 1.3;
}

.rc-logged-out-points p{
  margin: 0;
  color: #162454;
  font-size: 15px;
  line-height: 1.5;
}

.rc-logged-out-card{
  position: relative;
  display: grid;
  align-content: center;
  min-height: 640px;
  padding: clamp(38px, 5vw, 76px);
  border: 1px solid #dbe6ff;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 56px rgba(25, 47, 96, 0.12);
  color: #08133e;
  text-align: center;
}

.rc-logged-out-mark{
  width: 134px;
  height: 134px;
  margin: 0 auto 28px;
  font-size: 68px;
  line-height: 1;
  font-weight: 600;
}

.rc-logged-out-card h2{
  margin: 0 0 18px;
  color: #08133e;
  font-size: clamp(30px, 2.4vw, 38px);
  line-height: 1.22;
}

.rc-logged-out-card p{
  max-width: 470px;
  margin: 0 auto 48px;
  color: #334778;
  font-size: 22px;
  line-height: 1.55;
}

.rc-logged-out-actions{
  display: grid;
  gap: 24px;
  border-top: 1px solid #dce6f7;
  padding-top: 48px;
}

.rc-logged-out-actions a{
  display: inline-flex;
  min-height: 70px;
  align-items: center;
  justify-content: center;
  border: 1px solid #8fb0ff;
  border-radius: 9px;
  color: #034eff;
  font-size: 21px;
  font-weight: 800;
  text-decoration: none;
}

.rc-logged-out-actions a:first-child{
  border-color: #034eff;
  background: #034eff;
  color: #ffffff;
  box-shadow: 0 16px 28px rgba(3, 78, 255, 0.18);
}

.rc-logged-out-actions a:hover{
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .rc-auth-page .rc-content{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .rc-auth-page .rc-content::after{
    display: none;
  }

  .rc-auth-page .rc-login-text,
.rc-auth-logout .rc-content::before{
    max-width: none;
    font-size: 30px;
  }

  .rc-auth-page .rc-content > form,
.rc-auth-page .rc-content .user-login-form,
.rc-auth-page .rc-content .user-register-form,
.rc-auth-page .rc-content .user-pass,
.rc-auth-page .rc-content form[class*="user-logout"]{
    padding: 34px 24px !important;
  }

  .rc-auth-register .user-register-form{
    grid-template-columns: 1fr;
  }

  .rc-logged-out-shell{
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .rc-logged-out-intro{
    min-height: auto;
  }

  .rc-logged-out-intro::after{
    width: 330px;
    height: 420px;
  }

  .rc-logged-out-card{
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .rc-auth-page .rc-topbar__inner,
.rc-auth-page .rc-container.rc-layout{
    width: min(100% - 28px, 1320px);
  }

  .rc-auth-page .rc-logo{
    font-size: 20px;
  }

  .rc-auth-page .rc-user-auth-links span{
    display: none;
  }

  .rc-auth-page .rc-login-text h1{
    font-size: 30px;
  }

  .rc-auth-page .rc-login-text::after{
    display: none;
  }

  .rc-logged-out-intro h1{
    font-size: 38px;
  }

  .rc-logged-out-intro > p,
.rc-logged-out-card p{
    font-size: 17px;
  }

  .rc-logged-out-points article{
    grid-template-columns: 58px 1fr;
  }

  .rc-logged-out-points span{
    width: 58px;
    height: 58px;
  }

  .rc-logged-out-card{
    border-radius: 18px;
    padding: 34px 22px;
  }

  .rc-logged-out-mark{
    width: 96px;
    height: 96px;
    font-size: 50px;
  }

  .rc-logged-out-actions{
    gap: 14px;
    padding-top: 28px;
  }

  .rc-logged-out-actions a{
    min-height: 56px;
    font-size: 17px;
  }
}

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

.rc-footer{
  margin-top: 12px;
  padding: 28px 0;
  background: var(--rc-text);
  color: #dbe4ea;
  border-top: 3px solid var(--rc-brand);
}

.rc-footer a{
  color: #bdf5f1;
}

.rc-global-footer{
  margin-top: 48px;
  background: #fff;
  color: #000;
}

.rc-global-footer__inner{
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: none;
  padding: 28px 24px 18px;
}

.rc-global-footer__top{
  display: grid;
  grid-template-columns: 160px repeat(3, minmax(160px, 1fr));
  gap: 36px;
  align-items: start;
}

.rc-global-footer__brand{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 128px;
  height: 128px;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 16px;
  background: #fff;
  color: #000;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 70px;
  line-height: 1;
  text-decoration: none;
}

.rc-global-footer__brand sup{
  position: relative;
  top: -0.34em;
  margin-left: 0.02em;
  font-size: 0.62em;
  line-height: 0;
}

.rc-global-footer__column{
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.rc-global-footer__column h2{
  margin: 0 0 6px;
  color: #000;
  font-size: 18px;
  line-height: 1.25;
}

.rc-global-footer__column a,
.rc-global-footer__column button,
.rc-global-footer__legal a{
  color: #000;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.rc-global-footer__column button,
.rc-global-footer__legal button{
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.rc-global-footer__column a:hover,
.rc-global-footer__column button:hover,
.rc-global-footer__legal a:hover{
  color: #000;
  text-decoration: underline;
}

.rc-global-footer__rule{
  height: 2px;
  background: #000;
}

.rc-global-footer__copyright{
  margin: 0;
  color: #000;
  font-size: 14px;
  font-weight: 700;
}

.rc-global-footer__bottom{
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.rc-global-footer__legal{
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}

.rc-global-footer__legal span{
  color: #000;
  font-weight: 700;
}

.rc-static-info-page{
  display: grid;
  gap: 18px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.rc-static-info-page .rc-booking-table-card{
  display: grid;
  gap: 12px;
  padding: 28px;
}

.rc-static-info-page .rc-booking-table-card p{
  margin: 0;
  color: #364150;
  font-size: 16px;
  line-height: 1.65;
}

@media (max-width: 720px) {
  .rc-global-footer__top{
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .rc-global-footer__brand{
    width: 104px;
    height: 104px;
    font-size: 56px;
  }

  .rc-global-footer__bottom,
.rc-global-footer__legal{
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
  }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px){
  .view-equipments .view-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .rc-topbar__inner {
    gap: 16px;
  }
}

@media (max-width: 600px) {
  body{
    font-size: 14.5px;
  }

  .rc-container{
    width: calc(100% - 20px);
  }

  .view-equipments .view-content{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rc-topbar__inner{
    flex-wrap: wrap;
    gap: 12px;
  }

  .rc-main-menu{
    flex-wrap: wrap;
    gap: 12px;
    margin-left: 0;
  }

  .rc-search{
    max-width: 100%;
  }

  .path-user-login form,
.path-user-register form,
.path-user-password form{
    padding: 28px !important;
  }
}

/* =========================================
   PUBLIC HOMEPAGE
========================================= */

.rc-public-home{
  padding: 30px 0 48px;
}

/* HERO */

.rc-hero-slider{
  position: relative;
  height: clamp(330px, 38vw, 430px);
  overflow: visible;
  border-radius: 12px;
  margin-bottom: 72px;
  box-shadow: 0 18px 40px rgba(8, 25, 73, 0.12);
}

.rc-slide{
  position: absolute;
  inset: 0;

  overflow: hidden;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.7s ease;

  background-size: cover;
  background-position: center;
}

.rc-slide.active{
  opacity: 1;
  z-index: 2;
}

.rc-slide-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.72),
    rgba(0,0,0,0.25)
  );
}

.rc-slide-content{
  position: relative;
  z-index: 5;

  max-width: 540px;

  padding: clamp(58px, 8vw, 92px) clamp(34px, 6vw, 82px);

  color: white;
}

.rc-slide-content h1{
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 900;
}

.rc-slide-content p{
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.55;
  margin-bottom: 30px;
}

.rc-primary-btn{
  background: #171717;
  color: white !important;
  padding: 16px 28px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none !important;
}

/* ARROWS */

.rc-slider-prev,
.rc-slider-next{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  z-index: 10;

  width: 52px;
  height: 52px;

  border-radius: 50% !important;
  border: none !important;

  background: rgba(255,255,255,0.22) !important;

  color: white !important;
  font-size: 22px;
}

.rc-slider-prev{
  left: 24px;
}

.rc-slider-next{
  right: 24px;
}

/* DOTS */

.rc-slider-dots{
  position: absolute;
  bottom: -44px;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  gap: 10px;

  z-index: 10;
}

.rc-slider-dots span{
  width: 11px;
  height: 11px;

  border-radius: 50%;

  background: #98a3b8;
}

.rc-slider-dots span.active{
  background: #034eff;
}

.rc-public-benefits{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  margin: 0 auto 40px;
  color: #171717;
  text-align: center;
}

.rc-public-benefits article{
  min-width: 0;
}

.rc-public-benefits span{
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  place-items: center;
  border-radius: 10px;
  background: #f0f0ed;
  color: #034eff;
  font-size: 31px;
  line-height: 1;
}

.rc-public-benefits h2{
  margin: 0 0 9px;
  color: #171717;
  font-size: 18px;
  line-height: 1.25;
}

.rc-public-benefits p{
  margin: 0;
  color: #1f2d67;
  font-size: 13px;
  line-height: 1.65;
}

.rc-public-summary{
  border-top: 1px solid #dce6f7;
  padding: 36px 18px 0;
  color: #171717;
  text-align: center;
}

.rc-public-summary h2{
  margin: 0 0 10px;
  color: #171717;
  font-size: 27px;
  line-height: 1.25;
}

.rc-public-summary p{
  max-width: 650px;
  margin: 0 auto;
  color: #5f6b91;
  font-size: 15px;
  line-height: 1.6;
}
.rc-user-auth-links{
  margin-left: auto;
  display: flex;
  gap: 12px;
}

.rc-user-auth-links a{
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid #171717;
  color: #171717;
  background: #ffffff;
}

.rc-user-auth-links a:last-child{
  background: #171717;
  color: #ffffff;
}

.rc-user-auth-links a:hover{
  text-decoration: none;
  transform: translateY(-1px);
}

/* SHOW ACTIVE SLIDE */
.rc-slide:first-child{
  opacity: 1;
  z-index: 1;
}

/* LOGIN/REGISTER BUTTONS */
.rc-user-auth-links a{
  transition: 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
}

/* HERO IMAGE FIX */
.rc-hero-slider{
  background: #0f172a;
}

/* SLIDES */
.rc-slide{
  background-repeat: no-repeat;
}

/* MOBILE HERO */
@media (max-width: 768px){

  .rc-hero-slider {
    height: 420px;
    margin-bottom: 62px;
  }

  .rc-slide-content {
    padding: 80px 30px;
  }

  .rc-slide-content h1 {
    font-size: 42px;
  }

  .rc-slide-content p {
    font-size: 18px;
  }

  .rc-public-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rc-public-benefits article:last-child {
    grid-column: 1 / -1;
  }

}

.rc-primary-btn,
.rc-user-auth-links a:last-child,
.rc-slider-prev,
.rc-slider-next{
  background: #171717 !important;
  border-color: #171717 !important;
}

.rc-primary-btn:hover,
.rc-user-auth-links a:last-child:hover,
.rc-slider-prev:hover,
.rc-slider-next:hover{
  background: #000000 !important;
  border-color: #000000 !important;
}

.rc-user-auth-links a:first-child{
  color: #171717 !important;
  border-color: #171717 !important;
}

/* =========================
   GLOBAL SLIDE SIDE MENU
========================= */

.rc-side-tab{
  position: fixed;
  top: 120px;
  left: 0;
  z-index: 1003;

  width: 42px;
  height: 72px;

  border-radius: 0 14px 14px 0 !important;
  background: #171717 !important;
  color: #ffffff !important;
  border: none !important;

  font-size: 22px;
  font-weight: 900;

  box-shadow: 4px 6px 18px rgba(0,0,0,0.22);
}

.rc-side-tab{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 999999 !important;
}

.rc-slide{
  will-change: opacity;
}

.rc-side-section a.active{
  background: #171717;
  color: #ffffff;
}

.rc-side-section a.active span{
  background: #ffffff;
  color: #171717;
}

.rc-site.menu-open .rc-side-tab{
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.rc-side-menu{
  position: fixed;
  top: 0;
  left: 0;

  width: min(280px, calc(100vw - 40px));
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;

  background: #ffffff;
  z-index: 1002;

  padding: 18px;
  box-sizing: border-box;

  box-shadow: 8px 0 30px rgba(0,0,0,0.18);

  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.22,.61,.36,1), box-shadow 0.3s ease;

  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.rc-side-menu.open{
  transform: translateX(0);
}

.rc-side-menu-header{
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding-bottom: 18px;
  border-bottom: 1px solid #e5e7eb;

  color: #171717;
  font-size: 18px;
}

.rc-side-close{
  background: transparent !important;
  border: none !important;
  color: #171717 !important;
  font-size: 28px;
  padding: 0 !important;
}

.rc-side-section{
  margin-top: 22px;
}

.rc-side-section h4{
  margin: 0 0 10px;
  font-size: 11px;
  text-transform: uppercase;
  color: #6f6f6a;
  font-weight: 900;
}

.rc-side-section a{
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 12px 14px;
  margin-bottom: 6px;

  border-radius: 10px;

  color: #171717;
  font-weight: 800;
  text-decoration: none;
}

.rc-side-section a:hover{
  background: #f0f0ed;
  color: #171717;
  text-decoration: none;
}

.rc-side-section a span{
  margin-left: auto;

  background: #171717;
  color: #ffffff;

  min-width: 22px;
  height: 22px;

  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 11px;
}

.rc-side-help{
  margin-top: 40px;
  padding: 18px;

  background: #f3f7ff;
  border-radius: 14px;

  text-align: center;
}

.rc-side-help p{
  font-size: 12px;
  color: #6f6f6a;
}

.rc-side-help a{
  display: block;

  border: 1px solid #171717;
  border-radius: 10px;

  padding: 10px;

  color: #171717;
  font-weight: 800;
  text-decoration: none;
}

.rc-side-overlay{
  display: none;

  position: fixed;
  inset: 0;

  background: rgba(23, 23, 23, 0.35);
  z-index: 1000;
}

.rc-side-overlay.open{
  display: block;
}
.rc-site.menu-open .rc-layout,
.rc-site.menu-open .rc-topbar{
  margin-left: 280px;
  transition: margin-left 0.3s ease;
}

@media (max-width: 900px) {
  .rc-site.menu-open .rc-layout,
.rc-site.menu-open .rc-topbar{
    margin-left: 0;
  }
}

@media (max-width: 1100px) {

  .rc-slide-content h1{
    font-size: 54px;
  }

  .rc-slide-content p{
    font-size: 19px;
  }

}

/* =====================================================
   Philosopher’s Hub CLEAN OVERRIDES
   Keep this block at the VERY BOTTOM of the CSS file.
===================================================== */

/* Sidebar active link fix */
.rc-side-section a{
  color: #171717 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.rc-side-section a.active{
  background: #f0f0ed !important;
  color: #171717 !important;
}

.rc-side-section a.active,
.rc-side-section a.active *{
  color: #171717 !important;
}

/* Dashboard link specifically */
.rc-side-section a.rc-dashboard-link{
  display: flex !important;
  color: #171717 !important;
}

.rc-side-section a.rc-dashboard-link.active{
  background: #f0f0ed !important;
  color: #171717 !important;
}

/* Dashboard page container */
.path-dashboard .rc-container.rc-layout{
  width: min(1500px, calc(100% - 40px)) !important;
  max-width: 1500px !important;
  margin: 24px auto !important;
}

.path-dashboard .rc-content{
  width: 100% !important;
  max-width: none !important;
}

.path-dashboard .rc-content .block,
.path-dashboard .rc-content article,
.path-dashboard .rc-content .node,
.path-dashboard .rc-content form{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Dashboard layout */
.rc-dashboard{
  display: grid !important;
  gap: 18px !important;
}

.rc-metric-grid{
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.rc-dashboard-main{
  display: grid !important;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr) !important;
  gap: 16px !important;
}

.rc-dashboard-grid{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.rc-dashboard-bottom{
  display: grid !important;
  grid-template-columns: 1.4fr 1fr !important;
  gap: 16px !important;
}

/* Newsfeed stable layout */
.path-newsfeed .rc-container.rc-layout{
  width: min(1500px, calc(100% - 40px)) !important;
  max-width: 1500px !important;
  margin: 24px auto !important;
}

.path-newsfeed .rc-content{
  width: 100% !important;
  max-width: none !important;
}

.rc-news-card{
  display: grid !important;
  grid-template-columns: 170px minmax(0, 1fr) 130px !important;
  grid-template-areas:
    "thumb main tools"
    "thumb main action" !important;
  gap: 12px 22px !important;
  align-items: start !important;
  width: 100% !important;
  padding: 16px !important;
}

.rc-news-thumb{
  grid-area: thumb !important;
  width: 170px !important;
  height: 112px !important;
  display: block !important;
  overflow: hidden !important;
}

.rc-news-thumb img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Responsive */
@media (max-width: 1200px){
  .rc-dashboard-main,
  .rc-dashboard-bottom {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 900px) {
  .rc-metric-grid,
.rc-dashboard-grid{
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 700px) {
  .rc-metric-grid,
.rc-dashboard-grid{
    grid-template-columns: 1fr !important;
  }

  .rc-news-card{
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "thumb"
      "main"
      "tools"
      "action" !important;
  }

  .rc-news-thumb{
    width: 100% !important;
    height: 180px !important;
  }
}
/* =====================================================
   DASHBOARD REDESIGN ADDITIONS
   Additive,
scoped styles for page--dashboard.html.twig.
   Keep this section after the existing Philosopher’s Hub CSS.
===================================================== */

.rc-dashboard-app{
  --rc-dash-bg: #f5f5f2;
  --rc-dash-surface: #ffffff;
  --rc-dash-soft: #f0f0ed;
  --rc-dash-text: #171717;
  --rc-dash-heading: #171717;
  --rc-dash-muted: #6f6f6a;
  --rc-dash-border: #deded8;
  --rc-dash-brand: #171717;
  --rc-dash-brand-dark: #000000;
  --rc-dash-black: #171717;
  --rc-dash-purple: #171717;
  --rc-dash-radius: 12px;
  --rc-dash-shadow: 0 10px 30px rgba(23, 23, 23, 0.06);

  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  background: var(--rc-dash-bg);
  color: var(--rc-dash-text);
  font-size: 14px;
  line-height: 1.5;
}

.rc-dashboard-app *,
.rc-dashboard-app *::before,
.rc-dashboard-app *::after{
  box-sizing: border-box;
}

.rc-dashboard-app a{
  color: inherit;
  text-decoration: none;
}

.rc-dashboard-app button,
.rc-dashboard-app input{
  font: inherit;
}

.rc-dashboard-app button{
  cursor: pointer;
}

.rc-dashboard-app .visually-hidden{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rc-dashboard-app .rc-sidebar{
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 18px 18px 24px;
  background: var(--rc-dash-surface);
  border-right: 1px solid var(--rc-dash-border);
}

.rc-dashboard-app .rc-brand,
.rc-dashboard-app .rc-sidebar-user,
.rc-dashboard-app .rc-main-nav,
.rc-dashboard-app .rc-top-actions,
.rc-dashboard-app .rc-dashboard-head,
.rc-dashboard-app .rc-feed-toolbar,
.rc-dashboard-app .rc-card-meta,
.rc-dashboard-app .rc-card-footer,
.rc-dashboard-app .rc-panel-head,
.rc-dashboard-app .rc-mini-event,
.rc-dashboard-app .rc-stats-list div{
  display: flex;
  align-items: center;
}

.rc-dashboard-app .rc-brand{
  gap: 14px;
  color: var(--rc-dash-brand);
  font-size: 17px;
  font-weight: 900;
}

.rc-dashboard-app .rc-brand-mark{
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--rc-dash-black);
  color: #ffffff;
}

.rc-dashboard-app .rc-sidebar-nav{
  display: grid;
  gap: 8px;
}

.rc-dashboard-app .rc-sidebar-nav strong{
  margin: 18px 0 6px;
  color: var(--rc-dash-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rc-dashboard-app .rc-sidebar-nav a,
.rc-dashboard-app .rc-sidebar-collapse{
  border-radius: 8px;
  padding: 12px 14px;
  color: #171717;
  font-weight: 800;
}

.rc-dashboard-app .rc-sidebar-nav a:hover,
.rc-dashboard-app .rc-sidebar-nav a.is-active{
  background: #eefaf9;
  color: var(--rc-dash-brand-dark);
}

.rc-dashboard-app .rc-sidebar-user{
  gap: 12px;
  margin-top: auto;
  padding: 12px;
  border: 1px solid var(--rc-dash-border);
  border-radius: 10px;
}

.rc-dashboard-app .rc-sidebar-user b,
.rc-dashboard-app .rc-sidebar-user small{
  display: block;
}

.rc-dashboard-app .rc-sidebar-user small{
  color: var(--rc-dash-muted);
}

.rc-dashboard-app .rc-avatar{
  width: 36px;
  height: 36px;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, #d1d5db 0 25%, transparent 26%),
    radial-gradient(circle at 50% 105%, #cbd5e1 0 48%, transparent 49%),
    #eef2f7;
}

.rc-dashboard-app .rc-sidebar-collapse{
  width: 100%;
  border: 0 !important;
  background: transparent !important;
  text-align: left;
  color: #171717 !important;
}

.rc-dashboard-app .rc-shell{
  min-width: 0;
}

.rc-dashboard-app .rc-topbar{
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(280px, 520px) auto;
  gap: 28px;
  align-items: center;
  min-height: 68px;
  padding: 0 36px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--rc-dash-border);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.rc-dashboard-app .rc-main-nav,
.rc-dashboard-app .rc-top-actions{
  gap: 24px;
}

.rc-dashboard-app .rc-main-nav a,
.rc-dashboard-app .rc-top-actions a{
  color: #1f2937;
  font-size: 13px;
  font-weight: 900;
}

.rc-dashboard-app .rc-search{
  display: flex;
  gap: 10px;
  max-width: none;
  margin-left: 0;
}

.rc-dashboard-app .rc-search input{
  width: 100%;
  height: 42px;
  border: 1px solid var(--rc-dash-border);
  border-radius: 8px;
  padding: 0 14px;
  background: #ffffff;
}

.rc-dashboard-app .rc-search button,
.rc-dashboard-app .rc-feed-tabs button.is-active,
.rc-dashboard-app .rc-card-action{
  border: 0 !important;
  border-radius: 8px !important;
  background: var(--rc-dash-brand) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
}

.rc-dashboard-app .rc-search button{
  min-width: 86px;
  height: 42px !important;
  padding: 0 16px !important;
}

.rc-dashboard-app .rc-top-actions{
  justify-content: end;
}

.rc-dashboard-app .rc-avatar-link{
  line-height: 0;
}

.rc-dashboard-app .rc-system-messages{
  max-width: 1260px;
  margin: 18px auto 0;
  padding: 0 36px;
}

.rc-dashboard-app .rc-dashboard{
  display: block;
  max-width: 1260px;
  margin: 0 auto;
  padding: 30px 36px 48px;
}

.rc-dashboard-app .rc-dashboard-head{
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.rc-dashboard-app .rc-dashboard-head h1{
  margin: 0 0 4px;
  color: var(--rc-dash-heading);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
}

.rc-dashboard-app .rc-dashboard-head p{
  margin: 0;
  color: var(--rc-dash-muted);
}

.rc-dashboard-app .rc-date-pill,
.rc-dashboard-app .rc-filter-button{
  border: 1px solid var(--rc-dash-border);
  border-radius: 8px;
  background: #ffffff;
  color: #171717;
  font-size: 13px;
  font-weight: 900;
}

.rc-dashboard-app .rc-date-pill{
  padding: 11px 16px;
}

.rc-dashboard-app .rc-dashboard-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.rc-dashboard-app .rc-feed{
  min-width: 0;
}

.rc-dashboard-app .rc-feed-toolbar{
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.rc-dashboard-app .rc-feed-tabs{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--rc-dash-border);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--rc-dash-shadow);
}

.rc-dashboard-app .rc-feed-tabs button{
  height: 32px;
  border: 0 !important;
  border-radius: 8px !important;
  padding: 0 14px !important;
  background: transparent !important;
  color: #475569 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.rc-dashboard-app .rc-feed-tabs button.is-active{
  color: #ffffff !important;
}

.rc-dashboard-app .rc-filter-button{
  height: 42px;
  padding: 0 18px;
}

.rc-dashboard-app .rc-feed-card{
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 72px;
  grid-template-areas:
    "image body tools"
    "image body action";
  gap: 12px 18px;
  align-items: start;
  margin-bottom: 12px;
  padding: 18px;
  border: 1px solid var(--rc-dash-border);
  border-radius: var(--rc-dash-radius);
  background: #ffffff;
  box-shadow: var(--rc-dash-shadow);
}

.rc-dashboard-app .rc-feed-card[hidden]{
  display: none;
}

.rc-dashboard-app .rc-card-image{
  grid-area: image;
  width: 132px;
  height: 96px;
  overflow: hidden;
  border-radius: 8px;
  background: #eef2f7;
}

.rc-dashboard-app .rc-card-image-lab,
.rc-dashboard-app .rc-card-image-microscope,
.rc-dashboard-app .rc-card-image-paper{
  position: relative;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #f0f0ed, #eff6ff);
}

.rc-dashboard-app .rc-card-image-lab::before,
.rc-dashboard-app .rc-card-image-microscope::before,
.rc-dashboard-app .rc-card-image-paper::before{
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 8px;
  background: rgba(23, 23, 23, 0.14);
}

.rc-dashboard-app .rc-card-image-lab::after{
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  height: 18px;
  border-radius: 6px;
  background: #0f766e;
  box-shadow: 28px -28px 0 -4px #171717, 54px -18px 0 -6px #6f6f6a;
}

.rc-dashboard-app .rc-card-image-microscope{
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #171717, #f0f0ed);
}

.rc-dashboard-app .rc-card-image-microscope::after{
  content: "";
  position: absolute;
  left: 44px;
  bottom: 18px;
  width: 34px;
  height: 54px;
  border-radius: 9px 9px 5px 5px;
  background: #f8fafc;
  box-shadow: 18px -26px 0 -8px #171717, 28px 20px 0 -9px #171717;
}

.rc-dashboard-app .rc-card-image-paper{
  background: linear-gradient(135deg, #f8fafc, #cbd5e1);
}

.rc-dashboard-app .rc-card-image-paper::after{
  content: "";
  position: absolute;
  inset: 18px 24px;
  border-radius: 4px;
  background:
    linear-gradient(#171717 0 0) 14px 18px / 58px 4px no-repeat,
    linear-gradient(#6f6f6a 0 0) 14px 31px / 78px 4px no-repeat,
    linear-gradient(#6f6f6a 0 0) 14px 44px / 62px 4px no-repeat,
    #ffffff;
  box-shadow: 0 8px 18px rgba(23, 23, 23, 0.14);
}

.rc-dashboard-app .rc-card-image-fallback{
  display: grid;
  place-items: center;
  padding: 14px;
  background: linear-gradient(135deg, #045d64, #012d3b);
  color: #ffffff;
  font-size: 12px;
  line-height: 1.35;
  text-transform: uppercase;
}

.rc-dashboard-app .rc-card-body{
  grid-area: body;
  min-width: 0;
}

.rc-dashboard-app .rc-card-meta{
  gap: 10px;
  margin-bottom: 7px;
  color: var(--rc-dash-muted);
  font-size: 12px;
  font-weight: 800;
}

.rc-dashboard-app .rc-badge{
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.rc-dashboard-app .rc-badge-equipment,
.rc-dashboard-app .rc-badge-publication{
  background: #e7f7ff;
  color: #0369a1;
}

.rc-dashboard-app .rc-badge-workshop{
  background: #dcfce7;
  color: #15803d;
}

.rc-dashboard-app .rc-badge-event{
  background: #ede9fe;
  color: #6d28d9;
}

.rc-dashboard-app .rc-badge-announcement{
  background: #fff7ed;
  color: #c2410c;
}

.rc-dashboard-app .rc-feed-card h2{
  margin: 0 0 5px;
  color: var(--rc-dash-heading);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
}

.rc-dashboard-app .rc-feed-card p{
  margin: 0 0 10px;
  color: #536176;
}

.rc-dashboard-app .rc-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.rc-dashboard-app .rc-tags span,
.rc-dashboard-app .rc-topic-list a{
  border-radius: 7px;
  background: #f1f5f9;
  color: #171717;
  font-size: 12px;
  font-weight: 800;
}

.rc-dashboard-app .rc-tags span{
  padding: 4px 9px;
}

.rc-dashboard-app .rc-card-footer{
  gap: 22px;
  color: var(--rc-dash-muted);
  font-size: 13px;
}

.rc-dashboard-app .rc-card-tools{
  grid-area: tools;
  display: flex;
  justify-content: end;
  gap: 8px;
}

.rc-dashboard-app .rc-card-tools button{
  width: 32px;
  height: 32px;
  overflow: hidden;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: transparent !important;
  padding: 0 !important;
}

.rc-dashboard-app .rc-card-tools button::before{
  color: #6f6f6a;
  font-weight: 900;
}

.rc-dashboard-app .rc-card-tools button:first-child::before{
  content: "S";
}

.rc-dashboard-app .rc-menu-button::before{
  content: "...";
}

.rc-dashboard-app .rc-card-action{
  grid-area: action;
  align-self: end;
  justify-self: end;
  min-width: 104px;
  padding: 9px 14px;
  text-align: center;
  font-size: 12px;
}

.rc-dashboard-app .rc-action-black{
  background: var(--rc-dash-black) !important;
}

.rc-dashboard-app .rc-action-black-and-white{
  background: var(--rc-dash-brand-dark) !important;
}

.rc-dashboard-app .rc-action-purple{
  background: var(--rc-dash-purple) !important;
}

.rc-dashboard-app .rc-dashboard-aside{
  display: grid;
  gap: 18px;
  position: sticky;
  top: 88px;
}

.rc-dashboard-app .rc-panel{
  padding: 18px;
  border: 1px solid var(--rc-dash-border);
  border-radius: var(--rc-dash-radius);
  background: #ffffff;
  box-shadow: var(--rc-dash-shadow);
}

.rc-dashboard-app .rc-panel h2{
  margin: 0 0 14px;
  color: var(--rc-dash-heading);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 900;
}

.rc-dashboard-app .rc-panel > a{
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #eef2f6;
  font-weight: 800;
}

.rc-dashboard-app .rc-panel > a::after{
  content: ">";
  color: var(--rc-dash-muted);
}

.rc-dashboard-app .rc-panel > a:last-child{
  border-bottom: 0;
}

.rc-dashboard-app .rc-panel-head{
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.rc-dashboard-app .rc-panel-head h2{
  margin: 0;
}

.rc-dashboard-app .rc-panel-head a,
.rc-dashboard-app .rc-panel-head span{
  color: var(--rc-dash-brand-dark);
  font-size: 12px;
  font-weight: 900;
}

.rc-dashboard-app .rc-mini-event{
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eef2f6;
}

.rc-dashboard-app .rc-mini-event:last-child{
  border-bottom: 0;
}

.rc-dashboard-app .rc-mini-event > span{
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eefaf9;
  color: var(--rc-dash-brand-dark);
  font-weight: 900;
}

.rc-dashboard-app .rc-mini-event strong,
.rc-dashboard-app .rc-mini-event small{
  display: block;
}

.rc-dashboard-app .rc-mini-event small{
  color: var(--rc-dash-muted);
}

.rc-dashboard-app .rc-topic-list{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rc-dashboard-app .rc-topic-list a{
  padding: 7px 10px;
  border: 1px solid var(--rc-dash-border);
  background: #ffffff;
}

.rc-dashboard-app .rc-stats-list{
  margin: 0;
}

.rc-dashboard-app .rc-stats-list div{
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid #eef2f6;
}

.rc-dashboard-app .rc-stats-list div:last-child{
  border-bottom: 0;
}

.rc-dashboard-app .rc-stats-list dt{
  color: #1f2937;
  font-weight: 800;
}

.rc-dashboard-app .rc-stats-list dd{
  margin: 0;
  font-weight: 900;
}

.rc-dashboard-app.is-sidebar-collapsed{
  grid-template-columns: 86px minmax(0, 1fr);
}

.rc-dashboard-app.is-sidebar-collapsed .rc-brand span:last-child,
.rc-dashboard-app.is-sidebar-collapsed .rc-sidebar-nav strong,
.rc-dashboard-app.is-sidebar-collapsed .rc-sidebar-nav a,
.rc-dashboard-app.is-sidebar-collapsed .rc-sidebar-user span,
.rc-dashboard-app.is-sidebar-collapsed .rc-sidebar-collapse{
  font-size: 0;
}

@media (max-width: 1180px) {
  .rc-dashboard-app{
    grid-template-columns: 1fr;
  }

  .rc-dashboard-app .rc-sidebar{
    position: relative;
    height: auto;
  }

  .rc-dashboard-app .rc-sidebar-nav{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rc-dashboard-app .rc-sidebar-nav strong,
.rc-dashboard-app .rc-sidebar-user,
.rc-dashboard-app .rc-sidebar-collapse{
    display: none;
  }

  .rc-dashboard-app .rc-topbar{
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 22px;
  }

  .rc-dashboard-app .rc-main-nav,
.rc-dashboard-app .rc-top-actions{
    flex-wrap: wrap;
  }

  .rc-dashboard-app .rc-dashboard-grid{
    grid-template-columns: 1fr;
  }

  .rc-dashboard-app .rc-dashboard-aside{
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .rc-dashboard-app .rc-sidebar{
    padding: 14px;
  }

  .rc-dashboard-app .rc-sidebar-nav{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rc-dashboard-app .rc-dashboard{
    padding: 22px 16px 36px;
  }

  .rc-dashboard-app .rc-dashboard-head,
.rc-dashboard-app .rc-feed-toolbar{
    align-items: flex-start;
    flex-direction: column;
  }

  .rc-dashboard-app .rc-feed-card{
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "body"
      "tools"
      "action";
  }

  .rc-dashboard-app .rc-card-image{
    width: 100%;
    height: 180px;
  }

  .rc-dashboard-app .rc-card-action{
    justify-self: stretch;
  }

  .rc-dashboard-app .rc-dashboard-aside{
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   CREATE PAGE
   Styles for page--create.html.twig.
===================================================== */

.rc-create-page{
  width: min(1320px, calc(100% - 40px));
  margin: 28px auto 60px;
}

.rc-create-hero{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--rc-border);
  border-radius: 18px;
  box-shadow: var(--rc-shadow);
}

.rc-create-eyebrow{
  margin: 0 0 8px;
  color: var(--rc-brand-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.rc-create-hero h1{
  margin: 0 0 8px;
  color: #171717;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 900;
}

.rc-create-hero p:last-child{
  max-width: 720px;
  margin: 0;
  color: var(--rc-muted);
  font-size: 15px;
}

.rc-create-primary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--rc-brand);
  color: #ffffff !important;
  font-weight: 900;
  text-decoration: none !important;
  white-space: nowrap;
}

.rc-create-primary:hover{
  background: var(--rc-brand-dark);
}

.rc-create-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.rc-create-card{
  background: #ffffff;
  border: 1px solid var(--rc-border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--rc-shadow);
}

.rc-create-card h2{
  margin: 0 0 14px;
  color: #64717d;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.rc-create-card a{
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 2px 12px;
  padding: 13px 10px;
  border-radius: 10px;
  color: #17212b;
  text-decoration: none !important;
}

.rc-create-card a:hover{
  background: #f0f0ed;
}

.rc-create-card span{
  grid-row: span 2;
  font-size: 18px;
}

.rc-create-card strong{
  color: #171717;
  font-size: 15px;
  font-weight: 900;
}

.rc-create-card small{
  color: var(--rc-muted);
  font-size: 13px;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .rc-create-hero{
    align-items: flex-start;
    flex-direction: column;
  }

  .rc-create-grid{
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   LISTING WIDTH + DETAIL PAGE FIXES
   Keep this at the bottom of researchconnect-smooth.css.
===================================================== */

.path-events .rc-container.rc-layout,
.path-equipments-list .rc-container.rc-layout,
.path-user .rc-container.rc-layout,
.path-node .rc-container.rc-layout{
  width: min(1500px, calc(100% - 40px)) !important;
  max-width: 1500px !important;
  margin: 0 auto !important;
}

.path-events .rc-content,
.path-equipments-list .rc-content,
.path-user .rc-content,
.path-node .rc-content{
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

.path-events .rc-content .block,
.path-equipments-list .rc-content .block,
.path-user .rc-content .block{
  width: 100% !important;
  max-width: none !important;
}

.events-grid .view-content{
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)) !important;
  gap: 28px !important;
  width: 100% !important;
  max-width: none !important;
}

.events-grid .views-row{
  width: 100% !important;
  min-width: 0 !important;
}
.experts-grid .view-content{
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 26px !important;
  width: 100% !important;
  max-width: none !important;
}
.experts-grid .views-row{
  width: 100% !important;
  min-width: 0 !important;
}

.path-equipments-list .view-equipments .view-content,
.path-researchconnect-equipment .view-equipments .view-content,
.path-researchconnect-equipment .view-content,
.path-equipments-list .view-content{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 28px !important;
  width: 100% !important;
  max-width: none !important;
}

.path-researchconnect-equipment .views-row,
.path-researchconnect-equipment .rc-equipment-card,
.path-equipments-list .views-row,
.path-equipments-list .rc-equipment-card{
  width: 100% !important;
  min-width: 0 !important;
}

.path-equipments-list .rc-equipment-title,
.path-equipments-list .rc-equipment-title *{
  word-break: normal !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
  hyphens: none !important;
}

@media (max-width: 760px) {
  .events-grid .view-content,
.experts-grid .view-content,
.path-researchconnect-equipment .view-content,
.path-equipments-list .view-content{
    grid-template-columns: 1fr !important;
  }
}

/* =====================================================
   EVENT DETAIL PAGE
   Styles for node--event.html.twig / node--events.html.twig.
===================================================== */

.rc-event-detail-page{
  width: min(1320px, calc(100% - 40px));
  margin: 34px auto 70px;
}

.rc-event-detail-breadcrumb{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--rc-muted);
  font-size: 13px;
  font-weight: 800;
}

.rc-event-detail-breadcrumb a{
  color: #111111;
  text-decoration: none;
}

.rc-event-detail-hero{
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}

.rc-event-detail-media,
.rc-event-detail-summary,
.rc-event-detail-layout .rc-card{
  background: #ffffff;
  border: 1px solid var(--rc-border);
  border-radius: 18px;
  box-shadow: var(--rc-shadow);
}

.rc-event-detail-media{
  min-height: 420px;
  overflow: hidden;
}

.rc-event-detail-media img{
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  object-fit: cover;
}

.rc-event-detail-placeholder{
  min-height: 420px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(20, 30, 65, 0.96), rgba(38, 45, 91, 0.96)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.28), transparent 34%);
  color: #ffffff;
}

.rc-event-detail-placeholder span{
  max-width: 340px;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 900;
  text-align: center;
}

.rc-event-detail-summary{
  display: flex;
  padding: 34px;
  flex-direction: column;
  justify-content: center;
}

.rc-event-detail-category{
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f0f0ed;
  color: var(--rc-brand-dark);
  font-size: 12px;
  font-weight: 900;
}

.rc-event-detail-summary h1{
  margin: 0 0 24px;
  color: #171717;
  font-size: clamp(34px, 3.6vw, 56px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.rc-event-detail-meta{
  display: grid;
  gap: 14px;
}

.rc-event-detail-meta div{
  padding: 15px 17px;
  border: 1px solid var(--rc-border);
  border-radius: 12px;
  background: #f8fafc;
}

.rc-event-detail-meta strong,
.rc-event-detail-meta span{
  display: block;
}

.rc-event-detail-meta strong{
  margin-bottom: 4px;
  color: var(--rc-muted);
  font-size: 12px;
  text-transform: uppercase;
}

.rc-event-detail-meta span{
  color: #17212b;
  font-weight: 800;
}

.rc-event-detail-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.rc-event-detail-actions .rc-btn-primary,
.rc-event-detail-actions .rc-btn-outline,
.rc-event-detail-side .rc-btn-primary,
.rc-event-detail-side .rc-btn-outline {
  display: inline-flex;
  border-width: 1px;
  min-height: 44px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.rc-event-detail-actions .rc-btn-primary,
.rc-event-detail-side .rc-btn-primary {
  border: 1px solid #111111;
  background: #111111;
  color: #ffffff !important;
}

.rc-event-detail-actions .rc-btn-outline,
.rc-event-detail-side .rc-btn-outline {
  border: 1px solid #111111;
  background: #ffffff;
  color: #111111 !important;
}

.rc-event-detail-layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
}

.rc-event-detail-main-stack{
  display: grid;
  gap: 18px;
  align-content: start;
}

.rc-event-detail-layout .rc-card{
  padding: 28px;
}

.rc-event-detail-layout h2{
  margin-top: 0;
  color: #171717;
  font-size: 24px;
  line-height: 1.15;
}

.rc-event-detail-description{
  color: #334155;
  font-size: 16px;
  line-height: 1.8;
}

.rc-event-section-heading{
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 16px;
}

.rc-event-section-heading > span{
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: #111111;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.rc-event-section-heading h2,
.rc-event-section-heading p{
  margin: 0;
}

.rc-event-section-heading p{
  margin-top: 6px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

.rc-event-accommodation-note{
  margin-bottom: 16px;
  padding: 13px 15px;
  border: 1px solid #d8eadc;
  border-radius: 12px;
  background: #f0faf2;
  color: #24542c;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.rc-event-accommodation-list{
  display: grid;
  gap: 12px;
}

.rc-event-accommodation-card{
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 15px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #ffffff;
}

.rc-event-accommodation-icon{
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 10px;
  background: #174d27;
  color: #ffffff;
  font-weight: 900;
}

.rc-event-accommodation-info h3,
.rc-event-accommodation-info p{
  margin: 0;
}

.rc-event-accommodation-info h3{
  color: #111111;
  font-size: 16px;
  line-height: 1.25;
}

.rc-event-accommodation-info p{
  margin-top: 5px;
  color: #526172;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}

.rc-event-accommodation-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.rc-event-accommodation-tags span{
  padding: 5px 8px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #334155;
  font-size: 11px;
  font-weight: 900;
}

.rc-event-accommodation-card > strong{
  align-self: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 12px;
  white-space: nowrap;
}

.rc-event-additional-list{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rc-event-additional-list li{
  display: grid;
  gap: 5px;
  min-height: 96px;
  padding: 15px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f8fafc;
}

.rc-event-additional-list strong{
  color: #111111;
  font-size: 14px;
}

.rc-event-additional-list span{
  color: #526172;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}

.rc-event-detail-side{
  display: grid;
  gap: 18px;
  align-content: start;
}

.rc-event-detail-side .rc-card{
  position: relative;
  overflow: hidden;
}

.rc-event-detail-list{
  margin: 0;
}

.rc-event-detail-list div{
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
}

.rc-event-detail-list div:last-child{
  border-bottom: 0;
}

.rc-event-detail-list dt{
  color: var(--rc-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.rc-event-detail-list dd{
  margin: 4px 0 0;
  color: #17212b;
  font-weight: 800;
}

.rc-event-registration-card {
  display: grid;
  gap: 16px;
}

.rc-event-registration-status {
  display: inline-flex;
  width: fit-content;
  gap: 8px;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  background: #eaf7ec;
  color: #4aa255;
  font-size: 13px;
  font-weight: 900;
}

.rc-event-registration-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.rc-event-capacity {
  display: grid;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.rc-event-capacity strong {
  color: #111111;
  font-size: 14px;
}

.rc-event-capacity p {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
}

.rc-event-capacity-bar {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e7eb;
}

.rc-event-capacity-bar span {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: #4aa255;
}

.rc-event-register-full,
.rc-event-back-link {
  width: 100%;
}

.rc-event-registration-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rc-event-modal[hidden] {
  display: none;
}

.rc-event-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 17, 20, 0.64);
}

.rc-event-modal-dialog {
  width: min(660px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.rc-event-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 28px;
  background: #174d27;
  color: #ffffff;
}

.rc-event-modal-head h2,
.rc-event-modal-head p {
  margin: 0;
  color: #ffffff;
}

.rc-event-modal-head p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.rc-event-modal-close {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
}

.rc-event-register-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.rc-event-register-form label {
  display: grid;
  gap: 8px;
  color: #111111;
  font-size: 14px;
  font-weight: 900;
}

.rc-event-register-form input,
.rc-event-register-form select,
.rc-event-register-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid #dfe3e8;
  border-radius: 10px;
  background: #ffffff;
  color: #111111;
  font: inherit;
  font-weight: 700;
}

.rc-event-register-form textarea {
  resize: vertical;
}

.rc-event-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rc-event-accommodation-request{
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #f8fafc;
}

.rc-event-register-form .rc-event-switch-row{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin: 0;
  cursor: pointer;
}

.rc-event-switch-row span,
.rc-event-switch-row strong,
.rc-event-switch-row small{
  display: block;
}

.rc-event-switch-row strong{
  color: #111111;
  font-size: 14px;
}

.rc-event-switch-row small{
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
}

.rc-event-switch-row input[type="checkbox"]{
  appearance: none;
  width: 46px;
  height: 26px;
  min-height: 26px;
  padding: 0;
  border: 2px solid #111111;
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
}

.rc-event-switch-row input[type="checkbox"]::after{
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  margin: 3px;
  border-radius: 50%;
  background: #111111;
  transition: transform 0.18s ease;
}

.rc-event-switch-row input[type="checkbox"]:checked{
  background: #111111;
}

.rc-event-switch-row input[type="checkbox"]:checked::after{
  transform: translateX(20px);
  background: #ffffff;
}

.rc-event-accommodation-options{
  display: grid;
  gap: 9px;
}

.rc-event-accommodation-options[hidden]{
  display: none;
}

.rc-event-register-form .rc-event-accommodation-pick{
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 12px;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
}

.rc-event-register-form .rc-event-accommodation-pick.is-selected{
  border-color: #174d27;
  background: #f0faf2;
}

.rc-event-accommodation-pick input[type="radio"]{
  width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: #174d27;
}

.rc-event-accommodation-pick span,
.rc-event-accommodation-pick strong,
.rc-event-accommodation-pick small{
  display: block;
}

.rc-event-accommodation-pick small{
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
}

.rc-event-register-form footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin: 4px -28px -28px;
  padding: 18px 28px;
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
}

.rc-event-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1300;
  padding: 13px 18px;
  border-radius: 12px;
  background: #111111;
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

body.rc-event-modal-open {
  overflow: hidden;
}

/* Prototype-aligned event detail page. */
.rc-event-prototype-page{
  width: min(1440px, calc(100% - 40px));
  margin-top: 44px;
}

.rc-event-prototype-page .rc-event-detail-breadcrumb{
  width: min(1160px, 100%);
  margin-inline: auto;
  font-size: 14px;
}

.rc-event-prototype-page .rc-event-detail-breadcrumb a{
  color: #6b7280;
  font-weight: 700;
}

.rc-event-prototype-layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  width: min(1160px, 100%);
  margin-inline: auto;
  align-items: start;
}

.rc-event-prototype-main{
  display: grid;
  gap: 22px;
  min-width: 0;
}

.rc-event-prototype-hero{
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 38px 40px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 12%, rgba(255,255,255,.14), transparent 30%),
    linear-gradient(135deg, #20572f 0%, #123e20 56%, #0f2f1a 100%);
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(16,18,24,.04), 0 16px 34px rgba(16,18,24,.08);
}

.rc-event-prototype-chip{
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
}

.rc-event-prototype-hero h1{
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.rc-event-prototype-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-top: 20px;
  color: rgba(255,255,255,.78);
  font-size: 15px;
  font-weight: 800;
}

.rc-event-prototype-meta span{
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.rc-event-prototype-section{
  padding: 28px 30px;
  border-radius: 18px;
}

.rc-event-prototype-section h2,
.rc-event-organiser-card h2{
  margin: 0 0 18px;
  color: #111111;
  font-size: 25px;
  line-height: 1.12;
  font-weight: 900;
}

.rc-event-prototype-about .rc-event-detail-description{
  color: #3a4658;
  font-size: 18px;
  line-height: 1.65;
}

.rc-event-prototype-about .rc-event-detail-description p{
  margin: 0;
}

.rc-event-focus-list{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.rc-event-focus-list li{
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 58px;
  padding: 14px 18px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f5f6f8;
  color: #111111;
  font-size: 16px;
  font-weight: 900;
}

.rc-event-focus-list i{
  color: #4aa255;
}

.rc-event-agenda-list article{
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid #e5e7eb;
}

.rc-event-agenda-list article:last-child{
  border-bottom: 0;
}

.rc-event-agenda-list time{
  color: #111111;
  font-size: 20px;
  font-weight: 900;
}

.rc-event-agenda-list strong,
.rc-event-agenda-list span{
  display: block;
}

.rc-event-agenda-list strong{
  color: #111111;
  font-size: 19px;
  line-height: 1.3;
}

.rc-event-agenda-list span{
  margin-top: 5px;
  color: #7b8391;
  font-size: 16px;
  font-weight: 700;
}

.rc-event-speaker-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.rc-event-speaker-grid article{
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 13px;
  background: #f5f6f8;
}

.rc-event-speaker-grid span{
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #050607;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
}

.rc-event-speaker-grid span.is-blue{ background: #3867e8; }
.rc-event-speaker-grid span.is-purple{ background: #7437df; }

.rc-event-speaker-grid strong,
.rc-event-speaker-grid small{
  display: block;
}

.rc-event-speaker-grid strong{
  color: #111111;
  font-size: 17px;
  line-height: 1.2;
}

.rc-event-speaker-grid small{
  margin-top: 4px;
  color: #8a909b;
  font-size: 14px;
  font-weight: 700;
}

.rc-event-location-line{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #596273;
  font-size: 18px;
  font-weight: 700;
}

.rc-event-location-line i{
  color: #4aa255;
}

.rc-event-map-preview{
  min-height: 220px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #e7edf4;
  color: #7d8593;
  font-size: 18px;
  font-weight: 900;
}

.rc-event-map-preview i{
  margin-right: 8px;
}

.rc-event-prototype-page .rc-event-accommodation-section,
.rc-event-prototype-page .rc-event-additional-section{
  padding: 28px 30px;
}

.rc-event-prototype-page .rc-event-section-heading{
  grid-template-columns: 42px minmax(0, 1fr);
}

.rc-event-prototype-page .rc-event-section-heading > span{
  width: 42px;
  height: 42px;
  background: #111111;
  color: #ffffff;
  font-size: 16px;
}

.rc-event-prototype-page .rc-event-section-heading h2{
  margin: 0;
  font-size: 25px;
  font-weight: 900;
}

.rc-event-prototype-page .rc-event-section-heading p{
  max-width: 760px;
  color: #4b5565;
  font-size: 16px;
  font-weight: 700;
}

.rc-event-prototype-page .rc-event-accommodation-card{
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 16px;
  padding: 18px;
}

.rc-event-prototype-page .rc-event-accommodation-icon{
  width: 64px;
  height: 64px;
  border-radius: 13px;
  background: #174d27;
  font-size: 24px;
}

.rc-event-prototype-page .rc-event-accommodation-icon.is-navy{
  background: #172033;
}

.rc-event-prototype-page .rc-event-accommodation-icon.is-purple{
  background: #2d104d;
}

.rc-event-prototype-page .rc-event-accommodation-info h3{
  font-size: 18px;
}

.rc-event-prototype-page .rc-event-accommodation-info p{
  color: #77808d;
  font-size: 15px;
}

.rc-event-prototype-page .rc-event-accommodation-card > strong{
  display: block;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #111111;
  font-size: 22px;
  text-align: right;
}

.rc-event-prototype-page .rc-event-accommodation-card > strong small{
  display: block;
  color: #7b8391;
  font-size: 14px;
  font-weight: 800;
}

.rc-event-prototype-page .rc-event-additional-list{
  grid-template-columns: 1fr;
  gap: 14px;
}

.rc-event-prototype-page .rc-event-additional-list li{
  grid-template-columns: 28px 120px minmax(0, 1fr);
  align-items: center;
  min-height: 62px;
  gap: 12px;
  padding: 15px 18px;
  border-radius: 12px;
  background: #f5f6f8;
}

.rc-event-prototype-page .rc-event-additional-list i{
  color: #4aa255;
  font-size: 18px;
}

.rc-event-prototype-page .rc-event-additional-list strong{
  font-size: 18px;
}

.rc-event-prototype-page .rc-event-additional-list span{
  color: #1f2937;
  font-size: 16px;
}

.rc-event-prototype-side{
  display: grid;
  gap: 22px;
  align-content: start;
  position: sticky;
  top: 148px;
}

.rc-event-prototype-side .rc-card{
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(16,18,24,.04), 0 16px 34px rgba(16,18,24,.08);
}

.rc-event-prototype-side .rc-event-registration-card{
  padding: 26px;
}

.rc-event-summary-list{
  display: grid;
  gap: 0;
  margin: 14px 0 0;
}

.rc-event-summary-list div{
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid #e5e7eb;
}

.rc-event-summary-list div:last-child{
  border-bottom: 0;
}

.rc-event-summary-list dt{
  display: contents;
}

.rc-event-summary-list dt i{
  grid-row: span 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: #f0f1f4;
  color: #7b8391;
  font-size: 18px;
}

.rc-event-summary-list dt span{
  align-self: end;
  color: #9aa1ab;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.rc-event-summary-list dd{
  grid-column: 2;
  margin: -2px 0 0;
  color: #111111;
  font-size: 17px;
  font-weight: 900;
}

.rc-event-prototype-side .rc-event-capacity{
  padding: 18px 0;
}

.rc-event-prototype-side .rc-event-capacity b{
  color: #4aa255;
}

.rc-event-prototype-side :is(.rc-btn-primary,.rc-btn-outline){
  gap: 10px;
  min-height: 52px;
  border-radius: 13px;
  font-size: 16px;
}

.rc-event-organiser-card{
  padding: 24px;
}

.rc-event-organiser-card div{
  display: flex;
  gap: 13px;
  align-items: center;
}

.rc-event-organiser-card span{
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: #111111;
  color: #ffffff;
  font-weight: 900;
}

.rc-event-organiser-card strong,
.rc-event-organiser-card small{
  display: block;
}

.rc-event-organiser-card small{
  color: #7b8391;
  font-size: 12px;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .rc-event-detail-hero,
.rc-event-detail-layout{
    grid-template-columns: 1fr;
  }

  .rc-event-prototype-layout{
    grid-template-columns: 1fr;
  }

  .rc-event-prototype-side{
    position: static;
  }

  .rc-event-detail-summary h1{
    font-size: 32px;
  }

  .rc-event-form-grid,
  .rc-event-registration-actions,
  .rc-event-additional-list {
    grid-template-columns: 1fr;
  }

  .rc-event-focus-list,
  .rc-event-speaker-grid{
    grid-template-columns: 1fr;
  }

  .rc-event-prototype-page .rc-event-additional-list li,
  .rc-event-prototype-page .rc-event-accommodation-card,
  .rc-event-agenda-list article{
    grid-template-columns: 1fr;
  }

  .rc-event-prototype-page .rc-event-accommodation-card > strong{
    text-align: left;
  }
}

@media (max-width: 640px) {
  .rc-event-prototype-page{
    width: min(100% - 24px, 1440px);
    margin-top: 24px;
  }

  .rc-event-prototype-hero{
    padding: 28px 24px;
  }

  .rc-event-prototype-section,
  .rc-event-prototype-page .rc-event-accommodation-section,
  .rc-event-prototype-page .rc-event-additional-section,
  .rc-event-prototype-side .rc-event-registration-card{
    padding: 22px;
  }
}

.rc-experts-page{
  width: 100%;
  padding: 26px 0 56px;
}

.rc-experts-hero{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.rc-experts-hero h1{
  margin: 0 0 8px;
  color: #171717;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 900;
}

.rc-experts-hero p{
  margin: 0;
  color: #334155;
  font-size: 15px;
}

.rc-invite-expert{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  background: #171717;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(23, 23, 23, 0.18);
}

.rc-experts-controls{
  margin-bottom: 20px;
}

.rc-experts-controls .views-exposed-form{
  display: grid !important;
  grid-template-columns: minmax(320px, 1.5fr) minmax(180px, 0.8fr) minmax(180px, 0.8fr) minmax(180px, 0.8fr) auto !important;
  gap: 18px !important;
  align-items: end !important;
  margin: 0 !important;
  padding: 0 !important;
}

.rc-experts-controls .form-item{
  margin: 0 !important;
}

.rc-experts-controls label{
  display: none !important;
}

.rc-experts-controls input,
.rc-experts-controls select{
  width: 100% !important;
  height: 50px !important;
  border: 1px solid #d9e1e6 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  padding: 0 16px !important;
  color: #17212b !important;
  font-size: 14px !important;
}

.rc-experts-controls .form-actions{
  margin: 0 !important;
}

.rc-experts-controls input[type="submit"],
.rc-experts-controls button,
.rc-experts-fallback-search button{
  height: 50px !important;
  min-width: 110px !important;
  border: 1px solid #d9e1e6 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #171717 !important;
  font-weight: 900 !important;
}

.rc-experts-fallback-search{
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 16px;
}

.rc-experts-fallback-search input{
  height: 50px;
  border: 1px solid #d9e1e6;
  border-radius: 8px;
  padding: 0 16px;
}

.rc-expert-categories{
  display: grid !important;
  grid-template-columns: repeat(7, minmax(140px, 1fr)) !important;
  gap: 0 !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  overflow-x: auto !important;
  border: 1px solid #d9e1e6 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
}

.rc-expert-categories a{
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr) !important;
  gap: 3px 10px !important;
  align-items: center !important;
  min-height: 70px !important;
  padding: 14px 16px !important;
  border: 0 !important;
  border-right: 1px solid #e5e7eb !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  color: #171717 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  white-space: normal !important;
}

.rc-expert-categories a:last-child{
  border-right: 0 !important;
}

.rc-expert-categories a > span{
  grid-row: span 2;
  color: #171717 !important;
  font-size: 18px !important;
}

.rc-expert-categories a strong{
  display: block !important;
  color: #334155 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.rc-expert-categories a.active,
.rc-expert-categories a:hover{
  background: #f0f0ed !important;
  color: #171717 !important;
}

.rc-expert-categories a.active *,
.rc-expert-categories a:hover *{
  color: #171717 !important;
}

.rc-experts-view-header{
  display: none;
}

.rc-experts-grid{
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
}

.rc-experts-grid .views-row{
  width: 100% !important;
  min-width: 0 !important;
}

.rc-expert-photo{
  width: 96px !important;
  height: 96px !important;
  margin: 0 0 18px !important;
}

.rc-expert-photo img{
  width: 96px !important;
  height: 96px !important;
  display: block !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  margin: 0 !important;
}

.rc-expert-info{
  min-width: 0 !important;
}

.rc-expert-position,
.rc-expert-institution{
  word-break: normal !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
  hyphens: none !important;
}

.rc-expert-position,
.rc-expert-institution{
  color: #334155 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.rc-expert-field{
  display: inline-flex !important;
  width: fit-content !important;
  margin: 14px 0 18px !important;
  padding: 6px 10px !important;
  border-radius: 7px !important;
  background: #ede9fe !important;
  color: #6d28d9 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.rc-expert-tags{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 14px 0 18px !important;
}

.rc-expert-tags .rc-expert-field{
  margin: 0 !important;
}

.rc-experts-empty{
  grid-column: 1 / -1;
  padding: 36px;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
}

.rc-expert-stats{
  display: flex !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin: auto 0 18px !important;
  padding-top: 10px !important;
  color: #334155 !important;
  font-size: 12px !important;
}

.rc-expert-actions{
  display: grid !important;
  grid-template-columns: 1fr 44px !important;
  gap: 10px !important;
}

.rc-experts-pager{
  margin-top: 32px;
}

@media (max-width: 1100px) {
  .rc-experts-controls .views-exposed-form{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .rc-experts-hero{
    flex-direction: column;
  }

  .rc-experts-controls .views-exposed-form,
.rc-experts-fallback-search{
    grid-template-columns: 1fr !important;
  }

  .rc-experts-grid{
    grid-template-columns: 1fr !important;
  }
}
.path-newsfeed .view-newsfeed > .view-header{
  display: none !important;
}

.rc-dashboard-app .rc-feed-tabs{
  width: fit-content !important;
  max-width: 100% !important;
  padding: 7px !important;
  border-radius: 13px !important;
}

.rc-dashboard-app .rc-feed-tabs button{
  height: 32px !important;
  border-radius: 8px !important;
  padding: 0 16px !important;
  background: #f8fafc !important;
}

.rc-dashboard-app .rc-feed-tabs button.is-active{
  background: var(--rc-brand, #171717) !important;
  color: #ffffff !important;
}

/* =====================================================
   EQUIPMENT + EXPERTS INTRO BLOCKS
   Keep at the very bottom of researchconnect-smooth.css.
===================================================== */

.path-equipments-list .rc-content .block,
.path-equipments-list .rc-content article,
.path-equipments-list .rc-content .node,
.path-equipments-list .rc-content form{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.rc-equipment-list-page,
.rc-experts-page{
  width: min(100% - 48px, 1200px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.rc-equipment-intro-card,
.rc-experts-intro-card{
  margin-bottom: 34px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--rc-border);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(23, 23, 23, 0.06);
}

.rc-equipment-list-hero,
.rc-experts-hero,
.rc-events-directory-head{
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 24px !important;
  margin: 0 0 26px !important;
}

.rc-page-kicker,
.rc-equipment-list-hero .rc-page-kicker{
  margin: 0 0 7px;
  color: var(--rc-brand-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.rc-equipment-list-hero h1,
.rc-experts-hero h1,
.rc-events-directory-head h1{
  margin: 0 0 8px !important;
  color: var(--rc-brand-dark) !important;
  font-size: 36px !important;
  line-height: 1.12 !important;
  font-weight: 900 !important;
}

.rc-equipment-list-hero p,
.rc-experts-hero p,
.rc-events-directory-head p{
  margin: 0 !important;
  max-width: 760px;
  color: #334155 !important;
  font-size: 16px !important;
}

.path-equipments-list .rc-add-equipment-btn,
.path-events .rc-add-event-btn,
.rc-equipment-list-hero .rc-add-equipment-btn{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 46px !important;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--rc-brand) !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 10px 22px rgba(23, 23, 23, 0.2) !important;
}

.path-equipments-list .rc-add-equipment-btn:hover,
.path-events .rc-add-event-btn:hover,
.rc-equipment-list-hero .rc-add-equipment-btn:hover{
  background: var(--rc-brand-dark) !important;
  transform: translateY(-2px);
}

.rc-equipment-controls .views-exposed-form,
.rc-experts-intro-card .views-exposed-form{
  margin: 0 !important;
  box-shadow: none !important;
}

.rc-equipment-searchbar{
  display: grid !important;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 320px) auto !important;
  gap: 12px !important;
  align-items: end !important;
  margin: 0 !important;
}

.rc-equipment-searchbar label{
  display: block !important;
  margin: 0 0 6px !important;
  color: #171717 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

.rc-equipment-searchbar input,
.rc-equipment-searchbar select{
  width: 100% !important;
  min-height: 48px !important;
  padding: 0 14px !important;
  border: 1px solid #deded8 !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  color: #171717 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}

.rc-equipment-searchbar button{
  min-height: 48px !important;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #171717 !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

.rc-equipment-view-header{
  display: none !important;
}

.rc-equipment-list-grid{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 28px !important;
  width: 100% !important;
}

.rc-equipment-alpha-rail,
.rc-alpha-rail{
  position: fixed !important;
  top: 190px !important;
  right: max(18px, calc((100vw - 1280px) / 2 - 54px)) !important;
  z-index: 40 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 2px !important;
  padding: 8px 6px !important;
  border: 1px solid #deded8 !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.96) !important;
}

.rc-equipment-alpha-rail button,
.rc-alpha-rail button{
  width: 24px !important;
  height: 20px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #6f6f6a !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 20px !important;
  transition: transform 140ms ease, background 140ms ease, color 140ms ease !important;
}

.rc-equipment-alpha-rail button.is-active,
.rc-alpha-rail button.is-active{
  background: #171717 !important;
  color: #ffffff !important;
  transform: scale(1.45) !important;
}

.rc-equipment-list-grid .views-row{
  min-width: 0 !important;
}

.rc-equipment-pager,
.rc-experts-pager{
  margin-top: 34px;
}

@media (max-width: 800px) {
  .rc-equipment-list-hero,
.rc-experts-hero{
    align-items: stretch !important;
    flex-direction: column !important;
  }

  .path-equipments-list .rc-add-equipment-btn,
.rc-equipment-list-hero .rc-add-equipment-btn,
.rc-invite-expert{
    width: 100%;
  }

  .rc-equipment-searchbar{
    grid-template-columns: 1fr !important;
  }

  .rc-equipment-list-grid{
    grid-template-columns: 1fr !important;
  }

  .rc-equipment-alpha-rail{
    top: auto !important;
    right: 12px !important;
    bottom: 16px !important;
    max-height: 52vh !important;
    overflow: auto !important;
  }
}

/* Platform content width: keep page bodies consistent without narrowing the shell/navigation. */
.rc-content > .region,
.rc-content .region-content,
.rc-content .block-system-main-block,
.rc-content .views-element-container,
.rc-site-main > .region,
.rc-system {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* =====================================================
   SAVED ITEMS FEATURE
   Requires a Drupal Flag named saved_items.
===================================================== */

.rc-save-link,
.rc-news-save,
.rc-expert-save,
.rc-equipment-save{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.rc-save-link a,
.rc-save-link .flag a,
.rc-save-link .flag-action,
.rc-save-link .unflag-action{
  width: 38px !important;
  height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #d9e1e6 !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  color: var(--rc-brand-dark) !important;
  font-size: 0 !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(23, 23, 23, 0.06) !important;
}

.rc-save-link a::before,
.rc-save-link .flag a::before,
.rc-save-link .flag-action::before{
  content: "♡";
  font-size: 20px;
  line-height: 1;
}

.rc-save-link .unflag-action::before,
.rc-save-link .flag-unflag-action::before,
.rc-save-link .action-unflag::before{
  content: "♥";
  font-size: 20px;
  line-height: 1;
}

.rc-save-link a:hover,
.rc-save-link .flag a:hover{
  background: #f0f0ed !important;
  border-color: var(--rc-brand) !important;
}

.rc-expert-save{
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 20;
}

.rc-news-save a,
.rc-news-save .flag a{
  box-shadow: none !important;
}

.rc-saved-page{
  width: min(1320px, calc(100% - 40px));
  margin: 32px auto 64px;
}

.rc-saved-hero,
.rc-saved-empty{
  background: #ffffff;
  border: 1px solid var(--rc-border);
  border-radius: 18px;
  box-shadow: var(--rc-shadow);
}

.rc-saved-hero{
  margin-bottom: 24px;
  padding: 28px;
}

.rc-saved-hero h1{
  margin: 0 0 8px;
  color: var(--rc-brand-dark);
  font-size: 36px;
  line-height: 1.15;
  font-weight: 900;
}

.rc-saved-hero p{
  margin: 0;
  color: var(--rc-muted);
  font-size: 15px;
}

.rc-saved-filters{
  margin-bottom: 22px;
}

.rc-saved-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}

.rc-saved-card{
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--rc-border);
  border-radius: 16px;
  box-shadow: var(--rc-shadow);
}

.rc-saved-thumb{
  width: 120px;
  height: 96px;
  overflow: hidden;
  border-radius: 12px;
  background: #f1f5f9;
}



.rc-saved-type{
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f0f0ed;
  color: var(--rc-brand-dark);
  font-size: 12px;
  font-weight: 900;
}

.rc-saved-card h2{
  margin: 0 0 8px;
  color: #171717;
  font-size: 18px;
  line-height: 1.25;
}

.rc-saved-card p{
  margin: 0 0 14px;
  color: #475569;
  line-height: 1.55;
}

.rc-saved-actions{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rc-saved-view,
.rc-saved-empty a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--rc-brand);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none !important;
}

.rc-saved-empty{
  padding: 46px 28px;
  text-align: center;
}

.rc-saved-empty h2{
  margin: 0 0 8px;
  color: #171717;
}

.rc-saved-empty p{
  margin: 0 0 18px;
  color: var(--rc-muted);
}

@media (max-width: 640px) {
  .rc-saved-card{
    grid-template-columns: 1fr;
  }

  .rc-saved-thumb{
    width: 100%;
    height: 180px;
  }
}

/* Local saved-items fallback buttons. */
.rc-save-link button.rc-save-local,
.rc-save-local{
  width: 38px !important;
  height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #d9e1e6 !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  color: var(--rc-brand-dark) !important;
  padding: 0 !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  box-shadow: 0 4px 12px rgba(23, 23, 23, 0.06) !important;
}

.rc-save-local:hover,
.rc-save-local.is-saved{
  background: #f0f0ed !important;
  border-color: var(--rc-brand) !important;
  color: var(--rc-brand-dark) !important;
}
.rc-equipment-actions .rc-save-local,
.rc-lab-home-hero .rc-save-local{
  width: auto !important;
  min-width: 96px !important;
  height: 42px !important;
  border-radius: 12px !important;
  padding: 0 16px !important;
  gap: 6px !important;
  font-size: 15px !important;
}

.rc-saved-clear{
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--rc-border);
  border-radius: 10px;
  background: #ffffff;
  color: var(--rc-brand-dark);
  font-weight: 900;
}

.rc-saved-local-page .rc-saved-hero{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 700px) {
  .rc-saved-local-page .rc-saved-hero{
    align-items: flex-start;
    flex-direction: column;
  }
}

/* =====================================================
   SAVED ITEMS DASHBOARD REDESIGN
===================================================== */

:root{
  --rc-saved-black: #171717;
  --rc-saved-ink: #171717;
  --rc-saved-muted: #6f6f6a;
  --rc-saved-border: #deded8;
  --rc-saved-surface: #ffffff;
  --rc-saved-page: #f5f5f2;
  --rc-saved-soft-black: #f0f0ed;
  --rc-saved-black: #171717;
  --rc-saved-purple: #171717;
  --rc-saved-orange: #171717;
}

.rc-saved-dashboard{
  min-height: calc(100vh - 72px);
  padding: 24px 30px 36px;
  background: var(--rc-saved-page);
  color: var(--rc-saved-ink);
}

.rc-saved-dashboard svg{
  width: 1em;
  height: 1em;
  display: block;
}

.rc-saved-breadcrumb{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--rc-saved-muted);
  font-size: 13px;
  font-weight: 700;
}

.rc-saved-breadcrumb a{
  color: #171717;
  text-decoration: none;
}

.rc-saved-titlebar,
.rc-saved-layout,
.rc-saved-stats,
.rc-saved-toolbar,
.rc-saved-row,
.rc-saved-row-actions,
.rc-saved-list-footer,
.rc-saved-panel button,
.rc-saved-recent-item{
  display: flex;
}

.rc-saved-titlebar{
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.rc-saved-titlebar h1{
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0;
}

.rc-saved-titlebar p{
  margin: 0;
  color: #171717;
  font-size: 15px;
  font-weight: 700;
}

.rc-saved-title-icon{
  width: 28px;
  height: 28px;
  color: var(--rc-saved-black);
}

.rc-saved-export{
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid #deded8;
  border-radius: 8px;
  background: #ffffff;
  color: var(--rc-saved-black);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.rc-saved-layout{
  align-items: flex-start;
  gap: 20px;
}

.rc-saved-main{
  min-width: 0;
  flex: 1 1 auto;
}

.rc-saved-sidebar{
  width: 270px;
  flex: 0 0 270px;
  display: grid;
  gap: 18px;
}

.rc-saved-stats{
  gap: 8px;
  margin-bottom: 22px;
}

.rc-saved-stat,
.rc-saved-panel,
.rc-saved-toolbar,
.rc-saved-list{
  border: 1px solid var(--rc-saved-border);
  border-radius: 8px;
  background: var(--rc-saved-surface);
  box-shadow: 0 10px 28px rgba(16, 31, 79, 0.04);
}

.rc-saved-stat{
  min-height: 134px;
  flex: 1 1 0;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 24px 22px;
}

.rc-saved-stat-icon{
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 22px;
}

.rc-saved-stat-icon--researchers{
  background: #f0f0ed;
  color: var(--rc-saved-black);
}

.rc-saved-stat-icon--equipment{
  background: #e9f7f0;
  color: var(--rc-saved-black);
}

.rc-saved-stat-icon--publication{
  background: #f0f0ed;
  color: var(--rc-saved-purple);
}

.rc-saved-stat-icon--lab{
  background: #f0f0ed;
  color: var(--rc-saved-orange);
}

.rc-saved-stat span,
.rc-saved-panel h2{
  color: var(--rc-saved-ink);
  font-size: 13px;
  font-weight: 900;
}

.rc-saved-stat strong{
  display: block;
  margin-top: 8px;
  color: var(--rc-saved-ink);
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
}

.rc-saved-stat small{
  display: block;
  margin: 8px 0 18px;
  color: var(--rc-saved-muted);
  font-size: 12px;
  font-weight: 800;
}

.rc-saved-stat button,
.rc-saved-panel-link{
  border: 0;
  background: transparent;
  color: var(--rc-saved-black);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.rc-saved-stat button::after,
.rc-saved-panel-link::after{
  content: " +";
}

.rc-saved-tabs{
  display: flex;
  align-items: flex-end;
  gap: 34px;
  min-height: 52px;
  border-bottom: 1px solid var(--rc-saved-border);
}

.rc-saved-tabs button{
  align-self: stretch;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #1a2559;
  font-size: 13px;
  font-weight: 900;
}

.rc-saved-tabs button.is-active{
  border-color: var(--rc-saved-black);
  color: var(--rc-saved-black);
}

.rc-saved-toolbar{
  align-items: center;
  gap: 16px;
  margin: 18px 0 0;
  padding: 14px 16px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.rc-saved-search,
.rc-saved-select,
.rc-saved-sort{
  height: 42px;
  display: flex;
  align-items: center;
  border: 1px solid #deded8;
  border-radius: 6px;
  background: #ffffff;
}

.rc-saved-search{
  min-width: 260px;
  flex: 1 1 340px;
  gap: 10px;
  padding: 0 12px;
  color: var(--rc-saved-muted);
}

.rc-saved-search input,
.rc-saved-select select,
.rc-saved-sort select{
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #171717;
  font-size: 13px;
  font-weight: 800;
}

.rc-saved-search input::placeholder{
  color: #7b86a2;
}

.rc-saved-select,
.rc-saved-sort{
  min-width: 230px;
  padding: 0 12px;
}

.rc-saved-sort{
  min-width: 210px;
  margin-left: auto;
}

.rc-saved-sort span{
  flex: 0 0 auto;
  color: #465276;
  font-size: 13px;
  font-weight: 800;
}

.rc-saved-filter-button{
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #deded8;
  border-radius: 6px;
  background: #ffffff;
  color: var(--rc-saved-black);
}

.rc-saved-list{
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.rc-saved-row{
  position: relative;
  align-items: center;
  gap: 20px;
  min-height: 126px;
  padding: 18px 18px;
  border-bottom: 1px solid #e6ecf7;
  background: #ffffff;
}

.rc-saved-row[hidden]{
  display: none;
}

.rc-saved-bookmark{
  width: 20px;
  flex: 0 0 20px;
  color: var(--rc-saved-black);
  font-size: 20px;
}

.rc-saved-thumb{
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  overflow: hidden;
  border-radius: 8px;
  background: #f2f5fb;
  text-decoration: none;
}

.rc-saved-thumb img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.rc-saved-thumb-fallback{
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 34px;
}

.rc-saved-thumb-fallback--researcher{
  color: var(--rc-saved-black);
  background: #eef3ff;
}

.rc-saved-thumb-fallback--equipment{
  color: var(--rc-saved-black);
  background: #eef8f3;
}

.rc-saved-thumb-fallback--publication{
  color: var(--rc-saved-purple);
  background: #f2efff;
}

.rc-saved-thumb-fallback--lab{
  color: var(--rc-saved-orange);
  background: #fff2e7;
}

.rc-saved-row-body{
  min-width: 0;
  flex: 1 1 auto;
}

.rc-saved-row-body h2{
  margin: 0 0 7px;
  color: var(--rc-saved-ink);
  font-size: 16px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0;
}

.rc-saved-row-body h2 a{
  color: inherit;
  text-decoration: none;
}

.rc-saved-row-body strong,
.rc-saved-row-body p,
.rc-saved-row-body small{
  display: block;
  margin: 0;
  color: #33406e;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}

.rc-saved-row-body p,
.rc-saved-row-body small{
  color: var(--rc-saved-muted);
}

.rc-saved-row-meta{
  width: 160px;
  flex: 0 0 160px;
  display: grid;
  gap: 16px;
}

.rc-saved-pill{
  width: fit-content;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
}

.rc-saved-pill--researcher{
  color: var(--rc-saved-black);
  background: #f0f0ed;
}

.rc-saved-pill--equipment{
  color: #13714e;
  background: #e5f6ed;
}

.rc-saved-pill--publication{
  color: #5d42d8;
  background: #efecff;
}

.rc-saved-pill--lab{
  color: #ca641a;
  background: #f0f0ed;
}

.rc-saved-row-meta small{
  color: #65708c;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 800;
}

.rc-saved-row-meta strong{
  color: #20305f;
  font-weight: 900;
}

.rc-saved-row-actions{
  width: 170px;
  flex: 0 0 170px;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.rc-saved-row-actions > a{
  min-width: 120px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #deded8;
  border-radius: 7px;
  background: #ffffff;
  color: var(--rc-saved-black);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.rc-saved-kebab{
  width: 28px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #171717;
  font-size: 20px;
}

.rc-saved-menu{
  position: absolute;
  right: 18px;
  top: 76px;
  z-index: 10;
  min-width: 150px;
  display: none;
  padding: 8px;
  border: 1px solid var(--rc-saved-border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(16, 31, 79, 0.14);
}

.rc-saved-row.is-menu-open .rc-saved-menu{
  display: grid;
  gap: 4px;
}

.rc-saved-menu a{
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
  color: #171717;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.rc-saved-menu a:hover{
  background: #f1f5ff;
  color: var(--rc-saved-black);
}

.rc-saved-list-footer{
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  color: #1f2b5e;
  font-size: 13px;
  font-weight: 800;
}

.rc-saved-list-footer p{
  margin: 0;
}

.rc-saved-pager{
  margin-left: auto;
}

.rc-saved-panel{
  padding: 18px;
}

.rc-saved-panel h2{
  margin: 0 0 14px;
}

.rc-saved-panel button{
  width: 100%;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #171717;
  font-size: 13px;
  font-weight: 900;
  text-align: left;
}

.rc-saved-panel button.is-active{
  padding: 0 10px;
  background: var(--rc-saved-soft-black);
  color: var(--rc-saved-black);
}

.rc-saved-panel strong{
  color: var(--rc-saved-black);
}

.rc-saved-recent{
  display: grid;
  gap: 14px;
}

.rc-saved-recent-item{
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.rc-saved-recent-thumb{
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 6px;
  background-color: #eef2fb;
  background-position: center;
  background-size: cover;
}

.rc-saved-recent-thumb.is-fallback{
  background: #eef2fb;
}

.rc-saved-recent-item strong,
.rc-saved-recent-item small{
  display: block;
}

.rc-saved-recent-item strong{
  color: var(--rc-saved-ink);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 900;
}

.rc-saved-recent-item small,
.rc-saved-muted{
  margin: 3px 0 0;
  color: var(--rc-saved-muted);
  font-size: 11px;
  font-weight: 800;
}

.rc-saved-panel-link{
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  border: 1px solid #deded8;
  border-radius: 7px;
}

.rc-saved-actions-list{
  display: grid;
  gap: 12px;
}

.rc-saved-actions-list a{
  color: #171717;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.rc-saved-actions-list a::before{
  content: "";
  width: 24px;
  height: 24px;
  display: inline-block;
  margin-right: 9px;
  vertical-align: middle;
  border-radius: 6px;
  background: #f0f0ed;
}

.rc-saved-empty{
  padding: 44px 22px;
  text-align: center;
}

.rc-saved-empty h2{
  margin: 0 0 8px;
  color: var(--rc-saved-ink);
  font-size: 22px;
}

.rc-saved-empty p{
  margin: 0 0 18px;
  color: var(--rc-saved-muted);
}

.rc-saved-empty a{
  color: var(--rc-saved-black);
  font-weight: 900;
}

@media (max-width: 1180px) {
  .rc-saved-layout{
    display: block;
  }

  .rc-saved-sidebar{
    width: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 20px;
  }
}

@media (max-width: 900px) {
  .rc-saved-dashboard{
    padding: 18px 14px 28px;
  }

  .rc-saved-titlebar,
.rc-saved-stats,
.rc-saved-toolbar,
.rc-saved-row{
    display: grid;
  }

  .rc-saved-stats,
.rc-saved-sidebar{
    grid-template-columns: 1fr 1fr;
  }

  .rc-saved-toolbar{
    grid-template-columns: 1fr;
  }

  .rc-saved-sort{
    margin-left: 0;
  }

  .rc-saved-tabs{
    overflow-x: auto;
    gap: 22px;
  }

  .rc-saved-tabs button{
    min-width: max-content;
    min-height: 48px;
  }

  .rc-saved-row{
    grid-template-columns: 20px 76px minmax(0, 1fr);
    align-items: start;
  }

  .rc-saved-row-meta,
.rc-saved-row-actions{
    width: auto;
    grid-column: 3;
    flex-basis: auto;
  }

  .rc-saved-row-actions{
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .rc-saved-stats,
.rc-saved-sidebar{
    grid-template-columns: 1fr;
  }

  .rc-saved-row{
    grid-template-columns: 20px minmax(0, 1fr);
  }

  .rc-saved-thumb{
    grid-column: 2;
    width: 100%;
    height: 160px;
  }

  .rc-saved-row-body,
.rc-saved-row-meta,
.rc-saved-row-actions{
    grid-column: 2;
  }
}

   END SAVED ITEMS DASHBOARD REDESIGN
===================================================== */

/* =====================================================
   WORKSPACE PAGES REDESIGN
===================================================== */

:root{
  --rc-page-bg: #f5f5f2;
  --rc-card: #ffffff;
  --rc-ink: #171717;
  --rc-muted: #6f6f6a;
  --rc-line: #deded8;
  --rc-black: #171717;
  --rc-black-soft: #f0f0ed;
  --rc-black: #171717;
  --rc-black-soft: #f0f0ed;
  --rc-orange: #171717;
  --rc-orange-soft: #f0f0ed;
  --rc-red: #f04444;
  --rc-red-soft: #ffe9e9;
  --rc-purple: #171717;
  --rc-purple-soft: #f0f0ed;
}

.rc-workspace-page{
  min-height: calc(100vh - 72px);
  padding: 26px 28px 38px;
  background: var(--rc-page-bg);
  color: var(--rc-ink);
}

.rc-workspace-page *,
.rc-workspace-page *::before,
.rc-workspace-page *::after{
  box-sizing: border-box;
}

.rc-workspace-page a{
  color: inherit;
  text-decoration: none;
}

.rc-workspace-breadcrumb,
.rc-workspace-head,
.rc-workspace-actions,
.rc-workspace-toolbar,
.rc-workspace-search,
.rc-workspace-tabs,
.rc-messages-layout,
.rc-notification-layout,
.rc-requests-grid,
.rc-booking-layout,
.rc-thread,
.rc-conversation-head,
.rc-conversation-tools,
.rc-message-compose,
.rc-notification-item,
.rc-request-card,
.rc-request-actions,
.rc-booking-row,
.rc-table-footer,
.rc-filter-list button,
.rc-calendar-card header,
.rc-calendar-legend{
  display: flex;
}

.rc-workspace-breadcrumb{
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--rc-muted);
  font-size: 13px;
  font-weight: 800;
}

.rc-workspace-head{
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.rc-workspace-head h1{
  margin: 0 0 8px;
  color: var(--rc-ink);
  font-size: 30px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
}

.rc-workspace-head p{
  margin: 0;
  color: #1c285c;
  font-size: 15px;
  font-weight: 700;
}

.rc-workspace-actions{
  align-items: center;
  gap: 12px;
}

.rc-primary-action,
.rc-text-action,
.rc-icon-action,
.rc-date-button{
  min-height: 42px;
  border: 1px solid #c9d6f4;
  border-radius: 7px;
  background: #ffffff;
  color: var(--rc-black);
  font-size: 13px;
  font-weight: 900;
}

.rc-primary-action{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border-color: var(--rc-black);
  background: var(--rc-black);
  color: #ffffff;
}

.rc-text-action{
  padding: 0 14px;
  border-color: transparent;
  background: transparent;
}

.rc-icon-action{
  width: 44px;
  display: grid;
  place-items: center;
}

.rc-workspace-toolbar{
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--rc-line);
  border-radius: 8px;
  background: #ffffff;
}

.rc-workspace-search,
.rc-workspace-select,
.rc-date-button{
  height: 42px;
  align-items: center;
  border: 1px solid #cbd6ec;
  border-radius: 6px;
  background: #ffffff;
}

.rc-workspace-search{
  min-width: 220px;
  flex: 1 1 280px;
  gap: 10px;
  padding: 0 13px;
  color: var(--rc-muted);
}

.rc-workspace-search input,
.rc-workspace-select select{
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #23305f;
  font-size: 13px;
  font-weight: 800;
}

.rc-workspace-select{
  min-width: 210px;
  padding: 0 12px;
}

.rc-date-button{
  padding: 0 16px;
}

.rc-workspace-tabs{
  align-items: flex-end;
  gap: 28px;
  min-height: 54px;
  border-bottom: 1px solid var(--rc-line);
}

.rc-workspace-tabs button{
  align-self: stretch;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #25305f;
  font-size: 13px;
  font-weight: 900;
}

.rc-workspace-tabs button.is-active{
  border-color: var(--rc-black);
  color: var(--rc-black);
}

.rc-tabs-wide{
  margin-bottom: 18px;
}

.rc-side-card,
.rc-chat-list-panel,
.rc-conversation-panel,
.rc-booking-table-card{
  border: 1px solid var(--rc-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(16, 31, 79, 0.04);
}

.rc-side-card{
  padding: 20px;
}

.rc-side-card h2{
  margin: 0 0 14px;
  color: var(--rc-ink);
  font-size: 16px;
  font-weight: 900;
}

.rc-side-card p{
  margin: 0 0 16px;
  color: #293761;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 700;
}

.rc-workspace-sidebar{
  width: 300px;
  flex: 0 0 300px;
  display: grid;
  gap: 18px;
}

/* Messages */
.rc-messages-layout{
  align-items: stretch;
  gap: 18px;
}

.rc-chat-list-panel{
  width: 330px;
  flex: 0 0 330px;
  overflow: hidden;
}

.rc-chat-list-panel .rc-workspace-toolbar{
  border: 0;
  border-bottom: 1px solid var(--rc-line);
  border-radius: 0;
}

.rc-chat-list-panel .rc-workspace-tabs{
  padding: 0 20px;
}

.rc-thread-list{
  display: grid;
}

.rc-thread{
  width: 100%;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid #e7edf7;
  background: #ffffff;
  text-align: left;
}

.rc-thread.is-active,
.rc-thread:hover{
  background: #f5f8ff;
}

.rc-thread[hidden]{
  display: none;
}

.rc-thread img,
.rc-conversation-head img,
.rc-contact-card img,
.rc-notification-item img,
.rc-request-card img{
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  object-fit: cover;
}

.rc-thread-icon,
.rc-note-icon,
.rc-request-icon,
.rc-booking-lab-icon{
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--rc-black-soft);
  color: var(--rc-black);
  font-size: 22px;
}

.rc-thread span:not(.rc-thread-icon){
  min-width: 0;
  flex: 1;
}

.rc-thread strong,
.rc-thread small,
.rc-thread em{
  display: block;
}

.rc-thread strong{
  color: var(--rc-ink);
  font-size: 14px;
  font-weight: 900;
}

.rc-thread small{
  overflow: hidden;
  color: var(--rc-muted);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rc-thread em{
  color: #465276;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-align: right;
}

.rc-thread b{
  min-width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--rc-black);
  color: #ffffff;
  font-size: 10px;
}

.rc-conversation-panel{
  min-width: 0;
  flex: 1;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
}

.rc-conversation-head{
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--rc-line);
}

.rc-conversation-head div:nth-child(2){
  min-width: 0;
  flex: 1;
}

.rc-conversation-head h2{
  margin: 0 0 5px;
  font-size: 16px;
  font-weight: 900;
}

.rc-conversation-head h2 span,
.rc-contact-card span{
  margin-left: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--rc-black-soft);
  color: #11774d;
  font-size: 11px;
  font-weight: 900;
}

.rc-conversation-head p{
  margin: 0;
  color: #465276;
  font-size: 13px;
  font-weight: 700;
}

.rc-conversation-tools{
  gap: 10px;
}

.rc-conversation-tools button,
.rc-message-compose button{
  width: 38px;
  height: 38px;
  border: 1px solid #cbd6ec;
  border-radius: 7px;
  background: #ffffff;
  color: var(--rc-black);
  font-weight: 900;
}

.rc-chat-date{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 28px 46px 10px;
  color: #465276;
  font-size: 12px;
  font-weight: 800;
}

.rc-chat-date::before,
.rc-chat-date::after,
.rc-end-line::before,
.rc-end-line::after{
  content: "";
  height: 1px;
  background: var(--rc-line);
}

.rc-chat-body{
  min-height: 560px;
  padding: 10px 32px 32px;
}

.rc-bubble{
  position: relative;
  width: min(360px, 76%);
  margin: 0 0 28px;
  padding: 18px 20px;
  border-radius: 8px;
  color: #171717;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 800;
}

.rc-bubble p{
  margin: 0 0 12px;
}

.rc-bubble p:last-of-type{
  margin-bottom: 0;
}

.rc-bubble time{
  position: absolute;
  bottom: -22px;
  color: #43517b;
  font-size: 11px;
  font-weight: 800;
}

.rc-bubble-in{
  background: #f0f2f7;
}

.rc-bubble-in time{
  left: 0;
}

.rc-bubble-out{
  margin-left: auto;
  background: #e9efff;
}

.rc-bubble-out time{
  right: 0;
}

.rc-bubble-small{
  width: min(330px, 70%);
}

.rc-message-compose{
  align-items: center;
  gap: 10px;
  margin: 0 22px 22px;
  padding: 8px;
  border: 1px solid #cbd6ec;
  border-radius: 8px;
}

.rc-message-compose input{
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0 10px;
  color: var(--rc-ink);
  font-weight: 800;
}

.rc-message-compose button[type="submit"]{
  border-color: var(--rc-black);
  background: var(--rc-black);
  color: #ffffff;
}

.rc-contact-panel{
  width: 270px;
  flex: 0 0 270px;
  display: grid;
  gap: 18px;
}

.rc-contact-card{
  text-align: center;
}

.rc-message-participants{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 12px 22px;
  border-bottom: 1px solid var(--rc-line);
  background: #f8fbfc;
}

.rc-participant-chip,
.rc-participants-card [data-rc-participant-list] span{
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f0f0ed;
  color: var(--rc-brand-dark);
  font-size: 12px;
  font-weight: 900;
}

.rc-add-user-control{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 4px 6px 4px 12px;
  border: 1px solid #d8e8ec;
  border-radius: 999px;
  background: #ffffff;
  color: #526287;
  font-size: 12px;
  font-weight: 900;
}

.rc-add-user-control select{
  min-height: 30px;
  max-width: 180px;
  border: 0;
  border-radius: 999px;
  background: #f0f0ed;
  color: #171717;
  font-size: 12px;
  font-weight: 900;
  outline: 0;
}

.rc-add-user-control.is-open{
  border-color: var(--rc-brand);
  box-shadow: 0 0 0 4px rgba(23, 23, 23, 0.12);
}

.rc-chat-notice{
  width: fit-content;
  max-width: min(420px, 88%);
  margin: 4px auto 24px;
  padding: 9px 13px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #526287;
  font-size: 12px;
  font-weight: 900;
}

.rc-participants-card{
  display: grid;
  gap: 14px;
}

.rc-participants-card [data-rc-participant-list]{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rc-participants-card button{
  min-height: 42px !important;
  border: 1px solid #bfe8e4 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: var(--rc-brand-dark) !important;
  font-weight: 900 !important;
}

.rc-participants-card button:hover{
  background: #f0f0ed !important;
}

.rc-contact-card img{
  width: 86px;
  height: 86px;
  margin: 0 auto 16px;
}

.rc-contact-card h2{
  margin-bottom: 8px;
}

.rc-contact-card p{
  margin-top: 14px;
}

.rc-contact-card a,
.rc-loop-card a{
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 1px solid #deded8;
  border-radius: 7px;
  color: var(--rc-black);
  font-size: 13px;
  font-weight: 900;
}

.rc-shared-item{
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.rc-shared-item span{
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--rc-purple-soft);
  color: var(--rc-purple);
}

.rc-shared-item strong,
.rc-shared-item small{
  display: block;
  font-size: 12px;
}

.rc-shared-item small{
  color: var(--rc-muted);
}

.rc-card-link{
  color: var(--rc-black);
  font-size: 13px;
  font-weight: 900;
}

/* Notifications and requests */
.rc-notification-layout,
.rc-requests-grid,
.rc-booking-layout{
  align-items: flex-start;
  gap: 20px;
}

.rc-notification-main,
.rc-requests-main,
.rc-booking-main{
  min-width: 0;
  flex: 1;
}

.rc-notification-group{
  margin-bottom: 22px;
}

.rc-notification-group h2{
  margin: 0 0 10px;
  color: var(--rc-ink);
  font-size: 14px;
  font-weight: 900;
}

.rc-notification-item,
.rc-request-card{
  position: relative;
  align-items: center;
  gap: 16px;
  min-height: 82px;
  padding: 16px 18px;
  border: 1px solid var(--rc-line);
  border-bottom: 0;
  background: #ffffff;
}

.rc-notification-item:first-of-type,
.rc-request-card:first-of-type{
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.rc-notification-item:last-of-type,
.rc-request-card:last-of-type{
  border-bottom: 1px solid var(--rc-line);
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
}

.rc-notification-item[hidden],
.rc-request-card[hidden],
.rc-booking-row[hidden]{
  display: none;
}

.rc-notification-item div,
.rc-request-card div:nth-child(2){
  min-width: 0;
  flex: 1;
}

.rc-notification-item strong,
.rc-request-card h2{
  display: block;
  margin: 0 0 5px;
  color: var(--rc-ink);
  font-size: 14px;
  font-weight: 900;
}

.rc-notification-item p,
.rc-request-card p{
  margin: 0 0 6px;
  color: #30406e;
  font-size: 13px;
  font-weight: 700;
}

.rc-notification-item span:not(.rc-note-icon):not(.rc-status),
.rc-request-card small{
  display: inline-flex;
  padding: 3px 7px;
  border-radius: 5px;
  background: #eef3ff;
  color: #2445b8;
  font-size: 11px;
  font-weight: 900;
}

.rc-notification-item time{
  flex: 0 0 auto;
  color: #25305f;
  font-size: 12px;
  font-weight: 800;
}

.rc-notification-item i{
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: var(--rc-black);
}

.rc-note-equipment,
.rc-note-event{
  background: var(--rc-black-soft);
  color: var(--rc-black);
}

.rc-note-publication,
.rc-note-group{
  background: var(--rc-purple-soft);
  color: var(--rc-purple);
}

.rc-note-lab,
.rc-note-system{
  background: var(--rc-orange-soft);
  color: var(--rc-orange);
}

.rc-note-funding{
  background: var(--rc-black-soft);
  color: var(--rc-black);
}

.rc-filter-list{
  display: grid;
  gap: 5px;
}

.rc-filter-list button{
  width: 100%;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #263261;
  font-size: 13px;
  font-weight: 900;
  text-align: left;
}

.rc-filter-list button.is-active{
  padding: 0 10px;
  background: var(--rc-black-soft);
  color: var(--rc-black);
}

.rc-filter-list strong{
  color: var(--rc-black);
}

.rc-pref-link,
.rc-quick-links a{
  display: block;
  padding: 12px 0;
  color: #171717;
  font-size: 13px;
  font-weight: 900;
}

.rc-pref-link + .rc-pref-link,
.rc-quick-links a + a{
  border-top: 1px solid #edf1f8;
}

.rc-pref-link small,
.rc-quick-links small{
  display: block;
  margin-top: 3px;
  color: var(--rc-muted);
  font-size: 11px;
  font-weight: 700;
}

.rc-loop-card{
  background: #f3f6ff;
}

.rc-loop-card > span{
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--rc-black);
  font-size: 24px;
}

.rc-end-line{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  color: #9aa4ba;
  font-size: 12px;
  font-weight: 800;
}

.rc-request-list{
  display: grid;
}

.rc-request-card{
  min-height: 118px;
}

.rc-status{
  display: inline-flex;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
}

.rc-status-pending{
  background: var(--rc-orange-soft);
  color: #c76312;
}

.rc-status-approved,
.rc-status-completed,
.rc-status-upcoming{
  background: var(--rc-black-soft);
  color: #13714e;
}

.rc-status-declined,
.rc-status-cancelled{
  background: var(--rc-red-soft);
  color: #c92626;
}

.rc-request-actions{
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.rc-request-actions a,
.rc-request-actions button,
.rc-booking-row a{
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid #deded8;
  border-radius: 7px;
  background: #ffffff;
  color: var(--rc-black);
  font-size: 12px;
  font-weight: 900;
}

.rc-request-actions button:nth-of-type(1){
  border-color: var(--rc-black);
  background: var(--rc-black);
  color: #ffffff;
}

.rc-request-card,
.rc-notification-item{
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.rc-request-card:hover,
.rc-notification-item:hover,
.rc-request-card.is-selected,
.rc-notification-item.is-selected{
  z-index: 1;
  border-color: rgba(23, 23, 23, 0.45);
  background: #f8fbfc;
  box-shadow: 0 12px 26px rgba(5, 64, 61, 0.09);
  transform: translateY(-1px);
}

.rc-request-card.is-reviewed{
  background: #fbfdfd;
}

.rc-request-actions button:disabled{
  opacity: 0.55;
  cursor: not-allowed;
}

.rc-notification-item.is-read{
  opacity: 0.72;
}

.rc-notification-item.is-read strong{
  font-weight: 800;
}

.rc-active-detail-card{
  display: grid;
  gap: 12px;
  border-color: rgba(23, 23, 23, 0.28);
  background:
    linear-gradient(180deg, #f4fbfa 0%, #ffffff 44%);
}

.rc-active-detail-card h3{
  margin: 0;
  color: #171717;
  font-size: 17px;
  line-height: 1.3;
}

.rc-active-detail-card p{
  margin: 0;
  color: #34425b;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.55;
}

.rc-active-detail-card small,
.rc-active-detail-card > span:not(.rc-status){
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: #f0f0ed;
  color: var(--rc-brand-dark);
  font-size: 11px;
  font-weight: 900;
}

.rc-request-detail-actions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rc-request-detail-actions button{
  min-height: 40px !important;
  border-radius: 8px !important;
  font-weight: 900 !important;
}

.rc-request-detail-actions button:first-child{
  border-color: var(--rc-brand) !important;
  background: var(--rc-brand) !important;
  color: #ffffff !important;
}

.rc-request-detail-actions button:last-child{
  border-color: #d6e0e7 !important;
  background: #ffffff !important;
  color: #34425b !important;
}

/* Bookings */
.rc-booking-stats{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 20px;
}

.rc-booking-stats article{
  display: grid;
  grid-template-columns: 54px 1fr;
  min-height: 128px;
  padding: 22px;
  border: 1px solid var(--rc-line);
  background: #ffffff;
}

.rc-booking-stats article:first-child{
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.rc-booking-stats article:last-child{
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.rc-booking-stats span{
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 22px;
}


.rc-stat-black{ background: var(--rc-black-soft); color: var(--rc-black); }
.rc-stat-orange{ background: var(--rc-orange-soft); color: var(--rc-orange); }
.rc-stat-red{ background: var(--rc-red-soft); color: var(--rc-red); }

.rc-booking-stats strong,
.rc-booking-stats b,
.rc-booking-stats small,
.rc-booking-stats button{
  display: block;
}

.rc-booking-stats strong{
  font-size: 13px;
  font-weight: 900;
}

.rc-booking-stats b{
  margin-top: 8px;
  font-size: 28px;
  line-height: 1;
}

.rc-booking-stats small{
  margin: 7px 0 18px;
  color: var(--rc-muted);
  font-size: 12px;
  font-weight: 800;
}

.rc-booking-stats button{
  border: 0;
  background: transparent;
  color: var(--rc-black);
  font-size: 13px;
  font-weight: 900;
  text-align: left;
}

.rc-booking-table-card{
  overflow: hidden;
}

.rc-booking-table-card .rc-workspace-tabs{
  padding: 0 22px;
}

.rc-booking-table-card .rc-workspace-toolbar{
  border: 0;
  border-radius: 0;
}

/* My Publications */
.rc-publications-page .rc-booking-layout{
  align-items: flex-start;
  gap: 22px;
}

.rc-publication-stats{
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.rc-publication-stats article{
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  min-height: 148px;
  padding: 20px;
  border: 1px solid var(--rc-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 31, 79, 0.04);
}

.rc-publication-stats span{
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 22px;
}

.rc-publication-stats strong,
.rc-publication-stats b,
.rc-publication-stats small{
  display: block;
}

.rc-publication-stats strong{
  color: var(--rc-ink);
  font-size: 14px;
  font-weight: 900;
}

.rc-publication-stats b{
  margin-top: 12px;
  color: var(--rc-ink);
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}

.rc-publication-stats small{
  margin-top: 7px;
  color: var(--rc-muted);
  font-size: 12px;
  font-weight: 800;
}

.rc-publication-stats button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 34px;
  margin-top: 16px;
  padding: 0 12px;
  border: 1px solid #deded8;
  border-radius: 7px;
  background: #ffffff;
  color: var(--rc-black);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.rc-publication-list-card{
  overflow: hidden;
  border: 1px solid var(--rc-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(16, 31, 79, 0.04);
}

.rc-publication-list-card .rc-workspace-tabs{
  padding: 0 22px;
}

.rc-publication-list-card .rc-workspace-toolbar{
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(240px, 320px) auto;
  border: 0;
  border-radius: 0;
}

.rc-publication-list-card .rc-workspace-select{
  min-width: 0;
}

.rc-publication-card{
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
}

.rc-publication-card .rc-request-icon{
  width: 44px;
  height: 44px;
  flex-basis: 44px;
}

.rc-publication-card h2{
  max-width: 920px;
  font-size: 15px;
  line-height: 1.35;
}

.rc-publication-card p{
  max-width: 920px;
  line-height: 1.55;
}

.rc-publication-card .rc-request-actions{
  justify-content: flex-end;
}

.rc-publication-card .rc-request-actions a{
  min-width: 72px;
  white-space: nowrap;
}

.rc-booking-table{
  padding: 0 18px;
}

.rc-booking-row{
  display: grid;
  grid-template-columns: 2fr 1.25fr 1.45fr 1fr 1.1fr;
  align-items: center;
  gap: 18px;
  min-height: 94px;
  padding: 14px;
  border-bottom: 1px solid #e7edf7;
}

.rc-booking-row-head{
  min-height: 48px;
  border-bottom: 0;
  border-radius: 4px;
  background: #f4f6fa;
  color: #465276;
  font-size: 12px;
  font-weight: 900;
}

.rc-booking-row span{
  min-width: 0;
}

.rc-booking-row span:first-child{
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
}

.rc-booking-row img{
  width: 58px;
  height: 58px;
  grid-row: span 2;
  border-radius: 6px;
  object-fit: cover;
}

.rc-booking-row strong,
.rc-booking-row small,
.rc-booking-row em{
  display: block;
}

.rc-booking-row strong{
  color: var(--rc-ink);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.rc-booking-row small{
  margin-top: 5px;
  color: var(--rc-muted);
  font-size: 11px;
  font-weight: 800;
}

.rc-booking-row em{
  width: fit-content;
  margin-top: 7px;
  padding: 3px 7px;
  border-radius: 5px;
  background: var(--rc-black-soft);
  color: #2445b8;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.rc-booking-row span:last-child{
  display: flex;
  align-items: center;
  gap: 12px;
}

.rc-booking-row span:last-child button,
.rc-table-footer button{
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--rc-ink);
  font-weight: 900;
}

.rc-table-footer{
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  color: #171717;
  font-size: 13px;
  font-weight: 800;
}

.rc-table-footer p{
  margin: 0;
}

.rc-table-footer div{
  display: flex;
  gap: 8px;
}

.rc-table-footer button{
  border: 1px solid #d5def0;
  border-radius: 6px;
}

.rc-table-footer button.is-active{
  border-color: var(--rc-black);
  background: var(--rc-black);
  color: #ffffff;
}

.rc-calendar-card header{
  align-items: center;
  justify-content: space-between;
  margin: 18px 0;
}

.rc-calendar-card header button{
  border: 0;
  background: transparent;
  color: var(--rc-black);
  font-weight: 900;
}

.rc-calendar-grid{
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  text-align: center;
}

.rc-calendar-grid span,
.rc-calendar-grid small,
.rc-calendar-grid b{
  min-height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #171717;
  font-size: 12px;
  font-weight: 900;
}

.rc-calendar-grid small{
  color: #a0a8ba;
}

.rc-calendar-grid .is-booked{
  background: var(--rc-black);
  color: #ffffff;
}

.rc-calendar-legend{
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  color: #465276;
  font-size: 11px;
  font-weight: 800;
}

.rc-calendar-legend span::before{
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--rc-black);
}

@media (max-width: 1240px) {
  .rc-messages-layout,
.rc-notification-layout,
.rc-requests-grid,
.rc-booking-layout{
    display: block;
  }

  .rc-chat-list-panel,
.rc-contact-panel,
.rc-workspace-sidebar{
    width: auto;
    margin-top: 18px;
  }

  .rc-contact-panel,
.rc-workspace-sidebar{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .rc-workspace-page{
    padding: 18px 14px 30px;
  }

  .rc-workspace-head,
.rc-workspace-toolbar,
.rc-request-card,
.rc-notification-item{
    display: grid;
  }

  .rc-workspace-toolbar{
    grid-template-columns: 1fr;
  }

  .rc-workspace-tabs{
    overflow-x: auto;
  }

  .rc-workspace-tabs button{
    min-width: max-content;
  }

  .rc-contact-panel,
.rc-workspace-sidebar,
.rc-booking-stats,
.rc-publication-stats,
.rc-publication-list-card .rc-workspace-toolbar,
.rc-publication-card{
    grid-template-columns: 1fr;
  }

  .rc-publication-card .rc-request-actions{
    justify-content: flex-start;
  }

  .rc-booking-row,
.rc-booking-row-head{
    grid-template-columns: 1fr;
  }

  .rc-booking-row-head{
    display: none;
  }

  .rc-chat-body{
    min-height: 420px;
    padding-inline: 18px;
  }
}

/* =====================================================
   END WORKSPACE PAGES REDESIGN
===================================================== */

/* =====================================================
   AUTH ROUTE OVERRIDES
   Keep these last so Drupal user-page layout rules do not
   pull login,
register,
password,
and logout pages back
   into the standard account screen.
===================================================== */

body.rc-auth-route{
  padding-top: 0 !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
  background:
    radial-gradient(circle at 18% 28%, rgba(0, 82, 255, 0.08), transparent 32%),
    linear-gradient(120deg, #f8fbff 0%, #eef6ff 46%, #ffffff 100%) !important;
}

body.rc-auth-route #toolbar-administration,
body.rc-auth-route .rc-site > .rc-side-tab,
body.rc-auth-route .rc-site > .rc-side-menu,
body.rc-auth-route .rc-site > .rc-side-overlay,
body.rc-auth-route .rc-left-rail,
body.rc-auth-route .tabs,
body.rc-auth-route nav.tabs,
body.rc-auth-route .rc-footer{
  display: none !important;
}

body.rc-auth-route .rc-site.rc-auth-page{
  min-height: 100vh;
  overflow-x: clip;
}

body.rc-auth-route .rc-auth-page .rc-container.rc-system{
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: 1180px !important;
}

body.rc-auth-route .rc-auth-page .rc-container.rc-layout{
  display: block !important;
  width: min(1320px, calc(100% - 64px)) !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 34px 0 48px !important;
}

body.rc-auth-route:not(.rc-auth-route-logged-out) .rc-auth-page .rc-content{
  position: relative;
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  grid-template-columns: minmax(310px, 0.78fr) minmax(480px, 1fr) !important;
  gap: 56px !important;
  align-items: center !important;
  min-height: calc(100vh - 170px) !important;
}

body.rc-auth-route .rc-auth-page .rc-content > .block,
body.rc-auth-route .rc-auth-page .rc-content > .region,
body.rc-auth-route .rc-auth-page .rc-content > article{
  width: 100% !important;
  max-width: none !important;
}

body.rc-auth-route .rc-auth-page .rc-content > form,
body.rc-auth-route .rc-auth-page .rc-content .user-login-form,
body.rc-auth-route .rc-auth-page .rc-content .user-register-form,
body.rc-auth-route .rc-auth-page .rc-content .user-pass,
body.rc-auth-route .rc-auth-page .rc-content .user-pass-reset,
body.rc-auth-route .rc-auth-page .rc-content form[class*="user-logout"]{
  justify-self: stretch !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 54px 68px !important;
  border: 1px solid #dbe6ff !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 22px 48px rgba(25, 47, 96, 0.12) !important;
}

body.rc-auth-route .rc-auth-page .rc-content form .form-item,
body.rc-auth-route .rc-auth-page .rc-content form .field{
  min-width: 0;
}

body.rc-auth-route .rc-auth-page .rc-content form input[type="text"],
body.rc-auth-route .rc-auth-page .rc-content form input[type="email"],
body.rc-auth-route .rc-auth-page .rc-content form input[type="password"],
body.rc-auth-route .rc-auth-page .rc-content form input[type="tel"],
body.rc-auth-route .rc-auth-page .rc-content form input[type="number"],
body.rc-auth-route .rc-auth-page .rc-content form select,
body.rc-auth-route .rc-auth-page .rc-content form textarea{
  width: 100% !important;
  min-height: 52px !important;
  max-width: none !important;
  border: 1px solid #cfd9ee !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

body.rc-auth-route .rc-auth-page .rc-content form select{
  appearance: auto;
}

body.rc-auth-route .rc-auth-page .rc-content form input[type="file"]{
  width: 100%;
  min-height: 52px;
  padding: 12px;
  border: 1px solid #cfd9ee;
  border-radius: 8px;
  background: #ffffff;
}

body.rc-auth-route .rc-auth-page .rc-content form .form-actions input,
body.rc-auth-route .rc-auth-page .rc-content form .form-actions .button{
  width: 100% !important;
}

body.rc-auth-route.rc-auth-route-register .rc-auth-page .user-register-form{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  column-gap: 24px !important;
  align-items: start !important;
  padding: 36px 48px !important;
}

body.rc-auth-route.rc-auth-route-register .rc-auth-page .user-register-form > :is(.form-wrapper,
.field,
.form-item){
  min-width: 0;
}

body.rc-auth-route.rc-auth-route-register .rc-auth-page .user-register-form::before,
body.rc-auth-route.rc-auth-route-register .rc-auth-page .user-register-form::after,
body.rc-auth-route.rc-auth-route-register .rc-auth-page .user-register-form .form-actions,
body.rc-auth-route.rc-auth-route-register .rc-auth-page .user-register-form .description,
body.rc-auth-route.rc-auth-route-register .rc-auth-page .user-register-form .form-item__description,
body.rc-auth-route.rc-auth-route-register .rc-auth-page .user-register-form details,
body.rc-auth-route.rc-auth-route-register .rc-auth-page .user-register-form .field--name-field-research-interests,
body.rc-auth-route.rc-auth-route-register .rc-auth-page .user-register-form .field--name-user-picture,
body.rc-auth-route.rc-auth-route-register .rc-auth-page .user-register-form .field--name-field-profile-picture,
body.rc-auth-route.rc-auth-route-register .rc-auth-page .user-register-form .form-type-checkbox{
  grid-column: 1 / -1 !important;
}

body.rc-auth-route.rc-auth-route-register .rc-auth-page .rc-content form textarea{
  min-height: 104px !important;
}

body.rc-auth-route.rc-auth-route-logout .rc-auth-page .rc-content::before{
  align-self: center;
  max-width: 430px;
}

body.rc-auth-route.rc-auth-route-logout .rc-auth-page .rc-content > form,
body.rc-auth-route.rc-auth-route-logout .rc-auth-page .rc-content form[class*="user-logout"]{
  max-width: 560px !important;
  justify-self: end !important;
}

body.rc-auth-route.rc-auth-route-logout .rc-auth-page .rc-content .form-actions{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

body.rc-auth-route.rc-auth-route-logged-out .rc-auth-page .rc-content{
  display: block !important;
  width: 100% !important;
  max-width: none !important;
}

@media (max-width: 980px) {
  body.rc-auth-route:not(.rc-auth-route-logged-out) .rc-auth-page .rc-content{
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  body.rc-auth-route .rc-auth-page .rc-content > form,
body.rc-auth-route .rc-auth-page .rc-content .user-login-form,
body.rc-auth-route .rc-auth-page .rc-content .user-register-form,
body.rc-auth-route .rc-auth-page .rc-content .user-pass,
body.rc-auth-route .rc-auth-page .rc-content .user-pass-reset,
body.rc-auth-route .rc-auth-page .rc-content form[class*="user-logout"]{
    padding: 34px 24px !important;
  }

  body.rc-auth-route.rc-auth-route-register .rc-auth-page .user-register-form{
    grid-template-columns: 1fr !important;
  }

  body.rc-auth-route.rc-auth-route-logout .rc-auth-page .rc-content > form,
body.rc-auth-route.rc-auth-route-logout .rc-auth-page .rc-content form[class*="user-logout"]{
    max-width: none !important;
    justify-self: stretch !important;
  }
}

@media (max-width: 620px) {
  body.rc-auth-route .rc-auth-page .rc-container.rc-system{
    width: min(100% - 28px, 1180px) !important;
  }

  body.rc-auth-route .rc-auth-page .rc-container.rc-layout{
    width: min(100% - 28px, 1320px) !important;
  }

  body.rc-auth-route.rc-auth-route-logout .rc-auth-page .rc-content .form-actions{
    grid-template-columns: 1fr !important;
  }
}

/* =====================================================
   DRUPAL AUTH PATH FALLBACKS
   Drupal already gives these route classes to the body.
   Use them so the public auth design does not depend on
   an additional HTML preprocess hook.
===================================================== */

:is(
  body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm,
body.path-logged-out
){
  padding-top: 0 !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
  background:
    radial-gradient(circle at 18% 28%, rgba(0, 82, 255, 0.08), transparent 32%),
    linear-gradient(120deg, #f8fbff 0%, #eef6ff 46%, #ffffff 100%) !important;
}

:is(
  body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm,
body.path-logged-out
) :is(
  #toolbar-administration,
.rc-site > .rc-side-tab,
.rc-site > .rc-side-menu,
.rc-site > .rc-side-overlay,
.rc-left-rail,
.tabs,
nav.tabs,
.rc-footer
){
  display: none !important;
}

:is(
  body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm,
body.path-logged-out
) .rc-site{
  min-height: 100vh !important;
  overflow-x: clip;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.88)),
    radial-gradient(circle at 30% 48%, rgba(3, 78, 255, 0.13), transparent 30%),
    linear-gradient(135deg, #f7fbff, #edf6ff 48%, #ffffff) !important;
  color: #07123f;
}

:is(
  body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm,
body.path-logged-out
) .rc-topbar{
  position: relative !important;
  border-bottom: 1px solid #deded8 !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 8px 28px rgba(15, 39, 94, 0.08) !important;
}

:is(
  body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm,
body.path-logged-out
) .rc-topbar__inner{
  width: min(1320px, calc(100% - 64px)) !important;
  min-height: 88px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

:is(
  body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm,
body.path-logged-out
) .rc-logo{
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  color: #06144d !important;
  font-size: 25px !important;
  font-weight: 900 !important;
}

:is(
  body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm,
body.path-logged-out
) .rc-logo::before{
  content: "";
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 50%, #034eff 0 5px, transparent 6px),
    radial-gradient(circle at 15% 15%, #034eff 0 5px, transparent 6px),
    radial-gradient(circle at 85% 15%, #034eff 0 5px, transparent 6px),
    radial-gradient(circle at 15% 85%, #034eff 0 5px, transparent 6px),
    radial-gradient(circle at 85% 85%, #034eff 0 5px, transparent 6px),
    linear-gradient(45deg, transparent 45%, #034eff 46% 54%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, #034eff 46% 54%, transparent 55%);
}

:is(
  body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm,
body.path-logged-out
) .rc-container.rc-system{
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: 1180px !important;
  margin: 24px auto 0 !important;
}

:is(
  body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm,
body.path-logged-out
) .rc-container.rc-layout{
  display: block !important;
  width: min(1320px, calc(100% - 64px)) !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 34px 0 48px !important;
}

:is(
  body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm
) .rc-content{
  position: relative !important;
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  min-height: calc(100vh - 170px) !important;
  grid-template-columns: minmax(310px, 0.78fr) minmax(480px, 1fr) !important;
  gap: 56px !important;
  align-items: center !important;
}

:is(
  body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm
) .rc-content::after{
  content: "";
  position: absolute;
  left: 28%;
  bottom: 18px;
  width: 260px;
  height: 360px;
  opacity: 0.28;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 44%, rgba(3, 78, 255, 0.35) 45% 46%, transparent 47%),
    radial-gradient(ellipse at 50% 18%, rgba(3, 78, 255, 0.32) 0 7%, transparent 8%),
    radial-gradient(ellipse at 50% 31%, rgba(3, 78, 255, 0.16) 0 18%, transparent 19%),
    linear-gradient(#0b5eff, #0b5eff) 48% 34% / 18px 190px no-repeat,
    linear-gradient(#0b5eff, #0b5eff) 43% 78% / 108px 20px no-repeat,
    linear-gradient(#0b5eff, #0b5eff) 43% 86% / 70px 20px no-repeat;
}

:is(
  body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm
) .rc-content :is(
  .user-login-form,
.user-register-form,
.user-pass,
.user-pass-reset,
form[class*="user-logout"]
){
  position: relative !important;
  z-index: 2 !important;
  justify-self: stretch !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 54px 68px !important;
  border: 1px solid #dbe6ff !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 22px 48px rgba(25, 47, 96, 0.12) !important;
}

:is(
  body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm
) .rc-content form::before{
  display: block;
  margin-bottom: 10px;
  color: #08133e;
  font-size: 26px;
  line-height: 1.2;
  text-align: center;
}

body.path-user-login .rc-content form::before{
  content: "Login to Philosopher’s Hub";
}

body.path-user-register .rc-content form::before{
  content: "Create Your Philosopher’s Hub Account";
}

body.path-user-password .rc-content form::before{
  content: "Reset your password";
}

:is(body.path-user-logout,
body.path-user-logout-confirm) .rc-content form::before{
  content: "Ready to log out?";
}

:is(
  body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm
) .rc-content form :is(
  input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
select,
textarea
){
  width: 100% !important;
  min-height: 52px !important;
  max-width: none !important;
  padding: 14px 18px !important;
  border: 1px solid #cfd9ee !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  color: #111a44 !important;
}

:is(
  body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm
) .rc-content form :is(input,
select,
textarea):focus{
  outline: 3px solid rgba(3, 78, 255, 0.14);
  border-color: #034eff !important;
}

:is(
  body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm
) .rc-content form :is(input[type="submit"],
.button){
  width: 100% !important;
  min-height: 52px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #034eff !important;
  box-shadow: 0 14px 26px rgba(3, 78, 255, 0.18) !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 900 !important;
}

body.path-user-register .rc-content textarea{
  min-height: 104px !important;
}

:is(body.path-user-logout,
body.path-user-logout-confirm) .rc-content::before{
  content: "See you soon\A Your Philosopher’s Hub workspace will be ready when you return.";
  max-width: 430px;
  white-space: pre-line;
  color: #08133e;
  font-size: 38px;
  line-height: 1.25;
  font-weight: 900;
}

:is(body.path-user-logout,
body.path-user-logout-confirm) .rc-content :is(
  form[class*="user-logout"]
){
  max-width: 560px !important;
  justify-self: end !important;
}

:is(body.path-user-logout,
body.path-user-logout-confirm) .rc-content .form-actions{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

body.path-logged-out .rc-content{
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-height: calc(100vh - 170px) !important;
}

@media (max-width: 980px) {
  :is(
    body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm
  ) .rc-content{
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  :is(
    body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm
  ) .rc-content::after{
    display: none !important;
  }

  :is(
    body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm
  ) .rc-content :is(
    .user-login-form,
.user-register-form,
.user-pass,
.user-pass-reset,
form[class*="user-logout"]
  ){
    padding: 34px 24px !important;
  }

  :is(body.path-user-logout,
body.path-user-logout-confirm) .rc-content :is(
    form[class*="user-logout"]
  ){
    max-width: none !important;
    justify-self: stretch !important;
  }
}

@media (max-width: 620px) {
  :is(
    body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm,
body.path-logged-out
  ) .rc-topbar__inner,
:is(
    body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm,
body.path-logged-out
  ) .rc-container.rc-layout{
    width: min(100% - 28px, 1320px) !important;
  }

  :is(body.path-user-logout,
body.path-user-logout-confirm) .rc-content .form-actions{
    grid-template-columns: 1fr !important;
  }
}

/* =====================================================
   PUBLIC HOME FEATURE ICONS
   Keep the benefit row compact below the slider even
   though article cards are used elsewhere in .rc-content.
===================================================== */

.rc-public-home .rc-public-benefits{
  display: grid !important;
  width: 100% !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: clamp(18px, 2vw, 36px) !important;
  align-items: start !important;
  margin: 0 auto 40px !important;
}

.rc-content .rc-public-home .rc-public-benefits article{
  display: grid !important;
  justify-items: center !important;
  align-content: start !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #171717 !important;
  text-align: center !important;
}

.rc-public-home .rc-public-benefit-icon{
  display: grid !important;
  width: 72px !important;
  height: 72px !important;
  margin: 0 auto 16px !important;
  place-items: center !important;
  border: 1px solid #dbe7ff !important;
  border-radius: 10px !important;
  background: linear-gradient(180deg, #f2f6ff, #e8f0ff) !important;
  box-shadow: 0 12px 24px rgba(3, 78, 255, 0.08) !important;
  color: #034eff !important;
}

.rc-public-home .rc-public-benefit-icon svg{
  width: 38px !important;
  height: 38px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.rc-public-home .rc-public-benefits h2{
  margin: 0 0 9px !important;
  color: #171717 !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}

.rc-public-home .rc-public-benefits p{
  max-width: 190px !important;
  margin: 0 !important;
  color: #1f2d67 !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
}

@media (max-width: 900px) {
  .rc-public-home .rc-public-benefits{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .rc-content .rc-public-home .rc-public-benefits article:last-child{
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 520px) {
  .rc-public-home .rc-public-benefits{
    grid-template-columns: 1fr !important;
  }

  .rc-content .rc-public-home .rc-public-benefits article{
    padding-inline: 0 !important;
  }
}

/* =====================================================
   PUBLIC SLIDER COPY READABILITY
===================================================== */

.rc-public-home .rc-slide-overlay{
  background:
    linear-gradient(90deg, rgba(4, 13, 44, 0.86) 0%, rgba(4, 13, 44, 0.68) 32%, rgba(4, 13, 44, 0.22) 64%, rgba(4, 13, 44, 0.08) 100%) !important;
}

.rc-public-home .rc-slide-content{
  max-width: 470px !important;
  padding-top: clamp(42px, 5vw, 64px) !important;
  padding-right: clamp(28px, 5vw, 58px) !important;
  padding-bottom: clamp(42px, 5vw, 64px) !important;
  padding-left: clamp(104px, 8vw, 142px) !important;
  color: #f8fbff !important;
  text-shadow: 0 2px 14px rgba(0, 8, 34, 0.5);
}

.rc-public-home .rc-slide-content h1{
  max-width: 420px !important;
  margin: 0 0 14px !important;
  color: #ffffff !important;
  font-size: clamp(28px, 2.55vw, 39px) !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
  text-wrap: balance;
}

.rc-public-home .rc-slide-content p{
  max-width: 390px !important;
  margin: 0 0 24px !important;
  color: #eaf2ff !important;
  font-size: clamp(13px, 1.12vw, 16px) !important;
  line-height: 1.55 !important;
  letter-spacing: 0 !important;
}

.rc-public-home .rc-slide-content .rc-primary-btn{
  display: inline-flex !important;
  min-height: 44px !important;
  align-items: center !important;
  padding: 12px 20px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
}

@media (max-width: 768px) {
  .rc-public-home .rc-slide-content{
    max-width: min(420px, calc(100% - 32px)) !important;
    padding: 44px 24px !important;
  }

  .rc-public-home .rc-slide-content h1{
    font-size: 28px !important;
  }

  .rc-public-home .rc-slide-content p{
    font-size: 14px !important;
  }
}

/* =====================================================
   LOGIN CARD DETAILS
===================================================== */

body.path-user-login .rc-content .rc-researchconnect-login-form::before,
.rc-auth-login .rc-researchconnect-login-form::before{
  content: none !important;
  display: none !important;
}

.rc-researchconnect-login-form .rc-login-card-intro{
  margin: 0 0 28px !important;
  color: #08133e;
  text-align: center;
}

.rc-researchconnect-login-form .rc-login-card-intro h2{
  margin: 0 0 8px !important;
  color: #08133e !important;
  font-size: clamp(22px, 1.8vw, 29px) !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}

.rc-researchconnect-login-form .rc-login-card-intro strong{
  color: #034eff;
}

.rc-researchconnect-login-form .rc-login-card-intro p{
  margin: 0 !important;
  color: #56658d !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
}

.rc-researchconnect-login-form :is(.form-item-name,
.form-item-pass){
  margin-bottom: 18px !important;
}

.rc-researchconnect-login-form :is(.form-item-name,
.form-item-pass) label{
  display: block !important;
}

.rc-researchconnect-login-form .rc-login-options{
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin: 8px 0 22px !important;
}

.rc-researchconnect-login-form .rc-login-options .form-item{
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  margin: 0 !important;
}

.rc-researchconnect-login-form .rc-login-options input[type="checkbox"]{
  width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  margin: 0 !important;
  accent-color: #034eff;
}

.rc-researchconnect-login-form .rc-login-options label{
  margin: 0 !important;
  color: #13204f !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.rc-researchconnect-login-form .rc-login-password-link{
  color: #034eff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.rc-researchconnect-login-form .rc-login-password-link:hover{
  text-decoration: underline !important;
}

.rc-researchconnect-login-form .form-actions{
  margin-top: 0 !important;
}

@media (max-width: 520px) {
  .rc-researchconnect-login-form .rc-login-options{
    align-items: flex-start !important;
    flex-direction: column !important;
  }
}

/* =====================================================
   AUTH BRAND ALIGNMENT
   Keep the user access pages in the black-and-white Philosopher’s Hub
   palette and leave the wordmark clean.
===================================================== */

:is(
  .rc-auth-page,
body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm,
body.path-logged-out
){
  --rc-auth-accent: #171717;
  --rc-auth-accent-dark: #000000;
  --rc-auth-accent-soft: #e7f7f5;
  --rc-auth-accent-line: #bfe8e4;
  --rc-auth-accent-shadow: rgba(0, 125, 120, 0.18);
}

:is(
  body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm,
body.path-logged-out
){
  background:
    radial-gradient(circle at 18% 28%, rgba(23, 23, 23, 0.11), transparent 32%),
    linear-gradient(120deg, #f7fcfb 0%, #edf8f7 46%, #ffffff 100%) !important;
}

:is(
  .rc-auth-page,
body.path-user-login .rc-site,
body.path-user-register .rc-site,
body.path-user-password .rc-site,
body.path-user-logout .rc-site,
body.path-user-logout-confirm .rc-site,
body.path-logged-out .rc-site
){
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at 30% 48%, rgba(23, 23, 23, 0.14), transparent 30%),
    linear-gradient(135deg, #f7fcfb, #ecf8f6 48%, #ffffff) !important;
}

:is(
  .rc-auth-page,
body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm,
body.path-logged-out
) .rc-topbar{
  border-bottom-color: #d7eeeb !important;
  box-shadow: 0 8px 28px rgba(5, 64, 61, 0.09) !important;
}

:is(
  .rc-auth-page,
body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm,
body.path-logged-out
) .rc-logo{
  gap: 0 !important;
  color: var(--rc-auth-accent-dark) !important;
}

.rc-auth-page .rc-logo::before,
:is(
  body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm,
body.path-logged-out
) .rc-logo::before{
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
}

:is(
  .rc-auth-page,
body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm,
body.path-logged-out
) .rc-user-auth-links a{
  border-color: var(--rc-auth-accent-line) !important;
  color: var(--rc-auth-accent-dark) !important;
}

.rc-auth-login .rc-user-auth-links a:last-child,
:is(
  body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm,
body.path-logged-out
) .rc-auth-page .rc-user-auth-links a:last-child{
  background: var(--rc-auth-accent) !important;
  border-color: var(--rc-auth-accent) !important;
  box-shadow: 0 10px 24px var(--rc-auth-accent-shadow) !important;
  color: #ffffff !important;
}

:is(
  .rc-auth-register,
.rc-auth-password,
.rc-auth-logout,
.rc-auth-logged-out
) .rc-user-auth-links a:last-child{
  background: #ffffff !important;
  border-color: var(--rc-auth-accent-line) !important;
  box-shadow: none !important;
  color: var(--rc-auth-accent-dark) !important;
}

:is(
  .rc-auth-page,
body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm
) .rc-login-text h1::after{
  background: var(--rc-auth-accent) !important;
}

:is(
  .rc-auth-page,
body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm
) .rc-login-text::after{
  background:
    radial-gradient(circle at 24px 26px, var(--rc-auth-accent-soft) 0 31px, transparent 32px),
    radial-gradient(circle at 24px 129px, var(--rc-auth-accent-soft) 0 31px, transparent 32px),
    radial-gradient(circle at 24px 232px, var(--rc-auth-accent-soft) 0 31px, transparent 32px) !important;
}

:is(
  .rc-auth-page,
body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm
) .rc-content::after{
  background:
    linear-gradient(105deg, transparent 44%, rgba(23, 23, 23, 0.3) 45% 46%, transparent 47%),
    radial-gradient(ellipse at 50% 18%, rgba(23, 23, 23, 0.28) 0 7%, transparent 8%),
    radial-gradient(ellipse at 50% 31%, rgba(23, 23, 23, 0.14) 0 18%, transparent 19%),
    linear-gradient(var(--rc-auth-accent), var(--rc-auth-accent)) 48% 34% / 18px 190px no-repeat,
    linear-gradient(var(--rc-auth-accent), var(--rc-auth-accent)) 43% 78% / 108px 20px no-repeat,
    linear-gradient(var(--rc-auth-accent), var(--rc-auth-accent)) 43% 86% / 70px 20px no-repeat !important;
}

:is(
  .rc-auth-page,
body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm
) .rc-content :is(
  .user-login-form,
.user-register-form,
.user-pass,
.user-pass-reset,
form[class*="user-logout"]
){
  border-color: #d6eeeb !important;
  box-shadow: 0 22px 48px rgba(5, 64, 61, 0.12) !important;
}

:is(
  .rc-auth-page,
body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm
) :is(input,
select,
textarea):focus{
  outline-color: rgba(23, 23, 23, 0.18) !important;
  border-color: var(--rc-auth-accent) !important;
}

:is(
  .rc-auth-page,
body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm
) .rc-content form :is(input[type="submit"],
.button),
.rc-auth-page input[type="submit"],
.rc-auth-page .button,
.rc-logged-out-actions a:first-child{
  border-color: var(--rc-auth-accent) !important;
  background: var(--rc-auth-accent) !important;
  box-shadow: 0 14px 26px var(--rc-auth-accent-shadow) !important;
}

:is(
  .rc-auth-page,
body.path-user-login,
body.path-user-register,
body.path-user-password,
body.path-user-logout,
body.path-user-logout-confirm
) .rc-content form :is(input[type="submit"],
.button):hover,
.rc-auth-page input[type="submit"]:hover,
.rc-auth-page .button:hover{
  background: var(--rc-auth-accent-dark) !important;
}

.rc-researchconnect-login-form .rc-login-card-intro strong,
.rc-researchconnect-login-form .rc-login-password-link,
.rc-logged-out-actions a{
  color: var(--rc-auth-accent-dark) !important;
}

.rc-researchconnect-login-form .rc-login-options input[type="checkbox"]{
  accent-color: var(--rc-auth-accent) !important;
}

.rc-logged-out-points span,
.rc-logged-out-mark{
  border-color: #d1ece8 !important;
  background: var(--rc-auth-accent-soft) !important;
  color: var(--rc-auth-accent-dark) !important;
}

.rc-logged-out-card,
body.path-logged-out .rc-logged-out-card{
  border-color: #d6eeeb !important;
  box-shadow: 0 24px 56px rgba(5, 64, 61, 0.12) !important;
}

.rc-logged-out-actions a{
  border-color: var(--rc-auth-accent-line) !important;
}

.rc-logged-out-actions a:first-child{
  color: #ffffff !important;
}

/* =====================================================
   LOGIN REGISTER LINK
   Use a real Drupal form link instead of pseudo text.
===================================================== */

body.path-user-login .rc-content .rc-researchconnect-login-form::after,
.rc-auth-login .rc-researchconnect-login-form::after,
body.path-user-login .rc-content form::after,
.rc-auth-login form::after{
  content: none !important;
  display: none !important;
}

.rc-researchconnect-login-form .rc-login-register{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  margin: 26px 0 0 !important;
  color: #526287 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  text-align: center !important;
}

.rc-researchconnect-login-form .rc-login-register-link{
  color: var(--rc-auth-accent-dark) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.rc-researchconnect-login-form .rc-login-register-link:hover{
  text-decoration: underline !important;
}

.rc-orcid-auth-card{
  display: grid !important;
  justify-items: center !important;
  gap: 16px !important;
  margin: 0 0 24px !important;
  padding: 22px 20px !important;
  border: 1px solid #dbe5ea !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  text-align: center !important;
}

.rc-orcid-auth-card h3{
  margin: 0 !important;
  color: #171717 !important;
  font-size: 22px !important;
  line-height: 1.2 !important;
}

.rc-orcid-auth-card p{
  max-width: 390px !important;
  margin: 0 auto !important;
  color: #526287 !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  text-align: center !important;
}

.rc-orcid-auth-actions{
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  width: 100% !important;
  gap: 12px !important;
}

.rc-orcid-button{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  padding: 12px 18px !important;
  border: 2px solid #a6ce39 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  color: #171717 !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  box-shadow: 0 10px 22px rgba(166, 206, 57, 0.18) !important;
}

.rc-orcid-button::before{
  content: "iD";
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  border-radius: 50%;
  background: #a6ce39;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.rc-orcid-button:hover{
  background: #f4ffd6 !important;
  transform: translateY(-1px);
}

.rc-password-field{
  position: relative !important;
  display: block !important;
  width: 100% !important;
}

.rc-password-field input[type="password"],
.rc-password-field input[type="text"]{
  width: 100% !important;
  padding-right: 56px !important;
}

.rc-password-toggle{
  position: absolute !important;
  right: 12px !important;
  top: 50% !important;
  display: inline-grid !important;
  place-items: center !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #526287 !important;
  box-shadow: none !important;
  transform: translateY(-50%) !important;
  cursor: pointer !important;
}

.rc-password-toggle svg{
  width: 20px !important;
  height: 20px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.rc-password-toggle:hover,
.rc-password-toggle:focus-visible{
  background: #e7f7f5 !important;
  color: var(--rc-auth-accent-dark) !important;
  outline: none !important;
}

.rc-auth-divider{
  position: relative;
  display: grid;
  place-items: center;
  min-height: 20px;
  color: #6f6f6a;
  font-weight: 800;
}

.rc-auth-divider::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(23, 23, 23, 0.12);
}

.rc-auth-divider span{
  position: relative;
  z-index: 1;
  padding: 0 12px;
  background: #ffffff;
}

.rc-orcid-page{
  width: min(100%, 760px);
  margin: clamp(32px, 7vh, 76px) auto;
  padding: 0 20px;
}

.rc-orcid-page__panel{
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid #dbe5ea;
  border-radius: 18px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 22px 55px rgba(23, 23, 23, 0.1);
}

.rc-orcid-page__mark{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 13px;
  border-radius: 999px;
  background: #f6fbeb;
  color: #171717;
  font-weight: 900;
  letter-spacing: 0;
}

.rc-orcid-page__mark span{
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #a6ce39;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.rc-orcid-page h1{
  margin: 0;
  color: #171717;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.08;
}

.rc-orcid-page p{
  max-width: 620px;
  margin: 0;
  color: #526287;
  font-size: 17px;
  line-height: 1.55;
}

.rc-orcid-page__steps{
  width: min(100%, 560px);
  margin: 4px 0 2px;
  padding: 18px 20px;
  border: 1px solid #e3edf2;
  border-radius: 14px;
  background: #f8fbfc;
  text-align: left;
}

.rc-orcid-page__steps h2{
  margin: 0 0 10px;
  color: #171717;
  font-size: 16px;
  line-height: 1.2;
}

.rc-orcid-page li{
  color: #526287;
  font-size: 15px;
  line-height: 1.5;
}

.rc-orcid-page ol{
  margin: 0;
  padding-left: 20px;
}

.rc-orcid-page__actions{
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 12px !important;
  margin-top: 4px !important;
}

.rc-orcid-page__actions a,
.rc-orcid-page__button{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 180px;
  min-height: 48px;
  padding: 12px 18px !important;
  border: 1px solid var(--rc-brand) !important;
  border-radius: 10px !important;
  color: #171717 !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.rc-orcid-page__actions a:first-child,
.rc-orcid-page__button--primary{
  background: var(--rc-brand) !important;
  color: #ffffff !important;
}

.rc-orcid-page__actions a:last-child,
.rc-orcid-page__button--secondary{
  background: #ffffff !important;
  color: var(--rc-brand-dark) !important;
}

.rc-orcid-page__actions a:hover,
.rc-orcid-page__button:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 125, 120, 0.16);
}

@media (max-width: 560px) {
  .rc-orcid-page__actions,
.rc-orcid-page__actions a,
.rc-orcid-page__button{
    width: 100%;
  }
}

/* =====================================================
   REGISTER PAGE FORM ONLY
   The create-account route uses the registration card without intro copy.
===================================================== */

.rc-auth-register .rc-content,
body.path-user-register .rc-content{
  grid-template-columns: minmax(0, 1fr) !important;
  justify-items: center !important;
}

.rc-auth-register .rc-login-text,
body.path-user-register .rc-login-text{
  display: none !important;
}

.rc-auth-register .rc-content > form,
.rc-auth-register .rc-content .user-register-form,
body.path-user-register .rc-content > form,
body.path-user-register .rc-content .user-register-form{
  width: min(100%, 1120px) !important;
  min-width: 0 !important;
  justify-self: center !important;
}

/* Registration legal consent controls and return path. */
.rc-auth-register .user-register-form .rc-registration-consent-field,
body.rc-auth-route.rc-auth-route-register .rc-auth-page .rc-registration-consent-field{
  align-self: end;
  display: grid;
  gap: 5px;
}

.rc-auth-register .user-register-form .rc-registration-consent-field :is(.form-type-checkbox,
.form-type--checkbox),
body.rc-auth-route.rc-auth-route-register .rc-auth-page .rc-registration-consent-field :is(.form-type-checkbox,
.form-type--checkbox){
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
  margin-top: 12px;
}

.rc-auth-register .user-register-form .rc-registration-consent-field input[type="checkbox"],
body.rc-auth-route.rc-auth-route-register .rc-auth-page .rc-registration-consent-field input[type="checkbox"]{
  appearance: none;
  position: relative;
  width: 58px !important;
  min-width: 58px !important;
  height: 32px !important;
  min-height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #8ea0c7 !important;
  border-radius: 999px !important;
  background: #dce5f7 !important;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.rc-auth-register .user-register-form .rc-registration-consent-field input[type="checkbox"]::before,
body.rc-auth-route.rc-auth-route-register .rc-auth-page .rc-registration-consent-field input[type="checkbox"]::before{
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(19, 32, 79, 0.22);
  transition: transform 0.18s ease;
}

.rc-auth-register .user-register-form .rc-registration-consent-field input[type="checkbox"]:checked,
body.rc-auth-route.rc-auth-route-register .rc-auth-page .rc-registration-consent-field input[type="checkbox"]:checked{
  border-color: #034eff !important;
  background: #034eff !important;
}

.rc-auth-register .user-register-form .rc-registration-consent-field input[type="checkbox"]:checked::before,
body.rc-auth-route.rc-auth-route-register .rc-auth-page .rc-registration-consent-field input[type="checkbox"]:checked::before{
  transform: translateX(26px);
}

.rc-auth-register .user-register-form .rc-registration-consent-field > .description,
.rc-auth-register .user-register-form .rc-registration-consent-field > .form-item__description,
body.rc-auth-route.rc-auth-route-register .rc-auth-page .rc-registration-consent-field > .description,
body.rc-auth-route.rc-auth-route-register .rc-auth-page .rc-registration-consent-field > .form-item__description{
  grid-column: 1;
  width: 58px;
  margin: 0 !important;
  color: #034eff !important;
  font-size: 12px !important;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

body.path-user-register .rc-content form :is(
  .form-item-rc-open-field-institution,
.form-item-rc-open-field-department,
.form-item-rc-open-field-position,
.form-item-rc-open-field-city-town,
.form-item-rc-open-field-country,
.field--name-field-full-name,
.field--name-field-institution,
.field--name-field-department,
.field--name-field-position,
.field--name-field-city-town,
.field--name-field-country,
.field--name-field-research-interests
){
  display: none !important;
}

body.path-user-register .rc-content .user-register-form .form-actions,
body.rc-auth-route.rc-auth-route-register .rc-auth-page .user-register-form .form-actions{
  display: flex !important;
  justify-content: center !important;
  grid-column: 1 / -1 !important;
  width: 100% !important;
  margin: 26px auto 0 !important;
}

body.path-user-register .rc-content .user-register-form .form-actions :is(input[type="submit"],
button[type="submit"]),
body.rc-auth-route.rc-auth-route-register .rc-auth-page .user-register-form .form-actions :is(input[type="submit"],
button[type="submit"]){
  width: min(100%, 260px) !important;
}

.rc-registration-acceptance{
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 12px 18px;
  margin-top: 16px;
}

.rc-registration-acceptance :is(.form-type-checkbox,
.form-type--checkbox,
.form-item){
  display: grid !important;
  grid-template-columns: 64px minmax(0, 1fr) !important;
  align-items: center;
  column-gap: 14px;
  margin: 0 !important;
  padding: 12px 14px !important;
  border: 1px solid #c8d8fa;
  border-radius: 8px;
  background: #ffffff;
}

.rc-registration-acceptance input[type="checkbox"],
body.path-user-register .rc-content form .rc-registration-acceptance input[type="checkbox"].rc-registration-proxy-consent,
body.rc-auth-route.rc-auth-route-register .rc-auth-page .rc-registration-acceptance input[type="checkbox"].rc-registration-proxy-consent{
  appearance: none !important;
  -webkit-appearance: none !important;
  position: relative;
  display: block !important;
  width: 58px !important;
  min-width: 58px !important;
  max-width: 58px !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #8ea0c7 !important;
  border-radius: 999px !important;
  background: #dce5f7 !important;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
  box-shadow: none !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
}

.rc-registration-acceptance input[type="checkbox"]::before,
body.path-user-register .rc-content form .rc-registration-acceptance input[type="checkbox"].rc-registration-proxy-consent::before,
body.rc-auth-route.rc-auth-route-register .rc-auth-page .rc-registration-acceptance input[type="checkbox"].rc-registration-proxy-consent::before{
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(19, 32, 79, 0.22);
  transition: transform 0.18s ease;
}

.rc-registration-acceptance input[type="checkbox"]:checked,
body.path-user-register .rc-content form .rc-registration-acceptance input[type="checkbox"].rc-registration-proxy-consent:checked,
body.rc-auth-route.rc-auth-route-register .rc-auth-page .rc-registration-acceptance input[type="checkbox"].rc-registration-proxy-consent:checked{
  border-color: #034eff !important;
  background: #034eff !important;
}

.rc-registration-acceptance input[type="checkbox"]:checked::before,
body.path-user-register .rc-content form .rc-registration-acceptance input[type="checkbox"].rc-registration-proxy-consent:checked::before,
body.rc-auth-route.rc-auth-route-register .rc-auth-page .rc-registration-acceptance input[type="checkbox"].rc-registration-proxy-consent:checked::before{
  transform: translateX(26px);
}

.rc-registration-acceptance label{
  grid-column: 2 !important;
  grid-row: 1 !important;
  margin: 0 !important;
  color: #13204f !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
  cursor: pointer;
}

.rc-registration-acceptance .form-required::after{
  margin-left: 4px;
}

@media (max-width: 760px) {
  .rc-registration-acceptance{
    grid-template-columns: 1fr;
  }
}

.rc-registration-legal-return{
  margin: 0 0 18px;
}

.rc-registration-legal-return .button{
  display: inline-flex;
  width: auto !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  text-decoration: none;
}

.rc-auth-register .rc-registration-legal-popup-actions,
body.rc-auth-route.rc-auth-route-register .rc-registration-legal-popup-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.rc-auth-register .rc-registration-legal-links .rc-registration-legal-popup,
body.rc-auth-route.rc-auth-route-register .rc-registration-legal-links .rc-registration-legal-popup{
  width: auto !important;
  min-height: 42px;
  margin: 0;
  padding: 9px 13px !important;
  border: 1px solid #3d7de5 !important;
  border-radius: 6px !important;
  background: #f0f0ed !important;
  box-shadow: none;
  color: #0c4fc5 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.rc-auth-register .rc-registration-legal-links .rc-registration-legal-popup:hover,
body.rc-auth-route.rc-auth-route-register .rc-registration-legal-links .rc-registration-legal-popup:hover{
  border-color: #0c4fc5 !important;
  background: #dcecff !important;
  color: #07388d !important;
}

.rc-auth-register .user-register-form .form-actions :is(input[type="submit"],
button[type="submit"]):disabled,
body.rc-auth-route.rc-auth-route-register .rc-auth-page .user-register-form .form-actions :is(input[type="submit"],
button[type="submit"]):disabled{
  border-color: #b8c4d9 !important;
  background: #c7d0df !important;
  box-shadow: none !important;
  color: #53617a !important;
  cursor: not-allowed;
  opacity: 1;
}

.rc-registration-legal-modal{
  width: min(760px, calc(100% - 32px));
  max-height: min(820px, calc(100vh - 32px));
  padding: 0;
  border: 1px solid #c8d8fa;
  border-radius: 8px;
  background: #ffffff;
  color: #13204f;
  box-shadow: 0 28px 80px rgba(7, 18, 63, 0.28);
}

.rc-registration-legal-modal::backdrop{
  background: rgba(7, 18, 63, 0.58);
}

.rc-registration-legal-modal__panel{
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  max-height: min(820px, calc(100vh - 32px));
}

.rc-registration-legal-modal header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border-bottom: 1px solid #dbe6ff;
  background: #f5f9ff;
}

.rc-registration-legal-modal__title{
  margin: 0;
  color: #08133e;
  font-size: 22px;
  line-height: 1.2;
}

.rc-registration-legal-modal .rc-registration-legal-modal__close{
  flex: 0 0 40px;
  width: 40px !important;
  min-height: 40px;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 8px !important;
  font-size: 22px !important;
  line-height: 1;
}

.rc-registration-legal-modal__body{
  overflow: auto;
  padding: 24px 28px 30px;
  line-height: 1.65;
}

.rc-registration-legal-modal__body .rc-node-page,
.rc-registration-legal-modal__body .node,
.rc-registration-legal-modal__body article{
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.rc-registration-legal-modal__body h2,
.rc-registration-legal-modal__body h3{
  color: #08133e;
}

.rc-registration-legal-modal__loading{
  color: #526287;
  font-weight: 800;
}

.rc-registration-legal-modal__body .button{
  display: inline-flex;
  width: auto !important;
  margin-top: 10px !important;
  text-decoration: none;
}

@media (max-width: 620px) {
  .rc-registration-legal-modal header{
    padding: 16px;
  }

  .rc-registration-legal-modal__body{
    padding: 18px 16px 24px;
  }
}

/* Registration follow-up messages and first password setup. */
.rc-container.rc-system .messages-list,
.rc-content .messages-list{
  width: min(100%, 1120px);
  margin: 20px auto 0 !important;
}

.rc-container.rc-system .messages,
.rc-content .messages{
  position: relative;
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 104px;
  margin: 0 !important;
  padding: 24px 28px !important;
  border: 1px solid #bfe5d8 !important;
  border-radius: 8px !important;
  background: #effbf6 !important;
  box-shadow: 0 18px 44px rgba(16, 71, 62, 0.12) !important;
  color: #11352f !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

.rc-container.rc-system .messages--status::before,
.rc-content .messages--status::before{
  content: "";
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 45%, #ffffff 46% 54%, transparent 55%) 18px 26px / 16px 10px no-repeat,
    linear-gradient(45deg, transparent 44%, #ffffff 45% 55%, transparent 56%) 27px 20px / 22px 22px no-repeat,
    #1a9a75;
  box-shadow: 0 12px 24px rgba(26, 154, 117, 0.2);
}

.rc-container.rc-system .messages__content,
.rc-content .messages__content{
  min-width: 0;
  font-weight: 800;
}

.rc-container.rc-system .messages__button,
.rc-content .messages__button{
  align-self: start;
}

.rc-container.rc-system .messages__button button,
.rc-content .messages__button button{
  width: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  border: 1px solid #bfe5d8 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #176857 !important;
  box-shadow: none !important;
}

.rc-container.rc-system .messages--error,
.rc-content .messages--error{
  border-color: #ffd2cb !important;
  background: #fff5f2 !important;
  color: #7b261a !important;
}

.rc-container.rc-system .messages--error::before,
.rc-content .messages--error::before{
  content: "!";
  display: grid;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  place-items: center;
  background: #d94a35;
  box-shadow: 0 12px 24px rgba(217, 74, 53, 0.18);
  color: #ffffff;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.rc-container.rc-system .messages--warning,
.rc-content .messages--warning{
  border-color: #f5ddb0 !important;
  background: #fff9ed !important;
  color: #67450b !important;
}

.rc-auth-page .rc-auth-form-stack{
  position: relative;
  z-index: 3;
  width: 100%;
}

.rc-auth-page .rc-auth-form-stack > .region{
  width: 100% !important;
  max-width: none !important;
}

.rc-auth-page .rc-auth-messages{
  width: 100%;
  margin-bottom: 18px;
}

.rc-auth-page .rc-auth-messages .region,
.rc-auth-page .rc-auth-messages .messages-list{
  width: 100% !important;
  margin: 0 !important;
}

.rc-auth-page .rc-auth-messages .messages{
  min-height: 0;
  padding: 18px 22px !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 38px rgba(62, 36, 30, 0.12) !important;
}

.rc-auth-page .rc-auth-messages .messages__content :is(ul,
ol){
  margin: 8px 0 0;
  padding-left: 20px;
}

.rc-auth-page .rc-content form .error,
.rc-auth-page .rc-content form [aria-invalid="true"]{
  border-color: #d94a35 !important;
  box-shadow: 0 0 0 3px rgba(217, 74, 53, 0.13) !important;
}

body.path-user .rc-container.rc-system .tabs-wrapper{
  width: min(100%, 1180px);
  margin: 18px auto 0;
}

body.path-user .rc-container.rc-system .tabs--primary{
  display: inline-flex;
  overflow: hidden;
  margin: 0;
  border: 1px solid #d8e7ea;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(21, 57, 71, 0.1);
}

body.path-user .rc-container.rc-system .tabs__tab{
  margin: 0;
  border: 0;
}

body.path-user .rc-container.rc-system .tabs__link{
  min-height: 54px;
  padding: 16px 22px;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #506386;
  font-weight: 800;
}

body.path-user .rc-container.rc-system .tabs__link.is-active{
  border-color: #1a9a75;
  background: #effbf6;
  color: #071a58;
}

.rc-password-setup-page .rc-container.rc-system .tabs__tab:not(.is-active){
  display: none;
}

.rc-password-setup-page .rc-container.rc-system .tabs-wrapper,
.rc-password-setup-page .rc-left-rail,
.rc-password-setup-page .rc-footer{
  display: none !important;
}

.rc-password-setup-page .rc-layout{
  display: grid !important;
  align-items: center;
  width: min(100%, 920px) !important;
  min-height: calc(100vh - 90px);
  padding: 42px 24px !important;
}

.rc-password-setup-page .rc-content{
  width: 100% !important;
  max-width: none !important;
}

body.path-user .rc-content form.user-form.rc-password-setup-form{
  width: min(100%, 620px) !important;
  margin: 0 auto !important;
}

body.path-user .rc-password-setup-intro{
  margin: 0 0 22px;
  padding: 24px;
  border: 1px solid #cfe0ff;
  border-radius: 8px;
  background: #f3f7ff;
}

body.path-user .rc-password-setup-intro h2{
  margin: 0 0 8px;
  color: #071a58;
  font-size: 25px;
  line-height: 1.25;
}

body.path-user .rc-password-setup-intro p{
  max-width: 760px;
  margin: 0;
  color: #465b84;
}

body.path-user .rc-account-delete{
  margin-top: 24px;
  padding: 24px;
  border: 1px solid #e0e0dc;
  border-radius: 8px;
  background: #ffffff;
}

body.path-user .rc-account-delete h2{
  margin: 0 0 8px;
  font-size: 1.35rem;
}

body.path-user .rc-account-delete p{
  margin: 0 0 16px;
  color: #5f5f59;
}

body.path-user .rc-account-delete-link{
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid #111111;
  color: #111111;
  font-weight: 800;
  text-decoration: none;
}

body.path-user .rc-account-delete-link:hover{
  background: #111111;
  color: #ffffff;
}

@media (max-width: 760px) {
  .rc-container.rc-system .messages,
.rc-content .messages{
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 18px !important;
  }

  .rc-container.rc-system .messages--status::before,
.rc-container.rc-system .messages--error::before,
.rc-content .messages--status::before{
    width: 42px;
    height: 42px;
  }

  .rc-content .messages--error::before{
    width: 42px;
    height: 42px;
    font-size: 26px;
  }

  .rc-container.rc-system .messages__button,
.rc-content .messages__button{
    grid-column: 2;
  }
}

/* Registration completion page. */
.rc-auth-registration-complete .rc-container.rc-system,
.rc-auth-registration-complete .messages-list{
  display: none !important;
}

.rc-auth-registration-complete .rc-layout{
  min-height: calc(100vh - 82px);
  display: grid !important;
  align-items: center;
  width: min(100%, 1100px) !important;
  padding: 52px 24px !important;
}

.rc-auth-registration-complete .rc-content{
  width: 100%;
  max-width: none !important;
}

.rc-auth-registration-complete .rc-registration-complete{
  width: 100%;
}

.rc-auth-registration-complete .rc-registration-complete__panel{
  position: relative;
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 52px;
  overflow: hidden;
  border: 1px solid #cfe5e3;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 64px rgba(21, 57, 71, 0.14);
}

.rc-auth-registration-complete .rc-registration-complete__panel::after{
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 10px;
  background: linear-gradient(90deg, #1a9a75, #034eff);
}

.rc-auth-registration-complete .rc-registration-complete__mark{
  display: block;
  width: 74px;
  height: 74px;
  margin-bottom: 24px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 45%, #ffffff 46% 54%, transparent 55%) 24px 36px / 20px 12px no-repeat,
    linear-gradient(45deg, transparent 44%, #ffffff 45% 55%, transparent 56%) 36px 25px / 28px 28px no-repeat,
    #1a9a75;
  box-shadow: 0 18px 34px rgba(26, 154, 117, 0.24);
}

.rc-auth-registration-complete .rc-registration-complete h1{
  margin: 0 0 12px;
  color: #071a58;
  font-size: 38px;
  line-height: 1.15;
}

.rc-auth-registration-complete .rc-registration-complete p{
  max-width: 620px;
  margin: 0 0 28px;
  color: #40577c;
  font-size: 18px;
  line-height: 1.6;
}

.rc-auth-registration-complete .rc-registration-complete ol{
  display: grid;
  gap: 12px;
  margin: 0 0 30px;
  padding: 22px 22px 22px 42px;
  border: 1px solid #dce7ff;
  border-radius: 8px;
  background: #f5f8ff;
  color: #11275b;
  font-weight: 800;
}

.rc-auth-registration-complete .rc-registration-complete__actions{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.rc-auth-registration-complete .rc-registration-complete__actions a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 52px;
  padding: 15px 22px;
  border: 1px solid #1a9a75;
  border-radius: 8px;
  background: #1a9a75;
  color: #ffffff;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.rc-auth-registration-complete .rc-registration-complete__actions a:last-child{
  background: #ffffff;
  color: #176857;
}

@media (max-width: 640px) {
  .rc-auth-registration-complete .rc-registration-complete__panel{
    padding: 38px 22px;
  }

  .rc-auth-registration-complete .rc-registration-complete h1{
    font-size: 31px;
  }

  .rc-auth-registration-complete .rc-registration-complete__actions a{
    width: 100%;
  }
}

.rc-publication-detail-page{
  width: min(1320px, calc(100% - 48px));
  margin: 38px auto 72px;
  color: #182033;
}

.rc-publication-detail-breadcrumb{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
  color: #61708a;
  font-size: 15px;
  font-weight: 800;
}

.rc-publication-detail-breadcrumb a{
  color: #267f72;
  text-decoration: none;
}

.rc-publication-detail-hero,
.rc-publication-detail-main,
.rc-publication-detail-side section{
  border: 1px solid #dbe6ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 35, 75, 0.08);
}

.rc-publication-detail-hero{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding: 34px;
}

.rc-publication-detail-type{
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #e7f5f1;
  color: #176857;
  font-size: 14px;
  font-weight: 900;
}

.rc-publication-detail-hero h1{
  max-width: 900px;
  margin: 0;
  color: #071a58;
  font-size: 40px;
  line-height: 1.18;
  letter-spacing: 0;
}

.rc-publication-detail-byline{
  margin: 16px 0 0;
  color: #61708a;
  font-size: 17px;
  font-weight: 800;
}

.rc-publication-detail-actions{
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 230px;
}

.rc-publication-detail-actions a,
.rc-publication-detail-page .rc-primary-action,
.rc-publication-detail-page .rc-secondary-action{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid #1a9a75;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.rc-publication-detail-page .rc-primary-action{
  background: #1a9a75;
  color: #ffffff;
}

.rc-publication-detail-page .rc-secondary-action{
  background: #ffffff;
  color: #176857;
}

.rc-publication-detail-layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 24px;
  margin-top: 24px;
}

.rc-publication-detail-main,
.rc-publication-detail-side section{
  padding: 30px;
}

.rc-publication-detail-main h2,
.rc-publication-detail-side h2{
  margin: 0 0 16px;
  color: #071a58;
  font-size: 24px;
  line-height: 1.2;
}

.rc-publication-detail-main p,
.rc-publication-detail-note p{
  margin: 0;
  color: #40577c;
  font-size: 18px;
  line-height: 1.65;
}

.rc-publication-detail-keywords{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.rc-publication-detail-keywords span{
  padding: 8px 12px;
  border-radius: 8px;
  background: #f0f5ff;
  color: #0b4de8;
  font-size: 14px;
  font-weight: 900;
}

.rc-publication-detail-side{
  display: grid;
  gap: 18px;
}

.rc-publication-detail-list{
  display: grid;
  gap: 16px;
  margin: 0;
}

.rc-publication-detail-list div{
  display: grid;
  gap: 5px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e7edf5;
}

.rc-publication-detail-list div:last-child{
  padding-bottom: 0;
  border-bottom: 0;
}

.rc-publication-detail-list dt{
  color: #61708a;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.rc-publication-detail-list dd{
  margin: 0;
  color: #182033;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.rc-publication-detail-list a{
  color: #0b4de8;
}

.rc-publication-detail-note{
  background: #fff9f1 !important;
  border-color: #f2cda6 !important;
}

@media (max-width: 980px) {
  .rc-publication-detail-hero,
.rc-publication-detail-layout{
    grid-template-columns: 1fr;
  }

  .rc-publication-detail-actions{
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .rc-publication-detail-page{
    width: min(100% - 28px, 1320px);
    margin-top: 24px;
  }

  .rc-publication-detail-hero,
.rc-publication-detail-main,
.rc-publication-detail-side section{
    padding: 22px;
  }

  .rc-publication-detail-hero h1{
    font-size: 30px;
  }
}

/* Publication node view: match the My Publications workspace after save. */
.rc-content .rc-publication-view-page,
.rc-publication-view-page{
  width: min(1500px, calc(100% - 56px)) !important;
  margin: 36px auto 72px !important;
}

.rc-publication-view-page .rc-publication-view-head{
  align-items: flex-start !important;
  margin-bottom: 26px !important;
}

.rc-publication-view-page .rc-publication-view-head h1{
  max-width: 980px !important;
  margin: 14px 0 10px !important;
  color: #071a58 !important;
  font-size: 40px !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
}

.rc-publication-view-page .rc-publication-view-head p{
  margin: 0 !important;
  color: #5d6e89 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
}

.rc-publication-view-page .rc-workspace-actions{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  justify-content: flex-end !important;
}

.rc-publication-view-page .rc-workspace-actions a{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  padding: 12px 18px !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.rc-publication-view-page .rc-secondary-action{
  border: 1px solid #cddcf6 !important;
  background: #ffffff !important;
  color: #071a58 !important;
}

.rc-publication-view-page .rc-publication-view-layout{
  align-items: start !important;
}

.rc-publication-view-card{
  display: grid !important;
  gap: 26px !important;
  padding: 34px !important;
}

.rc-publication-view-section h2{
  margin: 0 0 14px !important;
  color: #071a58 !important;
  font-size: 26px !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

.rc-publication-view-section p{
  max-width: 980px !important;
  margin: 0 !important;
  color: #2f3a4c !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
}

.rc-publication-view-keywords{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.rc-publication-view-keywords span{
  padding: 8px 12px !important;
  border-radius: 8px !important;
  background: #edf4ff !important;
  color: #0b4de8 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.rc-publication-view-list{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin: 0 !important;
}

.rc-publication-view-list div{
  min-width: 0 !important;
  padding: 16px !important;
  border: 1px solid #dfe8f5 !important;
  border-radius: 8px !important;
  background: #f8fbff !important;
}

.rc-publication-view-list dt{
  margin: 0 0 6px !important;
  color: #5d6e89 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
  text-transform: uppercase !important;
}

.rc-publication-view-list dd{
  margin: 0 !important;
  color: #16213a !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  overflow-wrap: anywhere !important;
}

.rc-publication-view-list a{
  color: #1a7f72 !important;
}

@media (max-width: 980px) {
  .rc-publication-view-page .rc-publication-view-head{
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .rc-publication-view-page .rc-workspace-actions{
    justify-content: flex-start !important;
  }

  .rc-publication-view-list{
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .rc-content .rc-publication-view-page,
.rc-publication-view-page{
    width: min(100% - 28px, 1500px) !important;
    margin-top: 24px !important;
  }

  .rc-publication-view-page .rc-publication-view-head h1{
    font-size: 30px !important;
  }

  .rc-publication-view-card{
    padding: 22px !important;
  }

  .rc-publication-view-page .rc-workspace-actions a{
    width: 100% !important;
  }
}

/* My Publications page polish and live publication list. */
.rc-publications-page .rc-publication-stats{
  display: grid !important;
  grid-template-columns: repeat(4, minmax(170px, 1fr)) !important;
  gap: 16px !important;
  margin: 0 0 22px !important;
}

.rc-publications-page .rc-publication-stats article{
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 14px !important;
  min-height: 150px !important;
  padding: 20px !important;
  border: 1px solid #dbe6ef !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: 0 14px 32px rgba(15, 35, 75, 0.07) !important;
}

.rc-publications-page .rc-publication-stats article > span{
  display: grid !important;
  width: 44px !important;
  height: 44px !important;
  place-items: center !important;
  border-radius: 8px !important;
  font-size: 20px !important;
}

.rc-publications-page .rc-publication-stats article > div{
  display: grid !important;
  gap: 7px !important;
  min-width: 0 !important;
}

.rc-publications-page .rc-publication-stats strong,
.rc-publications-page .rc-publication-stats b,
.rc-publications-page .rc-publication-stats small{
  display: block !important;
  margin: 0 !important;
}

.rc-publications-page .rc-publication-stats strong{
  color: #071a58 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

.rc-publications-page .rc-publication-stats b{
  color: #071a58 !important;
  font-size: 32px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.rc-publications-page .rc-publication-stats small{
  color: #5d6e89 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.rc-publications-page .rc-publication-stats button{
  width: fit-content !important;
  min-height: 36px !important;
  margin-top: 8px !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  white-space: normal !important;
}

.rc-publications-page .rc-publication-card{
  display: grid !important;
  grid-template-columns: 52px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 24px !important;
}

.rc-publications-page .rc-publication-card > div{
  min-width: 0 !important;
}

.rc-publications-page .rc-publication-card h2{
  margin: 10px 0 8px !important;
  color: #182033 !important;
  font-size: 18px !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
}

.rc-publications-page .rc-publication-card p{
  margin: 0 0 10px !important;
  color: #33456a !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

.rc-publications-page .rc-publication-card small{
  display: inline-flex !important;
  width: fit-content !important;
  padding: 7px 10px !important;
  border-radius: 8px !important;
  background: #eef4ff !important;
  color: #0b4de8 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.rc-publications-page .rc-publication-card .rc-request-actions{
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  gap: 10px !important;
}

.rc-publications-page .rc-publication-empty{
  background: #f8fbff !important;
}

@media (max-width: 1180px) {
  .rc-publications-page .rc-publication-stats{
    grid-template-columns: repeat(2, minmax(170px, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  .rc-publications-page .rc-publication-stats,
.rc-publications-page .rc-publication-card{
    grid-template-columns: 1fr !important;
  }

  .rc-publications-page .rc-publication-card .rc-request-actions{
    justify-content: flex-start !important;
  }
}
.rc-experts-page{
  background:
    radial-gradient(circle at 8% 6%, rgba(23, 23, 23, 0.11), transparent 24%),
    radial-gradient(circle at 90% 2%, rgba(23, 23, 23, 0.08), transparent 26%),
    linear-gradient(180deg, #f8fbfc 0%, #eef5f7 100%);
}

.rc-expert-category-strip{
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.rc-expert-category-strip a{
  display: grid;
  gap: 5px;
  min-height: 92px;
  padding: 16px;
  border: 1px solid #d8e8ec;
  border-radius: 14px;
  background: #ffffff;
  color: #171717 !important;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(5, 64, 61, 0.07);
}

.rc-expert-category-strip a span{
  color: #000000;
  font-size: 16px;
  font-weight: 900;
}

.rc-expert-category-strip a strong{
  color: #526287;
  font-size: 12px;
  line-height: 1.35;
}

.rc-expert-category-strip a.active,
.rc-expert-category-strip a:hover{
  border-color: #171717;
  background: #f0f0ed;
}

.rc-experts-sections{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.rc-experts-feature,
.rc-experts-demo{
  padding: 20px;
  border: 1px solid #d8e8ec;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(5, 64, 61, 0.07);
}

.rc-experts-feature h2,
.rc-experts-demo h2{
  margin: 0 0 6px;
  color: #171717;
  font-size: 22px;
  line-height: 1.2;
}

.rc-experts-feature p,
.rc-experts-demo p{
  margin: 0;
  color: #526287;
  font-weight: 700;
}

.rc-expert-card--rich{
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  min-height: 100%;
  padding: 22px;
  border: 1px solid #d8e8ec;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(5, 64, 61, 0.09);
}

.rc-expert-card--rich:hover{
  border-color: #171717;
  transform: translateY(-2px);
}

.rc-expert-card--rich .rc-expert-photo{
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #eef5f7;
  background: #e9f1f4;
}

.rc-expert-photo--initials{
  display: grid;
  place-items: center;
  color: #000000;
  font-size: 26px;
  font-weight: 900;
}

.rc-expert-card--rich .rc-expert-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rc-expert-card--rich h3{
  margin: 0 110px 5px 0;
  color: #171717;
  font-size: 24px;
  line-height: 1.2;
}

.rc-expert-card--rich .rc-expert-position,
.rc-expert-card--rich .rc-expert-institution{
  color: #34425b;
  font-size: 14px;
  font-weight: 800;
}

.rc-expert-category-list,
.rc-expert-badges,
.rc-expert-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.rc-expert-category-list span,
.rc-expert-badge,
.rc-expert-field{
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.rc-expert-category-list span{
  background: #171717;
  color: #ffffff;
}

.rc-expert-badge{
  background: #f0f0ed;
  color: #171717;
}

.rc-expert-field{
  background: #f0f0ed;
  color: #000000;
}

.rc-expert-card--rich .rc-expert-stats{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.rc-expert-card--rich .rc-expert-stats span{
  padding: 12px;
  border-radius: 12px;
  background: #f7fafb;
  color: #526287;
  font-size: 12px;
  font-weight: 800;
}

.rc-expert-card--rich .rc-expert-stats strong{
  display: block;
  color: #171717;
  font-size: 20px;
}

.rc-expert-availability{
  margin-top: 14px;
  color: #000000;
  font-weight: 900;
}

.rc-expert-card--rich .rc-expert-actions{
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.rc-experts-demo{
  display: grid;
  gap: 18px;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.86);
}

.rc-experts-grid--examples{
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
}

@media (max-width: 1100px) {
  .rc-expert-category-strip{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .rc-experts-sections,
.rc-expert-category-strip{
    grid-template-columns: 1fr;
  }

  .rc-expert-card--rich{
    grid-template-columns: 1fr;
  }

  .rc-expert-card--rich h3{
    margin-right: 0;
  }

  .rc-expert-card--rich .rc-expert-stats{
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   Philosopher’s Hub minimal black and white theme.
   Keep this final so it gently overrides the earlier black-and-white/black styling.
===================================================== */
:root{
  --rc-bg: #f5f5f2;
  --rc-card: #ffffff;
  --rc-text: #171717;
  --rc-muted: #6f6f6a;
  --rc-border: #deded8;
  --rc-line: #e7e7e2;
  --rc-brand: #171717;
  --rc-brand-dark: #000000;
  --rc-link: #171717;
  --rc-black: #171717;
  --rc-black-soft: #f0f0ed;
  --rc-black: #171717;
  --rc-black-soft: #f0f0ed;
  --rc-purple: #171717;
  --rc-purple-soft: #f0f0ed;
  --rc-orange: #171717;
  --rc-orange-soft: #f0f0ed;
  --rc-red-soft: #f0f0ed;
  --rc-red: #171717;
  --rc-ink: #171717;
  --rc-radius: 12px;
  --rc-shadow: none;
  --rc-shadow-hover: none;
}

html,
body{
  background: #f5f5f2 !important;
  color: #171717 !important;
}

body,
input,
select,
textarea,
button{
  color: #171717;
}

a{
  color: #171717 !important;
}

.rc-topbar,
.rc-side-rail,
.rc-side-menu,
.rc-content .block,
.rc-content article,
.rc-content .node,
.rc-content form,
.rc-workspace-page,
.rc-workspace-head,
.rc-side-card,
.rc-conversation-panel,
.rc-chat-list-panel,
.rc-contact-panel section,
.rc-request-card,
.rc-notification-item,
.rc-equipment-card,
.rc-news-card,
.rc-saved-card,
.rc-publication-card,
.rc-dashboard-card,
.rc-experts-hero,
.rc-experts-controls,
.rc-experts-feature,
.rc-experts-demo,
.rc-active-detail-card,
.rc-add-menu,
.rc-user-menu,
.rc-alert-menu{
  background: #ffffff !important;
  border-color: #deded8 !important;
  box-shadow: none !important;
}

.rc-site,
.rc-layout,
.rc-content,
.rc-dashboard-app,
.rc-workspace-page,
.rc-experts-page,
.rc-saved-page,
.rc-search-results-page,
.rc-publication-view-page{
  background: transparent !important;
}

.rc-logo,
.rc-topbar a,
.rc-main-menu a,
.rc-side-menu a,
.rc-user-menu a,
.rc-add-column a,
.rc-workspace-head h1,
.rc-workspace-head p,
.rc-experts-hero h1,
.rc-experts-hero p,
.rc-equipment-title,
.rc-event-title,
.rc-request-card h2,
.rc-notification-item strong,
.rc-side-card h2,
.rc-active-detail-card h3{
  color: #171717 !important;
}

.rc-workspace-head p,
.rc-thread small,
.rc-notification-item p,
.rc-request-card p,
.rc-side-card p,
.rc-expert-institution,
.rc-expert-position,
.rc-publication-view-head p,
.rc-experts-feature p,
.rc-experts-demo p{
  color: #6f6f6a !important;
}

button,
.button,
input[type="submit"],
.rc-primary-action,
.rc-text-action,
.rc-icon-action,
.rc-add-new,
.rc-invite-expert,
.rc-request-actions button,
.rc-request-actions a,
.rc-request-detail-actions button,
.rc-message-compose button,
.rc-card-link,
.rc-shared-item,
.rc-filter-list button,
.rc-workspace-tabs button{
  border-color: #d7d7d1 !important;
  background: #ffffff !important;
  color: #171717 !important;
  box-shadow: none !important;
  border-radius: 10px !important;
}

button:hover,
.button:hover,
input[type="submit"]:hover,
.rc-primary-action:hover,
.rc-text-action:hover,
.rc-icon-action:hover,
.rc-add-new:hover,
.rc-invite-expert:hover,
.rc-request-actions button:hover,
.rc-request-actions a:hover,
.rc-message-compose button:hover,
.rc-card-link:hover,
.rc-shared-item:hover,
.rc-filter-list button:hover,
.rc-workspace-tabs button:hover{
  background: #f0f0ed !important;
  color: #000000 !important;
  text-decoration: none !important;
}

.rc-primary-action,
.rc-add-new,
.rc-invite-expert,
.rc-message-compose button[type="submit"],
.rc-request-detail-actions button:first-child,
.rc-request-actions button:nth-of-type(1),
.rc-workspace-tabs button.is-active,
.rc-filter-list button.is-active,
.rc-side-menu a.active,
.rc-thread.is-active,
.rc-thread:hover{
  background: #171717 !important;
  border-color: #171717 !important;
  color: #ffffff !important;
}

.rc-primary-action *,
.rc-add-new *,
.rc-invite-expert *,
.rc-workspace-tabs button.is-active *,
.rc-filter-list button.is-active *,
.rc-side-menu a.active *,
.rc-thread.is-active *{
  color: #ffffff !important;
}

.rc-site .rc-main-menu a.active{
  position: relative !important;
  border-color: transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #111111 !important;
  box-shadow: none !important;
}

.rc-site .rc-main-menu a.active::after{
  content: "" !important;
  position: absolute !important;
  right: 10px !important;
  bottom: -9px !important;
  left: 10px !important;
  height: 2px !important;
  background: #111111 !important;
}

.rc-site .rc-main-menu a.active *{
  color: #111111 !important;
}

input,
select,
textarea,
.rc-workspace-search,
.rc-workspace-select,
.rc-message-compose,
.rc-search input,
.rc-experts-fallback-search :is(input,
select),
.rc-add-user-control,
.rc-add-user-control select{
  background: #ffffff !important;
  border-color: #d7d7d1 !important;
  color: #171717 !important;
  box-shadow: none !important;
}

input:focus,
select:focus,
textarea:focus,
.rc-workspace-search:focus-within,
.rc-message-compose:focus-within{
  outline: none !important;
  border-color: #171717 !important;
  box-shadow: 0 0 0 3px rgba(23, 23, 23, 0.08) !important;
}

.rc-status,
.rc-expert-badge,
.rc-expert-field,
.rc-expert-category-list span,
.rc-participant-chip,
.rc-participants-card [data-rc-participant-list] span,
.rc-notification-item span:not(.rc-note-icon):not(.rc-status),
.rc-request-card small,
.rc-active-detail-card small,
.rc-active-detail-card > span:not(.rc-status),
.rc-thread b,
.rc-conversation-head h2 span,
.rc-contact-card span{
  background: #f0f0ed !important;
  color: #171717 !important;
  border-color: #deded8 !important;
}

.rc-note-icon,
.rc-request-icon,
.rc-thread-icon,
.rc-loop-card > span,
.rc-saved-stat-icon,
.rc-search-result-icon{
  background: #f0f0ed !important;
  color: #171717 !important;
  border-radius: 10px !important;
}

.rc-bubble,
.rc-bubble-in,
.rc-bubble-out,
.rc-chat-notice{
  background: #f7f7f4 !important;
  border: 1px solid #deded8 !important;
  color: #171717 !important;
  box-shadow: none !important;
}

.rc-chat-date::before,
.rc-chat-date::after,
.rc-end-line::before,
.rc-end-line::after,
.rc-menu-divider{
  background: #deded8 !important;
}
.rc-expert-photo img,
.rc-thread img,
.rc-conversation-head img,
.rc-contact-card img,
.rc-notification-item img,
.rc-request-card img,
.rc-user-button img,
.rc-user-menu-avatar img{
  border-color: #ffffff !important;
  filter: grayscale(100%);
}

.rc-request-card:hover,
.rc-notification-item:hover,
.rc-equipment-card:hover,
.rc-news-card:hover,
.rc-saved-card:hover{
  border-color: #171717 !important;
  box-shadow: none !important;
  transform: none !important;
}

.rc-side-tab,
.rc-rail-button,
.rc-dashboard-app .rc-app-icon,
.rc-alert-button,
.rc-user-button{
  background: #ffffff !important;
  border-color: #deded8 !important;
  color: #171717 !important;
  box-shadow: none !important;
}

.rc-side-tab:hover,
.rc-rail-button:hover,
.rc-alert-button:hover,
.rc-user-button:hover{
  background: #f0f0ed !important;
}

.rc-content .rc-publication-view-page,
.rc-publication-view-page,
.rc-content .rc-workspace-page,
.rc-workspace-page{
  width: min(1460px, calc(100% - 56px)) !important;
}

@media (max-width: 720px) {
  .rc-content .rc-publication-view-page,
.rc-publication-view-page,
.rc-content .rc-workspace-page,
.rc-workspace-page{
    width: min(100% - 28px, 1460px) !important;
  }
}

/* Profile readability guard: keep names,
affiliations,
.rc-booking-side-panel{
  padding: 18px !important;
  border: 1px solid #deded8 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
}

.rc-booking-calendar-controls{
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) 44px !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 14px !important;
}

.rc-booking-calendar-controls strong{
  text-align: center !important;
  color: #171717 !important;
  font-size: 20px !important;
  font-weight: 900 !important;
}

.rc-booking-calendar-controls button{
  height: 40px !important;
  border: 1px solid #deded8 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #171717 !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

.rc-booking-calendar-grid{
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.rc-booking-calendar-grid button,
.rc-booking-calendar-grid span{
  min-height: 56px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.rc-booking-calendar-grid button{
  border: 1px solid #deded8 !important;
  background: #ffffff !important;
  color: #171717 !important;
  cursor: pointer !important;
}

.rc-booking-day-name{
  min-height: 28px !important;
  color: #6f6f6a !important;
}

.rc-booking-empty{
  background: transparent !important;
}

.rc-booking-calendar-grid button.is-selected{
  border-color: #171717 !important;
  background: #171717 !important;
  color: #ffffff !important;
}

.rc-booking-calendar-grid button.is-booked{
  border-color: #1463ff !important;
  background: #eaf1ff !important;
}

.rc-booking-calendar-grid button.is-pending{
  border-color: #b98500 !important;
  background: #fff7dd !important;
}

.rc-booking-calendar-grid button.is-unavailable,
.rc-booking-calendar-grid button:disabled{
  opacity: 0.38 !important;
  cursor: not-allowed !important;
}

.rc-booking-selection-summary{
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-top: 14px !important;
  padding: 12px !important;
  border-radius: 8px !important;
  background: #f7f7f4 !important;
}

.rc-booking-selection-summary strong,
.rc-booking-side-panel h4{
  color: #171717 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

.rc-booking-selection-summary span{
  color: #6f6f6a !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.rc-booking-legend{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 14px !important;
}

.rc-booking-legend span{
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #6f6f6a !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.rc-booking-legend i{
  width: 12px !important;
  height: 12px !important;
  border-radius: 4px !important;
  background: #deded8 !important;
}

.rc-booking-legend .is-selected{ background: #171717 !important; }
.rc-booking-legend .is-booked{ background: #1463ff !important; }
.rc-booking-legend .is-pending{ background: #b98500 !important; }
.rc-booking-legend .is-unavailable{ background: #deded8 !important; }

.rc-booking-actions{
  display: flex !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  margin-top: 18px !important;
}

.rc-booking-cancel,
.rc-booking-book{
  min-height: 44px !important;
  padding: 0 18px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

.rc-booking-cancel{
  border: 1.5px solid #deded8 !important;
  background: #ffffff !important;
  color: #171717 !important;
}

.rc-booking-book{
  border: 1.5px solid #171717 !important;
  background: #171717 !important;
  color: #ffffff !important;
}

.rc-booking-list{
  display: grid !important;
  gap: 10px !important;
}

.rc-booking-list-item{
  display: grid !important;
  gap: 10px !important;
  padding: 12px !important;
  border: 1px solid #deded8 !important;
  border-left: 4px solid #b98500 !important;
  border-radius: 9px !important;
  background: #ffffff !important;
}

.rc-booking-list-item.is-confirmed{
  border-left-color: #1463ff !important;
}

.rc-booking-list-item.is-cancelled{
  opacity: 0.62 !important;
}

.rc-booking-list-item span{
  display: inline-flex !important;
  width: max-content !important;
  padding: 4px 8px !important;
  border-radius: 999px !important;
  background: #f0f0ed !important;
  color: #171717 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}

.rc-booking-list-item strong{
  display: block !important;
  margin-top: 7px !important;
  color: #171717 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

.rc-booking-list-item small,
plain text inside{
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  margin-top: 12px !important;
}

/* EOF expert row layout: square image left,
details beside it{
  grid-template-columns: 96px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 18px !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 14px 18px 16px !important;
}

/* Default avatar for users who have not uploaded a profile picture. */
.rc-default-avatar{
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  border-radius: inherit !important;
  background: #eeeeeb !important;
  overflow: hidden !important;
}

.rc-default-avatar::before{
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 24% !important;
  width: 32% !important;
  aspect-ratio: 1 !important;
  transform: translateX(-50%) !important;
  border-radius: 50% !important;
  background: #b8b8b3 !important;
}

.rc-default-avatar::after{
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  bottom: 10% !important;
  width: 70% !important;
  height: 42% !important;
  transform: translateX(-50%) !important;
  border-radius: 999px 999px 12px 12px !important;
  background: #b8b8b3 !important;
}

/* Final custom search overrides. Keep after the broad theme palette overrides. */
.rc-main-menu a:not(.active){
  background: transparent !important;
  border-color: transparent !important;
  color: #171717 !important;
}

.rc-main-menu a:not(.active):hover,
.rc-main-menu a:not(.active):focus-visible{
  background: #f0f0ed !important;
  border-color: #deded8 !important;
  color: #171717 !important;
}

.rc-search,
.rc-search-results-form{
  position: relative !important;
}

.rc-search-suggestions{
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  z-index: 80 !important;
  width: min(430px, 100%) !important;
  overflow: hidden !important;
  display: none;
  border: 1px solid #d7d7d1 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  box-shadow: 0 18px 38px rgba(23, 23, 23, 0.14) !important;
}

.rc-search-results-form .rc-search-suggestions{
  width: min(520px, 100%) !important;
}

.rc-search.is-suggesting .rc-search-suggestions,
.rc-search-results-form.is-suggesting .rc-search-suggestions{
  display: block !important;
}

.rc-search-suggestions a{
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 48px !important;
  padding: 0 16px !important;
  border-bottom: 1px solid #ededeb !important;
  background: #ffffff !important;
  color: #171717 !important;
  font-size: 14px !important;
  text-decoration: none !important;
}

.rc-search-suggestions a:last-child{
  border-bottom: 0 !important;
}

.rc-search-suggestions a::before{
  content: ">";
  color: #6f6f6a;
}

.rc-search-suggestions a:hover,
.rc-search-suggestions a:focus-visible{
  background: #f5f5f2 !important;
}

.rc-search-suggestions span{
  color: #6f6f6a !important;
}

.rc-search-suggestions strong{
  color: #171717 !important;
  font-weight: 900 !important;
}

.rc-search-results-page{
  width: min(100% - 48px, 1440px) !important;
  max-width: none !important;
  margin: 30px auto 70px !important;
  padding: 0 !important;
}

.rc-search-results-header{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px) !important;
  align-items: end !important;
  gap: 34px !important;
  padding: 38px !important;
  border: 1px solid #deded8 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
}

.rc-search-results-header h1{
  margin: 0 0 10px !important;
  font-size: clamp(34px, 5vw, 64px) !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

.rc-search-results-header p{
  font-size: 18px !important;
  color: #52524d !important;
}

.rc-search-results-form{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 10px !important;
  padding: 14px !important;
  border: 1px solid #deded8 !important;
  border-radius: 12px !important;
  background: #f8f8f5 !important;
}

.rc-search-results-form input{
  height: 52px !important;
  border-radius: 8px !important;
  font-size: 16px !important;
}

.rc-search-results-form button,
.rc-search-result-action a{
  background: #171717 !important;
  border-color: #171717 !important;
  color: #ffffff !important;
}

.rc-search-summary-row{
  margin: 22px 0 28px !important;
}

.rc-search-summary-row a{
  border-radius: 8px !important;
  background: #ffffff !important;
}

.rc-search-results-layout--wide,
.rc-search-main{
  width: 100% !important;
}

.rc-search-group{
  margin-bottom: 42px !important;
}

.rc-search-group-heading{
  align-items: center !important;
  padding: 0 2px 12px !important;
  border-bottom: 1px solid #deded8 !important;
}

.rc-search-group-heading h2{
  font-size: 32px !important;
}

.rc-search-list{
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 16px !important;
  margin-top: 18px !important;
}

.rc-search-result-card{
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 16px !important;
  min-height: 100% !important;
  padding: 20px !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

.rc-search-result-icon{
  width: 52px !important;
  height: 52px !important;
  font-size: 24px !important;
}

.rc-search-result-content h3{
  font-size: 22px !important;
  line-height: 1.18 !important;
}

.rc-search-result-content p{
  font-size: 15px !important;
  line-height: 1.55 !important;
}

.rc-search-result-action{
  grid-column: 2 !important;
}

.rc-search-result-action a{
  min-width: 0 !important;
  width: fit-content !important;
  height: 42px !important;
  border-radius: 8px !important;
}

@media (max-width: 900px) {
  .rc-search-results-page{
    width: min(100% - 28px, 1440px) !important;
  }

  .rc-search-results-header,
.rc-search-results-form{
    grid-template-columns: 1fr !important;
  }

  .rc-search-results-header{
    padding: 24px !important;
  }

  .rc-search-suggestions,
.rc-search-results-form .rc-search-suggestions{
    width: 100% !important;
  }
}

/* Final public-page palette override. Keep anonymous pages black and white. */
body:not(.user-logged-in),
body:not(.user-logged-in) .rc-site,
body:not(.user-logged-in) .rc-content{
  background: #f7f7f4 !important;
}

body:not(.user-logged-in) .rc-topbar{
  background: #ffffff !important;
  border-bottom-color: #deded8 !important;
  box-shadow: none !important;
}

body:not(.user-logged-in) .rc-logo,
body:not(.user-logged-in) .rc-public-home h1,
body:not(.user-logged-in) .rc-public-home h2,
body:not(.user-logged-in) .rc-public-benefits h2{
  color: #171717 !important;
}

body:not(.user-logged-in) .rc-public-home p,
body:not(.user-logged-in) .rc-public-benefits p,
body:not(.user-logged-in) .rc-slide-content p{
  color: #3f3f3a !important;
}

body:not(.user-logged-in) .rc-user-auth-links a{
  border-color: #171717 !important;
  background: #ffffff !important;
  color: #171717 !important;
  box-shadow: none !important;
}

body:not(.user-logged-in) .rc-user-auth-links a:last-child,
body:not(.user-logged-in) .rc-primary-btn,
body:not(.user-logged-in) .rc-slide-content .rc-primary-btn{
  border-color: #171717 !important;
  background: #171717 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

body:not(.user-logged-in) .rc-user-auth-links a:last-child:visited,
body:not(.user-logged-in) .rc-primary-btn:visited,
body:not(.user-logged-in) .rc-slide-content .rc-primary-btn:visited{
  color: #ffffff !important;
}

body:not(.user-logged-in) .rc-slide-overlay,
body:not(.user-logged-in) .rc-public-home .rc-slide-overlay{
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.22)) !important;
}

body:not(.user-logged-in) .rc-slider-prev,
body:not(.user-logged-in) .rc-slider-next,
body:not(.user-logged-in) .rc-slider-dots span.active{
  background: #171717 !important;
  color: #ffffff !important;
}

body:not(.user-logged-in) .rc-slider-dots span{
  background: #a3a3a0 !important;
}

body:not(.user-logged-in) .rc-public-benefit-icon,
body:not(.user-logged-in) .rc-public-benefits span{
  border-color: #deded8 !important;
  background: #f1f1ef !important;
  color: #171717 !important;
}

body:not(.user-logged-in) .rc-public-benefit-icon svg,
body:not(.user-logged-in) .rc-public-benefits svg{
  stroke: #171717 !important;
}
.rc-labs-page{
  position: relative;
}

.rc-labs-page .rc-booking-main{
  min-width: 0;
}

.rc-lab-directory-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  padding: 18px;
}

.rc-labs-view-grid .views-row{
  display: contents;
}

.rc-lab-card{
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  min-height: 164px;
  padding: 14px;
  border: 1px solid rgba(20, 24, 31, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(20, 24, 31, 0.04);
}

.rc-lab-card__media{
  display: block;
  overflow: hidden;
  width: 116px;
  min-height: 136px;
  border-radius: 8px;
  background: #f1f5f4;
}

.rc-lab-card__media img{
  display: block;
  width: 100%;
  height: 100%;
  min-height: 136px;
  object-fit: cover;
}

.rc-lab-card__body{
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.rc-lab-card__eyebrow{
  width: fit-content;
  padding: 5px 8px;
  border-radius: 6px;
  background: #edf4f2;
  color: #24433d;
  font-size: 12px;
  font-weight: 800;
}

.rc-lab-card h2{
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.rc-lab-card h2 a{
  color: #15171a;
  text-decoration: none;
}

.rc-lab-card h2 a:hover{
  text-decoration: underline;
}

.rc-lab-card__meta{
  display: grid;
  gap: 6px;
  color: #4d5660;
  font-size: 13px;
  line-height: 1.35;
}

.rc-lab-card__meta span{
  display: grid;
  gap: 2px;
}

.rc-lab-card__meta strong{
  color: #15171a;
  font-size: 11px;
  text-transform: uppercase;
}

.rc-lab-card p{
  margin: 0;
  color: #515a64;
  font-size: 14px;
  line-height: 1.45;
}

.rc-lab-card small{
  margin-top: auto;
  color: #2f373f;
  font-weight: 800;
}

.rc-lab-card__actions{
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
}

.rc-lab-card__actions a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(20, 24, 31, 0.16);
  border-radius: 8px;
  color: #15171a;
  font-weight: 800;
  text-decoration: none;
}

.rc-lab-card__actions a:hover{
  border-color: rgba(20, 24, 31, 0.32);
  background: #f6f7f8;
}

.rc-lab-equipment-detail-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.rc-lab-equipment-detail-grid .rc-request-card{
  min-height: 0;
}

.path-researchconnect-equipment .region-breadcrumb,
.path-equipments-list .region-breadcrumb,
.path-events .region-breadcrumb,
.path-researchconnect-equipment .breadcrumb,
.path-equipments-list .breadcrumb,
.path-events .breadcrumb{
  display: none !important;
}

.path-researchconnect-equipment .rc-system,
.path-equipments-list .rc-system,
.path-events .rc-system {
  display: block !important;
}
.rc-events-directory-head{
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  width: 100% !important;
  margin: 0 0 28px !important;
  padding: 28px 32px !important;
  border: 1px solid rgba(20, 24, 31, 0.12) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 1px 2px rgba(20, 24, 31, 0.04) !important;
}
.rc-events-directory-head h1{
  margin: 0 !important;
  color: #15171a !important;
  font-size: clamp(32px, 4vw, 48px) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.rc-events-page{
  width: min(100% - 48px, 1200px) !important;
  margin: 24px auto 70px !important;
}

.rc-events-page > .contextual-region,
.rc-events-page > .view,
.rc-events-page > div:not(.rc-contextual-links-wrapper):not(.rc-events-directory-head){
  width: 100% !important;
}

@media (max-width: 720px) {
  .rc-lab-directory-grid{
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .rc-lab-card{
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .rc-lab-card__media{
    width: 92px;
    min-height: 116px;
  }

  .rc-lab-card__media img{
    min-height: 116px;
  }
  .rc-events-directory-head{
    align-items: flex-start !important;
    flex-direction: column !important;
    padding: 22px !important;
  }
}

/* ── Invite expert modal ─────────────────────────────────────────────────── */
.rc-invite-expert-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rc-invite-expert-modal[hidden]{
  display: none;
}

.rc-invite-expert-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 40, 0.45);
  backdrop-filter: blur(2px);
}

.rc-invite-expert-modal__box{
  position: relative;
  z-index: 1;
  width: min(460px, calc(100vw - 32px));
  padding: 36px 32px 32px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(10, 20, 40, 0.2);
}

.rc-invite-expert-modal__close{
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  font-size: 22px;
  color: #6f6f6a;
  cursor: pointer;
  line-height: 1;
}

.rc-invite-expert-modal__close:hover{
  color: #171717;
}

.rc-invite-expert-modal__box h2{
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 900;
  color: #171717;
}

.rc-invite-expert-modal__box p{
  margin: 0 0 20px;
  color: #6f6f6a;
  font-size: 14px;
  line-height: 1.55;
}

.rc-invite-expert-form label{
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 800;
  color: #171717;
}

.rc-invite-expert-form input[type="email"]{
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1.5px solid #deded8;
  border-radius: 8px;
  background: #ffffff;
  font-size: 14px;
  color: #171717;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.15s;
}

.rc-invite-expert-form input[type="email"]:focus{
  border-color: #171717;
}

.rc-invite-expert-form__actions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.rc-invite-expert-form__submit,
.rc-invite-expert-form__cancel{
  height: 46px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  border: 1.5px solid #171717;
  transition: background 0.15s, color 0.15s;
}

.rc-invite-expert-form__submit{
  background: #171717;
  color: #ffffff;
}

.rc-invite-expert-form__submit:hover{
  background: #000000;
}

.rc-invite-expert-form__cancel{
  background: #ffffff;
  color: #171717;
}

.rc-invite-expert-form__cancel:hover{
  background: #f0f0ed;
}

/* Lab homepage detail template */
.rc-lab-home-page{
  width: min(100% - 48px, 1500px);
  margin: 20px auto 48px;
  color: #101827;
}

.rc-lab-home-breadcrumb{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.rc-lab-home-breadcrumb a{
  color: #0f172a;
  text-decoration: none;
}

.rc-lab-home-hero{
  position: relative;
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 680px);
  align-items: end;
  gap: 28px;
  padding: 52px 34px 28px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background:
    linear-gradient(90deg, rgba(7, 27, 54, 0.96) 0%, rgba(7, 27, 54, 0.82) 42%, rgba(7, 27, 54, 0.15) 100%),
    url("../images/default-lab.png") center / cover no-repeat;
  color: #fff;
}

.rc-lab-home-hero:after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 18, 31, 0.18), rgba(9, 18, 31, 0.34));
  pointer-events: none;
}

.rc-lab-home-hero__copy,
.rc-lab-home-stats{
  position: relative;
  z-index: 1;
}

.rc-lab-home-hero h1{
  max-width: 720px;
  margin: 0 0 12px;
  color: #fff;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 950;
}

.rc-lab-home-hero p{
  max-width: 720px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 750;
}

.rc-lab-home-hero__partners{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
}

.rc-lab-home-hero__partners span,
.rc-lab-collab-logos span{
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  font-size: 12px;
  font-weight: 900;
}

.rc-lab-home-hero__partners strong,
.rc-lab-collab-logos strong{
  font-size: 24px;
  line-height: 1;
}

.rc-lab-home-hero__summary{
  margin-bottom: 0 !important;
  font-size: 14px !important;
}

.rc-lab-home-stats{
  align-self: end;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
}

.rc-lab-home-stats div{
  display: grid;
  gap: 4px;
  min-width: 0;
  padding-left: 13px;
  border-left: 3px solid #1463ff;
}

.rc-lab-home-stats span{
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
}

.rc-lab-home-stats strong{
  color: #0f172a;
  font-size: 22px;
  font-weight: 950;
}

.rc-lab-home-tabs{
  display: flex;
  gap: 22px;
  min-height: 64px;
  padding: 0 26px;
  border: 1px solid #e5e7eb;
  border-top: 0;
  background: #fff;
  overflow-x: auto;
}

.rc-lab-home-tabs a{
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.rc-lab-home-tabs a.active,
.rc-lab-home-tabs a:hover{
  color: #1463ff;
}

.rc-lab-home-tabs a.active:after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: #1463ff;
}

.rc-lab-home-layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 22px;
  padding-top: 0;
}

.rc-lab-home-main,
.rc-lab-home-side{
  display: grid;
  align-content: start;
  gap: 22px;
}

.rc-lab-home-card{
  padding: 24px;
  border: 1px solid #e3e6eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

.rc-lab-home-card h2{
  margin: 0 0 14px;
  color: #101827;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 950;
}

.rc-lab-home-card h3{
  margin: 18px 0 10px;
  color: #101827;
  font-size: 15px;
  font-weight: 950;
}

.rc-lab-home-card p{
  margin: 0 0 14px;
  color: #253044;
  font-size: 14px;
  line-height: 1.65;
}

.rc-lab-home-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.rc-lab-home-tags span{
  padding: 7px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 11px;
  font-weight: 950;
}

.rc-lab-home-image-strip{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  overflow: hidden;
  border-radius: 9px;
}

.rc-lab-home-image-strip img,
.rc-lab-facilities-card img,
.rc-lab-activity-grid img,
.rc-lab-equipment-strip img{
  width: 100%;
  display: block;
  object-fit: cover;
}

.rc-lab-home-image-strip img{
  height: 124px;
}

.rc-lab-focus-grid{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.rc-lab-focus-grid div{
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 14px 8px;
  text-align: center;
}

.rc-lab-focus-grid span{
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1.5px solid #1463ff;
  border-radius: 999px;
  color: #1463ff;
  font-size: 12px;
  font-weight: 950;
}

.rc-lab-focus-grid strong{
  color: #0f172a;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 950;
}

.rc-lab-team-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rc-lab-team-grid--managers{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rc-lab-team-grid article,
.rc-lab-directors-card article{
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  background: #fff;
}

.rc-lab-team-grid span,
.rc-lab-directors-card article span{
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #eaf1ff;
  color: #1155d9;
  font-size: 14px;
  font-weight: 950;
}

.rc-lab-team-grid strong,
.rc-lab-directors-card strong{
  display: block;
  color: #101827;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 950;
}

.rc-lab-team-grid small,
.rc-lab-directors-card small{
  display: block;
  margin-top: 3px;
  color: #475569;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 750;
}

.rc-lab-home-outline-btn,
.rc-lab-equipment-strip a,
.rc-lab-empty-panel a,
.rc-lab-home-section-head a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border: 1.5px solid #1463ff;
  border-radius: 8px;
  background: #fff;
  color: #1463ff;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.rc-lab-home-outline-btn{
  margin: 18px auto 0;
}

.rc-lab-home-section-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.rc-lab-home-section-head h2{
  margin: 0;
}

.rc-lab-equipment-strip{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.rc-lab-equipment-strip article,
.rc-lab-activity-grid article{
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  background: #fff;
}

.rc-lab-equipment-strip img{
  height: 118px;
}

.rc-lab-equipment-strip strong,
.rc-lab-equipment-strip small,
.rc-lab-equipment-strip a{
  margin-left: 10px;
  margin-right: 10px;
}

.rc-lab-equipment-strip strong{
  display: block;
  margin-top: 10px;
  color: #101827;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 950;
}

.rc-lab-equipment-strip small{
  display: block;
  min-height: 34px;
  margin-top: 5px;
  color: #475569;
  font-size: 10px;
  line-height: 1.35;
  font-weight: 750;
}

.rc-lab-equipment-strip a{
  width: calc(100% - 20px);
  min-height: 32px;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 0 10px;
}

.rc-lab-empty-panel{
  padding: 22px;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
}

.rc-lab-empty-panel strong{
  display: block;
  color: #0f172a;
  font-size: 16px;
}

.rc-lab-empty-panel a{
  margin-top: 8px;
}

.rc-lab-activity-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rc-lab-activity-grid img{
  height: 138px;
}

.rc-lab-activity-grid span,
.rc-lab-activity-grid strong,
.rc-lab-activity-grid small{
  display: block;
  margin-left: 12px;
  margin-right: 12px;
}

.rc-lab-activity-grid span{
  margin-top: 10px;
  color: #1463ff;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.rc-lab-activity-grid strong{
  margin-top: 5px;
  color: #0f172a;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 950;
}

.rc-lab-activity-grid small{
  margin-top: 6px;
  margin-bottom: 14px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.rc-lab-directors-card{
  display: grid;
  gap: 18px;
}

.rc-lab-directors-card h2{
  margin-bottom: 0;
}

.rc-lab-directors-card article{
  border: 0;
  padding: 0;
}

.rc-lab-directors-card article span{
  width: 82px;
  height: 82px;
  background: #d8dee8;
  color: #0f172a;
}

.rc-lab-directors-card strong{
  font-size: 14px;
}

.rc-lab-quick-links{
  display: grid;
}

.rc-lab-quick-links a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  border-bottom: 1px solid #edf0f4;
  color: #1e293b;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.rc-lab-quick-links a:after{
  content: ">";
  color: #1463ff;
  font-weight: 950;
}

.rc-lab-facilities-card img{
  height: 188px;
  margin-bottom: 14px;
  border-radius: 9px;
}

.rc-lab-facilities-card ul{
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.rc-lab-facilities-card li{
  position: relative;
  padding-left: 18px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.rc-lab-facilities-card li:before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #1463ff;
}

.rc-lab-collab-logos{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 20px 0 6px;
}

.rc-lab-collab-logos span{
  min-height: 58px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  text-align: center;
}

@media (max-width: 1180px) {
  .rc-lab-home-hero,
.rc-lab-home-layout{
    grid-template-columns: 1fr;
  }

  .rc-lab-home-side{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rc-lab-equipment-strip,
.rc-lab-focus-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .rc-lab-home-page{
    width: min(100% - 24px, 1500px);
    margin-top: 12px;
  }

  .rc-lab-home-hero{
    min-height: 0;
    padding: 34px 18px 22px;
  }

  .rc-lab-home-hero h1{
    font-size: 30px;
  }

  .rc-lab-home-stats,
.rc-lab-home-side,
.rc-lab-team-grid,
.rc-lab-team-grid--managers,
.rc-lab-equipment-strip,
.rc-lab-activity-grid,
.rc-lab-focus-grid,
.rc-lab-home-image-strip{
    grid-template-columns: 1fr;
  }

  .rc-lab-home-tabs{
    padding: 0 16px;
  }

  .rc-lab-home-card{
    padding: 18px;
  }
}

/* Registration complete page buttons,
final route-independent styling. */
.rc-registration-complete__actions{
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 14px !important;
  margin: 34px auto 0 !important;
  width: 100% !important;
}



.rc-registration-complete__actions a:last-child,
.rc-registration-complete__button--secondary{
  background: #ffffff !important;
  color: #111111 !important;
}

/* Final override: keep account/settings validation errors visible. */
body.user-logged-in .messages--error,
body.user-logged-in .messages--warning,
body.user-logged-in .messages-list:has(.messages--error),
body.user-logged-in .messages-list:has(.messages--warning),
body.user-logged-in [data-drupal-messages]:has(.messages--error),
body.user-logged-in [data-drupal-messages]:has(.messages--warning),
body.user-logged-in .block-system-messages-block:has(.messages--error),
body.user-logged-in .block-system-messages-block:has(.messages--warning),
body.user-logged-in .region-highlighted:has(.messages--error),
body.user-logged-in .region-highlighted:has(.messages--warning){
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.user-logged-in .messages--error,
body.user-logged-in .messages--warning{
  position: sticky !important;
  top: 92px !important;
  z-index: 10000 !important;
  width: min(100% - 32px, 1120px) !important;
  margin: 16px auto !important;
}

/* Philosopher’s Hub final UI corrections. */
body.path-user:has(.rc-password-setup-form){
  background: #f7f8fb !important;
}

body.path-user:has(.rc-password-setup-form)::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.22);
  backdrop-filter: blur(3px);
  pointer-events: none;
}

body.path-user .rc-content form.user-form.rc-password-setup-form{
  position: relative !important;
  z-index: 60 !important;
  width: min(100% - 32px, 640px) !important;
  max-height: calc(100vh - 150px) !important;
  margin: 44px auto !important;
  overflow: auto !important;
  border: 1px solid #dbe6f8 !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.22) !important;
}

body.path-user-register form.user-register-form .form-actions,
body.path-user-register .user-register-form .form-actions,
.rc-auth-register form.user-register-form .form-actions{
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: 28px auto 0 !important;
  text-align: center !important;
}

body.path-user-register form.user-register-form .form-actions .button,
body.path-user-register form.user-register-form .form-actions input[type="submit"],
.rc-auth-register form.user-register-form .form-actions .button,
.rc-auth-register form.user-register-form .form-actions input[type="submit"]{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 210px !important;
  min-height: 58px !important;
  padding: 16px 28px !important;
  color: #ffffff !important;
  text-align: center !important;
}

.rc-auth-logout form .form-actions,
body.path-user-logout-confirm form .form-actions{
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 18px !important;
}

.rc-auth-logout form .form-actions a,
.rc-auth-logout form .form-actions .button,
.rc-auth-logout form .form-actions input[type="submit"],
body.path-user-logout-confirm form .form-actions a,
body.path-user-logout-confirm form .form-actions .button,
body.path-user-logout-confirm form .form-actions input[type="submit"]{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1 !important;
}

.rc-registration-complete__actions{
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
  margin: 34px auto 0 !important;
  text-align: center !important;
}

.rc-registration-complete__actions a,
.rc-registration-complete__button{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 170px !important;
  min-height: 56px !important;
  padding: 15px 24px !important;
  border: 2px solid #111111 !important;
  border-radius: 8px !important;
  background: #111111 !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  text-align: center !important;
  text-decoration: none !important;
  line-height: 1 !important;
}

.rc-registration-complete__button--secondary,
.rc-registration-complete__actions a:last-child{
  background: #ffffff !important;
  color: #111111 !important;
}
.rc-account-delete-link,
.rc-account-delete-confirm,
.rc-account-cancel-button,
.rc-privacy-actions button{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 10px 18px !important;
  border: 1.5px solid #cfd8e3 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #111827 !important;
  font-weight: 900 !important;
  text-align: center !important;
  text-decoration: none !important;
  line-height: 1 !important;
  box-shadow: none !important;
}
.rc-account-delete-link:hover,
.rc-account-delete-confirm:hover,
.rc-account-cancel-button:hover,
.rc-privacy-actions button:hover{
  border-color: #2563eb !important;
  background: #eef5ff !important;
  color: #0f46d2 !important;
}

.rc-publication-stats{
  position: sticky !important;
  top: 128px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  padding: 20px !important;
}

.rc-publication-list-main{
  display: grid !important;
  gap: 8px !important;
}

.rc-publication-meta{
  color: #64748b !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

.rc-project-collaboration-note{
  display: block !important;
  margin-top: 6px !important;
  color: #2563eb !important;
  font-weight: 800 !important;
}

.rc-settings-layout{
  display: grid !important;
  grid-template-columns: 320px minmax(0, 1fr) !important;
  gap: 36px !important;
  width: min(100% - 48px, 1320px) !important;
  margin: 54px auto !important;
}

.rc-settings-sidebar,
.rc-privacy-panel{
  border: 1px solid #e5e7eb !important;
  background: #ffffff !important;
}

.rc-settings-sidebar a{
  display: flex !important;
  align-items: center !important;
  min-height: 64px !important;
  padding: 0 32px !important;
  border-bottom: 1px solid #e5e7eb !important;
  color: #374151 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.rc-settings-sidebar a.is-active{
  border-left: 4px solid #2563eb !important;
  color: #111827 !important;
  box-shadow: inset 0 -2px 0 #111827 !important;
}

.rc-privacy-settings-form section{
  padding: 28px 0 !important;
  border-bottom: 1px solid #e5e7eb !important;
}

.rc-privacy-settings-form select,
.rc-privacy-settings-form input[type="text"]{
  min-height: 56px !important;
  width: 100% !important;
  border: 0 !important;
  border-bottom: 2px solid #c8ccd2 !important;
  background: #f3f4f6 !important;
  padding: 0 16px !important;
  color: #111827 !important;
  font: inherit !important;
}

.rc-privacy-check{
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.rc-privacy-check input{
  width: 22px !important;
  height: 22px !important;
  accent-color: #2563eb !important;
}

body.path-user-cancel .form-actions a,
body.path-user-cancel .form-actions .button,
body.path-user-cancel .form-actions input[type="submit"],
body.path-user-logout-confirm .form-actions a,
body.path-user-logout-confirm .form-actions .button,
body.path-user-logout-confirm .form-actions input[type="submit"]{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1 !important;
}

@media (max-width: 900px) {
  .rc-settings-layout{
    grid-template-columns: 1fr !important;
  }

  .rc-publication-stats{
    position: static !important;
  }
}

.rc-publication-duplicate-modal{
  position: fixed !important;
  inset: 0 !important;
  z-index: 10000 !important;
  display: grid !important;
  place-items: center !important;
  padding: 24px !important;
  background: rgba(17, 24, 39, 0.48) !important;
}

.rc-publication-duplicate-panel{
  width: min(100%, 620px) !important;
  border: 1px solid #dbe4f0 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  padding: 30px !important;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22) !important;
}

.rc-publication-duplicate-panel h2{
  margin: 0 0 12px !important;
  color: #111827 !important;
  font-size: 30px !important;
  line-height: 1.15 !important;
}

.rc-publication-duplicate-panel > p{
  margin: 0 0 18px !important;
  color: #334155 !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

.rc-publication-duplicate-details{
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  background: #f8fafc !important;
  padding: 16px !important;
}

.rc-publication-duplicate-details p{
  margin: 0 0 8px !important;
  color: #334155 !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
}

.rc-publication-duplicate-details p:last-child{
  margin-bottom: 0 !important;
}

.rc-publication-duplicate-actions{
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 12px !important;
  margin-top: 22px !important;
}

.rc-publication-duplicate-actions button,
.rc-publication-duplicate-actions a{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  padding: 0 18px !important;
  border: 1px solid #d7dee8 !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  color: #111827 !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.rc-publication-duplicate-actions button:hover,
.rc-publication-duplicate-actions a:hover{
  border-color: #2563eb !important;
  background: #eef5ff !important;
  color: #0f46d2 !important;
}

.rc-publication-duplicate-continue{
  border-color: #111827 !important;
  background: #111827 !important;
  color: #ffffff !important;
}

.rc-publication-duplicate-continue:hover{
  border-color: #2563eb !important;
  background: #2563eb !important;
  color: #ffffff !important;
}

@media (max-width: 900px) {
  .rc-publication-duplicate-panel{
    padding: 22px !important;
  }
}

.rc-publication-authors{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px 7px !important;
  margin-top: 8px !important;
  color: #667085 !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 1.4 !important;
}

.rc-publication-author-link,
.rc-publication-author-invite{
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #475569 !important;
  font-weight: 850 !important;
  font: inherit !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.rc-publication-author-link:hover,
.rc-publication-author-invite:hover{
  color: #2563eb !important;
  text-decoration: underline !important;
}

.rc-publication-author-invite span{
  display: inline-flex !important;
  margin-left: 5px !important;
  padding: 2px 6px !important;
  border: 1px solid #d7dee8 !important;
  border-radius: 999px !important;
  color: #2563eb !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

/* Final publication-tab guard: keep stats,
list{
  display: grid !important;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) !important;
  gap: 32px !important;
  align-items: start !important;
  width: 100% !important;
}

.rc-authorship-tool{
  display: grid !important;
  gap: 16px !important;
}

.rc-authorship-search{
  color: #374151 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.rc-authorship-tool input[type="search"]{
  width: 100% !important;
  min-height: 44px !important;
  padding: 0 14px !important;
  border: 1px solid #d7dee8 !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  color: #111827 !important;
  font: inherit !important;
}

.rc-authorship-results{
  display: grid !important;
  gap: 14px !important;
}

.rc-authorship-card{
  display: grid !important;
  gap: 14px !important;
  padding: 16px !important;
  border: 1px solid #e1e5ea !important;
  border-radius: 8px !important;
  background: #ffffff !important;
}

.rc-authorship-card[hidden]{
  display: none !important;
}

.rc-authorship-card__main h3{
  margin: 0 0 8px !important;
  color: #111827 !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
}

.rc-authorship-card__main p{
  margin: 0 0 6px !important;
  color: #475569 !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
}

.rc-authorship-card__main small,
.rc-authorship-coauthor small{
  color: #667085 !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
}

.rc-authorship-coauthors{
  display: grid !important;
  gap: 8px !important;
  padding: 12px !important;
  border-radius: 7px !important;
  background: #f8fafc !important;
}

.rc-authorship-coauthors > strong{
  color: #111827 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.rc-authorship-coauthor{
  display: grid !important;
  gap: 2px !important;
}

.rc-authorship-coauthor span{
  color: #111827 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

.rc-authorship-actions{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  justify-content: flex-end !important;
}

.rc-authorship-actions button{
  min-height: 38px !important;
  padding: 8px 13px !important;
  border: 1px solid #d7dee8 !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  color: #111827 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

.rc-authorship-actions button[type="submit"]{
  border-color: #111827 !important;
  background: #111827 !important;
  color: #ffffff !important;
}

.rc-authorship-empty{
  padding: 16px !important;
  border: 1px solid #e1e5ea !important;
  border-radius: 8px !important;
  background: #f8fafc !important;
}

.rc-author-invite-modal{
  position: fixed !important;
  inset: 0 !important;
  z-index: 10020 !important;
  display: grid !important;
  place-items: center !important;
  padding: 24px !important;
}

.rc-author-invite-modal[hidden]{
  display: none !important;
}

.rc-author-invite-modal__backdrop{
  position: absolute !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.56) !important;
}

.rc-author-invite-modal__box{
  position: relative !important;
  width: min(460px, 100%) !important;
  padding: 28px !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28) !important;
}

.rc-author-invite-modal__close{
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  width: 34px !important;
  height: 34px !important;
  border: 1px solid #d7dee8 !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  color: #111827 !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

.rc-author-invite-modal__box h2{
  margin: 0 0 8px !important;
  color: #111827 !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

.rc-author-invite-modal__box p{
  margin: 0 0 18px !important;
  color: #667085 !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 1.45 !important;
}

.rc-author-invite-form{
  display: grid !important;
  gap: 12px !important;
}

.rc-author-invite-form label{
  color: #111827 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.rc-author-invite-form input[type="email"]{
  width: 100% !important;
  min-height: 46px !important;
  padding: 0 14px !important;
  border: 1px solid #d7dee8 !important;
  border-radius: 7px !important;
  color: #111827 !important;
  font: inherit !important;
}

.rc-author-invite-form__actions{
  display: flex !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  margin-top: 8px !important;
}

.rc-author-invite-form__submit,
.rc-author-invite-form__cancel{
  min-height: 40px !important;
  padding: 8px 14px !important;
  border: 1px solid #d7dee8 !important;
  border-radius: 7px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

.rc-author-invite-form__submit{
  border-color: #111827 !important;
  background: #111827 !important;
  color: #ffffff !important;
}

.rc-author-invite-form__cancel{
  background: #ffffff !important;
  color: #111827 !important;
}

.rc-author-profile-page{
  width: min(1100px, calc(100% - 48px)) !important;
  margin: 34px auto 72px !important;
  color: #111827 !important;
}

.rc-author-profile-hero,
.rc-author-profile-card{
  border: 1px solid #e1e5ea !important;
  border-radius: 8px !important;
  background: #ffffff !important;
}

.rc-author-profile-hero{
  display: grid !important;
  grid-template-columns: 72px minmax(0, 1fr) auto !important;
  gap: 18px !important;
  align-items: center !important;
  padding: 24px !important;
  margin-bottom: 18px !important;
}

.rc-author-profile-avatar{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 72px !important;
  height: 72px !important;
  border-radius: 50% !important;
  background: #111827 !important;
  color: #ffffff !important;
  font-size: 22px !important;
  font-weight: 900 !important;
}

.rc-author-profile-hero h1,
.rc-author-profile-card h2{
  margin: 0 0 8px !important;
  color: #111827 !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

.rc-author-profile-hero h1{
  font-size: 30px !important;
}

.rc-author-profile-card h2{
  font-size: 22px !important;
}

.rc-author-profile-hero p,
.rc-author-profile-card p{
  margin: 0 !important;
  color: #667085 !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 1.45 !important;
}

.rc-author-profile-invite{
  min-height: 42px !important;
  padding: 9px 14px !important;
  border: 1px solid #111827 !important;
  border-radius: 7px !important;
  background: #111827 !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

.rc-author-profile-card{
  padding: 22px !important;
  margin-bottom: 18px !important;
}

.rc-author-profile-publications,
.rc-author-profile-suggestions{
  display: grid !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.rc-author-profile-publications li,
.rc-author-profile-suggestions li{
  display: grid !important;
  gap: 5px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid #eef0f2 !important;
}

.rc-author-profile-publications a,
.rc-author-profile-suggestions a{
  color: #111827 !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
}

.rc-author-profile-publications a:hover,
.rc-author-profile-suggestions a:hover{
  color: #2563eb !important;
  text-decoration: underline !important;
}

.rc-author-profile-publications small,
.rc-author-profile-suggestions span,
.rc-author-profile-card li{
  color: #667085 !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1.4 !important;
}

@media (max-width: 720px) {
  .rc-author-profile-hero{
    grid-template-columns: 1fr !important;
  }
}

.rc-author-picker{
  grid-template-columns: 1fr auto !important;
  align-items: end !important;
}

.rc-author-picker label,
.rc-author-picker__selected{
  grid-column: 1 / -1 !important;
}

.rc-author-picker__add{
  min-height: 44px !important;
  padding: 0 14px !important;
  border: 1px solid #111827 !important;
  border-radius: 7px !important;
  background: #111827 !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

.rc-author-picker__selected{
  display: grid !important;
  gap: 9px !important;
  margin-top: 6px !important;
}

.rc-author-chip{
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) auto auto !important;
  gap: 10px !important;
  align-items: center !important;
  padding: 10px !important;
  border: 1px solid #e1e5ea !important;
  border-radius: 8px !important;
  background: #f8fafc !important;
}

.rc-author-chip img,
.rc-author-chip > span{
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
}

.rc-author-chip img{
  object-fit: cover !important;
}

.rc-author-chip > span{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #111827 !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

.rc-author-chip strong,
.rc-author-chip small{
  display: block !important;
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}

.rc-author-chip strong{
  color: #111827 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

.rc-author-chip small{
  color: #667085 !important;
  font-size: 12px !important;
  font-weight: 750 !important;
}

.rc-author-chip a,
.rc-author-chip button{
  min-height: 30px !important;
  padding: 5px 9px !important;
  border: 1px solid #d7dee8 !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  color: #111827 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.rc-author-chip button{
  width: 30px !important;
  padding: 0 !important;
  color: #b42318 !important;
}

.rc-publication-details-open{
  display: inline-block !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #111827 !important;
  font: inherit !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
  text-align: left !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.rc-publication-details-open:hover,
.rc-publication-details-open:focus{
  color: #1857d6 !important;
  text-decoration: underline !important;
}

.rc-publication-details-modal[hidden]{
  display: none !important;
}

.rc-publication-details-modal{
  position: fixed !important;
  inset: 0 !important;
  z-index: 10020 !important;
  display: grid !important;
  place-items: center !important;
  padding: 24px !important;
}

.rc-publication-details-backdrop{
  position: absolute !important;
  inset: 0 !important;
  background: rgba(17, 24, 39, 0.58) !important;
  backdrop-filter: blur(5px) !important;
}

.rc-publication-details-box{
  position: relative !important;
  width: min(980px, 100%) !important;
  max-height: min(820px, calc(100vh - 48px)) !important;
  overflow: auto !important;
  padding: 28px !important;
  border: 1px solid #e1e5ea !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #111827 !important;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24) !important;
}

.rc-publication-details-top{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 20px !important;
  align-items: start !important;
  margin-bottom: 22px !important;
}

.rc-publication-details-top span{
  display: inline-flex !important;
  margin-bottom: 10px !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  background: #eef5ff !important;
  color: #1857d6 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.rc-publication-details-top h2{
  margin: 0 !important;
  color: #111827 !important;
  font-size: 26px !important;
  font-weight: 900 !important;
  line-height: 1.18 !important;
}

.rc-publication-details-tools{
  display: grid !important;
  gap: 10px !important;
  min-width: 190px !important;
}

.rc-publication-details-tools a,
.rc-publication-details-tools button,
.rc-publication-details-actions button{
  min-height: 42px !important;
  padding: 9px 14px !important;
  border: 1px solid #d7dee8 !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  color: #111827 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  text-align: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.rc-publication-details-tools a{
  border-color: #111827 !important;
  background: #111827 !important;
  color: #ffffff !important;
}

.rc-publication-details-tools a:hover,
.rc-publication-details-tools a:focus,
.rc-publication-details-request:hover,
.rc-publication-details-request:focus{
  border-color: #1d4ed8 !important;
  background: #1d4ed8 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 18px rgba(29, 78, 216, 0.22) !important;
}

.rc-publication-details-tools button:hover,
.rc-publication-details-tools button:focus,
.rc-publication-details-close:hover,
.rc-publication-details-close:focus{
  border-color: #2563eb !important;
  background: #eef5ff !important;
  color: #0f46d2 !important;
  transform: translateY(-1px) !important;
}

.rc-publication-details-grid{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.rc-publication-details-grid section{
  min-width: 0 !important;
  padding: 16px !important;
  border: 1px solid #e8edf3 !important;
  border-radius: 8px !important;
  background: #f8fafc !important;
}

.rc-publication-details-grid strong{
  display: block !important;
  margin-bottom: 8px !important;
  color: #667085 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

.rc-publication-details-grid p{
  margin: 0 !important;
  color: #1f2937 !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  line-height: 1.45 !important;
  overflow-wrap: anywhere !important;
}

.rc-publication-details-abstract{
  grid-column: 1 / -1 !important;
}

.rc-publication-details-actions{
  display: flex !important;
  justify-content: center !important;
  gap: 12px !important;
  margin-top: 24px !important;
}

.rc-publication-edit-panel[hidden]{
  display: none !important;
}

.rc-publication-edit-panel{
  margin-top: 22px !important;
  padding: 22px !important;
  border: 1px solid #e1e5ea !important;
  border-radius: 8px !important;
  background: #ffffff !important;
}

.rc-publication-edit-head{
  margin-bottom: 16px !important;
}

.rc-publication-edit-head h2{
  margin: 0 0 6px !important;
  color: #111827 !important;
  font-size: 22px !important;
  font-weight: 900 !important;
}

.rc-publication-edit-head p{
  margin: 0 !important;
  color: #667085 !important;
  font-size: 14px !important;
  font-weight: 750 !important;
}

.rc-publication-details-request{
  border-color: #111827 !important;
  background: #111827 !important;
  color: #ffffff !important;
}

@media (max-width: 720px) {
  .rc-publication-details-top,
.rc-publication-details-grid{
    grid-template-columns: 1fr !important;
  }

  .rc-publication-details-box{
    padding: 20px !important;
  }
}

/* ── Dashboard live styles ─────────────────────────────────────────────── */
.rc-dashboard-alerts{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.rc-dash-alert{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
}

.rc-dash-alert--notif{ background: #034eff; }
.rc-dash-alert--req{ background: #1a9a75; }
.rc-dash-alert--notif:hover{ background: #0233cc; }
.rc-dash-alert--req:hover{ background: #14775a; }

.rc-dash-loading{
  padding: 14px 0;
  color: #9a9a94;
  font-size: 14px;
}

.rc-dash-empty{
  padding: 8px 0;
  color: #9a9a94;
  font-size: 14px;
  margin: 0;
}

.rc-expert-link{
  display: block;
  padding: 8px 10px;
  border-radius: 7px;
  text-decoration: none;
  color: #171717;
  font-size: 14px;
  font-weight: 800;
  transition: background 0.15s;
}

.rc-expert-link:hover{ background: #f0f0ed; }

/* ── Recommendations grid ────────────────────────────────────────────────── */
.rc-dashboard-recommendations{
  margin-top: 24px;
}

.rc-recommendations-head{
  margin-bottom: 16px;
}

.rc-recommendations-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.rc-rec-card{
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 18px;
}

.rc-rec-card__head{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.rc-rec-card__head span{ font-size: 20px; flex-shrink: 0; }

.rc-rec-card__head h3{
  flex: 1;
  margin: 0;
  font-size: 14px;
  font-weight: 900;
  color: #171717;
}

.rc-rec-card__head a{
  font-size: 12px;
  font-weight: 800;
  color: #034eff;
  text-decoration: none;
  flex-shrink: 0;
}

.rc-rec-card__items{ display: grid; gap: 6px; }

.rc-rec-card__item{
  display: block;
  padding: 7px 10px;
  border-radius: 6px;
  background: #f5f5f2;
  color: #171717;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.4;
  transition: background 0.15s;
}

.rc-rec-card__item:hover{ background: #e8e8e4; }

/* ── New message modal (recipient search) ───────────────────────────────── */
.rc-recipient-results{
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  background: #fff;
  border: 1.5px solid #deded8;
  border-radius: 8px;
  max-height: 200px;
  overflow-y: auto;
}

.rc-recipient-results li{
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: #171717;
}

.rc-recipient-results li:hover{ background: #f0f0ed; }

.rc-recipient-chosen{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 7px;
  background: #edf7ff;
  font-size: 13px;
  font-weight: 800;
  color: #034eff;
  margin-top: 6px;
}

.rc-recipient-chosen button{
  background: none;
  border: none;
  color: #034eff;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 0;
}

.rc-new-msg-modal{
  position: fixed;
  inset: 0;
  z-index: 9100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rc-new-msg-modal[hidden]{ display: none; }

.rc-new-msg-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(10,20,40,.5);
  backdrop-filter: blur(3px);
}

.rc-new-msg-modal__box{
  position: relative;
  z-index: 1;
  width: min(480px, calc(100vw - 32px));
  padding: 32px 28px 28px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(10,20,40,.22);
}

.rc-new-msg-modal__box h2{ margin: 0 0 20px; font-size: 20px; font-weight: 900; }

.rc-new-msg-modal__close{
  position: absolute;
  top: 14px; right: 16px;
  background: none; border: none;
  font-size: 22px; color: #6f6f6a; cursor: pointer;
}

.rc-new-msg-modal__box label{
  display: grid; gap: 6px;
  font-size: 13px; font-weight: 800; color: #171717;
  margin-bottom: 14px;
}

.rc-new-msg-modal__box input,
.rc-new-msg-modal__box textarea{
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #deded8;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #171717;
  box-sizing: border-box;
  outline: none;
  resize: vertical;
}

.rc-new-msg-modal__box input:focus,
.rc-new-msg-modal__box textarea:focus{ border-color: #171717; }

.rc-new-msg-modal__actions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

/* Request cards — real status colours */
.rc-status-pending{ background: #fff8e1; color: #7c5a00; }
.rc-status-approved{ background: #e8f5e9; color: #1b5e20; }
.rc-status-declined{ background: #fce4ec; color: #880e4f; }

.rc-req-approve,
.rc-req-decline{
  height: 34px;
  padding: 0 14px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  border: 1.5px solid #171717;
  background: #fff;
  color: #171717;
  transition: background 0.15s, color 0.15s;
}

.rc-req-approve:hover{ background: #1a9a75; color: #fff; border-color: #1a9a75; }
.rc-req-decline:hover{ background: #d32f2f; color: #fff; border-color: #d32f2f; }

/* Notification unread dot */
.rc-notification-item.unread{ background: #f5f8ff; }
.rc-notification-item.unread i{ display: block; width: 8px; height: 8px; border-radius: 50%; background: #034eff; flex-shrink: 0; align-self: center; }
.rc-notification-item i{ display: none; }

/* msg empty state */
.rc-msg-empty{
  padding: 24px 0;
  text-align: center;
  color: #9a9a94;
  font-size: 14px;
}

/* Live communications: API-powered badges,
dropdowns and page layout. */
.rc-alert-empty{
  margin: 0;
  padding: 22px 18px;
  border-bottom: 1px solid #f1f5f9;
  color: #6f6f6a;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.rc-alert-button span[hidden],
.rc-side-section a span[hidden],
[data-rc-side-badge][hidden],
.rc-conversation-head[hidden],
.rc-chat-body[hidden],
.rc-message-compose[hidden],
.rc-contact-panel[hidden],
.rc-new-msg-modal[hidden],
.rc-recipient-results[hidden],
.rc-recipient-chosen[hidden]{
  display: none !important;
}

.rc-alert-item .rc-alert-symbol{
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.rc-alert-item div{
  min-width: 0;
}

.rc-alert-item div,
.rc-alert-item strong{
  overflow: hidden;
  text-overflow: ellipsis;
}

.rc-alert-item div{
  display: block;
}

.rc-messages-page,
.rc-notifications-page,
.rc-requests-page{
  max-width: 1280px;
  margin-inline: auto;
}

.rc-messages-page .rc-workspace-head,
.rc-notifications-page .rc-workspace-head,
.rc-requests-page .rc-workspace-head{
  align-items: center;
}

.rc-messages-layout{
  display: grid !important;
  grid-template-columns: minmax(260px, 340px) minmax(420px, 1fr) minmax(220px, 270px);
  gap: 18px;
  align-items: stretch;
}

.rc-chat-list-panel,
.rc-conversation-panel,
.rc-contact-panel{
  min-width: 0;
}

.rc-chat-list-panel{
  width: auto;
  flex: initial;
}

.rc-conversation-panel{
  min-height: 560px;
  overflow: hidden;
}

.rc-conversation-empty{
  display: grid;
  min-height: 220px;
  place-items: center;
  padding: 28px;
  color: #6f6f6a;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.rc-conversation-head,
.rc-chat-body,
.rc-message-compose{
  min-width: 0;
}

.rc-chat-body{
  min-height: 430px;
  max-height: 58vh;
  overflow-y: auto;
}

.rc-contact-panel{
  width: auto;
  flex: initial;
}

.rc-notification-layout,
.rc-requests-grid{
  display: block !important;
}

.rc-notification-main,
.rc-requests-main{
  max-width: 940px;
  margin-inline: auto;
}

.rc-notification-group,
.rc-request-list{
  display: grid;
  gap: 10px;
}

.rc-notification-item,
.rc-request-card{
  border: 1px solid #deded8 !important;
  border-radius: 10px !important;
}

.rc-notification-item + .rc-notification-item,
.rc-request-card + .rc-request-card{
  border-top: 1px solid #deded8 !important;
}

@media (max-width: 1180px) {
  .rc-messages-layout{
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  }

  .rc-contact-panel{
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .rc-messages-layout{
    display: grid !important;
    grid-template-columns: 1fr;
  }

  .rc-conversation-panel{
    min-height: 460px;
  }

  .rc-chat-body{
    min-height: 320px;
  }
}

/* ── Legal document content ─────────────────────────────────────────────── */
.rc-legal-content{
  max-width: 860px;
  font-size: 15px;
  line-height: 1.75;
  color: #2d3748;
}

.rc-legal-content h1{
  font-size: 26px;
  font-weight: 900;
  color: #171717;
  margin: 0 0 20px;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 12px;
}

.rc-legal-content h2{
  font-size: 18px;
  font-weight: 900;
  color: #171717;
  margin: 28px 0 10px;
  padding-top: 4px;
}

.rc-legal-content h3{
  font-size: 15px;
  font-weight: 900;
  color: #364150;
  margin: 20px 0 8px;
}

.rc-legal-content p{
  margin: 0 0 12px;
  color: #364150;
}

.rc-legal-content ul{
  margin: 8px 0 14px 20px;
  padding: 0;
}

.rc-legal-content ul li{
  margin-bottom: 6px;
  color: #364150;
}

.rc-legal-content strong{ color: #171717; }

.rc-legal-content code{
  background: #f0f0ed;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 13px;
  font-family: monospace;
}

/* Philosopher’s Hub missing page and platform templates */
.rc-missing-page,
.rc-platform-page,
.rc-engagement-page{
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 20px 52px;
}
.rc-missing-page__head,
.rc-platform-page__head,
.rc-engagement-page__head,
.rc-experts-directory-head,
.rc-labs-directory-head{
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 22px;
}
.rc-missing-page__head h1,
.rc-platform-page__head h1,
.rc-engagement-page__head h1,
.rc-experts-directory-head h1,
.rc-labs-directory-head h1{
  margin: 0;
}
.rc-missing-page__head p,
.rc-platform-page__head p,
.rc-engagement-page__head p,
.rc-experts-directory-head p,
.rc-labs-directory-head p{
  color: #667085;
  font-size: 14px;
  font-weight: 700;
  margin: 6px 0 0;
}
.rc-missing-page__layout{
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 300px;
}
.rc-missing-card,
.rc-platform-card,
.rc-engagement-card,
.rc-engagement-score,
.rc-leaderboard-card,
.rc-marketplace-card{
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 20px;
}
.rc-missing-card h2,
.rc-platform-card h2,
.rc-engagement-card h2,
.rc-marketplace-card h2{
  font-size: 18px;
  margin: 0 0 8px;
}
.rc-missing-card p,
.rc-platform-card p,
.rc-engagement-card p,
.rc-marketplace-card p{
  color: #4b5563;
  line-height: 1.55;
  margin: 0 0 12px;
}
.rc-missing-links{
  display: grid;
  gap: 8px;
}
.rc-missing-links a,
.rc-platform-card a,
.rc-marketplace-card a{
  color: #034eff;
  font-weight: 800;
  text-decoration: none;
}
.rc-platform-grid,
.rc-engagement-grid,
.rc-marketplace-grid{
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.rc-platform-card span{
  background: #e7f0ff;
  border-radius: 999px;
  display: block;
  height: 10px;
  margin-bottom: 12px;
  width: 46px;
}
.rc-platform-content{
  margin-top: 20px;
}
.rc-engagement-score strong{
  color: #034eff;
  display: block;
  font-size: 48px;
  line-height: 1;
  margin: 8px 0 12px;
}
.rc-leaderboard-list{
  display: grid;
  gap: 12px;
}
.rc-leaderboard-card{
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: 44px minmax(0, 1fr) auto;
}
.rc-leaderboard-card > strong,
.rc-leaderboard-card > span{
  color: #034eff;
  font-size: 22px;
  font-weight: 900;
}
.rc-marketplace-card div{
  align-items: center;
  display: flex;
  justify-content: space-between;
}
.rc-marketplace-card span{
  background: #ecfdf3;
  border-radius: 999px;
  color: #027a48;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 10px;
}
.rc-global-footer__column a,
.rc-global-footer__legal a{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: inline !important;
  padding: 0 !important;
  text-decoration: none;
}
.path-events .region-breadcrumb,
.path-labs .region-breadcrumb,
.path-privacy-settings .region-breadcrumb,
.path-about-us .region-breadcrumb,
.path-contact-us .region-breadcrumb,
.path-help .region-breadcrumb,
.path-paia-manual .region-breadcrumb,
.path-cookie-policy .region-breadcrumb,
.path-marketing-solutions .region-breadcrumb,
.path-facility-booking .region-breadcrumb,
.path-research-projects .region-breadcrumb,
.path-funding-intelligence .region-breadcrumb,
.path-institutional-analytics .region-breadcrumb,
.path-research-assistant .region-breadcrumb,
.path-research-network-map .region-breadcrumb,
.path-verification .region-breadcrumb,
.path-research-infrastructure .region-breadcrumb,
.path-engagement .region-breadcrumb,
.path-collaboration-marketplace .region-breadcrumb{
  display: none !important;
}
@media (max-width: 820px) {
  .rc-missing-page__head,
.rc-platform-page__head,
.rc-engagement-page__head,
.rc-experts-directory-head,
.rc-labs-directory-head{
    align-items: flex-start;
    flex-direction: column;
  }
  .rc-missing-page__layout,
.rc-platform-grid,
.rc-engagement-grid,
.rc-marketplace-grid{
    grid-template-columns: 1fr;
  }
}.rc-dashboard-rec-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.rc-dashboard-rec-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:16px}.rc-equipment-detail-page{max-width:1180px;margin:0 auto;padding:24px 20px 52px}.rc-equipment-detail-hero{display:grid;grid-template-columns:320px minmax(0,1fr);gap:24px;align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:22px}.rc-equipment-detail-hero img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px}.rc-equipment-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}.rc-equipment-detail-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:18px}.rc-legal-shell{min-height:100vh;padding:40px 20px;background:#f8fafc}.rc-legal-card{max-width:920px;margin:0 auto}.rc-legal-card__head{display:flex;justify-content:space-between;gap:16px;align-items:center}.rc-orcid-logo svg{width:74px;height:74px}.rc-orcid-auth-card{text-align:center}@media(max-width:600px){.rc-equipment-detail-hero,
.rc-equipment-detail-grid{grid-template-columns:1fr}}

/* Philosopher’s Hub complete platform fix */
.rc-engagement-dashboard{ max-width: 1100px; margin: 0 auto; }
.rc-engagement-score-block{ background: var(--rc-surface, #f5f7fa); border-radius: 12px; padding: 24px; margin-bottom: 24px; text-align: center; }
.rc-engagement-score-num{ font-size: 3rem; font-weight: 700; color: #1A3A5C; line-height: 1; }
.rc-engagement-score-label{ font-size: 0.9rem; color: #666; margin: 4px 0 12px; }
.rc-engagement-ranks{ display: flex; gap: 16px; justify-content: center; font-size: 0.82rem; color: #888; flex-wrap: wrap; }
.rc-engagement-badges{ display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 12px; }
.rc-badge-pill{ font-size: 0.75rem; padding: 3px 10px; border-radius: 20px; background: #E8F4FD; color: #1A3A5C; }
.rc-badge-pill--silver{ background: #F0F0F0; color: #555; }
.rc-badge-pill--gold{ background: #FEF9EC; color: #7D5000; }
.rc-badge-pill--platinum{ background: #EDE8FD; color: #4A0088; }
.rc-match-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.rc-match-card{ background: #fff; border: 0.5px solid rgba(0,0,0,0.1); border-radius: 10px; padding: 16px; }
.rc-match-card h2,
.rc-match-card strong{ font-size: 1rem; margin: 0 0 8px; }
.rc-match-card ul{ font-size: 0.8rem; color: #666; margin: 0 0 12px; padding-left: 16px; }
.rc-leaderboard-page{ max-width: 900px; margin: 0 auto; }
.rc-leaderboard-section{ margin-bottom: 32px; }
.rc-leaderboard-list{ list-style: none; padding: 0; margin: 0; }
.rc-leaderboard-item{ display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 0.5px solid rgba(0,0,0,0.08); }
.rc-leaderboard-rank{ font-size: 0.8rem; color: #888; width: 32px; text-align: right; flex-shrink: 0; }
.rc-leaderboard-score{ margin-left: auto; font-weight: 600; color: #1A3A5C; }
.rc-marketplace-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.rc-marketplace-card{ background: #fff; border: 0.5px solid rgba(0,0,0,0.1); border-radius: 10px; padding: 16px; }
.rc-marketplace-card-head{ display: flex; gap: 8px; margin-bottom: 10px; }
.rc-marketplace-type{ font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; background: #E8F4FD; color: #1A3A5C; padding: 2px 8px; border-radius: 10px; }
.rc-marketplace-funded{ font-size: 0.72rem; background: #EAF5EA; color: #1A5C1A; padding: 2px 8px; border-radius: 10px; }
.rc-marketplace-meta{ font-size: 0.8rem; color: #666; display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.rc-platform-page{ padding: 0; }
.rc-platform-content{ margin-top: 0; }
.rc-empty-state{ text-align: center; padding: 48px 24px; color: #666; }
.rc-empty-state a{ margin-top: 16px; display: inline-block; }
.rc-empty{ color: #888; font-size: 0.9rem; font-style: italic; }
.rc-card-actions{ display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.rc-btn-primary{ font-size: 0.82rem; padding: 6px 14px; border-radius: 20px; background: #1A3A5C; color: #fff; text-decoration: none; }
.rc-btn-primary:hover{ background: #2563A8; color: #fff; }
.rc-infra-table-wrap{ margin-top: 22px; overflow-x: auto; }
.rc-infra-table{ width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #e5e7eb; }
.rc-infra-table th,
.rc-infra-table td{ padding: 10px 12px; border-bottom: 1px solid #e5e7eb; text-align: left; vertical-align: middle; }
.rc-infra-table th{ font-size: 0.78rem; text-transform: uppercase; color: #667085; background: #f8fafc; }
.rc-status-badge{ display: inline-flex; border-radius: 999px; padding: 2px 9px; font-size: 0.75rem; background: #eef2ff; color: #3730a3; }
.rc-status-badge--approved,
.rc-status-badge--verified{ background: #ecfdf3; color: #027a48; }
.rc-status-badge--rejected,
.rc-status-badge--declined{ background: #fef3f2; color: #b42318; }
.rc-infra-steps{ list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rc-infra-step{ display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 14px; }
.rc-infra-step > span{ display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #E8F4FD; color: #1A3A5C; font-weight: 700; }
.rc-infra-step a{ display: flex; justify-content: space-between; gap: 12px; align-items: center; text-decoration: none; color: inherit; }
.rc-feed-comment-modal[hidden]{
  display: none;
}
.rc-feed-comment-modal{
  background: rgba(15, 23, 42, 0.55);
  inset: 0;
  position: fixed;
  z-index: 9990;
}
.rc-feed-comment-dialog{
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
  display: grid;
  grid-template-rows: auto minmax(180px, 1fr) auto;
  left: 50%;
  max-height: min(760px, calc(100vh - 48px));
  max-width: 720px;
  overflow: hidden;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(720px, calc(100vw - 32px));
}
.rc-feed-comment-dialog > h2{
  border-bottom: 1px solid #e5e7eb;
  font-size: 20px;
  margin: 0;
  padding: 18px 56px 18px 20px;
}
.rc-feed-comment-dialog .rc-feed-comment-close{
  background: #f3f4f6;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  height: 36px;
  line-height: 1;
  position: absolute;
  right: 18px;
  top: 14px;
  width: 36px;
}
.rc-feed-comment-list{
  display: grid;
  gap: 12px;
  overflow-y: auto;
  padding: 18px 20px;
}
.rc-feed-comment-form{
  border-top: 1px solid #e5e7eb;
  display: grid;
  gap: 10px;
  padding: 16px 20px 18px;
}
.rc-feed-comment-form textarea{
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  font: inherit;
  min-height: 92px;
  padding: 11px 12px;
  resize: vertical;
}
.rc-feed-comment-form-actions{
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.rc-feed-comment-form-actions button{
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  padding: 7px 13px;
}
.rc-feed-comment-form-actions button[type="button"]{
  background: #fff;
  border: 1px solid #d0d5dd;
  color: #344054;
}
.rc-feed-comment-form-actions button[type="submit"]{
  background: #1A3A5C;
  border: 1px solid #1A3A5C;
  color: #fff;
}
.rc-feed-comment-modal__backdrop{
  background: rgba(15, 23, 42, 0.55);
  inset: 0;
  position: absolute;
}
.rc-feed-comment-modal__box{
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
  display: grid;
  grid-template-rows: auto minmax(180px, 1fr) auto;
  left: 50%;
  max-height: min(760px, calc(100vh - 48px));
  max-width: 720px;
  overflow: hidden;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(720px, calc(100vw - 32px));
}
.rc-feed-comment-modal__box > header{
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  padding: 18px 20px;
}
.rc-feed-comment-modal__box header span{
  color: #667085;
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.rc-feed-comment-modal__box header h2{
  font-size: 20px;
  margin: 2px 0 0;
}
.rc-feed-comment-modal__box header button{
  background: #f3f4f6;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  height: 40px;
  line-height: 1;
  width: 40px;
}
.rc-feed-comment-modal__list{
  display: grid;
  gap: 12px;
  overflow-y: auto;
  padding: 18px 20px;
}
.rc-feed-comment{
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px;
}
.rc-feed-comment.is-reply{
  margin-left: 28px;
}
.rc-feed-comment div{
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}
.rc-feed-comment small{
  color: #667085;
  font-size: 12px;
}
.rc-feed-comment p{
  margin: 8px 0;
}
.rc-feed-comment button,
.rc-feed-comment-modal__form button{
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  padding: 7px 13px;
}
.rc-feed-comment button{
  background: transparent;
  border: 0;
  color: #2563A8;
  padding-left: 0;
}
.rc-feed-mention{
  color: #1A3A5C;
  font-weight: 900;
}
.rc-feed-comment-empty{
  color: #667085;
  margin: 0;
}
.rc-feed-comment-modal__form{
  border-top: 1px solid #e5e7eb;
  display: grid;
  gap: 10px;
  padding: 16px 20px 18px;
}
.rc-feed-comment-modal__form textarea{
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  font: inherit;
  min-height: 92px;
  padding: 11px 12px;
  resize: vertical;
}
.rc-feed-comment-modal__form div{
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.rc-feed-comment-modal__form button[type="button"]{
  background: #fff;
  border: 1px solid #d0d5dd;
  color: #344054;
}
.rc-feed-comment-modal__form button[type="submit"]{
  background: #1A3A5C;
  border: 1px solid #1A3A5C;
  color: #fff;
}
@media (max-width: 640px) {
  .rc-feed-comment-modal__box{
    max-height: calc(100vh - 20px);
    width: calc(100vw - 20px);
  }
  .rc-feed-comment.is-reply{
    margin-left: 14px;
  }
}

/* Philosopher’s Hub directory cleanup: equipment save, compact experts. */
.path-researchconnect-equipment .rc-equipment-searchbar,
.path-equipments-list .rc-equipment-searchbar{
  display: none !important;
}
.rc-equipment-image-wrapper{
  position: relative;
}
.rc-equipment-floating-save{
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
  color: #111827;
  cursor: pointer;
  display: flex;
  font-size: 26px;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 48px;
  z-index: 3;
}
.rc-equipment-floating-save:hover,
.rc-equipment-floating-save.is-saved{
  background: #f0f7ff;
  border-color: #9cc4f2;
  color: #1A3A5C;
}
.rc-equipment-actions .rc-equipment-save{
  display: none;
}

/* ==========================================================================
   Philosopher’s Hub MOBILE OPTIMISATION
   Fixes visible in screenshots: crowded topbar,
stacked Add New button,
footer links in column,
profile name overflow,
"Top tasks" block showing.
   ========================================================================== */

/* ── 1. HIDE "TOP TASKS / CREATE CONTENT" DRUPAL BLOCK ─────────────────── */
/* This is a Drupal shortcut block that should never show to users. */
.block-shortcut-module,
.block-shortcuts,
.shortcut-wrapper,
[class*="block-shortcuts"],
.rc-content .block:has(h2.block-title:contains("Top tasks")),
.rc-content .block:has(.shortcut-action){
  display: none !important;
}

/* ── 2. TOPBAR: RESTRUCTURE FOR MOBILE ──────────────────────────────────── */
@media (max-width: 760px){

  /* Make topbar a two-row grid on mobile */
  .rc-topbar__inner {
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
    min-height: auto;
  }

  /* Row 1: Logo + right-side icons */
  .rc-logo {
    order: 1;
    padding: 10px 14px;
    font-size: 16px;
  }

  /* Hide the full main-menu links (Equipments / Experts / Events)
     — they're reachable via the hamburger side menu on mobile */
  .rc-main-menu {
    display: none !important;
  }

  /* Search bar goes full-width on row 2 */
  .rc-search {
    order: 10;
    flex: 0 0 100%;
    max-width: 100%;
    margin: 0;
    padding: 6px 12px 8px;
    border-top: 1px solid var(--rc-border);
    gap: 6px;
    background: #fff;
  }

  .rc-search input {
    flex: 1;
    font-size: 14px;
    height: 38px;
  }

  .rc-search button {
    height: 38px !important;
    font-size: 13px !important;
    padding: 0 12px !important;
    white-space: nowrap;
  }

  /* Top icons: push to the right of row 1 */
  .rc-top-icons {
    order: 2;
    margin-left: auto;
    padding: 0 6px;
    gap: 10px;
  }

  /* Profile dropdown in row 1 */
  .rc-user-dropdown {
    order: 3;
    padding-right: 10px;
  }

  /* Hide the "Add New" button in the topbar on mobile — it's in the side menu */
  .rc-add-dropdown {
    display: none !important;
  }

  /* Keep the hamburger side-tab visible and well-positioned */
  .rc-side-tab {
    top: 100px;
  }
}

/* ── 3. FOOTER: STACK COLUMNS ON MOBILE ─────────────────────────────────── */
@media (max-width: 760px){

  .rc-global-footer__top {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .rc-global-footer__brand {
    width: 72px;
    height: 72px;
    font-size: 38px;
    border-radius: 12px;
  }

  .rc-global-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .rc-global-footer__legal {
    justify-content: flex-start;
    gap: 6px 4px;
  }

  /* Make policy links inline on one row with proper separators */
  .rc-global-footer__legal a,
  .rc-global-footer__legal span {
    font-size: 13px;
  }
}

/* ── 5. GENERAL CONTENT PADDING ON MOBILE ───────────────────────────────── */
@media (max-width: 760px){
  .rc-container.rc-layout {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Cards should not overflow */
  .rc-request-card,
  .rc-lab-card {
    word-break: break-word;
  }

  /* Workspace pages: remove excess side padding */
  .rc-workspace-page {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* Booking layout: single column */
  .rc-booking-layout {
    grid-template-columns: 1fr !important;
  }

  /* Newsfeed sidebar: hide on mobile. */
  .rc-workspace-sidebar {
    display: none !important;
  }
}

/* ── 6. PROFILE DROPDOWN: FULL SCREEN ON MOBILE ─────────────────────────── */
@media (max-width: 760px){
  .rc-user-menu {
    right: 8px !important;
    left: 8px !important;
    width: auto !important;
    max-height: 80vh;
    overflow-y: auto;
  }
}

/* ── 7. DASHBOARD CARDS: SINGLE COLUMN ON NARROW SCREENS ───────────────── */
@media (max-width: 640px){
  .rc-dashboard-rec-grid,
  .rc-metric-grid {
    grid-template-columns: 1fr !important;
  }

  .rc-dashboard-main {
    grid-template-columns: 1fr !important;
  }
}

/* Before-login brief: readable, smooth public homepage slider. */
body:not(.user-logged-in) .rc-public-home .rc-hero-slider {
  position: relative !important;
  overflow: hidden !important;
}

body:not(.user-logged-in) .rc-public-home .rc-slide {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 0 !important;
  transform: scale(1.015);
  transition: opacity .65s ease, transform 1.1s ease !important;
  pointer-events: none;
}

body:not(.user-logged-in) .rc-public-home .rc-slide.active {
  position: absolute !important;
  opacity: 1 !important;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}

body:not(.user-logged-in) .rc-slide-content {
  z-index: 4 !important;
}

body:not(.user-logged-in) .rc-slide-content h1,
body:not(.user-logged-in) .rc-slide-content p {
  color: #fff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .72) !important;
}

/* Authentication messages are local, compact and dismissible. */
.rc-auth-page form > .messages,
.path-user form > .messages--error {
  position: relative !important;
  width: 100% !important;
  margin: 0 0 16px !important;
  padding: 13px 42px 13px 14px !important;
  border: 1px solid #efb4ad !important;
  border-radius: 8px !important;
  background: #fff2f0 !important;
  color: #8f2318 !important;
}

.rc-message-dismiss {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  display: grid !important;
  width: 28px !important;
  height: 28px !important;
  min-height: 28px !important;
  padding: 0 !important;
  place-items: center;
  border: 1px solid #dfaaa3 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #8f2318 !important;
  font-size: 18px !important;
}

/* Legal documents open as a centered modal using the same live page content. */
.rc-registration-legal-modal[open] {
  position: fixed !important;
  inset: 0 !important;
  display: grid !important;
  width: 100vw !important;
  max-width: none !important;
  height: 100vh !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 24px !important;
  place-items: center !important;
  border: 0 !important;
  background: transparent !important;
}

.rc-registration-legal-modal__panel {
  width: min(760px, calc(100vw - 32px)) !important;
  max-height: min(760px, calc(100vh - 48px)) !important;
  overflow: hidden !important;
  border: 1px solid #d9d9d9 !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28) !important;
}

.rc-registration-legal-modal__body {
  max-height: calc(100vh - 150px) !important;
  overflow-y: auto !important;
}

/* Consent switches: white initially, green accepted, red after invalid submit. */
.rc-registration-acceptance input[type="checkbox"].rc-registration-proxy-consent {
  border-color: #cfcfcf !important;
  background: #fff !important;
}

.rc-registration-acceptance input[type="checkbox"].rc-registration-proxy-consent:checked {
  border-color: #168a47 !important;
  background: #20a85a !important;
}

.user-register-form.rc-consent-invalid .rc-registration-acceptance input[type="checkbox"].rc-registration-proxy-consent:not(:checked) {
  border-color: #c9362b !important;
  background: #fff0ee !important;
}

.user-register-form .form-actions :is(button, input)[disabled] {
  cursor: not-allowed !important;
  opacity: .45 !important;
}

/* Password-reset confirmation and removed support links. */
.rc-password-support-links {
  display: none !important;
}

.rc-password-reset-confirmation {
  padding: 32px 28px;
  border: 1px solid #dedede;
  border-radius: 12px;
  background: #fff;
  text-align: center;
}

.rc-password-reset-confirmation > span {
  display: grid;
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  place-items: center;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 22px;
}

.rc-password-reset-confirmation div {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.rc-password-reset-confirmation a {
  padding: 10px 15px;
  border: 1px solid #111;
  border-radius: 8px;
  text-decoration: none;
}

.rc-password-reset-confirmation a:first-child {
  background: #111;
  color: #fff !important;
}

/* Logout actions use the same subtle motion as topbar controls. */
.rc-auth-logout form .form-actions :is(a, button, input),
body.path-user-logout-confirm form .form-actions :is(a, button, input) {
  transition: transform .16s ease, box-shadow .16s ease !important;
}

.rc-auth-logout form .form-actions :is(a, button, input):hover,
body.path-user-logout-confirm form .form-actions :is(a, button, input):hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .12) !important;
}

/* Polished global search results. */
body:has(.rc-search-results-page) .rc-search-results-page {
  width: min(100%, 1180px) !important;
  margin: 34px auto 0 !important;
  padding: 32px 34px !important;
  border: 1px solid #deded8 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body:has(.rc-search-results-page) .rc-search-results-count {
  display: inline-flex !important;
  width: auto !important;
  margin: 0 0 28px !important;
  padding: 10px 14px !important;
  gap: 4px !important;
  align-items: center !important;
  border: 1px solid #deded8 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #555 !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  box-shadow: none !important;
}

body:has(.rc-search-results-page) .rc-search-hero {
  margin: 0 0 28px !important;
  padding: 0 0 22px !important;
  border-bottom: 1px solid #deded8 !important;
}

body:has(.rc-search-results-page) .rc-search-hero h1 {
  margin: 0 0 20px !important;
  color: #171717 !important;
  font-size: 28px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
}

body:has(.rc-search-results-page) .rc-search-menu-form {
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) auto !important;
  align-items: center !important;
  min-height: 54px !important;
  margin: 0 0 18px !important;
  border: 1px solid #d8ddd7 !important;
  border-radius: 8px !important;
  background: #f7f7f5 !important;
  overflow: hidden !important;
}

body:has(.rc-search-results-page) .rc-search-menu-form span {
  display: grid !important;
  height: 54px !important;
  place-items: center !important;
  color: #555 !important;
  font-size: 22px !important;
}

body:has(.rc-search-results-page) .rc-search-menu-form input[type="search"] {
  width: 100% !important;
  height: 54px !important;
  margin: 0 !important;
  padding: 0 14px 0 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #171717 !important;
  font-size: 15px !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

body:has(.rc-search-results-page) .rc-search-menu-form input[type="search"]::placeholder {
  color: #8a8a86 !important;
}

body:has(.rc-search-results-page) .rc-search-menu-form button {
  height: 42px !important;
  min-width: 92px !important;
  margin-right: 6px !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: #111 !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

body:has(.rc-search-results-page) .rc-search-menu-tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body:has(.rc-search-results-page) .rc-search-menu-tabs a {
  position: relative !important;
  display: inline-flex !important;
  min-height: 40px !important;
  padding: 0 13px !important;
  gap: 9px !important;
  align-items: center !important;
  border: 1px solid #d9dee3 !important;
  border-radius: 7px !important;
  background: #fff !important;
  color: #333 !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  text-decoration: none !important;
  transition: border-color .16s ease, background .16s ease, color .16s ease !important;
}

body:has(.rc-search-results-page) .rc-search-menu-tabs a:hover,
body:has(.rc-search-results-page) .rc-search-menu-tabs a.is-active {
  border-color: #111 !important;
  background: #111 !important;
  color: #fff !important;
}

body:has(.rc-search-results-page) .rc-search-menu-tabs a strong {
  display: inline-grid !important;
  min-width: 24px !important;
  height: 24px !important;
  padding: 0 7px !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: #f0f0ed !important;
  color: #111 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

body:has(.rc-search-results-page) .rc-search-menu-tabs a.is-active strong,
body:has(.rc-search-results-page) .rc-search-menu-tabs a:hover strong {
  background: #fff !important;
  color: #111 !important;
}

body:has(.rc-search-results-page) .rc-search-summary-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin: 0 0 34px !important;
}

body:has(.rc-search-results-page) .rc-search-summary-row a {
  display: inline-flex !important;
  min-height: 38px !important;
  padding: 0 13px !important;
  gap: 9px !important;
  align-items: center !important;
  border: 1px solid #d9dee3 !important;
  border-radius: 7px !important;
  background: #fff !important;
  color: #111 !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  text-decoration: none !important;
}

body:has(.rc-search-results-page) .rc-search-summary-row a strong {
  display: inline-grid !important;
  min-width: 24px !important;
  height: 24px !important;
  padding: 0 7px !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: #f0f0ed !important;
  color: #111 !important;
  font-size: 12px !important;
}

body:has(.rc-search-results-page) .rc-search-group {
  margin-top: 0 !important;
  margin-bottom: 42px !important;
}

body:has(.rc-search-results-page) .rc-search-group-heading {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  margin-bottom: 18px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid #deded8 !important;
}

body:has(.rc-search-results-page) .rc-search-group-heading h2 {
  margin: 0 !important;
  color: #171717 !important;
  font-size: 27px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
}

body:has(.rc-search-results-page) .rc-search-group-heading span {
  color: #666 !important;
  font-size: 13px !important;
  font-weight: 850 !important;
}

body:has(.rc-search-results-page) .rc-search-list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  margin-top: 0 !important;
}

@media (min-width: 900px) {
  body:has(.rc-search-results-page) .rc-search-list--dual {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

body:has(.rc-search-results-page) .rc-search-result-card {
  display: grid !important;
  grid-template-columns: 52px minmax(0, 1fr) !important;
  grid-template-rows: auto 1fr auto !important;
  align-items: start !important;
  min-height: 250px !important;
  padding: 20px !important;
  gap: 0 18px !important;
  border: 1px solid #deded8 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease !important;
}

body:has(.rc-search-results-page) .rc-search-result-card:hover {
  border-color: #c7c7c1 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(17, 17, 17, .07) !important;
}

body:has(.rc-search-results-page) .rc-search-result-icon {
  display: grid !important;
  width: 52px !important;
  height: 52px !important;
  grid-row: 1 / span 3 !important;
  place-items: center !important;
  border-radius: 8px !important;
  background: #f0f0ed !important;
  color: #555 !important;
  font-size: 23px !important;
}

body:has(.rc-search-results-page) .rc-search-result-content {
  min-width: 0 !important;
}

body:has(.rc-search-results-page) .rc-search-result-type {
  margin: 0 0 10px !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  background: #f0f0ed !important;
  color: #111 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}

body:has(.rc-search-results-page) .rc-search-result-content h3 {
  margin: 0 0 10px !important;
  color: #171717 !important;
  font-size: 21px !important;
  font-weight: 900 !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
}

body:has(.rc-search-results-page) .rc-search-result-content p {
  margin: 0 0 14px !important;
  color: #475569 !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

body:has(.rc-search-results-page) .rc-search-result-details {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 9px !important;
  margin: 0 !important;
}

body:has(.rc-search-results-page) .rc-search-result-details div {
  display: grid !important;
  grid-template-columns: minmax(90px, .45fr) minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: start !important;
}

body:has(.rc-search-results-page) .rc-search-result-details span {
  color: #777 !important;
  font-size: 13px !important;
  font-weight: 850 !important;
}

body:has(.rc-search-results-page) .rc-search-result-details strong {
  min-width: 0 !important;
  color: #111 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
  overflow-wrap: anywhere !important;
}

body:has(.rc-search-results-page) .rc-search-result-meta {
  margin-top: 12px !important;
  color: #777 !important;
  font-size: 13px !important;
}

body:has(.rc-search-results-page) .rc-search-result-action {
  display: flex !important;
  grid-column: 2 !important;
  gap: 9px !important;
  align-items: center !important;
  align-self: end !important;
  margin-top: 18px !important;
}

body:has(.rc-search-results-page) .rc-search-result-action a {
  display: inline-flex !important;
  width: auto !important;
  min-width: 118px !important;
  height: 42px !important;
  padding: 0 16px !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 7px !important;
  background: #111 !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

body:has(.rc-search-results-page) .rc-search-result-action button {
  display: inline-grid !important;
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  place-items: center !important;
  border: 1px solid #dce3ea !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #111 !important;
  font-size: 20px !important;
  line-height: 1 !important;
}

@media (max-width: 899px) {
  body:has(.rc-search-results-page) .rc-search-results-page {
    padding: 22px 18px !important;
  }

  body:has(.rc-search-results-page) .rc-search-menu-tabs {
    flex-wrap: nowrap !important;
    margin-right: -18px !important;
    margin-left: -18px !important;
    padding: 0 18px 4px !important;
    overflow-x: auto !important;
    scroll-snap-type: x proximity !important;
  }

  body:has(.rc-search-results-page) .rc-search-menu-tabs a {
    flex: 0 0 auto !important;
    scroll-snap-align: start !important;
  }

  body:has(.rc-search-results-page) .rc-search-result-card {
    min-height: 0 !important;
  }
}

@media (max-width: 620px) {
  body:has(.rc-search-results-page) .rc-search-result-card {
    grid-template-columns: 1fr !important;
    text-align: left !important;
  }

  body:has(.rc-search-results-page) .rc-search-menu-form {
    grid-template-columns: 42px minmax(0, 1fr) !important;
  }

  body:has(.rc-search-results-page) .rc-search-menu-form button {
    grid-column: 1 / -1 !important;
    width: calc(100% - 12px) !important;
    margin: 0 6px 6px !important;
  }

  body:has(.rc-search-results-page) .rc-search-result-icon {
    grid-row: auto !important;
    margin-bottom: 14px !important;
  }

body:has(.rc-search-results-page) .rc-search-result-action {
    grid-column: 1 !important;
  }
}

/* Final responsive enforcement: keep this at EOF so legacy blocks cannot undo it. */


























@media (max-width: 1024px) {
  .rc-site .rc-search.rc-search-wrap {
    order: 8 !important;
    flex-basis: 100% !important;
    max-width: 100% !important;
  }

  .rc-site .rc-expert-card,
  .rc-site .rc-expert-card--compact {
    grid-template-columns: clamp(56px, 9vw, 72px) minmax(0, 1fr) !important;
  }

  .rc-site .rc-expert-side,
  .rc-site .rc-expert-actions {
    justify-content: flex-start !important;
  }

  .rc-site .rc-researcher-profile-page .rc-profile-hero--identity {
    grid-template-columns: 112px minmax(0, 1fr) !important;
  }

  .rc-site .rc-researcher-profile-page .rc-profile-actions--header {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin: 0 !important;
  }
}

@media (max-width: 760px) {
  .rc-site .rc-main-menu.rc-top-nav,
  .rc-site .rc-search.rc-search-wrap {
    width: 100% !important;
  }

  .rc-site .rc-search-explorer-grid,
  .rc-site .rc-search-results-layout,
  .rc-site .rc-search-result-card,
  .rc-site .rc-newsfeed-card-top,
  .rc-site .rc-newsfeed-title-row,
  .rc-site .rc-researcher-profile-page .rc-profile-hero--identity,
  .rc-site .layout--pass--content-medium,
  .rc-site .layout--pass--content-narrow {
    grid-template-columns: 1fr !important;
  }

  .rc-site .rc-search-result-action,
  .rc-site .rc-expert-side {
    grid-column: 1 !important;
  }
}

@media (max-width: 480px) {
  .rc-site .rc-expert-card,
  .rc-site .rc-expert-card--compact,
  .rc-site .rc-search-result-card,
  .rc-site .rc-newsfeed-item-card {
    grid-template-columns: 1fr !important;
    padding: 14px !important;
  }

  .rc-site .rc-profile-action-row,
  .rc-site .rc-profile-message-actions {
    flex-direction: column !important;
  }

  .rc-site .rc-profile-action-row > *,
  .rc-site .rc-profile-message-actions > *,
  .rc-site .rc-expert-actions > *,
  .rc-site .rc-search-result-action > * {
    width: 100% !important;
  }
}

/* Final Philosopher’s Hub page width guard. Keep page content at 1200px max. */
.rc-site .rc-content > .region,
.rc-site .rc-content .region-content,
.rc-site .rc-content .block-system-main-block,
.rc-site .rc-content .views-element-container,
.rc-site .rc-system,
.rc-site .rc-events-page,
.rc-site .rc-equipment-list-page,
.rc-site .rc-experts-page,
.rc-site .rc-researcher-profile-page,
.rc-site .rc-lab-page,
.rc-site .rc-event-prototype-page {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Consistent desktop main menu across profile, directory, lab, event and equipment pages. */
.rc-site .rc-topbar__inner.rc-topbar-inner {
  flex-wrap: nowrap !important;
  gap: clamp(6px, 1vw, 14px) !important;
}

.rc-site .rc-logo.rc-wordmark {
  flex: 0 0 auto !important;
}

.rc-site .rc-main-menu.rc-top-nav {
  display: flex !important;
  flex: 0 0 auto !important;
  flex-wrap: nowrap !important;
  gap: clamp(10px, 1.4vw, 18px) !important;
  white-space: nowrap !important;
}

.rc-site .rc-main-menu.rc-top-nav a {
  display: inline-flex !important;
  align-items: center !important;
  min-width: max-content !important;
}

.rc-site .rc-search.rc-search-wrap {
  flex: 1 1 260px !important;
  min-width: 180px !important;
  max-width: 520px !important;
}

.rc-site .rc-top-icons.rc-topbar-icons,
.rc-site .rc-user-dropdown.rc-av-wrap,
.rc-site .rc-add-dropdown.rc-an-wrap,
.rc-site .rc-user-auth-links {
  flex: 0 0 auto !important;
  flex-wrap: nowrap !important;
}

@media (max-width: 1100px) {
  .rc-site .rc-search.rc-search-wrap {
    min-width: 150px !important;
    max-width: 360px !important;
  }

  .rc-site .rc-main-menu.rc-top-nav {
    gap: 10px !important;
  }

  .rc-site .rc-main-menu.rc-top-nav a {
    font-size: 14px !important;
  }
}

@media (max-width: 860px) {
  .rc-site .rc-topbar__inner.rc-topbar-inner {
    flex-wrap: wrap !important;
  }

  .rc-site .rc-search.rc-search-wrap {
    order: 8 !important;
    flex-basis: 100% !important;
    max-width: none !important;
  }
}

/* Last-word primary-nav override: one uniform underline for Equipment, Experts and Events. */










/* Final primary-nav override: one uniform underline for Equipment, Experts and Events. */










/* Keep the primary navigation active state uniform: underline only. */
.rc-site .rc-main-menu.rc-top-nav {
  align-self: stretch !important;
  gap: 18px !important;
}

.rc-site .rc-main-menu.rc-top-nav a,
.rc-site .rc-main-menu.rc-top-nav a:hover,
.rc-site .rc-main-menu.rc-top-nav a:focus-visible,
.rc-site .rc-main-menu.rc-top-nav a.active {
  position: relative !important;
  min-height: 54px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.rc-site .rc-main-menu.rc-top-nav a:hover,
.rc-site .rc-main-menu.rc-top-nav a:focus-visible,
.rc-site .rc-main-menu.rc-top-nav a.active {
  color: #111111 !important;
}

.rc-site .rc-main-menu.rc-top-nav a::after {
  content: none !important;
}

.rc-site .rc-main-menu.rc-top-nav a.active::after {
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  display: block !important;
  height: 2px !important;
  border-radius: 2px !important;
  background: #111111 !important;
}

/* Site-wide responsive safety net for cPanel/WebView resize bugs. */
.rc-site,
.rc-site *,
.rc-site *::before,
.rc-site *::after {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.rc-site {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
  overflow-wrap: anywhere;
}

.rc-site img,
.rc-site svg,
.rc-site video,
.rc-site canvas {
  max-width: 100%;
  height: auto;
}

.rc-site a,
.rc-site button,
.rc-site input,
.rc-site select,
.rc-site textarea {
  max-width: 100%;
}



.rc-site .rc-topbar__inner.rc-topbar-inner {
  display: flex !important;
  width: min(100%, 1200px) !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 54px !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px 10px !important;
  padding-right: clamp(10px, 3vw, 20px) !important;
  padding-left: clamp(10px, 3vw, 20px) !important;
}

.rc-site .rc-logo.rc-wordmark,
.rc-site .rc-main-menu.rc-top-nav,
.rc-site .rc-top-icons.rc-topbar-icons,
.rc-site .rc-user-dropdown.rc-av-wrap,
.rc-site .rc-add-dropdown.rc-an-wrap,
.rc-site .rc-user-auth-links {
  min-width: 0 !important;
  flex: 0 1 auto !important;
}

.rc-site .rc-main-menu.rc-top-nav,
.rc-site .rc-top-icons.rc-topbar-icons,
.rc-site .rc-user-auth-links {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
}

.rc-site .rc-search.rc-search-wrap {
  flex: 1 1 280px !important;
  width: auto !important;
  min-width: 180px !important;
  max-width: 520px !important;
}

.rc-site .rc-search.rc-search-wrap input {
  min-width: 0 !important;
  width: 100% !important;
}

.rc-site .rc-container,
.rc-site .rc-layout,
.rc-site .rc-workspace-page,
.rc-site .rc-directory-redesign,
.rc-site .rc-search-results-page,
.rc-site .rc-researcher-profile-page,
.rc-site .rc-equipment-detail-page,
.rc-site .rc-publication-view-page,
.rc-site .layout-container,
.rc-site .layout--pass--content-medium,
.rc-site .layout--pass--content-narrow {
  width: min(100%, 1200px) !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.rc-site .rc-directory-redesign {
  width: min(100%, 1200px) !important;
}

.rc-site .rc-workspace-page,
.rc-site .rc-directory-redesign,
.rc-site .rc-search-results-page,
.rc-site .rc-researcher-profile-page {
  padding-right: clamp(12px, 3vw, 34px) !important;
  padding-left: clamp(12px, 3vw, 34px) !important;
}

.rc-site [class*="grid"],
.rc-site [class*="card"],
.rc-site [class*="content"],
.rc-site [class*="copy"],
.rc-site [class*="info"] {
  min-width: 0;
}

.rc-site .rc-expert-card,
.rc-site .rc-expert-card--compact {
  grid-template-columns: clamp(56px, 8vw, 88px) minmax(0, 1fr) auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.rc-site .rc-expert-actions,
.rc-site .rc-search-result-action,
.rc-site .rc-profile-action-row,
.rc-site .rc-feed-bottom,
.rc-site .rc-feed-left-actions,
.rc-site .rc-feed-social-actions,
.rc-site .rc-newsfeed-engagement {
  display: flex !important;
  flex-wrap: wrap !important;
  min-width: 0 !important;
  white-space: normal !important;
}

.rc-site .rc-expert-actions {
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

.rc-site .rc-expert-actions a,
.rc-site .rc-expert-actions button,
.rc-site .rc-search-result-action a,
.rc-site .rc-search-result-action button,
.rc-site .rc-feed-pill,
.rc-site .rc-feed-dots {
  flex: 0 1 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
}

.rc-site .rc-expert-photo,
.rc-site .rc-expert-avatar,
.rc-site .rc-profile-avatar,
.rc-site .rc-newsfeed-media,
.rc-site .rc-newsfeed-large-icon,
.rc-site .rc-search-result-icon {
  flex: 0 0 auto !important;
  max-width: 100% !important;
  aspect-ratio: 1 !important;
  object-fit: cover !important;
}

.rc-site .rc-search-explorer-grid,
.rc-site .rc-search-results-layout,
.rc-site .rc-search-result-details,
.rc-site .rc-newsfeed-card-top,
.rc-site .rc-newsfeed-title-row {
  min-width: 0 !important;
  max-width: 100% !important;
}

.rc-site .rc-search-result-action {
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  justify-self: start !important;
  min-width: 0 !important;
}

.rc-site .rc-search-result-action a,
.rc-site .rc-search-result-action button {
  width: auto !important;
}



.rc-site .rc-researcher-profile-page .rc-profile-actions--header {
  width: min(100%, 260px) !important;
  min-width: 0 !important;
}

.rc-site .rc-researcher-profile-page .rc-profile-qr-card,
.rc-site .rc-researcher-profile-page .rc-profile-qr-card img {
  max-width: 100% !important;
  height: auto !important;
}

.rc-site .rc-registration-legal-modal[open],
.rc-site .rc-profile-message-modal,
.rc-site .rc-message-modal,
.rc-site [data-rc-profile-message-modal] {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10000 !important;
  display: flex !important;
  width: auto !important;
  height: auto !important;
  min-height: 100dvh !important;
  max-width: none !important;
  max-height: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)) !important;
  overflow: auto !important;
}

.rc-site .rc-profile-message-modal[hidden],
.rc-site [data-rc-profile-message-modal][hidden] {
  display: none !important;
}



@media (max-width: 1024px) {
  .rc-site .rc-topbar__inner.rc-topbar-inner {
    justify-content: flex-start !important;
  }

  .rc-site .rc-search.rc-search-wrap {
    order: 8 !important;
    flex-basis: 100% !important;
    max-width: 100% !important;
    margin: 4px 0 10px !important;
  }

  .rc-site .rc-expert-card,
  .rc-site .rc-expert-card--compact {
    grid-template-columns: clamp(56px, 9vw, 72px) minmax(0, 1fr) !important;
  }

  .rc-site .rc-expert-side {
    grid-column: 2 !important;
    justify-content: flex-start !important;
  }

  .rc-site .rc-expert-actions {
    justify-content: flex-start !important;
  }

  .rc-site .rc-researcher-profile-page .rc-profile-hero--identity {
    grid-template-columns: 112px minmax(0, 1fr) !important;
  }

  .rc-site .rc-researcher-profile-page .rc-profile-actions--header {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    width: 100% !important;
    margin: 0 !important;
  }
}

@media (max-width: 760px) {
  .rc-site .rc-topbar__inner.rc-topbar-inner {
    gap: 8px !important;
  }

  .rc-site .rc-main-menu.rc-top-nav {
    order: 7 !important;
    width: 100% !important;
  }

  .rc-site .rc-add-new.rc-an-btn span {
    display: none !important;
  }

  .rc-site .rc-search-explorer-grid,
  .rc-site .rc-search-results-layout,
  .rc-site .rc-search-result-card,
  .rc-site .rc-newsfeed-card-top,
  .rc-site .rc-newsfeed-title-row,
  .rc-site .rc-researcher-profile-page .rc-profile-hero--identity,
  .rc-site .layout--pass--content-medium,
  .rc-site .layout--pass--content-narrow {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .rc-site .rc-search-result-icon,
  .rc-site .rc-search-result-content,
  .rc-site .rc-search-result-action,
  .rc-site .rc-newsfeed-media,
  .rc-site .rc-newsfeed-large-icon,
  .rc-site .rc-expert-side {
    grid-column: 1 !important;
  }

  .rc-site .rc-search-result-details,
  .rc-site .rc-search-result-details div {
    grid-template-columns: 1fr !important;
  }

  .rc-site .rc-profile-action-row,
  .rc-site .rc-profile-message-actions {
    flex-direction: row !important;
    flex-wrap: wrap !important;
  }
}

@media (max-width: 480px) {
  .rc-site .rc-topbar__inner.rc-topbar-inner {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }

  .rc-site .rc-expert-card,
  .rc-site .rc-expert-card--compact,
  .rc-site .rc-search-result-card,
  .rc-site .rc-newsfeed-item-card {
    grid-template-columns: 1fr !important;
    padding: 14px !important;
  }

  .rc-site .rc-expert-stats {
    flex-wrap: wrap !important;
    row-gap: 8px !important;
  }

  .rc-site .rc-profile-action-row,
  .rc-site .rc-profile-message-actions {
    flex-direction: column !important;
  }

  .rc-site .rc-profile-action-row > *,
  .rc-site .rc-profile-message-actions > *,
  .rc-site .rc-expert-actions > *,
  .rc-site .rc-search-result-action > * {
    width: 100% !important;
  }
}

/* Search results preview layout: category rail, chips, and sort toolbar. */
body:has(.rc-search-results-page) {
  background: #f3f4f6 !important;
}

body:has(.rc-search-results-page) .rc-search-results-page {
  width: min(100%, 1200px) !important;
  margin: 28px auto 0 !important;
  padding: 0 20px 60px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body:has(.rc-search-results-page) .rc-search-hero {
  margin: 0 !important;
  padding: 0 0 18px !important;
  border-bottom: 0 !important;
}

body:has(.rc-search-results-page) .rc-search-hero h1 {
  margin-bottom: 18px !important;
  font-size: 26px !important;
  letter-spacing: 0 !important;
}

body:has(.rc-search-results-page) .rc-search-hero h1 span {
  color: #1c8a4d !important;
}

body:has(.rc-search-results-page) .rc-search-menu-form {
  max-width: 760px !important;
  margin-bottom: 0 !important;
  border-color: #e4e4e4 !important;
  border-radius: 12px !important;
  background: #fff !important;
}

body:has(.rc-search-results-page) .rc-search-explorer-grid {
  display: grid !important;
  grid-template-columns: 230px minmax(0, 1fr) !important;
  gap: 28px !important;
  align-items: start !important;
  margin-top: 22px !important;
}

body:has(.rc-search-results-page) .rc-search-filter-panel {
  position: sticky !important;
  top: 92px !important;
  display: grid !important;
  gap: 2px !important;
  padding: 8px !important;
  border: 1px solid #e4e4e4 !important;
  border-radius: 12px !important;
  background: #fff !important;
}

body:has(.rc-search-results-page) .rc-search-filter-panel a {
  display: flex !important;
  min-height: 42px !important;
  padding: 0 12px !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  border-radius: 9px !important;
  color: #444 !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  text-decoration: none !important;
}

body:has(.rc-search-results-page) .rc-search-filter-panel a:hover {
  background: #f5f5f5 !important;
}

body:has(.rc-search-results-page) .rc-search-filter-panel a.is-active {
  background: #111 !important;
  color: #fff !important;
}

body:has(.rc-search-results-page) .rc-search-filter-panel a span {
  display: inline-flex !important;
  min-width: 0 !important;
  align-items: center !important;
  gap: 9px !important;
}

body:has(.rc-search-results-page) .rc-search-filter-panel a i {
  display: inline-grid !important;
  width: 18px !important;
  place-items: center !important;
  color: inherit !important;
  font-style: normal !important;
}

body:has(.rc-search-results-page) .rc-search-filter-panel a strong {
  color: #999 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

body:has(.rc-search-results-page) .rc-search-filter-panel a.is-active strong {
  color: #d9d9d9 !important;
}

body:has(.rc-search-results-page) .rc-search-mobile-chips {
  display: none !important;
}

body:has(.rc-search-results-page) .rc-search-results-toolbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin-bottom: 14px !important;
}

body:has(.rc-search-results-page) .rc-search-results-toolbar .rc-search-results-count {
  margin: 0 !important;
  border-color: #e4e4e4 !important;
  background: #fff !important;
}

body:has(.rc-search-results-page) .rc-search-sort {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #6b6b6b !important;
  font-size: 13px !important;
}

body:has(.rc-search-results-page) .rc-search-sort label {
  margin: 0 !important;
  color: #6b6b6b !important;
  font-size: 13px !important;
  font-weight: 650 !important;
}

body:has(.rc-search-results-page) .rc-search-sort select {
  min-height: 34px !important;
  padding: 6px 10px !important;
  border: 1px solid #e4e4e4 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #222 !important;
  font-size: 13px !important;
}

body:has(.rc-search-results-page) .rc-search-result-card {
  border-color: #e4e4e4 !important;
  border-radius: 12px !important;
}

body:has(.rc-search-results-page) .rc-search-result-type {
  display: inline-flex !important;
  width: auto !important;
  text-transform: uppercase !important;
  letter-spacing: 0 !important;
  background: #eef1f4 !important;
  color: #5a6470 !important;
}

body:has(.rc-search-results-page) .rc-search-result-type--experts {
  background: #eaf3ff !important;
  color: #2b6cb0 !important;
}

body:has(.rc-search-results-page) .rc-search-result-type--labs {
  background: #eef7f0 !important;
  color: #1c8a4d !important;
}

body:has(.rc-search-results-page) .rc-search-result-type--equipment {
  background: #fff3e6 !important;
  color: #b9651b !important;
}

body:has(.rc-search-results-page) .rc-search-result-type--publications {
  background: #f3eefb !important;
  color: #6b46c1 !important;
}

body:has(.rc-search-results-page) .rc-search-result-type--projects {
  background: #fdeef3 !important;
  color: #b83280 !important;
}

body:has(.rc-search-results-page) .rc-search-result-type--events {
  background: #fde8e8 !important;
  color: #c0392b !important;
}

body:has(.rc-search-results-page) .rc-search-result-icon {
  border-radius: 12px !important;
}

@media (max-width: 860px) {
  body:has(.rc-search-results-page) .rc-search-results-page {
    padding: 0 18px 48px !important;
  }

  body:has(.rc-search-results-page) .rc-search-explorer-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-top: 14px !important;
  }

  body:has(.rc-search-results-page) .rc-search-filter-panel {
    display: none !important;
  }

  body:has(.rc-search-results-page) .rc-search-mobile-chips {
    display: flex !important;
    gap: 8px !important;
    margin: 2px -18px 0 !important;
    padding: 0 18px 8px !important;
    overflow-x: auto !important;
  }

  body:has(.rc-search-results-page) .rc-search-mobile-chips a {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    gap: 7px !important;
    align-items: center !important;
    border: 1px solid #e4e4e4 !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #444 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
  }

  body:has(.rc-search-results-page) .rc-search-mobile-chips a.is-active {
    border-color: #111 !important;
    background: #111 !important;
    color: #fff !important;
  }

body:has(.rc-search-results-page) .rc-search-results-toolbar {
    align-items: flex-start !important;
    flex-direction: column !important;
  }
}

/* Search results final refinement: preview-style single horizontal rows, black and white only. */
body:has(.rc-search-results-page) .rc-search-results-page {
  width: min(100%, 1120px) !important;
  padding-top: 34px !important;
}

body:has(.rc-search-results-page) .rc-search-hero {
  padding-bottom: 4px !important;
}

body:has(.rc-search-results-page) .rc-search-hero h1 span {
  color: #111 !important;
}

body:has(.rc-search-results-page) .rc-search-menu-form {
  display: none !important;
}

body:has(.rc-search-results-page) .rc-search-explorer-grid {
  grid-template-columns: 230px minmax(0, 1fr) !important;
  gap: 28px !important;
}

body:has(.rc-search-results-page) .rc-search-results-toolbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body:has(.rc-search-results-page) .rc-search-results-toolbar .rc-search-results-count {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #555 !important;
  box-shadow: none !important;
}

body:has(.rc-search-results-page) .rc-search-sort {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body:has(.rc-search-results-page) .rc-search-sort select {
  min-height: 30px !important;
  padding: 2px 22px 2px 6px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #111 !important;
  box-shadow: none !important;
}

body:has(.rc-search-results-page) .rc-search-list,
body:has(.rc-search-results-page) .rc-search-list--dual {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 14px !important;
}

body:has(.rc-search-results-page) .rc-search-result-card {
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr) minmax(128px, auto) !important;
  grid-template-rows: auto !important;
  min-height: 0 !important;
  padding: 18px 20px !important;
  gap: 16px !important;
  align-items: start !important;
  border: 1px solid #e4e4e4 !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #111 !important;
  box-shadow: none !important;
}

body:has(.rc-search-results-page) .rc-search-result-card:hover {
  border-color: #bbb !important;
  transform: none !important;
  box-shadow: none !important;
}

body:has(.rc-search-results-page) .rc-search-result-icon {
  grid-row: auto !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 12px !important;
  background: #f3f4f6 !important;
  color: #111 !important;
  filter: grayscale(1) !important;
  overflow: hidden !important;
}

body:has(.rc-search-results-page) .rc-search-result-icon img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  filter: grayscale(1) !important;
}

body:has(.rc-search-results-page) .rc-search-result-content {
  grid-column: auto !important;
}

body:has(.rc-search-results-page) .rc-search-result-type,
body:has(.rc-search-results-page) .rc-search-result-type--experts,
body:has(.rc-search-results-page) .rc-search-result-type--labs,
body:has(.rc-search-results-page) .rc-search-result-type--equipment,
body:has(.rc-search-results-page) .rc-search-result-type--publications,
body:has(.rc-search-results-page) .rc-search-result-type--projects,
body:has(.rc-search-results-page) .rc-search-result-type--events {
  background: #f1f1f1 !important;
  color: #111 !important;
}

body:has(.rc-search-results-page) .rc-search-result-content h3 {
  font-size: 16.5px !important;
  line-height: 1.28 !important;
}

body:has(.rc-search-results-page) .rc-search-result-content p {
  font-size: 13.5px !important;
  color: #444 !important;
}

body:has(.rc-search-results-page) .rc-search-result-details {
  grid-template-columns: 1fr 1fr !important;
  gap: 7px 18px !important;
  margin-top: 10px !important;
}

body:has(.rc-search-results-page) .rc-search-result-details div {
  grid-template-columns: 92px minmax(0, 1fr) !important;
}

body:has(.rc-search-results-page) .rc-search-result-action {
  grid-column: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  justify-self: end !important;
  align-self: start !important;
  margin-top: 0 !important;
  min-width: 128px !important;
}

body:has(.rc-search-results-page) .rc-search-result-action a {
  width: 100% !important;
  min-width: 128px !important;
  background: #111 !important;
  color: #fff !important;
}

body:has(.rc-search-results-page) .rc-search-result-action button {
  display: inline-flex !important;
  width: 100% !important;
  min-width: 128px !important;
  height: 38px !important;
  gap: 6px !important;
  align-items: center !important;
  justify-content: center !important;
  border-color: #e4e4e4 !important;
  border-radius: 9px !important;
  color: #111 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

body:has(.rc-search-results-page) .rc-search-result-action .rc-follow-local {
  background: #fff !important;
  color: #111 !important;
}

body:has(.rc-search-results-page) .rc-search-result-action .rc-follow-local.is-following {
  background: #111 !important;
  color: #fff !important;
  border-color: #111 !important;
}

/* Researcher profile header actions, network counts, QR and centered message modal. */
.rc-researcher-profile-page .rc-profile-hero--identity {
  display: grid !important;
  grid-template-columns: 128px minmax(0, 1fr) 260px !important;
  gap: 24px !important;
  align-items: start !important;
}

.rc-researcher-profile-page .rc-profile-actions--header {
  position: static !important;
  grid-column: 3 !important;
  grid-row: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  width: 260px !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
}

.rc-researcher-profile-page .rc-profile-action-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
}

.rc-researcher-profile-page .rc-profile-follow-action,
.rc-researcher-profile-page .rc-profile-outline-action {
  display: inline-flex !important;
  min-height: 44px !important;
  padding: 0 16px !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #171717 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #171717 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

.rc-researcher-profile-page .rc-profile-follow-action {
  background: #171717 !important;
  color: #fff !important;
}

.rc-researcher-profile-page .rc-profile-follow-action.is-following {
  background: #fff !important;
  color: #171717 !important;
}

.rc-researcher-profile-page .rc-profile-qr-card {
  display: grid !important;
  width: 100% !important;
  min-height: 0 !important;
  padding: 14px !important;
  gap: 8px !important;
  border: 1px solid #deded8 !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #6f6f6a !important;
  text-align: center !important;
}

.rc-researcher-profile-page .rc-profile-qr-card img {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1 !important;
  object-fit: contain !important;
  border-radius: 6px !important;
}

.rc-researcher-profile-page .rc-profile-qr-card span {
  color: #6f6f6a !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.rc-researcher-profile-page .rc-profile-action-icon {
  align-self: flex-end !important;
}

.rc-researcher-profile-page .rc-profile-follow-line {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 22px !important;
  margin: 10px 0 8px !important;
  color: #6f6f6a !important;
  font-size: 14px !important;
  font-weight: 650 !important;
}

.rc-researcher-profile-page .rc-profile-follow-line strong {
  color: #171717 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

.rc-profile-message-modal[hidden] {
  display: none !important;
}

.rc-profile-message-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  background: rgba(17, 17, 17, .45) !important;
}

.rc-profile-message-box {
  position: relative !important;
  width: min(100%, 480px) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28) !important;
  overflow: hidden !important;
}

.rc-profile-message-box h3 {
  margin: 0 !important;
  padding: 18px 58px 18px 20px !important;
  border-bottom: 1px solid #f1f1f1 !important;
  color: #171717 !important;
  font-size: 18px !important;
  font-weight: 900 !important;
}

.rc-profile-message-box p {
  margin: 0 !important;
  padding: 18px 20px 0 !important;
  color: #6f6f6a !important;
  font-size: 13px !important;
}

.rc-profile-message-box form {
  padding: 14px 20px 20px !important;
}

.rc-profile-message-box label {
  display: block !important;
  margin: 0 0 8px !important;
  color: #6f6f6a !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

.rc-profile-message-box textarea {
  width: 100% !important;
  min-height: 150px !important;
  padding: 12px 14px !important;
  border: 1px solid #deded8 !important;
  border-radius: 10px !important;
  resize: vertical !important;
}

.rc-profile-message-close {
  position: absolute !important;
  top: 12px !important;
  right: 14px !important;
  display: inline-grid !important;
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  place-items: center !important;
  border: 1px solid #deded8 !important;
  border-radius: 9px !important;
  background: #fff !important;
  color: #555 !important;
  font-size: 15px !important;
}

.rc-profile-message-actions {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  margin-top: 14px !important;
}

.rc-profile-message-actions button {
  min-height: 40px !important;
  padding: 0 20px !important;
  border: 1px solid #deded8 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #171717 !important;
  font-weight: 800 !important;
}

.rc-profile-message-actions .rc-profile-message-send {
  border-color: #171717 !important;
  background: #171717 !important;
  color: #fff !important;
}

@media (max-width: 920px) {
  .rc-researcher-profile-page .rc-profile-hero--identity {
    grid-template-columns: 112px minmax(0, 1fr) !important;
  }

  .rc-researcher-profile-page .rc-profile-actions--header {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    width: 100% !important;
    margin: 0 !important;
  }
}

@media (max-width: 620px) {
  .rc-researcher-profile-page .rc-profile-hero--identity {
    grid-template-columns: 1fr !important;
  }

  .rc-researcher-profile-page .rc-profile-action-row {
    grid-template-columns: 1fr !important;
  }
}

/* Expert directory compact rows for very large directories. */
.rc-experts-page .rc-expert-card,
.rc-experts-page .rc-expert-card--compact {
  display: grid !important;
  grid-template-columns: 88px minmax(0, 1fr) auto !important;
  gap: 16px !important;
  align-items: center !important;
  min-height: 138px !important;
  padding: 18px 20px !important;
}

.rc-experts-page .rc-expert-photo {
  width: 72px !important;
  height: 72px !important;
}

.rc-experts-page .rc-expert-info {
  min-width: 0 !important;
}

.rc-experts-page .rc-expert-name-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: center !important;
}

.rc-experts-page .rc-expert-name-row h3 {
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
}

.rc-experts-page .rc-expert-details {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 8px !important;
  color: #6f6f6a !important;
  font-size: 14px !important;
}

.rc-experts-page .rc-expert-details i {
  width: 1px !important;
  height: 16px !important;
  margin: 2px 4px 0 !important;
  background: #deded8 !important;
}

.rc-experts-page .rc-expert-tags {
  margin-top: 10px !important;
}

.rc-experts-page .rc-expert-stats {
  display: flex !important;
  width: fit-content !important;
  max-width: 100% !important;
  gap: 0 !important;
  justify-content: flex-start !important;
  margin: 8px 0 0 !important;
  padding-top: 8px !important;
  border-top: 1px solid #e7e7e2 !important;
}

.rc-experts-page .rc-expert-stats span {
  padding: 0 12px !important;
  border-left: 1px solid #deded8 !important;
  background: transparent !important;
  color: #6f6f6a !important;
  font-size: 13px !important;
  font-weight: 650 !important;
}

.rc-experts-page .rc-expert-stats span:first-child {
  padding-left: 0 !important;
  border-left: 0 !important;
}

.rc-experts-page .rc-expert-stats strong {
  display: inline !important;
  margin-right: 4px !important;
  color: #171717 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.rc-experts-page .rc-expert-side {
  display: flex !important;
  justify-content: flex-end !important;
  align-self: center !important;
}

.rc-experts-page .rc-expert-actions {
  display: flex !important;
  flex-direction: row !important;
  gap: 8px !important;
  align-items: center !important;
  justify-content: flex-end !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

.rc-experts-page .rc-expert-actions a,
.rc-experts-page .rc-expert-actions button {
  display: inline-flex !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 38px !important;
  padding: 0 14px !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #171717 !important;
  border-radius: 9px !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  text-decoration: none !important;
}

.rc-experts-page .rc-expert-actions .rc-expert-view-profile {
  background: #171717 !important;
  color: #fff !important;
}

.rc-experts-page .rc-expert-actions .rc-expert-follow,
.rc-experts-page .rc-expert-actions .rc-expert-floating-save {
  background: #fff !important;
  color: #171717 !important;
}

.rc-experts-page .rc-expert-actions .rc-expert-follow.is-following,
.rc-experts-page .rc-expert-actions .rc-expert-floating-save.is-saved {
  background: #171717 !important;
  color: #fff !important;
}

.rc-experts-page .rc-expert-availability {
  margin-top: 0 !important;
  white-space: nowrap !important;
}

/* Profile header text polish. */
.rc-researcher-profile-page .rc-profile-name {
  margin: 0 !important;
  color: #171717 !important;
  font-size: 28px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
}

.rc-researcher-profile-page .rc-profile-follow-line {
  margin: 8px 0 12px !important;
}

.rc-researcher-profile-page .rc-profile-position,
.rc-researcher-profile-page .rc-profile-role {
  margin-bottom: 6px !important;
  color: #171717 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

.rc-researcher-profile-page .rc-profile-meta {
  display: grid !important;
  gap: 5px !important;
}

.rc-researcher-profile-page .rc-profile-meta-line {
  display: flex !important;
  gap: 9px !important;
  align-items: center !important;
  color: #6f6f6a !important;
  font-size: 14px !important;
  font-weight: 650 !important;
}

.rc-researcher-profile-page .rc-profile-meta-icon {
  display: inline-grid !important;
  width: 16px !important;
  place-items: center !important;
  color: #999 !important;
  font-size: 13px !important;
}

@media (max-width: 980px) {
  .rc-experts-page .rc-expert-card,
  .rc-experts-page .rc-expert-card--compact {
    grid-template-columns: 72px minmax(0, 1fr) !important;
  }

  .rc-experts-page .rc-expert-side {
    grid-column: 2 !important;
    justify-content: flex-start !important;
  }
}

@media (max-width: 640px) {
  .rc-experts-page .rc-expert-card,
  .rc-experts-page .rc-expert-card--compact {
    grid-template-columns: 1fr !important;
  }

  .rc-experts-page .rc-expert-side {
    grid-column: 1 !important;
  }

  .rc-experts-page .rc-expert-actions {
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
  }
}

body:has(.rc-search-results-page) .rc-search-result-action button span {
  display: inline !important;
}

body:has(.rc-search-results-page) .rc-search-filter-panel a,
body:has(.rc-search-results-page) .rc-search-mobile-chips a {
  color: #444 !important;
}

body:has(.rc-search-results-page) .rc-search-filter-panel a.is-active,
body:has(.rc-search-results-page) .rc-search-mobile-chips a.is-active {
  border-color: #111 !important;
  background: #111 !important;
  color: #fff !important;
}

body:has(.rc-search-results-page) .rc-search-filter-panel a strong,
body:has(.rc-search-results-page) .rc-search-mobile-chips a strong {
  color: #999 !important;
}

body:has(.rc-search-results-page) .rc-search-filter-panel a.is-active strong,
body:has(.rc-search-results-page) .rc-search-mobile-chips a.is-active strong {
  color: #fff !important;
}

@media (max-width: 900px) {
  body:has(.rc-search-results-page) .rc-search-explorer-grid {
    grid-template-columns: 1fr !important;
  }

  body:has(.rc-search-results-page) .rc-search-result-card {
    grid-template-columns: 52px minmax(0, 1fr) !important;
  }

  body:has(.rc-search-results-page) .rc-search-result-action {
    grid-column: 2 !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-self: start !important;
    min-width: 0 !important;
    margin-top: 12px !important;
  }

  body:has(.rc-search-results-page) .rc-search-result-action a,
  body:has(.rc-search-results-page) .rc-search-result-action button {
    width: auto !important;
    min-width: 118px !important;
  }
}

@media (max-width: 620px) {
  body:has(.rc-search-results-page) .rc-search-results-toolbar {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  body:has(.rc-search-results-page) .rc-search-result-card {
    grid-template-columns: 1fr !important;
  }

  body:has(.rc-search-results-page) .rc-search-result-action {
    grid-column: 1 !important;
  }
}

/* Final responsive enforcement: keep this block at the real EOF. */
.rc-site {
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-x: clip !important;
}

.rc-site .rc-topbar {
  height: auto !important;
  min-height: 54px !important;
}

.rc-site .rc-topbar__inner.rc-topbar-inner {
  display: flex !important;
  max-width: 100% !important;
  min-width: 0 !important;
  flex-wrap: wrap !important;
}

.rc-site .rc-search.rc-search-wrap {
  flex: 1 1 280px !important;
  min-width: 180px !important;
  max-width: 520px !important;
}

.rc-site .rc-directory-redesign,
.rc-site .rc-search-results-page,
.rc-site .rc-researcher-profile-page,
.rc-site .rc-workspace-page,
.rc-site .layout--pass--content-medium,
.rc-site .layout--pass--content-narrow {
  width: min(100%, 1200px) !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.rc-site .rc-expert-card,
.rc-site .rc-expert-card--compact {
  grid-template-columns: clamp(56px, 8vw, 88px) minmax(0, 1fr) auto !important;
  min-width: 0 !important;
}

.rc-site .rc-expert-actions,
.rc-site .rc-search-result-action,
.rc-site .rc-profile-action-row,
.rc-site .rc-feed-bottom,
.rc-site .rc-feed-left-actions,
.rc-site .rc-feed-social-actions {
  flex-wrap: wrap !important;
  min-width: 0 !important;
  white-space: normal !important;
}

.rc-site .rc-expert-actions {
  flex-direction: row !important;
}

.rc-site .rc-expert-actions a,
.rc-site .rc-expert-actions button,
.rc-site .rc-search-result-action a,
.rc-site .rc-search-result-action button {
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
}

.rc-site .rc-researcher-profile-page .rc-profile-hero--identity {
  grid-template-columns: clamp(84px, 11vw, 128px) minmax(0, 1fr) minmax(180px, 260px) !important;
  max-width: 100% !important;
}

.rc-site .rc-researcher-profile-page .rc-profile-actions--header {
  width: min(100%, 260px) !important;
}

.rc-site .rc-registration-legal-modal[open],
.rc-site .rc-profile-message-modal,
.rc-site [data-rc-profile-message-modal] {
  position: fixed !important;
  inset: 0 !important;
  display: flex !important;
  width: auto !important;
  height: auto !important;
  min-height: 100dvh !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: auto !important;
}

.rc-site .rc-profile-message-box,
.rc-site .rc-registration-legal-modal__panel {
  width: min(100%, 520px) !important;
  max-height: calc(100dvh - 32px) !important;
  overflow: auto !important;
}

@media (max-width: 1024px) {
  .rc-site .rc-search.rc-search-wrap {
    order: 8 !important;
    flex-basis: 100% !important;
    max-width: 100% !important;
  }

  .rc-site .rc-expert-card,
  .rc-site .rc-expert-card--compact {
    grid-template-columns: clamp(56px, 9vw, 72px) minmax(0, 1fr) !important;
  }

  .rc-site .rc-expert-side,
  .rc-site .rc-expert-actions {
    justify-content: flex-start !important;
  }

  .rc-site .rc-researcher-profile-page .rc-profile-hero--identity {
    grid-template-columns: 112px minmax(0, 1fr) !important;
  }

  .rc-site .rc-researcher-profile-page .rc-profile-actions--header {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin: 0 !important;
  }
}

@media (max-width: 760px) {
  .rc-site .rc-main-menu.rc-top-nav,
  .rc-site .rc-search.rc-search-wrap {
    width: 100% !important;
  }

  .rc-site .rc-search-explorer-grid,
  .rc-site .rc-search-results-layout,
  .rc-site .rc-search-result-card,
  .rc-site .rc-newsfeed-card-top,
  .rc-site .rc-newsfeed-title-row,
  .rc-site .rc-researcher-profile-page .rc-profile-hero--identity,
  .rc-site .layout--pass--content-medium,
  .rc-site .layout--pass--content-narrow {
    grid-template-columns: 1fr !important;
  }

  .rc-site .rc-search-result-action,
  .rc-site .rc-expert-side {
    grid-column: 1 !important;
  }
}

@media (max-width: 480px) {
  .rc-site .rc-expert-card,
  .rc-site .rc-expert-card--compact,
  .rc-site .rc-search-result-card,
  .rc-site .rc-newsfeed-item-card {
    grid-template-columns: 1fr !important;
    padding: 14px !important;
  }

  .rc-site .rc-profile-action-row,
  .rc-site .rc-profile-message-actions {
    flex-direction: column !important;
  }

  .rc-site .rc-profile-action-row > *,
  .rc-site .rc-profile-message-actions > *,
  .rc-site .rc-expert-actions > *,
  .rc-site .rc-search-result-action > * {
    width: 100% !important;
  }
}

/* Profile search: photo immediately follows the user's name. */
.rc-search-results-page .rc-search-person-name { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; }
.rc-search-results-page .rc-search-person-name > span { min-width: 0; overflow-wrap: anywhere; }
.rc-search-results-page .rc-search-result-content .rc-search-person-avatar { display: block; width: 40px; height: 40px; min-width: 40px; flex: 0 0 40px; border-radius: 50%; object-fit: cover; }

/* Preserve readable Drupal feedback across the application. */
/* Keep Add new feedback readable within the native form layout. */
body.user-logged-in .rc-create-form-shell .messages {
  display: block !important;
  position: relative !important;
  top: auto !important;
  z-index: auto !important;
  width: 100% !important;
  box-sizing: border-box;
  padding: 14px 16px !important;
  margin: 16px 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  min-height: 0 !important;
  color: #24282d !important;
}
body.user-logged-in .rc-create-form-shell .messages[hidden] { display: none !important; }
body.user-logged-in .rc-create-form-shell .messages::before { content: none !important; }
body.user-logged-in .rc-create-form-shell .messages__container {
  display: flex; align-items: flex-start; gap: 10px; min-width: 0;
}
body.user-logged-in .rc-create-form-shell .messages__header { flex: 0 0 20px; margin: 0 !important; }
body.user-logged-in .rc-create-form-shell .messages__icon,
body.user-logged-in .rc-create-form-shell .messages__icon svg {
  display: block !important; width: 20px !important; height: 20px !important;
  max-width: 20px !important; max-height: 20px !important;
}
body.user-logged-in .rc-create-form-shell .messages__content {
  flex: 1; min-width: 0; color: inherit !important;
  font-size: 14px; font-weight: 400; line-height: 1.5; overflow-wrap: anywhere;
}
body.user-logged-in .rc-create-form-shell .messages__content :is(p, li, details, summary) { color: inherit !important; }
body.user-logged-in .rc-create-form-shell .messages__button button,
body.user-logged-in .rc-create-form-shell .messages__close {
  width: 24px !important; height: 24px !important; min-height: 24px !important; padding: 2px !important;
}
body.user-logged-in .rc-create-form-shell .messages__button svg,
body.user-logged-in .rc-create-form-shell .messages__close svg { width: 18px !important; height: 18px !important; }
