:root {
  --primary-blue: #00457c;
  --dark-blue: #003366;
  --darker-blue: #002244;
  --gold: #ffd700;
  --light-cyan: LightCyan;
  --cornsilk: Cornsilk;
  --lemonchiffon: LemonChiffon;
}
body {
  font-family: "Arial", sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #111;
  line-height: 1.6;
}
button {
  font-size: 100%
}
.skip-link {
  position: absolute;
  top: -3.5em;
  left: 0;
  background: var(--primary-blue);
  color: white;
  padding: 8px;
  z-index: 25;
  transition: top 0.3s;
}
.skip-link:focus {
  top: 0;
}
.sr-only,
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
a {
  color: var(--dark-blue);
  text-decoration: none;
}
a:hover,
a:focus {
  color: var(--darker-blue);
  text-decoration: underline;
}
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}
.header-container,
.footer-container,
.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}
.content-container {
  background: white;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}
.background-pattern {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.background-pattern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(0, 69, 124, 0.05) 0,
      rgba(0, 69, 124, 0.05) 1px,
      transparent 1px,
      transparent 10px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(0, 69, 124, 0.1) 0,
      rgba(0, 69, 124, 0.1) 2px,
      transparent 2px,
      transparent 20px
    );
  z-index: -1;
}
.main-navigation .header-container {
}
.header-top,
.footer-link,
.footer {
  background: #f4f4f4;
  padding: 10px 20px;
}
.header-top .social a {
  margin-right: 10px;
}
.top-bar {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  margin: 1rem 0;
  font-size: 0.9rem;
  background: #f8f8f8;
  border-bottom: 1px solid #e1e1e1;
}
.site-contact {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-icon {
  width: 16px;
  height: 16px;
}
.rtl-text {
  direction: rtl;
  unicode-bidi: bidi-override;
  font-family: inherit;
}
.protected-text {
  display: inline-block;
}
.site-social {
  display: flex;
  gap: 1rem;
}
.site-social a {
  margin-left: 0.8rem;
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s ease;
}
.site-social a:hover {
  color: #0066aa;
  text-decoration: underline;
}
.site-social a::before {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  background-size: contain;
  background-repeat: no-repeat;
  content: "";
}
.site-social a[aria-label="Facebook (nouvelle fenêtre)"]::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2300457c"><path d="M22 12c0-5.52-4.48-10-10-10S2 6.48 2 12c0 4.84 3.44 8.87 8 9.8V15H8v-3h2V9.5C10 7.57 11.57 6 13.5 6H16v3h-2c-.55 0-1 .45-1 1v2h3v3h-3v6.95c5.05-.5 9-4.76 9-9.95z"/></svg>');
}
.site-social a[aria-label="Panneau Pocket (nouvelle fenêtre)"]::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2300457c"><path d="M17 1H7a2 2 0 0 0-2 2v18a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2zm-5 19a1 1 0 1 1 1-1 1 1 0 0 1-1 1zm5-4H7V4h10z"/><rect x="9" y="5" width="6" height="1" rx=".5"/></svg>');
}
.site-social a[aria-label="Flux RSS"]::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke="%2300457c" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 11a9 9 0 0 1 9 9"/><path d="M4 6a14 14 0 0 1 14 14"/><circle cx="6" cy="18" r="1.5" fill="%2300457c"/></svg>');
}
.site-social a:not(:nth-last-child(-n + 1))::after {
  content: "|";
  margin-left: 1rem;
  color: #ccc;
}
.middle-bar {
  padding: 2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: white;
  border-bottom: 1px solid #e1e1e1;
  position: relative;
}
.logo-title-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-decoration: none !important;
}
.logo-title-group:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}
.logo-title-group img {
  max-height: 90px;
  width: auto;
  transition: transform 0.3s ease;
}
.site-title {
  font-family: "Arial", sans-serif;
  font-size: 1.4rem;
  font-weight: bold;
  font-variant: small-caps;
  color: Black;
  letter-spacing: 0.5px;
  margin: 0;
  padding-top: 0.3rem;
  transition: color 0.3s ease;
}
.site-title,
.mayor-name {
  color: #000;
}
.logo-title-group:hover img {
  transform: scale(1.02);
}
.logo-title-group:hover .site-title {
  color: #0066aa;
  text-decoration: none !important;
}
.portrait-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  max-width: 82px;
  margin-left: auto;
}
.portrait-image {
  border: 1px solid #000;
  border-bottom: none;
}
.portrait-image img {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: cover;
}
.portrait-info {
  border: 1px solid #000;
  padding: 4px 2px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  background: white;
}
.mayor-name {
  font-weight: bold;
  font-size: 0.7rem;
  line-height: 1.2;
  margin: 0 0 2px 0;
}
.mayor-title,
.mayor-date {
  font-size: 0.6rem;
  line-height: 1;
}
.menu-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
}
.main-navigation {
  width: 100%;
  background-color: #fff;
  position: relative;
  z-index: 20;
  transition: transform 0.3s ease;
  border-bottom: 2px solid var(--primary-blue);
}
.main-navigation.fixed {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 25;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(3px);
}
.main-menu {
  display: flex;
  flex: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: stretch;
}
.main-navigation.hidden {
  transform: translateY(-100%);
}
body.menu-fixed {
  padding-top: 60px;
}
.main-menu > li {
  flex: 1;
  position: relative;
  display: flex;
  align-items: stretch;
  text-align: center;
  overflow: visible;
  transition: background-color 0.3s ease;
}
.main-menu > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.5rem;
  width: 100%;
  background-color: #fff;
  color: var(--primary-blue);
  text-decoration: none;
  white-space: normal;
  line-height: 1.2;
  box-sizing: border-box;
  text-align: center;
  word-break: break-word;
  hyphens: auto;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  border: none;
  position: relative;
}
.main-menu > li > a:hover,
.main-menu > li > a:focus {
  background-color: var(--primary-blue);
  color: white;
  text-decoration: none;
}
.main-menu > li > a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: var(--gold);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.main-menu > li > a:hover::after,
.main-menu > li > a:focus::after {
  width: 80%;
}
.main-menu > li:hover .sub-menu {
  display: block;
}
.main-menu > li:not(:hover) > .sub-menu {
  display: none;
}
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--primary-blue);
  padding: 0.8rem 0;
  z-index: 30;
  width: max-content;
  min-width: 200px;
  max-width: 100vw;
  box-sizing: border-box;
  white-space: normal;
  overflow-wrap: break-word;
  display: none;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-top: 2px solid var(--gold);
}
.main-menu > li:last-child .sub-menu,
.main-menu > li:nth-last-child(2) .sub-menu {
  left: auto;
  right: 0;
}
.sub-menu li {
  list-style: none;
  position: relative;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sub-menu li::marker {
  color: white;
}
.sub-menu li:last-child {
  border-bottom: none;
}
.sub-menu li a {
  display: block;
  padding: 0.6rem 1.5rem;
  color: white;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}
.sub-menu li a:hover,
.sub-menu li a:focus {
  background-color: rgba(255, 255, 255, 0.1);
  padding-left: 1.8rem;
  text-decoration: none;
  outline: 2px solid var(--gold);
}
.submenu-indicator {
  margin-left: 0.5rem;
  font-size: 0.7em;
  display: inline-block;
  transition: transform 0.3s ease;
}
.main-menu > li.is-open > a .submenu-indicator,
.main-menu > li:hover > a .submenu-indicator {
  transform: rotate(180deg);
}
.main-menu a:focus,
.sub-menu a:focus {
  outline-offset: -2px;
}
.main-menu a:focus {
  outline: 2px solid var(--primary-blue);
  background-color: var(--primary-blue);
  color: white;
}
.sub-menu a:focus {
  outline: 2px solid var(--gold);
  background-color: rgba(255, 255, 255, 0.15);
}
.main-menu > li.is-open > .sub-menu {
  display: block;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.menu-toggle {
  display: none;
  background-color: #00457c;
  color: white;
  border: none;
  font-size: 1.2em;
  padding: 0.5em 1em;
  margin: 10px;
  cursor: pointer;
}
.menu-search {
  position: relative;
  margin-left: auto;
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
  background: #f8f8f8;
  border-left: 1px solid #e1e1e1;
}
.search-toggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--primary-blue);
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}
.search-toggle:hover,
.search-toggle:focus {
  background-color: rgba(0, 69, 124, 0.1);
  outline: 2px solid var(--primary-blue);
}
.search-form-container {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.8rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 40;
  animation: slideDown 0.3s ease;
}
.search-form {
  display: flex;
  align-items: center;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.search-field {
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px 0 0 4px;
  width: 220px;
  font-size: 0.95rem;
}
.search-submit {
  background: var(--primary-blue);
  color: #fff;
  border: none;
  padding: 0.6rem 0.9rem;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.search-submit:hover {
  background: #00335c;
}
.content {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}
#hero-slider-wrapper {
  width: 100%;
  aspect-ratio: 3 / 1;
  position: relative;
  overflow: hidden;
}
#hero-slider {
  display: flex;
  height: 100%;
  -webkit-transition: -webkit-transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out;
}
#hero-slider .generic-slide {
  flex: 0 0 100%;
  height: 100%;
}
#hero-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#hero-slider-wrapper .slider-pagination {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 10;
}
.home-section-block {
  padding: 1.5rem;
  margin-bottom: 2rem;
  min-width: 0;
}
.home-main-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 2rem;
  margin: 2rem 0;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
}
.slider-track {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.slider-prev[disabled],
.slider-next[disabled] {
  opacity: 0.2;
  cursor: not-allowed;
}
.slider-track {
  touch-action: pan-y pinch-zoom;
}
.generic-slider-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  will-change: transform;
}
.generic-slide {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.generic-slide a {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.generic-slide img {
  object-fit: cover;
  width: 100%;
  height: auto;
}
.generic-slide h3,
.generic-slide .post-date,
.generic-slide .post-excerpt {
  margin: 0.5rem 0;
}
.home-news-slider .generic-slide {
  position: relative;
}
.generic-slider-wrapper {
  overflow: hidden;
  width: 100%;
}
.generic-slider-wrapper:not(.loaded) .slider-prev,
.generic-slider-wrapper:not(.loaded) .slider-next {
  display: none;
}
.generic-slider-wrapper.loaded .generic-slider-track {
  opacity: 1;
}
.generic-slider-wrapper.one-visible {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}
.generic-slider-wrapper.one-visible {
  display: flex;
  flex-wrap: nowrap;
  height: auto;
}
.generic-slider-wrapper.one-visible .generic-slide {
  flex: 0 0 100%;
  max-width: 100%;
}
.generic-slider-wrapper.one-visible img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}
.generic-slider-wrapper.two-visible .generic-slide {
  flex: 0 0 calc(50% - 0.5rem);
  margin-right: 1rem;
}
.generic-slider-wrapper.two-visible .generic-slide:last-child {
  margin-right: 0;
}
.generic-slider-wrapper.two-visible {
  position: relative;
}
.generic-slider-wrapper.two-visible::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  opacity: 1;
  z-index: 5;
  animation: fadeOutLoader 0.8s ease-out 0.3s forwards;
}
@keyframes fadeOutLoader {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
.generic-slider-wrapper.two-visible .slider-prev,
.generic-slider-wrapper.two-visible .slider-next {
  opacity: 0;
  transition: opacity 0.3s ease 0.8s;
}
.generic-slider-wrapper.two-visible.loaded .slider-prev,
.generic-slider-wrapper.two-visible.loaded .slider-next {
  opacity: 0.85;
}
.generic-slider-wrapper .slider-prev,
.generic-slider-wrapper .slider-next {
  max-height: 3rem;
  display: block;
}
.slider-prev {
  left: 1rem;
}
.slider-next {
  right: 1rem;
}
.slider-prev:hover:not(:disabled),
.slider-next:hover:not(:disabled) {
  background-color: #0066aa;
}
.slider-prev:focus,
.slider-next:focus,
.pagination-dot:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}
.generic-slide img {
  max-width: 100%;
  height: auto;
  display: block;
}
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--primary-blue);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 4px;
  opacity: 0.8;
  transition:
    opacity 0.3s ease,
    transform 0.2s ease;
}
.welcome-title {
  font-size: 1.1em;
  font-variant: small-caps;
  text-align: center;
  padding: 4em 2em 2em 2em;
  color: MidnightBlue;
}
.home-news-slider h2,
.home-quicklinks h2,
.events-block h2,
.mayor-block h2,
.agenda-block h2 {
  position: relative;
  display: block;
  padding-bottom: 8px;
  margin-bottom: 25px;
}
.home-news-slider h2 span,
.home-quicklinks h2 span,
.events-block h2 span,
.mayor-block h2 span,
.agenda-block h2 span {
  position: relative;
  display: inline-block;
}
.home-news-slider h2 span::after,
.home-quicklinks h2 span::after,
.events-block h2 span::after,
.mayor-block h2 span::after,
.agenda-block h2 span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 3px;
  background-color: var(--primary-blue);
  z-index: 1;
}
.home-news-slider h2::after,
.home-quicklinks h2::after,
.events-block h2::after,
.mayor-block h2::after,
.agenda-block h2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: gold;
}
.home-news-slider,
.home-quicklinks,
.events-block,
.mayor-block {
  margin: 0;
}
.home-news-slider {
  grid-column: 1;
  grid-row: 1;
  background: linear-gradient(
    225deg,
    Gold,
    LemonChiffon,
    LemonChiffon,
    LemonChiffon,
    Gold
  );
}
.home-quicklinks {
  grid-column: 2;
  grid-row: 1;
  background: LightCyan;
}
.events-block {
  grid-column: 1;
  grid-row: 2;
  background-color: Cornsilk;
}
.mayor-block {
  grid-column: 2;
  grid-row: 2;
}
.home-news-slider .generic-slide img {
  border: 1px solid #bbb;
  border-radius: 0px;
  padding: 0px;
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.home-news-slider .generic-slider-wrapper {
  position: relative;
}
.home-news-slider .slider-prev,
.home-news-slider .slider-next {
  position: absolute;
  top: 20%;
  transform: translateY(-50%);
  background-color: rgba(0, 69, 124, 0.85);
  color: white;
  border: none;
  padding: 0.3rem 0.6rem;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 4px;
  opacity: 0.85;
  transition: background-color 0.2s ease;
}
.home-news-slider .slider-prev:hover,
.home-news-slider .slider-next:hover {
  background-color: rgba(0, 69, 124, 1);
}
.home-news-slider .slider-prev {
  left: 0.5rem;
}
.home-news-slider .slider-next {
  right: 0.5rem;
}
.post-date {
  font-size: 0.8rem;
  color: #666;
}
#news-slider .generic-slide:not(:last-child) {
  margin-right: 1rem;
}
#news-slider-wrapper.two-visible .generic-slide {
  flex: 0 0 calc(50% - 0.5rem);
  margin-right: 1rem;
}
#news-slider-wrapper.two-visible .generic-slide:last-child {
  margin-right: 0;
}
.slider-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
}
#hero-slider-wrapper .slider-pagination {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 10;
  margin-top: 0;
}
#news-slider-wrapper .slider-pagination {
  padding: 8px;
}
.home-news-slider .slider-pagination {
  max-width: 100%;
  overflow: hidden;
  text-align: center;
  margin-top: 15px;
}
.pagination-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid white;
  cursor: pointer;
  aspect-ratio: 1/1;
  transition: all 0.3s ease;
}
.pagination-dot.active {
  background: white;
  transform: scale(1.2);
}
.pagination-dot:hover {
  transform: scale(1.3);
}
.slider-pagination .pagination-dot {
  width: 10px;
  height: 10px;
  background: transparent;
  border: 2px solid var(--primary-blue);
}
.slider-pagination .pagination-dot.active {
  background: var(--primary-blue);
}
#hero-slider-wrapper {
  position: relative;
}
.hm-quicklinks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.hm-quicklink-item {
  display: block;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fafafa;
  box-shadow: 1px 1px 1px gray;
  padding: 0.5rem;
  transition: transform 0.2s ease;
}
.hm-quicklink-item:hover {
  transform: scale(1.02);
  background-color: #f0f0f0;
}
.hm-quicklink-item img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
}
.hm-quicklink-title {
  display: block;
  margin-top: 0.5rem;
  font-weight: bold;
  font-size: 1rem;
  color: #111;
  hyphens: auto;
  overflow-wrap: break-word;
  word-break: break-word;
}
.event-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.event-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow:
    2px 2px 2px Gray,
    -1px -1px 1px Gainsboro;
  aspect-ratio: 2/1;
}
.event-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(10, 20, 50, 0.8) 0%,
    rgba(10, 20, 50, 0.5) 70%,
    rgba(10, 20, 50, 0) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.event-thumb:hover .event-overlay {
  opacity: 1;
}
.event-thumb:hover img {
  transform: scale(1.03);
}
.event-title {
  color: white;
  font-size: 1.1rem;
  margin: 0;
  transform: translateY(10px);
  transition: transform 0.3s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  line-height: 1.2em;
}
.event-thumb:hover .event-title {
  transform: translateY(0);
}
.mayor-block {
  border-left: 4px solid var(--primary-blue);
  background-color: #f8f8f8;
  padding: 1.5rem;
  position: relative;
}
.mayor-block::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid rgba(0, 69, 124, 0.1);
  pointer-events: none;
}
.mayor-post .mayor-excerpt {
  font-family: Georgia, serif;
  line-height: 2;
  color: #333;
}
.mayor-post .mayor-content::after {
  content: "Lire la suite";
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.45rem 1.5rem;
  background: white;
  color: var(--primary-blue);
  font-size: 0.85rem;
  font-weight: 600;
  border: 2px solid var(--primary-blue);
  border-radius: 0;
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
  position: relative;
}
.mayor-post .mayor-content:hover::after {
  background: #f8f8f8;
  color: #002c54;
  border-color: #002c54;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mayor-post .mayor-content::before {
  content: "📄";
  position: absolute;
  right: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mayor-post .mayor-content:hover::before {
  opacity: 1;
}
.agenda-block {
  padding: 6rem 0 0 0;
}
.bottom-image {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 0 1rem 0;
}
.bottom-image img {
  max-width: 100%;
  height: auto;
  display: block;
  display: flex;
  justify-content: center;
}
.footer {
  font-size: 0.9em;
  text-align: center;
  padding: 3rem 1rem 1rem 1rem;
  margin-bottom: 1rem;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-images {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
}
.footer-images img {
  display: block;
  border: 1px solid #f5f5f5;
  max-width: 100%;
  height: auto;
}
.footer-images a img {
  width: 100%;
  max-width: 370px;
  transition: transform 0.3s ease;
}
.footer-images a:hover img {
  transform: scale(1.02);
}
.footer-images img:hover {
  border: 1px solid black;
}
.footer-menu {
  margin: 1rem 0;
}
.footer-bottom-links {
  margin: 3em 0 1em 0;
  font-size: 0.9rem;
}
.footer-bottom-links .separator {
  margin: 0 8px;
  color: #999;
}
.article-header {
  border-style: dotted solid solid dotted;
  border-color: grey gold mediumblue grey;
  border-width: 1px 1px 2px 1px;
  background-color: white;
  position: relative;
  padding-bottom: 20px;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.15);
  margin-bottom: 3em;
}
.article-header h1 {
  margin-top: 0;
  padding: 0.75em 1em 0 1em;
  margin-bottom: 0;
  color: mediumblue;
  font-size: 1.8rem;
  font-variant-caps: petite-caps;
}
.article-meta {
  font-size: 0.9em;
  color: #666;
  display: flex;
  justify-content: flex-end;
  padding-right: 2em;
}
.article-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 50px 20px;
  box-sizing: border-box;
}
.article-layout {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.article-main-content {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  background: #f5f5f5;
}
.article-sidebar {
  flex: 0 0 280px;
  min-width: 0;
}
.article-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}
.article-content img.alignleft {
  float: left;
  margin-right: 1em;
}
.article-content img.alignright {
  float: right;
  margin-left: 1em;
}
.article-content img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.article-item .article-content.no-thumbnail {
  grid-column: 1 / -1;
}
.contact-info {
  font-style: normal;
}
.contact-icon {
  flex-shrink: 0;
}
.contact-phone,
.contact-email {
  margin: 10px 0;
}
.contact-hours h3 {
  margin: 15px 0 5px 0;
  font-size: 1em;
}
.share-section a:hover {
  color: white;
}
.share-section {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  padding: 1em 2em;
  border-width: 1px;
  border-color: #e1e1e1;
  border-style: solid none;
}
.share-container {
  display: flex;
  align-items: center;
}
.share-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: white;
  border-radius: 50%;
  margin-right: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}
