/*
Theme Name: VanUS Astra Child
Template: astra
Version: 1.0.0
Description: Professional NHS-style child theme for VanUS (Vanguard Ultrasound Services Ltd). Clean, trustworthy, governance-led design matching the homepage concept and content packs. White + NHS blue (#005EB8) + teal accents. Minimal clutter, highly accessible.
Author: Developed for VanUS
*/

/* NHS Professional Palette */
:root {
    --vanus-blue: #005EB8;
    --vanus-teal: #00A9CE;
    --vanus-white: #FFFFFF;
    --vanus-dark: #1A1A2E;
    --vanus-light-gray: #F4F5F7;
    --vanus-text: #333333;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--vanus-text);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-weight: 600;
    color: var(--vanus-dark);
}

/* Header - Clean NHS style */
.site-header {
    background: var(--vanus-white);
    border-bottom: 1px solid #E5E7EB;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.site-header .site-logo a {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--vanus-blue);
    text-decoration: none;
}

/* Hide site title text next to the logo (only VanUS logo graphic should appear) */
.site-header .ast-site-title-wrap {
	display: none;
}

/* Small logo in the top menu/header bar - sized to fit nicely with the menu */
.site-header .site-logo-img img,
.site-header .custom-logo {
	max-height: 42px !important;
	width: auto !important;
	height: auto !important;
}

/* Slightly smaller on mobile */
@media (max-width: 768px) {
	.site-header .site-logo-img img,
	.site-header .custom-logo {
		max-height: 32px !important;
	}
}

/* Primary Navigation */
.main-navigation a {
    color: var(--vanus-dark);
    font-weight: 500;
    transition: color 0.2s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: var(--vanus-blue);
}

/* Buttons - Professional CTAs */
.ast-button, 
button, 
input[type="button"], 
input[type="reset"], 
input[type="submit"],
.wp-block-button__link {
    background-color: var(--vanus-blue);
    color: var(--vanus-white);
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.ast-button:hover,
.wp-block-button__link:hover {
    background-color: var(--vanus-teal);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.button-secondary {
    background: transparent;
    color: var(--vanus-blue);
    border: 2px solid var(--vanus-blue);
}

.button-secondary:hover {
    background: var(--vanus-blue);
    color: var(--vanus-white);
}

/* Hero Section - Matches Homepage Concept */
.vanus-hero {
    background: linear-gradient(135deg, var(--vanus-white) 0%, #F0F7FF 100%);
    padding: 80px 0;
    position: relative;
}

.vanus-hero h1 {
    font-size: 2.75rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--vanus-dark);
}

.vanus-hero .subtitle {
    font-size: 1.25rem;
    color: #4B5563;
    max-width: 620px;
}

/* Cards & Sections - Clean, trustworthy */
.vanus-card, 
.vanus-service-card,
.vanus-governance-card {
    background: var(--vanus-white);
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 24px;
    transition: box-shadow 0.2s ease;
}

.vanus-card:hover {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.vanus-section {
    padding: 64px 0;
}

.vanus-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.vanus-section h2:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--vanus-teal);
    border-radius: 2px;
}

/* Insourcing Model Steps */
.vanus-steps {
    counter-reset: step;
}

.vanus-step {
    position: relative;
    padding-left: 60px;
    margin-bottom: 32px;
}

.vanus-step:before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 4px;
    width: 40px;
    height: 40px;
    background: var(--vanus-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Leadership Organogram - Clean visual */
.vanus-org {
    max-width: 720px;
    margin: 40px auto;
}

.vanus-org-level {
    text-align: center;
    margin-bottom: 16px;
}

.vanus-org-box {
    display: inline-block;
    background: var(--vanus-light-gray);
    border: 2px solid var(--vanus-blue);
    padding: 12px 24px;
    border-radius: 6px;
    margin: 4px;
    min-width: 220px;
}

.vanus-org-box.main {
    background: var(--vanus-blue);
    color: white;
    font-weight: 600;
}

/* Contact / CTA strips */
.vanus-cta-strip {
    background: linear-gradient(to right, var(--vanus-blue), var(--vanus-teal));
    color: white;
    padding: 48px 0;
}

.vanus-cta-strip h2 {
    color: white;
}

/* Forms - Professional and accessible */
.wpcf7-form {
    max-width: 620px;
}

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

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 1rem;
    margin-bottom: 16px;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    outline: none;
    border-color: var(--vanus-blue);
    box-shadow: 0 0 0 3px rgba(0, 94, 184, 0.15);
}

/* Footer */
.site-footer {
    background: var(--vanus-dark);
    color: #A1A1AA;
    padding: 48px 0 24px;
}

.site-footer a {
    color: #E5E7EB;
}

.site-footer a:hover {
    color: var(--vanus-teal);
}

/* Accessibility & Professional Touches */
:focus-visible {
    outline: 3px solid var(--vanus-teal);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--vanus-blue);
    color: white;
    padding: 8px 16px;
    z-index: 1000;
}

.skip-link:focus {
    top: 0;
}

/* Mobile */
@media (max-width: 768px) {
    .vanus-hero h1 {
        font-size: 2rem;
    }
    .vanus-section {
        padding: 40px 0;
    }
}/* Style Contact Us in menu as button like mockup.
   IMPORTANT: only the top-level item (no query string) gets the button treatment.
   Dropdown children use their own .sub-menu styles in custom-vanus.css */
.main-header-menu .menu-item > a[href*="/contact-us"]:not([href*="?"]),
.main-header-menu .menu-item > a[href*="/contact"]:not([href*="?"]),
.main-header-menu .menu-item a.menu-link[href*="/contact-us"]:not([href*="?"]),
.main-header-menu .menu-item a.menu-link[href*="/contact"]:not([href*="?"]) {
  background-color: #005EB8;
  color: #fff !important;
  padding: 3px 22px !important;
  border-radius: 4px;
  font-weight: 600;
  line-height: 1.2 !important;
  transition: background 0.2s;
  height: auto !important;
  min-height: 0 !important;
  box-sizing: border-box;
}

.main-header-menu .menu-item a[href*="/contact-us"]:not([href*="?"]):hover,
.main-header-menu .menu-item a[href*="/contact"]:not([href*="?"]):hover,
.main-header-menu .menu-item a.menu-link[href*="/contact-us"]:not([href*="?"]):hover,
.main-header-menu .menu-item a.menu-link[href*="/contact"]:not([href*="?"]):hover {
  background-color: #00A9CE;
  color: #fff !important;
  padding: 3px 22px !important;
  line-height: 1.2 !important;
}
