/* ==========================================================================
   Executive Social Profile Hub (LinkedIn + Instagram + Facebook Hybrid UI)
   ========================================================================== */

.social-hub-body {
  background: #f1f5f9;
  color: #0f172a;
}

.social-hub-main {
  padding: 1.25rem 0 3.5rem;
}

.social-hub-container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 1.1rem;
}

/* 1. Top Scroll Progress & Preloader */
.top-scroll-progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 3.5px;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.06);
  pointer-events: none;
}

.top-scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #10b981 0%, #0284c7 55%, #38bdf8 100%);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.65);
  transition: width 0.08s linear;
}

.exec-preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: radial-gradient(circle at 50% 35%, #112233 0%, #0b1120 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s ease;
}

.exec-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 2rem;
}

.preloader-logo-ring {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  padding: 3.5px;
  background: linear-gradient(135deg, #10b981, #38bdf8);
  box-shadow: 0 0 32px rgba(16, 185, 129, 0.45);
  animation: pulseLogo 1.5s ease-in-out infinite;
}

@keyframes pulseLogo {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.preloader-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  background: #0f172a;
}

.preloader-title {
  font-family: var(--font-latin);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #f8fafc;
  margin-top: 0.3rem;
}

.preloader-sub {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #34d399;
}

.preloader-track {
  width: 190px;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 0.3rem;
}

.preloader-fill {
  display: block;
  height: 100%;
  width: 45%;
  background: linear-gradient(90deg, #10b981, #38bdf8);
  border-radius: 999px;
  animation: preloadSlide 0.8s ease-in-out infinite alternate;
}

@keyframes preloadSlide {
  0% { transform: translateX(-30%); width: 35%; }
  100% { transform: translateX(130%); width: 65%; }
}

/* 2. Profile Cover Card (LinkedIn + Facebook Header) */
.profile-cover-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  margin-bottom: 1.35rem;
}

.pcc-banner {
  position: relative;
  min-height: 175px;
  background: linear-gradient(135deg, #0b1120 0%, #0f172a 48%, #064e3b 100%);
  padding: 1.45rem 2.2rem;
  padding-inline-start: 13.5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 2px solid rgba(52, 211, 153, 0.35);
}

.pcc-banner-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.pcc-banner-glow-1 {
  position: absolute;
  width: 340px;
  height: 340px;
  top: -140px;
  right: -60px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.28) 0%, transparent 70%);
  pointer-events: none;
}

.pcc-banner-glow-2 {
  position: absolute;
  width: 320px;
  height: 320px;
  bottom: -150px;
  left: 15%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.24) 0%, transparent 70%);
  pointer-events: none;
}

.pcc-banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.9rem;
}

.pcc-banner-brand {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.pcc-banner-logo {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.pcc-banner-code {
  text-align: start;
}

.pcc-banner-code .code-kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #34d399;
  margin-bottom: 0.2rem;
}

.pcc-banner-code strong {
  display: block;
  font-size: 1.08rem;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.35;
}

.pcc-banner-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.45rem;
}

.pcc-banner-chips span {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 700;
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
}

.pcc-banner-chips span i {
  color: #34d399;
  font-size: 0.76rem;
}

/* Profile Body Below Banner */
.pcc-body {
  padding: 0 2rem;
}

.pcc-top-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.35rem;
  flex-wrap: wrap;
  margin-top: -54px;
  padding-bottom: 1.15rem;
  position: relative;
  z-index: 3;
}

.pcc-avatar-wrap {
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
}

/* Instagram Story Gradient Ring */
.pcc-story-ring {
  width: 138px;
  height: 138px;
  border-radius: 50%;
  padding: 4.5px;
  background: linear-gradient(135deg, #10b981 0%, #0284c7 50%, #f59e0b 100%);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
  transition: transform 0.25s ease;
}

.pcc-avatar-wrap:hover .pcc-story-ring {
  transform: scale(1.03);
}

.pcc-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 4px solid #ffffff;
  background: #0f172a;
}

