/* ==============================
   Base Styles
============================== */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: black; /* #111 -> black */
}

/* ==============================
   Hero Section
============================== */
.hero-bg {
    background-image: linear-gradient(
        to bottom, 
        rgba(0, 0, 0, 0.5), 
        rgba(0, 0, 0, 0.5)
    ), 
    url('https://images.unsplash.com/photo-1512621776951-a57141f2eefd?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white; /* #fff -> white */
    padding: 100px 20px;
    text-align: center;
}

/* ==============================
   News Items
============================== */
.news-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.news-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

/* ==============================
   Newsletter Form
============================== */
.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: 1px solid lightgray; /* #d1d5db -> lightgray */
    border-radius: 6px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 10px 20px;
    background-color: green; /* #28a745 -> green */
    color: white; /* #fff -> white */
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: darkgreen; /* #1f8c3a -> darkgreen */
}

.newsletter-form .error {
    color: red; /* #dc2626 -> red */
    font-size: 0.9rem;
}

/* ==============================
   Accessibility & Hidden Elements
============================== */
[aria-hidden="true"] {
    display: none;
}

a:focus {
    outline: 2px solid green; /* #28a745 -> green */
    outline-offset: 2px;
}

/* ==============================
   Site-wide Colors & Buttons
============================== */
header {
    background-color: green; /* #16a34a -> green */
    color: white; /* #fff -> white */
    padding: 20px;
}

.cta-button {
    background-color: green; /* #16a34a -> green */
    color: white; /* #fff -> white */
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: darkgreen; /* #13803a -> darkgreen */
}
