/*
Theme Name: Kilmartin Law Group
Theme URI: https://kilmartinlawgroup.com.au/
Author: Kilmartin Law Group
Description: Custom responsive WordPress theme for Kilmartin Law Group.
Version: 1.0.0
Text Domain: kilmartin
*/

:root {
	--klg-ink: #211b3f;
	--klg-text: #2f2c34;
	--klg-muted: #766f79;
	--klg-gold: #d7ab72;
	--klg-gold-dark: #bc884a;
	--klg-cream: #efe5da;
	--klg-soft: #faf7f3;
	--klg-white: #ffffff;
	--klg-line: rgba(33, 27, 63, 0.16);
	--klg-max: 1120px;
	--klg-radius: 6px;
	--klg-heading-font: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
	--klg-body-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--klg-white);
	color: var(--klg-text);
	font-family: var(--klg-body-font);
	font-size: 17px;
	font-weight: 300;
	line-height: 1.48;
}

body.menu-open {
	overflow: hidden;
}

a {
	color: inherit;
}

img {
	display: block;
	height: auto;
	max-width: 100%;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgb(255, 255, 255);
	backdrop-filter: blur(10px);
}

.header-inner {
	align-items: center;
	display: grid;
	grid-template-columns: 44px 1fr 44px;
	margin: 0 auto;
	max-width: var(--klg-max);
	min-height: 86px;
	padding: 16px 18px;
}

.site-branding {
	grid-column: 2;
	justify-self: center;
	text-decoration: none;
}

.site-logo {
	height: auto;
	width: min(230px, 58vw);
}

.menu-toggle {
	align-items: center;
	appearance: none;
	background: #f6efe8;
	border: 1px solid rgba(215, 171, 114, 0.35);
	border-radius: 4px;
	color: var(--klg-ink);
	cursor: pointer;
	display: inline-flex;
	grid-column: 3;
	height: 34px;
	justify-content: center;
	justify-self: end;
	padding: 0;
	width: 34px;
}

.menu-toggle svg {
	height: 21px;
	width: 21px;
}

.primary-navigation {
	background: var(--klg-white);
	border-top: 1px solid rgba(33, 27, 63, 0.08);
	display: none;
	grid-column: 1 / -1;
	margin: 16px -18px -16px;
	padding: 10px 18px 18px;
}

.primary-navigation.is-open {
	display: block;
}

