/*
Theme Name: Sixten
Theme URI: https://sixtensoftware.com
Author: Don Burnside
Author URI: https://sixtensoftware.com
Description: Custom theme for Six Ten Software — desktop productivity tools for L&D professionals.
Version: 1.0.1
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: sixten
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Based on the Underscores starter theme (https://underscores.me/).
*/

/* Reset box-sizing */
*,
*::before,
*::after {
	box-sizing: border-box;
}

:root {
	--st-blue: #2e8ac5;
	--st-blue-tint-50: #eaf4fb;
	--st-blue-tint-200: #a9d4ec;
	--st-blue-shade-600: #1f6392;
	--st-navy: #0d2b3f;
	--st-orange: #e9713a;
	--st-orange-hover: #c85a26;
	--st-white: #ffffff;
	--st-text: #1a1a1a;
	--st-text-muted: #5c6b76;
	--st-font: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--st-font-condensed: 'Roboto Condensed', sans-serif;
}

body {
	margin: 0;
	font-family: var(--st-font);
	line-height: 1.6;
	color: var(--st-text);
	background: var(--st-white);
}

a {
	color: inherit;
	text-decoration: none;
}

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

.site-main {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.wrap {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 32px;
}

/* Content card — standard page template */
.content-card {
	max-width: 960px;
	margin: 48px auto;
	padding: 0 32px;
}

.content-card .entry-title {
	font-family: var(--st-font);
	font-weight: 700;
	color: var(--st-navy);
	font-size: 28px;
	margin: 0 0 16px;
}

.content-card .entry-meta {
	color: var(--st-text-muted);
	font-size: 14px;
	margin-bottom: 20px;
}

.content-card .entry-content {
	color: var(--st-text-muted);
	font-size: 16px;
}

.content-card .entry-content p {
	margin: 0 0 20px;
}

.content-card .entry-content ul,
.content-card .entry-content ol {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
}

.content-card .entry-content ul li {
	font-size: 14px;
	color: var(--st-text);
	padding: 10px 0 10px 22px;
	position: relative;
	border-top: 0.5px solid var(--st-blue-tint-200);
}

.content-card .entry-content ul li:first-child {
	border-top: none;
}

.content-card .entry-content ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 16px;
	width: 8px;
	height: 8px;
	background: var(--st-blue);
	border-radius: 2px;
}

.content-card .entry-content a {
	color: var(--st-orange);
	font-weight: 500;
}

.content-card .entry-content a:hover {
	color: var(--st-orange-hover);
	text-decoration: underline;
}

.content-card .entry-content h2,
.content-card .entry-content h3,
.content-card .entry-content h4 {
	color: var(--st-navy);
	font-weight: 700;
}

.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;
}

