/* Chabad of Jamaica, site skin (homepage design B2). Loaded site-wide from Custom Header Code.
   Part 1 is the homepage design, carried over unchanged. Part 2 adapts it to ChabadOne. */

/* ===== Part 1: the homepage design ===== */
/* shared reset for all three directions; phone first, desktop via container queries */
.pg { container-type: inline-size; font-family: "effra", system-ui, sans-serif; color: #141414; background: #fff; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow: clip; }
.pg *, .pg *::before, .pg *::after { box-sizing: border-box; }
.pg h1, .pg h2, .pg h3, .pg h4, .pg p, .pg ul { margin: 0; padding: 0; }
.pg ul { list-style: none; }
.pg a { color: inherit; text-decoration: none; }
.pg img { display: block; max-width: 100%; }
.pg h1, .pg h2, .pg h3 { text-wrap: balance; letter-spacing: -0.01em; }
.pg p { text-wrap: pretty; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: 20px; }
@container (min-width: 860px) { .wrap { padding-inline: 48px; } }

/* stand-in for a photo the client still has to send */
.ph { position: relative; background: repeating-linear-gradient(135deg, #ece9e1 0 10px, #e4e0d6 10px 20px); display: flex; align-items: flex-end; }
.ph span { margin: 12px; font: 500 12px/1.3 ui-monospace, Menlo, monospace; color: #5d5a52; background: rgba(255,255,255,.85); padding: 5px 8px; border-radius: 4px; }

/* sample/placeholder tag for content that is fed or still to come */
.tok { font: 500 11px/1 ui-monospace, Menlo, monospace; letter-spacing: 0; text-transform: none; color: #6b675e; background: #f1eee6; padding: 4px 6px; border-radius: 4px; display: inline-block; vertical-align: middle; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 10px; font-weight: 700; font-size: 16px; line-height: 1; white-space: nowrap; }

/* phone-only bottom bar */
.only-desk { display: none; }
@container (min-width: 860px) { .only-desk { display: revert; } .only-phone { display: none; } }

.b { --g: #0B9D4A; --gd: #064a25; --gx: #04351b; --y: #F5D213; --ink: #111; --mist: #eef5f0; }
.b-alert { background: var(--gx); color: #fff; font-size: 14px; text-align: center; padding: 8px 16px; }
.b-alert .tok { background: rgba(255,255,255,.12); color: #d7e8dd; }

.b-head { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
.b-head .in { display: flex; align-items: center; justify-content: space-between; padding-block: 14px; }
.b-head img { width: 128px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); }
.b-nav { display: none; }
.b-menu { display: flex; gap: 10px; align-items: center; color: #fff; font-weight: 700; }
.b-burger { width: 44px; height: 44px; border-radius: 50%; background: var(--y); display: grid; place-content: center; gap: 5px; }
.b-burger i { display: block; width: 18px; height: 2px; background: var(--ink); }
.b-donate { background: var(--y); color: var(--ink); }
@container (min-width: 860px) {
  .b-head img { width: 170px; }
  .b-nav { display: flex; gap: 24px; color: #fff; font-weight: 500; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
  .b-burger { display: none; }
}

.b-hero { position: relative; background: var(--gd); color: #fff; }
.b-hero .photo { position: relative; height: 420px; }
.b-hero .photo img { width: 100%; height: 100%; object-fit: cover; }
.b-hero .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.45), transparent 35%); }
.b-hero .panel { position: relative; margin-top: -70px; padding: 90px 20px 34px; background: var(--gd); clip-path: polygon(0 70px, 100% 0, 100% 100%, 0 100%); display: grid; gap: 16px; }
.b-hero .panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 84px; background: var(--y); clip-path: polygon(0 70px, 100% 0, 100% 14px, 0 84px); }
.b-hero h1 { font-weight: 900; font-size: 42px; line-height: 1; }
.b-hero h1 span { color: var(--y); }
.b-hero p { color: #dcebe1; }
.b-paths { display: grid; gap: 8px; margin-top: 6px; }
.b-paths a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-top: 1.5px solid rgba(255,255,255,.22); font-weight: 700; font-size: 20px; }
.b-paths a::after { content: "\2192"; color: var(--y); }
.b-heb { color: var(--y); font-weight: 700; }
@container (min-width: 860px) {
  .b-hero { display: grid; grid-template-columns: minmax(0, 1fr); }
  .b-hero .photo { height: 760px; }
  .b-hero .panel { position: absolute; left: 0; bottom: 0; width: 58%; margin: 0; padding: 140px 64px 56px max(48px, (100cqw - 1240px) / 2 + 48px); clip-path: polygon(0 0, 78% 0, 100% 100%, 0 100%); background: rgba(6, 74, 37, .94); }
  .b-hero .panel::before { display: none; }
  .b-hero h1 { font-size: 76px; max-width: 9.5em; }
  .b-hero p { max-width: 34em; }
  .b-paths { grid-template-columns: repeat(3, auto); gap: 28px; justify-content: start; }
  .b-paths a { border-top: 0; border-bottom: 2px solid var(--y); padding: 6px 0; gap: 12px; }
}

.b-cut { height: 34px; background: var(--y); clip-path: polygon(0 0, 100% 60%, 100% 100%, 0 40%); margin-block: -1px; }
.b-cut.r { clip-path: polygon(0 60%, 100% 0, 100% 40%, 0 100%); }

.b-week { background: var(--mist); }
.b-week .in { padding-block: 40px; display: grid; gap: 20px; }
.b-week h2 { font-weight: 700; font-size: 32px; line-height: 1; color: var(--gd); }
.b-shab { background: var(--gd); color: #fff; border-radius: 4px; padding: 20px; display: grid; gap: 6px; }
.b-shab b { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--y); }
.b-shab strong { font-size: 24px; font-weight: 700; }
.b-shab a { margin-top: 8px; font-weight: 700; color: var(--y); }
.b-list li a { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1.5px solid #cfe1d5; }
.b-list .dt { text-align: center; line-height: 1; }
.b-list .dt b { display: block; font-size: 34px; font-weight: 700; color: var(--gd); }
.b-list .dt small { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.b-list strong { display: block; font-size: 19px; font-weight: 700; line-height: 1.2; }
.b-list span { font-size: 15px; color: #42504a; }
.b-list li a::after { content: "\2192"; color: var(--g); font-size: 20px; }
.b-all { font-weight: 700; color: var(--gd); }
@container (min-width: 860px) {
  .b-week .in { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 20px 64px; padding-block: 72px; }
  .b-week h2 { font-size: 52px; }
  .b-week .side { display: grid; gap: 20px; align-content: start; }
  .b-list { grid-row: span 2; }
}

.b-life .in { padding-block: 44px; }
.b-life h2 { font-weight: 700; font-size: 32px; margin-bottom: 18px; }
.b-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.b-tile { position: relative; aspect-ratio: 1; overflow: hidden; color: #fff; display: flex; align-items: end; border-radius: 4px; }
.b-tile > img, .b-tile > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; align-items: flex-start; }
.b-tile .t { position: relative; z-index: 2; width: 100%; padding: 14px; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.b-tile .t strong { display: block; font-size: 19px; font-weight: 700; line-height: 1.15; }
.b-tile .t span { font-size: 13px; color: #e6e6e6; }
.b-new { grid-column: 1 / -1; background: var(--y); border-radius: 4px; padding: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.b-new strong { font-size: 20px; font-weight: 700; display: block; }
@container (min-width: 860px) {
  .b-life .in { padding-block: 80px; }
  .b-life h2 { font-size: 52px; margin-bottom: 28px; }
  .b-grid { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px auto; gap: 12px; }
  .b-tile { aspect-ratio: auto; }
  .b-tile.big { grid-row: span 2; }
  .b-tile.w2 { grid-column: span 2; }
  .b-tile .t { padding: 20px; }
  .b-tile .t strong { font-size: 24px; }
  .b-new { padding: 24px 28px; }
}

.b-visit { background: var(--gd); color: #fff; }
.b-visit .in { padding-block: 44px; display: grid; gap: 18px; }
.b-visit h2 { font-weight: 700; font-size: 32px; line-height: 1; }
.b-visit .pic { height: 220px; border-radius: 4px; overflow: hidden; }
.b-visit .pic img { width: 100%; height: 100%; object-fit: cover; }
.b-rows li a { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 16px 0; border-top: 1.5px solid rgba(255,255,255,.18); }
.b-rows strong { font-size: 21px; font-weight: 700; }
.b-rows span { grid-column: 1; color: #bcd6c5; font-size: 15px; }
.b-rows li a::after { content: "\2192"; grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--y); font-size: 22px; }
@container (min-width: 860px) {
  .b-visit .in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; padding-block: 80px; }
  .b-visit .stick { position: sticky; top: 24px; align-self: start; display: grid; gap: 22px; }
  .b-visit h2 { font-size: 56px; }
  .b-visit .pic { height: 340px; }
  .b-rows strong { font-size: 25px; }
}

.b-hum { display: grid; }
.b-hum .ph { min-height: 260px; }
.b-hum .txt { background: var(--ink); color: #fff; padding: 34px 20px; display: grid; gap: 14px; }
.b-hum h2 { font-weight: 700; font-size: 32px; line-height: 1; color: var(--y); }
.b-hum .btn { background: var(--y); color: var(--ink); justify-self: start; }
@container (min-width: 860px) {
  .b-hum { grid-template-columns: 1fr 1fr; min-height: 520px; }
  .b-hum .txt { padding: 72px max(48px, (100cqw - 1240px) / 2 + 48px) 72px 96px; clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); margin-left: -12%; align-content: center; }
  .b-hum h2 { font-size: 52px; }
}

.b-cel { position: relative; }
.b-cel img { width: 100%; height: 340px; object-fit: cover; }
.b-cel .slab { background: var(--y); padding: 26px 20px; display: grid; gap: 12px; }
.b-cel h2 { font-weight: 700; font-size: 30px; line-height: 1; }
.b-cel .btn { background: var(--ink); color: #fff; justify-self: start; }
@container (min-width: 860px) {
  .b-cel img { height: 640px; }
  .b-cel .slab { position: absolute; right: max(48px, (100cqw - 1240px) / 2 + 48px); bottom: -48px; width: 440px; padding: 36px; clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%); padding-top: 56px; }
  .b-cel h2 { font-size: 44px; }
}

.b-mid .in { padding-block: 44px; display: grid; gap: 30px; }
.b-art { display: grid; gap: 10px; border-top: 6px solid var(--g); padding-top: 18px; }
.b-art .k { font-weight: 700; color: var(--g); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.b-art h3 { font-size: 26px; font-weight: 700; line-height: 1.15; }
.b-art a { font-weight: 700; color: var(--gd); }
.b-q { background: var(--mist); border-radius: 4px; padding: 24px; display: grid; gap: 14px; }
.b-q h2 { font-weight: 700; font-size: 26px; color: var(--gd); }
.b-q .big { font-size: 22px; line-height: 1.35; }
.b-q .who { font-weight: 700; font-size: 14px; }
.b-dots { display: flex; gap: 6px; }
.b-dots i { width: 8px; height: 8px; border-radius: 50%; background: #b8d3c2; }
.b-dots i:first-child { background: var(--gd); width: 22px; border-radius: 4px; }
@container (min-width: 860px) {
  .b-mid .in { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; padding-block: 120px 80px; align-items: start; }
  .b-q { padding: 40px; }
  .b-q .big { font-size: 30px; }
}

.b-give { background: var(--gx); color: #fff; position: relative; overflow: hidden; }
.b-give .in { position: relative; padding-block: 44px; display: grid; gap: 14px; }
.b-give h2 { font-weight: 700; font-size: 38px; line-height: 1; color: var(--y); }
.b-give .btn { background: var(--y); color: var(--ink); justify-self: start; min-height: 56px; font-size: 18px; padding: 0 30px; }
.b-give::after { content: ""; position: absolute; right: -60px; top: 0; bottom: 0; width: 160px; background: var(--y); opacity: .12; transform: skewX(-18deg); }
@container (min-width: 860px) {
  .b-give .in { grid-template-columns: auto minmax(0, 1fr) auto; gap: 48px; align-items: center; padding-block: 64px; }
  .b-give h2 { font-size: 56px; }
}
.b-conn .in { padding-block: 40px; display: grid; gap: 14px; }
.b-conn h2 { font-weight: 700; font-size: 30px; color: var(--gd); }
.b-form { display: grid; gap: 10px; }
.b-form .f { min-height: 50px; border-bottom: 2px solid var(--gd); display: flex; align-items: center; color: #7d8a83; }
.b-form .btn { background: var(--gd); color: #fff; }
.b-form .wa { background: var(--g); }
.b-insta { display: flex; gap: 6px; overflow: hidden; margin-top: 10px; }
.b-insta .ph { flex: 0 0 31%; aspect-ratio: 1; }
@container (min-width: 860px) {
  .b-conn .in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 64px; padding-block: 72px; }
  .b-conn h2 { font-size: 48px; }
  .b-form { grid-template-columns: 1fr 1fr auto auto; align-items: end; }
  .b-insta { grid-column: 1 / -1; }
  .b-insta .ph { flex: 1 1 0; }
}

.b-foot { background: var(--gd); color: #fff; }
.b-foot .in { padding-block: 36px; display: grid; gap: 22px; }
.b-foot img { width: 190px; }
.b-foot h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--y); margin-bottom: 8px; }
.b-foot li, .b-foot p { font-size: 15px; color: #d3e6da; }
.b-foot .copy { font-size: 13px; color: #96b9a3; }
@container (min-width: 860px) { .b-foot .in { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; } .b-foot .copy { grid-column: 1 / -1; } }

/* B2: the flag cuts, on the beach. Sand and pale sea instead of a deep green field, fewer words */
.b2 { --sand: #f7f0e1; --sea: #e7f4f1; --sline: #e7dcc4; --ease: cubic-bezier(.2, .7, .2, 1); }

.vibe { position: relative; isolation: isolate; overflow: hidden; }
.vibe > .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.vibe > .wash { position: absolute; inset: 0; z-index: -1; }
.vibe .stamp { position: absolute; right: 12px; bottom: 10px; font: 500 11px/1 ui-monospace, Menlo, monospace; color: #fff; background: rgba(0,0,0,.35); padding: 4px 6px; border-radius: 4px; z-index: 3; }

/* header sits on the pale photo, so dark type */
.b2 .b-head { position: relative; }
.b2 .b-head img { filter: none; }
.b2 .b-menu { color: var(--ink); }
@container (min-width: 860px) { .b2 .b-nav { color: var(--ink); text-shadow: none; font-size: 16px; gap: 6px; } .b2 .b-nav a { padding: 8px 10px; } }

/* gold flag stripes (34px tall, slant of 20.4px; were 46 / 27.6 until 2026-11-15, toned down). The section above runs under the whole stripe and is cut
   along the stripe's lower edge; the next section tucks up under that cut. So the stripe meets the section
   above at its top slant and the section below at its bottom slant, with no white wedge and no overlap.
   The section above needs its own background, or the next section shows through it. */
.b2 > .b-cut { position: relative; z-index: 3; margin: -34px 0 -20.4px; }
.b2 > :has(+ .b-cut) { position: relative; z-index: 2; padding-bottom: 34px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 20.4px)); }
.b2 > :has(+ .b-cut.r) { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20.4px), 0 100%); }
.b2 .b-conn { background: #fff; }

/* ONE BUTTON SYSTEM: every call to action is the same slanted flag tag as Donate. On hover a colour sweeps in
   from the left and the arrow slides forward. Gold, white, sand and black buttons sweep dark green with white
   text; green buttons sweep gold with dark text. */
.pg.b2 .b-menu .b-donate, .pg.b2 .b2-hi .b-paths a, .pg.b2 .b2-hi .b-paths a:nth-child(2), .pg.b2 .b-hum .btn, .pg.b2 .b-cel .btn, .pg.b2 .b2-give .btn, .pg.b2 .b-form .btn, .pg.b2 .b2-art .in > a {
  --sweep: var(--gd); --sweep-ink: #fff;
  border: 0; border-radius: 0; box-shadow: none;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  padding-inline: 26px 24px; min-height: 50px; font-weight: 800;
  background-image: linear-gradient(var(--sweep), var(--sweep)); background-repeat: no-repeat; background-position: 0 0; background-size: 0% 100%;
  transition: background-size .38s var(--ease), color .2s;
}
.pg.b2 .b-form .btn { --sweep: var(--y); --sweep-ink: var(--ink); }
.pg.b2 .b-hum .btn { --sweep: #fff; --sweep-ink: var(--ink); }
.pg.b2 .b-menu .b-donate { min-height: 46px; padding-inline: 22px 24px; }
.pg.b2 .b2-hi .b-paths a { display: flex; justify-content: space-between; align-items: center; gap: 14px; background-color: var(--sand); padding-block: 14px; white-space: nowrap; }
.pg.b2 .b2-hi .b-paths a:nth-child(2) { background-color: var(--y); }
.pg.b2 .b2-hi .b-paths a::after { display: inline-block; transition: transform .3s var(--ease), color .2s; }
/* the Hebrew link rides in the same row as Get Involved, smaller, with its own arrow */
.pg.b2 .b2-hi .b-paths a.b-heb { color: var(--gd); font-weight: 700; font-size: 16px; justify-content: center; padding-inline: 20px; }
.pg.b2 .b2-hi .b-paths a.b-heb::after { content: none; }

/* hero: the bay, a short headline, three doors */
.b2-hero { color: var(--ink); }
.b2-hero > .wash { background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.82) 48%, rgba(255,255,255,0) 72%); }
.b2-hi { position: relative; display: grid; gap: 18px; padding-block: 18px 230px; }
.b2-hi h1 { font-weight: 900; font-size: 44px; line-height: 1; color: var(--gd); }
.b2-hi h1 span { display: inline-block; background: var(--y); color: var(--ink); padding: .04em .22em .1em; margin-top: .08em; clip-path: polygon(0 12%, 100% 0, 100% 88%, 0 100%); }
.b2-tag { margin-top: 16px; font-weight: 500; font-size: clamp(20px, 1.6vw, 24px); line-height: 1.25; color: var(--g); }
.b2 .b2-hi .b-paths { gap: 8px; }
.b2 .b2-hi .b-paths a { color: var(--ink); }
.b2 .b2-hi .b-paths a::after { color: var(--g); }
@container (min-width: 860px) {
  .b2-hero > .wash { background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.86) 36%, rgba(255,255,255,0) 60%); }
  .b2-hi { padding-block: 70px 170px; max-width: 1240px; }
  .b2-hi h1 { font-size: 84px; max-width: 8.6em; }
}
/* phone hero: the beach comes first and the headline sits on it. The Hot Spot photo fills the top of the screen,
   cropped to the bay and the cruise ship, with the headline over the pale sky; the welcome line and the doors sit on
   a white card that rises over the bottom of the photo on the flag slant.
   Get Involved and the Hebrew link share the last row of doors */
@container (max-width: 859px) {
  .pg.b2 .b2-hero { background: #fff; }
  .pg.b2 .b2-hero > .bg { inset: 0 0 auto 0; height: 470px; object-position: 58% 100%; transform: none; }
  .pg.b2 .b2-hero > .wash { inset: 0 0 auto 0; height: 470px; background: linear-gradient(180deg, rgba(255,255,255,.82) 0, rgba(255,255,255,.55) 40%, rgba(255,255,255,0) 68%); }
  .pg.b2 .b2-hi { padding-top: 14px; padding-bottom: 36px; row-gap: 18px; }
  .pg.b2 .b2-hi > * { position: relative; z-index: 1; grid-column: 1; }
  .pg.b2 .b2-hi > :nth-child(1) { grid-row: 1; text-shadow: 0 1px 14px rgba(255,255,255,.7); }
  .pg.b2 .b2-hi > :nth-child(2) { grid-row: 2; margin-top: 168px; }
  .pg.b2 .b2-hi > :nth-child(3) { grid-row: 3; }
  .pg.b2 .b2-hi::before { content: ""; grid-column: 1; grid-row: 2 / span 2; margin: 132px -20px -36px; background: #fff; clip-path: polygon(0 26px, 100% 0, 100% 100%, 0 100%); z-index: 0; }
  .pg.b2 .b2-hi .b-paths { grid-template-columns: minmax(0, 1fr) auto; }
  .pg.b2 .b2-hi .b-paths a:nth-child(-n+2) { grid-column: 1 / -1; }
  .pg.b2 .b2-hi .b-paths a.b-heb { padding-inline: 18px 16px; font-size: 15px; }
}
/* desktop hero: the bay runs full width; the text sits on a white card cut on the flag slant,
   over the sea on the right, so it stays legible without hiding the photo */
@container (min-width: 860px) {
  .pg.b2 .b2-hero > .bg { inset: 0; width: 100%; height: 100%; object-position: 0% 60%; transform: none; clip-path: none; }
  .pg.b2 .b2-hero > .wash { background: linear-gradient(180deg, rgba(255,255,255,.88) 0, rgba(255,255,255,.5) 90px, rgba(255,255,255,0) 150px); }
  .pg.b2 .b2-hi { grid-template-columns: minmax(0, 1fr) minmax(0, 540px); column-gap: 0; padding-block: 96px 130px; }
  .pg.b2 .b2-hi > * { grid-column: 2; position: relative; z-index: 1; }
  .pg.b2 .b2-hi > :nth-child(1) { grid-row: 1; }
  .pg.b2 .b2-hi > :nth-child(2) { grid-row: 2; }
  .pg.b2 .b2-hi > :nth-child(3) { grid-row: 3; }
  .pg.b2 .b2-hi::before { content: ""; grid-column: 2; grid-row: 1 / span 3; margin: -52px -40px -40px; background: rgba(255,255,255,.95); clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%); z-index: 0; }
  .pg.b2 .b2-hi h1 { font-size: clamp(44px, 4.4vw, 64px); max-width: none; }
  .pg.b2 .b2-hi .b-paths { display: flex; flex-wrap: wrap; gap: 8px; }
}

/* about: what Chabad does as a large, regular-weight statement beside the chanukah crowd */
.b2-about .in { padding-block: 64px 44px; display: grid; gap: 30px; }
.b2-about .frame { position: relative; margin: 0 8px 14px 0; }
.b2-about .frame::before { content: ""; position: absolute; inset: 14px -8px -14px 8px; background: var(--y); clip-path: polygon(0 0, 100% 8%, 100% 100%, 0 92%); }
.b2-about .pic { position: relative; height: 240px; overflow: hidden; clip-path: polygon(0 0, 100% 8%, 100% 100%, 0 92%); }
.b2-about .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.b2-about .txt { display: grid; gap: 16px; justify-items: start; }
.b2-about .lede { font-weight: 400; font-size: 31px; line-height: 1.3; letter-spacing: -.005em; color: var(--gd); }
.b2-about .lede mark { color: inherit; background: none; }
.b2-about .txt p:not(.lede) { font-size: 18px; line-height: 1.55; color: #2b2b2b; }
@container (min-width: 860px) {
  .b2-about .in { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 72px; padding-block: 112px 96px; align-items: center; }
  .b2-about .frame { margin: 0 24px 24px 0; }
  .b2-about .frame::before { inset: 24px -24px -24px 24px; clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
  .b2-about .pic { height: 460px; clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
  .b2-about .lede { font-size: 48px; }
  .b2-about .txt p:not(.lede) { font-size: 20px; }
}

/* text links: a gold underline that floods up behind the words on hover */
.pg.b2 .b2-more, .pg.b2 .b-all { font-weight: 700; color: var(--gd); padding: 2px 2px 3px; box-shadow: none; background: linear-gradient(var(--y), var(--y)) no-repeat 0 100% / 100% 2px; transition: background-size .3s var(--ease); }

/* this week on sand */
.b2 .b-week { background: var(--sand); }
.b2 .b-list li a { border-bottom-color: var(--sline); position: relative; }
.b2 .b-list li a::after { transition: transform .3s var(--ease); }
.b2 .b-list .dt b { transition: color .2s; }

/* jewish life: titles only on the tiles */
.b2 .b-tile .t span { display: none; }
.b2 .b-tile { overflow: hidden; }
.b2 .b-tile > img { transition: transform .7s var(--ease), filter .4s; }
.b2 .b-tile .t strong { position: relative; display: inline-block; }
.b2 .b-tile .t strong::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; background: var(--y); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.b2 .b-new { transition: background-color .2s; }

/* planning a visit: icon tiles on pale sea */
.b2-visit { background: var(--sea); }
.b2-visit .in { padding-block: 44px; display: grid; gap: 20px; }
.b2-visit h2 { font-weight: 700; font-size: 32px; line-height: 1; color: var(--gd); }
.b2-visit .pic { height: 220px; overflow: hidden; border-radius: 4px; }
.b2-visit .pic img { width: 100%; height: 100%; object-fit: cover; }
.b2-vt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.b2-vt a { position: relative; overflow: hidden; background: #fff; border-radius: 4px; padding: 16px 14px; display: grid; gap: 12px; align-content: start; font-weight: 700; font-size: 17px; line-height: 1.2; transition: transform .3s var(--ease), box-shadow .3s; }
.b2-vt a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--y); clip-path: polygon(0 0, 100% 60%, 100% 100%, 0 100%); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.b2-vt a:last-child { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: center; }
.b2-vt .ic { width: 46px; height: 46px; border-radius: 50%; background: #fdf3c4; color: var(--gd); display: grid; place-items: center; transition: background-color .25s, color .25s, transform .4s var(--ease); }
.b2-vt a:nth-child(even) .ic { background: #dcefe3; }
@container (min-width: 860px) {
  .b2-visit .in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; padding-block: 88px; align-items: start; }
  .b2-visit .stick { display: grid; gap: 22px; }
  .b2-visit h2 { font-size: 56px; }
  .b2-visit .pic { height: 360px; }
  .b2-vt { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .b2-vt a { padding: 22px 20px; font-size: 19px; min-height: 150px; }
  .b2-vt a:last-child { grid-column: auto; grid-template-columns: none; align-items: start; }
  .b2-vt a:nth-child(7) { grid-column: span 3; grid-template-columns: auto 1fr; align-items: center; min-height: 0; }
}

/* humanitarian: the photo runs under the black panel, so the panel's slant cuts across the photo with no white sliver */
.pg.b2 .b-hum { background: var(--ink); }
.pg.b2 .b-hum .hp { transition: transform .7s var(--ease); }
@container (min-width: 860px) {
  .pg.b2 .b-hum .hp { width: 125%; max-width: none; }
  .pg.b2 .b-hum .txt { position: relative; z-index: 1; }
}

/* celebrate: a quiet row inside the page width, not a full-bleed band. A flag-cut photo beside plain text
   and a button, no gold slab */
.pg.b2 .b-cel { display: grid; gap: 18px; padding: 44px 20px 8px; max-width: 1240px; margin: 0 auto; }
.pg.b2 .b-cel img { width: 100%; height: 200px; object-fit: cover; object-position: 50% 45%; clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); transition: transform .8s var(--ease); }
.pg.b2 .b-cel .slab { position: static; width: auto; transform: none; background: none; clip-path: none; padding: 0; display: grid; gap: 10px; }
.pg.b2 .b-cel h2 { font-size: 28px; color: var(--gd); }
.pg.b2 .b-cel p { color: #2b2b2b; }
@container (min-width: 860px) {
  .pg.b2 .b-cel { grid-template-columns: 380px minmax(0, 1fr); gap: 48px; padding: 88px 48px 32px; align-items: center; }
  .pg.b2 .b-cel img { height: 240px; clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
  .pg.b2 .b-cel .slab { position: static; width: auto; top: auto; bottom: auto; transform: none; padding: 0; clip-path: none; max-width: 34em; }
  .pg.b2 .b-cel h2 { font-size: 36px; }
}

/* weekly article: its own sand band. The rabbi large on the left, the heading and blurb in the middle,
   Read the Latest as a real button on the right */
.pg.b2 .b2-art { background: var(--sand); margin-top: 56px; }
.b2-art .in { padding-block: 44px 48px; display: grid; grid-template-columns: 96px 1fr; gap: 16px 20px; align-items: center; }
.b2-art .face { width: 96px; height: 96px; border-radius: 50%; background: #f3efe6 center / cover no-repeat; box-shadow: 0 0 0 5px #fff, 0 0 0 8px var(--y); }
.b2-art h2 { font-weight: 700; font-size: 30px; line-height: 1; color: var(--gd); }
.b2-art h2 small { display: block; margin-top: 8px; font-size: 16px; font-weight: 500; color: #2b2b2b; }
.b2-art p { grid-column: 1 / -1; font-size: 18px; line-height: 1.5; color: #2b2b2b; }
.pg.b2 .b2-art .in > a { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; background-color: var(--ink); color: #fff; }
@container (min-width: 860px) {
  .pg.b2 .b2-art { margin-top: 72px; }
  .b2-art .in { grid-template-columns: 168px minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 14px 48px; padding-block: 72px; }
  .b2-art .face { grid-row: 1 / span 2; width: 168px; height: 168px; }
  .b2-art h2 { grid-column: 2; align-self: end; font-size: 44px; }
  .b2-art p { grid-column: 2; align-self: start; font-size: 20px; max-width: 34em; }
  .pg.b2 .b2-art .in > a { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
}

/* support: a gold slab on the beach */
.b2-give > .wash { background: rgba(255,255,255,.18); }
.b2-give .in { padding-block: 64px; display: grid; }
.b2-give .card { background: var(--y); padding: 46px 24px 30px; clip-path: polygon(0 26px, 100% 0, 100% 100%, 0 100%); display: grid; gap: 14px; max-width: 600px; }
.b2-give h2 { font-weight: 700; font-size: 38px; line-height: 1; }
.pg.b2 .b2-give .btn { background-color: var(--ink); color: #fff; justify-self: start; min-height: 56px; font-size: 18px; padding-inline: 32px 30px; }
@container (min-width: 860px) {
  .b2-give .in { padding-block: 130px; }
  .b2-give .card { padding: 72px 48px 44px; clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%); }
  .b2-give h2 { font-size: 56px; }
  .b2-give p { font-size: 18px; }
}
.pg.b2 .b-cel .btn { background-color: var(--ink); color: #fff; justify-self: start; }
.pg.b2 .b-hum .btn { background-color: var(--y); color: var(--ink); }
.pg.b2 .b-form .btn { background-color: var(--gd); color: #fff; }

/* instagram: its own block under the signup, with room above */
.b2-ig { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 40px; }
.b2-ig .ic { width: 42px; height: 42px; border-radius: 11px; background: linear-gradient(45deg, #f9a825, #e1306c 55%, #833ab4); color: #fff; display: grid; place-items: center; transition: transform .4s var(--ease); }
.b2-ig b { font-size: 20px; font-weight: 700; }
.b2-ig span { font-weight: 700; color: var(--gd); background: linear-gradient(var(--y), var(--y)) no-repeat 0 100% / 0% 2px; transition: background-size .3s var(--ease); padding-bottom: 2px; }
.b2 .b-insta { margin-top: 4px; }
.b2 .b-insta .ph { transition: transform .35s var(--ease), box-shadow .35s; }
@container (min-width: 860px) { .b2-ig { margin-top: 64px; } }

/* legibility: reading text 16px and up, dark greys, not pale green on green */
.b2 .b-list span, .b2 .b-new span, .b2 .b-shab span, .b2 .b-conn p, .b2 .b-hum p, .b2 .b-cel p { font-size: 16px; }
.b2 .b-list span { color: #333; }
.b2 .b-list .dt small { font-size: 13px; }
.b2 .b-hum p { color: #f2f2f2; }
@container (min-width: 860px) {
  .b2 .b-list strong { font-size: 21px; }
  .b2 .b-list span, .b2 .b-hum p, .b2 .b-cel p, .b2 .b-conn p { font-size: 18px; }
  .b2 .b-new strong { font-size: 22px; }
  .b2 .b-new span { font-size: 17px; }
}

/* footer on sand so the logo keeps its colours */
.b2 .b-foot { background: var(--sand); color: var(--ink); }
.b2 .b-foot .in { padding-top: 56px; }
.b2 .b-foot img { width: 210px; }
.b2 .b-foot h4 { color: var(--gd); font-size: 14px; }
.b2 .b-foot li, .b2 .b-foot p { font-size: 16px; color: #2b2b2b; }
.b2 .b-foot .copy { font-size: 14px; color: #555; }

/* hover: desktop pointers only. Motion is short and only on what the pointer is over */
@media (hover: hover) {
  /* buttons: the colour sweep */
  .pg.b2 .b-menu .b-donate:hover, .pg.b2 .b2-hi .b-paths a:hover, .pg.b2 .b2-hi .b-paths a:nth-child(2):hover, .pg.b2 .b-hum .btn:hover, .pg.b2 .b-cel .btn:hover, .pg.b2 .b2-give .btn:hover, .pg.b2 .b-form .btn:hover, .pg.b2 .b2-art .in > a:hover { background-size: 100% 100%; color: var(--sweep-ink); transform: none; box-shadow: none; }
  .pg.b2 .b-menu .b-donate:hover { background-color: var(--y); }
  .pg.b2 .b-menu .b-donate:hover svg { color: var(--y); }
  .pg.b2 .b2-hi .b-paths a:hover { background-color: var(--sand); }
  .pg.b2 .b2-hi .b-paths a:nth-child(2):hover { background-color: var(--y); }
  .pg.b2 .b2-hi .b-paths a:hover::after { color: var(--y); transform: translateX(5px); }
  .pg.b2 .b2-art .in > a:hover { background-color: var(--ink); }
  .pg.b2 .b-cel .btn:hover { background-color: var(--ink); }
  /* nav: colour only; the open menu carries the gold edge */
  .b2 .b-nav a:hover { color: var(--gd); }
  /* text links flood gold */
  .pg.b2 .b2-more:hover, .pg.b2 .b-all:hover { background-size: 100% 100%; color: var(--ink); }
  /* calendar rows: date and title turn green, arrow slides */
  .b2 .b-list li a:hover strong { color: var(--g); }
  .b2 .b-list li a:hover .dt b { color: var(--g); }
  .b2 .b-list li a:hover::after { transform: translateX(6px); }
  /* photo tiles: slow zoom, title gets a gold underline */
  .b2 .b-tile:hover > img { transform: scale(1.06); }
  .b2 .b-tile:hover .t strong::after { transform: scaleX(1); }
  .pg.b2 .b-new:hover { background: #ffe14d; color: var(--ink); }
  /* visit tiles: lift, icon flips to gold, a gold flag edge draws in along the bottom */
  .b2-vt a:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(6,74,37,.14); }
  .b2-vt a:hover::after { transform: scaleX(1); }
  .b2-vt a:hover .ic { background: var(--y); transform: rotate(-8deg) scale(1.08); }
  /* section photos breathe a little */
  .b2-about .frame:hover .pic img { transform: scale(1.04); }
  /* instagram */
  .b2-ig:hover .ic { transform: rotate(-8deg) scale(1.08); }
  .b2-ig:hover span { background-size: 100% 2px; }
  .b2 .b-insta .ph:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,.18); }
  .pg.b2 .b-shab a:hover { color: #fff; }
}

/* small fixes go here */
@container (min-width: 860px) { .pg .btn.only-desk { display: inline-flex; } }
.b-tile .t { background: linear-gradient(transparent, rgba(0,0,0,.82) 55%); padding-top: 40px; }
.pg .b-tile { color: #fff; }
.pg .b-donate { color: #111; }
/* testimonials are not in the outline */
.b-q { display: none; }
/* blurred backgrounds bleed past the edge so no light seam shows */
.vibe > .bg { transform: scale(1.06); }

/* weekly article: rabbi's headshot (from jewishjamaica.com/5551119) */

/* line icons for the visit links */
.ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* B2 hero: let the bay show on phones, white cards for the three doors, keep the nav off the photo */

/* instagram: the six latest posts from @chabadofjamaica (Oct 24 to 31, 2026); IG URLs expire, the live site uses a feed widget */

          /* donate tag: size and heart only; colour, shape and hover live in b2.css with the other buttons */
          .pg.b2 .b-donate { font-size: 16px; gap: 8px; }
          .pg.b2 .b-donate svg { width: 16px; height: 16px; fill: currentColor; transition: color .2s; }
          /* hero welcome line under the headline */
          .b2 .b2-hi .lead { font-size: 18px; line-height: 1.45; font-weight: 500; color: #1d1d1d; max-width: 30em; }
          @container (min-width: 860px) { .b2 .b2-hi .lead { font-size: 21px; margin-top: -2px; } }
          /* about: what Chabad does for you, large and regular weight (kept to five lines on a phone) */
          .b2-about .lede { font-size: 21px; line-height: 1.38; }
          @container (min-width: 860px) { .b2-about .lede { font-size: 34px; line-height: 1.3; } }
          /* subscribe: first, last, email, one button */
          .b2 .b-form { grid-template-columns: 1fr 1fr; }
          .b2 .b-form .f:nth-child(3), .b2 .b-form .btn { grid-column: 1 / -1; }
          @container (min-width: 860px) { .b2 .b-form { grid-template-columns: 1fr 1fr 1.4fr auto; } .b2 .b-form .f:nth-child(3), .b2 .b-form .btn { grid-column: auto; } }
          /* humanitarian photo: the rabbi serving food, centred on him */
          .b2 .b-hum .hp { width: 100%; height: 100%; min-height: 260px; object-fit: cover; object-position: 55% 35%; align-self: stretch; }
          /* support us: his beach gathering behind the gold slab */
          .b2-give > .bg { object-position: 50% 40%; }
          .b2-give > .wash { background: rgba(0,0,0,.08); }
          /* stand-in photo flag on a tile */
          .b2 .b-tile .temp { position: absolute; top: 10px; left: 10px; z-index: 3; }
          /* nav dropdowns: the live site's submenus, white panel with a gold flag edge */
          .b2 .b-head { z-index: 10; }
          .b2 .b-nav { align-items: center; }
          .b2 .dd { position: relative; }
          .b2 .dd > a { display: flex; align-items: center; gap: 5px; transition: color .2s; }
          .b2 .dd > a:hover { color: #0a6b35; }
          .b2 .dd > a svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
          .b2 .dd .menu { position: absolute; top: calc(100% + 4px); left: -6px; min-width: 270px; background: #fff; padding: 16px 8px 10px; border-radius: 4px; box-shadow: 0 18px 44px rgba(0,0,0,.16), 0 2px 6px rgba(0,0,0,.06); display: grid; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s cubic-bezier(.2,.7,.2,1), visibility .2s; }
          .b2 .dd .menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 14px; }
          .b2 .dd .menu::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7px; background: var(--y); clip-path: polygon(0 0, 100% 0, 100% 25%, 0 100%); border-radius: 4px 4px 0 0; }
          .b2 .dd .menu.two { grid-template-columns: 1fr 1fr; min-width: 540px; column-gap: 4px; }
          .b2 .dd:last-child .menu { left: auto; right: -6px; }
          .pg.b2 .b-nav .dd .menu a { padding: 9px 12px; border-radius: 4px; font-size: 16px; font-weight: 500; line-height: 1.3; color: var(--ink); box-shadow: none; transition: background-color .15s, color .15s, padding-left .2s; }
          .pg.b2 .b-nav .dd .menu a:hover { background: var(--sand); color: var(--gd); padding-left: 18px; }
          .b2 .dd:hover .menu, .b2 .dd:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
          .b2 .dd:hover > a svg, .b2 .dd:focus-within > a svg { transform: rotate(180deg); }
        
/* demo: Instagram tiles are local photos */
.b2 .b-insta .ph { background-size: cover; background-position: center; }
/* demo: the phone menu opens over the page */
.mm { position: fixed; inset: 0; z-index: 100; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s cubic-bezier(.2,.7,.2,1), visibility .2s; }
.jm-menu-open .mm { opacity: 1; visibility: visible; transform: none; }
body.jm-menu-open { overflow: hidden; }
.b-burger, .mm-x, .mm-row { cursor: pointer; }

          /* B2 phone menu: opens full screen from the yellow menu button */
          .mm { min-height: 100%; display: flex; flex-direction: column; background: #fff; }
          .mm-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; }
          .mm-top img { width: 128px; }
          .mm-x { width: 44px; height: 44px; border-radius: 50%; background: var(--y); display: grid; place-items: center; }
          .mm-x svg { width: 18px; height: 18px; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
          .mm-cut { height: 16px; background: var(--y); clip-path: polygon(0 0, 100% 45%, 100% 100%, 0 55%); margin-bottom: 6px; }
          .mm-nav { display: grid; }
          .mm-row { display: flex; justify-content: space-between; align-items: center; padding: 17px 20px; font-size: 20px; font-weight: 800; color: var(--ink); border-bottom: 1px solid var(--sline); }
          .mm-row svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
          .mm-grp.open .mm-row { color: var(--gd); border-bottom-color: transparent; }
          .mm-grp.open .mm-row svg { transform: rotate(180deg); }
          .mm-sub { display: none; background: var(--sand); padding: 6px 20px 12px; }
          .mm-grp.open .mm-sub { display: grid; }
          .mm-sub a { padding: 11px 0; font-size: 17px; font-weight: 500; color: #1d1d1d; border-bottom: 1px solid var(--sline); }
          .mm-sub a:last-child { border-bottom: 0; }
          .mm-foot { margin-top: auto; padding: 22px 20px 26px; display: grid; gap: 14px; }
          .mm-donate { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 54px; background: var(--y); color: var(--ink); font-weight: 800; font-size: 18px; clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%); }
          .mm-donate svg { width: 18px; height: 18px; fill: currentColor; }
          .mm-heb { justify-self: start; display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; background: var(--sand); color: var(--gd); font-weight: 700; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
          .mm-contact { display: grid; gap: 4px; font-size: 16px; color: #2b2b2b; }
          .mm-contact b { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gd); margin-bottom: 2px; }

/* ===== Part 2: ChabadOne ===== */

/* no flash of the stock template: hidden until script.js has built the page, 2.5s failsafe */
@keyframes jm-failsafe { to { opacity: 1; } }
body:has(> #header):not(.jm-built):not(.jm-failed) { opacity: 0; animation: jm-failsafe 0s 2.5s forwards; }

/* once built, the stock header and footer are replaced everywhere; on the homepage the widgets are too */
body.jm-built > #header, body.jm-built > #footer, body.jm-built > .mobile-nav-overlay { display: none !important; }
body.jm-home.jm-built > #content { display: none !important; }
body.jm-built { background: #fff !important; margin: 0; }

/* the phone menu lives on <body>, outside the page root, so nothing clips it */
.jm-drawer { font-family: "effra", system-ui, sans-serif; color: #141414; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
.jm-drawer *, .jm-drawer *::before, .jm-drawer *::after { box-sizing: border-box; }
.jm-drawer a { color: inherit; text-decoration: none; }
.jm-drawer img { display: block; max-width: 100%; }
.jm-drawer .mm { z-index: 100000; }
.pg .b-burger { cursor: pointer; }

/* the design's links are real links now: keep the platform's link colours and underlines off them */
.pg a, .pg a:hover, .pg a:visited, .jm-drawer a:hover { text-decoration: none; }
.pg h1, .pg h2, .pg h3, .pg h4 { font-family: "effra", system-ui, sans-serif; }
.pg h1, .pg h2, .pg h3 { text-transform: none; }
/* the platform greys every <p>; put back the design's colours */
.pg.b2 .b2-tag { color: var(--g); }
.pg.b2 .b2-art p { color: #2b2b2b; }
.pg.b2 .b2-give p, .pg.b2 .b-conn p { color: var(--ink); }

/* week rows and the Shabbat card when a value is missing */
.b2 .b-list .dt:empty { visibility: hidden; }
.b-shab span:empty, .b-shab strong:empty { display: none; }

/* weekly article headshot comes from the widget */
.b2-art .face { background-color: #f3efe6; }

/* tiles: a photo the client sets is centred a little high, like the design's crops */
.b2 .b-tile > img { object-position: 50% 40%; }

/* hero doors: the Hebrew link reads right to left */
.pg.b2 .b2-hi .b-paths a.b-heb { direction: rtl; }

/* ----- Stay Connected: the platform's own subscribe form, moved into the design ----- */
.b2 .b-form { display: block; }
.b2 .b-form #formContainer form, .b2 .b-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.b2 .b-form fieldset { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: end; }
.b2 .b-form fieldset > label, .b2 .b-form fieldset > small { display: none; }
.b2 .b-form .js-recaptcha-wrapper { grid-column: 1 / -1; }
.b2 .b-form .js-recaptcha-wrapper:empty { display: none; }
.b2 .b-form input.co_global_input { grid-column: auto; width: 100% !important; min-height: 50px; height: 50px; margin: 0; padding: 0 2px; border: 0 !important; border-bottom: 2px solid var(--gd) !important; border-radius: 0; background: transparent !important; box-shadow: none; font: 400 17px/1.2 "effra", system-ui, sans-serif; color: var(--ink); }
.b2 .b-form input.co_global_input::placeholder { color: #6f7b74; opacity: 1; }
.b2 .b-form input.co_global_input:focus { outline: 0; border-bottom-color: var(--g) !important; }
.b2 .b-form input#Email { grid-column: 1 / -1; }
.b2 .b-form input[type=submit] {
  grid-column: 1 / -1; justify-self: stretch; -webkit-appearance: none; appearance: none; cursor: pointer; margin: 6px 0 0; width: auto;
  min-height: 50px; padding: 0 26px 0 28px; border: 0; border-radius: 0; box-shadow: none; text-shadow: none;
  font: 800 16px/1 "effra", system-ui, sans-serif; color: #fff; background-color: var(--gd);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  background-image: linear-gradient(var(--y), var(--y)); background-repeat: no-repeat; background-position: 0 0; background-size: 0% 100%;
  transition: background-size .38s var(--ease), color .2s;
}
@media (hover: hover) { .b2 .b-form input[type=submit]:hover { background-size: 100% 100%; color: var(--ink); } }
.b2 .b-form #response { display: block; font-size: 18px; color: var(--gd); height: auto !important; }
.b2 .b-form #response[style*="none"] { display: none !important; }
@container (min-width: 860px) {
  .b2 .b-form fieldset { grid-template-columns: 1fr 1fr 1.4fr auto; }
  .b2 .b-form input#Email { grid-column: auto; }
  .b2 .b-form input[type=submit] { grid-column: auto; margin: 0; }
}

/* footer: real links, and the design credit */
.b2 .b-foot a { color: inherit; }
@media (hover: hover) { .b2 .b-foot a:hover { color: var(--gd); } }
.b2 .b-foot .copy a { text-decoration: underline; text-underline-offset: 2px; }
.b2 .b-foot .copy span + span::before { content: "·"; margin: 0 8px; }

/* ----- inner pages ----- */
/* the header bar on white, closed by a thin gold flag cut */
.jm-top { background: #fff; position: relative; z-index: 20; overflow: visible; }
.jm-top .b-head { position: relative; }
.jm-top .b-head .in { padding-block: 12px; }
.jm-top .b-head img { width: 112px; }
@container (min-width: 860px) { .jm-top .b-head img { width: 150px; } }
.jm-top::after { content: ""; display: block; position: relative; z-index: 1; height: 16px; background: var(--y); clip-path: polygon(0 0, 100% 45%, 100% 100%, 0 55%); }
/* the sand title band runs up under the stripe's slanted lower edge, so no white wedge shows between them */
.jm-top::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16px; background: #f7f0e1; clip-path: polygon(0 55%, 100% 100%, 0 100%); }
body.jm-inner:has(.jm-events) .jm-top::before { display: none; }
.jm-bottom { margin-top: 64px; }

body.jm-inner.jm-built #content, body.jm-inner.jm-built #contentDIV { margin-top: 0 !important; padding-top: 0 !important; }
body.jm-inner #BodyContainer, body.jm-inner #BodyContainer :is(p, li, td, div, span, a, h1, h2, h3, h4, h5, h6, input, select, textarea, button, label, blockquote) { font-family: "effra", system-ui, sans-serif; }
body.jm-inner #BodyContainer :is(font, [style*="font-family"]) { font-family: inherit !important; }
body.jm-inner #BodyContainer [style*="justify"] { text-align: left !important; }

/* title band: sand, the headline heavy and green like the homepage's section heads */
body.jm-inner #BodyContainer .master-content-wrapper.master-content-wrapper { background: #f7f0e1 !important; padding: 40px 20px 34px !important; margin: 0 0 40px; border: 0; width: auto; max-width: none; float: none; }
body.jm-inner #BodyContainer .article-header { max-width: 1144px; margin: 0 auto; padding: 0; text-align: left; }
body.jm-inner #BodyContainer #co_content_container > .clearfix > .g960:not(.categorized) .article-header .article-header__title,
body.jm-inner #BodyContainer .article-header .article-header__title { font-family: "effra", system-ui, sans-serif !important; font-weight: 700 !important; font-size: clamp(36px, 5vw, 60px) !important; line-height: 1.02 !important; letter-spacing: -.01em; color: #064a25 !important; text-transform: none !important; text-align: left; margin: 6px 0 0; }
body.jm-inner #BodyContainer .article-header .breadcrumbs, body.jm-inner #BodyContainer .article-header .breadcrumbs a,
body.jm-inner #BodyContainer .no-hero-image #co_content_container .master-content-wrapper.master-content-wrapper .article-header .breadcrumbs__crumb { font-size: 14px; font-weight: 500; color: #4a5a51 !important; text-transform: none; letter-spacing: 0; }
body.jm-inner #BodyContainer > .body_wrapper::before { display: none !important; }

/* reading text */
body.jm-inner #co_body_container { font-size: 18px; line-height: 1.6; color: #1d1d1d; }
body.jm-inner #co_body_container :is(p, li) { font-size: 18px; line-height: 1.6; color: #1d1d1d; }
body.jm-inner #co_body_container :is(h2, h3, h4) { color: #064a25 !important; font-weight: 800 !important; letter-spacing: -.005em; line-height: 1.2; }
body.jm-inner #co_body_container a:not([class*="btn"]):not([class*="button"]) { color: #064a25; font-weight: 600; text-decoration: none; background: linear-gradient(#F5D213, #F5D213) no-repeat 0 100% / 100% 2px; padding-bottom: 1px; }
@media (hover: hover) { body.jm-inner #co_body_container a:not([class*="btn"]):not([class*="button"]):hover { background-size: 100% 100%; color: #111; } }

/* side rail: kept, headings in the site green instead of the stock amber */
body.jm-inner #BodyContainer :is(.co_local_menu > .header .section_title, #LocalNavigationQuickLinks .header, #MosadInformation .small_header, .secondary_navigation .header) { color: #064a25 !important; font-family: "effra", system-ui, sans-serif !important; font-weight: 800; text-transform: none; letter-spacing: 0; }
body.jm-inner #BodyContainer .co_local_menu .item a { color: #1d1d1d; font-family: "effra", system-ui, sans-serif; }
body.jm-inner #BodyContainer .co_local_menu .item.selected a { color: #064a25; font-weight: 700; }

/* title band: left-aligned like the homepage's heads (the theme centres it) */
body.jm-inner #BodyContainer #co_content_container .master-content-wrapper .article-header { text-align: left !important; }
body.jm-inner #BodyContainer #co_content_container .master-content-wrapper .article-header .article-header__title { display: block !important; padding: 0 !important; }
/* reading column: a readable measure when there is no side rail, the design's 20px gutter on phones */
body.jm-inner #co_body_container.g960 { float: none; max-width: 820px; margin-inline: auto; }
@media (max-width: 767px) {
  body.jm-inner #BodyContainer .body_wrapper.co_body { margin-left: 0 !important; margin-right: 0 !important; }
  body.jm-inner #co_body_container { padding-inline: 20px !important; width: 100% !important; box-sizing: border-box; }
  body.jm-inner #BodyContainer .master-content-wrapper.master-content-wrapper { padding: 28px 20px 24px !important; margin-bottom: 28px; }
  body.jm-inner #BodyContainer .article-header { padding: 0 !important; }
}
/* the phone menu: nothing in it shrinks, so the gold cut keeps its height */
.jm-drawer .mm > * { flex-shrink: 0; }

/* humanitarian: the band is not a link, so its photo does not zoom on hover; clip it to the black band regardless */
.pg.b2 .b-hum { overflow: hidden; }

/* default-theme.css sets Muli on every bare div (and other tags); inside the skin everything inherits Effra */
.pg :where(div, span, p, a, li, ul, nav, footer, strong, b, small, i, label, input, button),
.jm-drawer :where(div, span, p, a, li, ul, nav, footer, strong, b, small, i) { font-family: inherit; }
/* and `html body.cco_body p` (Muli) outranks that, so paragraphs get their own reset */
html body .pg.pg p, html body .jm-drawer.jm-drawer p { font-family: inherit; }

/* ----- Coming Up: calendar rows, led by a photo card for the next series (Chanukah's eight stops) ----- */
.b2 .jm-col { display: grid; gap: 18px; align-content: start; min-width: 0; }
@container (min-width: 860px) { .b2 .b-week .jm-col { grid-row: span 2; } }
.b2 .b-feat { display: grid; background: #fff; color: var(--ink); overflow: hidden; }
.b2 .b-feat .pic { aspect-ratio: 16 / 9; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }
.b2 .b-feat .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.b2 .b-feat .t { display: grid; gap: 8px; justify-items: start; padding: 10px 18px 20px; }
.b2 .b-feat .when { background: var(--y); color: var(--ink); font-weight: 800; font-size: 15px; line-height: 1; padding: .45em .7em .5em; clip-path: polygon(0 12%, 100% 0, 100% 88%, 0 100%); }
.b2 .b-feat strong { font-weight: 700; font-size: 26px; line-height: 1.05; color: var(--gd); letter-spacing: -.01em; }
.b2 .b-feat .go { font-weight: 700; color: var(--gd); padding: 2px 2px 3px; background: linear-gradient(var(--y), var(--y)) no-repeat 0 100% / 100% 2px; transition: background-size .3s var(--ease); }
@container (min-width: 860px) {
  .b2 .b-feat { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: 230px; }
  .b2 .b-feat .pic { aspect-ratio: auto; clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
  .b2 .b-feat .t { align-content: center; padding: 24px 28px 24px 12px; }
  .b2 .b-feat strong { font-size: 32px; }
}
@media (hover: hover) {
  .b2 .b-feat:hover .pic img { transform: scale(1.04); }
  .b2 .b-feat:hover .go { background-size: 100% 100%; color: var(--ink); }
}

/* ----- Events page: <div class="jm-events"> in an article, filled from the WebMK CMS calendar ----- */
.jm-events.jm-ev-done > :not(.jm-ev) { display: none; }   /* the page's own fallback text, once the list is drawn */
.pg.jm-ev { container-type: inline-size; overflow: visible; background: none; display: grid; gap: 48px; margin: 8px 0 24px; }
body.jm-inner #co_body_container .pg.jm-ev a { background-image: none; font-weight: inherit; color: inherit; }
body.jm-inner #co_body_container .pg.jm-ev .b-list a { padding-left: 0; padding-right: 0; }
body.jm-inner #co_body_container .pg.jm-ev a.b-feat.big, body.jm-inner #co_body_container .pg.jm-ev a.jm-ev-wd { background-color: #f7f0e1; }
body.jm-inner #co_body_container .pg.jm-ev a.jm-ev-wd { padding: 16px 16px 18px; }
body.jm-inner #co_body_container .pg.jm-ev .b-feat .go { background-image: linear-gradient(#F5D213, #F5D213); padding: 2px 2px 3px; }
body.jm-inner #co_body_container .pg.jm-ev li { font-size: inherit; line-height: inherit; margin: 0; padding: 0; list-style: none; }
.pg.jm-ev ul { margin: 0; padding: 0; }
.pg.jm-ev h2 { font-weight: 700; font-size: 32px; line-height: 1; color: var(--gd); margin: 0 0 18px; }
.pg.jm-ev h3 { font-weight: 800; font-size: 20px; color: var(--gd); margin: 28px 0 4px; }
.pg.jm-ev h3:first-of-type { margin-top: 8px; }
/* featured: the homepage's lead card, larger, with its sentence */
.pg.jm-ev .jm-ev-feat { display: grid; gap: 16px; }
.b2 .b-feat.big { background: var(--sand); }
.b2 .b-feat.big .t p { font-size: 17px; line-height: 1.5; color: #2b2b2b; margin: 0; }
@container (min-width: 700px) { .b2 .b-feat.big { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 280px; } .b2 .b-feat.big .pic { aspect-ratio: auto; clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); } .b2 .b-feat.big .t { align-content: center; padding: 28px 28px 28px 12px; } .b2 .b-feat.big strong { font-size: 34px; } }
/* every week: one tile per weekly program, the day as the gold flag tag */
.pg.jm-ev .jm-ev-wk { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pg.jm-ev .jm-ev-wd { display: grid; gap: 6px; align-content: start; justify-items: start; background: var(--sand); padding: 16px 16px 18px; border-radius: 4px; transition: transform .3s var(--ease), box-shadow .3s; }
.pg.jm-ev .jm-ev-wd b { background: var(--y); color: var(--ink); font-weight: 800; font-size: 14px; line-height: 1; padding: .45em .65em .5em; clip-path: polygon(0 12%, 100% 0, 100% 88%, 0 100%); }
.pg.jm-ev .jm-ev-wd strong { font-weight: 700; font-size: 19px; line-height: 1.2; color: var(--ink); }
.pg.jm-ev .jm-ev-wd span { font-size: 16px; color: #333; }
@container (min-width: 700px) { .pg.jm-ev .jm-ev-wk { grid-template-columns: repeat(4, 1fr); } }
/* coming up: the homepage rows, grouped by month */
.pg.jm-ev .b-list li a { border-bottom-color: var(--sline); }
.pg.jm-ev .b-list em { display: block; font-style: normal; font-size: 15px; line-height: 1.45; color: #4a4a4a; margin-top: 4px; }
.pg.jm-ev .b-list li[hidden], .pg.jm-ev h3[hidden] { display: none; }
/* filter chips, in the buttons' flag shape so they read as clickable */
.pg.jm-ev .jm-ev-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 8px; }
.pg.jm-ev .jm-ev-chips button { -webkit-appearance: none; appearance: none; border: 0; cursor: pointer; font: 700 15px/1 "effra", system-ui, sans-serif; color: var(--gd); background: var(--sand); padding: 12px 20px; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); transition: background-color .2s, color .2s; }
.pg.jm-ev .jm-ev-chips button[aria-pressed="true"] { background: var(--gd); color: #fff; }
.pg.jm-ev .jm-ev-none { font-size: 18px; }
@media (hover: hover) {
  .pg.jm-ev .jm-ev-wd:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(6,74,37,.12); }
  .pg.jm-ev .jm-ev-chips button[aria-pressed="false"]:hover { background: var(--y); color: var(--ink); }
  .b2 .b-list li a:hover em { color: #222; }
}

/* cdo-normalize clears the title band on pages with #chabad_body_content; keep the sand */
body.jm-inner #BodyContainer .no-hero-image #co_content_container #chabad_body_content .master-content-wrapper.master-content-wrapper,
body.jm-inner #BodyContainer #co_content_container #chabad_body_content .master-content-wrapper.master-content-wrapper { background: #f7f0e1 !important; padding: 40px 20px 34px !important; }
@media (max-width: 767px) {
  body.jm-inner #BodyContainer .no-hero-image #co_content_container #chabad_body_content .master-content-wrapper.master-content-wrapper,
  body.jm-inner #BodyContainer #co_content_container #chabad_body_content .master-content-wrapper.master-content-wrapper { padding: 28px 20px 24px !important; }
}
body.jm-inner #BodyContainer .no-hero-image #co_content_container .master-content-wrapper.master-content-wrapper { background: #f7f0e1 !important; padding: 40px 20px 34px !important; }
@media (max-width: 767px) { body.jm-inner #BodyContainer .no-hero-image #co_content_container .master-content-wrapper.master-content-wrapper { padding: 28px 20px 24px !important; } }

/* ----- Events page: full width, white (no rail, no share tools, no tan) ----- */
body.jm-inner:has(.jm-events) #co_ads_container,
body.jm-inner:has(.jm-events) .page-tools-sidebar { display: none !important; }
body.jm-inner:has(.jm-events) #BodyContainer .body_wrapper.co_body { display: block; max-width: 1240px; margin: 0 auto !important; padding: 0 48px; box-sizing: border-box; }
body.jm-inner:has(.jm-events) #co_body_container { float: none !important; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
@media (max-width: 767px) { body.jm-inner:has(.jm-events) #BodyContainer .body_wrapper.co_body { padding: 0 20px; } }
/* title band: white, the header's gold cut is the divider; the title lines up with the content */
body.jm-inner:has(.jm-events) #BodyContainer .no-hero-image #co_content_container .master-content-wrapper.master-content-wrapper,
body.jm-inner:has(.jm-events) #BodyContainer .master-content-wrapper.master-content-wrapper { background: #fff !important; padding: 48px 48px 8px !important; margin-bottom: 24px; }
body.jm-inner:has(.jm-events) #BodyContainer .article-header { max-width: 1144px; }
@media (max-width: 767px) {
  body.jm-inner:has(.jm-events) #BodyContainer .no-hero-image #co_content_container .master-content-wrapper.master-content-wrapper,
  body.jm-inner:has(.jm-events) #BodyContainer .master-content-wrapper.master-content-wrapper { padding: 28px 20px 0 !important; margin-bottom: 16px; }
}
/* featured: photo and text on white, no box */
body.jm-inner #co_body_container .pg.jm-ev a.b-feat.big { background-color: transparent; }
.b2 .b-feat.big .t { padding-left: 0; }
@container (min-width: 700px) { .b2 .b-feat.big { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); min-height: 340px; column-gap: 40px; } .b2 .b-feat.big .t { padding: 24px 0; } .b2 .b-feat.big strong { font-size: 44px; } }
/* every week: white tiles under a green rule, like the homepage's weekly article band */
body.jm-inner #co_body_container .pg.jm-ev a.jm-ev-wd { background-color: #fff; border-top: 6px solid var(--g); border-radius: 0; padding: 16px 0 6px; }
@media (hover: hover) { .pg.jm-ev .jm-ev-wd:hover { transform: none; box-shadow: none; } .pg.jm-ev .jm-ev-wd:hover strong { color: var(--g); } }
.pg.jm-ev .jm-ev-wk { column-gap: 20px; row-gap: 24px; }
/* coming up: two columns of months on a wide screen */
@container (min-width: 1000px) { .pg.jm-ev .jm-ev-list .b-list { max-width: 820px; } }
/* title lines up with the content column; no hairline under the band */
body.jm-inner:has(.jm-events) #BodyContainer .no-hero-image #co_content_container .master-content-wrapper.master-content-wrapper,
body.jm-inner:has(.jm-events) #BodyContainer .master-content-wrapper.master-content-wrapper { padding-left: 0 !important; padding-right: 0 !important; border: 0 !important; box-shadow: none !important; }
body.jm-inner:has(.jm-events) #BodyContainer #co_content_container .master-content-wrapper .article-header { max-width: 1240px !important; margin: 0 auto; padding: 0 48px !important; box-sizing: border-box; }
@media (max-width: 767px) { body.jm-inner:has(.jm-events) #BodyContainer #co_content_container .master-content-wrapper .article-header { padding: 0 20px !important; } }
/* wide: the homepage band's arrangement, Every Week as the side column beside the month list */
@container (min-width: 1000px) {
  .pg.jm-ev { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: 64px; align-items: start; }
  .pg.jm-ev .jm-ev-feat { grid-column: 1 / -1; }
  .pg.jm-ev .jm-ev-week { grid-column: 1; }
  .pg.jm-ev .jm-ev-list { grid-column: 2; grid-row: 2; }
  .pg.jm-ev .jm-ev-wk { grid-template-columns: 1fr; row-gap: 20px; }
  .pg.jm-ev .jm-ev-list .b-list { max-width: none; }
}
/* the theme pins both boxes to fixed pixel widths (1105 / 1235), even on a phone */
body.jm-inner:has(.jm-events) #BodyContainer #co_content_container .master-content-wrapper .article-header,
body.jm-inner:has(.jm-events) #BodyContainer .body_wrapper.co_body { width: auto !important; }
/* the page grid is set on its own container, so it needs a media query, not a container query */
@media (min-width: 1100px) {
  .pg.jm-ev { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: 64px; align-items: start; }
  .pg.jm-ev .jm-ev-feat { grid-column: 1 / -1; grid-row: 1; }
  .pg.jm-ev .jm-ev-week { grid-column: 1; grid-row: 2; }
  .pg.jm-ev .jm-ev-list { grid-column: 2; grid-row: 2; }
}


/* =====================================================================
   Built-in donate page (/templates/donate_cdo/). Ported from the house donate pattern
   (chabadvenetian/style.css): photo full-bleed left, form on a light panel right.
   Colours mapped to the Jamaica greens; type is Effra.
   ===================================================================== */
/* ---------------------------------------------------------------- donate */

/* built-in donate template. content is admin-set and css is the only styling
   route, so everything below overrides `donate/main.css` */

/* full-bleed scrim for a background image this page never sets */
body.cco_body div#donate-wrapper::after {
  display: none;
}

/* the theme's title-band allowance, `!important` at (0,3,1) */
body.cco_body .body_wrapper.co_body > .g960:has(#donate-wrapper) {
  padding-block: 0 !important;
}

body.cco_body #donate-wrapper {
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  background: #f5f8f6;
}

body.cco_body #donate-wrapper * {
  font-family: "effra", system-ui, sans-serif;
}

body.cco_body #donate-wrapper #donate {
  max-width: none;
  min-height: 0;
  margin: 0;
  background: transparent;
  box-shadow: none;
  align-items: stretch;
}

body.cco_body #donate-wrapper #donate.screen-1 aside.image-bg {
  flex: 0 0 42%;
  max-width: 42%;
  min-height: 620px;
  background-color: #e3ece6;
}

body.cco_body #donate-wrapper #donate main.donate-content {
  padding: 78px 62px 86px;
}

body.cco_body #donate-wrapper #donate.screen-1 main.donate-content form {
  max-width: 620px;
}

body.cco_body #donate-wrapper #donate.screen-2 main.donate-content {
  padding: 64px 60px 88px;
}

body.cco_body #donate-wrapper #donate.screen-2 main.donate-content form {
  max-width: 1160px;
  margin: 0 auto;
  justify-content: space-between;
}

/* intro */

body.cco_body #donate-wrapper #donate main form .content-box.intro-wrapper {
  width: 100%;
  max-width: 100%;
  padding: 0 6px 30px;
  text-align: left;
  align-self: auto;
}

body.cco_body #donate-wrapper #donate main form .content-box.intro-wrapper h1 {
  margin: 0 0 12px;
  text-align: left;
  font-size: 40px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #064a25;
}

body.cco_body #donate-wrapper #donate main form .content-box.intro-wrapper p.description {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: #5c6560;
}

body.cco_body #donate-wrapper #donate.screen-2 main form .content-box.intro-wrapper h1 {
  font-size: 30px;
}

/* amount + frequency */

body.cco_body #donate-wrapper #donate main form .content-box.amount-wrapper {
  width: 100%;
  max-width: 100%;
  padding: 0 6px;
  text-align: left;
}

body.cco_body #donate-wrapper #donate.screen-1 main form .amount-wrapper > .row {
  display: flex;
  flex-direction: column;
  margin: 0;
}

body.cco_body #donate-wrapper #donate.screen-2 main form .amount-wrapper > .row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0 0 32px;
}

/* the template already draws a grey divider here, so recolour it */
body.cco_body #donate-wrapper #donate.screen-2 main form .content-box.full-row.amount-wrapper {
  margin-bottom: 34px;
  border-bottom: 1px solid #dfe8e2;
}

body.cco_body #donate-wrapper #donate main form .content-box.amount-wrapper .row .col {
  padding: 0;
}

body.cco_body #donate-wrapper #donate main form .frequency-toggle-wrapper {
  flex: 0 0 auto;
}

body.cco_body #donate-wrapper #donate main form #frequency-toggle.frequency-toggle {
  flex: 0 0 auto;
  width: 300px;
  margin: 0;
  padding: 4px;
  background: #fff;
  border: 1px solid #dfe8e2;
  border-radius: 999px;
  box-shadow: none;
  overflow: visible;
  font-size: 15px;
}

body.cco_body #donate-wrapper #donate main form #frequency-toggle.frequency-toggle::before {
  display: none;
}

body.cco_body #donate-wrapper #donate main form .frequency-toggle .frequency-toggle__label {
  padding: 12px 0;
  border-radius: 999px;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #5c6560;
  transition: background-color 0.18s ease, color 0.18s ease;
}

body.cco_body #donate-wrapper #donate main form .frequency-toggle .frequency-toggle__label:hover {
  letter-spacing: 0.02em;
  color: #064a25;
}

/* the container class never changes on click. the label gets `.selected` and
   its radio gets checked, so key off both */
body.cco_body #donate-wrapper #donate main form .frequency-toggle .frequency-toggle__label:has(input:checked),
body.cco_body #donate-wrapper #donate main form .frequency-toggle .frequency-toggle__label.selected {
  background: #064a25;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #fff;
}

body.cco_body #donate-wrapper #donate .monthly-note {
  padding: 16px 0 0;
  font-family: "effra", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  text-align: left;
  color: #3d6b50;
}

body.cco_body #donate-wrapper #donate .monthly-note::before {
  content: "";
  position: static;
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-inline-end: 9px;
  background: #0B9D4A;
  border-radius: 50%;
  transform: none;
  vertical-align: middle;
}

body.cco_body #donate-wrapper #donate .frequency-toggle:has(.monthly input:checked) + .monthly-note,
body.cco_body #donate-wrapper #donate .frequency-toggle:has(.monthly.selected) + .monthly-note {
  display: none;
}

body.cco_body #donate-wrapper #donate main form .amounts-buttons-wrapper {
  margin: 26px 0 0;
}

body.cco_body #donate-wrapper #donate main form .amounts {
  justify-content: flex-start;
  gap: 10px;
}

body.cco_body #donate-wrapper #donate main form .amounts button.js-amounts-button {
  width: calc(33.333% - 7px);
  margin: 0;
  padding: 18px 8px;
  background: #fff;
  border: 1px solid #dfe8e2;
  border-radius: 14px;
  box-shadow: none;
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #064a25;
  transition: border-color 0.18s ease, background-color 0.18s ease,
    color 0.18s ease, transform 0.18s ease;
}

body.cco_body #donate-wrapper #donate main form .amounts button.js-amounts-button:hover {
  background: #eef5f0;
  border-color: #0B9D4A;
  box-shadow: none;
  color: #064a25;
  transform: translateY(-1px);
}

body.cco_body #donate-wrapper #donate main form .amounts button.js-amounts-button.selected {
  background: #064a25;
  border-color: #064a25;
  color: #fff;
}

body.cco_body #donate-wrapper #donate main form .custom-amount-wrapper {
  max-width: 100%;
  margin: 16px 0 0;
  padding: 0;
  align-items: center;
  background: #fff;
  border: 1px solid #dfe8e2;
  border-radius: 14px;
  box-shadow: none;
  font-size: 17px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

body.cco_body #donate-wrapper #donate main form .custom-amount-wrapper:focus-within {
  border-color: #064a25;
  box-shadow: 0 0 0 3px rgba(104, 195, 166, 0.25);
}

body.cco_body #donate-wrapper #donate main form .custom-amount-wrapper .currency-insert {
  padding: 0 4px 0 17px;
  font-size: 17px;
  color: #5c6560;
}

body.cco_body #donate-wrapper #donate main form .custom-amount-wrapper input.custom-amount {
  padding: 17px 17px 17px 4px;
  text-indent: 0;
  background: transparent;
  font-size: 17px;
  color: #064a25;
}

body.cco_body #donate-wrapper #donate main form .custom-amount-wrapper input.custom-amount::placeholder {
  color: #93a4ad !important;
}

body.cco_body #donate-wrapper #donate.screen-2 main form .custom-amount-wrapper {
  flex: 1 1 auto;
}

body.cco_body #donate-wrapper #donate main form .content-box .row.next-button-wrapper button.next-button {
  margin: 24px 0 0;
  padding: 15px 40px;
  background: #0B9D4A;
  border: none;
  border-radius: 999px;
  box-shadow: none;
  font-size: 17px;
  color: #fff;
}

body.cco_body #donate-wrapper #donate main form .content-box .row.next-button-wrapper button.next-button:hover {
  background: #064a25;
  border: none;
  box-shadow: none;
  color: #fff;
}

/* donor fields */

body.cco_body #donate-wrapper #donate main form .content-box.screen-2 {
  padding: 0 0 22px;
}

/* two columns is a desktop-only shape — the template drops to one under 1001px
   and this has to move with it, or the donor fields and the payment block sit
   side by side at ~160px each on a phone */
@media only screen and (min-width: 1001px) {
  body.cco_body #donate-wrapper #donate main form .content-box.screen-2 {
    width: 48%;
    max-width: 48%;
  }
}

body.cco_body #donate-wrapper #donate main form .content-box .row {
  margin-bottom: 28px;
}

body.cco_body #donate-wrapper #donate main form .content-box .row .col {
  padding: 0 6px;
}

body.cco_body #donate-wrapper #donate main form .field-wrapper input:not([type="checkbox"]),
body.cco_body #donate-wrapper #donate main form .field-wrapper textarea {
  width: 100%;
  padding: 14px;
  text-indent: 0;
  background: #fff;
  border: 1px solid #dfe8e2;
  border-radius: 12px;
  box-shadow: none;
  font-size: 16px;
  color: #343333;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

body.cco_body #donate-wrapper #donate main form .field-wrapper select {
  width: 100%;
  padding-block: 14px;
  padding-inline: 14px 34px;
  background-color: #fff;
  border: 1px solid #dfe8e2;
  border-radius: 12px;
  box-shadow: none;
  font-size: 16px;
  color: #343333;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

body.cco_body #donate-wrapper #donate main form .field-wrapper textarea {
  min-height: 96px;
  line-height: 1.5;
}

body.cco_body #donate-wrapper #donate main form .field-wrapper input:focus,
body.cco_body #donate-wrapper #donate main form .field-wrapper select:focus,
body.cco_body #donate-wrapper #donate main form .field-wrapper textarea:focus {
  border-color: #064a25;
  box-shadow: 0 0 0 3px rgba(104, 195, 166, 0.25);
}

body.cco_body #donate-wrapper #donate main form .content-box .row .col .field-wrapper:has(select)::after {
  color: #5c6560;
  inset-inline-end: 14px;
}

body.cco_body #donate-wrapper #donate main form .content-box .row .col .field-wrapper.no-value:not(.checkbox-wrapper) label {
  top: 15px;
  left: 15px;
  max-width: 78%;
  font-size: 15px;
  color: #8b9aa3;
}

/* the template floats the label on `.focused` as well as `.has-value`, so
   match both or focus breaks while value still works */
body.cco_body #donate-wrapper #donate main form .content-box .row .col .field-wrapper.focused:not(.checkbox-wrapper) label,
body.cco_body #donate-wrapper #donate main form .content-box .row .col .field-wrapper.has-value:not(.checkbox-wrapper) label {
  top: -18px;
  left: 3px;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #3d6b50;
}

body.cco_body #donate-wrapper #donate main form .content-box .row .col .field-wrapper label .req {
  color: #d4636b;
}

body.cco_body #donate-wrapper #donate main form .content-box .row .col .field-wrapper.checkbox-wrapper label {
  min-height: 0;
  padding-left: 27px;
  text-indent: -27px;
  font-size: 15px;
  line-height: 1.5;
  color: #4d5a61;
}

body.cco_body #donate-wrapper #donate main form .field-wrapper input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-right: 10px;
  vertical-align: -2px;
  accent-color: #064a25;
}

body.cco_body #donate-wrapper #donate main form .content-box.full-row.error-wrapper {
  margin-bottom: 24px;
  padding: 18px 20px 18px 62px;
  background: #fdecea;
  border: 1px solid #f1c9c5;
  border-radius: 14px;
  box-shadow: none;
  color: #9c2f2a;
}