.pcc-online-badge {
  position: absolute;
  bottom: 10px;
  inset-inline-end: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #10b981;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.pcc-identity-col {
  flex: 1;
  min-width: 260px;
  padding-top: 58px;
}

.pcc-name-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}

.pcc-name-row h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0284c7;
  font-size: 1.25rem;
}

.pcc-handle {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
}

.pcc-headline {
  font-size: 0.98rem;
  font-weight: 700;
  color: #059669;
  margin-bottom: 0.55rem;
  line-height: 1.45;
}

.pcc-meta-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.8rem;
  color: #475569;
  font-weight: 600;
}

.pcc-meta-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
}

.pcc-meta-strip i {
  color: #0284c7;
  font-size: 0.84rem;
}

.pcc-actions-col {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  padding-top: 58px;
}

.pcc-social-icons {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pcc-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
}

.pcc-icon-btn:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  transform: translateY(-2px);
}

.pcc-icon-btn.whatsapp:hover {
  background: #10b981;
  border-color: #10b981;
}

.pcc-icon-btn.linkedin:hover {
  background: #0284c7;
  border-color: #0284c7;
}

/* Bio & Instagram Counters Row */
.pcc-bio-metrics-row {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1rem 0 1.15rem;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.pcc-bio {
  font-size: 0.91rem;
  color: #334155;
  line-height: 1.72;
  margin: 0;
}

.pcc-counters-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.75rem 0.6rem;
}

.pcc-counter-item {
  text-align: center;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 10px;
  transition: background 0.2s;
}

.pcc-counter-item:hover {
  background: #ffffff;
}

.pcc-counter-item strong {
  display: block;
  font-family: var(--font-latin);
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
}

.pcc-counter-item span {
  display: block;
  font-size: 0.73rem;
  font-weight: 700;
  color: #64748b;
  margin-top: 0.12rem;
}

/* 3. Instagram Story Highlights Strip */
.story-highlights-strip {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1rem 0.25rem;
  overflow-x: auto;
  border-bottom: 1px solid #e2e8f0;
  scrollbar-width: none;
}

.story-highlights-strip::-webkit-scrollbar {
  display: none;
}

.story-item {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.42rem;
  cursor: pointer;
  flex-shrink: 0;
  font-family: inherit;
  transition: transform 0.2s ease;
}

.story-item:hover {
  transform: translateY(-3px);
}

.story-ring {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #10b981, #0284c7);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.story-ring i {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #059669;
  transition: all 0.2s;
}

.story-item:hover .story-ring i {
  background: #0f172a;
  color: #34d399;
}

