/* ============================================
   Heroes on Hand – theme.css
   New styles and overrides go here.
   Enqueued LAST, overrides main.css.
   ============================================ */


/* ============================================
   NAV BREAKPOINT OVERRIDE
   Compact nav on smaller desktops to prevent
   wrapping. Hamburger only on tablet/mobile
   (handled by main.css at 991px).
   ============================================ */

/* Compact nav for smaller laptops */
@media (min-width: 992px) and (max-width: 1439px) {
    .menu-inner {
        gap: 6px !important;
    }

    .menu-link {
        font-size: 14px !important;
        padding: 8px 3px !important;
        white-space: nowrap !important;
    }

    .header-cta .btn {
        font-size: 13px !important;
        padding: 10px 16px !important;
        white-space: nowrap !important;
    }

    .nav-bar {
        padding: 0 20px !important;
    }

    /* Fix dropdown in compact mode */
    .drop-menu.drop-column {
        left: 50% !important;
        transform: translateX(-50%);
        min-width: 340px !important;
    }

    .drop-link-icon {
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
        min-height: 22px !important;
    }

    .menu-link.drop.wth-icon {
        padding-left: 36px !important;
    }

    .menu-link.drop {
        font-size: 13px !important;
    }
}

@media (min-width: 1440px) and (max-width: 1599px) {
    .menu-inner {
        gap: 14px !important;
    }

    .menu-link {
        font-size: 13px !important;
    }
}


@media (min-width: 992px) and (max-width: 1439px) {
    .drop-menu:not(.drop-column) {
        min-width: 240px !important;
        max-width: 280px !important;
    }
    
    .drop-menu:not(.drop-column) .menu-link.drop {
        white-space: normal !important;
        word-wrap: break-word !important;
        font-size: 13px !important;
    }
}

/* ============================================
   HOH-SECTION — Universal section wrapper
   ============================================ */
.hoh-section {
    padding: var(--section-pad) 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.hoh-section.light {
    background-color: var(--off-white);
}

.hoh-section.dark {
    background-color: var(--navy-dark);
}

.hoh-section.dark.gradient {
    background: linear-gradient(
        135deg,
        #0a1628 0%,
        #122945 25%,
        #1b4476 50%,
        #163560 75%,
        #0e1f3d 100%
    );
}

.hoh-section.dark.gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(214, 16, 54, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(58, 132, 222, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(27, 68, 118, 0.1) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.hoh-section.dark.gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.hoh-section.dark .section-label {
    color: var(--white);
    opacity: 0.7;
}

.hoh-section.dark .section-heading {
    color: var(--white);
}

.hoh-section.dark p,
.hoh-section.dark .about-content p {
    color: rgba(255, 255, 255, 0.7);
}

.hoh-section.dark .about-feature {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.hoh-section.dark .about-feature span {
    color: var(--white);
}

.hoh-section.dark .about-feature-icon {
    background-color: var(--white);
}

.hoh-section.dark .btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 1);
}

.hoh-section.dark .btn-tertiary {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}


/* ============================================
   Background image overlay
   ============================================ */
.background-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.background-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(18, 41, 69, 0.92) 0%,
        rgba(27, 68, 118, 0.85) 50%,
        rgba(18, 41, 69, 0.88) 100%
    );
    z-index: 1;
}

.background-overlay.gradient {
    background: linear-gradient(
        135deg,
        rgba(18, 41, 69, 0.95) 0%,
        rgba(27, 68, 118, 0.80) 50%,
        rgba(18, 41, 69, 0.70) 100%
    );
}

.hoh-section.dark .container {
    position: relative;
    z-index: 2;
}


/* ============================================
   Section border
   ============================================ */
.section-border {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 3;
}

.section-border.white { background-color: var(--white); }
.section-border.light-blue { background-color: var(--navy-light); }
.section-border.light-grey { background-color: var(--grey-light); }
.section-border.dark { background-color: var(--navy-dark); }


/* ============================================
   Quick-link icon — SVG mask approach
   ============================================ */
.quick-link-icon[style*="mask-image"] {
    background-color: var(--orange);
}

.quick-link:hover .quick-link-icon[style*="mask-image"] {
    background-color: var(--navy);
}


/* ============================================
   About feature icon — SVG mask approach
   ============================================ */
.about-feature-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background-color: var(--orange);
}


/* ============================================
   Button holder
   ============================================ */