body.cco_body #donate-wrapper #donate main form .content-box.full-row.error-wrapper i {
  margin-left: -42px;
  font-size: 1.9em;
  color: #c94a41;
}

/* payment method: ships as a hover-tooltip icon strip, rebuilt as rows. one
   method per row: two-up tiles were ~144px and every mark ran into its label */

body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with {
  display: block;
  margin: 0 0 22px;
  padding: 0 6px;
  font-size: 15px;
  font-weight: 400;
}

body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .pay-with-label {
  display: none;
}

body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with::before {
  content: "Payment method";
  display: block;
  margin: 0 0 12px 2px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #3d6b50;
}

body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .payment-options {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
}

body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .icon-wrapper {
  display: flex;
  flex: 0 0 100%;
  max-width: 100%;
  align-items: center;
  gap: 11px;
  box-sizing: border-box;
  width: auto;
  height: auto;
  min-height: 52px;
  margin: 0;
  padding: 0 14px;
  position: relative;
  text-align: left;
  font-size: 15px;
  background: #fff;
  border: 1px solid #dfe8e2;
  border-radius: 12px;
  box-shadow: none;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .icon-wrapper:hover {
  border-color: #0B9D4A;
}
/* apple pay is in the markup but hidden off safari. the template's own hide
   rule is (1,5,3), which every rule above outranks */
body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .icon-wrapper.apple-pay-disabled {
  display: none;
}


body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .icon-wrapper:has(input:checked) {
  background: #eef5f0;
  border-color: #064a25;
  box-shadow: 0 0 0 1px #064a25;
}

body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .icon-wrapper::before {
  content: "";
  order: 1;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  background: #fff;
  border: 1.5px solid #c9d6cd;
  border-radius: 50%;
  transition: border 0.18s ease;
}

body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .icon-wrapper:has(input:checked)::before {
  border: 5.5px solid #064a25;
}

body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .icon-wrapper .title,
body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .icon-wrapper:hover .title {
  order: 2;
  flex: 1 1 auto;
  position: static;
  top: auto;
  left: auto;
  min-width: 0;
  width: auto;
  padding: 0;
  transform: none;
  opacity: 1;
  background: none;
  box-shadow: none;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.25;
  text-align: left;
  color: #4d5a61;
  pointer-events: none;
  transition: color 0.18s ease;
}

body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .icon-wrapper:hover .title::before {
  display: none;
}

body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .icon-wrapper:has(input:checked) .title {
  color: #064a25;
}

/* three element types in two source orders, so place them with `order` */
body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .icon-wrapper i,
body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .icon-wrapper svg,
body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .icon-wrapper img {
  order: 3;
  flex: 0 0 auto;
  width: auto;
  height: auto;
  max-height: 24px;
  margin: 0 0 0 auto;
  padding: 0;
  font-size: 23px;
  line-height: 1;
  color: #9aa5ab;
  transition: color 0.18s ease;
}

body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .icon-wrapper:has(input:checked) i {
  color: #064a25;
}

/* venmo: the handshake glyph says nothing, the label carries it */
body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .icon-wrapper.other-icon,
body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .icon-wrapper.other-icon:has(input:checked) {
  width: auto;
  height: auto;
  margin-top: 0;
  margin-left: 0;
  background: #fff;
  border-radius: 12px;
}

body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .icon-wrapper.other-icon:has(input:checked) {
  background: #eef5f0;
}

body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .icon-wrapper.other-icon i.fa-handshake-o {
  display: none;
}

/* daf pay: its svg fills from the tab colour variable, so recolour that */
body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .icon-wrapper.daf-tab {
  display: flex;
  min-height: 52px;
  padding-inline: 14px;
  background: #fff;
  border-radius: 12px;
  --daf-tab-color: #9aa5ab;
}

body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .icon-wrapper.daf-tab:has(input:checked) {
  background: #eef5f0;
  --daf-tab-color: #064a25;
}

body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .icon-wrapper.daf-tab svg {
  width: 46px;
  height: auto;
  max-height: none;
}

body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .icon-wrapper.apple-pay-mark {
  height: auto;
  border: 1px solid #dfe8e2;
}

body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .icon-wrapper.apple-pay-mark:has(input:checked) {
  border-color: #064a25;
}

body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .icon-wrapper.apple-pay-mark img {
  height: 22px;
  max-height: 22px;
}

/* apple pay: webkit sizes an svg with only a viewBox to 0x0 under width/height
   auto, and safari is the only browser that shows this tile */
body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .icon-wrapper.js-apple-pay svg {
  width: 54px;
  height: 22px;
  max-height: none;
}

body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .icon-wrapper:has(input:checked) svg {
  color: #064a25;
}

/* venmo: the template ships no mark, so draw the wordmark from a mask */
body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .icon-wrapper.other-icon:not(.js-apple-pay)::after {
  content: "";
  order: 3;
  flex: 0 0 auto;
  width: 56px;
  height: 11px;
  margin-left: auto;
  background-color: #9aa5ab;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 9.6 24 4.7'%3E%3Cpath d='M21.772 13.119c-.267 0-.381-.251-.38-.655 0-.533.121-1.575.712-1.575.267 0 .357.243.357.598 0 .533-.13 1.632-.689 1.632Zm.502-3.377c-1.677 0-2.405 1.285-2.405 2.658 0 1.042.421 1.874 1.693 1.874 1.717 0 2.438-1.406 2.438-2.763 0-1.025-.462-1.769-1.726-1.769Zm-3.833 0c-.558 0-.964.17-1.393.477-.154-.275-.462-.477-.932-.477-.542 0-.947.219-1.247.437l-.04-.364H13.54l-.688 4.354h1.506l.479-3.053c.129-.065.323-.154.518-.154.145 0 .267.049.267.267 0 .056-.016.145-.024.218l-.429 2.722h1.498l.478-3.053c.138-.073.324-.154.51-.154.146 0 .268.049.268.267 0 .056-.017.145-.025.218l-.429 2.722h1.499l.461-2.908c.025-.153.049-.388.049-.549 0-.582-.267-.97-1.037-.97Zm-6.871 0c-.575 0-.98.219-1.287.421l-.017-.348H8.962l-.689 4.354H9.78l.478-3.053c.13-.065.324-.154.518-.154.147 0 .268.049.268.242 0 .081-.024.227-.032.299l-.422 2.666h1.499l.462-2.908c.024-.153.049-.388.049-.549 0-.582-.268-.97-1.03-.97Zm-5.631 1.834c.041-.485.413-.824.697-.824.162 0 .299.097.299.291 0 .404-.713.533-.996.533Zm.843-1.834c-1.604 0-2.382 1.39-2.382 2.698 0 1.01.478 1.817 1.814 1.817.527 0 1.07-.113 1.418-.282l.186-1.26c-.494.25-.874.347-1.271.347-.365 0-.64-.194-.64-.687.826-.008 2.252-.347 2.252-1.453 0-.687-.494-1.18-1.377-1.18Zm-4.239.267c.089.186.146.412.146.743 0 .606-.429 1.494-.777 2.06l-.373-2.989L0 9.969l.705 4.2h1.757c.77-1.01 1.718-2.448 1.718-3.554 0-.347-.073-.622-.235-.889l-1.402.283Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 9.6 24 4.7'%3E%3Cpath d='M21.772 13.119c-.267 0-.381-.251-.38-.655 0-.533.121-1.575.712-1.575.267 0 .357.243.357.598 0 .533-.13 1.632-.689 1.632Zm.502-3.377c-1.677 0-2.405 1.285-2.405 2.658 0 1.042.421 1.874 1.693 1.874 1.717 0 2.438-1.406 2.438-2.763 0-1.025-.462-1.769-1.726-1.769Zm-3.833 0c-.558 0-.964.17-1.393.477-.154-.275-.462-.477-.932-.477-.542 0-.947.219-1.247.437l-.04-.364H13.54l-.688 4.354h1.506l.479-3.053c.129-.065.323-.154.518-.154.145 0 .267.049.267.267 0 .056-.016.145-.024.218l-.429 2.722h1.498l.478-3.053c.138-.073.324-.154.51-.154.146 0 .268.049.268.267 0 .056-.017.145-.025.218l-.429 2.722h1.499l.461-2.908c.025-.153.049-.388.049-.549 0-.582-.267-.97-1.037-.97Zm-6.871 0c-.575 0-.98.219-1.287.421l-.017-.348H8.962l-.689 4.354H9.78l.478-3.053c.13-.065.324-.154.518-.154.147 0 .268.049.268.242 0 .081-.024.227-.032.299l-.422 2.666h1.499l.462-2.908c.024-.153.049-.388.049-.549 0-.582-.268-.97-1.03-.97Zm-5.631 1.834c.041-.485.413-.824.697-.824.162 0 .299.097.299.291 0 .404-.713.533-.996.533Zm.843-1.834c-1.604 0-2.382 1.39-2.382 2.698 0 1.01.478 1.817 1.814 1.817.527 0 1.07-.113 1.418-.282l.186-1.26c-.494.25-.874.347-1.271.347-.365 0-.64-.194-.64-.687.826-.008 2.252-.347 2.252-1.453 0-.687-.494-1.18-1.377-1.18Zm-4.239.267c.089.186.146.412.146.743 0 .606-.429 1.494-.777 2.06l-.373-2.989L0 9.969l.705 4.2h1.757c.77-1.01 1.718-2.448 1.718-3.554 0-.347-.073-.622-.235-.889l-1.402.283Z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: background-color 0.18s ease;
}

body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .icon-wrapper.other-icon:not(.js-apple-pay):has(input:checked)::after {
  background-color: #064a25;
}

body.cco_body #donate-wrapper #donate main form .content-box .payment-type {
  min-height: 0;
}

