/* Partners (page-partners-template.php), 2026-10-05.
 * Loads on top of cbco-location.css + cbco-trade.css: hero, facts strip, sections, buttons, the paired
 * photo rows and the Gravity Forms band are theirs; this file adds the logo wall, the Happening now
 * tiles, the partner-row details and form 7's colour fix. */

.cbco-pt img.cbco-loc__hero-img { object-position: 50% 45%; }

/* ---------- logo wall ---------- */
.cbco-loc ul.cbco-pt__logos { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 18px 28px; align-items: center; }
.cbco-pt__logos a { display: flex; align-items: center; justify-content: center; height: 96px; padding: 6px; border-radius: 10px; transition: background .2s ease, transform .2s ease; }
.cbco-pt__logos a:hover { background: var(--lp-paper); transform: translateY(-2px); }
.cbco-pt__logos img, .cbco-loc .cbco-pt__logos img { max-width: 100%; max-height: 84px; width: auto; height: auto; object-fit: contain; }
.cbco-loc p.cbco-pt__intro { max-width: 860px; margin: 36px auto 0; padding: 28px 0 0; border-top: 1px solid var(--lp-line); text-align: center; font-size: 18px; line-height: 1.6; color: var(--lp-ink); }
@media (max-width: 1000px) { .cbco-loc ul.cbco-pt__logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cbco-loc ul.cbco-pt__logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; } .cbco-pt__logos a { height: 80px; } .cbco-pt__logos img, .cbco-loc .cbco-pt__logos img { max-height: 68px; } .cbco-loc p.cbco-pt__intro { font-size: 16px; text-align: left; } }

/* ---------- Happening now tiles ---------- */
.cbco-pt__now { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cbco-loc a.cbco-pt__tile { position: relative; display: flex; align-items: flex-end; min-height: 420px; border-radius: 14px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.cbco-pt__tile img, .cbco-loc .cbco-pt__tile img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: -2; transition: transform .4s ease; }
.cbco-pt__tile-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(1, 15, 82, 0) 30%, rgba(1, 15, 82, .88) 100%); }
.cbco-loc a.cbco-pt__tile:hover img { transform: scale(1.04); }
.cbco-pt__tile-txt { display: flex; flex-direction: column; gap: 8px; padding: 26px 28px; }
.cbco-pt__tile-txt b { font-family: 'Oswald', Arial, sans-serif; text-transform: uppercase; font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.05; }
.cbco-pt__tile-txt small { font-size: 15px; line-height: 1.45; color: var(--lp-on-dark-text); max-width: 46ch; }
.cbco-pt__tile-go { margin-top: 6px; font-family: 'Oswald', Arial, sans-serif; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; font-weight: 500; color: var(--lp-on-dark-accent); }
@media (max-width: 760px) { .cbco-pt__now { grid-template-columns: 1fr; gap: 14px; } .cbco-loc a.cbco-pt__tile { min-height: 320px; } .cbco-pt__tile-txt { padding: 20px; }
	/* on a phone the text covers half the tile, so the navy wash starts higher and goes deeper (2026-10-05) */
	.cbco-pt__tile-shade { background: linear-gradient(180deg, rgba(1, 15, 82, 0) 10%, rgba(1, 15, 82, .72) 45%, rgba(1, 15, 82, .94) 100%); } }

/* ---------- partner rows (paired rows from cbco-location.css) ---------- */
.cbco-pt__row { scroll-margin-top: 100px; }
.cbco-loc .cbco-pt__row + .cbco-pt__row { margin-top: clamp(40px, 6vw, 72px); }
.cbco-pt__row .cbco-loc__pair-ph { min-height: 420px; }
.cbco-pt__row .cbco-loc__pair-ph img, .cbco-loc .cbco-pt__row .cbco-loc__pair-ph img { object-position: center 50%; }
.cbco-loc #steeler-nation .cbco-loc__pair-ph img { object-position: center 78%; } /* 2210: the Monongahazy can sits low in the frame */
.cbco-loc #allegheny-cleanways .cbco-pt__logo img { max-height: 120px; } /* 1534 has wide empty margins */
.cbco-loc .cbco-pt__logos a[href="#allegheny-cleanways"] img { max-height: none; width: 100%; }
.cbco-loc .cbco-pt__logos a[href="#allegheny-cleanways"] img, .cbco-loc #allegheny-cleanways .cbco-pt__logo img { mix-blend-mode: multiply; } /* drops the logo file's off-white box */
.cbco-pt__logo { display: block; margin-bottom: 18px; }
.cbco-pt__logo img, .cbco-loc .cbco-pt__logo img { display: block; max-height: 72px; max-width: 200px; width: auto; height: auto; object-fit: contain; }
.cbco-loc .cbco-pt__row h3 { margin: 0 0 12px; padding: 0; font-family: 'Oswald', Arial, sans-serif; text-transform: uppercase; font-weight: 700; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.05; color: var(--lp-navy); }
.cbco-loc .cbco-pt__row p { font-size: 16.5px; line-height: 1.6; color: var(--lp-ink); }
.cbco-pt__row .cbco-loc__acts { margin-top: 20px; }
@media (max-width: 900px) { .cbco-pt__row .cbco-loc__pair-ph { min-height: 0; } .cbco-pt__row .cbco-loc__pair-ph { order: -1; } }

