/* Refonte visuelle locale unchevalparjour.fr */

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background:
        radial-gradient(circle at top, rgba(229, 200, 124, 0.35), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(246, 240, 228, 0.96)),
        var(--color-bg);
    min-height: 100vh;
    overflow-x: hidden;
}

body::before,
body::after {
    content: '';
    position: fixed;
    inset: 72px auto 0 0;
    width: min(22vw, 320px);
    pointer-events: none;
    z-index: 0;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.28;
    filter: saturate(0.9) sepia(0.22);
}

body::before {
    background-image:
        linear-gradient(180deg, rgba(246, 240, 228, 0) 0%, rgba(246, 240, 228, 0.82) 60%, rgba(246, 240, 228, 0.98) 100%),
        url('../images/course-hippique.webp');
    left: 0;
}

body::after {
    inset: 72px 0 0 auto;
    background-image:
        linear-gradient(180deg, rgba(246, 240, 228, 0) 0%, rgba(246, 240, 228, 0.78) 60%, rgba(246, 240, 228, 0.96) 100%),
        url('../images/grandstand-horse-racing.webp');
}

#page,
.site {
    position: relative;
    z-index: 1;
    overflow-x: clip;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-primary);
    font-family: var(--font-heading);
    line-height: 1.08;
    letter-spacing: 0.01em;
}

h1 {
    font-size: clamp(2.4rem, 4.6vw, 4.4rem);
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.9rem);
}

h3 {
    font-size: clamp(1.45rem, 2.5vw, 2.1rem);
}

h4 {
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

p,
li,
td,
label {
    color: var(--color-text-soft);
    line-height: 1.72;
}

a {
    color: var(--color-accent);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-primary);
}

strong,
b {
    color: var(--color-primary);
}

.site-content,
.inside-site-info,
.inside-header,
.main-navigation .inside-navigation,
.footer-widgets-container .inside-footer-widgets,
.inside-top-bar {
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: clamp(16px, 2.8vw, 36px);
}

.content-area,
#primary {
    float: none;
    width: 100%;
}

body.right-sidebar .widget-area,
body.right-sidebar #right-sidebar,
body.right-sidebar .is-right-sidebar {
    display: none !important;
}

body.right-sidebar .content-area,
body.right-sidebar #primary,
body.no-sidebar .content-area,
body.no-sidebar #primary {
    float: none;
    width: 100%;
    max-width: 960px;
    margin-inline: auto;
}

.site-header {
    background: rgba(255, 251, 244, 0.94) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 151, 43, 0.24) !important;
    box-shadow: 0 12px 28px rgba(71, 53, 12, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0 !important;
}

.site-header .inside-header {
    padding-block: 0 !important;
    display: block !important;
}

.site-header .site-branding,
.site-header .main-navigation {
    display: none !important;
}

.ucpj-custom-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
    min-height: 72px;
    width: min(100%, 1180px);
    margin-inline: auto;
    padding-inline: clamp(12px, 2vw, 24px);
}

.ucpj-brand,
.ucpj-footer-brand-title {
    display: inline-flex;
    align-items: center;
    gap: 0.95rem;
    text-decoration: none !important;
}

.ucpj-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
}

.ucpj-logo-footer {
    width: 58px;
    height: 58px;
    background: transparent !important;
}

.ucpj-brand-text {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    white-space: nowrap;
}

.ucpj-brand {
    white-space: nowrap;
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    font-size: clamp(1.4rem, 2.2vw, 2.05rem) !important;
    letter-spacing: 0.02em !important;
}

.ucpj-title-dark {
    color: var(--color-primary);
}

.ucpj-title-green {
    color: var(--color-accent);
}

.ucpj-custom-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: nowrap;
}

