/* Data Losses page (ported from essential-data-us-v2 terms.css).
   Self-contained: colors inlined, scoped under .data-losses, and the
   essentialdata-specific header overrides intentionally dropped so this
   file does not affect dataindex's own header. */

:root {
  --dl-tech-blue: #1a3952;
  --dl-accent: #6c5ce7;
  --dl-title-blue: #2d618b;
}

.data-losses.content__container {
  background-color: #f4f8f9;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  padding: 5%;
  padding-top: 60px;
}

.data-losses b { font-weight: bold; }

.data-losses .termination__type {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: var(--dl-tech-blue);
  padding: 10px;
  color: white;
  font-size: 20px;
}
.data-losses .termination__type p { margin: 0px; }
.data-losses .termination__type::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-bottom: 4px solid var(--dl-accent);
}

.data-losses .termination__container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  width: 100%;
}

.data-losses .termination__item {
  border: 2px solid var(--dl-tech-blue);
}

.data-losses .termination__text-container {
  display: inline-grid;
  cursor: pointer;
  padding: 10px;
  align-items: start;
}
.data-losses .termination__text-container > div {
  grid-area: 1 / 1;
  transition: opacity 0.3s ease;
  margin: 0;
  font-size: 18px;
  max-height: 200px;
}
.data-losses .termination__content--hide {
  opacity: 0;
  overflow-y: auto;
}
.data-losses .termination__text-container:hover .termination__content--show { opacity: 0; }
.data-losses .termination__text-container:hover .termination__content--hide { opacity: 1; }

.data-losses .termination__content--hide a { color: var(--dl-title-blue); }

.data-losses .partner__container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 80%;
  gap: 20px;
  height: 100px;
}
.data-losses .partner__item {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  text-decoration: none;
  color: rgb(91, 91, 91);
}
.data-losses .partner__item:hover { color: rgb(32, 32, 32); }
.data-losses .partner__item img { height: 100%; }

.data-losses .ad__container {
  display: flex;
  flex-direction: row;
  gap: 25px;
  justify-content: space-around;
  width: 100%;
  height: 130px;
  margin: 40px 0px;
}
.data-losses .ad__temp {
  display: flex;
  flex-direction: row;
  padding: 10px;
  width: 45%;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  height: 50%;
}
.data-losses .ad__temp hr {
  width: 2px;
  height: 70%;
  border: 0;
  background-color: black;
  color: black;
}
.data-losses .ad__bubble {
  height: 30%;
  align-self: flex-start;
  padding-top: 20px;
}
.data-losses .ad__title {
  font-size: 19px;
  margin: 0px;
  line-height: 20px;
}
.data-losses .ad__text {
  width: 95%;
  color: #4d4d4d;
  margin: 5px;
  line-height: 20px;
  font-size: 16px;
}
.data-losses .ad__logo { height: 70%; }
.data-losses .ad__temp--yel { background-color: #fdeb0d; }
.data-losses .ad__temp--blue { background-color: #9dcdfb; }
.data-losses .ad__temp--yel h2 { color: #e94f36; }
.data-losses .ad__temp--blue h2 { color: var(--dl-title-blue); }

.data-losses .usecase__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 83%;
  color: #6b6b6d;
  margin: 10px;
}
.data-losses .usecase__text p { text-align: left; display: inline-block; }
.data-losses .usecase__title {
  color: var(--dl-title-blue);
  font-weight: bold;
  margin: 10px;
}

@media (max-width: 1150px) {
  .data-losses .termination__container { grid-template-columns: repeat(3, 1fr); }
  .data-losses .ad__container { flex-direction: column; align-items: center; height: auto; }
  .data-losses .ad__temp { width: 85%; height: 130px; }
  .data-losses .ad__logo { height: 45%; }
}
@media (max-width: 1000px) {
  .data-losses .termination__container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px) {
  .data-losses .termination__container { grid-template-columns: repeat(1, 1fr); }
  .data-losses .ad__temp { padding: 15px; flex-direction: column; align-items: flex-start; height: 100%; border-radius: 5px; }
  .data-losses .partner__container { flex-direction: column; height: auto; }
  .data-losses .partner__item { height: 80px; }
}