.button-holder {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.button-holder.button-centre {
    justify-content: center;
}

.section-header .section-subtitle {
    max-width: 960px;
}


/* ============================================
   Responsive — hoh-section
   ============================================ */
@media (max-width: 768px) {
    .hoh-section {
        padding: 64px 0;
    }
}


/* ============================================
   Light background overrides
   ============================================ */
.hoh-section:not(.dark) .survey-content .section-label {
    color: var(--orange);
    opacity: 1;
}

.hoh-section:not(.dark) .survey-content .section-heading {
    color: var(--navy);
}

.hoh-section:not(.dark) .survey-content p {
    color: var(--grey-dark);
}

.hoh-section:not(.dark) .survey-feature span {
    color: var(--text-body);
}

.hoh-section:not(.dark) .survey-feature-check {
    background: rgba(214, 16, 54, 0.1);
}

.hoh-section:not(.dark) .survey-feature-check svg {
    stroke: var(--orange);
}

.hoh-section:not(.dark) .stat-card {
    background: var(--off-white);
    border-color: var(--grey-light);
}

.hoh-section:not(.dark) .stat-number {
    color: var(--navy);
}

.hoh-section:not(.dark) .stat-label {
    color: var(--grey-dark);
}


/* ============================================
   PAGE HEADER — Inner page hero banner
   ============================================ */
.page-header {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    background: var(--navy);
    padding-top: 145px;
    padding-bottom: 70px;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-header-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(18, 41, 69, 0.96) 0%,
        rgba(27, 68, 118, 0.88) 50%,
        rgba(18, 41, 69, 0.82) 100%
    );
    z-index: 1;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(245, 246, 248, 0.03) 30%,
        rgba(245, 246, 248, 0.1) 60%,
        rgba(245, 246, 248, 0.25) 80%,
        rgba(245, 246, 248, 0.5) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.page-header-inner {
    position: relative;
    z-index: 3;
    width: 100%;
}

.page-header-inner::before {
    content: '';
    position: absolute;
    inset: -100px;
    background:
        radial-gradient(ellipse at 10% 80%, rgba(214, 16, 54, 0.07) 0%, transparent 45%),
        radial-gradient(ellipse at 90% 20%, rgba(58, 132, 222, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.page-header-inner::after {
    display: none;
}

.page-header-content {
    max-width: 720px;
    animation: fadeInUp 0.8s ease both;
}

.page-header-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.page-header-label-line {
    display: inline-block;
    width: 32px;
    height: 2px;
    background: var(--orange);
    border-radius: 1px;
}

.page-header-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.page-header-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 580px;
}

.page-header-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.page-header-trust {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-header-trust .hero-trust-badges img {
    height: 52px;
}

.page-header-trust .trust-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 991px) {
    .page-header {
        padding-top: 72px;
        min-height: 400px;
        padding-bottom: 80px;
    }
}

@media (max-width: 768px) {
    .page-header {
        min-height: auto;
        padding-bottom: 64px;
    }

    .page-header::after {
        height: 100px;
    }

    .page-header-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-header-title {
        font-size: 28px;
    }
}

.single-post .page-header {
    min-height: 320px;
    padding-bottom: 60px;
}

@media (max-width: 768px) {
    .single-post .page-header {
        min-height: auto;
        padding-bottom: 48px;
    }
}


/* ============================================
   TEAM — Dark background card text fix
   ============================================ */
.hoh-section.dark .team-card {
    color: var(--text-body);
}

.hoh-section.dark .team-info h3 {
    color: var(--navy);
}

.hoh-section.dark .team-role {
    color: var(--orange);
}

.hoh-section.dark .team-bio,
.hoh-section.dark .team-card p {
    color: var(--grey-dark);
}

.hoh-section.dark .team-tags span {
    color: var(--navy);
    background: var(--off-white);
}


/* ============================================
   BENEFITS — Icon + text card grid
   ============================================ */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.benefits-grid._3-col {
    grid-template-columns: repeat(3, 1fr);
}

.benefit-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 28px 32px;
    background: var(--white);
    border: 1px solid var(--grey-light);
    border-radius: var(--radius-lg);
    transition: all 0.35s ease;
}

.benefit-card:hover {
    border-color: var(--orange);
    box-shadow: 0 12px 40px rgba(214, 16, 54, 0.08);
    transform: translateY(-4px);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 3px;
    background: var(--orange);
    border-radius: 0 0 3px 3px;
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.35s ease;
}

.benefit-card:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.benefit-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    background: rgba(214, 16, 54, 0.06);
    border-radius: var(--radius-md);
    transition: background 0.35s ease;
}

.benefit-card:hover .benefit-icon-wrap {
    background: rgba(214, 16, 54, 0.1);
}

.benefit-icon {
    width: 32px;
    height: 32px;
    background-color: var(--orange);
    transition: background-color 0.35s ease;
}

.benefit-card:hover .benefit-icon {
    background-color: var(--orange-hover);
}

.benefit-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.benefit-text {
    font-size: 14px;
    color: var(--grey-dark);
    line-height: 1.6;
}

.benefits-content {
    text-align: center;
    max-width: 960px;
    margin: 0 auto 32px;
    font-size: 15px;
    color: var(--grey-dark);
    line-height: 1.7;
}

.benefits-content a {
    color: var(--orange);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.benefits-content a:hover {
    color: var(--orange-hover);
}

.hoh-section.dark .benefit-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.hoh-section.dark .benefit-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--orange);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.hoh-section.dark .benefit-icon-wrap {
    background: rgba(255, 255, 255, 0.1);
}

.hoh-section.dark .benefit-card:hover .benefit-icon-wrap {
    background: rgba(214, 16, 54, 0.15);
}

.hoh-section.dark .benefit-icon {
    background-color: var(--white);
}

.hoh-section.dark .benefit-card:hover .benefit-icon {
    background-color: var(--orange);
}

.hoh-section.dark .benefit-title {
    color: var(--white);
}

.hoh-section.dark .benefit-text {
    color: rgba(255, 255, 255, 0.65);
}

.hoh-section.dark .benefits-content {
    color: rgba(255, 255, 255, 0.7);
}

.hoh-section.dark .benefits-content a {
    color: var(--orange-light);
}

.hoh-section.light .benefit-card {
    background: var(--white);
}

/* 4-column layout */
.benefits-grid._4-col {
    grid-template-columns: repeat(4, 1fr);
}

/* 3-col: use flexbox so orphan items centre naturally */
.benefits-grid._3-col {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.benefits-grid._3-col .benefit-card {
    width: calc((100% - 40px) / 3);
}

@media (min-width: 769px) and (max-width: 1024px) {
    .benefits-grid._4-col {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid._3-col .benefit-card {
        width: calc((100% - 20px) / 2);
    }
}

@media (max-width: 768px) {
    .benefits-grid,
    .benefits-grid._3-col,
    .benefits-grid._4-col {
        grid-template-columns: 1fr;
    }

    .benefits-grid._3-col .benefit-card {
        width: 100%;
    }

    .benefit-card {
        padding: 32px 24px 28px;
    }
}


/* ============================================
   TEXT BLOCK — Versatile content layouts
   ============================================ */

/* Spacing between repeater items — with divider */
.text-block-spaced {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--grey-light);
}

/* Compact spacing — no divider, reduced gap */
.text-block-compact {
    margin-bottom: 24px;
    padding-bottom: 0;
}

.hoh-section.dark .text-block-spaced {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* Title centre alignment (title_align = off) */
.text-block-header.title-centre,
.section-header.title-centre,
.title-centre {
    text-align: center;
}

.text-block-header.title-centre .section-label,
.section-header.title-centre .section-label,
.title-centre .section-label {
    justify-content: center;
}

.text-block-header.title-centre .section-heading,
.section-header.title-centre .section-heading,
.title-centre .section-heading {
    text-align: center;
}

/* Full-width edge wrapper */
.text-block-edge {
    position: relative;
    min-height: 400px;
}

.text-block-edge .container {
    position: relative;
    z-index: 2;
}

/* Rich text defaults */
.rich-text p {
    margin-bottom: 16px;
    line-height: 1.7;
}

.rich-text p:last-child {
    margin-bottom: 0;
}

.rich-text a {
    color: var(--orange);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.rich-text a:hover {
    color: var(--orange-hover);
}

.rich-text h3 {
    margin-top: 24px;
    margin-bottom: 12px;
}

.rich-text ul,
.rich-text ol {
    list-style: disc;
    padding-left: 1.5em;
    margin: 16px 0;
}

.rich-text ol {
    list-style: decimal;
}

.rich-text li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.rich-text li:last-child {
    margin-bottom: 0;
}

.rich-text strong {
    color: var(--navy);
    font-weight: 700;
}

.hoh-section.dark .rich-text a {
    color: var(--orange-light);
}

.hoh-section.dark .rich-text strong {
    color: var(--white);
}

.text-block-inner.text-centre {
    text-align: center;
}

.text-block-inner.text-centre .text-block-content {
    margin-left: auto;
    margin-right: auto;
}

.text-block-content {
    max-width: 960px;
    margin-bottom: 32px;
}


/* --- Two Column Layout --- */
.text-block-two-col {
    column-count: 2;
    column-gap: 48px;
    margin-bottom: 32px;
}

.text-block-two-col p {
    break-inside: avoid;
}


/* --- List Layout --- */
.text-block-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.text-block-list.list-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.text-block-list.list-centre {
    justify-content: center;
}

.text-block-list.list-two-col.list-centre {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.text-list-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px 8px 12px;
    background: var(--white);
    border: 1px solid var(--grey-light);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.text-list-item:hover {
    border-color: var(--orange);
    box-shadow: 0 3px 12px rgba(214, 16, 54, 0.1);
    transform: translateY(-2px);
}

.text-list-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(214, 16, 54, 0.08);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.text-list-item:hover .text-list-icon {
    background: var(--orange);
}

.text-list-icon svg {
    width: 12px;
    height: 12px;
    stroke: var(--orange);
    transition: stroke 0.3s ease;
}

.text-list-item:hover .text-list-icon svg {
    stroke: var(--white);
}

.text-list-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.3;
    white-space: nowrap;
}

.hoh-section.dark .text-list-item {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.hoh-section.dark .text-list-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--orange);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}

.hoh-section.dark .text-list-icon {
    background: rgba(255, 255, 255, 0.1);
}

.hoh-section.dark .text-list-item:hover .text-list-icon {
    background: var(--orange);
}

.hoh-section.dark .text-list-icon svg {
    stroke: var(--orange);
}

.hoh-section.dark .text-list-item:hover .text-list-icon svg {
    stroke: var(--white);
}

.hoh-section.dark .text-list-item span {
    color: rgba(255, 255, 255, 0.8);
}

.hoh-section.light .text-list-item {
    background: var(--white);
}


/* --- Image + Text (contained) --- */
.text-block-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.text-block-media.reverse {
    direction: rtl;
}

.text-block-media.reverse > * {
    direction: ltr;
}

.text-block-media-content .section-label {
    margin-bottom: 8px;
}

.text-block-media-content .section-heading {
    margin-bottom: 20px;
}

.text-block-media-content .rich-text {
    margin-bottom: 24px;
}

.text-block-media-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    object-fit: cover;
}


/* --- Image + Text (full-width edge) --- */
.text-block-media-full {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
}

.text-block-media-full .text-block-media-content {
    max-width: 540px;
}

.text-block-media-full .text-block-media-content .section-label {
    margin-bottom: 8px;
}

.text-block-media-full .text-block-media-content .section-heading {
    margin-bottom: 20px;
}

.text-block-media-full .text-block-media-content .rich-text {
    margin-bottom: 24px;
}

.text-block-full-image {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 48%;
    z-index: 1;
}

.text-block-full-image.right {
    right: 0;
}

.text-block-full-image.left {
    left: 0;
}

.text-block-full-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-block-media-full.reverse .text-block-media-content {
    margin-left: auto;
}


/* --- Responsive --- */
@media (max-width: 991px) {
    .text-block-media {
        gap: 40px;
    }

    .text-block-media-full .text-block-media-content {
        max-width: 480px;
    }

    .text-block-full-image {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .text-block-two-col {
        column-count: 1;
    }

    .text-block-list.list-two-col {
        grid-template-columns: 1fr;
    }

    .text-block-list.list-two-col.list-centre {
        max-width: 100%;
    }

    .text-block-media {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .text-block-media.reverse {
        direction: ltr;
    }

    .text-block-media-image img {
        max-height: 400px;
    }

    .text-block-full-image {
        position: relative;
        width: 100%;
        height: 320px;
        margin-top: 32px;
    }

    .text-block-media-full .text-block-media-content {
        max-width: 100%;
    }

    .text-block-media-full.reverse .text-block-media-content {
        margin-left: 0;
    }
}


/* ============================================
   WHO WE WORK WITH — Content + logo grid
   ============================================ */
.wwww-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 60px;
    align-items: center;
}

.wwww-content .section-label {
    margin-bottom: 8px;
}

.wwww-content .section-heading {
    margin-bottom: 20px;
}

.wwww-text {
    margin-bottom: 32px;
}

.wwww-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.wwww-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    background: var(--white);
    border: 1px solid var(--grey-light);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.35s ease;
    min-height: 90px;
}

.wwww-logo-item:hover {
    border-color: var(--orange);
    box-shadow: 0 8px 24px rgba(214, 16, 54, 0.08);
    transform: translateY(-3px);
}

.wwww-logo-item img {
    max-height: 48px;
    max-width: 130px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.wwww-logo-item:hover img {
    transform: scale(1.05);
}

.hoh-section.dark .wwww-logo-item {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.hoh-section.dark .wwww-logo-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--orange);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hoh-section.light .wwww-logo-item {
    background: var(--white);
}

@media (max-width: 991px) {
    .wwww-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .wwww-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .wwww-logos {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .wwww-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .wwww-logo-item {
        padding: 16px 12px;
        min-height: 72px;
    }

    .wwww-logo-item img {
        max-height: 36px;
        max-width: 100px;
    }
}


/* ============================================
   AREAS — Page cards with image overlay
   ============================================ */
.areas-grid {
    display: grid;
    gap: 24px;
    margin-bottom: 40px;
}

.areas-grid.areas-cols-2 { grid-template-columns: repeat(2, 1fr); }
.areas-grid.areas-cols-3 { grid-template-columns: repeat(3, 1fr); }
.areas-grid.areas-cols-4 { grid-template-columns: repeat(4, 1fr); }

.area-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    background: var(--white);
    border: 1px solid var(--grey-light);
    transition: all 0.4s ease;
}

.area-card:hover {
    border-color: transparent;
    box-shadow: 0 20px 48px rgba(27, 68, 118, 0.12);
    transform: translateY(-6px);
}

.area-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.area-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.area-card:hover .area-card-image img {
    transform: scale(1.08);
}

.area-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 40%,
        rgba(18, 41, 69, 0.15) 100%
    );
    transition: opacity 0.4s ease;
}

.area-card:hover .area-card-overlay {
    opacity: 0.6;
}

.area-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--off-white), rgba(27, 68, 118, 0.05));
}

