/* Resource Center — page-template styles (hybrid chrome) */

.resource-center-page {
  --rc-burgundy: #592436;
  --rc-burgundy-deep: #4a1d2a;
  --rc-cream: #faf3e6;
  --rc-cream-soft: #fdf8ef;
  --rc-text: #291018;
  --rc-muted: #5c3a44;
  --rc-tag-bg: #f2e6ce;
  --rc-tag-border: #f2e6ce;
  --rc-teal: #bfe0d0;
  --rc-teal-hover: #acc4b8;
  --rc-orange: #e85d2a;
  --rc-orange-hover: #d14f21;
  --rc-border: #e5d7c2;
  --rc-serif: "Season Mix", Georgia, serif;
  --rc-sans: "Season Mix", Arial, sans-serif;
  --rc-max-width: 1524px;
  font-family: "Season Mix", Arial, sans-serif !important;
}

.resource-center-page,
.resource-center-page body,
.resource-center-page .wrapper,
.resource-center-page .wrapper-content,
.resource-center-page .rc-content-area,
.resource-center-page .rc-site-main,
.resource-center-page .rc-header,
.resource-center-page .rc-hero,
.resource-center-page .rc-body,
.resource-center-page .rc-footer,
.resource-center-page .rc-modal,
.resource-center-page h1,
.resource-center-page h2,
.resource-center-page h3,
.resource-center-page h4,
.resource-center-page p,
.resource-center-page a,
.resource-center-page button,
.resource-center-page input,
.resource-center-page textarea,
.resource-center-page select,
.resource-center-page .fc,
.resource-center-page .fc * {
  font-family: "Season Mix", Arial, sans-serif !important;
}

/* Hide global site header on Resource Center only */
.resource-center-page .header,
.resource-center-page .p-preloader {
  display: none !important;
}

.resource-center-page .wrapper-content {
  padding-top: 0;
}

.resource-center-page .rc-content-area,
.resource-center-page .rc-site-main {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: none;
}

/* Sticky RC header */
.rc-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--rc-burgundy-deep);
  color: #fff;
}

.rc-header__inner {
  position: relative;
  max-width: var(--rc-max-width);
  margin: 0 auto;
  padding: 40px 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-sizing: border-box;
}

.rc-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 2;
}

.rc-header__logo img {
  display: block;
  height: auto;
  max-height: 64px;
  width: auto;
  max-width: 220px;
}

.rc-header__checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

/* Hide on desktop; parent theme forces `input[type=checkbox] + label { display: inline-block }` */
.rc-header__checkbox + .rc-header__toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.rc-header__checkbox + .rc-header__toggle::before,
.rc-header__checkbox + .rc-header__toggle::after {
  content: none !important;
  display: none !important;
}

.rc-header__toggle-bar {
  display: block;
  position: absolute;
  left: 5px;
  width: 30px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    top 0.2s ease;
}

.rc-header__toggle-bar:nth-child(2) {
  top: 12px;
}

.rc-header__toggle-bar:nth-child(3) {
  top: 19px;
}

.rc-header__toggle-bar:nth-child(4) {
  top: 26px;
}

.rc-header__checkbox:checked
  ~ .rc-header__toggle
  .rc-header__toggle-bar:nth-child(2) {
  top: 19px;
  transform: rotate(45deg);
}

.rc-header__checkbox:checked
  ~ .rc-header__toggle
  .rc-header__toggle-bar:nth-child(3) {
  opacity: 0;
}

.rc-header__checkbox:checked
  ~ .rc-header__toggle
  .rc-header__toggle-bar:nth-child(4) {
  top: 19px;
  transform: rotate(-45deg);
}

.rc-header__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem 1.75rem;
}

.rc-header__link {
  font-family: var(--rc-sans);
  font-size: 0.95rem;
  font-weight: 420;
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition:
    border-color 0.2s ease,
    opacity 0.2s ease;
}