.alignleft {
	float: left;
	margin-right: 1.5rem;
}
.alignright {
	float: right;
	margin-left: 1.5rem;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Floated images inside page/post content (e.g. the About portrait).
   Keeps a portrait-sized float with the theme's rounded corners, and
   gives it breathing room below so nothing hugs the bottom edge. */
.content-card .entry-content .alignleft,
.content-card .entry-content .alignright,
.content-card .entry-content img.alignleft,
.content-card .entry-content img.alignright {
	width: 230px;
	max-width: 40%;
	margin-top: 4px;
	margin-bottom: 20px;
	border-radius: var(--st-radius-lg, 12px);
}

.content-card .entry-content .alignleft,
.content-card .entry-content img.alignleft {
	margin-right: 28px;
}

.content-card .entry-content .alignright,
.content-card .entry-content img.alignright {
	margin-left: 28px;
}

.content-card .entry-content figure.alignleft img,
.content-card .entry-content figure.alignright img {
	display: block;
	width: 100%;
	border-radius: var(--st-radius-lg, 12px);
}

/* Let intro text wrap the portrait, but start the belief list, any
   sub-heading, and a bold lead-in ("What I believe:") flush below it
   instead of jogging into the narrow wrap column. */
.content-card .entry-content ul,
.content-card .entry-content ol,
.content-card .entry-content h2,
.content-card .entry-content h3,
.content-card .entry-content h4,
.content-card .entry-content p:has(> strong:only-child) {
	clear: both;
}

/* Stack the portrait on top on narrow screens rather than squeezing text. */
@media (max-width: 600px) {
	.content-card .entry-content .alignleft,
	.content-card .entry-content .alignright,
	.content-card .entry-content img.alignleft,
	.content-card .entry-content img.alignright {
		float: none;
		width: 200px;
		max-width: 70%;
		margin: 0 auto 24px;
	}
}

/* =========================================================
   Site Header
   ========================================================= */
.site-header {
	background: var(--st-navy);
	position: sticky;
	top: 0;
	z-index: 10;
}

.site-header-inner {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 68px;
}

.site-branding {
	display: flex;
	align-items: center;
}

.monogram {
	display: inline-flex;
	width: 40px;
	height: 40px;
	border-radius: var(--st-radius-sm, 4px);
	overflow: hidden;
	flex-shrink: 0;
}

.monogram-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.site-title {
	margin: 0;
	font-family: var(--st-font);
	font-weight: 700;
	font-size: 18px;
}

.site-title a {
	color: var(--st-white);
}

/* Nav */
.main-navigation {
	display: flex;
	align-items: center;
}

.main-navigation ul {
	list-style: none;
	display: flex;
	gap: 28px;
	margin: 0;
	padding: 0;
}

.main-navigation a {
	color: var(--st-blue-tint-50);
	font-family: var(--st-font);
	font-size: 15px;
	font-weight: 500;
}

.main-navigation a:hover {
	color: var(--st-white);
}

.menu-toggle {
	display: none;
	background: transparent;
	border: 1px solid var(--st-blue-tint-200);
	color: var(--st-white);
	font-family: var(--st-font);
	font-size: 14px;
	padding: 8px 14px;
	border-radius: var(--st-radius-sm, 4px);
	cursor: pointer;
}

@media (max-width: 860px) {
	.menu-toggle {
		display: inline-block;
	}

	.main-navigation ul {
		display: none;
		flex-direction: column;
		position: absolute;
		top: 68px;
		left: 0;
		right: 0;
		background: var(--st-navy);
		padding: 16px 32px 24px;
		gap: 14px;
	}

	.main-navigation.toggled ul {
		display: flex;
	}
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
	background: var(--st-blue);
	padding: 96px 0 88px;
}

.hero h1 {
	font-family: var(--st-font);
	font-size: 44px;
	font-weight: 700;
	color: var(--st-white);
	margin: 0;
	max-width: 760px;
	line-height: 1.15;
}

.hero p.lede {
	font-family: var(--st-font);
	font-size: 18px;
	color: var(--st-blue-tint-200);
	max-width: 620px;
	margin: 20px 0 12px;
}

.hero-actions {
	display: flex;
	gap: 14px;
	margin-top: 12px;
}

.btn-primary,
.btn-secondary {
	display: inline-block;
	font-family: var(--st-font);
	font-size: 15px;
	padding: 13px 24px;
	border-radius: var(--st-radius-sm, 4px);
}

.btn-primary {
	background: var(--st-orange);
	color: var(--st-white);
	font-weight: 700;
	border: none;
}

.btn-primary:hover {
	background: var(--st-orange-hover);
}

.btn-secondary {
	color: var(--st-white);
	font-weight: 500;
	border: 1.5px solid var(--st-blue-tint-200);
	background: transparent;
}

.btn-secondary:hover {
	border-color: var(--st-white);
}

/* =========================================================
   Section shared
   ========================================================= */
.section {
	padding: 80px 0;
}

.section-tint {
	background: var(--st-blue-tint-50);
}

.section-head {
	max-width: 620px;
	margin: 0 0 44px;
}

.section-head .kicker {
	font-family: var(--st-font-condensed);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 1.5px;
	color: var(--st-orange);
	text-transform: uppercase;
}

.section h2 {
	font-family: var(--st-font);
	font-weight: 700;
	color: var(--st-orange);
	font-size: 30px;
	margin: 6px 0 10px;
}

.section-head p {
	color: var(--st-text-muted);
	font-size: 16px;
	margin: 0;
}

/* =========================================================
   Flagship product
   ========================================================= */
.flagship {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 48px;
	align-items: center;
	background: var(--st-white);
	border: 0.5px solid var(--st-blue-tint-200);
	border-radius: var(--st-radius-lg, 12px);
	padding: 40px;
}

.flagship h3 {
	font-family: var(--st-font);
	font-size: 28px;
	font-weight: 700;
	color: var(--st-navy);
	margin: 0 0 12px;
}

.flagship p {
	color: var(--st-text-muted);
	font-size: 16px;
	margin: 0 0 20px;
}

.flagship ul {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
}

.flagship li {
	font-size: 14px;
	color: var(--st-text);
	padding: 7px 0 7px 22px;
	position: relative;
	border-top: 0.5px solid var(--st-blue-tint-200);
}

.flagship li:first-child {
	border-top: none;
}

.flagship li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 15px;
	width: 8px;
	height: 8px;
	background: var(--st-blue);
	border-radius: 2px;
}

