.newsletter-content { align-items: center; display: flex; flex-direction: column; gap: 1rem; }
.newsletter-hero-group { margin: 1rem; }
.newsletter-title { min-height: 260px !important; text-align: center; }
.newsletter-title h1 { max-width: 900px; overflow-wrap: anywhere; }
.newsletter-intro { align-items: center; display: flex; gap: 1rem; justify-content: space-between; padding: 1.5rem !important; }
.newsletter-intro p { line-height: 1.65; margin: .45rem 0 0; max-width: 720px; }
.newsletter-account { align-items: flex-end; display: flex; flex-direction: column; gap: .65rem; min-width: 230px; text-align: right; }
.newsletter-sections { margin: 0 1rem 1rem; }
.newsletter-list-section,
.newsletter-detail-section,
.newsletter-comments,
.newsletter-subscription,
.newsletter-state { grid-column: 1 / -1; }
.newsletter-list-section { overflow: hidden; padding: clamp(1.25rem, 3vw, 2.25rem) !important; }
.newsletter-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.newsletter-grid .newsletter-card { background: var(--jkz-panel-soft) !important; border: 1px solid var(--jkz-border-soft) !important; border-left-color: var(--jkz-accent) !important; border-radius: 8px !important; display: flex; flex-direction: column; min-height: 230px; padding: 1.25rem; }
.newsletter-card time,
.newsletter-article time { color: var(--jkz-link); font-size: .84rem; font-weight: 700; }
.newsletter-card h3 { font-size: 1.3rem; margin: .75rem 0 .5rem; overflow-wrap: anywhere; }
.newsletter-card p { flex: 1; line-height: 1.6; overflow-wrap: anywhere; }
.newsletter-read-more { font-weight: 800; margin-top: .5rem; }
.newsletter-breadcrumb { align-items: center; display: flex; flex: 0 1 auto; flex-wrap: wrap; gap: .55rem; justify-content: flex-start; margin-bottom: 1rem; text-align: left; width: auto; }
.newsletter-breadcrumb > * { flex: 0 1 auto; text-align: left; }
.newsletter-breadcrumb a { display: inline-flex; justify-content: flex-start; }
.newsletter-article { margin: 0 !important; padding: clamp(1rem, 3vw, 2rem) !important; }
.newsletter-article > header { background: transparent; border-bottom: 1px solid var(--jkz-border-soft); box-shadow: none; display: block; font-size: inherit; font-weight: inherit; margin-bottom: 1.4rem; padding: 0 0 .8rem; position: static; top: auto; width: auto; z-index: auto; }
.newsletter-prose { font-size: 1.03rem; line-height: 1.75; overflow-wrap: anywhere; }
.newsletter-prose h2,
.newsletter-prose h3,
.newsletter-prose h4 { margin: 1.8rem 0 .7rem; }
.newsletter-prose img,
.newsletter-prose video { height: auto; max-width: 100%; }
.newsletter-prose pre { max-width: 100%; overflow-x: auto; }
.newsletter-prose table { display: block; max-width: 100%; overflow-x: auto; }
.newsletter-prose a { overflow-wrap: anywhere; }
.newsletter-section-head { align-items: flex-start; display: flex; gap: 1rem; justify-content: space-between; }
.newsletter-section-head h2,
.newsletter-section-head p { margin: 0; }
.newsletter-sort { display: grid; font-size: .82rem; gap: .35rem; }
.newsletter-sort select { min-width: 165px; padding: .55rem; }
.newsletter-comment-form { align-items: stretch; border-bottom: 1px solid var(--jkz-border-soft); display: grid; gap: .65rem; grid-template-columns: minmax(0, 1fr); justify-content: stretch; justify-self: start; margin: 1rem 0; max-width: 680px; padding-bottom: 1.2rem; width: min(100%, 680px); }
.newsletter-comment-form textarea,
.community-comments--group .community-comment textarea { box-sizing: border-box; font: inherit; line-height: 1.5; padding: .8rem; resize: vertical; text-align: left; width: 100%; }
.newsletter-comment-form textarea { min-height: 140px; }
.community-comments--group .community-comment textarea { min-height: 110px; }
.newsletter-form-actions { align-items: center; display: flex; gap: .8rem; justify-content: space-between; }
.newsletter-comment-form .newsletter-form-actions > .jkz-button { flex: 0 0 auto; height: auto; margin: 0; width: auto; }
.newsletter-comment-form [data-comment-status] { min-width: 0; overflow-wrap: anywhere; }
.newsletter-comment-list { display: grid; gap: .75rem; }
.community-comments--group .community-comment-node { margin-left: min(calc(var(--thread-depth, 0) * 1.25rem), 8rem); min-width: 0; }
.community-comments--group .community-comment { background: var(--jkz-panel-soft) !important; border: 1px solid var(--jkz-border-soft) !important; border-left-color: var(--jkz-accent) !important; border-radius: 8px !important; padding: 1rem !important; }
.community-comments--group .community-comment:target { border-color: var(--jkz-link) !important; box-shadow: 0 0 0 3px rgba(124,58,237,.2); }
.community-comments--group .community-comment-head { align-items: center; display: grid; gap: .75rem; grid-template-columns: 44px minmax(0, 1fr); }
.community-comments--group .community-comment-head p { margin: .15rem 0 0; }
.community-comments--group .community-comment-avatar { align-items: center; background: linear-gradient(135deg, var(--jkz-accent), #6366f1); border: 1px solid var(--jkz-border); border-radius: 50%; display: inline-flex; font-size: .82rem; font-weight: 900; height: 44px; justify-content: center; overflow: hidden; width: 44px; }
.community-comments--group .community-comment-avatar img { height: 100%; object-fit: cover; width: 100%; }
.community-comments--group .community-muted { color: var(--jkz-muted) !important; font-size: .88rem; line-height: 1.5; }
.community-comments--group .community-error { color: #fecaca !important; }
.community-comments--group .community-comment-body { color: var(--jkz-text) !important; line-height: 1.58; overflow-wrap: anywhere; white-space: pre-wrap; }
.community-comments--group .community-comment--deleted .community-comment-body { color: var(--jkz-muted) !important; font-style: italic; }
.community-comments--group .community-comment-actions { align-items: center; display: flex; flex-wrap: wrap; gap: .45rem; justify-content: flex-start; width: 100%; }
.community-comments--group .community-comment-actions > .community-icon-action { align-items: center; background: transparent !important; border: 1px solid transparent !important; border-radius: 8px !important; box-sizing: border-box; display: inline-flex; flex: 0 0 42px; height: 42px; justify-content: center; margin: 0; max-width: 42px; min-height: 42px; min-width: 42px; padding: .55rem !important; width: 42px; }
.community-comments--group .community-icon-action img { filter: brightness(0) invert(1); height: 20px; object-fit: contain; opacity: .82; pointer-events: none; width: 20px; }
.community-comments--group .community-icon-action:hover,
.community-comments--group .community-icon-action:focus-visible { background: rgba(124,58,237,.18) !important; border-color: var(--jkz-accent) !important; outline: 2px solid transparent; }
.community-comments--group .community-icon-action--danger:hover { background: rgba(220,38,38,.16) !important; border-color: #ef4444 !important; }
.community-reply-context { align-items: center; background: rgba(124,58,237,.12); border-left: 3px solid var(--jkz-accent); display: flex; gap: .75rem; justify-content: space-between; padding: .6rem .75rem; }
.community-reply-context[hidden] { display: none; }
.community-text-action { background: transparent !important; border: 0 !important; color: var(--jkz-link) !important; min-height: 36px; padding: .25rem .45rem; }
.newsletter-pagination { align-items: center; display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.2rem; }
.newsletter-subscription { padding: clamp(1.25rem, 3vw, 2.25rem) !important; }
.newsletter-form { display: grid; gap: .8rem; margin: 0 auto; max-width: 820px; }
.newsletter-form > label:first-child { font-weight: 700; }
.newsletter-form-row { align-items: stretch; display: grid; gap: .75rem; grid-template-columns: minmax(0, 1fr) minmax(17rem, auto); }
.newsletter-form input[type="email"] { box-sizing: border-box; font: inherit; min-height: 48px; padding: .75rem .9rem; width: 100%; }
.newsletter-subscription .newsletter-form-row > input,
.newsletter-subscription .newsletter-form-row > .newsletter-submit { box-sizing: border-box; height: auto; margin: 0; width: 100%; }
.newsletter-submit { min-height: 48px; min-width: min(100%, 17rem); white-space: nowrap; }
.newsletter-submit:disabled { cursor: wait; opacity: .65; }
.newsletter-consent { align-items: flex-start; display: flex; font-size: .92rem; gap: .7rem; line-height: 1.5; }
.newsletter-consent input { flex: 0 0 auto; height: 1.1rem; margin-top: .15rem; width: 1.1rem; }
.newsletter-status { margin: 0; min-height: 1.5rem; }
.newsletter-status[data-state="success"] { color: #86efac !important; }
.newsletter-status[data-state="error"] { color: #fecaca !important; }
.newsletter-honeypot { height: 1px; left: -10000px; overflow: hidden; position: absolute; width: 1px; }
.newsletter-skeleton { animation: newsletter-pulse 1.4s ease-in-out infinite; background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.1), rgba(255,255,255,.04)); background-size: 220% 100%; border: 1px solid var(--jkz-border-soft); border-radius: 8px; height: 105px; }
.newsletter-confirmation { display: block; margin: 3rem auto !important; max-width: 760px; text-align: center; }
@keyframes newsletter-pulse { to { background-position: -220% 0; } }

@media (max-width: 900px) {
  .newsletter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .newsletter-hero-group,
  .newsletter-sections { margin-left: 0; margin-right: 0; width: 100%; }
  .newsletter-intro { align-items: flex-start; flex-direction: column; }
  .newsletter-account { align-items: flex-start; min-width: 0; text-align: left; }
  .newsletter-grid { grid-template-columns: 1fr; }
  .newsletter-form-row { grid-template-columns: 1fr; }
  .newsletter-submit { width: 100%; }
  .community-comments--group .community-comment-node { margin-left: min(calc(var(--thread-depth, 0) * .4rem), 2rem); }
}
@media (max-width: 520px) {
  .newsletter-section-head,
  .newsletter-form-actions { align-items: stretch; flex-direction: column; }
  .newsletter-sort select { width: 100%; }
  .community-comments--group .community-comment { padding: .8rem !important; }
}
@media (prefers-reduced-motion: reduce) {
  .newsletter-skeleton { animation: none; }
}
