html,
body {
  --primary-color: hsl(129, 57%, 15%);
  --secondary-color: hsl(142, 100%, 24%);
  --tertiary-color: hsl(62, 100%, 41%);
  --dark-gray: hsl(0, 0%, 16%);
  --water-green: hsl(136, 29%, 82%);
  --bg-color: hsl(47, 47%, 96%);
  --text-color: hsl(0, 0%, 16%);
  background: var(--bg-color);
  height: 100% !important;
}

/* sr-only by ffoodd : https://gist.github.com/ffoodd/000b59f431e3e64e4ce1a24d5bb36034 */
.visually-hidden,
.visually-hidden-focusable:not(:focus, :focus-within) {
	border: 0 !important;
	clip-path: inset(50%) !important; /* 2 */
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	width: 1px !important;
	white-space: nowrap !important; /* 3 */
}

.visually-hidden:not(caption),
.visually-hidden-focusable:not(caption):not(:focus, :focus-within) {
	position: absolute !important;
}

.visually-hidden *,
.visually-hidden-focusable:not(:focus, :focus-within) * {
	overflow: hidden !important;
}

h2, .h2, h3, .h3, h4, .h4 {
  color: var(--primary-color);
  font-weight: 600;
}

.skip-links {
  margin: 0;
  padding: 0;
}

.skip-links li {
  list-style-type: none;
}

.skip-links li a {
  position: absolute;
  top: 0;
  z-index: 1200;
}

.rando25__header {
  background: white;
  border-bottom: 1px solid var(--dark-gray);
  padding: 0.5rem;
}
.rando25__header > .container {
  align-items: center;
  display: flex;
  justify-content: space-between;
}
@media screen and (max-width: 992px) {
  .rando25__header > .container {
    gap: 0.5rem;
  }
}

.rando25__navWrapper .simple-menu {
  display: flex;
  gap:  1rem;
  margin: 0;
  padding: 0;
}

.rando25__navWrapper .simple-menu a {
  color: var(--primary-color);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0;
  text-decoration: none;
}

.rando25__navWrapper .simple-menu a:hover {
  text-decoration: underline;
}

.rando25__navWrapper .simple-menu .active a {
  color: var(--primary-color);
  text-decoration: underline;
}

@media screen and (max-width: 993px) {
  .rando25__navWrapper .simple-menu {
    background: var(--bg-color);
    display: none;
    flex-direction: column;
    gap: 0;
    height: 100vh;
    inset: 71px 0 0 0;
    position: absolute;
  }

   .rando25__navWrapper .rando25__nav--active {
    display:block;
  }
  
  .rando25__navWrapper .simple-menu li {
    border-bottom: 1px solid var(--primary-color);
  }
  
  .rando25__navWrapper .simple-menu a {
    display: block;
    padding: 1rem;
  }
  
  .rando25__navWrapper .simple-menu .active a {
    background: var(--tertiary-color);
    text-decoration: none;
  }
  
  .rando25__navWrapper .simple-menu a:hover {
    background: var(--tertiary-color);
    text-decoration: none;
  }
}
.rando25__toggleMenu {
  display: none;
}
@media screen and (max-width: 992px) {
  .rando25__toggleMenu {
    display: block;
  }
}
.rando25__logo {
  margin: 0;
}
@media screen and (max-width: 992px) {
  .rando25__logo {
    flex-grow: 1;
  }
}
@media screen and (max-width: 992px) {
  .rando25__nav {
    order: 1;
  }
}
.rando25__return {
  margin: 0;
}
@media screen and (max-width: 576px) {
  .rando25__return span {
    display: none;
  }
}
.rando25__main {
  margin-top: 71px;
}
.rando25__banner {
  background: var(--primary-color);
  color: white;
  padding: 3rem 0;
}
@media screen and (max-width: 576px) {
  .rando25__banner {
    padding: 1rem 0;
  }
}
.rando25__banner--bgImg {
  background: var(--primary-color) url('../../../public/banniere/banniere.jpg') center center no-repeat;
  background-size: cover;
  position: relative;
}
.rando25__banner--bgImg:after {
  background: linear-gradient(to left, rgba(255,0,0,0) 30%, var(--primary-color) 50%);
  content: '';
  display: block;
  inset: 0;
  position: absolute;
}
.rando25__banner--bgImg > * {
  position: relative;
  z-index: 2;
}
.rando25__title--white {
  color: white;
}
.rando25__listPicto {
  align-items: center;
  background: var(--tertiary-color);
  border-radius: 50%;
  color: var(--primary-color);
  display: inline-flex;
  flex-shrink: 0;
  height: 32px;
  justify-content: center;
  width: 32px;
}
.rando25__trombi {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  gap: 1rem;
}
@media screen and (max-width: 1199px) {
  .rando25__trombi {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 991px) {
  .rando25__trombi {
    grid-template-columns: 1fr;
  }
}
.rando25__trombiPerson {
  background: white;
  border: 1px solid var(--primary-color);
  display: flex;
  gap: 0.5rem;
}
.rando25__trombiPerson--honor {
  background: var(--water-green);
}
.rando25__trombiPicture {
  flex-shrink: 0;
}
.rando25__trombiPicture img {
  height: 100%;
  max-width: 120px;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
}
@media screen and (max-width: 991px) {
  .rando25__trombiPicture img {
    max-width: 80px;
  }
}
.rando25__trombiInfos {
  padding: 0.5rem;
}
.rando25__trombiInfos *:last-child {
  margin-bottom: 0;
}
.rando25__trombiInfosName {
  font-size: 1.2rem;
  font-weight: 600;
}
.rando25__trombiInfosDetails {
  margin: 0;
  padding: 0;
}
.rando25__trombiInfosDetails li {
  list-style-type: none;
  overflow-wrap: anywhere;
}
.rando25__trombiInfosDetails li a {
  color: var(--primary-color);
  text-decoration: none;
}
.rando25__trombiInfosDetails li a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}
.rando25__orga .rando25__trombiPerson {
  margin-bottom: 1rem;
}
.rando25__orgaTop {
  margin: 0 auto;
  width: 50%;
}
@media screen and (max-width: 991px) {
  .rando25__orgaTop {
    width: auto;
  }
}
.rando25__orgaCol {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  margin-bottom: 1.5rem;
}
@media screen and (max-width: 991px) {
  .rando25__orgaCol {
    grid-template-columns: 1fr;
  }
}
.rando25__orgaCol .rando25__trombiPerson {
  margin-bottom: 0;
}
.rando25__post {
  
}
.rando25__footer {
  background: var(--primary-color);
  color: white;
  padding: 1rem 0;
}
.rando25__footer .container {
  position: relative;
}
.rando25__footer *:last-child {
  margin-bottom: 0;
}
.rando25__footer .widget a {
    color: white;
}
.rando25__goTop {
  margin: 0;
  position: absolute;
  right: 0;
  top: 0;
}
.rando25__goTop a {
  background: var(--secondary-color);
  border-radius: 6px;
  color: white;
  padding: 6px 12px;
  text-decoration: none;
}
.rando25__goTop a:hover {
  background: var(--tertiary-color);
  color: var(--primary-color);
}
.btn-primary {
  --bs-btn-color: var(--primary-color);
  --bs-btn-bg: var(--water-green);
  --bs-btn-border-color: var(--water-green);
  --bs-btn-hover-color: white;
  --bs-btn-hover-bg: var(--primary-color);
  --bs-btn-hover-border-color: var(--primary-color);
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: white;
  --bs-btn-active-bg: var(--primary-color);
  --bs-btn-active-border-color: var(--primary-color);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  font-weight: 600;
}

