/*
Theme Name: Authentic Interior
Theme URI: https://www.authenticinterior.com/
Description: Update-safe editorial child theme for Authentic Interior.
Author: Authentic Interior
Template: blueprint
Version: 1.4.0
Text Domain: authentic-interior
*/

:root {
	--ai-ink: #201b24;
	--ai-paper: #fcfaf4;
	--ai-white: #fffefa;
	--ai-violet: #6537d8;
	--ai-lilac: #e7ddfc;
	--ai-citron: #daf566;
	--ai-rule: rgba(23, 23, 25, 0.18);
	--ai-serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
	--ai-sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
	color: var(--ai-ink);
	background: var(--ai-paper);
}

.cs-header,
.ai-global-header {
	color: var(--ai-ink);
	background: var(--ai-paper);
}

.ai-global-header {
	border-bottom: 1px solid var(--ai-rule);
}

.ai-header-desktop {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr) max-content;
	align-items: center;
	gap: clamp(22px, 2.2vw, 40px);
	min-height: 84px;
}

.ai-brand-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.28em;
	color: var(--ai-ink);
	font-family: "Iowan Old Style", Baskerville, Georgia, serif;
	font-size: clamp(24px, 2.1vw, 32px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.035em;
	text-decoration: none;
	text-transform: uppercase;
}

.ai-brand-link::after {
	width: 11px;
	height: 11px;
	margin: -19px 0 0 1px;
	border-top: 2px solid var(--ai-violet);
	border-right: 2px solid var(--ai-violet);
	background: linear-gradient(var(--ai-citron), var(--ai-citron)) top right / 5px 5px no-repeat;
	content: "";
}

.ai-header-nav {
	min-width: 0;
}

.ai-header-nav .cs-header__nav,
.ai-header-nav .cs-header__nav-inner {
	justify-content: center;
}

.ai-header-nav .cs-header__nav-inner {
	gap: clamp(14px, 1.35vw, 24px);
}

.ai-header-nav .cs-header__nav-inner > li > a {
	padding: 31px 0 28px;
	font-family: var(--ai-sans);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.025em;
	text-transform: none;
}

.ai-header-nav .cs-header__nav-inner > li > a::after {
	height: 2px;
	background: var(--ai-violet);
}

.ai-header-tools {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 15px;
}

.ai-header-tools .cs-header__scheme-toggle,
.ai-header-tools .cs-header__search-toggle {
	color: var(--ai-ink);
}

/* The legacy Elementor landing pages contained duplicate mastheads and footers. */
.page-template-elementor_header_footer .ai2 > .mast,
.page-template-elementor_header_footer .ai2 > .foot {
	display: none !important;
}

.page-id-13647 .cs-main-content,
.page-id-13654 .cs-main-content,
.page-id-13656 .cs-main-content {
	grid-template-columns: minmax(0, 1fr) !important;
}

/* Keep every editorial page module on one deliberate, shared grid. */
.page .ai2 .pagehero > .wrap,
.page .ai2 main > .wrap,
.page .ai2 > .signup {
	width: min(calc(100% - 48px), 1760px) !important;
	margin-right: auto !important;
	margin-left: auto !important;
	box-sizing: border-box;
}

.page .ai2 > .signup .signup-in {
	width: 100% !important;
	max-width: none !important;
	padding-right: clamp(28px, 4vw, 80px);
	padding-left: clamp(28px, 4vw, 80px);
	box-sizing: border-box;
}

/* About: more recognisable, editorial and connected to the main identity. */
.page-id-13654 .pagehero-grid {
	position: relative;
	background: var(--ai-lilac);
	overflow: hidden;
}

.page-id-13654 .pagehero-grid > div:first-child {
	padding: clamp(34px, 5vw, 88px);
	align-self: center;
}

.page-id-13654 .pagehero-grid::before {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 8px;
	height: 34%;
	background: var(--ai-violet);
	content: "";
}

.page-id-13654 .pagehero-grid::after {
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 2;
	width: 8px;
	height: 18%;
	background: var(--ai-citron);
	content: "";
}

.page-id-13654 .pagehero-grid figure {
	position: relative;
	height: 100%;
}

