/* Header */
header.site-header {
  margin: 0 0 0 0;
}

#masthead {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 64, 80, 0.12);
}

#masthead .site-header-main {
  min-height: 120px;
  align-items: center;
}

#masthead .custom-logo-link {
  display: inline-block;
}

#masthead .custom-logo {
  max-width: 240px;
  height: auto;
  transition: opacity 0.2s ease;
}

#masthead .custom-logo-link:hover .custom-logo {
  opacity: 0.9;
}

#masthead .site-title,
#masthead .site-description {
  display: none;
}

#masthead #site-header-menu {
  align-items: center;
}

#masthead .main-navigation .primary-menu {
  display: flex;
  align-items: center;
  gap: 18px;
}

#masthead .main-navigation .primary-menu > li {
  position: relative;
}

#masthead .main-navigation .primary-menu > li > a {
  position: relative;
  padding: 14px 4px;
  color: #111;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

#masthead .main-navigation .primary-menu > li > a::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 8px;
  height: 2px;
  background: #008b9a;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

#masthead .main-navigation .primary-menu > li > a:hover,
#masthead .main-navigation .primary-menu > li.current-menu-item > a,
#masthead .main-navigation .primary-menu > li.current_page_item > a {
  color: #007f8f;
}

#masthead .main-navigation .primary-menu > li > a:hover::after,
#masthead .main-navigation .primary-menu > li.current-menu-item > a::after,
#masthead .main-navigation .primary-menu > li.current_page_item > a::after {
  transform: scaleX(1);
}

#masthead .dropdown-toggle {
  color: #007f8f;
}

#masthead .main-navigation ul ul.sub-menu {
  margin-top: 12px;
  padding: 10px 0;
  min-width: 260px;
  background: #ffffff;
  border: 1px solid rgba(0, 64, 80, 0.12);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

#masthead .main-navigation ul ul.sub-menu li a {
  padding: 10px 18px;
  color: #222;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

#masthead .main-navigation ul ul.sub-menu li a:hover {
  background: rgba(0, 139, 154, 0.08);
  color: #007f8f;
}

#masthead #searchContainer {
	height: 40px;
  margin-left: 26px;
}

#masthead #searchIconContainer {
  width: 56px;
  height: 56px;
  background: #008b9a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

#masthead #searchIconContainer:hover {
  background: #006f7d;
  box-shadow: 0 8px 18px rgba(0, 111, 125, 0.22);
}

#masthead #searchInput {
  height: 56px;
  border: 1px solid rgba(0, 64, 80, 0.16);
  padding: 0 14px;
  font-size: 14px;
}

#masthead #searchInput:focus {
  outline: none;
  border-color: #008b9a;
}

@media (max-width: 768px) {
  #masthead .site-header-main {
    min-height: auto;
    padding: 18px 0;
  }

  #masthead .custom-logo {
    max-width: 210px;
  }

  #masthead .main-navigation .primary-menu {
    display: block;
    gap: 0;
  }

  #masthead .main-navigation .primary-menu > li > a {
    padding: 12px 0;
  }

  #masthead #searchContainer {
    margin-left: 0;
    margin-top: 12px;
  }
}

#masthead #searchIconContainer {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, #008b9a, #006c79);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    0 10px 24px rgba(0, 111, 125, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.18);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

#masthead #searchIconContainer:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #009cad, #005964);
  box-shadow:
    0 14px 30px rgba(0, 111, 125, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.22);
}

#masthead #searchIconContainer:active {
  transform: translateY(0);
}

#masthead #searchIconContainer .icon-search {
  font-size: 28px;
  color: #ffffff;
  transition: transform 0.2s ease;
}

#masthead #searchIconContainer:hover .icon-search {
  transform: scale(1.08);
}

#site-header-menu #searchContainer form #checkSearch:checked ~ #searchIconContainer span::before {
  color: #ffffff;
}


/* Slider */
.so-widget-sow-hero-default-155abe4e6856-1136 .sow-slider-base ul.sow-slider-images .sow-slider-image-wrapper {
  padding: calc( 5% + 2% ) 20px 10% 20px !important;
  max-width: 1200px;
  height: 720px;
}

/* Post grid */
#post-grid-2515 {
  padding: 30px 15px;
}

#post-grid-2515 .grid-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  text-align: initial !important;
}

#post-grid-2515 .item {
  width: 290px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  display: flex !important;
}

#post-grid-2515 .layer-wrapper {
  width: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 54, 65, 0.18);
  border: 1px solid rgba(0, 132, 152, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#post-grid-2515 .layer-wrapper:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(0, 54, 65, 0.26);
}

#post-grid-2515 .layer-media {
  width: 100%;
  min-height: 12px;
  background: linear-gradient(90deg, #007f95, #32b5c8);
}

