/*
Theme Name: GTM Kate Site
Theme URI: https://gtmkate.com/
Author: Kate Mitchell
Author URI: https://gtmkate.com/
Description: Kate Mitchell's own theme for gtmkate.com. Header, footer, articles and archives. Page content comes from the GTM Kate Sections plugin.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: All rights reserved
Text Domain: gtmkate
*/

/* ---------- tokens ---------- */
:root {
	--primary: #0f1729;
	--text: #6b7280;
	--accent: #f59714;
	--cta-blue: #0073e6;
	--cta-blue-hover: #0061c2;
	--kt-brand: #2E5090;
	--kt-brand-dark: #1d3768;
	--kt-ink: #0f1729;
	--kt-body: #2b2b2b;
	--kt-line: #e4e4e0;
	--kt-footer: #14213d;
	--kt-footer-text: #c9cfdc;
	--kt-footer-muted: #9aa3b5;
	--kt-serif: 'Source Serif 4', Georgia, serif;
	--kt-sans: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--kt-wrap: 1152px;
	--kt-gutter: 32px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--kt-sans);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5rem;
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--kt-ink);
}
h1, h2 { font-family: var(--kt-serif); font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 5vw, 48px); }
h2 { font-size: clamp(28px, 3.6vw, 36px); }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1rem; }
img, svg { vertical-align: middle; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
strong, b { font-weight: 700; }
small { font-size: 14px; }
figure { margin: 0 0 1rem; }
blockquote { margin: 0 0 1rem; }
button { font: inherit; }
.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 !important;
}
.screen-reader-text:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 1000;
	background: #fff; color: var(--kt-ink); padding: 12px 16px; left: 8px; top: 8px;
}

