/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Future Buffalo Web Design
 Author URI:     https://www.futurebuffalowebdesign.com
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

/* vertical align within columns */
.ds-vertical-align { 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
} 

/* column stacking order tweaks */

@media all and (max-width: 980px) {
	/*** wrap row in a flex box ***/
	.custom-row {
	  display: -webkit-box;
	  display: -moz-box;
	  display: -ms-flexbox;
	  display: -webkit-flex;
	  display: flex;
	-webkit-flex-wrap: wrap; /* Safari 6.1+ */
	flex-wrap: wrap;
	}
 
	/*** custom classes that will designate the order of columns in the flex box row ***/
	.first-on-mobile {
	-webkit-order: 1;
	order: 1;
	}
	 
	.second-on-mobile {
	-webkit-order: 2;
	order: 2;
	}
	 
	.third-on-mobile {
	-webkit-order: 3;
	order: 3;
	}
	 
	.fourth-on-mobile {
	-webkit-order: 4;
	order: 4;
	}
	/*** add margin to last column 
	.custom_row:last-child .et_pb_column:last-child {
	margin-bottom: 30px;
	}***/
	
	.hidden-on-mobile {
		display: none;
	}
 
}

/* 2 Columns Mobile */
@media all and (max-width: 767px) {
	html .et-db .two-col-mob .et_pb_column {
		width:47.25% !important;
	}
	
html .et-db .two-col-mob .et_pb_column:nth-last-child(-n+2) {
		margin-bottom:0;
	}

	html .et-db .two-col-mob .et_pb_column:not(:nth-child(2n)) {
			margin-right:5.5% !important;
	}
}

/* 3 Columns Mobile */
@media all and (max-width: 767px) {
	html .et-db .three-col-mob .et_pb_column {
		width:29.6667% !important;
	}

	html .et-db .three-col-mob .et_pb_column:nth-last-child(-n+3) {
		margin-bottom:0;
	}

	html .et-db .three-col-mob .et_pb_column:not(:nth-child(3n)) {
		margin-right:5.5% !important;
	}
}

/* 4 Columns Mobile */
@media all and (max-width: 767px) {
	html .et-db .four-col-mob .et_pb_column {
		width:20.875% !important;
	}

html .et-db .four-col-mob .et_pb_column:nth-last-child(-n+4) {
		margin-bottom:0;
	}

	html .et-db .four-col-mob .et_pb_column:not(:nth-child(4n)) {
		margin-right:5.5% !important;
	}
}

/* 5 Columns Mobile */
@media all and (max-width: 767px) {
	html .et-db .five-col-mob .et_pb_column {
		width:15.6% !important;
	}

	html .et-db .five-col-mob .et_pb_column:nth-last-child(-n+5) {
		margin-bottom:0;
	}

	html .et-db .five-col-mob .et_pb_column:not(:nth-child(5n)) {
		margin-right:5.5% !important;
	}
}

/* 6 Columns Mobile */
@media all and (max-width: 767px) {
	html .et-db .six-col-mob .et_pb_column {
		width:12.083% !important;
	}

	html .et-db .six-col-mob .et_pb_column:nth-last-child(-n+6) {
		margin-bottom:0;
	}

	html .et-db .six-col-mob .et_pb_column:not(:nth-child(6n)) {
		margin-right:5.5% !important;
	}
}

/*** Change Tablet Columns By DiviMundo.com ***/

