.content-text-block {
  margin-left: auto;
  margin-right: auto;
}

/* Document pages keep everyday information above the official files. */
.content-section-heading { font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 700; margin-bottom: 1rem; }
.content-section-intro { color: #596760; margin-bottom: 1.5rem; max-width: 52rem; }
.content-links__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.content-links__card { display: flex; align-items: center; gap: 1rem; padding: 1.2rem; border: 1px solid #dce8e0; border-radius: 14px; background: #f7faf7; color: var(--heading-color); transition: border-color .2s, background .2s; }
.content-links__card:hover { background: #edf7ef; border-color: var(--accent-color); color: var(--heading-color); }
.content-links__card:focus-visible, .content-gallery__link:focus-visible { outline: 3px solid var(--accent-color); outline-offset: 4px; }
.content-links__icon { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 11px; background: #e6f2e8; color: #287c43; font-size: 1.35rem; }
.content-links__text { min-width: 0; }
.content-links__text strong { display: block; font-size: 1rem; line-height: 1.35; }
.content-links__text small { display: block; margin-top: .35rem; color: #58665d; line-height: 1.5; }
.content-links__arrow { margin-left: auto; flex-shrink: 0; color: #477b56; }
.content-gallery__item { margin: 0; height: 100%; }
.content-gallery__link { position: relative; display: block; overflow: hidden; border-radius: 14px; background: #f2f5f2; }
.content-gallery__image { display: block; width: 100%; height: auto; }
.content-gallery--photos .content-gallery__image { aspect-ratio: 4 / 3; object-fit: cover; }
.content-gallery--posters .content-gallery__link { border: 1px solid #e2e8e3; }
.content-gallery--posters .content-gallery__image { object-fit: contain; }
.content-gallery__zoom { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #285a37; box-shadow: 0 2px 10px #0002; }
.content-gallery figcaption, .content-local-video figcaption { margin-top: .65rem; color: #59665e; font-size: .9rem; line-height: 1.55; }
.content-local-video__player { display: block; width: 100%; max-height: 560px; border-radius: 16px; background: #17221a; }
.document-page .page-title .heading { padding: 42px 0 32px; background: linear-gradient(135deg, #f1f7ef, #fafbf7); }
.document-page .page-title h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.035em; }
.document-page .page-title .heading p { max-width: 47rem; margin-inline: auto; line-height: 1.65; }
.document-page .section .section { padding: 20px 0; scroll-margin-top: 105px; }
.document-page .section .section > .container { width: 100%; max-width: 100%; padding-inline: 0; }
.document-page .section-title { text-align: left; padding-bottom: 22px; }
.document-page .section-title h2 { color: #64766a; font-size: .78rem; letter-spacing: .1em; }
.document-page .section-title p { font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.35; text-transform: none; }
.document-page .content { line-height: 1.75; }
.document-page .card { border: 1px solid #e2e8e3 !important; box-shadow: none !important; border-radius: 12px; }
.document-page .card-body { padding: 1.1rem 1.2rem; }
.document-page .card-title { font-size: 1rem; line-height: 1.5; font-weight: 600; }
.document-page .card-text { font-size: .88rem; line-height: 1.55; }
.document-page .btn { border-radius: 8px; font-size: .86rem; }
@media (max-width: 575.98px) {
  .content-links__grid { grid-template-columns: 1fr; }
  .content-links__card { padding: 1rem; }
  .document-page .page-title .heading { padding: 30px 0 25px; }
  .document-page .section .section { padding: 16px 0; }
}

.content-text-block p:last-child {
  margin-bottom: 0;
}

.richtext-collapse-summary {
  color: var(--heading-color);
  font-weight: 700;
}

.richtext-collapse {
  margin: 1.15rem 0;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 68%);
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent-color), #ffffff 94%);
  overflow: hidden;
}

.richtext-collapse__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  color: var(--heading-color);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.richtext-collapse__summary::-webkit-details-marker {
  display: none;
}

.richtext-collapse__summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--accent-color);
  color: var(--contrast-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  line-height: 1;
}

.richtext-collapse[open] .richtext-collapse__summary::after {
  content: "-";
}

.richtext-collapse__content {
  padding: 0 1.1rem 1.05rem;
}

.richtext-collapse__content > :last-child {
  margin-bottom: 0;
}

.ct-width-narrow {
  max-width: 44rem;
}

.ct-width-content {
  max-width: 62rem;
}

.ct-width-wide {
  max-width: 78rem;
}

.ct-width-full {
  max-width: none;
}

.ct-size-sm {
  font-size: 0.95rem;
}

.ct-size-md {
  font-size: 1rem;
}

.ct-size-lg {
  font-size: 1.12rem;
}

.ct-size-xl {
  font-size: 1.25rem;
}

.ct-line-tight {
  line-height: 1.45;
}

.ct-line-normal {
  line-height: 1.65;
}

.ct-line-relaxed {
  line-height: 1.85;
}

.ct-weight-normal {
  font-weight: 400;
}

.ct-weight-semibold {
  font-weight: 600;
}

.ct-weight-bold {
  font-weight: 700;
}

.ct-color-default {
  color: var(--default-color);
}

.ct-color-muted {
  color: color-mix(in srgb, var(--default-color), #ffffff 35%);
}

.ct-color-accent {
  color: var(--accent-color);
}

.ct-color-heading {
  color: var(--heading-color);
}

.content-photo-block {
  margin: 0;
}

.photo-item-block {
  margin: 0.9rem auto 1.1rem;
}

.photo-item-block--narrow {
  max-width: 34rem;
}

.photo-item-block--content {
  max-width: 50rem;
}

.photo-item-block--wide {
  max-width: 72rem;
}

.photo-item-block--full {
  max-width: none;
  width: 100%;
}

.photo-item-block--half {
  display: inline-block;
  width: 49%;
  vertical-align: top;
  margin: 0.9rem 0 1.1rem;
}

.photo-item-block--start {
  margin-left: 0;
  margin-right: auto;
}

.photo-item-block--center {
  margin-left: auto;
  margin-right: auto;
}

.photo-item-block--end {
  margin-left: auto;
  margin-right: 0;
}

.content-photo-block__link {
  display: block;
  position: relative;
}

.content-photo-block__link::after {
  content: "+";
  font-family: var(--heading-font);
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: color-mix(in srgb, #000000, transparent 25%);
  color: #ffffff;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.92;
}

.cp-width-narrow {
  max-width: 34rem;
}

.cp-width-content {
  max-width: 50rem;
}

.cp-width-wide {
  max-width: 72rem;
}

.cp-width-full {
  max-width: none;
}

.cp-width-narrow,
.cp-width-content,
.cp-width-wide {
  width: 100%;
}

.cp-align-start {
  margin-left: 0;
  margin-right: auto;
}

.cp-align-center {
  margin-left: auto;
  margin-right: auto;
}

.cp-align-end {
  margin-left: auto;
  margin-right: 0;
}

.content-photo-block__frame {
  width: 100%;
  overflow: hidden;
  background: color-mix(in srgb, var(--default-color), #ffffff 92%);
}

.cp-ratio-16x9 {
  aspect-ratio: 16 / 9;
}

.cp-ratio-4x3 {
  aspect-ratio: 4 / 3;
}

.cp-ratio-1x1 {
  aspect-ratio: 1 / 1;
}

.cp-ratio-3x4 {
  aspect-ratio: 3 / 4;
}

.content-photo-block__image {
  width: 100%;
  height: 100%;
  display: block;
}

.cp-fit-cover {
  object-fit: cover;
}

.cp-fit-contain {
  object-fit: contain;
  background: color-mix(in srgb, var(--default-color), #ffffff 95%);
}

.cp-maxh-none {
  max-height: none;
}

.cp-maxh-420 {
  max-height: 420px;
}

.cp-maxh-560 {
  max-height: 560px;
}

.cp-maxh-720 {
  max-height: 720px;
}

.content-photo-block__caption {
  margin-top: 0.65rem;
  font-size: 0.92rem;
  color: color-mix(in srgb, var(--default-color), #ffffff 35%);
}

.resource-doc-cover {
  width: min(100%, 360px);
}

.resource-doc-cover--full {
  width: 100%;
}

.resource-doc-cover__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: color-mix(in srgb, var(--default-color), #ffffff 92%);
}

.resource-doc-cover__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.resource-doc-cover__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: color-mix(in srgb, #000000, transparent 38%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.resource-doc-cover__frame:hover .resource-doc-cover__overlay,
.resource-doc-cover__frame:focus-within .resource-doc-cover__overlay {
  opacity: 1;
}

.doc-item-block {
  margin: 0.9rem auto 1.1rem;
}

.doc-item-block--content {
  max-width: 50rem;
}

.doc-item-block--wide {
  max-width: 72rem;
}

.doc-item-block--full {
  max-width: none;
  width: 100%;
}

.doc-item-block--half {
  display: inline-block;
  width: 49%;
  vertical-align: top;
  margin: 0.9rem 0 1.1rem;
}

.doc-item-block--start {
  margin-left: 0;
  margin-right: auto;
}

.doc-item-block--center {
  margin-left: auto;
  margin-right: auto;
}

.doc-item-block--end {
  margin-left: auto;
  margin-right: 0;
}

.event-content-block {
  margin: 0 auto 1.4rem;
  max-width: 54rem;
}

.event-content-block:last-child {
  margin-bottom: 0;
}

.event-content-block--text {
  max-width: 50rem;
}

.event-richtext p:last-child {
  margin-bottom: 0;
}

.event-image,
.event-video,
.event-gallery-item {
  margin: 0;
}

.event-cover {
  max-width: 54rem;
  margin-left: auto;
  margin-right: auto;
}

.event-cover-image {
  width: 100%;
  max-height: 560px;
  height: auto;
  display: block;
  object-fit: contain;
  background: color-mix(in srgb, var(--default-color), #ffffff 94%);
}

.event-image__link,
.event-gallery-item__link {
  display: block;
}

.event-image__frame {
  width: 100%;
  overflow: hidden;
  background: color-mix(in srgb, var(--default-color), #ffffff 94%);
}

.event-image__img,
.event-gallery-item__img {
  width: 100%;
  display: block;
  background: color-mix(in srgb, var(--default-color), #ffffff 94%);
}

.event-image__img--original {
  height: auto;
  max-height: 560px;
  object-fit: contain;
}

.event-image__img--cropped {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.event-gallery-item__img {
  max-height: 340px;
  object-fit: contain;
}

.ei-ratio-16x9 {
  aspect-ratio: 16 / 9;
}

.ei-ratio-4x3 {
  aspect-ratio: 4 / 3;
}

.ei-ratio-1x1 {
  aspect-ratio: 1 / 1;
}

.ei-ratio-3x4 {
  aspect-ratio: 3 / 4;
}

.event-content-caption {
  margin-top: 0.6rem;
  font-size: 0.92rem;
  color: color-mix(in srgb, var(--default-color), #ffffff 35%);
}

.event-video__embed iframe,
.event-video__embed video {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .ct-size-lg,
  .ct-size-xl {
    font-size: 1.05rem;
  }

  .cp-maxh-420,
  .cp-maxh-560,
  .cp-maxh-720 {
    max-height: 420px;
  }

  .content-photo-block__link::after {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .resource-doc-cover {
    width: 100%;
  }

  .resource-doc-cover__overlay {
    opacity: 1;
  }

  .photo-item-block--half,
  .doc-item-block--half {
    display: block;
    width: 100%;
    margin: 0.9rem auto 1.1rem;
  }

  .event-cover-image {
    max-height: 380px;
  }

  .event-image__img--original {
    max-height: 420px;
  }

  .event-gallery-item__img {
    max-height: 300px;
  }
}

/*--------------------------------------------------------------
# School219 Content Blocks Refresh
--------------------------------------------------------------*/
.content-text-block,
.event-content-block {
  color: var(--default-color);
}

.richtext-collapse {
  background: var(--surface-color);
  border: 1px solid var(--school-border, color-mix(in srgb, var(--default-color), transparent 86%));
  border-radius: 8px;
  box-shadow: var(--school-shadow, 0 16px 38px rgba(17, 24, 39, 0.08));
}

.richtext-collapse__summary {
  color: var(--school-ink, var(--heading-color));
  font-weight: 800;
}

.richtext-collapse__summary::after {
  background: var(--school-green-soft, color-mix(in srgb, var(--accent-color), #ffffff 88%));
  color: var(--accent-color);
}

.richtext-collapse[open] .richtext-collapse__summary {
  border-bottom: 1px solid var(--school-border, color-mix(in srgb, var(--default-color), transparent 86%));
}

.content-photo-block__frame,
.resource-doc-cover__frame,
.event-cover-image,
.event-image__frame,
.event-gallery-item__link,
.event-video__embed iframe,
.event-video__embed video {
  background: var(--school-muted, color-mix(in srgb, var(--default-color), #ffffff 94%));
  border-radius: 8px;
  overflow: hidden;
}

.content-photo-block__frame,
.resource-doc-cover__frame,
.event-image__frame,
.event-video__embed iframe,
.event-video__embed video {
  border: 1px solid var(--school-border, color-mix(in srgb, var(--default-color), transparent 86%));
}

.content-photo-block__link::after {
  background: rgba(17, 24, 39, 0.72);
  border-radius: 8px;
}

.content-photo-block__caption,
.event-content-caption {
  color: #6b7280;
  line-height: 1.5;
}

.resource-doc-cover__overlay {
  background: rgba(17, 24, 39, 0.68);
}

.doc-item-block,
.photo-item-block {
  color: var(--default-color);
}
