/* 
Theme Name: CGT-centraux-2025
Theme URI: 
Description: Thème crée pour le site du Secteur fédéral des cheminots des services centraux
Version: 1.0
Author: SDC conseil et édition
Author URI: https://sdc-conseil.com/
CGT-centraux-2025 par SDC conseil et édition || https://sdc-conseil.com/
*/
/* =Reset
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
body {
	background: #fff;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
nav,
section {
	display: block;
}
ol, ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
	outline: 0;
}
a img {
	border: 0;
}
html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
*, *:before, *:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	-webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}


/* =Content
----------------------------------------------- */

.sticky {
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}


/* =Media
----------------------------------------------- */

.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
}
.wp-caption-text {

}
.wp-caption .wp-caption-text {

}
.site-content .gallery {
	margin-bottom: 1.5em;
}
.gallery-caption {
}
.site-content .gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.site-content .gallery dd {
	margin: 0;
}
.site-content .gallery-columns-4 .gallery-item {
}
.site-content .gallery-columns-4 .gallery-item img {
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}




/* styles généraux */
:root {
    --rouge: #DA322F;
    --jaune: #F5D825;
    --texte: #070000;
}
body {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: #070000;
    font-weight: 400;
}
a {
    text-decoration: underline;
    color: #333;
}
a:hover {
    
}
em {
    font-style: italic;
}
strong {
    font-weight: 700;
}
small {
    font-size: 75%;
}
figure {
    margin: 0;
    display: table;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.wrapper {
    max-width: 120rem;
    width: 100%;
    margin: 0 auto;
}
.tetiere {
    font-weight: 500;
    font-size: 4rem;
    margin-bottom: 2rem;
    font-family: "Oswald", sans-serif;
}
.clearfix:after {
     visibility: hidden;
     display: block;
     font-size: 0;
     content: " ";
     clear: both;
     height: 0;
     }
.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */
.mobile {
    display: block;
}
.desktop {
    display: none;
}
.bouton {
    border-radius: .6rem;
    background: #FFF;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 1)), to(rgba(246, 242, 242, 1)));
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(246, 242, 242, 1) 100%);
    font-family: "Oswald", sans-serif;
    font-size: 2rem;
    line-height: 1;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--rouge);
    text-decoration: none;
    padding: 1rem 4rem;
    -webkit-box-shadow: 0 .3rem 1rem 0 rgba(0,0,0,.15);
    box-shadow: 0 .3rem 1rem 0 rgba(0,0,0,.15);
    display: table;
    margin: 2rem auto;
}
.bouton:hover {
    color: #fff;
    background: #DA322F;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(218, 50, 47, 1)), to(rgba(172, 26, 23, 1)));
    background: linear-gradient(180deg, rgba(218, 50, 47, 1) 0%, rgba(172, 26, 23, 1) 100%);
}
/* header */
.site-header {
    background-color: #fff;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    border-bottom: solid 1px var(--rouge);
}
.site-surbandeau {
    height: 3rem;
    background: #DA322F;
    background: -webkit-gradient(linear, left top, right top, from(rgba(218, 50, 47, 1)), to(rgba(173, 27, 24, 1)));
    background: linear-gradient(90deg, rgba(218, 50, 47, 1) 0%, rgba(173, 27, 24, 1) 100%);
/*
    -webkit-transition: all 200ms ease-out ;
    transition: all 200ms ease-out ;
*/
}
.reduit .site-surbandeau {
    height: .3rem;
}
.site-logo {
    display: block;
    width: 10rem;
    height: 10rem;
/*
    -webkit-transform: translateY(-3rem);
    transform: translateY(-3rem);
*/
    max-width: 10rem;
    grid-area: 1 / 1 / 2 / 2;
    background-image: url(img/LogoSecteurCentraux.jpg);
    background-repeat: no-repeat;
    background-size: contain;
}
.reduit .site-logo {
    max-width: 6rem;
    height: 6rem;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-image: url(img/la-cgt.png);
    background-repeat: no-repeat;
    background-size: contain;
/*    justify-self: center;*/
}
.site-titre {
    font-family: "Oswald", sans-serif;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
    grid-area: 1 / 2 / 2 / 6;
    
}
.reduit .site-titre {
    font-size: 1.5rem;
    -ms-flex-item-align: center;
    align-self: center;
}
.site-titre a {
    text-decoration: none;
    color: var(--texte);
}

