/* ---------------------------------------------------------------------------
 * Brand.
 *
 * Photolia ships a yellow (#e4c30d) photography palette. The firm's stationery
 * — letterhead, business card and both envelopes — uses exactly two colours,
 * navy #24356d and orange #df6d27, on white. These rules retire the yellow and
 * put the header on white so it matches the printed pieces, where the logo is
 * always navy-on-white.
 * ------------------------------------------------------------------------ */

:root {
	--tl-navy: #24356d;
	--tl-navy-deep: #1a2750;
	--tl-orange: #df6d27;
	--tl-tint: #f1f3f8;
}

/* Photolia scopes every colour to `.scheme_default` on the <html> element, e.g.
   `.scheme_default .top_panel_default`. Prefixing with `.scheme_default body`
   adds a type selector, which outranks those rules without resorting to
   !important. Every brand override below uses that prefix. */

/* Sticky header.
 *
 * Photolia's own fixed-header feature lives in the trx_addons plugin, which is
 * not installed, so this is plain `position: sticky`. The one prerequisite is
 * that no ancestor scrolls: `.page_wrap` ships with `overflow: hidden`, which
 * silently turns sticky into static. Clearing it is safe here because the
 * full-bleed sections are sized with `width: 100%` rather than the theme's
 * `100vw`, so nothing overhangs the viewport — verified at 1280, 769 and 375. */
.scheme_default body .page_wrap {
	overflow: visible;
}

.scheme_default body .top_panel {
	position: sticky;
	top: 0;
	/* Above the angled sections (z-index 2) and the cover heroes. */
	z-index: 1000;
	box-shadow: 0 1px 3px rgba( 36, 53, 109, 0.09 );
}

/* The admin bar is fixed on desktop and would otherwise sit over the header. */
.admin-bar .scheme_default body .top_panel,
body.admin-bar .top_panel {
	top: 32px;
}

@media ( max-width: 782px ) {
	body.admin-bar .top_panel {
		top: 46px;
	}
}

/* Compact the bar so a sticky header does not eat the viewport. Photolia sets
   30px top and bottom on the normal row; halving it keeps the logo comfortable
   while bringing the sticky bar down to a reasonable height. */
.scheme_default body .top_panel .sc_layouts_row,
.scheme_default body .top_panel .sc_layouts_row_type_normal,
.scheme_default body .top_panel_default .sc_layouts_row_type_normal {
	padding-top: 14px;
	padding-bottom: 14px;
}

/* Header bar: white ground, navy type — the stationery is navy-on-white. */
.scheme_default body .top_panel,
.scheme_default body .top_panel_default,
.scheme_default body .top_panel_default .sc_layouts_row,
.scheme_default body .top_panel .sc_layouts_row_type_normal,
.scheme_default body .top_panel_default .sc_layouts_row_fixed_on {
	background-color: #ffffff;
}

.scheme_default body .top_panel {
	border-bottom: 1px solid #e3e7ef;
}

/* The logo is a vector; give it a header height and let it scale. */
.scheme_default body .sc_layouts_logo img {
	height: 46px;
	width: auto;
	max-width: 100%;
}

@media ( max-width: 767px ) {
	.scheme_default body .sc_layouts_logo img {
		height: 38px;
	}
}

/* The logo artwork already carries the firm name and tagline. */
.scheme_default body .sc_layouts_logo .logo_text,
.scheme_default body .sc_layouts_logo .logo_slogan {
	display: none;
}

/* Navigation.
 *
 * The three practice areas sit in a Services dropdown, so the bar carries eight
 * top-level items rather than ten. That fits on one row at Photolia's stock
 * 15.4px of horizontal padding per link, but the tighter padding is kept: it
 * buys back ~90px, which is what lets the desktop bar survive down to 1024
 * instead of handing over to the burger at tablet width. */
.scheme_default body .top_panel .sc_layouts_menu_nav > li > a {
	color: var(--tl-navy);
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-size: 0.78rem;
	font-weight: 600;
	padding-left: 0.6rem;
	padding-right: 0.6rem;
}

@media ( min-width: 1280px ) {
	.scheme_default body .top_panel .sc_layouts_menu_nav > li > a {
		padding-left: 0.75rem;
		padding-right: 0.75rem;
	}
}

/* Below 1280 the logo and the eight items are close enough to the full row that
   a long label would still push the menu onto a second line, so the links and
   the logo both give a little back. */
