.news-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.news-mode-switch {
    margin-bottom: 0;
}

.news-search-form {
    flex: 1 1 520px;
}

.news-search-label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.news-search-controls {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.news-search-input {
    flex: 1 1 320px;
    min-height: 42px;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font: inherit;
    background: var(--white);
}

.tag-filter-bar,
.news-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.tag-filter-bar {
    margin-bottom: 1.5rem;
}

.tag-filter-chip,
.news-tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--white);
    color: var(--color-text-dark);
    font-size: 0.84rem;
    font-weight: 600;
}

.tag-filter-chip span {
    color: var(--color-text-light);
    font-weight: 500;
}

.tag-filter-chip.is-active,
.news-tag-chip:hover,
.tag-filter-chip:hover {
    border-color: rgba(31, 122, 69, 0.22);
    color: var(--color-primary-hover);
    background: #f7fbf8;
}

.news-list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.news-list-card,
.article-sidebar-card,
.news-empty-state {
    background: var(--white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.news-list-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.news-list-image-link {
    display: block;
}

.news-list-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.news-list-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1rem 1.1rem 1.1rem;
}

.article-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    color: var(--color-text-light);
    font-size: 0.85rem;
}

.article-meta-row span + span {
    position: relative;
}

.article-meta-row span + span::before {
    content: "";
    position: absolute;
    left: -0.45rem;
    top: 50%;
    width: 3px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
    transform: translateY(-50%);
}

.news-list-content h2,
.article-header h1 {
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.news-list-content h2 {
    font-size: 1.4rem;
}

.news-list-content h2 a,
.related-article-title {
    color: var(--color-text-dark);
}

.news-list-content h2 a:hover,
.related-article-title:hover {
    color: var(--color-primary-hover);
}

.news-list-content p {
    color: var(--color-text-light);
}

.news-list-content .text-link {
    margin-top: auto;
    align-self: flex-start;
}

.news-list-content .news-card-tags {
    margin-top: 0;
    justify-content: flex-start;
    width: 100%;
}

.news-empty-state {
    padding: 1.5rem;
}

.news-pagination-wrap {
    margin-top: 1.75rem;
}

.news-pagination-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
}

.news-pagination-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--white);
    color: var(--color-text-dark);
    font-weight: 600;
}

.news-pagination-list .is-active a,
.news-pagination-list a:hover {
    background: var(--color-highlight);
    color: var(--color-primary-hover);
    border-color: rgba(31, 122, 69, 0.2);
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
    gap: 2rem;
}