.header-inner {
    padding: 1rem 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: auto;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}
.reduit .header-inner {
    padding: 0 0 1rem 0;
}
/* nav */
.grid-navigation-header {
    grid-area: 2 / 1 / 3 / 6;
}
.navigation-principale {
    padding: 0;
    position: relative;
    
}
.menu-button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-image: url(img/motif.jpg);
}
.menu-button span {
    display: block;
    width: 3.2rem;
    height: .3rem;
    margin: .6rem 0;
    border-radius: .3rem;
    background: var(--texte);
    z-index: 99;
    -webkit-transition: all 300ms ease-out;
    transition: all 300ms ease-out;
}
.reduit .menu-button span {
    width: 2rem;
    margin: .3rem 0;
}
.ouvert span:nth-of-type(1) {
    -webkit-transform: rotate(45deg) translateY(4px) translateX(5px);
    transform: rotate(45deg) translateY(4px) translateX(5px);
}
.ouvert span:nth-of-type(2) {
    display: none;
}
.ouvert span:nth-of-type(3) {
    -webkit-transform: rotate(-45deg) translateX(2px) translateY(-2px);
    transform: rotate(-45deg) translateX(2px) translateY(-2px);
}
.reduit .ouvert span:nth-of-type(1) {
    -webkit-transform: rotate(45deg) translateY(2px) translateX(3px);
    transform: rotate(45deg) translateY(2px) translateX(3px);
}

.menu-button p {
    text-transform: uppercase;
    color: var(--texte);
    font-size: 1.8rem;
    margin-left: 1rem;
    margin-bottom: 0;
    font-weight: 400;
}
.reduit .menu-button p {
    font-size: 1.2rem;
}
.site-navigation {
    display: none;
    padding: 1rem 0;
}
.site-navigation.expand {
    display: block;
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    top: 1rem;
    z-index: 1000000;
    background: #383434;
    background: linear-gradient(136deg, rgba(56, 52, 52, 1) 0%, rgba(7, 0, 0, 1) 100%);
}
.site-navigation.desktop.expand {
    display: none;
}
.site-navigation ul {
    margin: 0;
    list-style: none;
    font-size: 1.4rem;
    padding: 1rem;
    font-weight: 400;
}
.site-navigation ul ul {
    padding-left: 2rem;
}
.site-navigation .sous-menu ul {
    display: none;
}
.site-navigation .sous-menu.ouvert ul {
    display: block;
}
.site-navigation li {
    margin-bottom: 1rem;
    color: #fff;
}
.site-navigation a {
    text-decoration: none;
    color: #fff;
}


