body.l7a-surface-archive {
  --l7r-bg: #f4f6f8;
  --l7r-surface: #fff;
  --l7r-text: #1b2028;
  --l7r-muted: #596474;
  --l7r-line: #dde3ea;
  --l7r-accent: #2981d2;
  color: var(--l7r-text);
  background: var(--l7r-bg);
}

html[data-l7a-theme='dark'] body.l7a-surface-archive {
  --l7r-bg: #0e1116;
  --l7r-surface: #171b22;
  --l7r-text: #f5f7fa;
  --l7r-muted: #a5afbd;
  --l7r-line: #2c3440;
  --l7r-accent: #66c7f1;
}

html[data-l7a-theme='light'] body.l7a-surface-archive {
  --l7a-shell-color: #1b2028;
  --l7a-shell-muted: #596474;
  --l7a-shell-rgb: 249 252 253;
  --l7a-shell-line: rgba(24, 48, 60, 0.12);
  --l7a-shell-surface: rgb(var(--l7a-shell-rgb) / 0.82);
  --l7a-shell-surface-strong: rgb(var(--l7a-shell-rgb) / 0.94);
  --l7a-shell-menu-surface: rgb(var(--l7a-shell-rgb) / 0.97);
}

html[data-l7a-theme='light'] body.l7a-surface-archive .l7a-site-brand__logo {
  content: url('/wp-content/uploads/2018/08/7l-logo-b.png');
  filter: none;
  opacity: 1;
}

html[data-l7a-theme='light'] body.l7a-surface-archive
  :is(.l7a-site-theme-toggle, .xl-site-theme-toggle, .l7a-site-menu-button) {
  border-color: rgba(24, 48, 60, 0.16);
  background: rgba(24, 48, 60, 0.055);
  color: #18303c;
}

body.l7a-surface-archive .l-main {
  min-height: 72vh;
  padding-top: var(--l7a-shell-height);
  color: var(--l7r-text);
  background: var(--l7r-bg);
}

body.l7a-surface-archive .l-main > .l-section {
  padding-block: 0 !important;
}

body.l7a-surface-archive .l-titlebar-h,
body.l7a-surface-archive
  .l-main > .l-section:first-child > .l-section-h {
  min-height: 0 !important;
  padding-block: clamp(1.1rem, 1.8vw, 1.75rem) !important;
}

body.l7a-surface-archive .l-main > .l-section > .l-section-h {
  box-sizing: border-box;
  width: min(1180px, calc(100% - 2.5rem));
  max-width: none;
  margin-inline: auto;
  padding-block: clamp(1.35rem, 2.5vw, 2.25rem);
}

body.l7a-surface-archive .l-main :is(h1, h2, h3, h4, h5, h6) {
  color: var(--l7r-text);
}

body.l7a-surface-archive .l-main :is(.post_content, .post_date, .post_comments, .g-breadcrumbs) {
  color: var(--l7r-muted);
}

body.l7a-surface-archive .w-grid-item-h,
body.l7a-surface-archive .l-sidebar .widget {
  overflow: hidden;
  border: 1px solid var(--l7r-line);
  border-color: var(--l7r-line);
  border-radius: 14px;
  background: var(--l7r-surface);
}

body.l7a-surface-archive .w-grid-item-h {
  box-shadow: 0 8px 24px rgba(18, 34, 48, 0.06);
}

