/*
Theme Name:   Astra Child
Theme URI:
Description:  Child theme for Vsure Financial Ltd — independent mortgage advisers, Huddersfield
Author:       Vsure Financial
Template:     astra
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  astra-child
*/

/* =============================================================================
   DESIGN TOKENS
   Palette: White / Near-Black / Cardinal Red
   Fonts:   Boska (headings) + Satoshi (body) — Fontshare
   ============================================================================= */

:root {

    /* Primary — Near-Black — headings, nav, footer, dark elements */
    --color-primary:    #111111;

    /* Secondary — Mid-Grey — body copy, card text, sub-labels */
    --color-secondary:  #5C5C5C;

    /* Accent — Cardinal Red — CTAs, hover underlines, icons, highlights */
    --color-accent:     #C41E3A;

    /* Accent dark — darker red for hover states */
    --color-accent-dark: #9E1A2F;

    /* Page background — White */
    --color-bg:         #FFFFFF;

    /* Alternate background — very light grey for alternate sections */
    --color-bg-alt:     #F5F5F5;

    /* Dark text — for all body copy on light backgrounds */
    --color-dark:       #1A1A1A;

    /* Light text — white for text on dark/red backgrounds */
    --color-light:      #FFFFFF;

    /* Pure white */
    --color-white:      #FFFFFF;

    /* Subtle border colour */
    --color-border:     #E8E8E8;

    /* Top bar — red */
    --color-top-bar:    #C41E3A;

    /* Footer background — deep near-black */
    --color-footer-bg:  #111111;

    /* Footer compliance bar */
    --color-footer-bar: #0D0D0D;

    /* Heading font — Boska (editorial serif, premium) */
    --font-heading:     'Boska', Georgia, 'Times New Roman', serif;

    /* Body font — Satoshi (clean geometric grotesque) */
    --font-body:        'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Base spacing */
    --space-unit:       1rem;
    --space-xs:         calc(var(--space-unit) * 0.5);
    --space-sm:         calc(var(--space-unit) * 1);
    --space-md:         calc(var(--space-unit) * 1.5);
    --space-lg:         calc(var(--space-unit) * 2);
    --space-xl:         calc(var(--space-unit) * 4);
    --space-2xl:        calc(var(--space-unit) * 6);

    /* Shared utilities */
    --border-radius:    4px;
    --transition-base:  0.25s ease;
    --shadow-card:      0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-header:    0 2px 16px rgba(0, 0, 0, 0.08);

}

/* =============================================================================
   GLOBAL BASE
   ============================================================================= */

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.entry-title, .page-title {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-primary);
    letter-spacing: 0.005em;
    font-kerning: normal;
    font-variant-ligatures: no-common-ligatures;
    font-feature-settings: "kern" 1, "liga" 0, "clig" 0;
    text-rendering: optimizeLegibility;
}

p {
    font-family: var(--font-body);
    line-height: 1.7;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--color-accent-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.ast-container {
    max-width: none;
}

/* Restore horizontal padding to Astra's header so the nav aligns with page content */
#masthead .ast-container,
.ast-header-wrap .ast-container {
    padding-left: 10vw !important;
    padding-right: 10vw !important;
}

/* =============================================================================
   TOP BAR — custom #vsure-topbar (red, 40px)
   ============================================================================= */

#vsure-topbar {
    background-color: var(--color-accent);
    height: 40px;
    position: relative;
    z-index: 300;
}

.vsure-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: none;
    padding: 0 10vw;
    height: 100%;
}

.vsure-topbar__phone {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    color: var(--color-white) !important;
    text-decoration: none !important;
    letter-spacing: 0.01em;
    transition: opacity var(--transition-base);
}

.vsure-topbar__phone:hover {
    opacity: 0.85;
}

.vsure-topbar__phone svg {
    flex-shrink: 0;
    stroke: var(--color-white);
}

.vsure-topbar__trust {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.02em;
}

/* =============================================================================
   MAIN HEADER — #vsure-header (sticky, white)
   ============================================================================= */

#vsure-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    z-index: 250;
    transition: box-shadow var(--transition-base);
}

#vsure-header.vsure-header--scrolled {
    box-shadow: var(--shadow-header);
    border-bottom-color: transparent;
}

.vsure-header__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    max-width: none;
    padding: 0 10vw;
    height: 64px;
}

/* Logo */
.vsure-header__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    text-decoration: none !important;
}

.vsure-header__logo img {
    width: auto;
    height: 54px;
    max-width: 180px;
    display: block;
}

/* Desktop nav — centred, flex-grow to fill space */
.vsure-header__nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.vsure-nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.vsure-nav-list > li > a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    color: var(--color-primary) !important;
    text-decoration: none !important;
    padding: 6px 14px;
    border-radius: 3px;
    position: relative;
    display: block;
    transition: color var(--transition-base);
    white-space: nowrap;
}

.vsure-nav-list > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 2px;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s ease;
}

.vsure-nav-list > li:hover > a,
.vsure-nav-list > .current-menu-item > a,
.vsure-nav-list > .current-menu-ancestor > a {
    color: var(--color-accent) !important;
}

.vsure-nav-list > li:hover > a::after,
.vsure-nav-list > .current-menu-item > a::after,
.vsure-nav-list > .current-menu-ancestor > a::after {
    transform: scaleX(1);
}

/* Dropdown submenus */
.vsure-nav-list .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-accent);
    border-radius: 0 0 4px 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    z-index: 300;
    padding: 8px 0;
    list-style: none;
    margin: 0;
}

.vsure-nav-list li {
    position: relative;
}

.vsure-nav-list li:hover > .sub-menu {
    display: block;
}

.vsure-nav-list .sub-menu a {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14px;
    color: var(--color-dark) !important;
    text-decoration: none !important;
    display: block;
    padding: 9px 20px;
    transition: background var(--transition-base), color var(--transition-base);
}

.vsure-nav-list .sub-menu a:hover {
    background: var(--color-bg-alt);
    color: var(--color-accent) !important;
}

/* CTA button — always visible, right of nav */
.vsure-header__cta {
    flex-shrink: 0;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 13px;
    padding: 10px 22px;
    background-color: var(--color-accent);
    color: var(--color-white) !important;
    text-decoration: none !important;
    border-radius: var(--border-radius);
    border: 2px solid var(--color-accent);
    white-space: nowrap;
    transition: background-color var(--transition-base), border-color var(--transition-base);
}

.vsure-header__cta:hover {
    background-color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: var(--color-white) !important;
}

/* Hamburger (hidden on desktop) */
.vsure-header__hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.vsure-header__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.vsure-header__hamburger.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.vsure-header__hamburger.is-open span:nth-child(2) {
    opacity: 0;
}
.vsure-header__hamburger.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* =============================================================================
   MOBILE NAV DRAWER — #vsure-mobile-nav
   ============================================================================= */

#vsure-mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: var(--color-primary);
    z-index: 9000;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#vsure-mobile-nav.is-open {
    transform: translateX(0);
}

.vsure-mobile-nav__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.vsure-mobile-nav__top img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.vsure-mobile-nav__close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.75);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color var(--transition-base);
}

.vsure-mobile-nav__close:hover {
    color: var(--color-white);
}

.vsure-mobile-nav__links {
    flex: 1;
    padding: 16px 0;
}

.vsure-mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vsure-mobile-nav-list a {
    display: block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    color: rgba(255,255,255,0.85) !important;
    text-decoration: none !important;
    padding: 13px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: color var(--transition-base), background var(--transition-base);
}

.vsure-mobile-nav-list a:hover {
    color: var(--color-white) !important;
    background: rgba(255,255,255,0.06);
}

.vsure-mobile-nav-list .sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vsure-mobile-nav-list .sub-menu a {
    font-size: 14px;
    padding-left: 40px;
    color: rgba(255,255,255,0.60) !important;
}

.vsure-mobile-nav__footer {
    padding: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vsure-mobile-nav__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    color: rgba(255,255,255,0.80) !important;
    text-decoration: none !important;
}

.vsure-mobile-nav__phone svg {
    stroke: var(--color-accent);
}

.vsure-mobile-nav__cta {
    display: block;
    text-align: center;
    padding: 13px 20px;
    background-color: var(--color-accent);
    color: var(--color-white) !important;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    border-radius: var(--border-radius);
    transition: background-color var(--transition-base);
}

.vsure-mobile-nav__cta:hover {
    background-color: var(--color-accent-dark) !important;
}

/* Dark overlay behind mobile drawer */
.vsure-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 8999;
    transition: opacity 0.3s ease;
}

.vsure-nav-overlay.is-open {
    display: block;
}

/* =============================================================================
   FULL-WIDTH CONTENT AREA
   Since our header.php opens #content directly (no .ast-container wrapper),
   the content fills 100% width. These rules are fail-safes for edge cases.
   ============================================================================= */

.site-content,
#content {
    padding: 0 !important;
    margin: 0 !important;
}

/* Hide any Astra sidebar artifacts that might appear on non-homepage pages */
#secondary.widget-area {
    display: none !important;
}

#primary.content-area {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding: 0 !important;
}

.ast-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.ast-row {
    display: block !important;
}

/* =============================================================================
   GLOBAL BUTTONS
   ============================================================================= */

.vsure-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.2;
    transition: background-color var(--transition-base),
                color var(--transition-base),
                border-color var(--transition-base),
                transform 0.2s ease,
                box-shadow 0.2s ease;
}

