/* =========================================
   VANNIGLO
   Global Styles
========================================= */


/* =========================================
   VARIABLES
========================================= */


:root {
    --primary: #062650;
    --secondary: #e21d2f;
    --accent: #ffd200;

    --white: #ffffff;
    --black: #111111;

    --text: #172033;
    --muted: #687487;
    --light: #f4f6f8;
    --border: #e5e8ed;

    --container: 1240px;
    --radius: 4px;
    --transition: .25s ease;

    /* Typography */
    --font-primary: Arial, Helvetica, sans-serif;
    --font-hero: "Manrope", sans-serif;

    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    --color-text: #263247;
    --color-heading: #14213D;
    --color-muted: #657084;
    --color-primary: #173CA6;
    --color-accent: #ED1C24;
    --color-highlight: #FFD400;
}


.w100{
    float:left;
    width:100%;
}

/* =========================================
   RESET
========================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
 margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}


/* =========================================
   CONTAINER
========================================= */

.container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-inline: auto;
}


/* =========================================
   TYPOGRAPHY
========================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    line-height: 1.2;
}

p {
    margin-top: 0;
}


/* =========================================
   BUTTONS
========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 22px;

    border-radius: var(--radius);

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition: var(--transition);
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary);
}

.btn-secondary {
    background: var(--primary);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--secondary);
}




/* =========================================
   HERO
========================================= */

.hero {
 width: 100%;
min-height: 0;
}


/* =========================================
   SECTIONS
========================================= */

.section {
    padding: 90px 0;
}
#main-content > .section {
    padding: 0;
}

.section-light {
    background: var(--light);
}

.section-dark {
    background: var(--primary);
    color: var(--white);
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    background: var(--primary);
    color: var(--white);
}

.footer-inner {
    padding: 60px 0;
}


/* =========================================
   ACCESSIBILITY
========================================= */

.skip-link {
    position: absolute;
    left: -9999px;
    top: 10px;
}

.skip-link:focus {
    left: 10px;
    z-index: 9999;

    padding: 10px 15px;

    background: var(--primary);
    color: var(--white);
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .primary-menu {
        display: none;
    }

}

@media (max-width: 600px) {

    .container {
        width: min(
            calc(100% - 30px),
            var(--container)
        );
    }

    .section {
        padding: 60px 0;
    }

}

/*ENDELEA*/ /*ENDELEA*/ /*ENDELEA*/ /*ENDELEA*/
/* =========================================
   HEADER
========================================= */

.site-header {
    background: rgb(255, 255, 255);
    border-bottom: 1px solid rgba(12, 39, 82, 0.08);

    position: sticky;
    top: 0;
    z-index: 100;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 78px;

    display: flex;
    align-items: center;

    gap: 26px;
}


/* =========================================
   LOGO
========================================= */

.header-brand {
    display: flex;
    align-items: center;

    flex: 0 0 auto;
    min-width: 128px;
}

.header-brand > div {
    display: flex;
    align-items: center;
}

.header-brand img,
.site-branding__logo {
    display: block;

    width: 112px;
    height: 58px;

    max-width: 100%;
    object-fit: contain;
}


/* =========================================
   PRIMARY MENU
========================================= */

.primary-menu {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 1;

    margin-left: 0;
}

.primary-menu > div {
    width: 100%;
}

.primary-menu ul {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 24px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.primary-menu li {
    margin: 0;
    padding: 0;
}

.primary-menu a {
    position: relative;

    display: inline-flex;
    align-items: center;

    padding: 30px 0;

    color: #334155;

    font-size: 14px;
    font-weight: 600;

    line-height: 1;
    text-decoration: none;
    white-space: nowrap;

    transition: var(--transition);
}

.primary-menu a:hover,
.primary-menu a.is-active {
    color: #123d91;
}


/* ACTIVE MENU RED LINE */

.primary-menu a.is-active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 3px;

    background: #ef2028;

    border-radius: 3px 3px 0 0;
}


/* =========================================
   HEADER ACTIONS
========================================= */

.header-action {
    flex: 0 0 auto;
}


/*
 * Drupal places the Search and Distributor
 * blocks inside an additional wrapper.
 *
 * This makes them sit SIDE BY SIDE.
 */

.header-action > div {
    display: flex;
    align-items: center;

    gap: 12px;
}


/* =========================================
   SEARCH ICON
========================================= */

.searchib {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    color: #123d91;

    cursor: pointer;
}

.searchib > div {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
}

.searchib i {
    display: block;

    font-size: 14px;
    line-height: 1;

    transition: var(--transition);
}

.searchib:hover {
    color: #ef2028;
}


/* =========================================
   DISTRIBUTOR BUTTON
========================================= */

.distribb {
    flex: 0 0 auto;
}

.distribb > div {
    display: flex;
    align-items: center;
}

.distribb a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 38px;

    padding: 0 17px;

    background: #ef2028;
    color: #ffffff;

    border-radius: 6px;

    font-size: 12px;
    font-weight: 700;

    line-height: 1;
    text-decoration: none;
    white-space: nowrap;

    box-shadow: 0 8px 18px rgba(239, 32, 40, 0.16);

    transition: var(--transition);
}

.distribb a:hover {
    background: #d91820;
    color: #ffffff;
}

.distribb i {
    font-size: 11px;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 1000px) {

    .header-inner {
        gap: 20px;
    }

    .primary-menu ul {
        gap: 16px;
    }

    .primary-menu a {
        font-size: 11px;
    }

    .distribb a {
        padding: 0 14px;
    }

}


/* =========================================
   TABLET / MOBILE
========================================= */