.share-title-icon {
  width: 28px;
  height: 28px;
  color: #555;
}
.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  flex-grow: 1;
}
.share-button {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  background-color: #f5f5f5;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: all 0.2s ease;
  border: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.share-button:hover {
  background-color: #e9e9e9;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.share-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}
.share-text {
  font-size: 0.9em;
  font-weight: 500;
}
.share-button.icon-only {
  padding: 10px 6px 10px 12px;
}
.share-button.icon-only .share-text {
  display: none;
}
.share-facebook {
  background-color: #1877f2;
  color: white;
  border-color: #1877f2;
}
.share-facebook:hover {
  background-color: #166fe5;
}
.share-x {
  background-color: #2d2d2d;
  color: white;
  border-color: #2d2d2d;
}
.share-x:hover {
  background-color: #404040;
}
.share-mastodon {
  background-color: #6364ff;
  color: white;
  border-color: #6364ff;
}
.share-mastodon:hover {
  background-color: #595aff;
}
.share-instagram {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
  color: white;
  border: none;
}
.share-instagram:hover {
  background: linear-gradient(
    45deg,
    #da832b,
    #d4562a,
    #c91c37,
    #b21c5a,
    #a21575
  );
}
.share-bluesky {
  background-color: #0077ff;
  color: white;
  border-color: #0077ff;
}
.share-bluesky:hover {
  background-color: #005fd1;
}
.share-email {
  background-color: #666;
  color: white;
  border-color: #666;
}
.share-email:hover {
  background-color: #555;
}
.share-link {
  background-color: #6c757d;
  color: white;
  border-color: #6c757d;
}
.share-link:hover {
  background-color: #5a6268;
}
.share-button .share-icon {
  filter: brightness(0) invert(1);
}
.share-button:not(.share-facebook):not(.share-x):not(.share-mastodon):not(
    .share-instagram
  ):not(.share-bluesky):not(.share-email):not(.share-link)
  .share-icon {
  filter: none;
}
.article-footer {
  padding: 0 20px;
  border-width: 1px;
  border-color: #e1e1e1;
  border-style: none dotted solid dotted;
  background: white;
}
.article-taxonomies {
  display: flex;
  flex-direction: row;
  gap: 40px;
  flex-wrap: wrap;
  padding: 0 0 20px 0;
}
.article-categories-wrapper,
.article-tags {
  flex: 1;
  min-width: 250px;
}
.article-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.article-categories a {
  background: #f3f3f3;
  padding: 3px 8px;
  border-radius: 3px;
  color: var(--primary-blue);
  text-decoration: none;
  font-size: 0.85em;
}
.article-categories a:hover {
  background: #e0e0e0;
}
.categories-title,
.tags-title {
  font-size: 1em;
  color: #555;
  margin-bottom: 10px;
  font-weight: 600;
}
.tags-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tags-list li {
  display: inline-block;
}
.tags-list a {
  display: inline-block;
  padding: 4px 12px;
  background-color: #f0f4f8;
  color: #2c5b8e;
  text-decoration: none;
  border-radius: 15px;
  font-size: 0.85em;
  transition: all 0.2s ease;
  border: 1px solid #d0ddee;
}
.tags-list a:hover {
  background-color: #d6e3f5;
  color: #1e3f6f;
  transform: translateY(-1px);
}
.article-navigation {
  display: flex;
  justify-content: space-between;
  margin: 30px 0;
  gap: 50px;
  border-top: 1px solid #e1e1e1;
  border-bottom: 1px solid #e1e1e1;
  background-color: #f5f5f5;
}
.article-nav-previous,
.article-nav-next {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0;
}
.article-nav-previous {
  justify-content: flex-start;
  text-align: left;
}
.article-nav-next {
  justify-content: flex-end;
  text-align: right;
}
.article-navigation a {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--primary-blue);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 10px;
  border-radius: 4px;
  max-width: 100%;
}
.article-navigation a:hover {
  background-color: #f0f7ff;
}
.article-arrow {
  font-size: 2em;
  font-weight: bold;
  color: var(--primary-blue);
  flex-shrink: 0;
  width: 1em;
  height: 1em;
}
.article-nav-text {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.article-nav-label {
  font-size: 0.9em;
  color: #666;
  font-weight: 500;
}
.article-nav-title {
  font-weight: 600;
  white-space: normal;
  word-break: break-word;
  overflow: visible;
  text-overflow: ellipsis;
}
.search-results {
  padding-right: 1em;
}
.search-results li p {
  font-style: italic;
}
.search-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0;
  gap: 20px;
  border-top: 1px solid #e1e1e1;
  border-bottom: 1px solid #e1e1e1;
  background-color: #f5f5f5;
  padding: 10px;
}
.search-nav-previous {
  justify-content: flex-start;
  text-align: left;
  flex: 1;
}
.search-nav-next {
  justify-content: flex-end;
  text-align: right;
  flex: 1;
}
.search-nav-numbers {
  flex: 2;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.search-nav-numbers a,
.search-nav-numbers span {
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-decoration: none;
  color: var(--primary-blue);
  font-weight: 500;
}
.search-nav-numbers a:hover {
  background-color: #f0f7ff;
}
.search-nav-numbers .current {
  background-color: var(--primary-blue);
  color: #fff;
  font-weight: 600;
}
.no-results {
  padding: 2rem;
  background-color: #f5f5f5;
  border-radius: 8px;
  margin: 2rem 0;
}
.no-results ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.no-results li {
  list-style-type: disc;
}
.related-section {
  padding-top: 20px;
  border-top: 1px solid #e1e1e1;
  display: flex;
  flex-direction: column;
}
.article-section-title {
  color: var(--primary-blue);
  font-size: 1.3em;
  margin-bottom: 20px;
}
.sidebar-accordion {
  margin-bottom: 20px;
  background: #f0f0f0;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
}
.sidebar-accordion-title {
  display: block;
  padding: 12px 26px 12px 12px;
  background: var(--primary-blue);
  color: white;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  margin: 0;
  font-size: 1em;
  border-radius: 3px 3px 0 0;
  font-variant: small-caps;
}
.sidebar-accordion-content {
  display: block;
  padding: 10px;
}
.quicklinks-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.quicklink-item {
  display: flex;
  align-items: center;
  padding: 2px 15px;
  border-radius: 4px;
  text-decoration: none;
  color: white;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.quicklink-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.quicklink-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-right: 15px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 5px;
}
.quicklink-text {
  font-weight: 600;
  font-size: 0.95em;
  flex-grow: 1;
}
.related-posts-list li {
  padding: 0 1em 0.5em 0;
}
.contact-address,
.contact-phone,
.contact-email {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}
.contact-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  flex-shrink: 0;
}
.contact-text {
  line-height: 1.4;
}
.articles-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}
.article-item {
  display: grid;
  grid-template-columns: minmax(120px, 200px) 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  margin: 0.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.article-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.article-thumbnail {
  overflow: hidden;
  border-radius: 6px;
}
.article-thumbnail img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.article-item:hover .article-thumbnail img {
  transform: scale(1.05);
}
.article-content {
  min-width: 0;
}
.article-date {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.article-title {
  margin: 0 0 0.8rem 0;
  font-size: 1.3rem;
  line-height: 1.3;
}
.article-title a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}
.article-title a:hover {
  color: #0066aa;
  text-decoration: underline;
}
.article-excerpt {
  color: #444;
  line-height: 1.5;
  margin: 0;
  overflow-wrap: break-word;
}
.article-read-more {
  display: inline-block;
  text-decoration: underline;
  border: 2px solid var(--dark-blue);
  border-radius: 6px;
  margin-top: 10px;
  padding: 0 0.5rem;
  width: fit-content;
}
.article-read-more:hover {
  background: var(--primary-blue);
  color: white;
}
.article-item a:focus {
  outline: 2px solid #005fcc;
  outline-offset: 2px;
}
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: var(--gold);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition:
    opacity 0.3s,
    background-color 0.3s;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
}
.back-to-top:hover,
.back-to-top:focus {
  background-color: #e6c200;
  outline: none;
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 993px) {
  .sidebar-accordion-title {
    cursor: default;
    background: var(--primary-blue);
  }
  .sidebar-accordion-title:after {
    display: none;
  }
  .contact-info {
    display: block;
  }
}

