        .skip-to-content {
            position: absolute;
            left: -9999px;
            top: 0;
            z-index: 9999;
            padding: 8px 16px;
            background-color: var(--primary-color);
            color: #fff;
            text-decoration: none;
            font-weight: 700;
        }

        .skip-to-content:focus {
            left: 0;
        }

:root {
            --primary-color: #4a7c59;
            --secondary-color: #f8f9fa;
            --accent-color: #e6b36d;
            --text-color: #333;
            --light-text: #6c757d;
            --border-color: #dee2e6;
            --nav-bg: #f0f7f4;
            --hover-color: #3d6649;
            --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

              /* members directory */

            --bg: #f7f9fb;
            --card: #ffffff;
            --text: #0f172a;
            --muted: #475569;
            --ring: #0ea5e9;
            --btn: #386c6c;
            --btn-text: #ffffff;
            --shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.04);

            --text-main: #22252a;
            --text-muted: #6e7680;
            --accent: #1c8b5a;
            --accent-soft: #e8f6ef;
            --badge-bg: #ecf4ed;
            --badge-text: #2b7a4b;
            --shadow-soft: 0 6px 18px rgba(15, 23, 42, 0.06);
            --radius-lg: 16px;
            --radius-pill: 999px;
            --sidebar-width: 240px;
            --transition-fast: 0.18s ease-out;

            /* homepage */
            --kc-green: #235b4e;
            --kc-green-dark: #1c4740;
            --kc-green-light: #f3f8f6;
            --kc-accent: #f3d06a;
            --kc-text: #243036;
            --kc-muted: #66757f;
            --kc-border: #dde7e2;
            --kc-radius-lg: 14px;
            --kc-radius-xl: 20px;
            --kc-shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.06);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Atkinson Hyperlegible", sans-serif;
        }

        body {
            color: var(--text-color);
            line-height: 1.6;
            background-color: #fff;
            overflow-x: hidden;
        }

        a {
            color: var(--primary-color);
            text-decoration: none;
            transition: color 0.3s;
        }

        a:hover {
            color: var(--hover-color);
        }

        img {
            max-width: 100%;
        }

        /* Flex Grid System */
        .container {
            width: 100%;
            padding-right: 15px;
            padding-left: 15px;
            margin-right: auto;
            margin-left: auto;
        }

        .row {
            display: flex;
            flex-wrap: wrap;
            margin-right: -15px;
            margin-left: -15px;
        }

        .col {
            position: relative;
            width: 100%;
            padding-right: 15px;
            padding-left: 15px;
            flex-basis: 0;
            flex-grow: 1;
            max-width: 100%;
        }

        .col-auto {
            flex: 0 0 auto;
            width: auto;
            max-width: 100%;
        }

        .col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
        .col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
        .col-3 { flex: 0 0 25%; max-width: 25%; }
        .col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
        .col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
        .col-6 { flex: 0 0 50%; max-width: 50%; }
        .col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
        .col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
        .col-9 { flex: 0 0 75%; max-width: 75%; }
        .col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
        .col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
        .col-12 { flex: 0 0 100%; max-width: 100%; }

        /* Mobile First Approach */
        .d-flex { display: flex; }
        .flex-wrap { flex-wrap: wrap; }
        .flex-column { flex-direction: column; }
        .justify-content-between { justify-content: space-between; }
        .justify-content-center { justify-content: center; }
        .align-items-center { align-items: center; }
        .text-center { text-align: center; }
        .ml-auto { margin-left: auto; }
        .mb-2 { margin-bottom: 0.5rem; }
        .mb-3 { margin-bottom: 1rem; }
        .mb-4 { margin-bottom: 1.5rem; }
        .mt-3 { margin-top: 1rem; }
        .mt-4 { margin-top: 1.5rem; }
        .p-2 { padding: 0.5rem; }
        .p-3 { padding: 1rem; }
        .py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
        .py-3 { padding-top: 1rem; padding-bottom: 1rem; }
        .pb-3 { padding-bottom: 1rem; }
        .gap-2 { gap: 0.5rem; }
        .gap-3 { gap: 1rem; }

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

        /* Header */
        header {
            background-color: #fff;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            padding: 15px;

            top: 0;
            z-index: 100;
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }

        .logo-container {
            display: flex;
            align-items: center;
        }

        .logo-container img {
            height: 40px;
        }

        .header-right {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-top: 10px;
            flex-wrap: wrap;
        }

        .mobile-nav-toggle {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: var(--text-color);
            margin-left: 10px;
            display: inline-block;
        }

        .search-container {
            position: relative;
        }

        .search-container input {
            padding: 8px 15px;
            padding-right: 40px;
            border: 1px solid var(--border-color);
            border-radius: 50px;
            width: 200px;
            font-size: 14px;
            outline: none;
            transition: border-color 0.3s, box-shadow 0.3s;
        }

        .search-container input:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(74, 124, 89, 0.2);
        }

        .search-container button {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: var(--light-text);
            cursor: pointer;
        }

        .notifications {
            position: relative;
        }

        .notifications-count {
            position: absolute;
            top: -8px;
            right: -8px;
            background-color: #e74c3c;
            color: white;
            font-size: 11px;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .notifications {
            position: relative;
            display: inline-block;
            cursor: pointer;
            padding: 10px;
            background-color: #f1f1f1;
            border-radius: 5px;
        }

        /* Bell icon styling */
        .notifications i {
            font-size: 20px;
            color: #555;
        }

        /* Notification count styling */
        .notifications-count {
            background-color: #ff4d4d;
            color: white;
            font-size: 12px;
            font-weight: bold;
            border-radius: 50%;
            padding: 2px 6px;
            margin-left: 5px;
        }

        /* Dropdown menu styling */
        .notifications::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            height: 10px;
            background-color: transparent;
        }

        .notifications .dropdown-menu {
            position: absolute;
            top: calc(100% + 10px);
            left: 0;
            width: 200px;
            background-color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            border-radius: 5px;
            display: none;
            z-index: 1000;
        }

        /* The critical part - show menu on hover */
        .notifications:hover .dropdown-menu {
            display: block;
        }

        /* Menu items styling */
        .dropdown-menu a {
            display: block;
            padding: 10px 15px;
            color: #333;
            text-decoration: none;
            transition: background-color 0.2s;
        }

        .dropdown-menu a:hover {
            background-color: #f5f5f5;
        }

        .user-info {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .user-info img {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            object-fit: cover;
        }

        /* Sidebar */
        .sidebar {
            background-color: var(--nav-bg);
            padding: 20px 0;
            height: 100%;
            width: 250px;
            position: fixed;
            left: -250px;
            top: 0;
            transition: left 0.3s ease;
            z-index: 1000;
            overflow-y: auto;
            padding-top: 70px;
        }

        .sidebar.active {
            left: 0;
        }

        .sidebar-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 999;
            display: none;
        }

        .sidebar-overlay.active {
            display: block;
        }

        .sidebar-menu {
            list-style: none;
        }

        .sidebar-item {
            margin-bottom: 5px;
        }

        .sidebar-link {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 25px;
            color: var(--text-color);
            transition: all 0.3s;
            position: relative;
        }

        .sidebar-link:hover,
        .sidebar-link.active {
            background-color: rgba(74, 124, 89, 0.1);
            color: var(--primary-color);
        }

        .sidebar-link.active::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 4px;
            background-color: var(--primary-color);
        }

        .sidebar-link i {
            font-size: 18px;
            width: 24px;
            text-align: center;
        }

        .sidebar-item__divider {
            margin-bottom: 40px;
            position: relative;
        }

        .sidebar-item__divider::before {
            background-color: var(--border-color);
            bottom: -20px;
            content: "";
            display: inline-block;
            height: 1px;
            left: 0;
            position: absolute;
            right: 0;
        }

        .bluesky {
          height: 14px;
          width: 14px;
        }

        .hide {
          display: none;
        }

        /* Main Content */
        .main-content {
            padding: 20px 0;
            width: 100%;
        }

        .profile-banner {
            background-size: cover;
            background-position: center;
            border-radius: 10px;
            position: relative;
            margin-bottom: 30px;
            min-height: 200px;
        }

        .profile-info-card {
            background-color: white;
            border-radius: 10px;
            box-shadow: var(--card-shadow);
            padding: 30px 20px;
            position: relative;
            margin-bottom: 30px;
        }

        .profile-image-container {
            position: relative;
            margin-top: -90px;
            margin-bottom: 20px;
            text-align: center;
        }

        .profile-image {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            border: 4px solid white;
            object-fit: cover;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            display: inline-block;
        }

        .profile-title {
            color: var(--text-color);
            margin-bottom: 5px;
            font-size: 24px;
        }

        .profile-subtitle {
            color: var(--primary-color);
            margin-bottom: 15px;
            font-size: 16px;
        }

        .profile-institution {
            color: var(--light-text);
            font-size: 15px;
            margin-bottom: 20px;
        }

        .membership-badges {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-bottom: 20px;
        }

        .society-badge-wrap {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            background-color: var(--secondary-color);
            border-radius: 50px;
            font-size: 14px;
            transition: all 0.3s;
        }

        .society-badge-wrap:hover {
            background-color: #e9ecef;
        }

        .activity-list > li {
          list-style: none;
          margin-bottom: 15px;
        }

        .commons-sites-list > li {
          list-style: none;
          margin-bottom: 15px;
        }

        .profile-social {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-bottom: 20px;
        }

        .social-link {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            background-color: var(--secondary-color);
            border-radius: 50px;
            font-size: 14px;
            transition: all 0.3s;
        }

        .social-link:hover {
            background-color: #e9ecef;
        }

        .social-link i {
            font-size: 16px;
        }

        .at-prefix {
            font-weight: bold;
            font-size: 14px;
            color: var(--text-color);
            margin-right: -4px;
        }

        .profile-stats-card {
            display: flex;
            flex-direction: column;
            background-color: white;
            border-radius: 10px;
            box-shadow: var(--card-shadow);
            padding: 20px;
            margin-bottom: 30px;
        }

        .stat-header {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 15px;
            color: var(--text-color);
        }

        .profile-actions {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .action-btn {
            padding: 10px;
            background-color: var(--secondary-color);
            border: none;
            border-radius: 5px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s;
            text-align: center;
        }

        .action-btn.primary {
            background-color: var(--primary-color);
            color: white;
        }

        .action-btn:hover {
            background-color: #e9ecef;
        }

        .action-btn.primary:hover {
            background-color: var(--hover-color);
        }

        .content-card {
            background-color: white;
            border-radius: 10px;
            box-shadow: var(--card-shadow);
            padding: 20px;
            margin-bottom: 30px;
        }

        .card-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--border-color);
            color: var(--text-color);
        }

        .interests-list {
            list-style: none;
        }

        .interest-item {
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--border-color);
        }

        .interest-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .interest-link {
            font-weight: 500;
            font-size: 15px;
        }

        /* Main works container */
        .works-list {
          list-style-type: none;
          padding: 0;
          margin: 2rem 0;
          font-family: "Atkinson Hyperlegible", sans-serif;
        }

        /* Category headers (Journal article, Slides, etc.) */
        .works-list > li {
          margin-top: 1rem;
          margin-bottom: 0.5rem;
          border-bottom: 1px solid #eaeaea;
          padding-bottom: 1rem;
        }

        .works-list > li > strong {
          display: block;
          font-size: 1.2rem;
          color: #2c6747;
          margin-bottom: 0.75rem;
          padding-left: 0.5rem;
          border-left: 4px solid #2c6747;
        }

        /* Publications list */
        .works-list > li > ul {
          list-style-type: none;
          padding-left: 1rem;
          margin: 0;
        }

        .works-list > li > ul > li {
          list-style: none;
          border-radius: 4px;
          transition: background-color 0.2s;
          display: flex;
          align-items: flex-start;
          position: relative;
        }

        .works-list > li > ul > li::before {
            content: "•"; /* or use "\2022" */
            font-size: 1.2em;
            line-height: 1;
            margin-right: 0.5em;
            position: relative;
            top: 0.2em; /* this nudges it to align better */
        }

        .works-list > li > ul > li:hover {
          background-color: #f5f9f7;
        }

        /* Publication links */
        .works-list a {
          color: #1a5336;
          text-decoration: none;
          font-weight: 500;
          display: inline-block;
          border-bottom: 1px solid transparent;
          transition: border-color 0.2s;
        }

        .works-list a:hover {
          border-bottom-color: #1a5336;
        }

        /* Publication year */
        .works-list > li > ul > li::after {
          content: attr(data-year);
          color: #666;
        }

        .list-of-works {
          list-style: none;
        }

        #mastodon-feed > p {
          padding-top: 20px;
          padding-bottom: 20px;
          border-bottom: 1px solid var(--border-color);
        }

        .commons-group {
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--border-color);
        }

        .commons-group:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .about-text {
            font-size: 15px;
            line-height: 1.7;
            margin-bottom: 20px;
        }

        .bio-section {
            margin-bottom: 25px;
        }

        .bio-section-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--text-color);
        }

        .award-item {
            margin-bottom: 15px;
            padding-left: 20px;
            position: relative;
        }

        .award-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 10px;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: var(--primary-color);
        }

        .award-year {
            font-weight: 600;
            color: var(--primary-color);
        }

        /* Responsive Media Queries */
        @media (min-width: 576px) {
            .container {
                max-width: 540px;
            }

            .header-right {
                margin-top: 0;
            }
        }

        @media (min-width: 768px) {
            .container {
                max-width: 720px;
            }

            .profile-image-container {
                text-align: left;
                margin-top: -100px;
            }

            .col-md-6 { flex: 0 0 50%; max-width: 50%; }
            .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
            .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
        }

        @media (min-width: 992px) {
            .container {
                max-width: 960px;
            }

            .sidebar {
                position: sticky;
                top: 70px;
                left: 0;
                padding-top: 0;
                height: calc(100vh - 70px);
                display: block;
            }

            .mobile-nav-toggle {
                display: none;
            }

            .main-with-sidebar {
                display: flex;
            }

            .content-wrapper {
                flex: 1;
            }

            .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
            .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
            .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
            .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
        }

        @media (min-width: 1200px) {
            .container {
                max-width: 1140px;
            }
        }

        @media (min-width: 1600px) {
            .container {
                max-width: 1500px;
            }
        }

        /* Override for mobile/smaller screens */
        @media (max-width: 991.98px) {
            .sidebar {
                padding-top: 70px;
            }

            .search-container input {
                width: 150px;
            }

            .profile-banner {
                height: 150px;
            }

            .profile-social {
                justify-content: center;
            }

            .profile-info-card,
            .profile-stats-card,
            .content-card {
                padding: 15px;
            }

            .user-name {
                display: none;
            }
        }

        @media (max-width: 767.98px) {
            .header-container {
                flex-direction: column;
                align-items: stretch;
            }

            .logo-container {
                justify-content: space-between;
                width: 100%;
            }

            .kc-hero-logo-mark {
                display: none;
            }

            .mobile-nav-toggle {
                margin-left: 0;
                font-size: 28px;
            }

            .header-right {
                justify-content: space-between;
                width: 100%;
                margin-top: 15px;
            }

            .search-container {
                width: 100%;
            }

            .search-container input {
                width: 100%;
            }

            .user-info span {
                display: none;
            }

            .profile-title {
                font-size: 20px;
            }

            .profile-subtitle {
                font-size: 14px;
            }
        }

        @media (max-width: 575.98px) {
            .profile-image {
                width: 100px;
                height: 100px;
            }

            .about-text,
            .interest-link {
                font-size: 14px;
            }

            .card-title,
            .bio-section-title {
                font-size: 16px;
            }

            .profile-banner {
                height: 120px;
                margin-bottom: 40px;
            }

            .profile-image-container {
                margin-top: -60px;
            }

            .social-link {
                padding: 6px 10px;
                font-size: 12px;
            }
        }