.site-recherche:not(.desktop) {
    padding: 1rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.site-recherche svg {
    height: 3rem;
}
.site-recherche input[type=search] {
    border: 0;
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    font-size: 1.6rem;
    font-weight: 400;
}
.site-recherche input[type=submit] {
    border: 0;
    font-size: 1.6rem;
    font-weight: 400;
}
/* main */
main {
    padding: 2rem;
}
.home-focus {
    margin-bottom: 4rem;
}
.home-focus:empty {
    margin: 0;
}
.focus-titre {
    font-family: "Oswald", sans-serif;
    font-weight: 800;
    font-size: 2rem;
    text-transform: uppercase;
}
.focus-description {
    font-size: 1.5rem;
    font-weight: 300;
}
.articles-grille {
    margin-bottom: 4rem;
}
.articles-grille article {
    border-radius: .6rem;
    -webkit-box-shadow: 0 0 1rem 0 rgba(0,0,0,.15);
    box-shadow: 0 0 1rem 0 rgba(0,0,0,.15);
    padding: 2rem;
    margin-bottom: 2rem;
}
.article-tag {
    font-size: 1.3rem;
    background-color: var(--rouge);
    text-decoration: none;
    color: #fff;
    margin-right: .5rem;
    padding: 0 .5rem;
    border-radius: .6rem;
}
.article-metier {
    font-size: 1.3rem;
    background-color: var(--jaune);
    text-decoration: none;
    color: #000;
    margin-right: .5rem;
    padding: 0 .5rem;
    border-radius: .6rem;
}
.article-meta {
    display: block;
    font-size: 1.5rem;
    margin: .8rem 0 1rem;
}
.article-emetteur {
    font-size: 0.75em;
}
.recherche-emetteur {
    margin-bottom: 1rem;
    display: block;
}
.recherche-emetteur span {
    font-weight: 600;
    color: var(--rouge);
    margin-right: 1rem;
    font-size: 1.3rem;
}
.article-titre {
    font-size: 3rem;
    font-family: "Oswald", sans-serif;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 2rem;
}
.articles-grille .article-titre {
    font-size: 3rem !important;
}
.article-titre a {
    text-decoration: none;
}

/* publications */
.grille-publications {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    grid-column-gap: 2rem;
    grid-row-gap: 2rem;
}
.grille-publications figure {
    border-radius: .6rem;
    -webkit-box-shadow: 0 0 1rem 0 rgba(0,0,0,.15);
    box-shadow: 0 0 1rem 0 rgba(0,0,0,.15);
    padding: 1rem;
    margin-bottom: 2rem; 
}
.publication a {
    text-decoration: none;
}
.publication figcaption {
    font-size: 1.4rem;
    text-align: center;
    font-weight: 500;
    margin-top: 1rem;
}
.grille-publications .article-emetteur {
    display: block;
    font-weight: 300;
}
.publication-emetteur {
    display: table;
    margin: 1rem auto .5rem;
    border-radius: .6rem;
    background-color: var(--jaune);
    padding: .5rem 1rem;
} 
/* sidebar */
.site-sidebar {
    margin-top: 4rem;
}
.site-sidebar .widget,
.site-sidebar .tribe-compatibility-container {
    border-radius: .6rem;
    -webkit-box-shadow: 0 0 1rem 0 rgba(0,0,0,.15);
    box-shadow: 0 0 1rem 0 rgba(0,0,0,.15);
    padding: 2rem;
    margin-bottom: 2rem; 
}
.site-sidebar .widget-title,
.site-sidebar .wp-block-heading,
.widget_categories label {
    font-size: 2.4rem;
    font-family: "Oswald", sans-serif;
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1.3;
    display: block;
}
.site-sidebar .rouge {
    background-color: var(--rouge);
    color: #fff;
    padding: 1rem;
}
.widget_block:has(.rouge) {
    padding: 0;
}
.site-sidebar .rouge .wp-block-heading {
    text-transform: uppercase;
}
.site-sidebar h3.wp-block-heading {
    text-transform: uppercase;
    /*background-color: var(--rouge);*/
    color: #fff;
    /*padding: .5rem 1rem;*/
}
.site-sidebar .wp-block-button__link {
    text-transform: none;
}
.site-sidebar .wp-block-buttons {
    width: 100%;
}
.site-sidebar figure {
    margin-bottom: 0;
}
.site-sidebar .widget figcaption {
    font-size: 1.4rem;
    font-style: italic;
    margin-top: 1rem;
    margin-bottom: 0;
    text-align: left;
}
.site-sidebar .wp-block-categories select {
    font-size: 1.6rem;
    width: 100%;
    padding: .5rem;
    border: 0;
    border-radius: .6rem;
    border: solid 1px #aaa;
    margin-bottom: 1rem;
}
.widget_block:has(.wp-block-separator) {
    border-radius: 0;
    -webkit-box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0);
    box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0);
    padding: 0;
}
/* à restyler */
.site-sidebar .widget:has(.gform_wrapper) {
    background-color: var(--rouge);
    color: #fff;
    border-radius: .6rem;
    padding: 2rem;
}
.site-sidebar .widget:has(.gform_wrapper) label {
    color: #fff;
    font-size: 1.8rem;
}
.site-sidebar .widget:has(.gform_wrapper) select,
.site-sidebar .widget:has(.gform_wrapper) option {
    font-size: 1.6rem;
    width: 100% !important;
    padding: .5rem;
    border: 0;
    border-radius: .6rem;
    line-height: 1.8;
}
.site-sidebar .widget:has(.gform_wrapper) p {
    font-size: 1.6rem;
}
.site-sidebar .widget:has(.gform_wrapper) p a {
    color: #fff;
}
.gform_title {
    font-size: 2.4rem;
    font-family: "Oswald", sans-serif;
    font-weight: 500;
    margin-bottom: 2rem;
}
.gform-body {
    font-size: 1.6rem;
}
.site-sidebar .gform_wrapper input[type=submit],
.site-sidebar .gform_wrapper input[type=image] {
    display: none !important;
}
.site-sidebar .gform-footer {
    margin: 0 !important;
}
.site-sidebar .tribe-events-widget .tribe-events-widget-events-list__view-more-link, 
.site-sidebar .tribe-events-widget .tribe-events-widget-events-list__view-more-link:hover, 
.site-sidebar .tribe-events-widget .tribe-events-widget-events-list__view-more-link:visited,
.site-sidebar .tribe-events-widget .tribe-events-widget-events-list__view-more-link:visited:hover {
    color: var(--rouge);
}
.wp-block-search__input {
    font-size: 14px;
}
/* accueil syndicat */
.page-template-syndicat .site-header {
    position: static;
}
.page-template-syndicat .site-titre,
.taxonomy-syndicat .site-titre {
    font-family: "Open Sans", sans-serif;
    text-transform: none;
    font-weight: 400;
    font-size: 1.4rem;
}
.syndicat-header {
    background: #f0f0f0;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 100000
}
.syndicat-header.reduit {
    min-height: 9.5rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.term-secteur .syndicat-header {
/*    display: none;*/
}
.syndicat-header .wrapper {
    padding: 1rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.syndicat-logo {
    max-width: 10rem;
    max-height: 14rem;
    -webkit-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}
.syndicat-nom {
    font-family: "Oswald", sans-serif;
    font-size: 3rem;
    text-transform: uppercase;
    font-weight: 500;
    margin-right: 2rem;
}
.syndicat-nom a {
    text-decoration: none;
}
.syndicat-header.reduit .syndicat-nom {
    font-size: 3rem;
}
.syndicat-header.reduit .syndicat-logo {
    max-height: 8rem;
}
.page-template-syndicat .articles-grille {
    grid-template-columns: repeat(1, 1fr);
}
.page-template-syndicat .articles-grille article {
    margin: 0 !important;
}
.site-sidebar .wp-block-heading,
.site-sidebar .tribe-events-widget-events-list__header-title,
.site-sidebar .wp-block-search__label {
   font-weight: 500 !important;
    font-size: 2.4rem !important;
    margin-bottom: 2rem;
    font-family: "Oswald", sans-serif !important; 
}
.site-sidebar .wp-block-button {
    border-radius: .6rem;
    background: #FFF;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 1)), to(rgba(246, 242, 242, 1)));
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(246, 242, 242, 1) 100%);
    font-family: "Oswald", sans-serif;
    font-size: 2rem;
    line-height: 1;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--rouge);
    text-decoration: none;
    padding: 1rem;
    -webkit-box-shadow: 0 .3rem 1rem 0 rgba(0,0,0,.15);
    box-shadow: 0 .3rem 1rem 0 rgba(0,0,0,.15);
    display: table;
    margin: .5rem 0;
    width: 100%;
    text-align: center;
}
.site-sidebar .wp-block-button .wp-block-button__link {
    text-decoration: none;
    color: var(--texte);
    background-color: rgba(0,0,0,0);
    padding: 0;
}
.site-sidebar .wp-block-button:hover {
    color: #fff;
    background: #DA322F;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(218, 50, 47, 1)), to(rgba(172, 26, 23, 1)));
    background: linear-gradient(180deg, rgba(218, 50, 47, 1) 0%, rgba(172, 26, 23, 1) 100%);
}
.site-sidebar .wp-block-button:hover a {
    color: #fff;
}
.site-sidebar .widget:has(h3) {
    border-radius: 0;
    -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    padding: 0;
    margin-bottom: 2rem;
}
.site-sidebar .widget p {
    font-size: 1.6rem;
}
/* article */
.wp-singular:not(.home) article:not(.tribe_events) {
    margin: 4rem 0;
}
.wp-singular .article-titre {
    font-size: 4rem;
}
.entry p {
    font-size: 1.7rem;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 3rem;
}
.read-more {
    font-size: 1.4rem;
    font-weight: 600;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}