.vsure-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.vsure-btn--primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.vsure-btn--primary:hover {
    background-color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: var(--color-white);
}

.vip-cta-strip .vsure-btn--outline-dark {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.vip-cta-strip .vsure-btn--outline-dark:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.vsure-btn--outline-light {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.vsure-btn--outline-light:hover {
    background-color: var(--color-white);
    color: var(--color-accent);
}

/* Elementor button global */
.elementor-button {
    transition: background-color var(--transition-base),
                color var(--transition-base),
                border-color var(--transition-base),
                transform 0.2s ease !important;
}

.elementor-button:hover {
    transform: translateY(-2px) !important;
}

/* =============================================================================
   LAYOUT GRID UTILITIES
   ============================================================================= */

.vsure-container {
    max-width: none;
    padding-left: 10vw;
    padding-right: 10vw;
    width: 100%;
    box-sizing: border-box;
}

/* =============================================================================
   SECTION HEADER SYSTEM — consistent across all sections
   ============================================================================= */

.vsure-section-kicker {
    display: block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.vsure-section-kicker--light {
    color: rgba(196, 30, 58, 0.85);
}

.vsure-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.vsure-section-header--light .vsure-section-title {
    color: #FFFFFF;
}

.vsure-section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.1;
    color: var(--color-primary);
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}

.vsure-section-sub {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-secondary);
    margin: 0;
}

.vsure-section-footer {
    text-align: center;
    margin-top: 56px;
}

/* =============================================================================
   HERO — Premium split-panel (left: dark content / right: real photo)
   Height: 67vh (max 700px) — keeps hero + stats band visible above fold
   ============================================================================= */

.vsure-hero {
    position: relative;
    width: 100%;
    height: 67vh;
    min-height: 520px;
    max-height: 700px;
    overflow: hidden;
    background-color: #0A192F;
    --vsure-hero-seam-width: 120px;
    --vsure-hero-seam-width-half: 60px;
    --vsure-slider-seam-gap: 26px;
    --vsure-slider-side-gap: 26px;
    --vsure-slider-size: 52px;
}

.vsure-slide {
    position: absolute;
    inset: 0;
    display: flex;
    opacity: 0;
    transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.vsure-slide--active {
    opacity: 1;
    pointer-events: auto;
}

/* Staggered content reveal for active slide */
.vsure-slide .vsure-hero__left-content > * {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.vsure-slide--active .vsure-hero__left-content > * {
    opacity: 1;
    transform: translateY(0);
}
.vsure-slide--active .vsure-hero__left-content > *:nth-child(1) { transition-delay: 0.04s; }
.vsure-slide--active .vsure-hero__left-content > *:nth-child(2) { transition-delay: 0.1s; }
.vsure-slide--active .vsure-hero__left-content > *:nth-child(3) { transition-delay: 0.16s; }
.vsure-slide--active .vsure-hero__left-content > *:nth-child(4) { transition-delay: 0.22s; }
.vsure-slide--active .vsure-hero__left-content > *:nth-child(5) { transition-delay: 0.28s; }
.vsure-slide--active .vsure-hero__left-content > *:nth-child(6) { transition-delay: 0.34s; }

/* Ken Burns slow zoom on the right panel image when active */
.vsure-slide .vsure-hero__right {
    transform: scale(1.04);
    transition: transform 7s ease-out;
}
.vsure-slide--active .vsure-hero__right {
    transform: scale(1.0);
}

/* LEFT PANEL — dark navy with diagonal clip */
.vsure-hero__left {
    position: relative;
    z-index: 2;
    /* 50/50 by area with diagonal seam:
       base is reduced by half seam width, seam triangle adds it back */
    width: calc(50% - var(--vsure-hero-seam-width-half));
    flex-shrink: 0;
    background-color: #0A192F;
    display: flex;
    align-items: center;
    -webkit-clip-path: none;
    clip-path: none;
}

/* Hard angled divider: single diagonal edge from top to bottom */
.vsure-hero__left::after {
    content: '';
    position: absolute;
    top: 0;
    right: calc(-1 * var(--vsure-hero-seam-width));
    width: var(--vsure-hero-seam-width);
    height: 100%;
    background: #0A192F;
    -webkit-clip-path: polygon(0 0, 100% 0, 0 100%);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    pointer-events: none;
    z-index: 3;
}

.vsure-hero__left-content {
    padding: 48px 80px 48px 80px;
    max-width: 600px;
}

/* RIGHT PANEL — full-height real photo */
.vsure-hero__right {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: calc(50% + var(--vsure-hero-seam-width-half));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.vsure-hero__right--1 {
    background-image: url('../images/home-hero-1.webp');
    background-position: 60% center;
}

.vsure-hero__right--2 {
    background-image: url('../images/home-hero-2.webp');
    background-position: center 40%;
}

.vsure-hero__right--3 {
    background-image: url('../images/home-hero-3.webp');
    background-position: center 30%;
}

.vsure-hero__right-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10,25,47,0.3) 0%, transparent 50%);
}

/* Removed clip-path fallback block: skew seam above is always active on desktop */

/* Eyebrow tag */
.vsure-eyebrow--light {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
}

.vsure-eyebrow--light::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--color-accent);
    flex-shrink: 0;
}

/* Hero H1 */
.vsure-hero__left-content h1, .vsure-hero__left-content .vsure-hero-title {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    font-size: clamp(40px, 5vw, 68px) !important;
    line-height: 1.05 !important;
    color: #FFFFFF !important;
    margin: 0 0 16px !important;
    letter-spacing: -0.02em;
}

/* Star rating row */
.vsure-hero__stars {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.vsure-hero__stars-icons {
    color: #F4B940;
    font-size: 16px;
    letter-spacing: 1px;
}

.vsure-hero__stars-label {
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(255,255,255,0.62);
}

/* Hero sub copy */
.vsure-hero__sub {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255,255,255,0.76);
    margin: 0 0 26px;
    max-width: 480px;
}

/* CTA row */
.vsure-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

/* Accent red button */
.vsure-btn--accent {
    background-color: var(--color-accent);
    color: #FFFFFF;
    border-color: var(--color-accent);
}

.vsure-btn--accent:hover {
    background-color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: #FFFFFF;
}

/* Large button */
.vsure-btn--lg {
    font-size: 15px;
    padding: 15px 34px;
}

/* Trust badges */
.vsure-hero__trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.vsure-hero__trust-badges span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(255,255,255,0.52);
    font-weight: 500;
}

.vsure-hero__trust-badges svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

/* =============================================================================
   SLIDER NAVIGATION — Premium redesign
   Arrows: vertically centred on image panel, fade in on hero hover
   Dots: expandable pill indicators at bottom-left of dark panel
   ============================================================================= */

/* ── Arrow buttons ─────────────────────────────────── */
.vsure-slider-prev,
.vsure-slider-next {
    position: absolute !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    z-index: 12 !important;
    width: var(--vsure-slider-size) !important;
    height: var(--vsure-slider-size) !important;
    min-width: 0 !important;
    border-radius: 6px !important;
    background: rgba(8, 20, 40, 0.72) !important;
    border: 1px solid rgba(255,255,255,0.24) !important;
    color: #FFFFFF !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    box-shadow: 0 12px 30px rgba(5, 14, 29, 0.35), inset 0 1px 0 rgba(255,255,255,0.12) !important;
    text-shadow: none !important;
    line-height: 1 !important;
    transition: background 0.22s ease, border-color 0.22s ease,
                opacity 0.3s ease, transform 0.22s ease !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    /* Hidden by default — reveal on hero hover */
    opacity: 0.9 !important;
    pointer-events: auto !important;
}

/* Prev: anchored to seam midpoint (y:50% => x:50%) */
.vsure-slider-prev { left: calc(50% + var(--vsure-slider-seam-gap)); right: auto; }
/* Next: right side of image panel */
.vsure-slider-next { right: var(--vsure-slider-side-gap); left: auto; }

/* Reveal on hover */
.vsure-hero:hover .vsure-slider-prev,
.vsure-hero:hover .vsure-slider-next {
    opacity: 1 !important;
}

/* Hover states — slide in slightly + red fill */
.vsure-slider-prev:hover,
.vsure-slider-prev:focus {
    background: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
    color: #ffffff !important;
    transform: translateY(-50%) translateX(-3px) !important;
}
.vsure-slider-next:hover,
.vsure-slider-next:focus {
    background: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
    color: #ffffff !important;
    transform: translateY(-50%) translateX(3px) !important;
}

.vsure-slider-prev:active {
    transform: translateY(-50%) translateX(-1px) scale(0.98) !important;
}
.vsure-slider-next:active {
    transform: translateY(-50%) translateX(1px) scale(0.98) !important;
}

.vsure-slider-prev:focus-visible,
.vsure-slider-next:focus-visible {
    outline: 2px solid rgba(255,255,255,0.75) !important;
    outline-offset: 2px !important;
}

/* ── Slide counter ─────────────────────────────────── */
/* Positioned bottom-right of the image panel (away from trust badges) */
.vsure-slide-counter {
    position: absolute;
    bottom: 62px;
    right: 28px;
    left: auto;
    z-index: 10;
    display: flex;
    align-items: baseline;
    gap: 5px;
    font-family: var(--font-body);
    pointer-events: none;
}
.vsure-slide-counter__current {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    font-variant-numeric: tabular-nums;
    transition: opacity 0.3s ease;
}
.vsure-slide-counter__sep {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.35);
    line-height: 1;
}
.vsure-slide-counter__total {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.35);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

