/* News Section Styles */
#news {
    padding: 100px 0 20px;
    position: relative;
    background: transparent;
}

.news-header {
    text-align: center;
    margin-bottom: 60px;
}

.news-subtitle {
    display: block;
    font-size: 1.2rem;
    color: #16724B;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    font-weight: 600;
}

.news-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.1;
    margin: 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.news-card {
    background: rgba(15, 15, 15, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(22, 114, 75, 0.15);
    border-color: #16724B;
}

.news-card-header {
    padding: 25px 25px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.news-meta-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-date-text {
    color: #16724B;
}

.news-meta-separator {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 8px;
}

.news-author-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.news-card-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-body {
    padding: 20px 25px;
    flex-grow: 1;
}

.news-summary {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-footer {
    padding: 0 25px 25px;
}

.btn-news {
    display: inline-block;
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    outline: none; /* Remove default outline */
}

.btn-news:hover {
    background: #16724B;
    border-color: #16724B;
    color: white;
    text-decoration: none;
}

.btn-news:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(22, 114, 75, 0.5);
}

/* Ensure focus doesn't look like hover unless it is actually hovered */
.btn-news:focus:not(:hover) {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.btn-news:active {
    transform: translateY(1px);
    background: #125a3b;
    border-color: #125a3b;
}
