/* Grasta Custom Blocks v1.0.1: frontend only; each block is independent. */
.grasta-read-more-table { position: relative; }
.grasta-read-more-table, .grasta-read-more-table * { box-sizing: border-box; }
.grasta-read-more-content { max-height: 300px; overflow: hidden; }
.grasta-read-more-toggle {
  position: absolute; z-index: 2; top: 160px; left: 0; right: 0;
  height: 140px; display: flex; align-items: flex-end; justify-content: center;
  padding: 0 8px 20px; cursor: pointer;
  background: linear-gradient(to bottom, rgba(250,252,252,0), rgba(250,252,252,.95) 90%);
}
.grasta-read-more-check { position: absolute; width: 1px; height: 1px; opacity: 0; }
.grasta-read-more-button {
  display: inline-block; border-radius: 999px; background: #d46b60;
  color: #fff; font-size: 14px; line-height: 1.5; padding: 8px 30px;
}
.grasta-read-more-toggle:focus-within .grasta-read-more-button { outline: 2px solid #333; outline-offset: 3px; }
.grasta-read-more-table:has(.grasta-read-more-check:checked) > .grasta-read-more-content { max-height: none; overflow: visible; }
.grasta-read-more-table:has(.grasta-read-more-check:checked) > .grasta-read-more-toggle { display: none; }
