/* ================================
   PAGE TITLE BANNER
   ================================ */
.page-title-banner {
  background-color: #f5f5f5;
  padding: 30px 0;
  margin-bottom: 40px;
  border-bottom: 3px solid #1f96c8;
}

.page-title {
  font-family: 'Lato', sans-serif;
  font-size: 28px;
  font-weight: 300;
  color: #1f96c8;
  margin: 0;
  padding-bottom: 15px;
  border-bottom: none;
}

/* ================================
   CONTENT LAYOUT (2 colonnes)
   ================================ */
.main-content {
  padding: 0 0 60px;
}

.content-layout {
  display: flex;
  gap: 40px;
}

.content-main {
  flex: 1;
  min-width: 0;
}

.sidebar {
  width: 280px;
  flex-shrink: 0;
}

/* ================================
   CONTENT STYLING
   ================================ */
.content-main h2 {
  font-family: 'Lato', sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: #1f96c8;
  margin: 30px 0 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #1f96c8;
}

.content-main h2:first-child {
  margin-top: 0;
}

.content-main h3 {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #1f96c8;
  margin: 25px 0 10px;
}

.content-main p {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #474747;
  line-height: 1.7;
  margin-bottom: 15px;
}

.content-main strong {
  font-weight: 700;
}

/* ================================
   SIDEBAR MENU
   ================================ */
.sidebar-menu {
  background: #fff;
}

.sidebar-menu__title {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #1f96c8;
  margin: 0 0 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #1f96c8;
}

.sidebar-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-menu__item {
  border-bottom: 1px solid #eaeaea;
}

.sidebar-menu__item:last-child {
  border-bottom: none;
}

.sidebar-menu__link {
  display: block;
  padding: 12px 15px;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: #474747;
  text-decoration: none;
  transition: all 0.2s;
}

.sidebar-menu__link:hover {
  color: #1f96c8;
}

.sidebar-menu__link--active {
  background-color: #1f96c8;
  color: #fff;
}

.sidebar-menu__link--active:hover {
  color: #fff;
}

/* ================================
   TEAM MEMBERS GRID
   ================================ */
.team-section {
  margin-bottom: 30px;
}

.team-section__title {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #1f96c8;
  margin: 25px 0 15px;
}

.team-section__subtitle {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #1f96c8;
  margin: 20px 0 10px;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.team-member {
  text-align: center;
  width: 140px;
}

.team-member__photo {
  width: 120px;
  height: 120px;
  border-radius: 0;
  object-fit: cover;
  margin-bottom: 10px;
}

.team-member__name {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #474747;
  margin: 0;
}

.team-member__role {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #888;
  margin: 2px 0;
}

.team-member__location {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: #888;
  font-style: italic;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 991px) {
  .content-layout {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100%;
    order: -1;
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .page-title-banner {
    padding: 20px 0;
  }
  
  .page-title {
    font-size: 22px;
  }
  
  .team-grid {
    justify-content: center;
  }
}

/* ================================
   SIDEBAR MENU - Style GRACE original
   ================================ */
.sidebar-menu {
  background: #fff;
}

.sidebar-menu__title {
  font-family: 'Lato', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #1f96c8;
  margin: 0 0 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #1f96c8;
}

.sidebar-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-menu__item {
  border-bottom: 1px solid #eaeaea;
}

.sidebar-menu__item:last-child {
  border-bottom: none;
}

.sidebar-menu__link {
  display: block;
  padding: 12px 15px;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: #474747;
  text-decoration: none;
  transition: all 0.2s;
}

.sidebar-menu__link:hover {
  color: #1f96c8;
}

.sidebar-menu__link--active {
  background-color: #1f96c8;
  color: #fff;
}

.sidebar-menu__link--active:hover {
  color: #fff;
}

/* ================================
   SIDEBAR BLOCK - Style du titre
   ================================ */
.sidebar nav[role="navigation"] > h2,
#block-grace-et-vous-sidebar h2,
#block-grace-et-vous-sidebar-menu {
  font-family: 'Lato', sans-serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  color: #1f96c8 !important;
  margin: 0 0 15px !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid #1f96c8 !important;
}

/* Supprimer le filet bleu sous le titre sidebar */
.sidebar nav[role="navigation"] > h2,
#block-grace-et-vous-sidebar h2,
#block-grace-et-vous-sidebar-menu {
  border-bottom: none !important;
}

/* ================================
   TEAM MEMBERS GRID
   ================================ */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 30px;
}

.team-member {
  text-align: center;
  width: 150px;
}

.team-member__photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin-bottom: 10px;
}

.team-member__name {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #474747;
  margin: 0 0 3px;
}

.team-member__role {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #888;
  margin: 0 0 3px;
}

