@import url("photo-orientation.css?v=1");
/* Héritage : déclinaison finale et composants de consultation. */
body{font-size:16px}.main-nav>a{font-size:13px}.extra-nav{font-size:11px}.masthead>p{font-size:13px}.interior-main{padding-bottom:48px}.page-heading{padding:22px 0 38px;border-bottom:1px solid var(--line);margin-bottom:32px}.page-heading>.eyebrow{color:var(--accent);margin-bottom:17px}.page-heading h1{font-size:49px;line-height:1.1}.page-heading h1 em{color:var(--accent)}.page-heading>p{max-width:750px;color:var(--muted);font-size:15px;line-height:1.75;margin-top:20px}.rich-content{margin:28px 0;padding:26px;background:var(--surface);border-left:3px solid var(--accent);font-size:16px;line-height:1.8}.rich-content a{text-decoration:underline;color:var(--accent)}.rich-content h3,.rich-content h4{margin:16px 0}.rich-content p+ p{margin-top:15px}.rich-content img{max-width:100%;max-height:600px;object-fit:contain;margin:18px 0}.notice{padding:18px 22px;border:1px solid #8b7150;background:#302c27;color:#efd5b3;font-size:14px;line-height:1.7;margin:20px 0}.search-box{height:52px}.search-box input{font-size:15px}.text-link{font-size:14px;min-height:35px}.discipline-card .text-link{display:flex;margin-top:11px}.discipline-card h3{font-size:19px}.discipline-card p{font-size:12px}.discipline-card .pdf-label{font-size:10px}.calendar-layout{margin-bottom:28px}.jury-section{padding:15px 0 40px}.jury-section h2{margin-bottom:25px}.juries h3{font-size:15px}.juries p{font-size:12px}.juries small{font-size:11px}.content-table{min-width:900px;font-size:13px}.content-table th,.content-table td{min-width:135px;max-width:240px;line-height:1.55}.content-table th{font-size:12px}.ring-section{padding:35px 0}.ring-section .table-note{font-size:12px}.table-toolbar p{font-size:12px}.table-toolbar select{font-size:14px}.table-scroll{max-width:100%;overscroll-behavior-x:contain}.filter-chips{display:flex;flex-wrap:wrap;gap:9px;margin:22px 0}.filter-chips button{padding:11px 17px;border:1px solid var(--line);background:var(--surface);border-radius:3px;font-size:13px;min-height:44px}.filter-chips button[aria-pressed=true]{background:var(--bright);color:#1c222a;border-color:var(--bright);font-weight:700}.results-tools{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:start}.results-tools .search-box{margin:0}.results-tools>label:last-child{display:flex;gap:12px;align-items:center;height:52px;font-size:13px}.results-tools select,.reader-toolbar select{min-height:44px;border:1px solid var(--line);background:var(--surface);color:var(--ink);padding:8px 15px}.results-summary{display:flex;justify-content:space-between;align-items:center;margin:20px 0;font-size:13px;color:var(--muted);gap:20px}.plain-button{background:none;border:0;color:var(--accent);padding:10px 0;min-height:40px;text-decoration:underline;font-size:13px}.result-card{display:grid;grid-template-columns:110px 1fr auto;gap:24px;align-items:center;background:var(--surface);border:1px solid var(--line);margin-bottom:13px;padding:24px}.discipline-badge{color:var(--accent);font-size:13px;font-weight:700;letter-spacing:.04em}.result-info h2{font-size:21px;letter-spacing:-.02em}.result-info p{font-size:13px;color:var(--muted);margin:8px 0}.result-info time{font-size:12px;color:var(--muted)}.result-action{display:flex;flex-direction:column;align-items:flex-end;gap:10px}.format-badge{font-size:10px;font-weight:700;letter-spacing:.08em;color:var(--accent)}.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.resource-card{padding:26px;background:var(--surface);border:1px solid var(--line);height:100%;display:flex;flex-direction:column;align-items:flex-start;min-height:225px}.resource-card>.format-badge{margin-bottom:20px}.resource-card h3{font-size:22px}.resource-card p{font-size:13px;color:var(--muted);margin:13px 0 20px;line-height:1.7}.resource-card>.text-link{margin-top:auto}.count-note{font-size:13px;color:var(--muted);margin-bottom:20px}.download-row{display:grid;grid-template-columns:60px 1fr auto;align-items:center;gap:24px;padding:25px;background:var(--surface);border:1px solid var(--line);margin-bottom:13px}.document-icon{display:flex;flex-direction:column;align-items:center;gap:8px;color:var(--accent)}.document-icon small{font-size:10px;font-weight:700}.download-row h2{font-size:21px;letter-spacing:-.02em;margin:8px 0}.download-row p{color:var(--muted);font-size:13px}.download-row .eyebrow{font-size:9px;color:var(--muted)}.empty-state{padding:30px;border:1px dashed var(--line);background:var(--surface);font-size:14px;grid-column:1/-1}.empty-state h2{font-size:25px;margin-bottom:12px}.empty-state p{color:var(--muted)}.sponsor-slide h3{font-size:15px}.sponsor-slide p{font-size:12px;margin:8px 0;color:var(--muted)}.sponsor-slide>div{padding:17px}.sponsor-slide .text-link{font-size:12px}.annual-ad h3{font-size:21px}.annual-ad .ad-mark{margin:18px 0}.annual-ad img{width:100%;margin:18px 0}.wide-sponsor{max-width:700px;margin:35px auto}.wide-sponsor>.eyebrow{color:var(--muted);margin-bottom:10px}.hero-copy>p{max-width:240px}.custom-hero-logo{font-size:12px}.event-content .eyebrow{font-size:12px}.event-content .event-discipline{font-size:14px}.news-section .event-card [data-live-badge],.result-card [data-live-badge]{color:#ff7777}.event-period,.location{font-size:12px}.event-content>.text-link{font-size:12px}.quick-menu small{font-size:11px}.shortcut small{font-size:11px}.shortcut strong{font-size:13px}.footer-grid>div>a{font-size:13px}.footer-grid>div>p{font-size:12px}.footer-bottom{font-size:11px}.document-original{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:24px}.document-original a{font-size:13px;min-height:44px}.viewer-heading h1{font-size:37px}.viewer-heading{margin-bottom:22px}.reader-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:15px;padding:18px;background:var(--surface);border:1px solid var(--line);margin:16px 0}.reader-toolbar label{display:flex;gap:9px;align-items:center;font-size:13px}.reader-toolbar strong{font-size:15px}.reader-toolbar p{font-size:12px;color:var(--muted);margin-top:5px}.reader-toolbar>div{margin-right:auto}.reader-toolbar input{max-width:230px;background:var(--bg);color:var(--ink);border:1px solid var(--line);min-height:44px;padding:8px}.reader-toolbar input[type=number]{width:70px}.reader-toolbar button{min-height:44px}.reader-toolbar button:disabled{opacity:.45}.reader-help{font-size:13px;line-height:1.75;color:var(--muted);margin:15px 0}.reader-help a{color:var(--accent);text-decoration:underline}.live-scroll{max-width:100%;height:75vh;min-height:400px;overflow:auto;background:white;border:1px solid var(--line);overscroll-behavior:contain;touch-action:pan-x pan-y}.live-scroll iframe{width:1200px;height:2100px;border:0;transform-origin:0 0;display:block;background:white}.live-scroll>div{position:relative}#reader-status{font-size:14px;margin:18px 0;color:var(--muted)}.pdf-scroll{max-width:100%;overflow:auto;background:#12171c;padding:10px;max-height:85vh;overscroll-behavior:contain}.pdf-scroll canvas{display:block;max-width:none;background:white;margin:0 auto}.pdf-text{margin:20px 0;background:var(--surface);padding:18px;border:1px solid var(--line)}.pdf-text summary{cursor:pointer;color:var(--accent);min-height:32px}.pdf-text div{white-space:pre-wrap;font-size:14px;line-height:1.7;margin-top:20px}.reader-fallback{margin-top:25px;border-top:1px solid var(--line);padding:20px 0}.reader-fallback label{font-size:14px;display:block}.reader-fallback input{display:block;margin:15px 0;max-width:100%;font-size:13px}.reader-fallback p{color:var(--muted);font-size:12px}.document-list,.resource-grid,.results-section{margin-bottom:40px}a,button,input,select{scroll-margin-top:30px}
@media(max-width:1100px){.main-nav{gap:18px}.main-nav>a{font-size:12px}.extra-nav{gap:10px}.resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.result-card{grid-template-columns:85px 1fr;gap:18px}.result-action{grid-column:2;align-items:flex-start;flex-direction:row;flex-wrap:wrap;align-items:center;gap:20px}}
@media(max-width:650px){.main-nav>a{font-size:13px}.page-heading{padding:8px 0 27px;margin-bottom:24px}.page-heading h1{font-size:35px}.page-heading>p{font-size:14px}.page-heading>.eyebrow{font-size:10px}.resource-grid{grid-template-columns:1fr;gap:14px}.resource-card{min-height:180px;padding:23px}.resource-card h3{font-size:23px}.resource-card p{font-size:14px}.results-tools{display:block}.results-tools>label:last-child{margin-top:13px}.results-tools select{flex:1}.filter-chips{gap:7px}.filter-chips button{font-size:12px;padding:10px 12px}.results-summary{align-items:flex-start;flex-wrap:wrap;gap:0}.result-card{display:block;padding:21px}.result-info{margin:13px 0}.result-info h2{font-size:22px}.result-info p{font-size:14px}.result-info time{font-size:12px}.result-action{border-top:1px solid var(--line);padding-top:14px;display:flex;flex-direction:column;align-items:flex-start;gap:5px}.result-action .text-link{font-size:14px}.download-row{grid-template-columns:40px minmax(0,1fr);gap:14px;padding:20px}.download-row h2{font-size:20px}.download-row .text-link{grid-column:2}.download-row p{font-size:13px}.document-icon{align-self:start}.calendar-layout .section-title h2{font-size:23px}.discipline-card .text-link{font-size:14px}.discipline-card .pdf-label{font-size:10px}.content-table th,.content-table td{font-size:13px;min-width:125px}.table-scroll{margin-right:0}.table-toolbar label{font-size:13px}.table-toolbar p{font-size:11px}.quick-menu small{font-size:9px}.footer-bottom{font-size:10px;line-height:1.7}.rich-content{padding:20px;font-size:15px}.hero-copy>p{font-size:13px}.reader-toolbar{padding:13px;gap:12px}.reader-toolbar>label{max-width:100%;flex-wrap:wrap}.reader-toolbar select{max-width:100%;font-size:12px}.reader-toolbar .outline-button{padding:9px 12px;font-size:12px}.reader-toolbar input{max-width:100%}.viewer-heading h1{font-size:29px;overflow-wrap:anywhere}.reader-help{font-size:12px}.document-original{gap:10px}.document-original a{font-size:12px}.live-scroll{height:72vh}.sponsor-slide h3{font-size:16px}.sponsor-directory a{font-size:11px;padding:6px 0}.partner-layout{padding-bottom:35px}}
@media print{.reader-toolbar,.reader-fallback,.document-original,.search-box,.filter-chips,.results-tools,.results-summary,.print-page,.table-toolbar,.breadcrumb,.notice{display:none!important}.page-heading{display:block;border:0;padding:0}.page-heading h1{font-size:26px}.page-heading p{font-size:11px}.result-card,.resource-card,.download-row{break-inside:avoid;background:white;color:black;border-color:#aaa}.result-info p,.result-info time,.resource-card p,.download-row p{color:#333}.content-table{min-width:0;table-layout:fixed}.content-table th,.content-table td{font-size:7px;min-width:0;max-width:none;padding:5px 3px}.rich-content{color:#111;background:#fff}.pdf-scroll{max-height:none;overflow:visible}.pdf-scroll canvas{max-width:100%;height:auto!important}.interior-main{padding:0}.ring-section{break-inside:auto}.table-scroll{overflow:visible}.jury-section h2{font-size:18px}}
/* Séparation des mentions du pied de page, y compris sur petit écran. */
.footer-bottom{gap:12px}
@media(max-width:700px){.footer-bottom>span{display:block;margin-top:8px}}

.pdf-html{padding-bottom:3rem;overflow-wrap:anywhere}
.pdf-html .page-heading{padding-bottom:1.25rem}
.pdf-html-pages{margin-bottom:1.25rem}
.pdf-html-pages nav{display:flex;flex-wrap:wrap;gap:.25rem;margin-top:.5rem}
.pdf-html-pages a{padding:.4rem .55rem;text-decoration:underline}
.pdf-html-page{max-width:75ch;margin-bottom:1.5rem;padding:clamp(.75rem,3vw,1.75rem);border:1px solid var(--line);background:var(--surface);scroll-margin-top:1rem}
.pdf-html-page h2{margin:0 0 .75rem;font-size:1.25rem}
.pdf-html-page p{margin:.18rem 0;line-height:1.55}
.pdf-html-gap{margin-inline-end:.65em}
.pdf-html-page img{display:block;width:auto;max-width:100%;height:auto;margin-top:.75rem}

.pdf-calendar .pdf-html-page{max-width:none}
.pdf-calendar-table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;font-variant-numeric:tabular-nums}
.pdf-calendar-table th,.pdf-calendar-table td{padding:.7rem .8rem;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.pdf-calendar-table thead th{background:var(--deep);color:#fff}
.pdf-calendar-table thead th:first-child{width:8rem}
.pdf-calendar-table thead th:last-child{width:35%}
.pdf-calendar-table tbody th{font-weight:400}
.pdf-calendar-table tbody tr:nth-child(even){background:var(--bg)}
.pdf-calendar-table time{white-space:nowrap}
.pdf-calendar-table span{display:block}
.pdf-calendar-table tbody th span{color:var(--muted);font-size:.9em}
.pdf-calendar-table a{text-decoration:underline;text-underline-offset:.15em}
@media(max-width:650px){
  .pdf-calendar .pdf-html-page{padding:.65rem .35rem}
  .pdf-calendar-table{font-size:.84rem;line-height:1.4}
  .pdf-calendar-table th,.pdf-calendar-table td{padding:.55rem .25rem}
  .pdf-calendar-table thead th:first-child{width:5.2rem}
  .pdf-calendar-table thead th:last-child{width:36%}
}

.home-sponsors{display:grid;grid-template-columns:1fr auto;align-items:center;gap:.45rem;max-width:587px;margin:1rem auto 0}
.home-sponsors h2{font-size:1rem;margin:0}
.home-sponsors .sponsor-carousel{grid-column:1/-1;grid-row:2;grid-template-columns:minmax(0,1fr)}
.sponsor-banner-link{display:grid;place-items:center;aspect-ratio:587/250;background:#fff;color:#25282b;text-align:center;font-size:.85rem}
.sponsor-banner-link img{display:block;width:100%;height:100%;object-fit:contain}
.home-sponsors .carousel-controls{grid-column:2;grid-row:1;gap:.35rem}
.home-sponsors .carousel-controls button{min-width:32px;min-height:32px}
.home-sponsors #sponsor-toggle{width:auto;padding:0 .5rem}

.season-card.season-card--sponsors{display:none}
.hero-partner{min-width:0}
body[data-direction=heritage][data-page=accueil] .season-card{background:var(--season-bg,#d9b989);color:var(--season-text,#20252b)}
body[data-direction=heritage][data-page=accueil] .season-card .big-year{color:var(--season-text,#675034)}
body[data-direction=heritage][data-page=accueil] .season-card :is(.eyebrow,p){color:var(--season-text,#4c402e)}
body[data-page=accueil] .hero-partner>.annual-ad{background:var(--hero-partner-bg,#222a31);color:var(--hero-partner-text,#fff)}
.hero-partner .annual-ad .eyebrow{color:var(--hero-partner-text,#c5bbab)}
.hero-partner .annual-ad .ad-mark{color:var(--hero-partner-text,#e9b678)}
.hero-partner .annual-ad p{color:var(--hero-partner-text,#d1d0cf)}
.hero-partner .annual-ad>small{color:var(--hero-partner-text,#c5c5c4)}
@media(min-width:951px){
  .home-with-sponsors{display:grid;grid-template-columns:minmax(190px,1fr) minmax(0,2fr) minmax(220px,1fr);gap:1rem;margin-top:1rem}
  body[data-direction=heritage] .home-with-sponsors>.hero-layout{display:contents}
  .home-with-sponsors>.home-sponsors{grid-column:2;grid-row:1;width:100%;margin:0;align-self:center;justify-self:center}
  .home-with-sponsors .quick-menu{grid-column:1;grid-row:1}
  .home-with-sponsors .quick-menu>a{min-height:60px;padding-block:10px}
  .home-with-sponsors .hero{grid-column:1/-1;grid-row:2}
  .home-with-sponsors.home-with-featured-partner .hero{grid-column:1/3}
  .home-with-sponsors>.hero-partner{grid-column:3;grid-row:2}
  .home-with-featured-partner:not(.home-with-sponsors){display:grid;grid-template-columns:minmax(0,3fr) minmax(220px,1fr);gap:1rem}
  .hero-partner>.annual-ad{height:100%;justify-content:center}
  .home-with-sponsors>.season-card--sponsors{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;grid-column:3;grid-row:1;padding:1rem}
  .season-card--sponsors .big-year{font-size:clamp(2.25rem,4.5vw,3.5rem);margin-top:.45rem}
  .season-card--sponsors h2{font-size:clamp(1.15rem,2vw,1.55rem);line-height:1.1;margin-top:.4rem}
  .season-card--sponsors p{margin:.5rem 0 .75rem}
  .home-with-sponsors~.news-section .news-layout{grid-template-columns:minmax(0,1fr)}
  .home-with-sponsors~.news-section .season-card--news{display:none}
}

.sheet-html .pdf-html-page{max-width:none}
.sheet-html .content-table{min-width:100%;width:max-content}
.sheet-html .content-table th,.sheet-html .content-table td{min-width:0;max-width:18rem;overflow-wrap:anywhere}
.sheet-index{display:flex;flex-wrap:wrap;gap:.5rem 1rem;margin-bottom:1rem}
.sheet-index a{text-decoration:underline}

.masthead.home-identity{--identity-height:clamp(104px,11.5vw,132px);--founder-caption-height:1.25rem;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.75rem clamp(1.25rem,3vw,2.5rem);min-height:170px;padding-top:1rem;padding-bottom:1rem}
.home-logo{display:block;width:var(--identity-height);height:var(--identity-height);object-fit:contain}
.home-identity-copy{min-width:0}
.home-identity-copy h1,.home-identity-copy .site-masthead-title,.home-identity-copy .sports-masthead-title{margin:0 0 1rem;font-size:clamp(1.75rem,4vw,2.65rem);line-height:1.12;letter-spacing:-.035em}
.home-identity-copy .site-masthead-title,.home-identity-copy .sports-masthead-title{font-weight:700}
.home-identity-copy .edition-date{display:block;margin:0;color:#b6c3d3;font-size:.875rem}
.home-founder{height:var(--identity-height);margin:0;text-align:center}
.home-founder img{display:block;width:auto;height:calc(var(--identity-height) - var(--founder-caption-height) - .3rem);margin:auto;border-radius:.6rem}
.home-founder figcaption{color:#b6c3d3;margin-top:.3rem;line-height:var(--founder-caption-height);white-space:nowrap}
@media(max-width:650px){
  .masthead.home-identity{--identity-height:80px;--founder-caption-height:1rem;grid-template-columns:auto minmax(0,1fr) auto;gap:.75rem .5rem}
  .home-founder{grid-column:3;grid-row:1}
  .home-founder figcaption{font-size:.75rem}
  .home-identity .menu-button{grid-column:2;grid-row:1;justify-self:center}
  .home-identity-copy{grid-column:1/-1;grid-row:2}
  .home-identity-copy h1,.home-identity-copy .site-masthead-title,.home-identity-copy .sports-masthead-title{font-size:clamp(1.4rem,5.7vw,2rem);margin-bottom:.4rem}
}

.calendar-filters{margin:0 0 1.25rem;padding:1rem;border:1px solid var(--line);background:var(--surface)}
.calendar-filters h2{font-size:1.2rem;margin:0 0 .65rem}
.calendar-filter-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) minmax(0,2fr) auto;align-items:end;gap:.75rem}
.calendar-filter-fields label{display:grid;gap:.3rem;min-width:0;font-size:.875rem;font-weight:600}
.calendar-filter-fields input,.calendar-filter-fields select{width:100%;min-width:0;padding:.45rem .55rem;border:1px solid var(--line);background:var(--bg);color:var(--ink);font:inherit}
.calendar-filters #contest-count{margin:.75rem 0 0;font-size:.875rem}
@media(max-width:650px){
  .calendar-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
  .calendar-filter-fields label[for="contest-club"]{grid-column:1/-1}
  .calendar-filter-fields button{grid-column:1/-1;justify-self:start}
}
@media print{
  .calendar-filters{display:none}
}

.calendar-search-status{margin:.75rem 0 0;font-size:.875rem}
.calendar-search-status:empty{display:none}
.calendar-matches{list-style:none;padding:0;margin:.65rem 0}
.calendar-matches li{display:grid;grid-template-columns:7rem minmax(0,1fr) minmax(7rem,12rem);gap:.35rem 1rem;padding:.65rem 0;border-top:1px solid var(--line);overflow-wrap:anywhere}
.calendar-matches time{font-variant-numeric:tabular-nums}
.calendar-matches a{text-decoration:underline;text-underline-offset:.15em}
@media(max-width:650px){
  .calendar-matches li{grid-template-columns:auto minmax(0,1fr);font-size:.875rem}
  .calendar-matches a{grid-column:2}
}

.calendar-disciplines{margin-top:.8rem;border-top:1px solid var(--line);padding-top:.65rem;font-size:.875rem}
.calendar-disciplines summary{cursor:pointer;font-weight:600}
.calendar-disciplines summary span{font-weight:400;color:var(--muted);margin-inline-start:.35rem}
.calendar-discipline-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr));gap:.2rem .75rem;margin:.5rem 0}
.calendar-discipline-options label{display:flex;align-items:center;gap:.4rem;min-height:2rem;cursor:pointer}
.calendar-discipline-options input{accent-color:var(--accent)}

.results-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) minmax(9rem,auto) minmax(10rem,auto);gap:.75rem;align-items:end}
.results-tools>label,.results-tools>label:last-child{display:grid;gap:.25rem;height:auto;margin:0;font-size:.875rem;font-weight:600;min-width:0}
.results-tools input,.results-tools select{min-width:0;width:100%;min-height:44px;padding:.5rem;border:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit}
.result-consult{display:inline-flex;align-items:center;gap:.4rem}
.result-sports-logo{display:block;width:104px;height:auto}
#results-more{margin-top:1rem}
.sports-result-discipline{display:inline-block;margin:0 0 .85rem}
.sports-result-page{overflow-wrap:anywhere;padding-bottom:2rem}
.sports-result-page h2{margin:1.5rem 0 .65rem}
.sports-result-page p{margin:.55rem 0}
.sports-result-table{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;margin:.75rem 0 1.25rem}
.sports-result-table table{width:100%;border-collapse:collapse;background:#fff url('assets/resultats-filigrane.gif') repeat-y center;color:#171514}
.sports-result-table th,.sports-result-table td{border:1px solid #1f1712;padding:.35rem;text-align:center;min-width:3.25rem;overflow-wrap:normal}
.sports-result-table th{background:#ccc}
.sports-result-table th,.sports-result-table th *{color:#000}
.sports-result-table .bleu{background:blue;color:white}
.sports-result-table .blanc{background:white;color:#171514}
.sports-result-table .rouge{background:red;color:#171514}
.sports-result-table .petit{font-size:.75rem}
.sports-result-table .petit2{font-size:.8rem}
.ring-pdf-result .page-heading{padding-bottom:1rem}
.ring-pdf-sheet{border-top:1px solid var(--line);padding-bottom:1rem}
.ring-pdf-sheet .ring-pdf-line{display:flex;flex-wrap:wrap;gap:.15rem .7rem;margin:.2rem 0}
.ring-pdf-sheet .sports-result-table table{background:#fff}
.sports-result-table .pdf-standings-table{table-layout:fixed;min-width:24rem}
.pdf-standings-table :is(th,td){text-align:left;overflow-wrap:anywhere}
.pdf-standings-values{display:flex;flex-wrap:wrap;gap:.2rem .65rem}
.pdf-standings-table td:nth-child(2){font-variant-numeric:tabular-nums}
.result-table-layout{table-layout:fixed;min-width:var(--result-table-width)}
:is(.sports-result-table,.legacy-table) .result-table-layout :is(th,td){white-space:normal;overflow-wrap:anywhere}
:is(.sports-result-table,.legacy-table) .result-table-layout :is(.result-table-name,.result-table-text){text-align:left}
:is(.sports-result-table,.legacy-table) .result-table-layout td.result-table-number{font-variant-numeric:tabular-nums;white-space:nowrap;overflow-wrap:normal}
.mobile-result-colgroup{display:none}
@media screen and (max-width:650px){
  :is(.archive-main,.sports-result-page) .breadcrumb{flex-wrap:wrap}
  .archive-main .legacy-content blockquote{margin-inline:1rem 0}
  .archive-main .legacy-content blockquote blockquote{margin-inline:0}
  :is(.sports-result-table,.legacy-table){min-width:0;max-width:100%;overflow-x:auto}
  :is(.sports-result-table,.legacy-table) .result-table-layout{
    min-width:calc(var(--result-table-width) * .85);
  }
  :is(.sports-result-table,.legacy-table) .result-table-mobile{
    table-layout:fixed;
    min-width:var(--mobile-result-width);
  }
  .result-table-mobile-historical > colgroup{display:none}
  .result-table-mobile-historical > .mobile-result-colgroup{display:table-column-group}
  .result-table-mobile > colgroup > col{
    width:var(--mobile-result-column) !important;
  }
  .result-table-mobile-team > colgroup > col:nth-child(2){
    width:auto !important;
  }
  :is(.sports-result-table,.legacy-table) table :is(th,td){
    min-width:0;
    padding-inline:.25rem;
    overflow-wrap:anywhere;
  }
  :is(.sports-result-table,.legacy-table) :is(.result-table-layout td.result-table-number,.legacy-ring-results td:nth-child(n+4)){
    white-space:normal;
    overflow-wrap:anywhere;
  }
  .pdf-standings-values > *{min-width:0;max-width:100%;overflow-wrap:anywhere}
}
.ring-pdf-facsimile{margin:1rem 0}
.ring-pdf-facsimile summary{cursor:pointer}
.ring-pdf-sheet img{display:block;max-width:100%;height:auto;margin:.65rem auto}
.historical-result .sports-result-table{position:relative}
.historical-result .sports-result-table table{background:#fff}
.historical-result .sports-result-table :is(th,td){min-width:0}
.historical-result .sports-result-table .historical-result-icon{height:1em;width:auto;vertical-align:middle}
.historical-result-hint{color:var(--muted);font-size:.875rem}
@media(max-width:850px){.results-tools{grid-template-columns:repeat(2,minmax(0,1fr))}}
.sports-result-illustration{display:block;max-width:100%;height:auto;margin:.75rem auto}

@media(max-width:650px){
  .sports-result-header:not([data-menu-ready]) .menu-button{display:none}
  .sports-result-header:not([data-menu-ready]) .main-nav{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
}

.site-footer.counter-footer{padding:0}
.site-counter{padding-block:1rem;color:#e9e6e1}
.site-counter dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem 1rem;margin:0;padding:.8rem 0;border-top:1px solid var(--line)}
.site-counter dl>div{min-width:0;padding-inline-start:.85rem;border-inline-start:2px solid var(--bright)}
.site-counter dt{font-size:.8rem}
.site-counter dd{margin:0;font-size:1.2rem;font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
@media(max-width:650px){.site-counter dl{grid-template-columns:repeat(2,minmax(0,1fr))}}

.featured-articles{margin:2.5rem 0}
.featured-articles .resource-card{min-height:0}
.featured-articles .resource-card h3 a:hover{text-decoration:underline}
.featured-article{max-width:58rem;margin-inline:auto}
.featured-article .table-scroll{margin:1.5rem 0}

.featured-article-photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,22rem),1fr));gap:1.25rem;margin-top:1.25rem}
.featured-article .featured-photo{min-width:0;margin:0}
.featured-article .featured-photo a{display:block}
.featured-article .featured-photo img{display:block;width:100%;height:auto;aspect-ratio:4/3;max-height:28rem;margin:0;background:var(--bg);object-fit:contain}
.featured-photo-caption{text-align:center;margin-top:.35rem;color:var(--muted);font-size:.875rem;line-height:1.45;overflow-wrap:anywhere}

.album-tools{display:flex;flex-wrap:wrap;align-items:center;gap:1rem}
.album-tools .search-box{flex:1 1 16rem}
.album-year-filter{display:flex;gap:.6rem;align-items:center}
.album-tools select{min-height:44px;padding:.5rem .65rem;color:var(--ink);background:var(--surface);border:1px solid var(--line)}
.album-group{margin:2rem 0}
.album-group h2{margin-bottom:1rem}
.album-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:.8rem;margin:0;padding:0;list-style:none}
.album-grid:has(li:not([hidden]) .album-thumbnail-link){grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr))}
.album-grid li{display:flex;flex-direction:column;align-items:flex-start;gap:.35rem;min-width:0;padding:1rem;background:var(--surface);border:1px solid var(--line);overflow-wrap:anywhere}
.album-grid h3{font-size:1.05rem;margin:0 0 .25rem}
.album-year{color:var(--muted);font-size:.875rem}
.album-grid a{margin-top:auto}
.album-thumbnail-link{display:flex;flex-direction:column;align-items:flex-start;gap:.4rem;width:100%}
.album-thumbnail-link img{display:block;width:min(100%,250px);height:auto;aspect-ratio:5/2;object-fit:contain;align-self:center}
.album-description{color:var(--muted);font-size:1rem;font-weight:700;line-height:1.5}
.album-thumbnail-link .album-description{align-self:center;text-align:center}
.album-thumbnail-link:focus-visible{outline-offset:4px}
@media(max-width:560px){.album-grid,.album-grid:has(li:not([hidden]) .album-thumbnail-link){grid-template-columns:1fr}}

.ring-regulation .pdf-html-page{max-width:60rem;overflow-wrap:anywhere}
.ring-regulation nav li{overflow-wrap:anywhere}
.ring-regulation .pdf-html-page p,.ring-regulation .pdf-html-page ul{margin:.65rem 0;line-height:1.65}
.ring-regulation .pdf-html-page h3{margin:1.2rem 0 .55rem}
.ring-regulation nav summary{cursor:pointer}
.ring-regulation nav li a{text-decoration:underline}
.ring-regulation figure{margin:1rem 0}
.ring-regulation figcaption{margin-top:.4rem;color:var(--muted)}
.ring-regulation .table-scroll{margin:1rem 0}
.ring-regulation .content-table{min-width:100%;width:auto}
.ring-regulation .content-table th,.ring-regulation .content-table td{min-width:4.5rem;max-width:none}
.ring-regulation caption{padding:.6rem;text-align:left;font-weight:700}

@media screen {
  :is(.content-table, .pdf-calendar-table, .sports-result-table table, .legacy-table table) {
    --line: #c4cbd0;
    --muted: #4d5b67;
    color: #243039;
    background: var(--table-bg,#fffaf1);
  }
  :is(.content-table, .pdf-calendar-table, .sports-result-table table, .legacy-table table) tr > :is(th, td):not(.bleu, .blanc, .rouge) {
    color: #243039;
    border-color: var(--line);
    background: var(--table-bg,#fffaf1);
  }
  :is(.content-table, .pdf-calendar-table, .sports-result-table table, .legacy-table table) tr:nth-child(even) > :is(th, td):not(.bleu, .blanc, .rouge) {
    background: var(--table-stripe,#dbe5ee);
  }
  :is(.content-table, .pdf-calendar-table, .sports-result-table table, .legacy-table table) thead tr > :is(th, td):not(.bleu, .blanc, .rouge),
  .sports-result-table tr > th:not(.bleu, .blanc, .rouge) {
    background: var(--table-head,#efdbbc);
  }
  :is(.content-table, .pdf-calendar-table, .sports-result-table table, .legacy-table table) :is(th, td) a {
    color: #214e70;
    text-decoration: underline;
  }
  :is(.ring-regulation, body[data-page="reglements"]) .content-table :is(th, td) {
    font-size: 14px;
  }
}

@media screen and (max-width: 650px) {
  .ring-regulation .pdf-html-page {
    overflow: clip;
  }
  :is(.ring-regulation, body[data-page="reglements"]) .content-table :is(th, td) {
    font-size: 16px;
  }
}

@media screen {
  body[data-page="calendriers"] :is(.discipline-card, .calendar-matches li) {
    --muted: #4d5b67;
    color: #243039;
    background: var(--table-bg,#fffaf1);
    border-color: #c4cbd0;
  }
  body[data-page="calendriers"] .calendar-matches li {
    padding-inline: .75rem;
  }
  body[data-page="calendriers"] .calendar-matches li:nth-child(even) {
    background: var(--table-stripe,#dbe5ee);
  }
  body[data-page="calendriers"] :is(.discipline-card .text-link, .calendar-matches a) {
    color: #214e70;
  }
  body[data-page="calendriers"] .discipline-num {
    color: #80541c;
  }
}

/* Largeurs personnalisées des tableaux dans les documents HTML. */
.content-table.document-table-layout,
.ring-regulation .content-table.document-table-layout,
.sheet-html .content-table.document-table-layout {
  width: 100%;
  min-width: max(100%, var(--document-table-min-width));
  table-layout: fixed;
}
table.document-table-layout:is(.content-table, .pdf-calendar-table) tr > :is(th, td) {
  min-width: 0;
  max-width: none;
  overflow-wrap: anywhere;
}
.pdf-calendar-table.document-table-layout thead th:first-child,
.pdf-calendar-table.document-table-layout thead th:last-child { width: auto; }
.pdf-calendar-table.document-table-layout time { white-space: normal; }
@media print {
  .content-table.document-table-layout { min-width: 0 !important; }
}

.download-actions { display: grid; gap: .25rem; }
@media (max-width: 650px) { .download-actions { grid-column: 2; } }

.site-footer .footer-image{max-width:min(100%,12rem);max-height:6rem;object-fit:contain}
.site-footer .footer-bottom{flex-wrap:wrap;gap:.5rem 1rem}
.site-footer .footer-bottom a{text-decoration:underline;text-underline-offset:.15em}

#audience-choice{position:fixed;z-index:1000;inset:auto 1rem 1rem;margin-inline:auto;max-width:36rem;padding:1rem;background:var(--surface);color:var(--ink);border:1px solid var(--accent);border-radius:.4rem;box-shadow:0 .3rem 1.5rem #0008}
#audience-choice h2{font-size:1.1rem}
#audience-choice p{margin:.5rem 0}
#audience-choice a,.audience-settings{text-decoration:underline;text-underline-offset:.15em}
#audience-choice div{display:flex;flex-wrap:wrap;gap:.5rem}
#audience-choice button{min-height:44px;padding:.4rem 1rem;color:var(--ink);background:var(--bg);border:1px solid var(--accent);border-radius:.25rem}
.audience-settings{padding:.2rem 0;background:none;border:0;color:inherit}

.table-cell-link{text-decoration:underline;text-underline-offset:.15em}

.results-tools>label[hidden]{display:none}

.news-section [data-live-badge]::before,
.result-card [data-live-badge]::before,
.sports-result-page [data-live-badge]::before {
  content: "";
  display: inline-block;
  width: 0.48em;
  height: 0.48em;
  margin-inline-end: 0.42em;
  vertical-align: 0.12em;
  border-radius: 50%;
  background: #ff7777;
}
@media (prefers-reduced-motion: no-preference) {
  .news-section [data-live-badge]::before,
  .result-card [data-live-badge]::before,
  .sports-result-page [data-live-badge]::before {
    animation: live-dot-pulse 1.6s ease-in-out infinite;
  }
}
@keyframes live-dot-pulse {
  50% { opacity: 0.3; }
}
.home-music{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.5rem 1rem;margin:1rem 0;font-size:.875rem}
.home-music audio{width:280px;max-width:100%;height:36px}
@media print{.home-music{display:none}}

.sports-result-frame {
  display: block;
  width: 100%;
  height: max(30rem, 75vh);
  border: 1px solid var(--line);
  background: #fff;
}
