/* Awards & Recognition page only. Its sections and waves come from home.css. */
body.gbms-awards .content-area { margin: 0; }
body.gbms-awards #colophon.site-footer { margin-top: 0; }
.gbms-awards-lead { max-width: 44em; margin: 0 auto 2rem; font-size: clamp(1.02rem, 1.5vw, 1.2rem); line-height: 1.55; text-align: center; }

/* Winner sheets. */
.gbms-sheet-year { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem; margin: 0 0 1.25rem; }
.gbms-sheet-year label { color: var(--gbms-forest); font-family: var(--gbms-font-heading); font-weight: 800; }
.gbms-sheet-year select { min-width: 7rem; min-height: 44px; padding: .4em .75em; border: 1px solid var(--gbms-forest); border-radius: var(--gbms-radius-sm); background-color: var(--gbms-white); color: var(--gbms-slate); font-size: 1.05rem; }
.gbms-sheet-year button[hidden] { display: none; }
.gbms-sheet { margin: 0; }
.gbms-sheet-open { display: block; overflow: hidden; border-radius: var(--gbms-radius); box-shadow: var(--gbms-shadow); cursor: zoom-in; }
.gbms-sheet-img { display: block; width: 100%; height: auto; }
.gbms-sheet-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1rem; }
.gbms-sheet-actions .gbms-button { display: inline-flex; align-items: center; min-height: 44px; }
.gbms-sheet-actions .gbms-button-outline.gbms-button { background: var(--gbms-white); color: var(--gbms-forest); }
.gbms-sheet-actions .gbms-button-outline.gbms-button:hover { background: var(--gbms-bean-pale); color: var(--gbms-forest); }

/* The zoom viewer. */
html.gbms-zoom-open { overflow: hidden; }
.gbms-zoom { width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: var(--gbms-forest-dark); color: var(--gbms-white); }
.gbms-zoom[open] { display: flex; flex-direction: column; }
.gbms-zoom::backdrop { background: var(--gbms-forest-dark); }
.gbms-zoom-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; padding: .5rem; }
.gbms-zoom-bar button, .gbms-zoom-bar a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 .8em; border: 1px solid var(--gbms-white); border-radius: var(--gbms-radius-sm); background: transparent; box-shadow: none; color: var(--gbms-white); font-family: var(--gbms-font-heading); font-size: 1rem; font-weight: 800; line-height: 1; text-decoration: none; cursor: pointer; }
.gbms-zoom-bar button:hover, .gbms-zoom-bar a:hover { background: rgba(255, 255, 255, .16); color: var(--gbms-white); }
.gbms-zoom-view { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; background: var(--gbms-forest-dark); cursor: grab; touch-action: none; user-select: none; }
.gbms-zoom-view:active { cursor: grabbing; }
.gbms-zoom-view:focus-visible { outline-offset: -3px; }
.gbms-zoom-view img { position: absolute; top: 0; left: 0; display: block; max-width: none; height: auto; transform-origin: 0 0; }

/* Facebook community. */
.gbms-sec .gbms-community-note { max-width: 40em; margin: 0 auto 1.25rem; text-align: center; line-height: 1.5; }
.gbms-sec .wp-block-buttons:has(.gbms-btn-join) { justify-content: center; }
.gbms-awards .gbms-btn-join .wp-block-button__link.wp-block-button__link { min-height: 44px; padding: .75em 1.6em; border-radius: 999px; font-family: var(--gbms-font-heading); font-size: 1.05rem; font-weight: 800; text-decoration: none; }

/* ---- The new Awards page (Deb, 2026-11-06). Every rule below targets only its new parts, so the
   page as it was looks the same. Tighter sections only where the badge gallery is on the page. ---- */