@media (max-width: 800px) {

    .header-inner {
        min-height: 70px;
    }

    .primary-menu {
        display: none;
    }

    .header-action {
        margin-left: auto;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 500px) {

    .header-inner {
        min-height: 68px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .header-brand {
        min-width: 0;
    }

    .header-brand img,
    .site-branding__logo {
        width: 100px;
        height: 48px;
    }

    .header-action > div {
        gap: 6px;
    }

    .searchib {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .distribb a {
        min-height: 36px;
        padding: 0 10px;

        font-size: 11px;
    }

    .distribb i {
        display: none;
    }

}



/* ==================================================
   MAXI PRO — SLICK HERO
   Main wrapper: .slideb
   ================================================== */


.slideb {
    font-family: var(--font-primary);
}

.slideb .views-field-field-small-label .field-content {
    font-size: 13px;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.16em;
}

.slideb .views-field-field-headline .field-content {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-extrabold);
    letter-spacing: -0.035em;
}

.slideb .views-field-field-description .field-content {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
}

.slideb .slide__link a {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
}


.slideb {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.slideb .views-element-container,
.slideb .view--blazy,
.slideb .slick,
.slideb .slick__slider {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.slideb .slick__slide {
    position: relative;
    height: clamp(600px, 46vw, 820px);
    min-height: 600px;
    overflow: hidden;
}

.slideb .slide__content {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Full-bleed background image */

.slideb .slide__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slideb .slide__media .media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding-bottom: 0 !important;
}

.slideb .slide__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Cinematic gradient */

.slideb .slide__content::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(3,20,39,.82) 0%,
        rgba(3,20,39,.65) 24%,
        rgba(3,20,39,.35) 43%,
        rgba(3,20,39,.08) 68%,
        transparent 82%
    );
}

/* Caption */

.slideb .slide__caption {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: clamp(28px, 8.5vw, 150px);
    width: min(600px, 43%);
    max-width: 600px;
    margin: 0;
    padding: 0;
    background: transparent !important;
    border: 0;
    box-shadow: none;
    transform: translateY(-50%);
    text-align: left;
}

.slideb .slide__description {
    margin: 0;
    padding: 0;
    background: transparent;
}

/* Small label */

.slideb .views-field-field-small-label {
    margin-bottom: 18px;
}

.slideb .views-field-field-small-label::before {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    margin-bottom: 16px;
    background: #FFD400;
}

.slideb .views-field-field-small-label .field-content {
    color: #FFD400;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

/* Headline */

.slideb .views-field-field-headline {
    margin-bottom: 22px;
}

.slideb .views-field-field-headline .field-content {
    color: #fff;
    font-size: clamp(38px, 4.1vw, 70px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -.04em;
    text-wrap: balance;
    text-shadow: 0 3px 22px rgba(0,0,0,.22);
}

/* Description */

.slideb .views-field-field-description {
    margin-bottom: 30px;
}

.slideb .views-field-field-description .field-content {
    max-width: 490px;
    color: rgba(255,255,255,.94);
    font-size: clamp(16px, 1.25vw, 20px);
    line-height: 1.6;
}

/* CTA */

.slideb .slide__link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 52px;
    padding: 15px 25px;
    background: #E31E24;
    border: 1px solid #E31E24;
    border-radius: 3px;
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: .25s ease;
}

.slideb .slide__link a::after {
    content: "\2192";
    font-size: 20px;
}

.slideb .slide__link a:hover {
    background: #C9181D;
    border-color: #C9181D;
    transform: translateY(-2px);
}

/* Arrows */

.slideb .slick__arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 28px;
    transform: translateY(-50%);
    pointer-events: none;
}

.slideb .slick__arrow button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 50%;
    background: rgba(0,0,0,.2);
    color: #fff;
    font-size: 0;
    cursor: pointer;
    pointer-events: auto;
    transition: .25s ease;
}

.slideb .slick__arrow .slick-prev::before {
    content: "\2190";
}

.slideb .slick__arrow .slick-next::before {
    content: "\2192";
}

.slideb .slick__arrow button::before {
    color: #fff;
    font-size: 23px;
    opacity: 1;
}

.slideb .slick__arrow button:hover {
    background: #E31E24;
    border-color: #E31E24;
}

/* Tablet */

@media (max-width: 991px) {
    .slideb .slick__slide {
        height: 680px;
        min-height: 680px;
    }

    .slideb .slide__caption {
        left: 6%;
        width: 66%;
    }

    .slideb .views-field-field-headline .field-content {
        font-size: clamp(38px, 5.8vw, 58px);
    }

    .slideb .slick__arrow {
        padding: 0 16px;
    }
}

/* Mobile */

@media (max-width: 767px) {
    .slideb .slick__slide {
        height: 650px;
        min-height: 650px;
    }

    .slideb .slide__media img {
        object-position: 64% center;
    }

    .slideb .slide__content::after {
        background: linear-gradient(
            90deg,
            rgba(3,20,39,.82),
            rgba(3,20,39,.60) 45%,
            rgba(3,20,39,.20) 100%
        );
    }

    .slideb .slide__caption {
        top: 49%;
        left: 24px;
        right: 24px;
        width: auto;
    }

    .slideb .views-field-field-small-label {
        margin-bottom: 14px;
    }

    .slideb .views-field-field-small-label .field-content {
        font-size: 11px;
    }

    .slideb .views-field-field-headline {
        margin-bottom: 17px;
    }

    .slideb .views-field-field-headline .field-content {
        font-size: clamp(34px, 8.7vw, 48px);
        line-height: 1.04;
    }

    .slideb .views-field-field-description {
        margin-bottom: 23px;
    }

    .slideb .views-field-field-description .field-content {
        font-size: 15px;
        line-height: 1.55;
    }

    .slideb .slide__link a {
        min-height: 46px;
        padding: 13px 18px;
        font-size: 11px;
    }

    .slideb .slick__arrow {
        top: auto;
        bottom: 18px;
        justify-content: flex-end;
        gap: 10px;
        padding: 0 22px;
        transform: none;
    }

    .slideb .slick__arrow button {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 480px) {
    .slideb .slick__slide {
        height: 600px;
        min-height: 600px;
    }

    .slideb .slide__caption {
        left: 20px;
        right: 20px;
    }

    .slideb .views-field-field-headline .field-content {
        font-size: 33px;
    }

    .slideb .views-field-field-description .field-content {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .slideb *,
    .slideb *::before,
    .slideb *::after {
        transition: none !important;
    }
}



/* MAXI PRO — HERO FONT OVERRIDES */

.slideb,
.slideb .slide__caption,
.slideb .slide__description,
.slideb .views-field-field-small-label .field-content,
.slideb .views-field-field-headline .field-content,
.slideb .views-field-field-description .field-content,
.slideb .slide__link a {
    font-family: Arial, Helvetica, sans-serif !important;
}

.slideb .views-field-field-small-label .field-content {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .17em;
}

.slideb .views-field-field-headline .field-content {
    font-size: clamp(40px, 4.2vw, 72px);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -.045em;
}

.slideb .views-field-field-description .field-content {
    font-size: clamp(16px, 1.25vw, 20px);
    font-weight: 400;
    line-height: 1.65;
}

.slideb .slide__link a {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .045em;
}



/* =========================================================
   MAXI PRO — OUR BRANDS
   Alternating full-width brand showcase
   ========================================================= */

.brandsb {
  --brand-navy: #173d82;
  --brand-red: #f5222d;
  --brand-gold: #f7bd00;
  --brand-text: #405675;
  --brand-white: #ffffff;

  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--brand-white);
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

.brandsb *,
.brandsb *::before,
.brandsb *::after {
  box-sizing: border-box;
}

/* ---------------------------------------------------------
   SECTION HEADING
   --------------------------------------------------------- */

.brandsb > h2 {
  margin: 0;
  padding: 22px 20px 0;
  color: var(--brand-navy);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(30px, 3.1vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.2px;
  text-align: center;
  text-transform: uppercase;
}

.brandsb > h2::before {
  content: "";
  display: block;
  width: 55px;
  height: 4px;
  margin: 0 auto 11px;
  background: var(--brand-gold);
}

/* ---------------------------------------------------------
   VIEW WRAPPERS AND INTRODUCTION
   --------------------------------------------------------- */

.brandsb .views-element-container,
.brandsb .views-element-container > div {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.brandsb .views-element-container header {
  max-width: 760px;
  margin: 8px auto 25px;
  padding: 0 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  text-align: center;
}

/* ---------------------------------------------------------
   BRAND ROW
   --------------------------------------------------------- */

.brandsb .views-row {
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
}

/* Avoid unintended gaps from theme defaults */

.brandsb .brand-showcase-row {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  align-items: stretch;
  width: 100%;
  min-height: 300px;
  margin: 0;
  padding: 0;
}

/* ---------------------------------------------------------
   BRAND CONTENT PANEL
   --------------------------------------------------------- */

.brandsb .brand-showcase-content {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: 30px clamp(28px, 6.6vw, 102px);
  background: #fff;
}

/* ---------------------------------------------------------
   BRAND BANNER IMAGE
   --------------------------------------------------------- */

.brandsb .brand-showcase-image {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  min-width: 0;
  min-height: 300px;
  overflow: hidden;
  border-radius: 18px 0 0 18px;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.brandsb .brand-showcase-image .field-content {
  width: 100%;
  height: 100%;
}

.brandsb .brand-showcase-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

@media (hover: hover) {
  .brandsb .brand-showcase-image:hover img {
    transform: scale(1.025);
  }
}

/* ---------------------------------------------------------
   BRAND LOGO AND ACCENT
   --------------------------------------------------------- */

.brandsb .brand-showcase-logo {
  position: relative;
  width: 100%;
  margin: 0 0 8px;
  padding-top: 15px;
}

.brandsb .brand-showcase-logo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 47px;
  height: 4px;
  background: var(--brand-red);
}

.brandsb .brand-showcase-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 76px;
  margin: 0;
  object-fit: contain;
  object-position: left center;
}

/* ASTRA logo is taller than the other brand logos */

.brandsb .views-row:nth-child(3)
.brand-showcase-logo img {
  max-height: 88px;
}

/* ---------------------------------------------------------
   BRAND TAGLINE
   --------------------------------------------------------- */

.brandsb .brand-showcase-tagline {
  margin: 0 0 3px;
  color: var(--brand-navy);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}

/* ---------------------------------------------------------
   BRAND CATEGORY
   --------------------------------------------------------- */

.brandsb .brand-showcase-category {
  margin: 0 0 20px;
  color: var(--brand-text);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 2.1px;
  text-transform: uppercase;
}

/* ---------------------------------------------------------
   BRAND DESCRIPTION
   --------------------------------------------------------- */

.brandsb .brand-showcase-description {
  width: 100%;
  max-width: 430px;
  margin: 0 0 16px;
  color: var(--brand-text);
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 500;
  line-height: 1.6;
}

/* ---------------------------------------------------------
   CTA LINK
   --------------------------------------------------------- */

.brandsb .brand-showcase-cta {
  margin: 0;
  padding: 0;
}

.brandsb .brand-showcase-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 0 7px;
  border: 0;
  border-bottom: 1px solid var(--brand-red);
  border-radius: 0;
  background: transparent;
  color: var(--brand-red);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
}

/*.brandsb .brand-showcase-cta a::after {
  content: "⟶";
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}*/

.brandsb .brand-showcase-cta a:hover {
  color: #b71923;
  border-color: #b71923;
}

/* Visible keyboard focus */

.brandsb .brand-showcase-cta a:focus-visible {
  outline: 2px solid var(--brand-navy);
  outline-offset: 5px;
}

/* =========================================================
   ALTERNATING ROW — LAURA
   Image LEFT; text RIGHT
   ========================================================= */

.brandsb .views-row:nth-child(even) .brand-showcase-row {
  grid-template-columns: minmax(0, 60%) minmax(0, 40%);
}

.brandsb .views-row:nth-child(even) .brand-showcase-image {
  grid-column: 1;
  grid-row: 1;
  border-radius: 0 18px 18px 0;
  clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%);
}

.brandsb .views-row:nth-child(even) .brand-showcase-content {
  grid-column: 2;
  grid-row: 1;
  padding-right: clamp(28px, 6.6vw, 102px);
  padding-left: clamp(25px, 3vw, 46px);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {
  .brandsb .brand-showcase-row {
    grid-template-columns: minmax(0, 44%) minmax(0, 56%);
    min-height: 265px;
  }

  .brandsb .views-row:nth-child(even) .brand-showcase-row {
    grid-template-columns: minmax(0, 56%) minmax(0, 44%);
  }

  .brandsb .brand-showcase-content,
  .brandsb .views-row:nth-child(even) .brand-showcase-content {
    padding: 26px 28px;
  }

  .brandsb .brand-showcase-image,
  .brandsb .brand-showcase-image img {
    min-height: 265px;
  }

  .brandsb .brand-showcase-logo img {
    max-height: 64px;
  }

  .brandsb .views-row:nth-child(3)
  .brand-showcase-logo img {
    max-height: 76px;
  }

  .brandsb .brand-showcase-category {
    font-size: 11px;
    letter-spacing: 1.3px;
  }

  .brandsb .brand-showcase-description {
    font-size: 15px;
    line-height: 1.55;
  }

  .brandsb .brand-showcase-cta a {
    gap: 16px;
    font-size: 13px;
  }
}

/* =========================================================
   MOBILE
   Image above text for easier reading
   ========================================================= */

@media (max-width: 650px) {
  .brandsb > h2 {
    padding-top: 26px;
    font-size: 30px;
  }

  .brandsb .views-element-container header {
    margin: 8px auto 22px;
    font-size: 14px;
    line-height: 1.65;
  }

  .brandsb .views-row {
    margin-bottom: 26px;
  }

  .brandsb .brand-showcase-row,
  .brandsb .views-row:nth-child(even) .brand-showcase-row {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .brandsb .brand-showcase-image,
  .brandsb .views-row:nth-child(even) .brand-showcase-image {
    order: 0;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 8;
    border-radius: 0;
    clip-path: none;
  }

  .brandsb .brand-showcase-image img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
  }

  .brandsb .brand-showcase-content,
  .brandsb .views-row:nth-child(even) .brand-showcase-content {
    order: 1;
    width: 100%;
    padding: 24px 24px 28px;
  }

  .brandsb .brand-showcase-logo {
    margin-bottom: 7px;
  }

  .brandsb .brand-showcase-logo img {
    max-height: 66px;
  }

  .brandsb .views-row:nth-child(3)
  .brand-showcase-logo img {
    max-height: 76px;
  }

  .brandsb .brand-showcase-tagline {
    font-size: 14px;
  }

  .brandsb .brand-showcase-category {
    margin-bottom: 8px;
    font-size: 11px;
    letter-spacing: 1.5px;
  }

  .brandsb .brand-showcase-description {
    max-width: none;
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.65;
  }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {
  .brandsb > h2 {
    font-size: 27px;
  }

  .brandsb .brand-showcase-content,
  .brandsb .views-row:nth-child(even) .brand-showcase-content {
    padding: 22px 18px 25px;
  }

  .brandsb .brand-showcase-logo img {
    max-height: 58px;
  }

  .brandsb .brand-showcase-category {
    letter-spacing: 1px;
  }
}

/* Accessibility: reduced motion */

@media (prefers-reduced-motion: reduce) {
  .brandsb *,
  .brandsb *::before,
  .brandsb *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* ==========================================
   MAXI PRO — WHY US SECTION
   Drupal block: .whyusb
   Navy: #173D82 | Red: #F5222D
   Gold: #F7BD00 | White: #FFFFFF
   ========================================== */

/* Block wrapper reset */
.whyusb {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
}

.whyusb > div,
.whyusb .maxipro-why-us {
  width: 100%;
  box-sizing: border-box;
}

.whyusb *,
.whyusb *::before,
.whyusb *::after {
  box-sizing: border-box;
}

/* Main section */
.whyusb .maxipro-why-us {
  --mp-navy: #173D82;
  --mp-red: #F5222D;
  --mp-gold: #F7BD00;
  --mp-text: #505968;

  width: 100%;
  padding: 76px 24px 80px;
  margin: 0;
  background: #fff;
  color: var(--mp-navy);
  font-family: Arial, Helvetica, sans-serif;
}

/* Centered content container */
.whyusb .maxipro-why-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

/* Intro: text left, product image right */
.whyusb .maxipro-why-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  margin: 0 0 52px;
}

.whyusb .maxipro-why-copy {
  min-width: 0;
}

/* Section label */
.whyusb .maxipro-section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  color: var(--mp-red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  line-height: 1.4;
  text-transform: uppercase;
}

.whyusb .maxipro-label-line {
  display: block;
  flex: 0 0 42px;
  width: 42px;
  height: 3px;
  background: var(--mp-gold);
}

/* Main heading */
.whyusb #maxipro-why-title {
  margin: 0 0 22px;
  padding: 0;
  color: var(--mp-navy);
  font-family: inherit;
  font-size: clamp(32px, 3.2vw, 46px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -1px;
  text-transform: none;
}

/* Intro paragraph */
.whyusb .maxipro-why-description {
  max-width: 530px;
  margin: 0;
  color: var(--mp-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}

/* Product image */
.whyusb .maxipro-why-image {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: #f8f7f5;
  border-radius: 10px;
}

.whyusb .maxipro-why-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border: 0;
  border-radius: inherit;
}

/* Four feature cards */
.whyusb .maxipro-why-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
  width: 100%;
}

.whyusb .maxipro-feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  margin: 0;
  padding: 26px 23px 28px;
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: 11px;
  box-shadow: 0 4px 18px rgba(23, 61, 130, 0.045);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.whyusb .maxipro-feature-card:hover {
  transform: translateY(-4px);
  border-color: #d5dfef;
  box-shadow: 0 12px 28px rgba(23, 61, 130, 0.09);
}

/* Icon circle */
.whyusb .maxipro-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  margin: 0 0 18px;
  padding: 0;
  color: var(--mp-red);
  background: #eef4fc;
  border-radius: 50%;
}

.whyusb .maxipro-feature-icon svg {
  display: block;
  width: 39px;
  height: 39px;
  max-width: 100%;
  overflow: visible;
}

/* Card headings */
.whyusb .maxipro-feature-card h3 {
  margin: 0;
  padding: 0;
  color: var(--mp-navy);
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: none;
}

/* Gold accent */
.whyusb .maxipro-feature-line {
  display: block;
  flex: 0 0 4px;
  width: 42px;
  height: 4px;
  margin: 13px 0 15px;
  padding: 0;
  background: var(--mp-gold);
  border-radius: 3px;
}

/* Card descriptions */
.whyusb .maxipro-feature-card p {
  margin: 0;
  padding: 0;
  color: var(--mp-text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
}

/* ==========================================
   TABLET
   ========================================== */
@media (max-width: 1024px) {
  .whyusb .maxipro-why-us {
    padding: 58px 22px 64px;
  }

  .whyusb .maxipro-why-intro {
    gap: 30px;
    margin-bottom: 38px;
  }

  .whyusb #maxipro-why-title {
    font-size: 35px;
  }

  .whyusb .maxipro-why-description {
    font-size: 15px;
  }

  .whyusb .maxipro-why-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

/* ==========================================
   MOBILE
   ========================================== */
@media (max-width: 640px) {
  .whyusb .maxipro-why-us {
    padding: 42px 18px 48px;
  }

  .whyusb .maxipro-why-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-bottom: 30px;
  }

  .whyusb .maxipro-section-label {
    gap: 10px;
    margin-bottom: 14px;
    font-size: 12px;
  }

  .whyusb .maxipro-label-line {
    flex-basis: 34px;
    width: 34px;
  }

  .whyusb #maxipro-why-title {
    margin-bottom: 16px;
    font-size: clamp(29px, 8vw, 37px);
    line-height: 1.15;
    letter-spacing: -0.6px;
  }

  .whyusb .maxipro-why-description {
    font-size: 15px;
    line-height: 1.75;
  }

  .whyusb .maxipro-why-image {
    border-radius: 8px;
  }

  .whyusb .maxipro-why-features {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .whyusb .maxipro-feature-card {
    padding: 22px;
  }

  .whyusb .maxipro-feature-icon {
    flex-basis: 60px;
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }

  .whyusb .maxipro-feature-icon svg {
    width: 33px;
    height: 33px;
  }

  .whyusb .maxipro-feature-card h3 {
    font-size: 18px;
  }

  .whyusb .maxipro-feature-line {
    margin: 11px 0 13px;
  }
}

/* Reduce motion for users who request it */
@media (prefers-reduced-motion: reduce) {
  .whyusb .maxipro-feature-card {
    transition: none;
  }

  .whyusb .maxipro-feature-card:hover {
    transform: none;
  }
}
/* =========================================================
   MAXI PRO FOOTER — BALANCED LAYOUT OVERRIDES
   Append to the END of themes/custom/vanniglo/css/styles.css
   ========================================================= */

/* Full-width footer background */
.site-footer {
  float: none;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #173D82 !important;
  color: #ffffff;
  box-sizing: border-box;
}

.site-footer .container.footer-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: #173D82 !important;
  box-sizing: border-box;
}

.site-footer #block-vanniglo-wholefooter,
.site-footer #block-vanniglo-wholefooter > div,
.site-footer #block-vanniglo-wholefooter > div > div,
.site-footer #block-vanniglo-wholefooter .maxipro-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background-color: #173D82 !important;
  box-sizing: border-box;
}

