/* Custom Blog Hero Styles */

/* Blog Hero Container */
.blog-hero-container {
    background: linear-gradient(135deg, #f8f4ff 0%, #ffffff 100%);
    padding: 250px 0 120px 0;
    position: relative;
    overflow: hidden;
}

.blog-hero-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(248, 244, 255, 0.8) 0%, rgba(255, 255, 255, 0.9) 100%);
    z-index: 1;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
}

/* Two Column Layout */
.blog-hero-row {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 400px;
}

.blog-hero-left {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-hero-right {
    flex: 1;
    max-width: 50%;
    position: relative;
    height: 100%;
}

/* Blog Title */
.blog-hero-title {
    font-family: 'Sofia Pro', sans-serif;
    font-size: 48px;
    line-height: 1.2;
    font-weight: 600;
    color: #4c2049;
    margin-bottom: 30px;
    word-wrap: break-word;
}

/* Author Section */
.blog-hero-author {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.blog-hero-author-avatar {
    width:78px;
    height: 78px;
    border-radius: 50%;
    margin-right: 18px;
    object-fit: cover;
    background-color: #e0e0e0;
}

.blog-hero-author-info {
    display: flex;
    flex-direction: column;
}

.blog-hero-author-name {
    font-family: 'Sofia Pro', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #2d1b69;
    margin-bottom: 2px;
}

.blog-hero-author-title {
    font-family: 'Sofia Pro', sans-serif;
    font-size: 13px;
    color: #888;
    font-weight: 400;
}

/* Tags/Categories */
.blog-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.blog-hero-tag {
    background: #ff6b35;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-hero-tag:hover {
    background: #e55a2b;
    color: white;
    transform: translateY(-2px);
}

/* Featured Image Section */
.blog-hero-image-container {
    position: relative;
    border-radius: 50px;
    overflow: visible;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.blog-hero-featured-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    border-radius: 5%;
}

.section-title > h1 {
    margin-top: 30px;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .blog-hero-row {
        flex-direction: column;
        gap: 40px;
    }
    
    .blog-hero-left,
    .blog-hero-right {
        max-width: 50%;
    }
    
    .blog-hero-title {
        font-size: 36px;
    }
    .blog-hero-author-name {
    font-size: 14px;  
  }
}

@media (max-width: 768px) {
    .blog-hero-container {
        padding: 2000px 0 80px 0;
    }
    
    .blog-hero-title {
        font-size: 26px !important;
    }
    .blog-hero-author-name {
    font-size: 18px !important;
    line-height: 1.2 !important;
  }
  .blog-hero-author-title {
      font-size: 14px !important;
      line-height: 1.2 !important;
  }
    
    .blog-hero-featured-image {
        height: 300px;
    }
    
    .blog-hero-decoration-1,
    .blog-hero-decoration-2,
    .blog-hero-decoration-3 {
        display: none;
    }
    .blog-hero-left,
  .blog-hero-right {
    max-width: 100% !important;       /* override the 50% from the 1024 rule */
    width: 100% !important;
}
}

@media (max-width: 480px) {
  .blog-hero-container {
    padding: 80px 0 60px 0;
    padding-top: 180px !important;
  }

  .blog-hero-title {
    font-size: 24px;
  }

  .blog-hero-featured-image {
    height: 250px;
  }

  .blog-hero-author-avatar {
    width: 78px;
    height: 78px;
  }

  .blog-hero-author-name { font-size: 14px; }
  .blog-hero-author-title { font-size: 12px; }
}

/* Animation */
.blog-hero-container {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effects */
.blog-hero-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.blog-hero-author:hover .blog-hero-author-name {
    color: #ff6b35;
    transition: color 0.3s ease;
}
