/* PRG Tools 1.2.0, sitewide. Kept small on purpose.
 * 1. Link colour in page content: Blocksy's default link blue (#2872fa) is 4.15:1 on the #fafbfc page
 *    background (WCAG AA needs 4.5:1). #1f6f6b is 6.9:1 on white and 6.6:1 on #fafbfc; hover #0f2a44.
 *    Scoped to .entry-content and done through Blocksy's own link variables, so buttons and the
 *    homepage sections (which set their own colours) are unaffected.
 * 2. [prg_upcoming_events] cards.
 * 3. Fluent Forms default submit button (#1a7efb, 3.87:1 with white text) darkened to AA. A colour set in the
 *    form's own style settings is applied inline and still wins. */
.entry-content {
	--theme-link-initial-color: #1f6f6b;
	--theme-link-hover-color: #0f2a44;
}
.entry-content a:where(:not(.wp-element-button, .wp-block-button__link, .ct-button)) {
	color: var(--theme-link-initial-color);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}
.entry-content a:where(:not(.wp-element-button, .wp-block-button__link, .ct-button)):hover {
	color: var(--theme-link-hover-color);
}

.prg-events { --prg-ev-navy: #0f2a44; --prg-ev-sea: #1f6f6b; --prg-ev-line: #e3e0d8; margin: 0 0 1.25rem; }
.prg-events-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.prg-event { display: flex; gap: 14px; align-items: flex-start; margin: 0; padding: 16px; background: #fff; border: 1px solid var(--prg-ev-line); border-radius: 12px; }
.prg-event-date { flex: 0 0 56px; display: flex; flex-direction: column; align-items: center; padding: 6px 0 7px; border-radius: 10px; background: var(--prg-ev-navy); color: #fff; line-height: 1.1; text-align: center; }
.prg-event-mon, .prg-event-dow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.prg-event-day { font-size: 1.45rem; font-weight: 700; margin: 2px 0; }
.prg-event-body { min-width: 0; }
.prg-events .prg-event-title { margin: 0 0 4px; font-size: 1.02rem; line-height: 1.3; }
.prg-events .prg-event-title a { color: var(--prg-ev-navy); text-decoration: none; }
.prg-events .prg-event-title a:hover, .prg-events .prg-event-title a:focus-visible { text-decoration: underline; }
.prg-event-meta { margin: 0; font-size: 0.9rem; color: #4d5863; }
.prg-events-more, .prg-events-empty { margin: 12px 0 0; }
.prg-events .prg-events-more a { color: var(--prg-ev-sea); font-weight: 600; }
.prg-events .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* 3. Fluent Forms submit button contrast (default style only). */
.entry-content .fluentform .ff-btn-submit.ff_btn_style {
	background-color: #1f6f6b;
	border-color: #1f6f6b;
	color: #fff;
}
.entry-content .fluentform .ff-btn-submit.ff_btn_style:hover,
.entry-content .fluentform .ff-btn-submit.ff_btn_style:focus-visible {
	background-color: #0f2a44;
	border-color: #0f2a44;
	color: #fff;
}
