/*
Theme Name: Agent Warta
Author: OpenAI
Description: Lekki, responsywny motyw dla agenta ubezpieczeniowego Warty. Zawiera kompletną stronę główną, sekcje produktowe, kontakt, FAQ i integrację z wtyczką Agent Warta – Leady.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: agent-warta
Domain Path: /languages
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, accessibility-ready, blog, one-column
*/

:root {
	--aw-navy-950: #071b33;
	--aw-navy-900: #0b2442;
	--aw-navy-800: #12345a;
	--aw-navy-700: #1d4775;
	--aw-blue-100: #e9f2fb;
	--aw-blue-50: #f4f8fc;
	--aw-red-600: #d9232e;
	--aw-red-700: #b91822;
	--aw-red-100: #fde8ea;
	--aw-cream: #fff8ef;
	--aw-white: #fff;
	--aw-ink: #10243e;
	--aw-muted: #5b6b7f;
	--aw-line: #dce4ec;
	--aw-success: #177245;
	--aw-shadow-sm: 0 8px 24px rgba(7, 27, 51, 0.08);
	--aw-shadow-lg: 0 24px 64px rgba(7, 27, 51, 0.14);
	--aw-radius-sm: 12px;
	--aw-radius-md: 20px;
	--aw-radius-lg: 32px;
	--aw-container: 1180px;
	--aw-header-height: 80px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--aw-white);
	color: var(--aw-ink);
	font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

body.menu-open {
	overflow: hidden;
}

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

svg {
	display: block;
}

a {
	color: var(--aw-navy-700);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--aw-red-700);
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
summary {
	cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--aw-navy-950);
	font-weight: 760;
	letter-spacing: -0.035em;
	line-height: 1.12;
	margin: 0 0 0.65em;
}

h1 {
	font-size: clamp(2.55rem, 6vw, 5rem);
}

h2 {
	font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
	font-size: clamp(1.2rem, 2vw, 1.55rem);
}

p {
	margin: 0 0 1.2em;
}

ul,
ol {
	margin: 0 0 1.4em;
	padding-left: 1.25em;
}

::selection {
	background: var(--aw-red-100);
	color: var(--aw-navy-950);
}

:focus-visible {
	outline: 3px solid var(--aw-red-600);
	outline-offset: 4px;
}

.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 !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background: var(--aw-white);
	clip: auto !important;
	clip-path: none;
	color: var(--aw-navy-950);
	display: block;
	font-size: 0.95rem;
	font-weight: 700;
	height: auto;
	left: 16px;
	padding: 12px 18px;
	top: 16px;
	width: auto;
	z-index: 100000;
}

.aw-container {
	margin-inline: auto;
	max-width: var(--aw-container);
	padding-inline: 24px;
	width: 100%;
}

.aw-section {
	padding-block: clamp(72px, 9vw, 120px);
}

.aw-section--soft {
	background: var(--aw-blue-50);
}

.aw-section--cream {
	background: var(--aw-cream);
}

.aw-section-heading {
	margin-bottom: clamp(36px, 5vw, 60px);
	max-width: 760px;
}

.aw-section-heading--center {
	margin-inline: auto;
	text-align: center;
}

.aw-eyebrow {
	align-items: center;
	color: var(--aw-red-700);
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 800;
	gap: 9px;
	letter-spacing: 0.12em;
	margin-bottom: 16px;
	text-transform: uppercase;
}

.aw-eyebrow::before {
	background: var(--aw-red-600);
	border-radius: 999px;
	content: "";
	height: 8px;
	width: 8px;
}

.aw-lead {
	color: var(--aw-muted);
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
	max-width: 680px;
}

.aw-section-heading--center .aw-lead {
	margin-inline: auto;
}

