/* =====================================================
   BACKGROUND + GLOBAL
   ===================================================== */
body {
    background: url(../images/news_back1.jpg) no-repeat fixed;
    background-size: cover; /* better for all screens */
    color: #09041a;
    padding-top: 120px; /* prevents overlap with fixed header */
    overflow-x: hidden;
}

/* =====================================================
   TITLE SECTION
   ===================================================== */
div.title {
    clear: both;
    color: #e9e8eb;
    text-align: center;
    margin-bottom: 40px;
}

/* h1 {
    font-family: 'Monotype Corsiva', 'Luminari', cursive, 'Noteworthy', 'Georgia';
    font-size: clamp(32px, 6vw, 55px);
    padding-top: 20px;
} */

hr.title {
    width: 200px;
    margin: 5px auto 20px auto;
}

p.title {
    margin-bottom: 60px;
    font-size: clamp(14px, 2.5vw, 18px);
}

/* =====================================================
   MAIN CONTENT (Two Columns → Responsive)
   ===================================================== */
#col1, #col2 {
    width: 35%;
}

/* Two-column layout for large screens */
#col1 {
    float: left;
    margin-left: 12%;
}

#col2 {
    float: right;
    margin-right: 12%;
}

/* =====================================================
   NEWS CARDS
   ===================================================== */
div.text {
    padding: 15px;
    background-color: white;
    border-width: 5px;
    border-style: double;
    border-color: #828282;
    margin-bottom: 50px;
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(0,0,0,0.15);
}

img.text {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 4px;
}

h3 {
    text-align: center;
    font-size: clamp(18px, 3vw, 24px);
}

p.date {
    text-align: center;
    color: #828282;
    font-size: 18px;
    margin-top: 5px;
}

hr.text {
    width: 100px;
    border: solid 2px #dc7ea9;
    margin: 25px auto 35px auto;
}

p.text {
    text-align: left;
    font-size: clamp(13px, 2.5vw, 15px);
    line-height: 1.5em;
}

/* =====================================================
   FOOTER TEXT (if used)
   ===================================================== */
p#copyright {
    color: #e9e8eb;
}

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

/* Tablets → stack columns vertically */
@media (max-width: 1024px) {
    #col1, #col2 {
        float: none;
        width: 75%;
        margin: 0 auto;
    }
}

/* Large phones */
@media (max-width: 768px) {
    #col1, #col2 {
        width: 90%;
    }

    div.title {
        padding: 0 10px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    div.text {
        padding: 12px;
    }

    hr.text {
        width: 80px;
    }

    body {
        padding-top: 140px; /* header takes more space on small screens */
    }
}

/* Extra small phones */
@media (max-width: 360px) {
    p.text {
        font-size: 12px;
    }

    h3 {
        font-size: 16px;
    }
}
