/* Veterans Hurt Too — brand layer on Kadence. Colours and type from brand-brief.md v2. */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }

body {
	--vht-red: #C8102E;
	--vht-black: #0A0A0A;
	--vht-white: #FFFFFF;
	--vht-stone: #F4F2EE;
	--vht-grey: #5C5C5C;
	--vht-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
	--vht-body: "Barlow", Arial, sans-serif;

	/* Kadence palette */
	--global-palette1: #0A0A0A;
	--global-palette2: #C8102E;
	--global-palette3: #0A0A0A;
	--global-palette4: #1F1F1F;
	--global-palette5: #5C5C5C;
	--global-palette6: #8A8A8A;
	--global-palette7: #E8E5DF;
	--global-palette8: #F4F2EE;
	--global-palette9: #FFFFFF;
	--global-palette-highlight: #C8102E;
	--global-palette-highlight-alt: #A50D26;
	--global-palette-btn-bg: #0A0A0A;
	--global-palette-btn-bg-hover: #C8102E;
	--global-palette-btn: #FFFFFF;
	--global-palette-btn-hover: #FFFFFF;
	--global-body-font-family: var(--vht-body);
	--global-heading-font-family: var(--vht-head);
	--global-primary-nav-font-family: var(--vht-head);

	font-family: var(--vht-body);
	font-size: 18px;
	line-height: 1.6;
	color: var(--vht-black);
	background: var(--vht-white);
}

h1, h2, h3, h4, h5, h6,
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 {
	font-family: var(--vht-head);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: 1.05;
	color: inherit;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }

a { color: var(--vht-black); text-underline-offset: 3px; }
a:hover, a:focus { color: var(--vht-red); }
:focus-visible { outline: 3px solid var(--vht-red); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header, #masthead, .site-main-header-wrap .site-header-row-container-inner {
	background: var(--vht-white);
}
.site-main-header-wrap .site-header-row-container-inner { border-bottom: 1px solid #E8E5DF; }
.site-branding a.brand img.custom-logo,
.site-branding .custom-logo { max-width: 240px !important; width: 240px; height: auto; }
@media (max-width: 767px) {
	.site-branding a.brand img.custom-logo,
	.site-branding .custom-logo { max-width: 190px !important; width: 190px; }
}
.site-branding .site-title, .site-branding .site-description { display: none; }
.main-navigation .primary-menu-container > ul > li.menu-item > a,
.mobile-navigation ul li a,
.header-navigation .header-menu-container ul li a {
	font-family: var(--vht-head);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 1.05rem;
	color: var(--vht-black);
}
.main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
.main-navigation .primary-menu-container > ul > li.current-menu-item > a { color: var(--vht-red); }
.main-navigation .primary-menu-container > ul > li.menu-item.vht-menu-shop > a {
	background: var(--vht-black);
	color: var(--vht-white);
	padding-left: 1.1em;
	padding-right: 1.1em;
	margin-left: 0.5em;
}
.main-navigation .primary-menu-container > ul > li.menu-item.vht-menu-shop > a:hover { background: var(--vht-red); color: var(--vht-white); }
.menu-toggle-open, .drawer-toggle { color: var(--vht-black); }
#mobile-drawer .drawer-inner { background: var(--vht-black); }
#mobile-drawer .mobile-navigation ul li a { color: var(--vht-white); }

/* ---------- Footer ---------- */
.site-footer, .site-footer .site-footer-wrap, .site-bottom-footer-wrap .site-footer-row-container-inner,
.site-middle-footer-wrap .site-footer-row-container-inner, .site-top-footer-wrap .site-footer-row-container-inner {
	background: var(--vht-black) !important;
	color: #E8E5DF;
}
.site-footer a { color: var(--vht-white); }
.site-footer a:hover { color: var(--vht-white); text-decoration-color: var(--vht-red); }
.site-footer .footer-html, .site-footer .footer-html p { font-size: 0.95rem; line-height: 1.7; color: #E8E5DF; }
.site-footer .vht-footer-logo { display: block; width: 220px; max-width: 70%; height: auto; margin: 0 auto 1rem; }
.site-footer .vht-footer-credit { color: #BDBAB4; font-size: 0.9rem; }

/* ---------- Buttons ---------- */
.wp-block-button__link, .wp-element-button, .button, button, input[type="submit"] {
	font-family: var(--vht-head);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	border-radius: 0 !important;
	padding: 0.8em 1.6em;
	font-size: 1.1rem;
	background: var(--vht-black);
	color: var(--vht-white);
	border: 2px solid var(--vht-black);
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.wp-block-button__link:hover, .wp-element-button:hover, .button:hover, button:hover, input[type="submit"]:hover,
.wp-block-button__link:focus, input[type="submit"]:focus {
	background: var(--vht-red);
	border-color: var(--vht-red);
	color: var(--vht-white);
}
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--vht-black); border-color: var(--vht-black); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--vht-black); color: var(--vht-white); }

/* ---------- Sections ---------- */
.content-area { margin-top: 0; margin-bottom: 0; }
.entry-content > .alignfull { margin-top: 0; margin-bottom: 0; }
.vht-section { padding: clamp(3rem, 7vw, 6rem) 1.5rem; }
.vht-section > .wp-block-group__inner-container, .vht-section > * { max-width: 1140px; margin-left: auto; margin-right: auto; }
.vht-narrow { max-width: 760px !important; margin-left: auto; margin-right: auto; }

.vht-dark { background: var(--vht-black); color: var(--vht-white); }
.vht-dark h1, .vht-dark h2, .vht-dark h3, .vht-dark p, .vht-dark li { color: var(--vht-white); }
.vht-dark a { color: var(--vht-white); }
.vht-dark .wp-block-button__link { background: var(--vht-white); color: var(--vht-black); border-color: var(--vht-white); }
.vht-dark .wp-block-button__link:hover { background: var(--vht-red); border-color: var(--vht-red); color: var(--vht-white); }
.vht-dark .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--vht-white); border-color: var(--vht-white); }
.vht-dark .wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--vht-white); color: var(--vht-black); }
.vht-stone { background: var(--vht-stone); }

