/*
Theme Name: Mustard Seed Metallic Blue
Description: The Mustard Seed of Chicago website design.
Version: 1.1.1
Text Domain: mustard-seed-metallic-blue
*/
*{box-sizing:border-box}body{margin:0;background:#f5f7f1;color:#172e25;font:1rem/1.6 system-ui,sans-serif}header,main,footer{padding-inline:max(1.25rem,calc((100% - 68rem)/2))}header{background:#17372c;color:#fff;padding-block:1rem;display:flex;gap:1rem;flex-wrap:wrap;justify-content:space-between}nav{display:flex;gap:1rem}nav a{color:#fff}.hero{background:#204638;color:#fff;padding:clamp(2rem,7vw,5rem);border-radius:0 0 1.6rem 1.6rem}h1,h2,h3{line-height:1.12;margin:0 0 .6em}h1{font:clamp(2.6rem,7vw,5.5rem)/1 Georgia,serif;max-width:13ch}h2{font:2.25rem/1.1 Georgia,serif}h3{font-size:1.3rem}p{margin:0 0 1rem}.hero p{max-width:38rem}.pill{display:inline-block;padding:.65rem 1rem;border-radius:.5rem;background:#ecce79;color:#172e25;font-weight:700;text-decoration:none}.section{padding:2.2rem 0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:1rem}.card{padding:1.25rem;background:white;border:1px solid #d8e2d9;border-radius:.9rem}.card p:last-child{margin-bottom:0}a{color:#205743}a:focus-visible{outline:3px solid #ac6d00;outline-offset:4px}time{font-weight:700;color:#285944}footer{background:#e3ebe2;padding-block:1.3rem}
nav{flex-wrap:wrap}.schedules details{align-self:start}.schedules summary{font-weight:700;cursor:pointer}.schedules ul{padding:0;margin:.8rem 0 0;list-style:none}.schedules li{padding:.4rem 0;border-top:1px solid #d8e2d9}.schedules li span{display:block}.flyer-track{display:grid;grid-auto-flow:column;grid-auto-columns:min(87%,24rem);gap:1rem;overflow:auto;scroll-snap-type:x mandatory;padding:.3rem .3rem 1rem}.flyer-track article{scroll-snap-align:start}.flyer-track img{width:100%;height:auto;display:block;border-radius:.4rem}.flyer-controls{margin-bottom:.7rem}.flyer-controls button{cursor:pointer;padding:.5rem .9rem;margin-right:.5rem;background:#204638;color:white;border:0;border-radius:.4rem;font:inherit}.merchandise-flyer{display:block;width:100%;max-width:24rem;height:auto;margin-top:.75rem;border-radius:.5rem}.hero-actions{display:flex;flex-wrap:wrap;gap:.75rem}

/* Royal-blue brushed-metal treatment from the October WordPress reference. */
body {
  color: #fff;
  background-color: #103378;
  background-image:
    repeating-linear-gradient(0deg, #0218423b 0 1px, transparent 1px 4px, #66c5ff19 4px 5px, transparent 5px 12px),
    repeating-linear-gradient(0deg, transparent 0 37px, #87ccff24 41px, transparent 49px 83px, #09142f4d 90px, transparent 99px 153px),
    linear-gradient(101deg, #071940 0%, #114b9d 17%, #1067bc 28%, #072555 43%, #0f69bd 61%, #0d3476 74%, #1264b5 87%, #08214c 100%);
  background-attachment: fixed;
}
header, footer { background: #071c43; color: #fff; }
header { align-items: center; }
nav a, main a:not(.pill) { color: #fff; text-underline-offset: .2em; }
main { text-shadow: 0 1px 3px #04112d; }
.hero, .card {
  background: linear-gradient(145deg, #112d65 0%, #214c99 48%, #122c60 100%);
  border: 1px solid #82b0ee85;
  box-shadow: 0 .65rem 2rem #03265548, inset 0 1px #c6dfff33;
}
.hero { margin-top: 1rem; border-radius: 1rem; }
h1 { max-width: 17ch; }
h2 { text-shadow: 0 2px 7px #021435; }
.pill, .flyer-controls button {
  border: 1px solid #fff0a3;
  border-radius: 999px;
  background: linear-gradient(#fff089, #f4ce45);
  color: #102044;
  text-shadow: none;
}
.pill:hover, .flyer-controls button:hover { background: #fff0a3; }
:where(a, button, summary, .flyer-track):focus-visible { outline: 3px solid #fff089; outline-offset: 3px; }
.schedules li { border-color: #88b9f070; }
.featured-flyers { max-width: 57rem; margin-inline: auto; }
.featured-flyers .card { display: grid; gap: .9rem; justify-items: center; text-align: center; }
.featured-flyers h3 { margin: 0; }
.featured-flyers img { display: block; width: min(100%, 17rem); height: auto; margin-inline: auto; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* Keep the homepage layout when its sections and flyers are WordPress blocks. */
:where(.hero-actions, .flyer-track, .featured-flyers .card) > p,
:where(.flyer-track, .featured-flyers .card) > figure { margin: 0; }
.wp-block-image.merchandise-flyer { margin-inline: 0; }
.merchandise-flyer img { width: 100%; height: auto; }
.schedules :where(.wp-block-details) > summary { display: list-item; }

/* WordPress can wrap Group block children in its layout container. */
:is(.grid, .hero-actions, .flyer-track):has(> .wp-block-group__inner-container),
.featured-flyers .card:has(> .wp-block-group__inner-container) { display: block; }
.grid > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
}
.hero-actions > .wp-block-group__inner-container { display: flex; flex-wrap: wrap; gap: .75rem; }
.flyer-track:has(> .wp-block-group__inner-container) { overflow: visible; padding: 0; }
.flyer-track > .wp-block-group__inner-container {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(87%, 24rem);
  gap: 1rem;
  overflow: auto;
  scroll-snap-type: x mandatory;
  padding: .3rem .3rem 1rem;
}
.featured-flyers .card > .wp-block-group__inner-container {
  display: grid;
  gap: .9rem;
  justify-items: center;
}
:is(.grid, .hero-actions, .flyer-track, .featured-flyers .card) > .wp-block-group__inner-container > * {
  margin-block: 0;
}
