.blog-article {
    color: #1a1a1a;
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 18px;
    padding: 2.4rem 2.6rem;
    box-shadow: 0 18px 50px rgba(15, 26, 43, 0.08);
}
.blog-article p {
    margin: 0;
    color: #2b3240;
}
.blog-article p + p {
    margin-top: 1rem;
}
.blog-page.blog-sport-bg {
    background: linear-gradient(180deg, rgb(249, 250, 255), rgba(235, 239, 255, 0.402)),
        url("/fr/blog/thematique/sportive/inspiration-sport-videaste-photographe/src/miniature.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    --background-color: transparent;
    padding-top: 0;
}
[data-theme="dark"] .blog-page.blog-sport-bg {
    background: linear-gradient(180deg, rgba(6, 8, 18, 0.75), rgba(10, 12, 26, 0.92)),
        url("/fr/blog/thematique/sportive/inspiration-sport-videaste-photographe/src/miniature.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    --background-color: transparent;
}
.blog-page.blog-sport-bg main {
    background: transparent;
    padding-top: 5.4rem;
}
@media (max-width: 2556px) and (max-height: 1329px) {
    .blog-page.blog-sport-bg main {
        padding-top: 3rem;
    }
}
.blog-article h2,
.blog-article h3 {
    color: #0f1a2b;
    font-weight: 700;
    line-height: 1.25;
    margin: 2.25rem 0 0.75rem;
}
.blog-article h2 {
    font-size: 1.6rem;
    letter-spacing: 0.01em;
    position: relative;
    padding-left: 0.75rem;
}
.blog-article h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
}

.blog-article h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: 4px;
    height: 1.4rem;
    border-radius: 2px;
    background: linear-gradient(180deg, #0b5cab 0%, #4da3ff 100%);
}
.blog-article ul,
.blog-article ol {
    margin: 0.75rem 0 0;
    padding-left: 1.4rem;
}
.blog-article li {
    margin: 0.35rem 0;
}

.blog-article li::marker {
    color: #0b5cab;
    font-weight: 600;
}
.blog-article a {
    color: #0b5cab;
    text-decoration: none;
    border-bottom: 1px solid rgba(11, 92, 171, 0.2);
    transition: border-color 0.2s ease, color 0.2s ease;
}
.blog-article a:hover,
.blog-article a:focus {
    color: #083f79;
    border-bottom-color: currentColor;
}
.blog-article #sommaire {
    background: #f7f9fc;
    border: 1px solid #dce4f2;
    border-left: 4px solid #0b5cab;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-top: 2rem;
}

.article-quiz {
    --quiz-surface: #eaf1ff;
    --quiz-border: #c8dcff;
    --quiz-accent: #1b6fe6;
    --quiz-text: #0f1a2b;
    --quiz-muted: #5b6a82;
    background: var(--quiz-surface);
    border: 2px solid var(--quiz-border);
    border-radius: 20px;
    padding: 1.2rem 1.7rem 1.5rem;
    box-shadow: 0 18px 36px rgba(15, 26, 43, 0.1);
    display: grid;
    gap: 1rem;
}

.article-quiz__eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--quiz-accent);
    font-weight: 700;
    margin: 0 0 -0.2rem;
    line-height: 1.1;
}

.article-quiz .article-quiz__title {
    margin: 0;
    font-size: 1.7rem;
    color: var(--quiz-text);
}

.article-quiz .article-quiz__subtitle {
    margin: 0;
    color: var(--quiz-muted);
    font-size: 1rem;
}

.article-quiz__progress {
    display: grid;
    gap: 0.4rem;
}

.article-quiz__progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--quiz-muted);
}

.article-quiz__progress-bar {
    background: rgba(27, 111, 230, 0.12);
    border-radius: 999px;
    height: 4px;
    overflow: hidden;
}

.article-quiz__progress-bar span {
    display: block;
    height: 100%;
    background: var(--quiz-accent);
    border-radius: inherit;
    transition: width 0.3s ease;
}

.article-quiz__result-set {
    display: none;
}