/* ── Pill-dot indicators ───────────────────────────── */
/* Positioned at the bottom-right of the image panel */
.vsure-slider-dots {
    position: absolute;
    bottom: 30px;
    right: 28px;
    left: auto;
    top: auto;
    transform: none;
    z-index: 10;
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Base state — small circle */
.vsure-dot {
    width: 7px !important;
    height: 7px !important;
    border-radius: 4px !important;
    background: rgba(255,255,255,0.30) !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    box-shadow: none !important;
    min-width: 0 !important;
    flex-shrink: 0;
    transition: width 0.4s cubic-bezier(0.4,0,0.2,1),
                background 0.35s ease,
                border-radius 0.4s ease;
}

/* Active state — wide pill in brand red */
.vsure-dot--active {
    width: 30px !important;
    border-radius: 5px !important;
    background: var(--color-accent) !important;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 0 14px rgba(196, 30, 58, 0.45);
}

/* Hover on inactive dots — subtle brightening */
.vsure-dot:not(.vsure-dot--active):hover {
    background: rgba(255,255,255,0.60) !important;
}

@media (max-width: 1280px) {
    .vsure-hero {
        --vsure-hero-seam-width: 106px;
        --vsure-hero-seam-width-half: 53px;
        --vsure-slider-seam-gap: 20px;
        --vsure-slider-side-gap: 18px;
        --vsure-slider-size: 48px;
    }
}

/* =============================================================================
   STATS BAND — full width dark strip
   ============================================================================= */

.vsure-stats-band {
    background-color: var(--color-primary);
}

.vsure-stats-band__inner {
    max-width: none;
    padding: 0 10vw;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.vsure-stat-item {
    padding: 22px 16px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.vsure-stat-item:last-child { border-right: none; }

.vsure-stat-item__number {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 34px;
    line-height: 1;
    color: var(--color-accent);
    letter-spacing: -0.02em;
}

.vsure-stat-item__plus { font-size: 24px; }

.vsure-stat-item__label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

/* =============================================================================
   SERVICES — card grid with animated accent bar
   ============================================================================= */

.vsure-services {
    background-color: #FAFAF8;
    padding: 80px 0;
}

/* Services container — inherits 10vw from .vsure-container base */

.vsure-service-category {
    margin-bottom: 48px;
}

.vsure-service-category:last-of-type { margin-bottom: 0; }

.vsure-service-category__label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
    padding-bottom: 12px;
    margin-bottom: 28px;
    border-bottom: 1px solid #E4E1DC;
    position: relative;
}

/* Red underline accent — only under the text */
.vsure-service-category__label::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 56px;
    height: 2px;
    background-color: var(--color-accent);
}

.vsure-service-category__label svg { color: var(--color-accent); }

.vsure-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.vsure-service-card {
    background: #FFFFFF;
    border-radius: 6px;
    padding: 28px 26px 24px;
    border: 1px solid #EEECEA;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    color: inherit;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.vsure-service-card__accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.vsure-service-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    transform: translateY(-4px);
    text-decoration: none !important;
}

.vsure-service-card:hover .vsure-service-card__accent { width: 100%; }

.vsure-service-card__icon {
    width: 40px;
    height: 40px;
    margin-bottom: 18px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.vsure-service-card__icon svg {
    width: 40px;
    height: 40px;
    display: block;
}

.vsure-service-card__title {
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    font-size: 20px !important;
    color: var(--color-primary) !important;
    margin: 0 0 10px !important;
    line-height: 1.2 !important;
}

.vsure-service-card__body {
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    color: var(--color-secondary) !important;
    margin: 0 0 auto !important;
    padding-bottom: 16px;
}

.vsure-service-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    color: var(--color-accent);
    border-top: 1px solid #EEECEA;
    padding-top: 14px;
    margin-top: 4px;
    transition: gap 0.2s ease;
}

.vsure-service-card:hover .vsure-service-card__cta { gap: 10px; }

.vsure-services__footer {
    text-align: center;
    margin-top: 48px;
}

/* =============================================================================
   ABOUT — editorial full-bleed split (image panel left / content right)
   ============================================================================= */

.vsure-about {
    display: flex;
    min-height: 580px;
}

.vsure-about__image-panel {
    flex: 0 0 48%;
    position: relative;
    overflow: hidden;
}

.vsure-about__image-panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.vsure-about__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10,25,47,0.15) 0%, transparent 60%);
}

.vsure-about__image-badge {
    position: absolute;
    bottom: 40px;
    right: 32px;
    background: var(--color-accent);
    border-radius: 6px;
    padding: 16px 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.vsure-about__badge-number {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 40px;
    line-height: 1;
    color: #FFFFFF;
}

.vsure-about__badge-label {
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.82);
    margin-top: 4px;
    line-height: 1.4;
}

.vsure-about__content-panel {
    flex: 1;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 72px 72px 72px 64px;
}

.vsure-about__body {
    font-family: var(--font-body) !important;
    font-size: 16px !important;
    line-height: 1.75 !important;
    color: var(--color-secondary) !important;
    margin: 0 0 18px !important;
}

.vsure-about__stats {
    display: flex;
    gap: 40px;
    margin: 32px 0;
    padding: 28px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.vsure-about__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vsure-about__stat-number {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 36px;
    line-height: 1;
    color: var(--color-accent);
    letter-spacing: -0.02em;
}

.vsure-about__stat-number span { font-size: 22px; }

.vsure-about__stat-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-secondary);
}

/* =============================================================================
   REVIEWS — dark section with real background
   ============================================================================= */

.vsure-reviews {
    position: relative;
    padding: 96px 0;
    background-color: #0A192F;
    overflow: hidden;
}

.vsure-reviews__bg-image {
    position: absolute;
    inset: 0;
    background-image: url('../images/home-whatwedo-bg.webp');
    background-size: cover;
    background-position: center 40%;
}

.vsure-reviews__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,25,47,0.88);
}

.vsure-reviews-stars {
    color: #F4B940;
    font-size: 17px;
    letter-spacing: 2px;
}

/* Multi-platform review badges */
.vsure-reviews-platforms {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 20px;
    flex-wrap: wrap;
}

.vsure-reviews-platform-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    padding: 10px 28px;
    border-right: 1px solid rgba(255,255,255,0.12);
}

.vsure-reviews-platform-badge:last-child { border-right: none; }

.vsure-reviews-platform-badge .vsure-reviews-stars {
    font-size: 12px;
    letter-spacing: 1px;
}

.vsure-reviews-platform-badge strong {
    color: #FFFFFF;
    font-weight: 700;
}

.vsure-reviews-platform-badge span:not(.vsure-reviews-stars) {
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.vsure-reviews-platform-badge a {
    color: var(--color-accent);
    text-decoration: none;
    font-size: 12px;
    white-space: nowrap;
}

.vsure-reviews-platform-badge a:hover { text-decoration: underline; }

.vsure-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 52px;
}

.vsure-review-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.vsure-review-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(196,30,58,0.4);
}

.vsure-review-card__stars {
    color: #F4B940;
    font-size: 14px;
    letter-spacing: 2px;
}

.vsure-review-card__text {
    font-family: var(--font-body) !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: rgba(255,255,255,0.8) !important;
    margin: 0 !important;
    font-style: italic;
    flex: 1;
}

.vsure-review-card__author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
}

.vsure-review-card__initials {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #FFFFFF;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vsure-review-card__name {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    color: #FFFFFF;
}

.vsure-review-card__location {
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(255,255,255,0.48);
}

/* =============================================================================
   PROCESS — white section, large red numbers
   ============================================================================= */

.vsure-process {
    background-color: #FFFFFF;
    padding: 96px 0;
}

/* Process container — inherits 10vw from .vsure-container base */

.vsure-process-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    margin-top: 60px;
}

.vsure-process-track::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(12.5% + 8px);
    right: calc(12.5% + 8px);
    height: 1px;
    background: repeating-linear-gradient(
        90deg,
        var(--color-accent) 0px,
        var(--color-accent) 6px,
        transparent 6px,
        transparent 14px
    );
}

.vsure-process-step {
    padding: 0 28px;
    position: relative;
}

.vsure-process-step__num {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 72px;
    line-height: 1;
    color: var(--color-accent);
    margin-bottom: 20px;
    display: block;
    position: relative;
}

.vsure-process-step__num::before {
    content: '';
    position: absolute;
    top: 8px;
    left: -4px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(196,30,58,0.08);
    z-index: -1;
}

.vsure-process-step__body {
    padding-top: 12px;
    border-top: 2px solid #EEECEA;
}

.vsure-process-step__title {
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    font-size: 20px !important;
    color: var(--color-primary) !important;
    margin: 0 0 10px !important;
    line-height: 1.2 !important;
}

.vsure-process-step__text {
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    color: var(--color-secondary) !important;
    margin: 0 !important;
}

/* =============================================================================
   BLOG SECTION
   ============================================================================= */

.vsure-blog {
    background: #FAFAF8;
    padding: 96px 0;
}

/* Blog container — inherits 10vw from .vsure-container base */

.vsure-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.vsure-blog-card {
    background: #FFFFFF;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #EEECEA;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.vsure-blog-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    transform: translateY(-4px);
}

.vsure-blog-card__image-link {
    display: block;
    overflow: hidden;
    height: 200px;
    flex-shrink: 0;
    background: #E8E5DF;
}