.primary-navigation ul {
	display: grid;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-navigation li {
	position: relative;
}

.primary-navigation a {
	border-radius: var(--klg-radius);
	color: var(--klg-ink);
	display: block;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.8px;
	padding: 10px 8px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
}

.primary-navigation a:hover,
.primary-navigation a:focus {
	background: var(--klg-cream);
	outline: none;
}

.primary-navigation .sub-menu {
	gap: 2px;
	margin-top: 2px;
	padding-left: 14px;
}

.primary-navigation .sub-menu a {
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
}

.hero {
	background: var(--klg-white);
	/* padding: 14px 0 0; */
}

.hero-image-wrap {
	margin: 0;
	max-width: none;
	/* padding: 0 14px; */
}

.hero-image {
	aspect-ratio: 1.44 / 1;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

.section {
	padding: 48px 28px;
}

.section-inner {
	margin: 0 auto;
	max-width: var(--klg-max);
}

.page-content-inner {
	max-width: 820px;
}

.page-content {
	padding-top: 0px;
}

.entry-content p {
	margin: 0 0 20px;
	text-align: left;
}

.entry-content h2,
.entry-content h3,
.entry-content .service-subheading {
	color: var(--klg-ink);
	display: block;
	font-family: var(--klg-heading-font);
	font-size: 23px;
	font-weight: 600;
	line-height: 1.15;
	margin: 24px 0 8px;
	text-align: left;
}

.intro {
	padding-bottom: 40px;
	padding-top: 26px;
}

.eyebrow-heading,
.section-title {
	color: var(--klg-ink);
	font-family: var(--klg-heading-font);
	font-size: 30px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.04;
	margin: 0 0 22px;
	text-transform: uppercase;
	text-align: center;
}

.intro-copy {
	max-width: 720px;
	text-align: left;
}

.intro-copy p,
.approach-copy p,
.cta-copy p {
	margin: 0 0 20px;
}

.button {
	align-items: center;
	background: var(--klg-gold);
	border: 1px solid rgba(188, 136, 74, 0.28);
	border-radius: var(--klg-radius);
	box-shadow: 0 1px 4px rgba(33, 27, 63, 0.16);
	color: var(--klg-white);
	display: inline-flex;
	font-family: var(--klg-body-font);
	font-size: 15px;
	font-weight: 400;
	justify-content: center;
	line-height: 1;
	min-height: 44px;
	min-width: 184px;
	padding: 13px 24px;
	text-align: center;
	text-decoration: none;
	transition: background 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus {
	background: var(--klg-gold-dark);
	outline: none;
	transform: translateY(-1px);
}

.intro .button-row,
.approach .button-row,
.cta .button-row {
	margin-top: 26px;
	text-align: center;
}

.services {
	background: var(--klg-cream);
	text-align: center;
}

.services-grid {
	display: grid;
	gap: 34px;
	margin-top: 34px;
}

.service-item {
	align-items: center;
	color: #16131d;
	display: grid;
	gap: 8px;
	justify-items: center;
	min-height: 86px;
	text-decoration: none;
	transition: color 160ms ease, transform 160ms ease;
}

.service-item:hover,
.service-item:focus {
	color: var(--klg-gold-dark);
	outline: none;
	transform: translateY(-2px);
}

.service-icon {
	align-items: center;
	color: #17141c;
	display: inline-flex;
	height: 34px;
	justify-content: center;
	width: 34px;
}

.service-icon svg {
	height: 32px;
	stroke-width: 1.8;
	width: 32px;
}

.service-name {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
	margin: 0;
}

.approach {
	background: var(--klg-white);
	text-align: center;
}

.approach-copy {
	margin: 0 auto;
	max-width: 700px;
}

.about-page {
	padding-top: 34px;
}

.about-inner {
	max-width: 860px;
}

.people-list {
	display: grid;
	gap: 44px;
}

.person-profile {
	display: grid;
	gap: 22px;
}

.person-image {
	aspect-ratio: 0.73 / 1;
	background: var(--klg-cream);
	margin: 0 auto;
	max-width: 510px;
	object-fit: cover;
	width: 100%;
}

.person-image-placeholder {
	align-items: center;
	border: 1px solid var(--klg-line);
	color: var(--klg-gold-dark);
	display: flex;
	font-family: var(--klg-heading-font);
	font-size: 22px;
	justify-content: center;
	text-align: center;
	text-transform: uppercase;
}

.person-image-placeholder span {
	padding: 28px;
}

.person-copy {
	max-width: 680px;
}

.person-name {
	color: var(--klg-ink);
	font-family: var(--klg-heading-font);
	font-size: 30px;
	font-weight: 600;
	line-height: 1.08;
	margin: 0 0 10px;
}

.person-role {
	color: #16131d;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.25;
	margin: 0 0 22px;
	text-transform: uppercase;
}

.person-copy p {
	margin: 0 0 18px;
}

.person-consultation {
	margin-top: 24px;
}

.contact-page {
	padding-top: 28px;
}

.contact-page-title {
	margin-bottom: 34px;
}

.contact-inner {
	display: grid;
	gap: 38px;
}

.contact-map {
	background: var(--klg-cream);
	min-height: 290px;
	overflow: hidden;
}

.contact-map iframe {
	border: 0;
	display: block;
	height: 100%;
	min-height: 290px;
	width: 100%;
}

.contact-info-grid {
	display: grid;
	gap: 26px;
	margin-top: 32px;
}

.contact-info-item {
	align-items: center;
	display: grid;
	gap: 12px;
	grid-template-columns: 21px minmax(0, 1fr);
	text-align: left;
}

.contact-icon {
	color: var(--klg-gold-dark);
	display: inline-flex;
	height: 21px;
	width: 21px;
}

.contact-icon svg {
	height: 21px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 18;
	width: 21px;
	color: var(--klg-gold-dark);
}

.contact-info-item h2 {
	color: var(--klg-ink);
	font-family: var(--klg-heading-font);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.1;
	margin: 0 0 4px;
}

.contact-info-item p,
.contact-info-item a {
	font-size: 16px;
	margin: 0;
	text-decoration: none;
}

.contact-title {
	color: var(--klg-ink);
	font-family: var(--klg-heading-font);
	font-size: 34px;
	font-weight: 400;
	line-height: 1.1;
	margin: 0px;
}

.contact-sub-title {
	color: var(--klg-ink);
	font-family: var(--klg-heading-font);
}

.contact-form {
	margin-top: 20px;
	display: grid;
	gap: 18px;
}

.contact-form input,
.contact-form textarea {
	background: var(--klg-white);
	border: 1px solid rgba(33, 27, 63, 0.12);
	border-radius: 4px;
	color: var(--klg-text);
	font: inherit;
	font-weight: 300;
	padding: 14px 16px;
	width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
	border-color: var(--klg-gold);
	outline: none;
}

.contact-form textarea {
	min-height: 126px;
	resize: vertical;
}

.contact-submit {
	min-width: 100%;
}

.contact-hp {
	display: none;
}

.form-message {
	border-radius: 4px;
	font-size: 15px;
	margin: 0 0 18px;
	padding: 12px 14px;
}

.form-message-success {
	background: #edf7ef;
	color: #235b2e;
}

.form-message-error {
	background: #fbefed;
	color: #7a2d22;
}

.consultation-page {
	padding-top: 28px;
}

.consultation-inner {
	max-width: 640px;
}

.consultation-form-panel {
	margin: 0 auto;
	max-width: 540px;
}

.fee-policy-page {
	padding-top: 28px;
}

.fee-policy-title {
	margin-bottom: 28px;
}

.fee-policy-inner {
	align-items: center;
	display: grid;
	gap: 34px;
	max-width: 980px;
}

.fee-policy-copy {
	margin: 0 auto;
	max-width: 720px;
	text-align: left;
}

.fee-policy-copy p {
	margin: 0 0 18px;
}

.fee-policy-logo-row {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	justify-content: center;
	margin-top: 36px;
}

.fee-policy-badge-wrap {
	display: flex;
	justify-content: center;
}

.fee-policy-badge {
	max-width: min(170px, 48vw);
	width: 100%;
}

.fee-policy-badge-wide {
	max-width: min(245px, 68vw);
}

.testimonials {
	background: var(--klg-cream);
}

.testimonial-wrap {
	margin: 0 auto;
	max-width: 760px;
}

.testimonials .section-title {
	text-align: center;
}

.quote {
	font-size: 17px;
	line-height: 1.23;
	margin: 0;
}

.testimonial-author {
	color: #16131d;
	font-weight: 400;
	margin: 14px 0 0;
}

.testimonial-content {
	min-width: 0;
}

.testimonial-slider {
	margin: 0 auto;
	max-width: 760px;
}

.testimonial-slide {
	min-height: 245px;
}

.testimonial-stars {
	color: var(--klg-gold);
	font-size: 34px;
	letter-spacing: 3px;
	line-height: 1;
	margin: 22px 0 0;
	text-align: left;
	text-shadow: 1px 2px 0 rgba(214, 157, 0, 0.26);
}

.testimonial-stars .is-empty {
	color: rgba(215, 171, 114, 0.24);
	text-shadow: none;
}

.testimonial-review-link {
	margin: 18px 0 8px;
	text-align: center;
}

.testimonial-controls {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: center;
}

.testimonial-arrow,
.testimonial-dot {
	appearance: none;
	background: transparent;
	border: 0;
	cursor: pointer;
	padding: 0;
}

.testimonial-arrow {
	align-items: center;
	color: var(--klg-ink);
	display: inline-flex;
	font-size: 36px;
	height: 40px;
	justify-content: center;
	line-height: 1;
	width: 40px;
}

.testimonial-arrow:hover,
.testimonial-arrow:focus {
	color: var(--klg-gold-dark);
	outline: none;
}

.testimonial-dots {
	display: flex;
	gap: 8px;
}

.testimonial-dot {
	background: rgba(33, 27, 63, 0.25);
	border-radius: 999px;
	height: 9px;
	width: 9px;
}

.testimonial-dot.is-active {
	background: var(--klg-ink);
}

.review-button {
	background: transparent;
	border: 2px solid #19151f;
	border-radius: 6px;
	color: #19151f;
	display: inline-flex;
	font-family: var(--klg-body-font);
	font-size: 16px;
	font-weight: 400;
	justify-content: center;
	line-height: 1.2;
	min-height: 44px;
	padding: 9px 16px;
	text-align: center;
	text-decoration: none;
}

.review-button:hover,
.review-button:focus {
	background: rgba(255, 255, 255, 0.45);
	outline: none;
}

.cta {
	background: var(--klg-ink);
	color: var(--klg-white);
}

.cta .section-inner {
	display: grid;
	gap: 24px;
}

.cta .eyebrow-heading {
	color: var(--klg-white);
	margin-bottom: 18px;
}

.cta-copy {
	color: rgba(255, 255, 255, 0.84);
	max-width: 560px;
}

.site-footer {
	background: var(--klg-white);
	color: var(--klg-gold);
	font-size: 14px;
	line-height: 1.25;
	padding: 28px 22px 26px;
	text-align: center;
}

.footer-inner {
	margin: 0 auto;
	max-width: var(--klg-max);
}

.footer-contact {
	display: grid;
	gap: 16px;
	margin-bottom: 26px;
}

.footer-contact p,
.footer-legal p {
	margin: 0;
}

.footer-label {
	display: block;
	font-weight: 400;
}

.footer-legal {
	display: grid;
	gap: 12px;
	font-size: 15px;
}

.skip-link {
	background: var(--klg-ink);
	color: var(--klg-white);
	left: 12px;
	padding: 10px 12px;
	position: absolute;
	top: -100px;
	z-index: 50;
}

.skip-link:focus {
	top: 12px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

.about-page.section {
	padding-top: 0px;
}
.about-page.section-title {
	padding-bottom: 10px;
}
.consultation-page.section {
	padding-top: 0px;
}
.page-content.section {
	padding-top: 0px;
}
.fee-policy-page.section {
	padding-top: 0px;
}
.contact-page.section {
	padding-top: 0px;
}
.testimonials.section {
	padding-bottom: 30px;
}


@media (min-width: 700px) {
	.header-inner {
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
		max-width: 1360px;
		min-height: 98px;
		padding: 18px 0px;
	}

	.site-branding {
		grid-column: 2;
		justify-self: center;
	}

	.site-logo {
		width: 250px;
	}

	.menu-toggle {
		display: none;
	}

	.primary-navigation {
		border: 0;
		display: block;
		grid-column: 3;
		justify-self: end;
		margin: 0;
		padding: 0;
	}

	.primary-navigation > ul {
		align-items: center;
		display: flex;
		gap: 8px;
		justify-content: flex-end;
	}

	.primary-navigation a {
		font-size: 13px;
		padding: 10px 12px;
	}

	.primary-navigation .sub-menu {
		background: var(--klg-white);
		border: 1px solid rgba(33, 27, 63, 0.1);
		box-shadow: 0 12px 28px rgba(33, 27, 63, 0.12);
		display: none;
		gap: 0;
		left: 50%;
		margin-top: 0;
		min-width: 245px;
		padding: 8px;
		position: absolute;
		top: 100%;
		transform: translateX(-50%);
		z-index: 30;
	}

	.primary-navigation li:hover > .sub-menu,
	.primary-navigation li:focus-within > .sub-menu {
		display: grid;
	}

	.primary-navigation .sub-menu a {
		font-size: 14px;
		padding: 10px 12px;
		text-align: left;
	}

	.hero {
		/* padding-top: 30px; */
	}

	.hero-image-wrap {
		margin: 0 auto;
		max-width: 1360px;
	}

	.section {
		padding: 72px 42px;
	}

	.intro {
		padding-bottom: 64px;
		padding-top: 46px;
	}

	.eyebrow-heading,
	.section-title {
		font-size: 42px;
		text-align: center;
	}

	.intro .section-inner {
		text-align: center;
	}

	.intro .button-row,
	.approach .button-row,
	.cta .button-row {
		margin-top: 26px;
		text-align: center;
	}

	.intro-copy {
		margin: 0 auto;
	}

	.services-grid {
		gap: 34px 24px;
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.approach .section-inner {
		text-align: center;
	}

	.approach .section-title {
		margin-bottom: 16px;
	}

	.approach-copy {
		margin: 0 auto;
	}

	.about-page {
		padding-top: 58px;
	}

	.person-profile {
		align-items: start;
		grid-template-columns: 340px minmax(0, 1fr);
		gap: 46px;
		text-align: left;
	}

	.person-profile:nth-child(even) .person-image {
		order: 2;
	}

	.person-profile:nth-child(even) .person-copy {
		order: 1;
	}

	.person-image {
		height: auto;
		max-width: none;
		width: 340px;
	}

	.contact-page {
		padding-top: 64px;
	}

	.contact-inner {
		align-items: start;
		grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.72fr);
		gap: 42px;
	}

	.contact-map,
	.contact-map iframe {
		min-height: 320px;
	}

	.contact-info-grid {
		gap: 28px 42px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.contact-title {
		font-size: 38px;
	}

	.testimonial-wrap {
		max-width: 760px;
		text-align: center;
	}

	.testimonials .section-title {
		text-align: center;
	}

	.cta .section-inner {
		text-align: center;
	}

	.cta-copy {
		margin: 0 auto;
	}
}

@media (min-width: 1020px) {
	body {
		font-size: 18px;
	}

	.hero-image {
		aspect-ratio: 3.2 / 1;
		object-position: 50% 45%
	}

	.section {
		padding-bottom: 86px;
		padding-top: 86px;
	}

	.eyebrow-heading,
	.section-title {
		font-size: 48px;
		text-align: center;
	}

	.quote {
		font-size: 20px;
	}

	.about-inner {
		max-width: 1080px;
	}

	.people-list {
		gap: 72px;
		padding-top: 15px;
	}

	.person-name {
		font-size: 38px;
	}

	.person-profile {
		grid-template-columns: 420px minmax(0, 1fr);
	}

	.person-image {
		width: 420px;
	}

	.contact-inner {
		grid-template-columns: minmax(0, 1.5fr) 440px;
	}
}

@media (max-width: 380px) {
	.site-logo {
		width: min(205px, 56vw);
	}

	.eyebrow-heading,
	.section-title {
		font-size: 27px;
		text-align: center;
	}

	.section {
		padding-left: 22px;
		padding-right: 22px;
	}
}
