/* Partner Corner — only what Kadence has no setting for. Colours come from Kadence's palette. */

/* OG YouTube Feeds player: match the design via its own custom properties (no rule overrides). */
.ogyt {
	--ogyt-radius: 6px;
	--ogyt-line: var(--global-palette7);
	--ogyt-hover: var(--global-palette8);
	--ogyt-active: var(--global-palette8);
}
.ogyt .ogyt-row-title {
	font-family: var(--global-heading-font-family);
	font-size: 15px;
	line-height: 1.4;
	color: var(--global-palette3);
}
.ogyt .ogyt-list .ogyt-row.is-active .ogyt-row-title {
	color: var(--global-palette1);
}

/* Kadence's content styles (.single-content p, blockquote, dd…) are more specific than single classes,
   so component text is reset inside each block's own wrapper first. */
.pcc-updates p, .pcc-studies p, .pcc-testimonies p, .pcc-study .pcc-study__header p, .pcc-study .pcc-study__aside p,
.pcc-studies dl, .pcc-studies dd, .pcc-study dl, .pcc-study dd, .pcc-testimonies figure { margin: 0; }
.pcc-testimonies .pcc-quote blockquote { margin: 0 0 16px; padding: 0; border: 0; font-size: 17px; line-height: 1.7; font-style: normal; color: var(--global-palette3); }
.pcc-testimonies .pcc-vcard__who { margin-top: 2px; }
.pcc-studies .pcc-facts { margin-top: 8px; }
.pcc-studies .pcc-facts dd { margin-top: 2px; }
.pcc-study .pcc-details { margin-top: 6px; }
.pcc-study .pcc-study__title { margin-top: 0; }

/* ── Shared bits ───────────────────────────────────────────────────────────────────────────── */
.pcc-eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--global-palette5); }
.pcc-eyebrow.is-accent { color: var(--global-palette1); }
.pcc-pill { display: inline-block; background: var(--global-palette12); color: var(--global-palette1); border-radius: 90px; padding: 3px 12px; font-size: 12px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; line-height: 1.5; }
.pcc-btn-outline { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border: 1px solid var(--global-palette1); border-radius: 6px; background: var(--global-palette9); color: var(--global-palette1); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.pcc-btn-outline:hover, .pcc-btn-outline:focus { background: var(--global-palette1); color: var(--global-palette9); }

/* ── Updates panel (Home) ──────────────────────────────────────────────────────────────────── */
.pcc-updates { display: flex; flex-direction: column; background: var(--global-palette9); border: 1px solid var(--global-palette7); border-radius: 6px; overflow: hidden; height: 100%; }
.pcc-updates__head { background: var(--global-palette12); padding: 14px 20px; }
.pcc-updates__title { margin: 0; font-size: 18px; line-height: 1.3; color: var(--global-palette3); letter-spacing: 0; }
.pcc-update { padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; border-bottom: 1px solid var(--global-palette7); }
.pcc-update:last-child { border-bottom: 0; }
.pcc-update__title { margin: 0; font-family: var(--global-heading-font-family); font-weight: 600; font-size: 16px; line-height: 1.4; color: var(--global-palette3); }
.pcc-update__text { margin: 0; font-size: 14px; line-height: 1.55; }
.pcc-update__link { font-size: 14px; font-weight: 600; }
.pcc-update__meta { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 13px; color: var(--global-palette5); }
.pcc-updates__empty { padding: 16px 20px; margin: 0; }

/* ── Studies list ─────────────────────────────────────────────────────────────────────────── */
.pcc-studies { display: flex; flex-direction: column; gap: 20px; }
.pcc-study-card { display: flex; flex-wrap: wrap; gap: 28px 36px; align-items: flex-start; background: var(--global-palette8); border: 1px solid var(--global-palette7); border-radius: 6px; padding: 28px; }
.pcc-study-card__media { flex: 0 1 260px; aspect-ratio: 3 / 2; border-radius: 4px; overflow: hidden; }
.pcc-study-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pcc-study-card__body { flex: 999 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.pcc-study-card__titlebar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.pcc-study-card__title { margin: 0; }
.pcc-study-card__text { margin: 0; font-size: 16px; line-height: 1.65; }
.pcc-facts { margin: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px 24px; }
.pcc-facts dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--global-palette5); }
.pcc-facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; color: var(--global-palette3); }