.article-quiz__body {
    display: grid;
    gap: 1.1rem;
}

.article-quiz__question {
    display: none;
    gap: 0.8rem;
}

.article-quiz__question.is-active {
    display: grid;
}

.article-quiz__question h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--quiz-text);
}

.article-quiz__options {
    display: grid;
    gap: 0.7rem;
}

.article-quiz__option {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(27, 111, 230, 0.2);
    background: rgba(255, 255, 255, 0.6);
    color: var(--quiz-text);
    font-size: 0.98rem;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.article-quiz__option::before {
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(27, 111, 230, 0.35);
    flex-shrink: 0;
    background: transparent;
}

.article-quiz__option:hover,
.article-quiz__option:focus-visible {
    border-color: var(--quiz-accent);
    box-shadow: 0 10px 24px rgba(27, 111, 230, 0.18);
    transform: translateY(-1px);
}

.article-quiz__option:hover::before,
.article-quiz__option:focus-visible::before {
    background: rgba(27, 111, 230, 0.2);
}

.article-quiz__option.is-selected {
    border-color: var(--quiz-accent);
    background: rgba(27, 111, 230, 0.12);
}

.article-quiz__option.is-selected::before {
    background: var(--quiz-accent);
    box-shadow: inset 0 0 0 3px #eaf1ff;
}

.article-quiz__result {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.1rem 1.3rem;
    box-shadow: inset 0 0 0 1px rgba(27, 111, 230, 0.12);
    display: grid;
    gap: 0.5rem;
}

.article-quiz__result h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--quiz-text);
}

.article-quiz__result p {
    margin: 0;
    color: var(--quiz-muted);
}

.article-quiz__restart {
    justify-self: start;
    margin-top: 0.4rem;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    border: none;
    background: var(--quiz-accent);
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
}

.article-quiz__restart:hover,
.article-quiz__restart:focus-visible {
    filter: brightness(1.06);
}

.article-tldr {
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(26, 20, 66, 0.08);
    background: #fbfbff;
    box-shadow: 0 8px 18px rgba(17, 17, 17, 0.06);
}

.article-tldr__details {
    margin: 0;
}

.article-tldr summary {
    list-style: none;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1442;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.article-tldr summary::marker,
.article-tldr summary::-webkit-details-marker {
    display: none;
}

.article-tldr summary::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid #5b5f7a;
    border-bottom: 2px solid #5b5f7a;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.article-tldr__details[open] summary::after {
    transform: rotate(-135deg);
}

.article-tldr__title {
    display: inline-flex;
    align-items: center;
}

.article-tldr__spoiler {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: #fff1f1;
    color: #8b1f1f;
    opacity: 0.6;
    line-height: 1;
}

.article-tldr__spoiler i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.article-tldr summary:hover .article-tldr__spoiler {
    animation: tldrBlink 1.4s ease-in-out infinite;
}

.article-tldr summary:focus-visible {
    outline: 2px solid rgba(26, 20, 66, 0.25);
    outline-offset: 4px;
}

@keyframes tldrBlink {
    0%,
    100% {
        opacity: 0.85;
    }
    50% {
        opacity: 0.15;
    }
}

.article-tldr__list {
    margin: 0;
    padding: 0.6rem 0 0 1.1rem;
    color: #2b2f45;
}

.article-tldr__list li {
    margin: 0.35rem 0;
    line-height: 1.6;
}

.article-sources {
    margin-top: 1.8rem;
}

[data-theme="dark"] .article-quiz {
    --quiz-surface: rgba(18, 24, 44, 0.92);
    --quiz-border: rgba(90, 116, 200, 0.45);
    --quiz-accent: #7aa2ff;
    --quiz-text: #f1f4ff;
    --quiz-muted: #c3cce3;
    box-shadow: 0 24px 60px rgba(4, 8, 20, 0.7);
}

[data-theme="dark"] .article-quiz__option {
    background: rgba(15, 22, 40, 0.6);
    border-color: rgba(122, 162, 255, 0.35);
    color: var(--quiz-text);
}