.aw-button {
	align-items: center;
	background: var(--aw-red-600);
	border: 2px solid var(--aw-red-600);
	border-radius: 999px;
	color: var(--aw-white);
	display: inline-flex;
	font-size: 0.95rem;
	font-weight: 780;
	gap: 10px;
	justify-content: center;
	line-height: 1.2;
	min-height: 52px;
	padding: 14px 24px;
	text-decoration: none;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.aw-button:hover {
	background: var(--aw-red-700);
	border-color: var(--aw-red-700);
	box-shadow: 0 10px 24px rgba(217, 35, 46, 0.2);
	color: var(--aw-white);
	transform: translateY(-2px);
}

.aw-button--secondary {
	background: transparent;
	border-color: var(--aw-navy-900);
	color: var(--aw-navy-900);
}

.aw-button--secondary:hover {
	background: var(--aw-navy-900);
	border-color: var(--aw-navy-900);
	color: var(--aw-white);
}

.aw-button--light {
	background: var(--aw-white);
	border-color: var(--aw-white);
	color: var(--aw-navy-950);
}

.aw-button--light:hover {
	background: var(--aw-blue-100);
	border-color: var(--aw-blue-100);
	color: var(--aw-navy-950);
}

.aw-button--small {
	min-height: 44px;
	padding: 10px 19px;
}

.aw-icon {
	flex: 0 0 auto;
	height: 24px;
	width: 24px;
}

.aw-icon--small {
	height: 18px;
	width: 18px;
}

.aw-skip-link {
	position: absolute;
}

/* Header */
.aw-topbar {
	background: var(--aw-navy-950);
	color: rgba(255, 255, 255, 0.84);
	font-size: 0.83rem;
}

.aw-topbar__inner {
	align-items: center;
	display: flex;
	justify-content: space-between;
	min-height: 38px;
}

.aw-topbar__meta,
.aw-topbar__contact {
	align-items: center;
	display: flex;
	gap: 18px;
}

.aw-topbar a {
	align-items: center;
	color: var(--aw-white);
	display: inline-flex;
	font-weight: 700;
	gap: 7px;
	text-decoration: none;
}

.aw-site-header {
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid rgba(220, 228, 236, 0.82);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.admin-bar .aw-site-header {
	top: 32px;
}

.aw-header__inner {
	align-items: center;
	display: flex;
	gap: 28px;
	min-height: var(--aw-header-height);
}

.aw-brand {
	align-items: center;
	color: var(--aw-navy-950);
	display: inline-flex;
	flex: 0 0 auto;
	gap: 12px;
	text-decoration: none;
}

.aw-brand:hover {
	color: var(--aw-navy-950);
}

.aw-brand__mark {
	align-items: flex-start;
	display: inline-flex;
	font-size: 2rem;
	font-weight: 900;
	letter-spacing: -0.075em;
	line-height: 1;
}

.aw-brand__dot {
	background: var(--aw-red-600);
	border-radius: 2px;
	height: 9px;
	margin-left: 5px;
	margin-top: 2px;
	width: 9px;
}

.aw-brand__descriptor {
	border-left: 1px solid var(--aw-line);
	color: var(--aw-muted);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.055em;
	line-height: 1.3;
	max-width: 88px;
	padding-left: 12px;
	text-transform: uppercase;
}

.custom-logo-link {
	display: block;
	flex: 0 0 auto;
}

.custom-logo {
	max-height: 50px;
	width: auto;
}

.aw-primary-nav {
	margin-left: auto;
}

.aw-primary-nav ul {
	align-items: center;
	display: flex;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.aw-primary-nav a {
	border-radius: 999px;
	color: var(--aw-navy-900);
	display: block;
	font-size: 0.91rem;
	font-weight: 720;
	padding: 10px 13px;
	text-decoration: none;
}

.aw-primary-nav a:hover,
.aw-primary-nav .current-menu-item > a {
	background: var(--aw-blue-100);
	color: var(--aw-navy-950);
}

.aw-menu-toggle {
	align-items: center;
	background: transparent;
	border: 1px solid var(--aw-line);
	border-radius: 999px;
	color: var(--aw-navy-950);
	display: none;
	height: 46px;
	justify-content: center;
	margin-left: auto;
	padding: 0;
	width: 46px;
}

.aw-menu-toggle__icon,
.aw-menu-toggle__icon::before,
.aw-menu-toggle__icon::after {
	background: currentColor;
	border-radius: 2px;
	display: block;
	height: 2px;
	transition: transform 180ms ease, opacity 180ms ease;
	width: 20px;
}

.aw-menu-toggle__icon {
	position: relative;
}

.aw-menu-toggle__icon::before,
.aw-menu-toggle__icon::after {
	content: "";
	left: 0;
	position: absolute;
}

.aw-menu-toggle__icon::before {
	top: -6px;
}

.aw-menu-toggle__icon::after {
	top: 6px;
}

.aw-menu-toggle[aria-expanded="true"] .aw-menu-toggle__icon {
	background: transparent;
}

.aw-menu-toggle[aria-expanded="true"] .aw-menu-toggle__icon::before {
	top: 0;
	transform: rotate(45deg);
}

.aw-menu-toggle[aria-expanded="true"] .aw-menu-toggle__icon::after {
	top: 0;
	transform: rotate(-45deg);
}

/* Hero */
.aw-hero {
	background:
		radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.14), transparent 30%),
		linear-gradient(135deg, var(--aw-navy-950) 0%, var(--aw-navy-800) 100%);
	color: var(--aw-white);
	overflow: hidden;
	padding: clamp(64px, 8vw, 105px) 0 clamp(115px, 13vw, 165px);
	position: relative;
}

.aw-hero::after {
	background: var(--aw-red-600);
	border-radius: 50%;
	content: "";
	filter: blur(1px);
	height: 290px;
	opacity: 0.9;
	position: absolute;
	right: -170px;
	top: -115px;
	width: 290px;
}

.aw-hero__grid {
	align-items: center;
	display: grid;
	gap: clamp(44px, 7vw, 90px);
	grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
	position: relative;
	z-index: 1;
}

.aw-hero h1 {
	color: var(--aw-white);
	margin-bottom: 22px;
	max-width: 760px;
}

.aw-hero__text {
	color: rgba(255, 255, 255, 0.8);
	font-size: clamp(1.06rem, 1.8vw, 1.28rem);
	max-width: 650px;
}

.aw-hero__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 32px;
}

