/*
Theme Name: Blocksy Child
Description: Child theme for Blocksy, used to hold custom page templates safely across parent theme updates.
Template: blocksy
Version: 1.2.1
Text Domain: blocksy-child
*/

/* =========================================================
   Policy document pages, product pages & annual return listing
   Scoped to .policy-page-template / .product-page-template /
   .annual-return-page-template so nothing else on the site
   (built with Blocksy's own styling) is affected.
   ========================================================= */

.policy-page-template,
.product-page-template,
.annual-return-page-template {
	--policy-text: #2b2f36;
	--policy-heading: #14213d;
	--policy-accent: #1e4d8f;
	--policy-accent-soft: #eaf1fb;
	--policy-border: #dfe4ea;
	--policy-muted: #5b6472;
	--policy-max-width: 840px;

	background: #fff;
}

.policy-page-template .entry-header,
.product-page-template .entry-header,
.annual-return-page-template .entry-header {
	max-width: var(--policy-max-width);
	margin: 0 auto;
	padding: 2.5rem 1.25rem 0.5rem;
	text-align: center;
}

.policy-page-template .entry-title,
.product-page-template .entry-title,
.annual-return-page-template .entry-title {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: clamp(1.5rem, 4vw + 0.5rem, 2.35rem);
	font-weight: 700;
	line-height: 1.25;
	color: var(--policy-heading);
	margin: 0 0 0.75rem;
	letter-spacing: -0.01em;
}

.policy-page-template .entry-header::after,
.product-page-template .entry-header::after,
.annual-return-page-template .entry-header::after {
	content: "";
	display: block;
	width: 64px;
	height: 4px;
	margin: 0.5rem auto 0;
	background: var(--policy-accent);
	border-radius: 2px;
}

/* ---------- Content wrapper ---------- */

.policy-content,
.product-content {
	max-width: var(--policy-max-width);
	margin: 0 auto;
	padding: 1.5rem 1.25rem 3rem;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--policy-text);
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.policy-content > *:first-child,
.product-content > *:first-child {
	margin-top: 0;
}

/* ---------- Headings ---------- */

.policy-content h1, .product-content h1,
.policy-content h2, .product-content h2,
.policy-content h3, .product-content h3,
.policy-content h4, .product-content h4,
.policy-content h5, .product-content h5,
.policy-content h6, .product-content h6 {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--policy-heading);
	font-weight: 700;
	line-height: 1.35;
	margin: 2rem 0 0.85rem;
	scroll-margin-top: 5rem;
}

.policy-content h2, .product-content h2 {
	font-size: clamp(1.2rem, 2.4vw + 0.6rem, 1.5rem);
	padding-bottom: 0.4rem;
	border-bottom: 2px solid var(--policy-border);
}

.policy-content h3, .product-content h3 {
	color: var(--policy-accent);
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-size: 0.95rem;
}

.policy-content h4, .product-content h4 {
	font-size: 1.05rem;
	color: var(--policy-heading);
}

/* ---------- Paragraphs & inline text ---------- */

.policy-content p, .product-content p {
	margin: 0 0 1rem;
}

.policy-content strong, .product-content strong {
	color: var(--policy-heading);
	font-weight: 700;
}

