:root {
  --isee-font-sans: Poppins, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --isee-color-primary: #0c756f;
  --isee-color-primary-hover: #095c57;
  --isee-color-primary-soft: #e8f4f1;
  --isee-color-accent: #d0922f;
  --isee-color-accent-hover: #a86f1f;
  --isee-color-accent-soft: #fff4df;
  --isee-color-background: #f3f8f6;
  --isee-color-surface: #ffffff;
  --isee-color-text: #1c2b28;
  --isee-color-muted: #61716c;
  --isee-color-border: #d6e3de;
  --isee-color-icon-blue: #0c756f;
  --isee-color-icon-blue-soft: #e8f4f1;
  --isee-color-icon-amber: #d0922f;
  --isee-color-icon-amber-soft: #fff4df;
  --isee-color-icon-coral: #0c756f;
  --isee-color-icon-coral-soft: #e8f4f1;
  --isee-color-icon-violet: #d0922f;
  --isee-color-icon-violet-soft: #fff4df;
  --isee-radius-sm: 4px;
  --isee-radius-md: 8px;
  --isee-radius-lg: 8px;
  --isee-space-1: 4px;
  --isee-space-2: 8px;
  --isee-space-3: 12px;
  --isee-shadow-card: 0 14px 36px rgba(24, 72, 65, 0.08), 0 2px 8px rgba(24, 72, 65, 0.04);
}


body:not(.night-mode) {
  background: var(--isee-color-background);
  color: var(--isee-color-text);
}

body:not(.night-mode) .main-header,
body:not(.night-mode) .card,
body:not(.night-mode) .dropdown-menu,
body:not(.night-mode) .modal-content {
  background-color: var(--isee-color-surface);
  border-color: var(--isee-color-border);
}

.logo {
  color: var(--isee-color-primary) !important;
  font-weight: 700;
}

.main-header .logo .isee-brand-logo {
  height: 38px;
  max-height: 38px;
  width: auto;
}

.fr_welcome_sign_head .isee-brand-logo {
  height: auto;
  max-width: 220px;
  width: 150px;
}

@media (max-width: 767.98px) {
  .main-header .logo .isee-brand-logo {
    height: 32px;
    max-height: 32px;
    max-width: 145px;
  }
}

a,
.text-primary,
.text-link {
  color: var(--isee-color-primary);
}

a:hover,
.text-link:hover {
  color: var(--isee-color-primary-hover);
}

.btn-primary,
.btn-primary:focus,
.btn-primary:hover {
  background-color: var(--isee-color-primary) !important;
  border-color: var(--isee-color-primary) !important;
}

.btn-primary:hover {
  background-color: var(--isee-color-primary-hover) !important;
  border-color: var(--isee-color-primary-hover) !important;
}

.main-icon,
.main-icon *,
.x-form-tools {
  color: var(--isee-color-primary) !important;
  fill: var(--isee-color-primary) !important;
}

.switch input:checked + .slider {
  background-color: var(--isee-color-primary) !important;
}

.main-header {
  border-bottom: 1px solid var(--isee-color-border);
}

.admin-sidebar .side-nav > li > a > i,
.admin-sidebar .side-nav > li > .static > i {
  color: var(--isee-color-primary) !important;
}

.admin-sidebar .side-nav > li.active > a > i {
  color: var(--isee-color-primary-hover) !important;
}

.admin-sidebar .side-nav > li > a,
.admin-sidebar .side-nav > li > .static {
  padding-block: var(--isee-space-3);
}

.admin-sidebar > .card {
  margin-bottom: 0 !important;
}

.admin-sidebar > .card > .card-header {
  padding-block: 8px;
}

@media (max-width: 767.98px) {
  .admin-sidebar > .card {
    border: 1px solid var(--isee-color-border);
    border-radius: var(--isee-radius-lg);
    margin-bottom: var(--isee-space-3) !important;
    overflow: hidden;
  }

  .admin-sidebar > .card > .card-header {
    padding: 0;
  }

  .admin-sidebar .admin-sidebar-section-toggle {
    align-items: center;
    display: flex;
    font-size: 15px !important;
    font-weight: 700;
    justify-content: space-between;
    min-height: 48px;
    padding: 12px 14px !important;
    text-transform: none;
  }

  .admin-sidebar > .card > .card-body.with-nav {
    border-top: 1px solid var(--isee-color-border);
    padding: var(--isee-space-2);
  }

  .admin-sidebar > .card > .card-body > .side-nav {
    display: grid;
    gap: var(--isee-space-1);
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-sidebar .side-nav > li {
    min-width: 0;
  }

  .admin-sidebar .side-nav > li > a,
  .admin-sidebar .side-nav > li > .static {
    align-items: center;
    border-radius: var(--isee-radius-md);
    display: flex;
    flex-direction: column;
    font-size: 12px;
    gap: var(--isee-space-2);
    justify-content: center;
    line-height: 1.35;
    min-height: 82px;
    overflow-wrap: anywhere;
    padding: var(--isee-space-2) var(--isee-space-1);
    position: relative;
    text-align: center;
  }

  .admin-sidebar .side-nav > li > a > i,
  .admin-sidebar .side-nav > li > .static > i {
    font-size: 21px;
    margin: 0 !important;
  }

  .admin-sidebar .side-nav > li > a[data-bs-toggle="collapse"]::after {
    float: none;
    font-size: 10px;
    inset-inline-end: 7px;
    position: absolute;
    top: 7px;
  }

  .admin-sidebar .side-nav > li:has(> .collapse.show),
  .admin-sidebar .side-nav > li:has(> .collapsing) {
    display: contents;
  }

  .admin-sidebar .side-nav > li > .collapse.show,
  .admin-sidebar .side-nav > li > .collapsing {
    grid-column: 1 / -1;
  }

  .admin-sidebar .side-nav > li > .collapse > ul,
  .admin-sidebar .side-nav > li > .collapsing > ul {
    background: var(--isee-color-primary-soft);
    border: 1px solid var(--isee-color-border);
    border-radius: var(--isee-radius-md);
    display: grid;
    gap: var(--isee-space-1);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: var(--isee-space-2);
  }

  .admin-sidebar .side-nav ul a {
    align-items: center;
    border: 0;
    border-radius: var(--isee-radius-sm);
    display: flex;
    font-size: 11px;
    justify-content: center;
    line-height: 1.35;
    margin: 0;
    min-height: 44px;
    overflow-wrap: anywhere;
    padding: 7px 5px;
    text-align: center;
  }

  .admin-sidebar .side-nav ul > li.active > a {
    background: var(--isee-color-surface);
    font-weight: 700;
  }

  .admin-sidebar a:focus-visible,
  .admin-sidebar button:focus-visible {
    outline: 2px solid var(--isee-color-accent);
    outline-offset: -2px;
  }

  body.night-mode .admin-sidebar > .card {
    border-color: var(--card-dark-divider);
  }

  body.night-mode .admin-sidebar > .card > .card-body.with-nav {
    border-top-color: var(--card-dark-divider);
  }

  body.night-mode .admin-sidebar .side-nav > li > .collapse > ul,
  body.night-mode .admin-sidebar .side-nav > li > .collapsing > ul,
  body.night-mode .admin-sidebar .side-nav ul > li.active > a {
    background: var(--card-dark-hover);
    border-color: var(--card-dark-divider);
  }
}

.sg-offcanvas-mainbar .stat-panel.bg-gradient-primary,
.sg-offcanvas-mainbar .stat-panel.bg-gradient-info,
.sg-offcanvas-mainbar .stat-panel.bg-gradient-cyan,
.sg-offcanvas-mainbar .stat-panel.bg-gradient-teal {
  background: linear-gradient(135deg, var(--isee-color-primary), var(--isee-color-primary-hover)) !important;
}

.sg-offcanvas-mainbar .stat-panel.bg-gradient-gray {
  background: linear-gradient(135deg, var(--isee-color-text), var(--isee-color-muted)) !important;
}

.sg-offcanvas-mainbar .stat-panel.bg-gradient-success {
  background: linear-gradient(135deg, var(--isee-color-accent), var(--isee-color-accent-hover)) !important;
}

.isee-brand-lock {
  align-items: center;
  background: var(--isee-color-primary-soft);
  border: 1px solid var(--isee-color-border);
  border-radius: var(--isee-radius-md);
  display: flex;
  gap: 16px;
  min-height: 96px;
  padding: 16px;
}

.isee-brand-lock img {
  display: block;
  height: auto;
  max-height: 64px;
  max-width: 220px;
  object-fit: contain;
}

.isee-brand-lock--dark {
  background: var(--isee-color-text);
  color: var(--isee-color-primary-soft);
}

.isee-brand-lock--icon img {
  height: 72px;
  width: 72px;
}

.isee-brand-lock__copy {
  color: var(--isee-color-muted);
  font-size: 13px;
  line-height: 1.5;
}

.isee-brand-lock--dark .isee-brand-lock__copy {
  color: var(--isee-color-primary-soft);
}

.isee-brand-palette {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
}

.isee-brand-palette__swatch {
  border: 1px solid rgba(28, 43, 40, 0.12);
  border-radius: var(--isee-radius-sm);
  min-height: 64px;
  padding: 10px;
}

.isee-brand-palette__swatch strong,
.isee-brand-palette__swatch span {
  display: block;
}

.isee-brand-palette__swatch span {
  font-size: 12px;
  margin-top: 2px;
  opacity: 0.82;
}

.isee-brand-palette__swatch--teal {
  background: var(--isee-color-primary);
  color: #fff;
}

.isee-brand-palette__swatch--gold {
  background: var(--isee-color-accent);
  color: var(--isee-color-text);
}

.isee-brand-palette__swatch--ink {
  background: var(--isee-color-text);
  color: #fff;
}

.isee-brand-palette__swatch--mint {
  background: var(--isee-color-primary-soft);
  color: var(--isee-color-text);
}

@media (max-width: 767.98px) {
  .isee-brand-palette {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.side-nav > li.active > a,
.side-nav > li > a:hover,
.dropdown-item:active {
  color: var(--isee-color-primary);
}

.isee-section-nav-column,
.isee-pages-categories,
.isee-section-results,
.isee-pages-results {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 992px) {
  .isee-section-results > ul.row .movie-picture {
    aspect-ratio: 3 / 4;
    height: auto;
    min-height: 0;
  }
}

.isee-movie-episode-group {
  position: relative;
}

.isee-movie-episodes-toggle {
  height: 1px;
  margin: -1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.isee-movie-episode-picker {
  display: grid;
  gap: var(--isee-space-2);
  grid-template-columns: repeat(9, minmax(0, 1fr));
}

.isee-movie-episode-item {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 34px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.isee-movie-episode-more {
  align-items: center;
  align-self: stretch;
  border-radius: var(--isee-radius-md);
  color: var(--isee-color-muted);
  cursor: pointer;
  display: flex;
  grid-column: -2 / -1;
  justify-content: center;
  min-height: 34px;
}

.isee-movie-episode-more:hover {
  background: var(--isee-color-primary-soft);
  color: var(--isee-color-primary-hover);
}

.isee-movie-episode-more > i {
  transition: transform 160ms ease;
}

.isee-movie-episodes-toggle:checked + .isee-movie-episode-picker .isee-movie-episode-more > i {
  transform: rotate(180deg);
}

.isee-movie-episodes-toggle:focus-visible + .isee-movie-episode-picker .isee-movie-episode-more {
  box-shadow: 0 0 0 2px var(--isee-color-accent);
  outline: 2px solid transparent;
}

.isee-movie-episodes-toggle:not(:checked) + .isee-movie-episode-picker .isee-movie-episode-item:nth-of-type(n + 18) {
  display: none;
}

@supports selector(:has(*)) {
  .isee-movie-episode-more {
    display: none;
  }

  .isee-movie-episode-picker:has(.isee-movie-episode-item:nth-of-type(n + 18)) .isee-movie-episode-more {
    display: flex;
  }
}

@media (max-width: 991.98px) {
  .isee-movie-episode-picker {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .isee-movie-episodes-toggle:not(:checked) + .isee-movie-episode-picker .isee-movie-episode-item:nth-of-type(n + 12) {
    display: none;
  }

  @supports selector(:has(*)) {
    .isee-movie-episode-picker:has(.isee-movie-episode-item:nth-of-type(n + 12)) .isee-movie-episode-more {
      display: flex;
    }
  }
}

@media (max-width: 575.98px) {
  .isee-movie-episode-picker {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .isee-movie-episode-item,
  .isee-movie-episode-more {
    min-height: 44px;
  }

  .isee-movie-episodes-toggle:not(:checked) + .isee-movie-episode-picker .isee-movie-episode-item:nth-of-type(n + 6) {
    display: none;
  }

  @supports selector(:has(*)) {
    .isee-movie-episode-picker:has(.isee-movie-episode-item:nth-of-type(n + 6)) .isee-movie-episode-more {
      display: flex;
    }
  }
}

/* Forum thread: reference-led post cards that preserve the existing forum actions. */
.isee-forum-thread-detail {
  margin-top: 6px;
}

.isee-forum-thread-detail__toolbar {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 14px;
  min-height: 50px;
}

.isee-forum-thread-detail__pager {
  min-width: 0;
}

.isee-forum-thread-detail__pager .pagination,
.isee-forum-thread-detail__bottom-pager .pagination {
  margin: 0;
}

.isee-forum-thread-detail__current-page {
  align-items: center;
  background: var(--isee-color-primary);
  border-radius: var(--isee-radius-sm);
  color: #ffffff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  min-width: 42px;
}

.isee-forum-thread-detail__reply-action {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 9px;
  justify-content: center;
  min-height: 42px;
  padding-inline: 18px;
}

.isee-forum-thread-detail .forum-thread.isee-forum-post {
  background: var(--isee-color-surface);
  border: 1px solid var(--isee-color-border);
  border-radius: var(--isee-radius-md);
  box-shadow: var(--isee-shadow-card);
  color: var(--isee-color-text);
  margin: 0 0 14px;
  overflow: hidden;
  padding: 0;
}

.isee-forum-thread-detail .forum-thread.isee-forum-post--origin {
  border-color: var(--isee-color-primary);
  min-height: 320px;
}

.isee-forum-post__header {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  padding: 24px 28px 16px;
}

.isee-forum-post__identity {
  align-items: center;
  display: flex;
  gap: 14px;
  min-width: 0;
}

.isee-forum-post__avatar {
  border: 2px solid var(--isee-color-primary-soft);
  border-radius: 50%;
  display: block;
  flex: 0 0 auto;
  height: 56px;
  overflow: hidden;
  width: 56px;
}

.isee-forum-post__avatar img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.isee-forum-post__author {
  min-width: 0;
}

.isee-forum-post__author-line {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 7px 10px;
}

.isee-forum-post__author-line > a {
  color: var(--isee-color-text);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
}

.isee-forum-post__author-line > a:hover {
  color: var(--isee-color-primary);
}

.isee-forum-post__role {
  align-items: center;
  background: var(--isee-color-primary-soft);
  border-radius: var(--isee-radius-sm);
  color: var(--isee-color-primary);
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  gap: 5px;
  line-height: 1;
  min-height: 24px;
  padding: 5px 8px;
}

.isee-forum-post__meta {
  color: var(--isee-color-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 5px 14px;
  line-height: 1.5;
  margin-top: 5px;
}

.isee-forum-post__meta > span {
  align-items: center;
  display: inline-flex;
  gap: 5px;
}

.isee-forum-post__actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
}

.isee-forum-post__actions .btn-light {
  background: var(--isee-color-background);
  border-color: var(--isee-color-border);
  color: var(--isee-color-muted);
}

.isee-forum-post__actions .btn-light:hover {
  background: var(--isee-color-primary-soft);
  border-color: var(--isee-color-primary);
  color: var(--isee-color-primary);
}

.isee-forum-post__engagement {
  display: flex;
  flex: 1 0 100%;
  flex-wrap: wrap;
  gap: 8px;
  padding-inline-start: 70px;
}

.isee-forum-post__engagement-action {
  align-items: center;
  background: var(--isee-color-background);
  border: 1px solid var(--isee-color-border);
  border-radius: 999px;
  color: var(--isee-color-muted);
  display: inline-flex;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  gap: 7px;
  justify-content: center;
  min-height: 34px;
  padding: 6px 12px;
}

.isee-forum-post__engagement-action:hover,
.isee-forum-post__engagement-action:focus-visible,
.isee-forum-post__engagement-action.is-active,
.isee-forum-post__engagement-action.is-copied,
.isee-forum-post__engagement-action.js_unfollow {
  background: var(--isee-color-primary-soft);
  border-color: var(--isee-color-primary);
  color: var(--isee-color-primary);
}

.isee-forum-post__engagement-action:focus-visible {
  box-shadow: 0 0 0 3px rgba(12, 117, 111, 0.22);
  outline: none;
}

.isee-forum-post__engagement-action:disabled {
  cursor: wait;
  opacity: 0.65;
}

.isee-forum-post__engagement-count {
  min-width: 1ch;
}

.isee-forum-post__body {
  padding: 8px 28px 28px;
}

.isee-forum-post--origin .isee-forum-post__body {
  min-height: 170px;
}

.isee-forum-post__body h1 {
  color: var(--isee-color-text);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin: 0 0 26px;
}

.isee-forum-post__body .text {
  color: var(--isee-color-text);
  font-size: 15px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.isee-forum-post__body .text > :last-child {
  margin-bottom: 0;
}

.isee-forum-post__footer {
  align-items: center;
  border-top: 1px solid var(--isee-color-border);
  color: var(--isee-color-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 8px;
  justify-content: flex-end;
  min-height: 54px;
  padding: 10px 18px;
}

.isee-forum-post__footer > span,
.isee-forum-post__footer > a {
  align-items: center;
  border: 1px solid var(--isee-color-border);
  border-radius: 999px;
  color: var(--isee-color-muted);
  display: inline-flex;
  gap: 7px;
  min-height: 34px;
  padding: 6px 12px;
}

.isee-forum-post__footer > a:hover {
  background: var(--isee-color-primary-soft);
  border-color: var(--isee-color-primary);
  color: var(--isee-color-primary);
}

.isee-forum-replies {
  display: grid;
  gap: 12px;
}

.isee-forum-thread-detail .isee-forum-replies .forum-thread.isee-forum-post {
  margin-bottom: 0;
}

.isee-forum-post--reply .isee-forum-post__header {
  padding-bottom: 12px;
  padding-top: 18px;
}

.isee-forum-post--reply .isee-forum-post__avatar {
  height: 48px;
  width: 48px;
}

.isee-forum-post--reply .isee-forum-post__body {
  padding-bottom: 24px;
  padding-top: 2px;
  padding-inline-start: 90px;
}

.isee-forum-thread-detail__bottom-pager {
  margin-top: 16px;
}

body.night-mode .isee-forum-thread-detail .forum-thread.isee-forum-post {
  box-shadow: none;
}

@media (max-width: 767.98px) {
  .isee-forum-thread-detail__toolbar {
    gap: 12px;
    margin-bottom: 12px;
  }

  .isee-forum-thread-detail__reply-action {
    min-height: 40px;
    padding-inline: 14px;
  }

  .isee-forum-thread-detail .forum-thread.isee-forum-post--origin {
    min-height: 0;
  }

  .isee-forum-post__header {
    gap: 12px;
    padding: 18px 18px 14px;
  }

  .isee-forum-post__identity {
    align-items: flex-start;
    gap: 11px;
  }

  .isee-forum-post__avatar,
  .isee-forum-post--reply .isee-forum-post__avatar {
    height: 46px;
    width: 46px;
  }

  .isee-forum-post__author-line > a {
    font-size: 15px;
  }

  .isee-forum-post__meta {
    display: grid;
    gap: 2px;
  }

  .isee-forum-post__actions {
    gap: 4px;
  }

  .isee-forum-post__engagement {
    padding-inline-start: 57px;
  }

  .isee-forum-post__engagement-action {
    min-height: 44px;
  }

  .isee-forum-post__body,
  .isee-forum-post--reply .isee-forum-post__body {
    min-height: 0;
    padding: 6px 18px 22px;
  }

  .isee-forum-post__body h1 {
    font-size: 20px;
    margin-bottom: 18px;
  }

  .isee-forum-post__body .text {
    font-size: 14px;
    line-height: 1.75;
  }

  .isee-forum-post__footer {
    justify-content: flex-start;
    padding-inline: 14px;
  }
}

@media (max-width: 420px) {
  .isee-forum-thread-detail__reply-action span {
    display: none;
  }

  .isee-forum-thread-detail__reply-action {
    min-width: 42px;
    padding-inline: 12px;
  }

  .isee-forum-post__header {
    flex-wrap: wrap;
  }

  .isee-forum-post__actions {
    margin-inline-start: 57px;
  }

  .isee-forum-post__engagement {
    padding-inline-start: 0;
  }

  .isee-forum-post__engagement-action {
    flex: 1 1 calc(50% - 4px);
  }
}

/* Mobile menu columns: preserve Sngine's native sg-offcanvas host behavior. */
@media (max-width: 767.98px) {
  .sg-offcanvas-sidebar .main-side-nav-card > .card-body.with-nav {
    padding: 10px;
  }

  .sg-offcanvas-sidebar .main-side-nav {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sg-offcanvas-sidebar .main-side-nav > li,
  .sg-offcanvas-sidebar .main-side-nav > a {
    min-width: 0;
  }

  .sg-offcanvas-sidebar .main-side-nav > li > a,
  .sg-offcanvas-sidebar .main-side-nav > a,
  .sg-offcanvas-sidebar .main-side-nav > li > .static {
    align-items: center;
    flex-direction: column;
    font-size: 12px;
    gap: 7px;
    justify-content: center;
    line-height: 1.35;
    min-height: 86px;
    overflow-wrap: anywhere;
    padding: 8px 4px;
    position: relative;
    text-align: center;
  }

  .sg-offcanvas-sidebar .main-side-nav > li > a .main-icon,
  .sg-offcanvas-sidebar .main-side-nav > a .main-icon {
    height: 38px !important;
    margin: 0 !important;
    width: 38px !important;
  }

  .sg-offcanvas-sidebar .main-side-nav > li > a[data-bs-toggle="collapse"]::after,
  .sg-offcanvas-sidebar .main-side-nav > a[data-bs-toggle="collapse"]::after {
    font-size: 9px;
    inset-inline-end: 6px;
    margin: 0;
    position: absolute;
    top: 6px;
  }

  .sg-offcanvas-sidebar .main-side-nav > li.ptb5 {
    border-top: 1px solid var(--isee-color-border);
    grid-column: 1 / -1;
    margin-top: 6px;
    padding: 10px 4px 0 !important;
  }

  .sg-offcanvas-sidebar .main-side-nav > li.ptb5 small {
    font-size: 12px;
    letter-spacing: 0.04em;
    padding: 0;
  }

  .sg-offcanvas-sidebar .main-side-nav > li:has(> .collapse.show),
  .sg-offcanvas-sidebar .main-side-nav > li:has(> .collapsing) {
    display: contents;
  }

  .sg-offcanvas-sidebar .main-side-nav > li > .collapse.show,
  .sg-offcanvas-sidebar .main-side-nav > li > .collapsing,
  .sg-offcanvas-sidebar .main-side-nav > .collapse.show,
  .sg-offcanvas-sidebar .main-side-nav > .collapsing {
    grid-column: 1 / -1;
  }

  .sg-offcanvas-sidebar .main-side-nav > li > .collapse > ul,
  .sg-offcanvas-sidebar .main-side-nav > li > .collapsing > ul,
  .sg-offcanvas-sidebar .main-side-nav > .collapse > ul,
  .sg-offcanvas-sidebar .main-side-nav > .collapsing > ul {
    background: var(--isee-color-primary-soft);
    border: 1px solid var(--isee-color-border);
    border-radius: var(--isee-radius-md);
    display: grid;
    gap: 4px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 8px;
  }

  .sg-offcanvas-sidebar .main-side-nav ul a {
    border: 0;
    font-size: 11px;
    justify-content: center;
    line-height: 1.35;
    margin: 0;
    min-height: 44px;
    overflow-wrap: anywhere;
    padding: 7px 5px;
    text-align: center;
  }

  .sg-offcanvas-sidebar .main-side-nav > li.active > a {
    background: var(--isee-color-primary);
    box-shadow: 0 8px 18px rgba(9, 92, 87, 0.2);
  }

  #mobile-language-switcher > ul {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  #mobile-language-switcher a {
    padding-inline: 3px;
  }

  #mobile-language-switcher .isee-mobile-language-flag {
    height: 22px;
    margin: 0;
    object-fit: contain;
    width: 30px;
  }

  #mobile-language-switcher a[aria-current="true"] {
    background: var(--isee-color-surface);
    box-shadow: inset 0 0 0 2px var(--isee-color-primary);
    color: var(--isee-color-primary);
  }

  body.night-mode .sg-offcanvas-sidebar .main-side-nav > li > .collapse > ul,
  body.night-mode .sg-offcanvas-sidebar .main-side-nav > li > .collapsing > ul,
  body.night-mode .sg-offcanvas-sidebar .main-side-nav > .collapse > ul,
  body.night-mode .sg-offcanvas-sidebar .main-side-nav > .collapsing > ul {
    background: rgba(12, 117, 111, 0.16);
  }
}

@media (prefers-reduced-motion: reduce) {
  .isee-movie-episode-more > i {
    transition: none;
  }
}

/* Publisher modal: reference-led mobile composer, scoped away from the inline publisher. */
.isee-publisher-modal-dialog {
  height: min(840px, calc(100dvh - 32px));
  margin: 16px auto;
  max-width: 660px;
  width: calc(100% - 32px);
}

.isee-publisher-modal-content {
  background: transparent;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(9, 43, 40, 0.24);
  height: 100%;
  overflow: hidden;
}

.isee-publisher-modal-content > .modal-body,
#publisher-wapper-modal,
#publisher-wapper-modal #publisher-box {
  height: 100%;
  min-height: 0;
}

#publisher-wapper-modal > .publisher-overlay {
  display: none;
}

#publisher-wapper-modal #publisher-box {
  background: var(--isee-color-surface);
  border: 1px solid var(--isee-color-border);
  border-radius: 24px !important;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  position: relative;
}

#publisher-wapper-modal .publisher-modal-header {
  align-items: center;
  border-bottom: 1px solid var(--isee-color-border);
  display: flex;
  flex: 0 0 auto;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px 20px;
}

#publisher-wapper-modal .publisher-modal-header h2 {
  color: var(--isee-color-text);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
}

#publisher-wapper-modal .publisher-modal-header .btn-close {
  background-color: var(--isee-color-background);
  border-radius: 50%;
  box-sizing: content-box;
  height: 20px;
  opacity: 1;
  padding: 12px;
  width: 20px;
}

#publisher-wapper-modal .publisher-message {
  flex: 0 0 auto;
  min-height: 172px;
  padding: 24px 20px 18px 92px;
}

#publisher-wapper-modal .publisher-avatar {
  height: 52px;
  inset-inline-start: 20px;
  top: 24px;
  width: 52px;
}

#publisher-wapper-modal .publisher-message:not(.colored) .colored-text-wrapper {
  align-items: stretch;
  background: var(--isee-color-background);
  border: 1px solid transparent;
  border-radius: 20px;
  display: flex;
  min-height: 124px;
  padding: 12px 18px;
}

#publisher-wapper-modal .publisher-message:not(.colored) .colored-text-wrapper:focus-within {
  background: var(--isee-color-surface);
  border-color: var(--isee-color-accent);
  box-shadow: 0 0 0 3px rgba(208, 146, 47, 0.16);
}

#publisher-wapper-modal .publisher-message:not(.colored) .quill-editor,
#publisher-wapper-modal .publisher-message:not(.colored) .ql-container,
#publisher-wapper-modal .publisher-message:not(.colored) .ql-editor {
  min-height: 98px;
  width: 100%;
}

#publisher-wapper-modal .publisher-message:not(.colored) .ql-editor {
  color: var(--isee-color-text);
  font-size: 16px;
  line-height: 1.55;
  padding: 8px 0;
}

#publisher-wapper-modal .publisher-message:not(.colored) .ql-editor.ql-blank::before {
  color: var(--isee-color-muted);
  font-style: normal;
  inset-inline: 0;
}