.flagship-link {
	color: var(--st-orange);
	font-weight: 500;
	font-size: 15px;
}

.flagship-link:hover {
	color: var(--st-orange-hover);
	text-decoration: underline;
}

.flagship-visual {
	display: flex;
	align-items: center;
	justify-content: center;
}

.flagship-visual img {
	width: 55%;
	max-width: 240px;
	height: auto;
	object-fit: contain;
	display: block;
	margin: 0 auto;
}

/* =========================================================
   Product grid
   ========================================================= */
.product-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.product-card {
	background: var(--st-white);
	border: 0.5px solid var(--st-blue-tint-200);
	border-radius: var(--st-radius-lg, 12px);
	padding: 26px 22px;
}

.product-icon {
	width: 100px;
	height: 100px;
	border-radius: var(--st-radius-sm, 4px);
	background: var(--st-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	overflow: hidden;
}

.product-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.product-card h3 {
	font-family: var(--st-font);
	font-size: 17px;
	font-weight: 700;
	color: var(--st-navy);
	margin: 0 0 8px;
}

.product-card p {
	font-size: 14px;
	color: var(--st-text-muted);
	margin: 0 0 16px;
}

.product-card a {
	font-size: 14px;
	font-weight: 500;
	color: var(--st-orange);
}

.product-card a:hover {
	color: var(--st-orange-hover);
	text-decoration: underline;
}

/* =========================================================
   About strip
   ========================================================= */
.about-strip {
	background: var(--st-blue);
	padding: 56px 0;
	text-align: center;
}

.about-strip p {
	color: var(--st-white);
	font-size: 20px;
	font-weight: 500;
	max-width: 640px;
	margin: 0 auto 20px;
	line-height: 1.5;
}

.about-strip a {
	color: var(--st-white);
	font-weight: 700;
	border-bottom: 2px solid var(--st-orange);
	padding-bottom: 2px;
	font-size: 15px;
}

/* =========================================================
   Site Footer
   ========================================================= */
.site-footer {
	background: var(--st-navy);
	padding: 48px 0 32px;
}

.site-footer-inner {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 32px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
}

.footer-navigation ul {
	list-style: none;
	display: flex;
	gap: 24px;
	margin: 0;
	padding: 0;
}

.footer-navigation a {
	color: var(--st-blue-tint-200);
	font-size: 13px;
}

.footer-navigation a:hover {
	color: var(--st-white);
}

.footer-copy {
	color: #5c7386;
	font-size: 12px;
	margin: 24px 0 0;
	text-align: center;
}

.footer-widgets {
	color: var(--st-blue-tint-200);
	font-size: 13px;
}

@media (max-width: 860px) {
	.flagship {
		grid-template-columns: 1fr;
	}
	.product-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.hero h1 {
		font-size: 32px;
	}
}

@media (max-width: 520px) {
	.product-grid {
		grid-template-columns: 1fr;
	}
}

/* =========================================================
   Product Page template
   ========================================================= */
.product-page {
	padding: 0;
	max-width: none;
}

.product-header {
	padding: 56px 0 0;
}

.product-title {
	font-family: var(--st-font);
	font-weight: 700;
	font-size: 44px;
	color: var(--st-navy);
	margin: 0 0 8px;
	line-height: 1.15;
}

.product-content {
	padding: 24px 0 80px;
}

.product-content p {
	font-size: 16px;
	color: var(--st-text);
	line-height: 1.7;
	margin: 0 0 24px;
	max-width: 760px;
}

.product-content h2 {
	font-family: var(--st-font);
	font-weight: 700;
	font-size: 30px;
	color: var(--st-orange);
	margin: 48px 0 16px;
}

.product-content h3 {
	font-family: var(--st-font);
	font-weight: 700;
	font-size: 22px;
	color: var(--st-navy);
	margin: 36px 0 12px;
}

.product-content h4 {
	font-family: var(--st-font);
	font-weight: 700;
	font-size: 18px;
	color: var(--st-navy);
	margin: 28px 0 10px;
}

.product-content a {
	color: var(--st-orange);
	font-weight: 500;
}

.product-content a:hover {
	color: var(--st-orange-hover);
	text-decoration: underline;
}

.product-content ul,
.product-content ol {
	margin: 0 0 24px;
	padding-left: 24px;
	max-width: 760px;
}

.product-content li {
	font-size: 16px;
	color: var(--st-text);
	line-height: 1.6;
	margin-bottom: 8px;
}

.product-content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--st-radius-lg, 12px);
	margin: 8px 0 24px;
}

