/**
 * Front-end styles for the new Sector template.
 *
 * Shipped compiled with the plugin rather than added to the theme's SCSS, so a
 * sector page never needs `npm run prod` or a theme redeploy.
 *
 * Colours come from the theme's own custom properties, declared on :root in
 * layout/_global.scss from the $colors map — so this tracks the palette
 * automatically rather than hard-coding hexes:
 *
 *   --white #ffffff   --off-white #f3f1f1   --blue #2566c1
 *   --black #0e1433   --grey #ccc
 *
 * Values duplicated from the theme, with their source:
 *   md breakpoint   1024px   abstracts/_variables.scss $breakpoints
 *   sm breakpoint    768px   abstracts/_variables.scss $breakpoints
 *   CTA radius       3px 24px 3px 24px   abstracts/_buttons.scss
 *   curved corner    125px 0 125px 0     used by the theme's image blocks
 *   side padding     clamp(1.5rem, 1rem + 1vw, 2rem)   matches .wrap
 *
 * Everything is scoped under .arth-sector so nothing here can reach a page
 * built with the theme's own blocks.
 */

/* ---------------------------------------------------------------------------
 * Theme gaps this template has to work around
 * ------------------------------------------------------------------------ */

/*
 * .pad-btm-none does not exist: _padding.scss defines .pad-top-none twice and
 * omits the bottom one, so "None" bottom padding silently does nothing. Same
 * workaround as the Arthian Blocks plugin, scoped to this template.
 */
.arth-sector .pad-btm-none {
	padding-bottom: 0;
}

/*
 * .screen-reader-text has no rules anywhere in the theme's stylesheet, so the
 * usual WordPress class does nothing here and the labels would render as
 * visible text. This is the standard core definition, scoped to the template.
 */
.arth-sector .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/*
 * .wysiwyg-content has no rules anywhere in the theme's SCSS, which is why
 * editors have been hand-writing inline margins around paragraphs. Body copy
 * here uses .arth-wysiwyg, styled properly.
 */
.arth-sector .arth-wysiwyg > * + * {
	margin-top: 1rem;
}

.arth-sector .arth-wysiwyg ul,
.arth-sector .arth-wysiwyg ol {
	padding-left: 1.25rem;
}

.arth-sector .arth-wysiwyg li + li {
	margin-top: 0.5rem;
}

.arth-sector .arth-wysiwyg a {
	color: inherit;
	text-decoration: underline;
}

/* ---------------------------------------------------------------------------
 * Hero
 * ------------------------------------------------------------------------ */

/*
 * Clearance for the fixed header.
 *
 * `header` is position:fixed (layout/_header.scss), so page content starts
 * underneath it. The theme's own top-of-page hero handles this with
 * `padding-top: clamp(4rem, 8vw, 12rem)` and a flat 6.5rem below the sm
 * breakpoint — see single/_single-service.scss:38-42. Those exact values are
 * reused here so the breadcrumb clears the header by the same amount as every
 * other page on the site. The pad-top-* utilities top out at 6.48rem, which is
 * not enough.
 */
.arth-sector .arth-hero {
	padding-top: clamp(4rem, 8vw, 12rem);
}

@media (max-width: 768px) {
	.arth-sector .arth-hero {
		padding-top: 6.5rem;
	}
}

/*
 * Breadcrumb. Sits inside the panel above the title, so it is white on the
 * panel colour. Muted the same way the theme mutes its own hero breadcrumbs
 * (single/_single-service.scss) — no underline until hover, then one that
 * grows in from the left.
 */
.arth-sector .arth-hero .breadcrumbs {
	margin-bottom: 1.25rem;
	row-gap: 0.25rem;
}

.arth-sector .arth-hero .breadcrumbs a,
.arth-sector .arth-hero .breadcrumbs span {
	opacity: 0.65;
	line-height: 1.4;
}

