.smn {
  --smn-forest: #213b28;
  --smn-deep: #172a1b;
  --smn-leaf: #6f7d45;
  --smn-cream: #f7f4ed;
  --smn-paper: #fffdf8;
  --smn-sand: #e6d8a8;
  --smn-line: #e3dac8;
  --smn-body: #3f4d42;
  --smn-muted: #687169;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--smn-cream);
  color: #243126;
  font-family: inherit;
  box-sizing: border-box;
}

.smn *,
.smn *::before,
.smn *::after {
  box-sizing: border-box;
}

.smn button,
.smn input,
.smn select,
.smn textarea {
  font: inherit;
}

.smn-newsroom {
  position: relative;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 100%),
    radial-gradient(circle at 8% 110%, rgba(111, 125, 69, 0.38), transparent 36%),
    #102518;
  background-size: 38px 38px, auto, auto;
  color: #fff;
}

.smn-newsroom::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 7px;
  background: linear-gradient(90deg, #b42318 0 22%, #d7a729 22% 42%, #151515 42% 62%, #6d3d75 62% 81%, #2f6b43 81%);
}

.smn-newsroom__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto !important;
  max-height: none !important;
  max-width: 1180px;
  min-height: 390px;
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: clamp(46px, 7vw, 88px);
  align-items: center;
  margin: 0 auto;
  padding: clamp(52px, 6vw, 72px) 28px;
}

.smn-newsroom__copy {
  min-width: 0;
}

.smn-newsroom__status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px !important;
  color: #f0dfac !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.smn-newsroom__status span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e13a2f;
  box-shadow: 0 0 0 6px rgba(225, 58, 47, 0.17);
  animation: smn-pulse 2.3s ease-in-out infinite;
}

@keyframes smn-pulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(225, 58, 47, 0.12); }
  50% { box-shadow: 0 0 0 9px rgba(225, 58, 47, 0.03); }
}

.smn-eyebrow,
.smn-kicker {
  margin: 0 0 13px !important;
  color: var(--smn-sand) !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.smn-newsroom h1 {
  max-width: 680px;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: clamp(48px, 5.4vw, 72px) !important;
  font-weight: 900 !important;
  line-height: 0.98 !important;
  letter-spacing: -0.06em;
}

.smn-newsroom__intro {
  max-width: 620px;
  margin: 22px 0 0 !important;
  color: #dce5da !important;
  font-size: clamp(16px, 1.55vw, 19px) !important;
  line-height: 1.58 !important;
}

.smn-newsroom__channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  transform: rotate(-1.5deg);
}

.smn-channel-card {
  --smn-channel-bg: #151515;
  --smn-channel-text: #fff;
  min-height: 72px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 25px;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  background: var(--smn-channel-bg);
  color: var(--smn-channel-text);
  box-shadow: 8px 9px 0 rgba(0, 0, 0, 0.2);
}

.smn-channel-card:first-child {
  grid-column: 1 / -1;
}

.smn-channel-card:nth-child(2),
.smn-channel-card:nth-child(5) {
  transform: translateX(16px);
}

.smn-channel-card__number {
  opacity: 0.58;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 700;
}

.smn-channel-card strong {
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 900;
  letter-spacing: 0.035em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.smn-channel-card__arrow {
  font-size: 20px;
  font-weight: 900;
  text-align: right;
}

.smn-channel-nav {
  border-bottom: 1px solid #d8d1c4;
  background: #fff;
  box-shadow: 0 8px 22px rgba(36, 49, 38, 0.055);
}

.smn-channel-nav__inner {
  max-width: 1180px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0 auto;
  padding: 14px 28px;
}

.smn-channel-nav__label {
  margin-right: 8px;
  color: #6d756e;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.smn-channel-nav a {
  --smn-filter-colour: #151515;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #344137 !important;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none !important;
}

.smn-channel-nav a span {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--smn-filter-colour);
}

.smn-channel-nav a:hover,
.smn-channel-nav a:focus-visible,
.smn-channel-nav a.is-active {
  border-color: #cfd5cc;
  background: #f1f4ee;
  color: #16291b !important;
}

.smn-channel-nav a.smn-channel-nav__add {
  margin-left: auto;
  padding: 10px 15px;
  border-color: var(--smn-deep);
  background: var(--smn-deep);
  color: #fff !important;
  font-size: 12px;
}