body.cco_body #donate-wrapper #donate main form .content-box .payment-type.paypal-wrapper,
body.cco_body #donate-wrapper #donate main form .content-box .payment-type.other-wrapper,
body.cco_body #donate-wrapper #donate main form .content-box .payment-type.daf-wrapper {
  margin: 0 6px 22px;
  padding: 17px 19px;
  background: #fff;
  border: 1px solid #dfe8e2;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: #4d5a61;
}

body.cco_body #donate-wrapper #donate main form .content-box .payment-type.other-wrapper a,
body.cco_body #donate-wrapper #donate main form .content-box .payment-type.paypal-wrapper a {
  color: #064a25;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.cco_body #donate-wrapper #donate main form .content-box .payment-type.daf-wrapper .daf-sponsorship {
  margin-block: 15px 0;
  font-size: 12px;
  color: #8b9aa3;
}

body.cco_body #donate-wrapper #donate main form .content-box .payment-type.credit-card-wrapper {
  margin-top: 4px;
}

/* submit */

body.cco_body #donate-wrapper #donate main form .content-box.full-row.screen-2 {
  width: 100%;
  max-width: 100%;
  padding: 10px 6px 0;
  text-align: center;
}

body.cco_body #donate-wrapper #donate main .donate-content .js-recaptcha-wrapper {
  display: flex;
  justify-content: center;
  margin-block-end: 24px;
}