/* WordPress oEmbed — responsive 16:9, capped width (Classic Editor) */
.product-content .st-embed {
	max-width: 640px;
	margin: 32px 0;
}

.product-content .st-embed iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border-radius: var(--st-radius-lg, 12px);
}

/* Block editor fallback (in case Gutenberg is ever used) */
.product-content .wp-block-embed {
	max-width: 640px;
	margin: 32px 0;
}

.product-content .wp-block-embed__wrapper {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	border-radius: var(--st-radius-lg, 12px);
}

.product-content .wp-block-embed__wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Block editor spacing helpers */
.product-content .wp-block-separator {
	border: none;
	border-top: 1px solid var(--st-blue-tint-200);
	margin: 48px 0;
	max-width: 760px;
}

.product-content .wp-block-image {
	margin: 32px 0;
}

.product-content .wp-block-buttons {
	margin: 32px 0;
}

.product-content .wp-block-button__link {
	background: var(--st-orange);
	color: var(--st-white);
	font-family: var(--st-font);
	font-weight: 700;
	font-size: 15px;
	padding: 13px 24px;
	border-radius: var(--st-radius-sm, 4px);
	text-decoration: none;
}

.product-content .wp-block-button__link:hover {
	background: var(--st-orange-hover);
}

@media (max-width: 860px) {
	.product-title {
		font-size: 32px;
	}
}

/* =========================================================
   Global oEmbed wrapper (Classic Editor)
   ========================================================= */
.st-embed {
	max-width: 640px;
	margin: 24px 0;
}

.st-embed iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border-radius: var(--st-radius-lg, 12px);
}

/* Neutralize WordPress's legacy align="center" wrapper around
   auto-embedded videos so they left-align like surrounding text. */
div[align="center"] {
	text-align: left;
}

div[align="center"] .st-embed,
div[align="center"] .wp-block-embed {
	margin-left: 0 !important;
	margin-right: auto !important;
}

/* =========================================================
   Single Post
   ========================================================= */
.single-post {
	padding: 0;
	max-width: none;
}

.post-header {
	padding: 56px 0 0;
}

.post-title {
	font-family: var(--st-font);
	font-weight: 700;
	font-size: 44px;
	color: var(--st-navy);
	margin: 0 0 12px;
	line-height: 1.15;
}

.post-meta {
	display: flex;
	gap: 16px;
	align-items: center;
	font-size: 14px;
	color: var(--st-text-muted);
	margin-bottom: 8px;
}

.post-meta a {
	color: var(--st-orange);
	font-weight: 500;
}

.post-meta a:hover {
	color: var(--st-orange-hover);
}

.post-featured-image {
	padding: 24px 0 0;
}

.post-featured-image img {
	max-width: 100%;
	height: auto;
	border-radius: var(--st-radius-lg, 12px);
}

.post-content {
	padding: 24px 0 48px;
}