.vsure-blog-card__image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.vsure-blog-card:hover .vsure-blog-card__image-link img { transform: scale(1.04); }

.vsure-blog-card__content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.vsure-blog-card__meta { margin-bottom: 10px; }

.vsure-blog-card__date {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.vsure-blog-card__title {
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    font-size: 19px !important;
    line-height: 1.25 !important;
    margin: 0 0 10px !important;
}

.vsure-blog-card__title a {
    color: var(--color-primary) !important;
    text-decoration: none !important;
    transition: color var(--transition-base);
}

.vsure-blog-card__title a:hover { color: var(--color-accent) !important; }

.vsure-blog-card__excerpt {
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    color: var(--color-secondary) !important;
    margin: 0 0 auto !important;
    padding-bottom: 16px;
}

.vsure-blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    color: var(--color-accent);
    text-decoration: none;
    border-top: 1px solid #EEECEA;
    padding-top: 14px;
    transition: gap 0.2s ease;
}

.vsure-blog-card:hover .vsure-blog-card__link { gap: 10px; }

/* =============================================================================
   FINAL CTA — dark with real background image
   ============================================================================= */

.vsure-final-cta {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background-color: #0A192F;
}

.vsure-final-cta__bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/home-process-bg.webp');
    background-size: cover;
    background-position: center 60%;
}

.vsure-final-cta__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,25,47,0.87);
}

.vsure-final-cta__inner {
    text-align: center;
    max-width: 740px;
    margin: 0 auto;
}

.vsure-final-cta__heading {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    font-size: clamp(32px, 4.5vw, 58px) !important;
    color: #FFFFFF !important;
    line-height: 1.08 !important;
    margin: 0 0 20px !important;
    letter-spacing: -0.02em;
}

.vsure-final-cta__sub {
    font-family: var(--font-body) !important;
    font-size: 17px !important;
    line-height: 1.65 !important;
    color: rgba(255,255,255,0.72) !important;
    margin: 0 auto 44px !important;
    max-width: 560px;
}

.vsure-final-cta__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.vsure-final-cta__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    transition: color var(--transition-base);
}

.vsure-final-cta__phone:hover { color: #FFFFFF; }

.vsure-final-cta__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(255,255,255,0.42);
    flex-wrap: wrap;
}

/* =============================================================================
   FCA COMPLIANCE STRIP
   ============================================================================= */

/* =============================================================================
   WPFORMS
   ============================================================================= */


/* =============================================================================
   ANIMATION KEYFRAMES
   ============================================================================= */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.vsure-animate-fade-up {
    opacity: 0;
    transform: translateY(18px);
}

.vsure-animated {
    animation: fadeInUp 0.5s ease forwards;
}

.vsure-delay-1 { animation-delay: 0.10s; }
.vsure-delay-2 { animation-delay: 0.20s; }
.vsure-delay-3 { animation-delay: 0.30s; }
.vsure-delay-4 { animation-delay: 0.40s; }

/* =============================================================================
   FULL-WIDTH PAGE OVERRIDES (homepage template)
   ============================================================================= */

body.page-slug-home-vsure #content,
body.page-slug-home-vsure .ast-container,
body.page-slug-home-vsure #primary,
body.page-slug-home-vsure .site-main,
body.page-slug-home-vsure .entry-content,
body.page-slug-home-vsure .entry-header,
body.page-slug-home-vsure .ast-article-post {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
}

/* =============================================================================
   WCAG FOCUS STYLES
   ============================================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: 2px;
}

/* =============================================================================
   MOBILE STICKY BOTTOM BAR
   Shown only on mobile (≤767px). Hides on desktop.
   ============================================================================= */

#vsure-mobile-bar {
    display: none;   /* hidden on desktop — shown via @media below */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: var(--color-primary);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.28);
    z-index: 9500;
}

.vsure-bar-inner {
    display: flex;
    align-items: stretch;
    height: 100%;
}

.vsure-bar-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 2px;
    padding: 0 16px;
    text-decoration: none !important;
    border-right: 1px solid rgba(255,255,255,0.1);
    transition: background var(--transition-base);
}

.vsure-bar-phone:hover { background: rgba(255,255,255,0.06); }

.vsure-bar-phone svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.vsure-bar-phone span {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    color: var(--color-white);
    white-space: nowrap;
}

.vsure-bar-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 0 16px;
    background-color: var(--color-accent);
    text-decoration: none !important;
    transition: background-color var(--transition-base);
}

.vsure-bar-cta:hover { background-color: var(--color-accent-dark); }

.vsure-bar-cta span {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 13px;
    color: var(--color-white);
    text-align: center;
    line-height: 1.3;
}

/* Mobile bar — hidden on desktop, shown only on mobile */
#vsure-mobile-bar { display: none; }

/* =============================================================================
   MOBILE — 767px and below
   ============================================================================= */

@media (max-width: 767px) {

    /* Reset all containers to fixed 16px on mobile */
    .vsure-container,
    .vsure-topbar__inner,
    .vsure-stats-band__inner,
    .vsure-cookie-banner__inner {
        padding-left: 16px;
        padding-right: 16px;
    }
    #masthead .ast-container,
    .ast-header-wrap .ast-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Sticky bottom bar */
    #vsure-mobile-bar { display: block; }
    body { padding-bottom: 60px; }

    /* ── Custom header ──────────────────────────────────── */
    .vsure-header__hamburger { display: flex !important; }
    .vsure-header__nav,
    .vsure-header__cta { display: none !important; }
    .vsure-header__inner {
        height: 60px;
        padding: 0 20px;
        gap: 0;
        justify-content: space-between;
    }
    .vsure-header__logo img {
        width: 110px !important;
        height: auto !important;
    }
    .vsure-topbar__trust { display: none; }
    .vsure-topbar__inner { justify-content: center; }

    /* ── Hero — mobile complete rewrite ─────────────────────
       ROOT CAUSE FIXED: desktop uses position:absolute + inset:0
       on slides. On mobile we must use display:none/flex instead
       of opacity to prevent 3-slide stacking and inset:0 conflicts.
    ────────────────────────────────────────────────────────── */
    .vsure-hero {
        height: auto;
        min-height: unset;
        max-height: unset;
        overflow: visible;           /* prevent clip from tall stacked slides */
    }

    /* Hide ALL slides on mobile — show only the active one */
    .vsure-slide {
        display: none !important;   /* overrides desktop display:flex + position:absolute */
        position: static !important; /* remove inset:0 / position:absolute */
        inset: auto !important;      /* reset desktop inset:0 */
        opacity: 1;                  /* irrelevant when display:none but keeps opacity ready */
    }

    /* Active slide: flex column — left panel then image panel */
    .vsure-slide--active {
        display: flex !important;
        flex-direction: column !important;
        position: static !important;
        inset: auto !important;
        opacity: 1;
        pointer-events: auto;
        width: 100%;
    }

    /* Left content panel — full width, natural height */
    .vsure-hero__left {
        position: relative !important;
        width: 100% !important;
        -webkit-clip-path: none !important;
        clip-path: none !important;
        padding: 0;
        display: block;              /* block not flex so content stacks naturally */
        min-height: 0;
    }
    .vsure-hero__left::after { display: none !important; }

    .vsure-hero__left-content {
        padding: 48px 20px 40px;
        max-width: 100%;
        text-align: left;
    }

    .vsure-hero__left-content h1, .vsure-hero__left-content .vsure-hero-title {
        font-size: clamp(34px, 9vw, 48px) !important;
        margin: 0 0 12px !important;
    }

    .vsure-hero__sub {
        font-size: 15px;
        max-width: 100%;
        margin: 0 0 20px;
    }

    /* Eyebrow — smaller on mobile */
    .vsure-eyebrow--light {
        font-size: 10px;
        margin-bottom: 14px;
    }

    /* Stars row */
    .vsure-hero__stars { margin-bottom: 12px; }
    .vsure-hero__stars-icons { font-size: 14px; }

    /* CTA buttons — full width stacked */
    .vsure-hero__ctas {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
    }

    .vsure-hero__ctas .vsure-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Trust badges — wrap on small screens */
    .vsure-hero__trust-badges {
        flex-wrap: wrap;
        gap: 8px 16px;
    }

    /* Right photo panel — shows below content on mobile */
    .vsure-hero__right {
        position: relative !important;
        width: 100% !important;
        height: 220px;
        inset: auto !important;
    }

    /* Hide slide counter on mobile — not enough room */
    .vsure-slide-counter { display: none; }

    /* Dots navigation — centred below image on mobile, dark bar */
    .vsure-slider-dots {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        top: auto;
        transform: none;
        justify-content: center;
        padding: 14px 0;
        background: var(--color-primary);
        margin-top: 0;
        gap: 10px;
    }
    /* Slightly larger pill dots on mobile for easier tap */
    .vsure-dot {
        width: 8px !important;
        height: 8px !important;
        border-radius: 4px !important;
    }
    .vsure-dot--active {
        width: 32px !important;
        border-radius: 4px !important;
    }

    /* Hide prev/next arrows entirely on mobile */
    .vsure-slider-prev,
    .vsure-slider-next { display: none !important; }

    /* ── Stats band — 2x2 grid ───────────────────────────── */
    .vsure-stats-band__inner {
        grid-template-columns: repeat(2, 1fr);
        padding: 0;
    }

    .vsure-stat-item:nth-child(2) { border-right: none; }
    .vsure-stat-item:nth-child(1),
    .vsure-stat-item:nth-child(2) {
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    /* ── Services ────────────────────────────────────────── */
    .vsure-services { padding: 60px 0; }

    /* Reset the desktop wide-container override back to mobile padding */
    .vsure-services .vsure-container {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .vsure-service-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* ── About — stack on mobile ─────────────────────────── */
    .vsure-about {
        flex-direction: column;
    }

    .vsure-about__image-panel {
        flex: none;
        height: 300px;
    }

    .vsure-about__image-panel img {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .vsure-about__image-badge {
        bottom: 20px;
        right: 20px;
        padding: 12px 16px;
    }

    .vsure-about__badge-number { font-size: 30px; }

    .vsure-about__content-panel {
        padding: 48px 24px;
    }

    .vsure-about__stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    /* ── Reviews ─────────────────────────────────────────── */
    .vsure-reviews { padding: 60px 0; }

    .vsure-reviews-platforms {
        flex-direction: column;
        gap: 0;
    }

    .vsure-reviews-platform-badge {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        padding: 10px 0;
        justify-content: center;
    }

    .vsure-reviews-platform-badge:last-child { border-bottom: none; }

    .vsure-reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vsure-reviews-grid .vsure-review-card:nth-child(3) { display: none; }

    /* ── Process ─────────────────────────────────────────── */
    .vsure-process { padding: 60px 0; }

    .vsure-process-track {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }

    .vsure-process-track::before { display: none; }

    .vsure-process-step {
        padding: 0 0 36px 24px !important;
        border-left: 3px solid rgba(196,30,58,0.3);
        margin-bottom: 0;
    }

    .vsure-process-step__num { font-size: 52px !important; }

    /* ── Blog ────────────────────────────────────────────── */
    .vsure-blog { padding: 60px 0; }

    .vsure-blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* ── Final CTA ───────────────────────────────────────── */
    .vsure-final-cta { padding: 72px 0; }

    .vsure-final-cta__actions {
        flex-direction: column;
        gap: 16px;
    }

    .vsure-final-cta__actions .vsure-btn {
        width: 100%;
        justify-content: center;
    }

    /* ── Global container padding ────────────────────────── */
    .vsure-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .vsure-stats-band__inner {
        padding-left: 0;
        padding-right: 0;
    }

    /* ── Footer ──────────────────────────────────────────── */
    .vsure-footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .vsure-footer-col--brand { text-align: center; }
    .vsure-footer-social { justify-content: center; }

    .vsure-footer-bar p {
        font-size: 10px !important;
        text-align: center;
        line-height: 1.8;
    }

}

/* =============================================================================
   HOMEPAGE FULL-WIDTH LAYOUT
   Astra renders a sidebar column by default which constrains the content area
   to ~65% width. These rules force the homepage to use the full viewport width:
   — hides the empty #secondary (sidebar) column
   — expands #primary to 100% width
   — removes container padding so sections bleed edge-to-edge
   ============================================================================= */

/* body.home  = blog index front page
   body.front-page = static page set as front page (Settings → Reading)
   Both selectors needed to cover both WordPress configurations. */
body.home #secondary,
body.home .widget-area.secondary {
    display: none !important;
}

body.home #primary,
body.home .content-area.primary {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
}

/* Remove Astra's .ast-row flex/grid so sections are not constrained */
body.home .site-content .ast-row,
body.home #content .ast-row {
    display: block !important;
}

/* Remove container padding on homepage — each .vsure-container handles its own */
body.home .site-content .ast-container,
body.home #content .ast-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Remove top padding that Astra adds above page content */
body.home .site-content,
body.home #content {
    padding-top: 0 !important;
}

body.home .site-main,
body.home #main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Ensure vsure-editor-content (Elementor area) also spans full width */

/* =============================================================================
   FCA COMPLIANCE STRIP (above footer)
   ============================================================================= */

.vsure-compliance-strip {
    background-color: #EDEDEA;
    border-top: 1px solid #D8D5CF;
    padding: 18px 0;
}

.vsure-compliance-strip p {
    font-family: var(--font-body) !important;
    font-size: 11px !important;
    line-height: 1.8 !important;
    color: var(--color-secondary) !important;
    text-align: center !important;
    max-width: 980px;
    margin: 0 auto !important;
}

.vsure-compliance-strip strong {
    font-weight: 700 !important;
    color: var(--color-primary) !important;
}

/* =============================================================================
   VSURE FOOTER — 4-column dark footer
   ============================================================================= */

.vsure-footer {
    background-color: var(--color-footer-bg);
    padding: 72px 0 0;
}

/* 4-column grid */
.vsure-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
}