.btn-secondary {
  --bs-btn-color: white;
  --bs-btn-bg: var(--secondary-color);
  --bs-btn-border-color: var(--secondary-color);
  --bs-btn-hover-color: var(--primary-color);
  --bs-btn-hover-bg: var(--tertiary-color);
  --bs-btn-hover-border-color: var(--tertiary-color);
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: white;
  --bs-btn-active-bg: var(--secondary-color);
  --bs-btn-active-border-color: var(--secondary-color);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  font-weight: 600;
}

.pagination {
  gap: 0.5rem;
  margin-top: 1rem;
}
.pagination li {
  border-radius: 6px;
  display: inline-block;
  padding: 0.2rem;
}
.pagination li a {
  color: var(--primary-color);
  font-weight: 400;
  text-decoration: none;
}
.pagination .active a {
  font-weight: 700;
}
.post-meta {
  border-bottom: 1px solid var(--primary-color);
  border-top: 1px solid var(--primary-color);
  margin-bottom: 1.5rem;
  padding-bottom : 1rem;
  padding-top: 1rem;
}
.post-meta > * {
  margin-bottom: 0;
}
.post-meta a {
  color: var(--primary-color);
}
.post-attachments {
  border-bottom: 1px solid var(--primary-color);
  margin: 0;
  padding:0 0 1rem 0;
}
.post-attachments-list {
  margin: 0;
  padding:0;
}
.post-attachments-item {
  list-style-type: none;
}
.post-content a {
    color: var(--primary-color);
}
.post-content a:hover {
    color: var(--secondary-color);
}
.widget .submit {
    background: var(--water-green);
    border: 1px solid var(--water-green);
    border-radius: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}
.post-feedback {
  padding: 0;
}
.widget a, .feedback__comments a, .pagination a, .post.short a, .arch-block a {
    color: var(--primary-color);
}
.widget a:hover, .feedback__comments a:hover, .pagination a:hover, .post.short a:hover, .arch-block a:hover {
    color: var(--secondary-color);
}
.widget .submit:hover, .widget .submit:active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}
.comment-form {
    background: var(--water-green);
    border-radius: 0.5rem;
}
.media-link {
    display:inline-block;
}
.media-link:hover .media {
    border: 1px solid var(--primary-color);
}
.media {
    border: 1px solid var(--bg-color);
    border-radius : 0.5rem;
    transition: all 0.3s;
}
.sidebar {
  background: var(--water-green);
  border-radius: 0.5rem;
  padding: 1rem;
  position: sticky;
  top: 120px;
}
.navlinks .btn {
  margin-bottom: 0.5rem;
}

@media screen and (max-width: 993px) {
  .rando25__banner--bgImg {
    background: var(--primary-color);
  }
}

@media screen and (max-width: 576px) {
  .rando25__goTop {
    right: 1rem;
    top: -28px;
  }
}

@media screen and (max-width: 376px) {
  .media-link {
    display: block;
  }
  .media-link .media {
    display: block;
    height: auto;
    width: 100%;
  }

}