.area-card-placeholder svg {
    width: 40px;
    height: 40px;
    stroke: var(--grey-light);
}

.area-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 24px 22px 22px;
}

.area-card-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.area-card:hover .area-card-title {
    color: var(--orange);
}

.area-card-excerpt {
    font-size: 14px;
    color: var(--grey-dark);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.area-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--orange);
    margin-top: auto;
    transition: gap 0.3s ease;
}

.area-card:hover .area-card-link {
    gap: 12px;
}

.area-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.area-card:hover .area-card-link svg {
    transform: translateX(4px);
}

.hoh-section.dark .area-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.hoh-section.dark .area-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: transparent;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

.hoh-section.dark .area-card-title {
    color: var(--white);
}

.hoh-section.dark .area-card:hover .area-card-title {
    color: var(--orange);
}

.hoh-section.dark .area-card-excerpt {
    color: rgba(255, 255, 255, 0.6);
}

.hoh-section.dark .area-card-placeholder {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.hoh-section.light .area-card {
    background: var(--white);
}

@media (max-width: 991px) {
    .areas-grid.areas-cols-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .areas-grid.areas-cols-2,
    .areas-grid.areas-cols-3,
    .areas-grid.areas-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .area-card-image {
        height: 160px;
    }

    .area-card-body {
        padding: 20px 18px 18px;
    }
}

@media (max-width: 480px) {
    .areas-grid.areas-cols-2,
    .areas-grid.areas-cols-3,
    .areas-grid.areas-cols-4 {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   PAGE FORM — Branded default background
   Aurora: navy with blue/teal glow shifts
   ============================================ */
.page-form-branded {
    background: linear-gradient(
        160deg,
        #080f1e 0%,
        #0d1a30 15%,
        #122945 35%,
        #153a5e 55%,
        #0f2d4a 75%,
        #0a1628 100%
    ) !important;
    position: relative;
    overflow: hidden;
}

.page-form-bg-effects {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.page-form-bg-effects::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 208, 0.08) 0%, rgba(56, 189, 208, 0.03) 40%, transparent 70%);
    top: -200px;
    right: -150px;
    animation: auroraShift 12s ease-in-out infinite alternate;
}

.page-form-bg-effects::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(58, 132, 222, 0.1) 0%, rgba(58, 132, 222, 0.04) 40%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation: auroraShift 15s ease-in-out infinite alternate-reverse;
}

