/* WordPress glue for the concept styles in site.css:
   block buttons, page content width, story lists, galleries, files. */

/* Page content: readable width, blocks can go wide or full. */
.entry { width: min(100% - 2 * var(--gutter), var(--wrap)); /* Eric 11/23: every page the same width, lined up with its title */ margin-inline: auto; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.entry > .alignwide { width: min(100vw - 2 * var(--gutter), var(--wrap)); margin-inline: calc(50% - min(50vw - var(--gutter), var(--wrap) / 2)); }
.entry > .alignfull { width: 100vw; margin-inline: calc(50% - 50vw); }
.entry h2 { font-size: var(--step-3); margin-top: 1.6em; }
.entry h3 { margin-top: 1.4em; }
.entry figure { margin: 1.5rem 0; }
.entry figcaption, .wp-element-caption { font-size: .95rem; color: var(--ink-faint); margin-top: .55rem; }
.home-main > .wp-block-group { margin: 0; }

/* Block groups that carry the concept's section classes get its inner width. */
/* Classic themes wrap every group's blocks in an inner container; let the concept's grids see the blocks directly. */
.wp-block-group > .wp-block-group__inner-container { display: contents; }

/* Buttons: block styles that match .btn-* */
.wp-block-buttons.actions { gap: .75rem; }
.wp-block-button .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.1rem; padding: .7rem 1.35rem; border-radius: var(--radius-btn);
  font: inherit; font-weight: 700; font-size: 1.1rem; text-decoration: none;
  border: 2px solid transparent; background: var(--straw); color: var(--ink);
}
.wp-block-button .wp-block-button__link:hover { background: var(--glow); color: var(--ink); }
.wp-block-button.is-style-blue .wp-block-button__link { background: var(--straw); color: var(--ink); } /* buttons are gold site-wide, like .btn-blue */
.wp-block-button.is-style-blue .wp-block-button__link:hover { background: var(--glow); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; border-color: var(--ink); color: var(--ink); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--ink); color: var(--white); }
.wp-block-button.is-style-ghost .wp-block-button__link { background: transparent; border-color: rgba(255,255,255,.45); color: var(--white); }
.wp-block-button.is-style-ghost .wp-block-button__link:hover { border-color: var(--white); background: rgba(255,255,255,.06); }