.smn-channel-nav a.smn-channel-nav__add span {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--smn-sand);
  font-size: 17px;
  line-height: 0.8;
}

.smn-channel-nav a.smn-channel-nav__add:hover,
.smn-channel-nav a.smn-channel-nav__add:focus-visible {
  border-color: #2f6b43;
  background: #2f6b43;
  color: #fff !important;
}

/* The legacy Shallowmead theme constrains some header elements to 300px. */
.smn .smn-newsroom {
  height: auto !important;
  min-height: 390px !important;
  max-height: none !important;
  overflow: hidden !important;
}

.smn .smn-newsroom__inner {
  height: auto !important;
  min-height: 390px !important;
  max-height: none !important;
  overflow: visible !important;
}

.smn .smn-newsroom h1,
.smn .smn-newsroom__intro,
.smn .smn-editor-jump {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.smn-editor-jump {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 25px;
  padding: 12px 17px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: #fff;
  color: var(--smn-deep) !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: none;
  transition: transform 160ms ease, background 160ms ease;
}

.smn-editor-jump:hover,
.smn-editor-jump:focus-visible {
  background: var(--smn-sand);
  color: var(--smn-deep) !important;
  transform: translateY(-1px);
}

.smn-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(38px, 6vw, 70px) 28px clamp(60px, 8vw, 96px);
}

.smn-notice {
  margin: 0 0 24px;
  padding: 15px 18px;
  border: 1px solid;
  border-radius: 14px;
  font-weight: 700;
}

.smn-notice--success {
  border-color: #a5c2a9;
  background: #eaf4eb;
  color: #275333;
}

.smn-notice--error {
  border-color: #d9a6a1;
  background: #fff0ef;
  color: #8d2018;
}

.smn-card {
  --smn-type-bg: #151515;
  --smn-type-text: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--smn-line);
  border-radius: 22px;
  background: var(--smn-paper);
  box-shadow: 0 14px 35px rgba(36, 49, 38, 0.07);
}

.smn-card__bar {
  order: -2;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 18px;
  background: var(--smn-type-bg);
  color: var(--smn-type-text);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.smn-card__latest {
  opacity: 0.78;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.smn-card__image {
  order: -1;
  display: block;
  overflow: hidden;
  background: #dfe4d9;
  text-decoration: none !important;
}

.smn-card__image img {
  width: 100%;
  height: 245px;
  display: block;
  object-fit: cover;
  transition: transform 350ms ease;
}

.smn-card:hover .smn-card__image img {
  transform: scale(1.025);
}

.smn-card__body {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 25px 25px 27px;
}

.smn-card time,
.smn-single time {
  display: block;
  margin: 0 0 10px;
  color: var(--smn-muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.smn-card h2 {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--smn-deep) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(26px, 2.4vw, 34px) !important;
  font-weight: 600 !important;
  line-height: 1.16 !important;
  letter-spacing: -0.025em;
}

.smn-card h2 a {
  color: inherit !important;
  text-decoration: none !important;
}

.smn-card h2 a:hover,
.smn-card h2 a:focus-visible {
  color: var(--smn-leaf) !important;
}

.smn-card__summary {
  margin: 14px 0 0 !important;
  color: var(--smn-body) !important;
  font-size: 16px !important;
  line-height: 1.64 !important;
}

.smn-card__actions {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 23px;
}

.smn-read-more,
.smn-edit-link {
  color: var(--smn-forest) !important;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none !important;
}

.smn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.smn-read-more span {
  transition: transform 160ms ease;
}

.smn-read-more:hover span,
.smn-read-more:focus-visible span {
  transform: translateX(3px);
}

.smn-edit-link {
  padding: 5px 10px;
  border: 1px solid #ced5c8;
  border-radius: 999px;
  font-size: 12px;
}

.smn-card--featured {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  grid-template-rows: auto 1fr;
  min-height: 440px;
  border-radius: 28px;
  box-shadow: 0 22px 54px rgba(36, 49, 38, 0.105);
}

.smn-card--featured .smn-card__bar {
  grid-column: 1 / -1;
  order: initial;
  padding-right: 24px;
  padding-left: 24px;
}

.smn-card--featured .smn-card__image {
  grid-column: 1;
  grid-row: 2;
  order: initial;
  height: 100%;
}

.smn-card--featured .smn-card__image img {
  height: 100%;
  min-height: 400px;
}

.smn-card--featured .smn-card__body {
  grid-column: 2;
  grid-row: 2;
  order: initial;
  justify-content: center;
  padding: clamp(34px, 5vw, 56px);
}

.smn-card--featured h2 {
  font-size: clamp(36px, 4vw, 52px) !important;
  line-height: 1.08 !important;
}

.smn-card--featured .smn-card__summary {
  font-size: 17px !important;
}

.smn-card--featured.smn-card--no-image {
  display: block;
  min-height: 0;
}

.smn-card--featured.smn-card--no-image .smn-card__body {
  max-width: 850px;
  min-height: 370px;
  padding: clamp(40px, 7vw, 76px);
}

.smn-history-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: clamp(54px, 7vw, 78px) 0 25px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--smn-line);
}

.smn-history-heading .smn-kicker {
  margin: 0 !important;
  color: var(--smn-leaf) !important;
}

.smn-history-heading h2 {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--smn-deep) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(31px, 3.3vw, 45px) !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.03em;
}

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

