/* ============================================
   RestauVert — LinkedIn Company Page (Standalone)
   ============================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f4f2ee;
  color: #191919;
  line-height: 1.5;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }

/* ── TOPBAR ── */
.ln-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  height: 52px;
}

.ln-topbar-inner {
  max-width: 1128px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.ln-topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ln-li-icon { flex-shrink: 0; }

.ln-search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #eef3f8;
  padding: 6px 16px;
  border-radius: 4px;
  color: #666;
  font-size: 13px;
  min-width: 240px;
}

.ln-topbar-nav {
  display: flex;
  gap: 4px;
}

.ln-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 16px;
  font-size: 11px;
  color: #666;
  border-bottom: 2px solid transparent;
  transition: color 0.15s;
}

.ln-nav-item:hover { color: #191919; }
.ln-nav-item.active { color: #191919; border-bottom-color: #191919; }
.ln-nav-item span { font-size: 11px; }

/* ── MAIN ── */
.ln-main {
  padding-bottom: 40px;
}

/* ── COVER ── */
.ln-cover {
  height: 200px;
  background: linear-gradient(135deg, #0a3d1f 0%, #1a6b3a 40%, #2d8a4e 70%, #1a4e30 100%);
  position: relative;
  overflow: hidden;
}

.ln-cover-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(76,175,80,0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 40%, rgba(125,224,160,0.1) 0%, transparent 40%);
}

.ln-cover-tagline {
  position: absolute;
  bottom: 20px;
  left: 24px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(0,0,0,0.2);
  padding: 4px 14px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

/* ── CONTAINER ── */
.ln-container {
  max-width: 1128px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ── COMPANY CARD ── */
.ln-company-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 0 0 8px 8px;
  padding: 24px 24px 20px;
  margin-top: -40px;
  position: relative;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.ln-logo {
  width: 108px;
  height: 108px;
  border-radius: 8px;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #e0e0e0;
  object-fit: contain;
  background: #fff;
  padding: 8px;
  margin-top: -52px;
  flex-shrink: 0;
}

.ln-company-body { flex: 1; }

.ln-company-body h1 {
  font-size: 24px;
  font-weight: 700;
  color: #191919;
  line-height: 1.2;
}

.ln-tagline {
  font-size: 14px;
  color: #666;
  margin: 4px 0 8px;
  line-height: 1.5;
}

.ln-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
}

.ln-meta span::after {
  content: '·';
  margin-left: 6px;
  color: #ccc;
}

.ln-meta span:last-child::after { content: ''; }

.ln-actions {
  display: flex;
  gap: 8px;
}

.ln-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.15s;
  cursor: pointer;
}

.ln-btn-blue {
  background: #0a66c2;
  color: #fff;
}
.ln-btn-blue:hover { background: #004182; }

.ln-btn-outline {
  border: 1px solid #0a66c2;
  color: #0a66c2;
  background: transparent;
}
.ln-btn-outline:hover { background: rgba(10,102,194,0.06); border-width: 2px; padding: 7px 19px; }

/* ── TABS ── */
.ln-tabs {
  display: flex;
  gap: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-radius: 0 0 8px 8px;
  margin-bottom: 16px;
  overflow-x: auto;
}

.ln-tab {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
  cursor: pointer;
  white-space: nowrap;
}

.ln-tab:hover { color: #191919; }
.ln-tab.active { color: #057642; border-bottom-color: #057642; }

/* ── GRID ── */
.ln-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 16px;
  align-items: start;
}

.ln-col-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ── CARDS ── */
.ln-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px 24px;
}

.ln-card h2 {
  font-size: 18px;
  font-weight: 700;
  color: #191919;
  margin-bottom: 12px;
}

.ln-card p {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 8px;
}

.ln-card p:last-of-type { margin-bottom: 0; }

/* Keypoints */
.ln-keypoints {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.ln-keypoint {
  background: #f3faf5;
  border: 1px solid #d4e8db;
  border-radius: 8px;
  padding: 14px;
}

.ln-keypoint strong {
  display: block;
  font-size: 14px;
  color: #191919;
  margin-bottom: 4px;
}

.ln-keypoint span {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}

/* ── POSTS ── */
.ln-post { padding: 0; }

.ln-post-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px 0;
}

.ln-post-logo {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: contain;
  background: #f3faf5;
  padding: 4px;
}

.ln-post-head strong {
  font-size: 14px;
  color: #191919;
  display: block;
}

.ln-post-head span {
  font-size: 12px;
  color: #999;
}

.ln-post-content {
  padding: 12px 24px;
}

.ln-post-content p {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 8px;
}

.ln-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0;
}

.ln-stat-box {
  background: #f3faf5;
  border-radius: 8px;
  padding: 16px 12px;
  text-align: center;
}

.ln-stat-val {
  font-size: 24px;
  font-weight: 700;
  color: #057642;
  line-height: 1;
  margin-bottom: 4px;
}

.ln-stat-lbl {
  font-size: 11px;
  color: #666;
  line-height: 1.3;
}

.ln-hashtags {
  margin-top: 6px;
  font-size: 13px;
  color: #0a66c2;
  font-weight: 600;
}

.ln-post-footer {
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #999;
}

.ln-post-bar {
  display: flex;
  border-top: 1px solid #e0e0e0;
}

.ln-post-bar button {
  flex: 1;
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  transition: background 0.15s;
}

.ln-post-bar button:hover {
  background: #f4f2ee;
  color: #191919;
}

/* ── SIDEBAR ── */
.ln-col-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: sticky;
  top: 68px;
}

.ln-side-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px 20px;
}

.ln-side-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #191919;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e0e0e0;
}

.ln-info-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ln-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #444;
}

.ln-info-icon { font-size: 14px; flex-shrink: 0; width: 20px; text-align: center; }

.ln-info-row a {
  color: #0a66c2;
  font-weight: 500;
}
.ln-info-row a:hover { text-decoration: underline; }

.ln-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ln-tags span {
  background: #f3faf5;
  color: #057642;
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
}

/* ── FOOTER ── */
.ln-footer {
  padding: 20px 0;
  text-align: center;
}

.ln-footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  color: #999;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .ln-grid { grid-template-columns: 1fr; }
  .ln-col-side { position: static; }
  .ln-search { display: none; }
  .ln-topbar-nav { gap: 0; }
  .ln-nav-item { padding: 4px 10px; }
}

@media (max-width: 600px) {
  .ln-cover { height: 140px; }
  .ln-logo { width: 80px; height: 80px; margin-top: -36px; }
  .ln-company-card { flex-direction: column; padding: 16px; gap: 12px; }
  .ln-company-body h1 { font-size: 20px; }
  .ln-actions { flex-direction: column; }
  .ln-btn { justify-content: center; }
  .ln-card { padding: 16px; }
  .ln-keypoints { grid-template-columns: 1fr; }
  .ln-stats-row { grid-template-columns: 1fr; }
  .ln-topbar-nav span { display: none; }
}
