/*
Theme Name: Fondation Seligmann
Author: ID Meneo
Author URI: https://www.id-meneo.com/
Description:  Thème Fondation Seligmann par ID Meneo
Version: 1.0.0
Text Domain: fondation-seligmann
Requires at least: 4.7
Requires PHP: 5.2.4
Tested up to: 5.4
Tags: blog, custom-menu, featured-images, threaded-comments, translation-ready, right-sidebar, custom-background, e-commerce, theme-options, sticky-post, full-width-template
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
# Woocommerce
# Footer
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
body {
  margin: 0;
  -webkit-font-smoothing: auto;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

dfn {
  font-style: italic;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 2.5rem;
}

hr {
  box-sizing: content-box;
  height: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  clear: both;
  color: #24292e;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 15px;
}
h1 {
  font-size: 32px;
  padding-bottom: 10px;
}
h2 {
  font-size: 24px;
  padding-bottom: 0.3em;
  line-height: 1.25;
}
h3 {
  font-size: 18px;
  line-height: 25px;
}
h4 {
  font-size: 16px;
  line-height: 20px;
}
h5 {
  font-size: 14px;
  line-height: 17.5px;
}

p {
  margin-bottom: 1.5em;
}
h1.entry-title {
  padding-top: 10px;
  text-align: center;
}
h2.entry-title {
  border-bottom: 1px solid #eaecef;
}
h3.widget-title {
  font-size: 1.2rem;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
body {
  background: #fff;
  /* Fallback for when there is no custom background color defined. */
}

img {
  height: auto;
  /* Make sure images are scaled correctly. */
  max-width: 100%;
  /* Adhere to container width. */
}

figure {
  margin: 1em 0;
  /* Extra wide images within figure tags don't overflow the content area. */
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
header#masthead {
  margin-bottom: 0;
  background-color: #563d7c ;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,.05), inset 0 -1px 0 rgba(0,0,0,.1);
  padding: .74rem 1rem;
}

.navbar-brand > a {
  color: rgba(0, 0, 0, 0.9);
  font-size: 1.1rem;
  outline: medium none;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
}

.navbar-brand > a:visited, .navbar-brand > a:hover {
  text-decoration: none;
}

#page-sub-header {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 0;
  text-align: center;
  font-size: 1.25rem;
  background-size: cover !important;
}

body:not(.theme-preset-active) #page-sub-header h1 {
  line-height: 1.6;
  font-size: 4rem;
  color: #563e7c;
  margin: 0 0 1rem;
  border: 0;
  padding: 0;
}

#page-sub-header p {
  margin-bottom: 0;
  line-height: 1.4;
  font-size: 1.25rem;
  font-weight: 300;
}
body:not(.theme-preset-active) #page-sub-header p {
color: #212529;
}
a.page-scroller {
  color: #333;
  font-size: 2.6rem;
  display: inline-block;
  margin-top: 2rem;
}

@media screen and (min-width: 768px) {
  body:not(.theme-preset-active) #page-sub-header h1 {
    font-size: 3.750rem;
  }
  body:not(.theme-preset-active) #page-sub-header {
    font-size: 1.25rem;
  }
}
@media screen and (min-width: 992px) {
  #page-sub-header p {
    max-width: 43rem;
    margin: 0 auto;
  }
}
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
#masthead nav {
  padding-left: 0;
  padding-right: 0;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
  color: #cdbfe3;
  padding: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover,
body:not(.theme-preset-active) #masthead .navbar-nav > li.current_page_item > a {
  color: #fff;
  font-weight: 600;
  /*background: #f9f9f9;*/
}

.navbar-brand {
  height: auto;
}

.navbar-toggle .icon-bar {
  background: #000 none repeat scroll 0 0;
}