.smn-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.smn-pagination .page-numbers {
  min-width: 43px;
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border: 1px solid #d2d6cb;
  border-radius: 999px;
  background: #fff;
  color: var(--smn-forest) !important;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none !important;
}

.smn-pagination .page-numbers.current,
.smn-pagination a.page-numbers:hover,
.smn-pagination a.page-numbers:focus-visible {
  border-color: var(--smn-forest);
  background: var(--smn-forest);
  color: #fff !important;
}

.smn-empty {
  overflow: hidden;
  border: 1px solid #d8d0c1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 19px 48px rgba(36, 49, 38, 0.09);
  text-align: left;
}

.smn-empty--first {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  min-height: 420px;
}

.smn-empty__lead {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding: clamp(38px, 6vw, 64px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 100%),
    #172a1b;
  background-size: 28px 28px, auto;
  color: #fff;
}

.smn-empty__lead::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -150px;
  width: 330px;
  height: 330px;
  border: 44px solid rgba(230, 216, 168, 0.07);
  border-radius: 50%;
}

.smn-empty__number {
  position: absolute;
  top: 19px;
  right: 30px;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.08) !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(78px, 10vw, 132px) !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  letter-spacing: -0.08em;
}

.smn-empty__lead .smn-kicker {
  position: relative;
  z-index: 1;
  color: var(--smn-sand) !important;
}

.smn-empty__lead h2 {
  position: relative;
  z-index: 1;
  max-width: 540px;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: clamp(38px, 4.6vw, 58px) !important;
  font-weight: 900 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.055em;
}

.smn-empty__lead > p:not(.smn-kicker):not(.smn-empty__number) {
  position: relative;
  z-index: 1;
  max-width: 530px;
  margin: 20px 0 0 !important;
  color: #dbe4da !important;
  font-size: 16px !important;
  line-height: 1.62 !important;
}

.smn-empty__action {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 27px;
  padding: 13px 17px;
  border-radius: 6px;
  background: var(--smn-sand);
  color: var(--smn-deep) !important;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none !important;
}

.smn-empty__action span {
  font-size: 18px;
  transition: transform 160ms ease;
}

.smn-empty__action:hover span,
.smn-empty__action:focus-visible span {
  transform: translateX(4px);
}

.smn-empty__ideas {
  display: grid;
  align-content: center;
  gap: 13px;
  padding: clamp(28px, 4vw, 44px);
  background: #f5f0e7;
}

.smn-empty-idea {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 3px 17px;
  padding: 18px 18px 18px 24px;
  border: 1px solid #ded7c9;
  border-radius: 10px;
  background: #fff;
  box-shadow: 5px 6px 0 rgba(33, 59, 40, 0.06);
}

.smn-empty-idea::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  border-radius: 10px 0 0 10px;
  background: #151515;
}