[data-theme="dark"] .article-quiz__option.is-selected {
    background: rgba(122, 162, 255, 0.2);
}

[data-theme="dark"] .article-quiz__option.is-selected::before {
    box-shadow: inset 0 0 0 3px rgba(18, 24, 44, 0.9);
}

[data-theme="dark"] .article-quiz__result {
    background: rgba(8, 12, 24, 0.9);
    box-shadow: inset 0 0 0 1px rgba(122, 162, 255, 0.22);
}

[data-theme="dark"] .article-tldr {
    background: rgba(17, 19, 32, 0.9);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .article-tldr summary {
    color: #f2f4ff;
}

[data-theme="dark"] .article-tldr__list {
    color: #d7dcf6;
}

[data-theme="dark"] .article-tldr__spoiler {
    background: rgba(255, 120, 120, 0.15);
    color: #ffb3b3;
}

@media (max-width: 768px) {
    .article-quiz {
        padding: 1.3rem 1.2rem;
    }

    .article-quiz__title {
        font-size: 1.4rem;
    }

    .article-quiz__option {
        font-size: 0.95rem;
    }
}

[data-theme="dark"] .blog-article {
    color: #e7ebf8;
    background: linear-gradient(165deg, rgba(18, 21, 40, 0.98), rgba(10, 12, 26, 0.99));
    border: 1px solid rgba(120, 130, 230, 0.18);
    box-shadow: 0 26px 65px rgba(6, 8, 22, 0.75);
}

[data-theme="dark"] .blog-article p {
    color: #c9d2ea;
}

[data-theme="dark"] .blog-article h2,
[data-theme="dark"] .blog-article h3 {
    color: #f1f4ff;
}

[data-theme="dark"] .blog-article h2::before {
    background: linear-gradient(180deg, #7aa2ff 0%, #8c66ff 100%);
}

[data-theme="dark"] .blog-article li::marker {
    color: #8fb0ff;
}

[data-theme="dark"] .blog-article a {
    color: #a5b8ff;
    border-bottom-color: rgba(165, 184, 255, 0.4);
}

[data-theme="dark"] .blog-article a:hover,
[data-theme="dark"] .blog-article a:focus {
    color: #e0e7ff;
    border-bottom-color: currentColor;
}

[data-theme="dark"] .blog-article #sommaire {
    background: linear-gradient(160deg, rgba(17, 20, 38, 0.95), rgba(12, 14, 28, 0.98));
    border-color: rgba(120, 130, 230, 0.22);
    border-left-color: #7aa2ff;
}

[data-theme="dark"] .blog-article section + section {
    border-top-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .blog-article #faq,
[data-theme="dark"] .blog-article .blog-faq {
    background: linear-gradient(160deg, rgba(18, 21, 40, 0.95), rgba(11, 13, 28, 0.98));
    border-color: rgba(140, 150, 255, 0.2);
}

[data-theme="dark"] .blog-article #faq h3 + p {
    background: rgba(102, 111, 236, 0.14);
    border-color: rgba(140, 150, 255, 0.25);
    color: #d5dcf4;
}

[data-theme="dark"] .blog-article #faq h3::before {
    box-shadow: 0 8px 20px rgba(6, 8, 22, 0.45);
}

[data-theme="dark"] .blog-article #faq h3:not(:first-of-type) {
    border-top-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .blog-article .blog-faq .faq-items details {
    background: rgba(102, 111, 236, 0.14);
    border-color: rgba(140, 150, 255, 0.25);
}

[data-theme="dark"] .blog-article .blog-faq .faq-items summary {
    color: #b7c0ff;
}

[data-theme="dark"] .blog-article .blog-faq .faq-items p {
    color: #d5dcf4;
}

[data-theme="dark"] .blog-article strong {
    color: #eef2ff;
}

.article-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    justify-content: flex-start;
    font-size: 0.9rem;
    color: #51607a;
    max-width: 1200px;
    margin: 1.25rem auto 0.75rem;
    padding: 0.75rem 1.25rem;
    background: #f6f8fc;
    border: 1px solid #e1e7f2;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(15, 26, 43, 0.06);
}