/* ── Column headings ────────────────────────────────────── */
.vsure-footer-col__heading {
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: var(--color-accent) !important;
    margin: 0 0 20px !important;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── Brand column ───────────────────────────────────────── */
.vsure-footer-logo-img {
    max-width: 140px;
    height: auto;
    display: block;
    margin-bottom: 20px;
    /* Invert dark logos to white for dark footer background */
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.vsure-footer-tagline {
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.70) !important;
    margin-bottom: 12px !important;
}

.vsure-footer-meaning {
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
    color: rgba(255, 255, 255, 0.45) !important;
    margin-bottom: 24px !important;
    font-style: italic;
}

.vsure-footer-meaning em {
    font-style: normal;
    color: rgba(255, 255, 255, 0.65);
}

/* Social icon row */
.vsure-footer-social {
    display: flex;
    gap: 12px;
    align-items: center;
}

.vsure-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.55) !important;
    transition: background var(--transition-base), color var(--transition-base) !important;
    text-decoration: none !important;
}

.vsure-footer-social a:hover {
    background: var(--color-accent);
    color: var(--color-white) !important;
}

/* ── Services links column ──────────────────────────────── */
.vsure-footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.vsure-footer-links li {
    margin-bottom: 10px !important;
}

.vsure-footer-links a {
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.65) !important;
    text-decoration: none !important;
    transition: color var(--transition-base) !important;
    line-height: 1.4;
}

.vsure-footer-links a:hover {
    color: var(--color-white) !important;
}

/* ── Contact column ─────────────────────────────────────── */
.vsure-footer-contact {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.vsure-footer-contact li {
    margin-bottom: 14px !important;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.vsure-footer-contact li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-accent);
    stroke: var(--color-accent);
}

.vsure-footer-contact a {
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.70) !important;
    text-decoration: none !important;
    transition: color var(--transition-base) !important;
    line-height: 1.5;
}

.vsure-footer-contact a:hover {
    color: var(--color-white) !important;
}

.vsure-footer-contact__note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.40);
    margin-left: 4px;
}

.vsure-footer-contact__address {
    align-items: flex-start !important;
}

.vsure-footer-contact__address address {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.70);
    font-style: normal;
    line-height: 1.65;
}

.vsure-footer-map-link {
    font-size: 12px !important;
    color: var(--color-accent) !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

.vsure-footer-contact__hours {
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.40);
    padding-top: 6px;
    display: block !important;
    align-items: unset !important;
}

/* ── CTA column ─────────────────────────────────────────── */
.vsure-footer-cta-lead {
    font-family: var(--font-heading) !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: var(--color-white) !important;
    margin-bottom: 8px !important;
}

.vsure-footer-cta-body {
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    color: rgba(255, 255, 255, 0.60) !important;
    margin-bottom: 24px !important;
}

.vsure-footer-cta-btn {
    display: block;
    width: 100%;
    padding: 13px 20px;
    background-color: var(--color-accent);
    color: var(--color-white) !important;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    text-decoration: none !important;
    border-radius: var(--border-radius);
    transition: background-color var(--transition-base);
    box-sizing: border-box;
}

.vsure-footer-cta-btn:hover {
    background-color: var(--color-accent-dark) !important;
    color: var(--color-white) !important;
}

.vsure-footer-cta-phone {
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.50) !important;
    margin-top: 16px !important;
    line-height: 1.7;
}

.vsure-footer-cta-phone a {
    color: var(--color-accent) !important;
    font-weight: 700;
    text-decoration: none !important;
}

.vsure-footer-cta-phone a:hover {
    color: var(--color-white) !important;
}

/* ── Footer compliance bar ──────────────────────────────── */
.vsure-footer-bar {
    background-color: #0D0D0D;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.vsure-footer-bar p {
    font-family: var(--font-body) !important;
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.35) !important;
    text-align: center !important;
    line-height: 1.8 !important;
    margin: 0 !important;
}

.vsure-footer-bar a {
    color: var(--color-accent) !important;
    text-decoration: none !important;
    font-weight: 500;
}

.vsure-footer-bar a:hover {
    color: var(--color-white) !important;
}

/* ── Footer mobile (≤767px) ─────────────────────────────── */
@media (max-width: 767px) {
    .vsure-footer {
        padding: 48px 0 0;
    }

    .vsure-footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-bottom: 40px;
    }

    .vsure-footer-col--cta {
        order: -1; /* CTA first on mobile */
    }

    .vsure-footer-cta-btn {
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .vsure-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}


/* =============================================================================
   PREMIUM QUALITY UPGRADES — £50K Level Polish
   ============================================================================= */

