/* ============================================
   BLOG HERO SECTION
   ============================================ */

.uf-blog-hero {
    position: relative;
    padding: 80px 0 64px;
    overflow: hidden;
}

.uf-blog-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.uf-blog-hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 24px 0;
    letter-spacing: -0.02em;
}

.uf-blog-hero p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0;
    font-weight: 400;
}

/* Hero with Background Image */
.uf-blog-hero-with-image {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 0;
    border-bottom: none;
}

.uf-blog-hero-with-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.35) 40%,
        rgba(0, 0, 0, 0.65) 100%
    );
    z-index: 1;
}

.uf-blog-hero-with-image .container {
    position: relative;
    z-index: 2;
    padding-bottom: 48px;
}

.uf-blog-hero-with-image .uf-blog-label {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    text-shadow: none;
}

.uf-blog-hero-with-image h1 {
    color: #ffffff !important;
    font-size: 56px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    margin: 0 0 24px 0 !important;
    max-width: 900px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    letter-spacing: -0.02em;
}

.uf-blog-hero-with-image p {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 20px !important;
    line-height: 1.6 !important;
    max-width: 700px;
    margin: 0;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Hero without Image (Fallback) */
.uf-blog-hero:not(.uf-blog-hero-with-image) {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
    border-bottom: none;
}

.uf-blog-hero:not(.uf-blog-hero-with-image) .uf-blog-label {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 16px;
}

.uf-blog-hero:not(.uf-blog-hero-with-image) h1 {
    color: #ffffff;
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 20px 0;
}

.uf-blog-hero:not(.uf-blog-hero-with-image) p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    max-width: 650px;
}

/* ============================================
   BLUE INFO BAR
   ============================================ */

.uf-blog-info-bar {
    background: #0052cc;
    padding: 20px 0;
    margin: 0;
}

/* Breadcrumb Navigation */
.uf-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 13px;
    flex-wrap: wrap;
}

.uf-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.uf-breadcrumb a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.uf-breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    user-select: none;
}

.uf-breadcrumb-current {
    color: #ffffff;
    font-weight: 600;
}

.uf-info-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.uf-info-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.uf-info-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
}

/* ============================================
   CATEGORY TABS
   ============================================ */

.uf-blog-tabs-wrapper {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 0;
    margin: 0;
}

.uf-blog-tabs-wrapper .container {
    padding-top: 0;
    padding-bottom: 0;
}

.uf-blog-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    border-bottom: 2px solid #e5e7eb;
}

.uf-tab {
    padding: 18px 24px;
    font-weight: 600;
    font-size: 15px;
    color: #6b7280;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    text-decoration: none;
    position: relative;
    top: 2px;
}

.uf-tab.active {
    color: #111827;
    border-bottom-color: #2563eb;
    background: #f9fafb;
}

.uf-tab:hover {
    color: #111827;
    background: #f9fafb;
}

/* ============================================
   LAYOUT WITH VERTICAL SIDEBAR
   ============================================ */

.uf-blog-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 48px;
    align-items: start;
}

/* Sidebar */
.uf-blog-sidebar {
    position: relative;
}

.uf-sidebar-card {
    position: sticky;
    top: 100px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.uf-sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    padding: 24px 24px 16px;
    border-bottom: 2px solid #e5e7eb;
    background: #fafafa;
}

.uf-category-nav {
    padding: 12px 0;
}

.uf-category-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.uf-category-link:hover {
    background: #f9fafb;
    color: #0b5bd3;
}

.uf-category-link.active {
    background: #eff6ff;
    color: #0b5bd3;
    border-left-color: #0b5bd3;
    font-weight: 600;
}

.category-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

.category-count {
    font-size: 12px;
    font-weight: 600;
    background: #e5e7eb;
    color: #6b7280;
    padding: 3px 8px;
    border-radius: 12px;
    min-width: 28px;
    text-align: center;
}

.uf-category-link.active .category-count {
    background: #0b5bd3;
    color: #ffffff;
}

/* Main content area */
.uf-blog-main {
    min-width: 0;
}

/* ============================================
   ARTICLE PAGE SPECIFIC
   ============================================ */

.uf-article-info {
    padding: 16px 0;
}

.uf-article-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.uf-article-header-text {
    flex: 1;
    min-width: 0;
}

.uf-article-header-line {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.uf-article-category {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    flex-shrink: 0;
}

.uf-article-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    flex: 1;
}

.uf-article-meta {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.uf-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
}

.uf-meta-icon {
    font-size: 12px;
    color: currentColor;
    line-height: 1;
}

.uf-article-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-top: 2px;
}

.uf-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.uf-share-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.35);
}

.uf-share-btn.is-copied {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.4);
}

.uf-share-text {
    white-space: nowrap;
}

.uf-article-actions--light .uf-share-btn {
    background: #ffffff;
    color: #0b5bd3;
    border: 1px solid #dbeafe;
}

.uf-article-actions--light .uf-share-btn:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.uf-article-actions--light .uf-share-btn.is-copied {
    background: #ecfdf5;
    border-color: #bbf7d0;
    color: #16a34a;
}