body.cco_body #donate-wrapper #donate button.donate-button {
  min-width: 280px;
  margin: 0 auto;
  padding: 19px 54px;
  background: #0B9D4A;
  border: none;
  border-radius: 999px;
  box-shadow: none;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: #fff;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

body.cco_body #donate-wrapper #donate button.donate-button:hover {
  background: #064a25;
  border: none;
  box-shadow: none;
  color: #fff;
  transform: translateY(-1px);
}

body.cco_body #donate-wrapper #donate .footnotes {
  max-width: 560px;
  margin: 34px auto 0;
  padding-top: 26px;
  border-top: 1px solid #dfe8e2;
  font-size: 14px;
  line-height: 1.6;
  color: #5c6560;
}

body.cco_body #donate-wrapper #donate .footnotes a,
body.cco_body #donate-wrapper #donate .footnotes .phone-number a {
  color: #064a25;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.cco_body #donate-wrapper #donate .footnotes .note {
  margin-top: 13px;
  font-size: 13px;
  font-style: normal;
  color: #8b9aa3;
}

body.cco_body #donate-wrapper #donate .footnotes .note i {
  color: #0B9D4A;
}

@media only screen and (max-width: 1200px) {
  body.cco_body #donate-wrapper #donate main.donate-content {
    padding: 60px 42px 70px;
  }

  body.cco_body #donate-wrapper #donate.screen-2 main.donate-content {
    padding: 54px 36px 74px;
  }
}