/* Files (rules, minutes, safety cards): a big, plain download link. */
.wp-block-file { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; padding: .9rem 0; border-top: 1px solid #cfd5d8; margin: 0; }
.wp-block-file:last-of-type { border-bottom: 1px solid #cfd5d8; }
.wp-block-file a:not(.wp-block-file__button) { font-weight: 700; }
.wp-block-file .wp-block-file__button { background: var(--straw); color: var(--ink); border-radius: var(--radius-btn); padding: .45rem 1rem; font-size: 1rem; text-decoration: none; }
.wp-block-file .wp-block-file__embed { display: none; }

/* Gallery */
.wp-block-gallery.has-nested-images figure.wp-block-image img { border-radius: 4px; }
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption { background: linear-gradient(0deg, rgba(0,0,0,.75), transparent); font-size: .95rem; }

/* Stories and featured artists */
.story-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 2rem; }
.story-card img { border-radius: 4px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-bottom: 1rem; }
.story-card h2 { font-size: var(--step-2); margin-bottom: .2rem; }
.story-card h2 a, .story-card h3 a { color: var(--ink); text-decoration: none; }
.story-card h3 { font-size: var(--step-1, 1.4rem); margin-bottom: .2rem; }
.story-card h2 a:hover, .story-card h3 a:hover { color: var(--blue); text-decoration: underline; }
.story-date { color: var(--ink-faint); font-size: 1rem; margin-bottom: .5rem; }
.nav-links { display: flex; gap: 1rem; margin-top: 2.5rem; font-size: 1.15rem; }
.back { margin-top: 2rem; font-weight: 700; }

/* Steps pattern: a list item's bold opening reads as its heading. */
.steps li > strong:first-child { display: block; font-family: var(--font-display); font-size: 1.65rem; font-weight: 700; line-height: 1.05; margin-bottom: .3rem; color: inherit; }
.section-dark .steps li > strong:first-child { color: var(--white); }
.steps li { font-size: 1.05rem; }

/* ---------- Fluent Forms, shown with [bmc_form]: the concept's .form look ---------- */
.bmc-form .fluentform .ff-el-group { margin-bottom: 1.1rem; }
.bmc-form .fluentform .ff-el-input--label label { font-weight: 700; font-size: 1.1rem; color: var(--ink); margin-bottom: .3rem; }
.bmc-form .fluentform .ff-el-form-control {
  width: 100%; font: inherit; font-size: 1.1rem; padding: .7rem .8rem; color: var(--ink); line-height: 1.4;
  border: 1.5px solid #9aa6ae; border-radius: var(--radius-btn); background: var(--white); box-shadow: none;
}
.bmc-form .fluentform select.ff-el-form-control { min-height: 3.2rem; }
.bmc-form .fluentform textarea.ff-el-form-control { min-height: 8rem; resize: vertical; }
.bmc-form .fluentform .ff-el-form-control:focus { outline: 3px solid var(--straw); outline-offset: 1px; border-color: var(--blue); }
.bmc-form .fluentform .ff-el-help-message { color: var(--ink-soft); font-size: 1rem; font-style: normal; margin-top: .3rem; }
.bmc-form .fluentform .ff-el-form-check { font-size: 1.1rem; margin-bottom: .4rem; }
.bmc-form .fluentform .ff-el-form-check-input { width: 1.25rem; height: 1.25rem; margin-right: .5rem; vertical-align: -.2rem; accent-color: var(--blue); }
.bmc-form .fluentform .ff-btn-submit.btn { background: var(--straw); color: var(--ink); border: 0; border-radius: var(--radius-btn); font-weight: 700; }
.bmc-form .fluentform .ff-btn-submit.btn:hover { background: var(--glow); color: var(--ink); }
.bmc-form .fluentform .ff-el-is-error .error, .bmc-form .fluentform .error.text-danger { color: #a32020; font-size: 1.05rem; font-weight: 700; margin-top: .3rem; }
.bmc-form .ff-message-success { background: #e6f3ea; border: 1.5px solid var(--ok); color: #1d4f33; padding: 1rem 1.2rem; border-radius: 6px; box-shadow: none; font-size: 1.1rem; }

/* The Shop: a safety-cards box beside a taller column keeps its own height (photos added 11/19). */
.area-grid > .cards { align-self: start; }

/* Gallery: a short last row keeps the same tile size instead of stretching one photo across the page (11/19). */
.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { flex-grow: 0; }

/* Members: the safety cards, one box per shop area (moved off The Shop, 11/20). */
.card-areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
@media (max-width: 60rem) { .card-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 38rem) { .card-areas { grid-template-columns: 1fr; } }
#safety-cards h3.mt-s { margin-top: 2rem; }

/* About: Finding the shop. */
.map iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 1px solid #d3d9dc; border-radius: 6px; background: var(--white); }
.find-steps { padding-left: 1.4rem; }
.find-steps li { margin-bottom: .5rem; }

/* Articles: photos and quotes inside an article. */
.entry img { max-width: 100%; height: auto; }
.entry .wp-block-image img { border-radius: 4px; }
.entry blockquote { margin: 1.5rem 0; padding: 1rem 1.35rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-tag); font-size: 1.1em; color: var(--ink-soft); }
.entry + .entry { padding-top: 0; }

/* Home hero (11/20): the second line, and a small map under the buttons, pinned on Building F. */
.lede-sub { color: var(--plate-2); font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.5; max-width: 40ch; margin-top: .6rem; }
.hero-map { margin: 1.5rem 0 0; max-width: 30rem; }
.hero-map iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 1px solid rgba(255,255,255,.25); border-radius: 6px; background: #1d262d; }
.hero-map figcaption { color: var(--plate); font-size: 1rem; margin-top: .5rem; }
.hero-map figcaption a { color: var(--glow); }

/* Home "In the shop" (11/20): every tile gets a photo; the laser keeps a small "New" badge. */
.tag::before { z-index: 1; }
.tag-photo { display: block; width: calc(100% + 3rem); max-width: none; margin: -1.6rem -1.5rem 1.2rem; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-tag) var(--radius-tag) 0 0; }
.tag .new { display: inline-block; font-family: var(--font-body); font-size: .9rem; font-weight: 700; color: var(--ink); background: var(--straw); padding: .12rem .5rem; border-radius: 4px; vertical-align: .45em; margin-left: .3rem; }

/* Gold buttons in dark sections keep dark text (dark sections and the hero color links gold, which made "How to join" gold on gold, 11/20). */
.section-dark .wp-block-button:not(.is-style-ghost):not(.is-style-outline) .wp-block-button__link,
.section-dark .wp-block-button:not(.is-style-ghost):not(.is-style-outline) .wp-block-button__link:hover,
.hero .wp-block-button:not(.is-style-ghost):not(.is-style-outline) .wp-block-button__link,
.hero .wp-block-button:not(.is-style-ghost):not(.is-style-outline) .wp-block-button__link:hover { color: var(--ink); }

/* Home, "From first visit to first cut": the six steps with a photo beside them (Eric, 11/20). */
.start { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.start .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.start-photo img { aspect-ratio: 3 / 4; }
@media (max-width: 56rem) {
  .start { grid-template-columns: 1fr; }
  .start-photo { max-width: 34rem; }
  .start-photo img { aspect-ratio: 4 / 3; object-position: 50% 60%; }
}
@media (max-width: 34rem) { .start .steps { grid-template-columns: 1fr; } }

/* Events page: a date column, one card per event; the festival card carries a photo (Eric, 11/20). */
.events { display: grid; gap: 1.25rem; margin: 1.5rem 0 2rem; }
.event { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1.5rem; align-items: start; padding: 1.5rem; background: var(--white, #fff); border: 1px solid #d9dee1; border-radius: 8px; }
.event-feature .event-photo { grid-column: 2; }
.event-date { margin: 0; text-align: center; background: var(--ink); color: var(--white, #fff); border-radius: 6px; padding: .7rem .4rem .8rem; line-height: 1; }
.event-date .m { display: block; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; color: var(--straw); margin-bottom: .35rem; }
.event-date .d { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; }
.event h2 { font-size: 1.9rem; margin: 0 0 .5rem; }
.event p { margin: 0 0 .6rem; }
.event-when { font-weight: 600; }
.event-link { margin-top: .9rem; }
.event-link a { font-weight: 600; }
.event-photo { margin: 0; }
.event-photo img { aspect-ratio: 16 / 9; }
@media (max-width: 34rem) { .event { grid-template-columns: 1fr; } .event-feature .event-photo { grid-column: 1; } .event-date { justify-self: start; min-width: 6.5rem; } }

/* Events page cards come from articles (bellmetal-site 0.5.0): the title is a link. */
.event h2 a { color: inherit; text-decoration: none; }
.event h2 a:hover { color: var(--blue); text-decoration: underline; }
.event-body > p:first-of-type strong { font-weight: 600; }

/* Gallery: the newest articles as a row of cards, then an "all articles" card (bellmetal-site 0.5.2). */
.article-strip { margin-top: 3.5rem; }
.strip-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.strip-head h2 { margin: 0; }
.strip-all { font-weight: 700; }
.strip-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.a-card { display: flex; flex-direction: column; background: var(--white, #fff); border: 1px solid #d9dee1; border-radius: 8px; overflow: hidden; color: var(--ink); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.a-card:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .12); transform: translateY(-2px); color: var(--ink); }
.a-card:hover .a-card-title { text-decoration: underline; }
.a-card-img { display: block; aspect-ratio: 4 / 3; background: var(--mill); }
.a-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; }
.a-card-ph { display: flex; height: 100%; align-items: center; justify-content: center; padding: 1rem; text-align: center; color: var(--plate); font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; letter-spacing: .06em; background: repeating-linear-gradient(135deg, var(--mill) 0 14px, var(--mill-2) 14px 28px); }
.a-card-body { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem 1.25rem; }
.a-card-cat { font-size: .92rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); }
.a-card-title { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.15; }
.a-card-text { font-size: 1rem; line-height: 1.45; }
.a-card-more { justify-content: center; gap: .35rem; padding: 1.5rem; background: var(--mill); border-color: var(--mill); color: var(--plate-2); }
.a-card-more:hover { color: var(--plate-2); }
.a-card-more-n { font-family: var(--font-display); font-size: 3.2rem; line-height: 1; color: var(--straw); }
.a-card-more-go { margin-top: .7rem; font-weight: 700; color: var(--white, #fff); }
@media (max-width: 56rem) {
  .strip-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(15rem, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .8rem; }
  .a-card { scroll-snap-align: start; }
}

/* Articles archive (index.php, 11/21): topic buttons, the newest article large, then cards. */
.cat-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.cat-chips a { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem 1rem; border: 1.5px solid #c9d0d4; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.05rem; background: var(--white, #fff); }
.cat-chips a span { font-size: .95rem; color: var(--ink-faint); font-weight: 700; }
.cat-chips a:hover { border-color: var(--ink); }
.cat-chips a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--white, #fff); }
.cat-chips a[aria-current="page"] span { color: var(--straw); }
.a-card-date { font-size: .95rem; color: var(--ink-faint); }
.a-card-go { margin-top: .6rem; font-weight: 700; color: var(--blue); }
.a-card-lead { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); margin-bottom: 2rem; }
.a-card-lead .a-card-img { aspect-ratio: auto; min-height: 20rem; }
.a-card-lead .a-card-body { justify-content: center; padding: 2rem 2.25rem; gap: .5rem; }
.a-card-lead .a-card-title { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.a-card-lead .a-card-text { font-size: 1.15rem; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.pagination { margin-top: 2.5rem; }
.pagination .nav-links { align-items: center; gap: .5rem; margin-top: 0; }
.pagination .page-numbers { display: inline-block; padding: .4rem .85rem; border-radius: 6px; text-decoration: none; font-weight: 600; }
.pagination .page-numbers.current { background: var(--ink); color: var(--white, #fff); }
@media (max-width: 56rem) {
  .a-card-lead { grid-template-columns: 1fr; }
  .a-card-lead .a-card-img { min-height: 0; aspect-ratio: 16 / 9; }
  .a-card-lead .a-card-body { padding: 1.25rem 1.25rem 1.5rem; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 34rem) { .article-grid { grid-template-columns: 1fr; } }

/* ---------- Page headers, dressed up (Eric, 11/21) ----------
   Four rivets (as background layers), the bell mark cut into the plate at the right, a heat-tinted laser
   kerf under the title (the hero's colors), and a small "where you are" line above it on inner pages. */
.page-head {
  --rivet: radial-gradient(circle at 35% 35%, #9aa7b0, #4b5861 60%, #2b353c 61%, transparent 66%);
  background:
    var(--rivet) left 16px top 16px / 12px 12px no-repeat,
    var(--rivet) right 16px top 16px / 12px 12px no-repeat,
    var(--rivet) left 16px bottom 16px / 12px 12px no-repeat,
    var(--rivet) right 16px bottom 16px / 12px 12px no-repeat,
    repeating-linear-gradient(180deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, #2b3842, #1f2a32 70%);
  padding-block: clamp(3rem, 6.5vw, 5rem) clamp(2.5rem, 5.5vw, 4rem);
}
.page-head::before { display: none; }
.page-head::after {
  content: ""; position: absolute; top: 50%; right: clamp(1.5rem, 7vw, 7rem); left: auto;
  width: clamp(9rem, 17vw, 14rem); height: clamp(9rem, 17vw, 14rem); transform: translateY(-50%);
  border-radius: 0; box-shadow: none;
  background: url("mark.svg") center / contain no-repeat;
  filter: grayscale(1) brightness(1.6); opacity: .07; pointer-events: none;
}
.page-head.has-photo::after { display: none; }
.page-head h1 { margin-bottom: 0; }
.page-head h1::after {
  content: ""; display: block; width: clamp(5rem, 12vw, 8rem); height: 4px; margin-top: .45em; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--purple) 30%, var(--bronze) 58%, var(--straw) 82%, #fff6dc 100%);
  box-shadow: 0 0 12px rgba(255, 170, 80, .35);
  transform-origin: left center; animation: cut .9s cubic-bezier(.45,.05,.35,1) .15s both;
}
.page-head h1 + p, .page-head .wp-block-heading + p { margin-top: 1rem; }
.page-head .eyebrow { margin: 0 0 .6rem; font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--straw); }
.page-head .eyebrow a { color: inherit; text-decoration: none; }
.page-head .eyebrow a:hover { text-decoration: underline; }
.page-head .eyebrow a::after { content: " /"; color: var(--plate); opacity: .6; }
@media (max-width: 40rem) { .page-head::after { display: none; } }
@media (prefers-reduced-motion: reduce) { .page-head h1::after { animation: none; } }
/* Card without a photo: the bell mark on steel, not the topic again. */
.a-card-ph { font-size: 0; }
.a-card-ph::after { content: ""; width: 38%; aspect-ratio: 1; background: url("mark.svg") center / contain no-repeat; filter: grayscale(1) brightness(1.7); opacity: .35; }

/* Members sign-in (Eric 11/21: styled up): two cards, sign in and request a login,
   side by side on wide screens, stacked on phones. Each has a steel head with the bell. */
.members-access { display: grid; gap: clamp(1.25rem, 3vw, 2rem); align-items: start; margin-block: 0 1rem; }
@media (min-width: 56rem) { .members-access { grid-template-columns: 1.1fr 1fr; } }
.access-card { background: var(--white); border: 1px solid #d3d9dc; border-radius: var(--radius-tag); overflow: hidden; box-shadow: 0 1px 2px rgb(27 34 40 / .06), 0 8px 24px -12px rgb(27 34 40 / .25); }
.access-head { position: relative; display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.4rem 1.25rem; color: var(--white);
  background: radial-gradient(circle at 10px 10px, #8496a2 0 2.5px, transparent 3.5px), radial-gradient(circle at calc(100% - 10px) 10px, #8496a2 0 2.5px, transparent 3.5px), linear-gradient(180deg, #2c3a44, var(--mill)); }
.access-head::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--purple), var(--bronze), var(--straw)); }
.members-request .access-head { background: radial-gradient(circle at 10px 10px, #8496a2 0 2.5px, transparent 3.5px), radial-gradient(circle at calc(100% - 10px) 10px, #8496a2 0 2.5px, transparent 3.5px), linear-gradient(180deg, #3e4f5b, #2c3a44); }
.access-head img { width: 44px; height: 44px; flex: none; }
.access-kicker { display: block; font-size: .92rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--glow); }
.entry .access-head h2 { margin: .05rem 0 0; font-size: clamp(1.6rem, 3vw, 1.95rem); line-height: 1.05; color: var(--white); }
.access-body { padding: 1.4rem 1.4rem 1.5rem; }
.access-body > p:first-child { margin-top: 0; color: var(--ink-soft); }
.access-body form p { max-width: none; margin: 0 0 1rem; }
.access-body label { display: block; font-weight: 700; margin-bottom: .35rem; }
.access-body form br { display: none; }
.access-body input[type="text"], .access-body input[type="email"], .access-body input[type="password"] {
  font: inherit; width: 100%; min-height: 3rem; padding: .65rem .85rem; background: var(--paper); color: var(--ink);
  border: 2px solid #b9c2c8; border-radius: var(--radius-btn); transition: border-color .15s, box-shadow .15s, background .15s; }
.access-body input:hover { border-color: var(--ink-faint); }
.access-body input:focus { outline: none; background: var(--white); border-color: var(--straw); box-shadow: 0 0 0 3px rgb(212 164 68 / .35); }
.access-body .login-remember label { display: inline-flex; align-items: center; gap: .5rem; font-weight: 400; cursor: pointer; }
.access-body .login-remember input { width: 1.5rem; height: 1.5rem; accent-color: var(--blue); }
.access-body .login-remember label { min-height: 2.75rem; }
.access-body input[type="submit"], .access-body button { font: inherit; font-weight: 700; width: 100%; min-height: 3.2rem; padding: .75rem 1.35rem; color: var(--ink);
  background: var(--straw); border: 1px solid #b8892c; border-radius: var(--radius-btn); cursor: pointer; transition: background .15s, transform .1s; }
.access-body input[type="submit"]:hover, .access-body button:hover { background: #e0b24f; }
.access-body input[type="submit"]:active, .access-body button:active { transform: translateY(1px); }
.access-body input[type="submit"]:focus-visible, .access-body button:focus-visible { outline: 3px solid var(--straw); outline-offset: 2px; }
.members-request .access-body button { background: var(--white); border: 2px solid var(--mill); }
.members-request .access-body button:hover { background: var(--plate-2); }
.access-submit, .access-body .login-submit { margin-bottom: 0 !important; }
.gate-links { margin: 1.1rem 0 0; padding-top: 1rem; border-top: 1px solid #e1e5e8; text-align: center; font-weight: 700; }
.gate-links a { color: var(--blue); }
.gate-note { margin: 0 0 1.1rem; padding: .85rem 1.1rem; background: var(--note); border: 1px solid #eadfc4; border-radius: 8px; font-weight: 600; }
.bmc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .access-body input, .access-body button, .access-body input[type="submit"] { transition: none; } }

/* Signed in on a members page: who, and Sign out (11/22) */
.signed-in-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: 0 0 1.5rem; padding: .75rem 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-tag); box-shadow: var(--shadow-card); }
.signed-in-bar .signed-in-out { margin-left: auto; display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.1rem; border: 2px solid var(--ink); border-radius: var(--radius-btn); color: var(--ink); font-weight: 700; text-decoration: none; }
.signed-in-bar .signed-in-out:hover, .signed-in-bar .signed-in-out:focus-visible { background: var(--ink); color: var(--white); }

/* My account (11/22) */
.signed-in-bar .signed-in-account { margin-left: auto; font-weight: 700; color: var(--blue); }
.signed-in-bar .signed-in-account + .signed-in-out { margin-left: 0; }
.account-grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); margin-block: 0 1rem; }
@media (min-width: 56rem) { .account-grid { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.account-card { padding: 1.35rem 1.35rem 1.1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-tag); box-shadow: var(--shadow-card); }
.account-card h2 { margin-top: 0; font-size: 1.35rem; }
.account-card label { display: block; font-weight: 700; margin-bottom: .3rem; }
.account-card input { width: 100%; min-height: 3rem; padding: .5rem .75rem; font: inherit; border: 2px solid #9aa6af; border-radius: 4px; }
.account-card input:focus-visible { outline: 3px solid var(--straw); outline-offset: 2px; border-color: var(--blue); }
.account-card .btn { width: 100%; }
.account-now { font-size: 1rem; }
.account-note.account-err { background: #fdecea; border-left-color: #b32d2e; }

/* Contact us (11/22) */
.contact-grid { display: grid; gap: clamp(1rem, 3vw, 1.5rem); margin-block: 0 2rem; }
@media (min-width: 48rem) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { padding: 1.35rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-tag); box-shadow: var(--shadow-card); }
.contact-card h2 { margin-top: 0; font-size: 1.35rem; }
.contact-big { font-size: 1.4rem; font-weight: 700; }

/* Members' area menu (plugin bmc_members_nav): a labelled row of tabs under the signed-in bar on every members
   page, the same on all of them. Eric 11/23: the tabs and each page's own jump menu looked alike, so the tabs are
   now a bar of their own and the jump menu below is a plain "On this page" strip. */
.members-nav { margin: 0 0 1.75rem; }
.members-nav-label { margin: 0 0 .4rem; font-family: var(--font-display); font-size: var(--step-1); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); }
.members-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; border-bottom: 4px solid var(--ink); }
.members-nav li { margin: 0; }
.members-nav a { display: flex; align-items: center; min-height: 3rem; padding: .5rem 1.25rem; border: 1.5px solid #b9c3c9; border-bottom: 0; border-radius: 6px 6px 0 0; background: var(--plate-2); color: var(--ink); font-weight: 700; text-decoration: none; }
.members-nav a:hover, .members-nav a:focus-visible { background: var(--white); color: var(--ink); border-color: var(--straw); }
.members-nav a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--white); box-shadow: inset 0 -4px 0 var(--straw); } /* like the main menu and article chips */
@media (max-width: 34rem) {
  .members-nav ul { border-bottom: 0; }
  .members-nav li { flex: 1 1 calc(50% - .35rem); }
  .members-nav a { justify-content: center; border-bottom: 1.5px solid #b9c3c9; border-radius: 6px; text-align: center; }
  .members-nav a[aria-current="page"] { border-color: var(--ink); }
}
.members-top { padding-bottom: 0; }
.members-top .members-nav { margin-bottom: 0; }

.members-area .signed-in-bar { max-width: none; }

/* Jump menus on every page (Eric 11/23): a plain "On this page" strip of links, not buttons, so it never looks
   like a menu of pages (the members' tabs). Overrides the pill style in site.css. */
.jump { align-items: center; gap: .25rem 1.4rem; margin: 0 0 2rem; padding: .5rem 1.1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-tag); box-shadow: var(--shadow-card); }
.jump::before { content: "On this page"; margin-right: .4rem; font-size: var(--step--1); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-faint); }
.jump a { min-height: 2.75rem; padding: 0; background: none; border: 0; border-radius: 0; color: var(--blue); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
.jump a:hover, .jump a:focus-visible { background: none; color: var(--blue-dark); text-decoration-thickness: 3px; }
.jump-wrap .jump { margin-bottom: 0; }
.section-dark .jump { background: transparent; border-color: var(--mill-line); }
.section-dark .jump a { color: var(--glow); }

/* ---------- A little more polish (Eric 11/23) ---------- */
/* Jump links land below the sticky header, not under it. */
.entry [id], section[id], .section[id] { scroll-margin-top: 6.5rem; }
/* Photos: the same rounded corners everywhere. */
.entry img, .wp-block-gallery.has-nested-images figure.wp-block-image img, .entry .wp-block-image img, .story-card img { border-radius: 8px; }
/* Text picked with the mouse shows in the club's straw. */
::selection { background: rgb(212 164 68 / .35); color: var(--ink); }
/* Cards and boxes you can click lift a touch on hover. */
@media (prefers-reduced-motion: no-preference) {
  a.tag, .a-card, .event, .contact-card, .option, .duties > div { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
  a.tag:hover, .a-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgb(27 34 40 / .06), 0 22px 36px -22px rgb(20 30 40 / .6); }
  .btn, .members-nav a, .signed-in-bar .signed-in-out { transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease; }
}
/* Section headings in long pages: a hairline above each one after the first, so the parts read as parts. */
.entry > h2 + * { margin-top: .6rem; }
.entry > h2[id] ~ h2[id] { margin-top: 2.6rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
/* Lists in page text: a little air between items. */
.entry li + li { margin-top: .35em; }
/* Forms: the same calm focus everywhere. */
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--straw); outline-offset: 2px; }

/* Front page: half the space between the top menu and the club sign (Eric 11/23). */
.home .hero > .wp-block-group__inner-container > .wrap:first-child, .home .hero > .wrap:first-child { padding-top: clamp(1.5rem, 4vw, 3rem); }
/* Phones: "On this page" on its own line above the links. */
@media (max-width: 40rem) { .jump::before { flex-basis: 100%; margin: .35rem 0 0; } }
/* Tablets: the four members' tabs share one row evenly instead of leaving one on its own line. */
@media (min-width: 34.01rem) and (max-width: 60rem) {
  .members-nav ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .members-nav a { justify-content: center; height: 100%; padding-inline: .6rem; text-align: center; line-height: 1.2; }
}
/* Home page, Classes: a small classroom photo in the top-right corner (Eric 11/23). */
.classes-photo { float: right; width: clamp(8.5rem, 24vw, 16rem); margin: .35rem 0 1rem 1.5rem; }
.classes-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 40%; border-radius: 8px; box-shadow: var(--shadow-card); }
.classes-photo ~ .class-board { clear: both; }