.smn-empty-idea--breaking::before { background: #b42318; }
.smn-empty-idea--plants::before { background: #2f6b43; }
.smn-empty-idea--cafe::before { background: #6d3d75; }

.smn-empty-idea > span {
  grid-row: 1 / 3;
  align-self: center;
  color: #687169;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.smn-empty-idea strong {
  color: var(--smn-deep);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 900;
}

.smn-empty-idea small {
  color: #717a72;
  font-size: 12px;
  line-height: 1.35;
}

.smn-empty--filtered {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  padding: 34px;
}

.smn-empty__signal {
  --smn-signal: #151515;
  width: 12px;
  height: 84px;
  border-radius: 4px;
  background: var(--smn-signal);
}

.smn-empty--filtered .smn-kicker {
  margin-bottom: 7px !important;
  color: var(--smn-leaf) !important;
}

.smn-empty--filtered h2 {
  margin: 0 !important;
  color: var(--smn-deep) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: clamp(28px, 3vw, 40px) !important;
  font-weight: 900 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.04em;
}

.smn-empty--filtered p {
  margin: 8px 0 0 !important;
  color: var(--smn-muted) !important;
}

.smn-empty__all {
  color: var(--smn-forest) !important;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none !important;
}

/* Front-end editor, visible only to authorised WordPress users. */
.smn-editor-modal {
  position: fixed;
  z-index: 40000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 26px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.smn-editor-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.smn-editor-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(12, 22, 15, 0.78);
  cursor: default;
  backdrop-filter: blur(4px);
}

.smn-editor-dialog {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: calc(100vh - 52px);
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  transform: translateY(15px) scale(0.985);
  transition: transform 180ms ease;
  overscroll-behavior: contain;
}

.smn-editor-modal.is-open .smn-editor-dialog {
  transform: translateY(0) scale(1);
}

.smn-editor-dialog__header {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 21px 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 100% 0, rgba(230, 216, 168, 0.16), transparent 35%),
    var(--smn-deep);
  color: #fff;
  box-shadow: 0 4px 12px rgba(23, 42, 27, 0.12);
}

.smn-editor-dialog__header p {
  margin: 0 0 4px !important;
  color: var(--smn-sand) !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.smn-editor-dialog__header h2 {
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 27px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
}

.smn-editor-dialog__header small {
  display: block;
  margin-top: 5px;
  color: #dfe6dc;
  font-size: 11px;
}

.smn-editor-close {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 0 3px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 29px;
  font-weight: 300;
  line-height: 1;
}

.smn-editor-close:hover,
.smn-editor-close:focus-visible {
  background: #fff;
  color: var(--smn-deep);
}

body.smn-editor-open {
  overflow: hidden;
}

/*
 * WordPress appends TinyMCE menus, link controls and Media Library windows to
 * the document body rather than inside our editor. Keep those native controls
 * above the front-end editor so every toolbar button remains usable.
 */
.mce-floatpanel,
.mce-menu,
.mce-tooltip,
.mce-window {
  z-index: 60000 !important;
}

#wp-link-backdrop {
  z-index: 100100 !important;
}

#wp-link-wrap {
  z-index: 100105 !important;
}

.media-modal-backdrop {
  z-index: 159900 !important;
}

.media-modal {
  z-index: 160000 !important;
}

.smn-editor-form {
  padding: 25px;
  background: #fff;
}

.smn-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.smn-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.smn-field > span,
.smn-content-editor > span {
  color: var(--smn-forest);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.smn-field > span em {
  color: #7a817b;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.smn-field input[type="text"],
.smn-field input[type="datetime-local"],
.smn-field select,
.smn-field textarea {
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #cfd7cc;
  border-radius: 11px;
  background: #fcfdfb;
  color: #243126;
  outline: none;
}

.smn-field textarea {
  min-height: 98px;
  resize: vertical;
}

.smn-field input:focus,
.smn-field select:focus,
.smn-field textarea:focus {
  border-color: var(--smn-leaf);
  box-shadow: 0 0 0 4px rgba(111, 125, 69, 0.12);
}

.smn-image-control {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(300px, 1.3fr);
  gap: 20px;
  padding: 16px;
  border: 1px solid #dce2d9;
  border-radius: 14px;
  background: #f8faf6;
}

.smn-image-preview {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px dashed #bcc7b9;
  border-radius: 11px;
  background: #eef2eb;
  color: #738073;
  text-align: center;
}

.smn-image-preview.has-image {
  border-style: solid;
}

.smn-image-preview img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: block;
  object-fit: cover;
}

.smn-image-actions {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: center;
  gap: 10px;
}

.smn-upload-label,
.smn-remove-existing {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 3px;
  color: #536155;
  font-size: 13px;
  font-weight: 700;
}

.smn-upload-label input {
  width: 100%;
  padding: 10px;
  border: 1px solid #d4dcd1;
  border-radius: 9px;
  background: #fff;
}

.smn-remove-existing {
  flex-direction: row;
  align-items: center;
}

.smn-remove-existing input {
  margin: 0;
}

.smn-content-editor .wp-editor-wrap {
  overflow: hidden;
  border: 1px solid #cfd7cc;
  border-radius: 11px;
  background: #fff;
}

.smn-content-editor .wp-editor-container {
  border: 0;
}

.smn-content-editor .quicktags-toolbar {
  border: 0;
  border-bottom: 1px solid #d8ddd5;
}

.smn-content-editor .wp-media-buttons .button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  margin: 0 0 8px;
  padding: 7px 12px;
  border: 1px solid var(--smn-forest) !important;
  border-radius: 999px !important;
  background: var(--smn-forest) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

.smn-content-editor .wp-media-buttons .button:hover,
.smn-content-editor .wp-media-buttons .button:focus-visible {
  border-color: var(--smn-deep) !important;
  background: var(--smn-deep) !important;
}

.smn-content-editor .wp-switch-editor {
  height: 34px;
  padding: 6px 13px;
  border-color: #cfd7cc;
  background: #f4f6f2;
  color: #4d5a4f;
  font-size: 12px;
  font-weight: 750;
}

.smn-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  margin-top: 23px;
  padding-top: 20px;
  border-top: 1px solid #e0e5dd;
}

.smn-button {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.1;
  text-decoration: none !important;
}

.smn-button--primary {
  border-color: var(--smn-forest);
  background: var(--smn-forest);
  color: #fff;
}

.smn-button--primary:hover,
.smn-button--primary:focus-visible {
  border-color: var(--smn-deep);
  background: var(--smn-deep);
}

.smn-button--secondary {
  border-color: #bdc8ba;
  background: #fff;
  color: var(--smn-forest);
}

.smn-button--secondary:hover,
.smn-button--secondary:focus-visible {
  background: #edf2ea;
}

.smn-button--quiet {
  border-color: transparent;
  background: transparent;
  color: #647066;
}

.smn-cancel-edit {
  margin-left: auto;
  color: #5a675c !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
}

/* Single news item: deliberately no author, comments or blog metadata. */
.smn-single {
  min-height: 60vh;
}

.smn .smn-single__masthead {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  background:
    radial-gradient(circle at 90% 0, rgba(230, 216, 168, 0.14), transparent 28%),
    var(--smn-deep);
  color: #fff;
}

.smn .smn-single__masthead-inner {
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  display: block !important;
  overflow: visible !important;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(58px, 8vw, 92px) 28px clamp(54px, 7vw, 82px);
}

.smn-back-link {
  display: inline-flex;
  margin-bottom: 29px;
  color: #eef1e9 !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
}

.smn-single__type {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 9px 13px;
  border-radius: 4px;
  background: var(--smn-type-bg);
  color: var(--smn-type-text);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.smn-single__masthead time {
  color: #dfe3db;
}

.smn .smn-single__masthead h1 {
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  display: block !important;
  position: static !important;
  overflow: visible !important;
  max-width: 900px;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(43px, 6.2vw, 72px) !important;
  font-weight: 600 !important;
  line-height: 1.06 !important;
  letter-spacing: -0.043em;
  overflow-wrap: break-word;
}

.smn-single__image {
  max-width: 1080px;
  margin: clamp(34px, 5vw, 60px) auto 0;
  padding: 0 28px;
}

.smn-single__image img {
  width: 100%;
  max-height: 680px;
  display: block;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 18px 48px rgba(36, 49, 38, 0.13);
}

.smn-single__content {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(45px, 7vw, 78px) 28px clamp(70px, 9vw, 110px);
  color: var(--smn-body);
  font-size: 18px;
  line-height: 1.78;
}

.smn-single__content > *:first-child {
  margin-top: 0;
}

.smn-single__content h2,
.smn-single__content h3 {
  margin: 1.5em 0 0.55em !important;
  color: var(--smn-deep) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 600 !important;
  line-height: 1.18 !important;
}

.smn-single__content h2 {
  font-size: clamp(30px, 4vw, 42px) !important;
}

.smn-single__content h3 {
  font-size: clamp(24px, 3vw, 32px) !important;
}

.smn-single__content a {
  color: var(--smn-forest);
  font-weight: 750;
}

.smn-single__content img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.smn-single__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid var(--smn-line);
}

.smn-single__actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--smn-forest) !important;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none !important;
}

