/* Shared layout for the homepage tools and the WordPress Tools Pages. */
.vc-home-promo {
    padding: 24px 15px 0;
    text-align: center;
}
.vc-home-promo .hero-ebook {
    display: block;
    width: 75%;
    margin: 0 auto;
    padding: 0;
}
.vc-home-promo .hero-ebook img {
    display: block;
    height: auto;
}
.vc-page.frontpage .fp-first { padding-top: 0; }
.vc-page.frontpage .category-menu {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px 10px;
    margin: 34px 0 0;
}
.vc-page.frontpage .category-menu .menu-item {
    display: block;
    width: auto;
    min-width: 0;
    margin: 0;
}
.vc-page.frontpage .category-menu .icon {
    display: grid;
    place-items: center;
    height: 53px;
    margin: 0 0 10px;
}
.vc-page.frontpage .category-menu .icon svg {
    display: block;
    width: auto;
    height: auto;
    max-width: min(76px, 100%);
    max-height: 53px;
}
.vc-page.frontpage .category-menu .cat-name {
    font-size: 17px;
    margin-bottom: 5px;
}
.vc-page.frontpage .category-menu .post-count {
    font-size: 13px;
    line-height: 1.2;
}
.vc-page.frontpage .category-menu a:is(:hover, :focus, :active)::before {
    width: 85px;
    height: 47px;
}
.vc-page.frontpage .fp-first .section-title { margin-top: 57px; }

