/* InsightDetailPage.css - Styles to match Adobe XD Design Page 57 */

/* Container Styling */

.insight-detail-widget{
    background-color: #00000029;
    padding: 3rem 0 1rem;
}

.insight-detail-widget .btn-insight-widget.product-btn a{
    display: none;
}
.insight-detail-root .insight-header-wrapper{
  background: #7EB9FF;
  margin-top: -120px;  
}

.insight-detail-root .row .row{
margin-right:0 !important; 
margin-left:0 !important;
}
.insight-detail-root .insight-styled-container {
    max-width: unset !important;
    margin: 0 auto !important;
    padding: 0 !important;
}
.insight-detail-root .insight-header-wrapper{
   background: linear-gradient(to top, #ffffff 25%, #7EB9FF 10%);
    opacity: 100%;  
    padding: 210px 6rem 0;
}


/* Breadcrumb Styling - Updated for new order */
.insight-detail-root .insight-breadcrumb {
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.insight-detail-root .insight-breadcrumb-link {
    color: #012D63 !important;
    text-decoration: none !important;
    font-size: 0.875rem !important;
    font-family: 'titillium-web';
    transition: color 0.2s ease !important;
}

.insight-detail-root .insight-breadcrumb-link:hover {
    color: #1976d2 !important;
}

.insight-detail-root .insight-breadcrumb-current {
   font-size: 0.875rem !important;
   font-family: 'titillium-web';
   color: #012D63;
}

/* Tags and Categories - Simple text with separators */
.insight-detail-root .insight-tags-categories {
    margin-bottom: 1.5rem !important;
    margin-top: 1rem !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    align-items: center !important;
}

.insight-detail-root .insight-tag,
.insight-detail-root .insight-category {
    display: inline !important;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    color: #012D63  !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: color 0.2s ease !important;
    font-family: 'titillium-web' !important;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
}

.insight-detail-root .insight-tag:hover,
.insight-detail-root .insight-category:hover {
    color: #1976d2 !important;
    background: none !important;
    border: none !important;
    transform: none !important;
    box-shadow: none !important;
}

.insight-detail-root .insight-category:after {
    content: " | " !important;
    color: #999 !important;
    margin: 0 0.5rem 0 0 !important;
}

.insight-detail-root .insight-category:last-child:after {
    content: "" !important;
}

.insight-detail-root .insight-tag:after {
    content: " | " !important;
    color: #999 !important;
    margin: 0 0.5rem 0 0 !important;
}

.insight-detail-root .insight-tag:last-child:after {
    content: "" !important;
}

/* Article Title - Positioned after breadcrumb */
.insight-detail-root .insight-title {
    font-size: 3rem !important;
    font-weight: 400 !important;
    margin-bottom: 1.5rem !important;
    margin-top: 0.5rem !important;
    color: #012D63 !important;
    font-family: 'spectral' !important;
    line-height: 52px !important;
    text-transform: capitalize;
}

@media (max-width: 1024px) {
    .insight-detail-root .insight-title {
        font-size: 2rem !important;
    }
}

@media (max-width: 768px) {
    .insight-detail-root .insight-title {
        font-size: 2rem !important;
        line-height: 40px !important;
    }
}



/* Author Section - Top (positioned after title) */
.insight-detail-root .insight-author-header {
    margin-bottom: 2.5rem;
}

.insight-detail-root .insight-author-info {
    /* display: flex; */
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    display: none;
}

.insight-detail-root .insight-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1976d2, #42a5f5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
}

.insight-detail-root .insight-author-details h4 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
}

.insight-detail-root .insight-author-details p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* Hero Image Container and Image */
.insight-detail-root .insight-hero-image-container {
    margin: 0 auto 2rem !important;;
    max-width: 853px;
}

.insight-detail-root .insight-hero-image {
    width: 100% !important;
    height: 400px !important;
    object-fit: cover !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    display: block !important;
}

@media (max-width: 768px) {
    .insight-detail-root .insight-hero-image {
        height: 250px !important;
    }
    
    .insight-detail-root .insight-hero-image-container {
        margin-bottom: 1.5rem !important;
    }
}

