/* ============================================
   COMBINED BLOG STYLES
   File: css/blog-combined.css
   Unisce: blog-home.css + blog-article.css
   Priorità widget: blog-home.css
   ============================================ */

/* ===========================================
   GLOBAL BLOG STYLES
   =========================================== */
h1, h2 {
    color: var(--bs-primary) !important;
}

/* ===========================================
   BLOG HERO SECTION (da blog-home)
   =========================================== */
/*
.blog-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 3rem 0 2rem;
    }
    
    .blog-hero-title {
        font-size: 2rem;
    }
    
    .blog-hero-subtitle {
        font-size: 1.1rem;
    }
}
*/
/* ===========================================
   BREADCRUMB
   =========================================== */
.breadcrumb-section {
    padding: 1.5rem 0;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.breadcrumb {
    margin: 0;
    background: transparent;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    font-size: 1.2rem;
    color: var(--bs-dark);
}

.breadcrumb-item a {
    color: var(--bs-info);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--bs-dark);
}

/* ===========================================
   BLOG CONTENT SECTION (da blog-home)
   =========================================== */
.blog-content-section {
    padding: 4rem 0;
    background: #ffffff;
}

/* ===========================================
   FEATURED ARTICLE (da blog-home)
   =========================================== */
.featured-article {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    position: relative;
    transition: all 0.3s ease;
}

.featured-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #fbbf24 0%, var(--bs-warning) 100%);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-badge i {
    font-size: 1rem;
}

.featured-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-article:hover .featured-image img {
    transform: scale(1.05);
}

.featured-category {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--bs-info);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.featured-content {
    padding: 2.5rem;
}