.site-footer #block-vanniglo-wholefooter .maxipro-footer {
  --mp-navy: #173D82;
  --mp-red: #F5222D;
  --mp-gold: #F7BD00;
  --mp-white: #ffffff;
  --mp-muted: rgba(255, 255, 255, 0.80);
  --mp-line: rgba(255, 255, 255, 0.14);

  color: var(--mp-white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.65;
  text-align: left;
}

/* Main footer area */
.site-footer #block-vanniglo-wholefooter .maxipro-footer-main {
  width: 100%;
  padding: 52px 28px 46px;
}

/* Four balanced columns — replaces the old five-column grid */
.site-footer #block-vanniglo-wholefooter .maxipro-footer-container {
  display: grid;
  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(0, 1.15fr)
    minmax(0, 0.85fr)
    minmax(0, 1.25fr);
  align-items: start;
  gap: 42px;

  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.site-footer #block-vanniglo-wholefooter .maxipro-footer-column {
  min-width: 0;
}

/* Consistent column headings */
.site-footer #block-vanniglo-wholefooter .maxipro-footer-heading {
  position: relative;
  margin: 0 0 25px;
  padding: 0 0 12px;

  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: none;
}

.site-footer #block-vanniglo-wholefooter .maxipro-footer-heading::after {
  position: absolute;
  bottom: 0;
  left: 0;

  width: 32px;
  height: 2px;

  content: "";
  background: #F5222D;
  border-radius: 2px;
}

/* Distribution partner column */
.site-footer #block-vanniglo-wholefooter .maxipro-footer-eyebrow {
  display: block;
  margin: 0 0 16px;

  color: #F7BD00;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.5;
}

.site-footer #block-vanniglo-wholefooter .maxipro-distributor-logo {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  max-width: 205px;
  min-height: 105px;
  margin: 0 0 14px;
  padding: 10px;

  overflow: hidden;
  background: #ffffff;
  border-radius: 5px;
}

.site-footer #block-vanniglo-wholefooter .maxipro-distributor-logo img {
  display: block;
  width: 100%;
  max-width: 185px;
  max-height: 82px;
  margin: 0;
  object-fit: contain;
  object-position: center;
}

.site-footer #block-vanniglo-wholefooter .maxipro-footer-partner-caption {
  max-width: 245px;
  margin: 0 0 17px;
  color: var(--mp-muted);
  font-size: 12px;
  line-height: 1.7;
}

/* Social icons */
.site-footer #block-vanniglo-wholefooter .maxipro-footer-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.site-footer #block-vanniglo-wholefooter .maxipro-footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 35px;
  height: 35px;
  padding: 0;

  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 50%;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.site-footer #block-vanniglo-wholefooter .maxipro-footer-socials a:hover {
  color: #ffffff;
  background: #F5222D;
  border-color: #F5222D;
  transform: translateY(-2px);
}

/* Quick links and brand lists */
.site-footer #block-vanniglo-wholefooter .maxipro-footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;

  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer #block-vanniglo-wholefooter .maxipro-footer-links li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer #block-vanniglo-wholefooter .maxipro-footer-links > li > a {
  display: inline-flex;
  align-items: center;

  padding: 0;
  color: var(--mp-muted);
  font-size: 13px;
  line-height: 1.6;
  text-decoration: none;

  transition: color 0.2s ease, padding-left 0.2s ease;
}

.site-footer #block-vanniglo-wholefooter .maxipro-footer-links > li > a:hover {
  padding-left: 4px;
  color: #F7BD00;
}

/* Brand names without letter tiles */
.site-footer #block-vanniglo-wholefooter .maxipro-footer-brands {
  gap: 13px;
}

.site-footer #block-vanniglo-wholefooter .maxipro-footer-brands > li > a {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.site-footer #block-vanniglo-wholefooter .maxipro-footer-brands strong,
.site-footer #block-vanniglo-wholefooter .maxipro-footer-brands small {
  display: block;
}

.site-footer #block-vanniglo-wholefooter .maxipro-footer-brands strong {
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.5;
}

.site-footer #block-vanniglo-wholefooter .maxipro-footer-brands small {
  margin-top: 2px;
  color: var(--mp-muted);
  font-size: 11px;
  line-height: 1.5;
}

/* Hide any legacy brand letter tiles if old markup remains */
.site-footer #block-vanniglo-wholefooter .maxipro-brand-mark {
  display: none !important;
}

/* Contact details */
.site-footer #block-vanniglo-wholefooter .maxipro-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;

  margin: 0 0 12px;
  color: var(--mp-muted);
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.site-footer #block-vanniglo-wholefooter .maxipro-contact-item:hover {
  color: #F7BD00;
}

.site-footer #block-vanniglo-wholefooter .maxipro-contact-icon {
  display: inline-flex;
  flex: 0 0 29px;
  align-items: center;
  justify-content: center;

  width: 29px;
  height: 29px;

  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 5px;
}

/* Contact call-to-action */
.site-footer #block-vanniglo-wholefooter .maxipro-footer-contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  margin-top: 7px;
  padding: 9px 13px;

  color: #ffffff;
  background: #F5222D;
  border: 1px solid #F5222D;
  border-radius: 3px;

  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;

  transition: gap 0.2s ease, background 0.2s ease;
}

.site-footer #block-vanniglo-wholefooter .maxipro-footer-contact-cta:hover {
  gap: 13px;
  color: #ffffff;
  background: #d91520;
  border-color: #d91520;
}