.dropdown-menu .dropdown-toggle::after {
  border-bottom: 0.3em solid transparent;
  border-left: 0.3em solid;
  border-top: 0.3em solid transparent;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children {
    position: relative;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}
.dropdown.menu-item-has-children .dropdown.menu-item-has-children:hover>.dropdown-menu {
    display: block;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children:hover>a:after {
    border-left-color: #fff;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children.pull-left {
    float: none;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

.dropdown-item {
  line-height: 1.2;
  padding-bottom: 0.313rem;
  padding-top: 0.313rem;
}

.dropdown-menu {
  min-width: 12.500rem;
}

.dropdown .open .dropdown-menu {
  display: block;
  left: 12.250em;
  top: 0;
}

.dropdown-menu .dropdown-item {
  white-space: normal;
  background: transparent;
  line-height: 1.6;
}
.dropdown-menu .dropdown-item:hover {
  background: transparent;
}

@media screen and (min-width: 37.5em) {
  .menu-toggle {
    display: none;
  }
}
@media screen and (min-width: 769px) {
  .dropdown-menu li > .dropdown-menu {
    right: -9.875rem;
    top: 1.375rem;
  }
}
@media screen and (max-width: 991px) {
  .navbar-nav .dropdown-menu {
    border: medium none;
    margin-left: 1.250rem;
    padding: 0;
  }

  .dropdown-menu li a {
    padding: 0;
  }

  #masthead .navbar-nav > li > a {
    padding-bottom: 0.625rem;
    padding-top: 0.313rem;
  }

  .navbar-light .navbar-toggler {
    border: medium none;
    outline: none;
  }
}
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
  overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  float: left;
  width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  float: right;
  text-align: right;
  width: 50%;
}
.comment-content.card-block {
  padding: 20px;
}

.navigation.post-navigation {
  padding-top: 1.875rem;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
  border: 1px solid #ddd;
  border-radius: 0.938rem;
  display: inline-block;
  padding: 0.313rem 0.875rem;
  text-decoration: none;
}

.post-navigation .nav-next a::after {
  content: " \2192";
}

.post-navigation .nav-previous a::before {
  content: "\2190 ";
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
  background: #eee none repeat scroll 0 0;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
  /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 0.313rem;
  line-height: normal;
  padding: 0.938rem 1.438rem 0.875rem;
  text-decoration: none;
  top: 0.313rem;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
  outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

a img.alignright {
  float: right;
  margin: 0.313rem 0 1.25rem 1.25rem;
}

a img.alignnone {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

a img.alignleft {
  float: left;
  margin: 0.313rem 1.25rem 1.25rem 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption.alignnone {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

.wp-caption.alignleft {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

.wp-caption.alignright {
  margin: 0.313rem 0 1.25rem 1.25rem;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: "";
  display: table;
  table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
  margin: 0 0 1.5em;
  font-size: 0.875rem;
  /* Make sure select elements fit in widgets. */
}
.widget select {
  max-width: 100%;
}

.widget_search .search-form input[type="submit"] {
  display: none;
}

.nav > li > a:focus,
.nav > li > a:hover {
  background-color: #eee;
  text-decoration: none;
}
.half-rule {
  width: 6rem;
  margin: 2.5rem 0;
}
.widget_categories .nav-link {
  display: inline-block;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
#content.site-content {
  padding-bottom: 3.75rem;
  padding-top: 4.125rem;
}

.sticky .entry-title::before {
  content: '\f08d';
  font-family: "Font Awesome\ 5 Free";
  font-size: 1.563rem;
  left: -2.5rem;
  position: absolute;
  top: 0.375rem;
  font-weight: 900;
}

.sticky .entry-title {
  position: relative;
}

.single .byline,
.group-blog .byline {
  display: inline;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

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

.page-template-blank-page .entry-content,
.blank-page-with-container .entry-content {
  margin-top: 0;
}

.post.hentry {
  margin-bottom: 4rem;
}

.posted-on, .byline, .comments-link {
  color: #9a9a9a;
}

.entry-title > a {
  color: inherit;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

.comment-body .pull-left {
  padding-right: 0.625rem;
}

.comment-list .comment {
  display: block;
}

.comment-list {
  padding-left: 0;
}

.comments-title {
  font-size: 1.125rem;
}

.comment-list .pingback {
  border-top: 1px solid rgba(0, 0, 0, 0.125);
  padding: 0.563rem 0;
}

.comment-list .pingback:first-child {
  border: medium none;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  /* Theme Footer (when set to scrolling) */
  display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

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

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
  background: #f1f1f1 none repeat scroll 0 0;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 0.313rem 0.313rem 0;
  text-align: center;
}
.wp-caption img[class*="wp-image-"] {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 100%;
  padding: 0;
  width: auto;
}
.wp-caption .wp-caption-text {
  font-size: 0.688rem;
  line-height: 1.063rem;
  margin: 0;
  padding: 0.625rem;
}

.wp-caption-text {
  text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
  margin-bottom: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
}
.gallery-item .gallery-columns-2 {
  max-width: 50%;
}
.gallery-item .gallery-columns-3 {
  max-width: 33.33333%;
}
.gallery-item .gallery-columns-4 {
  max-width: 25%;
}
.gallery-item .gallery-columns-5 {
  max-width: 20%;
}
.gallery-item .gallery-columns-6 {
  max-width: 16.66667%;
}
.gallery-item .gallery-columns-7 {
  max-width: 14.28571%;
}
.gallery-item .gallery-columns-8 {
  max-width: 12.5%;
}
.gallery-item .gallery-columns-9 {
  max-width: 11.11111%;
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugin Compatibility
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Woocommerce
--------------------------------------------------------------*/
.woocommerce-cart-form .shop_table .coupon .input-text {
  width: 8.313rem !important;
}

.variations_form .variations .value > select {
  margin-bottom: 0.625rem;
}

.woocommerce-MyAccount-content .col-1,
.woocommerce-MyAccount-content .col-2 {
  max-width: 100%;
}

/*--------------------------------------------------------------
## Elementor
--------------------------------------------------------------*/
.elementor-page article .entry-footer {
  display: none;
}

.elementor-page.page-template-fullwidth #content.site-content {
  padding-bottom: 0;
  padding-top: 0;
}

.elementor-page .entry-content {
  margin-top: 0;
}

/*--------------------------------------------------------------
## Visual Composer
--------------------------------------------------------------*/
.vc_desktop article .entry-footer {
  display: none;
}

.vc_desktop #content.site-content {
  padding-bottom: 0;
  padding-top: 0;
}

.vc_desktop .entry-content {
  margin-top: 0;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
body:not(.theme-preset-active) footer#colophon {
  color: #99979c;
  background-color: #f7f7f7;
}
.navbar-dark .site-info {
  color: #fff;
}
.copyright {
  font-size: 0.875rem;
  margin-bottom: 0;
  text-align: center;
}

.copyright a, footer#colophon a {
  color: inherit;
}

@media screen and (max-width: 767px) {
  #masthead .navbar-nav > li > a {
    padding-bottom: 0.938rem;
    padding-top: 0.938rem;
  }
}

.mailpoet_submit {
  background-color: #3940f0;
  color: #ffffff;
}

/*--------------------------------------------------------------
# Media Query
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Notebook
--------------------------------------------------------------*/
@media only screen and (max-width: 1280px) {
  html {
    font-size: 95%;
  }
}

@media screen and (max-width: 1199px) {
  .navbar-dark .dropdown-item {
    color: #fff;
  }
  .navbar-nav .dropdown-menu {
    background: transparent;
    box-shadow: none;
    border: none;
  }
}
/*--------------------------------------------------------------
## Netbook
--------------------------------------------------------------*/
@media only screen and (max-width: 1024px) {
  html {
    font-size: 90%;
  }
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 960px) {
  html {
    font-size: 85%;
  }
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 768px) {
  html {
    font-size: 80%;
  }
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 480px) {
  html {
    font-size: 75%;
  }
}

strong {
    font-weight: 1000!important;
}

body {
  font-size: 1rem!important;
}

/* ===========================
   Carte d'article (Actualités)
   =========================== */

/* Conteneur global de la grille */
.row.g-4 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* Chaque carte (colonne) : espacement vertical */
.row.g-4 > [class*="col-"] {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Carte */
.card {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eee;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0 0 1.5rem; /* marge sous chaque carte */
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* Image d'en-tête */
.post-thumb-wrap {
  position: relative;
  overflow: hidden;
}

.card-img-top {
  width: 100%;
  height: 230px; /* Hauteur fixe pour uniformiser */
  object-fit: cover;
  display: block;
}

/* Badge "ACTUALITÉS" */
.badge-actus {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #000;
  color: #fff;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

/* Corps de la carte */
.card-body {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  flex-grow: 1;
}

/* Titre */
.card-title {
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: #000;
}

.card-title a {
  color: inherit;
  text-decoration: none;
}

.card-title a:hover {
  text-decoration: underline;
}

/* Extrait */
.card-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

/* Bouton "Lire la suite" */
.card .btn {
  font-size: 0.9rem;
  padding: 0.45rem 0.9rem;
  border-radius: 2px;
  border: 1px solid #000;
  background: transparent;        /* Fond transparent par défaut */
  color: #000;                    /* Texte noir */
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.25s ease-in-out;
}

/* Effet hover : fond noir, texte blanc */
.card .btn:hover,
.card .btn:focus {
  background: #000;
  color: #fff;
  border-color: #000;
  text-decoration: none;
}


/* Footer avec la date tout en bas */
.card-footer {
  margin-top: auto;
  padding: 0.9rem 1.5rem;
  border-top: 1px solid #eee;
  background: #fff;
}

.card-footer .text-muted {
  font-size: 0.85rem;
  color: #999 !important;
  margin: 0;
}




/* ===========================
   Pagination des articles
   =========================== */

.navigation.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 3rem 0;
}

.navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.navigation.pagination .page-numbers {
  display: inline-block;
  padding: 0.6rem 1rem;
  border: 1px solid #007bff; /* bleu principal */
  color: #007bff;
  font-weight: 500;
  font-size: 1.1rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

/* Page active */
.navigation.pagination .page-numbers.current {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}

/* Hover effet */
.navigation.pagination .page-numbers:hover {
  background-color: #007bff;
  color: #fff;
}

/* Lien précédent/suivant */
.navigation.pagination .prev,
.navigation.pagination .next {
  font-weight: 600;
}

/* Points de suspension "..." */
.navigation.pagination .dots {
  color: #999;
  border: none;
  pointer-events: none;
  padding: 0.6rem;
}

/* Accessibilité : cacher le titre visuel tout en gardant pour lecteurs d'écran */
.navigation.pagination .screen-reader-text {
  position: absolute;
  left: -9999px;
}


/* galerie */

.gallery-item .image {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-item .image img {
    height: 230px;
    object-fit: cover;
    display: block;
}

/* boutons centre */

.full-width-center-button {
    text-align: center;
    margin: 2rem 0;
}

.full-width-center-button .btn {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.25s ease-in-out;
}

.full-width-center-button .darker:hover {
    background: #000;
    color: #fff;
    border-color: #000;
    text-decoration: none;
}

.full-width-center-button .lighter:hover {
    background: #fff;
    color: #000;
    border-color: #000;
    text-decoration: none;
}

.credits {
  text-align: center;
  color: #999999;
  margin-top: 10px;
}

.two-columns-image-text .image, .two-columns-two-images .image {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.two-columns-image-text .image img, .two-columns-two-images .image img {
  max-width: 300px;
}

/* .full-width-text et .bordered doivent etre dans la meme div */
.full-width-text.bordered {
  border: 1px solid #ddd;
  padding: 1.5rem;
}

/* Section avec les balises qui concerne les shortcodes */

/****************************
 * Boutons CTA génériques
 * (utilisés dans les shortcodes kiosque & actions)
 ****************************/

.cta-container {
    text-align: center;
}

.cta {
    display: inline-block;
    color: white !important;
    background-color: #3940f0 !important;
    padding: 0.4em 1.5em !important;
    border-radius: 5px;
    letter-spacing: 1px;
    border: 1px solid white;
    transition: all 0.3s;
}

.cta:hover {
    background-color: white !important;
    border: 1px solid #3940f0;
    color: #3940f0 !important;
    text-decoration: none !important;
    cursor: pointer;
}

.cta i {
    margin-left: 10px;
}

.fa-cart-plus {
    font-size: 18px;
    vertical-align: middle;
    margin-bottom: 4px;
}

/****************************
 * PAGE KIOSQUE
 * (shortcodes : list_last_category, list_product_categories, archive_list)
 ****************************/

.last-number {
    margin-bottom: 50px;
}

.paginate-container {
    text-align: center;
    margin-top: 20px;
}

.prev-posts-links {
    margin-right: 20px;
}

.next-posts-links {
    margin-left: 20px;
}

.table-products th,
.table-products td {
    font-size: 13px !important;
}

/* Boutons dans les tableaux produits */
.woocommerce .table-products td a {
    transition: all 0.3s;
    border: 1px solid transparent !important;
}

.woocommerce .table-products td button i {
    color: black !important;
}

.woocommerce .table-products td button:hover i {
    color: #3940f0 !important;
}

.woocommerce .table-products td a:hover {
    color: #3940f0;
    border: 1px solid #3940f0 !important;
}

/* Liste des versions papier / numérique */
.older-numbers-list {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: space-around;
    margin-top: 16px;
}

/* Texte d’archives sous les tableaux (si utilisé) */
.archive-text {
    text-align: center;
    margin-top: 30px;
}

.archive-text a {
    font-weight: bold;
    color: #3940f0;
}

/* Titre d’un numéro dans le kiosque */
.product-title {
    text-transform: uppercase;
    color: #3940f0;
}

/* Boutons “Numéros & Articles” (accordéons) */
.cta.show-products {
    font-size: 13px;
    background-color: #6c757d !important;
    transition: all 0.3s;
}

.cta.show-products:hover {
    color: #6c757d !important;
    background-color: white !important;
    border: 1px solid #6c757d;
}

/* Boutons “numéro complet” */
.cta.product-complete {
    font-size: 13px;
}

/* Liste des boutons “dernier numéro : papier / numérique” */
.last-complete-number {
    padding: 0;
    list-style-type: none;
    text-align: center;
    display: flex;
    justify-content: space-around;
}

/* Bouton de téléchargement gratuit SomDN dans les tableaux */
.table-products .somdn-download-wrap .free-download-btn {
    text-align: center;
    padding: 5px 15px;
    line-height: 18px;
}

/* Masquer la boucle WooCommerce par défaut sur les pages
   où tu affiches ton propre tableau.
   ⚠️ attention : ça masque TOUTE la grille produits sur les pages WooCommerce. */
.woocommerce-page .products {
    display: none;
}

/* Règle pratique pour les CTA dans les pages WooCommerce (kiosque) */
.woocommerce-page td .cta {
    font-size: 13px !important;
}

/****************************
 * PAGE ACTIONS
 * (shortcode : actions_table)
 ****************************/

.actions-table {
    margin: 30px 0 50px 0;
}

.actions-table th {
    text-align: center;
}

.actions-table tr {
    position: relative !important;
}

.actions-filters select.form-control {
    height: 38px !important;
}

.actions-table th,
.actions-table td {
    font-size: 13px !important;
    line-height: 1.6em;
}

#msg-box {
    margin-top: 30px;
}

#ajaxcontent {
    margin-bottom: 100px;
}

/** AJAX LOADER **/
#ajaxcontent.loading {
    border: 8px solid #cec8c8f5;
    border-top: 8px solid #3940f0;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 50px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Support Isotope pour IE / Edge / Firefox (hauteur des lignes) */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .actions-table tr {
        height: 100%;
    }
}

@supports (-ms-ime-align: auto) {
    .actions-table tr {
        height: 100%;
    }
}

@-moz-document url-prefix() {
    .actions-table tr {
        top: 0 !important;
    }
}

/* Version mobile : affichage en "liste" avec labels avant les valeurs */
@media screen and (max-width: 1024px) {

    .actions-table th,
    .actions-table td {
        width: 100% !important;
        clear: both;
        float: left;
    }

    .actions-table tbody tr td:first-child:before {
        content: "Année : ";
        font-weight: bold;
    }

    .actions-table tbody tr td:nth-child(2):before {
        content: "Département : ";
        font-weight: bold;
    }

    .actions-table tbody tr td:nth-child(3):before {
        content: "Type : ";
        font-weight: bold;
    }

    .actions-table tbody tr td:nth-child(4):before {
        content: "Nom : ";
        font-weight: bold;
    }

    .actions-table tbody tr td:nth-child(5):before {
        content: "Action : ";
        font-weight: bold;
    }

    .actions-table thead {
        display: none !important;
    }

    .actions-filters select.form-control {
        margin-bottom: 20px;
    }
}

/****************************
 * PAGE ABONNEMENTS
 * (shortcodes : formule_integrale, formule_numerique, formule_papier)
 ****************************/

.subscribe-item {
    margin-bottom: 50px;
}

@media screen and (max-width: 576px) {
    .subscribe-item {
        margin-bottom: 30px;
    }
}

/****************************
 * PAGE ARCHIVES KIOSQUE
 * (shortcode : archive_list)
 ****************************/

#wp_pagination {
    display: flex;
    justify-content: space-evenly;
    margin-top: 30px;
}

#wp_pagination .fa-chevron-left {
    margin-right: 10px;
}

#wp_pagination .fa-chevron-right {
    margin-left: 10px;
}

.btn-articles {
    text-align: right;
}

/****************************************
 * Layout 2 colonnes : checkout
 ****************************************/

.woocommerce-checkout form.checkout {
    max-width: 900px; /* optionnel, pour approcher ton ancien layout */
    margin: 0 auto;
}

/* Conteneur des deux colonnes (facturation + infos complémentaires) */
.checkout-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

/* Colonne gauche = un peu plus large */
.checkout-column-left {
    flex: 1 1 55%;
    min-width: 280px;
}

/* Colonne droite = un peu plus étroite */
.checkout-column-right {
    flex: 1 1 35%;
    min-width: 260px;
}

/****************************************
 * Titres
 ****************************************/

.woocommerce-billing-fields h3,
.woocommerce-additional-fields h3,
.checkout-order-review-wrapper > h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* “Détails de facturation” et “Informations complémentaires” */
.woocommerce-billing-fields h3 {
    margin-top: 0;
}

/****************************************
 * Champs de formulaire
 ****************************************/

/* Wrapper des champs */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper {
    display: block;
}

/* Alignement propre des labels/champs */
.woocommerce-checkout .form-row {
    margin-bottom: 12px;
}

.woocommerce-checkout .form-row label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.woocommerce-checkout .form-row .woocommerce-input-wrapper input,
.woocommerce-checkout .form-row .woocommerce-input-wrapper textarea,
.woocommerce-checkout .form-row .woocommerce-input-wrapper select {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    border: 1px solid #ccc;
    padding: 6px 10px;
    font-size: 14px;
}

/* Texte hint dans les textareas (ex: notes de commande) */
.woocommerce-checkout textarea {
    min-height: 120px;
}

/****************************************
 * Tableau “Votre commande”
 ****************************************/

.checkout-order-review-wrapper {
    margin-top: 20px;
}

.woocommerce-checkout-review-order-table {
    font-size: 14px;
}

/* Tête de tableau */
.woocommerce-checkout-review-order-table thead th {
    font-weight: 600;
}

/* Alignement des montants */
.woocommerce-checkout-review-order-table td,
.woocommerce-checkout-review-order-table th {
    vertical-align: middle;
}

/****************************************
 * Responsif : sur mobile, on passe en 1 colonne
 ****************************************/

@media (max-width: 768px) {
    .checkout-columns {
        flex-direction: column;
    }

    .checkout-column-left,
    .checkout-column-right {
        flex: 1 1 100%;
    }
}

.woocommerce .form-row, .woocommerce-page .form-row {
  display: inherit;
}

.woocommerce .col2-set > div, .woocommerce-page .col2-set > div {
  max-width: none;
}

.woocommerce .woocommerce-MyAccount-navigation {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    overflow: hidden;
}

.woocommerce .woocommerce-MyAccount-navigation ul {
    padding: 0;
    margin: 0;
}

.woocommerce .woocommerce-MyAccount-navigation ul li {
    list-style: none;
    padding: .5rem 1rem;
    border-bottom: 1px solid #dee2e6;
}

#colophon {
  font-size: 1rem;
}

.jet-menu a, .news-post a, .entry-content a:not(.checkout-button), .page-description a, .mobile-link, #main a:not(.checkout-button) {
  color: #3441EE;
}



/* .entry-content .woocommerce .checkout-button, .entry-content .woocommerce-page .checkout-button {
    background-color: #3940f0;
    border-color: #3940f0;
    color: #fff;
} */
