body {
    font-family: 'Roboto', sans-serif;
    background: #f0f4f8;
}

.blog-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #00c4b4, #1a3c34);
    position: relative;
    color: #fff;
    overflow: hidden;
    animation: gradientShift 10s ease infinite;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.blog-header {
    margin-bottom: 50px;
}

.blog-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 196, 180, 0.8);
    animation: glow 2s infinite alternate;
}

.blog-subtitle {
    font-size: 1.5rem;
    color: #b0e57c;
    font-style: italic;
    margin-top: 15px;
}

.blog-controls {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 50px;
}

.search-wrapper {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: none;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 5px 25px rgba(0, 196, 180, 0.6);
}

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #00c4b4;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #009688;
    box-shadow: 0 0 15px rgba(0, 196, 180, 0.8);
}

.category-select {
    padding: 15px 25px;
    border: none;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-select:focus {
    outline: none;
    box-shadow: 0 5px 25px rgba(0, 196, 180, 0.6);
}

.blog-grid {
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.blog-card-wrapper {
    flex: 1 1 calc(33.33% - 20px); /* Garante 3 cards por linha com espaçamento */
    margin-bottom: 30px;
    max-width: calc(33.33% - 20px);
}

.blog-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 196, 180, 0.5);
}

.blog-card-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card h3 {
    font-size: 1.4rem;
    color: #1a3c34;
    margin-bottom: 10px;
    font-weight: 600;
}

.blog-card-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.blog-card-desc {
    font-size: 1rem;
    color: #333;
    margin-bottom: 15px;
    flex-grow: 1;
}

.btn-read-more {
    padding: 10px 25px;
    background: #00c4b4;
    color: #fff;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-read-more:hover {
    background: #009688;
    box-shadow: 0 0 15px rgba(0, 196, 180, 0.8);
}

.load-more-btn {
    padding: 15px 50px;
    background: #00c4b4;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #009688;
    box-shadow: 0 5px 25px rgba(0, 196, 180, 0.8);
}

/* Post Individual */
.blog-post-page {
    background: #f0f4f8;
    padding: 40px 0 0;
}

.blog-post {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.post-image {
    max-width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 25px;
}

.blog-post h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    color: #1a3c34;
    margin-bottom: 20px;
}

.post-meta {
    font-size: 1rem;
    color: #666;
    margin-bottom: 25px;
}

.post-content {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
}

.post-content img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 10px;
    margin: 20px 0;
}

.social-share .btn-social {
    padding: 10px 15px;
    margin-right: 10px;
    background: #00c4b4;
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-share .btn-social:hover {
    background: #009688;
    box-shadow: 0 0 15px rgba(0, 196, 180, 0.8);
}

/* Footer */
#footer {
    background: #1a3c34;
    padding: 40px 0;
    color: #fff;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-section p, .footer-section a {
    font-size: 1rem;
    color: #b0e57c;
}

.footer-social .social-links {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
}

.footer-social .social-links li a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-social .social-links li a:hover {
    color: #00c4b4;
}

.footer-divider {
    border: 0;
    height: 1px;
    background: #b0e57c;
    margin: 20px 0;
}

.footer-copyright {
    text-align: center;
    font-size: 0.9rem;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes glow {
    from { text-shadow: 0 0 5px rgba(0, 196, 180, 0.5); }
    to { text-shadow: 0 0 20px rgba(0, 196, 180, 1); }
}

@media (max-width: 768px) {
    .blog-title { font-size: 2.5rem; }
    .blog-controls { flex-direction: column; align-items: center; }
    .search-wrapper, .category-select { width: 100%; margin-bottom: 20px; }
    .blog-card-img { height: 120px; }
    .blog-post h1 { font-size: 2rem; }
    .footer-container { flex-direction: column; align-items: center; text-align: center; }
    .blog-card-wrapper { flex: 1 1 100%; max-width: 100%; }
}