/* -- Tablet responsive (768px-1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .vsure-container,
    .vsure-topbar__inner,
    .vsure-header__inner,
    .vsure-stats-band__inner {
        padding-left: 5vw;
        padding-right: 5vw;
    }
    #masthead .ast-container,
    .ast-header-wrap .ast-container {
        padding-left: 5vw !important;
        padding-right: 5vw !important;
    }
    .vsure-header__inner { padding: 0 5vw; gap: 20px; }
    .vsure-header__logo img { height: 44px; }
    .vsure-nav-list > li > a { font-size: 13px; padding: 6px 10px; }
    .vsure-header__cta { font-size: 12px; padding: 9px 16px; }
    .vsure-hero {
        --vsure-hero-seam-width: 96px;
        --vsure-hero-seam-width-half: 48px;
        --vsure-slider-seam-gap: 18px;
        --vsure-slider-side-gap: 16px;
        --vsure-slider-size: 46px;
    }
    .vsure-hero__left { width: calc(50% - var(--vsure-hero-seam-width-half)); }
    .vsure-hero__left-content { padding: 40px 48px; }
    .vsure-hero__left-content h1, .vsure-hero__left-content .vsure-hero-title { font-size: clamp(36px, 4.5vw, 54px) !important; }
    .vsure-service-grid { grid-template-columns: repeat(2, 1fr); }
    .vsure-process-step { padding: 0 18px; }
    .vsure-blog-grid { grid-template-columns: repeat(2, 1fr); }
    .vsure-reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .vsure-reviews-grid .vsure-review-card:nth-child(3) { display: none; }
    .vsure-about { flex-direction: column; }
    .vsure-about__image-panel { flex: none; height: 380px; }
    .vsure-about__content-panel { padding: 56px 48px; max-width: 100%; }
}

/* -- Hero sub copy — slightly larger */
.vsure-hero__sub { font-size: 17px; line-height: 1.68; max-width: 500px; }

/* -- Eyebrow line refinement */
.vsure-eyebrow--light { font-size: 11px; letter-spacing: 0.13em; margin-bottom: 22px; }

/* -- H1 tighter tracking for editorial look */
.vsure-hero__left-content h1, .vsure-hero__left-content .vsure-hero-title { letter-spacing: -0.03em !important; line-height: 1.02 !important; }

/* -- Larger star rating */
.vsure-hero__stars { margin-bottom: 20px; }
.vsure-hero__stars-icons { font-size: 17px; }
.vsure-hero__stars-label { font-size: 13px; font-weight: 500; }

/* -- CTA buttons premium */
.vsure-btn--lg { padding: 16px 36px; font-size: 15px; letter-spacing: 0.01em; }
.vsure-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(196,30,58,0.20); }
.vsure-btn--outline-light:hover { box-shadow: 0 8px 28px rgba(255,255,255,0.12); }

/* -- Stats band richer numbers */
.vsure-stat-item__number { font-size: 38px; letter-spacing: -0.03em; }
.vsure-stat-item__label { font-size: 11.5px; letter-spacing: 0.09em; }

/* -- Service cards richer */
.vsure-service-card { padding: 32px 28px 28px; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.vsure-service-card__title { font-size: 19px !important; letter-spacing: -0.01em; }

/* -- Section headers editorial */
.vsure-section-title { font-size: clamp(30px, 3.8vw, 50px); letter-spacing: -0.025em; line-height: 1.08; }

/* -- Process step numbers — bigger */
.vsure-process-step__num { font-size: 80px; margin-bottom: 24px; }

/* -- Review cards richer */
.vsure-review-card { padding: 36px 30px; border-radius: 8px; }
.vsure-review-card__text { font-size: 15.5px !important; line-height: 1.72 !important; }

/* -- Decorative opening quote on review cards */
.vsure-review-card__text::before {
    content: "\201C";
    font-family: var(--font-heading);
    font-size: 40px;
    line-height: 0.5;
    color: var(--color-accent);
    display: block;
    margin-bottom: 8px;
    opacity: 0.65;
}

/* -- About section — editorial balance */
.vsure-about__content-panel { padding: 80px 80px 80px 72px; }

/* -- Final CTA stronger typography */
.vsure-final-cta__heading { font-size: clamp(34px, 4.8vw, 60px) !important; letter-spacing: -0.025em; line-height: 1.06 !important; }

/* -- Header CTA button refined */
.vsure-header__cta { letter-spacing: 0.01em; border-radius: 4px; }

/* -- Subtle section borders */
.vsure-services { border-top: 1px solid #EEECEA; }
.vsure-blog { border-top: 1px solid #EEECEA; }

/* -- Footer grid: no horizontal padding — .vsure-container parent handles 10vw */
.vsure-footer-grid {
    width: 100%;
    box-sizing: border-box;
}

/* -- Blog image height */
.vsure-blog-card__image-link { height: 210px; }

/* -- Header scroll shadow enhanced */
#vsure-header.vsure-header--scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    border-bottom-color: transparent;
}

/* -- Compliance strip slightly more visible */
.vsure-compliance-strip { padding: 22px 0; }

/* -- Footer compliance bar max-width */
.vsure-footer-bar p {
    max-width: none;
    margin: 0 !important;
    padding: 0;
}

/* -- Process + Blog mobile container reset */
@media (max-width: 767px) {
    .vsure-process .vsure-container,
    .vsure-blog .vsure-container {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }
    .vsure-about__content-panel {
        padding: 48px 24px;
    }
    .vsure-service-card { padding: 24px 20px 20px; }
}

/* -- Scroll animation on open quote (prevent layout shift) */
.vsure-animate-fade-up .vsure-review-card__text::before { opacity: 0; }
.vsure-animated .vsure-review-card__text::before { opacity: 0.65; transition: opacity 0.4s ease 0.3s; }




/* =============================================================================
   HOMEPAGE VARIANT 2 - Editorial Authority
   All classes prefixed .v2- to avoid conflicts with V1 styles.
   ============================================================================= */

@keyframes v2Pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.4); } }
@keyframes v2ScrollBounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(7px); } }



/* =============================================================================
   INNER PAGES, SERVICE, HUB, CONTACT, ARTICLE STYLES
   All inner-page styles consolidated from inner-pages-restore.css.
   Prefixes: .vip- (inner pages), .svc- (service), .hub- (hub),
   .vmh- (mortgages), .vpr- (protection), .vloc- (location),
   .vad- (adviser), .vtm- (team), .calc- (calculators), .vap- (adviser profile)
   ============================================================================= */

/* Styles are loaded from inner-pages-restore.css which contains the full
   ruleset. This avoids duplication. The file is enqueued in functions.php
   as vsure-inner-pages-restore with dependency on astra-child-style. */


/* =============================================================================
   WPFORMS — Contact page form styling
   ============================================================================= */

.vip-page .wpforms-container {
    margin: 0;
}

.vip-page .wpforms-container .wpforms-form .wpforms-field-label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    color: #2f4767;
    margin-bottom: 6px;
}

.vip-page .wpforms-container .wpforms-form input[type="text"],
.vip-page .wpforms-container .wpforms-form input[type="email"],
.vip-page .wpforms-container .wpforms-form input[type="tel"],
.vip-page .wpforms-container .wpforms-form input[type="url"],
.vip-page .wpforms-container .wpforms-form input[type="number"],
.vip-page .wpforms-container .wpforms-form select,
.vip-page .wpforms-container .wpforms-form textarea {
    width: 100%;
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid #cfd9e7;
    background: #fff;
    color: #10284f;
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vip-page .wpforms-container .wpforms-form input:focus,
.vip-page .wpforms-container .wpforms-form select:focus,
.vip-page .wpforms-container .wpforms-form textarea:focus {
    border-color: #3b7ddd;
    box-shadow: 0 0 0 3px rgba(59, 125, 221, 0.15);
    outline: none;
}

.vip-page .wpforms-container .wpforms-form textarea {
    min-height: 120px;
    resize: vertical;
}

.vip-page .wpforms-container .wpforms-form .wpforms-submit-container {
    padding-top: 8px;
}

.vip-page .wpforms-container .wpforms-form button[type="submit"],
.vip-page .wpforms-container .wpforms-form .wpforms-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    padding: 14px 32px;
    border-radius: 10px;
    border: none;
    background: #c41e3a;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    width: 100%;
}

.vip-page .wpforms-container .wpforms-form button[type="submit"]:hover {
    background: #9e1a2f;
    transform: translateY(-1px);
}

/* Radio / checkbox styling */
.vip-page .wpforms-container .wpforms-field-radio ul,
.vip-page .wpforms-container .wpforms-field-checkbox ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vip-page .wpforms-container .wpforms-field-radio ul li label,
.vip-page .wpforms-container .wpforms-field-checkbox ul li label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid #d6e0ef;
    border-radius: 8px;
    background: #f7fafe;
    cursor: pointer;
    font-size: 13px;
    color: #1d3e71;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.vip-page .wpforms-container .wpforms-field-radio ul li label:hover,
.vip-page .wpforms-container .wpforms-field-checkbox ul li label:hover {
    border-color: #3b7ddd;
    background: #eef4fc;
}

/* =============================================================================
   CTA STRIP — used on articles, service pages
   ============================================================================= */

.vip-cta-strip {
    background: linear-gradient(122deg, #0f2548 0%, #173a70 100%);
    padding: 64px 0;
}

.vip-cta-strip__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
}

.vip-cta-strip__title {
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.08;
}

.vip-cta-strip__text p {
    color: rgba(236, 244, 255, 0.88);
    margin: 8px 0 0;
}

.vip-cta-strip__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 900px) {
    .vip-cta-strip__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .vip-cta-strip__actions {
        justify-content: center;
    }
}