.rc-header__link--external {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.rc-header__external-icon {
  flex-shrink: 0;
  width: 0.85em;
  height: 0.85em;
  opacity: 0.9;
}

.rc-header__link:hover {
  opacity: 0.9;
  border-bottom-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.rc-header__link.is-active {
  border-bottom-color: #fff;
}

.rc-header__link--logout {
  position: relative;
  margin-left: 2.25rem;
  padding-left: 0;
  border-left: none;
  opacity: 0.85;
}

.rc-header__link--logout::before {
  content: '';
  position: absolute;
  left: -1.75rem;
  top: 0.1em;
  bottom: calc(0.1em + 2px);
  width: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.rc-header__link--logout:hover {
  opacity: 1;
}

/* Hero */
.rc-hero {
  position: relative;
  height: 674px;
  min-height: 674px;
  background-image: var(--rc-hero-image, var(--rc-hero-desktop));
  background-size: cover;
  background-position: center top;
  display: flex;
  align-items: flex-end;
  color: #fff;
  box-sizing: border-box;
}

.rc-hero--resources,
.rc-hero--calendar,
.rc-hero--comms {
  background-image: var(--rc-hero-desktop);
  background-position: center center;
}

/* Bias toward the top so the subject’s head isn’t cropped. */
.rc-hero--resources {
  background-position: center 22%;
}

.rc-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(41, 16, 24, 0.15) 0%,
    rgba(41, 16, 24, 0.55) 55%,
    rgba(41, 16, 24, 0.78) 100%
  );
}

.rc-hero--resources .rc-hero__overlay,
.rc-hero--calendar .rc-hero__overlay,
.rc-hero--comms .rc-hero__overlay {
  background: linear-gradient(
    180deg,
    rgba(41, 16, 24, 0.08) 0%,
    rgba(41, 16, 24, 0.35) 45%,
    rgba(41, 16, 24, 0.72) 100%
  );
}

.rc-hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--rc-max-width);
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1.5rem 2.5rem 1.5rem;
  color: #faf3e6;
}

.rc-hero__title {
  font-family: var(--rc-serif);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 470;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  color: #faf3e6;
  width: 478px;
}

.rc-hero__intro {
  font-family: var(--rc-sans);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 500px;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
}

.rc-hero__credit {
  position: absolute;
  right: 1.5rem;
  bottom: 1rem;
  z-index: 1;
  max-width: min(520px, 46%);
  margin: 0;
  font-family: var(--rc-sans);
  font-size: 0.75rem;
  line-height: 1.4;
  text-align: right;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0 !important;
}

.rc-hero--comms .rc-hero__credit {
  font-size: 0.65rem;
}

.rc-hero__credit-break {
  display: block;
}

@media (max-width: 720px) {
  .rc-hero {
    height: auto;
    min-height: min(72vh, 560px);
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
  }

  .rc-hero--resources,
  .rc-hero--calendar,
  .rc-hero--comms {
    background-image: var(--rc-hero-mobile);
    background-position: center top;
  }

  .rc-hero--resources .rc-hero__overlay,
  .rc-hero--calendar .rc-hero__overlay,
  .rc-hero--comms .rc-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(41, 16, 24, 0.05) 0%,
      rgba(41, 16, 24, 0.25) 40%,
      rgba(41, 16, 24, 0.78) 100%
    );
  }

  .rc-hero__content {
    padding-bottom: 0.75rem;
  }

  .rc-hero__title,
  .rc-hero__intro {
    width: auto;
    max-width: none;
  }

  .rc-hero__credit {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    width: 100%;
    padding: 0 1rem 1rem;
    font-size: 0.65rem;
    box-sizing: border-box;
  }

  .rc-hero--comms .rc-hero__credit {
    font-size: 0.55rem;
  }

  .rc-hero__credit-break {
    display: none;
  }
}

.rc-hero--approvals {
  height: auto;
  min-height: 0;
  background: var(--rc-burgundy-deep);
  background-image: none;
  align-items: center;
}

.rc-hero--approvals .rc-hero__content {
  padding: 1.75rem 1.5rem;
}

.rc-hero--approvals .rc-hero__title {
  width: auto;
  max-width: 40rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.5rem;
}

.rc-hero--approvals .rc-hero__intro {
  max-width: 42rem;
  font-size: 1rem;
}

@media (max-width: 720px) {
  .rc-hero--approvals {
    min-height: 0;
  }

  .rc-hero--approvals .rc-hero__content {
    padding: 1.35rem 1.5rem;
  }
}

/* Body layout */
.rc-body {
  background: var(--rc-cream);
  color: var(--rc-text);
  padding: 2.5rem 1.5rem 3.5rem;
}