.policy-content a, .product-content a {
	color: var(--policy-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.policy-content a:hover, .product-content a:hover {
	text-decoration: none;
}

/* ---------- Blockquotes (used heavily as intro/emphasis blocks) ---------- */

.policy-content blockquote, .product-content blockquote {
	margin: 0 0 1.25rem;
	padding: 0.9rem 1.1rem;
	background: var(--policy-accent-soft);
	border-left: 4px solid var(--policy-accent);
	border-radius: 0 8px 8px 0;
}

.policy-content blockquote p:last-child, .product-content blockquote p:last-child {
	margin-bottom: 0;
}

.policy-content blockquote blockquote, .product-content blockquote blockquote {
	margin-top: 0.75rem;
	background: #fff;
	border-left-color: var(--policy-muted);
}

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

.policy-content ul, .product-content ul,
.policy-content ol, .product-content ol {
	margin: 0 0 1.25rem;
	padding-left: 1.4rem;
}

.policy-content li, .product-content li {
	margin-bottom: 0.5rem;
	padding-left: 0.15rem;
}

.policy-content li > p, .product-content li > p {
	margin-bottom: 0.5rem;
}

.policy-content ul ul, .product-content ul ul,
.policy-content ul ol, .product-content ul ol,
.policy-content ol ul, .product-content ol ul,
.policy-content ol ol, .product-content ol ol {
	margin-top: 0.5rem;
}

.policy-content ol.unnumbered, .product-content ol.unnumbered {
	list-style: none;
	padding-left: 0;
}

/* ---------- Tables ---------- */

.policy-content table, .product-content table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	margin: 0 0 1.5rem;
	font-size: 0.92rem;
}

.policy-content table th, .product-content table th,
.policy-content table td, .product-content table td {
	border: 1px solid var(--policy-border);
	padding: 0.6rem 0.75rem;
	text-align: left;
	vertical-align: top;
	overflow-wrap: break-word;
}

/* The Word-to-HTML conversion wraps most table cell content in a
   <blockquote>, which is meant to style prose callouts elsewhere on
   the page, not table cells. Left as-is, it puts a light, padded box
   inside every cell and makes header text (white-on-navy) render as
   white-on-near-white and unreadable. Strip that styling back down
   to plain text whenever a blockquote lands inside a table cell. */
.policy-content table blockquote, .product-content table blockquote {
	margin: 0;
	padding: 0;
	background: none;
	border-left: none;
	border-radius: 0;
	color: inherit;
}

.policy-content table blockquote p, .product-content table blockquote p {
	margin: 0 0 0.35rem;
}

.policy-content table blockquote p:last-child, .product-content table blockquote p:last-child {
	margin-bottom: 0;
}

/* Same conversion artifact occasionally drops a full list inside a
   header/data cell; the normal body-text list indent is too wide for
   a table cell. */
.policy-content table ul, .product-content table ul,
.policy-content table ol, .product-content table ol {
	margin: 0.35rem 0;
	padding-left: 1.1rem;
}

/* An empty header cell only happens by accident (a merged/split
   header in the source document) — collapse it instead of showing a
   bare colored box with nothing in it. Body cells are left alone: an
   empty <td> in a checklist-style table is meaningful ("not
   applicable") and should keep its grid border. */
.policy-content table th:empty, .product-content table th:empty {
	padding: 0;
	border: none;
}

.product-content table thead th {
	background: var(--policy-heading);
	font-weight: 600;
}

.policy-content table thead th {
	font-weight: 600;
}

.policy-content table tr.odd, .product-content table tr.odd {
	background: #fff;
}

.policy-content table tr.even, .product-content table tr.even {
	background: #f6f8fb;
}

/* Make wide tables scroll horizontally on small screens instead of
   squashing or breaking the layout. */
.policy-content .policy-table-scroll, .product-content .policy-table-scroll {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 0 0 1.5rem;
}

.policy-content .policy-table-scroll table, .product-content .policy-table-scroll table {
	margin-bottom: 0;
	min-width: 480px;
}

/* ---------- Registered office / footer block ---------- */

.policy-registered-office,
.product-registered-office {
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--policy-border);
	font-size: 0.9rem;
	color: var(--policy-muted);
	text-align: center;
	line-height: 1.6;
}

.policy-registered-office strong,
.product-registered-office strong {
	color: var(--policy-text);
}

/* ---------- Elementor zones (optional, around hard-coded content) ---------- */

.policy-page-template .elementor-zone,
.product-page-template .elementor-zone {
	max-width: none;
}

.policy-page-template .elementor-zone-top,
.product-page-template .elementor-zone-top {
	margin-bottom: 1.5rem;
}