.page-form-branded::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 60% 30%, rgba(56, 189, 208, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 25% 70%, rgba(58, 132, 222, 0.06) 0%, transparent 45%),
        radial-gradient(ellipse at 80% 80%, rgba(27, 68, 118, 0.08) 0%, transparent 40%);
    z-index: 0;
    pointer-events: none;
}

.page-form-branded::after {
    display: none;
}

@keyframes auroraShift {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1) translate(20px, -10px);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.05) translate(-10px, 15px);
        opacity: 0.7;
    }
}

.page-form-bg-logo {
    position: absolute;
    left: 0%;
    top: 50%;
    transform: translateY(-50%);
    width: 800px;
    height: 500px;
    opacity: 0.01;
    z-index: 0;
}

.page-form-bg-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(2);
}

.page-form-branded .container {
    position: relative;
    z-index: 2;
}

.page-form-branded .section-border {
    z-index: 3;
}

.page-form-branded .page-form-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.page-form-branded .page-form-card::before {
    background: linear-gradient(90deg, #d61036, rgba(255, 255, 255, 0.3));
}

.page-form-branded .hoh-form-gdpr,
.page-form-branded .hoh-form-gdpr a,
.hoh-section.dark .hoh-form-gdpr,
.hoh-section.dark .hoh-form-gdpr a {
    color: rgba(255, 255, 255, 0.6);
}

.page-form-branded .hoh-form-gdpr a:hover,
.hoh-section.dark .hoh-form-gdpr a:hover {
    color: var(--white);
}

@media (max-width: 768px) {
    .page-form-bg-logo {
        width: 280px;
        height: 280px;
        left: 50%;
        top: 40px;
        transform: translateX(-50%);
        opacity: 0.04;
    }
}


/* ============================================
   PAGE FORM — Contact details + CF7 form
   ============================================ */
.page-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.page-form-details .section-label {
    margin-bottom: 8px;
}

.page-form-details .section-heading {
    margin-bottom: 20px;
}

.page-form-text {
    margin-bottom: 32px;
}

.page-form-contact {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 32px;
}

.page-form-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-decoration: none;
    padding: 20px;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

a.page-form-contact-item:hover {
    background: rgba(214, 16, 54, 0.03);
    transform: translateX(4px);
}

.page-form-contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(214, 16, 54, 0.08), rgba(214, 16, 54, 0.04));
    border-radius: 50%;
    transition: all 0.3s ease;
}