.rc-layout {
  max-width: var(--rc-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 80px;
  align-items: start;
}

.rc-main {
  min-width: 0;
}

.rc-section-title {
  color: var(--new-o3, #592516);
  /* Resource center/H2 */
  font-family: "Season Mix";
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 43.2px; /* 120% */
}

.rc-all__intro {
  margin: 0.75rem 0 1.5rem;
  max-width: 42rem;
}

.rc-all__intro p {
  margin: 0 0 0.75rem;
  font-family: var(--rc-sans);
  font-size: 18px;
  line-height: 1.55;
  color: var(--rc-text);
}

.rc-all__intro p:last-child {
  margin-bottom: 0;
}

.rc-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em;
  flex-shrink: 0;
}

/* Featured */
.rc-featured {
  margin-bottom: 2.75rem;
}

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

.rc-featured-card {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
  gap: 1rem 1.15rem;
  align-items: stretch;
  border-radius: 20px;
  border: 1px solid var(--rc-border);
  padding: 1.15rem 1.2rem 1.15rem 1.15rem;
  min-height: 220px;
  box-sizing: border-box;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  width: 100%;
}

.rc-featured-card.is-clickable {
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.rc-featured-card.is-clickable:hover {
  border-color: #d4c4a8;
  box-shadow: 0 8px 24px rgba(41, 16, 24, 0.08);
  transform: translateY(-1px);
}

.rc-featured-card.is-clickable:focus-visible {
  outline: 2px solid var(--rc-burgundy);
  outline-offset: 2px;
}

.rc-featured-card__preview {
  /* background: #fff; */
  border-radius: 8px;
  /* border: 1px solid #efe4d2; */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  /* min-height: 180px; */
  /* box-shadow: 0 1px 4px rgba(41, 16, 24, 0.06); */
}

.rc-featured-card__preview img {
  width: 100%;
  /* height: 100%; */
  object-fit: contain;
  object-position: top center;
  /* display: block;
	background: #fff; */
}

.rc-featured-card__preview-placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  background: linear-gradient(180deg, #f7f0e4 0%, #e8dcc8 100%);
}

.rc-featured-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0.15rem 0.15rem 0 0;
}

.rc-featured-card__tags {
  justify-content: flex-start;
  margin-bottom: 0.65rem;
}

.rc-featured-card__copy {
  flex: 1 1 auto;
}

.rc-featured-card__title {
  font-family: var(--rc-sans);
  font-size: 16px;
  font-weight: 700;
  color: #292110;
  margin: 0 0 0.55rem;
  line-height: 1.25;
}

.rc-featured-card__excerpt {
  font-family: var(--rc-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--rc-text);
  margin: 0;
  max-width: 28rem;
  margin-bottom: 16px !important;
}

.rc-featured-card__excerpt a,
.rc-resource-excerpt a,
.rc-modal__description a {
  color: var(--rc-burgundy);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.rc-featured-card__excerpt a:hover,
.rc-resource-excerpt a:hover,
.rc-modal__description a:hover {
  color: var(--rc-burgundy-deep);
}

.rc-featured-card__footer {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--rc-border);
  font-family: var(--rc-sans);
  font-size: 0.85rem;
  color: var(--rc-muted);
}

.rc-featured-card__footer .rc-file-type,
.rc-featured-card__footer .rc-file-types {
  color: var(--rc-muted);
}

.rc-featured-card__dl {
  display: inline-flex;
  align-items: center;
  color: var(--rc-burgundy);
  text-decoration: none;
  line-height: 1;
}

.rc-featured-card__dl:hover {
  opacity: 0.75;
}

.rc-featured-card__meta,
.rc-resource-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  font-family: var(--rc-sans);
  font-size: 0.85rem;
  color: var(--rc-muted);
  flex-wrap: wrap;
}

.rc-file-types {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
}

