*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f3f2ee;
  --white: #fff;
  --border: #e0ddd8;
  --text: #000000e0;
  --sub: #555;
  --muted: #888;
  --blue: #0a66c2;
  --blue-h: #004182;
  --green: #057642;
  --gold: #c79933;
  --shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 2px 6px rgba(0, 0, 0, .06);
}

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

/* NAV */
nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

.nav-logo svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.nav-search {
  display: flex;
  align-items: center;
  background: #eef3f8;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 6px 10px;
  gap: 8px;
  width: 260px;
  transition: border-color .2s;
}

.nav-search:focus-within {
  border-color: var(--blue);
  background: #fff;
}

.nav-search input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  font-family: inherit;
  width: 100%;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  color: var(--sub);
  font-size: 12px;
  font-weight: 500;
  gap: 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}

.nav-item:hover {
  color: var(--text);
}

.nav-item svg {
  width: 22px;
  height: 22px;
}

.nav-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
  margin: 0 6px;
}

.btn-post-job {
  border: 1px solid var(--blue);
  color: var(--blue);
  border-radius: 16px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  font-family: inherit;
  white-space: nowrap;
}

.btn-post-job:hover {
  background: #e8f0fb;
}

/* STICKY MINI PROFILE BAR */
.sticky-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 52px;
  z-index: 100;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  display: none;
}

.sticky-bar.show {
  display: flex;
}

.sticky-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a3a5c, #2d7dd2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.sticky-name {
  font-weight: 700;
  font-size: 14px;
}

.sticky-headline {
  font-size: 12px;
  color: var(--sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 500px;
}

.sticky-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.btn-outline {
  border: 1px solid var(--sub);
  border-radius: 16px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  font-family: inherit;
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--text);
  background: #f5f5f5;
}

.btn-filled {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.btn-filled:hover {
  background: var(--blue-h);
}

/* LAYOUT */
.layout {
  max-width: 1128px;
  margin: 0 auto;
  padding: 20px 16px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 16px;
  align-items: start;
}

/* CARDS */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 8px;
}

.card-inner {
  padding: 16px;
}

.card-section {
  border-top: 1px solid var(--border);
  padding: 16px;
}

/* PROFILE HERO */
.banner {
  height: 200px;
  background: linear-gradient(135deg, #0d1b2a 0%, #1b2838 30%, #0a3d62 60%, #1a6b3c 100%);
  position: relative;
  overflow: hidden;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='200'%3E%3Ccircle cx='350' cy='80' r='120' fill='none' stroke='%2300ff88' stroke-width='.5' opacity='.3'/%3E%3Ccircle cx='100' cy='150' r='80' fill='none' stroke='%230066cc' stroke-width='.5' opacity='.3'/%3E%3C/svg%3E") center/cover;
}

.edit-banner {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, .85);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.profile-pic-wrap {
  position: absolute;
  bottom: -48px;
  left: 20px;
  
}

.profile-pic {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: linear-gradient(135deg, #1a3a5c, #2d7dd2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 800;
  color: #000000;
 
  position: relative;
  /* overflow: hidden; */
}

.open-to-work-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 4px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, conic-gradient(#057642 0%, #057642 70%, transparent 70%) border-box;
}

.otw-label {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: #057642;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  border-radius: 10px;
  padding: 2px 6px;
  white-space: nowrap;
}

.profile-header {
  padding: 64px 20px 16px;
  position: relative;
}

.edit-profile {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--sub);
  font-size: 18px;
  padding: 6px;
}

.edit-profile:hover {
  color: var(--text);
}

.profile-name {
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.verify-badge {
  font-size: 12px;
  color: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 12px;
  padding: 2px 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.company-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-size: 13px;
  color: var(--sub);
}

.company-logo-sm {
  width: 22px;
  height: 22px;
  background: #0a66c2;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.profile-headline {
  font-size: 15px;
  color: var(--text);
  margin-top: 4px;
  line-height: 1.5;
}

.profile-location {
  font-size: 14px;
  color: var(--sub);
  margin-top: 4px;
}

.profile-location a {
  color: var(--blue);
  font-weight: 600;
}

.profile-connections {
  font-size: 14px;
  color: var(--blue);
  font-weight: 600;
  cursor: pointer;
  margin-top: 2px;
}

.profile-connections:hover {
  text-decoration: underline;
}

.profile-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.btn-open-to {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 7px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.btn-open-to:hover {
  background: var(--blue-h);
}

.btn-action {
  border: 1px solid var(--sub);
  border-radius: 16px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  font-family: inherit;
  color: var(--text);
}

.btn-action:hover {
  border-color: var(--text);
  background: #f5f5f5;
}

/* OPEN TO WORK BOXES */
.open-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.open-box {
  background: #edf3f8;
  border-radius: 8px;
  padding: 12px 14px;
  position: relative;
  cursor: pointer;
}

.open-box-edit {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--sub);
  font-size: 16px;
}

.open-box h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.open-box p {
  font-size: 13px;
  color: var(--sub);
  margin-top: 2px;
}

.open-box a {
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
}

.open-box a:hover {
  text-decoration: underline;
}

/* ANALYTICS */
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.analytic-item {
  padding: 12px 16px;
  cursor: pointer;
  border-right: 1px solid var(--border);
}

.analytic-item:last-child {
  border-right: none;
}

.analytic-item:hover {
  background: #f9f9f9;
}

.analytic-num {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.analytic-label {
  font-size: 13px;
  color: var(--sub);
  margin-top: 2px;
}

.analytic-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.analytic-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px 4px;
  border-bottom: 1px solid var(--border);
}

.analytic-header h3 {
  font-size: 16px;
  font-weight: 700;
}

.analytic-header span {
  font-size: 13px;
  color: var(--muted);
}

.show-all-analytics {
  padding: 12px 16px;
  color: var(--sub);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 4px;
}

.show-all-analytics:hover {
  color: var(--text);
  background: #f9f9f9;
}

/* ABOUT */
.about-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

.top-skills-box {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  cursor: pointer;
}

.top-skills-box:hover {
  background: #eee;
}

.top-skills-box span {
  font-size: 13px;
  color: var(--sub);
}

/* SECTIONS */
.sec-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 0;
}

.sec-title {
  font-size: 18px;
  font-weight: 700;
}

.sec-actions {
  display: flex;
  gap: 6px;
}

.sec-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--sub);
  font-size: 20px;
  padding: 4px;
  border-radius: 50%;
}