/* Content Styling */
.insight-detail-root .insight-content {
    margin: 0 auto 0rem !important;
    max-width: 602px !important;
    padding: 0 20px;
}


.insight-detail-root .insight-content h1,
.insight-detail-root .insight-content h2,
.insight-detail-root .insight-content h3,
.insight-detail-root .insight-content h4,
.insight-detail-root .insight-content h5,
.insight-detail-root .insight-content h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 2rem;
    color: #1a1a1a;
}

.insight-detail-root .insight-content h1 {
    font-size: 2.25rem;
    line-height: 1.2;
    font-family: 'spectral' !important;
    color: #012D63;
}

.insight-detail-root .insight-content h2 {
    font-size: 2.625rem;
    line-height: 46px !important;
    font-family: 'spectral' !important;
    color: #012D63;
}

.insight-detail-root .insight-content h3 {
    font-size: 1.5rem;
    line-height: 1.4;
    font-family: 'spectral' !important;
    color: #012D63;
}

.insight-detail-root .insight-content p {
   font-size: 1.125rem;
    line-height: 30px;
    margin-bottom: 1.5rem;
    color: #012D63;
    font-family: 'titillium-web';
}

.insight-detail-root .insight-content a {
    color: #1976d2;
    text-decoration: none;
}

.insight-detail-root .insight-content a:hover {
    text-decoration: underline;
}

.insight-detail-root .insight-content ul,
.insight-detail-root .insight-content ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.insight-detail-root .insight-content li {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4a4a4a;
}

.insight-detail-root .insight-content blockquote {
    border-left: 4px solid #1976d2;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.25rem;
    color: #666;
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.insight-detail-root .insight-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Author Cards - Bottom */
.insight-detail-root .insight-authors-section {
    margin: 0 auto 3rem !important;
    max-width: 602px !important;
    padding: 0 20px;
}

.insight-detail-root .insight-authors-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.insight-detail-root .insight-author-card {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.insight-detail-root .insight-author-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.insight-detail-root .insight-author-card-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.insight-detail-root .insight-author-card-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1976d2, #42a5f5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.insight-detail-root .insight-author-card-info h5 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
}

.insight-detail-root .insight-author-card-info p {
    margin: 0;
    font-size: 1rem;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .insight-detail-root .insight-tags-categories {
        margin-bottom: 1rem;
    }
    
    .insight-detail-root .insight-author-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .insight-detail-root .insight-author-card-content {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .insight-detail-root .insight-content p {
        font-size: 1.125rem;
    }
    
    .insight-detail-root .insight-content h1 {
                font-size: 2.125rem;
    }
    
    .insight-detail-root .insight-content h2 {
               font-size: 2.125rem;
    }
}

@media (max-width: 640px) {
.insight-detail-root .insight-tags-categories{
    margin-top: 5rem !important;
}
.insight-detail-widget{
    padding: 0;
}
}

@media (max-width: 912px) {
.insight-detail-root .insight-header-wrapper {
    padding: 8rem 2rem 1rem 2rem;
}
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .insight-detail-root .insight-tag,
    .insight-detail-root .insight-category,
    .insight-detail-root .insight-author-card {
        transition: none;
    }
    
    .insight-detail-root .insight-tag:hover,
    .insight-detail-root .insight-category:hover,
    .insight-detail-root .insight-author-card:hover {
        transform: none;
    }
}

/* Focus States for Accessibility */
.insight-detail-root .insight-tag:focus,
.insight-detail-root .insight-category:focus {
    outline: 2px solid #1976d2;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .insight-detail-root .insight-breadcrumb,
    .insight-detail-root .insight-tags-categories {
        display: none;
    }
    
    .insight-detail-root .insight-hero-image {
        height: auto;
        max-height: 300px;
    }
    
    .insight-detail-root .insight-content {
        font-size: 12pt;
        line-height: 1.5;
    }
}

.insight-detail-root small{
    font-size: 12px !important;
    line-height: 18px;
}

.insight-detail-root .css-eccknh-MuiChip-label{
      padding-left: 0px !important;
}

.insight-detail-root .css-pex525-MuiStack-root{
     gap: 0px !important; 
}