/*
   Krafttürk - Medya Detay (Haber) Sayfası Stilleri
   news.css
*/

/* =========================================
   MAIN LAYOUT
   ========================================= */

.news-detail-main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    min-height: calc(100vh - 400px);
    margin-top: 4rem;
    margin-bottom: 7rem;
}

.ps-title {
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    color: var(--navy-dark) !important;
    margin-bottom: 1.25rem !important;
    margin-top: 3rem !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 2px solid var(--border-light) !important;
}

/* =========================================
   CONTENT AREA
   ========================================= */

.news-content {
    display: flex;
    flex-direction: column;
}

.news-section {
    animation: fadeIn var(--transition-base);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   NEWS HEADER IMAGE
   ========================================= */

.news-header-image {
    width: 100%;
    height: 500px;
    margin-bottom: 2.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.news-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */

@media (max-width: 1024px) {
    .news-detail-main {
        padding: 2rem 1.5rem;
    }

    .news-header-image {
        height: 400px;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {

    .news-detail-main {
        padding: 4rem 2rem;
        margin: 0;
        border: none;
    }

    .news-header-image {
        height: 300px;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .news-detail-main {
        padding: 1.5rem 1rem;
    }

    .news-header-image {
        height: 220px;
        margin-bottom: 1.25rem;
    }
}