:root {
    --primary-blue: #0056b3;
    --secondary-blue: #007bff;
    --light-blue: #e3f2fd;
    --dark-blue: #003d82;
    --white: #ffffff;
    --black: #333333;
    --gray: #f8f9fa;
    --dark-gray: #6c757d;
    --accent-blue: #4a90e2;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-container img {
    height: 80px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

.logo-container img:hover {
    transform: scale(1.05);
}

.slogan {
    color: var(--white);
    font-size: 1.1rem;
    font-style: italic;
    opacity: 0.9;
}

.search-container {
    display: flex;
    width: 35%;
    max-width: 400px;
}

.search-container input {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.search-container input:focus {
    background-color: var(--white);
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-blue);
}

.search-container button {
    background-color: var(--dark-blue);
    color: var(--white);
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: var(--transition);
}

.search-container button:hover {
    background-color: var(--accent-blue);
}

.user-actions {
    display: flex;
    gap: 1.5rem;
}

.user-actions a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
}

.user-actions a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.user-actions i {
    margin-right: 0.5rem;
}

/* Navigation Styles */
nav {
    background-color: var(--white);
    border-bottom: 1px solid var(--light-blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.category-menu {
    display: flex;
    list-style: none;
    justify-content: space-between;
    flex-wrap: wrap;
}

.category-menu li {
    position: relative;
}

.category-menu a {
    color: var(--black);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 1.2rem;
    display: block;
    transition: var(--transition);
    position: relative;
}

.category-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--primary-blue);
    transition: var(--transition);
    transform: translateX(-50%);
}

.category-menu a:hover {
    color: var(--primary-blue);
}

.category-menu a:hover::after {
    width: 80%;
}

/* Breadcrumb */
.breadcrumb {
    max-width: 1200px;
    margin: 1.5rem auto;
    padding: 0 1.5rem;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.breadcrumb a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--dark-blue);
    text-decoration: underline;
}

/* Main Content Styles */
.container {
    max-width: 1200px;
    margin: 2.5rem auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
}

.news-container {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 2.5rem;
    transition: var(--transition);
}

.news-container:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.news-header {
    margin-bottom: 2.5rem;
    text-align: center;
    border-bottom: 1px solid var(--light-blue);
    padding-bottom: 1.5rem;
}

.news-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-title {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.news-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.news-meta span {
    display: flex;
    align-items: center;
}

.news-meta i {
    margin-right: 0.5rem;
    color: var(--primary-blue);
}

.news-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.news-image:hover {
    transform: scale(1.01);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.news-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--black);
}

.news-content p {
    margin-bottom: 1.8rem;
    text-align: justify;
}

.news-content h3 {
    color: var(--primary-blue);
    margin: 2.5rem 0 1.2rem;
    font-size: 1.6rem;
    font-weight: 600;
    position: relative;
    padding-left: 1rem;
}

.news-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.3rem;
    height: 1.8rem;
    width: 5px;
    background: linear-gradient(to bottom, var(--primary-blue), var(--accent-blue));
    border-radius: 3px;
}

.news-content blockquote {
    border-left: 4px solid var(--primary-blue);
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    background: linear-gradient(to right, var(--light-blue), transparent);
    font-style: italic;
    color: var(--dark-blue);
    border-radius: 0 8px 8px 0;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.news-content blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-blue);
    opacity: 0.2;
    position: absolute;
    top: -1rem;
    left: 1rem;
    font-family: Georgia, serif;
}

.news-content ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.news-content li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.news-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 8px;
    height: 8px;
    background-color: var(--primary-blue);
    border-radius: 50%;
}

.news-content strong {
    color: var(--dark-blue);
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 1.8rem;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag {
    background-color: var(--light-blue);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.tag:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.social-share {
    display: flex;
    gap: 0.8rem;
}

.social-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--gray);
    color: var(--dark-blue);
    transition: var(--transition);
    position: relative;
}

.social-share a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-share a:nth-child(1):hover {
    background-color: #3b5998;
    color: white;
}

.social-share a:nth-child(2):hover {
    background-color: #1da1f2;
    color: white;
}

.social-share a:nth-child(3):hover {
    background-color: #0077b5;
    color: white;
}

.social-share a:nth-child(4):hover {
    background-color: #25d366;
    color: white;
}

/* Related News */
.related-news {
    margin-top: 4rem;
}

.section-title {
    color: var(--primary-blue);
    border-bottom: 2px solid var(--light-blue);
    padding-bottom: 0.8rem;
    margin-bottom: 1.8rem;
    font-size: 1.8rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: var(--accent-blue);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.related-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.related-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.related-card-content .category {
    display: inline-block;
    background-color: var(--light-blue);
    color: var(--primary-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
}

.related-card-content h3 {
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    line-height: 1.3;
    flex-grow: 1;
}

/* Sidebar Styles */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.ad-container {
    background: linear-gradient(135deg, var(--light-blue), #d4e7fb);
    border: 2px dashed var(--primary-blue);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    min-height: 280px;
    transition: var(--transition);
}

.ad-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.ad-container i {
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.2rem;
}

.ad-container h3 {
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
}

.ad-container p {
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

.most-read {
    background-color: var(--white);
    border-radius: 12px;
    padding: 1.8rem;
    box-shadow: var(--shadow);
}

.most-read h3 {
    color: var(--primary-blue);
    border-bottom: 2px solid var(--light-blue);
    padding-bottom: 0.8rem;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    position: relative;
}

.most-read h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--accent-blue);
}

.most-read-list {
    list-style: none;
}

.most-read-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

.most-read-list li:hover {
    background-color: var(--gray);
    margin: 0 -1rem;
    padding: 1rem;
    border-radius: 6px;
}

.most-read-list li:last-child {
    border-bottom: none;
}

.most-read-list a {
    color: var(--black);
    text-decoration: none;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: var(--transition);
}

.most-read-list a:hover {
    color: var(--primary-blue);
}

.most-read-list .number {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.newsletter {
    background: linear-gradient(135deg, var(--light-blue), #d4e7fb);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.newsletter h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.newsletter p {
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
    line-height: 1.5;
}

.newsletter-form input {
    width: 100%;
    padding: 0.9rem 1.2rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 1rem;
    transition: var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2px rgba(0, 86, 179, 0.2);
}

.newsletter-form button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    border: none;
    padding: 0.9rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 86, 179, 0.3);
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    color: var(--white);
    padding: 4rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.footer-column h4 {
    font-size: 1.3rem;
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.9rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    padding: 0.3rem 0;
}

.footer-links a:hover {
    opacity: 0.8;
    transform: translateX(5px);
}

.footer-links i {
    margin-right: 0.7rem;
    font-size: 0.8rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-flex;
    width: 42px;
    height: 42px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2.5rem;
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsividade */
@media (max-width: 1200px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .container {
        grid-template-columns: 1fr;
    }
    
    .news-image {
        height: 400px;
    }
    
    .news-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem 1.5rem;
    }
    
    .logo-container {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .search-container {
        width: 100%;
        max-width: none;
    }
    
    .category-menu {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .category-menu a {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .news-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .news-title {
        font-size: 1.8rem;
    }
    
    .news-image {
        height: 300px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    .news-container {
        padding: 1.5rem;
    }
    
    .news-title {
        font-size: 1.6rem;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 0.8rem;
        align-items: flex-start;
    }
    
    .user-actions {
        gap: 1rem;
    }
    
    .user-actions a {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}