body {
  margin: 0;
  font-family: Georgia, serif;
  background: url("background4_c1.jpg") no-repeat center center fixed;
  background-size: cover;
  color: #333;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.7);
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.hero-image {
  max-width: 100%;
  height: auto;
  max-height: 30vh;
}

.subtitle {
  font-size: 1.2em;
  color: #666;
  margin-top: 10px;
}

h1 {
  font-size: 2em;
  margin-top: 20px;
}

h2 {
  font-size: 1.5em;
  margin-top: 15px;
}

p {
  text-align: left;
  line-height: 1.6;
  margin-top: 10px;
}

input,
textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

textarea {
  resize: vertical;
  height: 120px;
}

.meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.author {
  font-weight: bold;
}

.date {
  color: #393737;
  font-style: italic;
  padding: 2px 6px;
  border-radius: 3px;
}

.signature {
  margin-top: 20px;
  text-align: center;
}

.signature p {
  font-style: italic;
  font-size: 1.1em;
  color: #555;
  text-align: center;
}

.note {
  background-color: #f0f8ff;
  border-left: 4px solid #007bff;
  padding: 15px;
  margin-top: 25px;
  border-radius: 4px;
  color: #333;
  font-size: 0.95em;
}

/* Post styling */
article {
  margin-bottom: 30px;
  padding-bottom: 20px;
}

article:last-child {
  margin-bottom: 0;
}

.pinonright {
  margin-left: auto; 
  margin-right: 0;
}

.post-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  margin-top: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.post-content {
  flex: 1;
}

.post-image {
  max-width: 200px;
  max-height: 200px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .container {
    background-color: rgba(255, 255, 255, 0.65);
  }
  
  .hero-image {
    max-height: 70vh;
  }
  
  textarea {
    height: 80px;
  }
  
  .post-container {
    flex-direction: column;
    padding: 15px;
  }
  
  .post-image {
    max-width: 100%;
    margin-top: 15px;
  }
}


.line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
}

/* make left text a single flex item that can shrink/wrap correctly */
.left {
  flex: 1;       /* fill remaining space */
  min-width: 0;  /* allow it to shrink properly inside flex */
}

/* optional: style the link so it behaves exactly like surrounding text */
.left a {
  display: inline;       /* default, but explicit */
  margin: 0;
  padding: 0;
}

.pin {
  margin-left: 8px; /* a little breathing room */
}