.article-main {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.article-detail,
.article-sidebar-card {
    background: var(--white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.article-detail {
    overflow: hidden;
}

.article-breadcrumbs,
.article-header,
.article-body {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.article-breadcrumbs {
    padding-top: 1rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.article-header {
    padding-top: 0.5rem;
    padding-bottom: 1rem;
}

.article-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0.8rem 0 0.9rem;
}

.article-meta-row-detail {
    margin-bottom: 1rem;
}

.article-hero {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.article-hero-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.article-body {
    padding-top: 1.4rem;
    padding-bottom: 1.6rem;
    color: var(--color-text-dark);
}

.article-body > * + * {
    margin-top: 1rem;
}

.article-body p,
.article-body li,
.article-body blockquote {
    line-height: 1.8;
}

.article-body h2,
.article-body h3 {
    margin-top: 1.75rem;
    line-height: 1.3;
}

.article-body h2 {
    font-size: 1.45rem;
}

.article-body h3 {
    font-size: 1.18rem;
}

.article-body ul,
.article-body ol {
    padding-left: 1.25rem;
}

.article-body li + li {
    margin-top: 0.35rem;
}

.article-body blockquote {
    padding-left: 1rem;
    border-left: 3px solid #cfe8d8;
    color: #3f4d46;
}

.article-body a {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

.article-footer-actions {
    /*padding-left: calc(1.5rem + 1px);*/
    padding-right: calc(1.5rem + 1px);
}

.article-sidebar {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.article-sidebar-card {
    padding: 1.2rem;
}

.article-sidebar-card h2 {
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
}

.article-sidebar-card p {
    color: var(--color-text-light);
    margin-bottom: 0.85rem;
}

.related-article-list {
    display: grid;
    gap: 0.85rem;
}

.related-article-item {
    display: grid;
    gap: 0.25rem;
}

.related-article-item span {
    color: var(--color-text-light);
    font-size: 0.84rem;
}

.news-admin-toolbar {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.contact-request-controls {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.contact-request-stats,
.news-admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.9rem;
    margin-bottom: 1.25rem;
}

.contact-request-stat-card,
.news-admin-stat-card {
    padding: 1rem 1.05rem;
    background: linear-gradient(180deg, #f7fbf8, #eef7f1);
    border-radius: 10px;
}

.contact-request-stat-label,
.news-admin-stat-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-primary-hover);
}

.contact-request-stat-value,
.news-admin-stat-value {
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--color-text-dark);
}

.contact-request-control-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding: 0;
    margin: 0;
    border: none;
}

.contact-request-control-group legend {
    width: 100%;
    margin-bottom: 0.1rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-primary-hover);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.news-admin-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.25rem;
}

.news-admin-async-panel {
    transition: opacity 0.18s ease;
}

.news-admin-async-panel.is-loading {
    opacity: 0.62;
    pointer-events: none;
}

.contact-request-option {
    position: relative;
    display: inline-flex;
}

.contact-request-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.contact-request-option .tag-filter-chip {
    border: none;
    background: #eef7f1;
    color: var(--color-primary-hover);
    cursor: pointer;
}

.contact-request-option input:checked + .tag-filter-chip {
    border: none;
    color: var(--white);
    background: var(--color-primary);
}

.contact-request-option input:focus-visible + .tag-filter-chip {
    outline: 2px solid rgba(31, 122, 69, 0.22);
    outline-offset: 2px;
}

.contact-request-option:hover .tag-filter-chip {
    border: none;
    color: var(--color-primary-hover);
    background: #e1f0e6;
}

.news-admin-table-wrap {
    overflow-x: auto;
    background: var(--white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.news-admin-table {
    width: 100%;
    border-collapse: collapse;
}

.news-admin-table th,
.news-admin-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
    vertical-align: top;
}

.news-admin-table tbody tr:last-child td {
    border-bottom: none;
}

.news-admin-table th {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-weight: 700;
}

.news-admin-subline {
    display: block;
    margin-top: 0.25rem;
    color: var(--color-text-light);
    font-size: 0.84rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.status-published {
    background: #eef7f1;
    color: var(--color-primary-hover);
}

.status-draft {
    background: #f3f4f6;
    color: #4b5563;
}

.status-featured {
    background: #fff6e6;
    color: #9a6700;
}

.status-unread {
    background: #fff1f1;
    color: #9f1239;
}

.status-archived {
    margin-left: 0.35rem;
    background: #e8f2ec;
    color: var(--color-primary-hover);
}

.news-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.news-admin-actions form {
    margin: 0;
}

.news-delete-button {
    border: none;
    background: none;
    padding: 0;
    font: inherit;
    color: #b42318;
    font-weight: 600;
    cursor: pointer;
}

.news-delete-button:hover {
    color: #912018;
}

.news-feature-button {
    border: 1px solid #e5d7b1;
    background: #fffaf0;
    color: #9a6700;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
}

.news-feature-button:hover {
    background: #fff3d6;
    color: #7a4f00;
}

.news-archive-button,
.contact-request-archive-button {
    border: 1px solid rgba(31, 122, 69, 0.22);
    background: #eef7f1;
    color: var(--color-primary-hover);
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
}

.news-archive-button:hover,
.contact-request-archive-button:hover {
    background: #e1f0e6;
    color: var(--color-primary-hover);
}

.news-admin-inline-state {
    color: #9a6700;
    font-size: 0.84rem;
    font-weight: 700;
}

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

.news-analytics-card {
    display: grid;
    gap: 0.75rem;
    padding: 1.1rem;
    min-height: 380px;
    max-height: 380px;
    background: var(--white);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
}

.news-analytics-card h2 {
    margin: 0;
    font-size: 1.08rem;
}

.news-analytics-table-wrap {
    overflow-x: auto;
    overflow-y: auto;
}

.news-analytics-table th:last-child,
.news-analytics-table td:last-child {
    text-align: right;
}

.news-editor-shell {
    display: grid;
    gap: 1.5rem;
    max-width: 1080px;
    margin: 0 auto;
}

.news-editor-heading {
    margin-bottom: 0;
}

.news-editor-heading h1 {
    margin-bottom: 0.55rem;
}

.news-editor-heading p {
    max-width: 720px;
}

.news-editor-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.55rem 0.9rem;
    border: 1px solid #d4d8dd;
    border-radius: 999px;
    background: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #4b5563;
}

.news-editor-status-pill.is-published {
    color: #1f7a45;
    border-color: rgba(31, 122, 69, 0.18);
    background: #f7fbf8;
}

.news-editor-layout {
    display: block;
}

.news-editor-form {
    background: var(--white);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    width: 100%;
    padding: 1.25rem;
    display: grid;
    gap: 1rem;
}

.news-editor-panel {
    display: grid;
    gap: 1rem;
    padding: 1.2rem;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: #fff;
}

.news-editor-panel-primary {
    background: #fcfdfc;
}

.news-editor-panel-head h2 {
    margin: 0;
    font-size: 1.14rem;
    line-height: 1.25;
}

.news-editor-panel-head p {
    margin-top: 0.28rem;
    color: var(--color-text-light);
    font-size: 0.95rem;
    max-width: 62ch;
}

.news-editor-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.news-editor-field-grid-compact {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.72fr);
}

.news-editor-inline-note {
    padding: 1rem 1.05rem;
    border: 1px solid #dce8e1;
    border-radius: 10px;
    background: #f7faf8;
}

.news-editor-inline-note strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--color-text-dark);
    font-size: 0.94rem;
}

.news-editor-inline-note p,
.news-editor-field-note {
    color: var(--color-text-light);
    font-size: 0.87rem;
    line-height: 1.5;
}

.news-textarea {
    min-height: 152px;
    resize: vertical;
    line-height: 1.6;
}

.news-textarea-sm {
    min-height: 140px;
}

.news-textarea-xs {
    min-height: 136px;
}

.news-editor-body-source {
    display: none;
}

.news-editor-form .form-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.news-editor-form .form-field {
    display: grid;
    gap: 0.55rem;
    align-content: start;
    min-width: 0;
}

.news-editor-form .form-input {
    display: block;
    min-height: 54px;
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #d7dde5;
    border-radius: 10px;
    background: #fff;
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.news-editor-form textarea.form-input {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

.news-editor-form .form-input:focus {
    border-color: #92bca0;
    box-shadow: 0 0 0 3px rgba(31, 122, 69, 0.08);
    background: #fff;
    outline: none;
}

.contact-request-status-column {
    width: 140px;
}

.contact-request-status-cell {
    vertical-align: middle;
    text-align: left;
    white-space: nowrap;
}

.contact-request-status-cell .status-badge {
    display: inline-flex;
    padding: 0.22rem 0.48rem;
    font-size: 0.74rem;
    letter-spacing: 0.02em;
}

.contact-request-detail-column {
    min-width: 220px;
}

.contact-request-detail-cell {
    vertical-align: top;
}

.contact-request-detail-empty {
    color: #7b8794;
}

.contact-request-detail-cell .news-admin-subline + .news-admin-subline {
    margin-top: 0.55rem;
}

.contact-request-status-form {
    width: 100%;
    margin-top: 0.15rem;
}

.contact-request-popup-status-form {
    margin-top: 0.8rem;
}

.contact-request-status-label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--color-primary-hover);
    font-size: 0.84rem;
    font-weight: 700;
}

.contact-request-status-select {
    display: block;
    width: 100%;
    min-height: 44px;
    padding-left: 0.9rem;
    padding-right: 2.25rem;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    border: 1px solid rgba(31, 122, 69, 0.24);
    border-radius: 10px;
    background: linear-gradient(180deg, #f8fcf9 0%, #eef7f1 100%);
    color: var(--color-primary-hover);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.5;
    appearance: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.contact-request-status-select:focus {
    border-color: rgba(31, 122, 69, 0.38);
    box-shadow: 0 0 0 3px rgba(31, 122, 69, 0.12);
    background: linear-gradient(180deg, #fbfefc 0%, #eef7f1 100%);
    outline: none;
}

.news-editor-title-input {
    min-height: 74px;
    font-size: 1.28rem;
    font-weight: 600;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.news-editor-meta-title-input {
    min-height: 62px;
    font-size: 1.05rem;
}

.news-editor-meta-description-input {
    min-height: 180px;
    width: 100%;
}

.news-editor-datetime-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: stretch;
}

.news-editor-now-button {
    min-height: 54px;
    min-width: 88px;
    white-space: nowrap;
}

.news-editor-readonly {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 54px;
    padding: 0.9rem 1rem;
    border: 1px solid #d7dde5;
    border-radius: 10px;
    background: #f8fafc;
    color: var(--color-text-dark);
    font-size: 1rem;
}

.news-rich-editor {
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.news-rich-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding: 0.8rem;
    border-bottom: 1px solid var(--color-border);
    background: #f8faf9;
}

.news-rich-button {
    min-height: 36px;
    padding: 0.45rem 0.75rem;
    border: 1px solid #d8dde3;
    border-radius: 8px;
    background: #fff;
    color: var(--color-text-dark);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.news-rich-button:hover {
    background: #f3f7f5;
    border-color: #c7d3cb;
    color: #23553a;
}

.news-rich-surface {
    min-height: 380px;
    padding: 1.15rem;
    outline: none;
    color: var(--color-text-dark);
    line-height: 1.75;
    font-size: 1rem;
}

.news-rich-surface:empty::before {
    content: attr(data-placeholder);
    color: #94a3b8;
}

.news-rich-surface p + p,
.news-rich-surface ul + p,
.news-rich-surface ol + p,
.news-rich-surface blockquote + p,
.news-rich-surface p + ul,
.news-rich-surface p + ol,
.news-rich-surface h2 + p {
    margin-top: 0.85rem;
}

.news-rich-surface h2,
.news-rich-surface h3 {
    margin-top: 1.25rem;
    line-height: 1.3;
}

.news-rich-surface h2 {
    font-size: 1.35rem;
}

.news-rich-surface blockquote {
    padding-left: 1rem;
    border-left: 3px solid #d3e8da;
    color: #4a5b53;
}

.news-rich-surface ul,
.news-rich-surface ol {
    padding-left: 1.25rem;
}

.news-rich-surface-lg {
    min-height: 420px;
}

.news-rich-surface-sm {
    min-height: 210px;
}

.news-editor-subsection {
    display: grid;
    gap: 0.85rem;
}

.news-editor-subsection-head h3 {
    margin: 0;
    font-size: 1rem;
}

.news-editor-subsection-head p {
    margin-top: 0.25rem;
    color: var(--color-text-light);
    font-size: 0.92rem;
}

.news-editor-seo-top {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.25fr);
    gap: 1rem;
    align-items: start;
}

.news-editor-seo-stack {
    display: grid;
    gap: 1rem;
}

.news-editor-inline-note-seo {
    width: 100%;
    max-width: none;
}

.news-editor-actions-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 0.15rem;
}

.news-editor-secondary {
    color: var(--color-text-dark);
}

.news-editor-tag-manager {
    display: grid;
    gap: 1rem;
    padding-top: 0.35rem;
}

.news-editor-picker-head h3 {
    margin: 0;
    font-size: 1rem;
}

.news-editor-picker-head p {
    margin-top: 0.25rem;
    color: var(--color-text-light);
    font-size: 0.92rem;
}

.news-tag-input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: stretch;
}

.news-tag-add-button {
    min-height: 54px;
    padding-left: 1rem;
    padding-right: 1rem;
    white-space: nowrap;
}

.news-selected-tags-wrap {
    display: grid;
    gap: 0.6rem;
}

.news-selected-tags-label {
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.news-selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.news-selected-tag,
.news-selected-tags-empty {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 40px;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    border: 1px solid #d9e7de;
    background: #f2f9f4;
    color: #23553a;
    font-size: 0.9rem;
    font-weight: 600;
}

.news-selected-tag {
    cursor: pointer;
    font: inherit;
}

.news-selected-tags-empty {
    background: #fbfcfc;
    border-color: var(--color-border);
    color: var(--color-text-light);
    font-weight: 500;
}

.news-upload-input {
    display: none;
}

.news-upload-field {
    display: grid;
    gap: 0.35rem;
    min-height: 132px;
    padding: 1rem;
    border: 1px dashed #bfd3c6;
    border-radius: 10px;
    background: #f8fbf9;
    cursor: pointer;
}

.news-upload-field-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.news-upload-field-subtitle,
.news-upload-field-file {
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.news-upload-field-file {
    color: #23553a;
    font-weight: 600;
}

.news-editor-image-preview {
    display: grid;
    place-items: center;
    min-height: 180px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: #f8fafc;
}

.news-editor-image-preview.is-empty {
    padding: 1rem;
}

.news-editor-image-empty {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.news-editor-preview {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.news-flash-success {
    margin-bottom: 1rem;
    color: var(--color-primary-hover);
    background: #eef7f1;
    border: 1px solid rgba(31, 122, 69, 0.18);
}

.internal-note-table th:nth-child(1),
.internal-note-table td:nth-child(1) {
    width: 120px;
}

.internal-note-table th:nth-child(4),
.internal-note-table td:nth-child(4) {
    width: 96px;
}

.internal-note-table th:nth-child(5),
.internal-note-table td:nth-child(5),
.internal-note-table th:nth-child(6),
.internal-note-table td:nth-child(6) {
    width: 170px;
}

.privacy-accordion {
    display: grid;
    gap: 0.9rem;
    max-width: 900px;
}

.privacy-panel {
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: var(--white);
}

.privacy-panel[open] {
    box-shadow: 0 14px 30px rgba(31, 41, 55, 0.05);
}

.privacy-panel-summary {
    position: relative;
    display: block;
    padding: 1.05rem 3.5rem 1.05rem 1.15rem;
    cursor: pointer;
    font-size: 1.06rem;
    font-weight: 700;
    line-height: 1.35;
    list-style: none;
}

.privacy-panel-summary::-webkit-details-marker {
    display: none;
}

.privacy-panel-summary::after {
    content: "+";
    position: absolute;
    right: 1.15rem;
    top: 50%;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-primary-hover);
    transform: translateY(-50%);
}

.privacy-panel[open] .privacy-panel-summary::after {
    content: "−";
}

.privacy-panel-body {
    display: grid;
    gap: 0.9rem;
    padding: 0 1.15rem 1.15rem;
    color: var(--color-text-light);
}

.privacy-panel-body p {
    margin: 0;
}

.privacy-shell {
    display: grid;
    gap: 1.5rem;
    max-width: 940px;
}

.privacy-heading {
    margin-bottom: 0;
}

.privacy-accordion {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: none;
}

.privacy-panel {
    display: block;
    width: 100%;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.privacy-panel[open] {
    border-color: rgba(31, 122, 69, 0.18);
}

.privacy-panel-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.05rem 1.15rem;
}

.privacy-panel-summary::marker {
    content: "";
}

.privacy-panel-summary::after {
    content: "";
    position: static;
    right: auto;
    top: auto;
    flex: 0 0 auto;
    width: 0.72rem;
    height: 0.72rem;
    margin-top: -0.15rem;
    border-right: 2px solid var(--color-primary-hover);
    border-bottom: 2px solid var(--color-primary-hover);
    font-size: 0;
    font-weight: 400;
    transform: rotate(45deg);
    transition: transform 0.18s ease;
}

.privacy-panel[open] .privacy-panel-summary::after {
    content: "";
    transform: rotate(-135deg);
}

.admin-shell-section {
    background:
        radial-gradient(circle at top right, rgba(31, 122, 69, 0.08), transparent 22rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 246, 248, 1));
}

.admin-shell-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.admin-shell-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.65rem 0.9rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-text-dark);
    font-size: 0.92rem;
    font-weight: 700;
}

.admin-shell-link:hover,
.admin-shell-link.is-active {
    border-color: rgba(31, 122, 69, 0.22);
    background: #eef7f1;
    color: var(--color-primary-hover);
}

.admin-hero,
.admin-two-column-grid,
.admin-activity-grid {
    display: grid;
    gap: 1rem;
}

.admin-hero {
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr);
    margin-bottom: 1.25rem;
}

.admin-hero-panel,
.admin-kpi-card,
.admin-suite-card,
.admin-activity-card {
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 40px rgba(31, 41, 55, 0.06);
}

.admin-hero-panel {
    padding: 1.4rem;
}

.admin-hero-panel-primary {
    background:
        linear-gradient(135deg, rgba(31, 122, 69, 0.12), rgba(255, 255, 255, 0.98)),
        rgba(255, 255, 255, 0.98);
}

.admin-hero-panel-primary h2 {
    margin: 0.85rem 0 0.7rem;
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.admin-hero-panel-secondary h3 {
    margin: 0.85rem 0 0.25rem;
    font-size: 1.35rem;
}

.admin-hero-panel p {
    color: var(--color-text-light);
}

.admin-hero-actions,
.admin-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.admin-profile-list {
    display: grid;
    gap: 0.8rem;
    margin: 1rem 0 1.1rem;
}

.admin-profile-list dt {
    color: var(--color-text-light);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-profile-list dd {
    margin-top: 0.2rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.admin-kpi-grid,
.admin-suite-grid {
    display: grid;
    gap: 1rem;
}

.admin-kpi-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 1.25rem;
}

.admin-kpi-card {
    padding: 1.15rem;
}

.admin-kpi-label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--color-primary-hover);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-kpi-value {
    display: block;
    margin-bottom: 0.45rem;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.admin-kpi-card p {
    color: var(--color-text-light);
}

.admin-suite-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 1.25rem;
}

.admin-suite-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1.25rem;
}

.admin-suite-card h3 {
    font-size: 1.25rem;
    line-height: 1.2;
}

.admin-suite-card p {
    color: var(--color-text-light);
}

.admin-suite-metric {
    display: inline-flex;
    align-items: flex-end;
    gap: 0.55rem;
}

.admin-suite-metric strong {
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--color-text-dark);
}

.admin-suite-metric span {
    color: var(--color-text-light);
    font-size: 0.92rem;
}

.admin-suite-links,
.admin-chip-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.admin-suite-footer {
    width: 100%;
    margin-top: auto;
    padding-top: 0.35rem;
}

.admin-suite-open-link,
.admin-activity-footer-link {
    width: auto;
    align-self: flex-start;
    justify-content: flex-start;
}

.admin-activity-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-activity-card {
    display: flex;
    flex-direction: column;
    padding: 1.2rem;
}

.admin-activity-card h2 {
    margin: 0 0 0.35rem;
    font-size: 1.12rem;
}

.admin-activity-list {
    display: grid;
    flex: 1 1 auto;
    gap: 0.85rem;
    margin-top: 1rem;
}

.admin-activity-item {
    display: grid;
    gap: 0.35rem;
    padding: 0.95rem;
    border: 1px solid rgba(31, 41, 55, 0.08);
    border-radius: 12px;
    background: #fbfcfd;
}

.admin-activity-item strong {
    color: var(--color-text-dark);
    line-height: 1.35;
}

.admin-activity-item p {
    color: var(--color-text-light);
    line-height: 1.55;
}

.admin-activity-footer {
    margin-top: auto;
    padding-top: 1rem;
}

.admin-activity-footer-link {
    width: auto;
    align-self: flex-start;
}

.admin-two-column-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 1.25rem;
}

