/* SolarisTech News Detail Page Styles */
.solaris-news-detail {
    font-family: 'Roboto', sans-serif;
    color: #2c3e50;
    margin-top: 80px;
}

/* Hero Banner */
.news-hero-banner {
    position: relative;
    height: 60vh;
    min-height: 500px;
    overflow: hidden;
}

.hero-image-container {
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
    transition: transform 0.5s ease;
}
.source-link{
  color: white;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%);
}

.hero-content {
    position: absolute;
    bottom: 40px;
    left: 5%;
    z-index: 2;
}

/* Date Card */
.news-date-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    text-align: center;
    width: 100px;
}

.news-day {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #5da8ae;
    line-height: 1;
}

.news-month {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 5px 0;
    text-transform: uppercase;
}

.news-year {
    display: block;
    font-size: 1rem;
    color: #666;
}

.news-time {
    display: block;
    font-size: 0.9rem;
    color: #888;
    margin-top: 5px;
}

/* News Content */
.news-content-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.news-header {
    margin-bottom: 40px;
    text-align: center;
}

.news-category {
    display: inline-block;
    background: #5da8ae;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.news-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.publish-date {
    color: #7f8c8d;
    font-size: 1rem;
}

.news-body {
    line-height: 1.8;
    font-size: 1.1rem;
}

.news-description {
    margin-bottom: 50px;
}

.news-description p {
    margin-bottom: 25px;
}

/* Footer */
.news-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    text-align: center;
}

.back-to-news {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #5da8ae;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 25px;
    border: 2px solid #5da8ae;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.back-to-news:hover {
    background: #81c8cd;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px #80cfd5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-hero-banner {
        height: 50vh;
        min-height: 400px;
    }
    
    .news-title {
        font-size: 2rem;
    }
    
    .news-content-container {
        margin: 30px auto;
    }
}

@media (max-width: 576px) {
    .news-hero-banner {
        height: 40vh;
        min-height: 300px;
    }
    
    .news-title {
        font-size: 1.8rem;
    }
    
    .news-date-card {
        width: 80px;
        padding: 15px;
    }
    
    .news-day {
        font-size: 2rem;
    }
}