.rc-file-type {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* Tags */
.rc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.rc-tag {
  display: inline-block;
  font-family: "Season Mix";
  font-size: 14px;
  font-weight: 700;
  color: var(--rc-burgundy);
  background: var(--rc-tag-bg);
  border: 1px solid var(--rc-tag-border);
  border-radius: 999px;
  padding: 0 16px;
  line-height: 25.6px;
  text-decoration: none;
}

a.rc-tag {
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

a.rc-tag:hover,
a.rc-tag:focus-visible {
  background: #ead9b8;
  border-color: #ead9b8;
  color: var(--rc-burgundy);
  outline: none;
}

a.rc-tag:focus-visible {
  box-shadow: 0 0 0 2px rgba(89, 36, 54, 0.35);
}

/* Keep #all-resources / #past-engagements below the sticky RC header when filters reload the page. */
#all-resources,
#past-engagements {
  scroll-margin-top: 9rem;
}

/* Filters — match category tag styling */
.rc-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.rc-filter-pill {
  display: inline-block;
  font-family: "Season Mix", var(--rc-serif), Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--rc-burgundy);
  background: var(--rc-tag-bg);
  border: 1px solid var(--rc-tag-border);
  border-radius: 999px;
  padding: 0 16px;
  line-height: 25.6px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.rc-filter-pill:hover {
  background: #e8dcc8;
  border-color: #e8dcc8;
  color: var(--rc-burgundy);
}

.rc-filter-pill.is-active {
  background: var(--rc-burgundy);
  border-color: var(--rc-burgundy);
  color: #fff;
}

/* Search */
.rc-search {
  margin-bottom: 0 !important;
}

.rc-search__label {
  display: block;
  font-family: var(--rc-sans);
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.rc-search__input {
  width: 100%;
  font-family: var(--rc-sans);
  font-size: 0.95rem;
  color: var(--rc-text);
  border: 1px solid var(--rc-border);
  background: none !important;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;

    @media (max-width: 720px) {
      font-size: 14px;
    }
}

.rc-search__input:focus {
  border-color: var(--rc-burgundy);
  box-shadow: 0 0 0 3px rgba(89, 36, 54, 0.12);
}

/* Table / list */
.rc-table {
  /* Shared track sizes so header + rows stay column-aligned */
  --rc-table-cols: minmax(0, 1.85fr) minmax(140px, 0.55fr) 14.5rem;
  --rc-table-gap: 1rem;
}

.rc-table__head,
.rc-table__row {
  display: grid;
  grid-template-columns: var(--rc-table-cols);
  gap: var(--rc-table-gap);
  column-gap: var(--rc-table-gap);
}

.rc-table__head {
  align-items: center;
  padding: 0.85rem 0;
  font-family: var(--rc-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--rc-text);
  border-bottom: 1px solid var(--rc-border);
}

/* Undo parent [class*=col-] grid helpers (inline-block + gutters) */
.resource-center-page .rc-table__col,
.resource-center-page .rc-table__col--name,
.resource-center-page .rc-table__col--category,
.resource-center-page .rc-table__col--actions {
  display: block !important;
  position: relative;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
  vertical-align: top;
  letter-spacing: normal;
  font-family: inherit;
}

.rc-table__col--name {
  min-width: 0;
}

.rc-table__col--category {
  min-width: 0;
}

.rc-table__col--category .rc-tag {
  white-space: nowrap;
}

.resource-center-page .rc-table__col--actions {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  text-align: right;
  justify-self: stretch;
}

.resource-center-page .rc-table__head .rc-table__col--actions {
  display: block !important;
}

.rc-table__sort {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--rc-text);
  text-decoration: none;
  font-weight: 500;
}

.rc-table__sort:hover {
  color: var(--rc-burgundy);
}

.rc-table__sort-icon {
  display: inline-flex;
  opacity: 0.55;
  line-height: 0;
}

.rc-table__sort.is-active .rc-table__sort-icon {
  opacity: 1;
  color: var(--rc-burgundy);
}

.rc-table__sort.is-asc .rc-table__sort-icon path:last-child {
  opacity: 0.3;
}

.rc-table__sort.is-desc .rc-table__sort-icon path:first-child {
  opacity: 0.3;
}

.rc-table__category-filter {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
}

.rc-table__category-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--rc-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--rc-text);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.rc-table__category-trigger:focus {
  outline: none;
}

.rc-table__category-trigger:focus-visible {
  outline: 2px solid var(--rc-burgundy);
  outline-offset: 2px;
}

.rc-table__category-value {
  white-space: nowrap;
}

.rc-table__category-chevron {
  flex-shrink: 0;
  pointer-events: none;
  color: var(--rc-text);
  opacity: 0.7;
  line-height: 0;
  transition: transform 0.15s ease;
}

.rc-table__category-filter.is-open .rc-table__category-chevron {
  transform: rotate(180deg);
}

.rc-table__category-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  z-index: 30;
  min-width: max(100%, 14rem);
  max-width: min(22rem, 80vw);
  max-height: 18rem;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid #1a1a1a;
  overflow: auto;
  overscroll-behavior: contain;
  box-shadow: 0 8px 20px rgba(41, 16, 24, 0.12);
}

.rc-table__category-menu[hidden] {
  display: none !important;
}

.rc-table__category-option {
  display: block;
  padding: 0.45rem 0.85rem;
  font-family: var(--rc-sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--rc-text);
  cursor: pointer;
  white-space: nowrap;
}

.rc-table__category-option:hover,
.rc-table__category-option:focus {
  outline: none;
  background: var(--rc-tag-bg);
  color: var(--rc-burgundy);
}

.rc-table__category-option.is-selected {
  background: var(--rc-burgundy);
  color: #fff;
}