.admin-readonly-textarea {
    width: 100%;
    min-height: 180px;
    margin-top: 1rem;
    padding: 0.95rem 1rem;
    border: 1px solid #d7dde5;
    border-radius: 12px;
    background: #fbfcfd;
    color: var(--color-text-dark);
    font: inherit;
    line-height: 1.65;
    resize: vertical;
}

.admin-editor-shell {
    max-width: 840px;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.admin-form-field-wide {
    grid-column: 1 / -1;
}

.admin-checkbox-card {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid #dbe3ea;
    border-radius: 12px;
    background: #fbfcfd;
}

.admin-checkbox-card input {
    margin-top: 0.25rem;
}

.admin-checkbox-card strong {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--color-text-dark);
}

.admin-checkbox-card small {
    color: var(--color-text-light);
    line-height: 1.5;
}

.admin-policy-card {
    margin-bottom: 1rem;
}

.admin-launch-groups {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 1200px) {
    .news-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-kpi-grid,
    .admin-suite-grid,
    .admin-activity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .news-admin-table th:nth-child(6),
    .news-admin-table td:nth-child(6) {
        display: none;
    }
}

@media (max-width: 768px) {
    .news-list-grid,
    .news-analytics-grid,
    .news-editor-field-grid,
    .news-editor-field-grid-compact,
    .news-editor-seo-top {
        grid-template-columns: 1fr;
    }

    .admin-hero,
    .admin-kpi-grid,
    .admin-suite-grid,
    .admin-activity-grid,
    .admin-two-column-grid,
    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-request-stats,
    .news-admin-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-request-control-group {
        gap: 0.5rem;
    }

    .news-editor-form {
        padding: 1rem;
    }

    .news-editor-panel {
        padding: 1rem;
    }

    .news-rich-toolbar {
        gap: 0.45rem;
    }

    .news-rich-button {
        flex: 1 1 calc(50% - 0.45rem);
        justify-content: center;
    }

    .news-rich-surface {
        min-height: 300px;
    }

    .news-analytics-card {
        min-height: 380px;
        max-height: 380px;
    }

    .news-rich-surface-sm {
        min-height: 180px;
    }

    .news-tag-input-row {
        grid-template-columns: 1fr;
    }

    .news-editor-datetime-row {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {
    .article-breadcrumbs,
    .article-header,
    .article-body {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .article-footer-actions {
        padding-left: calc(1rem + 1px);
        padding-right: calc(1rem + 1px);
    }

    .news-search-controls {
        flex-direction: column;
    }

    .contact-request-stats,
    .news-admin-stats {
        grid-template-columns: 1fr;
    }

    .admin-shell-link,
    .admin-inline-actions .btn,
    .admin-hero-actions .btn {
        width: 100%;
    }

    .admin-suite-open-link,
    .admin-activity-footer-link {
        width: auto;
    }

    .contact-request-option {
        width: 100%;
    }

    .contact-request-option .tag-filter-chip,
    .news-search-controls .btn {
        width: 100%;
    }

    .contact-request-table th:nth-child(4),
    .contact-request-table td:nth-child(4),
    .contact-request-table th:nth-child(5),
    .contact-request-table td:nth-child(5) {
        display: none;
    }

    .internal-note-table th:nth-child(4),
    .internal-note-table td:nth-child(4),
    .internal-note-table th:nth-child(5),
    .internal-note-table td:nth-child(5),
    .internal-note-table th:nth-child(6),
    .internal-note-table td:nth-child(6) {
        display: none;
    }

    .news-admin-table th:nth-child(4),
    .news-admin-table td:nth-child(4),
    .news-admin-table th:nth-child(5),
    .news-admin-table td:nth-child(5) {
        display: none;
    }
}
