
.linkedin-card {
  width: 260px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background-color: white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  cursor: pointer;
  margin-bottom: -10px;
}

.linkedin-header {
  background-color: #f3efea;
  padding: 12px;
  display: flex;
  align-items: center;
}

.linkedin-header a {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  color: #0a66c2;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.7px;
  margin-right: 4px;
}

.linkedin-header img {
  height: 20px;
  margin-bottom: 3px;
}

.content {
  padding: 16px;
  box-sizing: border-box;
}

.linkedin-content {
  padding: 16px;
  box-sizing: border-box;
}

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

.profile-section img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: 10px;
  margin-bottom: 10px;
}

.name {
  margin-top: 5px;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 5px;
}

.title,
.bio,
.hashtags {
  font-size: 12.5px;
  color: #444;
  line-height: 1.3;
}

.bio {
  margin-bottom: 6px;
  line-height: 1.4;
}

.hashtags {
  margin-bottom: 8px;
}

.view-profile {
  display: inline-block;
  margin-top: 4px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #0a66c2;
  color: #0a66c2;
  background-color: white;
  border-radius: 16px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.view-profile:hover {
  background-color: #e6f0fb;
}

/* Responsive Design */
@media (max-width: 600px) {
  .linkedin-card {
    width: 95%;
    margin: 0 10px;
  }

  .linkedin-header a {
    font-size: 18px;
  }

  .name {
    font-size: 14px;
  }

  .title {
    font-size: 12px;
  }

  .view-profile {
    font-size: 12px;
    padding: 6px 12px;
  }
}

@media (max-width: 400px) {
  .linkedin-header {
    padding: 10px;
  }

  .profile-section img {
    width: 40px;
    height: 40px;
  }

  .name {
    font-size: 14px;
  }

  .title {
    font-size: 11px;
  }

  .view-profile {
    font-size: 11px;
    padding: 6px 10px;
  }
}

/* DARK MODE STYLES */
body.drK .linkedin-card {
  background-color: #2d2d30;
  border-color: #444;
  box-shadow: 0 1px 2px rgba(255, 255, 255, 0.05);
}

body.drK .linkedin-header {
  background-color: #3a3a3d;
}

body.drK .linkedin-header a {
  color: #2f90ff;
}

body.drK .title,
body.drK .bio,
body.drK .hashtags,
body.drK .name {
  color: #e1e1e1;
}

body.drK .view-profile {
  background-color: #2d2d30;
  color: #58a6ff;
  border-color: #58a6ff;
}

body.drK .view-profile:hover {
  background-color: #1c1c1f;
}


.instagram-post-card {
  width: 260px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  font-size: 13px;
  position: relative;
  border: 1px solid #ddd;
  margin-bottom: -10px;
}

.top-instagram-logo {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px;
  background-color: #eee8e0;
  padding-top: 10px;
}

.top-instagram-logo img.text-logo {
  width: 100px;
  height: auto;
}

.top-instagram-logo img.icon-logo {
  width: 18px;
  height: 18px;
  margin-bottom: 2px;
}

.post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px 6px;
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-info span.name {
  font-weight: 600;
  font-size: 13.5px;
}

.user-info span.date {
  color: #888;
  font-size: 11.5px;
}

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

.user-avatar img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.three-dots {
  font-size: 20px;
  cursor: pointer;
}

.post-caption {
  padding: 0 14px 12px;
  font-size: 13px;
  color: #333;
}

.post-image-container {
  position: relative;
}

.post-image-container img {
  width: 100%;
  display: block;
}

.pagination-overlay {
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 600px) {
  .instagram-post-card {
    width: 95%;
    margin: 0 10px;
  }

  .top-instagram-logo {
    padding: 8px;
  }

  .top-instagram-logo img.text-logo {
    width: 90px;
  }

  .post-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 14px 4px;
  }

  .post-caption {
    font-size: 12px;
  }

  .pagination-overlay {
    font-size: 10px;
    padding: 2px 5px;
  }

  .user-info span.name {
    font-size: 12px;
  }

  .user-info span.date {
    font-size: 10.5px;
  }

  .user-avatar img {
    width: 30px;
    height: 30px;
  }

  .three-dots {
    font-size: 18px;
  }
}

@media (max-width: 400px) {
  .top-instagram-logo {
    padding: 6px;
  }

  .top-instagram-logo img.text-logo {
    width: 80px;
  }

  .post-header {
    padding: 8px 14px 4px;
  }

  .post-caption {
    font-size: 11px;
  }

  .pagination-overlay {
    font-size: 9px;
    padding: 2px 4px;
  }

  .user-info span.name {
    font-size: 11px;
  }

  .user-info span.date {
    font-size: 9.5px;
  }

  .user-avatar img {
    width: 28px;
    height: 28px;
  }

  .three-dots {
    font-size: 16px;
  }
}

/* ===== DARK MODE ===== */
body.drK .instagram-post-card {
  background: #2d2d30;
  color: #ddd;
  border-color: #444;
}

body.drK .top-instagram-logo {
  background-color: #3a3a3d;
}

body.drK .user-info span.date {
  color: #aaa;
}

body.drK .post-caption {
  color: #ccc;
}

body.drK .three-dots {
  color: #ddd;
}

#linkedin-image {
  max-width: 260px;
  margin-bottom: -10px;
  height: auto;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 8px;
}

#fbpagecontainer {
  margin-bottom: -5px;
}

/* Original light mode */
.facebook-container {
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  font-family: 'Segoe UI', sans-serif;
  max-width: 500px;
  margin: auto;
  background-color: #fff;
}

.facebook-header {
  display: flex;
  align-items: center;
  background-color: #f0f2f5;
  padding: 10px 15px;
  font-size: 19px;
  font-weight: bold;
  color: #1877f2;
}

.facebook-header img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.facebook-content {
  padding: 0;
  margin: 0;
  text-align: center;
}

/* Dark mode overrides */
body.drK .facebook-container {
  background-color: #1e1e1e;
  border-color: #444;
}

body.drK .facebook-header {
  background-color: #3a3a3d;
  color: #4599f5;
}

body.drK .facebook-content {
  color: #ddd;
  /* Optional text color for inside content */
}