/* === TYPOGRAPHY === */
@media (max-width: 767px) {
  p {
    font-size: 16px !important;
    line-height: 1.6;
  }

  h1 { font-size: 24px !important; }
  h2 { font-size: 20px !important; }
  h3 { font-size: 18px !important; }
}

/* === LISTS === */
@media (max-width: 767px) {
  ul, ol {
    font-size: 0.95rem;
    margin-left: 1em;
    padding-left: 1em;
  }

  li {
    margin-bottom: 0.4em;
  }

  ul li::marker,
  ol li::marker {
    font-size: 0.9em;
    color: #444;
  }
}

/* === QUOTE BLOCKS === */
@media (max-width: 767px) {
  .wp-block-quote {
    padding: 0.8em 1em;
    font-size: 1rem;
    border-left-width: 3px;
  }

  .wp-block-quote cite {
    font-size: 0.85rem;
  }
}
.prose-story {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem 1rem 2rem;
  line-height: 1.7;
  font-family: inherit;
  white-space: normal;
  word-wrap: break-word;
  color: inherit;
}

.prose-story p {
  margin-bottom: 1.1em;
}

.prose-story div.scene-break {
  text-align: center;
  letter-spacing: 0.12em;
  margin: 0.8em 0;
}

.prose-story div.scene-break::before {
  content: "***";
  display: inline-block;
}

.wp-block-pullquote {
  border: none;
  background: #f0f0f0;
  font-style: italic;
  padding: 1.5em;
  border-left: 4px solid #7a3e3e;
  text-align: left;
}

/* === WPFORMS (CONTACT FORM) === */
@media (max-width: 767px) {
  .wpforms-container {
    padding: 0 1em;
    font-size: 1rem;
  }

  .wpforms-container input[type="text"],
  .wpforms-container input[type="email"],
  .wpforms-container input[type="tel"],
  .wpforms-container textarea {
    width: 100% !important;
    font-size: 1rem;
    padding: 0.8em;
    box-sizing: border-box;
  }

  .wpforms-container .wpforms-field-label {
    font-size: 0.95rem;
    margin-bottom: 0.3em;
  }

  .wpforms-container button[type="submit"] {
    width: 100%;
    padding: 0.9em;
    font-size: 1rem;
    margin-top: 1em;
  }

  .wpforms-field {
    margin-bottom: 1.2em;
  }
}

/* === CALLOUT BOX === */
.callout-box {
  background-color: #f4f1ec;
  border-left: 4px solid #7a3e3e;
  padding: 1em 1.5em;
  margin-top: 2em;
  font-size: 1rem;
  line-height: 1.6;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .callout-box {
    padding: 1em;
    font-size: 0.95rem;
    border-left-width: 3px;
    margin-top: 1.5em;
  }
}

/* === MOBILE BANNER (.mobile-banner) === */
@media (max-width: 767px) {
  .mobile-banner {
    background-size: cover !important;
    background-position: center center !important;
    min-height: 150px !important;
    padding: 20px 0;
    text-align: center;
  }

  .mobile-banner * {
    margin: 0 auto;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .mobile-banner {
    background-size: cover !important;
    background-position: center center !important;
    min-height: 250px !important;
    padding: 30px 0;
    text-align: center;
  }

  .mobile-banner * {
    margin: 0 auto;
  }
}

/* === COVER BLOCK DESKTOP FONT SIZE === */
@media (min-width: 1025px) {
  .wp-block-cover .wp-block-cover__inner-container {
    font-size: 2.5rem;
  }

  .wp-block-cover h1,
  .wp-block-cover h2,
  .wp-block-cover h3,
  .wp-block-cover p {
    font-size: 2.5rem !important;
  }
}
.page .entry-title {
    display: none;
}
.wp-block-quote {
  border-left: 4px solid #7a3e3e !important; /* Dark brown */
}
.wp-block-pullquote {
  border-left: 4px solid #7a3e3e !important;
  background: #f0f0f0;
  font-style: italic;
  padding: 1.5em;
  text-align: left;
}
.wp-block-pullquote {
  border-left: 4px solid #7a3e3e !important;
  border-right: 4px solid #7a3e3e !important;
  background: #f0f0f0;
  font-style: italic;
  padding: 1.5em;
  text-align: left;
}
.wp-block-pullquote {
  border: 4px solid #7a3e3e !important;
  background: #f0f0f0;
  font-style: italic;
  padding: 1.5em;
  text-align: left;
}
/* Light tan background for single-post content */
.single-post .site-main > article,
.single-post .entry-content {
  background: #F5EFE3;
  padding: 24px;
  border-radius: 8px;
}
/* Voices grid card style */
.voices-grid .wp-block-post {
  background: #F6F1E6;           /* light tan */
  border: 1px solid #E9E1D3;      /* soft border */
  border-radius: 12px;
  padding: 18px;
  transition: box-shadow .2s ease, transform .2s ease;
}

/* Space between cards (the grid) */
.voices-grid .wp-block-post-template { gap: 18px; }

/* Round the featured image a bit to match the card */
.voices-grid .wp-block-post .wp-block-post-featured-image img {
  border-radius: 8px;
}

/* Read more spacing */
.voices-grid .wp-block-read-more { margin-top: 8px; }

/* Subtle hover lift (optional) */
.voices-grid .wp-block-post:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  transform: translateY(-1px);
}
/* Make the Voices banner truly edge-to-edge */
.voices-hero.wp-block-cover{
  width:100vw; margin-left:50%; transform:translateX(-50%);
}
/* Let full-width blocks (like Cover) escape the page container */
.entry-content .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
/* Responsive columns for the Voices grids */
.voices-grid { 
  display: grid !important;                      /* make sure it's grid */
  grid-template-columns: repeat(3, 1fr);         /* desktop: 3 */
  gap: 18px;
}