/* Copyright row */
.site-footer #block-vanniglo-wholefooter .maxipro-footer-bottom {
  width: 100%;
  padding: 18px 28px;

  background: rgba(0, 0, 0, 0.16) !important;
  border-top: 1px solid var(--mp-line);
}

.site-footer #block-vanniglo-wholefooter .maxipro-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;

  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.site-footer #block-vanniglo-wholefooter .maxipro-footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  line-height: 1.7;
}

.site-footer #block-vanniglo-wholefooter .maxipro-footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;

  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}

.site-footer #block-vanniglo-wholefooter .maxipro-footer-legal a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-footer #block-vanniglo-wholefooter .maxipro-footer-legal a:hover {
  color: #F7BD00;
}

/* Tablet */
@media (max-width: 1000px) {
  .site-footer #block-vanniglo-wholefooter .maxipro-footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 40px;
    max-width: 760px;
  }

  .site-footer #block-vanniglo-wholefooter .maxipro-footer-main {
    padding: 44px 28px 38px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .site-footer #block-vanniglo-wholefooter .maxipro-footer-main {
    padding: 38px 22px 32px;
  }

  .site-footer #block-vanniglo-wholefooter .maxipro-footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 22px;
  }

  .site-footer #block-vanniglo-wholefooter .maxipro-footer-partner {
    grid-column: 1 / -1;
  }

  .site-footer #block-vanniglo-wholefooter .maxipro-footer-partner-caption {
    max-width: 300px;
  }

  .site-footer #block-vanniglo-wholefooter .maxipro-footer-bottom {
    padding: 17px 22px;
  }

  .site-footer #block-vanniglo-wholefooter .maxipro-footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .site-footer #block-vanniglo-wholefooter .maxipro-footer-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .site-footer #block-vanniglo-wholefooter .maxipro-footer-partner {
    grid-column: auto;
  }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .site-footer #block-vanniglo-wholefooter .maxipro-footer *,
  .site-footer #block-vanniglo-wholefooter .maxipro-footer *::before,
  .site-footer #block-vanniglo-wholefooter .maxipro-footer *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* =========================================================
   MAXI PRO — CLIENTS & PARTNERS SECTION
   ========================================================= */

#block-vanniglo-views-block-clients-block-1.clientsb {
  width: 100%;
  padding: 38px 0 42px;
  background: #ffffff;
  box-sizing: border-box;
}

/* Views wrapper */
#block-vanniglo-views-block-clients-block-1.clientsb
.views-element-container {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* Layout: introduction followed by the logo grid */
#block-vanniglo-views-block-clients-block-1.clientsb
.clients-view {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

/* Introduction spans the full row */
#block-vanniglo-views-block-clients-block-1.clientsb
.clients-view > header {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0 0 8px;
  text-align: center;
}

/* Eyebrow */
#block-vanniglo-views-block-clients-block-1.clientsb
.clients-view > header p:first-child {
  margin: 0 0 8px;
  color: #173D82;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  line-height: 1.5;
}

/* Main heading */
#block-vanniglo-views-block-clients-block-1.clientsb
.clients-view > header h2 {
  margin: 0 0 12px;
  color: #173D82;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
}

/* Supporting paragraph */
#block-vanniglo-views-block-clients-block-1.clientsb
.clients-view > header p:last-child {
  max-width: 720px;
  margin: 0 auto;
  color: #586579;
  font-size: 14px;
  line-height: 1.8;
}

/* Individual logo cards */
#block-vanniglo-views-block-clients-block-1.clientsb
.clients-view > .views-row {
  display: flex !important;
  align-items: center;
  justify-content: center;
  float: none !important;
  width: auto !important;
  min-width: 0;
  min-height: 100px;
  margin: 0 !important;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #e8edf5;
  border-radius: 5px;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#block-vanniglo-views-block-clients-block-1.clientsb
.clients-view > .views-row:hover {
  border-color: rgba(23, 61, 130, 0.25);
  box-shadow: 0 5px 16px rgba(23, 61, 130, 0.06);
}

/* Center logo images */
#block-vanniglo-views-block-clients-block-1.clientsb
.views-field-field-client-logo,
#block-vanniglo-views-block-clients-block-1.clientsb
.views-field-field-client-logo .field-content,
#block-vanniglo-views-block-clients-block-1.clientsb
.views-field-field-client-logo a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
}

#block-vanniglo-views-block-clients-block-1.clientsb
.views-field-field-client-logo img {
  display: block;
  width: 100%;
  max-width: 135px;
  height: 62px;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
}

/* Tablet */
@media (max-width: 1000px) {
  #block-vanniglo-views-block-clients-block-1.clientsb
  .clients-view {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  #block-vanniglo-views-block-clients-block-1.clientsb
  .clients-view > header {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 600px) {
  #block-vanniglo-views-block-clients-block-1.clientsb {
    padding: 30px 0 34px;
  }

  #block-vanniglo-views-block-clients-block-1.clientsb
  .views-element-container {
    padding: 0 18px;
  }

  #block-vanniglo-views-block-clients-block-1.clientsb
  .clients-view {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  #block-vanniglo-views-block-clients-block-1.clientsb
  .clients-view > header h2 {
    font-size: 24px;
  }

  #block-vanniglo-views-block-clients-block-1.clientsb
  .clients-view > header p:last-child {
    font-size: 13px;
  }

  #block-vanniglo-views-block-clients-block-1.clientsb
  .clients-view > .views-row {
    min-height: 88px;
    padding: 10px;
  }

  #block-vanniglo-views-block-clients-block-1.clientsb
  .views-field-field-client-logo img {
    height: 55px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  #block-vanniglo-views-block-clients-block-1.clientsb
  .clients-view > .views-row {
    transition: none;
  }
}


/* =========================================================
   MAXI PRO — ABOUT US BODY
   Brand colours: Navy #173D82, Red #F5222D, Gold #F7BD00
   ========================================================= */

.mp-about-page {
  --mp-navy: #173D82;
  --mp-red: #F5222D;
  --mp-gold: #F7BD00;
  --mp-text: #344054;
  --mp-muted: #657184;
  --mp-light: #F4F6FA;
  --mp-border: #E5EAF2;

  color: var(--mp-text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
}

.mp-about-page *,
.mp-about-page *::before,
.mp-about-page *::after {
  box-sizing: border-box;
}

.mp-about-container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.mp-about-page h2,
.mp-about-page h3,
.mp-about-page p {
  margin-top: 0;
}

.mp-about-page h2,
.mp-about-page h3 {
  color: var(--mp-navy);
  line-height: 1.3;
}

.mp-about-page h2 {
  margin-bottom: 16px;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.6px;
}

.mp-about-page h3 {
  margin-bottom: 10px;
  font-size: 19px;
  font-weight: 700;
}

.mp-about-page p {
  margin-bottom: 14px;
  font-size: 15px;
}

.mp-about-page p:last-child {
  margin-bottom: 0;
}

.mp-about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--mp-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.5;
  text-transform: uppercase;
}

.mp-about-eyebrow::before {
  width: 25px;
  height: 3px;
  background: var(--mp-red);
  content: "";
}


/* WHO WE ARE */

.mp-about-intro {
  padding: 64px 0;
  background: #FFFFFF;
}

.mp-about-intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 56px;
}

.mp-about-intro-copy {
  min-width: 0;
}

.mp-about-intro-copy h2 {
  max-width: 470px;
}

.mp-about-intro-copy p {
  color: var(--mp-muted);
}

.mp-about-intro-image {
  min-width: 0;
  overflow: hidden;
  border-radius: 7px;
  background: var(--mp-light);
}

.mp-about-intro-image img {
  display: block;
  width: 100%;
  height: 390px;
  object-fit: cover;
  object-position: center;
}


/* MISSION, VISION AND VALUES */

.mp-about-purpose {
  padding: 38px 0;
  background: var(--mp-light);
}

.mp-about-purpose-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.mp-about-purpose-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
  padding: 26px 22px;
  background: #FFFFFF;
  border: 1px solid #EDF0F5;
  border-radius: 7px;
}

.mp-about-icon {
  display: flex;
  flex: 0 0 62px;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #FFF0EF;
}

.mp-about-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--mp-red);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mp-about-purpose-content {
  min-width: 0;
}

.mp-about-purpose-content h3 {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 12px;
  font-size: 18px;
}

.mp-about-purpose-content h3::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 27px;
  height: 2px;
  background: var(--mp-red);
  content: "";
}

.mp-about-purpose-content p {
  color: var(--mp-muted);
  font-size: 14px;
}

.mp-about-values-list {
  padding-left: 18px;
  margin: 0;
  color: var(--mp-muted);
  font-size: 14px;
}

.mp-about-values-list li {
  padding: 2px 0;
}


/* OUR BRANDS */

.mp-about-brands {
  padding: 64px 0;
  background: #FFFFFF;
}

.mp-about-section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.mp-about-section-heading > p {
  color: var(--mp-muted);
}

.mp-about-brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.mp-about-brand-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--mp-border);
  border-radius: 7px;
  background: #FFFFFF;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.mp-about-brand-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(23, 61, 130, 0.08);
}

.mp-about-brand-accent {
  height: 6px;
  background: var(--mp-navy);
}

.mp-about-brand-laura .mp-about-brand-accent {
  background: var(--mp-red);
}

.mp-about-brand-astra .mp-about-brand-accent {
  background: var(--mp-gold);
}

.mp-about-brand-content {
  padding: 26px;
}

.mp-about-brand-number {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--mp-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.mp-about-brand-content h3 {
  margin-bottom: 4px;
  font-size: 24px;
  letter-spacing: 0.3px;
}

.mp-about-brand-category {
  margin-bottom: 12px !important;
  color: var(--mp-navy) !important;
  font-size: 12px !important;
  font-weight: 700;
}

.mp-about-brand-content > p:last-child {
  color: var(--mp-muted);
  font-size: 14px;
}


/* OUR APPROACH */

.mp-about-approach {
  padding: 58px 0;
  background: var(--mp-light);
}

.mp-about-approach-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: 56px;
}

.mp-about-approach-heading > p {
  color: var(--mp-muted);
}

.mp-about-approach-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.mp-about-approach-item {
  min-width: 0;
  padding: 5px 20px;
  border-left: 1px solid #D6DDEA;
}

.mp-about-approach-item:first-child {
  border-left: 0;
}

.mp-about-approach-number {
  display: block;
  margin-bottom: 12px;
  color: var(--mp-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.mp-about-approach-item h3 {
  font-size: 16px;
}

.mp-about-approach-item p {
  color: var(--mp-muted);
  font-size: 13px;
}


/* CLOSING CTA */

.mp-about-cta {
  padding: 42px 0;
  background: var(--mp-navy);
}

.mp-about-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.mp-about-cta-copy {
  max-width: 700px;
}

.mp-about-cta-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--mp-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.mp-about-cta h2 {
  margin-bottom: 10px;
  color: #FFFFFF;
  font-size: clamp(24px, 3vw, 32px);
}

.mp-about-cta p {
  color: #E2E9F5;
  font-size: 14px;
}

.mp-about-cta-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 12px;
}

.mp-about-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease;
}