.ucpj-nav-link {
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.98rem;
    padding: 0.65rem 1rem;
    border-radius: 14px;
    text-decoration: none !important;
    white-space: nowrap;
    line-height: 1.2;
    transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.ucpj-nav-link:hover {
    color: var(--color-primary);
    background: rgba(31, 107, 59, 0.08);
}

.ucpj-nav-link.is-active {
    color: #fffef9;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    box-shadow: 0 10px 20px rgba(20, 83, 45, 0.18);
}

.ucpj-header-cta,
.ucpj-header-cta:visited {
    color: #fffef9 !important;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent)) !important;
    border: 1px solid rgba(201, 151, 43, 0.55) !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
    padding: 0.68rem 1.2rem !important;
    margin-left: 0.35rem;
    box-shadow: var(--shadow-glow);
}

.ucpj-header-cta::before {
    content: '♘';
    margin-right: 0.45rem;
    color: var(--color-gold-soft);
}

.ucpj-header-cta:hover {
    background: linear-gradient(135deg, var(--color-hover), var(--color-primary)) !important;
    color: #ffffff !important;
}

.site-description,
p.site-description {
    display: none !important;
}

.separate-containers .inside-article,
.one-container .inside-article {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 251, 243, 0.98)),
        var(--color-card);
    border: 1px solid rgba(201, 151, 43, 0.2);
    border-radius: 28px;
    box-shadow: var(--shadow-card);
    padding: clamp(24px, 3.2vw, 40px);
}

.entry-content,
.page-content {
    color: var(--color-text-soft);
}

.entry-content > *:first-child,
.page-content > *:first-child {
    margin-top: 0;
}

.entry-content > * + *,
.page-content > * + * {
    margin-top: 1.1rem;
}

.home .entry-content h2 {
    font-size: clamp(1.4rem, 2.2vw, 2.0rem);
}

.entry-content hr,
.page-content hr {
    border: 0;
    border-top: 1px solid rgba(201, 151, 43, 0.3);
    margin: 1.8rem 0;
}

.entry-content ul,
.entry-content ol,
.page-content ul,
.page-content ol {
    padding-left: 1.35rem;
}

.entry-content li + li,
.page-content li + li {
    margin-top: 0.45rem;
}

.site-main > * + * {
    margin-top: 24px;
}

.entry-header {
    position: relative;
    margin-bottom: 1.4rem;
}

.entry-header::after {
    content: '';
    display: block;
    width: 76px;
    height: 4px;
    margin-top: 0.9rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-soft));
}

.wp-block-group,
.wp-block-cover,
.wp-block-media-text {
    border-radius: var(--radius-card);
}

.ucpj-page-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.6rem;
    padding: clamp(28px, 4vw, 42px);
    border: 1px solid rgba(201, 151, 43, 0.22);
    border-radius: 28px;
    background:
        linear-gradient(115deg, rgba(20, 83, 45, 0.93), rgba(31, 107, 59, 0.82)),
        linear-gradient(180deg, rgba(229, 200, 124, 0.1), rgba(229, 200, 124, 0)),
        var(--color-primary);
    color: #fffef8;
    box-shadow: var(--shadow-card);
}

.ucpj-page-hero::after {
    content: '';
    position: absolute;
    inset: auto -80px -80px auto;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 200, 124, 0.26), rgba(229, 200, 124, 0));
    pointer-events: none;
}

.ucpj-page-hero > * {
    position: relative;
    z-index: 1;
}

.ucpj-page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.52rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 254, 248, 0.92);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ucpj-page-hero h1,
.ucpj-page-hero h2 {
    color: #fffef8;
    margin: 1rem 0 0.8rem;
}

.ucpj-page-hero p {
    max-width: 960px;
    color: rgba(255, 254, 248, 0.84);
    font-size: 1.04rem;
}

.ucpj-content-stack {
    display: grid;
    gap: 1.3rem;
}

.ucpj-content-card {
    padding: clamp(20px, 2.8vw, 28px);
    border: 1px solid rgba(20, 83, 45, 0.09);
    border-radius: 24px;
    background: rgba(255, 253, 248, 0.92);
    box-shadow: 0 14px 30px rgba(72, 56, 21, 0.08);
}

.jdcom-bloc-header,
.jdcom-prono-header,
table th,
.jdcom-prono-table th,
.jdcom-result-table th {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fffef8;
}