.block-chapo p {
    font-size: 2rem;
    margin-bottom: 3rem;
}

.entry h2 {
    font-size: 3rem;
    font-weight: 600;
    margin: 1rem 0 2rem;
}
.entry h3 {
    font-size: 2.4rem;
    font-weight: 600;
    margin: 1rem 0 2rem;
}
.entry figure {
    margin-bottom: 2rem;
}
.entry figcaption {
    font-size: 1.4rem;
    font-style: italic;
    margin-top: 1rem;
    text-align: center;
    font-weight: 300;
}
.entry ul,
.entry ol {
    font-size: 1.7rem;
    margin-bottom: 2rem;
    font-weight: 300;
}
.entry ul {
    list-style: inside disc;
}
.entry ol {
    list-style: inside decimal;
}
.entry li {
    margin-bottom: 1rem;
}
.entry ul ul,
.entry ol ol,
.entry ul ol,
.entry ol ul {
    margin-left: 3rem;
}
.entry .wp-block-file {
    margin-bottom: 3rem;
}
.entry .wp-block-file a {
    font-size: 1.6rem;
    
}
.entry .wp-block-file__button {
    padding: .5rem 2em;
    border-radius: .6rem;
}
.entry .wp-block-buttons {
    margin-bottom: 3rem;
}
.entry .wp-block-buttons a {
    padding: .5rem 2em;
    border-radius: .6rem;
    font-size: 1.6rem;
}
.has-blanc-color {
    color: #fff;
}
.has-rouge-color {
    color: var(--rouge);
}
.has-grisfonce-color {
    color: var(--texte);
}
.has-jaune-color {
    color: var(--jaune);
}
.has-blanc-background-color {
    background-color: #fff;
}
.has-rouge-background-color {
    background-color: var(--rouge);
}
.has-grisfonce-background-color {
    background-color: var(--texte);
}
.has-jaune-background-color {
    background-color: var(--jaune);
}
.entry .wp-block-details {
    margin-bottom: 3rem;
}
.entry .wp-block-details summary {
    font-size: 1.7rem;
    font-weight: 600;
}
.entry .wp-block-details p {
    font-size: 1.7rem;
}