/* ── Single study ─────────────────────────────────────────────────────────────────────────── */
.pcc-study { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start; padding: 56px 0 96px; }
.pcc-study__header { flex: 1 1 100%; }
.pcc-study__title { margin: 0; }
.pcc-study__aside { flex: 1 1 240px; max-width: 280px; min-width: 0; padding-top: 8px; }
.pcc-details { margin: 6px 0 0; }
.pcc-details > div { padding: 10px 0; border-top: 1px solid var(--global-palette7); }
.pcc-details > div:first-child { border-top: 0; }
.pcc-details dt { font-size: 13px; color: var(--global-palette5); }
.pcc-details dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--global-palette3); }
.pcc-study__main { flex: 999 1 560px; min-width: 0; font-size: 18px; line-height: 1.75; color: var(--global-palette3); }
.pcc-study__about { font-size: 30px; font-weight: 600; margin: 0 0 16px; }
.pcc-study__main h2:not(.pcc-study__about) { font-size: 24px; margin: 40px 0 12px; }
.pcc-study__topics { margin: 0 0 28px; padding-left: 1.2em; }
.pcc-study .pcc-study__join { margin-top: 32px; }
.pcc-study__join .button { min-height: 48px; padding: 12px 28px; }
@media (max-width: 767px) { .pcc-study { padding: 32px 0 64px; } .pcc-study__aside { max-width: none; } }

/* ── Testimonies ──────────────────────────────────────────────────────────────────────────── */
.pcc-testimonies--video { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 36px 28px; }
.pcc-vcard { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.pcc-vcard__player, .pcc-vcard__iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 6px; overflow: hidden; background: var(--global-palette1); cursor: pointer; }
.pcc-vcard__player img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pcc-vcard__play { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 90px; background: rgba(255,255,255,.95); display: flex; align-items: center; justify-content: center; }
.pcc-vcard__play svg { fill: var(--global-palette1); }
.pcc-vcard__player:hover .pcc-vcard__play, .pcc-vcard__player:focus-visible .pcc-vcard__play { transform: scale(1.08); }
.pcc-vcard__dur { position: absolute; right: 8px; bottom: 8px; background: rgba(8,40,68,.85); color: #fff; font-size: 12px; font-weight: 600; padding: 1px 7px; border-radius: 4px; }
.pcc-vcard__title { margin: 0; font-family: var(--global-heading-font-family); font-weight: 600; font-size: 17px; line-height: 1.4; color: var(--global-palette3); }
.pcc-vcard__who { margin: 2px 0 0; font-size: 14px; color: var(--global-palette5); }
.pcc-testimonies--written { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); gap: 20px; }
.pcc-quote { margin: 0; background: var(--global-palette8); border: 1px solid var(--global-palette7); border-radius: 6px; padding: 28px 32px; display: flex; flex-direction: column; justify-content: space-between; }
.pcc-quote blockquote { margin: 0 0 16px; padding: 0; border: 0; font-size: 17px; line-height: 1.7; font-style: normal; color: var(--global-palette3); }
.pcc-quote figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 14px; }
.pcc-quote__who { font-weight: 600; color: var(--global-palette5); }
.pcc-quote figcaption a { font-weight: 600; }

/* ── Page text helpers (used on core paragraphs/lists inside Kadence rows; set via the block's
      "Additional CSS class") ─────────────────────────────────────────────────────────────────── */