.article-meta-info {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.meta-item {
    color: var(--bs-dark);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-item i {
    font-size: 1rem;
}

.featured-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.featured-title a {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-title a:hover {
    color: #var(--bs-info);
}

.featured-excerpt {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 1.5rem;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #var(--bs-info);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.btn-read-more:hover {
    color: #0a58ca;
    gap: 0.75rem;
}

.btn-read-more i {
    transition: transform 0.3s ease;
}

.btn-read-more:hover i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .featured-image {
        height: 250px;
    }
    
    .featured-content {
        padding: 1.5rem;
    }
    
    .featured-title {
        font-size: 1.5rem;
    }
    
    .featured-excerpt {
        font-size: 1rem;
    }
}

/* ===========================================
   CATEGORY FILTER (da blog-home)
   =========================================== */
.category-filter {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.filter-btn {
    background: white;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.filter-btn:hover {
    background: #e9ecef;
    border-color: #dee2e6;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--bs-info) 0%, #0a58ca 100%);
    color: white;
    border-color: #var(--bs-info);
}

.filter-btn i {
    font-size: 1.1rem;
}

@media (max-width: 576px) {
    .category-filter {
        justify-content: center;
    }
    
    .filter-btn {
        flex: 1 1 calc(50% - 0.5rem);
        justify-content: center;
        font-size: 0.85rem;
        padding: 0.65rem 1rem;
    }
}

/* ===========================================
   ARTICLES GRID (da blog-home)
   =========================================== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.article-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-category-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(13, 110, 253, 0.95);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
}

.article-card-content {
    padding: 1.75rem;
}

.article-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-card-title a {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-card-title a:hover {
    color: #var(--bs-info);
}

.article-card-excerpt {
    font-size: 0.95rem;
    color: var(--bs-dark);
    margin-bottom: 1.25rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.article-date {
    font-size: 0.85rem;
    color: var(--bs-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===========================================
   PAGINATION (da blog-home)
   =========================================== */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.blog-pagination .page-link {
    padding: 0.75rem 1.25rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    color: #495057;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-pagination .page-link:hover {
    background: var(--bs-info);
    border-color: var(--bs-info);
    color: white;
    transform: translateY(-2px);
}

.blog-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--bs-info) 0%, #0a58ca 100%);
    border-color: var(--bs-info);
}

.blog-pagination .page-item.disabled .page-link {
    background: #f8f9fa;
    border-color: #e9ecef;
    opacity: 0.5;
}

/* ===========================================
   ARTICLE HEADER (da blog-article)
   =========================================== */
.article-header {
    padding: 3rem 0 2rem;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.article-meta span {
    color: var(--bs-dark);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-category {
    background: #e7f3ff;
    color: var(--bs-info) !important;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
     color: var(--bs-dark) !important;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.article-lead {
    font-size: 1.25rem;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.article-featured-image {
    margin-top: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .article-title {
        font-size: 1.75rem;
    }
    
    .article-lead {
        font-size: 1.1rem;
    }
}

/* ===========================================
   TABLE OF CONTENTS (da blog-article)
   =========================================== */
.article-toc {
    background: #f8f9fa;
    border-left: 4px solid var(--bs-info);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.article-toc h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #212529;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-toc li {
    margin-bottom: 0.75rem;
}

.article-toc a {
    color: var(--bs-info);
    text-decoration: none;
    transition: all 0.2s;
}

.article-toc a:hover {
    color: #0a58ca;
    text-decoration: underline;
}

/* ===========================================
   ARTICLE CONTENT (da blog-article)
   =========================================== */
.article-content {
    padding: 2rem 0 4rem;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #212529;
}

.article-body h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
}

.article-body h2:first-child {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.article-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #212529;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.75rem;
}

.article-body strong {
    font-weight: 600;
    color: #000;
}

.article-body a:hover {
    color: #0a58ca;
}

/* ===========================================
   CALLOUTS (da blog-article)
   =========================================== */
.article-callout {
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.article-callout i {
    font-size: 2rem;
    flex-shrink: 0;
}

.article-callout h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.article-callout p {
    margin-bottom: 0;
}

.article-callout-warning {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
}

.article-callout-warning i {
    color: #856404;
}

.article-callout-success {
    background: #d1e7dd;
    border-left: 4px solid #198754;
}

.article-callout-success i {
    color: #0f5132;
}

.article-callout-info {
    background: #cfe2ff;
    border-left: 4px solid var(--bs-info);
}

.article-callout-info i {
    color: #084298;
}

/* ===========================================
   EXAMPLE BOX (da blog-article)
   =========================================== */
.article-example {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.article-example h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #212529;
}

.article-example ul {
    margin-bottom: 1.5rem;
}

.calculation-breakdown {
    background: white;
    padding: 1.5rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.calculation-breakdown h5 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--bs-dark);
}

.calc-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.calc-row:last-child {
    border-bottom: none;
}

.calc-row strong {
    font-size: 1.2rem;
}

/* ===========================================
   BENEFITS GRID (da blog-article)
   =========================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #dee2e6;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: var(--bs-info);
}

.benefit-item i {
    font-size: 2.5rem;
    color: var(--bs-info);
    margin-bottom: 1rem;
}

.benefit-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: #212529;
}

.benefit-item p {
    font-size: 0.95rem;
    color: var(--bs-dark);
    margin: 0;
}

/* ===========================================
   COMPARISON TABLE (da blog-article)
   =========================================== */
.comparison-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.comparison-table table {
    margin-bottom: 0;
}

.comparison-table th {
    background: #f8f9fa;
    font-weight: 600;
    text-align: center;
}

.comparison-table td {
    text-align: center;
    vertical-align: middle;
}

.table-active {
    background-color: #fff3cd !important;
}

/* ===========================================
   STRATEGY LIST (da blog-article)
   =========================================== */
.strategy-list {
    counter-reset: strategy-counter;
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.strategy-list li {
    counter-increment: strategy-counter;
    position: relative;
    padding-left: 4rem;
    margin-bottom: 2rem;
}

.strategy-list li::before {
    content: counter(strategy-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 3rem;
    height: 3rem;
    background: var(--bs-info);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.strategy-list strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.strategy-list p {
    color: var(--bs-dark);
    margin: 0;
}

/* ===========================================
   CHECKLIST (da blog-article)
   =========================================== */
.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.checklist i {
    color: #198754;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* ===========================================
   QUOTE (da blog-article)
   =========================================== */
.article-quote {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-danger) 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 3rem 0;
    position: relative;
}

.article-quote i {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 3rem;
    opacity: 0.3;
}

.article-quote blockquote {
    margin: 0;
    padding-left: 3rem;
}

.article-quote p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.article-quote footer {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===========================================
   FINAL CTA (da blog-article)
   =========================================== */
.article-final-cta {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-secondary) 100%);
     color: var(--bs-light) !important;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--bs-secondary);
}
.article-final-cta h3 {
    font-size: 1.75rem;
    color: var(--bs-light) !important;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 576px) {
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* ===========================================
   ARTICLE FOOTER (da blog-article)
   =========================================== */
.article-footer {
    border-top: 2px solid #e9ecef;
    padding-top: 2rem;
    margin-top: 3rem;
    /*display: flex;*/
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.article-tags {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.article-tags i {
    color: var(--bs-dark);
}

.article-tags a {
    background: #e9ecef;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    color: #495057;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.article-tags a:hover {
    background: var(--bs-info);
    color: white;
}

.article-share {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.article-share span {
    color: var(--bs-dark);
    font-weight: 500;
}

.share-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
min-height: 40px;
flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.2s;
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0a66c2;
}

.share-btn.email {
    background: #6c757d;
}

.share-btn.whatsapp {
    background: #25d366;
}

/* ===========================================
   SIDEBAR (PRIORITÀ A BLOG-HOME)
   =========================================== */
/* Stili comuni */
.blog-sidebar,
.article-sidebar {
    position: sticky;
    top: 100px;
}

/* Search Form - da blog-home */
.search-form .input-group {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.search-form .form-control {
    border: none;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
}

.search-form .form-control:focus {
    box-shadow: none;
}

.search-form .btn {
    border: none;
    padding: 0.85rem 1.5rem;
}

/* CTA Widget - da blog-home con priorità */
.widget-cta {
    background: linear-gradient(135deg, var(--bs-info) 0%, #0a58ca 100%);
    color: white;
    text-align: center;
    border: none;
}

.widget-cta .cta-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 2rem;
}

.widget-cta h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.widget-cta p {
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.widget-cta .btn {
    background: white;
    color: var(--bs-info);
    border: none;
    font-weight: 600;
}

.widget-cta .btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* Popular/Related Articles - da blog-home con priorità */
.popular-articles-list,
.related-articles-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-articles-list li,
.related-articles-list li {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #dee2e6;
}

.popular-articles-list li:last-child,
.related-articles-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.popular-articles-list a,
.related-articles-list a {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    color: #212529;
    transition: all 0.3s ease;
}

.popular-articles-list a:hover,
.related-articles-list a:hover {
    color: var(--bs-info);
}

.popular-articles-list a:hover img,
.related-articles-list a:hover img {
    transform: scale(1.05);
}

.popular-articles-list img,
.related-articles-list img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.popular-article-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.popular-title,
.related-articles-list span {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-date {
    font-size: 0.8rem;
    color: var(--bs-dark);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Categories List - da blog-home */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    margin-bottom: 0.75rem;
}

.categories-list li:last-child {
    margin-bottom: 0;
}

.categories-list a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: 8px;
    color:  var(--bs-info);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.categories-list a:hover {
    background:  var(--bs-primary);
    color: white;
    border-color:  var(--bs-primary);
    transform: translateX(5px);
}

.categories-list i {
    font-size: 1.1rem;
}

.category-count {
    margin-left: auto;
    background: #e9ecef;
    color: var(--bs-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.categories-list a:hover .category-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Newsletter Widget - da blog-home */
.widget-newsletter {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    text-align: center;
    border: none;
}

.widget-newsletter .newsletter-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 2rem;
}

.widget-newsletter h4 {
    color: white;
    margin-bottom: 1rem;
}

.widget-newsletter p {
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.newsletter-form .form-control {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: var(--bs-light);
    color: var(--bs-dark);
    backdrop-filter: blur(10px);
}

.newsletter-form .form-control::placeholder {
    color: var(--bs-dark);
}

.newsletter-form .form-control:focus {
    background: var(--bs-light);
    border-color: white;
    color: var(--bs-dark);
}
/*
.newsletter-form .btn {
    background: white;
    color: #10b981;
    border: none;
    font-weight: 600;
}

.newsletter-form .btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}
*/
.newsletter-privacy {
    margin-top: 1rem;
    margin-bottom: 0;
    opacity: 0.9;
}

.newsletter-privacy i {
    margin-right: 0.25rem;
}

.widget-newsletter input {
    margin-bottom: 0.75rem;
}

/* Tags Cloud - da blog-home */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag-item {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: var(--bs-info)
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.tag-item:hover {
    background: var(--bs-primary);
    color: white;
    border-color: var(--bs-primary);
    transform: translateY(-2px);
}

/* ===========================================
   UTILITY CLASSES (da blog-article)
   =========================================== */
.fraction {
    display: inline-block;
    vertical-align: middle; 
    margin: 0 0.2em 0.4ex;
    text-align: center;
}

.fraction > span {
    display: block;
    padding-top: 0.15em;
}

.fraction span.fdn {
    border-top: thin solid black;
}

.fraction span.bar {
    display: none;
}

/* ===========================================
   FILTER FUNCTIONALITY (da blog-home)
   =========================================== */
.article-card.hidden {
    display: none;
}

.article-card.fade-in {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================================
   LOADING STATE (da blog-home)
   =========================================== */
.articles-grid.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* ===========================================
   NO RESULTS MESSAGE (da blog-home)
   =========================================== */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.no-results i {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.no-results h3 {
    color: var(--bs-dark);
    margin-bottom: 0.5rem;
}

.no-results p {
    color: #adb5bd;
}

/* ===========================================
   RESPONSIVE STYLES
   =========================================== */
@media (max-width: 991px) {
    .blog-sidebar,
    .article-sidebar {
        position: static;
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .article-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .article-share {
        width: 100%;
        justify-content: flex-start;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}