a.page-form-contact-item:hover .page-form-contact-icon {
    background: linear-gradient(135deg, rgba(214, 16, 54, 0.15), rgba(214, 16, 54, 0.08));
    transform: scale(1.05);
}

.page-form-contact-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--orange);
}

.page-form-contact-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.page-form-contact-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--grey-dark);
}

.page-form-contact-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.5;
}

a.page-form-contact-item:hover .page-form-contact-value {
    color: var(--orange);
}

.page-form-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--grey-light);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    box-shadow: 0 8px 32px rgba(27, 68, 118, 0.08);
}

.page-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 32px;
    right: 32px;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--navy));
    border-radius: 0 0 3px 3px;
}

.page-form-wrapper .wpcf7-form label,
.page-form-wrapper .wpcf7-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.hoh-section.dark .page-form-contact-item {
    border-radius: var(--radius-md);
}

.hoh-section.dark a.page-form-contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.hoh-section.dark .page-form-contact-icon {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
}

.hoh-section.dark a.page-form-contact-item:hover .page-form-contact-icon {
    background: linear-gradient(135deg, rgba(214, 16, 54, 0.2), rgba(214, 16, 54, 0.1));
}

.hoh-section.dark .page-form-contact-label {
    color: rgba(255, 255, 255, 0.5);
}

.hoh-section.dark .page-form-contact-value {
    color: var(--white);
}

.hoh-section.dark a.page-form-contact-item:hover .page-form-contact-value {
    color: var(--orange);
}

.hoh-section.dark .page-form-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hoh-section.dark .page-form-card::before {
    background: linear-gradient(90deg, var(--orange), rgba(255, 255, 255, 0.3));
}

.hoh-section.light .page-form-card {
    background: var(--white);
}

@media (max-width: 991px) {
    .page-form-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .page-form-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .page-form-card {
        padding: 28px 24px;
    }

    .page-form-contact-item {
        padding: 16px;
    }
}


/* ============================================
   BLOG SINGLE — Post content + sidebar
   ============================================ */
.blog-single-section {
    padding: var(--section-pad) 0;
}

.blog-single-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}

.blog-single-content {
    max-width: none;
}

.blog-single-content h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    margin: 32px 0 12px;
}

.blog-single-content h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin: 28px 0 10px;
}

.blog-single-content p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-body);
    margin-bottom: 16px;
}

.blog-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 24px 0;
}

.blog-single-content ul,
.blog-single-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.blog-single-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.blog-single-content a {
    color: var(--orange);
    text-decoration: underline;
}

.blog-single-content blockquote {
    border-left: 4px solid var(--orange);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--off-white);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--navy);
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--white);
    border: 1px solid var(--grey-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 4px 16px rgba(27, 68, 118, 0.05);
}

.sidebar-card-image {
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 16px;
}

.sidebar-card-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.sidebar-card-image:hover img {
    transform: scale(1.05);
}

.sidebar-card-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.sidebar-card-title a {
    color: var(--navy);
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-card-title a:hover {
    color: var(--orange);
}

.sidebar-card-text {
    font-size: 13px;
    color: var(--grey-dark);
    line-height: 1.5;
    margin-bottom: 12px;
}

.sidebar-card .btn-sm {
    padding: 10px 20px;
    font-size: 13px;
}

.sidebar-contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.sidebar-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-contact-item:hover {
    color: var(--orange);
}

.sidebar-contact-item svg {
    width: 16px;
    height: 16px;
    stroke: var(--orange);
    flex-shrink: 0;
}

.sidebar-recent-posts {
    display: flex;
    flex-direction: column;
}

.sidebar-recent-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 0;
    border-bottom: 1px solid var(--grey-light);
    text-decoration: none;
    transition: all 0.25s ease;
}

