/* The news page alone opts into the Ivory & Forest editorial layout. */
body.scm-news {
  background: var(--scm-bg) !important;
  color: var(--scm-text) !important;
  font-family: Inter, system-ui, sans-serif !important;
  overflow-x: hidden;
}
body.scm-news::before, body.scm-news::after { display: none !important; content: none !important; }
body.scm-news > nav:first-of-type { background: var(--scm-primary) !important; box-shadow: none !important; border-bottom: 1px solid rgba(255,255,255,.14); }
body.scm-news > nav:first-of-type :where(h1,a) { color: #fff !important; text-shadow: none !important; }
body.scm-news > nav:first-of-type a:hover, body.scm-news > nav:first-of-type a[href="noutati.html"] { background: rgba(255,255,255,.14) !important; }
body.scm-news .mho-sidebar { background: var(--scm-primary) !important; box-shadow: none !important; backdrop-filter: none !important; }
body.scm-news .news-shell { width: min(100% - 48px, 920px); max-width: 920px; margin: 0 auto; padding: 34px 0 58px !important; color: var(--scm-text); overflow: visible; }
body.scm-news .news-page-header { text-align: left !important; margin: 0 0 26px !important; padding: 0 !important; }
body.scm-news .news-utility-row { display: flex; min-height: 26px; align-items: center; }
body.scm-news .news-back-link { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; margin: 0 !important; color: var(--scm-muted) !important; font-size: .78rem !important; line-height: 1.3 !important; font-weight: 550; text-decoration: none; }
body.scm-news .news-back-link:hover { color: var(--scm-primary) !important; text-decoration: underline; }
body.scm-news .news-back-link svg { width: 15px !important; height: 15px !important; flex: none; }
body.scm-news .news-context { color: var(--scm-primary) !important; font-size: .67rem !important; line-height: 1.4 !important; font-weight: 700; letter-spacing: .13em; margin: 18px 0 8px !important; }
body.scm-news .news-mobile-title, html[lang="ru"] body.scm-news .news-mobile-title { color: var(--scm-text) !important; font-size: clamp(2rem, 3.1vw, 2.55rem) !important; line-height: 1.14 !important; letter-spacing: -.036em !important; font-weight: 650 !important; text-shadow: none !important; margin: 0 0 8px !important; text-wrap: balance; }
body.scm-news .news-mobile-copy { color: var(--scm-muted) !important; font-size: .925rem !important; line-height: 1.55 !important; max-width: 62ch !important; margin: 0 !important; text-wrap: pretty; }
body.scm-news .news-content { min-width: 0; border-top: 1px solid var(--scm-border); }
body.scm-news .news-toolbar { display: flex; justify-content: flex-start; align-items: center; min-height: 68px; }
body.scm-news .news-segments { display: inline-flex; align-items: center; gap: 3px; padding: 4px; border: 1px solid var(--scm-border); border-radius: 10px; background: #F1F2EF; }
body.scm-news .news-segment { min-height: 36px; padding: 6px 16px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--scm-muted); font: inherit; font-size: .82rem; font-weight: 600; line-height: 1.3; cursor: pointer; white-space: nowrap; }
body.scm-news .news-segment:hover { color: var(--scm-primary); }
body.scm-news .news-segment.is-active { background: var(--scm-surface); border-color: var(--scm-border); color: var(--scm-primary); box-shadow: 0 1px 3px rgba(36,43,41,.06); }
body.scm-news .news-group { margin: 0; }
body.scm-news .news-group + .news-group { margin-top: 22px; }
body.scm-news .news-group-heading { display: flex; align-items: baseline; padding: 4px 0 10px; }
body.scm-news .news-group-heading h2 { margin: 0; color: var(--scm-primary) !important; font-size: .75rem !important; font-weight: 700 !important; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; text-shadow: none !important; }
body.scm-news .news-list { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; background: var(--scm-surface); border: 1px solid var(--scm-border); border-radius: 11px; overflow: hidden; }
body.scm-news .news-entry { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 24px; padding: 20px 22px; margin: 0; min-width: 0; background: var(--scm-surface); border: 0; box-shadow: none; transition: background .16s ease; }
body.scm-news .news-entry + .news-entry { border-top: 1px solid var(--scm-border); }
body.scm-news .news-entry:hover { background: #FCFCFA; }
body.scm-news .news-entry-body { min-width: 0; }
body.scm-news .news-entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: 7px; color: var(--scm-muted); font-size: .72rem; font-weight: 550; line-height: 1.4; }
body.scm-news .news-entry-type { color: var(--scm-primary); font-weight: 700; }
body.scm-news .news-entry-course::before, body.scm-news .news-entry-date::before { content: '·'; margin-right: 12px; color: #B0B8B2; }
body.scm-news .news-entry h3 { color: var(--scm-text) !important; font-size: 1.13rem !important; font-weight: 650 !important; line-height: 1.32 !important; letter-spacing: -.018em; margin: 0 0 5px !important; overflow-wrap: anywhere; }
body.scm-news .news-entry-description-block { margin: 8px 0 0; }
body.scm-news .news-detail-label { display: block; color: var(--scm-primary) !important; font-size: .7rem !important; font-weight: 650; line-height: 1.4; margin-bottom: 2px; }
body.scm-news .news-entry-description { color: var(--scm-muted) !important; font-size: .82rem !important; line-height: 1.55 !important; margin: 0 !important; white-space: pre-line; overflow-wrap: anywhere; }
body.scm-news .news-entry-description.is-collapsed { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
body.scm-news .news-description-toggle { display: inline-flex; align-items: center; min-height: 32px; margin: 3px 0 0; padding: 2px 0; border: 0; background: transparent; color: var(--scm-primary); font: inherit; font-size: .76rem; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
body.scm-news .news-entry-location { display: flex; align-items: flex-start; gap: 7px; color: var(--scm-muted) !important; font-size: .8rem !important; line-height: 1.45 !important; margin: 9px 0 0 !important; overflow-wrap: anywhere; }
body.scm-news .news-entry-location svg { width: 16px; height: 16px; flex: none; color: var(--scm-primary); margin-top: 1px; }
body.scm-news .news-entry-location > span { min-width: 0; }
body.scm-news .news-detail-value { display: block; color: var(--scm-muted) !important; }
body.scm-news .news-entry-actions { display: flex; flex-direction: column; align-items: stretch; gap: 6px; min-width: 155px; }
body.scm-news .news-entry-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 12px; border-radius: 7px !important; border: 1px solid var(--scm-border); color: var(--scm-primary) !important; background: #fff !important; box-shadow: none !important; font: inherit; font-size: .77rem !important; font-weight: 650 !important; line-height: 1.25; text-align: center; text-decoration: none; white-space: normal; cursor: pointer; transform: none !important; }
body.scm-news .news-entry-action svg { width: 15px; height: 15px; flex: none; }
body.scm-news .news-entry-action-primary { border-color: var(--scm-primary); background: var(--scm-primary) !important; color: #fff !important; }
body.scm-news .news-entry-action-primary:hover { background: var(--scm-primary-hover) !important; border-color: var(--scm-primary-hover); }
body.scm-news .news-entry-action-secondary:hover { background: var(--scm-soft) !important; }
body.scm-news .news-feedback { display: flex; flex-direction: column; align-items: flex-start; padding: 28px 3px 38px; border-top: 1px solid var(--scm-border); color: var(--scm-muted); }
body.scm-news .news-feedback.hidden { display: none !important; }
body.scm-news .news-feedback-icon { width: 37px; height: 37px; margin: 0 0 12px; color: var(--scm-primary); opacity: .78; }
body.scm-news .news-feedback h2 { color: var(--scm-text) !important; font-size: 1.12rem !important; font-weight: 650; line-height: 1.3; margin: 0 0 5px; }
body.scm-news .news-feedback p { color: var(--scm-muted) !important; font-size: .84rem !important; line-height: 1.55; margin: 0; max-width: 54ch; }
body.scm-news #registrationModal { z-index: 1200 !important; }
body.scm-news #registrationModal { background: rgba(20,32,27,.6) !important; padding: 16px !important; overflow-y: auto; align-items: center; }
body.scm-news #registrationModal > div { background: var(--scm-surface) !important; border: 1px solid var(--scm-border) !important; border-radius: 14px !important; box-shadow: 0 20px 55px rgba(20,32,27,.18) !important; max-width: 560px !important; max-height: calc(100dvh - 32px) !important; overflow-y: auto !important; overscroll-behavior: contain; }
body.scm-news #registrationModal > div > .p-6 { padding: 24px !important; }
body.scm-news #registrationModal h2 { color: var(--scm-text) !important; font-size: 1.3rem !important; font-weight: 650; line-height: 1.25; margin: 0; }
body.scm-news #registrationModal .flex.justify-between { gap: 12px; margin-bottom: 18px !important; }
body.scm-news #closeModal { display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 44px; min-height: 44px; color: var(--scm-primary) !important; border: 1px solid var(--scm-border); border-radius: 9px; }
body.scm-news #closeModal:hover { background: var(--scm-soft); }
body.scm-news #seminarInfo { background: var(--scm-soft) !important; border: 1px solid #D5E3DB !important; border-radius: 9px !important; padding: 13px 15px !important; margin-bottom: 18px !important; }
body.scm-news #modalSeminarTitle { color: var(--scm-text) !important; font-size: .95rem; line-height: 1.4; margin: 0 0 3px !important; }
body.scm-news #modalSeminarDates { color: var(--scm-muted) !important; font-size: .8rem !important; }
body.scm-news #seminarRegistrationForm { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
body.scm-news #seminarRegistrationForm > * { min-width: 0; margin: 0 !important; }
body.scm-news #seminarRegistrationForm > div:last-of-type, body.scm-news #seminarRegistrationForm > button { grid-column: 1 / -1; }
body.scm-news #seminarRegistrationForm label { display: block; color: var(--scm-text) !important; font-size: .82rem !important; font-weight: 600; line-height: 1.4; margin: 0 0 6px !important; }
body.scm-news #seminarRegistrationForm label .text-red-500 { color: var(--scm-error) !important; }
body.scm-news #seminarRegistrationForm :is(input,textarea) { background: #fff !important; color: var(--scm-text) !important; border: 1px solid #B9C5BF !important; border-radius: 9px !important; box-shadow: none !important; min-height: 46px; padding: 10px 12px !important; font-size: 1rem !important; }
body.scm-news #seminarRegistrationForm textarea { min-height: 84px; resize: vertical; }
body.scm-news #seminarRegistrationForm :is(input,textarea)::placeholder { color: var(--scm-muted) !important; }
body.scm-news #seminarRegistrationForm :is(input,textarea):focus-visible { border-color: var(--scm-primary) !important; box-shadow: 0 0 0 3px rgba(37,76,67,.16) !important; }
body.scm-news #seminarRegistrationForm :is(input,textarea):user-invalid { border-color: var(--scm-error) !important; background: var(--scm-error-soft) !important; }
body.scm-news #seminarRegistrationForm > button { background: var(--scm-primary) !important; color: #fff !important; border-radius: 9px !important; min-height: 46px; font-size: .95rem !important; font-weight: 650; box-shadow: none !important; }
body.scm-news #seminarRegistrationForm > button:hover { background: var(--scm-primary-hover) !important; }
body.scm-news #registrationStatusMessage { font-size: .875rem; line-height: 1.45; border-radius: 9px !important; padding: 12px 14px !important; }
body.scm-news #registrationStatusMessage.bg-red-100 { background: var(--scm-error-soft) !important; color: var(--scm-error) !important; border-color: #E7B4B5 !important; }
body.scm-news #registrationStatusMessage.bg-green-100 { background: var(--scm-success-soft) !important; color: var(--scm-success) !important; border-color: #B7D8C2 !important; }
body.scm-news > footer.news-footer { background: var(--scm-bg) !important; border-top: 1px solid var(--scm-border); box-shadow: none !important; color: var(--scm-text) !important; text-align: left !important; margin: 0 !important; padding: 0 !important; backdrop-filter: none !important; }
body.scm-news .news-footer-inner { width: min(100% - 48px, 920px); margin: 0 auto; padding: 30px 0 18px; }
body.scm-news .news-footer-top { display: grid; grid-template-columns: 1.15fr .85fr 2fr; gap: 28px; align-items: start; }
body.scm-news .news-footer-brand strong { display: block; color: var(--scm-primary); font-size: .9rem; line-height: 1.4; font-weight: 700; }
body.scm-news .news-footer-brand span { display: block; color: var(--scm-muted) !important; font-size: .75rem; margin-top: 3px; }
body.scm-news .news-footer h2 { color: var(--scm-text) !important; font-size: .75rem !important; font-weight: 700; line-height: 1.4; margin: 0 0 10px; }
body.scm-news .news-footer-links nav { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
body.scm-news .news-footer a { color: var(--scm-primary) !important; font-size: .76rem; font-weight: 600; line-height: 1.4; text-decoration: none; }
body.scm-news .news-footer a:hover { text-decoration: underline; }
body.scm-news .news-footer-contacts ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
body.scm-news .news-footer-contacts li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; border-bottom: 1px solid var(--scm-border); padding-bottom: 7px; }
body.scm-news .news-footer-contacts li:last-child { border-bottom: 0; padding-bottom: 0; }
body.scm-news .news-footer-contacts li span { color: var(--scm-muted) !important; font-size: .73rem; line-height: 1.35; }
body.scm-news .news-footer-contacts li a { flex: none; white-space: nowrap; }
body.scm-news .news-footer-bottom { display: flex; gap: 4px; flex-wrap: wrap; border-top: 1px solid var(--scm-border); margin-top: 24px; padding-top: 12px; color: var(--scm-muted); font-size: .7rem; line-height: 1.4; }
body.scm-news .news-footer-bottom span { color: var(--scm-muted) !important; }
@media (max-width: 768px) {
  body.scm-news .news-shell { width: min(100% - 32px, 920px); padding: 24px 0 38px !important; }
  body.scm-news .news-utility-row { padding-right: 54px; min-height: 30px; }
  body.scm-news .news-page-header { margin-bottom: 22px !important; }
  body.scm-news .news-context { margin: 13px 0 6px !important; font-size: .61rem !important; letter-spacing: .11em; }
  body.scm-news .news-mobile-title, html[lang="ru"] body.scm-news .news-mobile-title { font-size: clamp(1.65rem, 6.8vw, 2rem) !important; line-height: 1.18 !important; margin-bottom: 7px !important; letter-spacing: -.028em !important; }
  body.scm-news .news-mobile-copy { font-size: .86rem !important; line-height: 1.5 !important; }
  body.scm-news .news-toolbar { min-height: 66px; }
  body.scm-news .news-segments { width: 100%; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
  body.scm-news .news-segment { min-width: 0; min-height: 40px; padding: 7px 6px; font-size: .78rem; }
  body.scm-news .news-group + .news-group { margin-top: 19px; }
  body.scm-news .news-entry { grid-template-columns: minmax(0,1fr); gap: 13px; padding: 17px 16px; }
  body.scm-news .news-entry h3 { font-size: 1.02rem !important; }
  body.scm-news .news-entry-description { font-size: .8rem !important; }
  body.scm-news .news-entry-action, body.scm-news .news-entry-actions { width: 100%; }
  body.scm-news .news-entry-actions { flex-direction: row; min-width: 0; }
  body.scm-news .news-entry-actions > * { flex: 1; }
  body.scm-news .news-entry-action { min-height: 44px; }
  body.scm-news .news-feedback { padding: 25px 0 30px; }
  body.scm-news .news-footer-inner { width: min(100% - 32px, 920px); padding: 24px 0 15px; }
  body.scm-news .news-footer-top { grid-template-columns: 1fr; gap: 20px; }
  body.scm-news .news-footer-links nav { flex-direction: row; flex-wrap: wrap; gap: 7px 15px; }
  body.scm-news .news-footer-contacts ul { gap: 7px; }
  body.scm-news .news-footer-contacts li { gap: 8px; }
  body.scm-news .news-footer-bottom { margin-top: 19px; }
  body.scm-news #registrationModal { padding: 12px !important; }
  body.scm-news #registrationModal > div { max-height: calc(100dvh - 24px) !important; }
  body.scm-news #registrationModal > div > .p-6 { padding: 18px !important; }
  body.scm-news #registrationModal h2, html[lang="ru"] body.scm-news #registrationModal h2 { font-size: 1.15rem !important; }
  body.scm-news #seminarRegistrationForm { grid-template-columns: minmax(0,1fr); gap: 14px; }
}
@media (max-width: 420px) {
  body.scm-news .news-entry-actions { flex-direction: column; }
  body.scm-news .news-footer-contacts li { flex-wrap: wrap; gap: 1px 8px; }
  body.scm-news .news-footer-contacts li span { flex-basis: 100%; }
}
body.scm-news .news-footer .news-footer-links nav { background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border: 0 !important; }
body.scm-news .news-footer-contacts summary { display: block; list-style: none; color: var(--scm-text) !important; font-size: .75rem !important; font-weight: 700; line-height: 1.4; margin: 0 0 10px; }
body.scm-news .news-footer-contacts summary::-webkit-details-marker { display: none; }
@media (max-width: 768px) {
  body.scm-news .news-footer-contacts { border-top: 1px solid var(--scm-border); padding-top: 12px; }
  body.scm-news .news-footer-contacts summary { display: flex; align-items: center; justify-content: space-between; min-height: 36px; margin: 0; cursor: pointer; font-size: .82rem !important; }
  body.scm-news .news-footer-contacts summary::after { content: '+'; color: var(--scm-primary); font-size: 1.15rem; font-weight: 400; }
  body.scm-news .news-footer-contacts[open] summary::after { content: '−'; }
  body.scm-news .news-footer-contacts ul { margin-top: 10px; }
}
body.scm-news > nav.bg-gradient-to-r.from-amber-600.to-orange-600 { background: var(--scm-primary) !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
body.scm-news #registrationModal > div { width: 100% !important; margin: 0 !important; }

@media (max-width: 767px) {
  body.scm-news .news-footer-links { display: none !important; }
}
