


.daily-thought-box {
    position: relative;
    width: 100%;
    max-width: 850px;
    margin: 30px auto;
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
  }

  .daily-thought-text-overlay {
    cursor: pointer;
  }

  .thought-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
  }
  
  .daily-thought-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 5% 12% 2.5% 12%;
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    overflow: hidden;
  }
  
  .thought-text {
    font-size: 20px;
    margin: 0;
    font-style: italic;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .thought-author {
    font-size: 16px;
    font-style: italic;
    margin: 8px 0 0 0;
    text-align: right;
    width: 100%;
    font-weight: bold;
    padding-right: 25%;
    color: #4f5eaf;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Mobile responsiveness */
  @media (max-width: 768px) {
    .daily-thought-box {
      max-width: 98%;
      width: 98%;
      padding: 0;
      margin: 20px auto;
    }

    .daily-thought-text-overlay {
      padding: 5% 10% 2.5% 10%;
    }

    .thought-text {
      font-size: 13px;
      line-height: 1.3;
      margin: 0;
    }

    .thought-author {
      font-size: 11px;
      text-align: right;
      padding-right: 15%;
      margin: 6px 0 0 0;
    }
  }

  @media (max-width: 480px) {
    .daily-thought-box {
      max-width: 98%;
      width: 98%;
      margin: 15px auto;
    }

    .daily-thought-text-overlay {
      padding: 5% 9% 2.5% 9%;
    }

    .thought-text {
      font-size: 11px;
      margin: 0;
      line-height: 1.25;
    }

    .thought-author {
      font-size: 9px;
      text-align: right;
      padding-right: 12%;
      margin: 5px 0 0 0;
    }
  }

  @media (max-width: 360px) {
    .daily-thought-box {
      max-width: 98%;
      width: 98%;
      margin: 12px auto;
    }

    .daily-thought-text-overlay {
      padding: 5% 8% 2.5% 8%;
    }

    .thought-text {
      font-size: 10px;
      margin: 0;
      line-height: 1.2;
    }

    .thought-author {
      font-size: 8px;
      text-align: right;
      padding-right: 10%;
      margin: 4px 0 0 0;
    }
  }
  