.yarpp {
    border-top: solid 2px var(--rouge);
    padding: 2rem 0;
    margin: 4rem 0;
}
.entry .yarpp-related h3 {
    font-weight: 500;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
}
.yarpp ol {
    list-style: inside square;
}
.yarpp li {
    font-size: 1.6rem;
    margin-bottom: 1em;
    
}
.yarpp-related a {
   font-weight: 400 !important; 
}
/* archive */
.pagination {
    margin: 4rem 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.pagination a {
    margin: 0 2rem;
    font-size: 1.6rem;
}
/* footer */
.site-footer {
    padding: 2rem;
    color: #fff;
    background: #383434;
    background: linear-gradient(136deg, rgba(56, 52, 52, 1) 0%, rgba(7, 0, 0, 1) 100%); 
}
.footer-widget {
    font-size: 1.4rem;
    margin-bottom: 2rem;
}
.footer-widget a {
    color: #fff;
}
.navigation-secondaire li {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.navigation-secondaire a {
    text-decoration: none;
    color: #fff;
}

@media only screen and (min-width:600px) { 

    
}
@media only screen and (min-width:800px) { 
    /* header */
    .reduit .site-logo {
        max-width: 10rem;
    }
    .reduit .site-titre {
        font-size: 2.5rem;
    }
    /* publications */
    .grille-publications {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto;
        grid-column-gap: 2rem;
        grid-row-gap: 2rem;
    }
}
@media only screen and (min-width:1000px) { 
    .mobile {
        display: none;
    }
    .desktop {
        display: block;
    }
    .site-surbandeau .wrapper {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
    }
    /* header */
    .site-recherche.desktop {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    .site-header {
        z-index: 100000;
    }
    .taxonomy-syndicat .site-header,
    .archive .site-header:has(+ .syndicat-header),
    .page-template-syndicat .site-header {
        position: relative;
    }
    .syndicat-header.reduit {
        min-height: 7.5rem;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    .reduit .header-inner {
        padding: 0;
    }
    .site-logo {
        max-width: 100%;
        grid-area: 1 / 1 / 3 / 2;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    .site-titre {
        font-size: 4rem;
        grid-area: 1 / 2 / 2 / 6;
        -ms-flex-item-align: center;
        align-self: center;
        justify-self: end;
        margin-right: 1rem;
    }
    .site-navigation.desktop {
        display: block;
        grid-area: 2 / 2 / 3 / 6;
        padding: 0;
    }
    .site-navigation.desktop ul {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
        padding: 0;
    }
    .site-navigation.desktop ul ul {
        display: none;
    }
    .site-navigation.desktop > ul > li {
        margin: 0;
    }
    .site-navigation.desktop a {
        padding: 1rem;
        display: block;
    }
    .site-navigation.desktop a:hover {
        color: #fff;
        background-color: var(--rouge);
    }
    .site-navigation.desktop a {
        color: var(--texte);
    }
    .site-navigation.desktop li {
        position: relative;
        z-index: 10000;
        color: var(--texte);
        cursor: pointer;
        margin: 0;
    }
    .site-navigation.desktop li li {
        position: relative;
    }
    .site-navigation.desktop li:hover ul {
        display: block;
        position: absolute;
        background: #fff;
        width: 10rem;
        top: 4rem;
    }
    .site-navigation.desktop li:hover ul li ul {
        display: none;
    }
    .site-navigation.desktop li:hover ul li:hover ul {
        display: block;
        left: 100%;
        top: 0;
    }
    .site-navigation.desktop li li {
        background-color: #f0f0f0;
        border-bottom: solid 1px var(--rouge);
    }
    main {
        padding: 2rem 0;
    }
    .page-main {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 4rem;
        grid-row-gap: 0px;
    }

    .home-focus {
        margin-top: 8rem;
    }
    .home-focus:empty {
        margin: 0;
    }
    .home-centrale,
    .page-centrale {
        grid-area: 1 / 1 / 3 / 3;
    }
    .site-sidebar {
        grid-area: 1 / 3 / 3 / 4;
    }
    .articles-grille {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        grid-column-gap: 4rem;
        grid-row-gap: 4rem;
    }
    .articles-grille article {
        margin-bottom: 0;
    }
    .site-sidebar {
        margin-top: 8rem;
    }
    .wp-singular:not(.home) article:not(.tribe_events) {
        margin: 4rem 8rem 4rem 0;
    }
    /* footer */
    .navigation-secondaire ul {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .navigation-secondaire li {
        margin: 0 1rem;
    }
    /* syndicat */
    .syndicat-header .wrapper {
        padding: 1rem 0;
    }
    .syndicat-logo {
        max-width: 14rem;
        max-height: 16rem;
    }
    .syndicat-nom {
        font-size: 5rem;
    }
}

@media only screen and (min-width:1200px) {

}

@media only screen and (min-width:1400px) { 

}
