
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Navigation Menu */
.nav-menu {
    width: 100%;
    background: #1a1a1a;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.nav-menu ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    list-style: none;
}

.nav-menu li {
    list-style: none;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: #2196F3;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    position: fixed;
    right: 1rem;
    top: 1rem;
    background: #2196F3;
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    z-index: 1002;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.menu-toggle i {
    font-size: 1.2rem;
    color: white;
    z-index: 1003;
    position: relative;
}

.menu-toggle:hover {
    background: #1565C0;
}

.audiowide-regular {
    font-family: "Audiowide", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #fdfefe;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    height: 100px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.logo {
    width: 80px;
    height: 80px;
    min-width: 80px;
    object-fit: contain;
}

.header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.header-text h1 {
    margin: 0;
    font-size: clamp(1.2rem, 4vw, 2rem);
    font-weight: bold;
    line-height: 1.2;
    color: #000;
}

.header-text p {
    margin: 0.5rem 0 0;
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    word-break: normal;
    line-height: 1.4;
    color: #000;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem;
}

.header-right a {
    color: #333;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.header-right a:hover {
    transform: scale(1.1);
}

.posts-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.posts-main-title {
    text-align: center;
    font-size: 2rem;
    color: #2196F3;
    margin: 30px 0;
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 30px;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 25px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #2196F3;
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1.2rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.post-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.post-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 15px;
}

.post-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-excerpt {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.8rem;
    color: #999;
}

.post-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* Responsivo - Tablets (2 colunas) */
@media (max-width: 1200px) {
    .posts-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .posts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .header {
        padding: 15px 20px;
    }
    
    .logo {
        width: 60px;
        height: 60px;
    }
    
    .header-text h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu ul {
        display: block;
        position: fixed;
        top: 0;
        left: -250px;
        width: 250px;
        height: 100vh;
        background: #1a1a1a;
        flex-direction: column;
        padding: 60px 0 2rem;
        transition: left 0.3s ease;
        box-shadow: 2px 0 5px rgba(0,0,0,0.2);
    }

    .nav-menu ul.active {
        left: 0;
    }

    .nav-menu li {
        padding: 10px 20px;
    }

    .nav-menu a {
        display: block;
        width: 100%;
    }

    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        height: auto;
        padding: 15px 20px;
    }
    
    .header-left {
        flex-direction: row;
        width: 100%;
        justify-content: flex-start;
    }

    .header-right {
        width: 100%;
        justify-content: center;
    }

    .logo {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }
    
    .post-image {
        height: 150px;
    }
    
    .post-title {
        font-size: 0.95rem;
    }

    .posts-main-title {
        font-size: 1.5rem;
    }
}

/* Responsivo - Celulares (1 coluna) */
@media (max-width: 480px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .posts-container {
        padding: 0 15px 30px;
    }
    
    .header {
        padding: 10px 15px;
    }
    
    .logo {
        width: 50px;
        height: 50px;
    }
    
    .header-text h1 {
        font-size: 1.3rem;
    }
    
    .header-text p {
        font-size: 0.9rem;
    }
    
    .post-image {
        height: 200px;
    }
    
    .post-content {
        padding: 12px;
    }
}
