/**
 * Normalize et styles de base
 * Contre la traite - Drupal 11
 */

/* Reset de base */
* {
  box-sizing: border-box;
}

body {
  color: var(--color-text);
  font-size: var(--font-size-base);
  font-family: var(--font-family-primary);
  margin: 0;
  padding: 0;
}

/* Clearfix utility */
.clearfix::after,
main::after {
  content: '';
  display: block;
  clear: both;
  width: 100%;
}

/* Images responsives */
img {
  max-width: 100%;
  height: auto;
}

/* Liens */
a {
  color: inherit;
  text-decoration: underline;
}

a:hover,
a:focus {
  text-decoration: none;
}

/* Conteneur principal */
.layout-container {
  min-width: var(--layout-container-min-width);
  width: 100%;
  padding: 0;
  margin: 0 auto;
}

/* Contenu principal */
.layout-content {
  overflow: hidden;
  padding: var(--content-padding);
  min-height: 100vh;
}

.layout-content::after {
  content: '';
  display: block;
  width: 100%;
  clear: both;
}

/* Régions */
.region-content-bottom {
  margin-top: var(--spacing-lg);
}

/* Images avec styles Drupal */
.image-style-large {
  margin-bottom: var(--spacing-lg);
}

.field-content img {
  width: 100%;
  height: auto;
}

.text-formatted img {
  max-width: 100%;
}