.article-breadcrumb a {
    color: #3f5673;
    text-decoration: none;
}

.article-breadcrumb a:hover,
.article-breadcrumb a:focus {
    color: #2a3f58;
}

.article-breadcrumb span[aria-current="page"] {
    color: #1a1a1a;
    font-weight: 600;
}

.article-breadcrumb span[aria-hidden="true"] {
    color: #9aa6b6;
}

.article-breadcrumb .breadcrumb-social {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-breadcrumb .breadcrumb-social-label {
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    color: #7b879c;
}

.article-breadcrumb .breadcrumb-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #0f1a2b;
    border: 1px solid rgba(15, 26, 43, 0.18);
    box-shadow: 0 10px 20px rgba(15, 26, 43, 0.12);
    opacity: 0.9;
}

.article-breadcrumb .breadcrumb-social img {
    width: 18px;
    height: 18px;
    display: block;
}

[data-theme="dark"] .article-breadcrumb {
    color: #c7cfe6;
    background: linear-gradient(160deg, rgba(16, 19, 36, 0.96), rgba(9, 11, 24, 0.98));
    border-color: rgba(120, 130, 230, 0.18);
    box-shadow: 0 12px 32px rgba(4, 6, 18, 0.6);
}

[data-theme="dark"] .article-breadcrumb a {
    color: #b8c5ff;
}

[data-theme="dark"] .article-breadcrumb a:hover,
[data-theme="dark"] .article-breadcrumb a:focus {
    color: #e2e9ff;
}

[data-theme="dark"] .article-breadcrumb span[aria-current="page"] {
    color: #f2f4ff;
}

[data-theme="dark"] .article-breadcrumb span[aria-hidden="true"] {
    color: rgba(200, 210, 240, 0.55);
}

[data-theme="dark"] .article-breadcrumb .breadcrumb-social a {
    background: rgba(24, 28, 54, 0.9);
    border-color: rgba(120, 130, 230, 0.35);
    box-shadow: 0 12px 24px rgba(5, 8, 20, 0.55);
    opacity: 1;
}

[data-theme="dark"] .article-breadcrumb .breadcrumb-social-label {
    color: #9aa6b6;
}

.article-breadcrumb .breadcrumb-social a:focus,
.article-breadcrumb .breadcrumb-social a:hover {
    transform: translateY(-1px);
    opacity: 1;
    background: #13233b;
}

.article-breadcrumb .breadcrumb-social a:focus-visible {
    outline: 2px solid #2a3f58;
    outline-offset: 2px;
}

[data-theme="dark"] .article-breadcrumb .breadcrumb-social a:focus-visible {
    outline-color: #e2e9ff;
}

.blog-article #sommaire h2 {
    margin-top: 0;
}

