/* Kept separate from the legacy card styles to preserve comfortable reading widths. */
.updates-section {
    scroll-margin-top: 96px;
    padding: 76px 0 80px;
    background: #f3f6f3;
    color: #173c32;
}
.updates-container {
    width: min(1160px, calc(100% - 48px));
    margin: 0 auto;
}
.updates-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 28px;
    margin-bottom: 32px;
}
.updates-eyebrow {
    margin: 0 0 12px;
    color: #47785d;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.updates-heading h1, .updates-heading h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.15;
    color: #173c32;
}
.updates-intro {
    margin: 12px 0 0;
    color: #62736a;
    font-size: 15px;
    line-height: 1.6;
}
.updates-all {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 46px;
    padding: 11px 18px;
    border: 1px solid #cbd9ce;
    border-radius: 999px;
    color: #234f3c;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .18s, border-color .18s;
}
.updates-all:hover { color: #173c32; background: #e5ede5; border-color: #a6bba9; }
.updates-all > span { font-size: 20px; line-height: 1; }
.updates-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; }
.updates-layout--single { grid-template-columns: minmax(0, 1fr); }
.updates-secondary { display: grid; gap: 18px; }
.updates-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: white;
    border: 1px solid #e0e7df;
    border-radius: 18px;
    transition: border-color .2s, box-shadow .2s;
}
.updates-card:hover { border-color: #adc4b1; box-shadow: 0 8px 24px #183b2c09; }
.updates-card__surface {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}
.updates-card__link, .updates-card__link:hover { color: inherit; font: inherit; letter-spacing: inherit; text-decoration: none; }
.updates-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 18px; }
.updates-card__link:focus-visible { outline: none; }
.updates-card:focus-within { outline: 3px solid #b58338; outline-offset: -4px; border-radius: 17px; }
.updates-card__content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 27px 30px; }
.updates-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0 0 15px; }
.updates-card__meta time { color: #67766c; font-size: 12px; line-height: 1.4; font-weight: 500; }
.updates-card__title {
    width: 100%;
    margin: 0 0 12px;
    color: #173c32;
    font-size: 21px;
    line-height: 1.3;
    font-weight: 650;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}
.updates-card:hover .updates-card__title { color: #326c49; }
.updates-card__summary {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin: 0 0 20px;
    color: #617067;
    font-size: 14px;
    line-height: 1.75;
    font-weight: 400;
}
.updates-card__more { display: inline-flex; align-items: center; gap: 12px; margin-top: auto; color: #305e42; font-size: 12px; line-height: 1.4; font-weight: 650; }
.updates-card__more > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #eff4ed; font-size: 17px; transition: background .2s, transform .2s; }
.updates-card:hover .updates-card__more > span { background: #dcead9; transform: translate(2px, -2px); }
.updates-card--featured { background: linear-gradient(140deg, #fff 55%, #eaf1e4); border-color: #cbdac9; }
.updates-card--featured .updates-card__content { padding: 36px; }
.updates-card--featured .updates-card__meta { margin-bottom: 25px; }
.updates-card--featured .updates-card__title { max-width: 600px; font-size: clamp(26px, 2.5vw, 34px); font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
.updates-card--featured .updates-card__summary { font-size: 15px; -webkit-line-clamp: 4; max-width: 560px; margin-bottom: 32px; }
.updates-card--featured .updates-card__more { font-size: 13px; gap: 16px; }
.updates-card--featured .updates-card__more > span { width: 36px; height: 36px; background: #244c36; color: white; }
.updates-card--featured:hover .updates-card__more > span { background: #37694b; }
.updates-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 5px; background: #e7eedf; color: #44623c; font-size: 10px; font-weight: 650; line-height: 1.2; }
.updates-badge > span { width: 4px; height: 4px; border-radius: 50%; background: #64814f; }
.updates-card__image { height: 190px; overflow: hidden; }
.updates-card__image img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.updates-secondary .updates-card__image { display: none; }
.updates-page-hero .hero { height: 280px; min-height: 260px; }
.updates-page-hero .hero-title { font-size: clamp(32px, 5vw, 52px); }
.updates-section--archive { padding-top: 56px; }
.updates-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.updates-grid > .updates-card--featured { grid-column: 1 / -1; }
.updates-grid > .updates-card--featured .updates-card__content { padding: 34px 38px; }
.updates-grid > .updates-card--featured .updates-card__title { max-width: 760px; }
.updates-grid > .updates-card--featured .updates-card__summary { max-width: 740px; }
.updates-grid > .updates-card--featured.updates-card--with-image .updates-card__surface { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.updates-grid > .updates-card--featured.updates-card--with-image .updates-card__image { min-height: 100%; height: 100%; }
.updates-search { width: 300px; max-width: 100%; flex-shrink: 0; margin: 0; }
.updates-search label { display: block; margin: 0 0 8px; font-size: 12px; font-weight: 500; color: #62736a; }
.updates-search > div { display: flex; overflow: hidden; border: 1px solid #d6dfd5; border-radius: 9px; background: white; }
.updates-search input { min-width: 0; flex: 1; width: 100%; height: 46px; padding: 10px 13px; border: 0; border-radius: 0; background: transparent; color: #173c32; font: inherit; font-size: 13px; }
.updates-search button { display: grid; place-items: center; flex-shrink: 0; width: 46px; margin: 4px; padding: 0; border: 0; border-radius: 5px; background: #234f3c; color: white; }
.updates-search button:hover { background: #37694b; }
.updates-search > div:focus-within { outline: 2px solid #668b6f; outline-offset: 2px; }
.updates-search input:focus-visible { outline: none; }
.updates-search-result { margin: 0 0 24px; color: #617067; font-size: 14px; }
.updates-search-result a { margin-left: 12px; color: #315d42; text-decoration: underline; }
.updates-empty { grid-column: 1 / -1; padding: 40px 30px; border: 1px dashed #bccfbb; border-radius: 15px; text-align: center; }
.updates-empty h2 { margin: 0 0 12px; color: #234f3c; font-size: 24px; }
.updates-empty p { margin: 0 0 15px; color: #617067; line-height: 1.7; }
.updates-pagination { margin-top: 36px; }
.updates-article { width: min(960px, calc(100% - 48px)); margin: 0 auto; padding: 52px 0 72px; }
.updates-article__header { max-width: 820px; margin: 0 auto 30px; padding: 0; text-align: left; }
.updates-back { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 32px; color: #536d5c; font-size: 13px; text-decoration: none; }
.updates-back:hover { color: #234f3c; text-decoration: underline; }
.updates-article__category { color: #64814f; font-size: 11px; }
.updates-article__header h1 { margin: 0; color: #173c32; font-size: clamp(29px, 4.5vw, 48px); line-height: 1.17; font-weight: 700; letter-spacing: -.035em; text-align: left; }
.updates-article__image { display: block; width: 100%; max-height: 520px; margin: 0 auto 32px; border-radius: 18px; object-fit: cover; }
.updates-article__body { max-width: 820px; margin: 0 auto; color: #43574b; }
.updates-article__body p, .updates-article__body li { margin: 0 0 20px; color: #43574b; font-size: 16px; line-height: 1.85; }
.updates-article__body h2, .updates-article__body h3, .updates-article__body h4, .updates-article__body h5 { margin: 34px 0 15px; color: #173c32; font-size: 23px; line-height: 1.35; font-weight: 650; }
.updates-article__body a { color: #2a6643; text-decoration: underline; }
.updates-article__body a.btn { display: inline-flex; width: auto !important; align-items: center; justify-content: center; margin: 8px 0 0; padding: 12px 22px; border: 1px solid #234f3c; border-radius: 999px; background: #234f3c; color: white; font-size: 14px; line-height: 1.5; text-decoration: none; }
.updates-article__body a.btn:hover { background: #37694b; border-color: #37694b; color: white; }
.updates-article__body img { display: block; max-width: 100%; height: auto; border-radius: 12px; }
.updates-article__body table { display: block; max-width: 100%; overflow-x: auto; }
.updates-article__footer { max-width: 820px; margin: 40px auto 0; padding-top: 28px; border-top: 1px solid #e0e7df; }
@media (prefers-reduced-motion: reduce) { .updates-card, .updates-card__more > span, .updates-all { transition: none; } }
@media (max-width: 900px) {
    .updates-layout { grid-template-columns: minmax(0, 1fr); }
    .updates-secondary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .updates-card--featured .updates-card__title { font-size: 30px; }
    .updates-heading--archive { align-items: flex-start; flex-direction: column; }
    .updates-search { width: 100%; max-width: 400px; }
}
@media (max-width: 600px) {
    .updates-section { padding: 44px 0 48px; }
    .updates-container, .updates-article { width: calc(100% - 36px); }
    .updates-heading { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 24px; }
    .updates-heading h1, .updates-heading h2 { font-size: 30px; }
    .updates-eyebrow { margin-bottom: 9px; }
    .updates-intro { font-size: 14px; }
    .updates-secondary, .updates-grid { grid-template-columns: minmax(0, 1fr); }
    .updates-layout, .updates-grid, .updates-secondary { gap: 16px; }
    .updates-card__content, .updates-card--featured .updates-card__content, .updates-grid > .updates-card--featured .updates-card__content { padding: 24px; }
    .updates-card--featured .updates-card__title { font-size: 28px; }
    .updates-card--featured .updates-card__summary { font-size: 14px; }
    .updates-card--featured .updates-card__meta { margin-bottom: 20px; }
    .updates-card__title { font-size: 22px; }
    .updates-card__image { height: 190px; }
    .updates-grid > .updates-card--featured.updates-card--with-image .updates-card__surface { display: flex; }
    .updates-grid > .updates-card--featured.updates-card--with-image .updates-card__image { height: 210px; min-height: 0; }
    .updates-page-hero .hero { height: 220px; min-height: 220px; }
    .updates-article { padding-top: 32px; padding-bottom: 48px; }
    .updates-article__header h1 { font-size: 32px; }
    .updates-article__body p, .updates-article__body li { font-size: 15px; }
}
