.content {
    transition: transform 0.3s ease;
    max-width: 600px;
    margin: 10rem auto 2rem;
    padding: 0 1rem;
    line-height: 1.85rem;

    animation-duration: 0.8s;
    animation-delay: 0.3s;
}
.content a {
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid transparent;

    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-style: normal;
}
.content p {
    color: #1f2937;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;

    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-style: normal;
}
.content h2,h3 {
    color: #1f2937;

    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-style: normal;
}
.content img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 15px;
    margin: 2rem 0 0.5rem 0;
    display: block;
    border: 1px solid #eee;
}
.content img + p {
    font-size: 0.85rem;
    color: #999;
    margin-top: 0;
    margin-bottom: 2rem;
    line-height: 1.4;
    text-align: center;
    font-weight: 300;
}
.content video {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 15px;
}
.content .divider {
    height: 0.75px;
    background: #eee;
    margin: 5rem 0;
}
.content .post-info {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.85em;
    margin-top: -1em;   /* keep the spacing you had */

    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-style: normal;
}
.content-button {
    padding: 0.9rem 1.3rem;
    background-color: #f3f4f6;
    color:#374151;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 15px;
}
.content-button:hover {
    background-color: #eee;
}
.post-signature {
    margin-top:40px;
}
.post-signature p:first-child {
    color: #333;
    font-weight: 400;
    margin:0;
    font-size: 1.1rem;
}
.post-signature p {
    color: gray;
    font-weight: 200;
    margin:0;
    font-size: 0.95rem;
}

#top-app-store-link-mobile {
    display:none;
}




body.modal-open {
    overflow-y: hidden;
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 1000;
}
.modal-mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: white;
    z-index: 1000;
}



.modal.active {
    display: block;
}
.modal-mobile.active {
    display: block;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: black;
    font-size: 35px;
    width: 35px;
    height: 35px;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
    line-height: 1;
}

.scroll-container {
    width: 100%;
    height: 100vh;
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
}
.panel {
    min-width: 100vw;
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white; /* fallback background */
}
.panel img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* scale aspect fit */
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: black;
    font-size: 60px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    z-index: 1001;
    border-radius: 50%;
    padding: 0;
    line-height: 1;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.prev-btn {
    left: 20px;
}
.next-btn {
    right: 20px;
}


#halffull {
  width: 50%;
}


/* Responsive Adjustments for <= 1050px */
@media (max-width: 1050px) {

    #top-app-store-link-mobile {
        display:inline-block;
    }
    .content {
        margin: 7rem auto 2rem;
        padding: 0 1.25rem;
        line-height: 1.85rem;
    }
    .content p {
        font-size: 1.1rem;
    }

    #halffull {
        width: 100%;
      }

}






  /* Post Modal styles */
  .post-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 1000;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
  }

  .post-modal.active {
    display: block;
  }

  .post-modal-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 40px 40px;
    position: relative;
    min-height: calc(100% + 1px);
  }

  .post-modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    background: white;
    border: none;
    color: #666;
    line-height: 1;
    z-index: 1001;
    padding: 5px 10px;
  }

  .post-modal-close:hover {
    color: #000;
  }

  body.post-modal-open {
    overflow: hidden;
  }

  @media (max-width: 1050px) {
    .post-modal-content {
      margin: 0;
      padding: 30px 20px;
      border-radius: 0;
      min-height: 100%;
    }
  }