@font-face {
            font-family: pank;
            src: url('https://truplodana.neocities.org/hit_me_punk/Hit me, punk! 01.ttf');
        }
        
body {
    font-family: 'VT323', monospace;
    background-color: #000;
    color: #fff;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

.texture-overlay {
position: fixed;
  top: -40px;
  left: -40px;
  width: calc(100% + 40px); 
  height: calc(100% + 40px);
  margin: 20px; 
  background-image: url('slike/staza.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  z-index: -1;
  
  filter: grayscale(100%) contrast(120%);
}

.news-header {
    text-align: center;
    padding: 2rem;
    border-bottom: 1px dashed purple;
}

.news-header h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: 4rem;
    margin: 0;
    letter-spacing: -2px;
    text-transform: uppercase;
    color: purple;
}

.news-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
    background-color: #111;
    border-bottom: 1px solid #333;
}

.news-nav a {
    color: purple;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.news-post {
    border: 1px solid #333;
    background-color: #0a0a0a;
}

.news-post.featured {
    grid-column: 1 / -1;
}

.image-container {
    position: relative;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.image-container:hover img {
    transform: scale(1.02);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    color: purple;
    padding: 0.5rem;
    font-size: 0.8rem;
}

.news-post h2, .news-post h3 {
    margin: 1rem;
    color: purple;
}

.news-post h2 {
    font-size: 2rem;
}

.date {
    color: #777;
    margin: 0 1rem;
}

.excerpt {
    margin: 1rem;
}

.read-more {
    display: inline-block;
    margin: 1rem;
    color: purple;
    text-decoration: none;
    font-weight: bold;
}

/* Gallery Section */
.gallery-grid {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px dashed purple;
}

.gallery-grid h2 {
    text-align: center;
    color: purple;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.gallery figure {
    margin: 0;
    position: relative;
}

.gallery img {
    width: 100%;
    height: auto;
    border: 1px solid #333;
}

.gallery figcaption {
    background: #111;
    padding: 0.5rem;
    font-size: 0.9rem;
    color: purple;
    text-align: center;
}

.news-footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px dashed purple;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #777;
}

.news-footer a {
    color: purple;
    text-decoration: none;
}