#post-grid-2515 .layer-media:empty {
  min-height: 12px;
}

#post-grid-2515 .layer-media img {
  width: 100%;
  height: 125px;
  object-fit: cover;
  display: block;
}

#post-grid-2515 .layer-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 18px;
}

#post-grid-2515 .element_0 {
  padding: 0 !important;
  margin-bottom: 14px;
  text-align: center !important;
  font-size: 18px !important;
  line-height: 1.22 !important;
  font-weight: 700;
  letter-spacing: 0.02em;
}

#post-grid-2515 .element_0 a {
  color: #007f95;
  text-decoration: none;
}

#post-grid-2515 .element_0 a:hover {
  color: #005f70;
}

#post-grid-2515 .element_1 {
  padding: 0 !important;
  text-align: center !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  color: #2c2c2c;
  margin-bottom: 20px;
}

#post-grid-2515 .element_2 {
  margin-top: auto;
  align-self: flex-end;
  padding: 8px 12px !important;
  font-size: 12px !important;
  line-height: 1 !important;
  color: #007f95;
  text-decoration: none;
  border-top: 1px solid #007f95;
  transition: color 0.2s ease, padding-right 0.2s ease;
}

#post-grid-2515 .element_2:hover {
  color: #005f70;
  padding-right: 18px !important;
}

@media only screen and (max-width: 767px) {
  #post-grid-2515 {
    padding: 20px 10px;
  }

  #post-grid-2515 .grid-items {
    gap: 18px;
  }

  #post-grid-2515 .item {
    width: 92% !important;
  }

  #post-grid-2515 .layer-wrapper {
    min-height: 240px;
  }
}


/* Post grid */
#nav_menu-3 {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
}

#nav_menu-3 .widget-title {
  margin: 0 0 20px;
  padding-bottom: 12px;
  font-size: 22px;
  font-weight: 600;
  color: #0b4f5c;
  border-bottom: 2px solid rgba(0, 127, 149, 0.15);
}

#nav_menu-3 .menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

#nav_menu-3 .menu-item {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(0, 127, 149, 0.08);
}

#nav_menu-3 .menu-item:last-child {
  border-bottom: none;
}

#nav_menu-3 .menu-item a {
  display: block;
  padding: 5px 0;
  color: #2b2b2b;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.2s ease;
}

#nav_menu-3 .menu-item a:hover {
  color: #007f95;
  padding-left: 8px;
}

#nav_menu-3 .menu-item.current-menu-item a,
#nav_menu-3 .menu-item.current_page_item a {
  color: #007f95;
  font-weight: 600;
}

@media (max-width: 768px) {
  #nav_menu-3 {
    padding: 18px;
  }

  #nav_menu-3 .widget-title {
    font-size: 20px;
  }

  #nav_menu-3 .menu-item a {
    padding: 12px 0;
  }
}


/* 404 */
.pheeac-404-page {
	padding: 64px 20px;
	background: #ffffff;
}

.pheeac-404-page .site-main {
	max-width: 980px;
	margin: 0 auto;
}

.pheeac-404 {
	border-top: 5px solid #1f4f84;
	background: #f7f9fb;
	padding: 48px;
}

.pheeac-404-kicker {
	display: inline-block;
	margin-bottom: 18px;
	padding: 6px 12px;
	background: #eaf3f6;
	color: #1f4f84;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.pheeac-404 .page-title {
	margin: 0 0 18px;
	color: #1f4f84;
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 700;
	line-height: 1.15;
}

.pheeac-404-intro {
	max-width: 720px;
	margin: 0;
	color: #333333;
	font-size: 18px;
	line-height: 1.65;
}

.pheeac-404-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
	margin-top: 32px;
}

.pheeac-404-btn,
.pheeac-404-link {
	font-weight: 700;
}

.pheeac-404-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	background: #1f4f84;
	color: #ffffff;
	text-decoration: none;
	border: 2px solid #1f4f84;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.pheeac-404-btn:hover,
.pheeac-404-btn:focus {
	background: #173f6b;
	border-color: #173f6b;
	color: #ffffff;
}

.pheeac-404-link {
	color: #1f4f84;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.pheeac-404-link:hover,
.pheeac-404-link:focus {
	color: #12365d;
}

@media (max-width: 700px) {
	.pheeac-404-page {
		padding: 32px 15px;
	}

	.pheeac-404 {
		padding: 30px 22px;
	}

	.pheeac-404-actions {
		align-items: flex-start;
		flex-direction: column;
	}
}


/* Chercheurs */
.chercheur .entry-content, .article_chercheur .entry-content {
	margin-right: auto !important;
	margin-left: auto !important;
	width: 100% !important;
}