.single-content .pc-note { margin: 0 0 16px; font-size: 17px; line-height: 1.75; }
.single-content .pc-note--sign { margin-bottom: 0; color: var(--global-palette3); }
.single-content .pc-lede { margin: 12px 0 0; font-size: 17px; line-height: 1.75; }
.single-content .pc-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 16px 0 0; font-size: 15px; font-weight: 600; }
.single-content .pc-links a { white-space: nowrap; }
.single-content .pc-toc { margin: 0; padding: 0; list-style: none; }
.single-content .pc-toc li { margin: 0; border-top: 1px solid var(--global-palette7); }
.single-content .pc-toc li:first-child { border-top: 0; }
.single-content .pc-toc a { display: block; padding: 10px 0; font-size: 14px; line-height: 1.45; font-weight: 600; color: var(--global-palette3); text-decoration: none; }
.single-content .pc-toc a:hover, .single-content .pc-toc a:focus { color: var(--global-palette1); }

/* Home: when the Updates column sits beside the tiles, it is as tall as the tiles column and its list scrolls.
   (Column has the extra class "pc-updates-col"; the row has "Inner Column Height 100%" on.) */
@media (min-width: 1025px) {
	.pc-updates-col > .kt-inside-inner-col { position: relative; height: 100%; min-height: 320px; }
	.pc-updates-col .pcc-updates { position: absolute; inset: 0; height: auto; }
	.pc-updates-col .pcc-updates__list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
}

/* Home: giving note and verse under the resource tiles */
.single-content .pc-giving { margin: 28px 0 0; font-size: 16px; line-height: 1.7; color: var(--global-palette4); }
.single-content .pc-verse { margin: 20px 0 0; padding: 20px 24px; background: var(--global-palette8); border: 0; border-left: 3px solid var(--global-palette1); border-radius: 0 6px 6px 0; }
.single-content .pc-verse p { margin: 0; font-family: Literata, Georgia, serif; font-size: 22px; line-height: 1.6; font-style: italic; font-weight: 400; color: var(--global-palette3); } /* Bible quotes only: Literata */
@media (max-width: 767px) { .single-content .pc-verse p { font-size: 19px; } }
.single-content .pc-verse cite { display: block; margin-top: 8px; font-size: 14px; font-style: normal; font-weight: 600; color: var(--global-palette1); }
.single-content .pc-verse cite::before { content: "— "; }

/* Phone numbers never split across lines */
.single-content a[href^="tel:"] { white-space: nowrap; }

/* Written testimonies: clamp + in-page expand (assets/testimonies.js) */
.pcc-testimonies--written { align-items: start; }
.pcc-testimonies .pcc-quote__body p + p { margin-top: .8em; }
.pcc-quote__body.is-clamped:not(.is-open) { max-height: calc(1.7em * 7); overflow: hidden; position: relative; }
.pcc-quote__body.is-clamped:not(.is-open)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3.4em; background: linear-gradient(rgba(245,247,250,0), var(--global-palette8)); }
.pcc-quote__more { background: none; border: 0; padding: 0; color: var(--global-palette1); font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; cursor: pointer; box-shadow: none; }
.pcc-quote__more:hover, .pcc-quote__more:focus { background: none; color: var(--global-palette2); }
.pcc-quote__more[hidden] { display: none; }

/* ── Christian Survival Kit ──────────────────────────────────────────────────────────────────── */
.pcc-side-label, .single-content .pcc-side-label { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--global-palette5); }
.pcc-chapters { margin: 0 0 32px; }
.pcc-chapters__list, .single-content .pcc-chapters__list, .single-content .pc-buy { margin: 0; padding: 0; list-style: none; }
.pcc-chapters__list li, .single-content .pc-buy li { margin: 0; border-top: 1px solid var(--global-palette7); }
.pcc-chapters__list li:first-child, .single-content .pc-buy li:first-child { border-top: 0; }
.pcc-chapters__list a { display: block; padding: 10px 0; font-size: 14px; line-height: 1.45; font-weight: 600; color: var(--global-palette3); text-decoration: none; }
.pcc-chapters__list a:hover, .pcc-chapters__list a:focus { color: var(--global-palette1); }
.pcc-chapters__list a[aria-current="page"] { color: var(--global-palette1); font-weight: 700; }
.single-content .pc-buy li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; font-size: 14px; line-height: 1.45; }
.single-content .pc-buy a { font-weight: 600; color: var(--global-palette3); text-decoration: none; }
.single-content .pc-buy a:hover, .single-content .pc-buy a:focus { color: var(--global-palette1); text-decoration: underline; }
.single-content .pc-buy__type { font-size: 13px; color: var(--global-palette5); white-space: nowrap; }