.rc-table__category-option.is-selected:hover,
.rc-table__category-option.is-selected:focus {
  background: var(--rc-burgundy-deep);
  color: #fff;
}

.rc-table__row {
  align-items: start;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--rc-border);
}

.rc-resource-title {
  font-family: var(--rc-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--rc-burgundy);
  margin: 0 0 0.35rem;
}

.rc-resource-excerpt {
  font-family: var(--rc-sans);
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--rc-muted);
  margin: 0 0 0.55rem;
}

/* Below desktop: stack category chips + CTAs */
@media (max-width: 1199px) and (min-width: 721px) {
  .rc-table {
    --rc-table-cols: minmax(0, 1.85fr) max-content minmax(7.5rem, max-content);
  }

  .rc-table__col--category .rc-tags {
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
  }

  .rc-table__col--category .rc-tag {
    font-size: 12px;
    padding: 0 12px;
    line-height: 22px;
  }

  .resource-center-page .rc-table__col--actions {
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .rc-table__col--actions .rc-btn {
    justify-content: center;
  }
}

.rc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--rc-sans);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  padding: 0.45rem 0.8rem;
  border: 1px solid transparent;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
  white-space: nowrap;
}

.rc-btn--download {
  background: var(--rc-teal);
  color: #292110;
}

.rc-btn--download:hover {
  background: var(--rc-teal-hover);
  color: #292110;
}

.rc-btn--view {
  background: var(--rc-tag-bg);
  color: var(--rc-burgundy);
  border-color: var(--rc-border);
  cursor: pointer;
}

.rc-btn--view:hover {
  background: #e2d9c7;
  color: var(--rc-burgundy);
}

.rc-btn--download-modal {
  background: #9fc9bb;
  color: var(--rc-burgundy);
  border: none;
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
}

.rc-btn--download-modal:hover {
  background: #8dbdac;
  color: var(--rc-burgundy);
}

/* View modal — lock page scroll without blanking the page behind the dim overlay */
html.rc-modal-open,
html.rc-modal-open body {
  overflow: hidden !important;
  overscroll-behavior: none;
}

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

.rc-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
  transform: none !important;
  background: transparent;
}

.rc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(41, 16, 24, 0.55);
  pointer-events: auto;
}

.rc-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(1100px, calc(100vw - 3rem));
  height: min(780px, calc(100vh - 3rem));
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  border-radius: 12px;
  background: #f7f2e8;
  color: var(--rc-text);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(41, 16, 24, 0.28);
}

.rc-modal__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--rc-sans);
  font-size: 0.95rem;
  color: var(--rc-burgundy);
  background: transparent;
  border: none;
  cursor: pointer;
}

.rc-modal__close:hover {
  opacity: 0.75;
}

.rc-modal__body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 1.5rem;
  padding: 3.25rem 2rem 1rem;
}

.rc-modal__meta {
  overflow: auto;
  overscroll-behavior: contain;
  padding-right: 0.5rem;
}

.rc-modal__title {
  font-family: var(--rc-serif);
  font-size: clamp(1.75rem, 2.5vw, 2.4rem);
  font-weight: 470;
  color: var(--rc-burgundy);
  margin: 0 0 1rem;
  line-height: 1.2;
}

.rc-modal__file-meta {
  margin-bottom: 1rem;
}

.rc-modal__file-meta .rc-file-types,
.rc-modal__file-meta .rc-file-type {
  color: var(--rc-burgundy);
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.rc-modal__date {
  font-family: var(--rc-sans);
  font-size: 0.9rem;
  color: var(--rc-muted);
  margin: 0.35rem 0 0;
}

.rc-modal__meta .rc-tags {
  margin: 0.85rem 0 1.25rem;
}

.rc-modal__about-label {
  font-family: var(--rc-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rc-burgundy);
  margin: 0 0 0.4rem;
}

.rc-modal__description {
  font-family: var(--rc-sans);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--rc-muted);
  margin: 0;
}

.rc-modal__viewer {
  min-width: 0;
  min-height: 0;
  background: #efe7d8;
  border-radius: 8px;
  overflow: hidden;
}

.rc-pdf {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  height: 100%;
  min-height: 360px;
}

/* Author display rules beat the UA [hidden] stylesheet — force hide. */
.rc-pdf[hidden] {
  display: none !important;
}

.rc-pdf__thumbs {
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0.75rem 0.5rem;
  background: #e8dfd0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.rc-pdf__thumb {
  display: block;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
}

.rc-pdf__thumb canvas {
  display: block;
  width: 100%;
  height: auto;
}