@media (max-width: 900px) {
  .smn-newsroom__inner {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: 0;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .smn-newsroom__channels {
    width: min(650px, calc(100% - 16px));
  }

  .smn-card--featured {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .smn-card--featured .smn-card__bar {
    grid-column: 1;
    grid-row: 1;
  }

  .smn-card--featured .smn-card__image {
    grid-column: 1;
    grid-row: 2;
    height: auto;
  }

  .smn-card--featured .smn-card__image img {
    height: clamp(270px, 55vw, 440px);
    min-height: 0;
  }

  .smn-card--featured .smn-card__body {
    grid-column: 1;
    grid-row: 3;
  }

  .smn-image-control {
    grid-template-columns: 1fr;
  }

  .smn-empty--first {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .smn-newsroom__inner,
  .smn-shell,
  .smn-single__masthead-inner,
  .smn-single__image,
  .smn-single__content {
    padding-right: 20px;
    padding-left: 20px;
  }

  .smn-newsroom__inner {
    gap: 34px;
    padding-top: 48px;
    padding-bottom: 45px;
  }

  .smn-newsroom h1 {
    font-size: clamp(43px, 14vw, 60px) !important;
  }

  .smn-newsroom__channels {
    width: 100%;
    grid-template-columns: 1fr;
    transform: none;
  }

  .smn-channel-card:first-child {
    grid-column: 1;
  }

  .smn-channel-card:nth-child(2),
  .smn-channel-card:nth-child(5) {
    transform: none;
  }

  .smn-channel-nav__inner {
    padding-right: 20px;
    padding-left: 20px;
  }

  .smn-channel-nav__label {
    width: 100%;
    margin: 0 0 3px;
  }

  .smn-channel-nav a.smn-channel-nav__add {
    width: 100%;
    justify-content: center;
    margin: 6px 0 0;
  }

  .smn-news-grid {
    grid-template-columns: 1fr;
  }

  .smn-history-heading {
    display: block;
  }

  .smn-history-heading h2 {
    margin-top: 7px !important;
  }

  .smn-card__image img {
    height: 225px;
  }

  .smn-card--featured .smn-card__body,
  .smn-card--featured.smn-card--no-image .smn-card__body {
    min-height: 0;
    padding: 29px 23px 31px;
  }

  .smn-card--featured h2 {
    font-size: clamp(32px, 10vw, 43px) !important;
  }

  .smn-empty__lead,
  .smn-empty__ideas {
    padding: 28px 23px;
  }

  .smn-empty__lead h2 {
    font-size: clamp(36px, 11vw, 48px) !important;
  }

  .smn-empty-idea {
    grid-template-columns: 1fr;
  }

  .smn-empty-idea > span {
    grid-row: auto;
  }

  .smn-empty--filtered {
    grid-template-columns: 9px 1fr;
    gap: 17px;
    padding: 24px 20px;
  }

  .smn-empty__all {
    grid-column: 2;
  }

  .smn-form-grid {
    grid-template-columns: 1fr;
  }

  .smn-field--wide {
    grid-column: 1;
  }

  .smn-editor-form {
    padding: 18px;
  }

  .smn-editor-modal {
    padding: 10px;
  }

  .smn-editor-dialog {
    max-height: calc(100vh - 20px);
    border-radius: 17px;
  }

  .smn-editor-dialog__header {
    padding: 17px 18px;
  }

  .smn-editor-dialog__header h2 {
    font-size: 24px !important;
  }

  .smn-editor-dialog__header small {
    display: none;
  }

  .smn-form-actions {
    align-items: stretch;
  }

  .smn-form-actions .smn-button {
    width: 100%;
  }

  .smn-cancel-edit {
    width: 100%;
    margin: 4px 0 0;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .smn *,
  .smn *::before,
  .smn *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