.sec-btn:hover {
  background: #f0f0f0;
  color: var(--text);
}

/* SERVICES */
.services-tag {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 5px 14px;
  font-size: 13px;
  margin: 8px 0 0 16px;
  cursor: pointer;
}

.services-tag:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* ACTIVITY */
.activity-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}

.activity-tab {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 5px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: background .15s;
}

.activity-tab.active {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.activity-tab:hover:not(.active) {
  background: #f0f0f0;
}

.post-item {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.post-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.post-meta strong {
  color: var(--text);
}

.post-body {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

.post-hashtag {
  color: var(--blue);
}

.post-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-top: 8px;
  overflow: hidden;
}

.post-card-inner {
  padding: 10px 12px;
  background: #f9f9f9;
}

.post-card-title {
  font-size: 13px;
  font-weight: 600;
}

.post-card-sub {
  font-size: 12px;
  color: var(--muted);
}

.post-reactions {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
}

.show-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  color: var(--sub);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-top: 1px solid var(--border);
}

.show-more-btn:hover {
  background: #f9f9f9;
  color: var(--text);
}

/* EXPERIENCE / EDUCATION */
.exp-item {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
}

.exp-logo {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
  background: #f5f5f5;
  color: var(--sub);
}

.exp-info {}

.exp-title {
  font-size: 14px;
  font-weight: 700;
}

.exp-company {
  font-size: 13px;
  color: var(--text);
}

.exp-date {
  font-size: 12px;
  color: var(--muted);
}

.exp-skills {
  font-size: 12px;
  color: var(--sub);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* SKILLS */
.skill-item {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
}

.skill-name {
  font-size: 15px;
  font-weight: 700;
}

.skill-endorsement {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.skill-end-logo {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  background: #0a66c2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  font-weight: 800;
  color: #fff;
}

.skill-end-text {
  font-size: 12px;
  color: var(--sub);
}

/* INTERESTS */
.interest-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 0 16px;
}

.interest-tab {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  color: var(--sub);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.interest-tab.active {
  color: var(--text);
  border-bottom-color: var(--text);
  font-weight: 700;
}

.interests-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.interest-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
}

.interest-logo {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  background: #f5f5f5;
}

.interest-info {}

.interest-name {
  font-size: 14px;
  font-weight: 700;
}

.interest-followers {
  font-size: 12px;
  color: var(--muted);
}

.btn-following {
  border: 1px solid var(--sub);
  border-radius: 16px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  font-family: inherit;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-following:hover {
  border-color: red;
  color: red;
}

/* SIDEBAR */
.sidebar {}

.sidebar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 8px;
  overflow: hidden;
}

.sidebar-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.sidebar-row:last-child {
  border-bottom: none;
}

.sidebar-row-title {
  font-size: 14px;
  font-weight: 700;
}

.sidebar-row-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.sidebar-row-val {
  font-size: 13px;
  color: var(--text);
}

.sidebar-edit {
  color: var(--sub);
  cursor: pointer;
  font-size: 16px;
}

.sidebar-edit:hover {
  color: var(--text);
}

/* LINKEDIN PROMO */
.promo-card {
  background: #1b3a5e;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 8px;
  box-shadow: var(--shadow);
}

.promo-header {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.promo-header svg {
  width: 60px;
}

.promo-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.promo-title span {
  color: #70a8ff;
}

.promo-btn {
  margin: 0 16px 4px;
  background: #0a66c2;
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.promo-img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}

/* PEOPLE YOU MAY KNOW */
.people-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}

.people-item:last-child {
  border-bottom: none;
}

.people-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.people-info {
  flex: 1;
}

.people-name {
  font-size: 13px;
  font-weight: 700;
}

.people-title {
  font-size: 12px;
  color: var(--muted);
}

.btn-connect {
  border: 1px solid var(--sub);
  border-radius: 16px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  width: fit-content;
}

.btn-connect:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.sidebar-show-all {
  padding: 12px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--sub);
  cursor: pointer;
  border-top: 1px solid var(--border);
}

.sidebar-show-all:hover {
  color: var(--text);
  background: #f9f9f9;
}

/* FOOTER */
footer {
  max-width: 1128px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-col a {
  font-size: 12px;
  color: var(--muted);
}

.footer-col a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.footer-col a.highlight {
  color: var(--blue);
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-right a {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-right a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.footer-copy {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* PROJECTS */
.project-item {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
}

.project-title {
  font-size: 14px;
  font-weight: 700;
}

.project-date {
  font-size: 12px;
  color: var(--muted);
}

.project-desc {
  font-size: 13px;
  color: var(--sub);
  margin-top: 4px;
  line-height: 1.5;
}

.project-skills {
  font-size: 12px;
  color: var(--sub);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.project-media {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.project-thumb {
  width: 80px;
  height: 60px;
  border-radius: 4px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  padding: 4px;
}