.arth-sector .arth-hero .breadcrumbs a {
	position: relative;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.arth-sector .arth-hero .breadcrumbs a:hover,
.arth-sector .arth-hero .breadcrumbs a:focus-visible {
	opacity: 1;
}

.arth-sector .arth-hero .breadcrumbs a::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 1px;
	background-color: currentColor;
	transition: width 0.3s ease;
}

.arth-sector .arth-hero .breadcrumbs a:hover::before,
.arth-sector .arth-hero .breadcrumbs a:focus-visible::before {
	width: 100%;
}

.arth-sector .arth-hero__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: stretch;
}

/*
 * Laptops (1024–1599px). The panel carries a three-word heading at the site's
 * H1 size, which wraps to three lines and crowds the paragraph under it if the
 * column is any narrower than half. The photo has room to spare at this width,
 * so the split is even.
 */
@media (min-width: 1024px) {
	.arth-sector .arth-hero__grid {
		grid-template-columns: 6fr 6fr;
		gap: 0;
	}
}

/*
 * Large screens (1600px+, the theme's xlg breakpoint). Here the heading fits
 * comfortably in less width, so the photo takes the extra room back.
 */
@media (min-width: 1600px) {
	.arth-sector .arth-hero__grid {
		grid-template-columns: 5fr 7fr;
	}
}

.arth-sector .arth-hero__panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(2rem, 4vw, 4rem);
	border-radius: 3px 24px 3px 24px;
}

@media (min-width: 1024px) {
	.arth-sector .arth-hero__panel {
		border-radius: 3px 0 0 24px;
	}
}

.arth-sector .arth-hero__panel h1 {
	margin: 0;
}

.arth-sector .arth-hero__text {
	margin-top: 1rem;
}

.arth-sector .arth-hero__text > * + * {
	margin-top: 0.75rem;
}

/*
 * Button hover on the coloured panels.
 *
 * The theme's own intent for a plain .cta-wrapper is a navy hover —
 * `.cta-wrapper .cta-button:hover { background-color: #0e1433 }` in
 * abstracts/_buttons.scss. But layout/_404.scss line 38 adds a bare, global
 *
 *     .cta-button:hover { background-color: #2566c1 !important; }
 *
 * which overrides it everywhere, so a white button on a blue panel hovers to
 * the panel's own colour and disappears. Restoring the intended navy needs
 * !important as well — between two !important declarations specificity
 * decides, and this selector is far more specific.
 *
 * Applies to the hero panel and the contact callout panel, both of which are
 * blue or navy. The Portfolio band's button is deliberately left alone: it
 * sits on navy, where a navy hover would vanish for the same reason.
 */
