/*
Theme Name: Edgility Support
Theme URI: https://support.edgility.com.au/
Author: Edgility
Description: Lightweight knowledge base theme for the Edgility support centre. Built on the weDocs "docs" post type, with no page builder required.
Version: 1.0.6
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: edgility-kb
*/

:root {
	--navy: #04005E;
	--navy-deep: #070042;
	--purple: #440BD4;
	--purple-dark: #2E0796;
	--purple-tint: #EEE9FD;
	--pink: #FE2179;
	--ink: #17163A;
	--ink-2: #3A395A;
	--muted: #5B5A72;
	--muted-2: #6E6D85;
	--line: #E6E5F0;
	--line-2: #F0EFF6;
	--soft: #F6F5FB;
	--soft-2: #FAFAFD;
	--on-navy: #C9C6F5;
	--radius: 12px;
	--radius-lg: 16px;
	--font: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; font-size: 16px; line-height: 1.5; }
img { max-width: 100%; height: auto; }
a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--purple-dark); text-decoration: underline; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; background: #fff; color: var(--navy); padding: 12px 16px; border-radius: 8px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: 1280px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; font-weight: 600; font-size: 15px; line-height: 1; padding: 14px 22px; border-radius: 8px; border: 0; cursor: pointer; text-decoration: none; }
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--purple); color: #fff; }
.btn--primary:hover { background: var(--purple-dark); color: #fff; }
.btn--light { background: #fff; color: var(--navy); font-size: 14px; padding: 12px 18px; }
.btn--light:hover { background: var(--purple-tint); color: var(--navy); }
.btn--outline { background: #fff; color: var(--ink); border: 1px solid #D6D4E6; font-weight: 500; padding: 10px 20px; }
.btn--outline:hover { border-color: var(--purple); color: var(--purple); }

/* Header */
.site-header { background: var(--navy); }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand:hover { text-decoration: none; color: #fff; }
.brand img { display: block; max-height: 40px; width: auto; }
.brand__word { font-size: 27px; font-weight: 600; letter-spacing: -0.5px; color: #fff; }
.brand__word span { color: var(--pink); }
.brand__tag { font-size: 13px; font-weight: 500; color: var(--on-navy); text-transform: uppercase; letter-spacing: 1.5px; }
.header-search { flex: 1 1 200px; max-width: 440px; display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 10px; padding: 0 14px; }
.header-search:focus-within { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.45); }
.header-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: #fff; font-family: inherit; font-size: 15px; padding: 12px 0; }
.header-search input::placeholder { color: var(--on-navy); }
.header-search svg { color: var(--on-navy); flex: none; }
.primary-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 20px; margin-left: auto; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.primary-nav a:not(.btn) { color: #E4E2FB; font-size: 15px; padding: 10px 0; display: inline-block; }
.primary-nav a:not(.btn):hover, .primary-nav .current-menu-item > a { color: #fff; }
.nav-toggle { display: none; margin-left: auto; background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 8px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }

/* Hero */
.hero { background: var(--navy); padding: 56px 0 96px; }
.hero__inner { max-width: 760px; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.hero h1 { margin: 0; font-size: 48px; line-height: 1.1; font-weight: 700; color: #fff; letter-spacing: -1px; }
.hero p { margin: 0; font-size: 18px; color: var(--on-navy); }
.hero-search { width: 100%; margin-top: 12px; display: flex; align-items: center; background: #fff; border-radius: 12px; padding: 6px 6px 6px 18px; box-shadow: 0 12px 32px rgba(0,0,0,.25); }
.hero-search svg { color: var(--muted); flex: none; }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: none; font-family: inherit; font-size: 17px; padding: 14px 12px; color: var(--ink); background: transparent; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.chips__label { font-size: 14px; color: #A9A5E8; }
.chip { font-size: 14px; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: 6px 12px; border-radius: 999px; }
.chip:hover { color: #fff; background: rgba(255,255,255,.18); text-decoration: none; }

/* Cards & panels */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 32px; }
.panel--lift { margin-top: -48px; position: relative; box-shadow: 0 8px 24px rgba(4,0,94,.06); padding: 32px; }
.panel__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 20px; }
.panel h2, .section-title { margin: 0; font-size: 22px; font-weight: 600; color: var(--navy); }
.topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.topic { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid #ECEBF4; border-radius: var(--radius); background: var(--soft-2); color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.topic:hover { text-decoration: none; color: var(--ink); border-color: #CFC6F7; box-shadow: 0 6px 18px rgba(68,11,212,.08); transform: translateY(-1px); }
.topic__icon { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--purple-tint); color: var(--purple); display: flex; align-items: center; justify-content: center; }
.topic__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.topic__name { font-size: 16px; font-weight: 600; }
.topic__desc { font-size: 14px; line-height: 1.4; color: var(--muted); }
.topic__count { font-size: 13px; color: var(--muted-2); margin-top: 2px; }

.home-cols { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.home-cols__main { flex: 999 1 560px; min-width: 0; }
.home-cols__side { flex: 1 1 320px; display: flex; flex-direction: column; gap: 24px; }
.link-list { list-style: none; margin: 8px 0 0; padding: 0; }
.link-list li { border-bottom: 1px solid var(--line-2); }
.link-list li:last-child { border-bottom: 0; }
.link-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; color: var(--ink); }
.link-list a:hover { text-decoration: none; color: var(--purple); }
.link-list__title { display: block; font-size: 16px; font-weight: 500; }
.link-list__meta { display: block; font-size: 13px; color: var(--muted-2); margin-top: 4px; }
.link-list svg { flex: none; color: var(--purple); }
.count-list { display: flex; flex-direction: column; margin-top: 12px; }
.count-list a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 15px; color: var(--ink); }
.count-list a:hover { color: var(--purple); text-decoration: none; }
.count-list span:last-child { color: var(--muted-2); }
.dev-card { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 28px; }
.dev-card h2 { color: #fff; margin: 0 0 8px; font-size: 20px; }
.dev-card p { margin: 0 0 16px; font-size: 15px; color: var(--on-navy); }
.dev-card a { display: block; color: #fff; font-weight: 500; padding: 6px 0; }
.dev-card__icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: #fff; }
.cta { margin-top: 32px; background: var(--soft); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta h2 { margin: 0 0 6px; font-size: 22px; color: var(--navy); font-weight: 600; }
.cta p { margin: 0; color: var(--muted); }
.site-main { padding-bottom: 80px; }

/* Docs layout */
.docs-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 32px; padding-bottom: 80px; }
.docs-sidebar { flex: 1 1 240px; max-width: 260px; font-size: 15px; position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; }
.docs-sidebar summary { display: none; }
.docs-sidebar__label { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted-2); }
.docs-sidebar__label a { color: inherit; }
.doc-tree, .doc-tree ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.doc-tree a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); line-height: 1.35; }
.doc-tree a:hover { background: var(--soft); text-decoration: none; color: var(--ink); }
.doc-tree .is-open > a { color: var(--navy); font-weight: 600; }
.doc-tree ul { margin: 2px 0 6px 12px; padding-left: 12px; border-left: 1px solid var(--line); }
.doc-tree ul a { font-size: 14px; padding: 7px 10px; color: var(--muted); }
.doc-tree .is-current > a { background: var(--purple-tint); color: var(--purple); font-weight: 500; }

.docs-content { flex: 999 1 560px; min-width: 0; max-width: 760px; }
.docs-aside { flex: 1 1 220px; max-width: 240px; display: flex; flex-direction: column; gap: 24px; position: sticky; top: 24px; }
.docs-layout--hub .docs-content { max-width: none; }

.breadcrumbs ol { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted-2); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: #B5B3C9; }
.breadcrumbs a { color: var(--muted); }
.doc-title { margin: 0 0 12px; font-size: 40px; line-height: 1.15; font-weight: 700; color: var(--navy); letter-spacing: -.8px; }
.doc-meta { margin: 0 0 28px; font-size: 14px; color: var(--muted-2); }

/* Article body (Classic Editor content) */
.kb-content { font-size: 17px; line-height: 1.65; color: var(--ink-2); overflow-wrap: break-word; }
.kb-content > *:first-child { margin-top: 0; }
.kb-content p { margin: 0 0 18px; }
.kb-content h2 { margin: 40px 0 14px; font-size: 24px; line-height: 1.3; font-weight: 600; color: var(--navy); }
.kb-content h3 { margin: 32px 0 12px; font-size: 19px; line-height: 1.35; font-weight: 600; color: var(--navy); }
.kb-content h4 { margin: 24px 0 10px; font-size: 17px; font-weight: 600; color: var(--ink); }
.kb-content strong, .kb-content b { font-weight: 600; color: var(--ink); }
.kb-content ul, .kb-content ol { margin: 0 0 20px; padding-left: 24px; }
.kb-content li { margin: 6px 0; }
.kb-content ol { counter-reset: kb; list-style: none; padding-left: 0; }
.kb-content ol > li { counter-increment: kb; position: relative; padding-left: 46px; margin: 14px 0; min-height: 30px; }
.kb-content ol > li::before { content: counter(kb); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.kb-content img { border: 1px solid var(--line); border-radius: var(--radius); margin: 8px 0 16px; box-shadow: 0 4px 14px rgba(4,0,94,.06); }
.kb-content a { text-decoration: underline; text-underline-offset: 2px; }
.kb-content blockquote, .kb-content .kb-tip { margin: 24px 0; background: var(--purple-tint); border-radius: var(--radius); padding: 18px 20px; color: #2A2950; font-size: 16px; }
.kb-content blockquote p:last-child { margin-bottom: 0; }
.kb-content code { background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: .9em; }
.kb-content pre { background: var(--navy-deep); color: #F1F0FF; border-radius: var(--radius); padding: 18px 20px; overflow-x: auto; font-size: 14px; line-height: 1.55; }
.kb-content pre code { background: none; border: 0; padding: 0; color: inherit; }
.kb-content table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; display: block; overflow-x: auto; }
.kb-content th, .kb-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.kb-content th { background: var(--soft); color: var(--ink); font-weight: 600; }
.kb-content iframe, .kb-content video { max-width: 100%; border-radius: var(--radius); }
.kb-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.kb-content .alignright { float: right; margin: 0 0 16px 20px; }
.kb-content .alignleft { float: left; margin: 0 20px 16px 0; }
.kb-content::after { content: ""; display: table; clear: both; }

/* Section listing within a doc */
.child-list { margin-top: 32px; }
.child-list h2 { margin: 0 0 4px; font-size: 20px; color: var(--navy); }
.section-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 24px; }
.section-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.section-card__head { display: flex; align-items: center; gap: 12px; }
.section-card__head h2 { margin: 0; font-size: 18px; font-weight: 600; }
.section-card__head h2 a { color: var(--ink); }
.section-card p { margin: 0; }
.panel h2 a { color: inherit; }
.section-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.section-card li a { display: block; padding: 6px 0; font-size: 15px; color: var(--ink-2); }
.section-card li a:hover { color: var(--purple); }
.section-card__more { font-size: 14px; font-weight: 500; margin-top: auto; }

/* Feedback + pager */
.feedback { margin-top: 48px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.feedback__q { font-size: 16px; font-weight: 500; }
.feedback__buttons { display: flex; gap: 8px; }
.feedback__thanks { font-size: 15px; color: var(--muted); }
.feedback__thanks a { font-weight: 500; }
.pager { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.pager a { flex: 1 1 240px; display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); }
.pager a:hover { border-color: #CFC6F7; text-decoration: none; }
.pager__dir { font-size: 13px; color: var(--muted-2); }
.pager__title { font-size: 16px; font-weight: 500; }
.pager__next { text-align: right; margin-left: auto; }

/* Aside */
.toc__label { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted-2); }
.toc ul { list-style: none; margin: 0; padding: 0 0 0 12px; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.toc a { color: var(--muted); display: block; }
.toc .toc--h3 { padding-left: 12px; }
.toc a.is-active { color: var(--purple); font-weight: 500; }
.help-box { background: var(--soft); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.help-box strong { font-size: 16px; font-weight: 600; color: var(--navy); }
.help-box p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.help-box .btn { align-self: flex-start; font-size: 14px; padding: 11px 16px; margin-top: 4px; }

/* Search results & generic pages */
.page-head { padding: 40px 0 8px; }
.page-head h1 { margin: 0 0 8px; font-size: 36px; line-height: 1.2; color: var(--navy); letter-spacing: -.6px; }
.page-head p { margin: 0; color: var(--muted); }
.results { list-style: none; margin: 24px 0 0; padding: 0; max-width: 820px; }
.results li { padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.results h2 { margin: 4px 0 6px; font-size: 19px; font-weight: 600; }
.results h2 a { color: var(--ink); }
.results h2 a:hover { color: var(--purple); }
.results__path { font-size: 13px; color: var(--muted-2); }
.results p { margin: 0; color: var(--muted); font-size: 15px; }
.results mark { background: #FFE3EE; color: inherit; padding: 0 2px; border-radius: 3px; }
.search-again { max-width: 640px; margin-top: 20px; display: flex; gap: 8px; }
.search-again input { flex: 1; min-width: 0; font-family: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #D6D4E6; border-radius: 8px; }
.pagination { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }
.entry { max-width: 820px; padding: 8px 0 80px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--muted-2); }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--muted); }

/* Hide weDocs' own search modal markup (this theme has its own search) */
#wedocs-single-doc-search-modal { display: none !important; }

/* Responsive */
@media (max-width: 1100px) {
	.docs-aside { display: none; }
}
@media (max-width: 860px) {
	.nav-toggle { display: inline-flex; }
	.primary-nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; margin-left: 0; padding-bottom: 8px; }
	.primary-nav ul { flex-direction: column; gap: 0; width: 100%; }
	.primary-nav.is-open { display: flex; }
	.docs-layout { gap: 24px; padding-top: 20px; }
	.docs-sidebar { position: static; max-width: none; flex-basis: 100%; max-height: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 12px; }
	.docs-sidebar summary { display: flex; justify-content: space-between; align-items: center; min-height: 44px; font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; }
	.docs-sidebar summary::-webkit-details-marker { display: none; }
	.docs-sidebar summary::after { content: "+"; font-size: 20px; color: var(--purple); }
	.docs-sidebar[open] summary::after { content: "−"; }
	.docs-sidebar[open] .docs-sidebar__body { padding-bottom: 12px; }
}
@media (max-width: 600px) {
	.hero { padding: 40px 0 80px; }
	.hero h1 { font-size: 34px; }
	.hero p { font-size: 16px; }
	.hero-search { padding-left: 12px; }
	.hero-search .btn { padding: 14px 16px; }
	.panel, .panel--lift { padding: 22px 18px; }
	.doc-title { font-size: 30px; }
	.kb-content { font-size: 16px; }
	.cta { padding: 24px 20px; }
	.container { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
	.site-header, .docs-sidebar, .docs-aside, .feedback, .pager, .site-footer { display: none !important; }
	.docs-content { max-width: none; }
}

/* FAQ accordion */
.faq-groups { max-width: 920px; display: flex; flex-direction: column; gap: 40px; margin-top: 8px; }
.faq-group .section-card__head { margin-bottom: 14px; }
.faq-group h2 { margin: 0; font-size: 22px; font-weight: 600; }
.faq-group h2 a { color: var(--navy); }
.faq-list { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-size: 17px; font-weight: 500; color: var(--ink); min-height: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--purple); border-bottom: 2px solid var(--purple); transform: rotate(45deg); margin-top: -4px; transition: transform .15s; }
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq-item summary:hover { background: var(--soft-2); color: var(--purple); }
.faq-item[open] summary { color: var(--navy); }
.faq-item__body { padding: 0 22px 20px; }
.faq-item__body .kb-content { font-size: 16px; }
.faq-item__link { display: inline-block; margin-top: 4px; font-size: 14px; font-weight: 500; }
.kb-content--intro { margin-bottom: 8px; }
.docs-content .child-list:first-of-type { margin-top: 24px; }

/* Ticket page */
.page-hero { background: var(--navy); padding: 48px 0 88px; color: #fff; }
.page-hero h1 { margin: 0 0 10px; font-size: 40px; line-height: 1.15; letter-spacing: -.8px; }
.page-hero p { margin: 0; max-width: 640px; font-size: 18px; color: var(--on-navy); }
.ticket-layout { display: flex; flex-wrap: wrap; gap: 24px; margin-top: -48px; align-items: flex-start; }
.ticket-form { flex: 999 1 520px; min-width: 0; box-shadow: 0 8px 24px rgba(4,0,94,.06); }
.ticket-form h2, .ticket-side h2 { margin: 0 0 18px; }
.ticket-side { flex: 1 1 340px; display: flex; flex-direction: column; gap: 24px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list a { font-weight: 500; font-size: 16px; overflow-wrap: break-word; }
.contact-list__label { display: block; font-size: 13px; color: var(--muted-2); }

/* Contact Form 7 */
.wpcf7 form p { margin: 0 0 16px; }
.wpcf7 label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); }
.wpcf7 br { display: none; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"], .wpcf7 select, .wpcf7 textarea {
	display: block; width: 100%; margin-top: 6px; font-family: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #D6D4E6; border-radius: 8px; padding: 13px 14px; box-shadow: none; outline: none; }
.wpcf7 textarea { min-height: 160px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(68,11,212,.15); }
.wpcf7 input::placeholder, .wpcf7 textarea::placeholder { color: #8A89A0; }
.wpcf7 input[type="submit"] { font-family: inherit; font-weight: 600; font-size: 15px; padding: 14px 26px; border: 0; border-radius: 8px; background: var(--purple); color: #fff; cursor: pointer; }
.wpcf7 input[type="submit"]:hover { background: var(--purple-dark); }
.wpcf7 .wpcf7-spinner { vertical-align: middle; margin-left: 12px; }
.wpcf7 .wpcf7-not-valid-tip { font-size: 13px; color: #B3124F; margin-top: 4px; }
.wpcf7 .wpcf7-not-valid { border-color: #B3124F; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 16px; border-radius: 8px; font-size: 15px; border: 1px solid var(--line); }
.wpcf7 form.sent .wpcf7-response-output { border-color: #2E8B57; background: #EEF8F2; color: #1D5C39; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: #E9A8C0; background: #FFF1F6; color: #8C0F3E; }

/* Search band under the header */
.search-band { background: var(--soft); border-bottom: 1px solid var(--line); padding: 24px 0 26px; }
.search-band__inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.search-band__title { margin: 0; font-size: 22px; font-weight: 600; color: var(--navy); letter-spacing: -.3px; }
.band-search { width: 100%; max-width: 680px; text-align: left; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #D6D4E6; border-radius: 10px; padding: 4px 4px 4px 14px; }
.band-search:focus-within { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(68,11,212,.12); }
.band-search svg { color: var(--muted); flex: none; }
.band-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-family: inherit; font-size: 16px; color: var(--ink); padding: 10px 6px; }
.band-search .btn { padding: 11px 18px; font-size: 14px; }
.page-hero { padding-top: 40px; }

/* No focus box on FAQ toggles when clicked */
.faq-item summary:focus, .faq-item summary:focus-visible { outline: none; }
.faq-item summary:focus-visible { background: var(--purple-tint); }

@media (max-width: 600px) {
	.search-band { padding: 18px 0 20px; }
	.search-band__title { font-size: 19px; }
	.band-search { padding-left: 10px; }
	.band-search .btn { padding: 11px 14px; }
	.page-hero h1 { font-size: 30px; }
	.page-hero p { font-size: 16px; }
	.page-hero { padding-bottom: 72px; }
	.faq-item summary { padding: 16px; font-size: 16px; }
	.faq-item__body { padding: 0 16px 18px; }
	.feedback { padding: 16px; }
	.pager__next { text-align: left; }
	.cta .btn, .help-box .btn { width: 100%; }
	.brand__word { font-size: 24px; }
	.brand img { max-height: 32px; }
}
@media (max-width: 380px) {
	.brand__tag { display: none; }
}