.uf-article-share {
    margin-top: 32px;
    padding: 20px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.uf-share-label {
    color: #111827;
    font-size: 14px;
    font-weight: 600;
}

.uf-article-cta {
    margin-top: 32px;
}

.uf-cta-roadmap {
    padding: 32px 36px;
    background: linear-gradient(135deg, rgba(8, 10, 105, 0.05), rgba(62, 183, 94, 0.03));
    border: 1px solid rgba(8, 10, 105, 0.15);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.uf-cta-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.uf-cta-content {
    flex: 1;
    min-width: 0;
}

.uf-cta-title {
    color: #080a69 !important;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 12px 0;
}

.uf-cta-desc {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.uf-cta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.uf-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    background: #0b5bd3;
    color: #ffffff;
}

.uf-cta-badge--accent {
    background: #ffc876;
    color: #333333;
}

.uf-cta-badge-icon {
    font-size: 12px;
}

.uf-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.uf-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 10px;
    background: #080a69;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 6px 16px rgba(8, 10, 105, 0.2);
}

.uf-cta-primary:hover {
    background: #0b0d7c;
    color: #ffffff;
}

.uf-cta-primary:visited,
.uf-cta-primary:focus,
.uf-cta-primary:active {
    color: #ffffff;
}

.uf-cta-primary-icon {
    font-size: 16px;
}

.uf-cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 10px;
    background: #ffffff;
    color: #0b5bd3;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #dbeafe;
    transition: all 0.2s ease;
}

.uf-cta-secondary:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.uf-cta-illustration {
    flex-shrink: 0;
    font-size: 72px;
    color: rgba(8, 10, 105, 0.2);
}

.uf-article-container {
    padding: 56px 0 80px;
    background: #fafafa;
}

.uf-article-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.uf-article-body {
    color: #111827;
    font-size: 17px;
    line-height: 1.8;
}

.uf-article-body h2,
.uf-article-body h3 {
    color: #111827;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 16px;
}

.uf-article-body h2 {
    font-size: 28px;
}

.uf-article-body h3 {
    font-size: 22px;
}

.uf-article-body p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 20px;
}

.uf-article-body ul,
.uf-article-body ol {
    color: #4b5563;
    margin: 20px 0;
    padding-left: 24px;
}

.uf-article-body li {
    margin-bottom: 8px;
    line-height: 1.8;
}

.uf-article-body a {
    color: #2563eb;
    text-decoration: underline;
}

.uf-article-body a:hover {
    color: #1d4ed8;
}

.uf-article-body blockquote {
    border-left: 4px solid #2563eb;
    padding-left: 20px;
    margin: 24px 0;
    color: #6b7280;
    font-style: italic;
}

.uf-article-body code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9em;
}

.uf-article-body pre {
    background: #1f2937;
    color: #e5e7eb;
    padding: 20px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 24px 0;
}

.uf-article-body pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

.uf-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.uf-related-grid .uf-article-card {
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.uf-related-grid .uf-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.uf-related-grid h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111827;
}

.uf-related-grid a {
    color: inherit;
    text-decoration: none;
}

.uf-related-grid a:hover {
    color: #2563eb;
}

/* ============================================
   BLOG CONTAINER & CONTENT
   ============================================ */

.uf-blog-container {
    padding: 56px 0 80px;
    background: #fafafa;
}

