/* Blog Node Page Styles */
.node--type-blog {
  margin: 0 auto;
  padding: 40px 20px;
}

/* Hide default page title block */
body.path-node.node--type-blog .block-page-title-block,
body.node--type-blog .block-page-title-block,
.node--type-blog .page-title {
  display: none !important;
}

.blog-node-container {
  background: white;
  border-radius: 4px;
  overflow: hidden;
}

/* Featured Image */
.blog-featured-image {
  width: 100%;
  margin-bottom: 0;
  line-height: 0;
}

.blog-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Blog Header */
.blog-header {
  padding: 40px 50px 20px;
}

.blog-title {
  font-family: var(--news-staff-font-display, "Cormorant Garamond", serif);
  font-size: 3rem;
  font-weight: 600;
  color: #109bd2;
  margin: 0 0 25px 0;
  line-height: 1.2;
}

/* Meta Information */
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  padding-bottom: 25px;
  border-bottom: 2px solid #eaf1f1;
}

.blog-meta > div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #69797f;
}

.blog-meta svg {
  color: #109bd2;
  flex-shrink: 0;
}

/* Blog Author with Photo */
.blog-author {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  flex: 1;
  max-width: 400px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.blog-author:hover {
  background: #e9ecef;
  box-shadow: 0 4px 12px rgba(16, 155, 210, 0.15);
  transform: translateY(-2px);
}

/* Default author (non-clickable) */
.blog-author-default {
  cursor: default;
}

.blog-author-default:hover {
  background: #f8f9fa;
  box-shadow: none;
  transform: none;
}

.blog-author-photo {
  flex-shrink: 0;
}

.blog-author-photo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blog-author-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.blog-author-label {
  font-size: 0.85rem;
  font-weight: 400;
  color: #69797f;
  letter-spacing: 0.5px;
}

.blog-author-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #109bd2;
  line-height: 1.2;
}

.blog-author-credentials {
  font-size: 0.9rem;
  color: #69797f;
  line-height: 1.3;
}

.blog-author-category {
  font-size: 0.85rem;
  color: #8cba2d;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.blog-category a {
  color: #69797f;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.blog-category a:hover {
  color: #109bd2;
}

.blog-date time {
  font-weight: 400;
}

/* Blog Content */
.blog-content {
  padding: 30px 50px 50px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.blog-content p {
  margin-bottom: 20px;
}

.blog-content p:last-child {
  margin-bottom: 0;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
  font-family: var(--news-staff-font-display, "Cormorant Garamond", serif);
  color: #109bd2;
  margin-top: 35px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.blog-content h2 {
  font-size: 2.2rem;
  font-weight: 600;
}

.blog-content h3 {
  font-size: 1.8rem;
  font-weight: 600;
}

.blog-content h4 {
  font-size: 1.4rem;
  font-weight: 500;
}

.blog-content a {
  color: #109bd2;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.blog-content a:hover {
  color: #0d7ca8;
}

.blog-content ul,
.blog-content ol {
  margin: 20px 0;
  padding-left: 30px;
}

.blog-content li {
  margin-bottom: 10px;
}

.blog-content blockquote {
  border-left: 4px solid #109bd2;
  padding-left: 25px;
  margin: 30px 0;
  font-style: italic;
  color: #69797f;
  font-size: 1.15rem;
}

.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 25px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .blog-header {
    padding: 30px 25px 15px;
  }

  .blog-title {
    font-size: 2.2rem;
  }

  .blog-meta {
    gap: 15px;
    font-size: 0.9rem;
    flex-direction: column;
    align-items: stretch;
  }

  .blog-author {
    max-width: 100%;
  }

  .blog-content {
    padding: 25px 25px 40px;
    font-size: 1rem;
  }

  .blog-content h2 {
    font-size: 1.8rem;
  }

  .blog-content h3 {
    font-size: 1.5rem;
  }

  .blog-content h4 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .node--type-blog {
    padding: 20px 10px;
  }

  .blog-header {
    padding: 20px 20px 15px;
  }

  .blog-title {
    font-size: 1.8rem;
  }

  .blog-meta {
    flex-direction: column;
    gap: 10px;
  }

  .blog-author {
    padding: 12px;
  }

  .blog-author-photo img {
    width: 60px;
    height: 60px;
  }

  .blog-content {
    padding: 20px;
    font-size: 0.95rem;
  }

  .blog-featured-image img {
    max-height: 300px;
  }
}

