:root {
    --radius: 10px;
}

/* NEO-BRUTALIST NEWS PAGE */

#news-section {
  padding: 40px 0;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 20px;
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--white);
  border: var(--border);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
  border-radius: var(--radius);
}

.news-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0px 0px var(--fg);
}

.news-title {
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 5px;
}

.news-link {
  color: var(--fg);
  text-decoration: none;
}

.news-link:hover {
  color: var(--primary);
}

.news-date {
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--cream);
  border: var(--border);
  padding: 8px 12px;
  display: inline-block;
  box-shadow: 4px 4px 0px 0px var(--fg);
  margin-bottom: 15px;
  border-radius: var(--radius);
}

.news-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  background: var(--cream);
  padding: 15px;
  border: var(--border);
  flex-grow: 1;
  border-radius: var(--radius);
}

/* PAGINATION */
.news-pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.news-pagination-controls button {
    width: 60px;
    height: 60px;
    background: var(--white);
    border: var(--border);
    color: var(--fg);
    cursor: pointer;
    box-shadow: 4px 4px 0px 0px var(--fg);
    transition: all 0.2s;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
}

.news-pagination-controls button:hover:not(:disabled) {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px 0px var(--fg);
    background: var(--primary);
    color: var(--white);
}

.news-pagination-controls button:active:not(:disabled) {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px 0px var(--fg);
}

/* MODAL */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 30px;
}

.modal-content {
    background: var(--bg);
    border: var(--border);
    padding: 50px;
    max-width: 800px;
    width: 100%;
    box-shadow: 20px 20px 0px 0px var(--fg);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: var(--radius);
}

#modal-title { font-size: 2.5rem; font-weight: 900; margin-bottom: 20px; line-height: 1.1; }
#modal-date { 
    font-weight: 900; 
    color: var(--primary); 
    margin-bottom: 20px; 
    text-transform: uppercase; 
    background: var(--cream);
    border: var(--border);
    padding: 10px 20px;
    display: inline-block;
    box-shadow: 4px 4px 0px 0px var(--fg);
    border-radius: var(--radius);
}
#modal-description { 
    background: var(--cream); 
    padding: 30px; 
    border: var(--border); 
    line-height: 1.6; 
    font-size: 1.1rem;
    margin-bottom: 30px;
    border-radius: var(--radius);
}

#modal-readmore {
    display: inline-block;
    background: var(--primary);
    color: var(--white) !important;
    padding: 15px 30px;
    border: var(--border);
    font-weight: 900;
    text-decoration: none;
    box-shadow: 4px 4px 0px 0px var(--fg);
    border-radius: var(--radius);
}

#modal-readmore:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px 0px var(--fg);
}

#modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--white);
    border: var(--border);
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 4px 4px 0px 0px var(--fg);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

@media (max-width: 1100px) { .news-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .news-list { grid-template-columns: 1fr; } }