.post-content p {
	font-size: 16px;
	color: var(--st-text);
	line-height: 1.7;
	margin: 0 0 24px;
	max-width: 760px;
}

.post-content h2 {
	font-family: var(--st-font);
	font-weight: 700;
	font-size: 30px;
	color: var(--st-orange);
	margin: 48px 0 16px;
}

.post-content h3 {
	font-family: var(--st-font);
	font-weight: 700;
	font-size: 22px;
	color: var(--st-navy);
	margin: 36px 0 12px;
}

.post-content h4 {
	font-family: var(--st-font);
	font-weight: 700;
	font-size: 18px;
	color: var(--st-navy);
	margin: 28px 0 10px;
}

.post-content a {
	color: var(--st-orange);
	font-weight: 500;
}

.post-content a:hover {
	color: var(--st-orange-hover);
	text-decoration: underline;
}

.post-content ul,
.post-content ol {
	margin: 0 0 24px;
	padding-left: 24px;
	max-width: 760px;
}

.post-content li {
	font-size: 16px;
	color: var(--st-text);
	line-height: 1.6;
	margin-bottom: 8px;
}

.post-content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--st-radius-lg, 12px);
	margin: 8px 0 24px;
}

.post-content blockquote {
	border-left: 4px solid var(--st-blue);
	margin: 32px 0;
	padding: 12px 24px;
	color: var(--st-text-muted);
	font-size: 17px;
	font-style: italic;
	max-width: 760px;
}

.post-content blockquote p {
	margin: 0;
}

.post-content pre {
	background: var(--st-navy);
	color: var(--st-blue-tint-200);
	padding: 20px 24px;
	border-radius: var(--st-radius-lg, 12px);
	overflow-x: auto;
	font-size: 14px;
	line-height: 1.5;
	margin: 24px 0;
	max-width: 760px;
}

.post-content code {
	font-size: 14px;
}

.post-content p code {
	background: var(--st-blue-tint-50);
	padding: 2px 6px;
	border-radius: var(--st-radius-sm, 4px);
	font-size: 14px;
	color: var(--st-navy);
}

/* oEmbed in posts */
.post-content .st-embed {
	max-width: 640px;
	margin: 32px 0;
}

.post-content .st-embed iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border-radius: var(--st-radius-lg, 12px);
}

/* Post footer */
.post-footer {
	border-top: 1px solid var(--st-blue-tint-200);
	padding: 32px 0 48px;
}

.post-tags {
	margin-bottom: 24px;
	font-size: 14px;
}

.post-tags a {
	color: var(--st-orange);
	font-weight: 500;
}

.post-tags a:hover {
	color: var(--st-orange-hover);
}

/* Post navigation */
.post-navigation {
	display: flex;
	justify-content: space-between;
	gap: 24px;
}

.post-navigation a {
	color: var(--st-orange);
	font-weight: 500;
	font-size: 15px;
}

.post-navigation a:hover {
	color: var(--st-orange-hover);
}

@media (max-width: 860px) {
	.post-title {
		font-size: 32px;
	}
}

/* =========================================================
   Blog Listing (index + archive)
   ========================================================= */
.blog-listing {
	padding: 0;
	max-width: none;
}

.blog-header {
	padding: 56px 0 32px;
}

.blog-title {
	font-family: var(--st-font);
	font-weight: 700;
	font-size: 44px;
	color: var(--st-navy);
	margin: 0;
}

.blog-description {
	color: var(--st-text-muted);
	font-size: 16px;
	margin: 8px 0 0;
}

.posts-list {
	padding-bottom: 48px;
}

.post-item {
	display: flex;
	gap: 28px;
	align-items: flex-start;
	padding: 28px 0;
	border-top: 1px solid var(--st-blue-tint-200);
}

.post-item:first-child {
	border-top: none;
	padding-top: 0;
}

.post-item-thumbnail {
	flex-shrink: 0;
	width: 200px;
}

.post-item-thumbnail img {
	width: 100%;
	height: auto;
	border-radius: var(--st-radius-lg, 12px);
	display: block;
}

.post-item-body {
	flex: 1;
	min-width: 0;
}

