/* ==========================================================================
   DETAIL PAGES: a single service, brand or project (article)
   These pages hold long written content that predates the redesign, built
   from many separate modules with their own sizes. Rather than restyle each
   module on each page, this sheet gives the content row one editorial system:
   one body font and size, one heading treatment, one list treatment, square
   photography. The content row is the row that holds the floating quote card
   (class dc-quote-col), so nothing here touches the new global sections.
   ========================================================================== */

.single-services, .single-brands, .single-post {
	--dc-ink: var(--fl-global-navy, #04213b);
	--dc-hair: color-mix(in srgb, var(--fl-global-navy, #04213b) 14%, transparent);
	--dc-body: #3b4a55;
}

/* -- Body copy ----------------------------------------------------------------
   One font, one size. Scoped to the content column, never the quote card. */
:is(.single-services, .single-brands, .single-post) .fl-row:has(.dc-quote-col) .fl-col:not(.dc-quote-col):not(.dc-quote-col *) :is(.fl-rich-text, .fl-rich-text p, .fl-rich-text li, .pp-sub-heading, .pp-sub-heading p, .pp-list-item-text, .pp-infolist-description, .pp-infolist-description p) {
	font-family: "Manrope", sans-serif !important;
	font-size: 16.5px !important; font-weight: 400; line-height: 1.75 !important;
	letter-spacing: 0 !important;
	color: var(--dc-body);
}
:is(.single-services, .single-brands, .single-post) .fl-row:has(.dc-quote-col) .fl-col:not(.dc-quote-col) .fl-rich-text p { margin: 0 0 16px; }
:is(.single-services, .single-brands, .single-post) .fl-row:has(.dc-quote-col) .fl-col:not(.dc-quote-col) .fl-rich-text strong { font-weight: 600; color: var(--dc-ink); }
:is(.single-services, .single-brands, .single-post) .fl-row:has(.dc-quote-col) .fl-col:not(.dc-quote-col) .fl-rich-text a {
	color: var(--fl-global-orange-dark, #f1592a);
	text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}

/* The opening paragraph reads as a standfirst */
:is(.single-services, .single-brands, .single-post) .fl-row:has(.dc-quote-col) .fl-col-group:first-child > .fl-col:not(.dc-quote-col) > .fl-col-content > .fl-module-rich-text:first-child .fl-rich-text > p:first-child {
	font-size: 20px !important; line-height: 1.6 !important;
	color: var(--dc-ink);
}
/* An intro that runs across the full row keeps a readable measure */
:is(.single-services, .single-brands) .fl-row:has(.dc-quote-col) .fl-col-group:not(:has(> .dc-quote-col)) .fl-module-rich-text .fl-rich-text { max-width: 760px; }

/* -- Headings -------------------------------------------------------------------
   Each section opens on a hairline with a small orange marker: one size for
   every section heading, whatever the module was set to. */
:is(.single-services, .single-brands) .fl-row:has(.dc-quote-col) .fl-col:not(.dc-quote-col) .fl-module-pp-heading .heading-title,
:is(.single-services, .single-brands) .fl-row:has(.dc-quote-col) .fl-col:not(.dc-quote-col) .fl-module-pp-heading .heading-title .title-text,
.single-post .fl-row:has(.dc-quote-col) .fl-rich-text :is(h2, h3, h4) {
	font-family: "Khand", "Arial Narrow", sans-serif !important;
	font-weight: 600 !important; line-height: 1.06 !important;
	letter-spacing: 0 !important; text-transform: uppercase;
	color: var(--dc-ink) !important;
}
:is(.single-services, .single-brands) .fl-row:has(.dc-quote-col) .fl-col:not(.dc-quote-col) .fl-module-pp-heading .heading-title,
:is(.single-services, .single-brands) .fl-row:has(.dc-quote-col) .fl-col:not(.dc-quote-col) .fl-module-pp-heading .heading-title .title-text,
.single-post .fl-row:has(.dc-quote-col) .fl-rich-text h2 { font-size: clamp(26px, 2.5vw, 32px) !important; }
.single-post .fl-row:has(.dc-quote-col) .fl-rich-text h3 { font-size: 24px !important; }
.single-post .fl-row:has(.dc-quote-col) .fl-rich-text h4 { font-size: 20px !important; }

:is(.single-services, .single-brands) .fl-row:has(.dc-quote-col) .fl-col:not(.dc-quote-col) .fl-module-pp-heading .pp-heading-content,
.single-post .fl-row:has(.dc-quote-col) .fl-rich-text h2 {
	margin-top: 34px; padding-top: 30px;
	border-top: 1px solid var(--dc-hair);
	text-align: left;
}
:is(.single-services, .single-brands) .fl-row:has(.dc-quote-col) .fl-col:not(.dc-quote-col) .fl-module-pp-heading .pp-heading { text-align: left; }
:is(.single-services, .single-brands) .fl-row:has(.dc-quote-col) .fl-col:not(.dc-quote-col) .fl-module-pp-heading .heading-title { margin: 0 0 4px; }
.single-post .fl-row:has(.dc-quote-col) .fl-rich-text h2 { margin-bottom: 14px; }
.single-post .fl-row:has(.dc-quote-col) .fl-rich-text :is(h3, h4) { margin: 30px 0 10px; }
:is(.single-services, .single-brands) .fl-row:has(.dc-quote-col) .fl-col:not(.dc-quote-col) .fl-module-pp-heading .heading-title .title-text::before,
.single-post .fl-row:has(.dc-quote-col) .fl-rich-text h2::before {
	content: '';
	display: inline-block;
	width: 9px; height: 9px;
	margin: 0 13px 0 0;
	background: linear-gradient(135deg, var(--fl-global-orange-dark, #f1592a), var(--fl-global-orange, #f7961e));
	transform: translateY(-.12em);
}
/* The old orange rules under headings are replaced by the hairline above */
:is(.single-services, .single-brands) .fl-row:has(.dc-quote-col) .fl-col:not(.dc-quote-col) .fl-module-pp-heading .pp-heading-separator { display: none; }
:is(.single-services, .single-brands) .fl-row:has(.dc-quote-col) .fl-col:not(.dc-quote-col) .fl-module-pp-heading .pp-sub-heading { margin-top: 12px !important; }
:is(.single-services, .single-brands) .fl-row:has(.dc-quote-col) .fl-col:not(.dc-quote-col) .fl-module-pp-heading > .fl-module-content { margin-top: 0; margin-bottom: 14px; }

/* -- Lists ----------------------------------------------------------------------
   Icon lists and plain lists become ruled spec lists. */
:is(.single-services, .single-brands) .fl-row:has(.dc-quote-col) .fl-col:not(.dc-quote-col) .pp-icon-list-items {
	margin: 4px 0 0; padding: 0;
	list-style: none;
	border-top: 1px solid var(--dc-hair);
}
:is(.single-services, .single-brands) .fl-row:has(.dc-quote-col) .fl-col:not(.dc-quote-col) .pp-icon-list-item {
	display: flex; align-items: baseline; gap: 14px;
	margin: 0 !important; padding: 11px 0 10px !important;
	border-bottom: 1px solid var(--dc-hair);
}
:is(.single-services, .single-brands) .fl-row:has(.dc-quote-col) .fl-col:not(.dc-quote-col) .pp-list-item-icon {
	flex: 0 0 auto;
	width: auto; height: auto; margin: 0 !important; padding: 0 !important;
	background: none !important; border: 0 !important;
	font-size: 10px !important; line-height: 1;
	color: var(--fl-global-orange-dark, #f1592a) !important;
}
:is(.single-services, .single-brands) .fl-row:has(.dc-quote-col) .fl-col:not(.dc-quote-col) .pp-list-item-text { line-height: 1.5 !important; color: var(--dc-ink); }

:is(.single-services, .single-brands, .single-post) .fl-row:has(.dc-quote-col) .fl-col:not(.dc-quote-col) .fl-rich-text ul { margin: 6px 0 20px; padding: 0; list-style: none; }
:is(.single-services, .single-brands, .single-post) .fl-row:has(.dc-quote-col) .fl-col:not(.dc-quote-col) .fl-rich-text ul > li {
	position: relative;
	margin: 0; padding: 7px 0 7px 22px;
}
:is(.single-services, .single-brands, .single-post) .fl-row:has(.dc-quote-col) .fl-col:not(.dc-quote-col) .fl-rich-text ul > li::before {
	content: '';
	position: absolute; left: 0; top: 1.05em;
	width: 7px; height: 7px;
	background: var(--fl-global-orange, #f7961e);
}
:is(.single-services, .single-brands, .single-post) .fl-row:has(.dc-quote-col) .fl-col:not(.dc-quote-col) .fl-rich-text ol { margin: 6px 0 20px; padding-left: 22px; }
:is(.single-services, .single-brands, .single-post) .fl-row:has(.dc-quote-col) .fl-col:not(.dc-quote-col) .fl-rich-text ol > li { padding: 5px 0 5px 6px; }
:is(.single-services, .single-brands, .single-post) .fl-row:has(.dc-quote-col) .fl-col:not(.dc-quote-col) .fl-rich-text ol > li::marker { font-family: "Khand", sans-serif; font-weight: 600; color: var(--fl-global-orange-dark, #f1592a); }

/* -- Photography, tables and separators ---------------------------------------- */
:is(.single-services, .single-brands, .single-post) .fl-row:has(.dc-quote-col) .fl-col:not(.dc-quote-col) :is(.fl-photo-content, .pp-photo-content, .fl-rich-text) img {
	display: block;
	max-width: 100%; height: auto;
	border-radius: 0 !important;
}
:is(.single-services, .single-brands) .fl-row:has(.dc-quote-col) .fl-col:not(.dc-quote-col) .fl-module-photo .fl-photo-content,
:is(.single-services, .single-brands) .fl-row:has(.dc-quote-col) .fl-col:not(.dc-quote-col) .fl-module-photo .fl-photo-content img { width: 100%; }
.single-post .fl-row:has(.dc-quote-col) .fl-rich-text :is(img, figure) { margin: 26px 0; }
.single-post .fl-row:has(.dc-quote-col) .fl-rich-text figure img { margin: 0; }
.single-post .fl-row:has(.dc-quote-col) .fl-rich-text figcaption { margin-top: 8px; font-size: 13px; color: #6b7780; }
.single-post .fl-row:has(.dc-quote-col) .fl-rich-text table {
	width: 100%; margin: 22px 0;
	border-collapse: collapse;
	font-size: 14.5px;
}
.single-post .fl-row:has(.dc-quote-col) .fl-rich-text :is(th, td) { padding: 11px 12px; border-bottom: 1px solid var(--dc-hair); text-align: left; vertical-align: top; }
.single-post .fl-row:has(.dc-quote-col) .fl-rich-text th {
	font-family: "Manrope", sans-serif; font-size: 12px; font-weight: 600;
	letter-spacing: .14em; text-transform: uppercase;
	color: var(--dc-ink);
	border-bottom-color: var(--dc-ink);
}
.single-post .fl-row:has(.dc-quote-col) .fl-rich-text blockquote {
	margin: 26px 0; padding: 4px 0 4px 22px;
	border-left: 3px solid var(--fl-global-orange, #f7961e);
	font-size: 19px; line-height: 1.6;
	color: var(--dc-ink);
}
:is(.single-services, .single-brands) .fl-row:has(.dc-quote-col) .fl-separator { border-top-color: var(--dc-hair) !important; }

/* -- Brand pages: "What to expect" ------------------------------------------------
   The three cards become ruled columns on the navy row, like the approach
   steps on the home page. */
.single-brands .fl-builder-content .dc-dark .pp-infobox-wrap .pp-infobox,
.single-brands .fl-builder-content .dc-dark .pp-infobox {
	padding: 26px 0 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-top: 1px solid rgba(255, 255, 255, .3) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	text-align: left;
}
.single-brands .fl-builder-content .dc-dark .pp-infobox .pp-infobox-title,
.single-brands .fl-builder-content .dc-dark .pp-infobox .pp-infobox-title-wrapper * { color: #fff !important; text-align: left; }
.single-brands .fl-builder-content .dc-dark .pp-infobox .pp-infobox-title { margin: 0 0 12px; }
.single-brands .fl-builder-content .dc-dark .pp-infobox .pp-infobox-description,
.single-brands .fl-builder-content .dc-dark .pp-infobox .pp-infobox-description p {
	font-family: "Manrope", sans-serif;
	font-size: 15.5px; line-height: 1.7;
	color: rgba(255, 255, 255, .76) !important;
	text-align: left;
}
.single-brands .fl-builder-content .dc-dark .fl-module-pp-heading .heading-title,
.single-brands .fl-builder-content .dc-dark .fl-module-pp-heading .heading-title .title-text { color: #fff; }

@media (max-width: 767px) {
	:is(.single-services, .single-brands, .single-post) .fl-row:has(.dc-quote-col) .fl-col-group:first-child > .fl-col:not(.dc-quote-col) > .fl-col-content > .fl-module-rich-text:first-child .fl-rich-text > p:first-child { font-size: 18px !important; }
	.single-post .fl-row:has(.dc-quote-col) .fl-rich-text table { display: block; overflow-x: auto; }
}