/* Reading column (Kadence column with the class "pc-reading") */
.single-content .pc-reading p { margin: 0 0 22px; font-size: 18px; line-height: 1.8; color: var(--global-palette3); } /* site font (Open Sans) */
.single-content .pc-reading .pc-kit-title { margin: 0 0 24px; font-size: 30px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.single-content .pc-reading h3 { margin: 48px 0 20px; font-size: 24px; line-height: 1.3; letter-spacing: -.01em; }
.single-content .pc-reading .pc-kit-verse { margin: 36px 0; padding: 0 0 0 28px; border: 0; border-left: 2px solid var(--global-palette14); }
.single-content .pc-reading .pc-kit-verse p { margin: 0; font-family: Literata, Georgia, serif; font-style: italic; font-weight: 400; font-size: 22px; line-height: 1.6; } /* Bible quotes only: Literata */
.single-content .pc-reading .pc-kit-verse cite { display: block; margin-top: 10px; font-size: 14px; font-style: normal; font-weight: 700; letter-spacing: .04em; color: var(--global-palette1); }
.single-content .pc-reading .pc-signature { font-weight: 600; }
@media (max-width: 767px) {
	.single-content .pc-reading p { font-size: 17px; line-height: 1.75; }
	.single-content .pc-reading .pc-kit-title { font-size: 26px; }
	.single-content .pc-reading h3 { margin-top: 36px; font-size: 21px; }
	.single-content .pc-reading .pc-kit-verse { padding-left: 18px; }
	.single-content .pc-reading .pc-kit-verse p { font-size: 19px; }
}
.pcc-pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--global-palette7); }
.pcc-pager__link { display: flex; flex-direction: column; gap: 2px; max-width: 48%; text-decoration: none; }
.pcc-pager__link--next { margin-left: auto; text-align: right; }
.pcc-pager__dir { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--global-palette5); }
.pcc-pager__title { font-family: var(--global-heading-font-family); font-size: 18px; font-weight: 600; color: var(--global-palette1); }
.pcc-pager__link:hover .pcc-pager__title, .pcc-pager__link:focus .pcc-pager__title { text-decoration: underline; }
@media (max-width: 767px) { .pcc-pager__link { max-width: 100%; } }

/* Updates: each summary is at most two lines, ending with "…" (George, 2026-11-22) */
.pcc-updates .pcc-update__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }

/* Bible quotes: the reference follows the text on the same line, after a dash (George, 2026-11-22) */
.single-content .pc-verse p, .single-content .pc-reading .pc-kit-verse p { display: inline; }
.single-content .pc-verse cite, .single-content .pc-reading .pc-kit-verse cite { display: inline; margin: 0 0 0 .35em; white-space: nowrap; font-size: 15px; vertical-align: baseline; }
.single-content .pc-verse cite::before, .single-content .pc-reading .pc-kit-verse cite::before { content: "— "; }

/* Update titles are the links */
.pcc-update__title a { color: inherit; text-decoration: none; }
.pcc-update__title a:hover, .pcc-update__title a:focus { color: var(--global-palette1); text-decoration: underline; }

/* Study page: study materials box in the sidebar */
.pcc-material { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--global-palette7); }
.pcc-study .pcc-material__image { display: block; margin: 8px 0 12px; border: 1px solid var(--global-palette7); border-radius: 6px; overflow: hidden; background: var(--global-palette9); }
.pcc-study .pcc-material__image img { display: block; width: 100%; height: auto; }
.pcc-study .pcc-material__title { margin: 0 0 4px; font-family: var(--global-heading-font-family); font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--global-palette3); }
.pcc-study .pcc-material__text { margin: 0 0 8px; font-size: 14px; line-height: 1.55; color: var(--global-palette4); }
.pcc-study .pcc-material__link { margin: 0; font-size: 14px; font-weight: 600; }

