.slf-modern-page {
    margin: 0;
    background:
        radial-gradient(circle at 15% 10%, rgb(46 204 113 / 14%), transparent 34%),
        linear-gradient(135deg, #d7f1df 0%, #edf8f0 52%, #ccebd6 100%);
    color: var(--slf-color-text);
    font-family: var(--slf-font-family-body);
}

/* Titres plus compacts pour les pages Ligue 1, Ligue 2 et Ligue 3 du menu Compétitions. */
body:is(.page-id-23249,.page-id-23289,.page-id-23862) .slf-article__title {
    max-width: 28ch;
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    line-height: 1.12;
    letter-spacing: -.025em;
}

.slf-singular {
    padding: var(--slf-space-7) 0 var(--slf-space-8);
}

.slf-singular__container {
    width: min(var(--slf-container-wide), calc(100% - 32px));
    margin-inline: auto;
}

.slf-singular__layout {
    min-width: 0;
}

.slf-singular__layout--single-column {
    display: block;
    width: min(100%, 980px);
    margin-inline: auto;
}

.slf-article {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--slf-color-border);
    border-radius: var(--slf-radius-panel);
    background: var(--slf-color-surface);
    box-shadow: var(--slf-shadow-small);
}

.slf-article__header {
    padding: clamp(28px, 5vw, 56px) clamp(24px, 6vw, 72px) var(--slf-space-6);
}

.slf-article__tags a {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: var(--slf-radius-pill);
    background: var(--slf-color-primary-soft);
    color: var(--slf-color-primary-hover);
    font-size: var(--slf-font-size-100);
    font-weight: var(--slf-font-weight-bold);
    text-decoration: none;
}

.slf-article__title {
    max-width: 18ch;
    margin: 0;
    color: var(--slf-color-heading);
    font-family: var(--slf-font-family-display);
    font-size: clamp(2.25rem, 5vw, 4.5rem);
    font-weight: var(--slf-font-weight-black);
    line-height: 1.04;
    letter-spacing: -.04em;
}

.slf-singular--page .slf-article__title {
    max-width: 22ch;
    font-size: clamp(2rem, 4vw, 3.75rem);
}

.slf-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--slf-space-2);
    margin-top: var(--slf-space-5);
    color: var(--slf-color-text-muted);
    font-size: var(--slf-font-size-200);
}

.slf-article__meta a {
    color: var(--slf-color-heading);
    font-weight: var(--slf-font-weight-bold);
    text-decoration: none;
}

.slf-article__hero {
    overflow: hidden;
    margin: 0;
    aspect-ratio: 16 / 9;
    background: var(--slf-color-surface-subtle);
}

.slf-article__hero-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slf-article__content {
    padding: var(--slf-space-6) clamp(24px, 6vw, 72px) var(--slf-space-7);
    color: var(--slf-color-text);
    font-size: clamp(1rem, 1.3vw, 1.125rem);
    line-height: 1.8;
}

.slf-article__content > :first-child { margin-top: 0; }
.slf-article__content > :last-child { margin-bottom: 0; }
body.single .slf-article__content p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}
.slf-article__content :where(h2, h3, h4) {
    margin: 1.8em 0 .65em;
    color: var(--slf-color-heading);
    font-family: var(--slf-font-family-display);
    line-height: var(--slf-line-height-heading);
}
.slf-article__content h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
.slf-article__content h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.slf-article__content a { color: var(--slf-color-primary-hover); text-underline-offset: 3px; }
.slf-article__content img { max-width: 100%; height: auto; border-radius: var(--slf-radius-large); }
.slf-article__content blockquote {
    margin: var(--slf-space-6) 0;
    padding: var(--slf-space-5);
    border-left: 5px solid var(--slf-color-primary);
    border-radius: 0 var(--slf-radius-medium) var(--slf-radius-medium) 0;
    background: var(--slf-color-surface-subtle);
    color: var(--slf-color-heading);
    font-size: var(--slf-font-size-400);
}
.slf-article__content :where(iframe, video, table) { max-width: 100%; }
.slf-article__content table { width: 100%; border-collapse: collapse; }
.slf-article__content :where(th, td) { padding: var(--slf-space-3); border: 1px solid var(--slf-color-border); text-align: left; }

.slf-article__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--slf-space-2);
    padding: 0 clamp(24px, 6vw, 72px) var(--slf-space-6);
}

.slf-article-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--slf-space-4);
    padding: var(--slf-space-6) clamp(24px, 6vw, 72px);
    border-top: 1px solid var(--slf-color-border);
}

.slf-article-navigation a {
    display: block;
    color: var(--slf-color-heading);
    font-weight: var(--slf-font-weight-bold);
    line-height: 1.4;
    text-decoration: none;
}

.slf-article-navigation span {
    display: block;
    margin-bottom: var(--slf-space-2);
    color: var(--slf-color-text-muted);
    font-size: var(--slf-font-size-100);
    letter-spacing: .06em;
    text-transform: uppercase;
}

.slf-article-navigation__next { text-align: right; }

.slf-article__comments {
    padding: var(--slf-space-6) clamp(24px, 6vw, 72px);
    border-top: 1px solid var(--slf-color-border);
}

.slf-modern-page :where(a, button, input, textarea, select):focus-visible {
    outline: 3px solid color-mix(in srgb, var(--slf-color-focus) 42%, transparent);
    outline-offset: 3px;
}

@media (max-width: 620px) {
    .slf-singular { padding-top: var(--slf-space-5); }
    .slf-singular__container { width: min(100% - 20px, var(--slf-container-wide)); }
    .slf-article__header { padding: var(--slf-space-5); }
    .slf-article__content { padding: var(--slf-space-5); }
    .slf-article__title { font-size: 2.25rem; }
    .slf-article-navigation { grid-template-columns: 1fr; padding: var(--slf-space-5); }
    .slf-article-navigation__next { text-align: left; }
    .slf-article__tags { padding: 0 var(--slf-space-5) var(--slf-space-5); }
    .slf-article__comments { padding: var(--slf-space-5); }
}