html[data-l7a-theme='dark'] body.l7a-surface-archive .w-grid-item-h {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

html[data-l7a-theme='dark'] body.l7a-surface-archive
  :is(.l-section, .l-section-h, .w-grid-item-h, .l-sidebar .widget) {
  color: var(--l7r-text);
}

html[data-l7a-theme='dark'] body.l7a-surface-archive
  .l-main > .l-section:not(.with_img) {
  background-color: var(--l7r-bg) !important;
}

html[data-l7a-theme='dark'] body.l7a-surface-archive
  .l-main > .l-section.color_alternate:not(.with_img) {
  background-color: var(--l7r-surface) !important;
}

html[data-l7a-theme='dark'] body.l7a-surface-archive
  .l-main :is(h1, h2, h3, h4, h5, h6) {
  color: var(--l7r-text) !important;
}

body.l7a-surface-archive .w-grid-item .post_title,
body.l7a-surface-archive .w-grid-item .post_title a,
body.l7a-surface-archive .l-sidebar .widgettitle {
  color: var(--l7r-text);
}

body.l7a-surface-archive .w-grid-item .post_title a {
  text-decoration: none;
}

body.l7a-surface-archive .w-grid-item .post_content {
  line-height: 1.62;
}

body:is(.l7a-surface-archive, .l7a-page-kind-news) .l7a-community-widget {
  box-sizing: border-box;
  width: 100%;
  max-width: 433px;
  margin: 0 auto 24px;
  color: var(--l7r-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

body:is(.l7a-surface-archive, .l7a-page-kind-news) .l7a-community-widget *,
body:is(.l7a-surface-archive, .l7a-page-kind-news) .l7a-community-widget *::before,
body:is(.l7a-surface-archive, .l7a-page-kind-news) .l7a-community-widget *::after {
  box-sizing: inherit;
}

body:is(.l7a-surface-archive, .l7a-page-kind-news) .l7a-community-widget__panel {
  background: var(--l7r-surface);
}

body:is(.l7a-surface-archive, .l7a-page-kind-news) .l7a-community-widget__cover {
  position: relative;
  display: flex;
  overflow: hidden;
  width: 100%;
  align-items: center;
  gap: 11px;
  aspect-ratio: 433 / 140;
  min-height: 81px;
  padding: 12px 13px;
  color: #fff;
  text-decoration: none;
  background-color: #26344b;
  background-position: center;
  background-size: cover;
  border-radius: 2px;
}

body:is(.l7a-surface-archive, .l7a-page-kind-news) .l7a-community-widget__cover::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background: #182431 url('/wp-content/uploads/2018/08/7l-logo-w.png') center / min(222px, 72%) auto no-repeat;
}

body:is(.l7a-surface-archive, .l7a-page-kind-news) .l7a-community-widget__count {
  margin: 13px clamp(10px, 5.3%, 23px) 0;
  color: var(--l7r-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

body:is(.l7a-surface-archive, .l7a-page-kind-news) .l7a-community-widget__members {
  display: flex;
  min-height: 30px;
  align-items: center;
  justify-content: space-between;
  gap: clamp(5px, 1.6%, 9px);
  margin: 14px 0 0;
  padding: 0 clamp(10px, 5.3%, 23px);
}

body:is(.l7a-surface-archive, .l7a-page-kind-news) .l7a-community-widget__member {
  display: inline-flex;
  flex: 0 0 clamp(28px, 10.7%, 46px);
  width: clamp(28px, 10.7%, 46px);
  height: auto;
  aspect-ratio: 1;
  overflow: hidden;
  background-color: #26344b;
  background-position: center;
  background-size: cover;
  border-radius: 50%;
}

body:is(.l7a-surface-archive, .l7a-page-kind-news) .l7a-community-widget__action {
  display: flex;
  width: auto;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px clamp(8px, 2.3%, 10px) 0;
  padding: 9px clamp(10px, 4%, 16px);
  border-radius: 8px;
  background: #5d86b4;
  color: #fff !important;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.08);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background-color 140ms ease, box-shadow 140ms ease;
}

body:is(.l7a-surface-archive, .l7a-page-kind-news) .l7a-community-widget__logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
}

body:is(.l7a-surface-archive, .l7a-page-kind-news) .l7a-community-widget__action:hover,
body:is(.l7a-surface-archive, .l7a-page-kind-news) .l7a-community-widget__action:focus,
body:is(.l7a-surface-archive, .l7a-page-kind-news) .l7a-community-widget__action:visited {
  background: #4f7eaf;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(55, 103, 153, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

body:is(.l7a-surface-archive, .l7a-page-kind-news) .l7a-community-widget__action:active {
  background: #4875a4;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.14);
}

body.l7a-surface-archive :is(a, button):focus-visible {
  outline: 2px solid rgba(93, 134, 180, 0.42);
  outline-offset: 2px;
}

@media (max-width: 480px) {
  body.l7a-surface-archive .l-titlebar-h,
  body.l7a-surface-archive
    .l-main > .l-section:first-child > .l-section-h {
    padding-block: 1rem !important;
  }

  body.l7a-surface-archive .l-main > .l-section > .l-section-h {
    width: min(100% - 1.5rem, 1180px);
  }

  body:is(.l7a-surface-archive, .l7a-page-kind-news) .l7a-community-widget {
    max-width: 100%;
  }

  body:is(.l7a-surface-archive, .l7a-page-kind-news) .l7a-community-widget__action {
    min-height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:is(.l7a-surface-archive, .l7a-page-kind-news) .l7a-community-widget__action {
    transition: none;
  }
}
