/* Core block wrappers must not alter the approved prototype's section geometry. */
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block: 0; }
.wp-block-post-content { margin: 0; max-width: none; }
.wp-block-post-content > * { max-width: none; margin-block-start: 0; }
.wp-block-template-part { margin: 0; }
.wp-block-heading { margin-top: 0; }
.wp-block-search { padding: 16px 3%; background: var(--light-gray); }
.wp-block-search__label { display: block; font-weight: bold; }
.wp-block-search__inside-wrapper { display: flex; gap: 12px; max-width: 760px; margin: auto; }
.wp-block-search__input { min-width: 0; flex: 1; padding: 10px; font: inherit; }
.wp-block-search__button { border: 1px solid var(--ink); background: var(--ink); color: var(--cream); padding: 10px 20px; }
.search-results-main { padding: 40px 6%; min-height: 45vh; }
.search-results-main h1 { margin-bottom: 24px; }
.search-results-main .wp-block-post-title { font-size: 26px; margin-top: 24px; }
.search-results-main .wp-block-post-excerpt { margin: 12px 0; }
/* Align native Details with the source disclosure markup. */
.wp-block-details > summary { cursor: pointer; }
/* Small-screen audience controls need normal-text contrast against these bands. */
.audience-menu.green > button { color: #243315; }
.audience-menu.purple > button { color: #2c1230; }
@media (max-width: 650px) {
  .wp-block-search { padding: 12px 20px; }
  .wp-block-search__button { padding-inline: 12px; }
}
/* Keep the supplied scholarship identity readable on the narrowest phones. */
@media (max-width: 350px) {
  .faq-heading > div { min-width: 0; }
  .faq-heading h2 { font-size: 21px; letter-spacing: 1px; overflow-wrap: normal; }
}

/* Clip the manual carousel's animated strip without moving its controls. */
.carousel .slides { overflow: hidden; }
.carousel .slide:focus-visible { outline-offset: -5px; }
/* Native Query Loop renders the editable cards inside a list item. */
.news-grid { list-style: none; margin: 0; }
/* Fill each shared row so paired circles share the same vertical center. */
.news-grid > li { margin: 0; display: grid; }
.news-grid > li:nth-child(even) article { flex-direction: row-reverse; }
.news-grid .wp-block-post-title { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.35; letter-spacing: 0; }
.news-grid h3 { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.35; letter-spacing: 0; }
.news-grid .news-label { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.news-grid .news-read-more { display: inline-block; margin-top: 12px; font-weight: bold; }
.sample-news-article { max-width: 900px; margin-inline: auto; }
.single-post .search-results-main > .wp-block-post-title { max-width: 900px; margin-inline: auto; }
.sample-news-article p { margin-block: 20px; }
.sample-news-article h2 { margin-top: 28px; }
.sample-news-article .wp-block-image { margin: 24px 0; }
.sample-news-article .wp-block-image img { width: 100%; height: auto; }

/* Source headlines and application links must fit narrow article/card columns. */
.news-grid > li,
.news-grid .news-copy { min-width: 0; }
.news-grid .news-copy,
.sample-news-article { overflow-wrap: anywhere; }