.rc-pdf__thumb.is-active {
  border-color: #3d7a8c;
}

.rc-pdf__stage {
  position: relative;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: #f3ebe0;
}

.rc-pdf__stage canvas {
  max-width: 100%;
  height: auto;
  box-shadow: 0 2px 12px rgba(41, 16, 24, 0.12);
  background: #fff;
}

.rc-pdf__status {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--rc-sans);
  font-size: 0.95rem;
  color: var(--rc-muted);
  margin: 0;
}

.rc-pdf__status.is-error {
  color: #8a2f2f;
}

.rc-modal__image-preview {
  height: 100%;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: auto;
  overscroll-behavior: contain;
  box-sizing: border-box;
}

.rc-modal__image-preview[hidden],
.rc-modal__fallback[hidden] {
  display: none !important;
}

.rc-modal__fallback {
  height: 100%;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  font-family: var(--rc-sans);
  color: var(--rc-muted);
  text-align: center;
}

.rc-modal__preview-image {
  display: block;
  max-width: 100%;
  max-height: min(70vh, 640px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(41, 16, 24, 0.12);
  background: #fff;
}

.rc-pdf__iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  background: #fff;
}

.rc-modal__footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem 1.5rem;
  border-top: 1px solid var(--rc-border);
}

.rc-modal__nav {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--rc-sans);
  font-size: 0.95rem;
  color: var(--rc-burgundy);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.35rem 0;
}

.rc-modal__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.rc-modal__footer > .rc-modal__nav:first-child {
  justify-self: start;
}

.rc-modal__footer > .rc-modal__nav:last-child {
  justify-self: end;
}

.rc-modal__footer .rc-btn--download-modal {
  justify-self: center;
}

@media (max-width: 900px) {
  .rc-modal {
    padding: 1rem;
  }

  .rc-modal__dialog {
    width: calc(100vw - 1.5rem);
    height: calc(100vh - 1.5rem);
    height: calc(100dvh - 1.5rem);
  }

  .rc-modal__body {
    grid-template-columns: 1fr;
    padding: 3rem 1rem 1rem;
    overflow: auto;
    overscroll-behavior: contain;
  }

  .rc-pdf {
    grid-template-columns: 80px minmax(0, 1fr);
    min-height: 40vh;
  }

  .rc-modal__footer {
    padding: 1rem;
  }
}

@media (max-width: 560px) {
  .rc-pdf {
    grid-template-columns: 1fr;
  }

  .rc-pdf__thumbs {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .rc-pdf__thumb {
    flex: 0 0 64px;
  }
}

.rc-btn--accent {
  background: var(--rc-orange);
  color: #fff;
  border: none;
  margin-top: 0.75rem;
  display: flex;
  width: fit-content;
  margin: auto;
}

.rc-btn--accent:hover {
  background: var(--rc-orange-hover);
  color: #fff;
}

.rc-btn--disabled {
  background: #efe6d6;
  color: var(--rc-muted);
  cursor: default;
}

.rc-table__empty,
.rc-empty {
  font-family: var(--rc-sans);
  color: var(--rc-muted);
  padding: 1.5rem;
}

/* Pagination */
.rc-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.75rem;
  padding-top: 0.5rem;
}

.rc-pagination__btn {
  font-family: var(--rc-sans);
  font-size: 0.95rem;
  min-width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--rc-burgundy);
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
}

.rc-pagination__btn:hover {
  border-color: var(--rc-border);
  background: #fff;
  color: var(--rc-burgundy);
}

.rc-pagination__btn.is-current {
  background: var(--rc-burgundy);
  color: #fff;
  border-color: var(--rc-burgundy);
}

.rc-pagination__btn--nav {
  min-width: 2.5rem;
}

.rc-pagination__btn.is-disabled {
  opacity: 0.3;
  pointer-events: none;
}

.rc-pagination__ellipsis {
  color: var(--rc-muted);
  padding: 0 0.25rem;
  font-family: var(--rc-sans);
}

/* Sidebar */
.rc-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rc-widget + .rc-widget {
  border-top: 1px solid var(--rc-border);
  margin-top: 32px;
  padding-top: 32px;
}

.rc-widget__title {
  font-family: var(--rc-serif);
  font-size: 20px;
  font-weight: 670;
  color: var(--rc-burgundy);
  margin: 0 0 0.5rem;
  margin-bottom: 16px !important;
}

.rc-widget__text {
  font-family: var(--rc-sans);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--rc-muted);
  margin: 0 0;
  margin-bottom: 16px !important;
}

