
/*********************************************************************

                                NEWS

**********************************************************************/


/* =========================================================
   NEWS CONTAINER
   ========================================================= */

#hss-news {

    width: 100%;
    max-width: 1100px;
    margin: 0 auto;

}


/* =========================================================
   NEWS VORSCHAU
   ========================================================= */

.news-card {

    overflow: hidden;
    margin-bottom: 30px;

}


.news-content {

    display: block;

}


/* Quadratisches Vorschaubild, linksbündig unter der Überschrift */

.news-thumb {

    float: left;
    width: 110px;
    height: 110px;
    margin: 0 20px 10px 0;

    cursor: pointer;

}


.news-thumb .news-image {

    display: block;

    width: 110px;
    height: 110px;
    max-width: none;

    object-fit: cover;

    margin: 0;

    border-radius: 4px;

    transition: 0.3s;

}


.news-thumb:hover .news-image {

    opacity: 0.85;

}


.news-content h3 {

    margin-top: 0;

}


.news-date {

    color: #888;
    margin-bottom: 15px;

}


/* Vorschautext im Blocksatz */

.news-text {

    line-height: 1.6;

    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;

}


.read-more {

    background: none;
    border: none;
    display: block;
    clear: both;
    padding: 0;
    margin-top: 15px;
    color: #d54c64;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;

    
}


.read-more:hover {

    color: #ff0000;

    transform: translateX(5px);

}


/* =========================================================
   HSS NEWS MODAL
   ========================================================= */

.news-modal {

    display: none;

    position: fixed;
    inset: 0;

    background: rgba(0,0,0,0.85);

    z-index: 9999;

    overflow-y: auto;

    padding: 40px 20px;

}


/* Zentrales Fenster */

.news-modal-content {

    position: relative;

    max-width: 900px;

    margin: 40px auto;

    background: #1a1a1a;
    color: #f2f2f2;

    padding: 40px;

    border: 1px solid #333;

    box-shadow: 0 20px 60px rgba(0,0,0,0.6);

}


/* Schließen Button */

.news-close {

    position: absolute;

    top: 15px;
    right: 20px;

    background: none;
    border: none;

    color: #d54c64;

    font-size: 36px;
    line-height: 1;

    cursor: pointer;

    transition: 0.3s;

}


.news-close:hover {

    transform: scale(1.15);

    color: #f2f2f2;

}


/* =========================================================
   BEITRAG IM MODAL
   ========================================================= */

#news-modal-body h2 {

    font-size: 2rem;

    margin-bottom: 15px;

    font-weight: 700;

}


#news-modal-body .news-date {

    color: #888;

    margin-bottom: 25px;

}


#news-modal-body p {

    line-height: 1.7;

    margin-bottom: 15px;

}


/* Beitragsbild im Modal */

.news-modal-image {

    width: 100%;

    max-height: 450px;

    object-fit: cover;

    margin-bottom: 30px;

}


/* Weitere Bilder innerhalb des Beitrags */

#news-modal-body img {

    max-width: 100%;

    height: auto;

    margin: 20px 0;

}


/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */

@media (max-width: 700px) {


    /* Modal */

    .news-modal {

        padding: 20px 10px;

    }


    .news-modal-content {

        padding: 25px;

    }


    #news-modal-body h2 {

        font-size: 1.5rem;

    }


    /* Vorschaubild */

    .news-thumb {

        width: 85px;
        height: 85px;

        margin-right: 12px;

    }


    .news-thumb .news-image {

        width: 85px;
        height: 85px;

    }

}