.mp-about-button-primary {
  color: #FFFFFF !important;
  background: var(--mp-red);
}

.mp-about-button-primary:hover {
  color: #FFFFFF !important;
  background: #D91420;
}

.mp-about-button-outline {
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.7);
  background: transparent;
}

.mp-about-button-outline:hover {
  color: var(--mp-navy) !important;
  background: #FFFFFF;
}


/* TABLET */

@media (max-width: 1000px) {
  .mp-about-purpose-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mp-about-purpose-card:last-child {
    grid-column: 1 / -1;
  }

  .mp-about-intro-grid,
  .mp-about-approach-grid {
    gap: 32px;
  }

  .mp-about-cta-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}


/* MOBILE */

@media (max-width: 650px) {
  .mp-about-container {
    width: calc(100% - 36px);
  }

  .mp-about-intro,
  .mp-about-brands {
    padding: 40px 0;
  }

  .mp-about-intro-grid,
  .mp-about-approach-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mp-about-intro-image img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .mp-about-purpose {
    padding: 26px 0;
  }

  .mp-about-purpose-grid,
  .mp-about-brand-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .mp-about-purpose-card:last-child {
    grid-column: auto;
  }

  .mp-about-purpose-card {
    padding: 22px 18px;
  }

  .mp-about-approach {
    padding: 40px 0;
  }

  .mp-about-approach-items {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mp-about-approach-item,
  .mp-about-approach-item:first-child {
    padding: 0 0 0 16px;
    border-left: 2px solid #D6DDEA;
  }

  .mp-about-cta {
    padding: 34px 0;
  }

  .mp-about-cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .mp-about-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mp-about-brand-card,
  .mp-about-button {
    transition: none;
  }

  .mp-about-brand-card:hover {
    transform: none;
  }
}


/* =====================================================
   MAXI PRO — INNER PAGE HERO
   ===================================================== */

.mp-page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 440px;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  background: #173D82;
}

/* Background image */
.mp-page-hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.mp-page-hero-image > div,
.mp-page-hero-image .field,
.mp-page-hero-image .field__item {
  width: 100%;
  height: 100%;
}

.mp-page-hero-image img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center right;
}

/* Dark navy overlay, strongest on the left */
.mp-page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(12, 34, 75, 0.97) 0%,
    rgba(23, 61, 130, 0.88) 36%,
    rgba(23, 61, 130, 0.58) 62%,
    rgba(23, 61, 130, 0.12) 100%
  );
}

/* Text container */
.mp-page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
  padding: 76px 0;
  color: #FFFFFF;
}

/* Small gold label */
.mp-page-hero-label {
  margin-bottom: 18px;
  color: #F7BD00;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.mp-page-hero-label > div {
  color: inherit;
}

/* Main heading */
.mp-page-hero-title {
  max-width: 760px;
  margin: 0 0 20px;
  color: #FFFFFF;
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1px;
}

.mp-page-hero-title > div {
  color: inherit;
}

/* Description */
.mp-page-hero-description {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.92);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
}

.mp-page-hero-description > div,
.mp-page-hero-description p {
  color: inherit;
  margin: 0;
}

/* Tablet */
@media (max-width: 900px) {
  .mp-page-hero {
    min-height: 390px;
  }

  .mp-page-hero-inner {
    width: calc(100% - 48px);
    padding: 64px 0;
  }

  .mp-page-hero-title {
    max-width: 620px;
    font-size: clamp(34px, 5.5vw, 48px);
  }

  .mp-page-hero-description {
    max-width: 560px;
    font-size: 16px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .mp-page-hero {
    min-height: 360px;
  }

  .mp-page-hero-image img {
    object-position: 65% center;
  }

  .mp-page-hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(12, 34, 75, 0.96) 0%,
      rgba(23, 61, 130, 0.86) 65%,
      rgba(23, 61, 130, 0.65) 100%
    );
  }

  .mp-page-hero-inner {
    width: calc(100% - 36px);
    padding: 54px 0;
  }

  .mp-page-hero-label {
    margin-bottom: 14px;
    font-size: 11px;
  }

  .mp-page-hero-title {
    margin-bottom: 16px;
    font-size: clamp(32px, 8vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.5px;
  }

  .mp-page-hero-description {
    font-size: 15px;
    line-height: 1.7;
  }
}

/* ======================================================
   INNER PAGE HERO — REMOVE OUTER SECTION SPACING
   ====================================================== */

/* Remove padding from the global section wrapping a Custom Page hero */
#main-content > .section:has(.mp-custom-page > .mp-page-hero) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  width: 100%;
}

/* Remove the width restriction imposed by the outer container */
#main-content > .section:has(.mp-custom-page > .mp-page-hero) > .container {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

/* Remove any additional spacing around Drupal's content block */
#main-content > .section:has(.mp-custom-page > .mp-page-hero)
#block-vanniglo-content {
  margin: 0;
  padding: 0;
}

/* Make the hero span the full viewport width */
.mp-custom-page > .mp-page-hero {
  width: 100%;
  max-width: none;
  min-height: 440px;
  margin: 0;
  padding: 0;
  border-radius: 0;
}

/* Ensure the background image covers the full hero */
.mp-custom-page > .mp-page-hero .mp-page-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.mp-custom-page > .mp-page-hero .mp-page-hero-image img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Keep hero text aligned within the site content width */
.mp-custom-page > .mp-page-hero .mp-page-hero-inner {
  width: min(1200px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

/* Mobile adjustment */
@media (max-width: 600px) {
  .mp-custom-page > .mp-page-hero {
    min-height: 360px;
  }

  .mp-custom-page > .mp-page-hero .mp-page-hero-inner {
    width: calc(100% - 36px);
  }
}

/* =========================================
   MAXI PRO - INDIVIDUAL BRAND PAGES
   ========================================= */

.mp-brand-page {
  color: #173D82;
  background: #fff;
}

/* Full-width brand hero */
.mp-brand-hero {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  background: #173D82;
  isolation: isolate;
}

.mp-brand-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.mp-brand-hero-media > div,
.mp-brand-hero-media .field,
.mp-brand-hero-media .field__item {
  width: 100%;
  height: 100%;
}

.mp-brand-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
}

.mp-brand-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(15, 42, 91, 0.96) 0%,
    rgba(23, 61, 130, 0.88) 38%,
    rgba(23, 61, 130, 0.42) 68%,
    rgba(23, 61, 130, 0.08) 100%
  );
}

.mp-brand-hero-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 76px 32px;
}

.mp-brand-hero-copy {
  width: 100%;
  max-width: 570px;
  color: #fff;
}

.mp-brand-category {
  margin-bottom: 18px;
  color: #F7BD00;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.mp-brand-category a {
  color: inherit;
  text-decoration: none;
}

.mp-brand-logo {
  margin-bottom: 24px;
}

.mp-brand-logo img {
  display: block;
  width: auto;
  max-width: 180px;
  max-height: 82px;
  object-fit: contain;
  object-position: left center;
}

.mp-brand-title {
  margin: 0 0 20px;
  color: #fff;
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.mp-brand-description {
  max-width: 500px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 18px;
  line-height: 1.75;
}

.mp-brand-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  border-radius: 4px;
  background: #F7BD00;
  color: #173D82;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.mp-brand-cta a:hover,
.mp-brand-cta a:focus {
  background: #fff;
  color: #173D82;
  transform: translateY(-2px);
}

/* Brand story */
.mp-brand-content {
  padding: 68px 24px 80px;
}

.mp-brand-tagline {
  max-width: 900px;
  margin: 0 auto 22px;
  color: #173D82;
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.mp-brand-story {
  max-width: 900px;
  margin: 0 auto;
}

.mp-brand-story-inner {
  color: #4b5563;
  font-size: 16px;
  line-height: 1.9;
}

.mp-brand-story-inner p {
  margin: 0 0 18px;
}

.mp-brand-story-inner p:first-child {
  color: #173D82;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.4;
}

.mp-brand-story-inner strong {
  color: #173D82;
}

/* Remove unwanted empty wrapper spacing */
.mp-brand-page .mp-brand-page-extra:empty {
  display: none;
}

/* Tablet and mobile */
@media (max-width: 768px) {
  .mp-brand-hero {
    min-height: 500px;
    align-items: flex-end;
  }

  .mp-brand-hero-media img {
    min-height: 500px;
    object-position: 62% center;
  }

  .mp-brand-hero-overlay {
    background: linear-gradient(
      0deg,
      rgba(15, 42, 91, 0.97) 0%,
      rgba(23, 61, 130, 0.83) 48%,
      rgba(23, 61, 130, 0.15) 100%
    );
  }

  .mp-brand-hero-inner {
    padding: 55px 24px 42px;
  }

  .mp-brand-hero-copy {
    max-width: 100%;
  }

  .mp-brand-logo img {
    max-width: 145px;
    max-height: 65px;
  }

  .mp-brand-title {
    font-size: clamp(34px, 9vw, 46px);
    letter-spacing: -0.8px;
  }

  .mp-brand-description {
    font-size: 16px;
    line-height: 1.65;
  }

  .mp-brand-content {
    padding: 48px 22px 56px;
  }

  .mp-brand-story-inner {
    font-size: 15px;
  }
}
/* =========================================
   MAXI PRO - FULL-WIDTH INNER-PAGE HEROES
   Applies to the first section below the header.
   Excludes the homepage.
   ========================================= */

@supports selector(:has(*)) {
  body:not(.path-frontpage)
  #main-content > .section:first-child:has(
    .mp-page-hero,
    .mp-brand-hero
  ) {
    width: 100%;
    max-width: none;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body:not(.path-frontpage)
  #main-content > .section:first-child:has(
    .mp-page-hero,
    .mp-brand-hero
  ) > .container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }

  body:not(.path-frontpage)
  #main-content > .section:first-child:has(
    .mp-page-hero,
    .mp-brand-hero
  ) #block-vanniglo-content {
    margin: 0;
    padding: 0;
  }
}

/* Full-width hero elements */
.mp-page-hero,
.mp-brand-hero {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
}

/* Keep brand-story content readable */
.mp-brand-story-inner {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}


#main-content > section.section:has(.mp-brand-hero) {
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#main-content > section.section:has(.mp-brand-hero) > .container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

#main-content > section.section:has(.mp-brand-hero) #block-vanniglo-content {
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
}

#main-content > section.section:has(.mp-brand-hero) .mp-brand-page {
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 0;
}

#main-content > section.section:has(.mp-brand-hero) .mp-brand-hero {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 520px;
  margin: 0 !important;
  padding: 0;
  border-radius: 0;
  overflow: hidden;
}