.rc-widget__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--rc-sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--rc-burgundy);
  text-underline-offset: 3px;
  text-decoration: underline;
  margin-top: 0;
}

.rc-widget__link:hover {
  color: var(--rc-orange);
}

.rc-widget__box {
  background: #fff;
  border: 1px solid var(--rc-border);
  border-radius: 10px;
  padding: 1rem;
}

.rc-widget__box-label {
  font-family: var(--rc-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rc-burgundy);
  margin: 0 0 0.5rem;
}

.rc-upcoming {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.rc-upcoming li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.rc-upcoming__date {
  flex: 0 0 3.25rem;
  font-family: var(--rc-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--rc-burgundy);
}

.rc-upcoming__meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.rc-upcoming__title {
  font-family: var(--rc-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--rc-text);
}

.rc-upcoming__loc {
  font-family: var(--rc-sans);
  font-size: 0.78rem;
  color: var(--rc-muted);
}

.rc-upcoming__empty {
  font-family: var(--rc-sans);
  font-size: 0.85rem;
  color: var(--rc-muted);
}

.rc-widget__placeholder {
  font-family: var(--rc-sans);
  font-size: 0.85rem;
  color: var(--rc-muted);
  margin: 0;
}

/* RC footer */
.rc-footer {
  background: var(--rc-burgundy-deep);
  color: #fff;
  padding: 2rem 1.5rem;
}

.rc-footer__inner {
  max-width: var(--rc-max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: flex-start;
}

.rc-footer__contact {
  font-family: var(--rc-sans);
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 40rem;
}

.rc-footer__contact p {
  margin: 0 0 0.35rem;
}

.rc-footer__contact a,
.rc-footer__links a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rc-footer__links {
  display: flex;
  gap: 1.25rem;
  font-family: var(--rc-sans);
  font-size: 0.9rem;
}

/* Hide leftover theme chrome on this page where possible */
.resource-center-page .wrapper > .section#sign-up,
.resource-center-page footer.footer,
.resource-center-page #footer,
.resource-center-page .to-top-btn {
  display: none !important;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

@media (max-width: 960px) {
  #all-resources,
  #past-engagements {
    scroll-margin-top: 6.5rem;
  }

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

  .rc-sidebar {
    order: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .rc-widget + .rc-widget {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
  }

  .rc-header__inner {
    padding: 24px 1.5rem;
  }

  .rc-header__logo img {
    max-height: 48px;
    max-width: 160px;
  }

  .rc-header__checkbox + .rc-header__toggle {
    display: block;
  }

  .rc-header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0.5rem 0 1rem;
    background: var(--rc-burgundy-deep);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 24px rgba(41, 16, 24, 0.35);
  }

  .rc-header__checkbox:checked ~ .rc-header__nav {
    display: flex;
  }

  .rc-header__link {
    padding: 0.85rem 1.5rem;
    border-bottom: 0;
    border-left: 3px solid transparent;
  }

  .rc-header__link:hover,
  .rc-header__link.is-active {
    border-bottom-color: transparent;
    background: rgba(255, 255, 255, 0.06);
  }

  .rc-header__link.is-active {
    border-left-color: #fff;
  }

  .rc-header__link--logout {
    margin-left: 0;
    margin-top: 0.35rem;
    padding-left: 1.5rem;
    border-left: 3px solid transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    opacity: 0.9;
  }

  .rc-header__link--logout::before {
    display: none;
  }
}

@media (max-width: 720px) {
  .rc-header__inner {
    padding: 20px 1rem;
  }

  .rc-header__logo img {
    max-height: 40px;
    max-width: 140px;
  }

  .rc-featured__grid {
    grid-template-columns: 1fr;
  }

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

  .rc-featured-card__preview {
    min-height: 160px;
    max-height: 200px;
  }

  .rc-featured-card__tags {
    justify-content: flex-start;
  }

  .rc-table__head {
    display: none;
  }

  .rc-table__row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .resource-center-page .rc-table__col--actions {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
  }

  .rc-table__col--category .rc-tags {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .rc-table__col--category .rc-tag {
    font-size: 14px;
    padding: 0 16px;
    line-height: 25.6px;
  }

  .rc-sidebar {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .rc-widget + .rc-widget {
    border-top: 1px solid var(--rc-border);
    margin-top: 32px;
    padding-top: 32px;
  }
}

/* Registrations / approval queue */
.rc-layout--approvals {
  grid-template-columns: 1fr;
}

/* Match body + footer to the header/hero column (max-width + inner padding). */
.rc-approvals-page .rc-body {
  padding-left: 0;
  padding-right: 0;
}

.rc-approvals-page .rc-layout--approvals,
.rc-approvals-page .rc-footer__inner {
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.rc-approvals-page .rc-footer {
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 720px) {
  .rc-approvals-page .rc-hero--approvals .rc-hero__content,
  .rc-approvals-page .rc-layout--approvals,
  .rc-approvals-page .rc-footer__inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.rc-notice {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--rc-border);
  border-radius: 8px;
  font-family: var(--rc-sans);
  font-size: 0.95rem;
  line-height: 1.45;
}

.rc-notice--success {
  background: #eef7f2;
  border-color: #bfe0d0;
  color: var(--rc-text);
}

.rc-notice--error {
  background: #f8ecec;
  border-color: #e3c8c8;
  color: var(--rc-burgundy);
}

.rc-approvals-tabs .rc-filter-pill,
.rc-approvals-subtabs .rc-filter-pill {
  text-decoration: none;
}

.rc-approvals-subtabs {
  margin-top: -0.35rem;
  margin-bottom: 1.5rem;
}

.rc-approvals-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.rc-approvals-heading .rc-section-title {
  margin: 0;
}

.rc-approvals-export {
  flex: 0 0 auto;
  margin: 0;
}

.rc-access {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.4rem;
}

.rc-access__tag {
  display: inline-block;
  font-family: var(--rc-sans);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--rc-tag-bg);
  color: var(--rc-burgundy);
}

.rc-approvals-table {
  --rc-table-cols: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 0.95fr) 7.5rem 13.5rem;
}

.rc-approvals-table--users {
  --rc-table-cols: minmax(0, 1.2fr) minmax(0, 1.35fr) minmax(0, 1fr) 8.25rem 8rem;
}

.rc-approvals-table .rc-table__col {
  min-width: 0;
}

.rc-approvals-table .rc-table__col--status {
  font-family: var(--rc-sans);
  align-self: center;
}

.rc-approvals-table .rc-resource-title,
.rc-approvals__email,
.rc-approvals-table .rc-table__col--org {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.rc-status {
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  font-family: var(--rc-sans);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  white-space: normal;
  text-align: center;
}

.rc-status--approved {
  background: var(--rc-teal);
  color: #292110;
}

.rc-status--pending {
  background: var(--rc-tag-bg);
  color: var(--rc-burgundy);
}

.rc-status--denied {
  background: #f8ecec;
  color: var(--rc-burgundy);
}

.rc-status--other {
  background: #efe6d6;
  color: var(--rc-muted);
}

.rc-approvals-table .rc-resource-title {
  margin-bottom: 0;
}

.rc-approvals-table .rc-table__col--email,
.rc-approvals-table .rc-table__col--org,
.rc-approvals-table .rc-table__col--date {
  font-family: var(--rc-sans);
  font-size: 0.95rem;
  color: var(--rc-text);
  align-self: center;
}

.rc-approvals-table .rc-table__col--date {
  white-space: nowrap;
}

.rc-approvals__email {
  color: var(--rc-burgundy);
  text-decoration: none;
  word-break: break-word;
}

.rc-approvals__email:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rc-approvals__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.rc-approvals__form .rc-btn {
  margin: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: none;
  min-height: 0;
  line-height: 1.2;
  box-shadow: none;
  text-transform: none;
  float: none;
  width: auto;
}

.rc-btn--deny {
  background: transparent;
  color: var(--rc-burgundy);
  border-color: var(--rc-burgundy);
}

.rc-btn--deny:hover {
  background: var(--rc-burgundy);
  color: #fff;
}

@media (max-width: 1199px) and (min-width: 721px) {
  .rc-approvals-table {
    --rc-table-cols: minmax(0, 1.2fr) minmax(0, 1.3fr) minmax(0, 1fr) 7rem max-content;
  }

  .rc-approvals-table--users {
    --rc-table-cols: minmax(0, 1.15fr) minmax(0, 1.25fr) minmax(0, 0.9fr) 8.25rem 7.5rem;
  }
}

@media (max-width: 720px) {
  .rc-approvals-table .rc-table__col--email,
  .rc-approvals-table .rc-table__col--org,
  .rc-approvals-table .rc-table__col--date,
  .rc-approvals-table .rc-table__col--status {
    align-self: start;
  }

  .rc-approvals-table .rc-table__col[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--rc-muted);
    margin-bottom: 0.2rem;
  }

  .rc-approvals__form {
    justify-content: flex-start;
  }
}