.sidebar-recent-item:last-child {
    border-bottom: none;
}

.sidebar-recent-item:hover {
    padding-left: 8px;
}

.sidebar-recent-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--orange);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.sidebar-recent-item:hover .sidebar-recent-title {
    color: var(--navy);
}

.sidebar-recent-date {
    font-size: 12px;
    color: var(--grey-dark);
}

.single-post .page-header {
    min-height: 320px;
    padding-bottom: 60px;
}

@media (max-width: 768px) {
    .single-post .page-header {
        min-height: auto;
        padding-bottom: 48px;
    }
}

.blog-recent-section {
    padding: var(--section-pad) 0;
    background: var(--white);
}

.blog-contact-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-form-card {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.blog-form-card::before {
    background: linear-gradient(90deg, var(--orange), rgba(255, 255, 255, 0.3)) !important;
}

@media (max-width: 991px) {
    .blog-single-grid {
        grid-template-columns: 1fr 280px;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .blog-single-grid {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }
}


/* ============================================
   BLOG ARCHIVE — Full post grid + pagination
   ============================================ */
.blog-archive-section {
    padding: var(--section-pad) 0;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 48px;
}

.blog-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--grey-light);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.25s ease;
}

.blog-pagination .page-numbers:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.blog-pagination .page-numbers.current {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}

.blog-pagination .page-numbers svg {
    width: 18px;
    height: 18px;
}

.blog-pagination .page-numbers.dots {
    border: none;
    background: none;
    pointer-events: none;
}

.blog-no-posts {
    text-align: center;
    font-size: 16px;
    color: var(--grey-dark);
    padding: 60px 0;
}


/* ============================================
   RECENT POSTS — Blog post card grid
   ============================================ */
.posts-intro {
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    color: var(--grey-dark);
    margin-bottom: 36px;
}

.hoh-section.dark .posts-intro {
    color: rgba(255, 255, 255, 0.6);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

.post-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--grey-light);
    overflow: hidden;
    text-decoration: none;
    transition: all 0.35s ease;
}

.post-card:hover {
    border-color: transparent;
    box-shadow: 0 16px 48px rgba(27, 68, 118, 0.1);
    transform: translateY(-6px);
}

.post-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
}

.post-card-placeholder svg {
    width: 48px;
    height: 48px;
    stroke: var(--grey-light);
}

.post-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 28px 24px;
}

.post-card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}


.post-card-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


.post-card-cat {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--orange);
    background: rgba(214, 16, 54, 0.06);
    padding: 4px 10px;
    border-radius: 4px;
}

.post-card-date {
    font-size: 13px;
    color: var(--grey-dark);
}

.post-card-title {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.post-card:hover .post-card-title {
    color: var(--orange);
}

.post-card-excerpt {
    font-size: 14px;
    color: var(--grey-dark);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.post-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--orange);
    margin-top: auto;
    transition: gap 0.3s ease;
}

.post-card:hover .post-card-link {
    gap: 12px;
}

.post-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.post-card:hover .post-card-link svg {
    transform: translateX(4px);
}

.hoh-section.dark .post-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.hoh-section.dark .post-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: transparent;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.hoh-section.dark .post-card-cat {
    background: rgba(214, 16, 54, 0.15);
}

.hoh-section.dark .post-card-date {
    color: rgba(255, 255, 255, 0.5);
}

.hoh-section.dark .post-card-title {
    color: var(--white);
}

.hoh-section.dark .post-card:hover .post-card-title {
    color: var(--orange);
}

.hoh-section.dark .post-card-excerpt {
    color: rgba(255, 255, 255, 0.6);
}

.hoh-section.dark .post-card-placeholder {
    background: rgba(255, 255, 255, 0.05);
}

.hoh-section.light .post-card {
    background: var(--white);
}

@media (max-width: 991px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .post-card-image {
        height: 200px;
    }
}


/* ============================================
   BLOG ARCHIVE — Post grid + pagination
   ============================================ */
.blog-archive-section {
    padding: var(--section-pad) 0;
    background: var(--off-white);
}

.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 48px;
}

.blog-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--grey-light);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.25s ease;
}

.blog-pagination .page-numbers:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.blog-pagination .page-numbers.current {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

.blog-pagination .page-numbers svg {
    width: 18px;
    height: 18px;
}

.blog-pagination .page-numbers.dots {
    border: none;
    background: none;
    min-width: auto;
    padding: 0 4px;
}

.blog-no-posts {
    text-align: center;
    padding: 60px 0;
}

.blog-no-posts p {
    font-size: 16px;
    color: var(--grey-dark);
}


/* ============================================
   PARTNER LOGOS — Infinite marquee ticker
   ============================================ */
.partner-logos-section {
    background-color: var(--off-white);
    padding: 40px 0;
    overflow: hidden;
}

.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll var(--marquee-speed, 30s) linear infinite;
}



.marquee-group {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 0 24px;
    flex-shrink: 0;
}

.marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 12px 16px;
}

.marquee-item img {
    height: 48px;
    width: 120px;
    object-fit: contain;
    transition: all 0.35s ease;
}

.marquee-item img:hover {
    filter: grayscale(100%);
    opacity: 0.5;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .marquee-group {
        gap: 32px;
    }

    .marquee-item img {
        height: 36px;
        max-width: 120px;
    }
}


/* ============================================
   POSTCODE BLOCK — Areas + postcode checker
   ============================================ */
.postcode-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.postcode-content .section-label {
    margin-bottom: 8px;
}

.postcode-content .section-heading {
    margin-bottom: 20px;
}

.postcode-text {
    margin-bottom: 32px;
}

.postcode-tags {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
}