.form-label-fixed {
  width: 10%;
  display: inline-block;
}

div {
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-word;
  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}


.sortable-item {
    padding: 10px;
    margin: 5px 0;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: move;
}

#sortable-list {
    list-style-type: none;
    padding: 0;
}

.ui-sortable-helper {
    opacity: 0.8;
}

.ui-sortable-placeholder {
    border: 1px dashed #ccc;
    visibility: visible !important;
    background: #f0f0f0 !important;
    height: 40px;
}

.inline-heading, .inline-input {
  display: inline-block;
}

.version{
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: small;
}

.vega-embed {
  width: 100%;
  display: flex;
}

.vega-embed details,
.vega-embed details summary {
  position: relative;
}

.works_deposits_card {
  width:100%;
}

#works a {
  color: #000000;
}

.social-icon {
  max-height: 14px;
}

.h1-associate {
            font-size: 2.2rem;
            margin-bottom: 15px;
            text-align: center;
            font-weight: 700;
        }

        .h3-associate {
            font-size: 1.3rem;
            margin-bottom: 30px;
            text-align: center;
            font-weight: 400;
            line-height: 1.5;
        }

        .h3-manage {
            font-size: 1.3rem;
            margin-bottom: 30px;
            text-align: left;
            font-weight: 400;
            line-height: 1.5;
        }

        .ol-associate {
            margin-bottom: 35px;
            padding-left: 0;
            list-style: none;
            counter-reset: step-counter;
        }

        .ol-associate li {
            counter-increment: step-counter;
            margin-bottom: 20px;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 12px;
            border-left: 4px solid #18453B;
            position: relative;
            line-height: 1.6;
            color: #18453B;
            transition: all 0.3s ease;
        }

        .ol-associate li:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(9, 25, 23, 0.15);
        }

        .ol-associate li::before {
            content: counter(step-counter);
            position: absolute;
            left: -15px;
            top: 15px;
            background: #18453B;
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 0.9rem;
        }

        .associate-steps {
            margin-bottom: 35px;
        }

        .associate-step {
            margin-bottom: 20px;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 12px;
            border-left: 4px solid #18453B;
            position: relative;
            line-height: 1.6;
            color: #18453B;
            transition: all 0.3s ease;
        }

        .associate-step:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(9, 25, 23, 0.15);
        }

        .p-associate {
            margin-top: 20px;
            color: #18453B;
            line-height: 1.6;
        }

        .a-associate {
            color: #18453B;
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
        }

        a.a-associate:hover {
            color: #18453B;
            text-decoration: underline;
        }

        .form-associate {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .form-associate label {
            font-weight: 600;
            color: #2c3e50;
            font-size: 1.1rem;
        }

        .form-associate input {
            padding: 15px 20px;
            border: 2px solid #18453B;
            border-radius: 10px;
            font-size: 1rem;
            transition: all 0.3s ease;
            background: white;
            max-width: 25%;
        }

        .form-associate input:focus {
            outline: none;
            border-color: #18453B;
            box-shadow: 0 0 0 3px rgba(9, 25, 23, 0.3);
        }

        .form-associate input[type="submit"] {
            padding: 15px 40px;
            background: linear-gradient(135deg, #18453B 0%, #18453B 100%);
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 20px;
            min-width: 400px;
        }

        .form-associate input[type="submit"]:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(9, 25, 23, 0.3);
        }

        .form-associate input[type="submit"]:active {
            transform: translateY(0);
        }

        .wrap{
          max-width: 980px;
          margin: 0 auto;
          padding: clamp(16px, 3vw, 28px);
        }

        /* Header (optional) */
        .page-title{
          margin: 0 0 16px;
          font-weight: 700;
          letter-spacing: .2px;
        }

        /* People list cards */
        .card{
          display: flex;
          align-items: center;
          gap: 16px;
          background: var(--card);
          border-radius: 14px;
          padding: 14px 16px;
          margin-bottom: 10px;
          box-shadow: var(--shadow);
          transition: transform .08s ease, box-shadow .08s ease;
        }
        .card:hover{ transform: translateY(-1px) }
        .card:focus-within{
          outline: 2px solid var(--ring);
          outline-offset: 2px;
        }

        /* Avatar / initial */
        .avatar, .initial{
          width: 150px; height: 150px; flex: 0 0 56px;
          border-radius: 50%;
          object-fit: cover;
          background: #e6eef2;
          color:#334155;
          display:grid; place-items:center;
          font-weight:700;
          letter-spacing:.5px;
        }

        /* Name & affiliation */
        .person{
          min-width: 0; /* enable truncation */
        }
        .name{
          margin: 0;
          font-weight: 650;
          font-size: 1rem;
          line-height: 1.2;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
          text-align: center;
        }
        .aff{
          margin-top: 3px;
          color: var(--muted);
          font-size: .9375rem;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
          text-align: center;
        }

        /* Follow button */
        .btn{
          margin-left: auto;
          appearance: none;
          border: 0;
          border-radius: 10px;
          padding: 8px 14px;
          background: var(--btn);
          color: var(--btn-text);
          font-weight: 600;
          cursor: pointer;
          transition: transform .06s ease, filter .06s ease, box-shadow .06s ease;
          box-shadow: 0 1px 2px rgba(0,0,0,.12);
        }
        .btn:hover{ filter: brightness(1.05) }
        .btn:active{ transform: translateY(1px) }
        .btn:focus-visible{
          outline: 2px solid var(--ring);
          outline-offset: 2px;
        }

        /* Pagination */
        .pager{
          display:flex;
          justify-content:center;
          align-items:center;
          gap:10px;
          margin-top: 18px;
          flex-wrap: wrap;
        }
        .pager a, .pager span{
          display:inline-block;
          background: var(--card);
          color: var(--text);
          padding: 8px 12px;
          border-radius: 10px;
          box-shadow: var(--shadow);
          text-decoration: none;
          font-weight: 600;
        }
        .pager a:hover{ filter: brightness(1.04) }
        .pager .disabled{
          opacity:.55;
          cursor: not-allowed;
        }

        /* Responsive tweaks */
        @media (max-width: 640px){
          .card{ padding: 12px }
          .avatar, .initial{ width: 48px; height: 48px; flex-basis:48px }
          .btn{ padding: 7px 12px }
        }

        /* Reduced motion */
        @media (prefers-reduced-motion: reduce){
          .card, .btn { transition: none }
        }

        .user-search-container {
          width: 60%;
          margin-left: auto;
          margin-right: auto;
          text-align: center;
        }

        .user-search {
          width: 60%;
        }

        .user-search-container input[type=text] {
            padding: 8px 15px;
            padding-right: 40px;
            border: 1px solid var(--border-color);
            border-radius: 50px;
            font-size: 14px;
            outline: none;
            transition: border-color 0.3s, box-shadow 0.3s;
        }

        .user-search-container input:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(74, 124, 89, 0.2);
        }

        .user-search-container input[type=submit] {
            background: none;
            border: solid var(--border-color);
            color: var(--light-text);
            cursor: pointer;
            border-radius: 50px;
            padding: 5px;
        }

        /* Interest filter banner */
        .interest-filter-banner {
          max-width: 980px;
          margin: 0 auto 12px;
          padding: 12px 20px;
          background: var(--kc-green-light, #eef5f1);
          border: 1px solid #d1e3da;
          border-radius: 10px;
          display: flex;
          align-items: center;
          justify-content: space-between;
          gap: 12px;
          flex-wrap: wrap;
        }

        .interest-filter-banner p {
          margin: 0;
          font-size: 0.95rem;
          color: var(--kc-text, #1a2e28);
        }

        .clear-filter {
          font-size: 0.85rem;
          color: var(--kc-green-dark, #235b4e);
          text-decoration: underline;
          white-space: nowrap;
        }

        /* Member interest tags on cards */
        .member-interests {
          display: flex;
          flex-wrap: wrap;
          gap: 5px;
          margin-top: 6px;
        }

        .member-interest-tag {
          display: inline-block;
          padding: 2px 8px;
          font-size: 0.75rem;
          background: var(--kc-green-light, #eef5f1);
          color: var(--kc-green-dark, #235b4e);
          border-radius: 999px;
          border: 1px solid #d1e3da;
          text-decoration: none;
          white-space: nowrap;
          transition: background 0.15s ease;
        }

        .member-interest-tag:hover {
          background: #d6eade;
          text-decoration: none;
        }

        .member-interest-more {
          display: inline-block;
          padding: 2px 8px;
          font-size: 0.75rem;
          color: var(--muted, #6b7c75);
          white-space: nowrap;
        }

        .cropper-image-div {
          min-height:360px;
          overflow:hidden;
        }

        .link-button {
         background: none;
         border: none;
         color: var(--primary-color);
         text-decoration: underline;
         cursor: pointer;
        }

        .inline-form {
          display: inline;
        }

         .table-provider {
           width: 33%;
         }

         .autoComplete_wrapper {
            display: inline-block;
            position: relative;
          }

          .autoComplete_wrapper > input {
            height: 3rem;
            width: 370px;
            margin: 0;
            padding: 0 2rem 0 3.2rem;
            box-sizing: border-box;
            -moz-box-sizing: border-box;
            -webkit-box-sizing: border-box;
            font-size: 1rem;
            text-overflow: ellipsis;
            color: var(--primary-color);
            outline: none;
            border-radius: 10rem;
            border: 0.05rem solid var(--primary-color);
            background-size: 1.4rem;
            background-position: left 1.05rem top 0.8rem;
            background-repeat: no-repeat;
            background-origin: border-box;
            background-color: #fff;
            transition: all 0.4s ease;
            -webkit-transition: all -webkit-transform 0.4s ease;
          }

          .autoComplete_wrapper > input::placeholder {
            color: var(--primary-color);
            transition: all 0.3s ease;
            -webkit-transition: all -webkit-transform 0.3s ease;
          }

          .autoComplete_wrapper > input:hover::placeholder {
            color: var(--primary-color);
            transition: all 0.3s ease;
            -webkit-transition: all -webkit-transform 0.3s ease;
          }

          .autoComplete_wrapper > input:focus::placeholder {
            padding: 0.1rem 0.6rem;
            font-size: 0.95rem;
            color: var(--primary-color);
          }

          .autoComplete_wrapper > input:focus::selection {
            background-color: var(--secondary-color);
          }

          .autoComplete_wrapper > input::selection {
            background-color: var(--secondary-color);
          }

          .autoComplete_wrapper > input:hover {
            color: var(--primary-color);
            transition: all 0.3s ease;
            -webkit-transition: all -webkit-transform 0.3s ease;
          }

          .autoComplete_wrapper > input:focus {
            color: var(--primary-color);
            border: 0.06rem solid var(--primary-color);
            box-shadow: 0 0 0 2px rgba(74, 124, 89, 0.2);
          }

          .autoComplete_wrapper > ul {
            position: absolute;
            max-height: 226px;
            overflow-y: scroll;
            box-sizing: border-box;
            left: 0;
            right: 0;
            margin: 0.5rem 0 0 0;
            padding: 0;
            z-index: 999;
            list-style: none;
            border-radius: 0.6rem;
            background-color: #fff;
            border: 1px solid rgba(33, 33, 33, 0.07);
            box-shadow: 0 3px 6px rgba(149, 157, 165, 0.15);
            outline: none;
            transition: opacity 0.15s ease-in-out;
            -moz-transition: opacity 0.15s ease-in-out;
            -webkit-transition: opacity 0.15s ease-in-out;
          }

          .autoComplete_wrapper > ul[hidden],
          .autoComplete_wrapper > ul:empty {
            display: block;
            opacity: 0;
            transform: scale(0);
          }

          .autoComplete_wrapper > ul > li {
            margin: 0.3rem;
            padding: 0.3rem 0.5rem;
            text-align: left;
            font-size: 1rem;
            color: #212121;
            border-radius: 0.35rem;
            background-color: rgba(255, 255, 255, 1);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            transition: all 0.2s ease;
          }

          .autoComplete_wrapper > ul > li mark {
            background-color: transparent;
            color: var(--primary-color);
            font-weight: bold;
          }

          .autoComplete_wrapper > ul > li:hover {
            cursor: pointer;
            background-color: var(--secondary-color);
          }

          .autoComplete_wrapper > ul > li[aria-selected="true"] {
            background-color: var(--secondary-color);
          }

          @media only screen and (max-width: 600px) {
            .autoComplete_wrapper > input {
              width: 18rem;
            }
          }



    .search-results {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .result-card {
      background: var(--bg);
      border-radius: var(--radius-lg);
      border: 1px solid var(--border-subtle);
      box-shadow: var(--shadow-soft);
      padding: 18px 20px;
      display: flex;
      gap: 18px;
      align-items: flex-start;
    }

    .result-card--person {
      padding: 20px 22px;
    }

    .result-card__avatar {
      width: 64px;
      height: 64px;
      border-radius: 999px;
      background-size: cover;
      background-position: center;
      flex-shrink: 0;
      border: 2px solid #d9e5e0;
    }

    .result-card__icon {
      width: 40px;
      height: 40px;
      border-radius: 14px;
      background: #e4ece8;
      flex-shrink: 0;
    }

    .result-card__body {
      flex: 1;
      min-width: 0;
    }

    .result-card__title-row {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      align-items: center;
    }

    .result-card__type {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--accent);
      background: var(--accent-soft);
      padding: 3px 8px;
      border-radius: var(--radius-pill);
      font-weight: 600;
      white-space: nowrap;
    }

    .result-card__title {
      margin: 0 0 4px;
      font-size: 18px;
      font-weight: 600;
    }

    .result-card__subtitle {
      font-size: 14px;
      color: var(--text-muted);
      margin-bottom: 6px;
    }

    .result-card__snippet {
      font-size: 14px;
      color: var(--text-muted);
      margin: 4px 0 10px;
      line-height: 1.4;
    }

    .result-card__meta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      align-items: center;
      margin-top: 4px;
    }

    .badge {
      display: inline-flex;
      align-items: center;
      padding: 4px 10px;
      border-radius: var(--radius-pill);
      background: var(--badge-bg);
      color: var(--badge-text);
      font-size: 12px;
      font-weight: 500;
      white-space: nowrap;
    }

    .badge--outline {
      background: transparent;
      border: 1px solid #d1e2d9;
    }

    .result-card__meta-pill {
      font-size: 12px;
      color: var(--text-muted);
      margin-left: auto;
      white-space: nowrap;
    }

    @media (max-width: 640px) {
      .result-card {
        flex-direction: row;
      }

      .result-card__avatar,
      .result-card__icon {
        width: 48px;
        height: 48px;
      }

      .search-header__title {
        font-size: 22px;
      }
    }

    .search-header {
      margin-bottom: 24px;
    }

    .search-header__title {
      font-size: 28px;
      margin: 0 0 4px;
    }

    .search-header__query {
      font-size: 16px;
      color: var(--text-muted);
    }

    .search-header__query strong {
      color: var(--text-main);
    }

    .search-header__meta {
      margin-top: 8px;
      font-size: 13px;
      color: var(--text-muted);
    }

        /* Top header (if you want it on the homepage template) */

    .kc-header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid #edf3f0;
    }

    .kc-header-inner {
      max-width: 1080px;
      margin: 0 auto;
      padding: 0.75rem 1.5rem;
      display: flex;
      align-items: center;
      gap: 1.25rem;
    }

    .kc-logo-mark {
      width: 40px;
      height: 40px;
      border-radius: 12px;
      background: var(--kc-green);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-weight: 700;
      font-size: 1.1rem;
      letter-spacing: 0.04em;
    }

    .kc-logo-text {
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      font-size: 0.85rem;
      color: var(--kc-green-dark);
      white-space: nowrap;
    }

    .kc-header-spacer {
      flex: 1;
    }

    .kc-header-search {
      position: relative;
      flex: 0 0 260px;
      max-width: 100%;
    }

    .kc-header-search input {
      width: 100%;
      padding: 0.5rem 2.25rem 0.5rem 0.875rem;
      border-radius: 999px;
      border: 1px solid #d2ded7;
      font-size: 0.9rem;
      color: var(--kc-text);
      background: #f8fbf9;
    }

    .kc-header-search input::placeholder {
      color: var(--kc-muted);
    }

    .kc-header-search-icon {
      position: absolute;
      right: 0.8rem;
      top: 50%;
      transform: translateY(-50%);
      font-size: 0.9rem;
      color: var(--kc-muted);
      pointer-events: none;
    }

    .kc-header-login {
      margin-left: 0.75rem;
      padding: 0.45rem 0.9rem;
      font-size: 0.85rem;
      border-radius: 999px;
      border: 1px solid #c9d8d1;
      background: #ffffff;
      color: var(--kc-green-dark);
      cursor: pointer;
      transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
    }

    .kc-header-login:hover {
      background: var(--kc-green-light);
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
      transform: translateY(-1px);
    }

    /* Page layout */

    .kc-main {
      max-width: 1080px;
      margin: 0 auto;
      padding: 2.5rem 1.5rem 3.5rem;
    }

    @media (min-width: 900px) {
      .kc-main {
        padding-top: 3.25rem;
      }
    }

    /* Hero section */

    .kc-hero-heading {
      margin: 0 0 0.75rem;
      font-size: 1.4rem;
      font-weight: 700;
      color: var(--kc-text);
      text-align: center;
    }

    .kc-hero-tagline {
      text-align: center;
    }

    .kc-hero {
      display: grid;
      gap: 2rem;
      margin-bottom: 3rem;
    }

    .kc-hero-logo-row {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1.25rem;
      margin-left: 10%;
      margin-right: auto;
    }

    .kc-hero-logo-mark {
      min-width: 70px;
      width: 70px;
      height: 70px;
      border-radius: 18px;
      background: var(--kc-green);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-weight: 800;
      font-size: 1.8rem;
      letter-spacing: 0.04em;
    }

    .kc-hero-logo-text {
      font-size: 1.6rem;
      font-weight: 800;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--kc-green-dark);
      line-height: 1.2;
    }

    .kc-hero-tagline {
      max-width: 620px;
      font-size: 1.05rem;
      line-height: 1.7;
      color: var(--kc-muted);
      margin-bottom: 1.75rem;
    }

    .kc-hero-tagline em {
      font-style: normal;
      color: var(--kc-green-dark);
      font-weight: 600;
    }

    .kc-hero-ctas {
      /* display: flex; */
      flex-wrap: wrap;
      gap: 0.75rem;
      margin-bottom: 0.75rem;
      margin-right: auto;
      margin-left: auto;
      text-align: center;
    }

    .kc-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      padding: 0.8rem 1.6rem;
      border: none;
      font-size: 0.98rem;
      font-weight: 600;
      cursor: pointer;
      transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.2s ease,
        color 0.2s ease;
      white-space: nowrap;
      margin-left: 10px;
      margin-right: 10px;
    }

    .kc-btn-primary {
      background: var(--kc-green);
      color: #ffffff;
      box-shadow: var(--kc-shadow-soft);
    }

    .kc-btn-primary:hover {
      background: var(--kc-green-dark);
      transform: translateY(-1px);
      box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14);
    }

    .kc-btn-secondary {
      background: var(--kc-green-light);
      color: var(--kc-green-dark);
      border: 1px solid #d1e3da;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    }

    .kc-btn-secondary:hover {
      background: #e4f0ea;
      transform: translateY(-1px);
      box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    }

    .kc-hero-meta {
      font-size: 0.9rem;
      color: var(--kc-muted);
      text-align: center;
    }

    .kc-hero-meta strong {
      color: var(--kc-green-dark);
    }

    /* Cards row (newsletter + support) */

    .kc-cards-row {
      display: grid;
      grid-template-columns: minmax(0, 1.3fr);
      gap: 1.5rem;
    }

    @media (min-width: 900px) {
      .kc-cards-row {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        align-items: start;
      }
    }

    .kc-card {
      border-radius: var(--kc-radius-xl);
      border: 1px solid var(--kc-border);
      background: #ffffff;
      box-shadow: var(--kc-shadow-soft);
      padding: 1.6rem 1.6rem 1.8rem;
    }

    .kc-card-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      margin-bottom: 1rem;
    }

    .hero-block {
      margin-left: auto;
      margin-right: auto;
    }

    .kc-card-title {
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--kc-green-dark);
    }

    .kc-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.2rem 0.7rem;
      border-radius: 999px;
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      background: var(--kc-green-light);
      color: var(--kc-green-dark);
    }

    .kc-card-body {
      font-size: 0.9rem;
      line-height: 1.6;
      color: var(--kc-muted);
    }

    /* Newsletter form */

    .kc-form-field {
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
      margin-bottom: 1rem;
    }

    .kc-form-label {
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--kc-text);
    }

    .kc-form-label span {
      color: #c9593d;
      margin-left: 0.15rem;
    }

    .kc-input {
      border-radius: 999px;
      border: 1px solid #cedad4;
      padding: 0.7rem 1rem;
      font-size: 0.9rem;
      background: #f8fbf9;
      color: var(--kc-text);
      outline: none;
      transition: border 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    }

    .kc-input::placeholder {
      color: var(--kc-muted);
    }

    .kc-input:focus {
      border-color: var(--kc-green);
      background: #ffffff;
      box-shadow: 0 0 0 3px rgba(35, 91, 78, 0.14);
    }

    .kc-form-helper {
      font-size: 0.8rem;
      color: var(--kc-muted);
    }

    .kc-card-footer {
      margin-top: 1.25rem;
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      align-items: center;
      justify-content: space-between;
    }

    .kc-support-list {
      list-style: none;
      padding: 0;
      margin: 0.2rem 0 0.9rem;
      font-size: 0.9rem;
      color: var(--kc-muted);
    }

    .kc-support-list li {
      margin-bottom: 0.25rem;
    }

    .kc-support-list strong {
      color: var(--kc-text);
    }

    .kc-tagline-mini {
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--kc-muted);
      margin-bottom: 0.3rem;
    }

    /* Utility */

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      border: 0;
    }

  .cv-file-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
  }

  .cv-link {
    text-decoration: none;
    color: #007bff;
  }

  .cv-link:hover {
    text-decoration: underline;
  }

  #delete-cv-btn {
    margin-left: 0.5em;
    background: none;
    border: none;
    padding: 2px 6px;
    color: #888;
    cursor: pointer;
    font-size: 0.95em;
    line-height: 1;
  }

  #delete-cv-btn:hover,
  #delete-cv-btn:focus {
    color: #c82333;
    outline: none;
  }

  #delete-cv-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
  }

  #cv_file_input {
    width: 100%;
  }

  #cv_upload_status {
    margin-top: 0.5em;
    display: none;
  }

  .form-check .form-check-input {
    margin-left: 0 !important;
    padding: 0 !important;
  }