/* 1 Column Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
	html .et-db .one-col-tab .et_pb_column {
		margin-right:0 !important;
		width:100% !important;
	}
	
		html .et-db .one-col-tab .et_pb_column:not(:last-child) {
		margin-bottom:30px !important;
	}
}

/* 2 Columns Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
	html .et-db .two-col-tab .et_pb_column {
		width:47.25% !important;
	}

.two-col-tab .et_pb_column:nth-last-child(-n+2) {
		margin-bottom:0;
	}

	html .et-db .two-col-tab .et_pb_column:not(:nth-child(2n)) {
		margin-right:5.5% !important;
	}
}

/* 3 Columns Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
	html .et-db .three-col-tab .et_pb_column {
		width:29.6667% !important;
	}

html .et-db .three-col-tab .et_pb_column:nth-last-child(-n+3) {
		margin-bottom:0;
	}

	html .et-db .three-col-tab .et_pb_column:not(:nth-child(3n)) {
		margin-right:5.5% !important;
	}
}

/* 4 Columns Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
	html .et-db .four-col-tab .et_pb_column {
		width:20.875% !important;
	}

html .et-db .four-col-tab .et_pb_column:nth-last-child(-n+4) {
		margin-bottom:0;
	}

	html .et-db .four-col-tab .et_pb_column:not(:nth-child(4n)) {
		margin-right:5.5% !important;
	}
}

/* 5 Columns Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
	html .et-db .five-col-tab .et_pb_column {
		width:15.6% !important;
	}

.five-col-mob .et_pb_column:nth-last-child(-n+5) {
		margin-bottom:0;
	}
	
	html .et-db .five-col-tab .et_pb_column:not(:nth-child(5n)) {
		margin-right:5.5% !important;
	}
}

/* 6 Columns Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
	html .et-db .six-col-tab .et_pb_column {
		width:12.083% !important;
	}

	html .et-db .six-col-tab .et_pb_column:nth-last-child(-n+6) {
		margin-bottom:0;
	}

	html .et-db .six-col-tab .et_pb_column:not(:nth-child(6n)) {
		margin-right:5.5% !important;
	}
}

/* Skip link: off screen until it gets keyboard focus. */
.bsa-skip-link {
	position: absolute;
	left: -9999px;
}

.bsa-skip-link:focus {
	left: 1em;
	top: 1em;
	z-index: 100000;
	padding: 0.75em 1em;
	background: #fff;
	color: #000;
}


/* mobile width fix */
@media (max-width: 767px) {
	.et_pb_row { width: calc(100% - 32px); }
}

/* Lists: Divi fixes them at 26px line-height; match body text instead. */
body :is(.et-l, .entry-content) :is(ul, ol) {
	line-height: inherit;
	padding-left: 1.25em;
}

body :is(.et-l, .entry-content) li + li {
	margin-top: 0.5em;
}

/* The module's preset margin is the only space below a Text module. */
.et_pb_text_inner > :last-child {
	margin-bottom: 0;
	padding-bottom: 0;
}

/* Lucide icons pasted inline. Sized to the text, coloured by it (stroke="currentColor"). */
.bsa-icon {
	width: 1.25em;
	height: 1.25em;
	flex: none;
	vertical-align: -0.25em;      /* sits on the text baseline when inline */
}

/* Icon beside text: <p class="bsa-icon-row"><svg class="bsa-icon" …></svg><span>Text</span></p> */
.bsa-icon-row {
	display: flex;
	align-items: flex-start;
	gap: var(--space-2);
}

/* Bigger "feature" icon above a heading, the Blurb replacement */
.bsa-icon-lg {
	width: 46px;
	height: 46px;
	color: var(--Blue);
	margin-bottom: var(--space-4);
	display: block;
	margin-inline: auto;
}

/* Lay a column's modules out side by side.
   Put on the COLUMN's CSS Class field. Add .is-end to push them right. */
.bsa-inline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-4);          /* 16px between items */
}

.bsa-inline.is-end {
	justify-content: flex-end;
}

/* Presets give modules a bottom margin; side by side, the gap does the spacing. */
.bsa-inline > * {
	margin-bottom: 0 !important;
}

/* --------------------------------------------------------------------------
   Divi Search module: design-system field + Primary button, side by side
   -------------------------------------------------------------------------- */

/* Divi draws a border on the module itself and clips it (overflow: hidden),
   which would also cut off the focus ring. */
body #et-boc .et-l .et_pb_search {
	border: 0;
	border-radius: 0;
	overflow: visible;
	background: transparent;
}

body #et-boc .et-l .et_pb_searchform > div {
	display: flex;
	align-items: stretch;
	gap: var(--space-3);          /* 12px, as in the footer signup mockup */
}