#publisher-wapper-modal .publisher-modal-commandbar {
  align-items: center;
  border-bottom: 1px solid var(--isee-color-border);
  border-top: 1px solid var(--isee-color-border);
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
  min-height: 68px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 18px;
  scrollbar-width: none;
}

#publisher-wapper-modal .publisher-modal-commandbar::-webkit-scrollbar {
  display: none;
}

#publisher-wapper-modal .publisher-modal-privacy-slot {
  flex: 0 0 auto;
}

#publisher-wapper-modal .publisher-modal-privacy-slot > .x-hidden {
  display: none !important;
}

#publisher-wapper-modal .publisher-modal-privacy-slot > .btn-group > .btn,
#publisher-wapper-modal .publisher-modal-privacy-slot > .js_publisher-privacy-public {
  align-items: center;
  background: var(--isee-color-background);
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--isee-color-text);
  display: inline-flex;
  font-weight: 700;
  min-height: 44px;
  padding: 8px 14px;
}

#publisher-wapper-modal .publisher-modal-privacy-slot > .btn-group > .btn:hover,
#publisher-wapper-modal .publisher-modal-privacy-slot > .btn-group > .btn:focus-visible {
  background: var(--isee-color-primary-soft);
  border-color: var(--isee-color-primary);
  color: var(--isee-color-primary-hover);
}

#publisher-wapper-modal .publisher-modal-shortcuts {
  align-items: center;
  display: flex;
  gap: 8px;
}

#publisher-wapper-modal .publisher-modal-shortcut {
  align-items: center;
  background: var(--isee-color-background);
  border: 0;
  border-radius: 50%;
  color: var(--isee-color-primary);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 44px;
  height: 44px;
  justify-content: center;
  margin: 0;
  padding: 0;
  position: relative;
  width: 44px;
}

#publisher-wapper-modal .publisher-modal-shortcut.attach {
  overflow: hidden;
}

#publisher-wapper-modal .publisher-modal-shortcut.attach > form.x-uploader {
  align-items: center;
  display: flex;
  height: 100%;
  inset: 0;
  justify-content: center;
  position: absolute;
  width: 100%;
}

#publisher-wapper-modal .publisher-modal-shortcut:hover,
#publisher-wapper-modal .publisher-modal-shortcut:focus-visible,
#publisher-wapper-modal .publisher-modal-shortcut.active,
#publisher-wapper-modal .publisher-modal-shortcut.activated {
  background: var(--isee-color-primary-soft);
  color: var(--isee-color-primary-hover);
  outline: 2px solid var(--isee-color-accent);
  outline-offset: 2px;
}

#publisher-wapper-modal .publisher-modal-shortcut .main-icon,
#publisher-wapper-modal .publisher-modal-shortcut .main-icon *,
#publisher-wapper-modal .publisher-modal-shortcut .main-icon svg {
  color: currentColor !important;
  fill: currentColor !important;
}

#publisher-wapper-modal .publisher-slider {
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

#publisher-wapper-modal .publisher-footer {
  padding: 0;
  text-align: start;
}

#publisher-wapper-modal .publisher-footer-options {
  border-bottom: 0;
  border-top: 1px solid var(--isee-color-border);
  margin: 0 18px;
  padding: 8px 0;
}

#publisher-wapper-modal .publisher-footer-options .form-table-row {
  align-items: center;
  border-bottom: 1px solid var(--isee-color-border);
  display: grid;
  gap: 10px;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  margin: 0 !important;
  min-height: 62px;
  padding: 10px 0;
}

#publisher-wapper-modal .publisher-footer-options .form-table-row:last-of-type {
  border-bottom: 0;
}

#publisher-wapper-modal .publisher-footer-options .avatar,
#publisher-wapper-modal .publisher-footer-options .avatar .main-icon {
  color: var(--isee-color-primary);
  height: 28px;
  width: 28px;
}

#publisher-wapper-modal .publisher-footer-options .form-label {
  color: var(--isee-color-text);
  font-size: 14px;
  font-weight: 700;
}

#publisher-wapper-modal .publisher-footer-options .form-text {
  display: none !important;
}

#publisher-wapper-modal .publisher-footer-buttons {
  background: var(--isee-color-surface);
  display: block;
  padding: 14px 18px 18px;
  position: sticky;
  bottom: 0;
  z-index: 4;
}

#publisher-wapper-modal .publisher-footer-buttons > .d-grid {
  width: 100%;
}

#publisher-wapper-modal .publisher-footer-buttons .js_publisher-btn {
  align-items: center;
  background: var(--isee-color-primary);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(12, 117, 111, 0.22);
  color: #fff;
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  margin: 0 !important;
  min-height: 62px;
  width: 100%;
}

#publisher-wapper-modal .publisher-footer-buttons .js_publisher-btn:hover,
#publisher-wapper-modal .publisher-footer-buttons .js_publisher-btn:focus-visible {
  background: var(--isee-color-primary-hover);
  color: #fff;
}

#publisher-wapper-modal .publisher-footer-buttons .js_publisher-btn:focus-visible {
  box-shadow: 0 0 0 4px rgba(208, 146, 47, 0.24), 0 10px 24px rgba(12, 117, 111, 0.22);
  outline: 2px solid transparent;
}

#publisher-wapper-modal .publisher-footer-buttons .js_publisher-btn .d-none.d-xl-inline-block {
  display: inline-block !important;
  margin: 0 !important;
}

body.night-mode .isee-publisher-modal-content,
body.night-mode #publisher-wapper-modal #publisher-box,
body.night-mode #publisher-wapper-modal .publisher-footer-buttons {
  background: var(--isee-color-surface);
}

body.night-mode #publisher-wapper-modal .publisher-modal-header .btn-close {
  filter: invert(1) grayscale(1);
}

@media (min-width: 576px) {
  #publisher-wapper-modal .publisher-modal-header {
    min-height: 78px;
    padding-inline-end: 8px;
  }

  #publisher-wapper-modal .publisher-message {
    min-height: 179px;
    padding: 38px 25px 18px 114px;
  }

  #publisher-wapper-modal .publisher-avatar {
    inset-inline-start: 38px;
    top: 38px;
  }

  #publisher-wapper-modal .publisher-modal-commandbar {
    padding-inline: 36px;
  }

  #publisher-wapper-modal .publisher-footer-buttons .js_publisher-btn {
    min-height: 70px;
  }

  #publisher-wapper-modal .publisher-footer-buttons {
    padding-bottom: 11px;
  }
}

@media (max-width: 767.98px) {
  .isee-publisher-modal-dialog {
    height: min(calc(100dvh - 78px), 714px);
    margin: 0 auto;
    max-width: none;
    width: 100%;
  }

  body.night-mode .isee-publisher-modal-dialog {
    height: min(calc(100dvh - 70px), 714px);
  }

  .isee-publisher-modal-content,
  #publisher-wapper-modal #publisher-box {
    border-radius: 24px !important;
  }

  #publisher-wapper-modal .publisher-footer-options {
    padding-block: 6px;
  }

  #publisher-wapper-modal .publisher-footer-options .form-table-row {
    min-height: 56px;
    padding-block: 7px;
  }
}

@media (max-width: 420px) {
  #publisher-wapper-modal .publisher-message {
    min-height: 154px;
    padding: 18px 14px 14px 76px;
  }

  #publisher-wapper-modal .publisher-avatar {
    height: 46px;
    inset-inline-start: 14px;
    top: 20px;
    width: 46px;
  }

  #publisher-wapper-modal .publisher-message:not(.colored) .colored-text-wrapper {
    min-height: 112px;
    padding: 10px 14px;
  }

  #publisher-wapper-modal .publisher-message:not(.colored) .quill-editor,
  #publisher-wapper-modal .publisher-message:not(.colored) .ql-container,
  #publisher-wapper-modal .publisher-message:not(.colored) .ql-editor {
    min-height: 90px;
  }

  #publisher-wapper-modal .publisher-modal-commandbar {
    align-items: flex-start;
    gap: 8px;
    min-height: 62px;
    overflow-x: hidden;
    padding: 8px 12px;
  }

  #publisher-wapper-modal .publisher-modal-shortcuts {
    display: grid;
    flex: 1 1 0;
    gap: 6px;
    grid-template-columns: repeat(4, minmax(40px, 1fr));
    min-width: 0;
  }

  #publisher-wapper-modal .publisher-modal-shortcut {
    flex-basis: 40px;
    height: 40px;
    justify-self: center;
    width: 40px;
  }

  #publisher-wapper-modal .publisher-modal-privacy-slot > .btn-group > .btn,
  #publisher-wapper-modal .publisher-modal-privacy-slot > .js_publisher-privacy-public {
    min-height: 40px;
    padding: 7px 11px;
  }

  #publisher-wapper-modal .publisher-footer-buttons {
    padding: 12px 12px 14px;
  }
}

@media (min-width: 1200px) {
  .isee-market-results > .row > .col-md-6.col-lg-4 {
    flex: 0 0 25%;
    max-width: 25%;
  }

  .isee-market-results .product-image {
    aspect-ratio: 1;
    height: auto;
  }
}

@media (min-width: 1600px) {
  .isee-market-results > .row > .col-md-6.col-lg-4 {
    flex-basis: 20%;
    max-width: 20%;
  }
}

.isee-section-nav-column .side-nav,
.isee-pages-categories .side-nav {
  display: flex;
  flex-wrap: wrap;
  column-gap: 2px;
  row-gap: 2px;
}

.isee-section-nav-column .side-nav > li,
.isee-pages-categories .side-nav > li {
  flex: 0 0 auto;
  min-width: 0;
}

.isee-section-nav-column .side-nav > li > a,
.isee-pages-categories .side-nav > li > a {
  font-size: 14px !important;
  line-height: 22px;
  min-height: 36px;
  padding: 7px 8px;
  white-space: nowrap;
}

.isee-section-nav-column .side-nav > li > a .float-end,
.isee-pages-categories .side-nav > li > a .float-end {
  float: none !important;
  margin-left: 4px;
}

.isee-category-toggle {
  display: none;
}

@media (max-width: 767.98px) {
  .isee-section-nav-column .side-nav,
  .isee-pages-categories .side-nav {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 2px;
  }

  .isee-section-nav-column .side-nav > li > a,
  .isee-pages-categories .side-nav > li > a {
    display: block;
    font-size: 14px !important;
    overflow: hidden;
    padding: 7px 0;
    text-align: center;
    text-overflow: ellipsis;
  }

  .isee-section-nav-column .side-nav > li > a .float-end,
  .isee-pages-categories .side-nav > li > a .float-end {
    display: none;
  }

  .isee-category-toggle {
    display: block;
    grid-column: -2 / -1;
  }

  .isee-category-toggle > button {
    width: 100%;
    min-height: 36px;
    padding: 7px 4px;
    border: 0;
    color: var(--isee-color-text);
    background: transparent;
  }

  .isee-category-toggle > button:hover,
  .isee-category-toggle > button:focus-visible {
    color: var(--isee-color-primary);
  }
}

