/* Variables */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #f7931e;
    --accent-color: #ffd23f;
    --text-color: #2c3e50;
    --light-gray: #ecf0f1;
    --medium-gray: #95a5a6;
    --dark-gray: #7f8c8d;
    --white: #ffffff;
    --transition-speed: 0.3s;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI Local', 'System UI Local', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* Header and Navigation */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1.1rem 3rem;
    min-height: 92px;
    gap: 2rem;
}

/* Site title hidden - logo is now the main element */

.site-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -48%);
    z-index: 20;
}

.logo-image {
    height: 132px;
    width: auto;
    position: relative;
    top: 0;
    transition: transform 0.3s ease;
    filter: drop-shadow(1px 2px 3px rgba(0,0,0,0.2));
}

.logo-image:hover {
    transform: scale(1.02);
    filter: drop-shadow(1px 1px 3px rgba(0,0,0,0.2));
}

.site-title a:hover {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-122%, -50%);
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: #1f5f99;
    color: white;
}

/* Dropdown styles */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: ' ▼';
    font-size: 0.8rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.submenu {
    position: relative;
}

.submenu-menu {
    position: absolute;
    top: 0;
    left: 100%;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.submenu:hover .submenu-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #1f5f99;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: #fff;
    color: var(--primary-color);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* A Polémica do Dia */
.politic-do-dia {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 1rem 0;
    position: relative;
    overflow: hidden;
}

.politic-do-dia::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="30" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="50" cy="70" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="30" cy="80" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="70" cy="60" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 200px 200px;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-20px, -20px); }
    100% { transform: translate(0, 0); }
}

.politic-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.politic-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
}

.politic-text {
    flex: 1;
    text-align: left;
}

.politic-do-dia h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.politic-do-dia h2 a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.politic-do-dia h2 a:hover {
    color: var(--accent-color);
}

.politic-do-dia p {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 0;
    opacity: 0.95;
}

.politic-link {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.politic-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: var(--accent-color);
    color: white;
}

/* Content Section */
.content {
    padding: 1.5rem 0;
}

.intro {
    text-align: center;
    margin-bottom: 1.5rem;
}

.intro h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.intro p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.topic-card {
    background: white;
    padding: 1.25rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.topic-card.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.card-icon {
    margin-bottom: 0.5rem;
    display: block;
    text-align: center;
    color: #3498db;
}

.card-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary-color);
    stroke-width: 1.5;
    transition: stroke 0.3s ease, transform 0.3s ease;
}

.topic-card:hover .card-icon svg {
    stroke: #2980b9;
    transform: scale(1.05);
}

.topic-card.featured .card-icon svg {
    stroke: var(--secondary-color);
}

.topic-card.featured:hover .card-icon svg {
    stroke: var(--accent-color);
}

.topic-card h3,
.topic-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: #2c3e50;
    font-weight: 600;
}

.category-link {
    color: #1f2f3d;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    position: relative;
}

.category-link:hover {
    color: #8f3418;
    transform: translateX(3px);
}

.category-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.category-link:hover::after {
    width: 100%;
}

/* Article Cards Styles */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.article-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary-color);
    overflow: hidden;
}

.article-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.article-card .article-header {
    margin-bottom: 1rem;
    padding: 2rem 2rem 0 2rem;
}

.article-card .article-header h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.article-card .article-header h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-card .article-header h3 a:hover {
    color: var(--primary-color);
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
    padding: 0 2rem;
}

.reading-time {
    background: #f8f9fa;
    color: #334155;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
}

.difficulty {
    background: #e9edf7;
    color: #243447;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.difficulty.Iniciante {
    background: #d4edda;
    color: #155724;
}

.difficulty.Intermediário {
    background: #fff3cd;
    color: #856404;
}

.difficulty.Avançado {
    background: #f8d7da;
    color: #721c24;
}

.difficulty.Essencial {
    background: #cce5ff;
    color: var(--primary-color);
}

.article-excerpt {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #555;
    padding: 0 2rem;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0 2rem 2rem 2rem;
}

.tag {
    background: #e9ecef;
    color: #495057;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: lowercase;
}