.kt-wrap { width: 100%; max-width: var(--kt-wrap); margin: 0 auto; padding: 0 var(--kt-gutter); }
.kt-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--kt-brand); color: #fff; border: 1px solid var(--kt-brand);
	border-radius: 4px; font-weight: 500; text-decoration: none; cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease;
}
.kt-btn:hover, .kt-btn:focus { background: var(--kt-brand-dark); border-color: var(--kt-brand-dark); color: #fff; }

/* ---------- header ---------- */
.kt-header {
	position: sticky; top: 0; z-index: 100;
	background: #fff; border-bottom: 1px solid var(--kt-line);
}
.admin-bar .kt-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .kt-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .kt-header { top: 0; } }
.kt-header .kt-wrap { display: flex; align-items: center; height: 80px; gap: 24px; }
.kt-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.kt-logo img { display: block; width: auto; height: 36px; }
.kt-logo-text { font-family: var(--kt-sans); font-weight: 700; font-size: 20px; color: var(--kt-ink); text-decoration: none; }
.kt-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.kt-nav ul { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.kt-nav a {
	display: block; font-size: 14px; line-height: 21px; color: #333; text-decoration: none; white-space: nowrap;
}
.kt-nav a:hover, .kt-nav a:focus { color: var(--kt-brand); }
.kt-nav .current-menu-item > a, .kt-nav .current_page_item > a, .kt-nav .current_page_parent > a, .kt-nav .current-menu-ancestor > a {
	color: var(--kt-brand); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px;
}
.kt-header-actions { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.kt-tel { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #333; text-decoration: none; white-space: nowrap; }
.kt-tel:hover { color: var(--kt-brand); }
.kt-tel svg { width: 16px; height: 16px; }
.kt-header .kt-btn { font-size: 14px; padding: 8px 16px; line-height: 21px; }
.kt-menu-toggle {
	display: none; margin-left: auto; background: none; border: 0; padding: 8px; color: var(--kt-ink); cursor: pointer;
}
.kt-menu-toggle svg { width: 28px; height: 28px; display: block; }
.kt-mobile-panel { display: none; }

@media (max-width: 1099px) {
	.kt-nav, .kt-header-actions { display: none; }
	.kt-menu-toggle { display: block; }
	.kt-mobile-panel {
		display: block; max-height: 0; overflow: hidden; background: #fff;
		border-top: 1px solid transparent; transition: max-height .2s ease;
	}
	.kt-header.is-open .kt-mobile-panel { max-height: 80vh; overflow-y: auto; border-top-color: var(--kt-line); }
	.kt-mobile-panel .kt-wrap { display: block; height: auto; padding-top: 16px; padding-bottom: 24px; }
	.kt-mobile-panel ul { list-style: none; margin: 0 0 16px; padding: 0; }
	.kt-mobile-panel li a {
		display: block; padding: 12px 0; font-size: 16px; color: #333; text-decoration: none; border-bottom: 1px solid #f0f0ec;
	}
	.kt-mobile-panel .current-menu-item > a, .kt-mobile-panel .current_page_item > a, .kt-mobile-panel .current_page_parent > a { color: var(--kt-brand); }
	.kt-mobile-panel .kt-tel { font-size: 16px; padding: 8px 0 16px; }
	.kt-mobile-panel .kt-btn { display: flex; font-size: 16px; padding: 12px 20px; }
}

/* ---------- footer ---------- */
.kt-footer { background: var(--kt-footer); color: var(--kt-footer-text); font-family: var(--kt-sans); padding: 56px 0 24px; }
.kt-footer a { color: #fff; text-decoration: none; }
.kt-footer a:hover { color: var(--kt-footer-text); }
.kt-footer-grid { display: grid; grid-template-columns: 1.5fr 1.5fr 1fr; gap: 56px; align-items: start; }
.kt-footer-about { padding-top: 24px; }
.kt-footer-about p { font-size: 15px; line-height: 1.6; color: var(--kt-footer-text); max-width: 420px; margin: 0 0 20px; }
.kt-footer-social { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; margin-top: 24px; }
.kt-footer-social svg { width: 22px; height: 22px; }
.kt-footer h4 {
	font-family: var(--kt-sans); font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
	color: var(--kt-footer-text); font-weight: 600; margin: 0 0 16px; line-height: 1.05;
}
.kt-footer ul { list-style: none; margin: 0; padding: 0; }
.kt-footer li { margin: 0 0 10px; break-inside: avoid; }
.kt-footer li a { font-size: 15px; line-height: 1.6; white-space: nowrap; }
.kt-footer-pages ul { columns: 2; column-gap: 32px; }
.kt-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 56px; padding-top: 20px;
	color: var(--kt-footer-muted); font-size: 14px; line-height: 1.5;
}
.kt-footer-bottom p { margin: 0; }
@media (max-width: 767px) {
	.kt-footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- archive / articles list ---------- */
.kt-banner { background: linear-gradient(#f8f7f7 0%, #fff 100%); padding: 64px 0; }
.kt-banner h1 { font-size: clamp(36px, 4.5vw, 52px); line-height: 1.1; margin: 0 0 8px; }
.kt-banner .kt-lead { font-size: 18px; line-height: 1.75; color: var(--text); margin: 28px 0 0; }
.kt-eyebrow {
	font-size: 11.52px; line-height: 1.5; letter-spacing: .22em; text-transform: uppercase; font-weight: 500;
	color: var(--text); margin: 0 0 16px;
}
.kt-posts { padding: 0 0 96px; }
.kt-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px; }
.kt-card { display: block; text-decoration: none; color: inherit; }
.kt-card-image { overflow: hidden; margin: 0 0 24px; aspect-ratio: 4 / 3; background: #f3f3f1; }
.kt-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.kt-card:hover .kt-card-image img { transform: scale(1.03); }
.kt-card h3 { font-family: var(--kt-sans); font-size: 18px; line-height: 1.05; font-weight: 600; color: var(--kt-ink); margin: 0 0 16px; letter-spacing: 0; }
.kt-card:hover h3 { color: var(--kt-brand); }
.kt-card p.kt-excerpt { font-size: 16px; line-height: 26px; color: #212529; margin: 0; }
.kt-more { margin-top: 64px; text-align: center; }
.kt-more .kt-btn { font-size: 16px; padding: 14px 24px; line-height: 18px; }
.kt-more .kt-btn[aria-busy="true"] { opacity: .6; pointer-events: none; }
.kt-pagination { margin-top: 64px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.kt-pagination .page-numbers {
	display: inline-block; min-width: 40px; padding: 8px 12px; text-align: center; border: 1px solid var(--kt-line);
	border-radius: 4px; color: var(--kt-ink); text-decoration: none; font-size: 15px;
}
.kt-pagination .page-numbers.current { background: var(--kt-brand); border-color: var(--kt-brand); color: #fff; }
.kt-empty { font-size: 18px; color: var(--kt-body); }
@media (max-width: 991px) { .kt-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .kt-post-grid { grid-template-columns: 1fr; row-gap: 40px; } }

/* ---------- single article ---------- */
.kt-article-head { background: linear-gradient(#f8f7f7 0%, #fff 100%); padding: 104px 0 40px; }
.kt-article-head .kt-wrap, .kt-article .kt-wrap { max-width: 760px; }
.kt-article-head .kt-eyebrow { color: var(--accent); }
.kt-article-head h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.1; margin: 0; }
.kt-article { padding: 8px 0 96px; }
.kt-article-body p, .kt-article-body li { font-size: 18px; line-height: 1.7; color: var(--kt-body); }
.kt-article-body h2 { font-size: 30px; line-height: 1.2; margin: 48px 0 14px; color: #111; }
.kt-article-body h3 { font-family: var(--kt-sans); font-size: 22px; font-weight: 600; margin: 32px 0 10px; color: #111; }
.kt-article-body a { color: var(--kt-brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.kt-article-body p em { font-size: 15px; color: #555; }
.kt-article-body img { border-radius: 6px; }
.kt-article-body figure { margin: 0 0 16px; }
.kt-article-body blockquote { margin: 32px 0; padding: 0 0 0 20px; border-left: 3px solid var(--kt-brand); }
.kt-article-body .gk-byline { font-size: 15px; color: #555; }
.kt-article-body .gk-related { border-top: 1px solid var(--kt-line); padding-top: 24px; }
.kt-article-body .gk-related ul { list-style: none; padding: 0; }
.kt-article-body .gk-related li { margin: 0 0 10px; }
.kt-article-body .gk-related a { text-decoration: none; font-weight: 600; }
.kt-article-body .gk-related a:hover { text-decoration: underline; }
.kt-article-body .gk-author p { font-size: 16px; }

/* ---------- plain pages and 404 ---------- */
.kt-page-plain { padding: 0 0 96px; }
.kt-page-plain .kt-wrap { max-width: 760px; }
.kt-page-plain .kt-content p, .kt-page-plain .kt-content li { font-size: 17px; line-height: 1.7; color: var(--kt-body); }
.kt-404 { padding: 120px 0; }
.kt-404 h1 { font-size: clamp(36px, 5vw, 52px); }
.kt-404 p { font-size: 18px; color: var(--kt-body); }

/* ---------- price list blocks used in page content ---------- */
.gk-prices { margin: 8px 0 0; }
.gk-prices .gk-price-label { margin: 32px 0 4px !important; font-size: 13px !important; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--kt-brand) !important; }
.gk-prices .gk-price-label:first-child { margin-top: 0 !important; }
.gk-prices .gk-price-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 32px; padding: 20px 0; border-top: 1px solid var(--kt-line); align-items: baseline; }
.gk-prices .gk-price-row:first-child { border-top: 0; padding-top: 4px; }
.gk-prices .gk-price-name { font-weight: 600; font-size: 18px; color: #111; }
.gk-prices .gk-price-name a { color: var(--kt-brand); }
.gk-prices .gk-price-amt { font-family: var(--kt-serif); font-weight: 700; font-size: 22px; color: #111; text-align: right; white-space: nowrap; }
.gk-prices .gk-price-note { grid-column: 1 / -1; margin: 0 !important; font-size: 16px !important; line-height: 1.6; color: #444 !important; max-width: 720px; }
.gk-prices .gk-price-note a { color: var(--kt-brand); white-space: nowrap; }
.gk-prices .gk-price-foot { margin: 0 !important; padding-top: 20px; border-top: 1px solid var(--kt-line); font-size: 15px !important; color: #555 !important; }
@media (max-width: 600px) {
	.gk-prices .gk-price-row { grid-template-columns: 1fr; }
	.gk-prices .gk-price-amt { text-align: left; }
}

/* ---------- WordPress core alignment classes ---------- */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.kt-article-body .wp-caption-text, .kt-article-body figcaption { font-size: 14px; color: #6b7280; margin-top: 8px; }
