/* Heritage theme (Design A) — content pages. Scoped under body.jr-site. Owned by the "content" work group.
   Prefix: .jr-ct-*  (stories, blog, events, CMS/policy pages, FAQ, contact, vendors, advertise, browse, demograph) */

/* ---------- Page head ---------- */
.jr-site .jr-ct-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.jr-site .jr-ct-head h1 { font-size: 44px; line-height: 1.05; }
.jr-site .jr-ct-head p { margin: 4px 0 0; }
.jr-site .jr-ct-head-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.jr-site .jr-ct-crumb { font-size: 14px; margin: 0 0 8px; color: var(--jr-muted); }
.jr-site .jr-ct-crumb a { color: var(--jr-maroon); font-weight: 600; }
.jr-site .jr-ct-crumb span[aria-hidden] { margin: 0 6px; }
.jr-site .jr-ct-eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--jr-maroon); margin: 0 0 10px; }
.jr-site .jr-ct-chip { display: inline-block; padding: 5px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--jr-chip); color: var(--jr-ink); line-height: 1.4; }
.jr-site .jr-ct-link { font-weight: 700; color: var(--jr-maroon) !important; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.jr-site .jr-ct-link:hover { text-decoration: underline; }

/* ---------- Grids ---------- */
.jr-site .jr-ct-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.jr-site .jr-ct-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.jr-site .jr-ct-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.jr-site .jr-ct-main-aside { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px; align-items: start; }
.jr-site .jr-ct-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start; }
.jr-site .jr-ct-aside { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.jr-site .jr-ct-aside:empty { display: none; }

/* ---------- Cards (stories, blog posts, events, vendors) ---------- */
.jr-site .jr-ct-card { background: var(--jr-paper); border: 1px solid var(--jr-line); border-radius: var(--jr-radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.jr-site .jr-ct-card-img { display: block; position: relative; background: var(--jr-chip); }
.jr-site .jr-ct-card-img img { width: 100%; height: 260px; object-fit: cover; object-position: 50% 35%; display: block; }
.jr-site .jr-ct-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.jr-site .jr-ct-card-title { font-size: 26px; line-height: 1.15; color: var(--jr-ink) !important; text-decoration: none !important; }
.jr-site a.jr-ct-card-title:hover { color: var(--jr-maroon) !important; }
.jr-site .jr-ct-card-meta { font-size: 15px; margin: 4px 0 12px; color: var(--jr-muted); }
.jr-site .jr-ct-card-meta i { color: var(--jr-gold); margin-right: 4px; }
.jr-site .jr-ct-card-text { font-size: 15px; margin: 0; flex: 1; overflow-wrap: anywhere; }
.jr-site .jr-ct-card-foot { margin-top: 12px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.jr-site .jr-ct-date-tag { position: absolute; left: 14px; top: 14px; background: var(--jr-paper); color: var(--jr-ink); border-radius: 12px; padding: 6px 12px; text-align: center; line-height: 1.1; box-shadow: 0 6px 16px -10px rgba(43, 26, 20, .5); }
.jr-site .jr-ct-date-tag strong { display: block; font-family: var(--jr-serif); font-size: 26px; font-weight: 600; color: var(--jr-maroon); }
.jr-site .jr-ct-date-tag span { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

/* Featured (split) card */
.jr-site .jr-ct-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-bottom: 28px; background: var(--jr-paper); border: 1px solid var(--jr-line); border-radius: var(--jr-radius); overflow: hidden; }
.jr-site .jr-ct-feature-img { background: var(--jr-chip); min-height: 380px; }
.jr-site .jr-ct-feature-img img { width: 100%; height: 100%; min-height: 380px; max-height: 520px; object-fit: cover; object-position: 60% 40%; display: block; }
.jr-site .jr-ct-feature-body { padding: 44px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.jr-site .jr-ct-feature-body .jr-ct-chip { margin-bottom: 16px; }
.jr-site .jr-ct-feature-quote { font-size: 34px; line-height: 1.18; }
.jr-site .jr-ct-feature-body .jr-btn { margin-top: 22px; }

/* Call-to-action band */
.jr-site .jr-ct-cta { margin-top: 32px; padding: 32px 36px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.jr-site .jr-ct-cta h2 { font-size: 28px; }
.jr-site .jr-ct-cta p { margin: 2px 0 0; }
.jr-site .jr-ct-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.jr-site .jr-ct-cta-maroon { background: var(--jr-maroon); border-color: var(--jr-maroon); color: var(--jr-cream); }
.jr-site .jr-ct-cta-maroon h2 { color: var(--jr-cream); font-size: 32px; }
.jr-site .jr-ct-cta-maroon p { opacity: .88; }
.jr-site .jr-ct-btn-soft { background: var(--jr-gold-soft); color: var(--jr-ink) !important; }
.jr-site .jr-ct-btn-soft:hover { background: #dcb466; }

/* Small info cards (aside) */
.jr-site .jr-ct-info { padding: 22px 24px; }
.jr-site .jr-ct-info .jr-lbl { margin-bottom: 4px; }
.jr-site .jr-ct-info-val { font-size: 24px; line-height: 1.2; overflow-wrap: anywhere; }
.jr-site .jr-ct-info-val a { color: var(--jr-ink) !important; }
.jr-site .jr-ct-info-val a:hover { color: var(--jr-maroon) !important; }
.jr-site .jr-ct-info p { margin: 4px 0 0; font-size: 14px; }
.jr-site .jr-ct-help { padding: 26px; }
.jr-site .jr-ct-help h2 { font-size: 24px; margin-bottom: 6px; }
.jr-site .jr-ct-help p { margin: 0 0 16px; }
.jr-site .jr-ct-help p:last-child { margin-bottom: 0; }

/* Pagination (rander_pagination_front marks the current page with a.active) */
.jr-site .jr-ct-pag { margin-top: 36px; }
.jr-site .jr-ct-pag .tp-pagination { float: none; width: auto; padding: 0; display: flex; justify-content: center; }
.jr-site .jr-ct-pag .pagination { margin: 0; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.jr-site .jr-ct-pag .pagination > li > a, .jr-site .jr-ct-pag .pagination > li > span { float: none; margin: 0; min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px !important; border: 1px solid var(--jr-field) !important; background: var(--jr-paper) !important; color: var(--jr-ink) !important; padding: 0 14px; box-shadow: none !important; font-weight: 600; }
.jr-site .jr-ct-pag .pagination > li > a:hover { border-color: var(--jr-maroon) !important; color: var(--jr-maroon) !important; }
.jr-site .jr-ct-pag .pagination > li > a.active, .jr-site .jr-ct-pag .pagination > li.active > a { background: var(--jr-maroon) !important; border-color: var(--jr-maroon) !important; color: var(--jr-paper) !important; }

/* ---------- Stored rich text (CMS pages, blog posts, stories, events) ---------- */
.jr-site .jr-ct-prose { font-size: 17px; line-height: 1.7; color: var(--jr-ink); overflow-wrap: anywhere; }
.jr-site .jr-ct-prose p { margin: 0 0 14px; font-family: var(--jr-sans); font-size: inherit; line-height: inherit; color: inherit; }
.jr-site .jr-ct-prose p:empty { display: none; }
.jr-site .jr-ct-prose h1, .jr-site .jr-ct-prose h2, .jr-site .jr-ct-prose h3, .jr-site .jr-ct-prose h4 { font-family: var(--jr-serif) !important; font-weight: 600; color: var(--jr-ink); line-height: 1.2; margin: 26px 0 10px; }
.jr-site .jr-ct-prose h1 { font-size: 34px; }
.jr-site .jr-ct-prose h2 { font-size: 28px; }
.jr-site .jr-ct-prose h3 { font-size: 24px; }
.jr-site .jr-ct-prose h4 { font-size: 21px; }
.jr-site .jr-ct-prose > :first-child { margin-top: 0; }
.jr-site .jr-ct-prose ul, .jr-site .jr-ct-prose ol { margin: 0 0 14px; padding-left: 22px; }
.jr-site .jr-ct-prose li { margin-bottom: 6px; }
.jr-site .jr-ct-prose a { color: var(--jr-maroon); font-weight: 600; text-decoration: underline; }
.jr-site .jr-ct-prose strong, .jr-site .jr-ct-prose b { font-weight: 700; color: var(--jr-ink); }
.jr-site .jr-ct-prose img { max-width: 100%; height: auto; border-radius: 12px; }
.jr-site .jr-ct-prose table { width: 100%; border-collapse: collapse; margin: 0 0 14px; }
.jr-site .jr-ct-prose td, .jr-site .jr-ct-prose th { border: 1px solid var(--jr-line); padding: 8px 10px; }
.jr-site .jr-ct-prose [style*="font-family"] { font-family: inherit !important; }

/* ---------- Article (blog / story / event detail) ---------- */
.jr-site .jr-ct-article { padding: 0; overflow: hidden; }
.jr-site .jr-ct-article-img { background: var(--jr-chip); }
.jr-site .jr-ct-article-img img { width: 100%; max-height: 520px; object-fit: cover; display: block; }
.jr-site .jr-ct-article-body { padding: 36px 44px 40px; }
.jr-site .jr-ct-article-title { font-size: 40px; line-height: 1.1; margin-bottom: 8px; }
.jr-site .jr-ct-article-meta { display: flex; gap: 8px 22px; flex-wrap: wrap; color: var(--jr-muted); font-size: 15px; margin: 0 0 24px; padding-bottom: 20px; border-bottom: 1px solid var(--jr-line); }
.jr-site .jr-ct-article-meta i { color: var(--jr-gold); margin-right: 6px; }
.jr-site .jr-ct-article-foot { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Policy / CMS layout (side nav + readable column) ---------- */
.jr-site .jr-ct-doc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
.jr-site .jr-ct-sidenav { padding: 18px 22px; display: flex; flex-direction: column; position: sticky; top: 104px; }
.jr-site .jr-ct-sidenav .jr-lbl { margin-bottom: 8px; }
.jr-site .jr-ct-sidenav a { display: flex; align-items: center; min-height: 44px; padding: 9px 0; border-top: 1px solid var(--jr-line); font-size: 15px; color: var(--jr-ink) !important; text-decoration: none !important; }
.jr-site .jr-ct-sidenav a:hover { color: var(--jr-maroon) !important; }
.jr-site .jr-ct-sidenav a.is-on { color: var(--jr-maroon) !important; font-weight: 700; }
.jr-site .jr-ct-sidenav a.is-on::before { content: ''; width: 8px; height: 8px; background: var(--jr-gold); transform: rotate(45deg); margin-right: 10px; flex: none; }
.jr-site .jr-ct-doc-body { padding: 40px 44px; }
.jr-site .jr-ct-doc-body .jr-ct-prose { max-width: 760px; }
.jr-site .jr-ct-doc-note { margin-top: 28px; padding: 22px 24px; border-radius: 12px; background: var(--jr-cream); border: 1px solid var(--jr-line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.jr-site .jr-ct-doc-note h2 { font-size: 24px; }
.jr-site .jr-ct-doc-note p { margin: 2px 0 0; font-size: 15px; }

/* ---------- Forms (story, contact, advertise, event checkout) ---------- */
.jr-site .jr-ct-form { padding: 36px; }
.jr-site .jr-ct-form h2 { font-size: 28px; margin-bottom: 6px; }
.jr-site .jr-ct-form > .jr-mu, .jr-site .jr-ct-form-intro { margin: 0 0 22px; }
.jr-site .jr-ct-form .jr-row { margin-bottom: 18px; }
.jr-site .jr-ct-form textarea { display: block; width: 100%; min-height: 150px; padding: 12px 14px !important; resize: vertical; line-height: 1.5; font-size: 16px !important; }
.jr-site .jr-ct-form input[type=file] { display: block; width: 100%; height: auto !important; min-height: 48px; padding: 10px 14px !important; border: 1px dashed var(--jr-field); border-radius: 12px; background: var(--jr-cream); font-size: 15px !important; }
.jr-site .jr-ct-form input[type=url] { display: block; width: 100%; height: 48px !important; min-height: 48px; padding: 0 14px !important; font-size: 16px !important; }
.jr-site .jr-ct-form .jr-help { margin: 6px 0 0; font-size: 14px; color: var(--jr-muted); }
.jr-site .jr-ct-form-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.jr-site .jr-ct-form .alert { margin: 0 0 18px; }
.jr-site .jr-ct-form .alert:empty { display: none; }
.jr-site .jr-ct-form label.error, .jr-site .jr-ct-form label.jr-error { display: block; margin: 6px 0 0; font-size: 13px; font-weight: 500; color: #A1261B; text-transform: none; letter-spacing: 0; }
.jr-site .jr-ct-form .jr-captcha-img img { height: 48px; border-radius: 10px; display: block; }

/* ---------- FAQ accordion ---------- */
.jr-site .jr-ct-faq { display: flex; flex-direction: column; gap: 14px; }
.jr-site .jr-ct-faq details { background: var(--jr-paper); border: 1px solid var(--jr-line); border-radius: var(--jr-radius); }
.jr-site .jr-ct-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 26px; cursor: pointer; font-family: var(--jr-serif); font-size: 22px; font-weight: 600; color: var(--jr-ink); line-height: 1.25; }
.jr-site .jr-ct-faq summary::-webkit-details-marker { display: none; }
.jr-site .jr-ct-faq summary::after { content: '+'; font-family: var(--jr-serif); font-size: 30px; line-height: 1; color: var(--jr-maroon); flex: none; }
.jr-site .jr-ct-faq details[open] summary::after { content: '\2212'; }
.jr-site .jr-ct-faq summary:focus-visible { outline: 3px solid var(--jr-gold-soft); outline-offset: 2px; border-radius: var(--jr-radius); }
.jr-site .jr-ct-faq .jr-ct-prose { padding: 0 26px 22px; font-size: 16px; color: var(--jr-muted); max-width: 820px; }
.jr-site .jr-ct-faq .jr-ct-prose strong { color: var(--jr-ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.jr-site .jr-ct-grid4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
	.jr-site .jr-ct-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jr-site .jr-ct-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jr-site .jr-ct-main-aside, .jr-site .jr-ct-split { grid-template-columns: minmax(0, 1fr); }
	.jr-site .jr-ct-doc { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.jr-site .jr-ct-sidenav { position: static; order: 2; }
}
@media (max-width: 820px) {
	.jr-site .jr-ct-head h1 { font-size: 36px; }
	.jr-site .jr-ct-head { margin-bottom: 22px; }
	.jr-site .jr-ct-grid2 { grid-template-columns: minmax(0, 1fr); }
	.jr-site .jr-ct-feature { grid-template-columns: minmax(0, 1fr); }
	.jr-site .jr-ct-feature-img, .jr-site .jr-ct-feature-img img { min-height: 240px; max-height: 300px; }
	.jr-site .jr-ct-feature-body { padding: 24px 20px 26px; }
	.jr-site .jr-ct-feature-quote { font-size: 26px; }
	.jr-site .jr-ct-cta { padding: 24px 20px; }
	.jr-site .jr-ct-article-body { padding: 24px 20px 28px; }
	.jr-site .jr-ct-article-title { font-size: 32px; }
	.jr-site .jr-ct-doc-body { padding: 24px 20px; }
	.jr-site .jr-ct-form { padding: 24px 18px; }
	.jr-site .jr-ct-faq summary { font-size: 20px; padding: 14px 18px; }
	.jr-site .jr-ct-faq .jr-ct-prose { padding: 0 18px 18px; }
	.jr-site .jr-ct-prose { font-size: 16px; }
}
@media (max-width: 600px) {
	.jr-site .jr-ct-grid3, .jr-site .jr-ct-grid4 { grid-template-columns: minmax(0, 1fr); }
	.jr-site .jr-ct-card-img img { height: 220px; }
	.jr-site .jr-ct-cta-actions, .jr-site .jr-ct-cta-actions .jr-btn { width: 100%; }
}

/* ---------- Success stories ---------- */
.jr-site .jr-ct-intro { padding: 22px 26px; margin-bottom: 24px; }
.jr-site .jr-ct-intro p { margin: 0; }
.jr-site .jr-ct-narrow { max-width: 880px; }

/* ---------- Contact ---------- */
.jr-site .jr-ct-contact-cms { font-size: 16px; line-height: 1.5; }
.jr-site .jr-ct-contact-cms p { margin: 0 0 4px; }
.jr-site .jr-ct-map { overflow: hidden; padding: 0; }
.jr-site .jr-ct-map #googleMap { width: 100%; height: 260px; }
.jr-site .jr-ct-info-val, .jr-site .jr-ct-date-tag strong { font-variant-numeric: lining-nums; }

/* ---------- Events ---------- */
.jr-site .jr-ct-facts { margin: 12px 0 18px; display: flex; flex-direction: column; }
.jr-site .jr-ct-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--jr-line); font-size: 15px; }
.jr-site .jr-ct-facts dt { font-weight: 600; color: var(--jr-muted); }
.jr-site .jr-ct-facts dd { margin: 0; text-align: right; color: var(--jr-ink); }
.jr-site .jr-ct-book-row { margin-top: 18px; }
.jr-site .jr-ct-total { min-height: 48px; display: flex; align-items: center; font-family: var(--jr-serif); font-size: 30px; color: var(--jr-maroon); font-variant-numeric: lining-nums; }
.jr-site .jr-ct-article-img .owl-carousel .testimonial img { width: 100%; max-height: 520px; object-fit: cover; display: block; }
.jr-site .jr-ct-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.jr-site .jr-ct-table th, .jr-site .jr-ct-table td { padding: 12px 10px; border-bottom: 1px solid var(--jr-line); text-align: left; vertical-align: top; }
.jr-site .jr-ct-table th { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--jr-muted); }
.jr-site .jr-ct-table td:last-child, .jr-site .jr-ct-table th:last-child { text-align: right; }
.jr-site .jr-ct-table tr.jr-ct-total-row td { font-weight: 700; border-bottom: 0; font-size: 17px; color: var(--jr-maroon); }
.jr-site .jr-modal .jr-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Advertise with us (url input is not covered by jr-legacy field rules) ---------- */
.jr-site .jr-ct-form input[type=url] { border: 1px solid var(--jr-field) !important; border-radius: 10px !important; background-color: var(--jr-paper) !important; color: var(--jr-ink) !important; font-family: var(--jr-sans) !important; box-shadow: none !important; }
.jr-site .jr-ct-form input[type=url]:focus { border-color: var(--jr-maroon) !important; box-shadow: 0 0 0 3px rgba(122, 31, 43, .12) !important; outline: none; }

/* ---------- Wedding vendors ---------- */
.jr-site .jr-ct-stack { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.jr-site .jr-ct-sec-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.jr-site .jr-ct-sec-head h2 { margin: 0; }
.jr-site .jr-ct-sec-head h2 .jr-mu { font-family: var(--jr-sans); font-size: 16px; font-weight: 400; }
.jr-site .jr-ct-gallery { overflow: hidden; padding: 0; }
.jr-site .jr-ct-gallery .carousel-inner .item img { width: 100%; height: 440px; object-fit: cover; display: block; background: var(--jr-chip); }
.jr-site .jr-ct-gallery .carousel-control.jr-ct-gal-nav { top: 50%; bottom: auto; transform: translateY(-50%); width: 44px; height: 44px; margin: 0 12px; border-radius: 50%; background: rgba(255, 253, 248, .9) !important; color: var(--jr-maroon); opacity: 1; display: flex; align-items: center; justify-content: center; font-size: 16px; text-shadow: none; }
.jr-site .jr-ct-thumbs { list-style: none; margin: 0; padding: 12px; display: flex; gap: 10px; overflow-x: auto; }
.jr-site .jr-ct-thumbs li { flex: 0 0 96px; }
.jr-site .jr-ct-thumbs .thumbnail { display: block; padding: 0; margin: 0; border: 1px solid var(--jr-line); border-radius: 10px; overflow: hidden; cursor: pointer; background: none; }
.jr-site .jr-ct-thumbs img { width: 96px; height: 68px; object-fit: cover; display: block; }
.jr-site .jr-ct-reviews { list-style: none; margin: 0; padding: 0; }
.jr-site .jr-ct-reviews li { padding: 14px 0; border-top: 1px solid var(--jr-line); }
.jr-site .jr-ct-review-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.jr-site .jr-ct-review-title { font-weight: 600; margin: 4px 0 2px; }
.jr-site .jr-ct-review-text { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.jr-site .jr-ct-review-date { margin: 4px 0 0; font-size: 13px; }
.jr-site .jr-ct-stars { color: var(--jr-gold); white-space: nowrap; }
.jr-site .jr-ct-stars-lg { font-size: 18px; margin: 4px 0 6px; }
.jr-site .jr-ct-stars-lg .jr-mu { font-size: 14px; margin-left: 6px; }
.jr-site .jr-ct-contact-line { margin: 6px 0 0 !important; font-size: 15px !important; overflow-wrap: anywhere; }
.jr-site .jr-ct-contact-line i { color: var(--jr-gold); width: 18px; }
/* Star rating input (review dialog) */
.jr-site .jr-ct-rate { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.jr-site .jr-ct-rate > input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.jr-site .jr-ct-rate > label { font-size: 0; width: 40px; height: 44px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; margin: 0; }
.jr-site .jr-ct-rate > label::before { content: '\2606'; font-size: 30px; color: var(--jr-gold); line-height: 1; }
.jr-site .jr-ct-rate > input:checked ~ label::before, .jr-site .jr-ct-rate > label:hover::before, .jr-site .jr-ct-rate > label:hover ~ label::before { content: '\2605'; }
.jr-site .jr-ct-rate > .star-cb-clear + label { display: none; }
.jr-site .jr-ct-rate > input:focus-visible + label { outline: 3px solid var(--jr-gold-soft); border-radius: 6px; }
.jr-site .jr-modal .jr-textarea { border-radius: 10px; }
/* Vendor search bar + cards */
.jr-site .jr-ct-vsearch { padding: 18px; margin-bottom: 26px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.jr-site .jr-ct-vsearch .select2-container { width: 100% !important; }
.jr-site .jr-ct-vsearch .jr-btn { min-height: 48px; }
.jr-site .jr-ct-vside .jr-ct-vsearch { grid-template-columns: minmax(0, 1fr); padding: 22px; margin: 0; }
.jr-site .jr-ct-vcard-img { height: 150px; background: linear-gradient(135deg, #F1E6CF, #E7C27A); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.jr-site .jr-ct-vcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jr-site .jr-ct-vcard .jr-ct-card-body { padding: 18px 20px; }
.jr-site .jr-ct-vcard .jr-ct-card-title { font-size: 24px; }
.jr-site .jr-ct-vrow { display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.jr-site .jr-ct-vrow .jr-ct-vcard-img { height: 100%; min-height: 180px; }
.jr-site .jr-ct-vlist { display: flex; flex-direction: column; gap: 18px; }
.jr-site #load_data:empty + #cate_load_data_message:empty { display: none; }
.jr-site .content-placeholder { display: block; background: var(--jr-chip); border-radius: 12px; }
.jr-site .jr-ct-ph { height: 240px; border-radius: var(--jr-radius); background: var(--jr-chip); }
@media (max-width: 991px) {
	.jr-site .jr-ct-vsearch { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 600px) {
	.jr-site .jr-ct-vsearch { grid-template-columns: minmax(0, 1fr); }
	.jr-site .jr-ct-vrow { grid-template-columns: minmax(0, 1fr); }
	.jr-site .jr-ct-vrow .jr-ct-vcard-img { min-height: 160px; height: 160px; }
	.jr-site .jr-ct-gallery .carousel-inner .item img { height: 260px; }
}
.jr-site .jr-ct-vside { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
.jr-site .jr-ct-vsearch .select2-container--default .select2-selection--single { min-height: 48px; }
.jr-site .jr-ct-vsearch .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 46px !important; }
.jr-site .jr-ct-vsearch .select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px !important; }
@media (max-width: 991px) { .jr-site .jr-ct-vside { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Browse / community pages ---------- */
.jr-site .jr-ct-browse-stack { display: flex; flex-direction: column; gap: 18px; }
.jr-site .jr-ct-browse-card { padding: 26px 28px; }
.jr-site .jr-ct-browse-card h2 { font-size: 28px; color: var(--jr-maroon); margin-bottom: 14px; }
.jr-site .jr-ct-msidebar .jr-ct-browse-card { padding: 22px 24px; }
.jr-site .jr-ct-msidebar .jr-ct-browse-card h2 { font-size: 24px; }
.jr-site .jr-ct-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 6px; }
.jr-site .jr-ct-chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1px solid var(--jr-field); border-radius: 999px; font-size: 15px; color: var(--jr-ink) !important; text-decoration: none !important; background: var(--jr-paper); }
.jr-site .jr-ct-chips a:hover { border-color: var(--jr-maroon); color: var(--jr-maroon) !important; }
.jr-site .jr-ct-msidebar { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.jr-site .jr-ct-tabs { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; padding: 0; border: 0; }
.jr-site .jr-ct-tabs > li { float: none; margin: 0; }
.jr-site .jr-ct-tabs > li > a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--jr-line); background: var(--jr-paper); color: var(--jr-ink) !important; font-weight: 600; font-size: 15px; text-decoration: none !important; }
.jr-site .jr-ct-tabs > li.active > a { background: var(--jr-maroon); border-color: var(--jr-maroon); color: var(--jr-paper) !important; }
.jr-site .jr-ct-banner img { max-height: 300px; }
.jr-site .jr-ct-community .jr-pcard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jr-site .jr-ct-msidebar .chosen-container { width: 100% !important; }
.jr-site .jr-ct-msidebar .jr-range span { flex: none; }
@media (max-width: 600px) { .jr-site .jr-ct-community .jr-pcard-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Member demograph ---------- */
.jr-site .jr-ct-demo-filter { margin-bottom: 22px; }
.jr-site .jr-ct-demo-filter .jr-seg { max-width: 640px; flex-wrap: wrap; }
.jr-site .jr-ct-demo-filter .jr-seg label { min-width: 150px; }
.jr-site .jr-ct-count { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 26px; padding: 0 8px; margin-left: 8px; border-radius: 999px; background: var(--jr-chip); color: var(--jr-ink); font-size: 14px; font-weight: 700; font-variant-numeric: lining-nums; }
.jr-site .jr-seg input:checked + span .jr-ct-count { background: var(--jr-paper); color: var(--jr-maroon); }
.jr-site .jr-ct-chart { min-height: 300px; }
.jr-site .jr-ct-chart > div { width: 100%; min-height: 300px; }
/* Numbers read better in the sans face (Cormorant shows old-style figures) */
.jr-site .jr-ct-info-val { font-family: var(--jr-sans) !important; font-size: 20px; font-weight: 600; letter-spacing: 0; }
.jr-site .jr-ct-date-tag strong { font-family: var(--jr-sans); font-size: 22px; font-weight: 700; }
.jr-site .jr-ct-total { font-family: var(--jr-sans); font-weight: 700; font-size: 26px; }