.policy-page-template .elementor-zone-bottom,
.product-page-template .elementor-zone-bottom {
	margin-top: 1.5rem;
}

/* =========================================================
   Annual Return listing page
   ========================================================= */

.annual-return-content {
	max-width: var(--policy-max-width);
	margin: 0 auto;
	padding: 1.5rem 1.25rem 3rem;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--policy-text);
}

.annual-return-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--policy-border);
}

.annual-return-list li {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 0.25rem;
	border-bottom: 1px solid var(--policy-border);
}

.annual-return-icon {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--policy-accent-soft);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--policy-accent);
}

.annual-return-icon svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.annual-return-label {
	flex: 1 1 auto;
	font-size: 1rem;
	font-weight: 600;
	color: var(--policy-heading);
	min-width: 0;
}

.annual-return-download {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 1rem;
	background: var(--policy-accent);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 999px;
	white-space: nowrap;
	transition: background 0.15s ease;
}

.annual-return-download:hover {
	background: var(--policy-heading);
	color: #fff;
	text-decoration: none;
}

.annual-return-empty {
	padding: 1.5rem 0.25rem;
	color: var(--policy-muted);
	font-style: italic;
}

/* ---------- Mobile tuning ---------- */

@media (max-width: 600px) {
	.policy-page-template .entry-header,
	.product-page-template .entry-header,
	.annual-return-page-template .entry-header {
		padding: 1.75rem 1rem 0.25rem;
	}

	.policy-content, .product-content {
		padding: 1.25rem 1rem 2.5rem;
		font-size: 0.98rem;
	}

	.policy-content ul, .product-content ul,
	.policy-content ol, .product-content ol {
		padding-left: 1.15rem;
	}

	.policy-content table th, .product-content table th,
	.policy-content table td, .product-content table td {
		padding: 0.5rem 0.6rem;
		font-size: 0.88rem;
	}

	.annual-return-content {
		padding: 1.25rem 1rem 2.5rem;
	}

	.annual-return-list li {
		gap: 0.75rem;
		padding: 0.85rem 0.15rem;
	}

	.annual-return-icon {
		width: 34px;
		height: 34px;
	}

	.annual-return-icon svg {
		width: 17px;
		height: 17px;
	}

	.annual-return-label {
		font-size: 0.92rem;
	}

	.annual-return-download {
		padding: 0.4rem 0.8rem;
		font-size: 0.8rem;
	}
}
/* =========================================================
   About Us page
   Scoped to .about-us-page-template. Reuses the same brand
   colors as the policy/product templates above for consistency
   (heading #14213d, accent #1e4d8f) but under its own --au-*
   variable names since this is a full landing-style layout
   rather than a document-style page.
   ========================================================= */

.about-us-page-template {
	--au-text: #2b2f36;
	--au-heading: #14213d;
	--au-accent: #1e4d8f;
	--au-accent-soft: #eaf1fb;
	--au-border: #dfe4ea;
	--au-muted: #5b6472;
	--au-radius: 14px;
	color: var(--au-text);
	background: #fff;
	overflow-x: hidden;
}

.about-us-page-template .au-container {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}

.about-us-page-template .au-section {
	padding: 88px 0;
}

.about-us-page-template .au-eyebrow {
	display: inline-block;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--au-accent);
	margin-bottom: 12px;
}

.about-us-page-template .au-eyebrow--center {
	display: block;
	text-align: center;
}

.about-us-page-template .au-section__title {
	font-size: 34px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--au-heading);
	margin: 0 0 40px;
}

.about-us-page-template .au-section__title--center {
	text-align: center;
}

.about-us-page-template .about-us-content p {
	font-size: 18px;
	line-height: 1.7;
}

.about-us-page-template .au-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 16px;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.about-us-page-template .au-btn--primary {
	background: var(--au-accent);
	color: #fff;
}
.about-us-page-template .au-btn--primary:hover {
	background: var(--au-heading);
	transform: translateY(-2px);
}