#main-content > section.section:has(.mp-brand-hero) .mp-brand-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#main-content > section.section:has(.mp-brand-hero) .mp-brand-hero-media > div,
#main-content > section.section:has(.mp-brand-hero) .mp-brand-hero-media img {
  width: 100%;
  height: 100%;
}

#main-content > section.section:has(.mp-brand-hero) .mp-brand-hero-media img {
  display: block;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
}

#main-content > section.section:has(.mp-brand-hero) .mp-brand-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

#main-content > section.section:has(.mp-brand-hero) .mp-brand-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 76px 32px;
}

@media (max-width: 768px) {
  #main-content > section.section:has(.mp-brand-hero) .mp-brand-hero {
    min-height: 500px;
  }

  #main-content > section.section:has(.mp-brand-hero) .mp-brand-hero-media img {
    min-height: 500px;
    object-position: 62% center;
  }

  #main-content > section.section:has(.mp-brand-hero) .mp-brand-hero-inner {
    padding: 55px 24px 42px;
  }
}

/* =====================================================
   MAXI PRO - PRODUCT LISTING PAGES
   Shared by All Products and brand-specific product pages.
   Keeps homepage .maxipro-products styling independent.
   ===================================================== */

.productspgb {
  --mp-navy: #173d82;
  --mp-red: #f5222d;
  --mp-gold: #f7bd00;
  --mp-text: #405675;
  --mp-border: #e5eaf1;
  width: 100%;
  color: var(--mp-navy);
  font-family: Arial, Helvetica, sans-serif;
}

/* Product listing wrapper */
.productspgb .views-element-container,
.productspgb .products-view {
  width: 100%;
  min-width: 0;
}

/* Grid layout replaces the homepage's horizontal carousel */
.productspgb .products-view {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 22px;
  align-items: stretch;
  overflow: visible;
  padding: 60px 0 24px;
  scroll-snap-type: none;
}

/* Product cards */
.productspgb .product-card.views-row {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid var(--mp-border);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 10px rgb(23 61 130 / 3%);
  transition: transform .22s ease, box-shadow .22s ease,
    border-color .22s ease;
}

.productspgb .product-card.views-row:hover {
  transform: translateY(-4px);
  border-color: #d3ddeb;
  box-shadow: 0 12px 30px rgb(23 61 130 / 10%);
}

/* Product image area */
.productspgb .views-field-field-product-images {
  overflow: hidden;
  background: #f7f9fc;
}

.productspgb .views-field-field-product-images .field-content,
.productspgb .views-field-field-product-images a {
  display: block;
  width: 100%;
}

.productspgb .views-field-field-product-images img {
  display: block;
  width: 100%;
  height: 235px;
  padding: 18px;
  box-sizing: border-box;
  object-fit: contain;
  object-position: center;
  background: #f7f9fc;
  transition: transform .3s ease;
}

.productspgb .product-card:hover .views-field-field-product-images img {
  transform: scale(1.035);
}

/* Brand label */
.productspgb .views-field-field-brand {
  margin: 18px 18px 0;
  color: var(--mp-navy);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  line-height: 1.4;
  text-transform: uppercase;
}

/* Product title */
.productspgb .views-field-title {
  margin: 8px 18px 0;
  line-height: 1.4;
}

.productspgb .views-field-title a {
  color: var(--mp-navy);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease;
}

.productspgb .views-field-title a:hover {
  color: var(--mp-red);
}

/* Product subcategory */
.productspgb .views-field-field-product-sub-category {
  margin: 7px 18px 0;
  color: #65758d;
  font-size: 12px;
  line-height: 1.5;
}

/* Short description */
.productspgb .views-field-field-short-description {
  margin: 9px 18px 0;
  color: var(--mp-text);
  font-size: 13px;
  line-height: 1.65;
}

/* Product CTA */
.productspgb .views-field-view-node {
  margin: auto 18px 19px;
  padding-top: 18px;
}

.productspgb .views-field-view-node a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mp-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .45px;
  text-decoration: none;
  transition: gap .2s ease, color .2s ease;
}

.productspgb .views-field-view-node a:hover {
  gap: 12px;
  color: #d91620;
}

/* Pagination spans the full grid width */
.productspgb nav.pager {
  grid-column: 1 / -1;
  width: 100%;
  margin: 12px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--mp-border);
}

.productspgb .pager__items {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.productspgb .pager__item {
  margin: 0;
  padding: 0;
}

.productspgb .pager__item a {
  display: flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--mp-border);
  border-radius: 4px;
  background: #fff;
  color: var(--mp-navy);
  font-size: 13px;
  text-decoration: none;
  transition: background .2s ease, color .2s ease,
    border-color .2s ease;
}

.productspgb .pager__item a:hover,
.productspgb .pager__item.is-active a {
  border-color: var(--mp-red);
  background: var(--mp-red);
  color: #fff;
}

/* Exposed Views filters, if present */
.productspgb form.views-exposed-form {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 30px;
  padding: 22px;
  border: 1px solid var(--mp-border);
  border-radius: 6px;
  background: #f8fafd;
}

.productspgb .views-exposed-form .form-item {
  flex: 1 1 180px;
  min-width: 0;
  margin: 0;
}

.productspgb .views-exposed-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--mp-navy);
  font-size: 12px;
  font-weight: 700;
}

.productspgb .views-exposed-form input[type="text"],
.productspgb .views-exposed-form input[type="search"],
.productspgb .views-exposed-form select {
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #d6dfeb;
  border-radius: 4px;
  background: #fff;
  color: var(--mp-navy);
  font: inherit;
  font-size: 14px;
}

.productspgb .views-exposed-form input:focus,
.productspgb .views-exposed-form select:focus {
  outline: 2px solid rgb(247 189 0 / 55%);
  outline-offset: 1px;
  border-color: var(--mp-navy);
}

.productspgb .views-exposed-form .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.productspgb .views-exposed-form input[type="submit"] {
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid var(--mp-red);
  border-radius: 4px;
  background: var(--mp-red);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  transition: background .2s ease;
}

.productspgb .views-exposed-form input[type="submit"]:hover {
  border-color: #d91620;
  background: #d91620;
}

/* Tablet */
@media (max-width: 1000px) {
  .productspgb .products-view {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 18px;
  }

  .productspgb .views-field-field-product-images img {
    height: 215px;
  }
}

/* Small tablet */
@media (max-width: 760px) {
  .productspgb .products-view {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
  }

  .productspgb .views-field-field-product-images img {
    height: 205px;
    padding: 14px;
  }

  .productspgb .views-field-field-brand,
  .productspgb .views-field-title,
  .productspgb .views-field-field-product-sub-category,
  .productspgb .views-field-field-short-description {
    margin-right: 13px;
    margin-left: 13px;
  }

  .productspgb .views-field-view-node {
    margin-right: 13px;
    margin-left: 13px;
  }

  .productspgb .views-field-title a {
    font-size: 15px;
  }

  .productspgb form.views-exposed-form {
    padding: 16px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .productspgb .products-view {
    gap: 14px 10px;
  }

  .productspgb .views-field-field-product-images img {
    height: 165px;
    padding: 10px;
  }

  .productspgb .views-field-field-brand {
    margin-top: 13px;
    font-size: 9px;
    letter-spacing: 1px;
  }

  .productspgb .views-field-title {
    margin-top: 6px;
  }

  .productspgb .views-field-title a {
    font-size: 14px;
  }

  .productspgb .views-field-field-product-sub-category {
    font-size: 11px;
  }

  .productspgb .views-field-field-short-description {
    font-size: 12px;
  }

  .productspgb .views-field-view-node {
    margin-bottom: 15px;
    padding-top: 14px;
  }

  .productspgb .views-field-view-node a {
    font-size: 10px;
  }

  .productspgb form.views-exposed-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .productspgb .views-exposed-form .form-item {
    width: 100%;
  }
}


/* =====================================================
   MAXI PRO CONTACT PAGE
   Form | Contact Details | Google Map
   Brand: Navy, Red, Gold and White
   ===================================================== */

:root {
  --mp-navy: #173D82;
  --mp-red: #F5222D;
  --mp-gold: #F7BD00;
  --mp-white: #ffffff;
  --mp-text: #53647e;
  --mp-border: #dce3ed;
  --mp-light: #f4f7fb;
}

/* Contact section background and spacing */
.section.section-light:has(#block-vanniglo-webform) {
  background: var(--mp-light);
  padding: 44px 24px;
}

.section.section-light:has(#block-vanniglo-webform) > div {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr);
  align-items: stretch;
  gap: 24px;
}

/* Form and contact details cards */
#block-vanniglo-webform,
#block-vanniglo-contactdetails {
  min-width: 0;
  box-sizing: border-box;
  background: var(--mp-white);
  border: 1px solid #edf0f5;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(23, 61, 130, 0.04);
}

/* Form introduction */
#block-vanniglo-webform::before {
  content: "SEND US A MESSAGE";
  display: block;
  margin-bottom: 12px;
  color: var(--mp-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.1px;
}

#block-vanniglo-webform::after {
  content: "Fill in the form below and our team will get back to you as soon as possible.";
  display: block;
  margin-top: -2px;
  margin-bottom: 25px;
  color: var(--mp-text);
  font-size: 15px;
  line-height: 1.7;
}

/* Place the introduction before the form */
#block-vanniglo-webform {
  display: flex;
  flex-direction: column;
}

#block-vanniglo-webform form {
  order: 2;
}

#block-vanniglo-webform::before {
  order: 0;
}

#block-vanniglo-webform::after {
  order: 1;
}

/* Webform fields */
#block-vanniglo-webform .form-item {
  margin: 0 0 18px;
  min-width: 0;
}

#block-vanniglo-webform label {
  display: block;
  margin-bottom: 8px;
  color: var(--mp-navy);
  font-size: 14px;
  font-weight: 700;
}

#block-vanniglo-webform .form-required::after {
  color: var(--mp-red);
}

#block-vanniglo-webform input.form-text,
#block-vanniglo-webform input.form-email,
#block-vanniglo-webform textarea.form-textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 13px 15px;
  color: var(--mp-navy);
  background: #ffffff;
  border: 1px solid var(--mp-border);
  border-radius: 5px;
  box-shadow: none;
  font: inherit;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#block-vanniglo-webform input.form-text,
#block-vanniglo-webform input.form-email {
  min-height: 48px;
}

#block-vanniglo-webform textarea.form-textarea {
  min-height: 140px;
  resize: vertical;
}

#block-vanniglo-webform input::placeholder,
#block-vanniglo-webform textarea::placeholder {
  color: #9aa7ba;
}

#block-vanniglo-webform input:focus,
#block-vanniglo-webform textarea:focus {
  outline: none;
  border-color: var(--mp-navy);
  box-shadow: 0 0 0 3px rgba(23, 61, 130, 0.09);
}