@media only screen and (max-width: 1000px) {
  /* the template hides the photo below 1001px. bring it back on screen 1
     only, and beat its own `min-height: 25vh` with a real height */
  body.cco_body #donate-wrapper #donate.screen-1 aside.image-bg {
    display: block;
    flex: 0 0 auto;
    max-width: none;
    min-height: 0;
    height: 230px;
    opacity: 1;
  }

  body.cco_body #donate-wrapper #donate.screen-2 aside.image-bg {
    display: none;
  }

  body.cco_body #donate-wrapper #donate main.donate-content,
  body.cco_body #donate-wrapper #donate.screen-2 main.donate-content {
    max-width: 100%;
    padding: 48px 26px 62px;
  }

  body.cco_body #donate-wrapper #donate main form .content-box.screen-2 {
    width: 100%;
    max-width: 100%;
  }

  body.cco_body #donate-wrapper #donate.screen-2 main form .content-box.full-row.amount-wrapper {
    padding-inline: 0;
  }

  body.cco_body #donate-wrapper #donate.screen-2 main form .amount-wrapper > .row {
    padding-bottom: 28px;
  }

  body.cco_body #donate-wrapper #donate.screen-2 main form .content-box.full-row.amount-wrapper {
    margin-bottom: 28px;
  }

  body.cco_body #donate-wrapper #donate main form .content-box.intro-wrapper h1 {
    font-size: 32px;
  }
}