.card-header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fffef8;
    padding: 0.7rem 1.2rem;
    min-height: 42px;
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.jdcom-access-box,
.access-box {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(247, 239, 223, 0.88));
    border: 1px solid rgba(201, 151, 43, 0.28);
    border-left: 4px solid var(--color-gold);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    color: var(--color-text-soft);
}

.jdcom-prono,
.result-list,
.card,
.offre-card {
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.jdcom-prono-bloc,
.card-body,
.result-content,
.offre-body {
    background: rgba(255, 253, 248, 0.96);
}

.card-body {
    padding: 1.4rem 1.5rem;
}

.card-body p + p {
    margin-top: 0.8rem;
}

.jdcom-prono-bloc,
.offre-card,
.card,
.result-list,
.jdcom-prono-table,
.jdcom-result-table,
table,
.table-wrap,
.overflow-x-auto,
.table-responsive {
    border: 1px solid rgba(20, 83, 45, 0.09);
}

.jdcom-prono-bloc h4,
.ucpj-footer-col-title,
.section-label {
    color: var(--color-primary) !important;
}

.section-label {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    background: var(--color-soft);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.jdcom-prono-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.8rem;
    margin: 0.5rem 0;
}

.jdcom-prono-cell,
.stat-item {
    background: linear-gradient(180deg, #ffffff, var(--color-card-2));
    border: 1px solid rgba(20, 83, 45, 0.1);
    border-radius: 18px;
    color: var(--color-text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.jdcom-prono-cell strong {
    color: var(--color-gold);
}

.jdcom-prono-table td,
.jdcom-result-table td,
table td {
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-text-soft);
}

.jdcom-prono-table tr:nth-child(even) td,
.jdcom-result-table tr:nth-child(even) td,
table tr:nth-child(even) td {
    background: rgba(247, 239, 223, 0.76);
}

.jdcom-prono-table td:first-child,
.jdcom-result-table td:first-child,
table td:first-child {
    color: var(--color-primary);
}

.jdcom-prono-note,
.jdcom-note,
.note-muted {
    background: rgba(220, 233, 214, 0.6);
    border: 1px dashed rgba(201, 151, 43, 0.5);
    border-radius: 14px;
    color: var(--color-text-muted);
}

.resultats-empty-state {
    padding: clamp(22px, 3vw, 30px);
    border: 1px solid rgba(201, 151, 43, 0.24);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(247, 239, 223, 0.88));
}

.resultats-empty-state p:last-child {
    margin-bottom: 0;
}

.legal-shell {
    display: grid;
    grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
    gap: 1.4rem;
    align-items: start;
}

.legal-toc {
    position: sticky;
    top: 96px;
    padding: 1.2rem 1rem;
    border: 1px solid rgba(201, 151, 43, 0.24);
    border-radius: 20px;
    background: rgba(255, 253, 248, 0.94);
    box-shadow: 0 10px 24px rgba(72, 56, 21, 0.08);
}

.legal-toc .label {
    margin-bottom: 0.8rem;
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.legal-toc a {
    display: block;
    padding: 0.45rem 0;
    color: var(--color-text-soft);
    font-weight: 600;
    text-decoration: none;
}

.legal-toc a + a {
    border-top: 1px solid rgba(20, 83, 45, 0.07);
}

.legal-toc a:hover {
    color: var(--color-primary);
}

.legal-content {
    min-width: 0;
    padding: clamp(22px, 3vw, 30px);
    border: 1px solid rgba(20, 83, 45, 0.09);
    border-radius: 24px;
    background: rgba(255, 253, 248, 0.95);
    box-shadow: 0 14px 30px rgba(72, 56, 21, 0.08);
}

.legal-content h2 {
    scroll-margin-top: 110px;
    margin-top: 1.7rem;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-callout {
    margin: 1.4rem 0;
    padding: 1rem 1.1rem;
    border: 1px dashed rgba(201, 151, 43, 0.55);
    border-left: 4px solid var(--color-gold);
    border-radius: 18px;
    background: rgba(220, 233, 214, 0.42);
    color: var(--color-text);
}

.wp-block-button__link,
.button,
a.button,
input[type="submit"],
button[type="submit"],
.btn,
a.btn {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fffef9 !important;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: none;
    border: 1px solid rgba(201, 151, 43, 0.45);
    border-radius: 14px;
    padding: 0.82rem 1.5rem;
    box-shadow: var(--shadow-glow);
}

.wp-block-button__link:hover,
.button:hover,
a.button:hover,
input[type="submit"]:hover,
button[type="submit"]:hover,
.btn:hover,
a.btn:hover {
    background: linear-gradient(135deg, var(--color-hover), var(--color-primary));
    transform: translateY(-2px);
}

.btn-outline,
a.btn-outline {
    background: transparent !important;
    border: 1px solid rgba(201, 151, 43, 0.65) !important;
    color: var(--color-primary) !important;
    box-shadow: none !important;
}

.btn-outline:hover,
a.btn-outline:hover {
    background: rgba(220, 233, 214, 0.35) !important;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    align-items: center;
    margin-top: 0.8rem;
}

.btn-row br {
    display: none;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
textarea,
select,
.wpcf7-form-control:not(.wpcf7-submit),
.entry-content input[type="text"],
.entry-content input[type="email"],
.entry-content textarea {
    background-color: rgba(255, 255, 255, 0.88) !important;
    color: var(--color-text) !important;
    border: 1px solid rgba(20, 83, 45, 0.14) !important;
    border-radius: 14px !important;
    padding: 0.9rem 1rem !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus,
.wpcf7-form-control:not(.wpcf7-submit):focus {
    outline: none !important;
    border-color: rgba(201, 151, 43, 0.55) !important;
    box-shadow: 0 0 0 4px rgba(201, 151, 43, 0.12) !important;
    background-color: #ffffff !important;
}

input::placeholder,
textarea::placeholder {
    color: var(--color-text-muted) !important;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 1.6rem;
}

.stat-item {
    padding: 1.4rem 1rem;
    text-align: center;
}

.stat-number {
    font-family: var(--font-body);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    color: var(--color-primary);
    display: block;
    line-height: 1;
    margin-bottom: 0.45rem;
}

.stat-label {
    color: var(--color-text-soft);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.jdcom-stat-card,
.stat-badge-card {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.95), rgba(247, 239, 223, 0.88));
    border: 1px solid rgba(201, 151, 43, 0.24);
    border-radius: 22px;
    box-shadow: none;
    padding: clamp(20px, 2.8vw, 30px);
}

.jdcom-stat-card > div:last-child {
    flex: 1;
    min-width: 0;
}

.jdcom-stat-card h3 {
    margin-top: 0;
}

.jdcom-stat-badge,
.stat-badge-circle {
    width: 84px;
    height: 84px;
    flex-shrink: 0;
    background: conic-gradient(var(--color-gold) 0 302deg, rgba(201, 151, 43, 0.16) 302deg 360deg);
    border: none;
    border-radius: 50%;
    color: var(--color-primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.jdcom-stat-badge::before,
.stat-badge-circle::before {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: #fffdf8;
}

.jdcom-stat-badge > *,
.stat-badge-circle > * {
    position: relative;
    z-index: 1;
}

@media (max-width: 480px) {
    .jdcom-stat-card {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
}

.jdcom-result-date,
.result-date {
    background: rgba(220, 233, 214, 0.5);
    color: var(--color-primary);
    border-right: 1px solid rgba(201, 151, 43, 0.24);
}

.abonnement-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
    max-width: 960px;
}

.offre-card.featured {
    border-color: rgba(201, 151, 43, 0.36);
    box-shadow: 0 20px 34px rgba(201, 151, 43, 0.16);
}

.offre-header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

.offre-header.muted {
    background: linear-gradient(180deg, #ecdfc6, #e6d7ba);
}

.offre-header.muted .offre-name,
.offre-header.muted .offre-duration {
    color: var(--color-primary);
}

.offre-price {
    color: var(--color-primary);
}

.site-footer,
.site-info,
.footer-widgets {
    background: transparent !important;
    border-top: none !important;
    margin-top: 0 !important;
}

.site-info .copyright-bar,
#footer-widgets {
    display: none !important;
}

.ucpj-footer-wrap {
    background:
        linear-gradient(180deg, rgba(255, 247, 233, 0.7), rgba(255, 247, 233, 0.94)),
        var(--color-bg);
    border-top: 1px solid rgba(201, 151, 43, 0.24);
    margin-top: 56px;
    padding: 2.8rem 0 0;
}

.ucpj-footer-columns {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
    gap: 2rem;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: clamp(16px, 2.8vw, 36px);
    padding-bottom: 2rem;
}

.ucpj-footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.ucpj-footer-brand-title {
    margin-bottom: 0.45rem;
}

.ucpj-footer-tagline {
    color: var(--color-text-soft) !important;
    font-size: 0.95rem;
    max-width: 280px;
    line-height: 1.6;
}

.ucpj-footer-col-title {
    font-family: var(--font-body) !important;
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    border-bottom: 1px solid rgba(201, 151, 43, 0.3);
    padding-bottom: 0.5rem;
    margin-bottom: 0.2rem;
}

.ucpj-footer-links {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ucpj-footer-links a {
    color: var(--color-text-soft) !important;
    font-size: 0.94rem !important;
    text-decoration: none !important;
    line-height: 1.6;
}

.ucpj-footer-links a:hover {
    color: var(--color-primary) !important;
}

.ucpj-footer-social {
    display: flex;
    gap: 0.7rem;
    margin-top: 0.4rem;
}

.ucpj-footer-social span {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(20, 83, 45, 0.18);
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.65);
    font-weight: 700;
}

.ucpj-footer-bottom {
    max-width: 1180px;
    margin-inline: auto;
    text-align: center;
    color: var(--color-text-soft);
    font-size: 0.86rem;
    padding: 1rem clamp(16px, 2.8vw, 36px) 1.3rem;
    border-top: 1px solid rgba(201, 151, 43, 0.22);
}

@media (max-width: 1200px) {
    body::before,
    body::after {
        width: 18vw;
        opacity: 0.18;
    }
}

@media (max-width: 920px) {
    body::before,
    body::after {
        display: none;
    }

    .ucpj-custom-header {
        flex-wrap: wrap;
        justify-content: center;
        padding-block: 10px;
        min-height: auto;
    }

    .ucpj-custom-nav {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .separate-containers .inside-article,
    .one-container .inside-article {
        padding: 18px;
        border-radius: 22px;
    }

    .ucpj-brand {
        justify-content: center;
        white-space: normal;
        text-align: center;
    }

    .ucpj-brand-text {
        justify-content: center;
        white-space: normal;
    }

    .ucpj-nav-link,
    .ucpj-header-cta {
        font-size: 0.88rem !important;
        padding: 0.56rem 0.82rem !important;
    }

    .jdcom-prono-grid,
    .stats-grid,
    .abonnement-grid {
        grid-template-columns: 1fr 1fr;
    }

    .jdcom-prono-table,
    .jdcom-result-table,
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .jdcom-result-row,
    .result-row {
        grid-template-columns: 1fr;
    }

    .jdcom-result-date,
    .result-date {
        border-right: none;
        border-bottom: 1px solid rgba(201, 151, 43, 0.24);
    }

    .ucpj-footer-columns {
        grid-template-columns: 1fr 1fr;
    }

    .legal-shell {
        grid-template-columns: 1fr;
    }

    .legal-toc {
        position: static;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.55rem;
    }

    .jdcom-prono-grid,
    .stats-grid,
    .abonnement-grid,
    .ucpj-footer-columns {
        grid-template-columns: 1fr;
    }

    .ucpj-logo {
        width: 44px;
        height: 44px;
    }

    .ucpj-brand {
        font-size: 1.18rem !important;
    }
}