.aw-hero__phone {
	align-items: center;
	color: var(--aw-white);
	display: inline-flex;
	font-size: 1rem;
	font-weight: 760;
	gap: 10px;
	padding: 10px;
	text-decoration: none;
}

.aw-hero__phone:hover {
	color: var(--aw-white);
	text-decoration: underline;
}

.aw-hero__trust {
	align-items: center;
	color: rgba(255, 255, 255, 0.73);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.86rem;
	gap: 19px;
	margin-top: 34px;
}

.aw-hero__trust span {
	align-items: center;
	display: inline-flex;
	gap: 8px;
}

.aw-hero__visual {
	position: relative;
}

.aw-hero__visual::before {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 46% 54% 59% 41% / 50% 40% 60% 50%;
	content: "";
	inset: -22px -35px -30px -20px;
	position: absolute;
	transform: rotate(-4deg);
}

.aw-hero__visual img {
	filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.2));
	margin-inline: auto;
	max-height: 470px;
	position: relative;
	width: auto;
	z-index: 1;
}

/* Product selector */
.aw-product-finder {
	margin-top: clamp(-84px, -7vw, -64px);
	position: relative;
	z-index: 4;
}

.aw-product-finder__panel {
	background: var(--aw-white);
	border-radius: var(--aw-radius-lg);
	box-shadow: var(--aw-shadow-lg);
	padding: clamp(26px, 4vw, 46px);
}

.aw-product-finder__header {
	align-items: end;
	display: flex;
	gap: 30px;
	justify-content: space-between;
	margin-bottom: 28px;
}

.aw-product-finder__header h2 {
	font-size: clamp(1.55rem, 3vw, 2.25rem);
	margin: 0;
}

.aw-product-finder__header p {
	color: var(--aw-muted);
	margin: 0;
	max-width: 440px;
}