@media only screen and (max-width: 700px) {
  body.cco_body #donate-wrapper #donate main.donate-content,
  body.cco_body #donate-wrapper #donate.screen-2 main.donate-content {
    padding: 38px 20px 52px;
  }

  body.cco_body #donate-wrapper #donate main form .content-box.intro-wrapper h1 {
    font-size: 28px;
  }

  body.cco_body #donate-wrapper #donate main form .content-box.intro-wrapper p.description {
    font-size: 16px;
  }

  body.cco_body #donate-wrapper #donate main form #frequency-toggle.frequency-toggle {
    width: 100%;
  }

  body.cco_body #donate-wrapper #donate main form .amounts button.js-amounts-button {
    width: calc(50% - 5px);
    padding: 16px 8px;
    font-size: 18px;
  }

  body.cco_body #donate-wrapper #donate.screen-2 main form .amount-wrapper > .row {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .icon-wrapper {
    flex-basis: 100%;
    max-width: 100%;
  }

  body.cco_body #donate-wrapper #donate button.donate-button {
    width: 100%;
    min-width: 0;
    padding: 18px 24px;
  }
}

@media only screen and (max-width: 560px) {
  /* donor and payment boxes only. wrapping the amount row would turn its
     column direction into a second column */
  body.cco_body #donate-wrapper #donate main form .content-box.screen-2 .row {
    flex-wrap: wrap;
    row-gap: 26px;
    margin-bottom: 26px;
  }

  body.cco_body #donate-wrapper #donate main form .content-box.screen-2 .row .col,
  body.cco_body #donate-wrapper #donate main form .content-box.screen-2 .row .col.flex-1,
  body.cco_body #donate-wrapper #donate main form .content-box.screen-2 .row .col.flex-2 {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 0;
  }

  /* the field columns lose their 6px inset here, so the blocks above have to
     drop theirs too or they sit 6px right of every field */
  body.cco_body #donate-wrapper #donate main form .content-box.intro-wrapper,
  body.cco_body #donate-wrapper #donate main form .content-box.amount-wrapper,
  body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with,
  body.cco_body #donate-wrapper #donate main form .content-box.full-row.screen-2 {
    padding-inline: 0;
  }

  body.cco_body #donate-wrapper #donate main form .content-box .payment-type.paypal-wrapper,
  body.cco_body #donate-wrapper #donate main form .content-box .payment-type.other-wrapper,
  body.cco_body #donate-wrapper #donate main form .content-box .payment-type.daf-wrapper {
    margin-inline: 0;
  }
}