.vsure-btn--outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
    padding: 14px 28px;
    border-radius: 4px;
    border: 2px solid rgba(255,255,255,0.35);
    color: #ffffff;
    background: transparent;
    text-decoration: none;
    transition: border-color 0.22s ease, background 0.22s ease;
}
.vsure-btn--outline-dark:hover {
    border-color: #ffffff;
    background: rgba(255,255,255,0.08);
    color: #ffffff;
}


/* =============================================================================
   COOKIE CONSENT BANNER
   ============================================================================= */

.vsure-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: #0e1f3e;
    border-top: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 -8px 32px rgba(0,0,0,0.35);
}

.vsure-cookie-banner__inner {
    max-width: none;
    padding: 20px 10vw;
    display: flex;
    align-items: center;
    gap: 24px;
}

.vsure-cookie-banner__text {
    flex: 1;
}

.vsure-cookie-banner__text strong {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 4px;
}

.vsure-cookie-banner__text p {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.vsure-cookie-banner__text a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.vsure-cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.vsure-cookie-btn {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 13px;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.15s ease;
}

.vsure-cookie-btn--accept {
    background: var(--color-accent);
    color: #fff;
}

.vsure-cookie-btn--accept:hover {
    background: var(--color-accent-dark);
    transform: translateY(-1px);
}

.vsure-cookie-btn--necessary {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.2);
}

.vsure-cookie-btn--necessary:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
}

@media (max-width: 767px) {
    .vsure-cookie-banner__inner {
        flex-direction: column;
        padding: 16px 20px;
        gap: 14px;
    }
    .vsure-cookie-banner__actions {
        width: 100%;
    }
    .vsure-cookie-btn {
        flex: 1;
        text-align: center;
    }
}


/* =============================================================================
   WHATSAPP CHAT WIDGET
   ============================================================================= */

.vsure-wa-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9600;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

/* Panel */
.vsure-wa-panel {
    width: 340px;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 48px rgba(0,0,0,0.22), 0 4px 16px rgba(0,0,0,0.12);
    transform: scale(0.85) translateY(20px);
    opacity: 0;
    pointer-events: none;
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.25s ease;
}

.vsure-wa-panel.is-open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.vsure-wa-panel__header {
    background: #075e54;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.vsure-wa-panel__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #128c7e;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.vsure-wa-panel__avatar-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #25d366;
    border: 2px solid #075e54;
}

.vsure-wa-panel__agent {
    flex: 1;
    min-width: 0;
}

.vsure-wa-panel__name {
    display: block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}

.vsure-wa-panel__status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-body);
    font-size: 11px;
    color: rgba(255,255,255,0.7);
}

.vsure-wa-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #25d366;
    animation: v2Pulse 2s ease infinite;
}

.vsure-wa-panel__close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.65);
    cursor: pointer;
    padding: 4px;
    display: flex;
    transition: color 0.2s ease;
}

.vsure-wa-panel__close:hover {
    color: #fff;
}

.vsure-wa-panel__body {
    padding: 20px 16px;
    background: #e5ddd5;
    background-image: url("data:image/svg+xml,%3Csvg width='400' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='p' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23d4ccc5' stroke-width='.5' fill='none' opacity='.3'/%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23p)' width='400' height='400'/%3E%3C/svg%3E");
}

.vsure-wa-panel__date-chip {
    display: block;
    text-align: center;
    font-family: var(--font-body);
    font-size: 11px;
    color: #667781;
    background: #e1f2fb;
    border-radius: 6px;
    padding: 3px 10px;
    margin: 0 auto 12px;
    width: fit-content;
}

.vsure-wa-panel__bubble {
    background: #fff;
    border-radius: 0 12px 12px 12px;
    padding: 12px 14px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    position: relative;
}

.vsure-wa-panel__bubble p {
    font-family: var(--font-body);
    font-size: 13.5px;
    line-height: 1.55;
    color: #303030;
    margin: 0 0 6px;
}

.vsure-wa-panel__bubble p:last-of-type {
    margin-bottom: 0;
}

.vsure-wa-panel__bubble-time {
    display: flex;
    align-items: center;
    gap: 3px;
    font-family: var(--font-body);
    font-size: 10px;
    color: #667781;
    margin-top: 6px;
    justify-content: flex-end;
}

.vsure-wa-panel__bubble-time svg {
    color: #53bdeb;
}

.vsure-wa-panel__footer {
    padding: 14px 16px;
    background: #fff;
    border-top: 1px solid #e8e8e8;
    text-align: center;
}

.vsure-wa-panel__prompt {
    font-family: var(--font-body);
    font-size: 12px;
    color: #667781;
    margin: 0 0 10px;
}

.vsure-wa-panel__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background: #25d366;
    color: #fff !important;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background 0.2s ease;
}

.vsure-wa-panel__cta:hover {
    background: #1fb855;
    color: #fff !important;
}

.vsure-wa-panel__disclaimer {
    font-family: var(--font-body);
    font-size: 11px;
    color: #8696a0;
    margin: 8px 0 0;
}

/* Toggle button */
.vsure-wa-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vsure-wa-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.vsure-wa-toggle__icon {
    color: #fff;
}

.vsure-wa-toggle__icon--close {
    display: none;
}

.vsure-wa-toggle.is-open .vsure-wa-toggle__icon--wa {
    display: none;
}

.vsure-wa-toggle.is-open .vsure-wa-toggle__icon--close {
    display: block;
}

.vsure-wa-toggle__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #c41e3a;
    color: #fff;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.vsure-wa-toggle.is-open .vsure-wa-toggle__badge {
    display: none;
}

.vsure-wa-toggle__dot {
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #25d366;
}

@media (max-width: 767px) {
    .vsure-wa-widget {
        bottom: 74px;
        right: 16px;
    }
    .vsure-wa-panel {
        width: calc(100vw - 32px);
        max-width: 360px;
    }
    .vsure-wa-toggle {
        width: 52px;
        height: 52px;
    }
    .vsure-wa-toggle__icon--wa {
        width: 24px;
        height: 24px;
    }
}


/* =============================================================================
   BACK-TO-TOP BUTTON
   ============================================================================= */

.vsure-back-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9500;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.vsure-back-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.vsure-back-top:hover {
    background: var(--color-accent);
}

@media (max-width: 767px) {
    .vsure-back-top {
        bottom: 74px;
        left: 16px;
        width: 40px;
        height: 40px;
    }
}


/* =============================================================================
   SCROLL PROGRESS BAR
   ============================================================================= */

.vsure-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), #e24864);
    z-index: 10001;
    transition: width 0.1s linear;
    pointer-events: none;
}


/* =============================================================================
   MOBILE HERO BACKGROUND IMAGES
   On mobile the hero stacks vertically and the right panel uses
   position: relative. Ensure background-image still shows.
   ============================================================================= */

@media (max-width: 767px) {
    .vsure-hero__right--1 {
        background-image: url('../images/home-hero-1-mobile.webp');
        background-position: center;
    }
    .vsure-hero__right--2 {
        background-image: url('../images/home-hero-2-mobile.webp');
        background-position: center;
    }
    .vsure-hero__right--3 {
        background-image: url('../images/home-hero-3-mobile.webp');
        background-position: center;
    }
}

/* Submit button */

/* ── Contact responsive ───────────────────────────── */


/* =============================================================================
   ARTICLES PAGE
   ============================================================================= */

/* 3-column article grid */

/* Article card */

/* Thumbnail */

/* Card body */

/* Pagination */

/* Empty state */

/* ── Articles responsive ──────────────────────────── */


/* =============================================================================
   PRIVACY POLICY PAGE
   ============================================================================= */

/* Sticky sidebar TOC */

/* Policy body */

/* ── Privacy responsive ───────────────────────────── */

/* ============================================================
   §20 — SCROLL PROGRESS BAR
   ============================================================ */
.vsure-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--color-accent);
    z-index: 99999;
    transition: width 0.1s linear;
    pointer-events: none;
}

/* ============================================================
   §21 — COOKIE CONSENT BANNER
   ============================================================ */
.vsure-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 20px 32px;
    z-index: 99998;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.18);
    font-family: var(--font-body);
}
.vsure-cookie-banner__text {
    flex: 1;
    font-size: 13.5px;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    margin: 0;
}
.vsure-cookie-banner__text a {
    color: var(--color-accent);
    text-decoration: underline;
}
.vsure-cookie-banner__actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
.vsure-cookie-btn {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
}
.vsure-cookie-btn--accept {
    background: var(--color-accent);
    color: var(--color-white);
}
.vsure-cookie-btn--necessary {
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.25) !important;
}
.vsure-cookie-btn:hover { opacity: 0.85; }
@media (max-width: 767px) {
    .vsure-cookie-banner { flex-direction: column; align-items: flex-start; padding: 20px; }
    .vsure-cookie-banner__actions { width: 100%; }
    .vsure-cookie-btn { flex: 1; text-align: center; }
}

/* ============================================================
   §22 — WHATSAPP CHAT WIDGET (custom popup panel)
   ============================================================ */

/* Container — fixed bottom-right, stacks panel above toggle */

/* ── Toggle button ──────────────────────────────────────── */

/* Pulse rings */
@keyframes wa-pulse {
    0%   { transform: scale(0.9); opacity: 0.8; }
    70%  { transform: scale(1.2); opacity: 0; }
    100% { transform: scale(0.9); opacity: 0; }
}

/* Online dot on toggle */

