body {
  margin: 0 auto;
  width: 100%;
  padding: 0;
  max-width: 30rem;
  position: relative;
  color: black;
}

p {
  line-height: 1.5;
  margin: 0;
}

h2, h3 {
  margin: 0;
}

.icon {
  width: 1.5rem;
  height: 1.5rem;
}

a {
  text-decoration: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#modal {
  display: flex;
  flex-direction: column;
  position: absolute;
  z-index: 1;
  width: 100%;
  bottom: 0;
  transition:
    top 0.2s ease-out,
    opacity 0.1s ease-out;
  transform: translateZ(0);
}

#close {
  align-self: end;
  padding: 1rem;
  cursor: pointer;
  line-height: 0;
}

#keyView, #copyView, #qrView {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 1rem;
  text-align: center;
}

#keyView p, #copyView p, #qrView p {
  margin: 2rem;
}

#copyURL, #dlKey {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
  border: none;
  outline: none;
  cursor: pointer;
  box-sizing: border-box;
}

#copyURL span, #dlKey span {
  margin-left: 0.5rem;
}

#qrView h3 {
  margin: 2rem 2rem 0;
}

#qrView p {
  margin: 0.5rem 2rem 0;
}

#qr {
  margin: 2rem;
  padding: 2rem;
  background: #fff;
  border-radius: 0.5rem;
}

.headerImgC {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto;
  overflow: hidden;
}

#cover {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 20rem;
  -o-object-position: top center;
  object-position: top center;
  -o-object-fit: cover;
  object-fit: cover;
}

#logo {
  max-height: 6rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  justify-self: center;
}

#topActions {
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: flex-start;
}

#topActions > div {
  display: flex;
}

#topActions a {
  padding: 1rem;
  cursor: pointer;
  line-height: 0;
}

main {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 80px;
}

#profilePhoto {
  width: 10rem;
  height: 10rem;
  border-radius: 0.5rem;
  box-sizing: content-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin-top: -6rem;
}

#info {
display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  line-height: 1.25;
  word-break: break-word;
}

.name {
  font-weight: bold;
  font-size: 1.5rem;
  margin: 0;
}

.pronouns {
  display: block;
  font-size: 0.9rem;
  opacity: 0.8;
  font-weight: normal;
  margin: 0 0 0.5rem;
}

.bizname {
  font-size: 0.9rem;
  margin: 0.5rem 0 0 0;
  opacity: 0.8;
}

.bizaddr {
  font-size: 0.8rem;
  opacity: 0.6;
}

.sub, .textC {
  font-size: 1rem;
  white-space: pre-line;
  line-height: 1.5;
}

.sub {
  font-size: 0.9rem;
  margin: 0.5rem 0 0;
  opacity: 0.8;
}

.textC {
  margin: 1rem;
}

#cta {
  display: flex;
  align-items: center;
  border-radius: 0.5rem;
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  cursor: pointer;
  line-height: 0;
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
}

#cta .icon {
  margin-right: 0.5rem;
}

#cta p {
  margin: 0;
}

.actions {
  width: 100%;
  margin: 2rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.actionsC {
  width: 33.33%;
}

.actionBtn {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.actionBtn a {
  border-radius: 0.5rem;
  padding: 1rem;
  line-height: 0;
}

.actionBtn p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
}

.secBtn {
  padding: 1rem;
}

.featured {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 1rem 0 2rem;
  width: 100%;
}

.section {
  font-weight: bold;
  text-align: center;
  font-size: 1.3rem;
  padding: 1rem 0;
}

.media {
  overflow: hidden;
  border-radius: 0.5rem;
  margin-top: 1rem;
}

.media img {
  display: block;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width: 100%;
}

.embedded {
  position: relative;
  padding-top: 100%;
}

.embedded iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.music, .video {
  width: 100%;
}

.mediaC {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

video {
  width: 100%;
}

.controls {
  padding: 1rem;
  font-size: 0.9rem;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.controls--align-left {
  text-align: left;
}

.controls ul {
  padding-left: 20px;
}

.pCtrl, .docDl {
  display: none;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.docDl {
  display: flex;
}

.seekBar {
  width: 100%;
  height: 0.5rem;
  margin: 1.5rem 0 0.5rem;
  border-radius: 0.5rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}

.playPause, .dlBtn {
  margin: 1rem 0 0.5rem;
  padding: 1rem;
  border-radius: 0.5rem;
  line-height: 0;
  cursor: pointer;
}

.pause {
  display: none;
}

.title {
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
}

.prodInfo .sub {
  margin: -1rem 0 0;
}

.price {
  margin: 1rem 0 0;
  font-size: 1rem;
  font-weight: bold;
}

.label {
  display: inline-block;
  font-size: 1rem;
  margin: 1rem 0 0.5rem;
  border-radius: 0.5rem;
  letter-spacing: 1px;
  padding: 1rem 1.5rem;
}

.label p {
  margin: 0;
}

/* Enhanced Post Content Styling */

.post {
  text-align: left;
}

.post-content {
  margin: 0 auto;
  padding: 1rem;
  background: white;
  border-radius: 8px;
}

/* Headings */
.post-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 2rem 0 1.5rem 0;
  line-height: 1.3;
  color: #1a1a1a;
}

.post-content h2 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.post-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
  color: #34495e;
}

.post-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem 0;
  color: #34495e;
}

/* Links */
.post-content a {
  color: #04875E;
  text-decoration: none;
  border-bottom: 1px solid #04875E40;
  transition: border-color 0.2s ease;
}

.post-content a:hover {
  border-bottom-color: #04875E;
}

/* Horizontal Rules */
.post-content hr {
  margin: 3rem 0;
  border: none;
  border-top: 2px solid #e0e0e0;
}

/* Blockquotes */
.post-content blockquote {
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid #04875E;
  background: #f8f9fa;
  font-style: italic;
}

/* Code blocks */
.post-content code {
  background: #f4f4f4;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9em;
  font-family: 'Courier New', monospace;
}

.post-content pre {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 1.5rem;
  border-radius: 5px;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.post-content pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

.post-content ul {
  margin: 4px 0px;
  padding-left: 20px;
}

.post-content p {
  margin-top: 24px;
}

.post-content p:first-child {
  margin-top: 0px;
}

/* Post Header */
.post-header {
  margin: 0 auto 1rem auto;
  padding: 2rem 1rem 0 1rem;
}

.post-title {
  font-size: 2.3rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  line-height: 1.2;
  color: #1a1a1a;
}

/* Responsive */
@media (max-width: 768px) {
  .post-content {
    padding: 1.5rem 1rem;
  }

  .post-title {
    font-size: 2rem;
  }

  .post-content h1 {
    font-size: 2rem;
  }

  .post-content h2 {
    font-size: 1.5rem;
  }

  .post-content h3 {
    font-size: 1.25rem;
  }

  .post-content p,
  .post-content li {
    font-size: 1rem;
  }
}

footer {
  padding: 4rem 1rem 2rem;
  font-size: 0.9rem;
  text-align: center;
}

footer a {
  text-decoration: underline;
  color: inherit;
}