/* the post-donation confirmation runs on the same template */

body.cco_body div#confirm-wrapper::after {
  display: none;
}

body.cco_body .body_wrapper.co_body > .g960:has(#confirm-wrapper) {
  padding-block: 0 !important;
}

body.cco_body #confirm-wrapper {
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  background: #f5f8f6;
}

body.cco_body #confirm-wrapper * {
  font-family: "effra", system-ui, sans-serif;
}

body.cco_body #confirm-wrapper #confirm {
  max-width: 660px;
  min-height: 0;
  margin: 0 auto;
  padding: 84px 40px 92px;
  background: transparent;
  box-shadow: none;
}

body.cco_body #confirm-wrapper #confirm h1 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 700;
  color: #064a25;
}

body.cco_body #confirm-wrapper #confirm .message {
  font-size: 18px;
  line-height: 1.5;
  color: #5c6560;
}

body.cco_body #confirm-wrapper #confirm main .receipt {
  margin: 36px auto 28px;
  padding: 4px 20px;
  background: #fff;
  border: 1px solid #dfe8e2;
  border-radius: 14px;
  font-size: 16px;
}

body.cco_body #confirm-wrapper #confirm main .receipt .row {
  padding: 13px 0;
  border-bottom: 1px solid #f0f4f1;
}

body.cco_body #confirm-wrapper #confirm main .receipt .row:last-child {
  border-bottom: none;
}

body.cco_body #confirm-wrapper #confirm main .receipt label {
  font-weight: 400;
  color: #5c6560;
}

body.cco_body #confirm-wrapper #confirm main .receipt .info {
  color: #343333;
}

body.cco_body #confirm-wrapper #confirm .js-print-link {
  color: #064a25;
  text-underline-offset: 2px;
}

body.cco_body #confirm-wrapper button {
  padding: 16px 40px;
  background: #0B9D4A;
  border: none;
  border-radius: 999px;
  box-shadow: none;
  font-size: 17px;
  color: #fff;
}

body.cco_body #confirm-wrapper button:hover {
  background: #064a25;
  border: none;
  box-shadow: none;
  color: #fff;
}

@media only screen and (max-width: 700px) {
  body.cco_body #confirm-wrapper #confirm {
    padding: 48px 20px 60px;
  }

  body.cco_body #confirm-wrapper #confirm h1 {
    font-size: 27px;
  }
}

/* ----- launch fixes (2026-11-15) ----- */
/* breadcrumbs line up with the left-aligned title */
body.jm-inner #BodyContainer .article-header .breadcrumbs, body.jm-inner #BodyContainer .article-header .breadcrumbs * { text-align: left !important; justify-content: flex-start !important; margin-left: 0 !important; }

/* ChabadOne's form-redesign theme (loaded in the header code) takes its colours and face from these */
html:root {
  --font-form-main: "effra", system-ui, sans-serif;
  --primary-form-color: #064a25;
  --contrast-form-color: #064a25;
  --accent-form-color: #0B9D4A;
  --accent-form-light: #eef5f0;
  --accent-form-medium: #dcebe0;
  --border-form-color: #dfe8e2;
  --text-form-dark: #111111;
  --text-form-muted: #5c6560;
}