@media (max-width: 575.98px) {
  .isee-section-nav-column .side-nav,
  .isee-pages-categories .side-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.card,
.modal-content,
.dropdown-menu,
.publisher,
.post {
  border-radius: var(--isee-radius-md);
}

.card {
  box-shadow: var(--isee-shadow-card);
}

.isee-groups-page .content-tabs {
  border: 1px solid var(--isee-color-border);
}

.isee-groups-page .posts-filter {
  align-items: center;
  border-bottom-color: var(--isee-color-border);
  display: flex;
  gap: var(--isee-space-2);
  justify-content: space-between;
}

.isee-groups-page .posts-filter .float-end {
  display: flex;
  gap: var(--isee-space-2);
}

.isee-groups-page .countries-filter {
  align-items: center;
  background: var(--isee-color-surface);
  border: 1px solid var(--isee-color-border);
  border-radius: 999px;
  color: var(--isee-color-text);
  display: inline-flex;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
}

.isee-groups-page .side-nav > li > a {
  border-radius: var(--isee-radius-md);
}

.isee-groups-page .side-nav > li.active > a {
  background: rgba(12, 117, 111, 0.08);
}

.isee-empty-state {
  align-items: center;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--isee-color-border);
  border-radius: var(--isee-radius-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 220px;
  padding: 42px 18px;
}

.isee-empty-state .no-data {
  background: var(--isee-color-surface);
  border: 1px solid var(--isee-color-border);
  border-radius: 999px;
  color: var(--isee-color-muted);
  display: inline-block;
  font-weight: 600;
  padding: 8px 16px;
}

.form-control:focus,
.form-select:focus,
.btn:focus-visible,
a:focus-visible,
[role="button"]:focus-visible {
  border-color: var(--isee-color-accent);
  box-shadow: 0 0 0 0.2rem rgba(208, 146, 47, 0.2);
  outline: 2px solid transparent;
}

.badge.bg-primary,
.badge.text-bg-primary {
  background-color: var(--isee-color-primary) !important;
}

/* Logged-in shell polish: keeps the original Sngine structure intact. */
body:not(.visitor):not(.night-mode) {
  background: linear-gradient(180deg, #fbfdfc 0%, #f4f8f6 100%);
}

body:not(.visitor):not(.night-mode) .main-header {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(216, 224, 221, 0.82);
  box-shadow: 0 10px 28px rgba(22, 42, 36, 0.06);
}

body:not(.visitor) .main-header .logo {
  color: var(--isee-color-primary) !important;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
}

body:not(.visitor) .main-header .menu-icon {
  color: var(--isee-color-primary);
}

body:not(.visitor) .main-header .menu-icon:hover,
body:not(.visitor) .navbar-wrapper > ul > li > a:hover,
body:not(.visitor) .navbar-wrapper > ul > li.dropdown.show > a {
  background: rgba(12, 117, 111, 0.08);
  color: var(--isee-color-primary);
}

body:not(.visitor) .main-header .search-wrapper .form-control {
  background: #f1f5f4;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--isee-color-text);
  font-size: 15px;
  font-weight: 500;
  height: 48px;
  padding-inline: 18px;
}

body:not(.visitor) .main-header .search-wrapper .form-control:focus {
  background: #fff;
  border-color: var(--isee-color-accent);
  box-shadow: 0 0 0 0.2rem var(--isee-color-accent-soft);
}

body:not(.visitor) .navbar-wrapper > ul > li > a {
  border-radius: var(--isee-radius-lg);
  color: var(--isee-color-text);
}

body:not(.visitor) .navbar-wrapper .counter {
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(255, 94, 58, 0.22);
  min-width: 18px;
}

body:not(.visitor) .user-menu > img,
body:not(.visitor) .post-avatar-picture,
body:not(.visitor) .publisher-avatar,
body:not(.visitor) .user-box img {
  box-shadow: 0 0 0 2px #fff, 0 5px 16px rgba(31, 42, 39, 0.12);
}

.post-body > .post-header > .post-avatar > .post-avatar-picture {
  border-radius: 50%;
}

body:not(.visitor) .sg-offcanvas {
  margin-top: 24px !important;
}

body:not(.visitor):not(.night-mode) .card,
body:not(.visitor):not(.night-mode) .publisher,
body:not(.visitor):not(.night-mode) .post,
body:not(.visitor):not(.night-mode) .dropdown-menu {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(216, 224, 221, 0.82);
  box-shadow: 0 14px 34px rgba(22, 42, 36, 0.07);
}

body:not(.visitor) .card,
body:not(.visitor) .publisher,
body:not(.visitor) .post,
body:not(.visitor) .dropdown-menu,
body:not(.visitor) .modal-content {
  border-radius: var(--isee-radius-lg);
}

body:not(.visitor) .card-header {
  border-radius: var(--isee-radius-lg) var(--isee-radius-lg) 0 0 !important;
  color: var(--isee-color-text);
  font-weight: 700;
  padding: 16px 18px;
}

body:not(.visitor) .card-footer {
  border-radius: 0 0 var(--isee-radius-lg) var(--isee-radius-lg) !important;
}

body .card.main-side-nav-card {
  overflow: hidden;
}

body .main-side-nav a,
body .main-side-nav .static {
  align-items: center;
  border-radius: var(--isee-radius-lg);
  color: var(--isee-color-text);
  display: flex;
  font-weight: 650;
  min-height: 44px;
  padding: 10px 14px;
}

body .main-side-nav a[data-bs-toggle="collapse"]::after {
  margin-inline-start: auto;
}

body .main-side-nav a:hover,
body .main-side-nav > li.active > a {
  background: rgba(12, 117, 111, 0.1);
  color: var(--isee-color-primary);
  text-decoration: none;
}

body .main-side-nav img,
body .main-side-nav .main-icon {
  color: currentColor;
  flex: 0 0 auto;
}

body .main-side-nav li.ptb5 small {
  color: var(--isee-color-muted) !important;
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 12px 14px 4px;
}

body .main-side-nav ul a {
  border-left-color: rgba(12, 117, 111, 0.14);
  margin-left: 24px;
}

body:not(.visitor) .stories-wrapper {
  padding-bottom: 2px;
}

body:not(.visitor) .add-story,
body:not(.visitor) .stories.sngine.carousel .story > .item-link > .item-preview {
  border-radius: var(--isee-radius-lg);
  overflow: hidden;
}

body:not(.visitor) .add-story .add {
  box-shadow: 0 8px 18px rgba(12, 117, 111, 0.24);
}

body:not(.visitor) .publisher {
  overflow: hidden;
}

body:not(.visitor) .publisher-message {
  padding: 16px 16px 16px 70px;
}

body:not(.visitor) .publisher-avatar {
  border-color: rgba(12, 117, 111, 0.16);
  height: 44px;
  left: 16px;
  top: 16px;
  width: 44px;
}

body:not(.visitor) .publisher textarea:not(.form-control) {
  background: #f3f6f5;
  border-radius: var(--isee-radius-lg);
  color: var(--isee-color-text);
  font-size: 15px;
  font-weight: 500;
  min-height: 48px;
  padding: 12px 16px;
}

body:not(.visitor) .publisher textarea:not(.form-control):focus {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(12, 117, 111, 0.22);
}

body:not(.visitor) .publisher-tools-tabs,
body:not(.visitor) .publisher-footer {
  border-top-color: rgba(216, 224, 221, 0.78);
}

body:not(.visitor) .publisher-tools-tab {
  border-radius: var(--isee-radius-lg);
  color: var(--isee-color-muted);
  font-weight: 650;
  min-height: 40px;
  padding: 8px 10px;
}

body:not(.visitor) .publisher-tools-tab:hover,
body:not(.visitor) .publisher-tools-tab.active,
body:not(.visitor) .publisher-tools-tab.activated {
  background: rgba(12, 117, 111, 0.08);
  color: var(--isee-color-primary);
}

body:not(.visitor) .publisher-tools-tabs > .publisher-tools-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding-bottom: 8px;
}

body:not(.visitor) .publisher-tools-grid > li {
  max-width: none;
  padding: 0;
  width: auto;
}

body:not(.visitor) .publisher-tools-grid:not(.is-expanded) > li:nth-child(n + 8):not(.publisher-tools-more) {
  display: none;
}

body:not(.visitor) .publisher-tools-grid:not(:has(> li:nth-child(8):not(.publisher-tools-more))) > .publisher-tools-more {
  display: none;
}

body:not(.visitor) .publisher-tools-grid .publisher-tools-tab {
  align-items: center;
  display: flex;
  font-size: 13px;
  gap: 6px;
  height: 100%;
  line-height: 1.25;
  margin: 0;
  min-width: 0;
  padding: 14px 4px 6px;
  position: relative;
}

body:not(.visitor) .publisher-tools-grid .publisher-tools-tab .main-icon.mr5 {
  margin-right: 0 !important;
}

body:not(.visitor) .publisher-tools-grid .publisher-tools-tab .float-end {
  display: none;
}

body:not(.visitor) .publisher-tools-grid .publisher-tools-tab .badge {
  font-size: 10px;
  inset-inline-end: 2px;
  line-height: 1;
  padding: 3px 5px;
  position: absolute;
  top: 2px;
}

body:not(.visitor) .publisher-tools-more-toggle {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  justify-content: center;
  padding: 8px;
  text-align: center;
  width: 100%;
}

body:not(.visitor) .publisher-tools-more-toggle:focus-visible {
  box-shadow: inset 0 0 0 2px var(--isee-color-accent);
  outline: 2px solid transparent;
}

body:not(.visitor) .publisher-tools-more-toggle .fa {
  transition: transform 160ms ease;
}

body:not(.visitor) .publisher-tools-more-toggle[aria-expanded="true"] .fa {
  transform: rotate(180deg);
}

body:not(.visitor) .publisher-footer-buttons .btn-primary,
body:not(.visitor) .publisher-footer .btn-primary {
  border-radius: var(--isee-radius-lg);
  font-weight: 700;
}

body:not(.visitor) .post {
  overflow: hidden;
}

body:not(.visitor) .post-header {
  padding: 18px 18px 0;
}

body:not(.visitor) .post-author {
  color: var(--isee-color-text);
  font-weight: 800;
}

body:not(.visitor) .post-title {
  font-size: 12px;
}

body:not(.visitor) .post-time,
body:not(.visitor) .post-time a,
body:not(.visitor) .post-stats {
  color: var(--isee-color-muted);
}

body:not(.visitor) .post-text {
  color: var(--isee-color-text);
  font-size: 15px;
  line-height: 1.7;
}

body:not(.visitor) .post-media,
body:not(.visitor) .post-media-image,
body:not(.visitor) .post-media-image img,
body:not(.visitor) .post-media-image .image {
  border-radius: var(--isee-radius-lg);
}

body:not(.visitor) .post-media {
  border-color: rgba(216, 224, 221, 0.82);
  overflow: hidden;
}

.isee-latest-blogs__body {
  padding: 0 clamp(14px, 4%, 18px);
}

.isee-latest-blogs__item {
  align-items: flex-start;
  border-bottom: 1px solid var(--isee-color-border);
  display: flex;
  gap: clamp(12px, 4%, 20px);
  min-width: 0;
  padding: clamp(18px, 5%, 22px) 0;
}

.isee-latest-blogs__item:last-child {
  border-bottom: 0;
}

.isee-latest-blogs__cover {
  background: var(--isee-color-primary-soft);
  border-radius: var(--isee-radius-md);
  aspect-ratio: 1;
  flex: 0 0 clamp(72px, 24%, 96px);
  overflow: hidden;
}

.isee-latest-blogs__cover img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.isee-latest-blogs__content {
  min-width: 0;
  padding-top: 2px;
}

.isee-latest-blogs__title,
.isee-latest-blogs__summary {
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

.isee-latest-blogs__title {
  -webkit-line-clamp: 2;
  color: var(--isee-color-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.isee-latest-blogs__title:hover {
  color: var(--isee-color-primary-hover);
}

.isee-latest-blogs__summary {
  -webkit-line-clamp: 2;
  color: var(--isee-color-muted);
  font-size: 16px;
  line-height: 1.5;
  margin-top: 5px;
}

.isee-latest-blogs__cover:focus-visible,
.isee-latest-blogs__title:focus-visible {
  border-radius: var(--isee-radius-sm);
  outline: 2px solid var(--isee-color-accent);
  outline-offset: 3px;
}

@media (max-width: 575.98px) {
  .isee-latest-blogs__content {
    padding-top: 0;
  }

  .isee-latest-blogs__title {
    font-size: 16px;
  }

  .isee-latest-blogs__summary {
    font-size: 14px;
    line-height: 1.4;
    margin-top: 3px;
  }
}

/* Blog detail: keep metadata, tags, categories, and recommendations inside the VI system. */
.isee-blog-detail {
  font-family: var(--isee-font-sans);
}

.isee-blog-detail__title {
  color: var(--isee-color-text);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.isee-blog-detail__breadcrumbs {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.isee-blog-detail__breadcrumb {
  background: var(--isee-color-primary-soft);
  border: 1px solid var(--isee-color-border);
  border-radius: var(--isee-radius-md);
  color: var(--isee-color-primary);
  font-size: 13px;
  font-weight: 650;
  line-height: 20px;
  padding: 4px 10px;
}

.isee-blog-detail__breadcrumb:hover {
  background: var(--isee-color-primary);
  border-color: var(--isee-color-primary);
  color: var(--isee-color-surface);
  text-decoration: none;
}

.isee-blog-detail__breadcrumb:focus-visible,
.isee-blog-detail .blog-meta-counter:focus-visible,
.isee-blog-detail .blog-tags a:focus-visible {
  box-shadow: 0 0 0 3px var(--isee-color-accent-soft);
  outline: 2px solid var(--isee-color-accent);
  outline-offset: 2px;
}

.isee-blog-detail__breadcrumbs > i {
  color: var(--isee-color-muted);
  font-size: 11px;
  margin: 0;
}

.isee-blog-detail__meta-counters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.isee-blog-detail .blog-meta-counter {
  align-items: center;
  background: var(--isee-color-primary-soft);
  border: 1px solid var(--isee-color-border);
  border-radius: 999px;
  color: var(--isee-color-primary);
  display: inline-flex;
  font-family: var(--isee-font-sans);
  font-size: 13px;
  font-weight: 600;
  gap: 6px;
  line-height: 20px;
  margin: 0;
  padding: 7px 11px;
}

.isee-blog-detail a.blog-meta-counter:hover {
  background: var(--isee-color-primary);
  border-color: var(--isee-color-primary);
  color: var(--isee-color-surface);
  text-decoration: none;
}

.isee-blog-detail .blog-meta-counter strong {
  font-weight: 700;
}

.isee-blog-detail .blog-tags ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.isee-blog-detail .blog-tags ul > li {
  margin: 0;
}

.isee-blog-detail .blog-tags ul > li > a {
  align-items: center;
  background: var(--isee-color-primary-soft);
  border: 1px solid var(--isee-color-border);
  border-radius: 999px;
  color: var(--isee-color-primary);
  display: inline-flex;
  font-family: var(--isee-font-sans);
  font-size: 13px;
  font-weight: 600;
  gap: 6px;
  line-height: 20px;
  padding: 7px 12px;
  text-transform: none;
}

.isee-blog-detail .blog-tags ul > li > a:hover {
  background: var(--isee-color-primary);
  border-color: var(--isee-color-primary);
  color: var(--isee-color-surface);
  text-decoration: none;
}

.isee-blog-detail__categories-nav {
  margin: 18px 0 20px;
}

.isee-blog-detail .isee-blog-detail__categories {
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.isee-blog-detail__categories > li {
  min-width: 0;
}

.isee-blog-detail__categories:not(.is-expanded) > li:nth-child(n + 6):not(.isee-blog-categories__toggle) {
  display: none;
}

body .isee-blog-detail__categories .blog-category {
  display: block;
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  padding: 7px 6px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.isee-blog-detail .isee-blog-categories__toggle {
  align-items: center;
  display: flex;
  justify-content: center;
}

.isee-blog-detail .isee-blog-categories__toggle button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: var(--isee-radius-md);
  color: var(--isee-color-muted);
  display: flex;
  justify-content: center;
  min-height: 36px;
  padding: 0;
  width: 100%;
}

.isee-blog-detail .isee-blog-categories__toggle button:hover {
  background: var(--isee-color-primary-soft);
  color: var(--isee-color-primary);
}

.isee-blog-detail .isee-blog-categories__toggle button:focus-visible {
  box-shadow: 0 0 0 3px var(--isee-color-accent-soft);
  outline: 2px solid var(--isee-color-accent);
  outline-offset: -2px;
}

.isee-blog-detail .isee-blog-categories__toggle i {
  transition: transform 160ms ease;
}

.isee-blog-detail__categories.is-expanded .isee-blog-categories__toggle i {
  transform: rotate(180deg);
}

.isee-blog-detail .blogs-widget-header {
  border-color: var(--isee-color-border);
  margin-bottom: 12px;
}

.isee-blog-detail .blogs-widget-title {
  color: var(--isee-color-primary);
  font-family: var(--isee-font-sans);
  font-size: 18px;
  font-weight: 700;
}

.isee-blog-detail .isee-latest-blogs__title {
  font-family: var(--isee-font-sans);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
}

.isee-blog-detail .isee-latest-blogs__summary {
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 991.98px) {
  .isee-blog-detail__meta-counters {
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .isee-blog-detail .isee-blog-detail__categories {
    gap: 0;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .isee-blog-detail__categories:not(.is-expanded) > li:nth-child(n + 6):not(.isee-blog-categories__toggle) {
    display: list-item;
  }

  .isee-blog-detail__categories:not(.is-expanded) > li:nth-child(n + 10):not(.isee-blog-categories__toggle) {
    display: none;
  }

  body .isee-blog-detail__categories .blog-category {
    background: transparent;
    border-color: transparent;
    font-size: 14px;
    font-weight: 500;
    line-height: 44px;
    min-height: 44px;
    padding: 0 6px;
    text-align: start;
  }

  .isee-blog-detail .isee-blog-categories__toggle button {
    min-height: 44px;
  }
}

@media (max-width: 575.98px) {
  .isee-blog-detail__title {
    font-size: 24px;
  }

  .isee-blog-detail .isee-latest-blogs__title {
    font-size: 15px;
  }
}

body:not(.visitor) .post-stats {
  border-top: 1px solid rgba(216, 224, 221, 0.72);
  margin: 12px 18px 0;
  padding-top: 12px;
}

body:not(.visitor) .post-actions {
  border-top-color: rgba(216, 224, 221, 0.72);
  margin: 10px 18px 0;
  padding: 6px 0 10px;
}

body:not(.visitor) .post-actions .action-btn {
  border-radius: var(--isee-radius-lg);
  color: var(--isee-color-muted);
  font-weight: 650;
}

body:not(.visitor) .post-actions .action-btn:hover {
  background: rgba(12, 117, 111, 0.08);
  color: var(--isee-color-primary);
}

body:not(.visitor) .post-actions .js_post-save-action[aria-pressed="true"] {
  background: var(--isee-color-primary-soft);
  color: var(--isee-color-primary) !important;
}

body:not(.visitor) .post-actions .js_post-save-action[aria-pressed="true"] .action-icon,
body:not(.visitor) .post-actions .js_post-save-action[aria-pressed="true"] .action-icon * {
  color: var(--isee-color-primary) !important;
}

body:not(.visitor) .card-body.with-list ul > li,
body:not(.visitor) .card-body.with-list .feeds-item {
  border-color: rgba(216, 224, 221, 0.72);
}

body:not(.visitor) .user-box {
  border-radius: var(--isee-radius-lg);
}

body:not(.visitor) .user-box:hover {
  background: rgba(12, 117, 111, 0.06);
  text-decoration: none;
}

/* Keep shared page heroes informative without pushing the primary task below the fold. */
.page-header {
  padding-block: 38px;
}

@media (min-width: 768px) {
  .page-header {
    padding-block: 52px;
  }
}

body:not(.visitor) .page-header,
body:not(.visitor) .profile-cover,
body:not(.visitor) .profile-tabs-wrapper,
body:not(.visitor) .profile-header {
  border-radius: var(--isee-radius-lg);
}

/* Memories: a compact, warm time-capsule surface using only governed VI tokens. */
.isee-memories-hero.page-header {
  align-items: center;
  background:
    radial-gradient(circle at 78% 12%, rgba(232, 244, 241, 0.18), transparent 30%),
    radial-gradient(circle at 96% 92%, rgba(208, 146, 47, 0.24), transparent 28%),
    linear-gradient(135deg, #07534f 0%, var(--isee-color-primary) 58%, #095f5a 100%);
  border: 1px solid rgba(232, 244, 241, 0.24);
  border-inline-start: 4px solid var(--isee-color-accent);
  box-shadow: 0 14px 32px rgba(24, 72, 65, 0.14);
  color: #fff;
  display: flex;
  gap: 18px;
  isolation: isolate;
  min-height: 156px;
  overflow: hidden;
  padding: 24px clamp(20px, 5vw, 32px);
  position: relative;
  text-align: start;
}

.isee-memories-hero.page-header::before {
  aspect-ratio: 1;
  border: 1px solid rgba(232, 244, 241, 0.15);
  border-radius: 34px;
  content: "";
  inline-size: 190px;
  inset-block-start: -104px;
  inset-inline-end: -38px;
  pointer-events: none;
  position: absolute;
  transform: rotate(18deg);
  z-index: -1;
}

.isee-memories-hero__visual {
  align-items: center;
  background: rgba(232, 244, 241, 0.16);
  border: 1px solid rgba(232, 244, 241, 0.34);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  display: flex;
  flex: 0 0 64px;
  height: 64px;
  justify-content: center;
  position: relative;
}

.isee-memories-hero__visual::after {
  background: var(--isee-color-accent);
  border: 3px solid var(--isee-color-primary);
  border-radius: 50%;
  content: "";
  height: 13px;
  inset-block-end: -3px;
  inset-inline-end: -3px;
  position: absolute;
  width: 13px;
}

.isee-memories-hero__icon,
.isee-memories-hero__icon * {
  color: #e8f4f1 !important;
  fill: currentColor !important;
}

.isee-memories-hero__copy {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.isee-memories-hero.page-header h1 {
  color: #fff !important;
  font-size: clamp(27px, 3.2vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

.isee-memories-hero.page-header p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  line-height: 1.55;
  margin: 8px 0 0;
}

.isee-memories-hero__timeline {
  align-items: center;
  display: flex;
  gap: 8px;
  margin-inline-start: auto;
  position: relative;
  z-index: 1;
}

.isee-memories-hero__timeline::before {
  background: rgba(232, 244, 241, 0.35);
  content: "";
  height: 1px;
  inset-inline: 5px;
  position: absolute;
}

.isee-memories-hero__timeline span {
  background: var(--isee-color-primary);
  border: 2px solid rgba(232, 244, 241, 0.78);
  border-radius: 50%;
  height: 9px;
  position: relative;
  width: 9px;
}

.isee-memories-hero__timeline span:nth-child(2) {
  background: var(--isee-color-accent);
  height: 13px;
  width: 13px;
}

body.night-mode .isee-memories-hero.page-header {
  background:
    radial-gradient(circle at 78% 12%, rgba(232, 244, 241, 0.09), transparent 30%),
    radial-gradient(circle at 96% 92%, rgba(208, 146, 47, 0.18), transparent 28%),
    linear-gradient(135deg, #062f2d 0%, #095c57 60%, #073f3c 100%);
  border-color: rgba(232, 244, 241, 0.16);
  box-shadow: none;
}

@media (max-width: 575.98px) {
  .isee-memories-hero.page-header {
    gap: 14px;
    min-height: 132px;
    padding: 20px 18px;
  }

  .isee-memories-hero__visual {
    border-radius: 16px;
    flex-basis: 54px;
    height: 54px;
  }

  .isee-memories-hero__icon {
    height: 30px !important;
    width: 30px !important;
  }

  .isee-memories-hero.page-header h1 {
    font-size: 26px;
  }

  .isee-memories-hero.page-header p {
    font-size: 14px;
    margin-top: 5px;
  }

  .isee-memories-hero__timeline {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .isee-memories-hero.page-header::before {
    transform: none;
  }
}

body:not(.visitor) .sg-offcanvas-mainbar > .row > .col-lg-8 > .card:has(.stories-wrapper) {
  min-height: 164px;
}

body:not(.visitor) .sg-offcanvas-mainbar > .row > .col-lg-8 > .card:has(.stories-wrapper) > .card-header {
  padding: 16px 18px 4px;
}

body:not(.visitor) .stories-wrapper {
  min-height: 124px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 16px 18px !important;
}

body:not(.visitor) #stories {
  align-items: flex-start;
  display: flex;
  gap: 18px;
}

body:not(.visitor) #stories .add-story {
  flex: 0 0 92px;
  height: 118px;
  overflow: visible;
  width: 92px;
}

body:not(.visitor) #stories .add-story .img {
  border-radius: var(--isee-radius-lg);
}

body:not(.visitor) #stories .add-story .add {
  align-items: center;
  border: 3px solid #fff;
  bottom: 10px;
  display: flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

body:not(.visitor) .sg-offcanvas-mainbar > .row > .col-lg-4 .card-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

body:not(.visitor) .sg-offcanvas-mainbar > .row > .col-lg-4 .card-header .float-end {
  float: none !important;
  order: 2;
}

body:not(.visitor) .sg-offcanvas-mainbar > .row > .col-lg-4 .card-header small a {
  color: var(--isee-color-primary);
  font-weight: 750;
}

body:not(.visitor) .sg-offcanvas-mainbar > .row > .col-lg-4 .card-body.with-list {
  padding: 6px 14px 14px;
}

body:not(.visitor) .profile-header {
  background: #fff;
  box-shadow: 0 14px 34px rgba(22, 42, 36, 0.07);
  overflow: visible;
}

body:not(.visitor) .profile-cover-wrapper {
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.06) 0%, rgba(17, 24, 39, 0.2) 100%),
    url("../images/landing/welcome.jpg") center 45% / cover no-repeat;
  border-radius: var(--isee-radius-lg) var(--isee-radius-lg) 0 0;
  overflow: hidden;
  position: relative;
}

body:not(.visitor) .profile-cover-wrapper::after {
  background: linear-gradient(180deg, transparent 45%, rgba(17, 24, 39, 0.34) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

body:not(.visitor) .profile-avatar-wrapper {
  filter: drop-shadow(0 10px 22px rgba(17, 24, 39, 0.18));
}

body:not(.visitor) .profile-avatar-wrapper img {
  border: 5px solid #fff;
  box-shadow: 0 0 0 1px rgba(12, 117, 111, 0.12);
}

body:not(.visitor) .profile-name-wrapper a {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 2px 10px rgba(17, 24, 39, 0.36);
}

body:not(.visitor) .profile-buttons-wrapper .btn {
  border: 1px solid rgba(12, 117, 111, 0.16);
  border-radius: var(--isee-radius-lg) !important;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08);
  font-weight: 700;
}

.profile-tabs-wrapper,
body.night-mode .profile-tabs-wrapper {
  background: var(--isee-color-surface);
  border: 1px solid var(--isee-color-border);
  border-radius: var(--isee-radius-lg);
  box-shadow: var(--isee-shadow-card);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  padding: 6px 8px;
  scrollbar-color: var(--isee-color-primary) var(--isee-color-primary-soft);
  scrollbar-width: thin;
}

.profile-tabs-wrapper > a,
body.night-mode .profile-tabs-wrapper > a {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--isee-radius-md);
  color: var(--isee-color-muted);
  display: flex;
  flex: 0 0 auto;
  font-weight: 700;
  justify-content: center;
  min-height: 52px;
  min-width: 48px;
  padding: 10px 16px;
  position: relative;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.profile-tabs-wrapper > a:hover,
body.night-mode .profile-tabs-wrapper > a:hover {
  background: var(--isee-color-primary-soft);
  border-color: var(--isee-color-border);
  color: var(--isee-color-primary-hover);
}

.profile-tabs-wrapper > a.active,
body.night-mode .profile-tabs-wrapper > a.active {
  background: var(--isee-color-primary-soft);
  border: 1px solid var(--isee-color-border);
  box-shadow: inset 0 -3px 0 var(--isee-color-primary);
  color: var(--isee-color-primary);
}

.profile-tabs-wrapper > a:focus-visible {
  border-color: var(--isee-color-accent);
  box-shadow: inset 0 0 0 2px var(--isee-color-accent);
  outline: 2px solid transparent;
}

@media (max-width: 1199.98px) {
  .profile-tabs-wrapper.justify-content-evenly {
    justify-content: flex-start !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-tabs-wrapper > a {
    transition: none;
  }
}

body:not(.visitor) .isee-empty-state {
  min-height: 220px;
}

body:not(.visitor) .isee-message-empty-card {
  padding-top: 0;
}

body:not(.visitor) .isee-message-empty-panel .isee-empty-state {
  margin-bottom: 0;
  min-height: 430px;
}


@media (min-width: 768px) {
  body:not(.visitor) .main-header .header-icon,
  body:not(.visitor) .main-header .header-icon *,
  body:not(.visitor) .main-header .header-icon svg {
    color: currentColor !important;
    fill: currentColor !important;
    height: 24px !important;
    stroke: currentColor !important;
    width: 24px !important;
  }

  body:not(.visitor) .main-header .header-icon svg *,
  body .main-side-nav .main-icon svg *,
  body .main-side-nav .main-icon svg {
    fill: currentColor !important;
    stroke: currentColor !important;
  }

  body:not(.visitor) .navbar-wrapper .counter {
    align-items: center;
    background: #ef2f3a !important;
    border: 2px solid #fff;
    box-shadow: 0 5px 14px rgba(239, 47, 58, 0.26);
    color: #fff;
    display: inline-flex;
    font-size: 10px;
    font-weight: 800;
    height: 20px;
    justify-content: center;
    min-width: 20px;
    padding: 0 5px;
    position: absolute;
    right: -8px;
    top: 8px;
  }

  body:not(.visitor) .navbar-wrapper .counter.x-hidden {
    display: none !important;
  }

  body .main-side-nav a,
  body .main-side-nav .static {
    color: var(--isee-color-text);
    font-size: 16px;
    font-weight: 650;
    min-height: 48px;
  }

  body .main-side-nav a:hover {
    background: rgba(12, 117, 111, 0.08);
    color: var(--isee-color-primary);
  }

  body .main-side-nav > li.active > a {
    background: linear-gradient(180deg, var(--isee-color-primary) 0%, var(--isee-color-primary-hover) 100%);
    box-shadow: 0 10px 22px rgba(8, 122, 114, 0.2);
    color: #fff;
  }

  body .main-side-nav .main-icon,
  body .main-side-nav .main-icon *,
  body .main-side-nav .main-icon svg {
    color: currentColor !important;
    fill: currentColor !important;
    height: 22px !important;
    stroke: currentColor !important;
    width: 22px !important;
  }
}

@media (min-width: 992px) {
  body:not(.visitor):not(.night-mode) {
    background: #f7faf9;
  }

  body:not(.visitor) .main-header .logo {
    color: var(--isee-color-primary) !important;
    font-size: 31px;
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  body:not(.visitor) .main-header .search-wrapper .form-control {
    background: #f4f6f8;
    border: 1px solid #e1e6ea;
    border-radius: 8px;
    box-shadow: none;
    color: var(--isee-color-muted);
    font-size: 15px;
    height: 43px;
    padding-right: 18px;
    padding-left: 54px;
  }

  body:not(.visitor) .main-header .header-fa-icon {
    color: currentColor;
    font-size: 23px;
    line-height: 1;
  }

  body:not(.visitor) .navbar-wrapper .user-menu img {
    height: 36px;
    width: 36px;
  }

  body:not(.visitor) .navbar-wrapper .counter {
    height: 18px;
    min-width: 18px;
    right: -8px;
    top: 13px;
  }

}

@media (max-width: 991.98px) {
  body:not(.visitor) .sg-offcanvas {
    margin-top: 16px !important;
  }

  body:not(.visitor) .publisher-message {
    padding-right: 14px;
  }

  body:not(.visitor) .post-header {
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (max-width: 767.98px) {
  body:not(.visitor) .main-header .logo {
    font-size: 26px;
  }

  body:not(.visitor) .main-header .menu-icon {
    color: var(--isee-color-primary);
  }

  body:not(.visitor) .sg-offcanvas {
    margin-top: 12px !important;
  }

  body:not(.visitor) .card,
  body:not(.visitor) .publisher,
  body:not(.visitor) .post {
    box-shadow: 0 10px 24px rgba(22, 42, 36, 0.07);
  }

  body:not(.visitor) .publisher-message {
    padding: 14px 14px 14px 64px;
  }

  body:not(.visitor) .publisher-avatar {
    height: 40px;
    left: 14px;
    top: 14px;
    width: 40px;
  }

  body:not(.visitor) .publisher-tools-tabs {
    gap: 4px;
    overflow-x: auto;
    padding: 8px;
  }

  body:not(.visitor) .publisher-tools-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  body:not(.visitor) .sg-offcanvas-mainbar > .row > .col-lg-8 > .card:has(.js_merits_slick) {
    display: none;
  }

  body:not(.visitor) .post-stats,
  body:not(.visitor) .post-actions {
    margin-left: 14px;
    margin-right: 14px;
  }

  .js_posts_stream > ul > li > .post {
    margin-bottom: var(--isee-space-2);
  }
}

body.night-mode {
  --isee-color-primary: #5ed2c2;
  --isee-color-primary-hover: #8be3d7;
  --isee-color-primary-soft: rgba(94, 210, 194, 0.13);
  --isee-color-accent: #e2b85c;
  --isee-color-accent-soft: rgba(226, 184, 92, 0.13);
  --isee-color-background: #101614;
  --isee-color-surface: #17211e;
  --isee-color-text: #eef5f2;
  --isee-color-muted: #9aaba6;
  --isee-color-border: #2b3a36;
  --isee-color-icon-blue: #5ed2c2;
  --isee-color-icon-blue-soft: rgba(94, 210, 194, 0.13);
  --isee-color-icon-amber: #e2b85c;
  --isee-color-icon-amber-soft: rgba(229, 189, 120, 0.14);
  --isee-color-icon-coral: #5ed2c2;
  --isee-color-icon-coral-soft: rgba(94, 210, 194, 0.13);
  --isee-color-icon-violet: #e2b85c;
  --isee-color-icon-violet-soft: rgba(226, 184, 92, 0.13);
  --isee-shadow-card: none;
}

body.night-mode .main-header,
body.night-mode .card,
body.night-mode .dropdown-menu,
body.night-mode .modal-content {
  border-color: var(--isee-color-border);
}

body.night-mode .isee-groups-page .side-nav > li.active > a,
body.night-mode .isee-empty-state {
  background: rgba(255, 255, 255, 0.04);
}

body.night-mode .isee-groups-page .countries-filter,
body.night-mode .isee-empty-state .no-data {
  background: var(--isee-color-surface);
}

@media (max-width: 575.98px) {
  .isee-groups-page .content-tabs {
    border-radius: var(--isee-radius-md);
  }

  .isee-groups-page .posts-filter {
    padding-top: var(--isee-space-2);
  }

  .isee-groups-page .countries-filter {
    justify-content: center;
    min-width: 42px;
    padding: 0;
  }

  .isee-empty-state {
    min-height: 190px;
    padding: 32px 14px;
  }
}

@media (max-width: 767.98px) {
  body:not(.night-mode) {
    --isee-mobile-bg: #f2f8f6;
    --isee-mobile-border: rgba(12, 117, 111, 0.12);
    --isee-mobile-shadow: 0 14px 34px rgba(16, 60, 54, 0.08);
    --isee-mobile-soft-shadow: 0 8px 22px rgba(16, 60, 54, 0.06);
    background:
      linear-gradient(180deg, #fbfefd 0%, var(--isee-mobile-bg) 52%, #f8fbfa 100%);
    padding-bottom: 86px;
  }

  body:not(.night-mode) .main-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(12, 117, 111, 0.1);
    box-shadow: 0 8px 24px rgba(16, 60, 54, 0.06);
    backdrop-filter: blur(14px);
  }

  body:not(.night-mode) .main-header .container {
    padding-right: 16px;
    padding-left: 16px;
  }

  body:not(.night-mode) .main-header .logo {
    color: var(--isee-color-primary) !important;
    font-weight: 700;
    letter-spacing: 0;
  }

  body:not(.night-mode) .main-header .menu-icon {
    border-radius: 14px;
  }

  body:not(.night-mode) .main-header .menu-icon:hover,
  body:not(.night-mode) .navbar-wrapper>ul>li>a:hover {
    background: rgba(12, 117, 111, 0.07);
  }

  body:not(.night-mode) .main-header .header-icon,
  body:not(.night-mode) .main-header .header-icon * {
    color: var(--isee-color-text) !important;
    fill: var(--isee-color-text) !important;
  }

  body:not(.night-mode) .sg-offcanvas {
    margin-top: 16px !important;
    padding-right: 20px;
    padding-left: 20px;
  }

  body:not(.night-mode) .sg-offcanvas>.row {
    margin-right: 0;
    margin-left: 0;
  }

  body:not(.night-mode) .sg-offcanvas-mainbar,
  body:not(.night-mode) .sg-offcanvas-mainbar>.row,
  body:not(.night-mode) .sg-offcanvas-mainbar>.row>.col-lg-8 {
    padding-right: 0;
    padding-left: 0;
    margin-right: 0;
    margin-left: 0;
  }

  body:not(.night-mode) .sg-offcanvas-mainbar>.row>.col-lg-8>.card,
  body:not(.night-mode) .publisher,
  body:not(.night-mode) .post,
  body:not(.night-mode) .isee-empty-state {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--isee-mobile-border);
    border-radius: 14px;
    box-shadow: var(--isee-mobile-shadow);
  }

  body:not(.night-mode) .sg-offcanvas-mainbar>.row>.col-lg-8>.card {
    margin-bottom: 18px;
    overflow: hidden;
  }

  body:not(.night-mode) .sg-offcanvas-mainbar>.row>.col-lg-8>.card:has(.stories-wrapper) {
    min-height: 310px;
    overflow: visible;
  }

  body:not(.night-mode) .stories-wrapper {
    min-height: 288px;
    padding: 16px 22px 36px !important;
    margin-bottom: 0;
    overflow: visible;
  }

  body:not(.night-mode) #stories .add-story {
    width: 165px;
    height: 240px;
    margin-bottom: 18px;
  }

  body:not(.night-mode) #stories .add-story .img {
    background-color: var(--isee-color-primary-soft);
    border-radius: 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }

  body:not(.night-mode) #stories .add-story .add {
    bottom: -22px;
    display: flex;
    z-index: 2;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(12, 117, 111, 0.12);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 18px rgba(30, 41, 59, 0.12);
  }

  body:not(.night-mode) #stories .add-story .add .svg-container,
  body:not(.night-mode) #stories .add-story .add svg {
    width: 24px !important;
    height: 24px !important;
  }

  body:not(.night-mode) .publisher {
    margin-bottom: 18px;
    overflow: hidden;
  }

  body:not(.night-mode) .publisher-message {
    min-height: 76px;
    padding: 18px 18px 18px 68px;
  }

  body:not(.night-mode) .publisher-avatar {
    top: 18px;
    left: 18px;
    width: 40px;
    height: 40px;
    padding: 2px;
    border: 2px solid #fff;
    box-shadow: 0 5px 14px rgba(17, 24, 39, 0.12);
  }

  body:not(.night-mode) .publisher .colored-text-wrapper {
    display: flex;
    align-items: center;
    min-height: 40px;
  }

  body:not(.night-mode) .publisher .ql-editor {
    min-height: 28px;
    padding: 0;
    font-size: 18px;
    line-height: 28px;
    color: var(--isee-color-text);
  }

  body:not(.night-mode) .publisher .ql-editor.ql-blank::before {
    color: var(--isee-color-muted);
    font-style: normal;
    opacity: 1;
  }

  body:not(.night-mode) .posts-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(12, 117, 111, 0.1);
    line-height: normal;
  }

  body:not(.night-mode) .posts-filter .float-end {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  body:not(.night-mode) .posts-filter .countries-filter,
  body:not(.night-mode) .posts-filter .btn-group .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 16px !important;
    border: 1px solid rgba(12, 117, 111, 0.1) !important;
    border-radius: 14px;
    background: #fff;
    color: #17211e;
    box-shadow: var(--isee-mobile-soft-shadow) !important;
    font-size: 14px;
    font-weight: 700;
  }

  body:not(.night-mode) .posts-filter .float-end .countries-filter,
  body:not(.night-mode) .posts-filter .btn-group .btn {
    min-width: 72px;
  }

  body:not(.night-mode) .posts-filter .btn-group {
    margin-left: 0 !important;
  }

  body:not(.night-mode) .isee-empty-state {
    justify-content: flex-start;
    min-height: 260px;
    margin-bottom: 22px;
    padding: 16px 18px 92px;
  }

  body:not(.night-mode) .isee-empty-state .svg-container {
    width: 80px !important;
    height: 80px !important;
    filter: drop-shadow(0 10px 18px rgba(12, 117, 111, 0.12));
  }

  body:not(.night-mode) .isee-empty-state .no-data {
    padding: 10px 26px;
    border: 1px solid rgba(12, 117, 111, 0.16);
    border-radius: 999px;
    background: #fff;
    color: var(--isee-color-muted);
    box-shadow: 0 8px 20px rgba(16, 60, 54, 0.06);
    font-size: 17px;
    font-weight: 700;
  }

  .mini-footer {
    display: none !important;
  }

  .footer-bottom-bar-links > .link > a > .header-icon,
  .footer-bottom-bar-links > .link > a.user-menu > img {
    display: block;
    width: 24px;
    height: 24px;
    margin: 0 auto;
  }

  .footer-bottom-bar .footer-quick-adds {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 16px 12px;
  }

  .footer-bottom-bar .footer-quick-adds .add-quick-item,
  .footer-bottom-bar .footer-quick-adds .add-quick-item.full {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 72px;
    padding: 9px 4px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .footer-bottom-bar .footer-quick-adds .add-quick-item .mt5 {
    width: 100%;
  }

  body:not(.night-mode) .footer-bottom-bar {
    height: 78px;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(12, 117, 111, 0.1);
    box-shadow: 0 -10px 28px rgba(16, 60, 54, 0.08);
    backdrop-filter: blur(14px);
  }

  body:not(.night-mode) .footer-bottom-bar .container {
    padding-right: 12px;
    padding-left: 12px;
  }

  body:not(.night-mode) .footer-bottom-bar-links {
    gap: 4px;
  }

  body:not(.night-mode) .footer-bottom-bar-links>.link {
    height: 78px;
  }

  body:not(.night-mode) .footer-bottom-bar-links>.link>a {
    height: 68px;
    padding: 8px 4px 5px;
    margin: 5px 0;
    border-radius: 16px;
  }

  body:not(.night-mode) .footer-bottom-bar-links>.link.active>a {
    background: rgba(12, 117, 111, 0.08);
  }

  body:not(.night-mode) .footer-bottom-bar-links .link>a>.title {
    font-size: 13px;
    line-height: 22px;
    font-weight: 600;
  }
}

/* Color and icon polish: visual-only overrides, preserving the native Sngine shell. */
@media (min-width: 768px) {
  body:not(.visitor):not(.night-mode) {
    background:
      radial-gradient(circle at 10% 0%, rgba(12, 117, 111, 0.07), transparent 28%),
      radial-gradient(circle at 90% 4%, rgba(208, 146, 47, 0.06), transparent 24%),
      linear-gradient(180deg, #f9fcfb 0%, var(--isee-color-background) 58%, #f7faf9 100%);
  }
}

body:not(.visitor):not(.night-mode) .main-header {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.97), rgba(249, 252, 251, 0.95));
  border-bottom-color: rgba(12, 117, 111, 0.12);
  box-shadow: 0 10px 30px rgba(24, 72, 65, 0.07);
}

body:not(.visitor):not(.night-mode) .card,
body:not(.visitor):not(.night-mode) .publisher,
body:not(.visitor):not(.night-mode) .post,
body:not(.visitor):not(.night-mode) .dropdown-menu {
  border-color: rgba(12, 117, 111, 0.12);
  box-shadow: var(--isee-shadow-card);
}

.post-header .action-dropdown-menu .dropdown-divider {
  margin: 0 20px;
}

body:not(.visitor) .navbar-wrapper > ul > li > a {
  border: 1px solid transparent;
  color: var(--isee-color-text);
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

body:not(.visitor) .main-header .menu-icon:hover,
body:not(.visitor) .navbar-wrapper > ul > li > a:hover,
body:not(.visitor) .navbar-wrapper > ul > li.dropdown.show > a {
  background: var(--isee-color-primary-soft);
  border-color: rgba(12, 117, 111, 0.13);
  box-shadow: 0 6px 16px rgba(24, 72, 65, 0.08);
  color: var(--isee-color-primary);
}

body:not(.visitor):not(.night-mode) .main-header .search-wrapper .form-control {
  background: rgba(243, 248, 246, 0.92);
  border-color: rgba(12, 117, 111, 0.12);
  color: var(--isee-color-text);
}

body:not(.visitor):not(.night-mode) .main-header .search-wrapper .form-control:focus {
  background: #fff;
  border-color: rgba(12, 117, 111, 0.34);
  box-shadow: 0 0 0 0.2rem rgba(12, 117, 111, 0.11);
}

body .main-side-nav > li > a,
body .main-side-nav > a {
  --isee-nav-icon-color: var(--isee-color-primary);
  --isee-nav-icon-bg: var(--isee-color-primary-soft);
  padding: 7px 14px;
}

body .main-side-nav > li > a[href$="/saved"],
body .main-side-nav > li > a[href$="/scheduled"],
body .main-side-nav > li > a[href$="/memories"],
body .main-side-nav > li > a[href$="/people"] {
  --isee-nav-icon-color: var(--isee-color-icon-blue);
  --isee-nav-icon-bg: var(--isee-color-icon-blue-soft);
}

body .main-side-nav > li > a[href$="/ads"],
body .main-side-nav > li > a[href$="/wallet"],
body .main-side-nav > li > a[href$="/market"],
body .main-side-nav > li > a[href$="/funding"],
body .main-side-nav > li > a[href$="/offers"],
body .main-side-nav > li > a[href="#boosted"],
body .main-side-nav > a[href="#boosted"] {
  --isee-nav-icon-color: var(--isee-color-icon-amber);
  --isee-nav-icon-bg: var(--isee-color-icon-amber-soft);
}

body .main-side-nav > li > a[href$="/reels"],
body .main-side-nav > li > a[href$="/watch"],
body .main-side-nav > li > a[href$="/blogs"],
body .main-side-nav > li > a[href$="/movies"],
body .main-side-nav > li > a[href$="/games"] {
  --isee-nav-icon-color: var(--isee-color-icon-coral);
  --isee-nav-icon-bg: var(--isee-color-icon-coral-soft);
}

body .main-side-nav > li > a[href$="/jobs"],
body .main-side-nav > li > a[href$="/courses"],
body .main-side-nav > li > a[href$="/forums"],
body .main-side-nav > li > a[href$="/developers"],
body .main-side-nav > li > a[href$="/merits"] {
  --isee-nav-icon-color: var(--isee-color-icon-violet);
  --isee-nav-icon-bg: var(--isee-color-icon-violet-soft);
}

body .main-side-nav > li > a .main-icon,
body .main-side-nav > a .main-icon {
  align-items: center;
  background: var(--isee-nav-icon-bg);
  border: 1px solid rgba(12, 117, 111, 0.12);
  border: 1px solid color-mix(in srgb, var(--isee-nav-icon-color) 14%, transparent);
  border-radius: 10px;
  color: var(--isee-nav-icon-color) !important;
  display: inline-flex;
  height: 34px !important;
  justify-content: center;
  margin-right: 14px !important;
  padding: 6px;
  width: 34px !important;
}

body .main-side-nav > li > a .main-icon svg,
body .main-side-nav > li > a .main-icon svg *,
body .main-side-nav > a .main-icon svg,
body .main-side-nav > a .main-icon svg * {
  color: currentColor !important;
  fill: currentColor !important;
  height: 20px !important;
  stroke: currentColor !important;
  width: 20px !important;
}

body .main-side-nav > li > a:hover .main-icon,
body .main-side-nav > a:hover .main-icon {
  background: var(--isee-color-surface);
  box-shadow: 0 5px 14px rgba(24, 72, 65, 0.1);
}

body .main-side-nav > li.active > a {
  background: linear-gradient(145deg, var(--isee-color-primary) 0%, #095c57 100%);
  border-radius: var(--isee-radius-lg);
  box-shadow: 0 12px 26px rgba(9, 92, 87, 0.24);
  color: #fff;
}

body .main-side-nav > li.active > a .main-icon,
body .main-side-nav > li.active > a:hover .main-icon {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
  color: #fff !important;
}

body:not(.visitor) .isee-reels-page .isee-reels-mainbar {
  min-width: 0;
}

body:not(.visitor).isee-reels-body {
  overflow: hidden;
  overflow: clip;
}

body:not(.visitor).isee-reels-body {
  height: 100dvh;
  inset: 0;
  position: fixed;
  width: 100%;
}

@media (min-width: 768px) {
  body:not(.visitor).isee-reels-body {
    height: auto;
    inset: auto;
    overflow: visible;
    position: relative;
    width: auto;
  }
}

body:not(.visitor).isee-reels-body .footer {
  display: none;
}

body:not(.visitor) .isee-reels-page .reels-wrapper {
  background: #000;
  border-radius: var(--isee-radius-lg);
  bottom: auto;
  left: auto;
  min-height: calc(100vh - 110px);
  overflow: hidden;
  position: relative;
  right: auto;
  top: auto;
  width: 100%;
  z-index: 0;
}

body:not(.visitor) .isee-reels-page .reels-wrapper > .mtb30 {
  align-items: center;
  background: var(--isee-color-background);
  box-sizing: border-box;
  display: flex;
  height: 100%;
  justify-content: center;
  margin: 0 !important;
  min-height: inherit;
  padding: 16px;
}

body:not(.visitor) .isee-reels-page .reels-wrapper > .mtb30 .isee-empty-state {
  background: var(--isee-color-surface);
  border: 1px solid var(--isee-color-border);
  margin: 0 !important;
  max-width: 420px;
  min-height: 240px;
  padding: 24px !important;
  width: 100%;
}

body.visitor .isee-reels-page .reels-wrapper > .mtb30 {
  align-items: center;
  background: var(--isee-color-background);
  box-sizing: border-box;
  display: flex;
  height: 100%;
  justify-content: center;
  margin: 0 !important;
  min-height: calc(100dvh - 70px);
  padding: 16px;
}

body.visitor .isee-reels-page .reels-wrapper > .mtb30 .isee-empty-state {
  background: var(--isee-color-surface);
  border: 1px solid var(--isee-color-border);
  box-shadow: var(--isee-shadow-card);
  margin: 0 !important;
  max-width: 420px;
  min-height: 240px;
  padding: 24px !important;
  width: 100%;
}

@media (min-width: 768px) {
  body.visitor .isee-reels-page .reels-wrapper {
    background: #000;
    border-radius: var(--isee-radius-lg);
    inset: auto;
    min-height: calc(100vh - 110px);
    overflow: hidden;
    position: relative;
    width: 100%;
    z-index: 0;
  }

  body.visitor .isee-reels-page .reels-wrapper > .mtb30 {
    min-height: inherit;
  }
}

.isee-reels-page .reels-wrapper > .mtb30 .isee-empty-state .svg-container {
  align-items: center;
  background: var(--isee-color-primary-soft);
  border: 1px solid var(--isee-color-border);
  border-radius: 50%;
  display: inline-flex;
  height: 88px !important;
  justify-content: center;
  margin-bottom: 24px !important;
  width: 88px !important;
}

.isee-reels-page .reels-wrapper > .mtb30 .isee-empty-state .svg-container svg {
  height: 64px !important;
  width: 64px !important;
}

.isee-reels-page .reels-wrapper > .mtb30 .isee-empty-state .no-data {
  background: var(--isee-color-primary-soft);
  border-color: var(--isee-color-border);
  color: var(--isee-color-primary) !important;
  font-weight: 700;
  padding: 10px 22px;
}

body:not(.visitor) .isee-reels-page .reel-container {
  bottom: 0;
  height: 100%;
  left: 0;
  padding-top: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}

body:not(.visitor) .isee-reels-page .reel-container > .position-relative {
  height: 100%;
}

body:not(.visitor) .isee-reels-page .reel-comments-wrapper {
  z-index: 6;
}

body:not(.visitor) .isee-reels-page .reel-video-wrapper .reel-video-container,
body:not(.visitor) .isee-reels-page .reel-video-wrapper .reel-video-container .plyr--video {
  height: calc(100vh - 110px);
}

@media (min-width: 576px) and (max-width: 767.98px) {
  body:not(.visitor) .isee-reels-page.sg-offcanvas {
    overflow: visible;
  }

  body:not(.visitor) .isee-reels-page .isee-global-nav-column {
    flex: 0 0 34%;
    left: auto !important;
    max-width: 34%;
    position: relative !important;
    right: auto !important;
    transition: none;
    width: 34%;
    z-index: auto;
  }

  body:not(.visitor) .isee-reels-page .isee-reels-mainbar {
    flex: 0 0 66%;
    left: auto !important;
    max-width: 66%;
    right: auto !important;
    transition: none;
    width: 66%;
  }
}

/* Reels keep the native Sngine action and swipe hooks; this block only improves presentation. */
body:not(.visitor) .isee-reels-page .reel-video-wrapper {
  overscroll-behavior-y: contain;
  touch-action: pan-y;
}

body:not(.visitor) .isee-reels-page .reel-video-wrapper .video-caption {
  color: #fff;
  padding-bottom: 24px;
  right: 88px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

body:not(.visitor) .isee-reels-page .reel-video-wrapper .video-caption * {
  color: inherit !important;
}

body:not(.visitor) .isee-reels-page .reel-video-wrapper .video-controlls {
  bottom: 24px;
  z-index: 3;
}

body:not(.visitor) .isee-reels-page .reel-actions {
  align-items: center;
  gap: 14px;
}

body:not(.visitor) .isee-reels-page .reel-actions .post-avatar {
  margin-bottom: 2px;
}

body:not(.visitor) .isee-reels-page .reel-actions .post-avatar .post-avatar-picture {
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--isee-color-accent), 0 6px 18px rgba(0, 0, 0, 0.32);
  min-height: 52px;
  min-width: 52px;
}

body:not(.visitor) .isee-reels-page .reel-actions .action-btn {
  align-items: center;
  appearance: none;
  background: rgba(28, 43, 40, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  color: #fff;
  display: flex;
  height: 52px;
  justify-content: center;
  margin: 0 auto;
  padding: 10px;
  width: 52px;
}

body:not(.visitor) .isee-reels-page .reel-actions .action-btn:hover {
  background: rgba(12, 117, 111, 0.92);
  border-color: rgba(255, 255, 255, 0.38);
}

body:not(.visitor) .isee-reels-page .reel-actions .action-btn:focus-visible,
body:not(.visitor) .isee-reels-page .reel-prev-btn:focus-visible,
body:not(.visitor) .isee-reels-page .reel-next-btn:focus-visible {
  outline: 3px solid var(--isee-color-accent);
  outline-offset: 3px;
}

body:not(.visitor) .isee-reels-page .reel-actions .js_unreact-post {
  background: rgba(12, 117, 111, 0.94);
  border-color: var(--isee-color-accent);
}

body:not(.visitor) .isee-reels-page .reel-action-btn > span {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 5px;
  min-width: 52px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

body:not(.visitor) .isee-reels-page .reel-prev-btn,
body:not(.visitor) .isee-reels-page .reel-next-btn {
  align-items: center;
  appearance: none;
  background: rgba(28, 43, 40, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  height: 46px;
  justify-content: center;
  padding: 0;
  width: 46px;
  z-index: 4;
}

body:not(.visitor) .isee-reels-page .reel-prev-btn:hover,
body:not(.visitor) .isee-reels-page .reel-next-btn:hover {
  background: rgba(12, 117, 111, 0.92);
}

@media (max-width: 767.98px) {
  body:not(.visitor) .isee-reels-page {
    margin-top: 0 !important;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  body:not(.visitor) .isee-reels-page > .row {
    margin-left: 0;
    margin-right: 0;
  }

  body:not(.visitor) .isee-reels-page .isee-global-nav-column {
    display: none;
  }

  body:not(.visitor) .isee-reels-page.active .isee-global-nav-column {
    display: block;
    max-height: calc(100dvh - 148px);
    overflow-y: auto;
  }

  body:not(.visitor) .isee-reels-page .isee-reels-mainbar {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }

  body:not(.visitor) .isee-reels-page .reels-wrapper {
    border-radius: 0;
    height: calc(100dvh - 148px);
    min-height: 480px;
  }

  body:not(.visitor) .isee-reels-page .reel-video-wrapper .reel-video-container,
  body:not(.visitor) .isee-reels-page .reel-video-wrapper .reel-video-container .plyr--video {
    height: 100%;
    min-height: 0;
  }

  body:not(.visitor) .isee-reels-page .reel-video-wrapper .video-controlls {
    bottom: calc(18px + env(safe-area-inset-bottom));
    right: max(14px, env(safe-area-inset-right));
  }

  body:not(.visitor) .isee-reels-page .reel-video-wrapper .video-caption {
    padding: 20px 14px calc(20px + env(safe-area-inset-bottom));
    right: 78px;
  }

  body:not(.visitor) .isee-reels-page .reel-actions {
    gap: 12px;
  }

  body:not(.visitor) .isee-reels-page .reel-actions .action-btn,
  body:not(.visitor) .isee-reels-page .reel-actions .post-avatar .post-avatar-picture {
    height: 50px;
    min-height: 50px;
    min-width: 50px;
    width: 50px;
  }
}

.btn-primary,
.btn-primary:focus {
  background: linear-gradient(145deg, var(--isee-color-primary) 0%, var(--isee-color-primary-hover) 100%) !important;
  border-color: var(--isee-color-primary-hover) !important;
  box-shadow: 0 8px 18px rgba(9, 92, 87, 0.18);
}

.btn-primary:hover {
  background: linear-gradient(145deg, var(--isee-color-primary-hover) 0%, var(--isee-color-primary-hover) 100%) !important;
  border-color: var(--isee-color-primary-hover) !important;
}

@media (max-width: 767.98px) {
  body:not(.visitor):not(.night-mode) .main-header .logo {
    font-size: 24px;
  }

  body:not(.visitor) .main-header .navbar-wrapper > ul > li > a {
    padding-right: 4px;
    padding-left: 4px;
  }

  body:not(.visitor):not(.night-mode) .main-header .search-wrapper .form-control {
    border-radius: 999px;
    font-size: 14px;
    height: 38px;
    padding: 0 8px 0 31px;
  }

  body:not(.visitor):not(.night-mode) .sg-offcanvas-mainbar>.row>.col-lg-8>.card,
  body:not(.visitor):not(.night-mode) .publisher,
  body:not(.visitor):not(.night-mode) .post,
  body:not(.visitor):not(.night-mode) .isee-empty-state {
    border-radius: var(--isee-radius-lg);
  }

  body:not(.visitor):not(.night-mode) .sg-offcanvas-mainbar>.row>.col-lg-8>.card:has(.stories-wrapper) {
    min-height: 214px;
  }

  body:not(.visitor):not(.night-mode) .stories-wrapper {
    min-height: 190px;
    padding: 14px 20px 22px !important;
  }

  body:not(.visitor):not(.night-mode) #stories {
    display: flex;
    gap: 12px;
    overflow-x: auto;
  }

  body:not(.visitor):not(.night-mode) #stories .add-story {
    flex: 0 0 108px;
    height: 160px;
    width: 108px;
  }

  body:not(.visitor):not(.night-mode) #stories .add-story .img {
    border-radius: var(--isee-radius-lg);
  }

  body:not(.visitor):not(.night-mode) #stories .add-story .add {
    bottom: -17px;
    height: 38px;
    width: 38px;
  }

  body:not(.visitor):not(.night-mode) .posts-filter .countries-filter,
  body:not(.visitor):not(.night-mode) .posts-filter .btn-group .btn,
  body:not(.visitor):not(.night-mode) .footer-bottom-bar-links>.link>a {
    border-radius: var(--isee-radius-lg);
  }
}

/* ISEECLAN_VI_MANDATORY: every product-owned visual primitive resolves here. */
html,
body,
button,
input,
select,
textarea,
.tooltip,
.popover,
.dropdown-menu,
.modal-content,
.ql-container,
.ql-toolbar,
.ql-toolbar button,
.ql-picker,
.ql-tooltip {
  font-family: var(--isee-font-sans);
}

code,
kbd,
pre,
samp {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

body:not(.night-mode) h1,
body:not(.night-mode) h2,
body:not(.night-mode) h3,
body:not(.night-mode) h4,
body:not(.night-mode) h5,
body:not(.night-mode) h6,
body:not(.night-mode) .form-label,
body:not(.night-mode) .card-title,
body:not(.night-mode) .modal-title {
  color: var(--isee-color-text);
}

body:not(.night-mode) .text-muted,
body:not(.night-mode) .form-text,
body:not(.night-mode) .help-block {
  color: var(--isee-color-muted) !important;
}

::selection {
  background: var(--isee-color-primary-soft);
  color: var(--isee-color-text);
}

.header-icon,
.header-icon *,
.action-icon,
.action-icon * {
  color: var(--isee-color-text) !important;
  fill: currentColor !important;
}

.header-icon.active,
.header-icon.active *,
.main-icon,
.main-icon *,
.x-form-tools {
  color: var(--isee-color-primary) !important;
  fill: currentColor !important;
}

.header-icon svg [fill="none"],
.main-icon svg [fill="none"],
.action-icon svg [fill="none"] {
  fill: none !important;
}

.header-icon svg [stroke]:not([stroke="none"]),
.main-icon svg [stroke]:not([stroke="none"]),
.action-icon svg [stroke]:not([stroke="none"]) {
  stroke: currentColor !important;
}

.header-icon svg [stroke="none"],
.main-icon svg [stroke="none"],
.action-icon svg [stroke="none"] {
  stroke: none !important;
}

body:not(.night-mode) .main-header .header-icon,
body:not(.night-mode) .main-header .header-icon *,
body:not(.night-mode) .main-header .action-icon,
body:not(.night-mode) .main-header .action-icon * {
  color: var(--isee-color-text) !important;
  fill: currentColor !important;
}

body:not(.night-mode) .main-header .header-icon.active,
body:not(.night-mode) .main-header .header-icon.active * {
  color: var(--isee-color-primary) !important;
}

.btn {
  border-radius: var(--isee-radius-md);
  font-family: var(--isee-font-sans);
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, opacity 160ms ease;
}

.btn-primary,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.btn-primary:disabled,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
  background: var(--isee-color-primary) !important;
  border-color: var(--isee-color-primary) !important;
  color: #fff !important;
}

.btn-primary:hover,
.btn-primary:not(:disabled):not(.disabled):active:hover,
.show > .btn-primary.dropdown-toggle:hover {
  background: var(--isee-color-primary-hover) !important;
  border-color: var(--isee-color-primary-hover) !important;
}

.btn-outline-primary,
.btn-outline-primary.disabled,
.btn-outline-primary:disabled {
  background: transparent !important;
  border-color: var(--isee-color-primary) !important;
  color: var(--isee-color-primary) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:active,
.btn-outline-primary.active,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.show > .btn-outline-primary.dropdown-toggle {
  background: var(--isee-color-primary) !important;
  border-color: var(--isee-color-primary) !important;
  color: #fff !important;
}

.btn-secondary,
.btn-light {
  background: var(--isee-color-primary-soft) !important;
  border-color: var(--isee-color-border) !important;
  color: var(--isee-color-text) !important;
}

.btn-secondary:hover,
.btn-light:hover,
.btn-secondary:active,
.btn-light:active,
.btn-secondary.active,
.btn-light.active {
  background: var(--isee-color-surface) !important;
  border-color: var(--isee-color-primary) !important;
  color: var(--isee-color-primary) !important;
}

.btn-success,
.btn-info {
  background: var(--isee-color-primary) !important;
  border-color: var(--isee-color-primary) !important;
  color: #fff !important;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active,
.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info.active {
  background: var(--isee-color-primary-hover) !important;
  border-color: var(--isee-color-primary-hover) !important;
  color: #fff !important;
}

.btn-warning {
  background: var(--isee-color-accent) !important;
  border-color: var(--isee-color-accent) !important;
  color: var(--isee-color-text) !important;
}

.btn-dark {
  background: var(--isee-color-text) !important;
  border-color: var(--isee-color-text) !important;
  color: #fff !important;
}

.btn:not([class*="btn-"]),
.btn-chat {
  background: var(--isee-color-surface) !important;
  border-color: var(--isee-color-border) !important;
  border-style: solid !important;
  border-width: 1px !important;
  color: var(--isee-color-text) !important;
}

.post-time .btn.dropdown-toggle {
  background: transparent !important;
  border-color: transparent !important;
  border-width: 0 !important;
  color: var(--isee-color-muted) !important;
}

.posts-filter .btn-group .btn:not([class*="btn-"]) {
  border: 1px solid var(--isee-color-border) !important;
}

.btn-link,
.page-link {
  color: var(--isee-color-primary);
}

.btn-link:hover,
.page-link:hover {
  color: var(--isee-color-primary-hover);
}

.btn:disabled,
.btn.disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

.btn:focus-visible,
a:focus-visible,
[role="button"]:focus-visible,
.form-check-input:focus-visible,
.switch input:focus-visible + .slider {
  outline: 3px solid rgba(208, 146, 47, 0.42) !important;
  outline-offset: 2px;
}

body:not(.night-mode) .form-control,
body:not(.night-mode) .form-select {
  background-color: var(--isee-color-surface);
  border-color: var(--isee-color-border);
  color: var(--isee-color-text);
}

.form-control::placeholder,
.form-select::placeholder {
  color: var(--isee-color-muted);
  opacity: 0.86;
}

.form-control:focus,
.form-select:focus {
  background-color: var(--isee-color-surface);
  border-color: var(--isee-color-accent);
  box-shadow: 0 0 0 0.2rem rgba(208, 146, 47, 0.2);
  color: var(--isee-color-text);
}

input[type="checkbox"],
input[type="radio"],
input[type="range"] {
  accent-color: var(--isee-color-primary);
}

.form-check-input:checked,
.form-check-input[type="checkbox"]:indeterminate {
  background-color: var(--isee-color-primary) !important;
  border-color: var(--isee-color-primary) !important;
}

.form-check-input:focus {
  border-color: var(--isee-color-accent);
  box-shadow: 0 0 0 0.2rem rgba(208, 146, 47, 0.2);
}

.form-control[type="file"]::file-selector-button {
  background: var(--isee-color-primary-soft);
  border-color: var(--isee-color-border);
  color: var(--isee-color-text);
  font-family: var(--isee-font-sans);
}

.form-control[type="file"]::file-selector-button:hover {
  background: var(--isee-color-primary);
  color: #fff;
}

.form-range::-webkit-slider-thumb,
.form-range::-moz-range-thumb {
  background: var(--isee-color-primary);
}

.switch input:checked + .slider,
.switch input:focus + .slider {
  background-color: var(--isee-color-primary) !important;
}

.switch input:focus + .slider {
  box-shadow: 0 0 0 0.2rem rgba(208, 146, 47, 0.2);
}

.dropdown-item.active,
.dropdown-item:active,
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link,
.list-group-item.active,
.page-item.active .page-link,
.progress-bar,
.bg-primary,
.bg-teal,
.bg-gradient-teal {
  background: var(--isee-color-primary) !important;
  border-color: var(--isee-color-primary) !important;
  color: #fff !important;
}

.badge.bg-primary,
.badge.text-bg-primary,
.badge-primary {
  background: var(--isee-color-primary) !important;
  color: #fff !important;
}

.text-primary,
.text-active {
  color: var(--isee-color-primary) !important;
}

.post.highlighted {
  border-color: var(--isee-color-accent);
  box-shadow: inset 0 0 0 1px var(--isee-color-accent);
}

.post-top-alert {
  background: repeating-linear-gradient(
    45deg,
    var(--isee-color-primary),
    var(--isee-color-primary) 10px,
    var(--isee-color-primary-hover) 10px,
    var(--isee-color-primary-hover) 20px
  );
  filter: none;
}

.page-header.bank-transfer {
  background: var(--isee-color-primary);
}

.text-gradient {
  background: linear-gradient(90deg, var(--isee-color-primary) 0%, var(--isee-color-primary) 62%, var(--isee-color-accent) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.tooltip-inner {
  background: var(--isee-color-text);
  color: var(--isee-color-surface);
}

body.night-mode .btn-primary,
body.night-mode .btn-primary:focus,
body.night-mode .btn-primary:hover,
body.night-mode .btn-primary:active,
body.night-mode .btn-primary.active {
  color: var(--isee-color-background) !important;
}

body.night-mode .btn-outline-primary:hover,
body.night-mode .btn-outline-primary:active,
body.night-mode .btn-outline-primary.active {
  color: var(--isee-color-background) !important;
}

body.night-mode .btn-secondary,
body.night-mode .btn-light,
body.night-mode .btn:not([class*="btn-"]),
body.night-mode .btn-chat {
  background: var(--isee-color-surface) !important;
  border-color: var(--isee-color-border) !important;
  color: var(--isee-color-text) !important;
}

body.night-mode .btn-success,
body.night-mode .btn-info {
  background: var(--isee-color-primary) !important;
  border-color: var(--isee-color-primary) !important;
  color: var(--isee-color-background) !important;
}

/* Packages: VI-aligned membership comparison while preserving native package logic. */
.packages-page-header {
  background: var(--isee-color-primary);
  color: #fff;
  padding: 48px 20px 72px;
}

.packages-page-header::before,
.packages-page-header::after {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  position: absolute;
}

.packages-page-header::before {
  height: 220px;
  right: -70px;
  top: -105px;
  width: 220px;
}

.packages-page-header::after {
  bottom: -120px;
  height: 190px;
  left: -55px;
  width: 190px;
}

.packages-page-header__inner {
  align-items: center;
  display: flex;
  gap: 22px;
  justify-content: center;
  margin: 0 auto;
  max-width: 760px;
  position: relative;
  text-align: left;
  z-index: 1;
}

.packages-page-header__mark {
  flex: 0 0 auto;
  height: 64px;
  width: 64px;
}

.packages-page-header__copy h1 {
  color: #fff !important;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  margin: 4px 0 8px;
}

.packages-page-header__copy p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  margin: 0;
}

.packages-page-header__eyebrow {
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.packages-page {
  margin-top: -36px;
  position: relative;
  z-index: 2;
}

.packages-panel {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.packages-panel > .card-body {
  padding: 0;
}

.packages-grid {
  margin-left: -10px;
  margin-right: -10px;
  row-gap: 20px;
}

.packages-grid > [class*="col-"] {
  padding-left: 10px;
  padding-right: 10px;
}

.package-plan {
  border: 1px solid var(--isee-color-border);
  border-radius: var(--isee-radius-lg);
  box-shadow: var(--isee-shadow-card);
  display: flex;
  height: 100%;
  overflow: hidden;
  position: relative;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  width: 100%;
}

.package-plan:hover {
  border-color: var(--isee-color-primary);
  box-shadow: 0 18px 42px rgba(24, 72, 65, 0.12);
  transform: translateY(-2px);
}

.package-plan--featured {
  border-color: var(--isee-color-accent);
}

.package-plan__badge {
  background: var(--isee-color-accent);
  border-radius: 999px;
  color: var(--isee-color-text);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  position: absolute;
  right: 16px;
  top: 14px;
}

.package-plan__header {
  background: var(--isee-color-primary-soft);
  border-bottom: 1px solid var(--isee-color-border);
  min-height: 116px;
  padding: 22px 20px 18px;
}

.package-plan--featured .package-plan__header {
  background: var(--isee-color-accent-soft);
}

.package-plan__identity {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.package-plan__label {
  color: var(--isee-color-muted);
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.package-plan__identity h2 {
  font-size: 24px;
  line-height: 1.2;
  margin: 0;
}

.package-plan__icon {
  background: var(--isee-color-surface);
  border: 1px solid var(--isee-color-border);
  border-radius: var(--isee-radius-md);
  flex: 0 0 auto;
  height: 52px;
  object-fit: cover;
  padding: 5px;
  width: 52px;
}

.package-plan__price {
  background: var(--isee-color-surface);
  padding: 18px 20px 16px;
  text-align: left;
}

.package-plan__price .price {
  color: var(--isee-color-text);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
}

.package-plan__period {
  color: var(--isee-color-muted);
  font-size: 13px;
  margin-top: 4px;
}

.package-plan__benefits {
  flex: 1 1 auto;
}

.package-plan__benefits > .list-group-item,
.package-plan__benefits .packages-permissions .list-group-item {
  align-items: center;
  background: var(--isee-color-surface);
  border-color: var(--isee-color-border);
  color: var(--isee-color-text);
  display: flex;
  font-size: 13px;
  min-height: 46px;
  padding: 11px 20px;
}

.package-plan__benefits .svg-container {
  flex: 0 0 auto;
}

.package-plan__permissions-control {
  padding: 0 !important;
}

.package-plan__permissions-button {
  align-items: center;
  background: var(--isee-color-primary-soft);
  border: 0;
  color: var(--isee-color-primary);
  display: flex;
  font: inherit;
  font-weight: 700;
  min-height: 48px;
  padding: 11px 20px;
  text-align: left;
  width: 100%;
}

.package-plan__permissions-button > span {
  font-size: 20px;
  font-weight: 400;
  margin-left: auto;
  transition: transform 160ms ease;
}

.package-plan__permissions-button[aria-expanded="true"] > span {
  transform: rotate(45deg);
}

.package-plan__permissions-button:focus-visible {
  box-shadow: inset 0 0 0 2px var(--isee-color-accent);
  outline: 0;
}

.packages-permissions {
  border: 0 !important;
  padding: 0 !important;
}

.packages-permissions > .list-group {
  margin: 0;
}

.package-plan__footer {
  background: var(--isee-color-surface);
  border-top: 1px solid var(--isee-color-border);
  margin-top: auto;
  padding: 16px 20px 20px;
}

.package-plan__footer .btn {
  min-height: 44px;
}

body.night-mode .packages-page-header {
  background: #0d5e59;
}

body.night-mode .package-plan,
body.night-mode .package-plan__header,
body.night-mode .package-plan__price,
body.night-mode .package-plan__benefits > .list-group-item,
body.night-mode .package-plan__benefits .packages-permissions .list-group-item,
body.night-mode .package-plan__footer {
  border-color: var(--isee-color-border);
}

@media (max-width: 767.98px) {
  .packages-page-header {
    padding: 34px 18px 58px;
  }

  .packages-page-header__inner {
    align-items: flex-start;
    gap: 14px;
  }

  .packages-page-header__mark {
    height: 46px;
    width: 46px;
  }

  .packages-page-header__copy h1 {
    font-size: 28px;
  }

  .packages-page-header__copy p {
    font-size: 15px;
  }

  .packages-page {
    margin-top: -26px;
  }

  .packages-panel > .card-body {
    padding: 0 4px;
  }
}

body.night-mode .form-control,
body.night-mode .form-select {
  background-color: var(--isee-color-surface);
  border-color: var(--isee-color-border);
  color: var(--isee-color-text);
}

body.night-mode .header-icon,
body.night-mode .header-icon *,
body.night-mode .action-icon,
body.night-mode .action-icon * {
  color: var(--isee-color-text) !important;
  fill: currentColor !important;
}

body.night-mode .header-icon.active,
body.night-mode .header-icon.active *,
body.night-mode .main-icon,
body.night-mode .main-icon *,
body.night-mode .x-form-tools {
  color: var(--isee-color-primary) !important;
  fill: currentColor !important;
}

body.night-mode {
  background: var(--isee-color-background);
  color: var(--isee-color-text);
}

body.night-mode .main-header,
body.night-mode .card,
body.night-mode .dropdown-menu,
body.night-mode .modal-content,
body.night-mode .publisher,
body.night-mode .post {
  background-color: var(--isee-color-surface) !important;
  border-color: var(--isee-color-border) !important;
  color: var(--isee-color-text);
}

body.night-mode .text-muted,
body.night-mode .form-text,
body.night-mode .help-block {
  color: var(--isee-color-muted) !important;
}

body.night-mode:not(.visitor) .main-header .search-wrapper .form-control {
  background: var(--isee-color-surface);
  border-color: var(--isee-color-border);
  color: var(--isee-color-text);
}

body.night-mode:not(.visitor) .main-header .search-wrapper .form-control::placeholder {
  color: var(--isee-color-muted);
}

body.night-mode .CodeMirror,
body.night-mode .CodeMirror-scroll,
body.night-mode .CodeMirror-gutters {
  background: var(--isee-color-surface) !important;
  color: var(--isee-color-text) !important;
}

body.night-mode .CodeMirror {
  border: 1px solid var(--isee-color-border);
}

body.night-mode .CodeMirror-gutters {
  border-color: var(--isee-color-border) !important;
}

body.night-mode .CodeMirror-linenumber {
  color: var(--isee-color-muted) !important;
}

body.night-mode .CodeMirror-cursor {
  border-left-color: var(--isee-color-accent) !important;
}

body.night-mode .CodeMirror-selected,
body.night-mode .CodeMirror-focused .CodeMirror-selected {
  background: rgba(94, 210, 194, 0.2) !important;
}

/* Blogs directory: editorial desktop rhythm inspired by classic portal layouts. */
.isee-blogs-directory .blogs-wrapper {
  container-type: inline-size;
  min-width: 0;
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.blog-categories > li {
  float: none;
  margin: 0;
}

.blog-categories .blog-category {
  background: var(--isee-color-primary-soft);
  border: 1px solid var(--isee-color-border);
  border-radius: var(--isee-radius-md);
  color: var(--isee-color-primary);
  line-height: 20px;
  padding: 6px 12px;
  text-transform: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.blog-categories .blog-category:hover {
  background: var(--isee-color-primary);
  border-color: var(--isee-color-primary);
  color: var(--isee-color-surface);
}

.blog-categories .blog-category:focus-visible {
  border-color: var(--isee-color-accent);
  box-shadow: 0 0 0 3px var(--isee-color-accent-soft);
  outline: 2px solid transparent;
}

body.night-mode .blog-categories .blog-category {
  background: var(--isee-color-primary-soft);
  border-color: var(--isee-color-border);
  color: var(--isee-color-primary);
}

body.night-mode .blog-categories .blog-category:hover {
  background: var(--isee-color-primary);
  border-color: var(--isee-color-primary);
  color: var(--isee-color-background);
}

.isee-blog-categories__toggle {
  display: none;
}

.isee-blogs-directory .isee-blogs-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.isee-blogs-directory .isee-blogs-grid > div {
  flex: none;
  max-width: none;
  min-width: 0;
  padding: 0;
  width: auto;
}

.isee-blogs-directory .isee-blogs-grid > div:first-child {
  grid-column: 1 / -1;
}

.isee-blogs-directory .blog-container {
  background: var(--isee-color-surface);
  border: 1px solid var(--isee-color-border);
  border-radius: var(--isee-radius-lg);
  box-shadow: none;
  color: var(--isee-color-text);
  display: flex;
  flex-direction: column;
  height: 380px;
  margin: 0;
}

.isee-blogs-directory .blog-container.primary {
  background: #0c756f;
  border-color: #0c756f;
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(0, 42%);
  height: 410px;
}

.isee-blogs-directory .blog-image {
  background: var(--isee-color-primary-soft);
  border-bottom: 1px solid var(--isee-color-border);
  flex: 0 0 auto;
  height: 148px;
  min-height: 0;
  overflow: hidden;
}

.isee-blogs-directory .blog-container.primary .blog-image {
  border-bottom: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  display: block;
  height: 100%;
  max-height: none;
  width: 100%;
}

.isee-blogs-directory .blog-image img,
.isee-blogs-directory .blog-container.primary .blog-image img {
  display: block;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 180ms ease;
  width: 100%;
}

.isee-blogs-directory .blog-content,
.isee-blogs-directory .blog-container.primary .blog-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  padding: 16px;
  width: auto;
}

.isee-blogs-directory .blog-container.primary .blog-content {
  background: #0c756f;
  color: #fff;
  padding: 24px;
}

.isee-blogs-directory .blog-content h3,
.isee-blogs-directory .blog-container.primary .blog-content h3 {
  color: inherit;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0;
  max-height: 47px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: none;
  transition: color 160ms ease;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.isee-blogs-directory .blog-container.primary .blog-content h3 {
  font-size: 28px;
  line-height: 1.18;
  max-height: 132px;
  -webkit-line-clamp: 4;
}

.isee-blogs-directory .blog-content .text,
.isee-blogs-directory .blog-container.primary .blog-content .text {
  color: var(--isee-color-muted);
  display: -webkit-box;
  font-size: 13px;
  line-height: 1.55;
  margin: 10px 0 12px;
  max-height: 61px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.isee-blogs-directory .blog-container.primary .blog-content .text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.55;
  margin-top: 16px;
  max-height: 140px;
  -webkit-line-clamp: 6;
}

.isee-blogs-directory .blog-content > div:last-child {
  margin-top: auto;
}

.isee-blogs-directory .blog-container.primary .text-link,
.isee-blogs-directory .blog-container.primary .post-time {
  color: #fff;
}

.isee-blogs-directory .blog-more {
  display: none;
}

.isee-blogs-directory .blog-container:hover .blog-image img {
  transform: scale(1.025);
}

.isee-blogs-directory .blog-container:not(.primary):hover h3 {
  color: var(--isee-color-primary-hover);
}

.isee-blogs-directory .blog-container:focus-visible {
  outline: 3px solid var(--isee-color-accent);
  outline-offset: 3px;
}

.isee-blogs-directory .see-more {
  margin: 24px 0 0;
}

@media (min-width: 1200px) {
  .isee-blogs-directory .isee-blogs-grid {
    border-left: 1px solid var(--isee-color-border);
    border-top: 1px solid var(--isee-color-border);
    gap: 0;
    grid-auto-rows: 180px;
    grid-auto-rows: 21.428571cqw;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .isee-blogs-directory .isee-blogs-grid > div {
    border-bottom: 1px solid var(--isee-color-border);
    border-right: 1px solid var(--isee-color-border);
    padding: 16px;
  }

  .isee-blogs-directory .isee-blogs-grid > div:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }

  .isee-blogs-directory .blog-container,
  .isee-blogs-directory .blog-container.primary {
    border: 0;
    border-radius: 0;
    height: 100%;
  }

  .isee-blogs-directory .blog-container.primary .blog-content {
    padding: 16px;
  }

  .isee-blogs-directory .blog-image {
    height: 62px;
  }

  .isee-blogs-directory .blog-content {
    overflow: hidden;
    padding: 5px 8px;
  }

  .isee-blogs-directory .blog-container:not(.primary) .blog-content h3 {
    font-size: 14px;
    line-height: 1.25;
    max-height: 35px;
  }

  .isee-blogs-directory .blog-container:not(.primary) .blog-content .text {
    display: none;
  }

  .isee-blogs-directory .blog-container:not(.primary) .post-meta {
    min-width: 0;
    overflow: hidden;
  }

  .isee-blogs-directory .blog-container:not(.primary) .text-link {
    display: block;
    font-size: 12px;
    line-height: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .isee-blogs-directory .blog-container:not(.primary) .post-time {
    font-size: 10px;
    line-height: 13px;
  }

  .isee-blogs-directory .blog-container.primary .blog-content h3 {
    font-size: 24px;
    max-height: 85px;
    -webkit-line-clamp: 3;
  }

  .isee-blogs-directory .blog-container.primary .blog-content .text {
    font-size: 13px;
    line-height: 1.45;
    margin: 10px 0 8px;
    max-height: 76px;
    -webkit-line-clamp: 4;
  }

  .isee-blogs-directory .isee-blogs-grid > div:nth-child(3),
  .isee-blogs-directory .isee-blogs-grid > div:nth-child(4n + 1):not(:first-child) {
    border-right: 0;
  }
}

@media (max-width: 767.98px) {
  .isee-blogs-directory .blog-categories {
    display: grid;
    gap: 0;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .isee-blogs-directory .blog-categories > li {
    min-width: 0;
  }

  .isee-blogs-directory .blog-categories:not(.is-expanded) > li:nth-child(n + 10):not(.isee-blog-categories__toggle) {
    display: none;
  }

  body .isee-blogs-directory .blog-categories .blog-category {
    background: transparent;
    border: 0;
    border-radius: var(--isee-radius-sm);
    color: var(--isee-color-text);
    display: block;
    font-size: 15px;
    font-weight: 500;
    line-height: 44px;
    min-height: 44px;
    overflow: hidden;
    padding: 0 6px;
    text-align: start;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
  }

  body .isee-blogs-directory .blog-categories .blog-category:hover,
  body .isee-blogs-directory .blog-categories .blog-category:focus-visible {
    background: var(--isee-color-primary-soft);
    border-color: transparent;
    color: var(--isee-color-primary);
  }

  .isee-blogs-directory .isee-blog-categories__toggle {
    align-items: center;
    display: flex;
    grid-column: 5;
    justify-content: center;
  }

  .isee-blog-categories__toggle button {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: var(--isee-radius-sm);
    color: var(--isee-color-muted);
    display: flex;
    justify-content: center;
    min-height: 44px;
    padding: 0;
    width: 100%;
  }

  .isee-blog-categories__toggle button:hover {
    background: var(--isee-color-primary-soft);
    color: var(--isee-color-primary);
  }

  .isee-blog-categories__toggle button:focus-visible {
    box-shadow: 0 0 0 3px var(--isee-color-accent-soft);
    outline: 2px solid var(--isee-color-accent);
    outline-offset: -2px;
  }

  .isee-blog-categories__toggle i {
    transition: transform 160ms ease;
  }

  .blog-categories.is-expanded .isee-blog-categories__toggle i {
    transform: rotate(180deg);
  }

  .isee-blogs-directory .isee-blogs-grid {
    background: var(--isee-color-surface);
    border: 1px solid var(--isee-color-border);
    border-radius: var(--isee-radius-lg);
    gap: 0;
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
  }

  .isee-blogs-directory .isee-blogs-grid > div {
    border-bottom: 1px solid var(--isee-color-border);
  }

  .isee-blogs-directory .isee-blogs-grid > div:first-child {
    grid-column: auto;
  }

  .isee-blogs-directory .isee-blogs-grid > div:last-child {
    border-bottom: 0;
  }

  .isee-blogs-directory .blog-container,
  .isee-blogs-directory .blog-container.primary {
    align-items: stretch;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--isee-color-text);
    display: grid;
    gap: 14px;
    grid-template-areas: "content image";
    grid-template-columns: minmax(0, 1fr) clamp(116px, 28vw, 160px);
    height: auto;
    min-height: 148px;
    padding: 14px;
  }

  .isee-blogs-directory .blog-container:hover,
  .isee-blogs-directory .blog-container:active {
    background: var(--isee-color-primary-soft);
  }

  .isee-blogs-directory .blog-image,
  .isee-blogs-directory .blog-container.primary .blog-image {
    align-self: center;
    aspect-ratio: 4 / 3;
    border: 0;
    border-right: 0;
    border-radius: var(--isee-radius-md);
    grid-area: image;
    height: auto;
    width: 100%;
  }

  .isee-blogs-directory .blog-content,
  .isee-blogs-directory .blog-container.primary .blog-content {
    background: transparent;
    color: var(--isee-color-text);
    grid-area: content;
    min-width: 0;
    padding: 0;
  }

  .isee-blogs-directory .blog-content h3,
  .isee-blogs-directory .blog-container.primary .blog-content h3 {
    color: var(--isee-color-text);
    font-size: clamp(17px, 2.8vw, 21px);
    line-height: 1.35;
    margin: 0;
    max-height: 57px;
    -webkit-line-clamp: 2;
  }

  .isee-blogs-directory .blog-content .text,
  .isee-blogs-directory .blog-container.primary .blog-content .text {
    display: none;
  }

  .isee-blogs-directory .blog-content > div:last-child {
    min-width: 0;
  }

  .isee-blogs-directory .blog-content .post-avatar {
    display: none;
  }

  .isee-blogs-directory .blog-content .post-meta {
    align-items: center;
    display: flex;
    float: none;
    gap: 10px;
    min-width: 0;
  }

  .isee-blogs-directory .blog-content .text-link,
  .isee-blogs-directory .blog-container.primary .text-link {
    color: var(--isee-color-muted);
    display: block;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .isee-blogs-directory .blog-content .post-time,
  .isee-blogs-directory .blog-container.primary .post-time {
    color: var(--isee-color-muted);
    flex: 0 0 auto;
    font-size: 12px;
    white-space: nowrap;
  }

  .isee-blogs-directory .blog-container:focus-visible {
    outline-offset: -3px;
    position: relative;
    z-index: 1;
  }
}

@media (min-width: 520px) and (max-width: 767.98px) {
  .isee-blogs-directory .blog-categories {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .isee-blogs-directory .blog-categories:not(.is-expanded) > li:nth-child(10):not(.isee-blog-categories__toggle),
  .isee-blogs-directory .blog-categories:not(.is-expanded) > li:nth-child(11):not(.isee-blog-categories__toggle) {
    display: list-item;
  }

  .isee-blogs-directory .isee-blog-categories__toggle {
    grid-column: 6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .isee-blog-categories__toggle i,
  .isee-blogs-directory .blog-image img,
  .isee-blogs-directory .blog-content h3 {
    transition: none;
  }
}

/* Compact social sign-in: keep the first five providers on one row and reveal overflow in place. */
.isee-social-login {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 5px;
}

.isee-social-login__item,
.isee-social-login__more {
  align-items: center;
  background: var(--isee-color-surface);
  border: 1px solid var(--isee-color-border);
  border-radius: var(--isee-radius-md);
  color: var(--isee-color-text);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  margin: 0;
}

.isee-social-login__item {
  flex: 0 1 48px;
  min-width: 44px;
  padding: 9px;
}

.isee-social-login__item > span,
.isee-social-login__item svg,
.isee-social-login__item img {
  display: block;
  flex: 0 0 auto;
}

.isee-social-login__more {
  cursor: pointer;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  gap: 5px;
  min-width: 58px;
  padding: 0 9px;
  user-select: none;
}

.isee-social-login__more > i {
  font-size: 10px;
  transition: transform 160ms ease;
}

.isee-social-login:not(:has(> .isee-social-login__item:nth-of-type(6))) > .isee-social-login__more {
  display: none;
}

.isee-social-login:not(:has(> .isee-social-login__more > input:checked)) > .isee-social-login__item:nth-of-type(n + 6) {
  display: none;
}

.isee-social-login__more:has(input:checked) > i {
  transform: rotate(180deg);
}

.isee-social-login:has(> .isee-social-login__more > input:checked) {
  gap: 6px;
}

.isee-social-login:has(> .isee-social-login__more > input:checked) > .isee-social-login__item {
  flex-basis: 44px;
}

.isee-social-login__more:has(input:checked) {
  gap: 0;
  min-width: 44px;
  padding: 0;
}

.isee-social-login__more:has(input:checked) > span {
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  width: 0;
}

.isee-social-login__item:hover,
.isee-social-login__more:hover {
  background: var(--isee-color-primary-soft);
  border-color: var(--isee-color-primary);
  color: var(--isee-color-primary);
}

.isee-social-login__item:focus-visible,
.isee-social-login__more:has(input:focus-visible) {
  border-color: var(--isee-color-accent);
  box-shadow: 0 0 0 0.2rem var(--isee-color-accent-soft);
  outline: 2px solid transparent;
}

@media (max-width: 399.98px) {
  .isee-social-login {
    gap: 4px;
  }

  .isee-social-login:has(> .isee-social-login__more > input:checked) {
    gap: 4px;
  }

  .isee-social-login__item {
    flex-basis: 40px;
    min-width: 40px;
  }

  .isee-social-login__more {
    min-width: 52px;
    padding-inline: 7px;
  }

  .isee-social-login:has(> .isee-social-login__more > input:checked) > .isee-social-login__item {
    flex-basis: 32px;
    min-width: 32px;
    padding-inline: 4px;
  }

  .isee-social-login__more:has(input:checked) {
    min-width: 32px;
  }
}

/* Funding directory */
.isee-funding-grid.row {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.isee-funding-card-item {
  min-width: 0;
}

.isee-funding-card {
  background: var(--isee-color-surface);
  border: 1px solid var(--isee-color-border);
  border-radius: var(--isee-radius-lg);
  box-shadow: var(--isee-shadow-card);
  color: var(--isee-color-text);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.isee-funding-card:hover {
  border-color: rgba(12, 117, 111, 0.36);
  box-shadow: 0 18px 42px rgba(24, 72, 65, 0.13);
  color: var(--isee-color-text);
  text-decoration: none;
  transform: translateY(-2px);
}

.isee-funding-card:focus-visible {
  border-color: var(--isee-color-accent);
  box-shadow: 0 0 0 3px rgba(208, 146, 47, 0.22);
  outline: 2px solid transparent;
}

.isee-funding-card__image {
  aspect-ratio: 1 / 1;
  background: var(--isee-color-primary-soft);
  overflow: hidden;
}

.isee-funding-card__image img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
  width: 100%;
}

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

.isee-funding-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.isee-funding-card__body h3 {
  display: -webkit-box;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 16px;
  min-height: 76px;
  overflow: hidden;
  text-transform: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.isee-funding-card__author {
  align-items: center;
  color: var(--isee-color-muted);
  display: flex;
  font-size: 14px;
  gap: 8px;
  margin-bottom: 20px;
  min-width: 0;
}

.isee-funding-card__author > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.isee-funding-card__avatar {
  background-color: var(--isee-color-primary-soft);
  background-position: center;
  background-size: cover;
  border: 1px solid var(--isee-color-border);
  border-radius: 50%;
  flex: 0 0 28px;
  height: 28px;
}

.isee-funding-card__metrics,
.isee-funding-card__footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.isee-funding-card__metrics {
  gap: 12px;
  margin-top: auto;
}

.isee-funding-card__metrics strong {
  color: var(--isee-color-primary);
  font-size: 19px;
}

.isee-funding-card__metrics span,
.isee-funding-card__footer {
  color: var(--isee-color-muted);
  font-size: 13px;
}

.isee-funding-card__progress {
  background: var(--isee-color-border);
  height: 8px;
  margin: 10px 0 14px;
  overflow: hidden;
}

.isee-funding-card__progress > span {
  background: var(--isee-color-primary);
  display: block;
  height: 100%;
  min-width: 2px;
}

.isee-funding-card__footer {
  gap: 12px;
}

.isee-funding-card__subscription {
  padding: 24px;
}

body.night-mode .isee-funding-card:hover {
  border-color: rgba(94, 210, 194, 0.46);
  box-shadow: none;
}

@media (min-width: 1400px) {
  .isee-funding-card__body h3 {
    min-height: 101px;
    -webkit-line-clamp: 4;
  }
}

@media (max-width: 575.98px) {
  .isee-funding-grid.row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .isee-funding-card-item {
    padding-inline: 0;
  }

  .isee-funding-card__metrics {
    gap: 4px;
  }

  .isee-funding-card__metrics strong {
    font-size: 16px;
  }

  .isee-funding-card__image {
    aspect-ratio: 16 / 10;
  }
}

/* Home feed reference layout: keep the desktop side rail and the mobile single column. */
body:not(.visitor) .isee-newsfeed-home .isee-newsfeed-secondary {
  display: none;
}

@media (max-width: 991.98px) {
  body:not(.visitor) .isee-newsfeed-home .isee-newsfeed-aside {
    display: none;
  }
}

body:not(.visitor) .isee-newsfeed-home .publisher,
body:not(.visitor) .isee-newsfeed-home .post,
body:not(.visitor) .isee-feed-shortcuts {
  border-radius: 24px;
}

body:not(.visitor) .isee-newsfeed-home .publisher {
  margin-bottom: 24px;
}

body:not(.visitor) .isee-newsfeed-home .isee-newsfeed-center > .alert {
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(24, 72, 65, 0.06);
  padding: 18px 20px;
}

body:not(.visitor) .isee-newsfeed-home .daytime_message {
  color: var(--isee-color-text);
}

/* Homepage filters: a compact VI toolbar instead of the upstream divider row. */
.isee-newsfeed-center > .posts-filter {
  align-items: center;
  background: linear-gradient(135deg, var(--isee-color-surface) 0%, rgba(232, 244, 241, 0.72) 100%);
  border: 1px solid rgba(12, 117, 111, 0.14);
  border-inline-start: 3px solid var(--isee-color-accent);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(24, 72, 65, 0.06);
  display: flex;
  gap: 10px;
  justify-content: space-between;
  line-height: normal;
  margin-bottom: 16px;
  min-height: 52px;
  padding: 7px 8px;
}

.isee-newsfeed-center > .posts-filter > .float-end {
  align-items: center;
  display: flex;
  float: none !important;
  gap: 8px;
  margin-inline-start: auto;
}

body:not(.night-mode) .isee-newsfeed-center > .posts-filter .countries-filter,
body:not(.night-mode) .isee-newsfeed-center > .posts-filter .btn-group .btn {
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(12, 117, 111, 0.16) !important;
  border-radius: 10px;
  box-shadow: none !important;
  color: var(--isee-color-text);
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 6px;
  justify-content: center;
  min-height: 36px;
  padding: 0 11px !important;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.isee-newsfeed-center > .posts-filter .countries-filter:hover,
.isee-newsfeed-center > .posts-filter .countries-filter.show,
.isee-newsfeed-center > .posts-filter .btn-group .btn:hover,
.isee-newsfeed-center > .posts-filter .btn-group .btn.show {
  background: var(--isee-color-primary-soft);
  border-color: rgba(12, 117, 111, 0.34) !important;
  color: var(--isee-color-primary-hover);
}

.isee-newsfeed-center > .posts-filter .countries-filter .fa {
  color: var(--isee-color-primary);
}

body.night-mode .isee-newsfeed-center > .posts-filter {
  background: linear-gradient(135deg, var(--isee-color-surface) 0%, rgba(94, 210, 194, 0.07) 100%);
  border-color: var(--isee-color-border);
  box-shadow: none;
}

body.night-mode .isee-newsfeed-center > .posts-filter .countries-filter,
body.night-mode .isee-newsfeed-center > .posts-filter .btn-group .btn {
  background: var(--isee-color-primary-soft);
  border: 1px solid var(--isee-color-border) !important;
  color: var(--isee-color-text) !important;
}

body.night-mode .isee-newsfeed-center > .posts-filter .countries-filter:hover,
body.night-mode .isee-newsfeed-center > .posts-filter .countries-filter.show,
body.night-mode .isee-newsfeed-center > .posts-filter .btn-group .btn:hover,
body.night-mode .isee-newsfeed-center > .posts-filter .btn-group .btn.show {
  border-color: var(--isee-color-primary) !important;
  color: var(--isee-color-primary) !important;
}

@media (max-width: 575.98px) {
  .isee-newsfeed-center > .posts-filter {
    border-radius: 12px;
    gap: 8px;
    min-height: 48px;
    padding: 6px;
  }

  body:not(.night-mode) .isee-newsfeed-center > .posts-filter .countries-filter,
  body:not(.night-mode) .isee-newsfeed-center > .posts-filter .btn-group .btn {
    min-height: 34px;
    padding: 0 9px !important;
  }
}

/* Right-rail footer: compact VI card with an aligned two-row link rhythm. */
.mini-footer {
  background: linear-gradient(145deg, var(--isee-color-surface) 0%, rgba(232, 244, 241, 0.62) 100%);
  border: 1px solid rgba(12, 117, 111, 0.13);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(24, 72, 65, 0.06), inset 0 2px 0 rgba(208, 146, 47, 0.72);
  margin-top: 18px;
  padding-block: 10px;
}

.mini-footer .copyrights {
  align-items: center;
  background: var(--isee-color-primary-soft);
  border: 0;
  border-radius: 9px;
  color: var(--isee-color-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
  min-height: 34px;
  padding: 5px 7px;
}

.isee-footer-brand-mark {
  display: block;
  flex: 0 0 auto;
  height: 28px;
  width: 28px;
}

.mini-footer .isee-footer-brand-mark {
  height: 24px;
  width: 24px;
}

.mini-footer .copyrights > span {
  color: var(--isee-color-text);
  font-weight: 600;
  white-space: nowrap;
}

.mini-footer .language-dropdown {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--isee-color-primary);
  display: inline-flex;
  font-weight: 600;
  min-height: 26px;
  padding: 3px 5px;
  white-space: nowrap;
}

.mini-footer .language-dropdown:hover,
.mini-footer .language-dropdown.show {
  background: var(--isee-color-surface);
  border-color: rgba(12, 117, 111, 0.18);
  color: var(--isee-color-primary-hover);
}

.mini-footer .language-dropdown img {
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(28, 43, 40, 0.09);
  margin-inline-end: 6px !important;
}

body.night-mode .mini-footer {
  background: linear-gradient(145deg, var(--isee-color-surface) 0%, rgba(94, 210, 194, 0.07) 100%);
  border-color: var(--isee-color-border);
  box-shadow: inset 0 2px 0 rgba(226, 184, 92, 0.7);
}

body.night-mode .mini-footer .copyrights,
body.night-mode .mini-footer .language-dropdown:hover,
body.night-mode .mini-footer .language-dropdown.show {
  background: var(--isee-color-primary-soft);
}

/* Keep right-rail footer links compact and aligned when they wrap. */
@media (min-width: 992px) {
  .mini-footer .links {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    justify-content: space-between;
    gap: 6px 8px;
    margin: 0;
  }

  .mini-footer .links li {
    padding: 0;
    white-space: nowrap;
  }

  .mini-footer .links a {
    border-bottom: 2px solid transparent;
    color: var(--isee-color-primary);
    display: inline-flex;
    font-weight: 500;
    line-height: 1.35;
    min-height: 24px;
    padding-block: 3px;
  }

  .mini-footer .links a:hover,
  .mini-footer .links a:focus-visible {
    border-bottom-color: var(--isee-color-accent);
    color: var(--isee-color-primary-hover);
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .mini-footer {
    padding-inline: 6px !important;
  }

  .mini-footer .links {
    column-gap: 5px;
    grid-template-columns: repeat(4, max-content);
  }

  .mini-footer .links a {
    font-size: 11px;
  }
}

/* Shared site footer: one VI signature surface for visitor and signed-in pages. */
.isee-site-footer {
  align-items: center;
  background: linear-gradient(135deg, var(--isee-color-surface) 0%, rgba(232, 244, 241, 0.72) 100%);
  border: 1px solid rgba(12, 117, 111, 0.14) !important;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(24, 72, 65, 0.07), inset 0 2px 0 rgba(208, 146, 47, 0.72);
  gap: 16px;
  margin-block: 24px 18px;
  margin-inline: 0;
  min-height: 58px;
  padding: 10px 12px;
}

.isee-site-footer > .isee-site-footer__identity {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
  padding-inline: 0;
  width: auto;
}

.isee-site-footer > .isee-site-footer__identity > span {
  color: var(--isee-color-text);
  font-weight: 600;
  margin: 0 !important;
  white-space: nowrap;
}

.isee-site-footer .language-dropdown {
  align-items: center;
  background: var(--isee-color-primary-soft);
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--isee-color-primary);
  display: inline-flex;
  font-weight: 600;
  min-height: 32px;
  padding: 5px 9px;
  white-space: nowrap;
}

.isee-site-footer .language-dropdown:hover,
.isee-site-footer .language-dropdown.show {
  background: var(--isee-color-surface);
  border-color: rgba(12, 117, 111, 0.24);
  color: var(--isee-color-primary-hover);
}

.isee-site-footer .language-dropdown img {
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(28, 43, 40, 0.1);
  margin-inline-end: 6px !important;
}

.isee-site-footer > .isee-site-footer__links {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  gap: 6px 14px;
  justify-content: flex-end;
  min-width: 0;
  padding-inline: 0;
  text-align: end;
  width: auto;
}

.isee-site-footer > .isee-site-footer__links a {
  border-bottom: 2px solid transparent;
  color: var(--isee-color-primary);
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  min-height: 28px;
  padding: 5px 0 !important;
  white-space: nowrap;
}

.isee-site-footer > .isee-site-footer__links a:hover,
.isee-site-footer > .isee-site-footer__links a:focus-visible {
  border-bottom-color: var(--isee-color-accent);
  color: var(--isee-color-primary-hover);
}

body.night-mode .isee-site-footer {
  background: linear-gradient(135deg, var(--isee-color-surface) 0%, rgba(94, 210, 194, 0.07) 100%);
  border-color: var(--isee-color-border) !important;
  box-shadow: inset 0 2px 0 rgba(226, 184, 92, 0.7);
}

body.night-mode .isee-site-footer .language-dropdown:hover,
body.night-mode .isee-site-footer .language-dropdown.show {
  background: var(--isee-color-primary-soft);
  border-color: var(--isee-color-primary);
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .isee-site-footer {
    display: grid !important;
    gap: 7px;
    grid-template-columns: minmax(0, 1fr);
    padding: 10px 14px;
  }

  .isee-site-footer > .isee-site-footer__identity {
    justify-content: center;
  }

  .isee-site-footer > .isee-site-footer__links {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .isee-site-footer {
    display: flex;
    gap: 12px;
    margin-block: 18px calc(92px + env(safe-area-inset-bottom));
    padding: 14px 12px;
  }

  .isee-site-footer > .isee-site-footer__identity {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .isee-site-footer > .isee-site-footer__links {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    text-align: center;
    width: 100%;
  }

  .isee-site-footer > .isee-site-footer__links a {
    align-items: center;
    background: var(--isee-color-primary-soft);
    border: 1px solid transparent;
    border-radius: 9px;
    justify-content: center;
    min-height: 40px;
    padding: 7px 6px !important;
  }

  .isee-site-footer > .isee-site-footer__links a:hover,
  .isee-site-footer > .isee-site-footer__links a:focus-visible {
    background: var(--isee-color-surface);
    border-color: rgba(12, 117, 111, 0.24);
  }

  .isee-site-footer > .isee-site-footer__links a:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

body:not(.visitor) .isee-newsfeed-home .publisher-message {
  min-height: 92px;
  padding-block: 16px 14px;
  padding-inline: 100px 20px;
}

body:not(.visitor) .isee-newsfeed-home .publisher-avatar {
  height: 60px;
  inset-inline-start: 20px;
  inset-inline-end: auto;
  top: 16px;
  width: 60px;
}

body:not(.visitor) .isee-newsfeed-home .publisher-message:not(.colored) .colored-text-wrapper {
  align-items: center;
  background: var(--isee-color-background);
  border-radius: 999px;
  display: flex;
  min-height: 62px;
  padding: 0 22px;
}

body:not(.visitor) .isee-newsfeed-home .publisher-message:not(.colored) .ql-editor {
  font-size: 18px;
  line-height: 28px;
  min-height: 28px;
  padding: 0;
  width: 100%;
}

.publisher-quick-actions {
  border-top: 1px solid var(--isee-color-border);
  display: grid;
  gap: 6px;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  padding: 7px 10px;
}

.publisher-quick-action {
  align-items: center;
  background: var(--isee-color-background);
  border: 0;
  border-radius: 14px;
  color: var(--isee-color-text);
  cursor: pointer;
  display: flex;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  min-height: 56px;
  padding: 10px 12px;
  transition: background-color 160ms ease, color 160ms ease;
  width: 100%;
}

.publisher-quick-action > form.x-uploader {
  display: inline-flex;
  flex: 0 0 26px;
  height: 26px;
  margin: 0;
  min-width: 26px;
  position: relative;
}

.publisher-quick-action__uploader {
  align-items: center;
  display: inline-flex;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.publisher-quick-action:hover,
.publisher-quick-action:focus-visible,
.publisher-quick-action.active,
.publisher-quick-action.activated {
  background: var(--isee-color-primary-soft);
  color: var(--isee-color-primary-hover);
}

.publisher-quick-action:focus-visible {
  box-shadow: inset 0 0 0 2px var(--isee-color-accent);
  outline: 2px solid transparent;
}

.publisher-quick-action:has(.x-uploader input:focus-visible) {
  box-shadow: inset 0 0 0 2px var(--isee-color-accent);
}

.publisher-quick-action .main-icon,
.publisher-quick-action .main-icon *,
.publisher-quick-action .main-icon svg {
  color: var(--isee-color-primary) !important;
  fill: currentColor !important;
  flex: 0 0 auto;
  stroke: currentColor !important;
}

.isee-feed-shortcuts {
  background: var(--isee-color-surface);
  border: 1px solid var(--isee-color-border);
  box-shadow: 0 14px 34px rgba(22, 42, 36, 0.07);
  margin-bottom: 24px;
  overflow: hidden;
  padding: 12px;
  position: relative;
}

.isee-feed-shortcuts.has-previous {
  padding-inline-start: 76px;
}

.isee-feed-shortcuts.has-next {
  padding-inline-end: 76px;
}

.isee-feed-shortcuts__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.isee-feed-shortcuts__track::-webkit-scrollbar {
  display: none;
}

.isee-feed-shortcut {
  align-items: center;
  background: var(--isee-color-background);
  border: 0;
  border-radius: 18px;
  color: var(--isee-color-text);
  display: flex;
  flex: 0 0 116px;
  flex-direction: column;
  font-family: inherit;
  justify-content: center;
  min-height: 96px;
  padding: 10px;
  text-align: center;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.isee-feed-shortcut:hover,
.isee-feed-shortcut:focus-visible {
  background: var(--isee-color-primary-soft);
  color: var(--isee-color-primary-hover);
  text-decoration: none;
  transform: translateY(-1px);
}

.isee-feed-shortcut:focus-visible,
.isee-feed-shortcuts__more:focus-visible {
  box-shadow: 0 0 0 3px var(--isee-color-accent-soft);
  outline: 2px solid var(--isee-color-accent);
  outline-offset: 2px;
}

.isee-feed-shortcut.is-active {
  background: var(--isee-color-primary);
  color: #fff;
}

.isee-feed-shortcut .main-icon,
.isee-feed-shortcut .main-icon *,
.isee-feed-shortcut .main-icon svg {
  color: var(--isee-color-primary) !important;
  fill: currentColor !important;
  stroke: currentColor !important;
}

.isee-feed-shortcut > i.main-icon {
  font-size: 28px;
  height: 28px;
  line-height: 1;
  text-align: center;
  width: 28px;
}

.isee-feed-shortcut > img.main-icon {
  height: 28px;
  object-fit: contain;
  width: 28px;
}

.isee-feed-shortcut.is-active .main-icon,
.isee-feed-shortcut.is-active .main-icon *,
.isee-feed-shortcut.is-active .main-icon svg {
  color: #fff !important;
}

.isee-feed-shortcut__label {
  display: block;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.15;
  margin-top: 8px;
}

.isee-feed-shortcut small {
  color: var(--isee-color-muted);
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 3px;
}

.isee-feed-shortcut.is-active small {
  color: rgba(255, 255, 255, 0.86);
}

.isee-feed-shortcuts__more {
  align-items: center;
  background: var(--isee-color-primary);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(12, 117, 111, 0.2);
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 20px;
  height: 52px;
  inset-inline-end: 12px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
}

.isee-feed-shortcuts__more:hover {
  background: var(--isee-color-primary-hover);
  color: #fff;
}

.isee-feed-shortcuts__more[hidden] {
  display: none;
}

.isee-feed-shortcuts__previous {
  inset-inline-end: auto;
  inset-inline-start: 12px;
}

[dir="rtl"] .isee-feed-shortcuts__next .fa-chevron-right,
[dir="rtl"] .isee-feed-shortcuts__previous .fa-chevron-left {
  transform: scaleX(-1);
}

body:not(.visitor) .isee-newsfeed-home .post {
  margin-bottom: 24px;
}

body:not(.visitor) .isee-newsfeed-home .post-header {
  margin-bottom: 12px;
  min-height: 100px;
  padding: 24px 24px 8px;
}

body:not(.visitor) .isee-newsfeed-home .post-avatar-picture {
  min-height: 64px;
  min-width: 64px;
}

body:not(.visitor) .isee-newsfeed-home .post-author {
  font-size: 17px;
  line-height: 24px;
}

body:not(.visitor) .isee-newsfeed-home .post-time {
  font-size: 13px;
  line-height: 20px;
}

body:not(.visitor) .isee-newsfeed-home .post-meta .dropdown .dropdown-toggle {
  align-items: center;
  background: var(--isee-color-background);
  border-radius: 14px;
  display: flex;
  height: 48px;
  justify-content: center;
  padding: 0;
  width: 48px;
}

body:not(.visitor) .isee-newsfeed-home .post-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
  padding-inline: 24px;
}

body:not(.visitor) .isee-newsfeed-home .post-media,
body:not(.visitor) .isee-newsfeed-home .pg_wrapper {
  border-radius: 14px;
  margin-inline: 24px;
  overflow: hidden;
}

body:not(.visitor) .isee-newsfeed-home .post-media-image,
body:not(.visitor) .isee-newsfeed-home .post-media-image img,
body:not(.visitor) .isee-newsfeed-home .post-media-image .image,
body:not(.visitor) .isee-newsfeed-home .pg_wrapper a {
  border-radius: inherit;
}

body:not(.visitor) .isee-newsfeed-home .post-stats {
  margin: 0 24px;
  padding: 14px 0;
}

body:not(.visitor) .isee-newsfeed-home .post-actions {
  border-top: 1px solid var(--isee-color-border);
  margin: 0 24px;
  min-height: 64px;
  padding: 4px 0 0;
}

body:not(.visitor) .isee-newsfeed-home .post-actions .action-btn {
  align-items: center;
  border-radius: 12px;
  display: flex;
  font-size: 16px;
  gap: 8px;
  justify-content: center;
  min-height: 52px;
  min-width: 0;
  padding: 10px 8px;
}

body:not(.visitor) .isee-newsfeed-home .post-actions {
  --isee-post-action-icon-size: 24px;
}

body:not(.visitor) .isee-newsfeed-home .post-actions .reaction-btn-icon,
body:not(.visitor) .isee-newsfeed-home .post-actions > .action-btn > .action-icon {
  align-items: center;
  display: inline-flex;
  flex: 0 0 var(--isee-post-action-icon-size);
  height: var(--isee-post-action-icon-size) !important;
  justify-content: center;
  line-height: 1;
  width: var(--isee-post-action-icon-size) !important;
}

body:not(.visitor) .isee-newsfeed-home .post-actions .reaction-btn-icon .far {
  font-size: var(--isee-post-action-icon-size);
  height: var(--isee-post-action-icon-size);
  line-height: var(--isee-post-action-icon-size);
  width: var(--isee-post-action-icon-size);
}

body:not(.visitor) .isee-newsfeed-home .post-actions .reaction-btn-icon .inline-emoji {
  height: var(--isee-post-action-icon-size);
  width: var(--isee-post-action-icon-size);
}

body:not(.visitor) .isee-newsfeed-home .post-actions .reaction-btn-icon .inline-emoji .emoji {
  right: 200%;
  top: -200%;
  transform: scale(0.2);
}

body:not(.visitor) .isee-newsfeed-home .post-actions .action-btn + .action-btn {
  border-inline-start: 0;
}

body:not(.visitor) .isee-newsfeed-home .post-actions .action-btn:hover,
body:not(.visitor) .isee-newsfeed-home .post-actions .action-btn:focus-visible {
  background: var(--isee-color-primary-soft);
  color: var(--isee-color-primary-hover);
}

body:not(.visitor) .isee-newsfeed-home .post-actions .action-btn:focus-visible {
  outline: 2px solid var(--isee-color-accent);
  outline-offset: 2px;
}

body:not(.visitor) .isee-newsfeed-home .post-actions .d-none.d-xl-inline-block {
  display: inline-block !important;
}

body:not(.visitor) .isee-newsfeed-home .post-comments {
  border-top: 1px solid var(--isee-color-border);
  padding: 16px 24px;
}

body:not(.visitor) .isee-newsfeed-home .comment.js_comment-form {
  padding-bottom: 0;
}

body:not(.visitor) .isee-newsfeed-home .comment-form textarea {
  background: var(--isee-color-background);
  border-radius: 14px;
  min-height: 56px;
  padding-block: 13px;
}

body:not(.visitor) .isee-newsfeed-home .isee-newsfeed-aside > .card,
body:not(.visitor) .isee-newsfeed-home .isee-newsfeed-aside > .d-none > .card,
body:not(.visitor) .isee-newsfeed-home .isee-newsfeed-center > .d-block > .card,
body:not(.visitor) .isee-newsfeed-home .isee-newsfeed-center > .card:has(.stories-wrapper) {
  border-radius: 16px;
  margin-bottom: 16px;
}

body:not(.visitor) .isee-newsfeed-home .card.bg-indigo,
body:not(.visitor) .isee-newsfeed-home .card.bg-teal {
  background: var(--isee-color-surface) !important;
  border: 1px solid var(--isee-color-border) !important;
  color: var(--isee-color-text) !important;
}

body:not(.visitor) .isee-newsfeed-home .card.bg-indigo .text-white,
body:not(.visitor) .isee-newsfeed-home .card.bg-teal .text-white,
body:not(.visitor) .isee-newsfeed-home .card.bg-indigo .user-box,
body:not(.visitor) .isee-newsfeed-home .card.bg-teal .user-box {
  color: var(--isee-color-text) !important;
}

body:not(.visitor) .isee-newsfeed-home .card.bg-indigo .card-header .main-icon,
body:not(.visitor) .isee-newsfeed-home .card.bg-indigo .card-header .main-icon *,
body:not(.visitor) .isee-newsfeed-home .card.bg-teal .card-header .main-icon,
body:not(.visitor) .isee-newsfeed-home .card.bg-teal .card-header .main-icon * {
  color: var(--isee-color-primary) !important;
  fill: currentColor !important;
}

body.night-mode .publisher-quick-action,
body.night-mode .isee-feed-shortcut,
body.night-mode .isee-newsfeed-home .publisher-message:not(.colored) .colored-text-wrapper,
body.night-mode .isee-newsfeed-home .post-meta .dropdown .dropdown-toggle,
body.night-mode .isee-newsfeed-home .comment-form textarea {
  background: var(--isee-color-background);
  color: var(--isee-color-text);
}

body.night-mode .isee-feed-shortcuts {
  background: var(--isee-color-surface);
  border-color: var(--isee-color-border);
  box-shadow: none;
}

body.night-mode .isee-feed-shortcut.is-active,
body.night-mode .isee-feed-shortcuts__more {
  background: var(--isee-color-primary);
  color: var(--isee-color-background);
}

body.night-mode .isee-feed-shortcut.is-active .main-icon,
body.night-mode .isee-feed-shortcut.is-active .main-icon *,
body.night-mode .isee-feed-shortcut.is-active .main-icon svg {
  color: var(--isee-color-background) !important;
}

@media (max-width: 767.98px) {
  body:not(.visitor) .isee-newsfeed-home .publisher-message {
    min-height: 78px;
    padding: 12px 14px 10px 70px;
  }

  body:not(.visitor) .isee-newsfeed-home .publisher-avatar {
    height: 48px;
    inset-inline-start: 14px;
    top: 14px;
    width: 48px;
  }

  body:not(.visitor) .isee-newsfeed-home .publisher-message:not(.colored) .colored-text-wrapper {
    min-height: 54px;
    padding: 0 16px;
  }

  body:not(.visitor) .isee-newsfeed-home .publisher-message:not(.colored) .ql-editor {
    font-size: 16px;
  }

  .publisher-quick-action {
    font-size: 14px;
    gap: 8px;
    min-height: 54px;
  }

  .isee-feed-shortcuts {
    border-radius: 18px;
    padding: 10px;
  }

  .isee-feed-shortcuts.has-previous {
    padding-inline-start: 72px;
  }

  .isee-feed-shortcuts.has-next {
    padding-inline-end: 72px;
  }

  .isee-feed-shortcut {
    border-radius: 16px;
    flex-basis: 104px;
    min-height: 92px;
  }

  .isee-feed-shortcut__label {
    font-size: 15px;
  }

  .isee-feed-shortcuts__more {
    height: 52px;
    inset-inline-end: 10px;
    width: 52px;
  }

  .isee-feed-shortcuts__previous {
    inset-inline-end: auto;
    inset-inline-start: 10px;
  }

  body:not(.visitor) .isee-newsfeed-home .post-header {
    min-height: 84px;
    padding: 18px 16px 6px;
  }

  body:not(.visitor) .isee-newsfeed-home .post-avatar-picture {
    min-height: 54px;
    min-width: 54px;
  }

  body:not(.visitor) .isee-newsfeed-home .post-text,
  body:not(.visitor) .isee-newsfeed-home .post-media,
  body:not(.visitor) .isee-newsfeed-home .pg_wrapper,
  body:not(.visitor) .isee-newsfeed-home .post-stats,
  body:not(.visitor) .isee-newsfeed-home .post-actions {
    margin-inline: 16px;
    padding-inline: 0;
  }

  body:not(.visitor) .isee-newsfeed-home .post-comments {
    padding: 14px 16px;
  }
}

@media (max-width: 575.98px) {
  body .main-side-nav a,
  body .main-side-nav .static {
    min-height: 48px;
  }

  body:not(.visitor) .publisher-tools-tabs > .publisher-tools-grid {
    overflow: visible;
  }

  body:not(.visitor) .publisher-tools-grid .publisher-tools-tab {
    flex-direction: column;
    font-size: 12px;
    justify-content: center;
    min-height: 64px;
    padding: 6px 3px;
    text-align: center;
    white-space: normal;
  }

  .publisher-quick-actions {
    gap: 0;
    padding: 4px 10px 5px;
  }

  .publisher-quick-action {
    background: transparent;
    flex-direction: row;
    font-size: 15px;
    font-weight: 600;
    gap: 8px;
    min-height: 54px;
    padding: 8px 6px;
  }

  body.night-mode .publisher-quick-action {
    background: transparent;
  }

  .isee-feed-shortcuts {
    padding: 9px;
  }

  .isee-feed-shortcuts.has-previous {
    padding-inline-start: 64px;
  }

  .isee-feed-shortcuts.has-next {
    padding-inline-end: 64px;
  }

  .isee-feed-shortcuts__track {
    gap: 10px;
  }

  .isee-feed-shortcut {
    flex-basis: 96px;
    min-height: 82px;
    padding: 8px;
  }

  .isee-feed-shortcut__label {
    margin-top: 5px;
  }

  .isee-feed-shortcut small {
    font-size: 11px;
  }

  .isee-feed-shortcuts__more {
    height: 50px;
    width: 50px;
  }

  body:not(.visitor) .isee-newsfeed-home .posts-filter {
    display: none;
  }

  body:not(.visitor) .isee-newsfeed-home .post-actions .action-btn {
    flex-direction: row;
    font-size: 12px;
    gap: 0;
    padding-inline: 3px;
  }

  body:not(.visitor) .isee-newsfeed-home .post-actions .reaction-btn-name,
  body:not(.visitor) .isee-newsfeed-home .post-actions .d-none.d-xl-inline-block {
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    display: block !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
  }
}

@media (max-width: 420px) {
  .publisher-quick-action {
    font-size: 13px;
    gap: 6px;
    padding-inline: 4px;
    white-space: nowrap;
  }
}

/* Forum board: dense topic index inspired by the supplied reference, within iSeeClan VI. */
.isee-forum-board-hero {
  align-items: center;
  background: var(--isee-color-surface);
  border: 1px solid var(--isee-color-border);
  border-inline-start: 5px solid var(--isee-color-primary);
  border-radius: var(--isee-radius-md);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-bottom: 20px;
  min-height: 142px;
  padding: 26px 28px;
}

.isee-forum-board-hero__copy {
  min-width: 0;
}

.isee-forum-board-hero h1 {
  color: var(--isee-color-text);
  font-size: clamp(24px, 2.1vw, 30px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.isee-forum-board-hero p {
  color: var(--isee-color-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 9px 0 0;
  max-width: 620px;
}

.isee-forum-board-hero__action {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
  min-height: 44px;
  padding-inline: 18px;
  white-space: nowrap;
}

.isee-forum-thread-list {
  background: var(--isee-color-surface);
  border: 1px solid var(--isee-color-border);
  border-radius: var(--isee-radius-md);
  box-shadow: var(--isee-shadow-card);
  overflow: hidden;
}

.isee-forum-thread-list__toolbar {
  align-items: center;
  background: var(--isee-color-background);
  border-bottom: 1px solid var(--isee-color-border);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  min-height: 58px;
  padding: 8px 14px;
}

.isee-forum-thread-list__pager {
  min-width: 0;
}

.isee-forum-thread-list__pager .pagination {
  margin: 0;
}

.isee-forum-thread-list__current-page {
  align-items: center;
  background: var(--isee-color-primary);
  border-radius: var(--isee-radius-sm);
  color: #ffffff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  min-width: 38px;
  padding-inline: 10px;
}

.isee-forum-thread-list__total {
  color: var(--isee-color-muted);
  flex: 0 0 auto;
  font-size: 12px;
}

.isee-forum-thread-list__total strong {
  color: var(--isee-color-text);
}

.isee-forum-thread-row {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: 48px minmax(0, 1fr) 112px 150px;
  min-height: 108px;
  padding: 18px 20px;
  transition: background-color 160ms ease;
}

.isee-forum-thread-row + .isee-forum-thread-row {
  border-top: 1px solid var(--isee-color-border);
}

.isee-forum-thread-row:hover {
  background: var(--isee-color-primary-soft);
}

.isee-forum-thread-row__avatar {
  border-radius: 50%;
  display: block;
  height: 44px;
  overflow: hidden;
  width: 44px;
}

.isee-forum-thread-row__avatar img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.isee-forum-thread-row__main {
  min-width: 0;
}

.isee-forum-thread-row__main h2 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

.isee-forum-thread-row__main h2 a {
  color: var(--isee-color-text);
}

.isee-forum-thread-row__main h2 a:hover {
  color: var(--isee-color-primary);
}

.isee-forum-thread-row__main p,
.isee-forum-thread-row__metrics,
.isee-forum-thread-row__last-post {
  color: var(--isee-color-muted);
  font-size: 12px;
  line-height: 1.55;
}

.isee-forum-thread-row__main p {
  margin: 4px 0 0;
}

.isee-forum-thread-row__metrics {
  text-align: end;
}

.isee-forum-thread-row__metrics strong,
.isee-forum-thread-row__metrics span,
.isee-forum-thread-row__last-post a,
.isee-forum-thread-row__last-post span {
  display: block;
}

.isee-forum-thread-row__metrics strong,
.isee-forum-thread-row__last-post a {
  color: var(--isee-color-text);
  font-weight: 700;
}

.isee-forum-thread-row__last-post {
  min-width: 0;
}

.isee-forum-thread-row__last-post a,
.isee-forum-thread-row__last-post span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.isee-forum-thread-list__empty {
  color: var(--isee-color-muted);
  padding: 42px 20px;
  text-align: center;
}

body.night-mode .isee-forum-board-hero,
body.night-mode .isee-forum-thread-list {
  box-shadow: none;
}

@media (max-width: 1199.98px) {
  .isee-forum-thread-row {
    gap: 12px;
    grid-template-columns: 44px minmax(0, 1fr) 96px 124px;
    padding-inline: 16px;
  }
}

@media (max-width: 767.98px) {
  .isee-forum-board-hero {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    min-height: 0;
    padding: 20px;
  }

  .isee-forum-board-hero__action {
    width: 100%;
  }

  .isee-forum-thread-list__toolbar {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    padding: 12px;
  }

  .isee-forum-thread-row {
    align-items: start;
    gap: 4px 12px;
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 0;
    padding: 16px 14px;
  }

  .isee-forum-thread-row__avatar {
    height: 42px;
    width: 42px;
  }

  .isee-forum-thread-row__main,
  .isee-forum-thread-row__metrics,
  .isee-forum-thread-row__last-post {
    grid-column: 2;
  }

  .isee-forum-thread-row__metrics,
  .isee-forum-thread-row__last-post {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    text-align: start;
  }

  .isee-forum-thread-row__metrics strong,
  .isee-forum-thread-row__metrics span,
  .isee-forum-thread-row__last-post a,
  .isee-forum-thread-row__last-post span {
    display: inline;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.visitor) .publisher-tools-more-toggle .fa,
  .publisher-quick-action,
  .isee-feed-shortcut {
    transition: none;
  }

  .isee-feed-shortcuts__track {
    scroll-behavior: auto;
  }
}

/* Forums: Invision-inspired information structure using the existing iSeeClan VI. */
.isee-forums-heading {
  margin-bottom: 16px;
}

.isee-forums-breadcrumb {
  align-items: center;
  color: var(--isee-color-muted);
  display: flex;
  font-size: 12px;
  gap: 8px;
  margin-bottom: 18px;
}

.isee-forums-breadcrumb a {
  align-items: center;
  color: var(--isee-color-text);
  display: inline-flex;
  gap: 6px;
}

.isee-forums-breadcrumb .main-icon,
.isee-forums-breadcrumb .main-icon * {
  color: var(--isee-color-primary) !important;
  fill: currentColor !important;
}

.isee-forums-heading__row {
  align-items: flex-start;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.isee-forums-heading h1 {
  color: var(--isee-color-text);
  font-size: clamp(26px, 2.2vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
}

.isee-forums-heading p {
  color: var(--isee-color-muted);
  line-height: 1.55;
  margin: 8px 0 0;
  max-width: 680px;
}

.isee-forums-new-thread {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 42px;
  white-space: nowrap;
}

.isee-forums-tabs {
  background: var(--isee-color-surface);
  border: 1px solid var(--isee-color-border);
  box-shadow: none !important;
  margin-bottom: 18px;
  overflow-x: auto;
  scrollbar-width: none;
}

.isee-forums-tabs::-webkit-scrollbar {
  display: none;
}

.isee-forums-tabs > ul {
  min-width: max-content;
}

.isee-forums-tabs li a {
  min-height: 58px;
}

.isee-forums-home {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 236px;
}

.isee-forums-sections,
.isee-forum-section,
.isee-forum-section__boards,
.isee-forum-board__topics,
.isee-forum-topic-row__copy,
.isee-forums-rail,
.isee-forums-rail-thread > span:last-child {
  min-width: 0;
}

.isee-forum-section {
  background: var(--isee-color-surface);
  border: 1px solid var(--isee-color-border);
  border-radius: var(--isee-radius-md);
  box-shadow: var(--isee-shadow-card);
  margin-bottom: 16px;
  overflow: hidden;
}

.isee-forum-section > .forum-category.isee-forum-section__header {
  align-items: center;
  background: var(--isee-color-surface);
  border-bottom: 1px solid var(--isee-color-border);
  border-radius: 0;
  border-top: 4px solid var(--isee-color-primary);
  color: var(--isee-color-text);
  display: flex;
  justify-content: space-between;
  margin: 0;
  min-height: 56px;
  padding: 12px 16px;
}

.isee-forum-section:nth-child(even) > .forum-category.isee-forum-section__header {
  border-top-color: var(--isee-color-accent);
}

.isee-forum-section__header > a {
  color: var(--isee-color-text);
  font-size: 16px;
  font-weight: 800;
}

.isee-forum-toggle {
  align-items: center;
  background: var(--isee-color-primary-soft);
  border: 1px solid var(--isee-color-border);
  border-radius: var(--isee-radius-sm);
  color: var(--isee-color-primary);
  cursor: pointer;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.isee-forum-board {
  display: grid;
  grid-template-columns: minmax(185px, 0.72fr) minmax(0, 1.35fr);
}

.isee-forum-board + .isee-forum-board {
  border-top: 1px solid var(--isee-color-border);
}

.isee-forum-board__summary {
  align-items: flex-start;
  border-inline-end: 1px solid var(--isee-color-border);
  display: flex;
  gap: 12px;
  padding: 16px;
}

.isee-forum-board__icon,
.isee-forum-topic-row__icon,
.isee-forums-rail-thread__icon {
  align-items: center;
  background: var(--isee-color-primary-soft);
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
}

.isee-forum-board__icon {
  height: 44px;
  width: 44px;
}

.isee-forum-board__copy {
  min-width: 0;
}

.isee-forum-board__copy h2 {
  font-size: 15px;
  line-height: 1.35;
  margin: 1px 0 7px;
}

.isee-forum-board__copy h2 a {
  color: var(--isee-color-primary);
  font-weight: 800;
}

.isee-forum-board__copy p {
  color: var(--isee-color-muted);
  font-size: 12px;
  line-height: 1.55;
  margin: 0;
}

.isee-forum-board__stats {
  color: var(--isee-color-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 11px;
  gap: 6px 12px;
  margin-top: 12px;
}

.isee-forum-board__stats strong {
  color: var(--isee-color-text);
}

.isee-forum-board__subforums {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin-top: 10px;
}

.isee-forum-board__subforums li {
  margin: 0;
}

.isee-forum-board__topics-head {
  align-items: center;
  background: var(--isee-color-background);
  border-bottom: 1px solid var(--isee-color-border);
  color: var(--isee-color-muted);
  display: grid;
  font-size: 10px;
  font-weight: 700;
  grid-template-columns: minmax(0, 1fr) 52px;
  letter-spacing: 0.03em;
  min-height: 34px;
  padding: 6px 12px;
  text-transform: uppercase;
}

.isee-forum-board__topics-head span:last-child {
  text-align: center;
}

.isee-forum-topic-row {
  align-items: center;
  color: var(--isee-color-text);
  display: grid;
  gap: 10px;
  grid-template-columns: 30px minmax(0, 1fr) 44px;
  min-height: 62px;
  padding: 9px 10px;
}

.isee-forum-topic-row + .isee-forum-topic-row {
  border-top: 1px solid var(--isee-color-border);
}

.isee-forum-topic-row:hover {
  background: var(--isee-color-primary-soft);
  color: var(--isee-color-text);
}

.isee-forum-topic-row__icon,
.isee-forums-rail-thread__icon {
  height: 30px;
  width: 30px;
}

.isee-forum-topic-row__copy strong,
.isee-forums-rail-thread strong {
  color: var(--isee-color-text);
  display: -webkit-box;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.isee-forum-topic-row__copy small,
.isee-forums-rail-thread small {
  color: var(--isee-color-muted);
  display: block;
  font-size: 10px;
  line-height: 1.35;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.isee-forum-topic-row__count {
  color: var(--isee-color-muted);
  text-align: center;
}

.isee-forum-topic-row__count strong,
.isee-forum-topic-row__count small {
  display: block;
}

.isee-forum-topic-row__count strong {
  color: var(--isee-color-text);
  font-size: 12px;
}

.isee-forum-topic-row__count small {
  font-size: 9px;
}

.isee-forum-board__empty,
.isee-forums-rail-card__empty {
  color: var(--isee-color-muted);
  font-size: 12px;
  padding: 22px 16px;
  text-align: center;
}

.isee-forums-rail {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 90px;
}

.isee-forums-rail-card {
  background: var(--isee-color-surface);
  border: 1px solid var(--isee-color-border);
  border-radius: var(--isee-radius-md);
  box-shadow: var(--isee-shadow-card);
  overflow: hidden;
}

.isee-forums-rail-card > h2 {
  border-bottom: 1px solid var(--isee-color-border);
  color: var(--isee-color-text);
  font-size: 13px;
  font-weight: 800;
  margin: 0;
  padding: 13px 14px;
}

.isee-forums-rail-thread {
  align-items: center;
  color: var(--isee-color-text);
  display: grid;
  gap: 9px;
  grid-template-columns: 30px minmax(0, 1fr);
  min-height: 66px;
  padding: 9px 10px;
}

.isee-forums-rail-thread + .isee-forums-rail-thread {
  border-top: 1px solid var(--isee-color-border);
}

.isee-forums-rail-thread:hover {
  background: var(--isee-color-primary-soft);
}

.isee-forums-statistics {
  display: grid;
  gap: 0;
  margin: 0;
}

.isee-forums-statistics > div {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 11px 14px;
}

.isee-forums-statistics > div + div {
  border-top: 1px solid var(--isee-color-border);
}

.isee-forums-statistics dt {
  color: var(--isee-color-muted);
  font-size: 12px;
  font-weight: 600;
}

.isee-forums-statistics dd {
  color: var(--isee-color-text);
  font-size: 13px;
  font-weight: 800;
  margin: 0;
}

.isee-forums-online-users {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 12px;
}

.isee-forums-online-users a {
  background: var(--isee-color-primary-soft);
  border-radius: 999px;
  font-size: 11px;
  padding: 5px 9px;
}

.isee-forums-page a:focus-visible,
.isee-forums-page button:focus-visible {
  outline: 2px solid var(--isee-color-accent);
  outline-offset: 2px;
}

body.night-mode .isee-forums-tabs,
body.night-mode .isee-forum-section,
body.night-mode .isee-forum-section > .forum-category.isee-forum-section__header,
body.night-mode .isee-forums-rail-card {
  background: var(--isee-color-surface);
  border-color: var(--isee-color-border);
  box-shadow: none;
}

@media (max-width: 1199.98px) {
  .isee-forums-home {
    grid-template-columns: minmax(0, 1fr);
  }

  .isee-forums-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: static;
  }
}

@media (max-width: 991.98px) {
  .isee-forum-board {
    grid-template-columns: minmax(0, 1fr);
  }

  .isee-forum-board__summary {
    border-bottom: 1px solid var(--isee-color-border);
    border-inline-end: 0;
  }
}

@media (max-width: 767.98px) {
  .isee-forums-heading__row {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .isee-forums-new-thread {
    justify-content: center;
    width: 100%;
  }

  .isee-forums-tabs li a {
    min-height: 52px;
  }

  .isee-forums-tabs li a .main-icon {
    margin-inline-end: 0 !important;
  }

  .isee-forums-rail {
    grid-template-columns: minmax(0, 1fr);
  }

  .isee-forum-section__header > a {
    font-size: 15px;
  }

  .isee-forum-board__summary {
    padding: 14px;
  }

  .isee-forum-topic-row {
    min-height: 58px;
  }
}

@media (max-width: 420px) {
  .isee-forum-board__icon {
    height: 38px;
    width: 38px;
  }

  .isee-forum-topic-row {
    gap: 8px;
    grid-template-columns: 28px minmax(0, 1fr) 36px;
    padding-inline: 8px;
  }

  .isee-forum-topic-row__icon,
  .isee-forums-rail-thread__icon {
    height: 28px;
    width: 28px;
  }
}

/* Public information pages: one responsive shell for legal, contact and directory surfaces. */
.isee-public-hero.page-header {
  align-items: center;
  background: #0c756f;
  color: #fff;
  display: flex;
  isolation: isolate;
  justify-content: center;
  min-height: 254px;
  padding: 54px 20px 78px;
}

.isee-public-hero.page-header::after {
  background: var(--isee-color-accent);
  bottom: 0;
  content: "";
  height: 3px;
  inset-inline: 0;
  position: absolute;
  z-index: 2;
}

.isee-public-hero.page-header .circle-2,
.isee-public-hero.page-header .circle-3 {
  background-image: none;
  opacity: 1;
  pointer-events: none;
}

.isee-public-hero.page-header .circle-2 {
  background: rgba(232, 244, 241, 0.09);
  height: 360px;
  inset-inline-end: 5%;
  inset-inline-start: auto;
  top: -210px;
  width: 360px;
}

.isee-public-hero.page-header .circle-3 {
  background: rgba(208, 146, 47, 0.13);
  height: 150px;
  right: auto;
  inset-inline-end: 18%;
  top: 132px;
  width: 150px;
}

.isee-public-hero__inner {
  max-width: 760px;
  position: relative;
  width: 100%;
  z-index: 3 !important;
}

.isee-public-hero__mark {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--isee-radius-lg);
  display: inline-flex;
  height: 48px;
  justify-content: center;
  margin-bottom: 16px;
  width: 48px;
}

.isee-public-hero__mark img {
  display: block;
  height: 32px;
  width: 32px;
}

.isee-public-hero h1 {
  color: #fff !important;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0;
}

.isee-public-hero p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.65;
  margin: 12px auto 0;
  max-width: 620px;
}

.isee-public-shell {
  margin-top: -46px;
  padding-bottom: 54px;
  position: relative;
  z-index: 4;
}

.isee-public-card {
  background: var(--isee-color-surface);
  border: 1px solid var(--isee-color-border) !important;
  border-radius: var(--isee-radius-lg);
  border-top: 3px solid var(--isee-color-accent) !important;
  box-shadow: var(--isee-shadow-card) !important;
  overflow: hidden;
}

.isee-static-card .static-page-content {
  color: var(--isee-color-text);
  font-size: 17px;
  line-height: 1.82;
  margin-inline: auto;
  max-width: 1080px;
  overflow-wrap: anywhere;
  padding: clamp(34px, 5vw, 64px);
  width: 100%;
}

.isee-static-card .static-page-content h2,
.isee-static-card .static-page-content h3,
.isee-static-card .static-page-content h4 {
  color: var(--isee-color-text);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin: 1.45em 0 0.55em;
}

.isee-static-card .static-page-content h2:first-child,
.isee-static-card .static-page-content h3:first-child {
  margin-top: 0;
}

.isee-static-card .static-page-content h2 {
  font-size: clamp(26px, 3vw, 36px);
}

.isee-static-card .static-page-content h3 {
  font-size: clamp(21px, 2vw, 28px);
}

.isee-static-card .static-page-content h4 {
  font-size: 19px;
}

.isee-static-card .static-page-content p {
  margin: 0 0 1.1em;
}

.isee-static-card .static-page-content ul,
.isee-static-card .static-page-content ol {
  margin: 0 0 1.25em;
  padding-inline-start: 1.55em;
}

.isee-static-card .static-page-content li {
  margin-bottom: 0.42em;
  padding-inline-start: 0.16em;
}

.isee-static-card .static-page-content a {
  text-decoration: underline;
  text-decoration-color: rgba(12, 117, 111, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.isee-static-card .static-page-content a:hover {
  text-decoration-color: currentColor;
}

.isee-static-card .static-page-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.isee-contact-page .sg-offcanvas-mainbar {
  flex: 0 0 100%;
  margin-inline: auto;
  max-width: 690px;
  width: 100%;
}

.isee-contact-card .card-body {
  padding: clamp(28px, 5vw, 48px);
}

.isee-contact-card .form-group {
  margin-bottom: 22px;
}

.isee-contact-card .form-label {
  color: var(--isee-color-text);
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.isee-contact-card .form-control {
  background: var(--isee-color-surface);
  border-color: var(--isee-color-border);
  color: var(--isee-color-text);
  min-height: 52px;
  padding: 12px 14px;
}

.isee-contact-card textarea.form-control {
  min-height: 164px;
  resize: vertical;
}

.isee-contact-card .btn-primary {
  font-size: 16px;
  font-weight: 700;
  min-height: 52px;
}

.isee-directory-shell > .card-body {
  padding: clamp(20px, 3vw, 36px);
}

.isee-directory-grid {
  margin-bottom: -24px;
}

.isee-directory-grid > [class*="col-"] {
  display: flex;
  margin-bottom: 24px !important;
}

.isee-directory-page .directory-card {
  align-items: center;
  background: #f7fbfa;
  border: 1px solid var(--isee-color-border);
  border-radius: var(--isee-radius-lg);
  color: var(--isee-color-muted);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 276px;
  padding: 28px 22px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.isee-directory-page .directory-card .main-icon {
  background: var(--isee-color-primary-soft);
  border: 1px solid var(--isee-color-border);
  border-radius: var(--isee-radius-lg);
  box-sizing: content-box;
  height: 64px !important;
  padding: 14px;
  width: 64px !important;
}

.isee-directory-page .directory-card .title {
  color: var(--isee-color-text);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  margin: 18px 0 8px;
}

.isee-directory-page .directory-card p {
  color: var(--isee-color-muted);
  font-size: 14px;
  line-height: 1.62;
  margin: 0;
  max-width: 270px;
}

.isee-directory-page .directory-card:hover {
  background: var(--isee-color-surface);
  border-color: var(--isee-color-primary);
  box-shadow: 0 12px 28px rgba(24, 72, 65, 0.1);
  color: var(--isee-color-muted);
  transform: translateY(-3px);
}

.isee-directory-page .directory-card:focus-visible,
.isee-public-card a:focus-visible,
.isee-contact-card .form-control:focus-visible {
  outline: 3px solid var(--isee-color-accent);
  outline-offset: 3px;
}

body.night-mode .isee-public-hero.page-header {
  background: #095c57;
}

body.night-mode .isee-public-card,
body.night-mode .isee-contact-card .form-control,
body.night-mode .isee-directory-page .directory-card,
body.night-mode .isee-directory-page .directory-card:hover {
  background: var(--isee-color-surface);
  border-color: var(--isee-color-border);
  color: var(--isee-color-text);
}

body.night-mode .isee-directory-page .directory-card:hover {
  border-color: var(--isee-color-primary);
  box-shadow: none;
}

body.night-mode .isee-directory-page .directory-card .title {
  color: var(--isee-color-text);
}

@media (max-width: 767.98px) {
  .isee-public-hero.page-header {
    min-height: 196px;
    padding: 38px 16px 66px;
  }

  .isee-public-hero.page-header .circle-2 {
    height: 220px;
    inset-inline-end: -65px;
    top: -135px;
    width: 220px;
  }

  .isee-public-hero.page-header .circle-3 {
    height: 92px;
    inset-inline-end: 14%;
    top: 132px;
    width: 92px;
  }

  .isee-public-hero__mark {
    height: 42px;
    margin-bottom: 12px;
    width: 42px;
  }

  .isee-public-hero__mark img {
    height: 28px;
    width: 28px;
  }

  .isee-public-hero h1 {
    font-size: clamp(27px, 8vw, 34px);
  }

  .isee-public-hero p {
    font-size: 15px;
    margin-top: 8px;
  }

  .isee-public-shell {
    margin-top: -34px;
    padding-bottom: 34px;
    padding-inline: 12px;
  }

  .isee-public-card {
    border-radius: var(--isee-radius-lg);
  }

  .isee-static-card .static-page-content {
    font-size: 16px;
    line-height: 1.75;
    padding: 26px 22px;
  }

  .isee-contact-card .card-body {
    padding: 28px 24px;
  }

  .isee-directory-shell > .card-body {
    padding: 18px;
  }
}

@media (max-width: 575.98px) {
  .isee-directory-page .directory-card {
    align-items: center;
    display: grid;
    gap: 4px 16px;
    grid-template-columns: 70px minmax(0, 1fr);
    justify-items: start;
    min-height: 0;
    padding: 18px;
    text-align: start;
  }

  .isee-directory-page .directory-card .main-icon {
    grid-row: 1 / 3;
    height: 46px !important;
    padding: 10px;
    width: 46px !important;
  }

  .isee-directory-page .directory-card .title {
    align-self: end;
    font-size: 17px;
    margin: 0;
  }

  .isee-directory-page .directory-card p {
    align-self: start;
    font-size: 13px;
    line-height: 1.5;
    max-width: none;
  }
}

@media (max-width: 420px) {
  .isee-public-shell {
    padding-inline: 8px;
  }

  .isee-static-card .static-page-content,
  .isee-contact-card .card-body {
    padding: 22px 18px;
  }

  .isee-contact-card .form-group {
    margin-bottom: 18px;
  }

  .isee-directory-shell > .card-body {
    padding: 12px;
  }

  .isee-directory-grid > [class*="col-"] {
    margin-bottom: 14px !important;
  }

  .isee-directory-grid {
    margin-bottom: -14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .isee-directory-page .directory-card {
    transition: none;
  }

  .isee-directory-page .directory-card:hover {
    transform: none;
  }
}

/* Blogs directory: branded editorial header, filter toolbar and measured two-row category rail. */
.isee-blogs-hero.page-header {
  border-radius: var(--isee-radius-lg) !important;
  box-shadow: var(--isee-shadow-card);
  min-height: 300px;
  overflow: hidden;
  padding: 36px 28px 44px;
}

.isee-blogs-hero .isee-public-hero__inner {
  max-width: 620px;
  text-align: center;
}

.isee-blogs-hero__search {
  margin: 22px auto 0;
  max-width: 520px;
}

.isee-blogs-hero__search .input-group {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: var(--isee-radius-lg);
  box-shadow: 0 12px 28px rgba(28, 43, 40, 0.16);
  padding: 5px;
}

.isee-blogs-hero__search .input-group:focus-within {
  outline: 3px solid var(--isee-color-accent);
  outline-offset: 3px;
}

.isee-blogs-hero__search .form-control {
  background: #fff !important;
  border: 0 !important;
  border-radius: var(--isee-radius-sm) !important;
  box-shadow: none !important;
  color: var(--isee-color-text) !important;
  min-height: 48px;
  padding-inline: 16px;
}

.isee-blogs-hero__search .form-control::placeholder {
  color: var(--isee-color-muted);
  opacity: 1;
}

.isee-blogs-hero__search .btn {
  align-items: center;
  background: var(--isee-color-accent) !important;
  border: 1px solid var(--isee-color-accent) !important;
  border-radius: var(--isee-radius-sm) !important;
  color: var(--isee-color-text) !important;
  display: inline-flex;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  min-width: 108px;
  padding-inline: 18px;
}

.isee-blogs-hero__search .btn:hover {
  background: var(--isee-color-accent-soft) !important;
  color: var(--isee-color-text) !important;
}

.isee-blogs-hero__search .btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.88) !important;
  outline: 2px solid var(--isee-color-accent);
  outline-offset: 2px;
}

.isee-blogs-directory .isee-blogs-toolbar.posts-filter {
  align-items: center;
  background: var(--isee-color-surface);
  border: 1px solid var(--isee-color-border);
  border-top: 3px solid var(--isee-color-accent);
  border-radius: var(--isee-radius-lg);
  box-shadow: var(--isee-shadow-card);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  line-height: normal;
  margin-bottom: 12px;
  min-height: 58px;
  padding: 8px 10px 8px 12px;
}

.isee-blogs-toolbar__title {
  align-items: center;
  color: var(--isee-color-text);
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  gap: 10px;
  min-width: 0;
}

.isee-blogs-toolbar__icon {
  align-items: center;
  background: var(--isee-color-primary-soft);
  border: 1px solid var(--isee-color-border);
  border-radius: var(--isee-radius-md);
  color: var(--isee-color-primary);
  display: inline-flex;
  flex: 0 0 36px;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.isee-blogs-directory .isee-blogs-toolbar .float-end {
  align-items: center;
  display: flex;
  float: none !important;
  min-width: 0;
}

.isee-blogs-directory .isee-blogs-toolbar .countries-filter {
  align-items: center;
  background: var(--isee-color-primary-soft);
  border: 1px solid var(--isee-color-border) !important;
  border-radius: var(--isee-radius-md);
  box-shadow: none !important;
  color: var(--isee-color-text);
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  gap: 7px;
  justify-content: center;
  min-height: 40px;
  min-width: 0;
  padding: 0 12px !important;
  white-space: nowrap;
}

.isee-blogs-directory .isee-blogs-toolbar .countries-filter:hover {
  background: var(--isee-color-surface);
  border-color: var(--isee-color-primary) !important;
  color: var(--isee-color-primary);
}

.isee-blogs-directory .isee-blogs-toolbar .countries-filter:focus-visible {
  box-shadow: 0 0 0 3px var(--isee-color-accent-soft) !important;
  outline: 2px solid var(--isee-color-accent);
  outline-offset: 2px;
}

.isee-blogs-toolbar__chevron {
  font-size: 10px;
  margin-inline-start: 2px;
}

.isee-blog-categories-nav {
  background: var(--isee-color-surface);
  border: 1px solid var(--isee-color-border);
  border-radius: var(--isee-radius-lg);
  box-shadow: var(--isee-shadow-card);
  overflow: hidden;
  padding: 14px;
  position: relative;
}

.isee-blog-categories-nav::before {
  background: var(--isee-color-accent);
  content: "";
  height: 3px;
  inset-inline: 0;
  position: absolute;
  top: 0;
}

.isee-blogs-directory .isee-blog-categories--collapsible {
  --isee-blog-category-gap: 8px;
  --isee-blog-category-row-height: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: var(--isee-blog-category-gap);
  max-height: calc((var(--isee-blog-category-row-height) * 2) + var(--isee-blog-category-gap));
  overflow: hidden;
  position: relative;
}

.isee-blogs-directory .isee-blog-categories--collapsible.is-expanded {
  max-height: none;
  overflow: visible;
}

.isee-blogs-directory .isee-blog-categories--collapsible.has-overflow {
  padding-inline-end: 48px;
}

.isee-blogs-directory .isee-blog-categories--collapsible > li:not(.isee-blog-categories__toggle) {
  display: block !important;
  min-width: 0;
}

body .isee-blogs-directory .isee-blog-categories--collapsible .blog-category {
  align-items: center;
  background: var(--isee-color-primary-soft);
  border: 1px solid var(--isee-color-border);
  border-radius: var(--isee-radius-md);
  color: var(--isee-color-primary);
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  min-height: var(--isee-blog-category-row-height);
  padding: 7px 12px;
  text-align: center;
  white-space: nowrap;
  width: auto;
}

body .isee-blogs-directory .isee-blog-categories--collapsible .blog-category:hover,
body .isee-blogs-directory .isee-blog-categories--collapsible .blog-category:focus-visible {
  background: var(--isee-color-primary);
  border-color: var(--isee-color-primary);
  color: #fff;
}

.isee-blogs-directory .isee-blog-categories--collapsible > .isee-blog-categories__toggle {
  align-items: center;
  background: var(--isee-color-surface);
  bottom: 0;
  display: flex;
  inset-inline-end: 0;
  justify-content: flex-end;
  padding-inline-start: 8px;
  position: absolute;
  z-index: 2;
}

.isee-blogs-directory .isee-blog-categories--collapsible > .isee-blog-categories__toggle[hidden] {
  display: none !important;
}

.isee-blogs-directory .isee-blog-categories__toggle button {
  align-items: center;
  background: var(--isee-color-accent-soft);
  border: 1px solid var(--isee-color-accent);
  border-radius: var(--isee-radius-md);
  color: var(--isee-color-text);
  display: inline-flex;
  height: var(--isee-blog-category-row-height);
  justify-content: center;
  min-height: var(--isee-blog-category-row-height);
  padding: 0;
  width: 40px;
}

.isee-blogs-directory .isee-blog-categories__toggle button:hover {
  background: var(--isee-color-accent);
  color: var(--isee-color-text);
}

.isee-blogs-directory .isee-blog-categories__toggle button:focus-visible {
  box-shadow: 0 0 0 3px var(--isee-color-accent-soft);
  outline: 2px solid var(--isee-color-accent);
  outline-offset: 2px;
}

.isee-blogs-directory .isee-blog-categories__toggle i {
  transition: transform 160ms ease;
}

.isee-blogs-directory .blog-categories.is-expanded .isee-blog-categories__toggle i {
  transform: rotate(180deg);
}

body.night-mode .isee-blogs-toolbar__icon,
body.night-mode .isee-blog-categories-nav,
body.night-mode .isee-blogs-directory .isee-blogs-toolbar.posts-filter,
body.night-mode .isee-blogs-directory .isee-blog-categories--collapsible > .isee-blog-categories__toggle {
  background: var(--isee-color-surface);
  border-color: var(--isee-color-border);
  color: var(--isee-color-text);
}

@media (max-width: 767.98px) {
  .isee-blogs-directory {
    margin-top: 12px !important;
  }

  .isee-blogs-hero.page-header {
    min-height: 252px;
    padding: 28px 18px 32px;
  }

  .isee-blogs-hero .isee-public-hero__mark {
    margin-bottom: 10px;
  }

  .isee-blogs-hero__search {
    margin-top: 18px;
  }

  .isee-blogs-hero__search .form-control {
    min-width: 0;
    padding-inline: 12px;
  }

  .isee-blogs-hero__search .btn {
    min-width: 86px;
    padding-inline: 12px;
  }

  .isee-blogs-directory .isee-blogs-toolbar.posts-filter {
    margin-bottom: 10px;
    min-height: 54px;
    padding: 7px 8px;
  }

  .isee-blogs-toolbar__icon {
    flex-basis: 34px;
    height: 34px;
    width: 34px;
  }

  .isee-blogs-toolbar__title {
    font-size: 15px;
    gap: 8px;
  }

  .isee-blogs-directory .isee-blogs-toolbar .countries-filter {
    font-size: 13px;
    min-height: 38px;
    padding-inline: 9px !important;
  }

  .isee-blog-categories-nav {
    padding: 12px;
  }

  .isee-blogs-directory .isee-blog-categories--collapsible {
    --isee-blog-category-row-height: 34px;
  }

  body .isee-blogs-directory .isee-blog-categories--collapsible .blog-category {
    font-size: 13px;
    line-height: 18px;
    padding: 7px 10px;
  }

  .isee-blogs-directory .isee-blog-categories--collapsible.has-overflow {
    padding-inline-end: 44px;
  }

  .isee-blogs-directory .isee-blog-categories__toggle button {
    width: 36px;
  }
}

@media (max-width: 420px) {
  .isee-blogs-hero__search .btn span {
    display: none;
  }

  .isee-blogs-hero__search .btn {
    min-width: 48px;
    padding-inline: 12px;
  }

  .isee-blogs-directory .isee-blogs-toolbar .countries-filter {
    max-width: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .isee-blogs-directory .isee-blog-categories__toggle i {
    transition: none;
  }
}

/* Discovery search heroes: keep the search useful without consuming the first screen. */
.page-header.rounded:has(.js_search-form) {
  padding-block: 30px;
}

.page-header.rounded:has(.js_search-form) .row.mt20 {
  margin-top: 14px !important;
}

.page-header.rounded:has(.js_search-form) .floating-img {
  max-height: 150px;
}

.isee-blogs-hero.page-header:has(.js_search-form) {
  min-height: 230px;
  padding: 22px 24px 26px;
}

.isee-blogs-hero.page-header:has(.js_search-form) .isee-public-hero__mark {
  height: 40px;
  margin-bottom: 8px;
  width: 40px;
}

.isee-blogs-hero.page-header:has(.js_search-form) .isee-public-hero__mark img {
  height: 26px;
  width: 26px;
}

.isee-blogs-hero.page-header:has(.js_search-form) p {
  margin-top: 6px;
}

.isee-blogs-hero.page-header:has(.js_search-form) .isee-blogs-hero__search {
  margin-top: 14px;
}

@media (max-width: 767.98px) {
  .page-header.rounded:has(.js_search-form) {
    padding-block: 22px;
  }

  .isee-blogs-hero.page-header:has(.js_search-form) {
    min-height: 214px;
    padding: 18px 16px 22px;
  }

  .isee-blogs-hero.page-header:has(.js_search-form) .isee-public-hero__mark {
    height: 36px;
    margin-bottom: 7px;
    width: 36px;
  }

  .isee-blogs-hero.page-header:has(.js_search-form) .isee-public-hero__mark img {
    height: 24px;
    width: 24px;
  }

  .isee-blogs-hero.page-header:has(.js_search-form) .isee-blogs-hero__search {
    margin-top: 12px;
  }
}

/* Movies directory: a compact cinematic header in the governed iSeeClan palette. */
.isee-movies-hero.page-header {
  background:
    radial-gradient(circle at 82% 24%, rgba(208, 146, 47, 0.26), transparent 30%),
    linear-gradient(135deg, #063f3c 0%, var(--isee-color-primary) 58%, var(--isee-color-primary-hover) 100%);
  border: 1px solid rgba(12, 117, 111, 0.5);
  border-top: 3px solid var(--isee-color-accent);
  border-radius: var(--isee-radius-lg) !important;
  box-shadow: var(--isee-shadow-card);
  color: #fff;
  isolation: isolate;
  min-height: 208px;
  padding: 20px 28px 22px;
  text-align: start;
}

.isee-movies-hero.page-header::before {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: calc(var(--isee-radius-lg) - 5px);
  content: "";
  inset: 10px;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.isee-movies-hero.page-header .circle-2 {
  background: var(--isee-color-primary-soft);
  opacity: 0.08;
}

.isee-movies-hero.page-header .circle-3 {
  background: var(--isee-color-accent);
  opacity: 0.1;
}

.isee-movies-hero.page-header .floating-img {
  bottom: -8px;
  inset-inline-end: 3%;
  inset-inline-start: auto;
  max-height: 190px;
  opacity: 0.58;
  width: 39%;
  z-index: 1;
}

.isee-movies-hero__inner {
  max-width: 100%;
  padding-inline-end: 40%;
  position: relative;
  z-index: 2 !important;
}

.isee-movies-hero__mark {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--isee-radius-md);
  color: var(--isee-color-accent);
  display: inline-flex;
  font-size: 18px;
  height: 38px;
  inset-block-start: 0;
  inset-inline-start: 0;
  justify-content: center;
  position: absolute;
  width: 38px;
}

.isee-movies-hero h1 {
  color: #fff !important;
  font-size: clamp(28px, 3vw, 34px);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
  padding-inline-start: 50px;
}

.isee-movies-hero p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.45;
  margin: 5px 0 0;
  padding-inline-start: 50px;
}

.isee-movies-hero__search {
  margin-top: 14px;
  max-width: 430px;
}

.isee-movies-hero__search .input-group {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: var(--isee-radius-md);
  box-shadow: 0 12px 28px rgba(28, 43, 40, 0.2);
  flex-wrap: nowrap;
  padding: 4px;
}

.isee-movies-hero__search .input-group:focus-within {
  outline: 3px solid var(--isee-color-accent);
  outline-offset: 3px;
}

.isee-movies-hero__search .form-control {
  background: #fff !important;
  border: 0 !important;
  border-radius: var(--isee-radius-sm) !important;
  box-shadow: none !important;
  color: var(--isee-color-text) !important;
  min-height: 46px;
  min-width: 0;
  padding-inline: 14px;
}

.isee-movies-hero__search .form-control::placeholder {
  color: var(--isee-color-muted);
  opacity: 1;
}

.isee-movies-hero__search .btn {
  align-items: center;
  background: var(--isee-color-accent) !important;
  border: 1px solid var(--isee-color-accent) !important;
  border-radius: var(--isee-radius-sm) !important;
  color: var(--isee-color-text) !important;
  display: inline-flex;
  font-weight: 700;
  gap: 7px;
  justify-content: center;
  min-width: 96px;
  padding-inline: 16px;
}

.isee-movies-hero__search .btn:hover {
  background: var(--isee-color-accent-soft) !important;
  color: var(--isee-color-text) !important;
}

.isee-movies-hero__search .btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9) !important;
  outline: 2px solid var(--isee-color-accent);
  outline-offset: 2px;
}

body.night-mode .isee-movies-hero.page-header {
  background:
    radial-gradient(circle at 82% 24%, rgba(208, 146, 47, 0.2), transparent 30%),
    linear-gradient(135deg, #062f2d 0%, #095c57 60%, #073f3c 100%);
  border-color: rgba(232, 244, 241, 0.18);
}

body.night-mode .isee-movies-hero__search .input-group,
body.night-mode .isee-movies-hero__search .form-control {
  background: #162724 !important;
}

body.night-mode .isee-movies-hero__search .form-control {
  color: var(--isee-color-text) !important;
}

@media (max-width: 767.98px) {
  .isee-movies-hero.page-header {
    min-height: 192px;
    padding: 18px 16px 20px;
    text-align: center;
  }

  .isee-movies-hero__inner {
    padding-inline-end: 0;
  }

  .isee-movies-hero__mark {
    display: none;
  }

  .isee-movies-hero h1 {
    font-size: 28px;
    padding-inline-start: 0;
  }

  .isee-movies-hero p {
    font-size: 15px;
    padding-inline-start: 0;
  }

  .isee-movies-hero__search {
    margin: 12px auto 0;
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  .isee-movies-hero__search .btn {
    min-width: 84px;
    padding-inline: 12px;
  }
}

/* Community directories: one compact VI header for Groups and Pages. */
:is(.isee-groups-hero, .isee-community-directory-hero).page-header {
  background:
    radial-gradient(circle at 82% 20%, rgba(232, 244, 241, 0.14), transparent 29%),
    radial-gradient(circle at 94% 82%, rgba(208, 146, 47, 0.22), transparent 26%),
    linear-gradient(135deg, #064844 0%, var(--isee-color-primary) 58%, var(--isee-color-primary-hover) 100%);
  border: 1px solid rgba(12, 117, 111, 0.5);
  border-top: 3px solid var(--isee-color-accent);
  border-radius: var(--isee-radius-lg) !important;
  box-shadow: var(--isee-shadow-card);
  color: #fff;
  isolation: isolate;
  min-height: 208px;
  padding: 20px 28px 22px;
  text-align: start;
}

:is(.isee-groups-hero, .isee-community-directory-hero).page-header::before {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: calc(var(--isee-radius-lg) - 5px);
  content: "";
  inset: 10px;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

:is(.isee-groups-hero, .isee-community-directory-hero).page-header .circle-2 {
  background: var(--isee-color-primary-soft);
  opacity: 0.08;
}

:is(.isee-groups-hero, .isee-community-directory-hero).page-header .circle-3 {
  background: var(--isee-color-accent);
  opacity: 0.1;
}

:is(.isee-groups-hero, .isee-community-directory-hero).page-header .floating-img {
  bottom: -10px;
  inset-inline-end: 2%;
  inset-inline-start: auto;
  max-height: 186px;
  object-fit: contain;
  opacity: 0.62;
  width: 42%;
  z-index: 1;
}

:is(.isee-groups-hero__inner, .isee-community-directory-hero__inner) {
  max-width: 100%;
  padding-inline-end: 42%;
  position: relative;
  z-index: 2 !important;
}

:is(.isee-groups-hero__mark, .isee-community-directory-hero__mark) {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--isee-radius-md);
  color: var(--isee-color-accent);
  display: inline-flex;
  font-size: 18px;
  height: 38px;
  inset-block-start: 0;
  inset-inline-start: 0;
  justify-content: center;
  position: absolute;
  width: 38px;
}

:is(.isee-groups-hero, .isee-community-directory-hero) h1 {
  color: #fff !important;
  font-size: clamp(28px, 3vw, 34px);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
  padding-inline-start: 50px;
}

:is(.isee-groups-hero, .isee-community-directory-hero) p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.45;
  margin: 5px 0 0;
  padding-inline-start: 50px;
}

:is(.isee-groups-hero__search, .isee-community-directory-hero__search) {
  margin-top: 14px;
  max-width: 430px;
}

:is(.isee-groups-hero__search, .isee-community-directory-hero__search) .input-group {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: var(--isee-radius-md);
  box-shadow: 0 12px 28px rgba(28, 43, 40, 0.2);
  flex-wrap: nowrap;
  padding: 4px;
}

:is(.isee-groups-hero__search, .isee-community-directory-hero__search) .input-group:focus-within {
  outline: 3px solid var(--isee-color-accent);
  outline-offset: 3px;
}

:is(.isee-groups-hero__search, .isee-community-directory-hero__search) .form-control {
  background: #fff !important;
  border: 0 !important;
  border-radius: var(--isee-radius-sm) !important;
  box-shadow: none !important;
  color: var(--isee-color-text) !important;
  min-height: 46px;
  min-width: 0;
  padding-inline: 14px;
}

:is(.isee-groups-hero__search, .isee-community-directory-hero__search) .form-control::placeholder {
  color: var(--isee-color-muted);
  opacity: 1;
}

:is(.isee-groups-hero__search, .isee-community-directory-hero__search) .btn {
  align-items: center;
  background: var(--isee-color-accent) !important;
  border: 1px solid var(--isee-color-accent) !important;
  border-radius: var(--isee-radius-sm) !important;
  color: var(--isee-color-text) !important;
  display: inline-flex;
  font-weight: 700;
  gap: 7px;
  justify-content: center;
  min-width: 96px;
  padding-inline: 16px;
}

:is(.isee-groups-hero__search, .isee-community-directory-hero__search) .btn:hover {
  background: var(--isee-color-accent-soft) !important;
  color: var(--isee-color-text) !important;
}

:is(.isee-groups-hero__search, .isee-community-directory-hero__search) .btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9) !important;
  outline: 2px solid var(--isee-color-accent);
  outline-offset: 2px;
}

body.night-mode :is(.isee-groups-hero, .isee-community-directory-hero).page-header {
  background:
    radial-gradient(circle at 82% 20%, rgba(232, 244, 241, 0.09), transparent 29%),
    radial-gradient(circle at 94% 82%, rgba(208, 146, 47, 0.18), transparent 26%),
    linear-gradient(135deg, #062f2d 0%, #095c57 60%, #073f3c 100%);
  border-color: rgba(232, 244, 241, 0.18);
}

body.night-mode :is(.isee-groups-hero__search, .isee-community-directory-hero__search) .input-group,
body.night-mode :is(.isee-groups-hero__search, .isee-community-directory-hero__search) .form-control {
  background: #162724 !important;
}

body.night-mode :is(.isee-groups-hero__search, .isee-community-directory-hero__search) .form-control {
  color: var(--isee-color-text) !important;
}

@media (max-width: 767.98px) {
  :is(.isee-groups-hero, .isee-community-directory-hero).page-header {
    min-height: 192px;
    padding: 18px 16px 20px;
    text-align: center;
  }

  :is(.isee-groups-hero__inner, .isee-community-directory-hero__inner) {
    padding-inline-end: 0;
  }

  :is(.isee-groups-hero__mark, .isee-community-directory-hero__mark) {
    display: none;
  }

  :is(.isee-groups-hero, .isee-community-directory-hero) h1 {
    font-size: 28px;
    padding-inline-start: 0;
  }

  :is(.isee-groups-hero, .isee-community-directory-hero) p {
    font-size: 15px;
    padding-inline-start: 0;
  }

  :is(.isee-groups-hero__search, .isee-community-directory-hero__search) {
    margin: 12px auto 0;
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  :is(.isee-groups-hero__search, .isee-community-directory-hero__search) .btn {
    min-width: 84px;
    padding-inline: 12px;
  }
}

/* Pages directory: public-facing editorial variation of the shared community header. */
.isee-pages-hero.page-header {
  background:
    radial-gradient(circle at 80% 18%, rgba(232, 244, 241, 0.16), transparent 30%),
    radial-gradient(circle at 96% 84%, rgba(208, 146, 47, 0.24), transparent 25%),
    linear-gradient(135deg, #074b47 0%, var(--isee-color-primary) 56%, #095f5a 100%);
}

.isee-pages-hero.page-header .floating-img {
  bottom: -12px;
  max-height: 190px;
  opacity: 0.64;
  width: 44%;
}

body.night-mode .isee-pages-hero.page-header {
  background:
    radial-gradient(circle at 80% 18%, rgba(232, 244, 241, 0.1), transparent 30%),
    radial-gradient(circle at 96% 84%, rgba(208, 146, 47, 0.18), transparent 25%),
    linear-gradient(135deg, #06312f 0%, #095c57 58%, #073f3c 100%);
}

/* Profile blogs: compact portal-style rows on mobile, using the existing blog markup. */
@media (max-width: 767.98px) {
  .isee-profile-blogs {
    background: var(--isee-color-surface);
    border: 1px solid var(--isee-color-border);
    border-radius: var(--isee-radius-lg);
    display: grid;
    gap: 0;
    grid-template-columns: minmax(0, 1fr);
    list-style: none;
    margin: 0;
    overflow: hidden;
    padding: 0;
  }

  .isee-profile-blogs > div {
    border-bottom: 1px solid var(--isee-color-border);
    flex: none;
    max-width: none;
    min-width: 0;
    padding: 0;
    width: auto;
  }

  .isee-profile-blogs > div:last-child {
    border-bottom: 0;
  }

  .isee-profile-blogs .blog-container,
  .isee-profile-blogs .blog-container.primary {
    align-items: stretch;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--isee-color-text);
    display: grid;
    gap: 14px;
    grid-template-areas: "content image";
    grid-template-columns: minmax(0, 1fr) clamp(116px, 28vw, 160px);
    height: auto;
    margin: 0;
    min-height: 148px;
    padding: 14px;
  }

  .isee-profile-blogs .blog-container:hover,
  .isee-profile-blogs .blog-container:active {
    background: var(--isee-color-primary-soft);
  }

  .isee-profile-blogs .blog-image,
  .isee-profile-blogs .blog-container.primary .blog-image {
    align-self: center;
    aspect-ratio: 4 / 3;
    border: 0;
    border-radius: var(--isee-radius-md);
    grid-area: image;
    height: auto;
    min-height: 0;
    overflow: hidden;
    width: 100%;
  }

  .isee-profile-blogs .blog-image img,
  .isee-profile-blogs .blog-container.primary .blog-image img {
    display: block;
    height: 100%;
    max-width: none;
    object-fit: cover;
    width: 100%;
  }

  .isee-profile-blogs .blog-content,
  .isee-profile-blogs .blog-container.primary .blog-content {
    background: transparent;
    color: var(--isee-color-text);
    display: flex;
    flex-direction: column;
    grid-area: content;
    min-width: 0;
    padding: 0;
    width: auto;
  }

  .isee-profile-blogs .blog-content h3,
  .isee-profile-blogs .blog-container.primary .blog-content h3 {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--isee-color-text);
    display: -webkit-box;
    font-size: clamp(17px, 4.8vw, 21px);
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    max-height: 57px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: none;
  }

  .isee-profile-blogs .blog-content .text,
  .isee-profile-blogs .blog-container.primary .blog-content .text,
  .isee-profile-blogs .blog-more {
    display: none;
  }

  .isee-profile-blogs .blog-content > div:last-child {
    margin-top: auto;
    min-width: 0;
  }

  .isee-profile-blogs .blog-content .post-avatar {
    display: none;
  }

  .isee-profile-blogs .blog-content .post-meta {
    align-items: center;
    display: flex;
    float: none;
    gap: 10px;
    min-width: 0;
  }

  .isee-profile-blogs .blog-content .text-link,
  .isee-profile-blogs .blog-container.primary .text-link {
    color: var(--isee-color-muted);
    display: block;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .isee-profile-blogs .blog-content .post-time,
  .isee-profile-blogs .blog-container.primary .post-time {
    color: var(--isee-color-muted);
    flex: 0 0 auto;
    font-size: 12px;
    white-space: nowrap;
  }

  .isee-profile-blogs .blog-container > .ptb20 {
    grid-column: 1 / -1;
  }

  .isee-profile-blogs .blog-container:focus-visible {
    outline: 3px solid var(--isee-color-accent);
    outline-offset: -3px;
    position: relative;
    z-index: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .isee-profile-blogs .blog-image img {
    transition: none;
  }
}

/* Feed blogs: replace the upstream purple/neutral treatment with governed VI tokens. */
.isee-feed-blog-category {
  background: var(--isee-color-primary-soft);
  border: 1px solid var(--isee-color-border);
  border-radius: 999px;
  color: var(--isee-color-primary);
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  padding: 3px 10px;
  text-transform: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.isee-feed-blog-category:hover {
  background: var(--isee-color-primary);
  border-color: var(--isee-color-primary);
  color: var(--isee-color-surface);
}

body.night-mode .isee-feed-blog-category {
  background: var(--isee-color-primary-soft);
  border-color: var(--isee-color-border);
  color: var(--isee-color-primary);
}

body.night-mode .isee-feed-blog-category:hover {
  background: var(--isee-color-primary);
  border-color: var(--isee-color-primary);
  color: var(--isee-color-background);
}

.isee-feed-blog-category:focus-visible {
  outline: 2px solid var(--isee-color-accent);
  outline-offset: 2px;
}

.isee-feed-blog-card {
  background: var(--isee-color-primary-soft);
  border: 1px solid var(--isee-color-border);
  border-radius: var(--isee-radius-lg);
  box-shadow: none;
}

body.night-mode .isee-feed-blog-card {
  background: var(--isee-color-primary-soft);
  border-color: var(--isee-color-border);
  color: var(--isee-color-text);
}

.isee-feed-blog-card .post-media-image {
  border-bottom: 1px solid var(--isee-color-border);
  border-radius: var(--isee-radius-lg) var(--isee-radius-lg) 0 0;
  overflow: hidden;
}

.isee-feed-blog-card .post-media-meta {
  padding: clamp(16px, 4vw, 20px);
}

.isee-feed-blog-card .post-media-meta .title {
  color: var(--isee-color-primary);
  display: block;
  font-size: clamp(16px, 2.8vw, 19px);
  font-weight: 800;
  line-height: 1.4;
}

.isee-feed-blog-card .post-media-meta .title:hover {
  color: var(--isee-color-primary-hover);
}

.isee-feed-blog-card .post-media-meta .title:focus-visible {
  border-radius: var(--isee-radius-sm);
  outline: 2px solid var(--isee-color-accent);
  outline-offset: 3px;
}

.isee-feed-blog-card .post-media-meta .text {
  color: var(--isee-color-text);
  font-size: 15px;
  line-height: 1.75;
  margin-top: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .isee-feed-blog-category {
    transition: none;
  }
}

/* Directory discovery: one compact VI toolbar for native result filters. */
:is(.isee-watch-directory, .isee-pages-page) .isee-directory-toolbar.posts-filter {
  align-items: center;
  background: linear-gradient(135deg, var(--isee-color-surface) 0%, rgba(232, 244, 241, 0.74) 100%);
  border: 1px solid rgba(12, 117, 111, 0.14);
  border-inline-start: 3px solid var(--isee-color-accent);
  border-radius: var(--isee-radius-lg);
  box-shadow: 0 8px 22px rgba(24, 72, 65, 0.06);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  line-height: normal;
  margin-bottom: 16px;
  min-height: 58px;
  padding: 8px 9px;
}

.isee-directory-toolbar__title {
  align-items: center;
  color: var(--isee-color-text);
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  gap: 10px;
  min-width: 0;
}

.isee-directory-toolbar__icon {
  align-items: center;
  background: var(--isee-color-primary-soft);
  border: 1px solid var(--isee-color-border);
  border-radius: var(--isee-radius-md);
  color: var(--isee-color-primary);
  display: inline-flex;
  flex: 0 0 36px;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.isee-directory-toolbar__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.isee-directory-toolbar__actions {
  align-items: center;
  display: flex;
  float: none !important;
  gap: 8px;
  margin-inline-start: auto;
  min-width: 0;
}

.isee-directory-toolbar.posts-filter .countries-filter.isee-directory-toolbar__control {
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--isee-color-border) !important;
  border-radius: var(--isee-radius-md);
  box-shadow: none !important;
  color: var(--isee-color-text);
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  gap: 7px;
  justify-content: center;
  min-height: 40px !important;
  min-width: 0;
  padding: 0 12px !important;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
  white-space: nowrap;
}

.isee-directory-toolbar.posts-filter .countries-filter.isee-directory-toolbar__control > .fa {
  color: var(--isee-color-primary);
}

.isee-directory-toolbar.posts-filter .countries-filter.isee-directory-toolbar__control:hover,
.isee-directory-toolbar.posts-filter .countries-filter.isee-directory-toolbar__control.show {
  background: var(--isee-color-primary-soft);
  border-color: var(--isee-color-primary) !important;
  color: var(--isee-color-primary-hover);
}

.isee-directory-toolbar.posts-filter .countries-filter.isee-directory-toolbar__control:focus-visible {
  box-shadow: 0 0 0 3px var(--isee-color-accent-soft) !important;
  outline: 2px solid var(--isee-color-accent);
  outline-offset: 2px;
}

.isee-directory-toolbar__control-label {
  display: block;
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.isee-directory-toolbar__chevron {
  font-size: 10px;
  margin-inline-start: 2px;
  transition: transform 160ms ease;
}

.isee-directory-toolbar.posts-filter .countries-filter.isee-directory-toolbar__control.show .isee-directory-toolbar__chevron {
  transform: rotate(180deg);
}

.isee-directory-toolbar.posts-filter .countries-dropdown {
  border: 1px solid var(--isee-color-border);
  border-radius: var(--isee-radius-lg);
  box-shadow: var(--isee-shadow-card);
  padding: 8px;
}

.isee-directory-toolbar.posts-filter .countries-dropdown .dropdown-item {
  border-radius: var(--isee-radius-sm);
}

body.night-mode :is(.isee-watch-directory, .isee-pages-page) .isee-directory-toolbar.posts-filter {
  background: linear-gradient(135deg, var(--isee-color-surface) 0%, rgba(94, 210, 194, 0.07) 100%);
  border-color: var(--isee-color-border);
  box-shadow: none;
}

body.night-mode .isee-directory-toolbar.posts-filter .countries-filter.isee-directory-toolbar__control {
  background: var(--isee-color-primary-soft);
  color: var(--isee-color-text);
}

@media (max-width: 575.98px) {
  :is(.isee-watch-directory, .isee-pages-page) .isee-directory-toolbar.posts-filter {
    border-radius: var(--isee-radius-md);
    gap: 8px;
    min-height: 54px;
    padding: 7px;
  }

  .isee-directory-toolbar__title {
    font-size: 15px;
    gap: 8px;
  }

  .isee-directory-toolbar__icon {
    flex-basis: 34px;
    height: 34px;
    width: 34px;
  }

  .isee-directory-toolbar.posts-filter .countries-filter.isee-directory-toolbar__control {
    font-size: 13px;
    min-height: 38px !important;
    padding-inline: 9px !important;
  }

  .isee-directory-toolbar__control-label {
    max-width: min(44vw, 170px);
  }

  .isee-pages-toolbar.posts-filter {
    flex-wrap: wrap;
    padding: 7px;
  }

  .isee-pages-toolbar .isee-directory-toolbar__title,
  .isee-pages-toolbar .isee-directory-toolbar__actions {
    width: 100%;
  }

  .isee-pages-toolbar .isee-directory-toolbar__actions {
    gap: 8px;
    margin-inline-start: 0;
  }

  .isee-pages-toolbar .isee-directory-toolbar__control {
    flex: 1 1 0;
    min-width: 0;
  }

  .isee-pages-toolbar .isee-directory-toolbar__control-label {
    flex: 1 1 auto;
    max-width: none;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .isee-directory-toolbar.posts-filter .countries-filter.isee-directory-toolbar__control,
  .isee-directory-toolbar__chevron {
    transition: none;
  }
}

/* People discovery: compact native search form with governed VI hierarchy. */
.isee-people-page .isee-people-search-card {
  background: var(--isee-color-surface);
  border: 1px solid rgba(12, 117, 111, 0.16);
  border-block-start: 3px solid var(--isee-color-accent);
  border-radius: var(--isee-radius-lg);
  box-shadow: 0 12px 30px rgba(24, 72, 65, 0.08);
  overflow: hidden;
}

.isee-people-page .isee-people-search-card__header {
  align-items: center;
  background: var(--isee-color-primary-soft);
  border-bottom: 1px solid var(--isee-color-border);
  color: var(--isee-color-text);
  display: flex;
  gap: 10px;
  justify-content: flex-start !important;
  min-height: 58px;
  padding: 10px 14px !important;
}

.isee-people-search-card__icon {
  align-items: center;
  background: var(--isee-color-surface);
  border: 1px solid var(--isee-color-border);
  border-radius: var(--isee-radius-md);
  color: var(--isee-color-primary);
  display: inline-flex;
  flex: 0 0 36px;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.isee-people-search-card__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.isee-people-search-card__body {
  padding: 16px;
}

.isee-people-search-form .form-group {
  margin-bottom: 14px;
}

.isee-people-search-form .form-label {
  color: var(--isee-color-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 7px;
}

.isee-people-search-form .form-control,
.isee-people-search-form .form-select,
.isee-people-search-form .input-group-text {
  background-color: var(--isee-color-surface);
  border-color: var(--isee-color-border);
  border-radius: var(--isee-radius-md);
  color: var(--isee-color-text);
  min-height: 44px;
}

.isee-people-search-form .form-control,
.isee-people-search-form .form-select {
  font-size: 14px;
  height: 44px;
  padding-block: 8px;
}

.isee-people-search-form .input-group > .input-group-text {
  border-end-end-radius: 0;
  border-start-end-radius: 0;
  color: var(--isee-color-primary);
  font-size: 12px;
  font-weight: 700;
}

.isee-people-search-form .input-group > .form-control {
  border-end-start-radius: 0;
  border-start-start-radius: 0;
}

.isee-people-search-form .form-control:hover,
.isee-people-search-form .form-select:hover {
  border-color: rgba(12, 117, 111, 0.42);
}

.isee-people-search-form .form-control:focus,
.isee-people-search-form .form-select:focus,
.isee-people-search-form .custom-range:focus-visible {
  border-color: var(--isee-color-primary) !important;
  box-shadow: 0 0 0 3px var(--isee-color-accent-soft) !important;
  outline: 2px solid transparent;
}

.isee-people-search-form__submit {
  align-items: center;
  border-radius: var(--isee-radius-md);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  height: 44px;
  min-height: 44px;
}

.isee-people-search-form__submit:focus-visible {
  box-shadow: 0 0 0 3px var(--isee-color-accent-soft);
  outline: 2px solid var(--isee-color-accent);
  outline-offset: 2px;
}

body.night-mode .isee-people-page .isee-people-search-card {
  background: var(--isee-color-surface);
  border-color: var(--isee-color-border);
  box-shadow: none;
}

body.night-mode .isee-people-page .isee-people-search-card__header {
  background: var(--isee-color-primary-soft);
}

body.night-mode .isee-people-search-card__icon,
body.night-mode .isee-people-search-form .form-control,
body.night-mode .isee-people-search-form .form-select,
body.night-mode .isee-people-search-form .input-group-text {
  background-color: var(--isee-color-surface);
}

@media (max-width: 991.98px) {
  .isee-people-search-column {
    margin-bottom: 20px;
  }
}

@media (max-width: 767.98px) {
  .isee-people-page .isee-people-search-card {
    border-radius: var(--isee-radius-md);
  }

  .isee-people-page .isee-people-search-card__header {
    min-height: 54px;
    padding: 8px 14px !important;
  }

  .isee-people-search-card__icon {
    flex-basis: 34px;
    height: 34px;
    width: 34px;
  }

  .isee-people-search-card__body {
    padding: 14px 16px 16px;
  }

  .isee-people-search-form .form-group {
    margin-bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .isee-people-search-form .form-control,
  .isee-people-search-form .form-select {
    transition: none;
  }
}