/* Submit button */
#block-vanniglo-webform .form-actions {
  margin-top: 8px;
}

#block-vanniglo-webform input.webform-button--submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 25px;
  border: 1px solid var(--mp-red);
  border-radius: 5px;
  background: var(--mp-red);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

#block-vanniglo-webform input.webform-button--submit:hover {
  background: #d91621;
  border-color: #d91621;
  transform: translateY(-1px);
}

/* Contact details */
#block-vanniglo-contactdetails {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#block-vanniglo-contactdetails .contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  padding: 23px 0;
  margin: 0;
  border-bottom: 1px solid #e8edf4;
}

#block-vanniglo-contactdetails .contact-detail:first-child {
  padding-top: 0;
}

#block-vanniglo-contactdetails .contact-detail:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

#block-vanniglo-contactdetails .contact-detail-icon {
  display: flex;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--mp-navy);
  color: #ffffff;
  font-size: 21px;
}

#block-vanniglo-contactdetails .contact-detail:nth-child(1)
.contact-detail-icon {
  background: var(--mp-red);
}

#block-vanniglo-contactdetails .contact-detail:nth-child(3)
.contact-detail-icon {
  background: var(--mp-gold);
  color: var(--mp-navy);
}

#block-vanniglo-contactdetails .contact-detail-content {
  flex: 1;
  min-width: 0;
}

#block-vanniglo-contactdetails .contact-detail-content h3 {
  margin: 2px 0 7px;
  color: var(--mp-navy);
  font-size: 18px;
  font-weight: 750;
}

#block-vanniglo-contactdetails .contact-detail-content p {
  margin: 0 0 5px;
  color: var(--mp-text);
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

#block-vanniglo-contactdetails .contact-detail-content a {
  color: var(--mp-text);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

#block-vanniglo-contactdetails .contact-detail-content a:hover {
  color: var(--mp-red);
}

#block-vanniglo-contactdetails .contact-detail-content
a[href*="google.com/maps"] {
  display: inline-block;
  margin-top: 9px;
  color: var(--mp-red);
  font-weight: 700;
}

/* Google Map block */
.googlemapb {
  width: 100%;
  max-width: 1192px;
  margin: 0 auto 45px;
  padding: 0 24px;
  box-sizing: border-box;
}

.googlemapb > div {
  overflow: hidden;
  border: 1px solid var(--mp-border);
  border-radius: 8px;
  background: #eaf0f6;
  box-shadow: 0 4px 20px rgba(23, 61, 130, 0.06);
}

.googlemapb iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

/* Tablet */
@media (max-width: 900px) {
  .section.section-light:has(#block-vanniglo-webform) > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  #block-vanniglo-webform,
  #block-vanniglo-contactdetails {
    padding: 26px;
  }

  #block-vanniglo-contactdetails .contact-detail {
    padding: 18px 0;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .section.section-light:has(#block-vanniglo-webform) {
    padding: 28px 15px;
  }

  .section.section-light:has(#block-vanniglo-webform) > div {
    gap: 16px;
  }

  #block-vanniglo-webform,
  #block-vanniglo-contactdetails {
    padding: 21px 18px;
    border-radius: 7px;
  }

  #block-vanniglo-webform input.webform-button--submit {
    width: 100%;
  }

  #block-vanniglo-contactdetails .contact-detail-icon {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
    font-size: 18px;
  }

  #block-vanniglo-contactdetails .contact-detail-content h3 {
    font-size: 16px;
  }

  .googlemapb {
    padding: 0 15px;
    margin-bottom: 28px;
  }

  .googlemapb iframe {
    height: 300px;
  }
}

/* =====================================================
   MAXI PRO - USER ACCOUNT FORMS
   Login and Password Reset
   ===================================================== */

/* Account page background */
body.page-user main#main-content > section.section {
  padding: 60px 20px 75px;
  background: #f4f7fb;
}

/* Center the account form */
body.page-user main#main-content > section.section > .container > div {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Shared form card */
body.page-user #block-vanniglo-content {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 34px;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #e1e7f0;
  border-radius: 10px;
  box-shadow: 0 12px 35px rgba(23, 61, 130, 0.07);
}

/* Login and reset forms */
body.page-user #block-vanniglo-content form.user-login-form,
body.page-user #block-vanniglo-content form.user-pass {
  width: 100%;
  margin: 0;
}

/* Labels */
body.page-user #block-vanniglo-content form.user-login-form label,
body.page-user #block-vanniglo-content form.user-pass label {
  display: block;
  margin-bottom: 9px;
  color: #173D82;
  font-size: 14px;
  font-weight: 700;
}

/* Form field spacing */
body.page-user #block-vanniglo-content form.user-login-form .form-item,
body.page-user #block-vanniglo-content form.user-pass .form-item {
  margin: 0 0 22px;
}

/* Text, username, email and password fields */
body.page-user #block-vanniglo-content form.user-login-form input.form-text,
body.page-user #block-vanniglo-content form.user-login-form input.form-password,
body.page-user #block-vanniglo-content form.user-pass input.form-text {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  box-sizing: border-box;
  border: 1px solid #dce3ed;
  border-radius: 5px;
  background: #ffffff;
  color: #173D82;
  font-family: inherit;
  font-size: 15px;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Focus state */
body.page-user #block-vanniglo-content form.user-login-form input:focus,
body.page-user #block-vanniglo-content form.user-pass input:focus {
  outline: none;
  border-color: #173D82;
  box-shadow: 0 0 0 3px rgba(23, 61, 130, 0.10);
}

/* Password reset instructions */
body.page-user #block-vanniglo-content form.user-pass > p {
  margin: 0 0 24px;
  color: #65748b;
  font-size: 14px;
  line-height: 1.8;
}

/* Submit buttons */
body.page-user #block-vanniglo-content form.user-login-form .form-actions,
body.page-user #block-vanniglo-content form.user-pass .form-actions {
  margin-top: 26px;
}

body.page-user #block-vanniglo-content form.user-login-form input.form-submit,
body.page-user #block-vanniglo-content form.user-pass input.form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 13px 22px;
  box-sizing: border-box;
  border: 1px solid #F5222D;
  border-radius: 5px;
  background: #F5222D;
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

body.page-user #block-vanniglo-content form.user-login-form input.form-submit:hover,
body.page-user #block-vanniglo-content form.user-pass input.form-submit:hover {
  background: #d91621;
  border-color: #d91621;
}

/* Login / password reset tabs */
body.page-user #block-vanniglo-primary-local-tasks {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e1e7f0;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  box-sizing: border-box;
}

body.page-user #block-vanniglo-primary-local-tasks ul {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0 20px;
  list-style: none;
  border-bottom: 1px solid #e1e7f0;
}

body.page-user #block-vanniglo-primary-local-tasks li {
  margin: 0;
  padding: 0;
}

body.page-user #block-vanniglo-primary-local-tasks a {
  display: block;
  padding: 17px 13px;
  border-bottom: 3px solid transparent;
  color: #65748b;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

body.page-user #block-vanniglo-primary-local-tasks a.is-active,
body.page-user #block-vanniglo-primary-local-tasks a:hover {
  color: #173D82;
  border-bottom-color: #F5222D;
}

/* Mobile */
@media (max-width: 600px) {
  body.page-user main#main-content > section.section {
    padding: 35px 15px 50px;
  }

  body.page-user #block-vanniglo-content {
    padding: 25px 20px;
  }

  body.page-user #block-vanniglo-primary-local-tasks ul {
    padding: 0 10px;
  }

  body.page-user #block-vanniglo-primary-local-tasks a {
    padding: 15px 10px;
    font-size: 12px;
  }
}



/* =====================================================
   MAXI PRO USER PAGES - LAYOUT BALANCE
   Login and password reset
   ===================================================== */

/* Consistent page background and vertical spacing */
body.page-user #main-content {
  background: #f4f7fb;
}

/* Center and constrain the page title */
body.page-user #block-vanniglo-pagetitle {
 width: 100%;
  max-width: 480px;
  margin: 20px auto 0;
  padding: 0;
  box-sizing: border-box;
  float: none;
  text-align: center;
}

body.page-user #block-vanniglo-pagetitle h1 {
  margin: 0;
  color: #173D82;
  font-family: 'Manrope', sans-serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.7px;
}

/* Align account tabs with the title and form */
body.page-user #block-vanniglo-primary-local-tasks {
  width: calc(100% - 40px);
  max-width: 480px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Account form section */
body.page-user main#main-content > section.section {
  padding: 16px 20px 65px;
  background: #f4f7fb;
}

/* Center the form wrapper */
body.page-user main#main-content > section.section > .container > div {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Form card */
body.page-user #block-vanniglo-content {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 32px 34px;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #e1e7f0;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 12px 35px rgba(23, 61, 130, 0.06);
}

/* When the page has no tabs, keep rounded corners on all sides */
body.page-user #block-vanniglo-content:not(:has(form)) {
  border-radius: 10px;
}

/* Keep fields within the card */
body.page-user #block-vanniglo-content input.form-text,
body.page-user #block-vanniglo-content input.form-password {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Tablet and mobile */
@media (max-width: 600px) {
  body.page-user #block-vanniglo-pagetitle {
    padding-bottom: 16px;
  }

  body.page-user #block-vanniglo-pagetitle h1 {
    font-size: 25px;
  }

  body.page-user #block-vanniglo-primary-local-tasks {
    width: calc(100% - 30px);
  }

  body.page-user main#main-content > section.section {
    padding: 12px 15px 45px;
  }

  body.page-user #block-vanniglo-content {
    padding: 24px 20px;
  }
}


/* =========================================================
   MAXI PRO PRODUCT DETAIL PAGE
   Scoped to the product detail template only.
   ========================================================= */

.maxipro-product-detail {
  --mp-navy: #173D82;
  --mp-red: #F5222D;
  --mp-gold: #F7BD00;
  --mp-text: #263449;
  --mp-muted: #667085;
  --mp-border: #E5EAF1;
  color: var(--mp-text);
  background: #fff;
}

.maxipro-product-detail *,
.maxipro-product-detail *::before,
.maxipro-product-detail *::after {
  box-sizing: border-box;
}

.maxipro-product-detail .maxipro-product-hero {
  padding: 64px 24px 76px;
  background: linear-gradient(135deg, #F7F9FC 0%, #FFFFFF 75%);
}

.maxipro-product-detail .maxipro-product-layout {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 72px;
}

.maxipro-product-detail .maxipro-product-gallery {
  min-width: 0;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--mp-border);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(23, 61, 130, 0.07);
}

.maxipro-product-detail .maxipro-product-images > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

/* Image field wrapper */
.maxipro-product-detail .maxipro-product-images > div > div {
  min-width: 0;
}

.maxipro-product-detail .maxipro-product-images img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  border-radius: 10px;
}

