/*
Theme Name: VVG
Template: generatepress
Version: 1.1.3
Text Domain: vvg
*/

:root {
    --vvg-text: #666;
    --vvg-heading: #29343b;
    --vvg-red: #781013;
    --vvg-menu: #6d1d17;
    --vvg-dark: #162733;
    --vvg-pale: #f4f7f8;
    --vvg-line: #e2e5e6;
}

body.vvg-layout {
    margin: 0;
    color: var(--vvg-text);
    background: #233544 var(--vvg-background, none) fixed center / cover no-repeat;
    background-image: image-set(url('assets/background.webp') type('image/webp'), var(--vvg-background) type('image/jpeg'));
    font: 14px/1.55 Tahoma, 'Helvetica Neue', Arial, sans-serif;
}

.vvg-layout h1, .vvg-layout h2, .vvg-layout h3, .vvg-layout h4, .vvg-layout h5, .vvg-layout h6 {
    color: var(--vvg-heading);
    font-family: inherit;
    font-weight: 400;
}

.vvg-layout a { color: var(--vvg-red); }
.vvg-layout .skip-link { color: #fff; background: var(--vvg-dark); }
.vvg-layout :focus-visible { outline: 2px solid #52798d; outline-offset: 3px; }
.vvg-address a:focus-visible, .vvg-main-menu a:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }

.vvg-frame {
    display: grid;
    grid-template-columns: 30% minmax(0, 70%);
    min-height: 100vh;
}

.vvg-sidebar { padding: 40px 0; background: #162733d6; }
.vvg-sidebar-inner { width: min(290px, 100%); margin-left: auto; position: sticky; top: 24px; z-index: 5; }
.admin-bar .vvg-sidebar-inner { top: 56px; }
.vvg-logo { position: relative; display: grid; place-items: center; min-height: 200px; background: #fff; }
.vvg-logo a { display: inline-block; }
.vvg-logo img { display: block; width: 151px; height: auto; }
.vvg-sidebar-links[hidden], .vvg-menu-toggle[hidden] { display: none; }

.vvg-main-menu, .vvg-main-menu ul, .vvg-address ul, .vvg-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vvg-main-menu { background: var(--vvg-menu); }
.vvg-main-menu li { position: relative; }
.vvg-main-menu a {
    display: block;
    padding: 11px 20px;
    color: #fff;
    border-bottom: 1px solid #ffffff1c;
    font-size: 16px;
    line-height: 21px;
    text-decoration: none;
}
.vvg-main-menu a:hover, .vvg-main-menu a:focus-visible,
.vvg-main-menu .current-menu-item > a, .vvg-main-menu .current-menu-ancestor > a { background: #511914; }
.vvg-main-menu .sub-menu {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 100%;
    min-width: 212px;
    background: #213745;
    clip-path: inset(50%);
    opacity: 0;
    pointer-events: none;
}
.vvg-main-menu li:hover > .sub-menu, .vvg-main-menu li:focus-within > .sub-menu {
    clip-path: none;
    opacity: 1;
    pointer-events: auto;
}
.vvg-main-menu .sub-menu a { white-space: nowrap; font-size: 14px; }
.vvg-main-menu .sub-menu a:hover { background: #304653; }

.vvg-finance { padding: 8px 9px; background: #192b37; }
.vvg-finance a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 32px;
    padding: 4px 10px;
    color: #1c2c37;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}
.vvg-finance a:hover { background: #f0f3f4; }
.vvg-finance .dashicons { width: 16px; height: 16px; font-size: 16px; }
.vvg-address { margin: 0; padding: 20px; color: #ead9d7; background: #421615; font-style: normal; }
.vvg-address-name { margin: 0 0 10px; color: #fff; font-size: 16px; }
.vvg-address-name::after { content: ''; display: block; margin-top: 8px; width: 17px; border-top: 1px solid #ffffff36; }
.vvg-address li { display: flex; align-items: baseline; gap: 7px; line-height: 20px; }
.vvg-address .dashicons { width: 16px; height: 16px; font-size: 14px; flex: 0 0 16px; }
.vvg-address a { color: inherit; }
.vvg-address a[href^="tel:"] { text-decoration: none; }

.vvg-main-column { min-width: 0; padding: 40px 0; background: #bfbfbfcc; }
.vvg-main-column #page, .vvg-main-column .site-footer {
    width: 100%;
    max-width: 980px;
    margin: 0;
}
.vvg-main-column #page { background: #fff; }
.vvg-layout .vvg-main-column .site-content,
.vvg-layout .vvg-main-column #primary,
.vvg-layout.separate-containers .vvg-main-column .site-main,
.vvg-layout.separate-containers .vvg-main-column .inside-article {
    width: 100%;
    padding: 0;
    margin: 0;
}
.vvg-layout .vvg-main-column .site-main > article { margin: 0; }
.vvg-layout .inside-article > .entry-content { margin: 0; }
.vvg-layout .entry-content > p:empty { display: none; }
.vvg-layout .entry-content > :not(.vvg-row, .page-links) { margin-inline: clamp(20px, 6vw, 65px); }
.vvg-layout .entry-content > p:last-child { margin-bottom: 0; padding-bottom: 32px; }
.vvg-layout .vvg-main-column .page-header { margin: 0; }

.vvg-layout .entry-header {
    display: grid;
    align-content: center;
    justify-items: center;
    min-height: 200px;
    box-sizing: border-box;
    padding: 30px 24px;
    background: #e5e1d0 var(--vvg-title-image, none) center / cover no-repeat;
    text-align: center;
}
.vvg-layout .entry-header .entry-title, .vvg-layout .vvg-page-banner h1 { margin: 0; font-size: clamp(24px, 3vw, 28px); line-height: 1.2; }
.vvg-layout .entry-header .entry-title::after, .vvg-page-banner h1::after {
    display: block;
    content: '';
    width: 100px;
    margin: 12px auto 0;
    border-bottom: 1px solid var(--vvg-red);
}
.vvg-layout.home .type-page .entry-header { display: none; }
.vvg-layout .entry-header .entry-meta { margin-top: .75rem; }

.vvg-row { display: flex; flex-wrap: wrap; gap: 22px; margin: 0; background-position: center; background-size: cover; background-repeat: no-repeat; }
.vvg-column { min-width: 0; flex: 1 1 calc(var(--vvg-width, 100%) - 22px); }
.vvg-layout .entry-content > .vvg-row { padding: 38px clamp(22px, 5vw, 65px); }
.vvg-layout .entry-content > .vvg-page-banner {
    display: grid;
    align-content: center;
    box-sizing: border-box;
    min-height: 200px;
    padding: 30px 24px;
    background: #e5e1d0 var(--vvg-title-image, none) center / cover no-repeat;
    text-align: center;
}
.vvg-layout .entry-content > .vvg-row--hero { padding: 0; }
.vvg-copy > :last-child, .vvg-callout > :last-child, .vvg-card > :last-child { margin-bottom: 0; }
.vvg-layout .vvg-row--dark { background-color: #4b5864; color: #fff; text-align: center; }
.vvg-layout .vvg-row--dark :is(h1, h2, h3, h4, h5, h6, a) { color: inherit; }
.vvg-layout .vvg-row--light { background-color: var(--vvg-pale); }
.vvg-layout .vvg-heading { margin: 0 0 15px; font-size: 26px; line-height: 1.3; }
.vvg-heading--rule::after { display: block; content: ''; width: 50px; margin-top: 7px; border-bottom: 1px solid var(--vvg-red); }
.vvg-layout .vvg-heading--rule { margin-bottom: 29px; }
.vvg-layout .vvg-row :is(h5,h6,.vvg-heading--small) { font-size: 18px; }
.vvg-layout .vvg-copy p { margin-bottom: 1em; }
.vvg-layout .vvg-text-link { text-underline-offset: 2px; }

.vvg-hero {
    position: relative;
    display: flex;
    justify-content: end;
    align-items: flex-start;
    min-height: 470px;
    box-sizing: border-box;
    padding-top: 180px;
    color: #fff;
    background: #566875 left top / cover no-repeat;
}
.vvg-hero-image { position: absolute; inset: 0; }
.vvg-hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.vvg-hero-copy {
    position: relative;
    width: 50%;
    box-sizing: border-box;
    padding: 30px;
    background: #1a2e3bcc;
}
.vvg-layout .vvg-hero-copy :is(h1,h2,h3,h4,h5,h6) { margin: 0 0 8px; color: inherit; font-size: 18px; line-height: 1.5; }
.vvg-hero-copy p, .vvg-hero-copy a { color: inherit; }
.vvg-hero-copy > p:empty { display: none; }
.vvg-hero-copy p:last-child { margin-bottom: 0; }

.vvg-layout .entry-content > .vvg-row--services { padding: 0; background: var(--vvg-pale); }
.vvg-services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.vvg-service-box {
    min-height: 200px;
    box-sizing: border-box;
    padding: 30px 26px 20px 30px;
    background: var(--vvg-globe, none) right top no-repeat;
}
.vvg-service-box + .vvg-service-box { border-left: 1px solid var(--vvg-line); }
.vvg-service-box .vvg-callout :is(h2,h5) { margin: 0 0 8px; font-size: 18px; }
.vvg-service-box .vvg-callout p { margin: 0 0 .8rem 15px; }
.vvg-service-box .vvg-callout p:last-child { margin: 18px 0 0; }
.vvg-service-box a { display: inline-flex; align-items: center; min-height: 32px; padding-left: 15px; text-decoration: none; background: var(--vvg-arrow, none) left center no-repeat; }
.vvg-service-box a:hover { text-decoration: underline; }

.vvg-layout .entry-content > .vvg-row--editorial { padding: 39px 25px 27px; }
.vvg-row--editorial > .vvg-column + .vvg-column { border-left: 1px solid var(--vvg-line); padding-left: 15px; }
.vvg-row--editorial .vvg-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
    font-size: 22px;
}
.vvg-row--editorial .vvg-heading::after { flex: 1; content: ''; border-bottom: 1px solid var(--vvg-line); }
.vvg-news-list { display: grid; gap: 21px; margin: 0; padding: 0; list-style: none; }
.vvg-news-item { display: grid; grid-template-columns: 45px minmax(0, 1fr); gap: 10px; align-items: start; }
.vvg-news-date { display: grid; line-height: 1.2; text-align: right; padding-right: 5px; color: #626e72; border-right: 1px solid var(--vvg-line); }
.vvg-news-day { font-size: 24px; }
.vvg-news-month { font-size: 11px; }
.vvg-layout .vvg-news-item h3 { margin: 0; font-size: 16px; line-height: 1.5; }
.vvg-news-item h3 a { color: inherit; text-decoration: none; }
.vvg-news-item h3 a:hover { text-decoration: underline; }
.vvg-news-item a { text-underline-offset: 2px; }

.vvg-list { list-style: none; margin: 0 0 1em; padding: 0; }
.vvg-list li { display: flex; gap: 7px; align-items: baseline; }
.vvg-list li > :is(p, a) { margin: 0; }
.vvg-list li > div > :last-child { margin: 0; }
.vvg-list-icon { flex: 0 0 27px; width: 27px; height: 27px; margin-block: 4px; color: #fff; background: var(--vvg-red); text-align: center; display: inline-grid; place-items: center; }
.vvg-list-icon .dashicons { font-size: 16px; height: 16px; width: 16px; }
.vvg-list:not(.vvg-list--featured) .vvg-list-icon { background: none; color: inherit; width: 14px; height: 16px; flex-basis: 14px; margin-block: 0; }
.vvg-list--featured { margin-left: 25px; }
.vvg-list--featured a { text-decoration: none; }
.vvg-list--featured a:hover { text-decoration: underline; }

.vvg-counter { border-inline-start: 3px solid var(--vvg-red); padding: .9rem 1.2rem; background: var(--vvg-pale); color: var(--vvg-text); }
.vvg-cards, .vvg-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)); align-items: start; gap: 1rem; margin-block: 1rem; }
.vvg-card { height: 100%; padding: 1rem; border: 1px solid var(--vvg-line); background: #fff; }
.vvg-card h3 { margin: .45rem 0 .7rem; font-size: 18px; }
.vvg-card-image { width: 100%; height: auto; margin-bottom: .6rem; }
.vvg-testimonial { margin: 0; padding: 0; border: 0; background: transparent; color: inherit; font-size: 14px; text-align: center; }
.vvg-testimonial p { margin: 0 0 3px; }
.vvg-testimonial cite { font-size: 13px; font-style: italic; }
.vvg-row--dark .vvg-cards-testimonial { margin: .35rem auto 1rem; }
.vvg-date { color: var(--vvg-text); font-size: 13px; }
.vvg-media { display: block; max-width: 100%; height: auto; }
.vvg-accordion details { border-bottom: 1px solid var(--vvg-line); padding: .7rem 1rem; }
.vvg-accordion summary { cursor: pointer; color: var(--vvg-red); font-weight: 600; }
.vvg-accordion details[open] summary { margin-bottom: .65rem; }
.vvg-downloads li { margin-block: .5rem; }
.vvg-separator { border: 0; border-block-start: 1px solid var(--vvg-line); }
.vvg-space { min-height: 1.25rem; }
.vvg-layout .entry-content .vvg-button, .vvg-layout .wpcf7 input[type='submit'] { display: inline-block; padding: .55rem 1rem; color: #fff; background: var(--vvg-red); border: 0; }
.vvg-layout .entry-content .vvg-button:hover, .vvg-layout .wpcf7 input[type='submit']:hover { background: #551619; }
.vvg-print, .vvg-home-link { display: inline-flex; align-items: center; justify-content: center; color: var(--vvg-text); border: 0; background: transparent; padding: 4px; }
.vvg-layout .vvg-home-link { color: var(--vvg-text); text-decoration: none; }
.vvg-page-tools { text-align: right; }
.vvg-print:hover, .vvg-home-link:hover { background: var(--vvg-pale); color: var(--vvg-red); }
.wpcf7 input:not([type='submit']):not([type='checkbox']):not([type='radio']), .wpcf7 textarea { width: min(100%, 38rem); }
.vvg-layout .wpcf7 input[type='submit'] { min-width: 100px; }

.vvg-layout .site-info { color: #d6e0e5; background: var(--vvg-dark); }
.vvg-layout .inside-site-info { padding: 25px 30px; }
.vvg-layout .copyright-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; text-align: left; }
.vvg-footer-menu { display: flex; flex-wrap: wrap; gap: 9px 17px; font-size: 13px; }
.vvg-footer-menu a { color: #e1e8ea; text-decoration: none; }
.vvg-footer-menu a:hover { text-decoration: underline; }

.vvg-menu-toggle { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 44px; padding: 0; color: #253743; background: transparent; }
.vvg-menu-toggle:hover, .vvg-menu-toggle:focus { color: #253743; background: #f4f7f8; }
.vvg-menu-toggle .dashicons { width: 29px; height: 29px; font-size: 29px; }

@media (max-width: 991px) {
    body.vvg-layout { background-image: none; }
    .vvg-frame { display: block; background: #fff; }
    .vvg-sidebar, .vvg-main-column { padding: 0; }
    .vvg-sidebar { background: #fff; }
    .vvg-sidebar-inner { width: 100%; position: static; }
    .vvg-logo { min-height: 170px; }
    .vvg-main-menu .sub-menu { position: static; clip-path: none; opacity: 1; pointer-events: auto; }
    .vvg-main-menu .sub-menu a { padding-left: 34px; }
    .vvg-hero-copy { width: 65%; }
    .vvg-layout .copyright-bar { flex-wrap: wrap; }
}

@media (max-width: 620px) {
    .vvg-layout .entry-header, .vvg-layout .entry-content > .vvg-page-banner { min-height: 155px; }
    .vvg-layout .entry-content > .vvg-row { padding: 26px 20px; }
    .vvg-layout .entry-content > .vvg-row--hero, .vvg-layout .entry-content > .vvg-row--services { padding: 0; }
    .vvg-column { flex-basis: 100%; }
    .vvg-hero { justify-content: center; }
    .home .vvg-hero { align-items: center; min-height: clamp(17rem, 78vw, 21rem); padding-block: 24px; }
    .vvg-hero-copy { width: 80%; max-width: 380px; padding: 24px; text-align: center; }
    .vvg-services-grid { grid-template-columns: 1fr; }
    .vvg-service-box { min-height: 170px; padding: 25px 25px 20px; }
    .vvg-service-box + .vvg-service-box { border-left: 0; border-top: 1px solid var(--vvg-line); }
    .vvg-row--editorial > .vvg-column + .vvg-column { border-left: 0; padding-left: 0; }
    .vvg-list--featured { margin-left: 0; }
}

@media print {
    .vvg-frame { display: block; }
    .vvg-sidebar, .vvg-print, .vvg-home-link, .site-info { display: none !important; }
    body.vvg-layout, .vvg-main-column, .vvg-layout .entry-header { color: #111; background: #fff; }
    .vvg-main-column { padding: 0; }
}