/* ---------- the form band: cream, not navy — the site-wide newsletter band (navy) follows straight after ---------- */
.cbco-loc .cbco-pt__form-sec { background: var(--lp-cream); border-top: 1px solid var(--lp-line); }
.cbco-pt__form-sec h2 { color: var(--lp-ink); }
.cbco-pt__form-sec .cbco-loc__eyebrow { color: var(--lp-ember-deep); }
.cbco-loc .cbco-pt__form-sec .cbco-trade__form-copy p { color: var(--lp-ink); }
.cbco-loc .cbco-pt__form-sec ul.cbco-trade__direct { border-top-color: var(--lp-line); }
.cbco-pt__form-sec .cbco-trade__direct b { color: var(--lp-ember-deep); }
.cbco-loc .cbco-pt__form-sec .cbco-trade__direct a { color: var(--lp-navy); }
.cbco-loc .cbco-pt__form-sec .cbco-trade__direct a:hover { color: var(--lp-ember-deep); }
.cbco-pt__form-sec .cbco-trade__form { border-top: 6px solid var(--lp-navy); box-shadow: 0 18px 44px rgba(1, 32, 127, .12); }

/* Form 7 carries per-form plugin CSS (Styles & Layouts, `body #gform_wrapper_7 … !important`) for the
   old photo background; inside the white card it needs the ink colours back (same fix as form 5). */
body .cbco-trade #gform_wrapper_7 .gform_body .gform_fields .gfield .gfield_label { font-family: 'Oswald', Arial, sans-serif !important; text-transform: uppercase; letter-spacing: .08em !important; font-size: 13px !important; font-weight: 500 !important; color: var(--lp-navy) !important; }
body .cbco-trade #gform_wrapper_7 .gform_body .gform_fields .gfield .gfield_label .gfield_required { color: var(--lp-ember-deep) !important; font-size: 11px !important; }
body .cbco-trade #gform_wrapper_7 .gform_body .gform_fields .gfield .gfield_description { color: var(--lp-muted) !important; font-size: 13px !important; }
body .cbco-trade #gform_wrapper_7 .gform_body .gform_fields .gfield .ginput_complex label,
body .cbco-trade #gform_wrapper_7 .gform_body .gform_fields .gfield .name_first label,
body .cbco-trade #gform_wrapper_7 .gform_body .gform_fields .gfield .name_last label { color: var(--lp-muted) !important; font-size: 12px !important; font-family: 'Open Sans', Arial, sans-serif; }
body .cbco-trade #gform_wrapper_7 .gform_body .gform_fields .gfield .ginput_complex .ginput_left label,
body .cbco-trade #gform_wrapper_7 .gform_body .gform_fields .gfield .ginput_complex .ginput_right label,
body .cbco-trade #gform_wrapper_7 .gform_body .gform_fields .gfield .ginput_container_email label { color: var(--lp-muted) !important; font-size: 12px !important; font-family: 'Open Sans', Arial, sans-serif; }
body .cbco-trade #gform_wrapper_7 .gform_body .gform_fields { row-gap: 22px !important; }
body .cbco-trade #gform_wrapper_7 .gform_body .gform_fields .gfield { margin-top: 0 !important; margin-bottom: 0 !important; }
body .cbco-trade #gform_wrapper_7 .gform_body input, body .cbco-trade #gform_wrapper_7 .gform_body textarea { color: var(--lp-ink) !important; background: #fff !important; }

@media (prefers-reduced-motion: reduce) {
	.cbco-pt__logos a, .cbco-pt__tile img { transition: none; }
	.cbco-pt__logos a:hover, .cbco-loc a.cbco-pt__tile:hover img { transform: none; }
}
