/* Columbia Chapter plugin. Uses the Columbia child theme's --cc-* tokens, with fallbacks. */
.cc-empty { padding: 20px 24px; border-radius: var(--cc-radius, 6px); background: var(--cc-wash, #f8f6f1); color: var(--cc-muted, #5c625f); }
.cc-small { font-size: 15px; }
.cc-muted { color: var(--cc-muted, #5c625f); }
.cc-print-only { display: none; }
.cc-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Books */
.cc-books__group { margin: 0 0 40px; scroll-margin-top: 120px; }
.cc-books__group h3 { margin: 0 0 6px; }
.cc-books__desc { margin: 0 0 8px; color: var(--cc-muted, #5c625f); }
.cc-prices { list-style: none !important; margin: 0 0 28px !important; padding: 0 !important; }
.cc-prices li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0 !important; border-bottom: 1px solid var(--cc-hairline-strong, #cdc6b8); list-style: none !important; }
.cc-prices li .t { display: block; color: var(--cc-ink, #1b201e); }
.cc-prices li .m { display: block; font-size: 15px; color: var(--cc-muted, #5c625f); }
.cc-prices li strong { font-weight: 600; white-space: nowrap; color: var(--cc-ink, #1b201e); }

/* Board */
.cc-board { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.cc-board li { display: flex; align-items: center; gap: 16px; padding: 18px !important; background: #fff; border: 1px solid var(--cc-hairline, #e3ded4); border-radius: 8px; list-style: none !important; }
.cc-board__mark { width: 56px; height: 56px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--cc-linen, #f0ece3); color: var(--cc-pine, #1f4a46); font-family: var(--cc-serif, Georgia, serif); font-size: 21px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--cc-hairline-strong, #cdc6b8); }
.cc-board__mark img { width: 100%; height: 100%; object-fit: cover; }
.cc-board b { display: block; font-family: var(--cc-serif, Georgia, serif); font-size: 20px; font-weight: 600; color: var(--cc-ink, #1b201e); line-height: 1.25; }
.cc-board b + span { display: block; font-size: 15px; color: var(--cc-muted, #5c625f); }

/* Dues */
.cc-dues { list-style: none !important; margin: 0 0 12px !important; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.cc-dues li { padding: 26px !important; background: #fff; border: 1px solid var(--cc-hairline, #e3ded4); border-top: 3px solid var(--cc-bronze, #a8763e); border-radius: 6px; list-style: none !important; }
.cc-dues li p { margin: 0; font-size: 16px; color: var(--cc-body, #3d4441); }
.cc-dues__name { font-size: 14px !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cc-bronze-text, #8a5f2f) !important; }
.cc-dues__price { font-family: var(--cc-serif, Georgia, serif); font-size: 46px !important; line-height: 1.1; color: var(--cc-pine, #1f4a46) !important; margin: 6px 0 10px !important; }
.cc-dues__price span { font-family: var(--cc-sans, sans-serif); font-size: 16px; color: var(--cc-muted, #5c625f); }

/* Queries */
.cc-queries { display: grid; gap: 16px; margin-bottom: 16px; }
.cc-query { padding: 22px 24px; background: #fff; border: 1px solid var(--cc-hairline, #e3ded4); border-left: 3px solid var(--cc-bronze, #a8763e); border-radius: 6px; scroll-margin-top: 120px; }
.cc-query__names { margin: 0 0 6px !important; font-weight: 600; letter-spacing: .06em; color: var(--cc-pine, #1f4a46); }
.cc-query__text p { margin: 0 0 8px; }
.cc-query__meta { margin: 0 !important; font-size: 14px; color: var(--cc-muted, #5c625f); }

/* Issues */
.cc-issues { list-style: none !important; margin: 0 0 16px !important; padding: 0 !important; }
.cc-issues li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0 !important; border-bottom: 1px solid var(--cc-hairline, #e3ded4); list-style: none !important; }
.cc-issues b { display: block; font-weight: 600; color: var(--cc-ink, #1b201e); }
.cc-issues b + span { font-size: 15px; color: var(--cc-muted, #5c625f); }
.cc-issues a { font-weight: 600; white-space: nowrap; }

/* Forms */
.cc-form { max-width: 860px; }
.cc-field { margin: 0 0 16px !important; display: flex; flex-direction: column; gap: 6px; }
.cc-field label, .cc-fieldset legend { font-size: 15px; font-weight: 600; color: var(--cc-ink, #1b201e); }
.cc-form input[type="text"], .cc-form input[type="email"], .cc-form input[type="tel"], .cc-form input[type="number"], .cc-form select, .cc-form textarea {
	width: 100%; box-sizing: border-box; min-height: 50px; padding: 10px 14px; font: inherit; font-size: 17px; color: var(--cc-ink, #1b201e);
	background: #fff; border: 1.5px solid var(--cc-hairline-strong, #cdc6b8); border-radius: 6px; transition: border-color .15s, box-shadow .15s;
}
.cc-form textarea { min-height: 150px; resize: vertical; }
.cc-form input:focus, .cc-form select:focus, .cc-form textarea:focus { outline: none; border-color: var(--cc-pine, #1f4a46); box-shadow: 0 0 0 3px rgba(31, 74, 70, .18); }
.cc-fieldset { margin: 0 0 24px; padding: 0; border: 0; }
.cc-fieldset legend { margin-bottom: 10px; padding: 0; font-family: var(--cc-serif, Georgia, serif); font-size: 22px; font-weight: 600; }
.cc-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); column-gap: 20px; }
.cc-choices { display: grid; gap: 10px; }
.cc-choices--row { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.cc-choice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: #fff; border: 1.5px solid var(--cc-hairline, #e3ded4); border-radius: 6px; cursor: pointer; }
.cc-choice:has(input:checked) { border-color: var(--cc-pine, #1f4a46); background: #f3f7f6; }
.cc-choice input { margin-top: 5px; accent-color: var(--cc-pine, #1f4a46); width: 18px; height: 18px; flex: none; }
.cc-choice b { display: block; color: var(--cc-ink, #1b201e); }
.cc-choice b + span { display: block; font-size: 15px; color: var(--cc-muted, #5c625f); }
.cc-order__table { width: 100%; border-collapse: collapse; margin: 0; }
.cc-order__table th { text-align: left; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cc-muted, #5c625f); padding: 8px 8px 8px 0; border-bottom: 1px solid var(--cc-hairline-strong, #cdc6b8); }
.cc-order__table td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--cc-hairline, #e3ded4); vertical-align: middle; }
.cc-order__table td:nth-child(2) { white-space: nowrap; font-weight: 600; width: 90px; }
.cc-order__table td:nth-child(3) { width: 96px; }
.cc-order__table input[type="number"] { min-height: 44px; padding: 6px 10px; text-align: center; }
.cc-order__table tr.is-picked td { background: #f3f7f6; }
.cc-totals { margin: 8px 0 28px; padding: 20px 24px; background: var(--cc-wash, #f8f6f1); border: 1px solid var(--cc-hairline, #e3ded4); border-radius: 6px; }
.cc-totals p { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 6px !important; }
.cc-totals small { color: var(--cc-muted, #5c625f); }
.cc-total { padding-top: 10px; border-top: 1px solid var(--cc-hairline-strong, #cdc6b8); font-size: 20px; }
.cc-total b { font-family: var(--cc-serif, Georgia, serif); font-size: 26px; color: var(--cc-pine, #1f4a46); }
.cc-mailto { margin: 0 0 24px; padding: 22px 24px; background: #fff; border: 1px solid var(--cc-hairline, #e3ded4); border-top: 3px solid var(--cc-bronze, #a8763e); border-radius: 6px; }
.cc-mailto address { font-style: normal; font-size: 19px; line-height: 1.5; color: var(--cc-ink, #1b201e); margin: 0 0 8px; }
.cc-notice { padding: 14px 18px; border-radius: 6px; font-weight: 600; margin: 0 0 20px !important; }
.cc-notice.is-ok { background: #e6f0ec; color: #1d4a3a; border: 1px solid #b9d4c8; }
.cc-notice.is-error { background: #fbeceb; color: #7a2620; border: 1px solid #ecc5c1; }
.cc-signup .cc-field label { color: var(--cc-on-dark, #e9d3b4); }
.cc-signup { max-width: 520px; }


/* Phones: the order table becomes a simple list; fieldsets may shrink. */
.cc-fieldset { min-width: 0; }
@media (max-width: 600px) {
	.cc-order__table thead { display: none; }
	.cc-order__table, .cc-order__table tbody { display: block; }
	.cc-order__table tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--cc-hairline, #e3ded4); }
	.cc-order__table td { display: block; padding: 0 !important; border: 0 !important; width: auto !important; }
	.cc-order__table td:first-child { grid-column: 1 / -1; }
	.cc-order__table td:nth-child(3) input { width: 84px; }
	.cc-totals { padding: 16px; }
	.cc-total { font-size: 18px; }
}

/* Order form as the catalogue: books on the left, a summary that follows you on the right. */
.cc-order { max-width: none; }
.cc-order__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.cc-order__summary { position: sticky; top: 110px; }
.cc-order__summary .cc-totals { margin: 0 0 16px; background: #fff; border-top: 3px solid var(--cc-bronze, #a8763e); box-shadow: 0 8px 24px rgba(27, 32, 30, .08); }
.cc-totals__h { font-family: var(--cc-serif, Georgia, serif); font-size: 22px; font-weight: 600; color: var(--cc-ink, #1b201e); margin: 0 0 12px !important; display: block !important; }
.cc-summary__go { margin: 0 0 12px !important; }
.cc-series { scroll-margin-top: 120px; }
.cc-series__desc { margin: -4px 0 8px !important; color: var(--cc-muted, #5c625f); font-size: 16px; }
.cc-order__table label .t { display: block; color: var(--cc-ink, #1b201e); font-weight: 500; }
.cc-order__table label .m { display: block; font-size: 15px; color: var(--cc-muted, #5c625f); }
.cc-order__table tr.is-out label .t { color: var(--cc-muted, #5c625f); }
.cc-order__details { max-width: 860px; margin-top: 40px; }
@media (max-width: 980px) {
	.cc-order__layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.cc-order__summary { position: sticky; top: auto; bottom: 0; z-index: 20; margin: 0 -6vw; padding: 10px 6vw; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--cc-hairline, #e3ded4); box-shadow: 0 -6px 18px rgba(27, 32, 30, .08); }
	.cc-order__summary .cc-totals { margin: 0; padding: 0; border: 0; box-shadow: none; background: none; }
	.cc-order__summary .cc-totals > p:not(.cc-total), .cc-order__summary > p { display: none; }
	.cc-order__summary .cc-total { border: 0; padding: 0; margin: 0 !important; align-items: center; }
	.cc-order__summary .cc-total b { font-size: 22px; }
}

/* The printed sheet: built by forms.js, one page, only what was chosen. */
#cc-sheet-wrap { display: none; }
.cc-print-msg { margin: 12px 0 0 !important; padding: 12px 16px; border-radius: 6px; background: #fbeceb; color: #7a2620; font-weight: 600; }
@media print {
	@page { size: letter; margin: 0.6in; }
	body.cc-printing-sheet > *:not(#cc-sheet-wrap) { display: none !important; }
	body.cc-printing-sheet { background: #fff !important; }
	body.cc-printing-sheet #cc-sheet-wrap { display: block !important; }
	.cc-sheet { font-family: "IBM Plex Sans", Arial, sans-serif; font-size: 10.5pt; line-height: 1.4; color: #000; }
	.cc-sheet__top { display: flex; justify-content: space-between; border-bottom: 1.5pt solid #000; padding-bottom: 6pt; margin-bottom: 12pt; }
	.cc-sheet__top p { margin: 0; }
	.cc-sheet__org { font-family: Georgia, serif; font-size: 13pt; font-weight: bold; }
	.cc-sheet__title { font-family: Georgia, serif; font-size: 18pt; font-weight: normal; margin: 0 0 10pt; color: #000; padding: 0; }
	.cc-sheet__table { width: 100%; border-collapse: collapse; margin: 0 0 14pt; }
	.cc-sheet__table th { text-align: left; font-size: 8.5pt; text-transform: uppercase; letter-spacing: .08em; border-bottom: 1pt solid #000; padding: 4pt 6pt 4pt 0; }
	.cc-sheet__table td { padding: 4pt 6pt 4pt 0; border-bottom: .5pt solid #999; vertical-align: top; }
	.cc-sheet__table th:not(:first-child), .cc-sheet__table td:not(:first-child) { text-align: right; white-space: nowrap; width: 1%; padding-left: 12pt; }
	.cc-sheet__table tfoot td { border-bottom: 0; padding-top: 3pt; }
	.cc-sheet__table tfoot td:first-child { text-align: right; }
	.cc-sheet__total td { font-weight: bold; font-size: 12pt; border-top: 1pt solid #000 !important; padding-top: 6pt !important; }
	.cc-sheet__cols { display: flex; gap: 16pt; margin: 0 0 12pt; break-inside: avoid; }
	.cc-sheet__box { flex: 1; border: 1pt solid #000; padding: 8pt 10pt; }
	.cc-sheet__box p { margin: 0 0 4pt; }
	.cc-sheet__h { font-size: 8.5pt; text-transform: uppercase; letter-spacing: .08em; font-weight: bold; }
	.cc-sheet__box .cc-sheet__line { margin: 0 0 2pt; }
	.cc-sheet__box .cc-sheet__blank { display: flex; align-items: flex-end; gap: 6pt; height: 20pt; margin: 0; color: #777; font-size: 8pt; white-space: nowrap; }
	.cc-sheet__box .cc-sheet__blank::after { content: ""; flex: 1; border-bottom: 0.75pt solid #999; margin-bottom: 2pt; }
	.cc-sheet__dl { display: grid; grid-template-columns: auto 1fr; gap: 2pt 12pt; margin: 0 0 12pt; }
	.cc-sheet__dl dt { font-weight: bold; }
	.cc-sheet__dl dd { margin: 0; }
	.cc-sheet__note { font-size: 9pt; color: #333; margin: 0; }
}

/* Members' directory (password-protected page) */
.cc-dir__tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 0 0 10px; }
.cc-dir__search input { min-width: min(320px, 100%); min-height: 44px; padding: 0 14px; border: 1px solid var(--cc-hairline-strong, #cdc6b8); border-radius: 6px; font: inherit; font-size: 16px; background: #fff; }
.cc-dir__search input:focus { outline: 2px solid var(--cc-pine, #1f4a46); outline-offset: 1px; }
.cc-dir__count { margin: 0 0 8px; font-size: 14px; color: var(--cc-muted, #5c625f); }
.cc-dir__table { width: 100%; border-collapse: collapse; font-size: 16px; background: #fff; }
.cc-dir__table th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cc-muted, #5c625f); border-bottom: 1.5px solid var(--cc-ink, #1b201e); padding: 8px 12px 8px 0; }
.cc-dir__table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--cc-hairline, #e3ded4); vertical-align: top; }
.cc-dir__table td strong { font-family: var(--cc-serif, Georgia, serif); font-weight: 600; color: var(--cc-ink, #1b201e); }
.cc-dir__family { display: block; font-size: 14px; color: var(--cc-muted, #5c625f); }
.cc-dir__table a { color: var(--cc-pine, #1f4a46); overflow-wrap: anywhere; }
.cc-dir__note { margin-top: 14px; font-size: 14px; color: var(--cc-muted, #5c625f); }
@media (max-width: 760px) {
	.cc-dir__table thead { display: none; }
	.cc-dir__table, .cc-dir__table tbody, .cc-dir__table tr, .cc-dir__table td { display: block; width: 100%; }
	.cc-dir__table tr { padding: 12px 0; border-bottom: 1px solid var(--cc-hairline, #e3ded4); }
	.cc-dir__table tr[hidden] { display: none; }
	.cc-dir__table td { border: 0; padding: 2px 0; }
	.cc-dir__table td:empty { display: none; }
}
@media print {
	body:has(.cc-dir) header.et-l--header, body:has(.cc-dir) footer.et-l--footer, body:has(.cc-dir) .cc-page-hero, body:has(.cc-dir) #wpadminbar { display: none !important; }
	.cc-dir__table { font-size: 10pt; }
	.cc-dir__table tr { break-inside: avoid; }
	.cc-dir__table a { color: #000; text-decoration: none; }
}
