@charset "utf-8";
html, body {
    height: 100%;
    margin: 0;
    padding: 0;

}
.page-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
    background: #fff;
    align-items: flex-start;
}
.layout {
	width:75%;
}
.news-tickers {
	background:none !important;
}
.news-ticker {
        top: 0 !important;
}
.main-container {
    position: relative; /* nécessaire pour le positionnement du ::before */
    overflow: hidden; /* pour éviter que le blur déborde */
}

.main-container::before {
    content: "";
    position: fixed;
    top: 0 !important;
    left: 0;
	right:0;
	bottom:0;
    width: 100vw;
    height: 100vh;
    background: url('/images/world-map.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(8px) brightness(0.85);
    z-index: -1; /* met l'image derrière le contenu */
}
.content-block { background:none !important; box-shadow:none !important; }

.main-content {
    flex: 1 1 0%;
    background: #fff;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    width: 100%;
}
.main-flex {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    gap: 0;
}
.center-zone {
    flex: 2 1 0%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    align-items: flex-start;
}
.obituary-page-container {
	max-width: 100%;
  margin: 0 0 0 auto;
    border-radius: 16px;
  box-shadow: 0 8px 44px rgba(30,56,87,0.10);
  padding: 0px 28px 24px 28px;
   position: relative;
  background: 
    repeating-linear-gradient(
      120deg,
      rgba(23,75,138,0.08),
      rgba(23,75,138,0.08) 1px,
      transparent 2px,
      transparent 12px
    );
	/*background-position:37% top;
	background-size: contain;
	background-attachment: fixed;
	

  /* optionnel pour adoucir encore plus, sinon laisse commenter */
 /* box-shadow: 0 8px 44px rgba(30,56,87,0.10), 0 0 0 2000px rgba(255,255,255,0.04) inset; */
}
.obituary-page-title {
  text-align: center;
  color: #174b8a;
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 30px;
  letter-spacing: 1px;
}
.obituary-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  
}
.obituary-table-head {
  display: grid;
  grid-template-columns: 120px 1.5fr 30px 1.3fr 2.5fr;
  background: #f3f7fa;
  color: #174b8a;
  font-weight: 700;
  padding: 11px 12px;
  border-radius: 10px 10px 0 0;
  font-size: 1.07em;
  border-bottom: 2px solid #e4e9f2;
}
.obituary-table-row {
  display: grid;
  grid-template-columns: 120px 1.5fr 30px 1.3fr 2.5fr;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid #f1f1f1;
  font-size: 1.02em;
  transition: background 0.15s;
}
.obituary-table-row span:nth-child(3),
.obituary-table-row span:nth-child(4) {
  text-align: center;
}

.obituary-table-head span:nth-child(3),
.obituary-table-head span:nth-child(4) {
  text-align: center;
}
.obituary-table-row:last-child {
  border-bottom: none;
}
.obituary-table-row:hover {
  background: #f6faff;
}
.section-bar {
    background: #F06D12;
    color: #fff;
    font-weight: bold;
    padding: 22px 22px;
    font-size: 2em;
    border-radius: 0 0 18px 18px;
    display: flex;
    align-items: center;
	justify-content:center;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
    margin-top: 0;
    box-sizing: border-box;
}
@media (max-width: 900px) {
  .obituary-table-head, .obituary-table-row {
    grid-template-columns: 85px 1.4fr 30px 1fr 2.5fr;
    font-size: 0.97em;
    padding: 8px 4px;
  }
  .obituary-page-container {
    padding: 16px 3px 14px 3px;
  }
  .obituary-table-row span:nth-child(3),
.obituary-table-row span:nth-child(4) {
  text-align: center;
}

.obituary-table-head span:nth-child(3),
.obituary-table-head span:nth-child(4) {
  text-align: center;
}
  .obituary-table {
    display: block;
  }

  .obituary-table-head {
    display: none; /* Cache les en-têtes */
  }

  .obituary-table-row {
    display: block;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin-bottom: 15px;
    padding: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  .obituary-table-row span {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95em;
    text-align: left; /* Important pour le contenu */
	font-weight: bold;
    color: #555;
  }

  .obituary-table-row span:last-child {
    border-bottom: none;
  }

  .obituary-table-row span::before {
    content: attr(data-label) ": ";
    width: 120px; /* Fixe une largeur propre */
    flex-shrink: 0; /* Le label ne se réduit pas */
    text-align: left;
	font-weight:normal;
	color:#000;
  }

  .obituary-table-row span > * {
    flex: 1;
  }
}