.postcode-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--white);
    border: 1px solid var(--grey-light);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    transition: all 0.25s ease;
}

.postcode-tag:hover {
    background: var(--navy-dark);
    color: var(--white);
    border-color: var(--navy-dark);
    transform: translateX(4px);
}

.postcode-tag svg {
    width: 16px;
    height: 16px;
    stroke: var(--orange);
    flex-shrink: 0;
}

.postcode-tag:hover svg {
    stroke: var(--white);
}

.postcode-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 8px 32px rgba(27, 68, 118, 0.08);
    border: 1px solid var(--grey-light);
}

.postcode-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.postcode-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(214, 16, 54, 0.08);
    border-radius: 50%;
}

.postcode-card-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--orange);
}

.postcode-card-header h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

.postcode-card-text {
    font-size: 14px;
    color: var(--grey-dark);
    line-height: 1.6;
    margin-bottom: 24px;
}

.postcode-finder {
    margin-bottom: 24px;
}

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

.postcode-form input {
    flex: 1;
    padding: 14px 16px;
    border: 1.5px solid var(--grey-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--navy);
    outline: none;
    text-transform: uppercase;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.postcode-form input::placeholder {
    text-transform: none;
    color: var(--grey-dark);
    opacity: 0.5;
}

.postcode-form input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(214, 16, 54, 0.08);
}

.postcode-form .btn {
    padding: 14px 28px;
    font-size: 14px;
    white-space: nowrap;
}

.postcode-result {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 500;
    min-height: 24px;
    line-height: 1.5;
}

.postcode-result.success {
    color: #16a34a;
}

.postcode-result.fail {
    color: var(--orange);
}

.postcode-card-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--grey-light);
}

.postcode-card-cta p {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    margin: 0;
}

.postcode-card-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.postcode-card-cta .btn svg {
    width: 16px;
    height: 16px;
}

.hoh-section.dark .postcode-tag {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.hoh-section.dark .postcode-tag:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.hoh-section.dark .postcode-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hoh-section.dark .postcode-card-icon {
    background: rgba(255, 255, 255, 0.1);
}

.hoh-section.dark .postcode-card-header h4 {
    color: var(--white);
}

.hoh-section.dark .postcode-card-text {
    color: rgba(255, 255, 255, 0.6);
}

.hoh-section.dark .postcode-form input {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.hoh-section.dark .postcode-form input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(214, 16, 54, 0.15);
}

.hoh-section.dark .postcode-card-cta {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.hoh-section.dark .postcode-card-cta p {
    color: var(--white);
}

.hoh-section.light .postcode-tag {
    background: var(--white);
}

.hoh-section.light .postcode-tag:hover {
    background: var(--navy-dark);
    color: var(--white);
    border-color: var(--navy-dark);
}

.hoh-section.light .postcode-tag:hover svg {
    stroke: var(--white);
}

.hoh-section.light .postcode-card {
    background: var(--white);
}

@media (max-width: 991px) {
    .postcode-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .postcode-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .postcode-tags {
        grid-template-columns: 1fr;
    }

    .postcode-card {
        padding: 28px 24px;
    }

    .postcode-form {
        flex-direction: column;
    }

    .postcode-card-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ============================================
   CF7 FORM STYLING — HOH themed forms
   ============================================ */
.hoh-form .hoh-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.hoh-form .hoh-input {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--navy);
    background: var(--off-white);
    border: 1px solid var(--grey-light);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    outline: none;
}

.hoh-form .hoh-input:focus {
    border-color: var(--orange);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(214, 16, 54, 0.08);
}

.hoh-form .hoh-input::placeholder {
    color: var(--grey-dark);
    opacity: 0.6;
}

.hoh-form .hoh-textarea {
    height: 110px;
    max-height: 110px;
    min-height: 110px;
    resize: vertical;
    margin-bottom: 16px;
}

.hoh-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.hoh-form .hoh-form-gdpr {
    font-size: 12px;
    color: var(--grey-dark);
    line-height: 1.5;
    margin-bottom: 20px;
}

.hoh-form .hoh-form-gdpr a {
    color: var(--orange);
    text-decoration: underline;
}

.hoh-form .wpcf7-submit {
    cursor: pointer;
}

.hoh-form .wpcf7-spinner {
    margin-left: 12px;
}

.hoh-form .wpcf7-response-output {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
}

@media (max-width: 768px) {
    .hoh-form .hoh-form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}


/* ============================================
   SERVICES GRID — Dynamic column count
   ============================================ */
.services-grid-v2.svc-cols-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
	padding-bottom: 40px;
}

.services-grid-v2.svc-cols-3 .service-card-v2 {
    aspect-ratio: 2 / 3;
}

.services-grid-v2.svc-cols-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid-v2.svc-cols-1 {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .services-grid-v2.svc-cols-3 {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .services-grid-v2.svc-cols-3 .service-card-v2 {
        aspect-ratio: 3 / 4;
    }
}


/* ============================================
   CTA Banner image fix
   ============================================ */
.cta-banner {
    overflow: hidden;
}

.cta-banner .cta-image {
    position: absolute;
    right: 5%;
    bottom: 0;
    width: auto;
    height: 100%;
    max-height: 420px;
    object-fit: contain;
    object-position: bottom right;
    z-index: 1;
    pointer-events: none;
}


/* ============================
   Block: Text Block — List Right Layout
   Added: 25/02/2026
   ============================ */

/* --- Text Left + List Right (two-column grid) --- */
.text-block-list-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.text-block-list-right-content .section-label {
    margin-bottom: 8px;
}

.text-block-list-right-content .section-heading {
    margin-bottom: 20px;
}

.text-block-list-right-content .rich-text {
    margin-bottom: 24px;
}

.text-block-list-right .text-block-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 0;
}

.text-block-list-right .text-block-list.list-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hoh-section.dark .text-block-list-right-content .section-heading {
    color: var(--white);
}

.hoh-section.dark .text-block-list-right-content .rich-text {
    color: rgba(255, 255, 255, 0.7);
}

.text-block-list-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.text-block-list-right-list {
    padding-top: 40px;
}

@media (max-width: 768px) {
    .text-block-list-right-list {
        padding-top: 0;
    }
}

@media (max-width: 991px) {
    .text-block-list-right {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .text-block-list-right {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}


/* ============================
   Page Header — Sign-Up Form Card
   Added: 25/02/2026
   ============================ */

/* Two-column grid when form is active */
.page-header-with-form .page-header-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

/* Reduce overlay opacity on right side so form card pops */
.page-header-with-form::before {
    background: linear-gradient(
        140deg,
        rgba(18, 41, 69, 0.96) 0%,
        rgba(27, 68, 118, 0.92) 40%,
        rgba(18, 41, 69, 0.80) 100%
    );
}

/* Form card */
.page-header-form-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.page-header-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--navy));
    border-radius: 0 0 3px 3px;
}