.arth-sector .arth-hero__panel .cta-wrapper .cta-button:hover,
.arth-sector .arth-hero__panel .cta-wrapper .cta-button:focus-visible,
.arth-sector .arth-callout__panel .cta-wrapper .cta-button:hover,
.arth-sector .arth-callout__panel .cta-wrapper .cta-button:focus-visible {
	background-color: var(--black, #0e1433) !important;
}

.arth-sector .arth-hero__panel .cta-wrapper .cta-button:hover span,
.arth-sector .arth-hero__panel .cta-wrapper .cta-button:focus-visible span,
.arth-sector .arth-callout__panel .cta-wrapper .cta-button:hover span,
.arth-sector .arth-callout__panel .cta-wrapper .cta-button:focus-visible span {
	color: var(--white, #fff);
}

.arth-sector .arth-hero__media {
	position: relative;
	overflow: hidden;
	min-height: 260px;
}

.arth-sector .arth-hero__media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 260px;
	object-fit: cover;
}

/* ---------------------------------------------------------------------------
 * Positioning
 * ------------------------------------------------------------------------ */

.arth-sector .arth-positioning__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media (min-width: 1024px) {
	.arth-sector .arth-positioning__grid {
		grid-template-columns: 7fr 4fr;
		gap: 7rem;
	}
}

.arth-sector .arth-positioning__solutions-heading {
	display: block;
	font-weight: 600;
	margin-bottom: 0.75rem;
}

/* ---------------------------------------------------------------------------
 * Link lists
 * ------------------------------------------------------------------------ */

/*
 * Kill the theme's list bullets on every list this template builds.
 *
 * `<main>` carries the theme's .project-list-styles class, which sets
 * `list-style-type: disc` and `margin-left: 17px` on the *li* — so setting
 * list-style on the ul alone does nothing, and the solutions list came out
 * with a bullet *and* an arrow. These lists are navigation, not prose.
 *
 * Deliberately scoped to this template's own list classes, so body copy
 * written in a WYSIWYG keeps its normal bullets.
 */
.arth-sector .arth-link-list li,
.arth-sector .arth-chips li,
.arth-sector .arth-cols-2 > li,
.arth-sector .arth-cols-3 > li,
.arth-sector .arth-cols-4 > li {
	list-style: none;
	margin-left: 0;
	margin-bottom: 0;
}

.arth-sector .arth-link-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.arth-sector .arth-link-list li + li {
	margin-top: 0.5rem;
}

/*
 * Colour change on hover, no underline.
 *
 * A border-bottom here landed on top of the underline the link already draws,
 * so hovering produced two lines. The hover colour is the theme's own link
 * hover (#2566c1, as in .wysiwig-editor a:hover) rather than a browser
 * default.
 */
.arth-sector .arth-link-list a {
	color: var(--black, #0e1433);
	text-decoration: none;
	transition: color 0.3s ease;
}

.arth-sector .arth-link-list a:hover,
.arth-sector .arth-link-list a:focus-visible,
.arth-sector .arth-link-list a:active {
	color: var(--blue, #2566c1);
	text-decoration: none;
}

/* Arrow marker, matching the chevrons used in the site's menus. */
.arth-sector .arth-link-list--arrow li {
	position: relative;
	padding-left: 1.25rem;
}

.arth-sector .arth-link-list--arrow li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0.4rem;
	height: 0.4rem;
	border-top: 2px solid var(--blue, #2566c1);
	border-right: 2px solid var(--blue, #2566c1);
	transform: rotate(45deg);
}

.arth-sector .arth-link-list--inverse a {
	color: var(--white, #fff);
}

/* Expertise links, as chips that wrap. */
.arth-sector .arth-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.arth-sector .arth-chips a {
	display: inline-flex;
	align-items: center;
	padding: 0.55rem 1.15rem;
	border: 1px solid var(--black, #0e1433);
	border-radius: 3px 24px 3px 24px;
	color: var(--black, #0e1433);
	font-weight: 500;
	text-decoration: none;
	transition: border-radius 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.arth-sector .arth-chips a:hover,
.arth-sector .arth-chips a:focus-visible {
	border-radius: 3px;
	background-color: var(--black, #0e1433);
	color: var(--white, #fff);
}

/* ---------------------------------------------------------------------------
 * Other Sectors panel
 * ------------------------------------------------------------------------ */

.arth-sector .arth-other {
	background-color: var(--black, #0e1433);
	color: var(--white, #fff);
	padding: clamp(1.5rem, 3vw, 2.5rem);
	border-radius: 3px 24px 3px 24px;
}

.arth-sector .arth-other__heading {
	margin: 0 0 0.75rem;
}

.arth-sector .arth-other__text {
	margin-bottom: 1rem;
}

/* ---------------------------------------------------------------------------
 * Banner
 * ------------------------------------------------------------------------ */

/*
 * The band is a fixed shape rather than however tall the uploaded file
 * happens to be — a portrait photo was pushing the page down by a full
 * screen. 1440/502 is the ratio the theme's own Full Width Image block uses
 * (blocks/full-width-image/full-width-image.scss), with a hard ceiling so the
 * band cannot run away on very wide monitors: at 2560px the ratio alone would
 * give it 893px of height.
 *
 * The image fills that shape and is cropped from its centre.
 */
.arth-sector .arth-banner .img-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 1440 / 502;
	max-height: 34rem;
	overflow: hidden;
}

.arth-sector .arth-banner .img-wrap img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

/* ---------------------------------------------------------------------------
 * Section heading, and a button below the content
 * ------------------------------------------------------------------------ */

.arth-sector .arth-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem;
}

.arth-sector .arth-section-head h2 {
	margin: 0;
}

.arth-sector .arth-section-head--centred {
	justify-content: center;
	text-align: center;
}

/*
 * Button after the cards, centred under them, with a hairline rule separating
 * it from the grid — the button is a different kind of action from the cards
 * above it, and without the rule it read as a fourth item in the set.
 *
 * The alpha goes on the border colour, not on the element: `opacity` here
 * would fade the button too. Set per band, because a rule that reads as a
 * hairline on navy is invisible on off-white and vice versa.
 *
 * The wrapper is only rendered when there is a button, so this never leaves a
 * stray line under the cards.
 */
.arth-sector .arth-section-foot {
	display: flex;
	justify-content: center;
	margin-top: 2.5rem;
	padding-top: 2.5rem;
	border-top: 1px solid rgba(14, 20, 51, 0.15);
}

.arth-sector .arth-portfolio .arth-section-foot {
	border-top-color: rgba(255, 255, 255, 0.18);
}

/* ---------------------------------------------------------------------------
 * Column counts, shared by contacts and cards
 *
 * Always one per row on phones — three columns of contact details are
 * unreadable at that width whatever the editor picked.
 * ------------------------------------------------------------------------ */

.arth-sector .arth-cols-2,
.arth-sector .arth-cols-3,
.arth-sector .arth-cols-4 {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (min-width: 768px) {
	.arth-sector .arth-cols-2,
	.arth-sector .arth-cols-3,
	.arth-sector .arth-cols-4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.arth-sector .arth-cols-3 {
		grid-template-columns: repeat(3, 1fr);
	}

	.arth-sector .arth-cols-4 {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* ---------------------------------------------------------------------------
 * Key Contacts
 *
 * Two styles, chosen per page on the Key Contacts tab. Everything they share
 * lives here; the style-specific rules follow.
 * ------------------------------------------------------------------------ */

/*
 * More air between people than between cards elsewhere. Contact cards are read
 * one at a time rather than scanned as a set, and at 1.5rem the columns ran
 * together into a single block of text.
 */
.arth-sector .arth-contacts__grid {
	gap: 2.5rem 2rem;
}

@media (min-width: 1024px) {
	.arth-sector .arth-contacts__grid {
		gap: 3.5rem 4rem;
	}
}

.arth-sector .arth-contact__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/*
	 * Bias the crop upward. These are head-and-shoulders portraits, and a
	 * centred crop on a tall photo cuts the top of the head off.
	 */
	object-position: center 22%;
}

/*
 * Note: the name and role are <span>s, not <p>s. The site's Customizer CSS has
 * a global `p { margin-bottom: 1.2em !important }`, which silently overrode
 * every margin set here. See templates/sections/contacts.php.
 *
 * The name has to outrank the job title. Previously both were body size at the
 * same weight, so the two read as one undifferentiated pair.
 */
.arth-sector .arth-contact__name {
	display: block;
	margin: 0;
	font-size: clamp(1.15rem, 1rem + 0.45vw, 1.4rem);
	font-weight: 600;
	line-height: 1.25;
}

.arth-sector .arth-contact__role {
	display: block;
	margin: 0.15rem 0 0;
	font-size: 0.9rem;
	opacity: 0.6;
	line-height: 1.35;
}

/* Contact rows: icon, then the value. */
.arth-sector .arth-contact__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.arth-sector .arth-contact__links li {
	list-style: none;
	margin-left: 0;
	margin-bottom: 0;
}

.arth-sector .arth-contact__links a {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	color: inherit;
	text-decoration: none;
	transition: color 0.3s ease;
}

.arth-sector .arth-contact__links a:hover,
.arth-sector .arth-contact__links a:focus-visible,
.arth-sector .arth-contact__links a:active {
	color: var(--blue, #2566c1);
	text-decoration: none;
}

.arth-sector .arth-icon {
	flex: 0 0 auto;
	width: 0.95em;
	height: 0.95em;
	color: var(--blue, #2566c1);
	transition: color 0.3s ease;
}

.arth-sector .arth-contact__links a:hover .arth-icon,
.arth-sector .arth-contact__links a:focus-visible .arth-icon {
	color: currentColor;
}

.arth-sector .arth-contact__label {
	overflow-wrap: anywhere;
}

/* ---------------------------------------------------------------------------
 * Style 1 — Portrait
 *
 * A tall photo carrying the theme's asymmetric curve (the same
 * `6px 125px 6px 125px` used by .service-breakdown .service-item), with the
 * details listed underneath. Closest to the July design.
 * ------------------------------------------------------------------------ */

/*
 * Square rather than 4:5. The taller frame gave each card the presence of a
 * hero image, so three of them dominated the page.
 *
 * One carve, bottom right — the same corner the hero photo uses, so the two
 * agree rather than the page carrying curves on opposite diagonals.
 */
.arth-sector .arth-contacts--portrait .arth-contact__photo {
	overflow: hidden;
	border-radius: 6px 6px 96px 6px;
	aspect-ratio: 1 / 1;
	background-color: var(--black, #0e1433);
}

.arth-sector .arth-contacts--portrait .arth-contact__body {
	margin-top: 1.6rem;
}

/* A hairline rule separating the person from their contact details. */
.arth-sector .arth-contacts--portrait .arth-contact__links {
	margin-top: 0.9rem;
	padding-top: 0.9rem;
	border-top: 1px solid rgba(14, 20, 51, 0.15);
}

.arth-sector .arth-contacts--portrait .arth-contact__links li + li {
	margin-top: 0.65rem;
}

/* ---------------------------------------------------------------------------
 * Style 2 — Panel
 *
 * A white card on the off-white band, with the photo inside it and the three
 * contact methods as round icon buttons. Denser than Portrait, so it holds up
 * better at four per row, and the buttons echo the site's pill CTA.
 * ------------------------------------------------------------------------ */

.arth-sector .arth-contacts--panel .arth-contact {
	display: flex;
	flex-direction: column;
	background-color: var(--white, #fff);
	border-radius: 3px 24px 3px 24px;
	overflow: hidden;
}

.arth-sector .arth-contacts--panel .arth-contact__photo {
	aspect-ratio: 1 / 1;
	background-color: var(--black, #0e1433);
}

.arth-sector .arth-contacts--panel .arth-contact__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.25rem 1.35rem 1.35rem;
}

/* Pin the buttons to the bottom so every card in a row lines up. */
.arth-sector .arth-contacts--panel .arth-contact__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: auto;
	padding-top: 1.1rem;
}

/*
 * Icon-only buttons. The value stays in the markup for screen readers and as
 * the link's title, so the address is still reachable without sighted hover.
 */
.arth-sector .arth-contacts--panel .arth-contact__label {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.arth-sector .arth-contacts--panel .arth-contact__links a {
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 3px 14px 3px 14px;
	background-color: var(--off-white, #f3f1f1);
	transition: background-color 0.3s ease, border-radius 0.3s ease;
}

.arth-sector .arth-contacts--panel .arth-contact__links a:hover,
.arth-sector .arth-contacts--panel .arth-contact__links a:focus-visible {
	border-radius: 3px;
	background-color: var(--black, #0e1433);
}

.arth-sector .arth-contacts--panel .arth-contact__links a:hover .arth-icon,
.arth-sector .arth-contacts--panel .arth-contact__links a:focus-visible .arth-icon {
	color: var(--white, #fff);
}

.arth-sector .arth-contacts--panel .arth-icon {
	width: 1.05rem;
	height: 1.05rem;
}

/* ---------------------------------------------------------------------------
 * Portfolio and Related Services cards
 * ------------------------------------------------------------------------ */

.arth-sector .arth-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.arth-sector .arth-card__media {
	display: block;
	overflow: hidden;
	border-radius: 3px 24px 3px 24px;
	aspect-ratio: 4 / 3;
	background-color: var(--black, #0e1433);
}

.arth-sector .arth-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.arth-sector .arth-card__link:hover .arth-card__media img,
.arth-sector .arth-card__link:focus-visible .arth-card__media img {
	transform: scale(1.04);
}

/*
 * Card label.
 *
 * Was a plain span at body size with a hover underline, which left long
 * project titles reading as loose running text under the image rather than as
 * the card's title. Now it is sized and weighted as a title, on its own
 * baseline grid, with the chevron the site uses elsewhere to mark a link.
 */
.arth-sector .arth-card__label {
	display: block;
	margin-top: 1rem;
	font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
	font-weight: 600;
	line-height: 1.5;
	text-wrap: balance;
	transition: color 0.3s ease;
}

.arth-sector .arth-card__label::after {
	content: "";
	display: inline-block;
	width: 0.4em;
	height: 0.4em;
	margin-left: 0.5em;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg) translateY(-0.1em);
	opacity: 0.6;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.arth-sector .arth-card__link:hover .arth-card__label::after,
.arth-sector .arth-card__link:focus-visible .arth-card__label::after {
	transform: rotate(45deg) translate(0.15em, -0.25em);
	opacity: 1;
}

/*
 * Colour, not an underline. Portfolio sits on navy and Related Services on
 * off-white, so the hover colour is set per band.
 */
.arth-sector .arth-portfolio .arth-card__link:hover .arth-card__label,
.arth-sector .arth-portfolio .arth-card__link:focus-visible .arth-card__label {
	color: #7ea9e8;
}

.arth-sector .arth-related .arth-card__link:hover .arth-card__label,
.arth-sector .arth-related .arth-card__link:focus-visible .arth-card__label {
	color: var(--blue, #2566c1);
}

/*
 * Placeholder for a card or contact with no image, so one missing photo does
 * not collapse its card and break the row.
 */
.arth-sector .arth-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 160px;
	background-color: var(--black, #0e1433);
}

/* ---------------------------------------------------------------------------
 * Content sections — the repeatable middle
 * ------------------------------------------------------------------------ */

/* Intro callout: heading left, copy right, matching the site's intro bands. */
.arth-sector .arth-band__intro,
.arth-sector .arth-band__head {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: start;
}

@media (min-width: 1024px) {
	.arth-sector .arth-band__intro,
	.arth-sector .arth-band__head {
		grid-template-columns: 5fr 7fr;
		gap: 4rem;
	}
}

.arth-sector .arth-band__intro h2,
.arth-sector .arth-band__head h2 {
	margin: 0;
}

/* Two-column text below the heading row. */
.arth-sector .arth-band__cols {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media (min-width: 1024px) {
	.arth-sector .arth-band__cols {
		grid-template-columns: repeat(2, 1fr);
		gap: 4rem;
	}
}

/*
 * Grouped lists. Two columns with a hairline between them, matching the
 * existing "Offshore Wind Services" section. Groups flow down the first column
 * then the second, so an odd number does not leave a gap mid-page.
 */
.arth-sector .arth-groups {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
}

@media (min-width: 1024px) {
	.arth-sector .arth-groups {
		grid-template-columns: repeat(2, 1fr);
		column-gap: 4rem;
		row-gap: 3rem;
	}

	.arth-sector .arth-groups > .arth-group:nth-child(even) {
		padding-left: 4rem;
		border-left: 1px solid currentColor;
	}

	/*
	 * The rule is drawn in the band's text colour, so it needs taking right
	 * down — at full strength it reads as a table border rather than a divider.
	 */
	.arth-sector .arth-groups > .arth-group:nth-child(even) {
		border-left-color: rgba(14, 20, 51, 0.15);
	}

	.arth-sector .text-white .arth-groups > .arth-group:nth-child(even),
	.arth-sector .arth-band.text-white .arth-groups > .arth-group:nth-child(even) {
		border-left-color: rgba(255, 255, 255, 0.18);
	}
}

.arth-sector .arth-group__heading {
	margin: 0 0 1rem;
}

/* ---------------------------------------------------------------------------
 * Benefits — "Why choose Arthian?"
 * ------------------------------------------------------------------------ */

.arth-sector .arth-benefit {
	display: flex;
	flex-direction: column;
	position: relative;
	padding: 1.5rem;
	background-color: var(--off-white, #f3f1f1);
	border-radius: 96px 6px 6px 6px;
	min-height: 15rem;
}

/* Icon sits top right, out of the way of the carved corner. */
.arth-sector .arth-benefit__icon {
	position: absolute;
	top: 1.25rem;
	right: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	background-color: var(--blue, #2566c1);
	border-radius: 3px;
}

.arth-sector .arth-benefit__icon img {
	display: block;
	width: 1.6rem;
	height: 1.6rem;
	object-fit: contain;
}

/* Copy is pinned to the bottom so cards in a row share a baseline. */
.arth-sector .arth-benefit__title {
	display: block;
	margin-top: auto;
	padding-top: 3rem;
	font-size: clamp(1.15rem, 1rem + 0.45vw, 1.4rem);
	font-weight: 600;
	line-height: 1.25;
}

.arth-sector .arth-benefit__text {
	display: block;
	margin-top: 0.5rem;
	line-height: 1.45;
}

.arth-sector .arth-benefit__text p {
	margin-bottom: 0;
}

/* ---------------------------------------------------------------------------
 * Contact callout
 * ------------------------------------------------------------------------ */

/*
 * The section is either a solid colour (a bg-* utility from the theme) or a
 * photo set inline. Cover/centre only matters in the photo case, but costs
 * nothing when there is no image.
 */
.arth-sector .arth-callout {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	padding-top: clamp(3rem, 6vw, 7rem);
	padding-bottom: clamp(3rem, 6vw, 7rem);
}

/*
 * A light darkening pass over a photo background, so the panel reads as
 * sitting on the image rather than competing with it — the stock shots are
 * bright skies, which leave the blue panel floating.
 *
 * Only on the photo option; the solid colours need nothing. A pseudo-element
 * rather than an opacity on the section, which would fade the panel too.
 */
.arth-sector .arth-callout--photo {
	position: relative;
}

.arth-sector .arth-callout--photo::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(14, 20, 51, 0.35);
	pointer-events: none;
}

/* Keep the panel above the overlay. */
.arth-sector .arth-callout--photo > .wrap {
	position: relative;
	z-index: 1;
}

/*
 * Panel centred in the band, with the copy centred inside it. The button is
 * centred by `align-items`, so it stays under the middle of the text rather
 * than hanging off the left edge.
 */
.arth-sector .arth-callout__panel {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: clamp(2rem, 5vw, 4rem);
	border-radius: 3px 96px 3px 96px;
	margin-left: auto;
	margin-right: auto;
}

@media (min-width: 1024px) {
	.arth-sector .arth-callout__panel {
		max-width: 62rem;
	}
}

.arth-sector .arth-callout__panel h2 {
	margin: 0 0 1rem;
}

.arth-sector .arth-callout__text {
	margin-bottom: 2rem;
	max-width: 48rem;
}

/* The Customizer's global `p { margin-bottom: 1.2em !important }` would
 * otherwise add a second gap under the last line before the button. */
.arth-sector .arth-callout__text p:last-child {
	margin-bottom: 0 !important;
}

/* ---------------------------------------------------------------------------
 * Case study spotlight
 *
 * Image one side, content the other, with the image always above the text on
 * phones — a 50/50 split at that width leaves neither readable.
 *
 * Named "case study" rather than "spotlight": the July design already calls
 * the Hero at the top of the page the Showcase/Spotlight block.
 * ------------------------------------------------------------------------ */

.arth-sector .arth-case-study {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: center;
}

@media (min-width: 1024px) {
	.arth-sector .arth-case-study {
		grid-template-columns: repeat(2, 1fr);
		gap: 4rem;
	}

	/*
	 * Source order is image then text, so "image right" is a visual swap only.
	 * Screen readers and phones keep the reading order either way.
	 */
	.arth-sector .arth-case-study--image-right .arth-case-study__media {
		order: 2;
	}
}

/*
 * No `overflow: hidden` and no background here.
 *
 * The theme's GSAP rounds the corner on the <img> itself. A background on this
 * wrapper sits behind that corner, so the carve filled with navy instead of
 * revealing the band behind it - which is why it read as square. The
 * placeholder keeps its own background, below, for entries with no photo.
 */
.arth-sector .arth-case-study__media {
	position: relative;
	aspect-ratio: 596 / 471;
}

.arth-sector .arth-case-study__media .arth-card__placeholder {
	background-color: var(--black, #0e1433);
}

.arth-sector .arth-case-study__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* A label, not prose — the Customizer's global `p` margin would space it off. */
.arth-sector .arth-case-study__eyebrow {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.6;
}

.arth-sector .arth-case-study__body h2 {
	margin: 0;
}

.arth-sector .arth-case-study__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

/* ---------------------------------------------------------------------------
 * Accordion
 *
 * Reproduces the theme's Two Column Accordion styling
 * (blocks/two-column-accordion/two-column-accordion.scss). Same values — the
 * theme scopes all of it to `.two-column-accordion`, so none of it reaches
 * anything rendered here.
 * ------------------------------------------------------------------------ */

.arth-sector .arth-accordion .accordion-item {
	padding-block: 1.5rem;
	border-bottom: 1px solid #ccc;
	cursor: pointer;
}

.arth-sector .arth-accordion .accordion-item:first-child {
	border-top: 1px solid #ccc;
}

.arth-sector .arth-accordion button {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0;
	background: transparent;
	border: 0;
	color: inherit;
	text-align: left;
	cursor: pointer;
}

.arth-sector .arth-accordion .accordion-question span {
	font-size: clamp(1.1rem, 1.012rem + 0.376vw, 1.35rem);
	font-weight: 500;
}

.arth-sector .arth-accordion svg {
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
}

/* The plus loses its upright stroke to become a minus. */
.arth-sector .arth-accordion .accordion-question .vertical {
	transform-origin: center;
	transition: transform 0.25s ease, opacity 0.2s ease;
}

.arth-sector .arth-accordion .accordion-question.is-open .vertical {
	opacity: 0;
	transform: scaleY(0);
}

.arth-sector .arth-accordion .accordion-answer {
	padding: 2rem 4rem 2rem 0;
}

.arth-sector .arth-accordion .accordion-answer[hidden] {
	display: none !important;
}

/*
 * On the dark bands the rules and the icon ground both need to lift off the
 * navy, which the theme never has to handle — its accordion is only ever on
 * a light background.
 */
.arth-sector .text-white .arth-accordion .accordion-item {
	border-bottom-color: rgba(255, 255, 255, 0.2);
}

.arth-sector .text-white .arth-accordion .accordion-item:first-child {
	border-top-color: rgba(255, 255, 255, 0.2);
}