/* donate + confirmation template: the bare `nav { position: fixed; width: 100%; box-shadow }` rule hits the skin header */
body:is(:has(#donate-wrapper), :has(#confirm-wrapper)) :is(.jm-top, .jm-drawer, .jm-bottom) nav { position: static; width: auto; box-shadow: none; z-index: auto; }
/* the template's split runs the full width, so release the inner-page column and rail */
body.jm-inner:is(:has(#donate-wrapper), :has(#confirm-wrapper)) #co_ads_container,
body.jm-inner:is(:has(#donate-wrapper), :has(#confirm-wrapper)) .page-tools-sidebar { display: none !important; }
body.jm-inner:is(:has(#donate-wrapper), :has(#confirm-wrapper)) #co_body_container,
body.jm-inner:is(:has(#donate-wrapper), :has(#confirm-wrapper)) .body_wrapper.co_body > .g960 { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; float: none !important; }
body.jm-inner:is(:has(#donate-wrapper), :has(#confirm-wrapper)) #donate-wrapper,
body.jm-inner:is(:has(#donate-wrapper), :has(#confirm-wrapper)) #confirm-wrapper { width: 100%; max-width: none; margin-inline: 0; }
body.jm-inner:is(:has(#donate-wrapper), :has(#confirm-wrapper)) .jm-bottom { margin-top: 0; }
body.jm-inner:is(:has(#donate-wrapper), :has(#confirm-wrapper)) .jm-top::before { display: none; }

/* amounts with the Rabbi's blessing lines (added by script.js): one row each, amount then its line */
body.cco_body #donate-wrapper #donate main form .amounts.jm-tiers { display: flex; flex-direction: column; gap: 8px; }
body.cco_body #donate-wrapper #donate main form .amounts.jm-tiers button.js-amounts-button {
  width: 100%; display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; column-gap: 18px;
  padding: 14px 18px; text-align: left; font-size: 19px; font-weight: 700; line-height: 1.2;
}
body.cco_body #donate-wrapper #donate main form .amounts.jm-tiers button.js-amounts-button .jm-tier {
  font-size: 15px; font-weight: 400; line-height: 1.4; letter-spacing: 0; color: #5c6560;
}
body.cco_body #donate-wrapper #donate main form .amounts.jm-tiers button.js-amounts-button.selected .jm-tier { color: rgba(255, 255, 255, .85); }
@media only screen and (max-width: 520px) {
  body.cco_body #donate-wrapper #donate main form .amounts.jm-tiers button.js-amounts-button { grid-template-columns: 1fr; row-gap: 4px; padding: 14px 16px; }
}
/* screen 2 keeps the chosen amount short: the lines belong to the choosing step */
body.cco_body #donate-wrapper #donate.screen-2 main form .amounts.jm-tiers button.js-amounts-button .jm-tier { display: none; }

/* Jamaica's "other" payment option is Check/OJC, not Venmo: no wordmark (the port draws Venmo's here) */
body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .icon-wrapper.other-icon:not(.js-apple-pay)::after,
body.cco_body #donate-wrapper #donate main form .content-box .row.pay-with .icon-wrapper.other-icon:not(.js-apple-pay):has(input:checked)::after { display: none; }

/* ----- section landing pages: the theme's subpage index (.article_index) as the homepage's visit tiles ----- */
/* the theme lays a green title over each thumbnail (or over nothing); every tile is now the same: label + arrow on a
   mist tile, the gold flag cut growing in on hover like the homepage's Planning a Visit tiles. Thumbnails are hidden
   so tiles with and without a photo match. */
body.jm-inner #BodyContainer .article_index.co_index { display: grid !important; grid-template-columns: 1fr; gap: 10px; width: auto !important; margin: 8px 0 0 !important; }
@media (min-width: 600px) { body.jm-inner #BodyContainer .article_index.co_index { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { body.jm-inner #BodyContainer .article_index.co_index { grid-template-columns: repeat(3, 1fr); } }
body.jm-inner #BodyContainer .article_index.co_index > .row { display: contents !important; }
body.jm-inner #BodyContainer .article_index.co_index .item { width: auto !important; margin: 0 !important; padding: 0 !important; float: none !important; height: auto !important; }
body.jm-inner #BodyContainer .article_index.co_index .item_contents { position: relative !important; height: 100% !important; margin: 0 !important; padding: 0 !important; }
body.jm-inner #BodyContainer .article_index.co_index .synopsis_icon { display: none !important; }
body.jm-inner #BodyContainer .article_index.co_index .inner { position: static !important; height: 100% !important; margin: 0 !important; padding: 0 !important; }
body.jm-inner #BodyContainer .article_index.co_index .title { position: static !important; height: 100% !important; width: auto !important; margin: 0 !important; padding: 0 !important; }
body.jm-inner #BodyContainer .article_index.co_index .title a {
  position: relative !important; inset: auto !important; overflow: hidden; height: 100% !important; width: auto !important; min-height: 72px; box-sizing: border-box;
  display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 14px;
  padding: 18px 20px !important; background: #f2f7f3 !important; border: 0 !important; border-radius: 4px; box-shadow: none !important;
  font-size: 18px !important; font-weight: 700 !important; line-height: 1.25 !important; text-align: left !important; color: #064a25 !important; text-decoration: none !important; text-shadow: none !important;
  transition: background-color .25s, transform .3s cubic-bezier(.2, .7, .2, 1);
}
body.jm-inner #BodyContainer .article_index.co_index .title a::before { display: none !important; }
body.jm-inner #BodyContainer .article_index.co_index .title a::after {
  content: "\2192"; position: static; width: auto; height: auto; background: none; clip-path: none; transform: none;
  font-size: 18px; color: #0B9D4A; transition: transform .25s;
}
body.jm-inner #BodyContainer .article_index.co_index .title a:hover { background: #fff !important; transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(6, 74, 37, .35) !important; }
body.jm-inner #BodyContainer .article_index.co_index .title a:hover::after { transform: translateX(3px); }
body.jm-inner #BodyContainer .article_index.co_index .item_contents::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: #F5D213; pointer-events: none;
  clip-path: polygon(0 0, 100% 60%, 100% 100%, 0 100%); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}
body.jm-inner #BodyContainer .article_index.co_index .item_contents:hover::after { transform: scaleX(1); }
body.jm-inner #BodyContainer .article_index.co_index :is(.subtitle, .synopsis):empty { display: none !important; }

/* donate: the split tucks up under the header's gold stripe (the homepage bands' device), so neither the photo nor
   the panel leaves a white wedge below the stripe's slanted edge */
body.jm-inner:is(:has(#donate-wrapper), :has(#confirm-wrapper)) .jm-top { background: transparent; }
body.jm-inner:is(:has(#donate-wrapper), :has(#confirm-wrapper)) .jm-top .b-head { background: #fff; }
body.jm-inner:is(:has(#donate-wrapper), :has(#confirm-wrapper)) .jm-top::before { display: block; background: #fff; clip-path: polygon(0 0, 100% 0, 100% 45%); }
body.jm-inner:is(:has(#donate-wrapper), :has(#confirm-wrapper)) :is(#donate-wrapper, #confirm-wrapper) { margin-top: -16px !important; }
/* the theme's clearfix pseudo-elements would each take a grid cell */
body.jm-inner #BodyContainer .article_index.co_index::before,
body.jm-inner #BodyContainer .article_index.co_index::after,
body.jm-inner #BodyContainer .article_index.co_index > .row::before,
body.jm-inner #BodyContainer .article_index.co_index > .row::after,
body.jm-inner #BodyContainer .article_index.co_index .item_contents::before { display: none !important; content: none !important; }

/* ----- contact page (/tools/feedback): form + a deep green contact card; no rail (it prints the street address and a
   map pin to the Chabad House, which must never show) ----- */
body.jm-inner:has(form[name="feedback"]) #co_ads_container,
body.jm-inner:has(form[name="feedback"]) .page-tools-sidebar,
body.jm-inner:has(form[name="feedback"]) #MosadInformation { display: none !important; }
body.jm-inner:has(form[name="feedback"]) #BodyContainer .body_wrapper.co_body { display: block; max-width: 1240px; margin: 0 auto !important; padding: 0 20px; box-sizing: border-box; width: auto !important; }
@media (min-width: 900px) { body.jm-inner:has(form[name="feedback"]) #BodyContainer .body_wrapper.co_body { padding: 0 48px; } }
body.jm-inner:has(form[name="feedback"]) #co_body_container,
body.jm-inner:has(form[name="feedback"]) #co_content_container { float: none !important; width: 100% !important; max-width: none !important; margin: 0 !important; border: 0 !important; }

.jm-contact { display: grid; gap: 28px; margin: 8px 0 24px; }
.jm-contact-card { order: -1; }
@media (min-width: 900px) {
  .jm-contact { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
  .jm-contact-card { order: 0; position: sticky; top: 24px; }
}
.jm-contact h2 { margin: 0 0 18px; font-family: "effra", system-ui, sans-serif; font-size: 28px; font-weight: 700; line-height: 1.1; color: #064a25; text-transform: none; letter-spacing: -.01em; }

/* the card: the homepage Shabbat card's device */
.jm-contact-card { background: #064a25; color: #fff; border-radius: 4px; padding: 26px 24px 24px; position: relative; overflow: hidden; }
.jm-contact-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: #F5D213; clip-path: polygon(0 0, 100% 0, 100% 40%, 0 100%); }
.jm-contact-card h2 { color: #fff; font-size: 26px; }
.jm-contact-card h3 { margin: 0 0 6px; font-family: "effra", system-ui, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #F5D213; }
.jm-contact-card dl { margin: 0 0 22px; display: grid; gap: 12px; }
.jm-contact-card dl > div { display: grid; gap: 2px; }
.jm-contact-card dt { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #F5D213; }
.jm-contact-card dd { margin: 0; font-size: 20px; font-weight: 700; }
.jm-contact-card p { margin: 0 0 10px; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .9) !important; }
.jm-contact-card a { color: #fff !important; text-decoration: underline; text-decoration-color: rgba(245, 210, 19, .7); text-underline-offset: 3px; }
.jm-contact-card a:hover { text-decoration-color: #F5D213; }
.jm-contact-card .jm-cc-block { padding-top: 18px; margin-top: 4px; border-top: 1px solid rgba(255, 255, 255, .18); }

/* the form: the same field system as the form-redesign theme (white, hairline, 8px, Effra) */
body.jm-inner form[name="feedback"] label { display: block; margin: 16px 0 6px; padding: 0; font-family: "effra", system-ui, sans-serif; font-size: 15px; font-weight: 700; color: #111 !important; }
body.jm-inner form[name="feedback"] :is(input[type="text"], input[type="email"], textarea) {
  width: 100% !important; box-sizing: border-box; height: 50px; padding: 0 14px; margin: 0;
  font-family: "effra", system-ui, sans-serif; font-size: 16px; color: #111;
  background: #fff; border: 1px solid #dfe8e2; border-radius: 8px; box-shadow: none; outline: 0;
}
body.jm-inner form[name="feedback"] textarea { height: 180px; padding: 12px 14px; resize: vertical; }
body.jm-inner form[name="feedback"] :is(input, textarea):focus { border-color: #0B9D4A; box-shadow: 0 0 0 3px rgba(11, 157, 74, .15); }
body.jm-inner form[name="feedback"] ::placeholder { color: #8a948e; opacity: 1; }
body.jm-inner form[name="feedback"] input[type="checkbox"] { accent-color: #0B9D4A; width: 18px; height: 18px; vertical-align: middle; }
body.jm-inner form[name="feedback"] input[type="checkbox"] + label,
body.jm-inner form[name="feedback"] label:has(input[type="checkbox"]) { display: inline; margin: 0 0 0 6px; font-size: 14px; font-weight: 400; color: #5c6560 !important; }
body.jm-inner form[name="feedback"] button[type="submit"] {
  margin-top: 18px; min-height: 52px; padding: 0 30px; border: 0; border-radius: 10px; cursor: pointer;
  background: #064a25 !important; color: #fff !important; font-family: "effra", system-ui, sans-serif; font-size: 17px; font-weight: 700; text-transform: none; letter-spacing: 0; box-shadow: none; text-shadow: none;
  transition: background-color .2s, transform .2s;
}
body.jm-inner form[name="feedback"] button[type="submit"]:hover { background: #0B9D4A !important; transform: translateY(-1px); }
/* the theme colours content headings; on the green card they need their own colours back */
body.jm-inner #BodyContainer .jm-contact-card h2 { color: #fff !important; }
body.jm-inner #BodyContainer .jm-contact-card h3 { color: #F5D213 !important; display: block !important; }
body.jm-inner #BodyContainer .jm-contact { margin-top: 40px; }
body.jm-inner #BodyContainer form[name="feedback"] label:has(input[type="checkbox"]),
body.jm-inner #BodyContainer form[name="feedback"] input[type="checkbox"] ~ label { font-weight: 400 !important; font-size: 14px !important; color: #5c6560 !important; }
body.jm-inner #BodyContainer .article_index.co_index { margin-top: 40px !important; margin-bottom: 24px !important; }
/* two locations: weekday Hot Spot, Shabbat shared on reservation */
.jm-contact-card .jm-cc-places { display: grid; gap: 16px; }
.jm-contact-card .jm-cc-places h3 { margin-bottom: 0; }
.jm-contact-card .jm-cc-place { background: rgba(255, 255, 255, .07); border-radius: 4px; padding: 14px 16px 6px; }
.jm-contact-card .jm-cc-when { display: inline-block; margin-bottom: 6px; padding: 3px 9px; border-radius: 3px; background: #F5D213; color: #111; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.jm-contact-card .jm-cc-place b { display: block; font-size: 18px; margin-bottom: 2px; }

/* contact card, toned down (Mendel: "a bit garish … tone down a drop"): quiet hairline underlines, soft labels
   instead of gold pills, no boxes inside the card, values at a lighter weight */
body.jm-inner #BodyContainer .jm-contact-card a { background-image: none !important; padding-bottom: 0 !important; text-decoration: underline !important; text-decoration-thickness: 1px !important; text-decoration-color: rgba(255, 255, 255, .35) !important; text-underline-offset: 4px; font-weight: 500; }
body.jm-inner #BodyContainer .jm-contact-card a:hover { text-decoration-color: rgba(255, 255, 255, .9) !important; }
body.jm-inner #BodyContainer .jm-contact-card::before { height: 4px; }
body.jm-inner #BodyContainer .jm-contact-card h2 { font-size: 24px; margin-bottom: 20px; }
body.jm-inner #BodyContainer .jm-contact-card :is(dt, h3, .jm-cc-when) { color: rgba(255, 255, 255, .6) !important; font-size: 12px !important; font-weight: 700 !important; letter-spacing: .12em; text-transform: uppercase; }
body.jm-inner #BodyContainer .jm-contact-card dd { font-size: 18px; font-weight: 500; }
body.jm-inner #BodyContainer .jm-contact-card .jm-cc-places { gap: 0; }
body.jm-inner #BodyContainer .jm-contact-card .jm-cc-places h3 { margin-bottom: 4px; }
body.jm-inner #BodyContainer .jm-contact-card .jm-cc-place { background: none; border-radius: 0; padding: 12px 0 2px; }
body.jm-inner #BodyContainer .jm-contact-card .jm-cc-place + .jm-cc-place { border-top: 1px solid rgba(255, 255, 255, .12); }
body.jm-inner #BodyContainer .jm-contact-card .jm-cc-when { display: block; margin-bottom: 4px; padding: 0; background: none; color: #F5D213 !important; letter-spacing: .1em; }
body.jm-inner #BodyContainer .jm-contact-card .jm-cc-place b { font-size: 17px; font-weight: 700; }
body.jm-inner #BodyContainer .jm-contact-card p { font-size: 15px; color: rgba(255, 255, 255, .78) !important; }
body.jm-inner #BodyContainer .jm-contact-card p b { color: #fff; font-weight: 600; }
body.jm-inner #BodyContainer form[name="feedback"] label[for="optin1"] { display: inline; margin: 0 0 0 6px; font-weight: 400 !important; font-size: 14px !important; color: #5c6560 !important; }

/* ----- tone-down (Mendel 2026-11-15: "a bit garish … tone down a drop", site-wide) -----
   display type 900 -> 700 except the hero headline; flag stripes 46 -> 34px; link bars 3 -> 2px (edited in place
   above). Plus: the theme's Muli on b / strong / dt etc. that the Effra reset missed. */
body.jm-inner #BodyContainer :is(b, strong, i, em, u, small, dl, dt, dd, th, sup, sub, cite, figcaption, legend, option, blockquote, label) { font-family: "effra", system-ui, sans-serif; }
body.jm-inner #BodyContainer .article-header .article-header__title { letter-spacing: -.01em; }
