/* =================================================================
   PRINTRELEAF MODAL
   PrintReleaf reforestation story shown from the Earth sustainability
   page. Trigger card + narrative modal with pull-quote and CTA.
   ================================================================= */

/* =================================================================
   TRIGGER CARD
   ================================================================= */

.printreleaf-card {
  float: right;
  clear: right;
  width: 280px;
  margin: 0 0 20px 25px;
}

.printreleaf-card__trigger {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border: 1px solid #90caf9;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.printreleaf-card__trigger:hover {
  box-shadow: 0 8px 25px rgb(25, 118, 210, 0.15);
  transform: translateY(-2px);
}

.printreleaf-card__thumbnail {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 25px;
}

.printreleaf-card__thumbnail img {
  width: auto;
  height: 70px;
}

.printreleaf-card__info {
  padding: 15px 20px;
  text-align: left;
  background: white;
}

.printreleaf-card__label {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #1565c0;
}

.printreleaf-card__title {
  display: block;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: #0d47a1;
}

/* =================================================================
   MODAL CONTAINER
   ================================================================= */

.printreleaf-modal {
  position: fixed;
  z-index: 1000;
  display: none;
  inset: 0;
}

.printreleaf-modal.is-active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.printreleaf-modal__backdrop {
  position: absolute;
  background: rgb(0, 0, 0, 0.7);
  inset: 0;
}

.printreleaf-modal__content {
  position: relative;
  width: 90%;
  max-width: 800px;
  max-height: 90dvh;
  padding: 40px;
  overflow-y: auto;
  background: white;
  border-radius: 16px;
}

.printreleaf-modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  font-size: 20px;
  color: #666;
  background: #f5f5f5;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

.printreleaf-modal__close:hover {
  background: #e0e0e0;
}

.printreleaf-modal__title {
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  color: #1565c0;
}

.printreleaf-modal__story {
  margin-bottom: 30px;
}

.printreleaf-modal__story h3 {
  margin-bottom: 15px;
  font-family: var(--font-heading);
  font-size: 20px;
  color: #2e7d32;
}

.printreleaf-modal__story p {
  margin-bottom: 15px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}

.printreleaf-modal__quote {
  margin: 20px 0;
  padding: 20px;
  font-style: italic;
  background: #fff3e0;
  border-left: 4px solid #ff9800;
  border-radius: 0 8px 8px 0;
}

.printreleaf-modal__quote p {
  margin: 0;
  color: #e65100;
}

.printreleaf-modal__cta {
  padding-top: 20px;
  text-align: center;
  border-top: 1px solid #eee;
}

.printreleaf-modal__cta p {
  margin-bottom: 15px;
  color: #666;
}

.printreleaf-modal__cta a {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 600;
  text-decoration: none;
  color: white;
  background: #1565c0;
  border-radius: 6px;
  transition: background 0.2s;
}

.printreleaf-modal__cta a:hover {
  background: #0d47a1;
}
