/* News Archive Styles */

.news-archive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr; /* four columns on desktop */
    gap: 5px;
    padding: 0;
    width: 100%;
    max-width: none; /* allow the grid to span the full viewport */
    margin: 0; /* remove centering so grid is full-bleed */
    padding-top: 5px;
}

.news-archive-item {
    background: white;
    border: 1px solid #eee;
    border-radius: 0px;
    overflow: hidden;
    transition: transform 0.3s;
}
/*
.news-archive-item:hover {
    transform: translateY(-5px);
}
*/
.news-archive-image {
    width: 100%;
    object-fit: cover;
    aspect-ratio:1/1;
}

@media (max-width: 1024px) {
    .news-archive-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .news-archive-image { height: 200px; }
}

@media (max-width: 600px) {
    .news-archive-grid { grid-template-columns: 1fr; gap: 12px; }
    .news-archive-image { height: 160px; }
}

.news-archive-content {
    padding: 0 10%;
}

.news-archive-title {
    font-size: 75px;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--mchale-grey);
    line-height: 1;
}

.news-archive-date {
    font-size: 22px;
    padding-top: 5px;
    color: var(--mchale-grey);
    margin-bottom: 22px;
}

.news-archive-excerpt {
    margin-bottom: 5px;
    font-family: 'Myriad Pro Regular', sans-serif;
    color: var(--mchale-grey);
    font-size: 22px;
}

.news-archive-read-more {
    display: inline-block;
    padding: 8px 12px;
    background: var(--mchale-orange);
    color: white;
    border-radius: 4px;
    text-decoration: none;
}

.news-archive-read-more:hover {
    background: var(--mchale-light-orange);
}

.load-more-btn-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}
.load-more-btn {
    display: block;
    width: 200px;
    margin: 20px auto;
    padding: 10px;
    color: var(--mchale-orange);
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
}
.load-more-btn:hover {
    transform: translateY(-3px);
    transition: transform 0.3s ease-in-out;
}
/* Smmooth heights & clamped excerpts */ 
.news-archive-excerpt{
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