.page-id-13654 .pagehero-grid .portrait {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.page-id-13654 .pagehero-grid .caption {
	position: absolute;
	right: 18px;
	bottom: 18px;
	padding: 7px 10px;
	color: var(--ai-ink);
	background: var(--ai-citron);
	font-family: var(--ai-sans);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.page-id-13654 .split h2 {
	position: relative;
}

.page-id-13654 .split h2::before {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin: 0 12px 0 0;
	border-top: 2px solid var(--ai-violet);
	border-left: 2px solid var(--ai-violet);
	content: "";
	vertical-align: 0.7em;
}

.page-id-13654 .split:nth-of-type(2) {
	background: linear-gradient(90deg, var(--ai-lilac) 0 36%, transparent 36% 100%);
}

/* Replace the rejected near-black/neon CTA on About and Partner pages. */
.page .ai2 .contactbox {
	position: relative;
	padding: clamp(34px, 5vw, 82px) !important;
	color: var(--ai-white) !important;
	background: var(--ai-violet) !important;
	box-sizing: border-box;
	overflow: hidden;
}

.page .ai2 .contactbox::before {
	position: absolute;
	top: -0.28em;
	right: -0.06em;
	color: rgba(255, 254, 250, 0.075);
	content: "AUTHENTIC";
	font-family: var(--ai-serif);
	font-size: clamp(90px, 12vw, 180px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.055em;
	pointer-events: none;
}

.page .ai2 .contactbox > * {
	position: relative;
	z-index: 1;
}

.page .ai2 .contactbox h2,
.page .ai2 .contactbox p {
	color: var(--ai-white) !important;
}

.page .ai2 .contactbox .eyebrow {
	color: var(--ai-citron) !important;
}

.page .ai2 .contactbox a {
	color: var(--ai-white) !important;
	background: transparent !important;
	border: 1px solid rgba(255, 254, 250, 0.82) !important;
}

.page .ai2 .contactbox a:hover,
.page .ai2 .contactbox a:focus {
	color: var(--ai-ink) !important;
	background: var(--ai-white) !important;
}

/* The redesigned homepage receives a dynamic newsletter and lead module. */
.home .ai2 > .signup,
.home .ai2 > .hero,
.home .ai2 > .browse {
	display: none !important;
}

/* The editorial crop mark is the publication's recurring selection device. */
.home .ai2 .section h2,
.home .ai2 .editor h2,
.archive .cs-page__header-title,
.page .ai2 main > section > h2 {
	position: relative;
}

.home .ai2 .section h2::before,
.home .ai2 .editor h2::before,
.archive .cs-page__header-title::before,
.page .ai2 main > section > h2::before {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin: 0 11px 0 1px;
	border-top: 2px solid var(--ai-violet);
	border-left: 2px solid var(--ai-violet);
	content: "";
	vertical-align: 0.7em;
}

.ai-newsletter-bar {
	position: relative;
	z-index: 2;
	color: var(--ai-white);
	background: var(--ai-violet);
	border-bottom: 0;
	overflow: hidden;
}

.ai-newsletter-bar::after {
	position: absolute;
	right: 0;
	bottom: 0;
	width: min(220px, 22vw);
	height: 6px;
	background: var(--ai-citron);
	content: "";
}

.ai-newsletter-bar__inner {
	display: grid;
	grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
	align-items: center;
	gap: clamp(32px, 5vw, 80px);
	min-height: 126px;
	padding-top: 22px;
	padding-bottom: 22px;
}

.ai-eyebrow,
.ai-featured-card__category,
.ai-featured-card__meta {
	font-family: var(--ai-sans);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.ai-newsletter-bar .ai-eyebrow {
	color: var(--ai-citron);
}

.ai-newsletter-bar__copy h2 {
	margin: 3px 0 1px;
	font-family: var(--ai-serif);
	font-size: clamp(26px, 2.2vw, 36px);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.025em;
}

.ai-newsletter-bar__copy p {
	margin: 4px 0 0;
	font-family: var(--ai-sans);
	font-size: 13px;
	line-height: 1.45;
}

.ai-newsletter-bar__copy h2,
.ai-newsletter-bar__copy p {
	color: var(--ai-white);
}

.ai-newsletter-form__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	border-bottom: 1px solid rgba(255, 254, 250, 0.82);
}

.ai-newsletter-form input[type="email"] {
	min-width: 0;
	height: 48px;
	padding: 0 10px 0 0;
	color: var(--ai-white);
	background: transparent;
	border: 0;
	border-radius: 0;
	font-family: var(--ai-sans);
	font-size: 15px;
}

.ai-newsletter-form input[type="email"]::placeholder {
	color: rgba(255, 254, 250, 0.72);
}

.ai-newsletter-form input[type="email"]:focus {
	outline: 2px solid var(--ai-citron);
	outline-offset: 2px;
}

.ai-newsletter-form button {
	min-width: 116px;
	padding: 0 4px 0 18px;
	color: var(--ai-citron);
	background: transparent;
	border: 0;
	font-family: var(--ai-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ai-newsletter-form button:hover,
.ai-newsletter-form button:focus {
	color: var(--ai-white);
}

.ai-newsletter-form__consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 9px;
	font-family: var(--ai-sans);
	font-size: 10px;
	line-height: 1.35;
}

.ai-newsletter-form__consent input {
	accent-color: var(--ai-citron);
}

.ai-newsletter-form__consent input {
	margin-top: 2px;
}

.ai-featured {
	padding: 22px 0 56px;
	background: var(--ai-paper);
}

.ai-featured__grid {
	display: grid;
	grid-template-columns: minmax(0, 2.08fr) minmax(280px, 0.92fr);
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 14px;
	height: clamp(480px, calc(100svh - 235px), 660px);
}

.ai-featured-card {
	position: relative;
	min-width: 0;
	margin: 0;
	overflow: hidden;
	background: #c5c2bc;
}

.ai-featured-card--primary {
	grid-row: 1 / 3;
}

.ai-featured-card__link,
.ai-featured-card__shade,
.ai-featured-card__image {
	position: absolute;
	inset: 0;
}

.ai-featured-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ai-featured-card__shade {
	background: linear-gradient(180deg, rgba(8, 8, 8, 0.02) 30%, rgba(8, 8, 8, 0.78) 100%);
}

.ai-featured-card__content {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	padding: clamp(22px, 3.6vw, 54px);
	color: #fff;
}

.ai-featured-card--secondary .ai-featured-card__content {
	padding: 22px 24px;
}

.ai-featured-card h2 {
	max-width: 20ch;
	margin: 10px 0 12px;
	color: inherit;
	font-family: var(--ai-serif);
	font-size: clamp(36px, 4.3vw, 68px);
	font-weight: 500;
	line-height: 0.98;
	letter-spacing: -0.035em;
}

.ai-featured-card--secondary h2 {
	max-width: 28ch;
	margin: 6px 0 8px;
	font-size: clamp(21px, 1.8vw, 30px);
	line-height: 1.05;
}

.ai-featured-card__link:hover .ai-featured-card__image,
.ai-featured-card__link:focus .ai-featured-card__image {
	transform: scale(1.025);
}

.ai-featured-card__link:focus-visible {
	outline: 3px solid var(--ai-white);
	outline-offset: -6px;
}

.ai-featured-card--primary::before {
	position: absolute;
	top: 22px;
	left: 22px;
	z-index: 3;
	width: 18px;
	height: 18px;
	border-top: 3px solid var(--ai-citron);
	border-left: 3px solid var(--ai-citron);
	content: "";
	pointer-events: none;
}

.ai-featured-card--primary .ai-featured-card__category {
	display: inline-block;
	padding: 5px 7px 4px;
	color: var(--ai-ink);
	background: var(--ai-citron);
}

/* A controlled burst of brand colour gives the collections module a signature. */
.home .ai2 .browse {
	position: relative;
	overflow: hidden;
	color: var(--ai-white) !important;
	background: var(--ai-violet) !important;
}

.home .ai2 .browse::before {
	position: absolute;
	top: -0.32em;
	right: -0.08em;
	color: rgba(255, 254, 250, 0.075);
	content: "AUTHENTIC";
	font-family: var(--ai-serif);
	font-size: clamp(92px, 13vw, 190px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.055em;
	pointer-events: none;
}

.home .ai2 .browse .wrap {
	position: relative;
	z-index: 1;
}

.home .ai2 .browse .eyebrow {
	color: var(--ai-citron) !important;
}

.home .ai2 .browse h2,
.home .ai2 .browse a {
	color: var(--ai-white) !important;
}

.home .ai2 .browse a {
	border-bottom-color: rgba(255, 254, 250, 0.5) !important;
}

.home .ai2 .browse a:hover,
.home .ai2 .browse a:focus {
	color: var(--ai-citron) !important;
}

/* Legacy Elementor articles inherit the same readable text colour as the theme.
   Explicit colours on individual editorial components remain untouched. */
body.single-post {
	--e-global-color-text: var(--cs-color-primary, #201b24);
}

/* Article reading experience: generous imagery, disciplined reading measure. */
.single-post .entry-content > p,
.single-post .entry-content > h2,
.single-post .entry-content > h3,
.single-post .entry-content > h4,
.single-post .entry-content > ul,
.single-post .entry-content > ol,
.single-post .entry-content > blockquote {
	max-width: 760px;
	margin-right: auto;
	margin-left: auto;
}

.single-post .entry-content > p,
.single-post .entry-content > ul,
.single-post .entry-content > ol {
	font-family: var(--ai-serif);
	font-size: clamp(18px, 1.45vw, 21px);
	line-height: 1.72;
}

.single-post .entry-content > h2,
.single-post .entry-content > h3 {
	font-family: var(--ai-serif);
	font-weight: 500;
	letter-spacing: -0.025em;
}

.single-post .entry-content > blockquote {
	padding: 24px 0 24px 28px;
	border-left: 3px solid var(--ai-violet);
	font-family: var(--ai-serif);
	font-size: clamp(24px, 2.4vw, 38px);
	font-style: italic;
	line-height: 1.25;
}

/* A two-image Gutenberg gallery is the repeatable editorial photo pair. */
.single-post .wp-block-gallery.has-nested-images.columns-2 {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	width: calc(100% - 40px) !important;
	max-width: 1040px !important;
	margin: 30px auto !important;
}

.single-post .wp-block-gallery.has-nested-images.columns-2 > .wp-block-image {
	width: 100% !important;
	min-width: 0;
	margin: 0;
}

.single-post .wp-block-gallery.has-nested-images.columns-2 > .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 650px;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.single-post .wp-block-gallery.has-nested-images.columns-2 > .wp-block-image figcaption {
	display: none;
}

@media (max-width: 640px) {
	.single-post .wp-block-gallery.has-nested-images.columns-2 {
		gap: 8px;
		width: calc(100% - 32px);
	}
}

.single-post .cs-entry__header .cs-entry__title {
	font-family: var(--ai-serif);
	font-weight: 500;
	letter-spacing: -0.035em;
}

/*
 * Older Elementor stories contain presentation styles inside individual text
 * widgets. Keep their content and image layouts intact, but bring the reading
 * typography into the same system as new block-editor stories. This prevents
 * oversized legacy introductions on mobile and makes future theme updates
 * apply consistently without rewriting hundreds of articles.
 */
.single-post.elementor-page .entry-content .elementor-widget-text-editor p,
.single-post.elementor-page .entry-content .elementor-widget-text-editor h2,
.single-post.elementor-page .entry-content .elementor-widget-text-editor h3,
.single-post.elementor-page .entry-content .elementor-widget-text-editor h4,
.single-post.elementor-page .entry-content .elementor-widget-text-editor ul,
.single-post.elementor-page .entry-content .elementor-widget-text-editor ol,
.single-post.elementor-page .entry-content .elementor-widget-text-editor blockquote {
	max-width: 760px;
	margin-right: auto;
	margin-left: auto;
}

.single-post.elementor-page .entry-content .elementor-widget-text-editor p,
.single-post.elementor-page .entry-content .elementor-widget-text-editor ul,
.single-post.elementor-page .entry-content .elementor-widget-text-editor ol {
	font-family: var(--ai-serif);
	font-size: clamp(18px, 1.45vw, 21px);
	line-height: 1.72;
}

.single-post.elementor-page .entry-content .elementor-widget-text-editor h2,
.single-post.elementor-page .entry-content .elementor-widget-text-editor h3,
.single-post.elementor-page .entry-content .elementor-widget-text-editor h4 {
	font-family: var(--ai-serif);
	font-weight: 500;
	letter-spacing: -0.025em;
}

.single-post.elementor-page .entry-content .elementor-widget-text-editor h2 {
	font-size: clamp(31px, 3.4vw, 46px);
	line-height: 1.12;
}

.single-post.elementor-page .entry-content .elementor-widget-text-editor h3 {
	font-size: clamp(24px, 2.8vw, 36px);
	line-height: 1.25;
}

.single-post.elementor-page .entry-content .elementor-widget-text-editor h4 {
	font-size: clamp(20px, 2vw, 28px);
	line-height: 1.3;
}

.single-post.elementor-page .entry-content .elementor-widget-text-editor h2 span,
.single-post.elementor-page .entry-content .elementor-widget-text-editor h3 span,
.single-post.elementor-page .entry-content .elementor-widget-text-editor h4 span {
	font-family: inherit !important;
	font-size: inherit !important;
	line-height: inherit !important;
	letter-spacing: inherit !important;
}

/* Partner page: persuasive and premium without the previous saturated block. */
.page-id-13656 .partnerhero {
	position: relative;
	color: var(--ai-ink) !important;
	background: var(--ai-lilac) !important;
}

.page-id-13656 .partnerhero .kicker,
.page-id-13656 .partnerhero .eyebrow,
.page-id-13656 .partnerhero a {
	color: var(--ai-violet) !important;
}

.page-id-13656 .partnerhero h1 {
	max-width: 12ch;
	color: var(--ai-ink) !important;
	font-family: var(--ai-serif);
	font-weight: 500;
	letter-spacing: -0.04em;
}

.page-id-13656 .partnerhero::before {
	position: absolute;
	top: 38px;
	right: 38px;
	width: 26px;
	height: 26px;
	border-top: 3px solid var(--ai-violet);
	border-right: 3px solid var(--ai-violet);
	content: "";
}

.page-id-13656 .partnerhero::after {
	position: absolute;
	top: 43px;
	right: 43px;
	width: 6px;
	height: 6px;
	background: var(--ai-citron);
	content: "";
}

/* Archive pages: complete grids first, seamless continuation afterwards. */
.archive .cs-posts-area__archive,
.search .cs-posts-area__archive {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px 26px;
}

/* Archive and search templates are editorial indexes, not sidebar pages. */
.archive .cs-main-content,
.search .cs-main-content {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
}

.archive #secondary,
.search #secondary {
	display: none !important;
}

.archive .cs-posts-area__archive > article .cs-entry__outer,
.search .cs-posts-area__archive > article .cs-entry__outer {
	display: block !important;
}

.archive .cs-posts-area__archive > article .cs-entry__inner,
.search .cs-posts-area__archive > article .cs-entry__inner {
	width: 100% !important;
	max-width: none !important;
}

.archive .cs-posts-area__archive > article .cs-entry__content,
.search .cs-posts-area__archive > article .cs-entry__content {
	padding: 18px 0 0 !important;
}

.archive .cs-posts-area__archive > article,
.search .cs-posts-area__archive > article {
	width: auto !important;
	margin: 0 !important;
}

.archive .cs-posts-area__archive .cs-entry__thumbnail,
.search .cs-posts-area__archive .cs-entry__thumbnail {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.archive .cs-posts-area__archive .cs-entry__thumbnail img,
.search .cs-posts-area__archive .cs-entry__thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.archive .cs-posts-area__archive .cs-entry__title,
.search .cs-posts-area__archive .cs-entry__title {
	font-family: var(--ai-serif);
	font-size: clamp(23px, 2vw, 32px);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -0.025em;
}

.archive .cs-posts-area__archive .cs-entry__excerpt,
.search .cs-posts-area__archive .cs-entry__excerpt {
	font-size: 14px;
	line-height: 1.5;
}

/* Contact page: one branded, useful conversation surface. */
.page-id-25 .cs-main-content {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
}

.page-id-25 #secondary,
.page-id-25 .cs-entry__header {
	display: none !important;
}

.page-id-25 .cs-site-content {
	padding-top: clamp(36px, 5vw, 72px);
	padding-bottom: clamp(54px, 7vw, 96px);
}

.page-id-25 .cs-entry__wrap {
	position: relative;
	padding: clamp(34px, 5vw, 72px) !important;
	background: var(--ai-lilac);
	border-bottom: 3px solid var(--ai-ink);
	overflow: hidden;
}

.page-id-25 .cs-entry__wrap::after {
	position: absolute;
	top: 34px;
	right: 34px;
	width: 28px;
	height: 28px;
	border-top: 3px solid var(--ai-citron);
	border-right: 3px solid var(--ai-citron);
	content: "";
}

.page-id-25 .cs-entry__container,
.page-id-25 .cs-entry__content-wrap {
	max-width: none !important;
	padding: 0 !important;
}

.page-id-25 .entry-content {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
	column-gap: clamp(42px, 7vw, 96px);
	align-items: start;
	max-width: none !important;
}

.page-id-25 .entry-content > h2,
.page-id-25 .entry-content > p {
	grid-column: 1;
}

.page-id-25 .entry-content > h2 {
	margin: 0 0 26px;
	font-family: var(--ai-serif);
	font-size: clamp(48px, 5.7vw, 82px);
	font-weight: 500;
	line-height: 0.96;
	letter-spacing: -0.055em;
}

.page-id-25 .entry-content > p {
	margin: 0 0 20px;
	font-family: var(--ai-serif);
	font-size: 18px;
	line-height: 1.55;
}

.page-id-25 .jetpack-contact-form-container {
	grid-column: 2;
	grid-row: 1 / span 8;
	padding: clamp(24px, 3.2vw, 42px);
	background: var(--ai-paper);
	border: 1px solid var(--ai-ink);
}

.page-id-25 .jetpack-contact-form-container input,
.page-id-25 .jetpack-contact-form-container textarea {
	border-color: var(--ai-ink) !important;
	border-radius: 0 !important;
}

.page-id-25 .jetpack-contact-form-container button[type="submit"] {
	color: var(--ai-white) !important;
	background: var(--ai-violet) !important;
	border-radius: 0 !important;
	font-family: var(--ai-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ai-pagination {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin-top: 54px;
}

.ai-load-more {
	min-height: 46px;
	padding: 0 26px;
	color: var(--ai-ink);
	background: transparent;
	border: 1px solid var(--ai-ink);
	font-family: var(--ai-sans);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ai-load-more:hover,
.ai-load-more:focus {
	color: var(--ai-paper);
	background: var(--ai-ink);
}

.ai-load-status {
	min-height: 18px;
	margin: 0;
	font-size: 12px;
}

.ai-archive-sentinel {
	height: 1px;
}

/* One coherent footer on every page. */
.ai-footer {
	color: var(--ai-paper);
	background: linear-gradient(90deg, var(--ai-violet) 0 82%, var(--ai-citron) 82% 100%) top / 100% 5px no-repeat, var(--ai-ink);
}

.ai-footer a {
	color: inherit;
	text-decoration: none;
}

.ai-footer__main {
	display: grid;
	grid-template-columns: minmax(230px, 1.15fr) minmax(240px, 1fr) auto auto;
	align-items: start;
	gap: clamp(26px, 4vw, 64px);
	padding: 58px 0 52px;
}

.ai-footer__brand {
	display: flex;
	flex-direction: column;
	max-width: 290px;
	font-family: "Iowan Old Style", Baskerville, Georgia, serif;
	font-size: clamp(28px, 2.5vw, 38px);
	font-weight: 400;
	line-height: 0.88;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ai-footer__statement {
	max-width: 36ch;
	font-family: var(--ai-serif);
	font-size: 18px;
	line-height: 1.4;
}

.ai-footer__links,
.ai-footer__legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 24px;
}

.ai-footer__links {
	flex-direction: column;
}

.ai-footer__links a,
.ai-footer__legal a,
.ai-footer__copyright {
	font-family: var(--ai-sans);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ai-footer__social {
	display: flex;
	justify-content: flex-end;
}

.ai-footer .pk-social-links-link {
	color: var(--ai-paper) !important;
}

.ai-footer .pk-social-links-count,
.ai-footer .pk-social-links-title {
	display: none !important;
}

.ai-footer__legal {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 24px;
	padding: 20px 0 22px;
	border-top: 1px solid rgba(248, 246, 241, 0.22);
}

.ai-footer__copyright {
	font-weight: 400;
	letter-spacing: 0.035em;
	text-transform: none;
}

.ai-footer__legal-links {
	justify-content: flex-end;
}

@media (max-width: 1199px) {
	.ai-header-desktop {
		gap: 20px;
	}

	.ai-header-nav .cs-header__nav-inner {
		gap: 18px;
	}

	.ai-header-nav .cs-header__nav-inner > li > a {
		font-size: 13px;
	}
}

@media (max-width: 1199px) {
	.ai-header-desktop {
		display: none !important;
	}

	.ai-global-header .cs-header__inner-mobile {
		min-height: 68px;
	}

	.ai-global-header .cs-header__inner-mobile .cs-header__logo {
		display: flex;
		align-items: center;
		justify-content: center;
		width: min(250px, 58vw);
		height: 42px;
	}

	.ai-global-header .cs-header__inner-mobile .cs-header__logo.cs-logo-default {
		display: flex !important;
	}

	.ai-global-header .cs-header__inner-mobile .cs-header__logo.cs-logo-default::before {
		display: block;
		color: var(--ai-ink);
		content: "AUTHENTIC\A INTERIOR";
		font-family: "Iowan Old Style", Baskerville, Georgia, serif;
		font-size: 18px;
		line-height: 0.9;
		letter-spacing: 0.04em;
		text-align: center;
		text-transform: uppercase;
		white-space: pre;
	}

	.ai-global-header .cs-header__inner-mobile .cs-header__logo.cs-logo-dark,
	.ai-global-header .cs-header__inner-mobile .cs-header__logo img {
		display: none !important;
	}

	.ai-global-header .cs-header__inner-mobile .cs-header__logo::after {
		display: none !important;
		content: none !important;
	}

	.ai-global-header .cs-header__offcanvas-toggle span,
	.ai-global-header .cs-header__offcanvas-toggle span::before,
	.ai-global-header .cs-header__offcanvas-toggle span::after {
		display: block;
		width: 20px;
		height: 2px;
		background-color: var(--ai-ink) !important;
	}

	.ai-global-header .cs-header__offcanvas-toggle span {
		position: relative;
	}

	.ai-global-header .cs-header__offcanvas-toggle span::before,
	.ai-global-header .cs-header__offcanvas-toggle span::after {
		position: absolute;
		left: 0;
		content: "";
	}

	.ai-global-header .cs-header__offcanvas-toggle span::before {
		top: -6px;
	}

	.ai-global-header .cs-header__offcanvas-toggle span::after {
		bottom: -6px;
	}

	.ai-newsletter-bar__inner {
		grid-template-columns: 1fr;
		gap: 20px;
		padding-top: 24px;
		padding-bottom: 24px;
	}

	.ai-featured__grid {
		grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.9fr);
		height: 600px;
	}

	.archive .cs-posts-area__archive,
	.search .cs-posts-area__archive {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ai-footer__main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1200px) {
	.ai-global-header .cs-header__inner-mobile {
		display: none !important;
	}
}

@media (max-width: 767px) {
	.page-id-13654 .split:nth-of-type(2) {
		padding: 32px 24px;
		background: var(--ai-lilac);
		box-sizing: border-box;
	}

	.ai-newsletter-bar__copy h2 {
		font-size: 28px;
	}

	.ai-featured {
		padding: 12px 0 42px;
	}

	.ai-featured .cs-container {
		padding-right: 12px;
		padding-left: 12px;
	}

	.ai-featured__grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: minmax(440px, 68svh) 260px;
		height: auto;
		gap: 8px;
	}

	.ai-featured-card--primary {
		grid-column: 1 / 3;
		grid-row: 1;
	}

	.ai-featured-card--secondary {
		grid-row: 2;
	}

	.ai-featured-card__content,
	.ai-featured-card--secondary .ai-featured-card__content {
		padding: 20px;
	}

	.ai-featured-card h2 {
		font-size: clamp(34px, 10vw, 50px);
	}

	.ai-featured-card--secondary h2 {
		font-size: clamp(18px, 5vw, 24px);
	}

	.ai-featured-card--secondary .ai-featured-card__meta {
		display: none;
	}

	.archive .cs-posts-area__archive,
	.search .cs-posts-area__archive {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.page-id-25 .cs-site-content {
		padding-top: 20px;
		padding-bottom: 48px;
	}

	.page-id-25 .cs-entry__wrap {
		padding: 30px 22px !important;
	}

	.page-id-25 .cs-entry__wrap::after {
		top: 22px;
		right: 22px;
		width: 22px;
		height: 22px;
	}

	.page-id-25 .entry-content {
		grid-template-columns: minmax(0, 1fr);
	}

	.page-id-25 .entry-content > h2,
	.page-id-25 .entry-content > p,
	.page-id-25 .jetpack-contact-form-container {
		grid-column: 1;
	}

	.page-id-25 .entry-content > h2 {
		font-size: clamp(44px, 14vw, 62px);
	}

	.page-id-25 .entry-content > p {
		font-size: 17px;
	}

	.page-id-25 .jetpack-contact-form-container {
		grid-row: auto;
		margin-top: 18px;
		padding: 22px;
	}

	.ai-footer__main,
	.ai-footer__legal {
		grid-template-columns: 1fr;
	}

	.ai-footer__links,
	.ai-footer__social,
	.ai-footer__legal-links {
		justify-content: flex-start;
	}
}

@media (max-width: 480px) {
	.ai-newsletter-form__row {
		grid-template-columns: 1fr;
		border: 0;
	}

	.ai-newsletter-form input[type="email"] {
		border-bottom: 1px solid rgba(255, 254, 250, 0.82);
	}

	.ai-newsletter-form button {
		min-height: 44px;
		padding: 0;
		text-align: left;
	}

	.ai-featured__grid {
		grid-template-columns: 1fr;
		grid-template-rows: minmax(420px, 66svh) 250px 250px;
	}

	.ai-featured-card--primary,
	.ai-featured-card--secondary {
		grid-column: 1;
		grid-row: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ai-featured-card__image {
		transition: none;
	}
}

/* Final outlined wordmark, shared by desktop, mobile and footer. */
.ai-brand-link { width: 224px; flex-shrink: 0; }
.ai-brand-link::after { display: none; }
.ai-wordmark { display: block; width: 100%; height: auto; }
.ai-footer__brand { width: 260px; max-width: 100%; }
.ai-header-tools [role="button"],
.ai-global-header .cs-header__search-toggle,
.ai-global-header .cs-header__search-toggle i { color: var(--ai-ink) !important; }
.ai-header-nav .cs-header__nav-inner > li > a,
.ai-header-nav .cs-header__nav-inner > li > a > span {
	color: var(--ai-ink) !important;
	font-size: 14px !important;
}
.ai-global-header .cs-header__scheme-toggle-icon,
.ai-global-header .cs-header__scheme-toggle-icon::before {
	color: var(--ai-ink) !important;
}
.ai-global-header [role="button"]:focus-visible { outline: 2px solid var(--ai-violet); outline-offset: 5px; }

@media (min-width: 1200px) and (min-height: 600px) {
	.ai-featured__grid { height: clamp(340px, calc(100svh - 280px), 660px); }
}

@media (max-width: 1199px) {
	.ai-global-header .cs-header__inner-mobile .cs-header__logo.cs-logo-default::before {
		content: "";
		width: 160px;
		height: 47px;
		background: url('assets/brand/logo-black-transparent.svg') center / contain no-repeat;
	}
}

.cs-offcanvas .cs-offcanvas__header { background: var(--ai-paper) !important; }
.cs-offcanvas .cs-offcanvas__toggle,
.cs-offcanvas .cs-offcanvas__toggle i { color: var(--ai-ink) !important; }
.cs-offcanvas .cs-header__logo.cs-logo-dark { display: none !important; }
.cs-offcanvas .cs-header__logo.cs-logo-default { display: block !important; width: 200px; height: 58px; }
.cs-offcanvas .cs-header__logo img { display: none !important; }
.cs-offcanvas .cs-header__logo.cs-logo-default::before {
	display: block !important;
	content: "" !important;
	width: 100%;
	height: 58px;
	background: url('assets/brand/logo-black-transparent.svg') center / contain no-repeat;
}

@media (max-width: 620px) {
	.page-id-13654 .ai2 .pagehero { padding: 20px 0 30px; }
	.page-id-13654 .ai2 .pagehero > .wrap,
	.page-id-13654 .ai2 main > .wrap,
	.page-id-13654 .ai2 > .signup { width: 100% !important; }
	.page-id-13654 .ai2 .pagehero-grid { gap: 0; }
	.page-id-13654 .ai2 .pagehero-grid > div:first-child { padding: 28px 24px; }
	.page-id-13654 .ai2 .pagehero h1 { font-size: 46px; max-width: 14ch; }
	.page-id-13654 .ai2 .pagehero-grid figure { height: auto; }
	.page-id-13654 .ai2 .pagehero-grid .portrait { height: auto; aspect-ratio: 3 / 4; }
	.page-id-13654 .ai2 .split { padding-right: 20px; padding-left: 20px; }
	.ai-newsletter-bar__inner { gap: 12px; padding-top: 18px; padding-bottom: 18px; }
	.ai-newsletter-form__row { grid-template-columns: minmax(0,1fr) auto; }
	.ai-newsletter-form button { padding-left: 12px; }
	.ai-featured__grid { grid-template-rows: clamp(330px, calc(100svh - 350px), 510px) 250px 250px; }
}
