/* ========================================
   BLOG STYLES - BUDGETZEN.CH
   ======================================== */

/* Global text wrapping - Fix mobile overflow */
.article-single p,
.article-single h1,
.article-single h2,
.article-single h3,
.article-single h4,
.article-single li,
.article-section *,
.cta-box *,
.tips-box *,
.article-subtitle {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100%;
}

/* ========================================
   Blog Header
   ======================================== */
.blog-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    text-align: center;
}

.blog-header-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.blog-header-content p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Blog Search */
.blog-search {
    max-width: 500px;
    margin: 0 auto 2rem;
    position: relative;
}

.blog-search i {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    font-size: 1.1rem;
}

.blog-search input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-size: 1rem;
    transition: all var(--transition-base);
}

.blog-search input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

/* Blog Categories */
.blog-categories {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all var(--transition-base);
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ========================================
   Featured Article
   ======================================== */
.featured-article {
    padding: 4rem 0;
}

.featured-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.featured-image {
    position: relative;
    height: 100%;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(239, 68, 68, 0.95);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-text {
    padding: 3rem;
}

.featured-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.featured-meta .category {
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-weight: 600;
}

.featured-meta .date,
.featured-meta .reading-time {
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.featured-text h2 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.featured-text p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.featured-highlights {
    margin-bottom: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.highlight-item i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* ========================================
   Blog Grid
   ======================================== */
.blog-grid {
    padding: 4rem 0;
    background: var(--bg-light);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.article-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.article-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-content {
    padding: 1.5rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.article-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.article-content p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap var(--transition-base);
}

.read-more:hover {
    gap: 1rem;
}

.article-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.article-stats span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Coming Soon Articles */
.article-card.coming-soon {
    opacity: 0.7;
}

.coming-soon-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.coming-soon-text {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ========================================
   Blog Newsletter CTA
   ======================================== */
.blog-newsletter-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.newsletter-cta-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    color: white;
}

.newsletter-icon {
    font-size: 4rem;
}

.newsletter-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.newsletter-text p {
    opacity: 0.9;
}

.newsletter-cta-form {
    display: flex;
    gap: 1rem;
}

.newsletter-cta-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
}

.newsletter-cta-form .btn {
    white-space: nowrap;
}

/* ========================================
   Single Article Page
   ======================================== */
.article-single {
    padding-top: 80px;
}

.article-header-single {
    background: var(--bg-light);
    padding: 3rem 0 2rem;
}

.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.article-breadcrumb a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color var(--transition-base);
}

.article-breadcrumb a:hover {
    color: var(--primary-color);
}

.article-breadcrumb i {
    font-size: 0.7rem;
    color: var(--text-light);
}

.article-breadcrumb span {
    color: var(--text-dark);
}

.article-meta-header {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.category-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 600;
}

.article-meta-header span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
}

.article-title-main {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.article-subtitle {
    font-size: 1.3rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid #e2e8f0;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.author-title {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.article-share span {
    color: var(--text-gray);
    font-weight: 600;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    text-decoration: none;
    transition: all var(--transition-base);
}

.share-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.article-featured-image {
    height: 500px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   Article Content Layout
   ======================================== */
.article-content-wrapper {
    padding: 4rem 0;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
}

.article-main-content {
    max-width: 800px;
}

/* Article Typography */
.article-intro {
    margin-bottom: 3rem;
}

.lead {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-gray);
}

.article-section {
    margin-bottom: 4rem;
}

.article-section h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.number-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 800;
}

.article-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Table of Contents */
.table-of-contents {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius-xl);
    margin-bottom: 3rem;
    border-left: 4px solid var(--primary-color);
}

.table-of-contents h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.table-of-contents ul {
    list-style: none;
}

.table-of-contents li {
    margin-bottom: 0.75rem;
}

.table-of-contents a {
    color: var(--text-gray);
    text-decoration: none;
    transition: all var(--transition-base);
    display: block;
    padding: 0.5rem 0;
}

.table-of-contents a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

/* Tips Boxes */
.tips-box {
    background: #f0f9ff;
    border-left: 4px solid #0ea5e9;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
}

.tips-box.tips-success {
    background: #f0fdf4;
    border-left-color: #22c55e;
}

.tips-box.tips-warning {
    background: #fffbeb;
    border-left-color: #f59e0b;
}

.tips-box h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.tips-box p {
    margin: 0 0 1rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.tips-box ul {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.75rem;
}

.tips-box ul li {
    line-height: 1.7;
    color: var(--text-gray);
}

.checkmark-list {
    list-style: none;
}

.checkmark-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.checkmark-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.checkmark-list h4 {
    margin-bottom: 1rem;
    font-size: 1.15rem;
    color: var(--text-dark);
}

.checkmark-list li::before {
    content: "✓";
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Economy Cards */
.economy-card {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    margin: 2rem 0;
    box-shadow: var(--shadow-lg);
}

.economy-amount {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.economy-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Economy Card Details */
.economy-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.economy-header i {
    font-size: 1.5rem;
}

.economy-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    text-align: left;
}

.economy-card ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.economy-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

/* Timeline */
.timeline {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.timeline-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-md);
}

.timeline-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.timeline-content h3 {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

/* Utility Notes */
.table-note {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-style: italic;
    margin-top: 0.5rem;
}

.text-success {
    color: #10b981;
    font-weight: 600;
}

/* Comparison Table */
.comparison-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
}

.comparison-table thead {
    background: var(--primary-color);
    color: white;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
}

.comparison-table tbody tr:hover {
    background: var(--bg-light);
}

.comparison-table .savings {
    color: var(--secondary-color);
    font-weight: 700;
}

.comparison-table tfoot {
    background: var(--bg-light);
    font-weight: 700;
}

.total-savings {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* 2025 Highlights */
.highlight-2025 {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: var(--radius-xl);
    padding: 3rem;
}

.highlight-2025 h2 {
    margin-bottom: 1rem;
}

.highlight-2025 .lead {
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.insight-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease;
}

.insight-card:hover {
    transform: translateY(-6px);
}

.insight-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
}

.insight-card h3 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.insight-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.insight-card ul li {
    position: relative;
    padding-left: 1.4rem;
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.insight-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

.badge-new {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.15rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    background: var(--secondary-color);
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.source-note {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Table of contents card */
.toc-card {
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2.5rem;
}

.toc-card h3 {
    margin-bottom: 1.2rem;
}

.toc-card ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 1.25rem;
}

.toc-card li a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 0.8rem;
    border-radius: var(--radius-lg);
    background: rgba(102, 126, 234, 0.08);
    color: var(--text-dark);
    font-weight: 500;
    transition: transform 0.2s ease, background 0.2s ease;
}

.toc-card li a:hover {
    transform: translateX(6px);
    background: rgba(102, 126, 234, 0.16);
}

/* Key metrics */
.key-metrics {
    padding-top: 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.metric-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(15, 23, 42, 0.08);
    display: grid;
    gap: 0.75rem;
}

.metric-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

.metric-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
}

.metric-card p {
    margin: 0;
    color: var(--text-gray);
}

/* Deductions Tables */
.deductions-table {
    margin: 2rem 0;
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.deductions-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 680px;
}

.deductions-table th,
.deductions-table td {
    padding: 1rem 1.2rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.deductions-table thead {
    background: var(--primary-color);
    color: white;
}

.deductions-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.06);
}

.deductions-table.small {
    box-shadow: none;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: white;
    border-radius: var(--radius-lg);
}

.deductions-table.small table {
    min-width: 480px;
}

.deductions-table.small th,
.deductions-table.small td {
    font-size: 0.95rem;
}

.interest-box ul {
    margin: 1rem 0 1.5rem;
}

.interest-box ul li {
    font-size: 1.05rem;
    color: var(--text-gray);
}

.interest-box .table-note {
    margin: 0;
}

@media (max-width: 1024px) {
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .toc-card ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .highlight-2025 {
        padding: 2rem;
    }

    .insights-grid {
        grid-template-columns: 1fr;
    }

    .insight-card {
        padding: 1.75rem;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .metric-card {
        padding: 1.75rem;
    }

    .toc-card {
        padding: 2rem 1.5rem;
    }

    .toc-card li a {
        padding: 0.65rem 0.9rem;
    }

    .deductions-table table {
        min-width: 100%;
    }
}

/* Comparison Box */
.comparison-box {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin: 2rem 0;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.comparison-col h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.comparison-col ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem;
    display: grid;
    gap: 0.75rem;
}

.comparison-col ul li {
    line-height: 1.7;
    color: var(--text-gray);
}

.cost-list {
    list-style: none;
}

.cost-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.cost-list li.total {
    border-top: 2px solid var(--primary-color);
    border-bottom: none;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.comparison-arrow {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Stats Highlight */
.stat-highlight {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: var(--radius-xl);
    margin: 2rem 0;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    color: var(--text-gray);
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.stat-vs {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-gray);
    margin: 1rem 0;
}

/* Apps Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.app-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-base);
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.app-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.app-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.app-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.app-benefit {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* CTA Boxes */
.cta-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem;
    border-radius: var(--radius-xl);
    margin: 3rem 0;
    box-shadow: var(--shadow-xl);
}

.cta-primary {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.cta-icon {
    font-size: 4rem;
}

.cta-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.cta-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.cta-box .btn {
    background: white;
    color: var(--primary-color);
}

.cta-box .btn:hover {
    background: #f7fafc;
    transform: translateY(-2px);
}

.cta-secondary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.cta-content-center {
    text-align: center;
}

.inline-newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.inline-newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
}

.cta-final {
    text-align: center;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
}

.cta-icon-large {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.cta-final h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.cta-small-text {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Platforms List */
.platforms-list {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.platform-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.platform-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.platform-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.platform-item h4 {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.platform-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Energy Tips */
.energy-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.energy-tip {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.tip-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.energy-tip h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.energy-tip p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Planning Steps */
.planning-steps {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.step {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1rem;
}

.step h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

.step-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* Automation Box */
.automation-box {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    margin: 2rem 0;
}

.automation-box h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.automation-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.flow-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    min-width: 150px;
}

.flow-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.flow-item p {
    font-size: 0.9rem;
    margin: 0;
}

.flow-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.automation-note {
    background: #f0f9ff;
    padding: 1rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.automation-note i {
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

/* Summary Section */
.summary-section {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: var(--radius-xl);
    margin: 4rem 0;
}

.summary-table table {
    width: 100%;
}

.summary-table .amount {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.difficulty {
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.difficulty.easy {
    background: #d1fae5;
    color: #065f46;
}

.difficulty.medium {
    background: #fed7aa;
    color: #92400e;
}

.difficulty.hard {
    background: #fecaca;
    color: #991b1b;
}

.total-row {
    border-top: 3px solid var(--primary-color);
    background: white;
}

.total-amount {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.summary-note {
    background: #fffbeb;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid #f59e0b;
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.summary-note i {
    color: #f59e0b;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Conclusion */
.conclusion-section {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 3rem;
    border-radius: var(--radius-xl);
}

.next-steps-box {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-top: 2rem;
    box-shadow: var(--shadow-md);
}

.next-steps-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.next-steps-list {
    counter-reset: step-counter;
    list-style: none;
}

.next-steps-list li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1.5rem;
}

.next-steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Article Tags */
.article-tags {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.tag-label {
    font-weight: 700;
    color: var(--text-dark);
}

.tag {
    background: var(--bg-light);
    color: var(--text-gray);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--transition-base);
}

.tag:hover {
    background: var(--primary-color);
    color: white;
}

/* Share Bottom */
.article-share-bottom {
    margin: 3rem 0;
}

.article-share-bottom h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn-large {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
}

.share-btn-large.facebook {
    background: #1877f2;
}

.share-btn-large.twitter {
    background: #1da1f2;
}

.share-btn-large.linkedin {
    background: #0a66c2;
}

.share-btn-large.whatsapp {
    background: #25d366;
}

.share-btn-large.copy {
    background: var(--text-dark);
}

.share-btn-large:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   Sidebar
   ======================================== */
.article-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-widget {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Widget Download */
.widget-download {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
}

.widget-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.widget-download h3 {
    color: white;
    justify-content: center;
}

.widget-download p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Widget Newsletter */
.sidebar-newsletter-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.sidebar-newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Widget Popular */
.popular-articles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popular-article {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius-lg);
    transition: background var(--transition-base);
}

.popular-article:hover {
    background: var(--bg-light);
}

.popular-article.active {
    background: rgba(0, 102, 204, 0.05);
}

.popular-number {
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.popular-article.coming .popular-number {
    background: #cbd5e0;
}

.popular-content {
    flex: 1;
}

.popular-content a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.popular-content a:hover {
    color: var(--primary-color);
}

.coming-text {
    color: var(--text-gray);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.popular-views {
    font-size: 0.85rem;
    color: var(--text-light);
}

.popular-badge {
    font-size: 0.75rem;
    background: #cbd5e0;
    color: var(--text-dark);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
}

/* Widget Categories */
.categories-list {
    list-style: none;
}

.categories-list li {
    margin-bottom: 0.75rem;
}

.categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    color: var(--text-dark);
    text-decoration: none;
    transition: all var(--transition-base);
}

.categories-list a:hover {
    background: var(--primary-color);
    color: white;
    padding-left: 1.5rem;
}

.categories-list span {
    background: white;
    color: var(--text-dark);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.categories-list a:hover span {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* ========================================
   Modal Download
   ======================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 10;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    padding: 3rem 3rem 2rem;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
}

.modal-icon {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.modal-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.modal-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.modal-body {
    padding: 2rem 3rem 3rem;
}

.modal-benefits {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
}

.benefit-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Download Form */
.download-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 0.3rem;
    cursor: pointer;
}

.form-checkbox label {
    color: var(--text-gray);
    font-size: 0.9rem;
    cursor: pointer;
}

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        position: static;
    }
    
    .featured-content {
        grid-template-columns: 1fr;
    }
    
    .featured-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .blog-header-content h1 {
        font-size: 2rem;
    }
    
    .blog-categories {
        gap: 0.5rem;
    }
    
    .category-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .newsletter-cta-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .newsletter-icon {
        font-size: 3rem;
    }
    
    .newsletter-cta-form {
        flex-direction: column;
    }
    
    .article-title-main {
        font-size: 2rem;
    }
    
    .article-subtitle {
        font-size: 1.1rem;
    }
    
    .article-author {
        flex-wrap: wrap;
    }
    
    .article-share {
        width: 100%;
        justify-content: center;
    }
    
    .comparison-box {
        grid-template-columns: 1fr;
    }
    
    .comparison-arrow {
        transform: rotate(90deg);
    }
    
    .planning-steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .cta-primary {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-content {
        margin: 1rem;
    }
    
    .modal-header,
    .modal-body {
        padding: 2rem 1.5rem;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn-large {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Container ultra-compact */
    .container {
        padding: 0 0.5rem !important;
    }
    
    /* Header compact */
    .article-header-single {
        padding: 60px 0 15px !important;
    }
    
    /* Titles extra-small */
    .article-title-main {
        font-size: 1.35rem !important;
        line-height: 1.2;
    }
    
    .article-subtitle {
        font-size: 0.875rem !important;
    }
    
    .article-section h2 {
        font-size: 1.2rem !important;
        gap: 0.5rem;
    }
    
    .article-section h3 {
        font-size: 1.05rem !important;
    }
    
    .article-section h4 {
        font-size: 0.95rem !important;
    }
    
    .article-section p {
        font-size: 0.875rem !important;
    }
    
    /* Badges */
    .number-badge {
        width: 35px !important;
        height: 35px !important;
        font-size: 1.1rem !important;
    }
    
    /* Economy amounts */
    .economy-amount {
        font-size: 1.5rem !important;
    }
    
    .economy-card {
        padding: 0.875rem !important;
        margin: 1rem 0 !important;
    }
    
    /* Grids */
    .articles-grid,
    .apps-grid,
    .energy-tips {
        grid-template-columns: 1fr;
        gap: 0.75rem !important;
    }
    
    /* Cards */
    .app-card,
    .energy-tip,
    .tips-box {
        padding: 0.875rem !important;
    }
    
    .app-card h4,
    .energy-tip h4 {
        font-size: 0.95rem !important;
    }
    
    .app-card p,
    .energy-tip p {
        font-size: 0.8rem !important;
    }
    
    /* CTA Box */
    .cta-box {
        padding: 1rem !important;
    }
    
    .cta-content h3 {
        font-size: 1.05rem !important;
    }
    
    .cta-content p {
        font-size: 0.85rem !important;
    }
    
    .cta-icon {
        font-size: 1.75rem !important;
    }
    
    .btn {
        padding: 0.75rem 1rem !important;
        font-size: 0.85rem !important;
    }
    
    /* Table of contents */
    .table-of-contents {
        padding: 0.875rem !important;
    }
    
    .table-of-contents h3 {
        font-size: 0.95rem !important;
    }
    
    .table-of-contents ul li {
        font-size: 0.8rem !important;
    }
    
    /* Tables */
    .comparison-table table {
        font-size: 0.75rem !important;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem 0.25rem !important;
        font-size: 0.75rem !important;
    }
    
    /* Lists */
    .tips-box ul li {
        font-size: 0.8rem !important;
    }
    
    .checkmark-list li {
        font-size: 0.8rem !important;
        padding: 0.3rem 0 0.3rem 1.5rem !important;
    }
    
    /* Share buttons */
    .share-btn {
        font-size: 0.75rem !important;
        padding: 0.625rem 0.375rem;
    }
    
    /* Hide article stats on mobile */
    .article-stats {
        display: none !important;
    }
}

/* ========================================
   Mobile Optimizations - Article Pages
   ======================================== */
@media (max-width: 768px) {
    /* Container padding */
    .container {
        padding: 0 0.75rem !important;
    }
    
    /* Article header */
    .article-header-single {
        padding: 70px 0 20px !important;
    }
    
    .article-breadcrumb {
        font-size: 0.8rem !important;
        flex-wrap: wrap;
    }
    
    .article-meta-header {
        flex-wrap: wrap;
        gap: 0.5rem;
        font-size: 0.8rem !important;
    }
    
    .article-title-main {
        font-size: 1.5rem !important;
        line-height: 1.25;
        margin-bottom: 0.75rem !important;
    }
    
    .article-subtitle {
        font-size: 0.95rem !important;
        line-height: 1.4;
    }
    
    /* CTA Box */
    .cta-box {
        padding: 1.25rem !important;
        flex-direction: column;
        text-align: center;
    }
    
    .cta-icon {
        font-size: 2rem !important;
    }
    
    .cta-content h3 {
        font-size: 1.2rem !important;
    }
    
    .cta-content p {
        font-size: 0.9rem !important;
    }
    
    .btn {
        width: 100% !important;
        justify-content: center;
        padding: 0.875rem 1.25rem !important;
        font-size: 0.9rem !important;
    }
    
    /* Table of contents */
    .table-of-contents {
        padding: 1rem !important;
    }
    
    .table-of-contents h3 {
        font-size: 1rem !important;
    }
    
    .table-of-contents ul li {
        font-size: 0.875rem !important;
    }
    
    /* Article sections */
    .article-section {
        padding: 1.5rem 0 !important;
    }
    
    .article-section h2 {
        font-size: 1.35rem !important;
        flex-wrap: wrap;
        gap: 0.625rem;
        line-height: 1.25;
    }
    
    .number-badge {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.2rem !important;
    }
    
    .article-section p {
        font-size: 0.95rem !important;
        line-height: 1.5;
    }
    
    /* Tips box */
    .tips-box {
        padding: 1rem !important;
        margin: 1rem 0 !important;
    }
    
    .tips-box h4 {
        font-size: 1rem !important;
    }
    
    .tips-box ul li {
        font-size: 0.875rem !important;
        padding: 0.375rem 0;
    }
    
    /* Economy card */
    .economy-card {
        padding: 1rem !important;
        margin: 1.25rem 0 !important;
    }
    
    .economy-amount {
        font-size: 1.75rem !important;
    }
    
    .economy-label {
        font-size: 0.9rem !important;
    }
    
    /* Comparison table */
    .comparison-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 1.25rem 0 !important;
    }
    
    .comparison-table table {
        min-width: 600px;
        font-size: 0.8rem !important;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.625rem 0.375rem !important;
        white-space: nowrap;
        font-size: 0.8rem !important;
    }
    
    /* Comparison box */
    .comparison-box {
        grid-template-columns: 1fr;
        gap: 1.25rem !important;
    }
    
    .comparison-col h4 {
        font-size: 1.1rem !important;
    }
    
    .cost-list {
        font-size: 0.875rem !important;
    }
    
    .comparison-arrow {
        transform: rotate(90deg);
        margin: 0.875rem 0;
    }
    
    /* Apps grid */
    .apps-grid {
        grid-template-columns: 1fr;
        gap: 0.875rem !important;
    }
    
    .app-card {
        padding: 1rem !important;
    }
    
    .app-card h4 {
        font-size: 1.05rem !important;
    }
    
    .app-card p {
        font-size: 0.875rem !important;
    }
    
    /* Insurance comparison */
    .insurance-example {
        padding: 1rem !important;
    }
    
    .insurance-savings {
        font-size: 1.5rem !important;
    }
    
    /* Energy tips */
    .energy-tips {
        grid-template-columns: 1fr;
        gap: 0.875rem !important;
    }
    
    .energy-tip {
        padding: 1rem !important;
    }
    
    .energy-tip h4 {
        font-size: 1rem !important;
    }
    
    .energy-tip p {
        font-size: 0.875rem !important;
    }
    
    /* Planning steps */
    .planning-steps {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .planning-step {
        max-width: 100%;
        padding: 1rem !important;
    }
    
    .planning-step h4 {
        font-size: 1rem !important;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin: 0.75rem 0;
    }
    
    /* Checklist */
    .checkmark-list li {
        font-size: 0.875rem !important;
        padding: 0.375rem 0 0.375rem 1.75rem !important;
    }
    
    /* Sidebar */
    .article-sidebar {
        display: none !important; /* Cache la sidebar sur mobile */
    }
    
    /* Author section */
    .article-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.875rem !important;
    }
    
    .article-share {
        width: 100%;
    }
    
    .share-btn {
        width: calc(33.333% - 0.5rem);
        justify-content: center;
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem !important;
    }
    
    /* Modal */
    .modal-content {
        width: 95%;
        max-width: 500px;
        margin: 1rem auto;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-benefits {
        gap: 0.75rem;
    }
    
    .benefit-item {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    /* Ultra compact for small phones */
    .article-title-main {
        font-size: 1.5rem !important;
    }
    
    .article-section h2 {
        font-size: 1.3rem !important;
    }
    
    .number-badge {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .economy-amount {
        font-size: 1.75rem !important;
    }
    
    .cta-content h3 {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .comparison-table table {
        font-size: 0.75rem;
    }
    
    .share-btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* Reduce padding everywhere */
    .cta-box,
    .tips-box,
    .economy-card,
    .app-card,
    .energy-tip {
        padding: 1rem;
    }
    
    .article-section {
        padding: 1.5rem 0;
    }
}

/* ========================================
   Additional Mobile Fixes - Force Responsiveness
   ======================================== */
@media (max-width: 768px) {
    /* Force max-width on all containers */
    body {
        overflow-x: hidden !important;
    }
    
    .container {
        max-width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* Ensure no element exceeds viewport */
    * {
        max-width: 100%;
    }
    
    /* Images responsive */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Tables wrapper */
    .comparison-table {
        width: 100%;
        overflow-x: auto !important;
    }
    
    /* Force wrapping on long text */
    p, li, span, div {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Navigation adjustments */
    .nav-link {
        font-size: 0.95rem;
        padding: 0.5rem 0.75rem !important;
    }
    
    /* Article header compact */
    .article-header-single {
        padding: 90px 1rem 30px !important;
    }
    
    /* Featured image */
    .article-featured-image {
        margin: 0 -1rem;
    }
    
    .article-featured-image img {
        width: 100vw;
        max-width: 100vw;
    }
    
    /* Article layout */
    .article-layout {
        display: block !important;
        grid-template-columns: 1fr !important;
    }
    
    .article-main-content {
        padding: 0;
    }
    
    /* Intro paragraph */
    .article-intro {
        padding: 1.5rem 0;
    }
    
    .lead {
        font-size: 1.05rem !important;
        line-height: 1.6;
    }
    
    /* All headings */
    h1 {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    
    h3 {
        font-size: 1.25rem !important;
        line-height: 1.3 !important;
    }
    
    h4 {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 480px) {
    /* Even more compact */
    h1 {
        font-size: 1.5rem !important;
    }
    
    h2 {
        font-size: 1.3rem !important;
    }
    
    h3 {
        font-size: 1.15rem !important;
    }
    
    .lead {
        font-size: 1rem !important;
    }
    
    .article-header-single {
        padding: 80px 0.75rem 20px !important;
    }
}