/* The field */
body #et-boc .et-l .et_pb_search input.et_pb_s {
	flex: 1;
	min-width: 0;
	width: auto;
	box-sizing: border-box;
	min-height: 48px;
	height: auto;
	margin: 0;
	padding: 11px var(--space-4);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	background: var(--surface);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 1.0625rem;         /* 17px */
	line-height: 24px;
	transition: border-color 0.15s ease;
}

body #et-boc .et-l .et_pb_search input.et_pb_s::placeholder {
	color: var(--ink-muted);
	opacity: 1;
}

body #et-boc .et-l .et_pb_search input.et_pb_s:hover {
	border-color: var(--ink-muted);
}

body #et-boc .et-l .et_pb_search input.et_pb_s:focus {
	outline: 3px solid var(--focus);
	outline-offset: 2px;
	border-color: var(--Blue);
}

/* The submit button: same look as a Primary button.
   Divi positions it absolutely over the field's right end; this puts it back in the row. */
body #et-boc .et-l .et_pb_search input.et_pb_searchsubmit {
	position: static;
	flex: none;
	min-height: 48px;
	height: auto;
	margin: 0;
	padding: var(--space-3) var(--space-6);
	border: 2px solid var(--Blue);
	border-radius: var(--radius-sm);
	background: var(--Blue);
	color: var(--surface);
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 20px;
	font-weight: 600;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

body #et-boc .et-l .et_pb_search input.et_pb_searchsubmit:hover {
	background: var(--blue-700);
	border-color: var(--blue-700);
}

/* Search modal fixes. Divi's search script sets an inline height on the
   field when the page loads (measured while the modal is hidden, so it's
   wrong), and the module's own settings print padding with !important.
   :not(#bsa) and !important win over both. */
body #et-boc .et-l .et_pb_search:not(#bsa) { overflow: visible; }
body #et-boc .et-l .et_pb_search input.et_pb_s:not(#bsa) {
	height: auto !important;
	min-height: 48px;
	padding: 11px var(--space-4) !important;
	line-height: 24px;
}

body #et-boc .et-l .et_pb_search input.et_pb_searchsubmit:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 2px;
}

/* No fill on hover for quiet buttons w/icons */
.bsa-btn.bsa-btn-quiet:has(svg):hover { background: transparent; }

.bsa-gate-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 24px;
}


/* --------------------------------------------------------------------------
   Panels: turn a COLUMN into a card (CSS Class on the column)
   -------------------------------------------------------------------------- */
.bsa-panel {
	position: relative;
	padding: var(--space-6);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
}

.bsa-panel.is-blue {                /* tinted callout, e.g. Video Archive */
	padding: var(--space-8);
	background: var(--blue-50);
	border-color: transparent;
}

.bsa-panel > .et_pb_module:last-child {
	margin-bottom: 0 !important;
}

/* .is-linked: the heading's link covers the whole card, with an arrow at the right */
.bsa-panel.is-linked {
	transition: border-color 0.15s ease;
}

.bsa-panel.is-linked:hover {
	border-color: var(--Blue);
}

.bsa-panel.is-linked .et_pb_module {
	position: static;               /* so the link can cover the whole card */
}

.bsa-panel.is-linked :is(h2, h3, h4) a:not(#bsa) {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-2);
	color: var(--ink);
	text-decoration: none;
}

.bsa-panel.is-linked :is(h2, h3, h4) a::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: var(--radius-md);
}

.bsa-panel.is-linked :is(h2, h3, h4) a::after {   /* Lucide arrow-right */
	content: "";
	flex: none;
	width: 24px;
	height: 24px;
	background: var(--Blue);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.bsa-panel.is-linked :is(h2, h3, h4) a:focus-visible {
	outline: none;
}

.bsa-panel.is-linked:has(a:focus-visible) {
	outline: 3px solid var(--focus);
	outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Button pairs in one Code module:
   <div class="bsa-btn-row"><a class="bsa-btn" href="…">…</a><a class="bsa-btn bsa-btn-secondary" href="…">…</a></div>
   -------------------------------------------------------------------------- */
.bsa-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-4);
}

.bsa-btn-row.is-end {
	justify-content: flex-end;
}