@media (max-width: 1024px){
  .voices-grid { grid-template-columns: repeat(2, 1fr); }  /* tablet: 2 */
}

@media (max-width: 600px){
  .voices-grid { grid-template-columns: 1fr; }              /* phone: 1 */
  .voices-grid .wp-block-post { padding: 12px !important; } /* a bit tighter padding */
}
/* Tablet: make grid 2-up and cards tighter */
@media (max-width: 1024px){
  .voices-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
  .voices-grid .wp-block-post { padding: 12px !important; }
  /* Force consistent thumbnail shape */
  .voices-grid .wp-block-post-featured-image a{
    display:block; aspect-ratio: 3/2; overflow:hidden;
  }
  .voices-grid .wp-block-post-featured-image img{
    width:100%; height:100%; object-fit:cover;
  }
  /* Keep title/excerpt compact (2 lines) */
  .voices-grid .wp-block-post-title,
  .voices-grid .wp-block-post-excerpt{
    display:-webkit-box; -webkit-box-orient:vertical; overflow:hidden;
  }
  .voices-grid .wp-block-post-title{ -webkit-line-clamp: 2; }
  .voices-grid .wp-block-post-excerpt{ -webkit-line-clamp: 2; }
}

/* Phone: single column */
@media (max-width: 600px){
  .voices-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .voices-grid .wp-block-post { padding: 10px !important; }
}
/* Make sure Read More is visible on tablets/phones */
.wp-block-post-excerpt__more-link,
.more-link,
.read-more {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Some themes hide it at smaller breakpoints—undo that */
@media (max-width: 1024px) {
  .wp-block-post-excerpt__more-link,
  .more-link,
  .read-more {
    display: inline-flex !important;
  }
}

/* If your card uses line clamping, keep the link from being clipped */
.card-excerpt, .wp-block-post-excerpt, .post-excerpt {
  overflow: visible;
}

/* If a stretched link covers the button, let the button sit on top */
a.stretched-link { position: relative; z-index: 1; }
.wp-block-post-excerpt__more-link,
.more-link,
.read-more { position: relative; z-index: 2; }
/* Only clamp the text, not everything in the excerpt block */
.wp-block-post-excerpt p {
  display: -webkit-box;
  -webkit-line-clamp: 4; /* your value */
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.5rem;  /* gives space before the link */
}
.wp-block-post-excerpt__more-link { display: inline-flex !important; }
pre {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: 1.6;
  white-space: pre-wrap;
  word-wrap: break-word;
}
/* Universal styling for Voices content */
.poem,
.nonfiction-essay,
.fiction {
  background-color: transparent;
  padding: 20px;
  margin: 20px 0;
  color: inherit;
}

.piece {
  max-width: 700px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

.piece p {
  text-indent: 2em;      /* first-line indent */
  margin: 0 0 1em;       /* space between paragraphs */
}

.piece .section-number {
  text-indent: 0;
  text-align: center;
  font-weight: bold;
  margin: 1.5em 0;
}