.post-item-title {
	font-family: var(--st-font);
	font-weight: 700;
	font-size: 22px;
	color: var(--st-navy);
	margin: 0 0 6px;
	line-height: 1.3;
}

.post-item-title a {
	color: var(--st-navy);
}

.post-item-title a:hover {
	color: var(--st-blue);
}

.post-item-meta {
	font-size: 13px;
	color: var(--st-text-muted);
	margin-bottom: 10px;
}

.post-item-excerpt {
	font-size: 15px;
	color: var(--st-text-muted);
	line-height: 1.6;
	margin-bottom: 10px;
}

.post-item-excerpt p {
	margin: 0;
}

.post-item-link {
	font-size: 14px;
	font-weight: 500;
	color: var(--st-orange);
}

.post-item-link:hover {
	color: var(--st-orange-hover);
	text-decoration: underline;
}

/* Posts navigation (older/newer) */
.posts-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	padding: 24px 0 48px;
	border-top: 1px solid var(--st-blue-tint-200);
}

.posts-navigation a {
	color: var(--st-orange);
	font-weight: 500;
	font-size: 15px;
}

.posts-navigation a:hover {
	color: var(--st-orange-hover);
}

@media (max-width: 640px) {
	.post-item {
		flex-direction: column;
		gap: 16px;
	}

	.post-item-thumbnail {
		width: 100%;
	}

	.blog-title {
		font-size: 32px;
	}
}

/* =========================================================
   Contact Form 7
   ========================================================= */
.wpcf7-form {
	max-width: 520px;
	margin-top: 8px;
}

.wpcf7-form p {
	margin: 0 0 24px;
}

.wpcf7-form label {
	display: block;
	font-family: var(--st-font);
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--st-navy);
	margin-bottom: 8px;
}

.wpcf7-form-control-wrap {
	display: block;
}

.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-textarea {
	width: 100%;
	box-sizing: border-box;
	font-family: var(--st-font);
	font-size: 16px;
	color: var(--st-text);
	background: var(--st-white);
	border: 1px solid var(--st-blue-tint-200);
	border-radius: var(--st-radius-sm, 4px);
	padding: 12px 14px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email {
	height: 48px;
}

.wpcf7-form-control.wpcf7-textarea {
	min-height: 160px;
	resize: vertical;
	line-height: 1.6;
}

.wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form-control.wpcf7-email:focus,
.wpcf7-form-control.wpcf7-textarea:focus {
	outline: none;
	border-color: var(--st-blue);
	box-shadow: 0 0 0 3px var(--st-blue-tint-50);
}

.wpcf7-form-control.wpcf7-submit {
	display: inline-block;
	font-family: var(--st-font);
	font-weight: 700;
	font-size: 15px;
	color: var(--st-white);
	background: var(--st-orange);
	border: none;
	border-radius: var(--st-radius-sm, 4px);
	padding: 13px 32px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.wpcf7-form-control.wpcf7-submit:hover {
	background: var(--st-orange-hover);
}

.wpcf7-form-control.wpcf7-submit:disabled {
	opacity: 0.6;
	cursor: default;
}

.wpcf7-spinner {
	margin-left: 12px;
	vertical-align: middle;
}

.wpcf7-not-valid-tip {
	display: block;
	font-family: var(--st-font);
	font-size: 13px;
	font-weight: 500;
	color: var(--st-orange-hover);
	margin-top: 6px;
}

.wpcf7-form-control.wpcf7-not-valid {
	border-color: var(--st-orange-hover);
}

.wpcf7-response-output {
	font-family: var(--st-font);
	font-size: 14px;
	border-radius: var(--st-radius-sm, 4px);
	padding: 14px 18px;
	margin: 24px 0 0;
	border: 1px solid var(--st-blue-tint-200);
	color: var(--st-navy);
}

.wpcf7-form.sent .wpcf7-response-output {
	border-color: var(--st-blue);
	background: var(--st-blue-tint-50);
}

.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.aborted .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output {
	border-color: var(--st-orange-hover);
	background: #fdf1ec;
}

@media (max-width: 520px) {
	.wpcf7-form {
		max-width: 100%;
	}
}
