/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Masonry Container */
#linkedin-company-posts.linkedin-postslifeedcontainer {
  column-count: 2;
  column-gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Individual Post */
.single-post-div.lifeeditem {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.1s ease;
  display: inline-block; /* required for column masonry */
  width: 100%;
  margin: 0 0 20px;
}

.single-post-div.lifeeditem:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

/* Image */
.single_post .image-container {
  display: block;
  width: 100%;
  position: relative;
}

.linkedin-update-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

/* LinkedIn icon */
.linkedin-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #fff;
  border-radius: 50%;
  padding: 4px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.linkedin-icon img {
  width: 18px;
  height: 18px;
}

/* Post title/text */
.linkedin-title {
  display: block;
  padding: 12px 16px 16px;
  font-size: 15px;
  color: #333;
  line-height: 1.4;
}

.linkedin-title a {
  color: #0a66c2;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 4px;
}

.linkedin-title a:hover {
  text-decoration: underline;
}

/* Subtle text preview effect */
.linkedin-title {
  color: #1d1d1f;
}

.linkedin-title a::after {
  content: " →";
  color: #0a66c2;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.linkedin-title a:hover::after {
  opacity: 1;
}

/* Emoji alignment */
.linkedin-title img.emoji {
  height: 1em;
  width: 1em;
  vertical-align: text-bottom;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  #linkedin-company-posts.linkedin-postslifeedcontainer {
    column-count: 2;
  }
}

@media (max-width: 768px) {
  #linkedin-company-posts.linkedin-postslifeedcontainer {
    column-count: 1;
    column-gap: 16px;
    max-width: 100%;
    padding: 0 10px;
  }
}
