/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Apr 28 2026 | 21:07:22 */
/* ==========================================================================
   Student Awards & Scholarships — Customizer CSS
   --------------------------------------------------------------------------
   Where to paste this file:
     WP Admin → Appearance → Customize → Additional CSS
     Paste the entire contents below, then click Publish.

   What it does:
     Styles the native Gutenberg blocks used on the imported "Student
     Awards & Scholarships" page (core/details, core/image, core/heading,
     core/paragraph) so the page picks up the Illini Orange / Illini Blue
     palette of the original styled mockup. No <style> or <script> tags
     are needed in the page content, so the multisite content sanitizer
     (wp_kses_post) won't strip any of it.

   Scoping:
     Selectors are scoped under .page-id-XXXX (or under .student-awards
     wrapper) so styles do not leak to other pages on the site. Replace
     the page-id with the actual page ID after import, OR add a body
     class via the page editor (Page → Advanced → Additional CSS class).

     For convenience, this file also matches a class you can add to the
     page itself: "student-awards-page". Add it via:
       Page Editor → Page sidebar → Advanced → Additional CSS class(es)
     Then this stylesheet automatically scopes to that page only.
   ========================================================================== */

/* ---------- Brand tokens (Illinois Web Theme palette) ---------- */
.student-awards-page {
  --illini-orange: #FF5F05;
  --illini-orange-dark: #C84113;
  --illini-blue: #13294B;
  --illini-blue-light: #1D58A7;
  --awards-rule: #d1d5db;
  --awards-soft: #f6f7f9;
  --awards-hover: #fff7ee;
  --awards-focus: #0066ff;
  --awards-ink: #202020;
}

/* ---------- Intro paragraph ---------- */
.student-awards-page > .entry-content > p:first-of-type,
.student-awards-page .wp-block-post-content > p:first-of-type {
  font-size: 1.05rem;
  color: #5b5f63;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Search bar (injected by awards-search.js when that snippet is enabled)
   The .student-awards-search wrapper does not exist in the page content;
   it is created at runtime, so these styles only apply if the JS snippet
   is loaded.
   ========================================================================== */
.student-awards-page .student-awards-search {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 70%;
  margin: 0 auto 1.25rem;
  padding: 1rem;
  background: var(--awards-soft);
  border: 1px solid var(--awards-rule);
  border-radius: 6px;
}
.student-awards-page .student-awards-search-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--illini-blue);
}
.student-awards-page .student-awards-search-input {
  font: inherit;
  padding: 0.55rem 0.75rem;
  border: 2px solid var(--illini-blue);
  border-radius: 4px;
  background: #fff;
  color: var(--awards-ink);
  width: 100%;
  box-sizing: border-box;
}
.student-awards-page .student-awards-search-input:focus {
  outline: 3px solid var(--awards-focus);
  outline-offset: 2px;
}
.student-awards-page .student-awards-search-status {
  font-size: 0.875rem;
  color: #5b5f63;
  min-height: 1.25em;
}

/* ==========================================================================
   Accordion (core/details)
   ========================================================================== */
.student-awards-page .wp-block-details {
  border: 1px solid var(--awards-rule);
  border-left: 4px solid var(--illini-orange);
  border-radius: 4px;
  background: #fff;
  margin: 0 auto 0.6rem !important;       /* override theme spacing for tight stack */
  padding: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.student-awards-page .wp-block-details > summary {
  cursor: pointer;
  list-style: none;
  padding: 0.85rem 3rem 0.85rem 1rem;     /* room on right for + / − icon */
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--illini-blue);
  position: relative;
  user-select: none;
}
.student-awards-page .wp-block-details > summary::-webkit-details-marker {
  display: none;
}
.student-awards-page .wp-block-details > summary:hover {
  background: var(--awards-hover);
}
.student-awards-page .wp-block-details > summary:focus-visible {
  outline: 3px solid var(--awards-focus);
  outline-offset: -3px;
}

/* + / − icon, drawn with two pseudo-element bars */
.student-awards-page .wp-block-details > summary::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background-image:
    linear-gradient(var(--illini-orange), var(--illini-orange)),
    linear-gradient(var(--illini-orange), var(--illini-orange));
  background-size: 14px 3px, 3px 14px;
  background-repeat: no-repeat;
  background-position: 0 50%, 50% 0;
  transition: transform 0.15s ease, background-size 0.15s ease;
}
.student-awards-page .wp-block-details[open] > summary::after {
  background-size: 14px 3px, 3px 0;       /* hide the vertical bar = minus */
}

/* Body content sits flush with the summary; pad the inside */
.student-awards-page .wp-block-details > *:not(summary) {
  padding-left: 1rem;
  padding-right: 1rem;
}
.student-awards-page .wp-block-details > *:nth-child(2) {
  padding-top: 0.75rem;
  border-top: 1px solid var(--awards-rule);
}
.student-awards-page .wp-block-details > *:last-child {
  padding-bottom: 1rem;
}

/* ==========================================================================
   Headings inside an accordion
   ========================================================================== */
.student-awards-page .wp-block-details h3.wp-block-heading {
  /* "Recipients" / "Recipient" label */
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--illini-blue);
  margin: 1.25rem 0 0.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--awards-rule);
}

.student-awards-page .wp-block-details h4.wp-block-heading {
  /* recipient name */
  font-size: 1.05rem;
  color: var(--awards-ink);
  margin: 0.4rem 0 0.25rem;
}

/* ==========================================================================
   Recipient portraits
   ========================================================================== */
.student-awards-page .wp-block-details .wp-block-image {
  margin: 1.1rem 0 0.4rem;
}
.student-awards-page .wp-block-details .wp-block-image img {
  border-radius: 4px;
  background: var(--awards-soft);
  display: block;
}

/* Sponsor / Criteria paragraphs */
.student-awards-page .wp-block-details > p {
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
  line-height: 1.55;
  color: var(--awards-ink);
}
.student-awards-page .wp-block-details > p strong {
  color: var(--illini-blue);
}

/* Bio paragraph (paragraph that follows an h4 awardee name) */
.student-awards-page .wp-block-details h4.wp-block-heading + p {
  margin-top: 0.25rem;
  margin-bottom: 1.1rem;
  color: var(--awards-ink);
}

/* ==========================================================================
   Forced colors (Windows High Contrast) and reduced motion safety nets
   ========================================================================== */
@media (forced-colors: active) {
  .student-awards-page .wp-block-details {
    border-color: CanvasText;
  }
  .student-awards-page .wp-block-details > summary::after {
    background-image:
      linear-gradient(CanvasText, CanvasText),
      linear-gradient(CanvasText, CanvasText);
  }
}
@media (prefers-reduced-motion: reduce) {
  .student-awards-page .wp-block-details > summary::after {
    transition: none;
  }
}

/* ==========================================================================
   Small screens
   ========================================================================== */
@media (max-width: 600px) {
  /* Override the inline 70% width set in the page export so accordions
     fill narrow viewports comfortably */
  .student-awards-page .wp-block-details[style] {
    max-width: 100% !important;
  }
  .student-awards-page .student-awards-search {
    max-width: 100%;
  }
  .student-awards-page .wp-block-details .wp-block-image img {
    width: 100% !important;
    height: auto !important;
    max-width: 250px;
  }
}

