        /* Widgets container layout */
        .widgets-container {
            display: flex;
            gap: 15px;
            margin: 0;
            align-items: flex-start;
            width: 100%;
            box-sizing: border-box;
        }

        .widgets-container > div {
            min-width: 0;
            display: flex;
        }

        .widgets-container > div > div {
            width: 100%;
        }

        .widgets-container-left {
            flex: 1 1 0;
        }

        .widgets-container-center {
            flex: 3 1 0;
        }

        .widgets-container-right {
            flex: 1 1 0;
        }

        .widget {
            background-color: var(--background-color);
            border: none;
            border-radius: 5px;
            box-shadow: 0.2em 0.2em 1em #383737, -0.2em -0.2em 1em #383737;
            padding: 15px;
            margin-top: 0;
            margin-bottom: 20px;
        }

        .widget h2 {
            margin-top: 0;
        }

        .widget ul {
            list-style-type: none;
            padding-left: 0;
        }

        .widget ul li {
            margin-bottom: 10px;
        }

        .widget ul li p {
            margin: 0;
        }

        .widget ul li a {
            color: var(--text-color);
            text-decoration: none;
        }

        .widget ul li a:hover {
            color: #f84943b7;
            text-decoration: none;
        }

        .widget .btn {
            margin-top: 10px;
        }

        .widget .posts-pagination {
            margin-top: 10px;
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .widget .posts-pagination .d-flex {
            gap: 8px;
            align-items: center !important;
        }

        .widget .posts-pagination .btn {
            margin-top: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            vertical-align: middle;
        }

        .widget .posts-pagination span {
            display: inline-flex;
            align-items: center;
            line-height: 1;
        }

        /* Ads widgets styling */
        .ads-widget {
            background-color: var(--background-color);
            border: none;
            border-radius: 5px;
            box-shadow: 0.2em 0.2em 1em #383737, -0.2em -0.2em 1em #383737;
            padding: 15px;
            margin-bottom: 20px;
        }

        .ads-widget h2 {
            margin-top: 0;
            margin-bottom: 12px;
        }

        .ads-list {
            list-style-type: none;
            padding-left: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .ads-item {
            margin-bottom: 0;
        }

        .ads-item-link {
            color: var(--text-color);
            text-decoration: none;
            display: block;
            border-radius: 8px;
            overflow: hidden;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .ads-item-link:hover,
        .ads-item-link:focus {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
        }

        .ads-item-image {
            width: min(100%, 260px);
            height: auto;
            display: block;
            aspect-ratio: 6 / 5;
            object-fit: cover;
            margin: 0 auto 8px;
            max-width: 100%;
            max-height: 220px;
            box-sizing: border-box;
            border-radius: 8px;
        }

        .ads-item-title {
            display: block;
            font-size: 0.85rem;
            line-height: 1.25;
            padding: 0 8px 8px;
            color: var(--text-color);
            font-weight: 500;
        }

        .ads-item-description {
            display: block;
            font-size: 0.78rem;
            line-height: 1.35;
            padding: 0 8px 10px;
            color: var(--text-muted-color);
        }

        .ads-item-link:hover .ads-item-title,
        .ads-item-link:focus .ads-item-title {
            color: #f84943b7;
        }

        @media (max-width: 992px) {
            .widgets-container {
                flex-direction: column;
                gap: 12px;
            }

            .widgets-container-left,
            .widgets-container-center,
            .widgets-container-right {
                flex: 1 1 auto;
                width: 100%;
            }

            .ads-item-image {
                width: min(100%, 320px);
                aspect-ratio: 16 / 7;
                max-height: 160px;
            }
        }

        @media (max-width: 575.98px) {
            .ads-list {
                gap: 10px;
            }

            .ads-item-link {
                padding: 8px;
            }

            .ads-item-image {
                width: 100%;
                max-width: 100%;
                aspect-ratio: 16 / 6;
                max-height: 140px;
                margin: 0 auto 6px;
            }

            .ads-item-title {
                font-size: 0.8rem;
                padding: 0 4px 6px;
            }

            .ads-item-description {
                font-size: 0.74rem;
                padding: 0 4px 8px;
            }
        }

        /* CTA publicité */
        .ads-cta-widget {
            text-align: center;
            overflow: hidden;
        }

        .ads-cta-image {
            display: block;
            width: 100%;
            max-width: 100%;
            height: auto;
            max-height: 200px;
            aspect-ratio: 4 / 3;
            object-fit: cover;
            border-radius: 8px;
            margin: 0 auto 12px;
            opacity: 0.82;
            box-sizing: border-box;
        }

        .ads-cta-text {
            font-size: 0.82rem;
            opacity: 0.78;
            margin: 0 0 10px;
        }

        .ads-cta-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 7px;
            padding: 7px 16px;
            border-radius: 999px;
            font-size: 0.8rem;
            font-weight: 600;
            text-decoration: none;
            color: var(--text-color);
            border: 1px solid color-mix(in srgb, var(--text-color, #ffffff) 28%, transparent);
            background: color-mix(in srgb, var(--text-color, #ffffff) 6%, transparent);
            transition: background 0.18s ease, border-color 0.18s ease;
        }

        .ads-cta-link:hover,
        .ads-cta-link:focus {
            background: color-mix(in srgb, var(--text-color, #ffffff) 14%, transparent);
            border-color: color-mix(in srgb, var(--text-color, #ffffff) 48%, transparent);
            text-decoration: none;
            color: var(--text-color);
        }