.blog-article #sommaire ol {
    margin-top: 0.5rem;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.toc-list a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    text-decoration: none;
    color: #22304a;
    background: rgba(102, 111, 236, 0.08);
    border: 1px solid rgba(102, 111, 236, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.toc-list a.is-active {
    background: rgba(102, 111, 236, 0.2);
    border-color: rgba(102, 111, 236, 0.45);
    box-shadow: 0 12px 24px rgba(30, 26, 80, 0.18);
    font-weight: 600;
}

.toc-list a:hover,
.toc-list a:focus-visible {
    transform: translateY(-2px);
    background: rgba(102, 111, 236, 0.16);
    border-color: rgba(102, 111, 236, 0.32);
    box-shadow: 0 12px 22px rgba(30, 26, 80, 0.12);
}

[data-theme="dark"] .toc-list a {
    color: #000000;
    background: rgb(151, 158, 255);
    border-color: rgba(140, 150, 255, 0.24);
}

[data-theme="dark"] .toc-list a.is-active {
    background: rgba(142, 152, 255, 0.85);
    border-color: rgba(175, 185, 255, 0.9);
    box-shadow: 0 14px 26px rgba(6, 8, 22, 0.6);
}

[data-theme="dark"] .toc-list a:hover,
[data-theme="dark"] .toc-list a:focus-visible {
    background: rgba(102, 111, 236, 0.22);
    border-color: rgba(140, 150, 255, 0.38);
    box-shadow: 0 12px 24px rgba(6, 8, 22, 0.55);
}

.toc-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    color: #1a2440;
    background: #ffffff;
    border: 1px solid rgba(102, 111, 236, 0.35);
    box-shadow: 0 12px 24px rgba(16, 12, 40, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.toc-cta:hover,
.toc-cta:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(102, 111, 236, 0.6);
    box-shadow: 0 16px 26px rgba(16, 12, 40, 0.16);
}

[data-theme="dark"] .toc-cta {
    color: #e6ebff;
    background: rgba(39, 78, 235, 0.85);
    border-color: rgba(140, 150, 255, 0.45);
}

[data-theme="dark"] .toc-cta:hover,
[data-theme="dark"] .toc-cta:focus-visible {
    border-color: rgba(140, 150, 255, 0.7);
}

.article-ux-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0.9rem 0 1.25rem;
    justify-content: center;
}

.article-reading-time {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(102, 111, 236, 0.12);
    color: #2a3f58;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.article-actions--inline {
    gap: 0.4rem;
}

.article-actions--inline .interactive {
    padding: 6px;
}

.article-actions--inline .like-count {
    font-size: 0.85rem;
}

.article-actions--inline .share-icon {
    font-size: 0.95rem;
}

.sidebar-floating-toggle .toc-progress {
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    letter-spacing: 0.02em;
}

.next-article {
    margin: 2.25rem 0 0;
    padding: 1.75rem;
    border-radius: 20px;
    background: #f5f6fb;
    border: 1px solid #e0e5f2;
    box-shadow: 0 16px 36px rgba(16, 12, 40, 0.12);
    position: relative;
    overflow: hidden;
}

.article-sources + .next-article {
    margin-top: 5rem;
}

.next-article__header {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
}

.next-article__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.7rem;
    color: #6b748d;
    margin: 0;
}

.next-article__card {
    display: grid;
    gap: 1.25rem;
    align-items: start;
}

.next-article__media {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 10px 24px rgba(18, 22, 38, 0.16);
    width: 100%;
    height: 260px;
}

.next-article__media img {
    width: 100%;
    border-radius: 16px;
    display: block;
    height: 100%;
    max-height: 260px;
    object-fit: cover;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.next-article__content {
    display: grid;
    gap: 0.5rem;
    align-content: start;
}

.next-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: #6b748d;
    margin: 0;
}

.next-article__title {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.35;
}

.next-article__title a {
    color: #1a2440;
    text-decoration: none;
    border-bottom: 1px solid rgba(26, 36, 64, 0.15);
}

.next-article__title a:hover,
.next-article__title a:focus-visible {
    color: #2a3f58;
    border-bottom-color: currentColor;
}

.next-article__excerpt {
    margin: 0;
    color: #39465e;
    line-height: 1.6;
}

.next-article__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #1a2440;
    font-weight: 600;
    text-decoration: none;
    padding-top: 0.35rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.next-article__media:hover img {
    transform: scale(1.05);
}

.next-article__cta:hover {
    transform: translateX(4px);
}

.next-article__cta:hover,
.next-article__cta:focus-visible {
    color: #2a3f58;
}

[data-theme="dark"] .article-reading-time {
    background: rgba(140, 150, 255, 0.18);
    color: #e5e9ff;
}

[data-theme="dark"] .next-article {
    background: rgba(18, 22, 40, 0.9);
    border-color: rgba(120, 130, 230, 0.25);
    box-shadow: 0 18px 38px rgba(6, 8, 22, 0.6);
}

[data-theme="dark"] .next-article__eyebrow,
[data-theme="dark"] .next-article__meta {
    color: rgba(200, 210, 240, 0.7);
}