.about-us-page-template .au-btn--ghost {
	background: transparent;
	color: var(--au-heading);
	border: 1.5px solid var(--au-border);
}
.about-us-page-template .au-btn--ghost:hover {
	border-color: var(--au-accent);
	color: var(--au-accent);
}

.about-us-page-template .au-btn--light {
	background: #fff;
	color: var(--au-heading);
}
.about-us-page-template .au-btn--light:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ---------- 1. Hero ---------- */
.about-us-page-template .au-hero {
	position: relative;
	background: #fff;
	padding: 90px 0 70px;
	overflow: hidden;
}

.about-us-page-template .au-hero__grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 56px;
	align-items: center;
	position: relative;
	z-index: 1;
}

.about-us-page-template .au-hero__title {
	font-size: 48px;
	font-weight: 700;
	line-height: 1.15;
	color: var(--au-heading);
	margin: 0 0 20px;
}

.about-us-page-template .au-hero__subtitle {
	font-size: 19px;
	color: var(--au-muted);
	margin-bottom: 32px;
	max-width: 46ch;
}

.about-us-page-template .au-hero__cta {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

.about-us-page-template .au-hero__media img {
	width: 100%;
	height: auto;
	border-radius: var(--au-radius);
	box-shadow: 0 20px 50px rgba(30, 77, 143, 0.15);
}

.about-us-page-template .au-hero__shape {
	position: absolute;
	top: -120px;
	right: -120px;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: radial-gradient(circle, var(--au-accent) 0%, rgba(30,77,143,0) 70%);
	opacity: 0.12;
	z-index: 0;
}

/* ---------- 2. Our Story ---------- */
.about-us-page-template .au-story {
	background: var(--au-accent-soft);
}

.about-us-page-template .au-story__grid {
	display: grid;
	grid-template-columns: 35% 1fr;
	gap: 56px;
	align-items: center;
	margin-top: 24px;
}

.about-us-page-template .au-story__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--au-radius);
	box-shadow: 0 16px 40px rgba(20, 33, 61, 0.12);
}

.about-us-page-template .au-story__text h2 {
	font-size: 32px;
	font-weight: 700;
	color: var(--au-heading);
	margin: 0 0 18px;
}

/* ---------- 3. Qualitative strip ---------- */
.about-us-page-template .au-strip {
	background: var(--au-heading);
	padding: 34px 0;
}

.about-us-page-template .au-strip__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.about-us-page-template .au-strip__item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: #fff;
	font-weight: 600;
	font-size: 16px;
	text-align: center;
}

.about-us-page-template .au-strip__icon {
	color: #6fa3e0;
	font-weight: 700;
}

/* ---------- 4. Values ---------- */
.about-us-page-template .au-values__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.about-us-page-template .au-value-card {
	background: #fff;
	border: 1px solid var(--au-border);
	border-radius: var(--au-radius);
	padding: 32px 24px;
	text-align: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-us-page-template .au-value-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 34px rgba(20, 33, 61, 0.12);
}

.about-us-page-template .au-value-card__icon {
	width: 52px;
	height: 52px;
	margin: 0 auto 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--au-accent-soft);
	color: var(--au-accent);
}

.about-us-page-template .au-value-card__icon svg {
	width: 26px;
	height: 26px;
}

.about-us-page-template .au-value-card h3 {
	font-size: 20px;
	font-weight: 700;
	color: var(--au-heading);
	margin: 0 0 10px;
}

.about-us-page-template .au-value-card p {
	font-size: 16px;
	color: var(--au-muted);
	margin: 0;
}

/* ---------- 5. Why choose us ---------- */
.about-us-page-template .au-why {
	background: var(--au-accent-soft);
}

.about-us-page-template .au-why__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
}

.about-us-page-template .au-why__text h2 {
	font-size: 32px;
	font-weight: 700;
	color: var(--au-heading);
	margin: 0 0 24px;
}