/* bsa-inline variant: first item left, last item right (heading + "View All") */
.bsa-inline.is-between {
	justify-content: space-between;
	align-items: flex-end;
}

/* --------------------------------------------------------------------------
   Tier labels (from the design system's bundle.css; move there when it arrives)
   -------------------------------------------------------------------------- */
.bsa-tier {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	margin: 0;
	font-size: 0.8125rem;
	line-height: 16px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.bsa-tier::before {
	content: "";
	flex: none;
	width: 8px;
	height: 12px;
}

.bsa-tier-exhibiting                 { color: var(--Blue); }
.bsa-tier-exhibiting::before         { background: var(--Blue); }
.bsa-tier-distinguished              { color: var(--orange-700); }
.bsa-tier-distinguished::before      { background: var(--Orange); }
.bsa-tier-associate                  { color: var(--green-700); }
.bsa-tier-associate::before          { background: var(--Green); }
.bsa-tier-student                    { color: var(--ink-muted); }
.bsa-tier-student::before            { background: var(--border-strong); }


/* =========================================================
   Single post (Theme Builder template: "Article")
   Mockups: Article and ArticleShort on the design canvas.
   Markup: docs/shortcodes.md 9.2 to 9.5 ([bsa_post_list],
   [bsa_post_meta], [bsa_post_figure], [bsa_post_more]) and
   7.11 (the Artist Opportunities gate).

   Section padding, row widths and module spacing between the
   sections are Divi settings, not CSS.

   typography.css sizes headings with "body.et-db #et-boc .et-l h2",
   which outranks a plain class. Rules here that set a heading's
   size or margin carry "#et-boc .et-l" and ":not(#bsa)" to win,
   as member-directory.css does.
   ========================================================= */

/* ---- Breadcrumb (Anthony's; class not on the module) ---- */
.bsa-breadcrumb { font-size: 15px; line-height: 22px; color: var(--ink-muted); margin-bottom: 40px !important; }
.bsa-breadcrumb a { color: var(--ink-muted); }

/* ---- Main column + sidebar ------------------------------ */
/* Mockup: main ~845px, sidebar 300px, ~130px between them,
   inside the 1280px row. */
.bsa-article-row.et_pb_row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) clamp(240px, 22vw, 300px);
	column-gap: clamp(48px, 7vw, 128px);
	align-items: start;
}
.bsa-article-row.et_pb_row::after { display: none; } /* Divi's clearfix would become a grid cell */
.bsa-article-row > .et_pb_column {
	width: auto !important;
	margin-right: 0 !important;
	float: none;
}

/* ---- Main column stack ---------------------------------- */
/* Meta 16px above the title; 32px between the rest. */
.bsa-article-main > .et_pb_module { margin-bottom: var(--space-8) !important; }
.bsa-article-main > .et_pb_module:last-child { margin-bottom: 0 !important; }
.bsa-article-main > .bsa-post-meta-module { margin-bottom: var(--space-4) !important; }

/* No featured image (or a gated post): Divi still prints the empty
   module, which would leave an extra 32px gap. */
.bsa-article-main > .bsa-post-figure-module:not(:has(.bsa-post-figure)) { display: none; }

/* ---- Meta line (shared by the article and both lists) ---- */
/* "MEMBER ACHIEVEMENTS   October 16, 2026". The dot separator is
   hidden here and shown only in the sidebar's quiet version.
   Mockup uses 13px; 14px keeps to the "nothing below 14px" rule. */
.bsa-post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--space-1) var(--space-3);
	margin: 0;
	padding: 0 !important;
	font-size: 14px;
	line-height: 18px;
}
.bsa-post-meta-cat {
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--Blue);
	text-decoration: none;
}
a.bsa-post-meta-cat:hover { color: var(--blue-700); text-decoration: underline; }
.bsa-post-meta-sep { display: none; }
.bsa-post-meta-date { color: var(--ink-muted); }

/* ---- Title ---------------------------------------------- */
/* Size comes from typography.css (h1: 42/50, 32 on phones). */
#et-boc .et-l .bsa-post-title .entry-title:not(#bsa) { margin: 0; padding: 0; }