[data-theme="dark"] .next-article__title a,
[data-theme="dark"] .next-article__cta {
    color: #e6ebff;
}

[data-theme="dark"] .next-article__title a {
    border-bottom-color: rgba(230, 235, 255, 0.25);
}

[data-theme="dark"] .next-article__excerpt {
    color: #c5cce8;
}

@media (min-width: 1301px) {
    .next-article__card {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .sidebar-floating-toggle {
        left: 16px;
        right: 16px;
        bottom: 18px;
        width: auto;
        border-radius: 999px;
    }
}

@media (max-width: 480px) {
    .sidebar-floating-toggle {
        width: auto;
        padding: 0 14px;
        border-radius: 999px;
    }

    .sidebar-floating-toggle span {
        display: inline-flex;
        font-size: 0.8rem;
    }

    .sidebar-floating-toggle .toc-progress {
        font-size: 0.7rem;
    }
}

.blog-article section + section {
    margin-top: 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e9edf4;
}

.blog-faq + .latest-articles {
    margin-top: 2rem;
}

.blog-article #faq,
.blog-article .blog-faq {
    background: linear-gradient(135deg, #fff2e6 0%, #ffffff 100%);
    border: 1px solid #e6c3b2;
    border-radius: 20px;
    padding: 2rem 2.1rem;
    margin: 2.75rem 0 0;
    box-shadow: 0 22px 50px rgba(20, 18, 48, 0.12);
}

.blog-article #faq h2,
.blog-article .blog-faq h2 {
    margin-top: 0;
    font-size: 1.5rem;
}

.blog-article #faq h3 {
    margin-top: 1.25rem;
    color: #666fec;
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.blog-article #faq h3::before {
    content: "Q";
    font-size: 0.75rem;
    font-weight: 800;
    color: #ffffff;
    background: #666fec;
    border-radius: 999px;
    padding: 0.15rem 0.45rem;
    transform: translateY(-1px);
}

.blog-article #faq h3 + p {
    margin-top: 0.5rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(102, 111, 236, 0.08);
    border: 1px solid rgba(102, 111, 236, 0.18);
}

.blog-article #faq h3:not(:first-of-type) {
    padding-top: 1rem;
    border-top: 1px solid #efd1bf;
}

.faq-items-article {
    display: grid;
    gap: 16px;
    margin-top: 1rem;
}

.faq-items-article details {
    background: rgb(43, 38, 93);
    color: #f1f1f1;
    border: 1px solid rgba(102, 97, 252, 0.18);
    border-radius: 16px;
    padding: 18px 22px;
}

.faq-items-article summary {
    font-weight: 700;
    cursor: pointer;
    outline: none;
}

.faq-items-article summary::marker {
    color: var(--primary);
}

.faq-items-article p {
    margin-top: 12px;
    color: #ffffff;
    line-height: 1.6;
}

[data-theme="dark"] .faq-items-article details {
    background: rgba(255, 255, 255, 0.853);
    color: #000000;
    border-color: rgba(255, 255, 255, 0.16);
}
[data-theme="dark"] .faq-items-article p {
    color: #000000;
}

.blog-article strong {
    color: #0f1a2b;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.95rem;
    color: #5b677a;
    margin: 0.75rem 0 0.35rem;
}

.author-name {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #111111;
    font-weight: 600;
    line-height: 1.2;
}

.article-meta .author-name {
    color: #000000;
}

[data-theme="dark"] .article-meta .author-name {
    color: #f3f6ff;
}

.author-name__avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #000000;
    display: block;
    align-self: center;
}

[data-theme="dark"] .author-name__avatar {
    border-color: #ffffff;
}

.author-name__icon {
    width: 16px;
    height: 16px;
    color: #405de6;
    display: block;
}

.author-certified {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(64, 93, 230, 0.14);
    color: #111111;
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1.2;
}

.author-certified__icon {
    color: #405de6;
}

[data-theme="dark"] .author-certified__icon {
    filter: invert(1);
}

[data-theme="dark"] .article-meta {
    color: #c7cfe0;
}

