:root {
  --navbar-mint: #f1faec;
  --navbar-mint-deep: #e8f6df;
  --navbar-lime: #84cc16;
  --navbar-lime-border: #65a30d;
  --navbar-lime-hover: #d9f99d;
  --navbar-ink: #203247;
}
@media (min-width: 1101px) {
  .desktop-site-header {
    background: var(--navbar-mint) !important;
    border-bottom: 1px solid var(--navbar-lime) !important;
    box-shadow: 0 3px 12px rgba(66, 110, 30, .06) !important;
  }
  .desktop-header-top {
    min-height: 98px;
    padding: 12px clamp(18px, 2vw, 34px);
    gap: clamp(12px, 1.5vw, 24px) !important;
    background: var(--navbar-mint) !important;
    border-bottom: 1px solid #d7efbd;
  }
  .desktop-brand {
    gap: clamp(12px, 1.1vw, 18px) !important;
    max-width: 70% !important;
  }
  .desktop-brand-logo {
    flex: 0 0 62px !important;
    width: 62px !important;
    height: 62px !important;
  }
  .desktop-brand-wordmark {
    width: clamp(360px, 40vw, 700px) !important;
    height: 78px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: left center !important;
  }
  .desktop-header-top-actions,
  .desktop-header-actions {
    gap: clamp(5px, .6vw, 9px) !important;
  }
  .desktop-account-action,
  .desktop-header-actions .btn {
    min-height: 39px !important;
    padding: 8px 11px !important;
    border: 1px solid var(--navbar-lime) !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: var(--navbar-ink) !important;
    box-shadow: none !important;
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
  .desktop-account-action > i { color: #168044 !important; }
  .desktop-admin-action {
    background: #fff !important;
    color: #16733f !important;
    border-color: var(--navbar-lime) !important;
    font-weight: 800 !important;
  }
  .desktop-logout-action > i { color: #dc3545 !important; }
  .desktop-header-actions .desktop-login-btn,
  .desktop-header-actions .desktop-join-btn {
    border-color: var(--navbar-lime) !important;
  }
  .desktop-header-actions .desktop-join-btn {
    background: #166534 !important;
    color: #fff !important;
    border-color: #166534 !important;
  }
  .desktop-header-actions .desktop-join-btn > i { color: #fff !important; }
  .desktop-header-actions .desktop-login-btn:hover,
  .desktop-header-actions .desktop-login-btn:focus-visible,
  .desktop-account-action:hover,
  .desktop-account-action:focus-visible {
    background: var(--navbar-lime-hover) !important;
    color: #1f3b17 !important;
    border-color: var(--navbar-lime-border) !important;
  }
  .desktop-header-actions .desktop-join-btn:hover,
  .desktop-header-actions .desktop-join-btn:focus-visible {
    background: #15803d !important;
    color: #fff !important;
    border-color: var(--navbar-lime-border) !important;
  }
  .desktop-nav-row {
    background: var(--navbar-mint-deep) !important;
    border-top: 1px solid #d7efbd !important;
    padding: 0 clamp(12px, 1.7vw, 28px) 10px !important;
  }
  .desktop-main-nav {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: clamp(5px, .7vw, 10px) !important;
    padding-top: 9px !important;
  }
  .desktop-main-nav > a {
    min-width: 0 !important;
    min-height: 40px !important;
    padding: 8px clamp(5px, .65vw, 11px) !important;
    border: 1px solid var(--navbar-lime) !important;
    border-radius: 5px !important;
    background: #ffffff !important;
    color: var(--navbar-ink) !important;
    font-size: clamp(12px, .9vw, 14px) !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
  .desktop-main-nav > a > i {
    display: inline-block !important;
    color: #187449 !important;
    font-size: 13px !important;
  }
  .desktop-main-nav > a::before,
  .desktop-main-nav > a::after { display: none !important; content: none !important; }
  .desktop-main-nav > a:hover,
  .desktop-main-nav > a:focus-visible {
    background: var(--navbar-lime-hover) !important;
    border-color: var(--navbar-lime-border) !important;
    color: #203d1d !important;
  }
  .desktop-main-nav > a.active {
    background: #ecfccb !important;
    border-color: var(--navbar-lime-border) !important;
    color: #203d1d !important;
    box-shadow: none !important;
  }
}
@media (min-width: 1101px) and (max-width: 1320px) {
  .desktop-header-top { min-height: 92px; padding-inline: 15px; gap: 9px !important; }
  .desktop-brand { gap: 9px !important; max-width: 64% !important; }
  .desktop-brand-logo { flex-basis: 58px !important; width: 58px !important; height: 58px !important; }
  .desktop-brand-wordmark { width: clamp(330px, 32vw, 455px) !important; height: 68px !important; }
  .desktop-header-actions { gap: 5px !important; }
  .desktop-account-action,
  .desktop-header-actions .btn { min-height: 37px !important; padding: 7px 8px !important; font-size: 11px !important; }
  .desktop-main-nav { gap: 5px !important; }
  .desktop-main-nav > a { gap: 5px !important; padding-inline: 4px !important; font-size: 10.8px !important; }
  .desktop-main-nav > a > i { font-size: 12px !important; }
}

.news-article-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: none !important;
  min-width: 0;
  padding: 12px 0;
  background: #f2f8ef !important;
}
.news-article-cover img {
  display: block;
  width: 100%;
  height: auto !important;
  max-width: 100%;
  max-height: min(74svh, 820px) !important;
  min-height: 0 !important;
  object-fit: contain !important;
  object-position: center;
}
.profile-overview-page {
  min-width: 0;
  padding: clamp(22px, 3vw, 38px) 0 58px !important;
  background: linear-gradient(180deg, #edf8f0 0, #f8fcf8 250px, #fff 520px) !important;
}
.profile-overview-heading {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 22px !important;
  padding: clamp(20px, 3vw, 30px) !important;
  border: 1px solid #d8eddf !important;
  border-bottom: 1px solid #d8eddf !important;
  border-radius: 16px !important;
  background: linear-gradient(115deg, #f0faf2 0%, #fff 78%) !important;
  box-shadow: 0 8px 24px rgba(24, 83, 48, .055);
  overflow: hidden;
}
.profile-overview-heading::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -65px;
  top: -85px;
  border-radius: 50%;
  background: rgba(132, 204, 22, .09);
  pointer-events: none;
}
.profile-overview-heading > div,
.profile-overview-heading > span { position: relative; z-index: 1; }
.profile-overview-heading .eyebrow { color: #177144 !important; letter-spacing: 1.5px; font-size: 10px; font-weight: 850; }
.profile-overview-heading h1 { color: #172a3e; font-size: clamp(27px, 3.3vw, 37px); letter-spacing: -.8px; }
.profile-overview-heading p:not(.eyebrow) { max-width: 680px; color: #62748a; line-height: 1.7; }
.profile-role-pill {
  border: 1px solid #c7e9ce !important;
  border-radius: 999px !important;
  background: #effbef !important;
  color: #17683d !important;
  padding: 8px 13px !important;
}
.profile-overview-layout {
  grid-template-columns: minmax(260px, 305px) minmax(0, 1fr) !important;
  gap: clamp(16px, 2vw, 24px) !important;
  align-items: start;
}
.profile-identity-card {
  top: 108px;
  padding: 26px 21px !important;
  border: 1px solid #d5e9da !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, #ecf8ef 0%, #fff 185px) !important;
  box-shadow: 0 10px 28px rgba(24, 83, 48, .08) !important;
}
.profile-identity-photo {
  width: 126px !important;
  height: 126px !important;
  margin-bottom: 16px !important;
  border: 4px solid #fff !important;
  outline: 2px solid #b8e4c6;
  box-shadow: 0 8px 20px rgba(17, 94, 52, .13);
  background: #eaf7ee !important;
}
.profile-identity-photo img { object-fit: cover !important; object-position: center 25% !important; }
.profile-identity-card > h2 { color: #1d2d40; font-size: 21px !important; letter-spacing: -.25px; }
.profile-identity-email { line-height: 1.6; }
.profile-identity-meta { border-color: #dceee1 !important; }
.profile-identity-meta > div > i {
  width: 34px !important;
  height: 34px !important;
  flex-basis: 34px !important;
  border-radius: 10px !important;
  background: #e6f7e8 !important;
  color: #187449 !important;
}
.profile-identity-actions .btn {
  min-height: 40px !important;
  border-radius: 8px !important;
  font-weight: 750;
}
.profile-info-card,
.profile-directory-privacy,
.profile-social-card {
  border: 1px solid #dce9df !important;
  border-radius: 14px !important;
  box-shadow: 0 7px 20px rgba(24, 83, 48, .055) !important;
}
.profile-info-card { padding: clamp(17px, 2vw, 23px) !important; }
.profile-info-card-heading { border-color: #e6f0e8 !important; padding-bottom: 15px !important; margin-bottom: 16px !important; }
.profile-info-card-heading h2,
.profile-social-card h2,
.profile-directory-privacy h2 { color: #1d2d40; font-size: 17px !important; }
.profile-info-card-heading p { font-size: 12px !important; line-height: 1.5; }
.profile-card-icon {
  width: 43px !important;
  height: 43px !important;
  flex-basis: 43px !important;
  border-radius: 12px !important;
}
.profile-icon-blue { background: #eef5ff !important; color: #2b68a4 !important; }
.profile-icon-green { background: #e5f8e9 !important; color: #187449 !important; }
.profile-icon-purple { background: #f0edff !important; color: #6850b7 !important; }
.profile-info-grid { gap: 10px !important; }
.profile-info-item {
  padding: 13px 14px !important;
  border: 1px solid #e0eee3 !important;
  border-radius: 10px !important;
  background: #fbfefb !important;
}
.profile-info-item small { font-size: 10.5px !important; letter-spacing: .1px; }
.profile-info-item strong { color: #25384a; font-size: 12.5px !important; line-height: 1.6 !important; }
.profile-about-box { border-color: #e0eee3 !important; }
.profile-about-box p { line-height: 1.8 !important; overflow-wrap: anywhere; }
.profile-directory-privacy {
  padding: 18px !important;
  background: linear-gradient(110deg, #f1fbf2 0, #fff 88%) !important;
}
.profile-directory-privacy .btn { border-radius: 8px !important; }
.profile-social-card { padding: 20px !important; }
.profile-social-actions > a:not(.profile-card-edit-link) {
  border-color: #d7e9dc !important;
  border-radius: 8px !important;
  background: #fbfefb;
  padding: 9px 12px !important;
}
.profile-social-actions > a:hover { background: #edfaef; border-color: #9ed6ad !important; }
.profile-education-list { display: grid; gap: 10px; }
.profile-education-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px;
  min-width: 0;
  border: 1px solid #e0eee3;
  border-radius: 10px;
  background: #fbfefb;
}
.profile-education-symbol {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e6f7e9;
  color: #187449;
}
.profile-education-copy { display: grid; gap: 3px; min-width: 0; }
.profile-education-copy strong { color: #203247; font-size: 13px; }
.profile-education-copy span { color: #62748a; font-size: 11px; overflow-wrap: anywhere; }
.profile-education-batch {
  border: 1px solid #d9efcf;
  border-radius: 999px;
  padding: 6px 9px;
  background: #f3fce8;
  color: #46751a;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .profile-overview-heading { border-radius: 13px !important; }
  .profile-overview-layout { grid-template-columns: minmax(0, 1fr) !important; }
  .profile-identity-card { position: static !important; border-radius: 13px !important; }
}
@media (max-width: 520px) {
  .profile-overview-heading { padding: 18px !important; }
  .profile-overview-heading h1 { font-size: 27px !important; }
  .profile-identity-photo { width: 80px !important; height: 80px !important; }
  .profile-info-card { border-radius: 12px !important; padding: 14px !important; }
  .profile-info-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .profile-education-item { grid-template-columns: 38px minmax(0, 1fr); gap: 9px; padding: 10px; }
  .profile-education-symbol { width: 38px; height: 38px; }
  .profile-education-batch { grid-column: 2; justify-self: start; white-space: normal; }
}
@media (max-width: 1100px) {
  .mobile-site-header .main-nav > a {
    border: 1px solid var(--navbar-lime) !important;
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
  .mobile-site-header .main-nav > a::before,
  .mobile-site-header .main-nav > a::after {
    display: none !important;
    content: none !important;
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  .mobile-site-header .main-nav > a:hover,
  .mobile-site-header .main-nav > a:focus-visible {
    background: var(--navbar-lime-soft) !important;
    border-color: var(--navbar-lime-border) !important;
    color: var(--navbar-ink) !important;
  }
  .mobile-site-header .main-nav > a.active {
    background: var(--navbar-lime-active) !important;
    border-color: var(--navbar-lime-border) !important;
    color: var(--navbar-ink) !important;
  }
}
.auth-screen .auth-visual-panel {
  background-color: #34433a !important;
}
.auth-screen .auth-visual-overlay {
  background:
    linear-gradient(180deg, rgba(36, 53, 43, .24) 0%, rgba(34, 48, 39, .35) 38%, rgba(20, 31, 25, .88) 100%),
    linear-gradient(125deg, rgba(77, 100, 84, .16), rgba(31, 43, 35, .24) 62%) !important;
}