/* Study cards: product image shown whole on white; title close to its text; "View study" bottom right beside the facts */
.pcc-study-card__media { aspect-ratio: 4 / 3; background: var(--global-palette9); border: 1px solid var(--global-palette7); }
.pcc-study-card__media img { object-fit: contain; }
.pcc-studies .pcc-study-card__body { gap: 0; }
.pcc-studies .pcc-study-card__body > .pcc-eyebrow { margin-bottom: 6px; }
.pcc-studies .pcc-study-card__title { margin: 0 0 6px; }
.pcc-study-card__footer { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-top: 16px; }
.pcc-studies .pcc-study-card__footer .pcc-facts { margin: 0; flex: 1 1 340px; }
.pcc-study-card__footer .pcc-btn-outline { flex: 0 0 auto; margin-left: auto; }

/* Study page materials box: a little air between name, text and link */
.pcc-study .pcc-study__aside p.pcc-material__title { margin: 4px 0 8px; } /* beats the aside paragraph reset */
.pcc-study .pcc-study__aside p.pcc-material__text { margin: 0 0 14px; }

/* Study page: "Back to studies" above the title */
.pcc-study .pcc-study__back { margin: 0 0 12px; font-size: 14px; font-weight: 600; }
.pcc-study__back a { text-decoration: none; }
.pcc-study__back a:hover, .pcc-study__back a:focus { text-decoration: underline; }

/* Home: thank-you note + team mosaic (Kadence Advanced Gallery, class "pc-team-gallery") */
.single-content .pc-gallery-caption { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: var(--global-palette5); text-align: center; }
/* Thank-you note popup (Kadence Modal, class "pc-note-modal") */
.pc-note-modal .kt-blocks-modal-link { margin: 0; }
.pc-note-modal .kt-modal-container .pc-note:last-child { margin-bottom: 0; }
@media (max-width: 767px) { /* Kadence's mosaic only spans tiles from 768px up; on phones use 2 columns (beats Kadence's per-gallery rule) */
	.pc-team-gallery.wp-block-kadence-advancedgallery .kb-gallery-ul.kb-gallery-type-mosaic .grid-pattern-container { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; grid-auto-flow: dense; gap: 8px; }
	.pc-team-gallery.wp-block-kadence-advancedgallery .kb-gallery-type-mosaic .kadence-blocks-gallery-item.grid-item-wide { grid-column: span 2; grid-row: span 1; }
	.pc-team-gallery.wp-block-kadence-advancedgallery .kb-gallery-type-mosaic .kadence-blocks-gallery-item.grid-item-large { grid-column: span 2; grid-row: span 2; }
	.pc-team-gallery.wp-block-kadence-advancedgallery .kb-gallery-type-mosaic .kadence-blocks-gallery-item.grid-item-tall { grid-column: span 1; grid-row: span 2; }
	.pc-team-gallery.wp-block-kadence-advancedgallery .kb-gallery-type-mosaic .kadence-blocks-gallery-item.grid-item-small { grid-column: span 1; grid-row: span 1; }
}

.single-content .pc-note-modal .pc-note-title { margin: 0 0 16px; font-size: 30px; line-height: 1.25; letter-spacing: -0.01em; }
@media (max-width: 767px) { .single-content .pc-note-modal .pc-note-title { font-size: 26px; } }
/* the caption sits right under the mosaic (outranks the column/flow spacing) */
#thank-you .pc-team-gallery + .pc-gallery-caption, .single-content #thank-you p.pc-gallery-caption { margin-top: 6px; }

/* Study cards: facts take their natural width side by side, so short values never wrap early */
.pcc-studies .pcc-study-card__footer .pcc-facts { display: flex; flex-wrap: wrap; gap: 14px 40px; }
@media (min-width: 768px) { .pcc-studies .pcc-study-card__footer .pcc-facts dd { white-space: nowrap; } }