.about-us-page-template .au-checklist {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.about-us-page-template .au-checklist li {
	position: relative;
	padding-left: 30px;
	font-size: 17px;
	font-weight: 500;
}

.about-us-page-template .au-checklist li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--au-accent);
	font-weight: 700;
}

.about-us-page-template .au-why__media img {
	width: 100%;
	border-radius: var(--au-radius);
	box-shadow: 0 16px 40px rgba(20, 33, 61, 0.12);
}

/* ---------- 6. Products ---------- */
.about-us-page-template .au-products__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.about-us-page-template .au-product-card {
	background: #fff;
	border: 1px solid var(--au-border);
	border-radius: var(--au-radius);
	padding: 36px 28px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-us-page-template .au-product-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 34px rgba(20, 33, 61, 0.12);
}

.about-us-page-template .au-product-card__icon {
	width: 52px;
	height: 52px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: var(--au-accent-soft);
	color: var(--au-accent);
}

.about-us-page-template .au-product-card__icon svg {
	width: 26px;
	height: 26px;
}

.about-us-page-template .au-product-card h3 {
	font-size: 21px;
	font-weight: 700;
	color: var(--au-heading);
	margin: 0 0 10px;
}

.about-us-page-template .au-product-card p {
	font-size: 16px;
	color: var(--au-muted);
	margin: 0 0 18px;
}

.about-us-page-template .au-link {
	font-weight: 600;
	color: var(--au-accent);
	text-decoration: none;
}
.about-us-page-template .au-link:hover {
	color: var(--au-heading);
}

/* ---------- 7. Process ---------- */
.about-us-page-template .au-process__steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	position: relative;
}

.about-us-page-template .au-process__steps::before {
	content: "";
	position: absolute;
	top: 24px;
	left: 5%;
	right: 5%;
	height: 2px;
	background: var(--au-border);
	z-index: 0;
}

.about-us-page-template .au-process__step {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
	position: relative;
	z-index: 1;
}

.about-us-page-template .au-process__dot {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--au-accent);
	color: #fff;
	font-weight: 700;
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.about-us-page-template .au-process__label {
	font-weight: 600;
	font-size: 15px;
	color: var(--au-heading);
}

/* ---------- 8. CTA ---------- */
.about-us-page-template .au-cta {
	background: var(--au-heading);
	padding: 80px 0;
}

.about-us-page-template .au-cta__inner {
	text-align: center;
	color: #fff;
}

.about-us-page-template .au-cta__inner h2 {
	font-size: 32px;
	font-weight: 700;
	margin: 0 0 14px;
}

.about-us-page-template .au-cta__inner p {
	color: #d7e3f0;
	max-width: 52ch;
	margin: 0 auto 30px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
	.about-us-page-template .au-hero__grid,
	.about-us-page-template .au-story__grid,
	.about-us-page-template .au-why__grid {
		grid-template-columns: 1fr;
	}

	.about-us-page-template .au-hero__media {
		order: -1;
	}

	.about-us-page-template .au-hero__title {
		font-size: 36px;
	}

	.about-us-page-template .au-strip__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.about-us-page-template .au-values__grid,
	.about-us-page-template .au-products__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.about-us-page-template .au-process__steps {
		flex-direction: column;
		align-items: flex-start;
		gap: 28px;
	}

	.about-us-page-template .au-process__steps::before {
		top: 0;
		bottom: 0;
		left: 23px;
		width: 2px;
		height: auto;
		right: auto;
	}

	.about-us-page-template .au-process__step {
		flex-direction: row;
		text-align: left;
	}
}

@media (max-width: 600px) {
	.about-us-page-template .au-section {
		padding: 56px 0;
	}

	.about-us-page-template .au-hero {
		padding: 56px 0 44px;
	}

	.about-us-page-template .au-hero__title {
		font-size: 30px;
	}

	.about-us-page-template .au-values__grid,
	.about-us-page-template .au-products__grid,
	.about-us-page-template .au-strip__grid {
		grid-template-columns: 1fr;
	}
}