:root { --cassiopeia-color-primary: #073b45; --cassiopeia-color-link: #16866e; --cassiopeia-color-hover: #0c6756; }
body { font-family: Arial, sans-serif; color: #27454a; }
.container-header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.15rem max(2rem, calc((100% - 1180px) / 2)); background: #fff; border-bottom: 1px solid #e6eeeb; }
.container-header .grid-child { margin: 0; }
.container-header .navbar-brand { padding: 0; }
.container-header .brand-logo { color: #08747a; text-decoration: none; font-size: 1.65rem; font-weight: 700; letter-spacing: .02em; }
.container-header .site-description { color: #60787a; font-size: .9rem; margin-top: .15rem; }
.container-header .container-nav { margin-left: auto; }
.container-header .mod-menu { display: flex; flex-direction: row; align-items: center; gap: 1.6rem; margin: 0; padding: 0; }
.container-header .mod-menu > li > a { color: #27454a; padding: .55rem 0; text-decoration: none; font-size: .98rem; }
.container-header .mod-menu > li > a:hover, .container-header .mod-menu > li.active > a { color: #16866e; }
.container-component { padding-top: 0; }
@media (max-width: 760px) { .container-header { display: block; padding: 1rem 1.25rem; } .container-header .container-nav { margin: .75rem 0 0; } .container-header .mod-menu { flex-wrap: wrap; gap: .6rem 1.2rem; } }
header.container-header .navbar-brand a.brand-logo, header.container-header .navbar-brand a.brand-logo span { color: #08747a !important; }
header.container-header .navbar-brand a.brand-logo span { font-size: 1.65rem; font-weight: 700; }

/* Actualités : cartes lisibles et liens assortis à la palette NOVARMED */
body.itemid-105 .com-content-category-blog__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
body.itemid-105 .com-content-category-blog__item {
  margin: 0;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #e3ecec;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(20, 58, 65, .07);
  transition: transform .2s ease, box-shadow .2s ease;
}
body.itemid-105 .com-content-category-blog__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(20, 58, 65, .12);
}
body.itemid-105 .com-content-category-blog__item h2,
body.itemid-105 .com-content-category-blog__item h2 a {
  color: #174b53;
  text-decoration: none;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.35;
  font-weight: 700;
}
body.itemid-105 .com-content-category-blog__item h2 a:hover,
body.itemid-105 .com-content-category-blog__item h2 a:focus-visible {
  color: #1d7989;
  text-decoration: none;
}
body.itemid-105 .com-content-category-blog__item .com-content-article__body,
body.itemid-105 .com-content-category-blog__item .item-content p {
  color: #53686b;
  line-height: 1.75;
}
body.itemid-105 .com-content-category-blog__item img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}
body.itemid-105 .com-content-category-blog__item .readmore a,
body.itemid-105 .com-content-category-blog__item a.readmore {
  display: inline-block;
  margin-top: .5rem;
  color: #176b77;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid #b7dce0;
}
body.itemid-105 .com-content-category-blog__item .readmore a:hover,
body.itemid-105 .com-content-category-blog__item a.readmore:hover {
  color: #10434b;
  border-color: #176b77;
}
@media (max-width: 480px) {
  body.itemid-105 .com-content-category-blog__items { grid-template-columns: 1fr; gap: 1rem; }
  body.itemid-105 .com-content-category-blog__item { padding: 1.15rem; }
}
/* Pages d’articles : largeur de lecture maximale */
body.com_content.view-article main {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}


/* Accueil : cartes produits avec présentation et bouton */
body.itemid-101 .mod-articles-items.mod-articles-grid { gap: 1.5rem; align-items: stretch; }
body.itemid-101 .mod-articles-items.mod-articles-grid > li { display: flex; list-style: none; }
body.itemid-101 .mod-articles-item { display: flex; width: 100%; height: 100%; overflow: hidden; background: #fff; border: 1px solid #e2ece7; border-radius: 16px; box-shadow: 0 8px 24px rgba(20,58,65,.08); transition: transform .2s ease, box-shadow .2s ease; }
body.itemid-101 .mod-articles-item:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(20,58,65,.13); }
body.itemid-101 .mod-articles-item-content { display: flex; flex-direction: column; align-items: stretch; gap: .75rem; width: 100%; height: 100%; padding: 1.15rem; box-sizing: border-box; }
body.itemid-101 .mod-articles-title { order: 2; margin: 0; color: #174b53; font-size: 1.25rem; line-height: 1.35; }
body.itemid-101 .mod-articles-title a { color: inherit; text-decoration: none; }
body.itemid-101 .mod-articles-image { order: 1; display: flex; align-items: center; justify-content: center; height: 220px; margin: -1.15rem -1.15rem .25rem; padding: .8rem; background: #f4f8f5; box-sizing: border-box; }
body.itemid-101 .mod-articles-image img { width: 100%; height: 100%; object-fit: contain; }
body.itemid-101 .mod-articles-item-content > div[style*="font-family"] { order: 3; flex: 1; }
body.itemid-101 .mod-articles-item-content > div[style*="font-family"] section { max-width: none !important; margin: 0 !important; padding: 0 !important; background: transparent !important; }
body.itemid-101 .mod-articles-item-content > div[style*="font-family"] section > p:first-child { margin: 0; color: #53686b !important; font-size: 1rem; font-weight: 400 !important; letter-spacing: normal !important; line-height: 1.7; text-transform: none; }
body.itemid-101 .mod-articles-item-content p.readmore { order: 4; margin: auto 0 0; padding-top: .6rem; }
body.itemid-101 .mod-articles-item-content p.readmore a.btn { display: inline-flex; align-items: center; gap: .4rem; padding: .7rem 1.1rem; color: #fff; background: #16866e; border: 1px solid #16866e; border-radius: 999px; font-weight: 700; text-decoration: none; }
body.itemid-101 .mod-articles-item-content p.readmore a.btn:hover { color: #fff; background: #0c6756; border-color: #0c6756; }
@media (max-width: 767px) { body.itemid-101 .mod-articles-image { height: 190px; } }

/* Logo du site : largeur demandée */
header.container-header .navbar-brand img {
  width: 260px;
  max-width: 260px;
  height: auto;
}

/* Menu : survol et page active en vert NOVARMED */
.container-header .mod-menu > li > a {
  text-decoration: none;
  transition: color 0.20s linear 0s;
  -o-transition: color 0.20s linear 0s;
  -ms-transition: color 0.20s linear 0s;
  -moz-transition: color 0.20s linear 0s;
  -webkit-transition: color 0.20s linear 0s;
}
.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > a:active,
.container-header .mod-menu > li > a:focus-visible,
.container-header .mod-menu > li.active > a {
  color: #9BB800;
  text-decoration: none;
}

/* Menu : effet bouton au survol et sur la page active */
.container-header .mod-menu > li > a {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.20s linear, color 0.20s linear;
  -o-transition: background-color 0.20s linear, color 0.20s linear;
  -ms-transition: background-color 0.20s linear, color 0.20s linear;
  -moz-transition: background-color 0.20s linear, color 0.20s linear;
  -webkit-transition: background-color 0.20s linear, color 0.20s linear;
}
.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > a:active,
.container-header .mod-menu > li > a:focus-visible,
.container-header .mod-menu > li.active > a {
  background: #16866e;
  color: #fff;
  text-decoration: none;
}

/* Espacement réduit entre les éléments du menu */
.container-header .mod-menu {
  gap: 5px !important;
}

/* Annule la marge du template entre les liens du menu desktop */
@media (width >= 992px) {
  .container-header .mod-menu > li + li {
    margin-left: 0 !important;
  }
}

/* Forme et dimensions des liens du menu */
.container-header .mod-menu > li > a {
  padding: 5px 10px;
  border-radius: 50px;
}


/* En-tête sans espace vertical */
.container-header {
  padding-top: 0;
  padding-bottom: 0;
}
.footer .grid-child {
	text-align: right;
    align-items: center;
    padding: 0;
	font-size:12px;
}
element.style {
    text-decoration: none;
}