/* News keeps the shared forest, cream, rounded cards and editorial typography. */
.rg-news-hero h1 br { display: initial; }
.rg-news-shell { padding: 48px 0 72px; }
.rg-news-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 32px; margin-bottom: 30px; }
.rg-news-toolbar h2 { margin: 12px 0 10px; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.rg-news-toolbar p { margin: 0; color: #536358; font-size: .9rem; }
.rg-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rg-news-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #d8dfd2; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-sm); }
.rg-news-card__image { display: block; aspect-ratio: 8 / 5; overflow: hidden; background: #dce4d8; }
.rg-news-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.rg-news-card__image:hover img { transform: scale(1.025); }
.rg-news-card__protected { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; color: #284c35; font-size: .9rem; font-weight: 700; }
.rg-news-card__protected .rg-icon { width: 38px; height: 38px; }
.rg-news-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 24px; }
.rg-news-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; color: #536358; font-size: .76rem; line-height: 1.5; }
.rg-news-meta > span { display: inline-flex; align-items: center; gap: 7px; }
.rg-news-meta .rg-icon { width: 16px; height: 16px; }
.rg-news-topic { display: inline-block; max-width: 100%; padding: 5px 10px; border-radius: 999px; background: #edf1e6; color: #284c35; font-size: .68rem; font-weight: 800; overflow-wrap: anywhere; }
.rg-news-card h3 { margin: 18px 0 14px; font-size: 1.45rem; line-height: 1.2; text-wrap: pretty; overflow-wrap: anywhere; }
.rg-news-card h3 a { color: var(--forest); text-decoration: none; }
.rg-news-card h3 a:hover { color: #8a3b08; text-decoration: underline; text-underline-offset: 4px; }
.rg-news-card__excerpt { margin: 0 0 22px; color: #536358; font-size: .88rem; line-height: 1.7; }
.rg-news-card__link { min-height: 44px; margin-top: auto; color: #974108; }
.rg-news-shell .pagination { margin: 38px 0 0; }
.rg-news-shell .nav-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.rg-news-shell .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 8px 14px; border: 1px solid #bfccbb; border-radius: 12px; background: var(--paper); color: var(--forest); text-decoration: none; font-weight: 700; }
.rg-news-shell .page-numbers.current { border-color: var(--forest); background: var(--forest); color: #fff; }
.rg-news-shell .page-numbers.dots { min-width: auto; border-color: transparent; background: transparent; }
.rg-news-prepare { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 58px; padding: 34px 38px; border-radius: var(--radius); background: var(--forest); color: #edf3e9; }
.rg-news-prepare > div { max-width: 660px; }
.rg-news-prepare .eyebrow { color: #f3bc82; }
.rg-news-prepare h2 { margin: 13px 0; color: #fff; font-size: clamp(1.6rem, 2.7vw, 2.35rem); }
.rg-news-prepare p { margin: 0; color: #d2dfd4; font-size: .9rem; }
.rg-news-prepare .button { flex-shrink: 0; }
.rg-news-empty { display: grid; justify-items: center; padding: 50px 24px; border: 1px dashed #91a594; border-radius: var(--radius); background: #edf1e6; text-align: center; }
.rg-news-empty > .rg-icon { width: 42px; height: 42px; color: #974108; }
.rg-news-empty h3 { margin: 20px 0 8px; font-size: 1.8rem; }
.rg-news-empty p { max-width: 520px; margin: 10px 0 24px; color: #536358; }
.rg-news-detail { padding: calc(var(--header-height) + var(--breadcrumb-height, 36px) + 42px) 0 56px; }
.admin-bar .rg-news-detail { padding-top: calc(var(--header-height) + var(--breadcrumb-height, 36px) + 74px); }
.rg-news-detail__heading { max-width: 1000px; margin-inline: auto; }
.rg-news-detail h1 { margin: 18px 0 22px; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.1; text-wrap: pretty; overflow-wrap: anywhere; }
.rg-news-detail__lead { max-width: 900px; margin: 0 0 26px; color: #485f50; font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.75; }
.rg-news-detail__info { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 24px; }
.rg-news-detail__info .rg-news-meta { font-size: .8rem; }
.rg-news-detail__image { max-width: 1100px; margin: 34px auto 0; }
.rg-news-detail__image img { display: block; width: 100%; height: auto; max-height: 560px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: #dce4d8; }
.rg-news-detail__image figcaption { padding-top: 10px; color: #58695d; font-size: .74rem; line-height: 1.6; }
.rg-news-detail__content { max-width: 800px; margin: 44px auto 0; font-size: 1rem; line-height: 1.85; overflow-wrap: anywhere; }
.rg-news-detail__content p, .rg-news-detail__content li { color: #43594b; }
.rg-news-detail__content h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; }
.rg-news-detail__content h3 { line-height: 1.3; }
.rg-news-detail__content a { color: #974108; }
.rg-news-detail__content :is(img, video, iframe) { max-width: 100%; }
.rg-news-detail__content :is(pre, .wp-block-table) { max-width: 100%; overflow-x: auto; }
.rg-news-detail__content blockquote { margin-inline: 0; padding: 16px 24px; border-left: 3px solid #974108; border-radius: 0 14px 14px 0; background: #edf1e6; }
.rg-news-detail__content .post-password-form label { display: inline-grid; max-width: 100%; gap: 8px; margin-right: 12px; }
.rg-news-detail__content .post-password-form input[type="password"] { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #91a594; border-radius: 10px; background: var(--paper); }
.rg-news-detail__content .post-password-form input[type="submit"] { min-height: 48px; padding: 10px 20px; border: 1px solid #a84906; border-radius: 999px; background: #b65308; color: #fff; font-weight: 700; cursor: pointer; }
.rg-news-related { padding: 44px 0 68px; border-top: 1px solid #d8dfd2; background: #f1f2e9; }
.rg-news-manage.button--primary { border-color: #a84906; background: #b65308; color: #fff; box-shadow: 0 10px 24px #9b4c1120; }
.rg-news-manage.button--primary:hover { background: #914005; }
:is(.rg-news-shell, .rg-news-detail, .rg-news-related) a:focus-visible { outline: 3px solid #99500f; outline-offset: 4px; }
@media (max-width: 1000px) {
    .rg-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rg-news-prepare { align-items: flex-start; flex-direction: column; gap: 24px; }
}
@media (max-width: 650px) {
    .rg-news-shell { padding: 30px 0 48px; }
    .rg-news-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .rg-news-toolbar { gap: 16px; margin-bottom: 24px; }
    .rg-news-toolbar h2 { margin-top: 10px; }
    .rg-news-card__body { padding: 22px; }
    .rg-news-card h3 { font-size: 1.4rem; }
    .rg-news-prepare { margin-top: 36px; padding: 26px 23px; }
    .rg-news-prepare .button { width: 100%; padding-inline: 16px; }
    .rg-news-detail { padding: calc(var(--header-height) + var(--breadcrumb-height, 36px) + 28px) 0 36px; }
    .admin-bar .rg-news-detail { padding-top: calc(var(--header-height) + var(--breadcrumb-height, 36px) + 74px); }
    .rg-news-detail h1 { margin: 15px 0 19px; font-size: clamp(1.85rem, 7.5vw, 2.7rem); }
    .rg-news-detail__lead { margin-bottom: 20px; }
    .rg-news-detail__info .rg-news-meta { gap: 10px; }
    .rg-news-detail__image { margin-top: 26px; }
    .rg-news-detail__image img { border-radius: 18px; }
    .rg-news-detail__content { margin-top: 30px; font-size: .96rem; }
    .rg-news-detail__content h2 { margin-top: 34px; }
    .rg-news-related { padding: 30px 0 48px; }
}
@media (min-width: 651px) and (max-width: 782px) {
    .admin-bar .rg-news-detail { padding-top: calc(var(--header-height) + var(--breadcrumb-height, 36px) + 88px); }
}
@media (prefers-reduced-motion: reduce) {
    .rg-news-card__image img { transition: none; }
    .rg-news-card__image:hover img { transform: none; }
}