@media ( min-width: 1024px ) and ( max-width: 1279px ) {
	.scheme_default body .top_panel .sc_layouts_menu_nav > li > a {
		padding-left: 0.4rem;
		padding-right: 0.4rem;
		font-size: 0.74rem;
		letter-spacing: 0.01em;
	}

	.scheme_default body .sc_layouts_logo img {
		height: 40px;
	}
}

/* Photolia only swaps in its burger below 768, which is narrower than the eight
   items can hold — the logo plus the menu measures about 895px, so the row runs
   out at roughly 1000. Hand over at 1023 instead: same markup, same panel, one
   breakpoint earlier than the theme's.
 *
 * The theme hides the burger with `display: none !important` and reveals it the
 * same way, so both halves of this swap need !important too. They must stay in
 * lockstep: hiding the nav without showing the burger would leave the site with
 * no menu at all between 768 and 1023. */
@media ( max-width: 1023px ) {
	.scheme_default body .top_panel .menu_main_nav_area {
		display: none !important;
	}

	.scheme_default body .top_panel .sc_layouts_menu_mobile_button,
	.scheme_default body .top_panel .sc_layouts_item_menu_mobile_button {
		display: inline-block !important;
	}
}

/* Photolia marks the current item with `!important`, so matching it is the only
   way to reach brand orange here. (The header itself is switched to the light
   scheme in import.php — without that, the dark scheme's white `!important`
   rule won and the active page was white-on-white.) */
.scheme_default body .top_panel .sc_layouts_menu_nav > li > a:hover,
.scheme_default body .top_panel .sc_layouts_menu_nav > li.sfHover > a,
.scheme_default body .top_panel .sc_layouts_menu_nav > li.current-menu-item > a,
.scheme_default body .top_panel .sc_layouts_menu_nav > li.current-menu-ancestor > a,
.scheme_default body .top_panel .sc_layouts_menu_nav > li.current_page_item > a {
	color: var(--tl-orange) !important;
}

/* The brand orange on white measures about 3.3:1, short of the 4.5:1 WCAG AA
   needs at this size — so the current page is also marked with a rule beneath
   it. That keeps the active item identifiable without relying on colour alone,
   and without altering the brand hue. */
.scheme_default body .top_panel .sc_layouts_menu_nav > li.current-menu-item > a,
.scheme_default body .top_panel .sc_layouts_menu_nav > li.current-menu-ancestor > a,
.scheme_default body .top_panel .sc_layouts_menu_nav > li.current_page_item > a {
	position: relative;
}

.scheme_default body .top_panel .sc_layouts_menu_nav > li.current-menu-item > a:after,
.scheme_default body .top_panel .sc_layouts_menu_nav > li.current-menu-ancestor > a:after,
.scheme_default body .top_panel .sc_layouts_menu_nav > li.current_page_item > a:after {
	content: "";
	position: absolute;
	left: 0.6rem;
	right: 0.6rem;
	bottom: 0.35rem;
	height: 2px;
	background-color: var(--tl-orange);
}

/* Submenus sit on navy so they read against the white bar. */
.scheme_default body .sc_layouts_menu_nav ul,
.scheme_default body .sc_layouts_menu_popup {
	background-color: var(--tl-navy);
}

/* Photolia's generated colour sheet paints submenu links #777, and it beats a
   plain child-theme rule — which went unnoticed while no menu had children.
   On the navy panel #777 measures 2.3:1, so this has to win outright. */
.scheme_default body .sc_layouts_menu_nav ul > li > a,
.scheme_default body .sc_layouts_menu_nav ul > li > a > span,
.scheme_default body .sc_layouts_menu_popup > li > a {
	color: #ffffff !important;
}

/* Orange on navy is only 3.5:1, short of AA for 13px submenu type, so the
   hovered and current items are marked with a tinted row and an underline and
   keep the white text. */