.vht-kicker {
	font-family: var(--vht-head);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 1rem;
	color: var(--vht-red);
	margin-bottom: 0.5rem;
}
.vht-dark .vht-kicker { color: #FFFFFF; }
.vht-dark .vht-kicker::before { content: ""; display: inline-block; width: 28px; height: 3px; background: var(--vht-red); vertical-align: middle; margin-right: 10px; }
.vht-lead { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.55; }
.vht-red { color: var(--vht-red); }
.vht-rule { border: 0; border-top: 3px solid var(--vht-red); width: 64px; margin: 1.25rem 0 1.5rem; opacity: 1; }
.vht-center { text-align: center; }
.vht-center .vht-rule { margin-left: auto; margin-right: auto; }

/* Hero */
.vht-hero { padding-top: clamp(3.5rem, 8vw, 7rem); padding-bottom: clamp(3.5rem, 8vw, 7rem); }
.vht-hero h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); margin: 0 0 1.25rem; }
.vht-hero .wp-block-columns { align-items: center; gap: 3rem; }
.vht-hero-logo img { width: 100%; max-width: 380px; height: auto; margin: 0 auto; display: block; }
@media (max-width: 781px) { .vht-hero-logo { display: none; } }

/* Products */
.vht-products .wp-block-columns { gap: 2rem; }
.vht-product { background: var(--vht-white); display: flex; flex-direction: column; height: 100%; }
.vht-product .wp-block-image { margin: 0; }
.vht-product .wp-block-image img { width: 100%; height: auto; aspect-ratio: 1080 / 1137; object-fit: cover; display: block; }
.vht-product h3 { margin: 1rem 0 0.25rem; }
.vht-product p { margin: 0 0 1rem; color: var(--vht-grey); }
.vht-product .wp-block-buttons { margin-top: auto; }

/* Pillars: Recognise / Support / Rebuild */
.vht-pillars .wp-block-column { border-top: 4px solid var(--vht-black); padding-top: 1rem; }
.vht-pillars h3 { margin-top: 0; }
.vht-pillars h3 .vht-red { color: var(--vht-red); }

/* Founder */
.vht-founder blockquote, .vht-quote {
	border-left: 4px solid var(--vht-red);
	padding-left: 1.25rem;
	margin: 1.5rem 0;
	font-family: var(--vht-head);
	font-weight: 600;
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	line-height: 1.2;
	text-transform: none;
}
.vht-quote p { margin: 0; }
.vht-quote cite { display: block; font-family: var(--vht-body); font-size: 1rem; font-weight: 500; font-style: normal; margin-top: 0.5rem; color: inherit; opacity: 0.85; }

/* Support cards */
.vht-help { background: var(--vht-white); border-left: 6px solid var(--vht-black); padding: 1.5rem 1.75rem; margin-bottom: 1.5rem; }
.vht-help.vht-urgent { border-left-color: var(--vht-red); }
.vht-help h3 { margin-top: 0; margin-bottom: 0.5rem; }
.vht-help p { margin: 0.35rem 0; }
.vht-help .vht-number { font-family: var(--vht-head); font-weight: 700; font-size: 1.6rem; letter-spacing: 0.02em; }
.vht-help .vht-number a { text-decoration: none; }

/* Forms (Contact Form 7) */
.wpcf7 label { display: block; font-weight: 600; margin-bottom: 1rem; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea {
	width: 100%; border: 2px solid var(--vht-black); border-radius: 0; padding: 0.7em 0.8em; font: inherit; background: var(--vht-white); margin-top: 0.35rem;
}
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: 3px solid var(--vht-red); outline-offset: 0; }
.wpcf7 .wpcf7-response-output { border-radius: 0; margin: 1rem 0 0; }

/* Page titles are set inside the content. */
.page .entry-hero, .page .entry-header.page-title { display: none; }

/* Spacing fixes */
.vht-kicker { margin-top: 0; }
.vht-kicker + h1, .vht-kicker + h2, .vht-kicker + .wp-block-heading { margin-top: 0.25rem; }
.vht-center .wp-block-buttons { justify-content: center; }
.vht-founder .wp-block-columns { align-items: center; }
.vht-section h2:first-child, .vht-section h1:first-child { margin-top: 0; }

/* Side padding on all screen sizes */
.entry-content > .wp-block-group.alignfull.vht-section,
.wp-block-group.alignfull.vht-section { padding-left: clamp(1.25rem, 4vw, 2rem) !important; padding-right: clamp(1.25rem, 4vw, 2rem) !important; }