@media (min-width: 769px) {
  .related-articles.event-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .related-thumb.event-thumb {
    aspect-ratio: 2/1;
  }
}

@media (max-width: 992px) {
  .article-layout {
    flex-direction: column;
  }
  .article-container {
    padding: 20px;
  }
  .article-main-content,
  .article-sidebar {
    flex: 0 0 100%;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
    .sidebar-accordion {
    background: white;
  }
  .sidebar-accordion[open] {
    background: #f8f8f8;
  }
  .sidebar-accordion-title::-webkit-details-marker {
    display: none;
  }
  .sidebar-accordion-title:after {
    content: "+";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
  }
  .sidebar-accordion[open] .sidebar-accordion-title:after {
    content: "-";
  }
  .contact-info {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
  }
  .contact-details {
    flex: 1;
    min-width: 200px;
  }
  .contact-hours {
    flex: 1;
    min-width: 200px;
  }
}

@media screen and (max-width: 768px) {
  .menu-wrapper {
    display: block;
  }
  .main-navigation {
    border-bottom: 1px solid #e1e1e1;
  }
  .main-navigation.fixed {
    position: relative;
  }
  .main-navigation.fixed .header-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
  }
  body.menu-fixed {
    padding-top: 0;
  }
  .menu-toggle {
    display: block;
    width: 100%;
    background-color: var(--primary-blue);
    color: white;
    border: none;
    font-size: 1.1rem;
    padding: 0.8rem 1rem;
    margin: 0;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease;
  }
  .menu-toggle:hover {
    background-color: #003366;
  }
  .main-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #f8f8f8;
    border-top: 1px solid #e1e1e1;
  }
  .main-menu.menu-open {
    display: flex;
  }
  .main-menu > li {
    flex: none;
    text-align: left;
    border-bottom: 1px solid #e1e1e1;
    display: block;
  }
  .main-menu > li > a {
    padding: 1rem 1.2rem;
    display: block;
    width: auto;
    text-align: left;
    justify-content: space-between;
    color: var(--primary-blue);
    font-weight: 600;
  }
  .main-menu > li > a::after {
    display: none;
  }
  main-menu li:hover > .sub-menu,
  main-menu li:focus-within > .sub-menu {
    display: none;
  }
  .main-menu li.is-open > .sub-menu {
    display: block;
  }
  .main-menu li:hover > .sub-menu {
    display: none !important;
  }
  .main-menu li.is-open > .sub-menu {
    display: block !important;
  }
  .sub-menu {
    position: static !important;
    display: none;
    width: 100%;
    background-color: rgba(0, 69, 124, 0.95);
    padding-left: 0;
    border-radius: 0;
    border-top: none;
    box-shadow: none;
  }
  .sub-menu li a {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
  }
  .menu-search {
    margin-left: 0;
    width: auto;
    padding: 0.8rem;
    border-top: 1px solid #e1e1e1;
    background: white;
  }
  .search-form-container {
    position: relative;
    margin-top: 0.5rem;
    width: 100%;
    box-shadow: none;
    border: 1px solid #e1e1e1;
    padding: 0.8rem;
  }
  .search-field {
    width: 100%;
  }
  .top-bar {
    flex-direction: column;
    gap: 0.8rem;
    padding: 0.8rem;
  }
  .site-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
  }
  .contact-item {
    width: 100%;
    justify-content: flex-start;
  }
  .site-social {
    width: 100%;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  .site-social a {
    margin: 0;
    padding: 0.3rem;
  }
  .site-social a::before {
    margin-right: 0;
  }
  .site-social a span {
    display: none;
  }
  .site-social a::after {
    content: none !important;
  }
  .site-social a::before {
    width: 20px;
    height: 20px;
  }
  .middle-bar {
    justify-content: center;
  }
  .logo-title-group {
    flex-direction: column;
    gap: 0.5rem;
  }
  .site-title {
    font-size: 1.1rem;
    padding-top: 0;
  }
  .portrait-container {
    display: none;
  }
  #hero-slider-wrapper .slider-prev,
  #hero-slider-wrapper .slider-next {
    display: none !important;
  }
  #hero-slider-wrapper .slider-pagination {
    bottom: 10px;
  }
  .home-main-columns {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .home-section-block {
    grid-column: auto !important;
    grid-row: auto !important;
  }
  .home-news-slider,
  .home-quicklinks {
    max-width: 100%;
  }
  .news-slide {
    flex: 0 0 100%;
  }
  #news-slider-wrapper .slider-prev {
    left: 2rem;
  }
  #news-slider-wrapper .slider-next {
    right: 2rem;
  }
  #news-slider-wrapper .slider-prev,
  #news-slider-wrapper .slider-next {
    transform: scale(1.8);
  }
  .slider-pagination {
    padding: 15px 0;
  }
  .generic-slider-track {
    transition: transform 0.4s ease-in-out;
  }
  .hm-quicklinks-grid {
	grid-template-columns: repeat(2, 1fr);
  }
  .event-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .event-thumb {
    aspect-ratio: unset;
    height: auto;
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 0.8rem;
    align-items: center;
    background: white;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  .event-thumb a {
    display: contents;
  }
  .event-thumb img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    grid-column: 1;
  }
  .event-overlay {
    position: static;
    background: none;
    padding: 0;
    grid-column: 2;
    opacity: 1 !important;
  }
  .event-title {
    color: #111;
    font-size: 0.95rem;
    line-height: 1.3;
    margin: 0;
    transform: none !important;
    text-shadow: none;
  }
  .mayor-post .mayor-content::after {
    display: block;
    text-align: center;
    margin: 1rem auto 0;
    max-width: 150px;
  }
  .footer-images {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
  .footer-images a:nth-child(1),
  .footer-images a:nth-child(3) {
    flex: 1 1 48%;
    max-width: 48%;
    order: 1;
  }
  .footer-images a:nth-child(2) {
    flex: 0 0 100%;
    max-width: 100%;
    margin-top: 2rem;
    order: 2;
    display: flex;
    justify-content: center;
  }
  .footer-images a img {
    transition: transform 0.3s ease;
  }
  .footer-images a:hover img,
  .footer-images a:focus img {
    transform: scale(1.03);
  }
  .article-item {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }
  .article-thumbnail {
    max-width: 100%;
  }
  .article-title {
    font-size: 1.1rem;
  }
  .article-excerpt {
    font-size: 0.9rem;
  }
  .article-header h1 {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }
  .article-navigation {
    flex-direction: column;
    gap: 15px;
  }
  .article-nav-previous,
  .article-nav-next {
    justify-content: center;
    text-align: center;
  }
  .article-nav-next {
    flex-direction: row-reverse;
  }
  .article-taxonomies {
    flex-direction: column;
    gap: 20px;
  }
  .article-categories-wrapper,
  .article-tags {
    min-width: 100%;
  }
  .search-navigation {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .search-nav-previous,
  .search-nav-next,
  .search-nav-numbers {
    flex: unset;
    margin: 2px;
    display: flex;
    justify-content: center;
  }
  .search-nav-numbers {
    flex-wrap: wrap;
    gap: 4px;
  }
  .search-nav-numbers a,
  .search-nav-numbers span {
    padding: 6px 10px;
    font-size: 0.9em;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .share-buttons {
    gap: 8px;
  }
  .share-button {
    padding: 8px 12px;
  }
  .share-text {
    font-size: 0.85em;
  }
}

@media (max-width: 768px) and (min-width: 481px) {
  .share-container {
    flex-direction: column;
    align-items: stretch;
  }
  .share-icon-container {
    align-self: center;
    margin-right: 0;
    margin-bottom: 15px;
  }
  .share-buttons {
    flex-direction: column;
  }
  .share-button {
    justify-content: center;
  }
  .share-button.icon-only {
    padding: 10px 16px;
  }
  .share-button.icon-only .share-text {
    display: inline;
  }
}

@media (max-width: 600px) {
  .contact-info {
    flex-direction: column;
  }
  .contact-details,
  .contact-hours {
    width: 100%;
  }
  .quicklink-item {
    padding: 8px 12px;
  }
  .quicklink-icon {
    width: 36px;
    height: 36px;
    margin-right: 12px;
  }
}

@media (max-width: 480px) {
  .share-container {
    flex-direction: column;
    align-items: stretch;
  }
  .share-icon-container {
    align-self: center;
    margin-right: 0;
    margin-bottom: 15px;
  }
  .share-buttons {
    flex-direction: unset;
  }
  .share-button {
    justify-content: center;
  }
  .share-button.icon-only {
    padding: 10px 6px 10px 12px;
  }
  .share-button.icon-only .share-text {
    display: none;
  }
}

@media (max-width: 400px) {
  .footer-images a:nth-child(1),
  .footer-images a:nth-child(3) {
	flex: 1 1 45%;
	max-width: 45%;
  }
}

@media (max-width: 300px) {
  .article-arrow {
    display: none;
  }
}