.uf-featured {
    background: #ffffff;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 0;
    margin-bottom: 48px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.uf-featured:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.uf-featured-img {
    height: 400px;
    background: #f3f4f6;
    overflow: hidden;
}

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

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

.uf-featured-content {
    padding: 40px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.uf-featured-content h2 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin: 16px 0 20px 0;
    color: #111827;
}

.uf-featured-content p {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.uf-meta {
    color: #6b7280;
    font-size: 13px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.uf-meta span {
    display: flex;
    align-items: center;
}

.uf-post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.uf-post-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.uf-post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.uf-post-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.uf-post-card:hover img {
    transform: scale(1.05);
}

.uf-post-body {
    padding: 24px;
}

.uf-post-body h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    color: #111827;
    margin-bottom: 12px;
}

.uf-post-body p {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.uf-category-badge {
    display: inline-flex;
    align-items: center;
    color: #2563eb;
    background: #eff6ff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    margin-bottom: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.uf-post-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    color: #9ca3af;
    font-size: 12px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .uf-blog-hero-with-image {
        min-height: 500px;
    }
    
    .uf-blog-hero-with-image h1 {
        font-size: 44px !important;
    }
    
    .uf-blog-hero-with-image p {
        font-size: 18px !important;
    }

    .uf-blog-layout {
        grid-template-columns: 280px 1fr;
        gap: 32px;
    }

    .uf-featured {
        grid-template-columns: 1fr;
    }

    .uf-featured-img {
        height: 320px;
    }

    .uf-featured-content {
        padding: 32px;
    }

    .uf-featured-content h2 {
        font-size: 24px;
    }

    .uf-post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .uf-blog-hero-with-image {
        min-height: 450px;
    }
    
    .uf-blog-hero-with-image h1 {
        font-size: 36px !important;
    }
    
    .uf-blog-hero-with-image p {
        font-size: 16px !important;
    }
    
    .uf-breadcrumb {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .uf-info-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .uf-info-title {
        font-size: 16px;
    }
    
    .uf-info-subtitle {
        font-size: 14px;
    }
    
    /* Sidebar en pleine largeur sur tablette */
    .uf-blog-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .uf-sidebar-card {
        position: static;
    }

    .uf-category-link {
        padding: 12px 20px;
    }

    .category-text {
        font-size: 13px;
    }
    
    .uf-article-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .uf-article-actions {
        margin-top: 0;
    }

    .uf-article-header-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 10px;
    }
    
    .uf-article-title {
        font-size: 20px;
    }
    
    .uf-article-meta {
        font-size: 12px;
        gap: 12px;
    }
    
    .uf-article-card {
        padding: 24px;
    }
    
    .uf-article-body {
        font-size: 16px;
    }
    
    .uf-article-body h2 {
        font-size: 24px;
    }
    
    .uf-article-body h3 {
        font-size: 20px;
    }
    
    .uf-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .uf-article-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .uf-cta-grid {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .uf-cta-title {
        font-size: 22px;
    }

    .uf-cta-desc {
        font-size: 14px;
    }

    .uf-cta-illustration {
        font-size: 56px;
    }
    
    .uf-tab {
        padding: 14px 16px;
        font-size: 14px;
    }

    .uf-blog-hero h1 {
        font-size: 36px !important;
    }

    .uf-blog-hero p {
        font-size: 16px !important;
    }

    .uf-featured-content {
        padding: 24px;
    }

    .uf-post-body {
        padding: 20px;
    }

    .uf-post-body h3 {
        font-size: 18px;
    }
}

@media (max-width: 640px) {
    .uf-blog-hero-with-image {
        min-height: 400px;
    }
    
    .uf-blog-hero-with-image h1 {
        font-size: 28px !important;
    }
    
    .uf-blog-hero-with-image .container {
        padding-bottom: 32px;
    }
    
    .uf-breadcrumb {
        font-size: 11px;
        gap: 6px;
        margin-bottom: 8px;
    }
    
    .uf-breadcrumb-separator {
        font-size: 12px;
    }

    /* Sidebar optimisé pour mobile */
    .uf-sidebar-card {
        border-radius: 8px;
    }

    .uf-sidebar-title {
        font-size: 16px;
        padding: 20px 16px 12px;
    }

    .uf-category-nav {
        padding: 8px 0;
    }

    .uf-category-link {
        padding: 12px 16px;
        gap: 10px;
        min-height: 48px;
    }

    .category-text {
        font-size: 13px;
    }

    .category-count {
        font-size: 11px;
        padding: 2px 6px;
        min-width: 24px;
    }
    
    .uf-article-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .uf-article-header-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .uf-article-title {
        font-size: 18px;
    }
    
    .uf-article-meta {
        font-size: 11px;
        gap: 10px;
    }

    .uf-article-actions {
        width: 100%;
        flex-wrap: wrap;
        gap: 8px;
    }

    .uf-share-btn {
        padding: 6px 10px;
        font-size: 11px;
    }

    .uf-article-share {
        padding: 16px 0;
    }

    .uf-cta-roadmap {
        padding: 24px;
    }

    .uf-cta-title {
        font-size: 20px;
    }

    .uf-cta-desc {
        font-size: 13px;
    }

    .uf-cta-primary {
        padding: 10px 14px;
        font-size: 12px;
    }

    .uf-cta-secondary {
        padding: 10px 14px;
        font-size: 12px;
    }

    .uf-cta-illustration {
        display: none;
    }
    
    .uf-article-card {
        padding: 20px;
    }
    
    .uf-article-body {
        font-size: 15px;
    }
    
    .uf-article-body h2 {
        font-size: 22px;
    }
    
    .uf-article-body h3 {
        font-size: 18px;
    }
    
    .uf-related-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .uf-blog-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .uf-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .uf-post-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .uf-blog-hero h1 {
        font-size: 28px !important;
    }

    .uf-featured-img {
        height: 240px;
    }

    .uf-featured-content h2 {
        font-size: 22px;
    }

    .uf-featured-content p {
        font-size: 15px;
    }
}

/* Optimisations supplémentaires pour très petits écrans */
@media (max-width: 375px) {
    .uf-blog-hero-with-image h1 {
        font-size: 24px !important;
    }

    .uf-sidebar-title {
        font-size: 15px;
        padding: 16px 12px 10px;
    }

    .uf-category-link {
        padding: 10px 12px;
        gap: 8px;
    }

    .category-text {
        font-size: 12px;
    }

    .uf-featured-img {
        height: 200px;
    }

    .uf-post-body {
        padding: 16px;
    }

    .uf-post-body h3 {
        font-size: 16px;
    }
}