/* Category Intro Styles */
.category-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    border: 1px solid #e9ecef;
}

.category-icon {
    margin-bottom: 1.5rem;
    color: #3498db;
}

.category-icon svg {
    width: 64px;
    height: 64px;
    stroke: var(--primary-color);
    stroke-width: 1.5;
}

.category-intro h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.category-intro p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Category Navigation */
.category-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.nav-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #495057;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    padding: 0.75rem;
    border-radius: 8px;
    background: #f8f9fa;
}

.nav-link:hover {
    background: #e9ecef;
    color: #8f3418;
    transform: translateY(-2px);
}

.nav-direction {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.nav-title {
    font-size: 1rem;
}

/* Related Posts Styles */
.related-posts {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.related-posts h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    text-align: center;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.related-post {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.related-post-image {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.image-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #3498db;
    border-radius: 50%;
    color: white;
    margin: 0 auto;
}

.image-placeholder svg {
    width: 40px;
    height: 40px;
    stroke: white;
    stroke-width: 2;
}

.post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* Algumas imagens com proporção diferente podem crescer até 10% na altura */
.post-image.is-tall {
    height: 220px;
}

.related-post-content {
    padding: 1rem 1.5rem;
}

.related-post-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

.related-post-content h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-content h3 a:hover {
    color: var(--primary-color);
}

.related-post-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.related-post-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.85rem;
}

.post-category {
    background: #d9e8f5;
    color: #1f2f3d;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

.post-category.Segurança {
    background: #dcefdc;
    color: #1f5a2b;
}

.post-category.Impacto {
    background: #f8e4c6;
    color: #7a3e00;
}

.post-category.Questões {
    background: #f6dce7;
    color: #8a1241;
}

.post-category.Falsas {
    background: #f8dede;
    color: #8e1f1f;
}

.post-date {
    color: #47525d;
    font-weight: 600;
}

/* Vantagens Page Styles */
.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.benefit-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-left: 4px solid var(--primary-color);
}

.benefit-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.benefit-item p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.benefit-item p em {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

.statistics-section {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    text-align: center;
}

.statistics-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.call-to-action {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.call-to-action h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.call-to-action p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.primary {
    background: var(--primary-color);
    color: white;
}

.cta-button.primary:hover {
    background: var(--secondary-color);
    color: white;
}

.topic-card p {
    color: #3f4a54;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    line-height: 1.3;
}

.topic-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.topic-card li {
    margin-bottom: 0.4rem;
}

.topic-card a {
    color: #174f82;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
    display: block;
    padding: 0.2rem 0;
    border-radius: 4px;
}

.topic-more {
    text-align: center;
    color: #8f3418;
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    padding: 0.25rem 0;
    border-top: 1px solid #e9ecef;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 0 0 10px 10px;
}

.topic-card a:hover {
    color: #103a61;
    background-color: #f8f9fa;
    transform: translateX(3px);
}

.topic-card a:before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Site Stats */
.site-stats {
    margin-top: 4rem;
    padding: 3rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    min-width: 120px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.topic-card a {
    color: #174f82;
    text-decoration: none;
    transition: color 0.3s ease;
}

.topic-card a:hover {
    color: #103a61;
    text-decoration: underline;
}

/* Article Navigation */
.article-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid #e1e8ed;
    margin-bottom: 2rem;
}

.nav-previous {
    flex: 1;
    max-width: 45%;
    text-align: left;
}

.nav-next {
    flex: 1;
    max-width: 45%;
    text-align: right;
}

.nav-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #2c3e50;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #e1e8ed;
}

.nav-link:hover {
    background: #e9ecef;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.nav-direction {
    font-size: 0.9rem;
    font-weight: 600;
    color: #8f3418;
    margin-bottom: 0.5rem;
}

.nav-title {
    font-size: 1rem;
    font-weight: 500;
    color: #2c3e50;
}

.nav-next .nav-link {
    text-align: right;
    margin-left: auto;
}

/* Search Results */
.search-results {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 300px;
    max-width: 400px;
    z-index: 1000;
    display: none;
}

.search-loading {
    padding: 1rem;
    text-align: center;
    color: #666;
}

.search-item h3 {
    margin: 0;
    padding: 1rem;
    border-bottom: 1px solid #e1e8ed;
    font-size: 0.9rem;
    color: #2c3e50;
}

.search-item a {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #3498db;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.3s ease;
}

.search-item a:hover {
    background: #f8f9fa;
    color: #2980b9;
}

.search-item a:last-child {
    border-bottom: none;
}

/* Icon Headings */
.icon-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.icon-heading .heading-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    color: #29ABE2;
}

.icon-heading .heading-icon svg {
    width: 44px;
    height: 44px;
}

@media (max-width: 480px) {
    .icon-heading .heading-icon {
        width: 34px;
        height: 34px;
    }
    .icon-heading .heading-icon svg {
        width: 34px;
        height: 34px;
    }
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 3rem;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .logo-image {
        height: 120px;
        top: -5px;
    }
    
    .politic-do-dia {
        padding: 1rem 0;
    }
    
    .politic-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .politic-text {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .politic-link {
        align-self: flex-start;
    }
    
    .politic-do-dia h2 {
        font-size: 1.3rem;
    }
    
    .politic-do-dia p {
        font-size: 0.9rem;
    }
    
    .nav-menu {
        position: static;
        transform: none;
        left: auto;
        top: auto;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        margin-top: 1rem;
        order: 1;
        padding-left: 1rem;
    }
    
    .nav-search {
        position: static;
        transform: none;
        right: auto;
        top: auto;
        order: 2;
        width: 100%;
        margin-top: 0.5rem;
        padding-right: 1rem;
    }
    
    .nav-search {
        order: 3;
        width: 100%;
        margin-top: 1rem;
    }
    
    #searchInput {
        width: 100%;
        max-width: 300px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .dropdown-menu,
    .submenu-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        margin-left: 1rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
    }
    
    .site-stats {
        margin-top: 3rem;
        padding: 2rem 0;
    }
    
    .stats-container {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .card-icon {
        font-size: 2rem;
    }
    
    .topic-card {
        padding: 1.5rem;
    }
    
    .related-posts {
        margin-top: 3rem;
        padding-top: 2rem;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .related-post-image {
        padding: 1.5rem;
    }
    
    .image-placeholder {
        width: 60px;
        height: 60px;
    }
    
    .image-placeholder svg {
        width: 30px;
        height: 30px;
    }
    
    .related-post-content {
        padding: 1rem 1.5rem;
    }
    
    .related-post-content h3 {
        font-size: 1.1rem;
    }
    
    .related-post-content p {
        font-size: 0.9rem;
    }
    
    .related-post-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-content h1 {
        font-size: 1.8rem;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-content h3 {
        font-size: 1.3rem;
    }
    
    .article-content {
        padding: 2rem 0;
    }
    
    .article-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-previous,
    .nav-next {
        max-width: 100%;
    }
    
    .nav-link {
        padding: 1rem;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .nav-next .nav-link {
        text-align: left;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem 3rem;
        min-height: 120px;
    }
    
    .logo-image {
        height: 120px;
        top: -5px;
    }
    
    .politic-do-dia {
        padding: 1rem 0;
    }
    
    .politic-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .politic-text {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .politic-link {
        align-self: flex-start;
    }
    
    .politic-do-dia h2 {
        font-size: 1.3rem;
    }
    
    .politic-do-dia p {
        font-size: 0.9rem;
    }
    
    .politic-label {
        font-size: 0.6rem;
        padding: 0.3rem 0.6rem;
    }
    
    .politic-link {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .site-logo {
        position: static;
        transform: none;
        left: auto;
        top: auto;
        margin-bottom: 0.5rem;
    }
    
    .nav-menu {
        position: static;
        transform: none;
        left: auto;
        top: auto;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        margin-top: 0;
        order: 1;
        padding-left: 1rem;
    }
    
    .nav-search {
        position: static;
        transform: none;
        right: auto;
        top: auto;
        order: 2;
        width: 100%;
        margin-top: 0.5rem;
        padding-right: 1rem;
    }
    
    .logo-image {
        height: 50px;
        top: -3px;
    }
    
    /* Site title hidden - logo is now the main element */
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .site-stats {
        margin-top: 2rem;
        padding: 2rem 1rem;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .card-icon {
        font-size: 1.8rem;
    }
    
    .article-header {
        padding: 2rem 0;
    }
    
    .article-header h1 {
        font-size: 1.8rem;
    }
    
    .article-content {
        padding: 1.5rem 0;
    }
    
    .article-content h1 {
        font-size: 1.6rem;
    }
    
    .article-content h2 {
        font-size: 1.4rem;
    }
    
    .article-content h3 {
        font-size: 1.2rem;
    }
    
    .content {
        padding: 2rem 0;
    }
    
    .intro h3 {
        font-size: 1.6rem;
    }
    
    .topic-card {
        padding: 1.5rem;
    }
    
    .topic-card h3,
    .topic-card h4 {
        font-size: 1.1rem;
    }
}

/* Article page styles */
main > .article-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.8rem 0;
    text-align: center;
}

main > .article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0;
}

.article-content {
    padding: 3rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.article-content h1 {
    font-size: 2.2rem;
    margin: 2rem 0 1rem 0;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

.article-content h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
    color: #2c3e50;
}

.article-content h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem 0;
    color: #34495e;
}

.article-content h4 {
    font-size: 1.2rem;
    margin: 1.2rem 0 0.8rem 0;
    color: #34495e;
}

.article-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.article-content ul {
    margin: 1rem 0 1rem 2rem;
}

.article-content ol {
    margin: 1rem 0 1rem 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content a {
    color: #1f5f99;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-content a:hover {
    color: #174f82;
    text-decoration: underline;
}

/* Hero image no topo do artigo */
.article-hero-image {
    width: 100%;
    margin: 1.5rem 0 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.article-hero-image img,
.hero-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

/* Imagens inline no conteúdo do artigo */
.article-content figure {
    margin: 2rem 0;
    text-align: center;
}

.article-content figure img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
    display: block;
    margin: 0 auto;
}

.article-content figcaption {
    margin-top: 0.6rem;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

/* Tabela de comparação de investimentos */
.investment-comparison {
    margin: 2rem 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: white;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e1e8ed;
}

.comparison-table th {
    background: #3498db;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background: #f8f9fa;
}

.comparison-table td strong {
    color: #2c3e50;
    font-weight: 600;
}

.comparison-table tr:hover {
    background: #e3f2fd;
    transition: background-color 0.3s ease;
}

/* Destaque para Portugal */
.comparison-table tr:last-child {
    border-left: 4px solid #e74c3c;
}

/* Destaque para Holanda */
.comparison-table tr:first-child {
    border-left: 4px solid #27ae60;
}

.back-link {
    display: inline-block;
    margin: 2rem 0;
    color: #1f5f99;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 0;
    transition: color 0.3s ease, transform 0.2s ease;
}

.back-link:hover {
    text-decoration: underline;
    transform: translateX(-5px);
}

/* Additional common styles */
blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid #3498db;
    background-color: #f8f9fa;
    font-style: italic;
    color: #555;
}

code {
    background-color: #f1f1f1;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New Local', 'Courier New', monospace;
    font-size: 0.9rem;
}

pre {
    background-color: #f1f1f1;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    margin: 1rem 0;
}

pre code {
    background: none;
    padding: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #2c3e50;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 1rem 0;
}

hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, #3498db, transparent);
    margin: 2rem 0;
}

/* Accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Search functionality */
.nav-search {
    position: absolute;
    display: flex;
    align-items: center;
    left: 50%;
    top: 50%;
    right: auto;
    transform: translate(38%, -50%);
}

#searchInput {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 0.9rem;
    width: 200px;
    transition: all var(--transition-speed) ease;
    background: white;
}

#searchInput:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

#searchButton {
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-left: 0.5rem;
}

#searchButton:hover {
    background: #2980b9;
    transform: scale(1.05);
}

#searchButton svg {
    width: 20px;
    height: 20px;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-height: 400px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.search-results.active {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-result-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}

.search-result-item:hover {
    background-color: #f8f9fa;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    display: block;
    text-decoration: none;
    font-size: 1rem;
}

.search-result-title:hover {
    color: var(--accent-color);
}

.search-result-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.search-highlight {
    background-color: #fff3cd;
    padding: 0.1rem 0.2rem;
    border-radius: 3px;
}

.search-no-results {
    padding: 1rem;
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
}

/* Imagens page: 2 cards per row on desktop */
.imagens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 1000px) {
    .imagens-grid {
        gap: 1.25rem;
    }
}

@media (max-width: 700px) {
    .imagens-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Infographics grid */
.infograficos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.infografico-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.infografico-card a:first-child {
    display: block;
    width: 100%;
}

.infografico-card a:first-child img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.2s;
}

.infografico-card a:first-child:hover img {
    opacity: 0.88;
}

.infografico-card figcaption {
    padding: 0.8rem 1rem 0;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.download-btn {
    display: inline-block;
    margin: 0.75rem auto 1rem;
    padding: 0.4rem 1.1rem;
    background: #c74a1d;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.download-btn:hover {
    background: #a63c16;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}

.download-btn:focus,
.download-btn:focus-visible {
    outline: 3px solid #1f5f99;
    outline-offset: 2px;
}

@media (max-width: 700px) {
    .infograficos-grid {
        grid-template-columns: 1fr;
    }
}

/* Focus styles */
a:focus,
button:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

#searchInput:focus,
#searchButton:focus {
    outline: none;
}

.tools-links {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    background: #f5f5f5;
    border-left: 4px solid #ef9f27;
}

.tools-links h3 {
    margin: 0 0 0.5rem;
    color: #185fa5;
}

.tools-links p {
    margin: 0 0 0.75rem;
}

.tools-links ul {
    margin: 0;
    padding-left: 1.1rem;
}

.tools-links li {
    margin: 0.35rem 0;
}

/* Header/menu/search centered around logo with embedded center logo */
.nav-menu {
    margin-right: 0;
}

.nav-search {
    margin-left: 0;
}

.article-header + .article-navigation {
    max-width: 1200px;
    margin: -0.6rem auto 1rem auto;
    padding: 0 3rem;
    position: relative;
    z-index: 4;
    border-bottom: none;
}

.article-header + .article-navigation .nav-link {
    background: transparent;
    border: none;
    box-shadow: none;
    color: #2e3f55;
    backdrop-filter: none;
    padding: 0.35rem 0;
}

.article-header + .article-navigation .nav-link:hover {
    background: transparent;
    border: none;
    transform: none;
}

.article-header + .article-navigation .nav-title {
    color: #23374d;
    opacity: 1;
    font-weight: 600;
}

.article-header + .article-navigation .nav-direction {
    color: #8f3418;
    font-weight: 700;
}

/* Reduce whitespace before article body after prev/next bar */
.article-navigation + .article-content {
    padding-top: 1.2rem;
}

/* Apply article title+image split layout to article headers */
.article-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.article-header .container > h1 {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    text-align: left;
}

.article-header .container > .article-hero-image {
    flex: 0 0 46%;
    max-width: 620px;
    margin: 0 0 0 auto;
}

.article-header .container > .article-hero-image img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    display: block;
}

/* Match content side spacing from the updated article */
.article-content .container {
    padding-left: 1.5rem;
    padding-right: 3rem;
}

@media (max-width: 1200px) {
    .nav-menu {
        transform: translate(-124%, -50%);
    }

    .nav-search {
        transform: translate(30%, -50%);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        margin-right: 0;
    }

    .nav-search {
        margin-left: 0;
    }

    .article-header + .article-navigation {
        margin: 1rem auto 1.5rem auto;
        padding: 0 1rem;
    }

    .article-header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .article-header .container > h1 {
        text-align: center;
    }

    .article-header .container > .article-hero-image {
        flex: 1 1 auto;
        max-width: none;
        width: 100%;
        margin: 0;
    }

    .article-content .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* Print styles */
@media print {
    .mobile-menu-toggle,
    .dropdown-menu,
    .submenu-menu {
        display: none !important;
    }
    
    .nav-menu {
        display: flex !important;
    }
    
    .hero,
    .article-header {
        background: none !important;
        color: #000 !important;
    }
    
    body {
        background: white !important;
        color: #000 !important;
    }
}