.scheme_default body .sc_layouts_menu_nav ul > li > a:hover,
.scheme_default body .sc_layouts_menu_nav ul > li > a:focus,
.scheme_default body .sc_layouts_menu_nav ul > li.sfHover > a,
.scheme_default body .sc_layouts_menu_nav ul > li.current-menu-item > a {
	background-color: rgba( 255, 255, 255, 0.12 );
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

/* Photolia hides the dropdown caret (style.css:2260). Suzanne's clients are
   largely older, and a top-level item that opens a panel should say so, so the
   theme's own fontello chevron is put back — one glyph, no new asset. */
.scheme_default body .top_panel .sc_layouts_menu_nav > li.menu-item-has-children > a:after {
	display: inline-block;
	/* The theme absolutely positions this glyph into the link's right padding,
	   which the tightened nav spacing no longer has room for — it landed on top
	   of the label. Let it flow after the text instead. */
	position: static;
	content: '\e828';
	font-family: 'fontello';
	font-size: 0.72em;
	font-weight: 400;
	line-height: 1;
	margin-left: 0.4em;
	vertical-align: 0.08em;
}

/* Mobile slide-out panel.
 *
 * Photolia opens this panel with a `scheme_dark` class and a near-black
 * (#1f1f1f) ground. The firm's logo is navy line art drawn for white paper, so
 * on that ground the mark all but vanishes. The panel is therefore flipped to
 * white — which also matches the header and the printed stationery — with navy
 * links and orange for hover and the current page. */
.scheme_default body .menu_mobile.menu_mobile_fullscreen .menu_mobile_inner,
.scheme_default body .menu_mobile.scheme_dark .menu_mobile_inner,
.scheme_default body .menu_mobile .menu_mobile_inner {
	background-color: #ffffff;
}

/* Tint the scrim with the brand navy instead of flat black. The overlay is a
   child of .page_wrap rather than of .menu_mobile, and it stays hidden while
   the panel is the fullscreen variant — this only takes effect if the theme's
   slide-in variant is ever used instead. */
.scheme_default body .menu_mobile_overlay {
	background-color: rgba( 26, 39, 80, 0.45 );
}

.scheme_default body .menu_mobile .menu_mobile_nav_area a,
.scheme_default body .menu_mobile .menu_mobile_nav_area li > a {
	color: var(--tl-navy);
}

.scheme_default body .menu_mobile .menu_mobile_nav_area li > a:hover,
.scheme_default body .menu_mobile .menu_mobile_nav_area li.current-menu-item > a,
.scheme_default body .menu_mobile .menu_mobile_nav_area li.current-menu-ancestor > a,
.scheme_default body .menu_mobile_inner li.current-menu-item > a {
	color: var(--tl-orange);
}

/* The Services item opens its children with this chevron, which the theme draws
   as an 18px box — too small a target on a phone, and this site's visitors skew
   older. Grown to 44px and centred on the row; the glyph does not move, and the
   row pitch is 58px so it cannot be tapped by mistake from the row above. */
.scheme_default body .menu_mobile li.menu-item-has-children > a > .open_child_menu {
	width: 44px;
	height: 44px;
	line-height: 44px;
	top: 50%;
	transform: translateY( -50% );
}

/* Close button — was white-on-dark, needs to be visible on white. */
.scheme_default body .menu_mobile .menu_mobile_close,
.scheme_default body .menu_mobile .menu_mobile_close:before,
.scheme_default body .menu_mobile .menu_mobile_close:after {
	color: var(--tl-navy);
	border-color: var(--tl-navy);
}

.scheme_default body .menu_mobile .menu_mobile_close:hover,
.scheme_default body .menu_mobile .menu_mobile_close:hover:before,
.scheme_default body .menu_mobile .menu_mobile_close:hover:after {
	color: var(--tl-orange);
	border-color: var(--tl-orange);
}

/* Any search field inside the panel. */
.scheme_default body .menu_mobile .search_field,
.scheme_default body .menu_mobile .search_submit {
	color: var(--tl-navy);
}

/* Mobile menu trigger.
 *
 * The glyph is a `.sc_layouts_item_icon` span inside an anchor whose own colour
 * is white — fine on Photolia's dark header, invisible on this white one. The
 * span needs the colour at rest, and every hover permutation needs it too, or
 * the icon vanishes into the background the moment the pointer arrives. */
.scheme_default body .top_panel .sc_layouts_menu_mobile_button .sc_layouts_item_link,
.scheme_default body .top_panel .sc_layouts_menu_mobile_button .sc_layouts_item_icon,
.scheme_default body .sc_layouts_menu_mobile_button_burger,
.scheme_default body .sc_layouts_menu_mobile_button_burger:before,
.scheme_default body .top_panel .sc_layouts_item_icon {
	color: var(--tl-navy);
}

.scheme_default body .top_panel .sc_layouts_menu_mobile_button:hover .sc_layouts_item_icon,
.scheme_default body .top_panel .sc_layouts_menu_mobile_button:hover .sc_layouts_item_link,
.scheme_default body .top_panel .sc_layouts_menu_mobile_button .sc_layouts_item_link:hover,
.scheme_default body .top_panel .sc_layouts_menu_mobile_button .sc_layouts_item_link:hover .sc_layouts_item_icon,
.scheme_default body .top_panel .sc_layouts_item_link:hover .sc_layouts_item_icon,
.scheme_default body .menu_mobile_button:hover,
.scheme_default body .menu_mobile_button:hover:before {
	color: var(--tl-orange);
}

/* Retire the theme yellow wherever it drives buttons and accents. The intake
   form's own submit button is styled further down and is left alone here. */
.scheme_default body .theme_button,
.scheme_default body .sc_button,
.scheme_default body button:not(.wpcf7-submit):not(.wp-block-button__link),
.scheme_default body input[type="button"] {
	background-color: var(--tl-orange);
	border-color: var(--tl-orange);
	color: #ffffff;
}

.scheme_default body a {
	color: var(--tl-navy);
}

.scheme_default body a:hover {
	color: var(--tl-orange);
}

/* Footer content block. Photolia styles widget headings at display size, which
   suits a photography site but not a firm's contact details. */
.scheme_default body .footer_wrap .tl-footer-cols {
	gap: 2rem;
	margin-bottom: 1.5rem;
}

.scheme_default body .footer_wrap .tl-footer-block p {
	font-size: 0.94rem;
	line-height: 1.65;
	margin: 0 0 0.55rem;
	color: #cfd5e4;
}

.scheme_default body .footer_wrap .tl-footer-block strong {
	color: #ffffff;
}

.scheme_default body .footer_wrap .tl-footer-legal {
	font-size: 0.8rem !important;
	line-height: 1.6;
	color: #9aa5c0 !important;
	border-top: 1px solid rgba( 255, 255, 255, 0.13 );
	padding-top: 1.25rem;
	margin-top: 0.5rem;
}

@media ( max-width: 782px ) {
	.scheme_default body .footer_wrap .tl-footer-cols {
		gap: 0.5rem;
	}
}

/* Footer. */
.scheme_default body .footer_wrap {
	background-color: var(--tl-navy-deep);
	color: #cfd5e4;
}

.scheme_default body .footer_wrap a {
	color: #ffffff;
}

.scheme_default body .footer_wrap a:hover {
	color: var(--tl-orange);
}

/* Copyright strip sits at the foot of the navy field. */
.scheme_default body .footer_copyright_wrap {
	background-color: transparent;
	border-top: 1px solid rgba( 255, 255, 255, 0.13 );
}

.scheme_default body .footer_copyright_wrap .copyright_text {
	color: #9aa5c0;
	font-size: 0.82rem;
}

.scheme_default body .footer_copyright_wrap .copyright_text a {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.scheme_default body .footer_copyright_wrap .copyright_text a:hover {
	color: var(--tl-orange);
}

/**
 * Tufts Law — content styling.
 *
 * Photolia is a photography theme: its h1 is 5em and uppercase, and it has no
 * align-wide support because it predates block themes. This file re-tunes the
 * typography inside page content and lets full-width sections break out of the
 * theme's centred container, so the copy-package pages read as a law firm site.
 *
 * Everything here is scoped to .post_content so the blog, archives, and any
 * theme demo content are left alone.
 */

/* ---------------------------------------------------------------------------
 * Full-bleed sections.
 *
 * Photolia already gives page content the full container width once the
 * sidebar is hidden, and ships its own alignfull rules for that case — but it
 * applies BOTH a `margin-left: calc(50% - 50vw)` and a `translateX(-50%)`,
 * which stack into a double shift. Since the container is already full width,
 * the correct answer is no breakout at all: fill the parent and cancel the
 * theme's transform. This also behaves correctly if the boxed body style is
 * ever switched on, where sections should fill the box rather than the
 * viewport.
 * ------------------------------------------------------------------------ */

/* On these pages the sections supply their own padding, so the theme's centred
   content wrapper only gets in the way — unconstrain it and let the bands run
   to the edge of the screen at every width. */
body.tl-fullbleed .page_content_wrap .content_wrap,
body.tl-fullbleed .page_content_wrap > .content,
body.tl-fullbleed .post_item_single.post_type_page {
	max-width: none;
	width: 100%;
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
}

/* The same wrapper is also padded 100px top and bottom on single pages (60px
   below 1167px) by `body.header_type_default:not(.wpb-js-composer)`, which is
   meant for a centred article. Here the first block is a full-bleed hero, so
   above it that padding is simply a white band between the header and the
   cover — the sections carry their own vertical rhythm via `tl_section`.
   Carrying `:not(.wpb-js-composer)` keeps this a class ahead of the theme's
   selector, so it wins inside the theme's breakpoint too, not just on source
   order. */
body.tl-fullbleed.header_type_default:not(.wpb-js-composer) .page_content_wrap .content_wrap {
	padding-top: 0;
}

/* Photolia pads the inner `.content` as well, under a longer selector that also
   carries `.blog_style_excerpt` — the body class the theme's "Excerpt" blog
   style adds. On this site that works out to 10em, i.e. a 140px white band
   between the header and the hero, which is the same band the rule above
   removes from the outer wrapper. Matching the theme's own selector and adding
   `.tl-fullbleed` to it keeps this a class ahead, so it wins inside the
   theme's 959px breakpoint too.

   Only the top goes: the theme leaves `.content` unpadded at the bottom, and
   the closing gap is handled on `.content_wrap` below. */
body.tl-fullbleed.header_type_default:not(.wpb-js-composer).blog_style_excerpt .page_content_wrap .content_wrap .content,
body.tl-fullbleed.header_type_default:not(.wpb-js-composer) .page_content_wrap .content_wrap > .content {
	padding-top: 0;
}

/* At the bottom that padding is load-bearing, so it only goes where the page
   ends on an angled band. Photolia pulls the footer up by a flat -100px
   !important to swallow the padding; with the padding gone the footer overlaps
   the last section instead. That is right for an angled band — it is the same
   navy as the footer, so the overlap is invisible and the footer's slope falls
   inside the band as intended, rather than cutting a white wedge out of the
   page background. A page that ends on a plain section (Disclaimers) needs the
   padding kept, or the pull-up runs the navy over its closing lines. */
body.tl-fullbleed.header_type_default:not(.wpb-js-composer) .page_content_wrap .content_wrap:has( .post_content > .tl-angle:last-child ) {
	padding-bottom: 0;
}

/* The theme's rules are `body.sidebar_hide .alignfull` and
   `body.sidebar_hide .entry-content .alignfull`, so these have to carry the
   same weight to win on source order. */
body .post_content > .alignfull,
body.sidebar_hide .post_content > .alignfull,
body.sidebar_hide .entry-content > .alignfull {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
	transform: none;
	left: auto;
}

body .post_content > .alignwide,
body.sidebar_hide .post_content > .alignwide,
body.sidebar_hide .entry-content > .alignwide {
	width: auto;
	max-width: min( 1160px, 92% );
	margin-left: auto;
	margin-right: auto;
	transform: none;
	left: auto;
}

/* The theme adds a bottom margin to every top-level group; full-bleed bands
   need to sit flush against each other instead. */
.post_content > .wp-block-group.alignfull,
.post_content > .wp-block-cover.alignfull {
	margin-top: 0;
	margin-bottom: 0;
}

/* Constrained inner width for section content. */
.post_content .wp-block-group.alignfull > :not(.alignfull):not(.alignwide) {
	max-width: 62rem;
	margin-left: auto;
	margin-right: auto;
}

/* ---------------------------------------------------------------------------
 * Angled sections — the firm's own motif.
 *
 * The letterhead and business card are built from navy and orange wedges that
 * meet at a point, and the theme happens to use the same technique for its
 * dividers (.fix-skew in photolia/style.css). Both are a clip-path polygon, not
 * an image, so the colour is simply the section background and any brand colour
 * works.
 *
 * The slope is sized in vw so the *angle* stays constant as the window widens,
 * rather than the theme's fixed 100px, which flattens on large screens. It is
 * clamped so it never gets silly on an ultrawide display.
 * ------------------------------------------------------------------------ */

:root {
	--tl-angle: clamp( 42px, 5.5vw, 104px );
}

body .post_content > :is( .wp-block-group, .wp-block-cover ).alignfull.tl-angle {
	position: relative;
	z-index: 2;
}

/* Both edges sloped — the divider treatment used mid-page. */
body .post_content > :is( .wp-block-group, .wp-block-cover ).alignfull.tl-angle-both {
	clip-path: polygon( 0 var(--tl-angle), 0 100%, 100% calc( 100% - var(--tl-angle) ), 100% 0 );
	/* Overlap the neighbours so the cut-away corners reveal them rather than
	   the page background. */
	margin-top: calc( var(--tl-angle) * -1 );
	margin-bottom: calc( var(--tl-angle) * -1 );
}

/* Top edge only — for a band that runs into the footer. */
body .post_content > :is( .wp-block-group, .wp-block-cover ).alignfull.tl-angle-top {
	clip-path: polygon( 0 var(--tl-angle), 0 100%, 100% 100%, 100% 0 );
	margin-top: calc( var(--tl-angle) * -1 );
	margin-bottom: 0;
}

/* Bottom edge only. */
body .post_content > :is( .wp-block-group, .wp-block-cover ).alignfull.tl-angle-bottom {
	clip-path: polygon( 0 0, 0 100%, 100% calc( 100% - var(--tl-angle) ), 100% 0 );
	margin-top: 0;
	margin-bottom: calc( var(--tl-angle) * -1 );
}

/* Mirrored slope — the same three shapes running the other way, so a page can
   alternate direction instead of stepping the same way down its whole length.
   The letterhead uses both directions, so either reads as the brand. */
body .post_content > :is( .wp-block-group, .wp-block-cover ).alignfull.tl-angle-flip.tl-angle-both {
	clip-path: polygon( 0 0, 0 calc( 100% - var(--tl-angle) ), 100% 100%, 100% var(--tl-angle) );
}

body .post_content > :is( .wp-block-group, .wp-block-cover ).alignfull.tl-angle-flip.tl-angle-top {
	clip-path: polygon( 0 0, 0 100%, 100% 100%, 100% var(--tl-angle) );
}

body .post_content > :is( .wp-block-group, .wp-block-cover ).alignfull.tl-angle-flip.tl-angle-bottom {
	clip-path: polygon( 0 0, 0 calc( 100% - var(--tl-angle) ), 100% 100%, 100% 0 );
}

/* A section following an angled one must not sit on top of it. */
body .post_content > :is( .wp-block-group, .wp-block-cover ).alignfull.tl-angle + * {
	position: relative;
	z-index: 1;
}

/* Below the tablet breakpoint the slope eats too much vertical space and the
   diagonal reads as a mistake rather than a motif, so it is switched off. The
   0px fallback also collapses the extra padding the helper added. */
/* The footer carries the same sloped top edge, so the motif still closes the
   page on the two templates that have no call-to-action band (Disclaimers and
   the internal checklist). Where a CTA band is present it is the same navy and
   sits directly above, so this slope simply falls inside that field and the
   band's own edge is the one you see. */
.scheme_default body .footer_wrap {
	clip-path: polygon( 0 var(--tl-angle), 0 100%, 100% 100%, 100% 0 );
	margin-top: calc( var(--tl-angle) * -1 );
	padding-top: calc( var(--tl-angle) + 1rem );
	position: relative;
	z-index: 2;
}

@media ( max-width: 782px ) {
	:root {
		--tl-angle: 0px;
	}

	body .post_content > :is( .wp-block-group, .wp-block-cover ).alignfull.tl-angle,
	.scheme_default body .footer_wrap {
		clip-path: none;
		margin-top: 0;
		margin-bottom: 0;
	}

	.scheme_default body .footer_wrap {
		padding-top: 1rem;
	}
}

/* ---------------------------------------------------------------------------
 * Typography.
 * A system serif for headings gives the pages the weight the practice areas
 * call for, without pulling in a webfont.
 * ------------------------------------------------------------------------ */

.post_content h1,
.post_content h2,
.post_content h3,
.post_content h4 {
	font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
	text-transform: none;
	letter-spacing: normal;
	font-weight: 600;
	margin-top: 0;
	margin-bottom: 0.6em;
}

/* The hero cover supplies its own sizing; stop the theme's 5em h1 winning. */
.post_content .wp-block-cover h1,
.post_content .wp-block-cover h2 {
	margin-top: 0;
	margin-bottom: 0.5rem;
}

.post_content .wp-block-cover .wp-block-cover__inner-container > p:last-child {
	margin-bottom: 0;
}

.post_content p {
	margin-top: 0;
	margin-bottom: 1.15em;
}

.post_content a {
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

/* Eyebrow labels above section headings. */
.post_content .wp-block-group p[style*="letter-spacing:0.18em"],
.post_content .wp-block-cover p[style*="letter-spacing:0.18em"] {
	margin-bottom: 0.7rem;
}

/* ---------------------------------------------------------------------------
 * Cards.
 * ------------------------------------------------------------------------ */

.post_content .tl-cards {
	gap: 1.6rem;
	align-items: stretch;
}

.post_content .tl-cards > .wp-block-column {
	display: flex;
}

.post_content .tl-card {
	width: 100%;
	margin: 0;
	box-shadow: 0 1px 2px rgba( 27, 42, 65, 0.04 );
}

.post_content .tl-card > *:last-child {
	margin-bottom: 0;
}

/* ---------------------------------------------------------------------------
 * Process steps.
 * ------------------------------------------------------------------------ */

.post_content .tl-step > *:last-child {
	margin-bottom: 0;
}

/* ---------------------------------------------------------------------------
 * FAQ accordions.
 * ------------------------------------------------------------------------ */

.post_content .tl-faq {
	border-bottom: 1px solid #e4ded4;
	margin-bottom: 0;
}

.post_content .tl-faq > summary {
	cursor: pointer;
	list-style: none;
	font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 1.45;
	color: #1b2a41;
	padding-right: 2.5rem;
	position: relative;
}

.post_content .tl-faq > summary::-webkit-details-marker {
	display: none;
}

/* Chevron, rotated when the panel is open. */
.post_content .tl-faq > summary::after {
	content: "";
	position: absolute;
	right: 0.4rem;
	top: 0.42em;
	width: 0.55rem;
	height: 0.55rem;
	border-right: 2px solid #b08d57;
	border-bottom: 2px solid #b08d57;
	transform: rotate( 45deg );
	transition: transform 0.18s ease;
}

.post_content .tl-faq[open] > summary::after {
	transform: rotate( -135deg );
}

.post_content .tl-faq > summary:hover,
.post_content .tl-faq > summary:focus-visible {
	color: #b08d57;
}

.post_content .tl-faq > *:not(summary) {
	margin-top: 0.9rem;
}

.post_content .tl-faq > *:last-child {
	margin-bottom: 0.2rem;
}

/* ---------------------------------------------------------------------------
 * Statement / pull quote.
 * ------------------------------------------------------------------------ */

.post_content .tl-statement {
	position: relative;
}

.post_content .tl-statement p {
	font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	font-style: italic;
	margin-bottom: 0;
}

/* ---------------------------------------------------------------------------
 * Buttons and rules.
 * ------------------------------------------------------------------------ */

.post_content .wp-block-buttons {
	gap: 0.9rem;
	margin-bottom: 0;
}

.post_content .wp-block-button__link {
	text-decoration: none;
	text-transform: uppercase;
	transition: opacity 0.18s ease;
}

.post_content .wp-block-button__link:hover {
	opacity: 0.86;
}

/* Photolia sets an !important margin on .wp-block-separator inside a media
   query, so these need !important too — an inline style loses to it. */
.post_content .tl-rule {
	opacity: 1;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.post_content .tl-rule-center {
	margin-left: auto !important;
	margin-right: auto !important;
}

/* ---------------------------------------------------------------------------
 * Media + text (About portrait).
 * ------------------------------------------------------------------------ */

.post_content .wp-block-media-text {
	gap: 0;
}

.post_content .wp-block-media-text__content {
	padding-left: 2.5rem;
	padding-right: 0;
}

.post_content .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
	padding-left: 0;
	padding-right: 2.5rem;
}

.post_content .wp-block-media-text__content > *:last-child {
	margin-bottom: 0;
}

/* Core stacks media-text at 600px, so the gutter has to survive until then —
   zeroing it earlier would run the copy straight into the image. */
@media ( max-width: 600px ) {
	.post_content .wp-block-media-text__content,
	.post_content .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
		padding: 2rem 0 0;
	}
}

/* ---------------------------------------------------------------------------
 * Intake form (Contact Form 7).
 * ------------------------------------------------------------------------ */

.post_content .tl-form .wpcf7 {
	margin: 0;
}

.post_content .tl-form .tl-field {
	margin-bottom: 1.35rem;
}

.post_content .tl-form label {
	display: block;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: #1b2a41;
	margin-bottom: 0.45rem;
}

.post_content .tl-form .tl-req {
	font-weight: 400;
	color: #8a7a63;
}

/* Two-up for the short fields, stacking on narrow screens. */
.post_content .tl-form .tl-form-grid {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 0 1.4rem;
}

@media ( max-width: 600px ) {
	.post_content .tl-form .tl-form-grid {
		grid-template-columns: 1fr;
	}
}

.post_content .tl-form input[type="text"],
.post_content .tl-form input[type="email"],
.post_content .tl-form input[type="tel"],
.post_content .tl-form select,
.post_content .tl-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.8rem 0.9rem;
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.5;
	color: #33383f;
	background-color: #ffffff;
	border: 1px solid #d6cec0;
	border-radius: 2px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.post_content .tl-form textarea {
	resize: vertical;
	min-height: 8rem;
}

.post_content .tl-form input:focus,
.post_content .tl-form select:focus,
.post_content .tl-form textarea:focus {
	outline: none;
	border-color: #b08d57;
	box-shadow: 0 0 0 3px rgba( 176, 141, 87, 0.18 );
}

/* Checkbox and acceptance rows read as one line, not a stacked label. */
.post_content .tl-form .tl-field-inline label {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-weight: 400;
	font-size: 0.97rem;
	line-height: 1.6;
	color: #33383f;
	margin-bottom: 0;
}

.post_content .tl-form .tl-field-inline input[type="checkbox"] {
	margin: 0.3rem 0 0;
	flex: 0 0 auto;
	accent-color: #b08d57;
}

.post_content .tl-form .wpcf7-acceptance .wpcf7-list-item,
.post_content .tl-form .wpcf7-checkbox .wpcf7-list-item {
	margin: 0;
	display: block;
}

.post_content .tl-form .tl-note {
	font-size: 0.9rem;
	line-height: 1.6;
	color: #5c6570;
	margin: -0.5rem 0 1.5rem;
}

.post_content .tl-form .tl-field-quiz {
	max-width: 22rem;
}

/* The confidentiality warning, repeated directly above the submit button. */
.post_content .tl-form .tl-form-warning {
	background-color: #f6f3ee;
	border-left: 3px solid #b08d57;
	padding: 1.1rem 1.3rem;
	margin: 1.75rem 0 1.4rem;
}

.post_content .tl-form .tl-form-warning p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.65;
	color: #33383f;
}

.post_content .tl-form .tl-submit {
	margin-top: 1.75rem;
	margin-bottom: 0;
}

.post_content .tl-form input[type="submit"] {
	background-color: #b08d57;
	color: #ffffff;
	border: 1px solid #b08d57;
	border-radius: 2px;
	padding: 0.95rem 2.4rem;
	font-family: inherit;
	font-size: 0.92rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: opacity 0.18s ease;
}

.post_content .tl-form input[type="submit"]:hover {
	opacity: 0.86;
}

/* Contact Form 7 keeps the submit button disabled until the acknowledgement
   checkbox is ticked — deliberate here, since nobody should be able to send an
   inquiry without seeing the no-attorney-client-relationship notice. Photolia
   styles [disabled] grey with !important, so this has to match that weight to
   keep the button in the site's own palette. */
.post_content .tl-form input[type="submit"]:disabled {
	background-color: #cfc3ad !important;
	border-color: #cfc3ad !important;
	color: #ffffff !important;
	opacity: 1;
	cursor: not-allowed;
}

/* Validation and response messages. */
.post_content .tl-form .wpcf7-not-valid-tip {
	display: block;
	margin-top: 0.4rem;
	font-size: 0.87rem;
	color: #a5382f;
}

.post_content .tl-form .wpcf7-form-control.wpcf7-not-valid {
	border-color: #a5382f;
}

.post_content .tl-form .wpcf7-response-output {
	margin: 1.5rem 0 0;
	padding: 1rem 1.2rem;
	border-width: 1px;
	border-radius: 2px;
	font-size: 0.97rem;
	line-height: 1.6;
}

.post_content .tl-form .wpcf7-spinner {
	margin-left: 0.8rem;
}

/* ---------------------------------------------------------------------------
 * Lists.
 * ------------------------------------------------------------------------ */

.post_content .wp-block-list li {
	margin-bottom: 0.5em;
}

/* ---------------------------------------------------------------------------
 * Small screens.
 * ------------------------------------------------------------------------ */

@media ( max-width: 640px ) {
	.post_content .wp-block-group.alignfull {
		padding-left: 1.25rem !important;
		padding-right: 1.25rem !important;
	}

	.post_content .wp-block-buttons.is-content-justification-center {
		justify-content: center;
	}

	.post_content .wp-block-button__link {
		padding-left: 1.5rem !important;
		padding-right: 1.5rem !important;
	}
}