/* Brand */
.maxipro-product-detail .maxipro-product-brand {
  margin-bottom: 15px;
  color: var(--mp-navy);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.maxipro-product-detail .maxipro-product-brand > div > div:first-child {
  display: none;
}

.maxipro-product-detail .maxipro-product-brand a {
  color: var(--mp-navy);
  text-decoration: none;
}

.maxipro-product-detail .maxipro-product-brand a:hover {
  color: var(--mp-red);
}

.maxipro-product-detail .maxipro-product-title {
  margin: 0 0 22px;
  color: var(--mp-navy);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.4px;
}

.maxipro-product-detail .maxipro-product-title span {
  display: inline;
}

.maxipro-product-detail .maxipro-product-short-description {
  margin-bottom: 26px;
  color: var(--mp-muted);
  font-size: 17px;
  line-height: 1.8;
}

.maxipro-product-detail .maxipro-product-short-description > div:empty {
  display: none;
}

/* Category and subcategory */
.maxipro-product-detail .maxipro-product-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.maxipro-product-detail .maxipro-product-meta-item {
  min-width: 0;
  padding: 17px;
  background: #fff;
  border: 1px solid var(--mp-border);
  border-radius: 10px;
}

.maxipro-product-detail .maxipro-product-meta-label {
  display: block;
  margin-bottom: 8px;
  color: var(--mp-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.maxipro-product-detail .maxipro-product-meta-item > div > div > div:first-child {
  display: none;
}

.maxipro-product-detail .maxipro-product-meta-item a {
  color: var(--mp-navy);
  font-weight: 700;
  text-decoration: none;
}

.maxipro-product-detail .maxipro-product-meta-item a:hover {
  color: var(--mp-red);
}

/* Enquiry CTA */
.maxipro-product-detail .maxipro-product-enquiry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 54px;
  padding: 15px 24px;
  background: var(--mp-red);
  border: 2px solid var(--mp-red);
  border-radius: 5px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.maxipro-product-detail .maxipro-product-enquiry:hover,
.maxipro-product-detail .maxipro-product-enquiry:focus {
  background: var(--mp-navy);
  border-color: var(--mp-navy);
  color: #fff;
  transform: translateY(-2px);
}

.maxipro-product-detail .maxipro-product-enquiry span {
  font-size: 20px;
}

/* Product overview */
.maxipro-product-detail .maxipro-product-section {
  padding: 76px 24px;
}

.maxipro-product-detail .maxipro-product-section-inner {
  max-width: 900px;
  margin: 0 auto;
}

.maxipro-product-detail .maxipro-product-section-heading {
  margin-bottom: 32px;
}

.maxipro-product-detail .maxipro-product-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--mp-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.maxipro-product-detail .maxipro-product-section-heading h2,
.maxipro-product-detail .maxipro-product-instructions-content h2 {
  margin: 0;
  color: var(--mp-navy);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.3;
}

.maxipro-product-detail .maxipro-product-heading-line {
  display: block;
  width: 58px;
  height: 4px;
  margin-top: 18px;
  background: var(--mp-gold);
}

.maxipro-product-detail .maxipro-product-description {
  color: var(--mp-text);
  font-size: 16px;
  line-height: 1.9;
}

.maxipro-product-detail .maxipro-product-description > div > div:first-child,
.maxipro-product-detail .maxipro-product-instructions-content > div > div:first-child {
  display: none;
}

.maxipro-product-detail .maxipro-product-description h3,
.maxipro-product-detail .maxipro-product-description h4 {
  margin: 28px 0 12px;
  color: var(--mp-navy);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 19px;
  font-weight: 800;
}

.maxipro-product-detail .maxipro-product-description ul,
.maxipro-product-detail .maxipro-product-instructions-content ul {
  padding-left: 22px;
}

.maxipro-product-detail .maxipro-product-description li,
.maxipro-product-detail .maxipro-product-instructions-content li {
  margin-bottom: 9px;
}

/* Instructions */
.maxipro-product-detail .maxipro-product-instructions {
  padding: 0 24px 80px;
}

.maxipro-product-detail .maxipro-product-instructions-inner {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
  padding: 32px;
  background: #F5F8FD;
  border-left: 4px solid var(--mp-gold);
  border-radius: 0 12px 12px 0;
}

.maxipro-product-detail .maxipro-product-instructions-icon {
  display: flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--mp-navy);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.maxipro-product-detail .maxipro-product-instructions-content {
  min-width: 0;
  flex: 1;
  color: var(--mp-text);
  font-size: 15px;
  line-height: 1.9;
}

.maxipro-product-detail .maxipro-product-instructions-content h2 {
  margin-bottom: 18px;
  font-size: 23px;
}

/* Tablet */
@media (max-width: 900px) {
  .maxipro-product-detail .maxipro-product-hero {
    padding: 44px 22px 55px;
  }

  .maxipro-product-detail .maxipro-product-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px;
  }

  .maxipro-product-detail .maxipro-product-gallery {
    padding: 18px;
  }

  .maxipro-product-detail .maxipro-product-meta {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 650px) {
  .maxipro-product-detail .maxipro-product-hero {
    padding: 28px 16px 42px;
  }

  .maxipro-product-detail .maxipro-product-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .maxipro-product-detail .maxipro-product-gallery {
    padding: 14px;
    border-radius: 12px;
  }

  .maxipro-product-detail .maxipro-product-images > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .maxipro-product-detail .maxipro-product-title {
    font-size: 34px;
    letter-spacing: -0.8px;
  }

  .maxipro-product-detail .maxipro-product-short-description {
    font-size: 15px;
  }

  .maxipro-product-detail .maxipro-product-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .maxipro-product-detail .maxipro-product-meta-item {
    padding: 13px;
  }

  .maxipro-product-detail .maxipro-product-enquiry {
    display: flex;
    width: 100%;
  }

  .maxipro-product-detail .maxipro-product-section {
    padding: 48px 20px;
  }

  .maxipro-product-detail .maxipro-product-instructions {
    padding: 0 16px 48px;
  }

  .maxipro-product-detail .maxipro-product-instructions-inner {
    gap: 14px;
    padding: 22px 17px;
  }

  .maxipro-product-detail .maxipro-product-instructions-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .maxipro-product-detail .maxipro-product-instructions-content h2 {
    font-size: 20px;
  }
}



/* =========================================
   MAXI PRO RESPONSIVE HEADER
   Desktop: above 812px
   Mobile: 812px and below
   Brand colours:
   Navy  #173D82
   Red   #F5222D
   Gold  #F7BD00
   ========================================= */

/* Hide hamburger on desktop */
.site-header .mobile-menu-toggle {
  display: none;
}

/* =========================================
   MOBILE HEADER AND NAVIGATION
   ========================================= */

@media (max-width: 812px) {

  /* Header layout */
  .site-header {
    position: relative;
    z-index: 1000;
    background: #FFFFFF;
    transition: box-shadow 0.25s ease;
  }

  .site-header .header-inner {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .site-header .header-brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  /* Hamburger button */
  .site-header .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    padding: 10px;
    border: 1px solid #E5EAF1;
    border-radius: 6px;
    background: #FFFFFF;
    cursor: pointer;
    z-index: 1002;
  }

  .site-header .mobile-menu-toggle span {
    display: block;
    width: 23px;
    height: 2px;
    background: #173D82;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  /* Hamburger transforms into X */
  .site-header.menu-open .mobile-menu-toggle span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.menu-open .mobile-menu-toggle span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Hide navigation and CTA until opened */
  .site-header .primary-menu,
  .site-header .header-action {
    display: none;
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
  }

  /* Header shadow when the menu is open */
  .site-header.menu-open {
    background: #FFFFFF;
    box-shadow: 0 12px 30px rgba(23, 61, 130, 0.12);
  }

  /* Red navigation panel */
  .site-header.menu-open .primary-menu {
    display: block;
    order: 3;
    margin: 12px 0 0;
    padding: 12px 18px 0;
    background: #F5222D;
    border: none;
    border-top: none;
  }

  /* Vertical menu list */
  .site-header.menu-open .primary-menu ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .site-header.menu-open .primary-menu ul li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  }

  .site-header.menu-open .primary-menu ul li:last-child {
    border-bottom: none;
  }

  /* White navigation links */
  .site-header.menu-open .primary-menu ul li a,
  .site-header.menu-open .primary-menu ul li a.is-active {
    display: block;
    width: 100%;
    padding: 15px 5px;
    border: none;
    border-left: 4px solid transparent;
    background: transparent;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    transition: padding-left 0.2s ease, border-color 0.2s ease;
  }

  /* Active menu item */
  .site-header.menu-open .primary-menu ul li a.is-active {
    padding-left: 12px;
    border-left-color: #F7BD00;
  }

  /* Hover and keyboard focus */
  .site-header.menu-open .primary-menu ul li a:hover,
  .site-header.menu-open .primary-menu ul li a:focus-visible {
    padding-left: 12px;
    color: #FFFFFF;
    border-left-color: #F7BD00;
    outline-offset: -2px;
  }

  /* Distributor CTA area continues the red panel */
  .site-header.menu-open .header-action {
    display: block;
    order: 4;
    margin: 0;
    padding: 22px 18px 24px;
    background: #F5222D;
  }

  /* White distributor button */
  .site-header.menu-open .header-action .distribb a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 50px;
    padding: 14px 18px;
    background: #FFFFFF;
    border: 2px solid #FFFFFF;
    border-radius: 6px;
    color: #F5222D;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    box-shadow: none;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .site-header.menu-open .header-action .distribb a i {
    color: inherit;
  }

  .site-header.menu-open .header-action .distribb a:hover,
  .site-header.menu-open .header-action .distribb a:focus-visible {
    background: #173D82;
    border-color: #173D82;
    color: #FFFFFF;
  }

}


/* Fix mobile menu gap and make the red panel full width */
@media (max-width: 812px) {

  /* Remove spacing between navigation and distributor CTA */
  .site-header.menu-open .primary-menu {
    margin: 0 !important;
    padding: 12px 18px 0;
    border: 0;
  }

  .site-header.menu-open .header-action {
    margin: 0 !important;
    padding: 18px 18px 24px;
    border: 0;
  }

  /* Remove any gap between the menu links and CTA */
  .site-header.menu-open .primary-menu ul {
    margin-bottom: 0;
  }

  /* Make the open menu span the viewport width */
  .site-header.menu-open .header-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    column-gap: 0;
    row-gap: 0;
  }

  .site-header.menu-open .primary-menu,
  .site-header.menu-open .header-action {
    box-sizing: border-box;
    width: 100%;
    flex: 0 0 100%;
    max-width: none;
  }

  /* Keep the logo and hamburger padded inside the header */
  .site-header.menu-open .header-brand {
    padding-left: 18px;
  }

  .site-header.menu-open .mobile-menu-toggle {
    margin-right: 18px;
  }
}

/* =========================================
   END RESPONSIVE HEADER
   ========================================= */