.vc-home-tools {
    margin-top: 48px;
    padding: 57px 0 54px;
    background: #fff0d6;
    border-block: 1px solid #efd8ad;
    text-align: center;
}
.vc-page.frontpage .vc-home-tools .section-title {
    margin: 0 0 12px;
    font-size: 36px;
    line-height: 1.12;
}
.vc-tools-intro {
    margin: 0 0 26px;
    color: #554936;
    font-size: 17px;
    line-height: 1.45;
}
.vc-tools-categories {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    max-width: 960px;
    list-style: none;
    padding: 0;
    margin: 0 auto;
}
.vc-tools-categories[hidden], .vc-home-tool-group[hidden], .vc-battery [hidden] { display: none !important; }
.vc-tools-categories button {
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 7px;
    width: 100%;
    height: 100%;
    padding: 3px 2px;
    border: 0;
    background: none;
    color: #0a0a0a;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    cursor: pointer;
}
.vc-tools-categories small { color: #63533c; font-size: 12px; font-weight: 500; }
.vc-tools-categories button::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-bottom: 5px;
}
.vc-tools-categories button[aria-expanded="true"]::after {
    transform: rotate(225deg);
    margin: 4px 0 1px;
}
.vc-tool-icon-disc {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border: 1px solid #ecd5ab;
    border-radius: 50%;
    background: #fffaf0;
}
.vc-tools-categories button:is(:hover, :focus-visible) .vc-tool-icon-disc { border-color: #997247; }
.vc-tools-categories button[aria-expanded="true"] .vc-tool-icon-disc {
    background: #ffdcaa;
    border-color: #d69e4f;
}
.vc-tool-icon { position: relative; display: block; width: 64px; height: 43px; color: #535849; }
.vc-tool-icon::before, .vc-tool-icon::after { content: ""; position: absolute; }
.vc-tool-icon--battery::before { inset: 7px 6px; border: 2px solid currentColor; border-radius: 5px; }
.vc-tool-icon--battery::after { width: 4px; height: 12px; top: 15px; right: 2px; background: currentColor; border-radius: 0 2px 2px 0; }
.vc-tool-icon--battery i { position: absolute; left: 13px; top: 14px; width: 8px; height: 15px; border-radius: 1px; background: currentColor; box-shadow: 12px 0 currentColor, 24px 0 currentColor; }
.vc-tool-icon--water::before { height: 32px; width: 32px; border: 2px solid currentColor; top: 5px; left: 16px; transform: rotate(45deg); border-radius: 0 60% 60% 60%; }
.vc-tool-icon--water::after { width: 12px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; border-radius: 0 0 8px 0; top: 25px; left: 29px; }
.vc-tool-icon--bed::before { height: 13px; border: 2px solid currentColor; border-radius: 4px 4px 0 0; bottom: 8px; left: 5px; right: 4px; }
.vc-tool-icon--bed::after { height: 27px; width: 2px; background: currentColor; left: 5px; bottom: 3px; box-shadow: 53px 0 currentColor; }
.vc-tool-icon--bed i { width: 17px; height: 9px; position: absolute; top: 13px; left: 10px; border: 2px solid currentColor; border-bottom: 0; border-radius: 5px 5px 0 0; }
.vc-tool-icon--heat::before { width: 12px; height: 30px; border: 2px solid currentColor; border-radius: 8px 8px 5px 5px; top: 2px; left: 26px; }
.vc-tool-icon--heat::after { width: 16px; height: 16px; border: 2px solid currentColor; background: #fffaf0; border-radius: 50%; bottom: 2px; left: 24px; }
.vc-tool-icon--heat i { z-index: 1; position: absolute; width: 4px; height: 23px; border-radius: 3px; background: currentColor; bottom: 7px; left: 30px; }
.vc-tool-icon--quote::before { inset: 3px 15px 3px 14px; border: 2px solid currentColor; border-radius: 4px; }
.vc-tool-icon--quote::after { width: 15px; height: 5px; top: 1px; left: 24px; background: currentColor; border-radius: 2px; }
.vc-tool-icon--quote i { position: absolute; height: 2px; width: 19px; left: 22px; top: 13px; background: currentColor; box-shadow: 0 7px currentColor, 0 14px currentColor; }

.vc-home-tool-group {
    max-width: 960px;
    margin: 20px auto 0;
    padding: 19px 22px;
    border: 1px solid #ecd5ab;
    border-radius: 4px;
    background: #fffaf0;
    text-align: left;
}
.vc-home-tool-group h3 { margin: 0 0 9px; font-size: 19px; }
.vc-tools-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.vc-tools-links a, .vc-tools-planned {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    min-height: 44px;
    height: 100%;
    padding: 8px 0;
    border-top: 1px solid #f0e1c5;
    font-size: 14px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.vc-tools-links a { color: #006c73; font-weight: 650; }
.vc-tools-planned { color: #4f4b43; }
.vc-tools-planned small { color: #625640; font-size: 11px; flex: 0 0 auto; }
.vc-tools-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 8px 19px;
    border: 1px solid #e8a64c;
    border-radius: 4px;
    color: #0a0a0a;
    background: #ffbf61;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}
.vc-tools-button:hover { color: #0a0a0a; background: #ffd08b; }
.vc-home-tools .vc-tools-button { margin-top: 27px; }
.vc-home-tools :is(a, button):focus-visible,
.vc-tools-page :is(a, button, input, select):focus-visible { outline: 2px solid #00787f; outline-offset: 3px; }

.vc-tools-page .section.header-section { padding-block: clamp(27px, 4vw, 52px); }
.vc-tools-page .section.header-section .page-title { margin: 0; line-height: 1.15; overflow-wrap: anywhere; }
.container.vc-tools-layout { padding-top: 43px; }
.vc-tools-content { min-width: 0; max-width: 980px; margin: 0 auto; font-size: 17px; line-height: 1.6; }
.vc-tools-sidebar { max-width: 300px; margin: 32px auto 0; }
.vc-tools-sidebar .sidebar-section { background-color: #f6f6f5; }
.vc-tools-page-intro { margin: 0 0 25px; }
.vc-tools-page .vc-tools-content .entry-content { padding: 0; margin: 0 0 25px; }
.vc-tools-page-intro > :first-child { margin-top: 0; }
.vc-tools-directory-group {
    padding: 20px;
    border: 1px solid #e7e7e0;
    background: #f6f6f5;
}
.vc-tools-page .vc-tools-directory-group h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    font-size: 23px;
    line-height: 1.25;
    text-align: left;
}
.vc-tools-directory-group .vc-tool-icon-disc {
    flex: none;
    width: 40px;
    height: 40px;
    grid-template: minmax(0, 1fr) / minmax(0, 1fr);
}
.vc-tools-directory-group .vc-tool-icon { transform: scale(.52); }
.vc-tools-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.vc-tools-directory-group .vc-tools-links { grid-template-columns: 1fr; }
.vc-tools-directory-group .vc-tools-links > li > * { border-color: #deded5; }
.vc-tools-back { display: inline-block; margin-bottom: 14px; color: #006c73; font-weight: 650; }

.vc-battery { margin: 22px 0 34px; }
.vc-battery fieldset {
    min-inline-size: 0;
    margin: 0 0 21px;
    padding: 18px;
    border: 1px solid #e5e5db;
}
.vc-battery legend { font-size: 21px; font-weight: 700; padding: 0 6px; }
.vc-battery-settings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 14px; }
.vc-battery label { display: grid; gap: 3px; min-width: 0; font-size: 14px; font-weight: 650; }
.vc-battery :is(input, select) {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 6px 8px;
    border: 1px solid #a2a697;
    border-radius: 3px;
    color: #0a0a0a;
    background: #fff;
    font: inherit;
    font-size: 16px;
}
.vc-battery input:invalid { border-color: #9a2d25; }
.vc-battery-help { color: #545849; font-size: 14px; margin: 0 0 14px; }
.vc-battery-settings + .vc-battery-help { margin: 12px 0 0; }
.vc-battery-row {
    display: grid;
    grid-template-columns: minmax(120px, 1.45fr) minmax(75px, .65fr) minmax(95px, .8fr) minmax(75px, .7fr) auto;
    gap: 7px 10px;
    align-items: end;
    padding: 9px 0;
    border-bottom: 1px solid #eee;
}
.vc-battery-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.vc-battery-secondary {
    min-height: 42px;
    padding: 5px 9px;
    border: 1px solid #a2a697;
    border-radius: 3px;
    color: #0a0a0a;
    background: #fff;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}
.vc-battery-secondary:hover { background: #f6f6f5; }
.vc-battery-result { padding: 18px; border: 1px solid #ecd5ab; background: #fff0d6; }
.vc-tools-page .vc-battery-result h2 { margin: 0 0 6px; font-size: 22px; line-height: 1.25; text-align: left; }
.vc-battery-result p { margin: 4px 0; }
.vc-battery-result strong { display: block; font-size: clamp(28px, 5vw, 48px); line-height: 1.1; }
.vc-battery-result dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0 0; font-size: 15px; }
.vc-battery-result dt { color: #554936; }
.vc-battery-result dd { font-weight: 700; margin: 0; }
.vc-tools-page .vc-tools-explainer h2 { font-size: 25px; line-height: 1.25; text-align: left; margin: 26px 0 8px; }
.vc-tools-explainer p { margin: 0 0 13px; }
.vc-tools-explainer a { color: #006c73; text-decoration: underline; text-underline-offset: 3px; }

.vc-calc {
    display: grid;
    gap: 18px;
    margin-bottom: 30px;
    padding: clamp(13px, 3vw, 25px);
    border: 1px solid #ebd8b7;
    border-radius: 6px;
    background: #fffaf1;
}
.vc-calc[hidden], .vc-calc [hidden] { display: none !important; }
.vc-calc fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.vc-calc legend { padding: 0; margin-bottom: 10px; font-size: 19px; font-weight: 700; }
.vc-calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px 15px; }
.vc-calc-field { display: grid; align-content: space-between; gap: 5px; min-width: 0; font-size: 14px; line-height: 1.35; font-weight: 600; }
.vc-calc-field :is(input, select) {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 6px 9px;
    border: 1px solid #b4a892;
    border-radius: 4px;
    background: #fff;
    color: #171713;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.3;
}
.vc-calc-rows { display: grid; gap: 10px; margin-bottom: 8px; }
.vc-calc-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 135px), 1fr));
    align-items: end;
    gap: 9px;
    padding: 10px;
    border: 1px solid #e9dbc6;
    border-radius: 4px;
    background: #fff;
}
.vc-calc-secondary {
    min-height: 44px;
    padding: 6px 11px;
    border: 1px solid #b4a892;
    border-radius: 4px;
    background: #fff;
    color: #22575b;
    font: inherit;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
}
.vc-calc-secondary:hover { background: #edf7f7; }
.vc-calc-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.vc-calc-results { padding: 15px; border-radius: 5px; background: #e9f3f2; color: #17393b; }
.vc-tools-page .vc-calc-results h2 { margin: 0 0 6px; font-size: 22px; line-height: 1.25; text-align: left; }
.vc-calc-results dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr)); gap: 0 14px; margin: 0; }
.vc-calc-results dl > div { border-top: 1px solid #c8dcdb; padding: 8px 0; overflow-wrap: anywhere; }
.vc-calc-results dt { font-size: 13px; line-height: 1.35; }
.vc-calc-results dd { margin: 2px 0 0; font-weight: 700; line-height: 1.3; }
.vc-calc-message { margin: 0; }

@media (min-width: 1024px) {
    .vc-home-tool-group .vc-tools-links a,
    .vc-tools-directory-group .vc-tools-links a { font-size: 18px; }
    .vc-tools-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 300px;
        align-items: start;
        gap: clamp(24px, 3vw, 45px);
    }
    .vc-tools-layout::before, .vc-tools-layout::after { display: none; }
    .vc-tools-content, .vc-tools-sidebar { margin: 0; }
    .vc-home-promo {
        position: relative;
        width: min(75%, 980px);
        /* Lift half of the 7:1 banner over the bottom of the hero. */
        margin: max(-70px, -5.3571%) auto 0;
        padding: 0;
    }
    .vc-home-promo .hero-ebook { width: 100%; }
}
@media (min-width: 1230px) {
    .vc-home-promo {
        width: min(50%, 980px);
        margin-top: max(-70px, -3.5714%);
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .header-menu:has(.vc-tools-menu-item) .menu-item:not(:last-child) { margin-right: 18px; }
}
@media (max-width: 767px) {
    .vc-home-promo { padding-top: 19px; }
    .vc-page.frontpage .category-menu { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 6px; margin-top: 26px; }
    .vc-page.frontpage .category-menu .icon { height: 43px; margin-bottom: 7px; }
    .vc-page.frontpage .category-menu .icon svg { max-height: 43px; max-width: min(59px, 100%); }
    .vc-page.frontpage .category-menu .cat-name { font-size: 15px; }
    .vc-page.frontpage .category-menu .post-count { font-size: 12px; }
    .vc-home-tools { margin-top: 32px; padding-block: 27px 21px; background: #fff7e9; }
    .vc-home-tools > .container { max-width: 510px; }
    .vc-page.frontpage .vc-home-tools .section-title { font-size: 26px; margin-bottom: 4px; }
    .vc-tools-intro { display: none; }
    .vc-tools-categories {
        max-width: 385px;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 5px 4px;
    }
    .vc-tools-categories > li { grid-column: span 2; }
    .vc-tools-categories > li:nth-child(4) { grid-column: 2 / span 2; }
    .vc-tools-categories > li:nth-child(5) { grid-column: 4 / span 2; }
    .vc-tools-categories button {
        gap: 4px;
        padding: 3px 1px;
        font-size: 14px;
    }
    .vc-tool-category-label { min-height: 2.5em; }
    .vc-tool-category-label > span { display: block; }
    .vc-tool-icon-disc { width: 45px; height: 45px; grid-template-columns: minmax(0, 1fr); }
    .vc-tool-icon { transform: scale(.60); }
    .vc-home-tool-group { margin-top: 12px; padding: 8px 13px; }
    .vc-tools-categories:not([hidden]) ~ .vc-home-tool-group h3 { display: none; }
    .vc-home-tool-group .vc-tools-links { grid-template-columns: 1fr; }
    .vc-home-tools .vc-tools-button {
        margin-top: 8px;
        padding-inline: 0;
        border: 0;
        background: transparent;
        color: #006c73;
        text-decoration: underline;
        text-underline-offset: 3px;
    }
    .vc-tools-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vc-battery-settings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vc-battery-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vc-battery-row label:first-child { grid-column: span 2; }
}
@media (max-width: 499px) {
    .vc-home-promo .hero-ebook { width: 95%; }
    .vc-page.frontpage .fp-first .section-title { margin-top: 35px; }
    .vc-tools-directory { grid-template-columns: 1fr; }
    .container.vc-tools-layout { padding-top: 25px; }
    .vc-tools-page .section.header-section .page-title { font-size: 37px; }
    .vc-battery-result dl { grid-template-columns: 1fr; gap: 6px; }
}