.story-ring.blue {
  background: linear-gradient(135deg, #0284c7, #38bdf8);
}
.story-ring.blue i { color: #0284c7; }

.story-ring.amber {
  background: linear-gradient(135deg, #d97706, #f59e0b);
}
.story-ring.amber i { color: #d97706; }

.story-ring.purple {
  background: linear-gradient(135deg, #7e22ce, #a855f7);
}
.story-ring.purple i { color: #7e22ce; }

.story-ring.slate {
  background: linear-gradient(135deg, #0f172a, #334155);
}
.story-ring.slate i { color: #0f172a; }

.story-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
}

/* 4. Profile Navigation Tabs Bar */
.profile-tabs-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding-top: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.profile-tabs-bar::-webkit-scrollbar {
  display: none;
}

.ptab-btn {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 0.85rem 1.15rem;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  transition: all 0.2s;
}

.ptab-btn i {
  font-size: 0.92rem;
}

.ptab-btn:hover {
  color: #0f172a;
  background: #f8fafc;
  border-radius: 10px 10px 0 0;
}

.ptab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: rgba(5, 150, 105, 0.05);
  border-radius: 10px 10px 0 0;
}

.ptab-count {
  font-style: normal;
  font-family: var(--font-latin);
  font-size: 0.72rem;
  font-weight: 800;
  background: #e2e8f0;
  color: #334155;
  padding: 0.08rem 0.48rem;
  border-radius: 999px;
}

.ptab-btn.active .ptab-count {
  background: var(--primary);
  color: #ffffff;
}

/* 5. Two-Column Social Workspace Grid (Sidebar + Feed) */
.social-workspace-grid {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  gap: 1.35rem;
  align-items: start;
}

.social-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  position: sticky;
  top: 5.2rem;
}

.side-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 1.2rem 1.25rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.side-card-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid #e2e8f0;
}

.side-card-head i {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.side-card-head h3 {
  font-size: 0.96rem;
  font-weight: 800;
  color: #0f172a;
}

.intro-facts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.intro-facts-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.intro-facts-list li i {
  color: #64748b;
  font-size: 0.95rem;
  margin-top: 3px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.intro-facts-list li span {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
}

.intro-facts-list li strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.38;
}

.side-degrees-list .degree-item {
  padding: 0.6rem 0.7rem;
}

.side-degrees-list .degree-badge {
  min-width: 52px;
  height: 28px;
  font-size: 0.7rem;
  padding: 0 0.45rem;
}

.side-degrees-list .degree-item strong {
  font-size: 0.8rem;
}

.side-degrees-list .degree-item span:not(.degree-badge) {
  font-size: 0.72rem;
}

.side-card-desc {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.62;
  margin-bottom: 0.85rem;
}

/* Sidebar Quick CV & Direct Links Card */
.side-quick-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.side-quick-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.8rem;
  border-radius: 11px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  color: #0f172a;
  transition: all 0.2s ease;
}

.side-quick-item:hover {
  border-color: var(--primary);
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.side-quick-item.primary-cv {
  background: var(--primary-soft);
  border-color: rgba(5, 150, 105, 0.35);
}

.side-quick-item i {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}

.side-quick-item.primary-cv i {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.side-quick-item strong {
  display: block;
  font-size: 0.79rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

.side-quick-item span {
  display: block;
  font-size: 0.71rem;
  color: #64748b;
}

/* Full-Width Architectural Methodology 3-Pillar Banner in Main Column */
.arch-methodology-banner {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-top: 4px solid var(--primary);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.amb-header {
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #e2e8f0;
}

.amb-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.amb-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid rgba(5, 150, 105, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.amb-title-row h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.15rem;
}

.amb-title-row p {
  font-size: 0.81rem;
  color: #64748b;
  margin: 0;
}

.amb-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.amb-pillar-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.amb-pillar-card:hover {
  background: #ffffff;
  border-color: rgba(5, 150, 105, 0.4);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

.amb-p-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.amb-p-head i {
  color: var(--primary);
  font-size: 0.98rem;
}

.amb-p-head strong {
  font-size: 0.86rem;
  font-weight: 800;
  color: #0f172a;
}

.amb-pillar-card p {
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.58;
  margin: 0;
}

.amb-p-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

.amb-p-chips span {
  direction: ltr;
  unicode-bidi: isolate;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #0369a1;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 0.22rem 0.4rem;
  border-radius: 6px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 860px) {
  .amb-pillars-grid {
    grid-template-columns: 1fr;
  }
}

/* 6. Main Social Feed Column & Section Headers */
.social-feed-column {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  min-width: 0;
}

.feed-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feed-block.hidden-tab {
  display: none !important;
}

.feed-section-bar {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 0.85rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.fsb-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.fsb-title i {
  color: var(--primary);
  font-size: 1.05rem;
}

.fsb-title h3 {
  font-size: 1.02rem;
  font-weight: 800;
  color: #0f172a;
}

.fsb-badge {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 700;
  color: #0369a1;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
}

.compact-filters {
  margin-bottom: 0;
}

.compact-filters .filter-tab {
  padding: 0.32rem 0.8rem;
  font-size: 0.77rem;
}

/* Compact Project Cards (Sleek LinkedIn Featured Systems Height) */
.compact-project-card {
  padding: 1.05rem 1.2rem !important;
  border-radius: 14px !important;
}

.compact-project-card .project-top-meta {
  margin-bottom: 0.55rem;
}

.compact-project-card .project-icon-box {
  width: 38px;
  height: 38px;
  font-size: 1.08rem;
  border-radius: 10px;
}

.compact-project-card .project-title {
  font-size: 0.98rem;
  line-height: 1.38;
  margin-bottom: 0.38rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.compact-project-card .project-arch-ribbon {
  font-family: inherit !important;
  letter-spacing: 0 !important;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.55rem;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.compact-project-card .compact-desc {
  font-size: 0.81rem;
  line-height: 1.55;
  margin-bottom: 0.65rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.compact-project-card .project-tags {
  margin-bottom: 0.7rem;
  gap: 0.3rem;
}

.compact-project-card .project-tag {
  font-size: 0.68rem;
  padding: 0.12rem 0.45rem;
}

.compact-project-card .project-actions {
  padding-top: 0.65rem;
}

.compact-project-card .btn-arch-details,
.compact-project-card .btn-live {
  padding: 0.4rem 0.65rem;
  font-size: 0.77rem;
}

/* Compact Experience & Teaching Cards inside Feed */
.social-exp-timeline .exp-matrix-card,
.social-teaching-grid .teaching-card {
  padding: 1.1rem 1.2rem;
}

.social-exp-timeline .exp-role-block {
  padding: 0.55rem 0.75rem;
  margin-bottom: 0.7rem;
}

.social-exp-timeline .exp-achievements-list {
  gap: 0.38rem;
  margin-bottom: 0.75rem;
}

.social-exp-timeline .exp-achievements-list li {
  font-size: 0.8rem;
  line-height: 1.5;
}

/* 7. Social Engineering Post Card (LinkedIn / Facebook Feed Post) */
.feed-posts-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.feed-search-mini {
  position: relative;
  width: 210px;
}

.feed-search-mini i {
  position: absolute;
  inset-inline-start: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 0.8rem;
}

.feed-search-mini input {
  width: 100%;
  padding: 0.38rem 0.75rem;
  padding-inline-start: 2rem;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.78rem;
  background: #f8fafc;
}

.feed-search-mini input:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
}

.btn-feed-link {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.post-cat-pills {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.pcat-chip {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-family: inherit;
  font-size: 0.77rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}

.pcat-chip:hover,
.pcat-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.social-posts-stream {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.social-post-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: all 0.25s ease;
}

.social-post-card:hover {
  border-color: rgba(5, 150, 105, 0.45);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.09);
  transform: translateY(-3px);
}

.spc-author-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem 0.7rem;
}

.spc-author-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.spc-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 1.5px solid var(--primary);
}

.spc-author-meta strong {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.84rem;
  font-weight: 800;
  color: #0f172a;
}

.spc-author-meta strong i {
  color: #0284c7;
  font-size: 0.82rem;
}

.spc-author-meta span {
  display: block;
  font-size: 0.71rem;
  color: #64748b;
}

.spc-cat-badge {
  font-size: 0.7rem;
  font-weight: 800;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid rgba(5, 150, 105, 0.22);
  padding: 0.2rem 0.68rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}

.spc-content {
  padding: 0 1.1rem 0.85rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.spc-title {
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.48;
  color: #0f172a;
}

.spc-title a {
  color: inherit;
  text-decoration: none;
}

.spc-title a:hover {
  color: var(--primary);
}

.spc-excerpt {
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

.spc-tags span {
  direction: ltr;
  unicode-bidi: isolate;
  font-family: var(--font-latin);
  font-size: 0.68rem;
  font-weight: 700;
  color: #0369a1;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 0.1rem 0.48rem;
  border-radius: 6px;
}

.spc-media {
  display: block;
  aspect-ratio: 16 / 8.7;
  background: #0b1120;
  overflow: hidden;
  border-top: 1px solid #1e293b;
  border-bottom: 1px solid #1e293b;
}

.spc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.social-post-card:hover .spc-media img {
  transform: scale(1.035);
}

.spc-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.1rem;
  background: #f8fafc;
}

.spc-Metrics {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #64748b;
}

.spc-Metrics span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.spc-Metrics i {
  color: var(--primary);
}

.spc-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.79rem;
  font-weight: 800;
  color: #ffffff;
  background: var(--primary);
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s;
}

.spc-read-btn:hover {
  background: var(--primary-hover);
}

/* Shimmer Skeletons */
.skeleton-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.sk-line,
.sk-block {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 37%, #f1f5f9 63%);
  background-size: 400% 100%;
  animation: shimmerAnim 1.35s ease infinite;
  border-radius: 8px;
}

.sk-line { height: 14px; }
.sk-w40 { width: 40%; }
.sk-w50 { width: 50%; }
.sk-w60 { width: 60%; }
.sk-w80 { width: 80%; }
.sk-block { height: 110px; border-radius: 12px; }

@keyframes shimmerAnim {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

/* Floating Quick Action Dock */
.floating-dock {
  position: fixed;
  bottom: 1.35rem;
  inset-inline-end: 1.35rem;
  z-index: 950;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: center;
}

.fab-btn {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.12rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.22);
  transition: all 0.22s ease;
}

.fab-btn:hover {
  transform: translateY(-3px) scale(1.05);
}

.fab-whatsapp {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
}

.fab-cv {
  background: #0f172a;
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.35);
}

.fab-top {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.fab-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 1060px) {
  .social-workspace-grid {
    grid-template-columns: 1fr;
  }
  .social-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .social-sidebar .side-card:last-child {
    grid-column: 1 / -1;
  }
  .pcc-bio-metrics-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .social-sidebar,
  .social-posts-stream {
    grid-template-columns: 1fr;
  }

  .profile-cover-card {
    border-radius: 16px;
  }

  .pcc-banner {
    padding: 1.05rem 1rem 3.55rem;
    padding-inline-start: 1rem;
    min-height: 155px;
  }

  .pcc-banner-content {
    align-items: center;
    text-align: center;
    gap: 0.7rem;
  }

  /* Hide duplicate AI logo inside banner on mobile since navbar already displays it right above */
  .pcc-banner-logo {
    display: none;
  }

  .pcc-banner-brand {
    justify-content: center;
    width: 100%;
  }

  .pcc-banner-code {
    text-align: center;
  }

  .pcc-banner-code .code-kicker {
    font-size: 0.71rem;
    margin-bottom: 0.25rem;
  }

  .pcc-banner-code strong {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .pcc-banner-chips {
    justify-content: center;
    gap: 0.35rem;
  }

  .pcc-banner-chips span {
    font-size: 0.65rem;
    padding: 0.22rem 0.55rem;
  }

  .pcc-body {
    padding: 0 1rem;
  }

  .pcc-top-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: -54px;
    gap: 0.85rem;
  }

  .pcc-story-ring {
    width: 112px;
    height: 112px;
    padding: 3.5px;
  }

  .pcc-online-badge {
    width: 15px;
    height: 15px;
    bottom: 7px;
    inset-inline-end: 7px;
  }

  .pcc-identity-col,
  .pcc-actions-col {
    padding-top: 0;
    width: 100%;
  }

  .pcc-name-row,
  .pcc-meta-strip,
  .pcc-actions-col {
    justify-content: center;
  }

  .pcc-name-row h1 {
    font-size: 1.38rem;
  }

  .pcc-headline {
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .pcc-meta-strip {
    gap: 0.55rem 0.85rem;
    font-size: 0.75rem;
  }

  .pcc-counters-bar {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.3rem;
    padding: 0.6rem 0.35rem;
  }

  .pcc-counter-item strong {
    font-size: 1.08rem;
  }

  .pcc-counter-item span {
    font-size: 0.66rem;
  }
}
