/* ============================================================
   WRITING PAGE
   Inherits about.css for hero + section structure.
   This file only adds the two-feed card layout and stamp treatment.
   ============================================================ */

/* Hero - single column, no portrait, content fills wider */
.writing-hero-grid {
  grid-template-columns: 1fr;
  max-width: 60ch;
}

/* ============================================================
   TWO FEED CARDS - side by side
   ============================================================ */
.writing-feeds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 0 auto;
  max-width: 1100px;
}

.writing-feed-card {
  position: relative;
  background: rgba(168, 197, 232, 0.04);
  border: 1px solid rgba(168, 197, 232, 0.18);
  border-radius: 2px;
  padding: 2.75rem 2.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.writing-feed-here {
  background:
    linear-gradient(180deg, rgba(98, 54, 87, 0.18) 0%, rgba(98, 54, 87, 0.06) 100%);
  border-color: rgba(168, 197, 232, 0.3);
}

.writing-feed-there {
  background:
    linear-gradient(180deg, rgba(112, 4, 4, 0.15) 0%, rgba(112, 4, 4, 0.04) 100%);
  border-color: rgba(168, 197, 232, 0.22);
}

/* ============================================================
   HERE / THERE STAMP - tying back to homepage SIGNED stamp
   ============================================================ */
.writing-feed-stamp {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: #a8c5e8;
  border: 2.5px solid #a8c5e8;
  padding: 0.4rem 0.875rem;
  border-radius: 4px;
  transform: rotate(-6deg);
  background: rgba(253, 251, 246, 0.04);
  opacity: 0.9;
}

.writing-feed-stamp-alt {
  color: #ff9bb4;
  border-color: #ff9bb4;
  transform: rotate(5deg);
}

/* ============================================================
   FEED CARD TYPOGRAPHY
   ============================================================ */
.writing-feed-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.625rem, 3vw, 2.125rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #fffce1;
  margin: 0;
  max-width: 14ch;
}

.writing-feed-where {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a8c5e8;
  opacity: 0.8;
  margin: -0.5rem 0 0.75rem;
}

.writing-feed-where a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(168, 197, 232, 0.45);
  padding-bottom: 1px;
}

.writing-feed-where a:hover,
.writing-feed-where a:focus-visible {
  color: #fffce1;
  border-bottom-color: #fffce1;
}

.writing-feed-dek {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #fffce1;
  opacity: 0.88;
  margin: 0;
}

.writing-feed-topics-label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a8c5e8;
  opacity: 0.8;
  margin: 0.75rem 0 -0.25rem;
}

.writing-feed-topics {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #fffce1;
  opacity: 0.78;
  margin: 0;
}

.writing-feed-cta {
  margin-top: auto;
  align-self: flex-start;
}

/* ============================================================
   NEWSLETTER CTA
   ============================================================ */
.writing-newsletter-cta {
  margin-top: 1.5rem;
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 880px) {
  .writing-feeds-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .writing-feed-card {
    padding: 2rem 1.5rem 1.75rem;
  }
  .writing-feed-stamp {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    top: 1rem;
    right: 1rem;
  }
}
