/* CSS Variables - Dark Mode (Default) */
:root, body.dark-mode {
    /* Primary Colors */
    --primary-color: #4caf50;
    --primary-dark: #388e3c;
    --secondary-color: #66bb6a;
    --accent-color: #81c784;
    
    /* Text Colors - Dark Mode */
    --text-dark: #e8e8e8;
    --text-medium: #b0b0b0;
    --text-light: #888888;
    
    /* Background Colors - Dark Mode */
    --bg-light: #121212;
    --bg-white: #1e1e1e;
    --bg-card: #252525;
    --bg-input: #2d2d2d;
    --border-color: #3d3d3d;
    
    /* Layout */
    --max-width: 1200px;
    --content-width: 900px;
    --radius-lg: 16px;
    --radius-md: 8px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    
    /* AdSense */
    --adsense-bg: #1a1a1a;
}

/* Light Mode */
body.light-mode {
    --primary-color: #1a5f2a;
    --primary-dark: #0d3d16;
    --secondary-color: #2e7d32;
    --accent-color: #4caf50;
    
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --bg-input: #ffffff;
    --border-color: #e5e7eb;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    
    --adsense-bg: #f9fafb;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 0.75em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-top: 1.5em; }
h3 { font-size: 1.5rem; margin-top: 1.25em; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1.25em;
    color: var(--text-medium);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.content-container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.logo:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

.logo-icon {
    font-size: 1.75rem;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nav-list a {
    color: var(--text-medium);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.nav-list a:hover {
    color: var(--primary-color);
    background: var(--bg-light);
    text-decoration: none;
}

.nav-list a.active {
    color: var(--primary-color);
    background: rgba(26, 95, 42, 0.1);
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
    padding: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--text-light);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs span {
    margin: 0 0.5rem;
    color: var(--text-light);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Search Bar */
.search-container {
    max-width: 600px;
    margin: 0 auto 2rem;
    position: relative;
}

.search-form {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.search-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: #1f2937;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: white;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.search-input::placeholder {
    color: #6b7280;
}

.search-btn {
    padding: 0.875rem 1.5rem;
    background: var(--primary-dark);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-btn:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    margin-top: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--bg-light);
}

.search-result-item a {
    display: block;
    text-decoration: none;
    color: var(--text-dark);
}

.search-result-item .result-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.search-result-item .result-type {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-result-item .result-description {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-top: 0.25rem;
}

.search-no-results {
    padding: 2rem;
    text-align: center;
    color: var(--text-medium);
}

/* Search highlighting */
.search-highlight {
    background: rgba(76, 175, 80, 0.3);
    padding: 0 2px;
    border-radius: 2px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ============================================
   ADSENSE CONTAINERS
   ============================================ */
.adsense-slot {
    background: var(--bg-white);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem;
    text-align: center;
    margin: 2rem 0;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.adsense-slot::before {
    content: "ESPACIO PARA ANUNCIO AdSense";
    font-weight: 600;
    letter-spacing: 0.5px;
}

.adsense-slot.leaderboard {
    min-height: 90px;
}

.adsense-slot.rectangle {
    min-height: 250px;
}

.adsense-slot.in-article {
    min-height: 250px;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
    padding: 2rem 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

.content-wrapper.full-width {
    grid-template-columns: 1fr;
}

.article-content {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.article-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.article-header h1 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.article-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.article-body {
    line-height: 1.8;
}

.article-body h2 {
    margin-top: 2rem;
}

.article-body h3 {
    margin-top: 1.5rem;
}

.article-body ul, .article-body ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
    color: var(--text-medium);
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.article-body th, .article-body td {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    text-align: left;
}

.article-body th {
    background: var(--bg-light);
    font-weight: 600;
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-widget {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
}

.widget-list {
    list-style: none;
}

.widget-list li {
    margin-bottom: 0.75rem;
}

.widget-list a {
    color: var(--text-medium);
    font-size: 0.95rem;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.widget-list a:hover {
    color: var(--primary-color);
    text-decoration: none;
    padding-left: 0.25rem;
}

/* ============================================
   CALCULATOR STYLES
   ============================================ */
.calculator-container {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin: 2rem 0;
}

.calculator-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.calculator-form {
    display: grid;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    background: var(--bg-input);
    color: var(--text-dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 95, 42, 0.1);
}

.form-group input[type="range"] {
    padding: 0;
    border: none;
}

.input-with-unit {
    position: relative;
}

.input-with-unit input {
    width: 100%;
    padding-right: 3rem;
}

.input-unit {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 0.9rem;
}

.btn-calculate {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    margin-top: 1rem;
}

.btn-calculate:hover {
    background: var(--primary-dark);
}

.btn-calculate:active {
    transform: scale(0.98);
}

.btn-calculate.secondary {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.btn-calculate.secondary:hover {
    background: var(--border-color);
}

.calculator-result {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(26, 95, 42, 0.05) 0%, rgba(76, 175, 80, 0.05) 100%);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.result-main {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.result-breakdown {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    color: var(--text-medium);
}

.result-value {
    font-weight: 600;
    color: var(--text-dark);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.faq-section h2 {
    margin-bottom: 1.5rem;
}

.faq-item {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: var(--border-color);
}

.faq-question::after {
    content: "+";
    font-size: 1.25rem;
    color: var(--primary-color);
}

.faq-item.active .faq-question::after {
    content: "-";
}

.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.25rem 1.25rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-medium);
    margin: 0;
}

/* ============================================
   CARDS & GRIDS
   ============================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card p {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.card-link:hover {
    text-decoration: none;
}

.card-link::after {
    content: "→";
    transition: transform 0.2s ease;
}

.card-link:hover::after {
    transform: translateX(4px);
}

/* Calculator Card */
.calculator-card {
    border-top: 4px solid var(--primary-color);
}

.calculator-card .card-icon {
    color: var(--primary-color);
}

/* ============================================
   CATEGORY PAGES
   ============================================ */
.category-header {
    background: var(--bg-white);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.category-header h1 {
    margin-bottom: 0.5rem;
}

.category-description {
    color: var(--text-medium);
    font-size: 1.1rem;
    max-width: 600px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

/* ============================================
   COMPARISON TABLES
   ============================================ */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.comparison-table th:first-child {
    background: var(--primary-dark);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td {
    background: var(--bg-light);
}

.comparison-table .highlight {
    background: rgba(76, 175, 80, 0.1);
}

.comparison-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--accent-color);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ============================================
   RELATED CONTENT
   ============================================ */
.related-content {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.related-content h3 {
    margin-bottom: 1.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-item {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease;
}

.related-item:hover {
    transform: translateY(-2px);
}

.related-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.related-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

/* Dark mode footer */
body:not(.light-mode) .site-footer {
    background: #1a1a1a;
    transition: background-color 0.3s ease;
}

/* Light mode footer */
body.light-mode .site-footer {
    background: #1f2937;
    transition: background-color 0.3s ease;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: white;
    text-decoration: none;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: none;
    }
    
    .hero-stats {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .hero {
        padding: 2.5rem 0;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    /* Search Bar Mobile */
    .search-container {
        margin: 0 auto 1.5rem;
        padding: 0 0.5rem;
    }
    
    .search-form {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem;
    }
    
    .search-input {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    .search-btn {
        padding: 0.75rem 1rem;
        width: 100%;
    }
    
    .search-results {
        max-height: 300px;
    }
    
    /* Mobile Navigation - Simple horizontal nav */
    .header-inner {
        flex-wrap: wrap;
        gap: 0.5rem;
        position: relative;
    }
    
    /* Show nav-list directly on mobile */
    .nav-list {
        display: flex !important;
        flex-wrap: wrap;
        width: 100%;
        order: 3;
        justify-content: center;
        gap: 0.25rem;
        padding: 0.5rem 0;
    }
    
    .nav-list li {
        margin: 0;
    }
    
    .nav-list a {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    /* Make nav full width on very small screens */
    .site-header .container {
        padding: 0.5rem;
    }
    
    .logo {
        flex: 1;
    }
    
    .article-content {
        padding: 1.25rem;
    }
    
    .calculator-container {
        padding: 1.25rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.6rem;
    }
    
    /* Mobile Tables - Horizontal Scroll */
    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 1rem 0;
    }
    
    .table-wrapper table {
        min-width: 600px;
    }
    
    /* Mobile Forms */
    .form-group input,
    .form-group select {
        font-size: 16px;
        padding: 0.875rem 1rem;
        min-height: 48px;
    }
    
    /* Mobile Buttons */
    .btn-calculate {
        padding: 1rem 1.5rem;
        min-height: 48px;
        font-size: 1rem;
    }
    
    /* Mobile Cards */
    .card {
        padding: 1.25rem;
    }
    
    .card-icon {
        font-size: 2rem;
    }
    
    /* Mobile Hero Stats */
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .content-container {
        padding: 0 0.75rem;
    }
    
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.35rem; }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    /* Search Bar Small Mobile */
    .search-container {
        margin: 0 auto 1rem;
    }
    
    .search-form {
        padding: 0.5rem;
    }
    
    .search-input {
        padding: 0.625rem 0.875rem;
        font-size: 0.9rem;
    }
    
    .search-btn {
        padding: 0.625rem 0.875rem;
        font-size: 0.9rem;
    }
    
    .btn-calculate {
        width: 100%;
    }
    
    .result-main {
        font-size: 1.35rem;
    }
    
    .calculator-form {
        gap: 1rem;
    }
    
    /* Mobile Sidebar Hidden */
    .sidebar {
        display: none;
    }
    
    /* Article Mobile */
    .article-header h1 {
        font-size: 1.5rem;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    /* Mobile FAQ */
    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    /* Mobile Footer */
    .footer-section {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .adsense-slot,
    .sidebar {
        display: none;
    }
    
    .article-content {
        box-shadow: none;
    }
}