.aw-product-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.aw-product-card {
	align-items: flex-start;
	background: var(--aw-blue-50);
	border: 1px solid transparent;
	border-radius: var(--aw-radius-md);
	color: var(--aw-navy-950);
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-height: 170px;
	padding: 22px 18px;
	position: relative;
	text-decoration: none;
	transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.aw-product-card:hover {
	background: var(--aw-white);
	border-color: var(--aw-line);
	box-shadow: var(--aw-shadow-sm);
	color: var(--aw-navy-950);
	transform: translateY(-5px);
}

.aw-product-card__icon {
	align-items: center;
	background: var(--aw-white);
	border-radius: 14px;
	color: var(--aw-red-600);
	display: inline-flex;
	height: 48px;
	justify-content: center;
	width: 48px;
}

.aw-product-card strong {
	font-size: 0.98rem;
	letter-spacing: -0.015em;
	line-height: 1.25;
}

.aw-product-card__arrow {
	bottom: 17px;
	color: var(--aw-navy-700);
	position: absolute;
	right: 17px;
}

/* Quick service */
.aw-service-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.aw-service-card {
	background: var(--aw-white);
	border: 1px solid var(--aw-line);
	border-radius: var(--aw-radius-md);
	color: var(--aw-navy-950);
	min-height: 230px;
	padding: 28px;
	text-decoration: none;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.aw-service-card:hover {
	border-color: transparent;
	box-shadow: var(--aw-shadow-sm);
	color: var(--aw-navy-950);
	transform: translateY(-4px);
}

.aw-service-card__icon {
	align-items: center;
	background: var(--aw-red-100);
	border-radius: 16px;
	color: var(--aw-red-700);
	display: flex;
	height: 54px;
	justify-content: center;
	margin-bottom: 30px;
	width: 54px;
}

.aw-service-card h3 {
	font-size: 1.2rem;
	margin-bottom: 9px;
}

.aw-service-card p {
	color: var(--aw-muted);
	font-size: 0.92rem;
	margin-bottom: 18px;
}

.aw-text-link {
	align-items: center;
	color: var(--aw-navy-800);
	display: inline-flex;
	font-size: 0.9rem;
	font-weight: 780;
	gap: 8px;
	text-decoration: none;
}

.aw-text-link:hover {
	color: var(--aw-red-700);
	gap: 11px;
}

/* Agent and benefits */
.aw-agent-grid {
	align-items: center;
	display: grid;
	gap: clamp(48px, 8vw, 100px);
	grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
}

.aw-agent-photo {
	background: var(--aw-blue-100);
	border-radius: var(--aw-radius-lg);
	min-height: 500px;
	overflow: hidden;
	position: relative;
}

.aw-agent-photo::after {
	background: linear-gradient(180deg, transparent 45%, rgba(7, 27, 51, 0.3));
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.aw-agent-photo img {
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	width: 100%;
}

.aw-agent-photo__badge {
	background: var(--aw-white);
	border-radius: 16px;
	bottom: 22px;
	box-shadow: var(--aw-shadow-sm);
	left: 22px;
	padding: 15px 18px;
	position: absolute;
	right: 22px;
	z-index: 2;
}

.aw-agent-photo__badge strong,
.aw-agent-photo__badge span {
	display: block;
}

.aw-agent-photo__badge span {
	color: var(--aw-muted);
	font-size: 0.86rem;
	margin-top: 2px;
}

.aw-check-list {
	display: grid;
	gap: 19px;
	list-style: none;
	margin: 28px 0 34px;
	padding: 0;
}

.aw-check-list li {
	align-items: flex-start;
	display: flex;
	gap: 13px;
}

.aw-check-list__icon {
	align-items: center;
	background: #e4f5ec;
	border-radius: 50%;
	color: var(--aw-success);
	display: inline-flex;
	flex: 0 0 auto;
	height: 28px;
	justify-content: center;
	margin-top: 1px;
	width: 28px;
}

.aw-feature-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.aw-feature-card {
	background: var(--aw-white);
	border: 1px solid var(--aw-line);
	border-radius: var(--aw-radius-md);
	padding: 28px;
}

.aw-feature-card__number {
	color: var(--aw-red-600);
	font-size: 0.8rem;
	font-weight: 850;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.aw-feature-card h3 {
	margin-top: 20px;
}

.aw-feature-card p {
	color: var(--aw-muted);
	font-size: 0.94rem;
	margin: 0;
}

/* Process */
.aw-process {
	background: var(--aw-navy-950);
	color: var(--aw-white);
	overflow: hidden;
	position: relative;
}

.aw-process h2,
.aw-process h3 {
	color: var(--aw-white);
}

.aw-process .aw-lead {
	color: rgba(255, 255, 255, 0.7);
}

.aw-process-grid {
	counter-reset: process;
	display: grid;
	gap: 26px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.aw-process-step {
	border-top: 1px solid rgba(255, 255, 255, 0.19);
	counter-increment: process;
	padding: 34px 20px 0 0;
}

.aw-process-step::before {
	align-items: center;
	background: var(--aw-red-600);
	border-radius: 50%;
	content: counter(process);
	display: flex;
	font-size: 0.88rem;
	font-weight: 850;
	height: 42px;
	justify-content: center;
	margin-bottom: 24px;
	width: 42px;
}

.aw-process-step p {
	color: rgba(255, 255, 255, 0.68);
	margin: 0;
}

/* Guides */
.aw-guide-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.aw-guide-card {
	background: var(--aw-white);
	border: 1px solid var(--aw-line);
	border-radius: var(--aw-radius-md);
	display: flex;
	flex-direction: column;
	min-height: 300px;
	overflow: hidden;
	padding: 30px;
}

.aw-guide-card__tag {
	color: var(--aw-red-700);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	margin-bottom: 32px;
	text-transform: uppercase;
}

.aw-guide-card p {
	color: var(--aw-muted);
	font-size: 0.94rem;
}

.aw-guide-card .aw-text-link {
	margin-top: auto;
}

/* FAQ */
.aw-faq-grid {
	display: grid;
	gap: 16px;
	margin-inline: auto;
	max-width: 900px;
}

.aw-faq-item {
	background: var(--aw-white);
	border: 1px solid var(--aw-line);
	border-radius: 16px;
	overflow: hidden;
}

.aw-faq-item[open] {
	border-color: #c7d4e2;
	box-shadow: var(--aw-shadow-sm);
}

.aw-faq-item summary {
	align-items: center;
	color: var(--aw-navy-950);
	display: flex;
	font-weight: 760;
	justify-content: space-between;
	list-style: none;
	padding: 22px 26px;
}

.aw-faq-item summary::-webkit-details-marker {
	display: none;
}

.aw-faq-item summary::after {
	border-bottom: 2px solid currentColor;
	border-right: 2px solid currentColor;
	content: "";
	flex: 0 0 auto;
	height: 9px;
	margin-left: 20px;
	transform: rotate(45deg);
	transition: transform 180ms ease;
	width: 9px;
}

.aw-faq-item[open] summary::after {
	transform: rotate(225deg);
}

.aw-faq-item__content {
	color: var(--aw-muted);
	padding: 0 26px 24px;
}

.aw-faq-item__content p:last-child {
	margin-bottom: 0;
}

/* Contact */
.aw-contact-section {
	background: linear-gradient(135deg, var(--aw-navy-950), var(--aw-navy-800));
	color: var(--aw-white);
}

.aw-contact-grid {
	align-items: start;
	display: grid;
	gap: clamp(40px, 7vw, 90px);
	grid-template-columns: minmax(0, 0.86fr) minmax(400px, 1.14fr);
}

.aw-contact-section h2,
.aw-contact-section h3 {
	color: var(--aw-white);
}

.aw-contact-section .aw-lead {
	color: rgba(255, 255, 255, 0.72);
}

.aw-contact-list {
	display: grid;
	gap: 15px;
	list-style: none;
	margin: 34px 0 0;
	padding: 0;
}

.aw-contact-list a,
.aw-contact-list span {
	align-items: flex-start;
	color: var(--aw-white);
	display: flex;
	gap: 13px;
	text-decoration: none;
}

.aw-contact-list small {
	color: rgba(255, 255, 255, 0.63);
	display: block;
	font-size: 0.78rem;
}

.aw-contact-list strong {
	display: block;
	font-size: 1.03rem;
}

.aw-contact-card {
	background: var(--aw-white);
	border-radius: var(--aw-radius-lg);
	box-shadow: var(--aw-shadow-lg);
	color: var(--aw-ink);
	padding: clamp(28px, 4vw, 46px);
}

.aw-contact-card h3 {
	color: var(--aw-navy-950);
}

.aw-contact-card__fallback {
	display: grid;
	gap: 14px;
	margin-top: 24px;
}

.aw-contact-card__fallback .aw-button {
	width: 100%;
}

.aw-legal-note {
	color: var(--aw-muted);
	font-size: 0.76rem;
	line-height: 1.55;
	margin-top: 24px;
}

/* Content templates */
.aw-page-hero {
	background: var(--aw-blue-50);
	padding-block: 68px;
}

.aw-page-hero h1 {
	font-size: clamp(2.2rem, 5vw, 4rem);
	margin: 0;
}

.aw-breadcrumbs {
	color: var(--aw-muted);
	font-size: 0.84rem;
	margin-bottom: 18px;
}

.aw-breadcrumbs a {
	color: inherit;
}

.aw-content-wrap {
	display: grid;
	gap: 44px;
	grid-template-columns: minmax(0, 1fr);
	margin-inline: auto;
	max-width: 850px;
	padding-block: 70px 100px;
}

.aw-entry {
	min-width: 0;
}

.aw-entry__meta {
	color: var(--aw-muted);
	font-size: 0.85rem;
	margin-bottom: 24px;
}

.aw-entry__thumbnail {
	border-radius: var(--aw-radius-md);
	margin-bottom: 34px;
	overflow: hidden;
}

.aw-entry__content > * {
	max-width: 100%;
}

.aw-entry__content h2,
.aw-entry__content h3 {
	margin-top: 1.5em;
}

.aw-entry__content blockquote {
	border-left: 4px solid var(--aw-red-600);
	color: var(--aw-navy-800);
	font-size: 1.15rem;
	margin: 2em 0;
	padding: 10px 0 10px 24px;
}

.aw-entry__content table {
	border-collapse: collapse;
	width: 100%;
}

.aw-entry__content th,
.aw-entry__content td {
	border: 1px solid var(--aw-line);
	padding: 12px 14px;
	text-align: left;
}

.aw-post-list {
	display: grid;
	gap: 22px;
}

.aw-post-card {
	border: 1px solid var(--aw-line);
	border-radius: var(--aw-radius-md);
	padding: 28px;
}

.aw-post-card h2 {
	font-size: 1.55rem;
}

.aw-post-card h2 a {
	color: var(--aw-navy-950);
	text-decoration: none;
}

.aw-post-card h2 a:hover {
	color: var(--aw-red-700);
}

.navigation.pagination .nav-links,
.post-navigation .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: space-between;
	margin-top: 36px;
}

.page-numbers,
.post-navigation a {
	border: 1px solid var(--aw-line);
	border-radius: 999px;
	display: inline-flex;
	padding: 9px 15px;
	text-decoration: none;
}

.page-numbers.current {
	background: var(--aw-navy-950);
	border-color: var(--aw-navy-950);
	color: var(--aw-white);
}

.aw-search-form {
	display: flex;
	gap: 10px;
}

.aw-search-form input[type="search"] {
	border: 1px solid var(--aw-line);
	border-radius: 999px;
	flex: 1;
	min-width: 0;
	padding: 12px 18px;
}

.aw-empty-state {
	background: var(--aw-blue-50);
	border-radius: var(--aw-radius-md);
	padding: 32px;
	text-align: center;
}

/* Comments */
.comments-area {
	border-top: 1px solid var(--aw-line);
	margin-top: 50px;
	padding-top: 40px;
}

.comment-list {
	list-style: none;
	padding: 0;
}

.comment-body {
	border: 1px solid var(--aw-line);
	border-radius: var(--aw-radius-sm);
	margin-bottom: 16px;
	padding: 20px;
}

.comment-form label {
	display: block;
	font-weight: 700;
	margin-bottom: 6px;
}

.comment-form input:not([type="checkbox"]),
.comment-form textarea {
	border: 1px solid var(--aw-line);
	border-radius: var(--aw-radius-sm);
	padding: 12px;
	width: 100%;
}

.comment-form .submit {
	background: var(--aw-red-600);
	border: 0;
	border-radius: 999px;
	color: var(--aw-white);
	font-weight: 750;
	padding: 13px 22px;
}

/* Footer */
.aw-site-footer {
	background: #06172c;
	color: rgba(255, 255, 255, 0.68);
	padding: 68px 0 26px;
}

.aw-footer-grid {
	display: grid;
	gap: 44px;
	grid-template-columns: 1.3fr 0.8fr 0.8fr;
}

.aw-site-footer .aw-brand {
	color: var(--aw-white);
	margin-bottom: 20px;
}

.aw-footer-about {
	max-width: 430px;
}

.aw-site-footer h2 {
	color: var(--aw-white);
	font-size: 0.85rem;
	letter-spacing: 0.09em;
	margin-bottom: 18px;
	text-transform: uppercase;
}

.aw-site-footer ul {
	display: grid;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.aw-site-footer a {
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
}

.aw-site-footer a:hover {
	color: var(--aw-white);
}

.aw-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	display: flex;
	font-size: 0.77rem;
	gap: 24px;
	justify-content: space-between;
	margin-top: 52px;
	padding-top: 22px;
}

.aw-footer-bottom p {
	margin: 0;
}

/* WordPress core */
.alignwide {
	margin-left: calc(50% - 47vw);
	max-width: 94vw;
	width: var(--aw-container);
}

.alignfull {
	margin-left: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

.wp-caption,
.gallery-caption {
	color: var(--aw-muted);
	font-size: 0.85rem;
}

.sticky {
	border-color: var(--aw-red-600);
}

.bypostauthor {
	box-shadow: inset 3px 0 0 var(--aw-red-600);
}

/* Responsive */
@media (max-width: 1080px) {
	.aw-header__cta {
		display: none;
	}

	.aw-product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

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

@media (max-width: 920px) {
	:root {
		--aw-header-height: 70px;
	}

	.admin-bar .aw-site-header {
		top: 46px;
	}

	.aw-topbar__meta span:last-child {
		display: none;
	}

	.aw-menu-toggle {
		display: inline-flex;
	}

	.aw-primary-nav {
		background: var(--aw-white);
		border-top: 1px solid var(--aw-line);
		box-shadow: 0 20px 30px rgba(7, 27, 51, 0.1);
		display: none;
		left: 0;
		padding: 18px 24px 26px;
		position: absolute;
		right: 0;
		top: 100%;
	}

	.aw-primary-nav.is-open {
		display: block;
	}

	.aw-primary-nav ul {
		align-items: stretch;
		flex-direction: column;
	}

	.aw-primary-nav a {
		border-radius: 10px;
		font-size: 1rem;
		padding: 12px 14px;
	}

	.aw-hero__grid,
	.aw-agent-grid,
	.aw-contact-grid {
		grid-template-columns: 1fr;
	}

	.aw-hero__content {
		max-width: 760px;
	}

	.aw-hero__visual {
		margin-inline: auto;
		max-width: 520px;
		width: 100%;
	}

	.aw-hero__visual img {
		max-height: 370px;
	}

	.aw-feature-grid,
	.aw-process-grid,
	.aw-guide-grid {
		grid-template-columns: 1fr;
	}

	.aw-contact-grid {
		max-width: 720px;
	}
}

@media (max-width: 680px) {
	.aw-container {
		padding-inline: 18px;
	}

	.aw-topbar__inner {
		justify-content: center;
	}

	.aw-topbar__meta {
		display: none;
	}

	.aw-brand__descriptor {
		display: none;
	}

	.aw-product-finder__header {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.aw-product-grid,
	.aw-service-grid {
		grid-template-columns: 1fr 1fr;
	}

	.aw-product-card {
		min-height: 150px;
		padding: 18px 15px;
	}

	.aw-service-card {
		min-height: 0;
	}

	.aw-agent-photo {
		min-height: 420px;
	}

	.aw-contact-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.aw-contact-card {
		border-radius: var(--aw-radius-md);
	}

	.aw-footer-grid {
		grid-template-columns: 1fr;
	}

	.aw-footer-bottom {
		flex-direction: column;
	}

	.aw-search-form {
		align-items: stretch;
		flex-direction: column;
	}
}

@media (max-width: 430px) {
	.aw-product-grid,
	.aw-service-grid {
		grid-template-columns: 1fr;
	}

	.aw-hero__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.aw-hero__actions .aw-button {
		width: 100%;
	}

	.aw-hero__phone {
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