.team-member__location {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: #888;
  font-style: italic;
  margin: 0;
}

/* Titres de sections dans le contenu */
.content-main h2 {
  font-family: 'Lato', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #1f96c8;
  margin: 30px 0 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #1f96c8;
}

.content-main h2:first-child {
  margin-top: 0;
}

.content-main h3 {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #1f96c8;
  margin: 25px 0 12px;
}

.content-main p {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #474747;
  line-height: 1.7;
  margin-bottom: 15px;
}

@media (max-width: 767px) {
  .team-grid {
    justify-content: center;
  }
  
  .team-member {
    width: 130px;
  }
}

/* Images dans le contenu */
.content-main .content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
}

.content-main .text-center {
  text-align: center;
}

.content-main .caption {
  font-size: 13px;
  color: #888;
  margin-top: -10px;
  margin-bottom: 25px;
}

/* Listes dans le contenu */
.content-main ul {
  margin: 15px 0 20px 20px;
  padding: 0;
}

.content-main ul li {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #474747;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* Partners Grid */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.partners-grid img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .partners-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* === Patient Blood Management (PBM) Page Styles === */

.pbm-actions {
  margin-bottom: 30px;
}

.pbm-action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.pbm-action-item {
  padding: 20px;
}

.pbm-action-item .pbm-icon {
  font-size: 48px;
  color: #5e5e5e;
  margin-bottom: 15px;
}

.pbm-action-item .btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #1f96c8;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
}

.pbm-action-item .btn:hover {
  background-color: #177aa3;
}

.pbm-action-item .btn i {
  margin-right: 8px;
}

.content-main blockquote {
  background-color: #f5f5f5;
  border-left: 4px solid #1f96c8;
  padding: 20px;
  margin: 20px 0;
  font-style: italic;
}

.text-right {
  text-align: right;
}

.pbm-table-wrapper {
  overflow-x: auto;
  margin: 30px 0;
}

.pbm-pillars-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #f2f2f2;
  font-size: 13px;
}

.pbm-pillars-table th,
.pbm-pillars-table td {
  padding: 15px;
  border: 1px solid #ddd;
  vertical-align: top;
}

.pbm-header-row th {
  background-color: #f2f2f2;
  color: #3a82ba;
  text-align: center;
  font-weight: bold;
  width: 33.33%;
}

.pbm-phase-row td {
  background-color: #3a82ba;
  color: white;
  text-align: center;
  font-weight: bold;
  padding: 10px;
}

.pbm-content-row td {
  background-color: #f9f9f9;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .pbm-action-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .pbm-pillars-table {
    font-size: 12px;
  }
  
  .pbm-pillars-table th,
  .pbm-pillars-table td {
    padding: 10px;
  }
}

/* === Accordion style WordPress Visual Composer === */
.accordion-container {
  margin: 20px 0;
}

details.accordion-item {
  margin-bottom: 0;
  border: 1px solid #ddd;
  background: #f5f5f5;
}

details.accordion-item:first-child {
  border-radius: 4px 4px 0 0;
}

details.accordion-item:last-child {
  border-radius: 0 0 4px 4px;
}

details.accordion-item:only-child {
  border-radius: 4px;
}

details.accordion-item + details.accordion-item {
  border-top: none;
}

summary.accordion-header {
  padding: 15px 20px 15px 45px;
  background-color: #f5f5f5;
  cursor: pointer;
  font-weight: 400;
  font-size: 15px;
  color: #666;
  list-style: none;
  position: relative;
  transition: all 0.3s ease;
}

summary.accordion-header::-webkit-details-marker {
  display: none;
}

summary.accordion-header::before {
  content: '+';
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border: 2px solid #ccc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: normal;
  color: #999;
  line-height: 1;
  text-align: center;
  padding-bottom: 2px;
  box-sizing: border-box;
}

details[open] summary.accordion-header::before {
  content: '−';
  border-color: #1f96c8;
  color: #1f96c8;
}

summary.accordion-header:hover {
  color: #1f96c8;
}

details[open] summary.accordion-header {
  color: #1f96c8;
  border-bottom: 1px solid #ddd;
}

.accordion-content {
  padding: 20px 20px 20px 45px;
  background-color: #f5f5f5;
}

.accordion-content p {
  margin-bottom: 15px;
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

.accordion-content a:not(.btn) {
  color: #1f96c8;
  word-break: break-all;
}

.accordion-content hr {
  margin: 20px 0;
  border: none;
  border-top: 1px solid #ddd;
}

.accordion-content .btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #1f96c8;
  color: white !important;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  margin-top: 5px;
}

.accordion-content .btn:hover {
  background-color: #177aa3;
}

.accordion-content .btn i {
  margin-right: 8px;
}
