/* ==========================================================================
   COMPONENT / DETAILED VALUE SECTION
   Text + dashed-border photo card + play button ("פענוח מצוקה...",
   "וויסות אינו שליטה עצמית..."). Moved out of pages/_category.css
   (2026) — Tool.html uses the exact same layout (same 688px column
   math, same play-button/photo styling), just its own text/image, so
   this now lives here instead of being duplicated per page. Any page
   using it links this file and provides its own .cat-value__title /
   __text / __image content within the same markup structure.
   ========================================================================== */

/* ==========================================================================
   Detailed Value Section
   ========================================================================== */

.cat-value {
  width: 100%;
  max-width: 1456px;
  margin: 40px auto;
  box-sizing: border-box;
}

.cat-value__container {
  display: flex;
  flex-direction: row-reverse; /* RTL: Text on Right, Image on Left */
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  width: 100%;
  margin: 100px 0;
}

/* --- Right Column: Content --- */
.cat-value__content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
  gap: 31px;
  flex: 1 1 688px;
  max-width: 688px;
}

.cat-value__title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 42px;
  color: #000080;
  margin: 0;
}

.cat-value__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0px 15px;
  gap: 23px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  box-sizing: border-box;
  width: 100%;
  min-height: 275px;
}

.cat-value__text {
  font-family: 'Fredoka', sans-serif;
  font-weight: 400;
  font-size: 21px;
  line-height: 32px;
  color: #183B51;
  text-align: right;
  margin: 0;
}

/* --- Left Column: Image / Polaroid with Dashed Border --- */
.cat-value__media-col {
  position: relative;
  flex: 0 0 688px;
  width: 688px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tilt Background Effect from Figma */
.cat-value__polaroid-bg {
  position: absolute;
  top: -15px;
  right: -15px;
  bottom: -15px;
  left: -15px;
  background: #F5F5F5;
  border-radius: 18px;
  /* transform: rotate(1.15deg); */
  z-index: 1;
  border: 2px dashed #E89DC4;
}

/* Dashed Border Wrapper */
.cat-value__media-col::before {
}

.cat-value__image-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0px 20px 25px -5px rgba(0, 0, 0, 0.1), 0px 8px 10px -6px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.cat-value__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Play Button Component */
.cat-value__play-btn {
  position: absolute;
  bottom: 25px;
  right: 25px;
  width: 76px;
  height: 76px;
  border: none;
  border-radius: 50%;
  background: #CB6DA7;
  box-shadow: 0px 18px 30px -10px rgba(194, 45, 175, 0.667);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
  z-index: 4;
}

.cat-value__play-btn:hover {
  transform: scale(1.08);
  background-color: #c22daf;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 1200px) {
  .cat-value__container {
    flex-direction: column;
    gap: 40px;
  }

  .cat-value__content-col,
  .cat-value__media-col {
    max-width: 100%;
    flex: 1 1 auto;
    width: 100%;
  }

  .cat-value__media-col {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .cat-value__media-col {
    height: 300px;
  }

  .cat-value__title {
    font-size: 26px;
    line-height: 34px;
  }

  .cat-value__text {
    font-size: 18px;
    line-height: 28px;
  }

  .cat-value__play-btn {
    width: 56px;
    height: 56px;
    bottom: 16px;
    right: 16px;
  }
}