[data-theme="dark"] .author-certified {
    color: #f3f6ff;
}

[data-theme="dark"] .author-certified {
    background: rgba(64, 93, 230, 0.25);
}

.author-certified__icon {
    width: 16px;
    height: 16px;
}

.author-bio {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    border: 1px solid var(--divider-color, rgba(0, 0, 0, 0.12));
    border-radius: 28px;
    margin-top: 3rem;
    background: var(--card-bg, #ffffff);
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--primary, #0034a5) 10%, var(--card-bg, #ffffff) 90%),
        color-mix(in srgb, var(--accent, #9a3f00) 3%, var(--card-bg, #ffffff) 97%)
    );
    box-shadow:
        0 24px 50px var(--shadow, rgba(16, 12, 40, 0.12)),
        0 0 0 1px color-mix(in srgb, var(--card-bg, #ffffff) 80%, var(--primary, #0034a5) 20%) inset;
    filter: drop-shadow(0 0 13px rgba(135, 118, 231, 0.42));
    position: relative;
    overflow: hidden;
}

.author-bio::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at top right,
            color-mix(in srgb, var(--primary, #0034a5) 22%, transparent),
            transparent 58%
        ),
        radial-gradient(
            circle at bottom left,
            color-mix(in srgb, var(--accent, #9a3f00) 12%, transparent),
            transparent 56%
        );
    pointer-events: none;
    z-index: 0;
}

.author-bio::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 22px;
    border: 1px solid color-mix(in srgb, var(--card-bg, #ffffff) 70%, var(--primary, #0034a5) 30%);
    pointer-events: none;
    z-index: 0;
}

.author-bio__avatar {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid color-mix(in srgb, var(--primary, #0034a5) 45%, #ffffff 55%);
    flex-shrink: 0;
    box-shadow:
        0 16px 26px var(--shadow, rgba(16, 12, 40, 0.16)),
        0 0 0 6px color-mix(in srgb, var(--primary, #0034a5) 12%, transparent);
    position: relative;
    z-index: 1;
}

.author-bio__content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.author-bio__title {
    font-weight: 600;
    color: var(--text, #1b1b2b);
    font-size: 1.2rem;
    margin-bottom: 0.45rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.author-bio__title .author-name__icon {
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.2rem;
}

.author-bio__name {
    font-weight: 700;
}

.author-bio__text {
    color: var(--text-light, #3a3a4d);
    line-height: 1.6;
    font-size: 14px;
}

.author-bio__text:last-child {
    margin-bottom: 0;
}

[data-theme="dark"] .author-bio {
    filter: drop-shadow(0 0 13px rgba(153, 133, 255, 0.605));
}


@media (max-width: 640px) {
    .author-bio {
        flex-direction: column;
        align-items: center;
    }
    .author-bio__avatar {
        width: 72px;
        height: 72px;
    }
}

@media (max-width: 768px) {
    .blog-article {
        font-size: 1rem;
        padding: 1.6rem 1.4rem;
    }

    .blog-article h2 {
        font-size: 1.4rem;
    }

    .blog-article #sommaire,
    .blog-article #faq {
        padding: 1.1rem;
    }
}
.blog-sidebar-floating {
    left: max(0px, calc((100% - 1380px) / 2 - 12px));
}

.author-certified {
    position: relative;
    user-select: none;
}

.author-certified::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%);
    width: 260px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #111111;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.4;
    text-align: left;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10;
    box-shadow: 0 0px 24px #666fec;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
}

[data-theme="dark"] .author-certified::after {
    background: #f2f2f2;
    color: #111111;
    box-shadow: 0 0px 24px #666fec;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

[data-theme="dark"] .author-certified::before {
    border-color: #f2f2f2 transparent transparent transparent;
}

.author-certified::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: calc(100% + 4px);
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #111111 transparent transparent transparent;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.author-certified:hover::after,
.author-certified:focus::after,
.author-certified:hover::before,
.author-certified:focus::before {
    opacity: 1;
}