/* Badge / tag */
.ph-form-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--navy);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

/* Form heading */
.ph-form-heading {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 8px;
}

/* Form description */
.ph-form-text {
    font-size: 14px;
    color: var(--grey-dark);
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Features list (what's included) */
.ph-form-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--grey-light);
}

.ph-form-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ph-form-feature svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: var(--orange);
}

.ph-form-feature span {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.3;
}

/* Form wrapper — uses existing hoh-form styles from CF7 */
.ph-form-wrapper .hoh-form .hoh-input {
    background: var(--off-white);
}

/* Make submit button full width in this context */
.ph-form-wrapper .hoh-form .btn {
    width: 100%;
    justify-content: center;
}

/* Responsive */
@media (max-width: 991px) {
    .page-header-with-form .page-header-grid {
        gap: 32px;
    }

    .page-header-with-form {
        padding-top: 120px;
    }

    .page-header-form-card {
        padding: 28px 24px;
    }
}

@media (max-width: 768px) {
    .page-header-with-form .page-header-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .page-header-with-form {
        padding-bottom: 48px;
    }

    .page-header-form-card {
        padding: 28px 24px;
    }

    .ph-form-heading {
        font-size: 20px;
    }
}

/* Category colour variants */
.post-card-cat.cat-red {
    color: var(--orange);
    background: rgba(214, 16, 54, 0.06);
}

.post-card-cat.cat-blue {
    color: var(--navy);
    background: rgba(27, 68, 118, 0.08);
}

.post-card-cat.cat-light-blue {
    color: #3a84de;
    background: rgba(58, 132, 222, 0.08);
}

/* Dark section variants */
.hoh-section.dark .post-card-cat.cat-red {
    background: rgba(214, 16, 54, 0.15);
}

.hoh-section.dark .post-card-cat.cat-blue {
    color: #a8c4e0;
    background: rgba(27, 68, 118, 0.2);
}

.hoh-section.dark .post-card-cat.cat-light-blue {
    color: #7bb8f5;
    background: rgba(58, 132, 222, 0.15);
}

/* ============================================
   BLOG FILTER BAR
   ============================================ */
.blog-filter-bar {
    margin-bottom: 40px;
}

.blog-filter-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #0e1f3d 0%, #122945 50%, #1b4476 100%);
    border-radius: 12px;
    padding: 12px 22px;
    box-shadow: 0 8px 32px rgba(14, 31, 61, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.06);
    max-width: 720px;
    margin: 0 auto;
}

.blog-filter-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    flex-shrink: 0;
    padding-right: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-filter-label svg {
    width: 16px;
    height: 16px;
    stroke: var(--orange);
    opacity: 0.8;
}

.blog-filter-select-wrap {
    position: relative;
    flex: 1;
    max-width: 280px;
}

.blog-filter-select {
    width: 100%;
    padding: 11px 42px 11px 18px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    background: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}


.blog-filter-select:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.blog-filter-select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(214, 16, 54, 0.15);
}

.blog-filter-chevron {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    stroke: var(--navy);
    opacity: 0.4;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.blog-filter-select-wrap:hover .blog-filter-chevron {
    opacity: 0.7;
}

.blog-filter-search-wrap {
    position: relative;
    flex: 1;
    max-width: 260px;
    margin-left: auto;
}

.blog-filter-search-wrap > svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    stroke: var(--navy);
    opacity: 0.3;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.blog-filter-search-wrap:focus-within > svg {
    opacity: 0.6;
}

.blog-filter-search {
    width: 100%;
    padding: 11px 18px 11px 44px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    background: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.blog-filter-search::placeholder {
    color: var(--grey-dark);
    opacity: 0.45;
    font-weight: 400;
}

.blog-filter-search:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.blog-filter-search:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(214, 16, 54, 0.15);
}

/* No results message */
.blog-no-results {
    display: none;
    text-align: center;
    padding: 48px 0;
    font-size: 16px;
    color: var(--grey-dark);
    grid-column: 1 / -1;
}

.blog-no-results.visible {
    display: block;
}

.post-card.hidden {
    display: none;
}

@media (max-width: 768px) {
    .blog-filter-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 20px;
    }

    .blog-filter-label {
        justify-content: center;
        border-right: none;
        padding-right: 0;
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .blog-filter-select-wrap,
    .blog-filter-search-wrap {
        max-width: 100%;
        margin-left: 0;
    }
}

.button-holder.button-centre {
    justify-content: center;
    margin-top: 20px;
}