body.gbms-awards:has(.gbms-awards-badges) .gbms-sec { padding-top: clamp(1.5rem, 3vw, 2.25rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.gbms-sec h2.gbms-awards-script, .gbms-awards-script { margin: 0 0 .5rem; color: var(--gbms-forest); font-family: "Kaushan Script", var(--gbms-font-heading); font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 400; line-height: 1.12; }
.gbms-awards-btn { display: inline-flex; align-items: center; gap: .5em; box-sizing: border-box; min-height: 44px; padding: .65em 1.4em; border: 2px solid var(--gbms-forest); border-radius: 999px; background: var(--gbms-forest); color: var(--gbms-white); font-family: var(--gbms-font-heading); font-size: 1.05rem; font-weight: 800; line-height: 1.2; text-decoration: none; }
.gbms-awards-btn:hover, .gbms-awards-btn:focus { border-color: var(--gbms-forest-dark); background: var(--gbms-forest-dark); color: var(--gbms-white); }
.gbms-awards-btn.is-outline { background: var(--gbms-white); color: var(--gbms-forest); }
.gbms-awards-btn.is-outline:hover, .gbms-awards-btn.is-outline:focus { background: var(--gbms-bean-pale); color: var(--gbms-forest); }
.gbms-awards-btn:focus-visible, .gbms-jump:focus-visible, .gbms-bg-filter:focus-visible, .gbms-bg-item summary:focus-visible, .gbms-bg-close:focus-visible, .gbms-th-past a:focus-visible { outline: 3px solid #7DBE3A; outline-offset: 3px; }
.gbms-awards-go { flex: none; width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* Jump cards under the hero. */
.gbms-awards-intro.gbms-sec { padding-top: 1rem; }
.gbms-awards-jump { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1100px; margin: 0 auto 2rem; }
.gbms-jump { display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: .5rem 1rem; border-left: 2px solid rgba(128, 169, 74, .45); color: var(--gbms-slate); text-align: center; text-decoration: none; }
.gbms-jump:first-child { border-left: 0; }
.gbms-jump::before { content: ""; display: block; width: 46px; height: 42px; margin-bottom: .3rem; background: var(--gbms-bean); -webkit-mask: no-repeat center / contain var(--gbms-icon); mask: no-repeat center / contain var(--gbms-icon); }
/* Deb 2026-11-06: a garden hoe for Tally-Hoe. */
.gbms-icon-hoe { --gbms-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M42 2l4 4-21 21-4-4zM21 23l4 4-2 5h-4zM7 31h24l-4 13H3z'/%3E%3C/svg%3E"); }
.gbms-jump strong { color: var(--gbms-forest); font-family: var(--gbms-font-heading); font-size: 1.15rem; font-weight: 900; line-height: 1.2; }
.gbms-jump span { font-size: .95rem; line-height: 1.35; }
.gbms-jump:hover strong { text-decoration: underline; text-underline-offset: 3px; }

/* Collect Your Green Bean Badges! */
.gbms-badge-program { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; max-width: 1200px; margin: 0 auto; }
.gbms-bp-intro { text-align: left; }
.gbms-sec .gbms-bp-intro h2.gbms-awards-script { text-align: left; }
.gbms-bp-intro > p { margin: 0 0 1rem; font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.55; }
.gbms-bp-intro p.gbms-bp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: 0; }
.gbms-bp-cta span { color: var(--gbms-slate); font-size: .95rem; }
.gbms-bp-how { padding: 1.25rem 1.5rem 1.35rem; border-radius: var(--gbms-radius); background: var(--gbms-bean-pale); box-shadow: 0 4px 16px rgba(36, 76, 58, .08); }
.gbms-bp-how h3 { margin: 0 0 .65rem; color: var(--gbms-forest); font-size: 1.3rem; }
.gbms-bp-how ul { margin: 0; padding: 0; list-style: none; }
.gbms-bp-how li { position: relative; margin: 0 0 .5rem; padding-left: 1.85rem; font-size: .98rem; line-height: 1.45; }
.gbms-bp-how li:last-child { margin-bottom: 0; }
.gbms-bp-how li::before { content: ""; position: absolute; top: .15em; left: 0; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--gbms-bean) no-repeat center / 70% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* The badge gallery: the page's main attraction. */
.gbms-bg { max-width: 1200px; margin: 0 auto; }
.gbms-bg-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; margin: 0 0 .35rem; }
.gbms-sec .gbms-bg-head h2 { margin: 0; text-align: left; font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.gbms-bg-filters { display: flex; flex-wrap: wrap; gap: .45rem; }
.gbms-bg-filter { min-height: 40px; margin: 0; padding: .3em .95em; border: 2px solid var(--gbms-bean); border-radius: 999px; background: var(--gbms-white); box-shadow: none; color: var(--gbms-forest); font-family: var(--gbms-font-heading); font-size: .95rem; font-weight: 800; line-height: 1.2; cursor: pointer; }
.gbms-bg-filter span { margin-left: .2em; opacity: .7; font-weight: 700; }
.gbms-bg-filter:hover { background: var(--gbms-bean-pale); color: var(--gbms-forest); }
.gbms-bg-filter[aria-pressed="true"] { border-color: var(--gbms-forest); background: var(--gbms-forest); color: var(--gbms-white); }
.gbms-sec p.gbms-bg-hint { margin: 0 0 1rem; color: var(--gbms-slate); font-size: .95rem; text-align: left; }
.gbms-bg ul.gbms-bg-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem .75rem; margin: 0; padding: 0; list-style: none; }
.gbms-bg-item { margin: 0; }
.gbms-bg-item[hidden] { display: none; }
.gbms-bg-item:has(details[open]) { grid-column: 1 / -1; }
.gbms-bg.is-ready .gbms-bg-item:has(details[open]) { grid-column: auto; }
.gbms-bg-item summary { display: flex; flex-direction: column; align-items: center; gap: .2rem; height: 100%; box-sizing: border-box; padding: .6rem .4rem .75rem; border-radius: var(--gbms-radius); color: var(--gbms-forest); text-align: center; cursor: pointer; list-style: none; transition: background-color .2s ease, box-shadow .2s ease; }
.gbms-bg-item summary::-webkit-details-marker { display: none; }
.gbms-bg-item summary:hover { background: var(--gbms-cream); box-shadow: 0 4px 14px rgba(36, 76, 58, .12); }
.gbms-bg-art { display: block; width: 100%; max-width: 150px; aspect-ratio: 1; margin-bottom: .2rem; }
.gbms-bg-art img, .gbms-bg-detail-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gbms-bg-noart { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 50%; background: var(--gbms-bean-pale); font-weight: 800; }
.gbms-bg-num { color: #4F7F2A; font-family: var(--gbms-font-heading); font-size: .82rem; font-weight: 900; letter-spacing: .04em; }
.gbms-bg-name { font-family: var(--gbms-font-heading); font-size: 1rem; font-weight: 800; line-height: 1.2; }
.gbms-bg-flag, .gbms-bg-soon { display: inline-block; margin-top: .15rem; padding: .1em .65em; border-radius: 999px; background: rgba(212, 167, 44, .2); color: var(--gbms-forest); font-size: .74rem; font-weight: 800; }
.gbms-bg.is-ready .gbms-bg-item .gbms-bg-detail { display: none; }

/* A badge's details: inline without the script, in the dialog with it. */
.gbms-bg-detail { display: flex; gap: 1.5rem; align-items: flex-start; margin: .5rem 0 0; padding: 1.25rem; border-radius: var(--gbms-radius); background: var(--gbms-cream); text-align: left; }
.gbms-bg-detail-art { flex: 0 0 200px; width: 200px; aspect-ratio: 1; }
.gbms-bg-detail-text { min-width: 0; }
.gbms-bg-detail p.gbms-bg-meta { margin: 0 0 .2rem; color: #4F7F2A; font-family: var(--gbms-font-heading); font-size: .9rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.gbms-bg-detail h3.gbms-bg-title { margin: 0 0 .3rem; color: var(--gbms-forest); font-size: 1.6rem; line-height: 1.2; }
.gbms-bg-detail p.gbms-bg-soon { margin: 0 0 .6rem; font-size: .82rem; }
.gbms-bg-detail p.gbms-bg-desc { margin: 0 0 .75rem; font-size: 1.05rem; line-height: 1.5; }
.gbms-bg-facts { margin: 0; }
.gbms-bg-facts div { margin: 0 0 .55rem; }
.gbms-bg-facts dt { color: var(--gbms-forest); font-family: var(--gbms-font-heading); font-size: .92rem; font-weight: 900; }
.gbms-bg-facts dd { margin: 0; line-height: 1.45; }
.gbms-bg-detail p.gbms-bg-note { margin: .25rem 0 0; color: var(--gbms-slate); font-size: .92rem; font-style: italic; }
.gbms-bg-dialog { width: min(760px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: var(--gbms-radius); background: var(--gbms-cream); box-shadow: 0 12px 40px rgba(0, 0, 0, .3); }
.gbms-bg-dialog::backdrop { background: rgba(23, 50, 37, .6); }
.gbms-bg-dialog .gbms-bg-detail { display: flex; margin: 0; padding: 1.75rem 1.75rem 1.5rem; }
.gbms-bg-close { position: absolute; top: .5rem; right: .5rem; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: var(--gbms-forest); box-shadow: none; color: var(--gbms-white); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.gbms-bg-close:hover { background: var(--gbms-forest-dark); color: var(--gbms-white); }
html.gbms-bg-open { overflow: hidden; }

/* Champions here: the approved homepage component; its "View All Awards" button would link to this page. */
.gbms-awards .gbms-sec-champs .gbms-champs-actions { display: none; }
.gbms-awards .gbms-sec-champs .gbms-faq-more { margin-top: 1.25rem; }

/* Tally-Hoe. */
.gbms-th-recognition { max-width: 820px; margin: 0 auto; text-align: center; }
.gbms-th-recognition > p { margin: 0 0 1rem; font-size: clamp(1.02rem, 1.4vw, 1.15rem); line-height: 1.55; }
.gbms-th-recognition p.gbms-th-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; }
.gbms-th-recognition p.gbms-th-more { margin: 0; font-size: 1rem; }
.gbms-th-past { max-width: 820px; margin: 1.75rem auto 0; padding: 1.1rem 1.5rem 1.25rem; border-radius: var(--gbms-radius); background: var(--gbms-white); box-shadow: var(--gbms-shadow); text-align: center; }
.gbms-th-past h3 { margin: 0 0 .25rem; color: var(--gbms-forest); font-size: 1.3rem; }
.gbms-th-past p { margin: 0 0 .75rem; }
.gbms-th-past-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.gbms-th-past-links a { display: inline-flex; align-items: center; min-height: 40px; padding: .3em 1em; border: 2px solid var(--gbms-bean); border-radius: 999px; color: var(--gbms-forest); font-family: var(--gbms-font-heading); font-weight: 800; text-decoration: none; }
.gbms-th-past-links a:hover { background: var(--gbms-bean-pale); }

@media (max-width: 1100px) {
	.gbms-bg ul.gbms-bg-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.gbms-badge-program { grid-template-columns: minmax(0, 1fr); }
	.gbms-bg ul.gbms-bg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
	.gbms-awards-jump { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1rem; margin-bottom: 1.5rem; }
	.gbms-jump:nth-child(3) { border-left: 0; }
	.gbms-bg ul.gbms-bg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem .4rem; }
	.gbms-bg-detail { flex-direction: column; align-items: center; text-align: center; }
	.gbms-bg-detail-art { flex: none; width: 150px; }
	.gbms-bg-facts { text-align: left; }
}
@media (max-width: 420px) {
	.gbms-bg ul.gbms-bg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gbms-jump { padding: .35rem .5rem; }
	.gbms-jump strong { font-size: 1.02rem; }
	.gbms-jump span { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
	.gbms-bg-item summary { transition: none; }
}