/* ---- Featured image: paper panel, whole image, never cropped */
.bsa-post-figure {
	margin: 0;
	display: flex;
	justify-content: center;
	padding: var(--space-8);
	background: var(--paper);
}
.bsa-post-figure img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 720px;
	object-fit: contain;
}

/* ---- Body text: 720px measure under the wider image ------ */
.bsa-post-body { font-size: 17px; line-height: 28px; }
.bsa-post-body p,
.bsa-post-body ul,
.bsa-post-body ol { margin: 0 0 20px; padding-bottom: 0; }
.bsa-post-body ul,
.bsa-post-body ol { padding-left: 24px; }
.bsa-post-body li + li { margin-top: 8px; }
.bsa-post-body > *:last-child { margin-bottom: 0; }

/* In-post headings are small and sans (mockup: 20/28 and 18/26, 600),
   not the serif section sizes typography.css gives h2 and h3. */
#et-boc .et-l .bsa-post-body h2:not(#bsa),
#et-boc .et-l .bsa-post-body h3:not(#bsa),
#et-boc .et-l .bsa-post-body h4:not(#bsa) {
	font-family: var(--font-sans);
	font-weight: 600;
	padding: 0;
}
#et-boc .et-l .bsa-post-body h2:not(#bsa) { font-size: 20px; line-height: 28px; margin: 32px 0 12px; }
#et-boc .et-l .bsa-post-body :is(h3, h4):not(#bsa) { font-size: 18px; line-height: 26px; margin: 28px 0 8px; }
#et-boc .et-l .bsa-post-body > :is(h2, h3, h4):first-child:not(#bsa) { margin-top: 0; }

/* Older posts (the classic editor) use divs for paragraphs, with
   empty divs as spacers. */
.bsa-post-body > div { margin: 0 0 20px; }
.bsa-post-body > div:empty { display: none; }

/* Images and captions placed in older posts */
.bsa-post-body img { max-width: 100%; height: auto; }
.bsa-post-body .wp-caption {
	max-width: 100%;
	margin: 8px 0 24px;
	padding: 0;
	border: 0;
	background: none;
}
.bsa-post-body .wp-caption img { display: block; margin: 0; }
.bsa-post-body .wp-caption-text { margin: 8px 0 0; padding: 0; text-align: left; }
.bsa-post-body .aligncenter { margin-left: auto; margin-right: auto; }
.bsa-post-body .alignleft { float: left; margin: 4px 24px 16px 0; }
.bsa-post-body .alignright { float: right; margin: 4px 0 16px 24px; }
.bsa-post-body::after { content: ""; display: table; clear: both; }

/* WordPress's classic [gallery]: replace its inline float layout
   (#gallery-N rules, hence :not(#bsa)) with a grid that keeps the
   editor's column count. */
