/* Public news archive and readable school stories. */
.updates-hero { padding: 34px 0 62px; background: #f0f3e9; border-bottom: 1px solid #dfe5d9; }
.updates-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: #69786d; font-size: .77rem; margin-bottom: 40px; }
.updates-breadcrumb a { color: #365d48; text-decoration: none; }
.updates-breadcrumb a:hover { text-decoration: underline; }
.updates-breadcrumb [aria-current] { max-width: 430px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.updates-hero h1 { color: #183b2c; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.6rem, 5vw, 4.8rem); font-weight: 500; line-height: 1.08; letter-spacing: -.045em; max-width: 850px; margin: 16px 0 22px; }
.updates-hero h1 em { color: #507059; font-weight: inherit; }
.updates-hero p { max-width: 570px; font-size: .98rem; color: #657367; line-height: 1.8; margin: 0; }
.updates-archive { padding-top: 38px; padding-bottom: 88px; }
.updates-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding-bottom: 26px; border-bottom: 1px solid #dfe5dc; }
.updates-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.updates-filter { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 16px; color: #5d6e63; font-size: .78rem; font-weight: 600; text-decoration: none; border: 1px solid #dce3d8; border-radius: 40px; background: #fff; transition: background .2s, color .2s; }
.updates-filter:hover { background: #eaf0e7; color: #1e4e35; }
.updates-filter.is-active { background: #244e36; color: #fff; border-color: #244e36; }
.updates-search { display: flex; align-items: center; border: 1px solid #dce3d8; border-radius: 8px; background: white; overflow: hidden; min-width: 240px; }
.updates-search input { border: 0; background: transparent; color: #263e2e; width: 100%; min-width: 0; padding: 13px 0 13px 15px; font: inherit; font-size: .8rem; }
.updates-search input:focus { outline: none; }
.updates-search:focus-within { outline: 2px solid #49694b; outline-offset: 3px; }
.updates-search button { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; color: #315a3f; background: none; border: 0; cursor: pointer; }
.updates-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.updates-results-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0 25px; font-size: .77rem; color: #6d7a70; }
.updates-results-summary p { margin: 0; }
.updates-results-summary a { color: #315a3f; white-space: nowrap; }
.updates-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.updates-card { overflow: hidden; border: 1px solid #e0e5dc; border-radius: 13px; background: #fff; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.updates-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px #23432a0c; }
.updates-card__visual { display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1.65; position: relative; overflow: hidden; background: #e5ecdf; color: #57734d; text-decoration: none; }
.updates-card__visual::before { content: ''; position: absolute; width: 260px; height: 260px; border: 1px solid #ffffff70; border-radius: 50%; top: -140px; right: -90px; }
.updates-card__visual::after { content: ''; position: absolute; width: 260px; height: 260px; border: 1px solid #ffffff70; border-radius: 50%; bottom: -170px; left: -100px; }
.updates-card__visual--news { background: #e1e9e1; }
.updates-card__visual--announcement { background: #f3eddb; color: #8e7640; }
.updates-card__visual--article { background: #e4e9ef; color: #5d6e84; }
.updates-card__visual--event { background: #234a35; color: #fff; }
.updates-card__visual img { height: 100%; width: 100%; object-fit: cover; position: absolute; inset: 0; z-index: 1; transition: transform .4s; }
.updates-card:hover .updates-card__visual img { transform: scale(1.04); }
.updates-card__visual > i { font-size: 2.5rem; opacity: .7; }
.updates-card__visual-caption { margin-top: 20px; font-size: .61rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.updates-card__calendar { display: flex; flex-direction: column; text-align: center; }
.updates-card__calendar span { text-transform: uppercase; letter-spacing: .16em; font-size: .68rem; color: #d3ddc2; }
.updates-card__calendar strong { font: 500 3.8rem/1.1 Georgia, serif; }
.updates-card__calendar small { font-size: .68rem; color: #d3ddc2; }
.updates-card__visual--event .updates-card__visual-caption { margin-top: 12px; color: #c6d2bf; }
.updates-card__content { display: flex; flex-direction: column; padding: 24px; flex: 1; }
.updates-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 15px; font-size: .66rem; color: #7b877d; }
.updates-card__meta > span { color: #4a6c3f; text-transform: uppercase; font-size: .6rem; letter-spacing: .08em; font-weight: 700; }
.updates-card__content h2 { font: 500 1.45rem/1.3 Georgia, serif; margin: 0 0 12px; color: #244732; overflow-wrap: anywhere; }
.updates-card__content h2 a { color: inherit; text-decoration: none; }
.updates-card__content h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.updates-card__content > p { color: #758074; font-size: .78rem; line-height: 1.8; margin: 0 0 20px; overflow-wrap: anywhere; }
.updates-card__event { display: flex; align-items: center; gap: 8px; color: #63715e; font-size: .7rem; margin-bottom: 18px; }
.updates-card__read { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 17px; margin-top: auto; border-top: 1px solid #e8ece5; font-size: .74rem; font-weight: 600; text-decoration: none; color: #315b3b; }
.updates-card__read span { font-size: 1.05rem; }
.updates-priority { display: inline-flex; align-self: flex-start; width: fit-content; background: #fff0d6; color: #805419; border: 1px solid #f0dcb6; padding: 4px 8px; margin-bottom: 10px; font-size: .65rem; font-weight: 600; border-radius: 4px; }
.updates-empty { max-width: 570px; margin: 38px auto 10px; padding: 35px 0; text-align: center; }
.updates-empty__icon { display: inline-grid; place-items: center; width: 76px; height: 76px; background: #e9eee3; border-radius: 50%; color: #5f7852; font-size: 1.7rem; }
.updates-empty h2 { color: #294c35; font: 500 clamp(1.7rem, 3vw, 2.3rem)/1.2 Georgia, serif; margin: 25px 0 15px; }
.updates-empty p { color: #74806f; font-size: .88rem; line-height: 1.8; margin: 0 auto 25px; }
.updates-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px; margin-top: 42px; }
.updates-pagination__direction { color: #315a3f; font-size: .8rem; text-decoration: none; border: 1px solid #d9e0d3; padding: 11px 17px; border-radius: 7px; background: white; }
.updates-pagination__direction:hover { background: #edf1e9; }
.updates-pagination__status { color: #6a7968; font-size: .77rem; }
.story-wrap { padding-top: 30px; padding-bottom: 90px; }
.story-wrap > .updates-breadcrumb { margin-bottom: 45px; }
.story-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 65px; align-items: start; }
.story-header .updates-priority { margin-left: 12px; }
.story-header h1 { font: 500 clamp(2.3rem, 4.2vw, 3.8rem)/1.12 Georgia, serif; letter-spacing: -.035em; color: #23472f; margin: 18px 0 23px; overflow-wrap: anywhere; }
.story-meta { display: flex; flex-wrap: wrap; gap: 8px 11px; font-size: .73rem; color: #788370; line-height: 1.8; }
.story-intro { color: #5c6e5d; font-size: 1.05rem; line-height: 1.8; margin: 26px 0; }
.story-image { margin: 30px 0; }
.story-image img { width: 100%; height: auto; max-height: 650px; object-fit: cover; border-radius: 12px; }
.story-body { color: #51604f; font-size: .95rem; line-height: 1.95; margin-top: 32px; overflow-wrap: anywhere; }
.story-body p { margin: 0 0 22px; }
.story-body h2, .story-body h3 { color: #23472f; font-family: Georgia, serif; font-weight: 500; line-height: 1.3; margin: 34px 0 16px; }
.story-body h2 { font-size: 1.9rem; }
.story-body h3 { font-size: 1.45rem; }
.story-body ul, .story-body ol { padding-left: 25px; margin: 18px 0 24px; }
.story-body li { margin: 7px 0; }
.story-body a { color: #285e3d; text-decoration: underline; text-underline-offset: 3px; }
.story-body blockquote { padding: 13px 0 13px 24px; border-left: 3px solid #9cad81; margin: 30px 0; font: italic 1.35rem/1.6 Georgia, serif; color: #4d684b; }
.story-body blockquote p:last-child { margin-bottom: 0; }
.story-notice-date { margin: 30px 0; padding: 16px 18px; background: #f2f0e5; border-radius: 6px; font-size: .78rem; color: #74684d; }
.story-notice-date i { margin-right: 5px; }
.story-end { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-top: 42px; border-top: 1px solid #dfe5d9; padding-top: 23px; }
.story-end a { color: #315a3f; font-size: .8rem; text-decoration: none; font-weight: 600; }
.story-end > span { color: #88917b; font-size: .58rem; letter-spacing: .13em; }
.story-sidebar { display: grid; gap: 22px; }
.story-info-card { background: #f1f3e9; border: 1px solid #e0e5d8; border-radius: 12px; padding: 27px; }
.story-info-card h2 { font: 500 1.7rem/1.2 Georgia, serif; color: #294b31; margin: 16px 0; }
.story-info-card > p { color: #73806d; font-size: .79rem; line-height: 1.8; margin: 0 0 18px; }
.story-info-card .school-kicker { font-size: .6rem; }
.story-related-links { display: flex; flex-direction: column; }
.story-related-links > a { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid #dce2d2; padding: 15px 0; color: #3c5b3b; text-decoration: none; font-size: .78rem; }
.story-related-links > a:last-child { padding-bottom: 0; }
.story-related-links > a:hover { color: #173f28; }
.story-related-links > a > span:first-child { display: inline-flex; gap: 11px; align-items: center; }
.story-related-links i { width: 15px; font-size: .8rem; color: #7b8d68; }
.story-event-details { margin: 25px 0; }
.story-event-details > div { border-top: 1px solid #d9e0cf; padding: 15px 0; }
.story-event-details dt { color: #6e7c65; text-transform: uppercase; letter-spacing: .08em; font-size: .58rem; font-weight: 700; margin-bottom: 8px; }
.story-event-details dt i { margin-right: 5px; }
.story-event-details dd { color: #314f30; font-size: .8rem; line-height: 1.6; margin: 0; overflow-wrap: anywhere; }
.story-event-details dd small { display: block; color: #78816c; font-size: .66rem; margin-top: 4px; }
.story-info-card--event .school-button { width: 100%; justify-content: center; font-size: .75rem; }
.story-past-event { border-top: 1px solid #d9e0cf; padding-top: 15px; }
.story-contact-link { font-size: .75rem; line-height: 1.8; padding: 0 9px; color: #7a8572; text-decoration: none; }
.story-contact-link strong { display: block; font-weight: 600; color: #3c5b3b; }
.story-not-found { padding-top: 100px; padding-bottom: 110px; text-align: center; }
.story-not-found h1 { color: #294c35; font: 500 clamp(2.5rem, 5vw, 4rem)/1.15 Georgia, serif; margin: 20px 0; }
.story-not-found p { max-width: 540px; color: #73806d; font-size: .93rem; line-height: 1.8; margin: 0 auto 28px; }
@media (max-width: 1050px) {
    .updates-toolbar { flex-direction: column; align-items: stretch; }
    .updates-search { max-width: 430px; }
    .updates-grid { gap: 20px; }
    .updates-card__content { padding: 20px; }
    .story-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 35px; }
    .story-info-card { padding: 23px; }
}
@media (max-width: 780px) {
    .updates-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .story-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .story-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .story-contact-link { grid-column: 1 / -1; }
    .story-wrap > .updates-breadcrumb { margin-bottom: 30px; }
}
@media (max-width: 520px) {
    .updates-hero { padding-top: 25px; padding-bottom: 38px; }
    .updates-breadcrumb { margin-bottom: 30px; font-size: .69rem; gap: 7px; }
    .updates-breadcrumb [aria-current] { max-width: 200px; }
    .updates-hero h1 { font-size: 2.65rem; }
    .updates-hero p { font-size: .87rem; }
    .updates-archive { padding-top: 26px; padding-bottom: 55px; }
    .updates-filter { font-size: .72rem; padding: 8px 13px; min-height: 40px; }
    .updates-search { max-width: none; }
    .updates-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .updates-card__visual { aspect-ratio: 1.85; }
    .updates-card__content { padding: 22px; }
    .updates-card__content h2 { font-size: 1.55rem; }
    .updates-pagination { gap: 12px; }
    .updates-pagination__direction { font-size: .73rem; padding: 10px 12px; }
    .story-wrap { padding-top: 20px; padding-bottom: 55px; }
    .story-wrap > .updates-breadcrumb { margin-bottom: 18px; }
    .story-header h1 { font-size: clamp(2rem, 8vw, 2.45rem); margin: 10px 0 15px; }
    .story-meta { font-size: .68rem; }
    .story-body { font-size: .9rem; margin-top: 22px; }
    .story-sidebar { grid-template-columns: minmax(0, 1fr); }
    .story-info-card { padding: 25px; }
}
@media (prefers-reduced-motion: reduce) {
    .updates-card, .updates-card__visual img, .updates-filter { transition: none; }
    .updates-card:hover, .updates-card:hover .updates-card__visual img { transform: none; }
}
