/* Preview-only refinement. Logo pixel mode measured on logo-jdt.png: RGB83,189,75 (#53bd4b). */
.jdt-theme{--jdt-brand-green:#53bd4b;--jdt-green:#286223;--jdt-soft:#f3f8f1}
.jdt-theme #section-containeur .titre-section,.jdt-theme #section-containeur .standard-banner .bg-h4,.jdt-demo-heading{box-sizing:border-box;width:100%;margin-left:0!important;margin-right:0!important;transform:none!important;border-radius:5px!important;overflow:hidden;background:#231f20;background-image:none}
.jdt-theme #section-containeur .titre-section h1,.jdt-theme #section-containeur .titre-section h2,.jdt-theme #section-containeur .standard-banner .bg-h4 h2,.jdt-theme #section-containeur .standard-banner .bg-h4 h4,.jdt-demo-heading h2{transform:none!important;box-shadow:none;background:transparent;background-image:none;border-radius:0;margin:0;color:#fff;text-align:left;text-transform:none;float:none;width:auto}
.jdt-demo-heading h2{padding:12px 14px;font-size:19px;line-height:1.35;font-weight:700}
.jdt-theme #races-results>.nav-tabs>li.active>a,.jdt-theme #races-results>.nav-tabs>li.active>a:hover,.jdt-theme #races-results>.nav-tabs>li.active>a:focus,.jdt-theme #ar .nav-tabs>li.active>a,.jdt-theme .jdt-programme-date-nav a[aria-current="date"]{background:#231f20!important;border-color:#231f20!important;color:#fff!important}
.jdt-theme #races-results>.nav-tabs>li>a,.jdt-theme #races-results>.tab-content a,.jdt-theme .jdt-programme a{color:#286223}
.jdt-theme .jdt-next-race{border-left-color:#53bd4b;background:#f0f8ed}
.jdt-theme .jdt-demo-newsletter button{background:#231f20;color:#fff;border:1px solid #231f20}
.jdt-theme #fheader .container{min-height:48px;display:flex;align-items:center;flex-wrap:wrap}
.jdt-theme #NewsletterTop{height:auto!important;min-height:44px;display:flex;align-items:center;padding:5px 0!important;overflow:visible}
.jdt-theme #NewsletterTop a.newsletterTop{display:flex;align-items:center;gap:6px;height:auto;min-height:36px;line-height:1.35!important;padding:6px 8px;white-space:normal;font-size:12px;overflow:visible}
.jdt-theme #NewsletterTop a.newsletterTop img{flex:0 0 auto;max-height:20px;width:auto}
.jdt-demo-news,.jdt-demo-newsletter{margin:22px 0;border:1px solid #dce2dc;border-radius:6px;padding:12px;background:#fff;clear:both}
.jdt-demo-caption{color:#525952;font-size:14px!important;line-height:1.5;margin:8px 0 14px}
.jdt-demo-news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.jdt-demo-card{padding:16px;border:1px solid #dce2dc;border-top:3px solid #53bd4b;border-radius:5px;min-width:0;background:#fff}
.jdt-demo-card:first-child{grid-column:auto;background:#fff}
.jdt-theme #section-containeur .jdt-demo-card h3{font-size:18px;line-height:1.4;margin:8px 0 12px;color:#231f20}
.jdt-demo-card p{font-size:16px;line-height:1.65;margin:0 0 12px}
.jdt-demo-card .jdt-demo-kicker{font-size:14px;color:#286223;text-transform:uppercase;font-weight:700;letter-spacing:.03em}
.jdt-demo-kicker span{display:block;color:#525952;font-weight:400;font-size:14px;text-transform:none}
.jdt-demo-card summary{cursor:pointer;color:#286223;font-size:16px;line-height:1.5;font-weight:600;padding:10px 0;min-height:44px}
.jdt-demo-card details[open]{border-top:1px solid #dce2dc}
.jdt-demo-card details a{font-size:16px;display:inline-flex;align-items:center;min-height:44px;padding:10px 0;text-decoration:underline}
.jdt-demo-news-compact .jdt-demo-news-grid{grid-template-columns:1fr}
.jdt-theme #section-containeur .jdt-demo-news-compact h3{font-size:17px}
.jdt-demo-news-compact .jdt-demo-card{padding:12px}
.jdt-demo-news-compact .jdt-demo-card>p:not(.jdt-demo-kicker){display:none}
.jdt-demo-newsletter label{display:block;font-size:16px;font-weight:600;margin:12px 0 6px}
.jdt-demo-newsletter input[type=email]{display:block;width:100%;box-sizing:border-box;border:1px solid #879487;border-radius:4px;padding:11px 10px;font:inherit;font-size:16px;min-height:44px}
.jdt-demo-newsletter .jdt-demo-consent{display:flex;align-items:flex-start;gap:8px;font-size:14px;font-weight:400;line-height:1.55;min-height:44px;cursor:pointer}
.jdt-demo-consent input{margin-top:3px;flex:0 0 auto}
.jdt-demo-newsletter button{padding:11px 12px;border-radius:4px;font-weight:700;min-height:44px;width:100%;white-space:normal}
.jdt-demo-newsletter button:disabled{background:#e7e8e9;opacity:1;color:#525952;border-color:#a4a8ab;cursor:default}
.jdt-demo-newsletter-status{font-size:16px;line-height:1.5;color:#286223;margin-top:12px}
@media(max-width:991px){.jdt-home .right-colonne{display:block!important;width:100%;clear:both}.jdt-home .left-colonne{width:100%}.jdt-theme #NewsletterTop{display:none!important}}
@media(max-width:480px){.jdt-demo-news-grid{grid-template-columns:1fr}.jdt-demo-heading h2{font-size:17px}.jdt-demo-news,.jdt-demo-newsletter{padding:10px}.jdt-demo-card{padding:12px}}
.jdt-home .jdt-programme-dates>a[aria-current="date"]{background:#231f20!important;border-color:#231f20!important;color:#fff!important}
.jdt-home .jdt-programme-race.is-next{background:#f0f8ed;box-shadow:none}
.jdt-home .jdt-programme-dates button,.jdt-home .jdt-course-rail>button{border-color:#286223;color:#286223}
.jdt-theme .btn-success,.jdt-theme .btn-success:hover,.jdt-theme .btn-success:focus{background:#231f20;color:#fff;border-color:#231f20}
.jdt-theme #section-containeur .jdt-demo-card details a{color:#286223}
.jdt-demo-card figure{margin:0 0 14px}.jdt-demo-card figure img{display:block;width:100%;max-height:212px;height:auto;object-fit:cover;border-radius:3px}.jdt-demo-card figcaption{font-size:13px;color:#525952;margin-top:4px;line-height:1.4}
.jdt-demo-card:first-child figure{max-width:240px;float:left;margin:0 16px 10px 0}.jdt-demo-card:after{content:"";display:block;clear:both}
.jdt-demo-news-compact .jdt-demo-card figure,.jdt-demo-news-compact .jdt-demo-card:first-child figure{width:88px;float:left;margin:0 10px 8px 0}.jdt-demo-news-compact .jdt-demo-card figcaption{font-size:13px}
@media(max-width:480px){.jdt-demo-card:first-child figure{float:none;max-width:none;margin:0 0 12px}}
.jdt-theme #fheader{height:auto;min-height:48px;overflow:visible}
/* Homepage balance: same column start and heading scale; H1 remains independent. */
.jdt-home #section-containeur .jdt-home-page-heading{background:transparent!important;background-image:none!important;border:0;border-bottom:1px solid #dce2dc;border-radius:0!important;overflow:visible;min-height:0;width:auto!important;margin:0 15px 18px!important;padding:0 0 12px!important}
.jdt-home #section-containeur .jdt-home-page-heading h1{color:#231f20;font-size:22px;line-height:1.35;font-weight:700;margin:0;padding:0!important;background:transparent}
.jdt-home #section-containeur>.left-colonne,.jdt-home #section-containeur>.right-colonne{margin-top:0;padding-top:0;padding-left:15px;padding-right:15px}
.jdt-home #races-results,.jdt-home #lastRaces{margin-top:0}
.jdt-home #section-containeur #races-results>.cont-section>.titre-section{margin:0 0 12px!important;padding:0!important;background:transparent!important;border-radius:0!important;overflow:visible;min-height:0}
.jdt-home #section-containeur #races-results>.cont-section>.titre-section h2,.jdt-home #section-containeur #lastRaces.standard-banner .bg-h4 h2{font-size:16px;line-height:1.35;font-weight:700;color:#fff;letter-spacing:0;margin:0;padding:0}
.jdt-home #section-containeur #races-results>.cont-section>.titre-section h2{background:transparent;color:#16191d;padding:0!important;border-radius:0}
.jdt-home #section-containeur #races-results>.cont-section>.titre-section .jdt-home-section-note{color:#626a60;font-size:13px;line-height:1.45;padding:0 2px;margin:8px 0 0;background:transparent}
.jdt-home #section-containeur #lastRaces.standard-banner .bg-h4{padding:12px 14px;margin:0 0 12px;border-radius:5px}
@media(max-width:991px){.jdt-home #section-containeur>.right-colonne{margin-top:24px}}
@media(max-width:767px){.jdt-home #section-containeur .jdt-home-page-heading{margin:0 12px 16px!important}.jdt-home #section-containeur .jdt-home-page-heading h1{font-size:20px}.jdt-home #section-containeur>.left-colonne,.jdt-home #section-containeur>.right-colonne{padding-left:12px;padding-right:12px}}
/* The right column now stacks on mobile; do not repeat its legacy mobile result block. */
.jdt-home #section-containeur>.left-colonne>.visible-xs{display:none!important}
/* Consistent number discs in both upcoming Quinté tables, including two-digit numbers. */
.jdt-home #section-containeur #races-results .table .number{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:28px;height:28px;min-width:28px;min-height:28px;padding:0!important;margin:0 auto;line-height:1!important;text-align:center;font-size:14px;font-variant-numeric:tabular-nums;border-radius:50%;flex:0 0 28px;white-space:nowrap}

/* v7 preview: comfortable reading, one control language and an exact desktop grid.
   1254 = 16 + 898 + 24 + 300 + 16. No fixed width or hidden overflow on the page. */
.jdt-home {
 --jdt-control-size:44px;
 --jdt-control-radius:6px;
 --jdt-control-border:#899095;
 --jdt-control-hover:#f0f1f2;
 --jdt-focus:#9b1740;
 --jdt-status-green:#286223;
 --jdt-status-orange:#8a4509;
 font-size:16px;
 line-height:1.6;
 background:#f5f7f8;
}
.jdt-home>section>.row { margin-left:0; margin-right:0; }
.jdt-home #section-containeur.container {
 display:grid;
 grid-template-columns:minmax(0,898px) 300px;
 column-gap:24px;
 align-items:start;
 box-sizing:border-box;
 width:100%;
 max-width:1254px;
 padding:24px 16px;
 background:transparent;
 margin-left:auto;
 margin-right:auto;
}
.jdt-home #section-containeur.container::before,
.jdt-home #section-containeur.container::after,
.jdt-home #section-containeur>.clearfix { display:none; }
.jdt-home #section-containeur>.jdt-context-nav { grid-column:1/-1; min-width:0; }
.jdt-home #section-containeur>.jdt-home-page-heading { grid-column:1; grid-row:1; min-width:0; }
.jdt-home #section-containeur>.jdt-context-nav { margin:0 0 20px; }
.jdt-home #section-containeur>.jdt-home-page-heading { margin:0 0 20px!important; padding:0!important; border:0; }
.jdt-home #section-containeur>.left-colonne,
.jdt-home #section-containeur>.right-colonne {
 float:none;
 width:auto;
 min-width:0;
 max-width:100%;
 margin:0;
 padding:0;
}
.jdt-home #section-containeur>.left-colonne { grid-column:1; grid-row:2; }
.jdt-home #section-containeur>.right-colonne { grid-column:2; grid-row:1/span 2; }
.jdt-home #section-containeur>#actualites { grid-column:1/-1; grid-row:3; }
.jdt-home #section-containeur .contenu { font-size:16px; line-height:1.6; }
.jdt-home #section-containeur #races-results>.cont-section,
.jdt-home #section-containeur #programme-du-jour>.cont-section { padding:0; overflow:visible; }
.jdt-home #section-containeur #programme-du-jour {
 float:none;
 clear:both;
 width:100%;
 padding:0;
 margin:24px 0 0;
}
.jdt-home #section-containeur #programme-du-jour>.cont-section>.titre-section { padding:0; margin-top:0; }
.jdt-home #section-containeur .titre-section h2,
.jdt-home #section-containeur #races-results>.cont-section>.titre-section h2,
.jdt-home #section-containeur #lastRaces.standard-banner .bg-h4 h2,
.jdt-home #section-containeur .jdt-demo-heading h2 {
 font-size:18px;
 line-height:1.4;
 font-weight:700;
 letter-spacing:0;
}
.jdt-home #section-containeur .jdt-home-page-heading h1 {
 font-size:30px;
 line-height:1.3;
 color:#16191d;
 background:transparent;
}
.jdt-home #section-containeur #races-results>.cont-section>.titre-section .jdt-home-section-note {
 font-size:14px;
 line-height:1.5;
 color:#525952;
}
.jdt-home .jdt-context-label,
.jdt-home .jdt-context-nav a { font-size:16px; }
.jdt-home .jdt-context-nav a { display:inline-flex; align-items:center; min-height:44px; padding:9px 12px; }
.jdt-home .jdt-home-tagline { margin:6px 0 0; color:#59616d; font-size:18px; line-height:1.5; }

/* v8: matching neutral tabs; brand green is a thin accent, never a button fill. */
.jdt-home #section-containeur #races-results>.nav-tabs,
.jdt-home .jdt-programme-dates {
 gap:6px;
 padding:4px;
 border:1px solid #d8dcdf;
 border-radius:9px;
 background:#fff;
}
.jdt-home #section-containeur #races-results>.nav-tabs {
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 margin:0;
}
.jdt-home #races-results>.nav-tabs::before,
.jdt-home #races-results>.nav-tabs::after { display:none; }
.jdt-home #section-containeur #races-results>.nav-tabs>li { width:auto; min-width:0; overflow:visible; }
.jdt-home #section-containeur #races-results>.nav-tabs>li>a,
.jdt-home .jdt-programme-dates>a,
.jdt-home .jdt-programme-dates button,
.jdt-home .jdt-demo-clock-bar button,
.jdt-home .jdt-next-course-button {
 display:inline-flex;
 align-items:center;
 justify-content:center;
 box-sizing:border-box;
 min-width:var(--jdt-control-size);
 min-height:var(--jdt-control-size);
 margin:0;
 padding:9px 12px;
 border:1px solid var(--jdt-control-border);
 border-radius:var(--jdt-control-radius);
 background:#fff;
 color:#231f20;
 font-family:inherit;
 font-size:16px;
 line-height:1.5;
 font-weight:600;
 text-align:center;
 text-transform:none;
 text-decoration:none;
 white-space:normal;
 overflow-wrap:anywhere;
 cursor:pointer;
}
.jdt-home #section-containeur #races-results>.nav-tabs>li>a { width:100%; height:100%; padding-left:8px; padding-right:8px; }
.jdt-home .jdt-programme-dates { display:flex; flex-wrap:wrap; align-items:stretch; margin-bottom:14px; }
.jdt-home .jdt-programme-dates>a { flex:1 1 100px; }
.jdt-home #section-containeur #races-results>.nav-tabs>li>a:hover,
.jdt-home .jdt-programme-dates>a:hover,
.jdt-home .jdt-programme-dates button:hover:not(:disabled),
.jdt-home .jdt-demo-clock-bar button:hover:not(:disabled),
.jdt-home .jdt-next-course-button:hover:not(:disabled) { background:var(--jdt-control-hover); color:#231f20; border-color:#596168; }
.jdt-home .jdt-next-course-button:disabled,
.jdt-home .jdt-demo-clock-bar button:disabled { background:#f3f5f2; color:#525952; border-color:#c4cfc3; cursor:default; }
.jdt-home #section-containeur #races-results>.nav-tabs>li.active>a,
.jdt-home #section-containeur #races-results>.nav-tabs>li.active>a:hover,
.jdt-home #section-containeur #races-results>.nav-tabs>li.active>a:focus,
.jdt-home .jdt-programme-dates>a[aria-current="date"] {
 background:#231f20!important;
 color:#fff!important;
 border:1px solid #231f20!important;
 box-shadow:inset 0 -2px #53bd4b;
 font-weight:700;
}
.jdt-home .jdt-programme-dates form {
 display:grid;
 grid-template-columns:auto minmax(0,1fr) auto;
 flex:1 1 340px;
 align-items:center;
 gap:6px;
 min-width:0;
 max-width:100%;
 margin:0;
}
.jdt-home .jdt-programme-dates input[type="date"] {
 box-sizing:border-box;
 min-width:0;
 width:100%;
 max-width:100%;
 min-height:var(--jdt-control-size);
 padding:8px;
 border:1px solid var(--jdt-control-border);
 border-radius:var(--jdt-control-radius);
 background:#fff;
 color:#231f20;
 font-family:inherit;
 font-size:16px;
 line-height:1.5;
}
.jdt-home .jdt-programme-dates form button { flex:0 0 auto; }
.jdt-home .jdt-programme-dates button { background:#231f20; color:#fff; border-color:#231f20; }
.jdt-home .jdt-programme-dates button:hover:not(:disabled) { background:#3b3638; color:#fff; border-color:#3b3638; }
.jdt-home .jdt-programme-calendar-label { margin:0; color:#231f20; font-size:16px; line-height:1.5; font-weight:600; }
.jdt-home #section-containeur #races-results>.tab-content { margin-top:12px; padding:16px; border-radius:6px; }
.jdt-home #section-containeur #races-results>.tab-content h3,
.jdt-home #section-containeur #races-results>.tab-content h4,
.jdt-home #section-containeur #races-results>.tab-content h5,
.jdt-home #section-containeur #races-results>.tab-content h6,
.jdt-home #section-containeur #races-results>.tab-content p,
.jdt-home #section-containeur #races-results>.tab-content .row { font-size:16px; line-height:1.55; }
.jdt-home #section-containeur #races-results>.tab-content .jdt-home-table-help { font-size:14px; }
.jdt-home #section-containeur .table>thead>tr>th { font-size:14px; padding:12px 10px; }
.jdt-home #section-containeur .table>tbody>tr>td { font-size:16px; padding:10px; }
.jdt-home #section-containeur .table a { display:inline-flex; align-items:center; min-height:44px; }
.jdt-home #section-containeur .table .number { font-size:14px; }

/* Race rails keep horizontal scrolling local, including small screens and zoom. */
.jdt-home .jdt-programme { font-size:16px; line-height:1.5; min-width:0; }
.jdt-home .jdt-programme-top { flex-wrap:wrap; align-items:flex-start; margin:14px 0; }
.jdt-home .jdt-programme-top p { font-size:16px; line-height:1.5; }
.jdt-home .jdt-programme-top>a { display:inline-flex; align-items:center; min-height:44px; text-decoration:underline; }
.jdt-home .jdt-next-race { padding:10px 12px; font-size:16px; }
.jdt-home .jdt-next-race>a { display:inline-flex; align-items:center; gap:4px; min-height:44px; flex-wrap:wrap; }
.jdt-home #programme-du-jour .jdt-programme-meeting {
 grid-template-columns:156px minmax(0,1fr);
 gap:12px;
 padding:10px;
 margin-bottom:12px;
 border-radius:8px;
}
.jdt-home #section-containeur .jdt-programme-meeting h3 { padding:0; font-size:16px; line-height:1.5; }
.jdt-home .jdt-programme-meeting h3 span { font-size:14px; padding:3px 6px; border-radius:4px; }
.jdt-home .jdt-programme-meeting>header p { font-size:14px; }
.jdt-home .jdt-next-course-button { width:100%; margin-top:8px; padding:9px 6px; }
.jdt-home .jdt-course-rail { grid-template-columns:44px minmax(0,1fr) 44px; gap:4px; }
.jdt-home .jdt-course-rail>button { width:44px; min-width:44px; min-height:44px; border-radius:6px; border-color:var(--jdt-control-border); }
.jdt-home .jdt-course-rail>button:hover:not(:disabled) { background:var(--jdt-control-hover); border-color:#286223; }
.jdt-home .jdt-programme-races { gap:8px; padding:4px 4px 8px; scrollbar-width:auto; scroll-padding-inline:4px; }
.jdt-home .jdt-programme-race { flex-basis:196px; border-radius:6px; border-color:#c4cfc3; scroll-margin:4px; }
.jdt-home .jdt-course-link { min-height:136px; padding:12px; border-radius:5px; }
.jdt-home .jdt-course-top { min-height:28px; gap:8px; padding-right:34px; }
.jdt-home .jdt-course-top strong { font-size:14px; color:#525952; }
.jdt-home .jdt-course-top time { font-size:16px; }
.jdt-home .jdt-race-status { font-size:14px; line-height:1.5; margin-top:8px; }
.jdt-home .jdt-course-meta { font-size:14px; line-height:1.5; margin-top:6px; }
.jdt-home .jdt-course-arrival { font-size:16px; line-height:1.5; margin-top:6px; }
.jdt-home .jdt-course-quinte {
 position:static;
 display:inline-block;
 margin-top:6px;
 padding:1px 5px;
 border:1px solid currentColor;
 border-radius:3px;
 color:#9b1740;
 font-size:13px;
 line-height:1.5;
}
.jdt-home .jdt-course-details>summary { top:1px; right:1px; width:44px; min-height:44px; font-size:20px; border-radius:5px; }
.jdt-home .jdt-course-details>summary:hover { background:var(--jdt-control-hover); }
.jdt-home .jdt-course-detail-content { padding:12px; font-size:16px; }
.jdt-home .jdt-course-popover { font-size:16px; line-height:1.6; }
.jdt-home .jdt-course-popover h4 { font-size:17px; line-height:1.5; }
.jdt-home .jdt-course-popover .jdt-detail-link { min-height:44px; }
.jdt-home #jdt-programme-update { font-size:14px; line-height:1.5; color:#525952; }
.jdt-home .jdt-countdown { display:block; font-size:16px; line-height:1.5; font-weight:700; font-variant-numeric:tabular-nums; margin-top:6px; color:#231f20; }
.jdt-home .jdt-countdown[hidden],
.jdt-home .jdt-race-status[hidden] { display:none!important; }
.jdt-home .jdt-programme [hidden] { display:none!important; }

/* State text and colour agree. Only a thin bottom stroke moves left to right. */
.jdt-home .jdt-programme-race.is-next {
 --jdt-race-accent:#53bd4b;
 background:#f0f8ed;
 border-color:#c4cfc3;
 border-bottom-color:#53bd4b;
 box-shadow:none;
}
.jdt-home .jdt-programme-race.is-provisional {
 --jdt-race-accent:#d87924;
 background:#fff5e8;
 border-color:#dac9b6;
 border-bottom-color:#d87924;
 box-shadow:none;
}
.jdt-home .jdt-programme-race.is-next:hover { background:#eaf5e5; }
.jdt-home .jdt-programme-race.is-provisional:hover { background:#ffefd9; }
.jdt-home .jdt-programme-race.is-next .jdt-race-status { color:var(--jdt-status-green); font-weight:700; }
.jdt-home .jdt-programme-race.is-provisional .jdt-race-status { color:var(--jdt-status-orange); font-weight:700; }
.jdt-home .jdt-programme-race.jdt-course-selected { outline:3px solid #231f20; outline-offset:2px; }
.jdt-home .jdt-next-course-feedback { margin:6px 0 0; max-width:100%; color:#525952; font-size:14px; line-height:1.5; overflow-wrap:anywhere; }
.jdt-home .jdt-next-course-feedback:empty { display:none; }
.jdt-home .jdt-programme-race.is-next::after,
.jdt-home .jdt-programme-race.is-provisional::after {
 content:"";
 position:absolute;
 left:0;
 right:0;
 bottom:-1px;
 height:3px;
 border-radius:0 0 5px 5px;
 background-image:linear-gradient(90deg,transparent,var(--jdt-race-accent),var(--jdt-race-accent),transparent);
 background-repeat:no-repeat;
 background-size:36% 100%;
 background-position:-60% 0;
 pointer-events:none;
 animation:jdt-race-bottom-flow 4.5s linear infinite;
}
@keyframes jdt-race-bottom-flow {
 from { background-position:-60% 0; }
 to { background-position:160% 0; }
}

/* The synthetic clock stays clearly labelled and its controls remain reachable. */
.jdt-home .jdt-demo-clock-bar {
 display:flex;
 align-items:center;
 flex-wrap:wrap;
 gap:8px;
 margin:12px 0 16px;
 padding:12px;
 border:1px solid #c4cfc3;
 border-radius:8px;
 background:#f3f8f1;
 color:#231f20;
 font-size:16px;
 line-height:1.5;
}
.jdt-home .jdt-demo-clock-label { flex:1 1 240px; min-width:0; overflow-wrap:anywhere; }
.jdt-home .jdt-demo-clock-bar time { display:inline-block; font-size:16px; font-weight:700; font-variant-numeric:tabular-nums; }
.jdt-home .jdt-demo-clock-note { flex:1 1 100%; color:#525952; font-size:14px; line-height:1.5; }
.jdt-home .jdt-demo-clock-bar button { flex:0 1 auto; }
.jdt-home .jdt-demo-clock-bar button[aria-pressed="true"] { background:#fff5e8; color:#8a4509; border-color:#8a4509; }
.jdt-home .lastResults,.jdt-home .lastArticles { font-size:16px; line-height:1.5; }
.jdt-home #lastRaces .row { overflow-wrap:anywhere; }
.jdt-home #lastRaces .row a { display:inline-flex; align-items:center; min-height:44px; }
.jdt-home .jdt-demo-newsletter p,.jdt-home .jdt-demo-newsletter button { font-size:16px; }

/* Sidebar: readable, independently scrollable synthetic results; no auto-scroll. */
.jdt-home #lastRaces {
 padding:0;
 overflow:visible;
 border:1px solid #dce2dc;
 border-radius:8px;
 background:#fff;
}
.jdt-home #section-containeur #lastRaces.standard-banner .bg-h4 {
 display:flex;
 flex-wrap:wrap;
 align-items:center;
 gap:8px;
 margin:0!important;
 padding:14px;
 border-radius:7px 7px 0 0!important;
 background:#fff;
}
.jdt-home #section-containeur #lastRaces.standard-banner .bg-h4 h2 { color:#231f20; }
.jdt-home .jdt-live-results-badge {
 display:flex;
 align-items:center;
 gap:8px;
 margin:0;
 padding:4px 7px;
 border-radius:4px;
 background:#fff0f2;
 color:#9b1740;
 font-size:14px;
 line-height:1.5;
 font-weight:600;
}
.jdt-home .jdt-live-dot {
 display:inline-block;
 flex:0 0 8px;
 width:8px;
 height:8px;
 border-radius:50%;
 background:#ae2540;
 animation:jdt-live-dot-breathe 3s ease-in-out infinite;
}
@keyframes jdt-live-dot-breathe {
 0%,100% { opacity:.5; }
 50% { opacity:1; }
}
.jdt-home .jdt-live-results-list {
 box-sizing:border-box;
 max-height:clamp(260px,60vh,520px);
 margin:0 6px;
 padding:4px;
 overflow-y:scroll;
 overflow-x:hidden;
 list-style:none;
 overscroll-behavior-y:contain;
 scrollbar-gutter:stable;
 scrollbar-width:auto;
 scrollbar-color:#879487 #eef2ee;
}
.jdt-home .jdt-live-results-list>li { list-style:none; margin:0; padding:0; }
.jdt-home #lastRaces .jdt-live-result {
 display:grid;
 grid-template-columns:minmax(0,1fr);
 gap:5px 8px;
 min-height:44px;
 padding:12px 8px;
 border:1px solid transparent;
 border-bottom-color:#dce2dc;
 border-radius:5px;
 color:#231f20;
 font-size:16px;
 line-height:1.5;
 text-decoration:none;
 overflow-wrap:anywhere;
}
.jdt-home #lastRaces .jdt-live-result:hover { background:#f0f8ed; border-color:#849380; }
.jdt-home .jdt-live-result-id { color:#525952; font-size:15px; font-weight:600; font-variant-numeric:tabular-nums; }
.jdt-home .jdt-live-result-id strong { color:#231f20; font-weight:700; }
.jdt-home .jdt-live-result-title { font-size:16px; font-weight:600; }
.jdt-home .jdt-live-result-status { grid-column:1; color:#525952; font-size:14px; }
.jdt-home .jdt-live-result-status.is-provisional,
.jdt-home .jdt-live-result.is-provisional .jdt-live-result-status { color:#8a4509; font-weight:600; }
.jdt-home .jdt-live-result-numbers { grid-column:1/-1; color:#231f20; font-size:16px; line-height:1.6; font-weight:700; font-variant-numeric:tabular-nums; }
.jdt-home #lastRaces .jdt-all-results {
 display:flex;
 align-items:center;
 justify-content:center;
 min-height:44px;
 margin:12px 14px;
 padding:9px 10px;
 border:1px solid #231f20;
 border-radius:6px;
 color:#fff;
 background:#231f20;
 font-size:16px;
 line-height:1.5;
 font-weight:700;
 text-align:center;
 text-decoration:none;
}
.jdt-home #lastRaces .jdt-all-results:hover { background:#3b3638; border-color:#3b3638; color:#fff; }
.jdt-home .jdt-live-results-note { margin:0; padding:0 14px 14px; color:#525952; font-size:14px; line-height:1.5; }

/* v8: five equally weighted compact stories, two columns and one on mobile. */
.jdt-theme .jdt-demo-news { padding:0; border:0; background:#fff; }
.jdt-theme .jdt-demo-news-grid,
.jdt-theme .jdt-news-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.jdt-theme .jdt-demo-news>.jdt-demo-heading {
 display:flex;
 flex-wrap:wrap;
 align-items:center;
 justify-content:space-between;
 gap:8px 16px;
 padding:0;
 background:transparent;
 overflow:visible;
}
.jdt-theme .jdt-demo-news>.jdt-demo-heading h2 { padding:0; color:#231f20; font-size:20px; line-height:1.4; }
.jdt-theme .jdt-demo-see-all {
 display:inline-flex;
 align-items:center;
 min-height:44px;
 color:#286223;
 font-size:16px;
 line-height:1.5;
 font-weight:600;
 text-decoration:underline;
 text-underline-offset:3px;
}
.jdt-theme .jdt-demo-card { padding:0; background:#fff; border:1px solid #dce2dc; border-radius:8px; }
.jdt-theme .jdt-demo-card .jdt-demo-card-link {
 display:grid;
 grid-template-columns:112px minmax(0,1fr);
 align-items:start;
 gap:12px;
 min-height:44px;
 height:100%;
 padding:12px;
 border-radius:7px;
 color:#231f20;
 text-decoration:none;
 overflow-wrap:anywhere;
}
.jdt-theme .jdt-demo-card .jdt-demo-card-link:hover { background:#f3f8f1; }
.jdt-theme .jdt-demo-card .jdt-demo-card-link>figure,
.jdt-theme .jdt-demo-card:first-child .jdt-demo-card-link>figure {
 float:none;
 width:auto;
 max-width:none;
 margin:0;
}
.jdt-theme .jdt-demo-card .jdt-demo-card-link>figure img { width:112px; height:104px; max-height:none; object-fit:cover; border-radius:4px; }
.jdt-theme .jdt-demo-card .jdt-demo-card-link>figure figcaption { margin:0; padding:6px 0 0; font-size:13px; color:#525952; }
.jdt-theme .jdt-demo-card-copy { min-width:0; padding:0; }
.jdt-theme #section-containeur .jdt-demo-card-copy h3,
.jdt-theme .jdt-demo-card-copy h3 { margin:6px 0 8px; padding:0; color:#231f20; font-size:18px; line-height:1.4; font-weight:700; }
.jdt-theme .jdt-demo-card-copy p { font-size:16px; line-height:1.65; }
.jdt-theme .jdt-demo-card-copy .jdt-demo-kicker { margin:0 0 6px; font-size:14px; line-height:1.5; color:#286223; }
.jdt-theme .jdt-demo-card-copy time { display:block; color:#525952; font-size:14px; line-height:1.5; }
.jdt-theme .jdt-demo-card-copy .jdt-demo-date { margin:0; font-size:14px; line-height:1.5; color:#525952; }
.jdt-theme .jdt-demo-card-copy .jdt-demo-date time { display:inline; }
.jdt-theme .jdt-demo-kicker .jdt-demo-badge { display:inline-block; margin-left:6px; padding:1px 5px; border:1px solid #849380; border-radius:3px; color:#525952; font-size:13px; line-height:1.5; }
.jdt-theme .jdt-demo-read-more { display:block; margin-top:8px; color:#286223; font-size:16px; line-height:1.5; font-weight:700; text-decoration:underline; text-underline-offset:3px; }
.jdt-theme .jdt-demo-card:first-child,
.jdt-theme .jdt-demo-card-featured { grid-column:auto; }
.jdt-theme .jdt-demo-card-featured .jdt-demo-card-link { display:grid; grid-template-columns:112px minmax(0,1fr); align-items:start; }
.jdt-theme .jdt-demo-card-featured .jdt-demo-card-link>figure img { width:112px; height:104px; border-radius:4px; }
.jdt-theme #section-containeur .jdt-demo-card-featured .jdt-demo-card-copy h3 { font-size:18px; }
.jdt-theme .jdt-demo-news-compact .jdt-demo-news-grid { grid-template-columns:minmax(0,1fr); gap:12px; }
.jdt-theme .jdt-demo-news-compact .jdt-demo-card .jdt-demo-card-link { display:grid; grid-template-columns:80px minmax(0,1fr); align-items:start; padding:10px; gap:10px; }
.jdt-theme .jdt-demo-news-compact .jdt-demo-card .jdt-demo-card-link>figure img { width:80px; height:88px; border-radius:4px; }
.jdt-theme .jdt-demo-news-compact .jdt-demo-card .jdt-demo-card-link>figure figcaption { padding:5px 0 0; font-size:13px; }
.jdt-theme .jdt-demo-news-compact .jdt-demo-card-copy { padding:0; }
.jdt-theme #section-containeur .jdt-demo-news-compact .jdt-demo-card-copy h3 { font-size:17px; margin:6px 0 8px; }
.jdt-theme .jdt-demo-news-compact .jdt-demo-card-copy .jdt-demo-kicker { margin-bottom:6px; }
.jdt-theme .jdt-demo-news-compact .jdt-demo-read-more { margin-top:8px; font-size:16px; }
.jdt-theme .jdt-demo-newsletter { padding:20px 16px; border:1px solid #dce2dc; border-radius:8px; background:#fff; }
.jdt-theme .jdt-demo-newsletter>.jdt-demo-heading { background:transparent; padding:0; overflow:visible; }
.jdt-theme #section-containeur .jdt-demo-newsletter>.jdt-demo-heading h2 { color:#286223; font-size:22px; line-height:1.4; padding:0; margin-bottom:14px; }
.jdt-theme .jdt-demo-newsletter input[type="email"] { background:#f3f5f2; font-size:16px; border-radius:6px; }
.jdt-theme .jdt-demo-newsletter button { border-radius:6px; font-size:16px; background:#231f20; color:#fff; border-color:#231f20; }
.jdt-theme .jdt-demo-newsletter button:not(:disabled):hover { background:#3b3638; color:#fff; border-color:#3b3638; }
.jdt-theme .jdt-demo-newsletter button:disabled { background:#e7e8e9; color:#525952; border-color:#a4a8ab; }
.jdt-theme .jdt-demo-newsletter .jdt-demo-consent { padding:8px 0; }
.jdt-theme .jdt-demo-consent input { width:18px; height:18px; accent-color:#286223; }
.jdt-demo-editorial-page>main>.row,
.jdt-demo-editorial-page>section>.row { margin-left:0; margin-right:0; }
.jdt-demo-editorial-page #section-containeur.container {
 display:grid;
 grid-template-columns:minmax(0,898px) 300px;
 column-gap:24px;
 align-items:start;
 box-sizing:border-box;
 width:100%;
 max-width:1254px;
 padding:16px;
 margin-left:auto;
 margin-right:auto;
}
.jdt-demo-editorial-page #section-containeur.container::before,
.jdt-demo-editorial-page #section-containeur.container::after,
.jdt-demo-editorial-page #section-containeur>.clearfix { display:none; }
.jdt-demo-editorial-page #section-containeur>nav { grid-column:1/-1; min-width:0; }
.jdt-demo-editorial-page #section-containeur>.left-colonne,
.jdt-demo-editorial-page #section-containeur>.right-colonne { float:none; width:auto; min-width:0; max-width:100%; margin:0; padding:0; }
.jdt-demo-editorial-page .jdt-demo-editorial-heading h1 { font-size:28px; line-height:1.4; color:#231f20; overflow-wrap:anywhere; }
.jdt-demo-editorial-page .jdt-demo-editorial-heading p { font-size:16px; line-height:1.6; }
.jdt-theme .jdt-demo-article { min-width:0; color:#231f20; font-size:18px; line-height:1.7; }
.jdt-theme .jdt-demo-article h1 { font-size:30px; line-height:1.3; color:#231f20; overflow-wrap:anywhere; }
.jdt-theme .jdt-demo-article-media { margin:24px 0; }
.jdt-theme .jdt-demo-article-media img { display:block; width:100%; height:auto; max-height:480px; object-fit:cover; border-radius:8px; }
.jdt-theme .jdt-demo-article-media figcaption { margin-top:8px; font-size:14px; line-height:1.5; color:#525952; }
.jdt-theme .jdt-demo-article-copy { max-width:72ch; }
.jdt-theme .jdt-demo-article-copy p { margin:0 0 20px; font-size:18px; line-height:1.7; }
.jdt-theme .jdt-demo-article-actions { display:flex; flex-wrap:wrap; gap:12px; margin:24px 0; }
.jdt-theme .jdt-demo-article-actions a { display:inline-flex; align-items:center; min-height:44px; padding:10px 14px; border:1px solid #849380; border-radius:6px; color:#286223; font-size:16px; font-weight:600; text-decoration:underline; }
.jdt-theme .jdt-demo-article-actions a:hover { background:#f3f8f1; }
.jdt-theme .jdt-demo-card-link:focus-visible { outline:3px solid #9b1740; outline-offset:3px; }

/* v9 approved composition: original brand, restrained white panels and a dense programme. */
.jdt-home .jdt-modern-header { margin:0; padding:0; background:#fff; border-bottom:1px solid #e0e5e9; }
.jdt-home .jdt-header-inner {
 display:flex;
 align-items:center;
 flex-wrap:wrap;
 gap:12px 24px;
 box-sizing:border-box;
 width:100%;
 max-width:1254px;
 min-height:76px;
 margin:0 auto;
 padding:10px 16px;
}
.jdt-home .jdt-brand { display:inline-flex; align-items:center; flex:0 0 220px; min-width:44px; min-height:44px; max-width:100%; }
.jdt-home .jdt-brand img { display:block; width:220px; max-width:100%; height:auto; object-fit:contain; }
.jdt-home .jdt-header-nav { display:flex; align-items:center; flex-wrap:wrap; gap:4px 14px; min-width:0; }
.jdt-home .jdt-header-nav a { display:inline-flex; align-items:center; min-height:44px; padding:8px 2px; border-bottom:3px solid transparent; color:#1d232b; font-size:16px; line-height:1.5; font-weight:600; text-decoration:none; }
.jdt-home .jdt-header-nav a:first-child { border-bottom-color:#53bd4b; }
.jdt-home .jdt-header-nav a:hover { color:#286223; border-bottom-color:#53bd4b; }
.jdt-home .jdt-header-search { flex:1 1 240px; min-width:0; }
.jdt-home .jdt-header-search label { display:block; margin:0 0 4px; color:#59616d; font-size:14px; line-height:1.4; font-weight:400; }
.jdt-home .jdt-header-search input { box-sizing:border-box; width:100%; min-height:44px; padding:10px 12px; border:1px solid #cbd2d9; border-radius:6px; background:#f5f7f8; color:#59616d; font:inherit; font-size:16px; opacity:1; }
.jdt-home .jdt-header-search input::placeholder { color:#59616d; opacity:1; }
.jdt-home .jdt-modern-footer { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:12px 28px; margin:0; padding:18px max(16px,calc((100vw - 1222px)/2)); border-top:1px solid #e0e5e9; background:#fff; color:#59616d; }
.jdt-home .jdt-modern-footer .jdt-brand { flex-basis:200px; }
.jdt-home .jdt-modern-footer .jdt-brand img { width:200px; }
.jdt-home .jdt-modern-footer nav { display:flex; flex-wrap:wrap; gap:4px 18px; }
.jdt-home .jdt-modern-footer nav a { display:inline-flex; align-items:center; min-height:44px; color:#3e4652; font-size:16px; text-decoration:none; }
.jdt-home .jdt-modern-footer nav a:hover { text-decoration:underline; }
.jdt-home .jdt-modern-footer p { margin:0; color:#59616d; font-size:14px; line-height:1.5; }

/* The Quinté card keeps every original tab and all details behind a native disclosure. */
.jdt-home #section-containeur #races-results {
 display:grid;
 grid-template-columns:minmax(0,1fr) minmax(280px,340px);
 gap:14px 18px;
 padding:18px;
 border:1px solid #dce2e7;
 border-radius:8px;
 background:#fff;
}
.jdt-home #section-containeur #races-results>.cont-section { grid-column:1; align-self:center; }
.jdt-home #section-containeur #races-results>.cont-section>.titre-section { margin:0!important; }
.jdt-home #section-containeur #races-results>.cont-section>.titre-section h2 { color:#16191d; font-size:24px; line-height:1.3; }
.jdt-home #section-containeur #races-results>.cont-section>.titre-section .jdt-home-section-note { margin:4px 0 0; padding:0; }
.jdt-home #section-containeur #races-results>.nav-tabs { grid-column:2; align-self:center; background:#f5f7f8; border-color:#e0e5e9; padding:3px; border-radius:6px; gap:2px; }
.jdt-home #section-containeur #races-results>.nav-tabs>li>a { border-color:transparent; border-radius:4px; background:transparent; }
.jdt-home #section-containeur #races-results>.tab-content { grid-column:1/-1; margin:0; padding:0; border:0; border-top:1px solid #e7eaee; border-radius:0; background:transparent; }
.jdt-home #races-results>.tab-content>.tab-pane { overflow:visible; padding-top:14px; }
.jdt-home .jdt-quinte-overview { display:grid; grid-template-columns:250px minmax(0,1fr); gap:22px; align-items:center; }
.jdt-home .jdt-quinte-photo { margin:0; min-width:0; }
.jdt-home .jdt-quinte-photo img { display:block; width:100%; height:154px; object-fit:cover; border-radius:6px; }
.jdt-home .jdt-quinte-photo figcaption { margin:5px 0 0; color:#59616d; font-size:13px; line-height:1.4; }
.jdt-home .jdt-quinte-meta { min-width:0; }
.jdt-home #section-containeur #races-results .jdt-quinte-meta h3 { margin:4px 0 8px; padding:0; color:#16191d; font-size:22px; line-height:1.35; font-weight:700; text-align:left; }
.jdt-home #section-containeur #races-results .jdt-quinte-meta p { margin:0 0 6px; color:#59616d; font-size:16px; line-height:1.5; text-align:left; }
.jdt-home .jdt-quinte-meta p:first-child { font-weight:600; }
.jdt-home #races-results .jdt-quinte-meta a { display:inline-flex; align-items:center; gap:8px; min-height:44px; color:#231f20; font-size:16px; line-height:1.5; font-weight:600; text-decoration:underline; text-underline-offset:3px; }
.jdt-home .jdt-quinte-details { margin-top:12px; border-top:1px solid #e7eaee; }
.jdt-home .jdt-quinte-details>summary { min-height:44px; padding:10px 0; color:#3e4652; font-size:16px; line-height:1.5; cursor:pointer; }
.jdt-home .jdt-quinte-details[open]>summary { margin-bottom:10px; }

/* Layout-only display:contents preserves the programme's attributes and event roots. */
.jdt-home #section-containeur #programme-du-jour {
 display:grid;
 grid-template-columns:minmax(0,1fr) 600px;
 gap:12px 16px;
 padding:18px;
 margin:20px 0 0;
 border:1px solid #dce2e7;
 border-radius:8px;
 background:#fff;
}
.jdt-home #programme-du-jour>.cont-section { grid-column:1; grid-row:1; align-self:center; }
.jdt-home #programme-du-jour>.contenu,
.jdt-home #programme-du-jour .jdt-programme { display:contents; }
.jdt-home #section-containeur #programme-du-jour>.cont-section>.titre-section { min-height:0; margin:0!important; padding:0; border-radius:0!important; background:transparent; }
.jdt-home #section-containeur #programme-du-jour>.cont-section>.titre-section h2 { margin:0; padding:0; background:transparent; color:#16191d; font-size:24px; line-height:1.3; }
.jdt-home #section-containeur #programme-du-jour .jdt-home-section-note { margin:5px 0 0; padding:0; color:#59616d; font-size:14px; line-height:1.45; }
.jdt-home #programme-du-jour .jdt-programme-dates { grid-column:2; grid-row:1; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)) minmax(270px,1.6fr); align-items:end; gap:4px; padding:0; margin:0; border:0; border-radius:0; background:transparent; }
.jdt-home #programme-du-jour .jdt-programme-dates>a { min-height:44px; padding:9px 6px; border-color:#d7dee5; background:#f5f7f8; border-radius:5px; }
.jdt-home #programme-du-jour .jdt-programme-calendar { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:3px 6px; margin:0 0 0 4px; }
.jdt-home #programme-du-jour .jdt-programme-calendar-label { grid-column:1; grid-row:1; font-size:13px; line-height:1.35; }
.jdt-home #programme-du-jour .jdt-programme-calendar input { grid-column:1; grid-row:2; border-color:#cbd2d9; }
.jdt-home #programme-du-jour .jdt-programme-calendar button { grid-column:2; grid-row:2; }
.jdt-home #programme-du-jour .jdt-demo-clock-bar,
.jdt-home #programme-du-jour .jdt-programme-top,
.jdt-home #programme-du-jour .jdt-next-race,
.jdt-home #programme-du-jour .jdt-programme-meetings,
.jdt-home #programme-du-jour #jdt-rail-help { grid-column:1/-1; min-width:0; }
.jdt-home #programme-du-jour .jdt-demo-clock-bar { gap:6px 10px; margin:0; padding:8px 10px; border-color:#e0e5e9; background:#f8f9fa; }
.jdt-home #programme-du-jour .jdt-demo-clock-label { flex-basis:300px; font-size:14px; }
.jdt-home #programme-du-jour .jdt-demo-clock-bar time { font-size:16px; }
.jdt-home #programme-du-jour .jdt-demo-clock-note { font-size:13px; }
.jdt-home #programme-du-jour .jdt-programme-top { align-items:center; margin:0; gap:4px 12px; }
.jdt-home #programme-du-jour .jdt-programme-top p { font-size:14px; }
.jdt-home #programme-du-jour .jdt-programme-top>a { font-size:14px; }
.jdt-home #programme-du-jour .jdt-next-race { margin:0; padding:6px 10px; font-size:14px; }
.jdt-home #programme-du-jour .jdt-next-race>a { min-height:44px; }
.jdt-home #programme-du-jour .jdt-programme-meeting { grid-template-columns:144px minmax(0,1fr); gap:12px; padding:12px 0; margin:0; border:0; border-bottom:1px solid #e7eaee; border-radius:0; background:transparent; }
.jdt-home #programme-du-jour .jdt-programme-meeting:last-child { border-bottom:0; }
.jdt-home #section-containeur .jdt-programme-meeting h3 { color:#16191d; font-size:18px; line-height:1.35; }
.jdt-home .jdt-programme-meeting h3 span { padding:0; margin-right:6px; color:#286223; background:transparent; font-size:17px; }
.jdt-home .jdt-next-course-button { padding:9px 6px; border-color:#d7dee5; color:#3e4652; background:#f8f9fa; }
.jdt-home .jdt-course-rail { gap:3px; }
.jdt-home .jdt-course-rail>button { border-color:#d7dee5; background:#f8f9fa; color:#231f20; }
.jdt-home .jdt-programme-races { gap:6px; padding:4px 4px 8px; }
.jdt-home .jdt-programme-race { flex-basis:120px; border-color:#e0e5e9; background:#f8f9fa; }
.jdt-home .jdt-course-link { min-height:112px; padding:8px; }
.jdt-home .jdt-course-top { flex-direction:column; align-items:flex-start; gap:0; min-height:44px; padding-right:32px; }
.jdt-home .jdt-course-top strong { color:#16191d; font-size:14px; line-height:1.4; }
.jdt-home .jdt-course-top time { color:#16191d; font-size:16px; line-height:1.5; }
.jdt-home .jdt-course-details>summary { font-size:18px; color:#59616d; }
.jdt-home .jdt-race-status { margin-top:3px; font-size:14px; line-height:1.4; }
.jdt-home .jdt-countdown { margin-top:3px; font-size:16px; line-height:1.4; }
.jdt-home .jdt-course-arrival { margin-top:3px; font-size:14px; line-height:1.4; }
.jdt-home .jdt-course-meta { margin-top:3px; font-size:14px; line-height:1.4; }
.jdt-home .jdt-course-quinte { margin-top:3px; padding:0 4px; }
.jdt-home .jdt-programme-race.is-next { background:#f2faf0; border-color:#53bd4b; }
.jdt-home .jdt-programme-race.is-provisional { background:#fff7ed; border-color:#d87924; }

/* Full-width editorial: a large leading story, then five equally weighted cards. */
.jdt-home #section-containeur>#actualites { margin:20px 0 0; padding:18px; border:1px solid #dce2e7; border-radius:8px; background:#fff; }
.jdt-home #actualites>.jdt-demo-heading h2 { color:#16191d; font-size:24px; line-height:1.3; }
.jdt-home #actualites .jdt-demo-news-grid { grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; }
.jdt-home #actualites .jdt-demo-card-featured { grid-column:1/-1; border:0; border-radius:0; }
.jdt-home #actualites .jdt-demo-card-featured .jdt-demo-card-link { grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); gap:24px; padding:0; align-items:center; }
.jdt-home #actualites .jdt-demo-card-featured .jdt-demo-card-link>figure img { width:100%; height:240px; border-radius:6px; }
.jdt-home #section-containeur #actualites .jdt-demo-card-featured .jdt-demo-card-copy h3 { margin:8px 0 10px; color:#16191d; font-size:26px; line-height:1.3; }
.jdt-home #actualites .jdt-demo-card-featured .jdt-demo-summary { display:block; margin:0 0 14px; color:#59616d; font-size:18px; line-height:1.6; }
.jdt-home #actualites .jdt-demo-card-secondary .jdt-demo-card-link { display:block; padding:0; }
.jdt-home #actualites .jdt-demo-card-secondary .jdt-demo-card-link>figure img { width:100%; height:120px; border-radius:6px 6px 0 0; }
.jdt-home #actualites .jdt-demo-card-secondary .jdt-demo-card-copy { padding:10px; }
.jdt-home #section-containeur #actualites .jdt-demo-card-secondary .jdt-demo-card-copy h3 { font-size:16px; line-height:1.45; }
.jdt-home #actualites .jdt-demo-card-secondary figcaption { padding:5px 10px 0; font-size:12px; }
.jdt-home #actualites .jdt-demo-card-secondary .jdt-demo-read-more { font-size:14px; }
.jdt-home #actualites .jdt-demo-card-secondary .jdt-demo-kicker { font-size:13px; }
.jdt-home .jdt-demo-news-compact { margin:20px 0 0; padding:16px; border:1px solid #dce2e7; border-radius:8px; }
.jdt-home #section-containeur .jdt-demo-news-compact>.jdt-demo-heading h2 { color:#16191d; font-size:22px; line-height:1.35; }
.jdt-home .jdt-demo-news-compact .jdt-demo-card { border:0; border-bottom:1px solid #e7eaee; border-radius:0; }
.jdt-home .jdt-demo-news-compact .jdt-demo-card:last-child { border-bottom:0; }
.jdt-home .jdt-demo-news-compact .jdt-demo-card .jdt-demo-card-link { grid-template-columns:76px minmax(0,1fr); gap:10px; padding:10px 0; }
.jdt-home .jdt-demo-news-compact .jdt-demo-card .jdt-demo-card-link>figure img { width:76px; height:88px; }
.jdt-home #section-containeur .jdt-demo-news-compact .jdt-demo-card-copy h3 { font-size:16px; line-height:1.45; }
.jdt-home #section-containeur .jdt-demo-newsletter { margin:20px 0 0; padding:16px; border-color:#dce2e7; }
.jdt-home #section-containeur .jdt-demo-newsletter>.jdt-demo-heading h2 { margin:0 0 10px; color:#16191d; font-size:22px; line-height:1.35; }
.jdt-home .jdt-demo-newsletter-promise { color:#59616d; }
.jdt-home .jdt-demo-newsletter input[type="email"] { background:#fafbfc; border-color:#cbd2d9; }
.jdt-home #section-containeur #lastRaces { border-color:#dce2e7; }
.jdt-home #section-containeur #lastRaces.standard-banner .bg-h4 { padding:16px 14px 10px; }
.jdt-home #section-containeur #lastRaces.standard-banner .bg-h4 h2 { color:#16191d; font-size:22px; line-height:1.35; }
.jdt-home .jdt-live-results-list { max-height:440px; }
.jdt-home #lastRaces .jdt-live-result { padding:12px 6px; }
.jdt-home .jdt-live-results-note { font-size:13px; }
.jdt-home .jdt-live-results-badge { font-size:13px; }
.jdt-home .jdt-all-results { gap:8px; }

/* Visible keyboard focus, including the internally scrolling tracks. */
.jdt-home #section-containeur a:focus-visible,
.jdt-home #section-containeur button:focus-visible,
.jdt-home #section-containeur input:focus-visible,
.jdt-home #section-containeur summary:focus-visible,
.jdt-home #section-containeur [tabindex]:focus-visible,
.jdt-home .jdt-course-popover a:focus-visible,
.jdt-home .jdt-course-popover button:focus-visible {
 outline:3px solid var(--jdt-focus);
 outline-offset:2px;
}
.jdt-home #section-containeur .jdt-course-link:focus-visible,
.jdt-home #section-containeur .jdt-course-details>summary:focus-visible { outline-offset:-3px; }

@media(max-width:1199px) {
 .jdt-home #section-containeur #programme-du-jour { grid-template-columns:minmax(0,1fr); }
 .jdt-home #programme-du-jour>.cont-section { grid-column:1; grid-row:1; }
 .jdt-home #programme-du-jour .jdt-programme-dates { grid-column:1; grid-row:2; }
 .jdt-home #section-containeur #races-results { grid-template-columns:minmax(0,1fr); }
 .jdt-home #section-containeur #races-results>.cont-section,
 .jdt-home #section-containeur #races-results>.nav-tabs { grid-column:1; }
 .jdt-home .jdt-quinte-overview { grid-template-columns:210px minmax(0,1fr); gap:16px; }
 .jdt-home .jdt-header-search { flex-basis:220px; }
}
@media(max-width:991px) {
 .jdt-home #section-containeur.container,
 .jdt-demo-editorial-page #section-containeur.container { grid-template-columns:minmax(0,1fr); }
 .jdt-home #section-containeur>.right-colonne,
 .jdt-demo-editorial-page #section-containeur>.right-colonne { display:block!important; margin-top:24px; }
 .jdt-home #section-containeur>.jdt-home-page-heading,
 .jdt-home #section-containeur>.left-colonne,
 .jdt-home #section-containeur>.right-colonne,
 .jdt-home #section-containeur>#actualites { grid-column:1; grid-row:auto; }
 .jdt-home #actualites .jdt-demo-news-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .jdt-home .jdt-header-inner { gap:8px 18px; }
 .jdt-home .jdt-header-nav { flex:1 1 420px; }
 .jdt-home .jdt-header-search { flex-basis:100%; }
}
@media(max-width:767px) {
 .jdt-home #section-containeur.container,
 .jdt-demo-editorial-page #section-containeur.container { padding-left:12px; padding-right:12px; }
 .jdt-home #section-containeur .jdt-home-page-heading h1 { font-size:25px; }
 .jdt-home #programme-du-jour .jdt-programme-meeting { grid-template-columns:minmax(0,1fr); gap:8px; padding:10px; }
 .jdt-home .jdt-programme-meeting>header { display:flex; flex-wrap:wrap; align-items:center; gap:4px 12px; }
 .jdt-home #section-containeur .jdt-programme-meeting h3 { flex:1 1 180px; margin:0; }
 .jdt-home .jdt-next-course-button { width:auto; margin:0; }
 .jdt-home .jdt-next-course-feedback { flex-basis:100%; }
 .jdt-home .jdt-programme-dates>a { flex:1 1 0; padding-left:6px; padding-right:6px; }
 .jdt-home .jdt-programme-dates form { flex-basis:100%; }
 .jdt-home #section-containeur #races-results>.tab-content { padding:12px 8px; }
 .jdt-home #section-containeur #races-results>.nav-tabs>li>a { padding-left:4px; padding-right:4px; }
 .jdt-home #section-containeur #races-results,
 .jdt-home #section-containeur #programme-du-jour,
 .jdt-home #section-containeur>#actualites { padding:14px; }
 .jdt-home #programme-du-jour .jdt-programme-dates { grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
 .jdt-home #programme-du-jour .jdt-programme-calendar { grid-column:1/-1; grid-row:2; margin:0; grid-template-columns:minmax(0,1fr) auto; }
 .jdt-home #programme-du-jour .jdt-programme-calendar-label { font-size:14px; }
 .jdt-home .jdt-header-inner { padding:10px 12px; }
 .jdt-home .jdt-header-nav { gap:4px 12px; }
 .jdt-home .jdt-modern-footer { justify-content:flex-start; padding:16px 12px; }
 .jdt-home .jdt-quinte-overview { grid-template-columns:180px minmax(0,1fr); gap:14px; }
 .jdt-home #actualites .jdt-demo-card-featured .jdt-demo-card-link { grid-template-columns:minmax(0,1fr); gap:14px; }
 .jdt-home #actualites .jdt-demo-card-featured .jdt-demo-card-link>figure img { height:220px; }
 .jdt-home #section-containeur #actualites .jdt-demo-card-featured .jdt-demo-card-copy h3 { font-size:23px; }
}
@media(max-width:600px) {
 .jdt-theme .jdt-demo-news-grid,
 .jdt-theme .jdt-news-grid { grid-template-columns:minmax(0,1fr); }
 .jdt-theme .jdt-demo-news-compact .jdt-demo-card .jdt-demo-card-link { grid-template-columns:80px minmax(0,1fr); }
 .jdt-theme .jdt-demo-article h1 { font-size:25px; }
 .jdt-home #actualites .jdt-demo-news-grid { grid-template-columns:minmax(0,1fr); }
 .jdt-home .jdt-quinte-overview { grid-template-columns:minmax(0,1fr); }
 .jdt-home .jdt-quinte-photo img { height:180px; }
 .jdt-home #actualites .jdt-demo-card-secondary .jdt-demo-card-link>figure img { height:160px; }
}
@media(max-width:480px) {
 .jdt-theme .jdt-demo-card .jdt-demo-card-link,
 .jdt-theme .jdt-demo-card-featured .jdt-demo-card-link { grid-template-columns:88px minmax(0,1fr); gap:10px; padding:10px; }
 .jdt-theme .jdt-demo-card .jdt-demo-card-link>figure img,
 .jdt-theme .jdt-demo-card-featured .jdt-demo-card-link>figure img { width:88px; height:88px; }
 .jdt-theme .jdt-demo-news-compact .jdt-demo-card .jdt-demo-card-link { grid-template-columns:80px minmax(0,1fr); }
 .jdt-theme .jdt-demo-news-compact .jdt-demo-card .jdt-demo-card-link>figure img { width:80px; height:88px; }
}
@media(max-width:359px) {
 .jdt-home .jdt-programme-dates form { grid-template-columns:minmax(0,1fr) auto; }
 .jdt-home .jdt-programme-calendar-label { grid-column:1/-1; }
}
@media(prefers-reduced-motion:reduce) {
 .jdt-home .jdt-programme-race.is-next::after,
 .jdt-home .jdt-programme-race.is-provisional::after { animation:none; background-image:none; background-color:var(--jdt-race-accent); }
 .jdt-home .jdt-programme-races { scroll-behavior:auto; }
 .jdt-home .jdt-live-dot { animation:none; opacity:1; }
}
/* V11 fidelity pass. Desktop geometry is measured in CSS pixels, independent of screenshot scaling. */
body.jdt-home,body.jdt-home>section,body.jdt-home>section>.row{background:#f5f7f8}
.jdt-preview-banner{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 18px;padding:4px 16px;border-bottom:1px solid #e0e5e8;background:#f8faf7;color:#485348;font:13px/1.4 Arial,sans-serif}
.jdt-preview-banner strong{font-weight:500}.jdt-preview-banner details{position:relative}.jdt-preview-banner summary{cursor:pointer;min-height:28px;display:flex;align-items:center}.jdt-preview-banner details p{position:absolute;z-index:100;width:300px;max-width:85vw;padding:14px;right:0;margin:0;background:#fff;border:1px solid #cfd8cf;border-radius:5px;box-shadow:0 4px 12px #0001}.jdt-preview-banner form{margin:0}.jdt-preview-banner button{background:transparent;color:inherit;border:0;min-height:28px;text-decoration:underline}
.jdt-home .jdt-header-inner{min-height:72px;gap:10px 20px;padding-top:8px;padding-bottom:8px}.jdt-home .jdt-brand,.jdt-home .jdt-brand img{width:220px}.jdt-home .jdt-header-nav a{font-size:16px;font-weight:500}.jdt-home .jdt-header-search label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.jdt-home .jdt-header-search-row input{background:#f7f9fa}.jdt-home .jdt-header-search-row button{padding:8px;font-size:14px}
.jdt-home #section-containeur.container{padding-top:22px}.jdt-home #section-containeur .jdt-home-page-heading h1{font-size:30px;line-height:1.18;letter-spacing:-.6px}.jdt-home .jdt-home-tagline{font-size:19px;margin:7px 0 0;color:#68717c}.jdt-home #section-containeur #races-results>.cont-section>.titre-section h2{font-size:26px}.jdt-home #section-containeur #races-results{padding:16px;gap:12px}.jdt-home .jdt-quinte-overview{grid-template-columns:250px minmax(0,1fr);gap:22px}.jdt-home .jdt-quinte-photo img{height:145px}.jdt-home .jdt-quinte-photo figcaption{font-size:12px}.jdt-home .jdt-quinte-details{margin-top:6px}.jdt-home .jdt-quinte-details>summary{font-size:14px;padding:6px 0;min-height:34px}
.jdt-home #section-containeur #programme-du-jour{grid-template-columns:minmax(280px,1fr) 510px;padding:16px;gap:10px 14px;margin-top:18px}.jdt-home #section-containeur #programme-du-jour>.cont-section>.titre-section h2{font-size:25px;letter-spacing:-.5px}.jdt-home #programme-du-jour .jdt-home-section-note{font-size:13px}.jdt-home #programme-du-jour .jdt-programme-dates{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(245px,1.8fr);gap:3px}.jdt-home #programme-du-jour .jdt-programme-dates>a{padding:8px 5px;font-size:15px}.jdt-home #programme-du-jour .jdt-programme-calendar input{font-size:14px;padding:8px 6px}.jdt-home #programme-du-jour .jdt-programme-calendar button{font-size:14px;padding:8px 10px}
.jdt-home .jdt-demo-clock-tools{grid-column:1/-1;margin:0;border:0;color:#65706b;font-size:13px}.jdt-home .jdt-demo-clock-tools>summary{display:flex;align-items:center;flex-wrap:wrap;gap:4px;min-height:32px;cursor:pointer;list-style:revert}.jdt-home .jdt-demo-clock-tools .jdt-demo-clock-bar{margin-top:5px;padding:8px;border:1px solid #e1e6e0}.jdt-home .jdt-demo-clock-tools .jdt-demo-clock-time{font-size:13px;font-weight:400}.jdt-home #section-containeur #programme-du-jour .jdt-programme-top{display:none}.jdt-home #section-containeur #programme-du-jour .jdt-next-race{font-size:13px;padding:3px 8px;background:#f5faf3}.jdt-home #programme-du-jour .jdt-next-race>a{min-height:30px;font-size:13px}
.jdt-home #programme-du-jour .jdt-programme-meeting{grid-template-columns:125px minmax(0,1fr);gap:8px;padding:10px 0;align-items:center}.jdt-home #section-containeur .jdt-programme-meeting h3{font-size:17px;line-height:1.3;margin-bottom:4px}.jdt-home .jdt-programme-meeting h3 span{font-size:17px}.jdt-home .jdt-programme-meeting>header p{font-size:13px}.jdt-home .jdt-next-course-button{font-size:13px;line-height:1.25;margin-top:5px;padding:5px;min-height:36px;background:transparent;border-color:transparent;color:#66717d}.jdt-home .jdt-next-course-button:hover{border-color:#d9e0e6}.jdt-home .jdt-course-rail{grid-template-columns:36px minmax(0,1fr) 36px;gap:2px}.jdt-home .jdt-course-rail>button{width:36px;min-width:36px;min-height:44px}.jdt-home .jdt-programme-races{gap:5px;padding:3px 2px 5px}.jdt-home .jdt-programme-race{flex:0 0 calc((100% - 25px)/6);min-width:96px;border-radius:6px}.jdt-home .jdt-course-link{min-height:104px;padding:6px 4px;line-height:1.3}.jdt-home .jdt-course-top{align-items:center;min-height:36px;padding-right:0;gap:0}.jdt-home .jdt-course-top strong{font-size:14px}.jdt-home .jdt-course-top time{font-size:15px;font-weight:600}.jdt-home .jdt-race-status{font-size:13px;line-height:1.25;text-align:center}.jdt-home .jdt-countdown{font-size:13px;text-align:center;font-weight:600}.jdt-home .jdt-course-meta{font-size:13px;text-align:center;line-height:1.3}.jdt-home .jdt-course-arrival{font-size:12px;text-align:center;line-height:1.35;letter-spacing:-.25px}.jdt-home .jdt-course-quinte{position:absolute;top:2px;left:3px;margin:0;font-size:9px}.jdt-home .jdt-course-details>summary{width:24px;min-height:24px;font-size:13px;right:0;top:0;opacity:.75}.jdt-home .jdt-next-course-feedback{font-size:12px;line-height:1.4}
.jdt-home .jdt-live-result-numbers{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.jdt-home .jdt-result-number{display:inline-flex;align-items:center;justify-content:center;width:28px;min-width:28px;height:28px;border:1px solid #dce2e7;border-radius:4px;background:#fff;color:#161b22;font-size:16px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}.jdt-home #lastRaces .jdt-live-result{padding:13px 0}.jdt-home .jdt-live-result-id{font-size:14px;line-height:1.45}.jdt-home .jdt-live-result-id strong{font-size:18px}.jdt-home .jdt-live-result-title{font-size:14px;font-weight:400}.jdt-home .jdt-live-result-status{font-size:12px}.jdt-home .jdt-live-results-list{max-height:390px}.jdt-home .jdt-live-results-note{font-size:12px;margin:0 0 4px}.jdt-home #section-containeur #lastRaces.standard-banner .bg-h4 h2{font-size:22px}.jdt-home .jdt-demo-newsletter .jdt-demo-caption{font-size:13px;line-height:1.45}.jdt-home .jdt-demo-newsletter label{font-size:14px}.jdt-home .jdt-demo-news-compact .jdt-demo-caption{font-size:12px}.jdt-home #actualites .jdt-demo-card figcaption,.jdt-home .jdt-demo-news-compact .jdt-demo-card figcaption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}.jdt-home #actualites .jdt-demo-card-secondary .jdt-demo-card-copy{padding:9px}.jdt-home #actualites .jdt-demo-date{font-size:13px}.jdt-home #actualites .jdt-demo-read-more{font-size:13px;min-height:28px}.jdt-home #actualites .jdt-demo-card-featured .jdt-demo-card-link>figure img{height:220px}
.jdt-home .jdt-modern-footer{display:block;padding:12px 16px;background:#fff}.jdt-home .jdt-footer-primary{display:flex;align-items:center;flex-wrap:wrap;gap:8px 22px;max-width:1222px;margin:auto}.jdt-home .jdt-modern-footer .jdt-brand{flex:0 0 210px}.jdt-home .jdt-modern-footer .jdt-brand img{width:210px}.jdt-home .jdt-footer-primary>nav{display:flex;align-items:center;flex-wrap:wrap;gap:4px 14px;min-width:0}.jdt-home .jdt-modern-footer nav a{font-size:14px;min-height:34px}.jdt-home .jdt-footer-primary>.jdt-footer-utilities{margin-left:auto;font-size:13px}.jdt-home .jdt-footer-utilities details{position:relative}.jdt-home .jdt-footer-utilities summary{cursor:pointer;min-height:34px;display:flex;align-items:center}.jdt-home .jdt-footer-utilities details>nav{position:absolute;bottom:100%;right:0;min-width:210px;padding:12px;display:flex;flex-direction:column;background:#fff;border:1px solid #dce2e7;border-radius:5px;box-shadow:0 3px 12px #0001}.jdt-home .jdt-modern-footer>p{max-width:1222px;margin:5px auto 0;text-align:right;font-size:12px}
@media(max-width:1199px){.jdt-home #section-containeur #programme-du-jour{grid-template-columns:minmax(0,1fr)}.jdt-home #programme-du-jour .jdt-programme-dates{grid-row:2;grid-column:1}.jdt-home .jdt-programme-race{flex-basis:104px}.jdt-home .jdt-course-top{padding-right:0}.jdt-home .jdt-header-inner{gap:8px 14px}}
@media(max-width:991px){.jdt-home .jdt-programme-race{flex-basis:calc((100% - 25px)/6);min-width:100px}.jdt-home .jdt-footer-primary>.jdt-footer-utilities{margin-left:0}.jdt-home .jdt-modern-footer>p{text-align:left}}
@media(max-width:767px){.jdt-home #section-containeur .jdt-home-page-heading h1{font-size:25px}.jdt-home #programme-du-jour .jdt-programme-meeting{grid-template-columns:minmax(0,1fr)}.jdt-home .jdt-programme-race{flex-basis:116px}.jdt-home .jdt-course-link{min-height:112px}.jdt-home .jdt-course-details>summary{min-width:36px;min-height:36px}.jdt-home .jdt-next-course-button{min-height:44px}.jdt-home #programme-du-jour .jdt-programme-dates{grid-template-columns:repeat(3,minmax(0,1fr))}.jdt-home .jdt-quinte-overview{grid-template-columns:minmax(0,1fr)}.jdt-home #section-containeur #programme-du-jour{padding:12px}.jdt-home .jdt-live-results-list{max-height:380px}.jdt-home .jdt-modern-footer{padding:12px}.jdt-home .jdt-demo-clock-tools>summary{min-height:44px}.jdt-preview-banner{justify-content:flex-start}}
/* Keep generous hit targets while retaining six cards at the wide desktop size. */
.jdt-home .jdt-course-rail{grid-template-columns:44px minmax(0,1fr) 44px}.jdt-home .jdt-course-rail>button{width:44px;min-width:44px;min-height:44px}.jdt-home .jdt-course-details>summary{width:44px;min-width:44px;min-height:44px}.jdt-home .jdt-course-top{padding-right:28px}.jdt-home .jdt-course-link{min-height:112px}.jdt-home .jdt-next-course-button{min-height:44px}
.jdt-home #lastRaces .jdt-live-result{display:grid;grid-template-columns:58px minmax(0,1fr);column-gap:10px;row-gap:3px;align-items:start}.jdt-home .jdt-live-result-id{display:contents}.jdt-home .jdt-result-time{grid-column:1;grid-row:1/span 4;font-size:17px;white-space:nowrap}.jdt-home .jdt-result-venue{grid-column:2;grid-row:1;font-size:14px;font-weight:600;color:#596573}.jdt-home .jdt-live-result-title{grid-column:2;grid-row:2}.jdt-home .jdt-live-result-status{grid-column:2;grid-row:3}.jdt-home .jdt-live-result-numbers{grid-column:2;grid-row:4;margin-top:2px;gap:4px}.jdt-home .jdt-result-number{width:26px;min-width:26px;height:28px}
/* Shared result renderer also appears in legacy page families. */
.jdt-theme .jdt-live-results .jdt-live-result{display:grid;grid-template-columns:58px minmax(0,1fr);column-gap:10px;row-gap:3px;align-items:start}.jdt-theme .jdt-live-results .jdt-live-result-id{display:contents}.jdt-theme .jdt-live-results .jdt-result-time{grid-column:1;grid-row:1/span 4;font-size:17px;white-space:nowrap}.jdt-theme .jdt-live-results .jdt-result-venue{grid-column:2;grid-row:1;font-size:14px;font-weight:600;color:#596573}.jdt-theme .jdt-live-results .jdt-live-result-title{grid-column:2;grid-row:2}.jdt-theme .jdt-live-results .jdt-live-result-status{grid-column:2;grid-row:3}.jdt-theme .jdt-live-results .jdt-live-result-numbers{grid-column:2;grid-row:4;display:flex;flex-wrap:wrap;gap:4px;margin-top:2px}.jdt-theme .jdt-live-results .jdt-result-number{display:inline-flex;align-items:center;justify-content:center;width:26px;min-width:26px;height:28px;border:1px solid #dce2e7;border-radius:4px;background:#fff;color:#161b22;font-size:16px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}
/* V13 Quinté: selected tab is solid dark; keyboard focus remains a separate outline. */
.jdt-home #section-containeur #races-results>.nav-tabs>li.active>a,
.jdt-home #section-containeur #races-results>.nav-tabs>li.active>a:hover,
.jdt-home #section-containeur #races-results>.nav-tabs>li.active>a:focus{
 background:#231f20!important;
 color:#fff!important;
 border-color:#231f20!important;
 box-shadow:none!important;
}
.jdt-home #section-containeur #races-results>.nav-tabs>li>a:focus-visible{
 outline:3px solid var(--jdt-focus,#9b1740);
 outline-offset:2px;
}
/* V13 Programme controls only: same solid selected state, single-line labels. */
body.jdt-home #section-containeur #programme-du-jour{grid-template-columns:minmax(270px,1fr) 530px}
body.jdt-home #programme-du-jour .jdt-programme-dates{grid-template-columns:68px 114px 80px minmax(242px,1fr);gap:0;align-items:center;padding:0;border:0;background:transparent}
body.jdt-home #programme-du-jour .jdt-programme-dates>a{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;height:44px;margin:0;padding:8px 6px;border:1px solid #dce2e8;border-radius:0;background:#f5f7f8;color:#231f20;font-family:"JDT Content",Arial,sans-serif;font-size:15px;font-weight:500;line-height:1.25;white-space:nowrap;overflow-wrap:normal;word-break:normal;text-decoration:none;box-shadow:none}
body.jdt-home #programme-du-jour .jdt-programme-dates>a:first-of-type{border-radius:5px 0 0 5px;border-right:0}
body.jdt-home #programme-du-jour .jdt-programme-dates>a:last-of-type{border-radius:0 5px 5px 0;border-left:0}
body.jdt-home #programme-du-jour .jdt-programme-dates>a[aria-current="date"],body.jdt-home #programme-du-jour .jdt-programme-dates>a[aria-current="date"]:hover,body.jdt-home #programme-du-jour .jdt-programme-dates>a[aria-current="date"]:focus{background:#231f20!important;color:#fff!important;border-color:#231f20!important;border-radius:4px;box-shadow:none!important;font-weight:600}
body.jdt-home #programme-du-jour .jdt-programme-dates>a:not([aria-current]):hover{background:#edf0f3;color:#231f20}
body.jdt-home #programme-du-jour .jdt-programme-calendar{display:grid;grid-template-columns:minmax(132px,1fr) auto;grid-template-rows:44px;align-items:center;gap:6px;margin:0 0 0 12px;min-width:0}
body.jdt-home #programme-du-jour .jdt-programme-calendar-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
body.jdt-home #programme-du-jour .jdt-programme-calendar input{grid-column:1;grid-row:1;box-sizing:border-box;width:100%;min-width:132px;min-height:44px;height:44px;margin:0;padding:8px;border:1px solid #dce2e8;border-radius:5px;background:#fff;color:#231f20;font-family:"JDT Content",Arial,sans-serif;font-size:14px;line-height:1.25}
body.jdt-home #programme-du-jour .jdt-programme-calendar button{grid-column:2;grid-row:1;box-sizing:border-box;min-height:44px;height:44px;margin:0;padding:8px 12px;border:1px solid #231f20;border-radius:5px;background:#231f20;color:#fff;font-family:"JDT Content",Arial,sans-serif;font-size:14px;font-weight:600;line-height:1.25;white-space:nowrap;overflow-wrap:normal;box-shadow:none}
body.jdt-home #programme-du-jour .jdt-programme-dates>a:focus-visible,body.jdt-home #programme-du-jour .jdt-programme-calendar input:focus-visible,body.jdt-home #programme-du-jour .jdt-programme-calendar button:focus-visible{outline:3px solid var(--jdt-focus,#9b1740);outline-offset:2px}
@media(max-width:1249px){body.jdt-home #section-containeur #programme-du-jour{grid-template-columns:minmax(0,1fr)}body.jdt-home #programme-du-jour .jdt-programme-dates{grid-column:1;grid-row:2;justify-content:start}}
@media(max-width:767px){body.jdt-home #programme-du-jour .jdt-programme-dates{grid-template-columns:minmax(56px,1fr) minmax(106px,1.45fr) minmax(68px,1fr);row-gap:8px}body.jdt-home #programme-du-jour .jdt-programme-dates>a{font-size:14px;padding-inline:4px}body.jdt-home #programme-du-jour .jdt-programme-calendar{grid-column:1/-1;grid-row:2;margin:0;grid-template-columns:minmax(132px,1fr) auto}}
/* V13 meeting markers and compact cards, from the approved image's green family. */
body.jdt-home #section-containeur #programme-du-jour .jdt-programme-meeting{grid-template-columns:160px minmax(0,1fr);column-gap:8px;row-gap:6px;padding:8px 0;align-items:center}
body.jdt-home #section-containeur #programme-du-jour .jdt-programme-meeting>header{min-width:0}
body.jdt-home #section-containeur #programme-du-jour .jdt-programme-meeting>header h3{font-family:"JDT Content",Arial,sans-serif;font-size:17px;font-weight:700;line-height:1.25;margin:0 0 5px;padding:0;color:#161b22;overflow-wrap:normal;word-break:normal}
body.jdt-home #section-containeur #programme-du-jour .jdt-meeting-number{display:inline;color:#20a028;background:transparent;padding:0;margin-right:6px;font-size:20px;font-weight:700;line-height:1.1;white-space:nowrap}
body.jdt-home #section-containeur #programme-du-jour .jdt-meeting-meta{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 8px;margin:0;color:#66717c;font-family:"JDT Content",Arial,sans-serif;font-size:13px;line-height:1.3}
body.jdt-home #section-containeur #programme-du-jour .jdt-meeting-count{white-space:nowrap}
body.jdt-home #section-containeur #programme-du-jour .jdt-next-course-button{width:100%;min-height:44px;margin-top:3px;padding:5px;font-size:13px;line-height:1.25;white-space:nowrap;overflow-wrap:normal}
body.jdt-home #section-containeur #programme-du-jour .jdt-next-course-feedback:not(:empty){margin-top:4px;font-size:12px;line-height:1.35}
body.jdt-home #programme-du-jour .jdt-programme-race{box-sizing:border-box;flex:0 0 calc((100% - 25px)/6);min-width:92px;height:auto}
body.jdt-home #programme-du-jour .jdt-course-link{box-sizing:border-box;min-height:88px;height:auto;padding:5px 4px;line-height:1.25}
body.jdt-home #programme-du-jour .jdt-course-top{min-height:34px;gap:0;line-height:1.25;padding-right:28px}
body.jdt-home #programme-du-jour .jdt-course-top strong{font-size:14px;line-height:1.2}
body.jdt-home #programme-du-jour .jdt-course-top time{font-size:15px;font-weight:600;line-height:1.2;white-space:nowrap}
body.jdt-home #programme-du-jour .jdt-race-status,body.jdt-home #programme-du-jour .jdt-countdown{font-size:13px;line-height:1.2;margin-top:3px}
body.jdt-home #programme-du-jour .jdt-course-meta{display:block;font-size:13px;line-height:1.25;margin-top:3px;text-align:center;overflow-wrap:normal;word-break:normal}
body.jdt-home #programme-du-jour .jdt-course-runners{display:block;white-space:nowrap}
body.jdt-home #programme-du-jour .jdt-course-arrival{font-size:12px;line-height:1.25;margin-top:3px;word-break:normal}
@media(max-width:1249px){body.jdt-home #programme-du-jour .jdt-programme-race{flex-basis:106px;min-width:106px}}
@media(max-width:767px){body.jdt-home #section-containeur #programme-du-jour .jdt-programme-meeting{grid-template-columns:minmax(0,1fr);padding:9px 0}body.jdt-home #section-containeur #programme-du-jour .jdt-programme-meeting>header{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px}body.jdt-home #section-containeur #programme-du-jour .jdt-programme-meeting>header h3{flex:1 1 160px}body.jdt-home #section-containeur #programme-du-jour .jdt-next-course-button{width:auto}body.jdt-home #programme-du-jour .jdt-programme-race{flex-basis:116px;min-width:116px}body.jdt-home #programme-du-jour .jdt-course-link{min-height:100px}}
/* V13 latest arrivals: bright red indicator, explicitly a simulation. */
body.jdt-home #section-containeur #lastRaces.standard-banner .bg-h4{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:8px;padding:14px 12px 8px}
body.jdt-home #section-containeur #lastRaces.standard-banner .bg-h4 h2{font-family:"JDT Content",Arial,sans-serif;font-size:20px;font-weight:700;line-height:1.25;margin:0;min-width:0;color:#161b22}
body.jdt-home #lastRaces .jdt-live-results-badge{display:inline-flex;align-items:center;flex:0 0 auto;gap:5px;padding:4px 6px;border-radius:4px;background:#fff0f2;color:#d90000;font-family:"JDT Content",Arial,sans-serif;font-size:11px;font-weight:700;line-height:1.3;white-space:nowrap;text-transform:uppercase}
body.jdt-home #lastRaces .jdt-live-dot{background:#f8100e;flex-basis:8px;width:8px;height:8px}
body.jdt-home #lastRaces .jdt-live-results-note{margin:0 12px 4px;padding:0;color:#66717c;font-family:"JDT Content",Arial,sans-serif;font-size:12px;line-height:1.35}
@media(prefers-reduced-motion:reduce){body.jdt-home #lastRaces .jdt-live-dot{animation:none;opacity:1}}
body.jdt-home #section-containeur .jdt-demo-news h2,body.jdt-home #section-containeur .jdt-demo-news h3,body.jdt-home #section-containeur .jdt-demo-newsletter h2{font-family:"JDT Content",Arial,sans-serif}
/* COPY arrival identities stay complete within their assigned grid column. */
.jdt-theme .jdt-live-results .jdt-result-venue,
.jdt-theme .jdt-live-results .jdt-live-result-title{min-width:0;overflow-wrap:anywhere}
.jdt-home .jdt-copy-date{margin:4px 0 10px;font-size:13px;line-height:1.4;color:#66717c}
/* V14.4 desktop density: keep the approved header/H1 and mobile rules intact. */
@media(min-width:1000px){
 body.jdt-home #section-containeur #races-results{grid-template-columns:minmax(0,1fr) 280px;padding:14px;gap:8px;margin-bottom:0}
 body.jdt-home #section-containeur #races-results>.cont-section{grid-column:1;grid-row:1}
 body.jdt-home #section-containeur #races-results>.nav-tabs{grid-column:2;grid-row:1;margin:0}
 body.jdt-home #races-results>.tab-content>.tab-pane{padding-top:10px}
 body.jdt-home .jdt-quinte-overview{grid-template-columns:220px minmax(0,1fr);gap:18px}
 body.jdt-home .jdt-quinte-photo img{height:124px}
 body.jdt-home .jdt-quinte-photo figcaption{margin-top:2px;font-size:11px;line-height:1.2}
 body.jdt-home #section-containeur #races-results .jdt-quinte-meta h3{font-size:21px;line-height:1.2;margin:3px 0 5px}
 body.jdt-home #section-containeur #races-results .jdt-quinte-meta p{font-size:15px;line-height:1.3;margin-bottom:4px}
 body.jdt-home .jdt-quinte-details{margin-top:2px}
 body.jdt-home .jdt-quinte-details>summary{padding:4px 0;min-height:30px;font-size:13px}
 body.jdt-home #section-containeur #programme-du-jour{grid-template-columns:minmax(180px,1fr) 412px;gap:5px 10px;padding:14px;margin-top:16px}
 body.jdt-home #programme-du-jour>.cont-section{grid-column:1;grid-row:1}
 body.jdt-home #programme-du-jour .jdt-programme-dates{grid-column:2;grid-row:1;grid-template-columns:52px 87px 65px minmax(198px,1fr);justify-content:stretch}
 body.jdt-home #programme-du-jour .jdt-programme-dates>a{font-size:13px;padding:6px 3px}
 body.jdt-home #programme-du-jour .jdt-programme-calendar{margin-left:8px;gap:5px;grid-template-columns:minmax(118px,1fr) auto}
 body.jdt-home #programme-du-jour .jdt-programme-calendar input{min-width:118px;font-size:12px;padding:6px}
 body.jdt-home #programme-du-jour .jdt-programme-calendar button{font-size:12px;padding:6px 8px}
 body.jdt-home #section-containeur #programme-du-jour>.cont-section>.titre-section h2{font-size:23px;line-height:1.2}
 body.jdt-home #programme-du-jour .jdt-copy-date{grid-column:1/-1;margin:0;font-size:12px;line-height:1.3}
 body.jdt-home #programme-du-jour .jdt-programme-top{padding:0;gap:4px;margin:0}
 body.jdt-home #programme-du-jour .jdt-programme-top p{margin:0;font-size:12px;line-height:1.3}
 body.jdt-home #programme-du-jour .jdt-programme-top p br{display:none}
 body.jdt-home #programme-du-jour .jdt-next-race{padding:2px 0;border:0;background:transparent;font-size:12px}
 body.jdt-home #programme-du-jour .jdt-next-race>a{min-height:24px}
 body.jdt-home #section-containeur #programme-du-jour .jdt-programme-meeting{grid-template-columns:130px minmax(0,1fr);gap:6px;padding:6px 0}
 body.jdt-home #section-containeur #programme-du-jour .jdt-programme-meeting>header h3{font-size:16px;margin-bottom:2px;line-height:1.2}
 body.jdt-home #section-containeur #programme-du-jour .jdt-meeting-meta{font-size:12px;line-height:1.2;gap:2px 5px}
 body.jdt-home #section-containeur #programme-du-jour .jdt-next-course-button{margin-top:0;padding:2px;min-height:32px;font-size:12px}
 body.jdt-home #programme-du-jour .jdt-programme-races{gap:5px;padding:2px 1px}
 body.jdt-home #programme-du-jour .jdt-programme-race{flex:0 0 calc((100% - 25px)/6);min-width:77px}
 body.jdt-home #programme-du-jour .jdt-course-link{min-height:70px;padding:4px 3px}
 body.jdt-home #programme-du-jour .jdt-course-top{min-height:30px;padding-right:12px;align-items:center}
 body.jdt-home #programme-du-jour .jdt-course-top strong,body.jdt-home #programme-du-jour .jdt-course-top time{font-size:12px}
 body.jdt-home #programme-du-jour .jdt-course-meta,body.jdt-home #programme-du-jour .jdt-race-status,body.jdt-home #programme-du-jour .jdt-countdown{font-size:11px;line-height:1.2;margin-top:2px}
 body.jdt-home #programme-du-jour .jdt-course-arrival{font-size:10px;line-height:1.2;margin-top:2px;letter-spacing:-.25px}
}
/* V14.5: remove inherited Bootstrap tab gutters and reserve the info-button row. */
body.jdt-home #section-containeur #races-results>.nav-tabs>li{padding:0}
body.jdt-home #section-containeur #races-results>.nav-tabs>li>a{white-space:nowrap;overflow-wrap:normal;word-break:normal}
@media(min-width:1000px){
 body.jdt-home #section-containeur #races-results>.nav-tabs{grid-template-columns:70px minmax(106px,1fr) 78px;gap:2px}
 body.jdt-home #section-containeur #races-results>.nav-tabs>li>a{font-size:14px;padding:8px 4px;min-height:44px}
 body.jdt-home #programme-du-jour .jdt-programme-race{min-width:0;flex:0 0 calc((100% - 25px)/6)}
 body.jdt-home #programme-du-jour .jdt-course-top{display:grid;grid-template-columns:minmax(0,1fr) 24px;grid-template-rows:24px 16px;min-height:40px;padding-right:0;align-items:center;text-align:center}
 body.jdt-home #programme-du-jour .jdt-course-top strong{grid-column:1;grid-row:1;justify-self:center}
 body.jdt-home #programme-du-jour .jdt-course-top time{grid-column:1/-1;grid-row:2;justify-self:center}
 body.jdt-home #programme-du-jour .jdt-course-details>summary{width:24px;min-width:24px;height:24px;min-height:24px;top:0;right:0;padding:0;display:flex;align-items:center;justify-content:center;font-size:13px}
}
@media(min-width:1000px){
 body.jdt-home #races-results>.tab-content>.tab-pane{padding-bottom:0}
 body.jdt-home .jdt-quinte-details{margin-bottom:0}
 body.jdt-home .jdt-quinte-photo{position:relative}
 body.jdt-home .jdt-quinte-photo figcaption{position:absolute;bottom:3px;left:4px;max-width:calc(100% - 8px);margin:0;padding:2px 4px;border-radius:3px;background:rgba(255,255,255,.94);color:#3e4652;font-size:11px;line-height:1.2}
}
/* Q+ belongs to the course identity, never an absolute overlay on it. */
.jdt-theme .jdt-course-top strong .jdt-course-quinte{position:static;display:inline-block;vertical-align:middle;margin:0 0 0 2px;padding:0;font-size:8px;line-height:1;white-space:nowrap}
@media(min-width:1000px){
 body.jdt-home #programme-du-jour .jdt-course-link{gap:0;padding:3px;min-height:70px}
 body.jdt-home #programme-du-jour .jdt-course-top{grid-template-rows:24px 14px;min-height:38px;margin:0}
 body.jdt-home #programme-du-jour .jdt-course-top strong{white-space:nowrap;line-height:1}
 body.jdt-home #programme-du-jour .jdt-course-meta,body.jdt-home #programme-du-jour .jdt-race-status,body.jdt-home #programme-du-jour .jdt-countdown{margin-top:1px;line-height:1.1}
 body.jdt-home #programme-du-jour .jdt-course-arrival{margin-top:1px;line-height:1.1}
 body.jdt-home #section-containeur #races-results{padding:12px;gap:6px}
 body.jdt-home #section-containeur #races-results>.cont-section>.titre-section h2{font-size:24px;line-height:1.2}
}

/* V14.7: group the two reading actions; no empty disclosure row below the photo. */
body.jdt-home #races-results .jdt-home-quinte-actions{display:flex;align-items:start;flex-wrap:wrap;gap:0 14px}
body.jdt-home #races-results .jdt-home-quinte-actions>a{font-size:14px;flex:1 1 190px}
body.jdt-home #races-results .jdt-home-quinte-actions>.jdt-quinte-details{flex:1 1 140px;min-width:0;margin:0;border:0}
body.jdt-home #races-results .jdt-home-quinte-actions>.jdt-quinte-details>summary{display:list-item;min-height:44px;padding:11px 0;font-size:13px;line-height:22px}
body.jdt-home #races-results .jdt-home-quinte-actions>.jdt-quinte-details[open]{flex-basis:100%;overflow-x:auto}
@media(min-width:1000px){
 body.jdt-home #section-containeur #races-results{padding:8px;gap:6px}
 body.jdt-home #section-containeur #races-results>.nav-tabs{padding:0}
 body.jdt-home #section-containeur #races-results>.tab-content>.tab-pane{padding:6px 0 0}
}

body.jdt-home #section-containeur #races-results>.tab-content>.tab-pane{padding-bottom:0!important}