/* Notification badge */

/* Icon pair — WA icon shows by default, close icon when open */

/* ── Panel ──────────────────────────────────────────────── */

/* Panel header — WhatsApp dark teal */

/* Avatar circle */

/* Agent info */

/* Close button inside header */

/* Chat body — WhatsApp warm beige bg */

/* Chat bubble with left-tail */

/* Panel footer */

/* ── Responsive ─────────────────────────────────────────── */

/* ============================================================
   §23 — BACK TO TOP BUTTON
   ============================================================ */
.vsure-back-top {
    position: fixed;
    bottom: 90px;
    left: 24px;
    z-index: 9990;
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    color: var(--color-white) !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    padding: 0 !important;
    min-width: 0 !important;
}
.vsure-back-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.vsure-back-top:hover { background: var(--color-accent) !important; }
@media (max-width: 767px) { .vsure-back-top { bottom: 74px; left: 16px; } }

/* ============================================================
   §24 — SINGLE BLOG POST
   ============================================================ */

/* ── Images inside post content ─────────────────────────────── */
/* Table styling inside posts */

/* Post sidebar */

/* Related posts */

/* Single post responsive */

/* ============================================================
   §25 — 404 PAGE
   ============================================================ */

/* ============================================================
   §26 — FAQ PAGE
   ============================================================ */

/* ============================================================
   §27 — CASE STUDIES PAGE
   ============================================================ */

/* ============================================================
   §28 — MORTGAGE GLOSSARY PAGE
   ============================================================ */

/* ============================================================
   §29 — HTML SITEMAP PAGE
   ============================================================ */

/* ============================================================
   §30 — LENDERS PAGE
   ============================================================ */

/* ============================================================
   §31 — TEAM PAGE
   ============================================================ */

/* ============================================================
   §32 — SERVICE PAGE STICKY ADVISER BAR
   ============================================================ */

/* ============================================================
   §33 — HERO OVERLAY VARIANTS (inner pages)
   ============================================================ */

/* CTA strip shared across inner pages */

/* FCA compliance strip (shared) */

/* ============================================================
   §34 — MORTGAGES HUB PAGE  (.vmh-*)
   ============================================================ */

/* Hero variants */

/* Inline hero stats bar */

/* ── Services grid ──────────────────────────────────────── */

/* Service card */

/* ── Why broad lender panel ─────────────────────────────── */

/* ── Process steps ──────────────────────────────────────── */

/* ── Outcomes strip ─────────────────────────────────────── */

/* ── FAQ ────────────────────────────────────────────────── */

/* ── Final CTA (amber bg) ───────────────────────────────── */

/* ============================================================
   §35 — PROTECTION HUB PAGE  (.vpr-*)
   ============================================================ */

/* Scenario grid */

/* Protection services page */

/* Case study highlight */

/* Cost section */

/* Protection FAQ / CTA overrides */

/* ── Shared responsive ──────────────────────────────────── */


/* =============================================================================
   §36 — ADVISER PROFILE PAGE (.vad-*)
   Template: page-adviser-vinod.php | Slug: vinod-cherian
   ============================================================================= */

/* ---- Hero ---- */
@keyframes vad-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

/* ---- Stats bar ---- */

/* ---- About section ---- */

/* ---- Sidebar ---- */

/* ---- Specialisms ---- */

/* ---- Reviews ---- */

/* ---- CTA section ---- */

/* =============================================================================
   §37 — LOCATION PAGE (.vloc-*)
   Template: page-harrow.php | Reference template for all location pages
   ============================================================================= */

/* ---- Hero modifier ---- */

/* ---- Intro section ---- */

/* ---- Market insight ---- */

/* ---- Services ---- */

/* ---- Client story ---- */

/* ---- Why Vsure / Trust ---- */

/* ---- CTA ---- */

/* =============================================================================
   §38 — TEAM CARD PROFILE LINK (.vip-team-card--link)
   ============================================================================= */

/* =============================================================================
   §36-38 RESPONSIVE
   ============================================================================= */


/* =============================================================================
   §39 — TEAM PAGE REDESIGN (.vtm-*)
   Template: page-team.php | 10 individual members with photo cards
   ============================================================================= */

/* ---- Qual badge (shared) ---- */

/* =====================================================================
   FEATURED — VINOD CARD
   2-column layout: large photo left, rich content right
   ===================================================================== */

/* Photo panel */

/* Content panel */

/* =====================================================================
   TEAM GRID — 9 members, 3 columns
   ===================================================================== */

/* Photo */

/* Body */

/* =====================================================================
   VALUES STRIP
   ===================================================================== */

/* =====================================================================
   JOIN THE TEAM
   ===================================================================== */

/* =====================================================================
   RESPONSIVE
   ===================================================================== */


/* =============================================================================
   §40 — ADVISER PROFILE HERO (.vap-*)
   Template: page-adviser.php — photo left, content right inside dark hero
   ============================================================================= */

/* ---- Photo panel ---- */

/* ---- Content panel ---- */

/* ---- Team card — link + hover overlay enhancements ---- */

/* =============================================================================
   §40 RESPONSIVE
   ============================================================================= */


/* =============================================================================
   §41  BLOG — ENHANCED ARTICLES PAGE
   ============================================================================= */

/* Articles hero badges */

/* Section kicker */

/* Featured post section */

/* Category filter tabs */

/* Article card enhancements */

/* Advice strip */

/* Button variants */

/* Responsive: articles page */


/* =============================================================================
   §42  BLOG — SINGLE POST ENHANCED
   ============================================================================= */

/* Post hero meta row */

/* Post featured image */

/* Table of Contents */

/* Share buttons */

/* FCA post disclaimer */

/* Author bio */

/* Reading progress bar */

/* Sidebar quick nav links */

/* More articles (below single post) */

/* Post nav enhancements */

/* Single post responsive */

/* =============================================================================
   §43 — BLOG POST INLINE IMAGES
   ============================================================================= */

/* Article card thumbnail — ensure proper image display */

/* Featured card image — real photo */

/* Blog post hero featured image display */

/* =============================================================================
   §44 — INLINE FEATURED IMAGE (injected via the_content filter)
   ============================================================================= */


/* =============================================================================
   §45 — ADDITIVE HOVER & MICRO-INTERACTION POLISH (sitewide)
   Only adds hover effects, shadows, and transitions — never re-declares
   base layout or sizing properties already defined earlier.
   ============================================================================= */

/* ── Homepage hero — premium depth ────────────────────────────── */

.vsure-hero__left-content h1,
.vsure-hero__left-content .vsure-hero-title {
    text-shadow: 0 2px 48px rgba(0, 0, 0, 0.12);
}

.vsure-hero__trust-badges span {
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    padding: 6px 0;
}

/* ── Homepage final CTA — premium ─────────────────────────────── */

.vsure-final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 50% at 15% 85%, rgba(196, 30, 58, 0.06), transparent 70%),
        radial-gradient(ellipse 40% 60% at 85% 15%, rgba(255, 255, 255, 0.03), transparent);
    pointer-events: none;
}

/* ── Stats band — premium numbers ─────────────────────────────── */

.vsure-stat-item__number {
    background: linear-gradient(180deg, #fff 20%, rgba(255,255,255,0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Service cards — premium hover ────────────────────────────── */

.vsure-service-card:hover {
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.04),
        0 16px 48px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
    border-color: rgba(0, 0, 0, 0.06);
}

.vsure-service-card__icon {
    transition: transform 0.3s ease;
}

.vsure-service-card:hover .vsure-service-card__icon {
    transform: scale(1.08);
}

/* ── Review cards — premium ───────────────────────────────────── */

.vsure-review-card:hover {
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.04),
        0 20px 56px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}

/* ── Process steps — premium ──────────────────────────────────── */

.vsure-process-step__num {
    background: linear-gradient(180deg, rgba(196, 30, 58, 0.12) 0%, rgba(196, 30, 58, 0.04) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Footer — premium treatment ───────────────────────────────── */

.vsure-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(196, 30, 58, 0.3), transparent);
}

.vsure-footer-col__heading {
    position: relative;
    padding-bottom: 14px;
}

.vsure-footer-col__heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--color-accent, #C41E3A);
    border-radius: 1px;
}

.vsure-footer-links a,
.vsure-footer-contact a {
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.vsure-footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.vsure-footer-cta-btn {
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.3);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.vsure-footer-cta-btn:hover {
    box-shadow: 0 8px 32px rgba(196, 30, 58, 0.45);
    transform: translateY(-2px);
}

/* ── Compliance strip — subtle premium ────────────────────────── */

.vsure-compliance-strip::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 10%, rgba(196, 30, 58, 0.15) 50%, transparent 90%);
}

/* ── Header CTA — hover enhancement only ─────────────────────── */

.vsure-header__cta:hover {
    box-shadow: 0 6px 24px rgba(196, 30, 58, 0.35);
    transform: translateY(-1px);
}

/* ── Scroll animation — smoother ──────────────────────────────── */

.vsure-animate-fade-up {
    will-change: opacity, transform;
}

/* ── Selection colour ─────────────────────────────────────────── */

::selection {
    background: rgba(196, 30, 58, 0.12);
    color: #0e2a56;
}

/* ── Smooth scroll ────────────────────────────────────────────── */

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .vsure-animate-fade-up { transition: none !important; animation: none !important; }
    .vsure-btn, .vsure-service-card, .vsure-review-card { transition: none !important; }
}