.bsa-post-body .gallery:not(#bsa) {
	--bsa-gallery-cols: 3;
	display: grid;
	grid-template-columns: repeat(var(--bsa-gallery-cols), minmax(0, 1fr));
	gap: var(--space-3);
	margin: 0 0 24px;
}
.bsa-post-body .gallery-columns-1:not(#bsa) { --bsa-gallery-cols: 1; }
.bsa-post-body .gallery-columns-2:not(#bsa) { --bsa-gallery-cols: 2; }
.bsa-post-body .gallery-columns-4:not(#bsa) { --bsa-gallery-cols: 4; }
.bsa-post-body .gallery-columns-5:not(#bsa) { --bsa-gallery-cols: 5; }
.bsa-post-body .gallery-columns-6:not(#bsa) { --bsa-gallery-cols: 6; }
.bsa-post-body .gallery br { display: none; }
.bsa-post-body .gallery .gallery-item:not(#bsa) { float: none; width: auto; margin: 0; }
.bsa-post-body .gallery .gallery-icon { margin: 0; }
.bsa-post-body .gallery .gallery-icon a:not(#bsa) { display: block; width: 100%; }
.bsa-post-body .gallery img:not(#bsa) {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	border: 0;
}
.bsa-post-body .gallery .gallery-caption { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); }

/* ---- Artist Opportunities gate (in place of the content) */
.bsa-gate-teaser { margin-bottom: 24px; }
.bsa-gate {
	padding: var(--space-8);
	background: var(--paper);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
}
.bsa-gate p { margin: 0 0 16px; padding: 0; }
.bsa-gate p:last-child { margin-bottom: 0; }
/* .bsa-gate-actions is earlier in this file, above this section. */

/* ---- Post lists (sidebar and Similar Posts) -------------- */
/* The title comes first in the markup on purpose (docs/shortcodes.md
   9.2); order puts the meta above it on screen. */
/* :not(#bsa) beats Divi's ".et-l--body ul" padding and typography.css's
   space between list items. */
.bsa-post-list:not(#bsa) { list-style: none; margin: 0; padding: 0; }
.bsa-post-list-item { display: flex; flex-direction: column; }
.bsa-post-list-item:not(#bsa) { margin: 0; }
.bsa-post-list-item > * { margin: 0; padding: 0; }
.bsa-post-list-item > .bsa-post-meta { order: -1; }
#et-boc .et-l .bsa-post-list-title:not(#bsa) { margin: 0; padding: 0; }
.bsa-post-list-title a:not(#bsa) { color: var(--ink); text-decoration: none; }
.bsa-post-list-title a:not(#bsa):hover { color: var(--Blue); text-decoration: underline; }

/* ---- Sidebar: Recent News -------------------------------- */
.bsa-article-sidebar { position: sticky; top: 24px; }
.admin-bar .bsa-article-sidebar { top: 56px; }
/* If it won't stick: an ancestor has overflow set (check #page-container). */

/* The "Recent News" heading: a quiet uppercase label, not a section h2 */
#et-boc .et-l .bsa-article-sidebar h2:not(#bsa) {
	margin: 0;
	padding: 0;
	font-family: var(--font-sans);
	font-size: 14px;
	line-height: 18px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-muted);
}
.bsa-article-sidebar .bsa-post-list { border-top: 1px solid var(--border); }
.bsa-article-sidebar .bsa-post-list-item {
	gap: var(--space-1);
	padding: var(--space-4) 0;
	border-bottom: 1px solid var(--border);
}
/* Quiet meta: "Blog · September 17, 2026", all muted, with the dot */
.bsa-article-sidebar .bsa-post-meta { gap: 0 6px; }
.bsa-article-sidebar .bsa-post-meta-cat { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink-muted); }
.bsa-article-sidebar .bsa-post-meta-sep { display: inline; color: var(--ink-muted); }
.bsa-article-sidebar .bsa-post-list-title {
	font-family: var(--font-serif);
	font-size: 19px;
	line-height: 26px;
}
.bsa-view-all { margin-top: var(--space-4); font-weight: 600; font-size: 16px; line-height: 20px; }

/* ---- Similar Posts --------------------------------------- */
/* Reusable section heading: short green rule above an h2, with an
   optional link at the right ([bsa_post_more] here). */
.bsa-section-heading .et_pb_text_inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--space-2) var(--space-6);
}
#et-boc .et-l .bsa-section-heading h2:not(#bsa) { margin: 0; padding: 0; }
.bsa-section-heading h2::before {
	content: "";
	display: block;
	width: 48px;
	height: 6px;
	margin-bottom: var(--space-4);
	background: var(--Green);
}
.bsa-section-heading .et_pb_text_inner > p { margin: 0; padding: 0; }
.bsa-post-more { font-weight: 600; font-size: 16px; line-height: 20px; }

:is(.bsa-post-similar, .bsa-home-news) .bsa-post-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-6);
}
:is(.bsa-post-similar, .bsa-home-news) .bsa-post-list-item {
	gap: var(--space-3);
	padding: var(--space-6);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
}
/* Card titles are h3 (level="3"); typography.css sizes them 25/32 → 22. */

/* ---- Tablet and phone ------------------------------------ */
@media (max-width: 980px) {
	.bsa-article-row.et_pb_row { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-16); }
	.bsa-article-sidebar { position: static; }
	.bsa-post-similar .bsa-post-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
	.bsa-post-figure { padding: var(--space-4); }
	.bsa-post-figure img { max-height: 70vh; }
	.bsa-post-body .alignleft,
	.bsa-post-body .alignright { float: none; margin: 8px 0 24px; }
	.bsa-post-body :is(.gallery-columns-4, .gallery-columns-5, .gallery-columns-6):not(#bsa) { --bsa-gallery-cols: 3; }
	.bsa-gate { padding: var(--space-6); }
}

/* =========================================================
   News page and category archives (Theme Builder template:
   "News archive", Use On: Posts → Blog + All Category Pages)
   Mockup: News on the design canvas.
   Markup: docs/shortcodes.md 9.6 to 9.8 ([bsa_post_archive_intro],
   [bsa_post_tabs], [bsa_post_grid]).
   Uses the meta line rules from the Single post section above.
   ========================================================= */

/* ---- Spacing between the three Code modules ------------- */
/* Mockup: 32px from the intro to the tabs, 40px from the tabs to
   the grid. Divi's own module margin is beaten with #et-boc. */
#et-boc .et-l .et_pb_code:has(.bsa-archive-title):not(#bsa) { margin-bottom: var(--space-4); }
#et-boc .et-l .et_pb_code:has(.bsa-post-tabs):not(#bsa) { margin-bottom: 40px; }

/* ---- Heading and intro ----------------------------------- */
/* Green rule above the h1; h1 size from typography.css (42/50). */
#et-boc .et-l .bsa-archive-title:not(#bsa) { margin: 0; padding: 0; }
.bsa-archive-title::before {
	content: "";
	display: block;
	width: 48px;
	height: 6px;
	margin-bottom: var(--space-4);
	background: var(--Green);
}
.bsa-archive-intro { max-width: 760px; margin-top: var(--space-4); }
.bsa-archive-intro > p {
	margin: 0 0 12px;
	padding: 0;
	font-size: 19px;
	line-height: 30px;
}
.bsa-archive-intro > p:last-child { margin-bottom: 0; }

/* Artist Opportunities, for visitors who can't read them: the gate
   box follows the category's description. */
.bsa-archive-intro .bsa-gate { margin-top: var(--space-6); }

/* ---- Category tabs --------------------------------------- */
.bsa-post-tabs { border-bottom: 1px solid var(--border); }
.bsa-post-tabs ul:not(#bsa) {
	display: flex;
	gap: 40px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.bsa-post-tabs li:not(#bsa) { margin: 0; padding: 0; flex: none; }
.bsa-post-tabs a {
	display: inline-block;
	padding: 14px 0 12px;
	border-bottom: 4px solid transparent;
	margin-bottom: -1px; /* the current tab's bar sits on the line */
	font-size: 16px;
	line-height: 20px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--ink);
	text-decoration: none;
}
.bsa-post-tabs a:hover { color: var(--Blue); text-decoration: none; border-bottom-color: var(--border-strong); }
.bsa-post-tabs a[aria-current] { border-bottom-color: var(--Blue); }
.bsa-post-tabs a[aria-current]:hover { color: var(--ink); border-bottom-color: var(--Blue); }

/* ---- Card grid ------------------------------------------- */
.bsa-post-grid-list:not(#bsa) {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-6);
	margin: 0;
	padding: 0;
	list-style: none;
}

/* The title is first in the markup (for screen readers); the image
   and meta move above it. */
.bsa-post-card:not(#bsa) {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	margin: 0;
	padding: 0 0 var(--space-6);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	overflow: hidden;
	transition: border-color 0.15s;
}
.bsa-post-card > * { margin: 0 var(--space-6); padding: 0; }
.bsa-post-card-no-image:not(#bsa) { padding-top: var(--space-6); }
.bsa-post-card-media { order: -2; }
.bsa-post-card .bsa-post-meta { order: -1; }

/* Image panel: fixed 4:3 paper panel, whole image, never cropped.
   The image is positioned inside the panel so a tall image can't
   stretch it. */
.bsa-post-card > .bsa-post-card-media {
	position: relative;
	margin: 0 0 var(--space-3);
	aspect-ratio: 4 / 3;
	background: var(--paper);
	border-bottom: 1px solid var(--border);
}
.bsa-post-card-media img:not(#bsa) {
	position: absolute;
	inset: var(--space-4);
	width: calc(100% - 2 * var(--space-4));
	height: calc(100% - 2 * var(--space-4));
	max-width: none;
	object-fit: contain;
}

#et-boc .et-l .bsa-post-card-title:not(#bsa) {
	margin: 0 var(--space-6);
	padding: 0;
	font-family: var(--font-serif);
	font-size: 22px;
	line-height: 30px;
	font-weight: 400;
}
.bsa-post-card-link { color: var(--ink); text-decoration: none; }
/* The whole card is the link's click target */
.bsa-post-card-link::after { content: ""; position: absolute; inset: 0; }
.bsa-post-card:hover { border-color: var(--border-strong); }
.bsa-post-card:hover .bsa-post-card-link { color: var(--Blue); text-decoration: underline; }
.bsa-post-card-link:focus-visible { outline: none; }
.bsa-post-card:has(.bsa-post-card-link:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }

.bsa-post-card-excerpt { font-size: 15px; line-height: 24px; color: var(--ink); }

.bsa-post-grid-empty { font-size: 17px; color: var(--ink-muted); }

/* ---- Pagination ------------------------------------------ */
.bsa-pagination { display: flex; justify-content: center; padding-top: var(--space-12); }
.bsa-pagination ul:not(#bsa) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	margin: 0;
	padding: 0;
	list-style: none;
}
.bsa-pagination li:not(#bsa) { margin: 0; padding: 0; }
.bsa-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	box-sizing: border-box;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	font-size: 16px;
	line-height: 20px;
	font-weight: 600;
	color: var(--ink);
	text-decoration: none;
}
.bsa-pagination a.page-numbers:hover { border-color: var(--Blue); color: var(--Blue); }
.bsa-pagination .page-numbers.current { background: var(--Blue); border-color: var(--Blue); color: #fff; }
.bsa-pagination .page-numbers.dots { min-width: 32px; border: 0; color: var(--ink-muted); }
.bsa-pagination .page-numbers.prev,
.bsa-pagination .page-numbers.next { gap: 6px; padding: 0 12px; border: 0; color: var(--Blue); }
.bsa-pagination .page-numbers.prev:hover,
.bsa-pagination .page-numbers.next:hover { text-decoration: underline; }
/* Chevrons, drawn with borders so there's no icon font */
.bsa-pagination .prev::before,
.bsa-pagination .next::after {
	content: "";
	width: 7px;
	height: 7px;
	border: solid currentColor;
	border-width: 0 2px 2px 0;
}
.bsa-pagination .prev::before { transform: rotate(135deg); margin-left: 3px; }
.bsa-pagination .next::after { transform: rotate(-45deg); margin-right: 3px; }

/* ---- Tablet and phone ------------------------------------ */
@media (max-width: 980px) {
	.bsa-post-grid-list:not(#bsa) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.bsa-post-grid-list:not(#bsa) { grid-template-columns: minmax(0, 1fr); }
	/* Tabs scroll sideways rather than wrap */
	.bsa-post-tabs { overflow-x: auto; scrollbar-width: none; }
	.bsa-post-tabs ul:not(#bsa) { gap: var(--space-6); }
	.bsa-post-tabs a { white-space: nowrap; }
	.bsa-archive-intro > p { font-size: 17px; line-height: 28px; }
	/* Numbers only around the current page fit; Newer/Older stay */
	.bsa-pagination ul:not(#bsa) { gap: 4px; }
}

/* Home page: lighter card and event titles than the site's h3 */
#et-boc .et-l :is(.bsa-home-news .bsa-post-list-title, .bsa-home-events .bsa-event-title):not(#bsa) {
	font-size: clamp(1.1875rem, 1.15rem + 0.2vw, 1.3125rem);   /* 19px → 21px */
	line-height: 1.33;
	text-wrap: pretty;
}