/* HRUS / Tools library v2. Only the interior content of tools.html.
   Shared masthead, hero, newsletter and footer are left intact. */
.hx-page[data-page="tools"] .tv-section {
    background: #fff;
    padding: 72px 0 100px
}

.hx-page[data-page="tools"] .tv-catalog {
    max-width: 1180px;
    margin-inline:auto}

.hx-page[data-page="tools"] .tv-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin: 0 0 40px;
    padding: 0 0 25px;
    border-bottom: 1px solid #e5ece1
}

.hx-page[data-page="tools"] .tv-tabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    min-width: 0
}

.hx-page[data-page="tools"] .tv-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #5d6c5e;
    padding: 11px 19px;
    min-height: 46px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s ease,color .2s ease
}

.hx-page[data-page="tools"] .tv-tab:hover:not(.is-active) {
    background: #f0f5ec;
    color: #28562d
}

.hx-page[data-page="tools"] .tv-tab.is-active {
    background: #4c841f;
    color: #fff;
    font-weight: 600
}

.hx-page[data-page="tools"] .tv-search {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 295px;
    width: 345px;
    height: 58px;
    border-radius: 999px;
    border: 1px solid #dce5d6;
    background: #f7f9f6;
    flex-shrink: 0;
    transition: background .2s,border-color .2s,box-shadow .2s;
    cursor: text
}

.hx-page[data-page="tools"] .tv-search:hover {
    border-color: #c6d7c1
}

.hx-page[data-page="tools"] .tv-search:focus-within {
    background: #fff;
    border-color: #78b72e;
    box-shadow: 0 0 0 3px rgba(116,183,46,.1)
}

.hx-page[data-page="tools"] .tv-search>svg {
    position: absolute;
    inset-inline-start: 19px;
    top: 50%;
    transform: translateY(-50%);
    width: 21px;
    height: 21px;
    color: #638449;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none
}

.hx-page[data-page="tools"] .tv-search>input {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: none;
    border-radius: 999px;
    color: #24342b;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    padding-block:8px;padding-inline:52px 44px;box-shadow: none;
    appearance: none;
    -webkit-appearance: none
}

.hx-page[data-page="tools"] .tv-search>input::placeholder {
    color: #687468;
    opacity: 1
}

.hx-page[data-page="tools"] .tv-search>input::-webkit-search-cancel-button {
    appearance: none;
    -webkit-appearance: none
}

.hx-page[data-page="tools"] .tv-search [data-clear] {
    position: absolute;
    inset-inline-end: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #73866b;
    font-size: 22px;
    cursor: pointer
}

.hx-page[data-page="tools"] .tv-search [data-clear]:hover {
    background: #eaf2e4;
    color: #366a25
}

.hx-page[data-page="tools"] .tv-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 24px 27px;
    align-items: stretch
}

.hx-page[data-page="tools"] .tv-card {
    position: relative;
    display: grid;
    grid-template-columns: 122px minmax(0,1fr);
    column-gap: 20px;
    align-items: start;
    min-height: 236px;
    padding: 30px 27px 26px;
    background: linear-gradient(145deg,#fff 35%,#fafcf9 100%);
    border: 1px solid #e1e9dd;
    border-radius: 18px;
    isolation: isolate;
    overflow: hidden;
    scroll-margin-top: 140px;
    transition: border-color .22s ease,background-color .22s ease,transform .22s ease
}

.hx-page[data-page="tools"] .tv-card:hover {
    border-color: #c6dbc0;
    /* transform:translateY(-2px); */
}

.hx-page[data-page="tools"] .tv-card__figure {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 122px;
    height: 126px;
    margin-top: 10px
}

.hx-page[data-page="tools"] .tv-card__figure::before {
    content: "";
    position: absolute;
    width: 114px;
    height: 114px;
    inset: 7px 4px auto auto;
    border-radius: 50%;
    background: radial-gradient(circle at 45% 45%,#f0f7e8 0%,#f4f8ef 63%,transparent 72%);
    z-index: -1
}

.hx-page[data-page="tools"] .tv-card__figure img {
    display: block;
    width: 109px;
    height: 109px;
    object-fit: contain;
    filter: drop-shadow(0 7px 9px rgba(55,98,34,.08));
    transition: transform .25s ease
}

.hx-page[data-page="tools"] .tv-card:hover .tv-card__figure img {
    /* transform:translateY(-3px); */
}

.hx-page[data-page="tools"] .tv-card__body {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    min-width: 0
}

.hx-page[data-page="tools"] .tv-card__heading {
    display: flex;
    align-items: center;
    gap: 11px 14px;
    flex-wrap: wrap;
    margin-bottom: 8px
}

.hx-page[data-page="tools"] .tv-card__heading h2 {
    margin: 0;
    color: #17251f;
    font-size: 23px;
    font-weight: 650;
    line-height: 1.35;
    letter-spacing: 0
}

.hx-page[data-page="tools"] .tv-card__category {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    color: #477d31;
    background: #f0f6ec;
    border-radius: 20px;
    padding: 5px 10px;
    white-space: nowrap
}

.hx-page[data-page="tools"] .tv-card__description {
    font-size: 16px;
    line-height: 1.75;
    font-weight: 400;
    color: #637268;
    margin: 0 0 18px;
    max-width: 335px;
    text-wrap: pretty
}

.hx-page[data-page="tools"] .tv-card__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px 18px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e7eee3
}

.hx-page[data-page="tools"] .tv-card__preview {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 0;
    padding: 0;
    color: #4c841f;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.5;
    cursor: pointer;
    white-space: nowrap
}

.hx-page[data-page="tools"] .tv-card__preview svg {
    width: 17px;
    height: 17px;
    stroke-width: 1.8;
    transition: transform .2s ease
}

.hx-page[data-page="tools"] .tv-card__preview:hover {
    color: #2c641d
}

.hx-page[data-page="tools"] .tv-card__preview:hover svg {
    transform: translateX(-3px)
}

.hx-page[data-page="tools"] .tv-card__download {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: #69796b;
    text-decoration: none;
    white-space: nowrap
}

.hx-page[data-page="tools"] .tv-card__download svg {
    width: 15px;
    height: 15px;
    stroke-width: 1.7
}

.hx-page[data-page="tools"] .tv-card__download:hover {
    color: #4c841f;
    text-decoration: underline;
    text-underline-offset: 4px
}

.hx-page[data-page="tools"] .tv-empty {
    text-align: center;
    padding: 65px 12px
}

.hx-page[data-page="tools"] .tv-empty h2 {
    font-size: 23px;
    font-weight: 600;
    color: #17251f;
    margin: 0
}

.hx-page[data-page="tools"] .tv-empty p {
    font-size: 16px;
    color: #637268;
    margin: 12px 0 22px
}

.hx-page[data-page="tools"] .hx-tool-dialog {
    border-radius: 18px;
    padding: 36px 40px;
    box-shadow: 0 24px 85px rgba(8,29,22,.24)
}

.hx-page[data-page="tools"] .hx-tool-dialog .hx-dialog-head h2 {
    font-size: 27px;
    color: #17251f
}

.hx-page[data-page="tools"] :is(.tv-tab,.tv-card__preview,.tv-card__download,.tv-search input):focus-visible {
    outline: 2px solid #4c841f;
    outline-offset: 3px
}

@media(max-width: 1100px) {
    .hx-page[data-page="tools"] .tv-controls {
        gap:18px
    }

    .hx-page[data-page="tools"] .tv-search {
        width: 305px;
        min-width: 270px
    }

    .hx-page[data-page="tools"] .tv-tab {
        padding: 10px 14px;
        font-size: 14px
    }

    .hx-page[data-page="tools"] .tv-card {
        grid-template-columns: 104px minmax(0,1fr);
        padding: 25px 22px;
        gap: 16px
    }

    .hx-page[data-page="tools"] .tv-card__figure {
        width: 104px;
        height: 111px
    }

    .hx-page[data-page="tools"] .tv-card__figure img {
        width: 94px;
        height: 94px
    }

    .hx-page[data-page="tools"] .tv-card__figure::before {
        width: 100px;
        height: 100px
    }

    .hx-page[data-page="tools"] .tv-card__heading h2 {
        font-size: 21px
    }
}

@media(max-width: 860px) {
    .hx-page[data-page="tools"] .tv-controls {
        flex-direction:column-reverse;
        align-items: stretch;
        gap: 18px
    }

    .hx-page[data-page="tools"] .tv-tabs {
        justify-content: center
    }

    .hx-page[data-page="tools"] .tv-search {
        width: 100%;
        min-width: 0
    }

    .hx-page[data-page="tools"] .tv-grid {
        gap: 15px
    }

    .hx-page[data-page="tools"] .tv-card {
        display: flex;
        flex-direction: column;
        min-height: 270px;
        gap: 8px
    }

    .hx-page[data-page="tools"] .tv-card__figure {
        height: 104px;
        align-self: center;
        margin-top: 0
    }

    .hx-page[data-page="tools"] .tv-card__body {
        flex: 1
    }

    .hx-page[data-page="tools"] .tv-card__description {
        max-width: none
    }
}

@media(max-width: 610px) {
    .hx-page[data-page="tools"] .tv-section {
        padding:42px 0 65px
    }

    .hx-page[data-page="tools"] .tv-controls {
        margin-bottom: 20px;
        padding-bottom: 21px;
        gap: 16px
    }

    .hx-page[data-page="tools"] .tv-tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        max-width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        padding-bottom: 3px
    }

    .hx-page[data-page="tools"] .tv-tabs::-webkit-scrollbar {
        display: none
    }

    .hx-page[data-page="tools"] .tv-tab {
        flex: none;
        min-height: 42px;
        padding: 9px 14px;
        font-size: 13px
    }

    .hx-page[data-page="tools"] .tv-search {
        height: 56px
    }

    .hx-page[data-page="tools"] .tv-search>input {
        font-size: 16px
    }

    .hx-page[data-page="tools"] .tv-grid {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .hx-page[data-page="tools"] .tv-card {
        display: grid;
        grid-template-columns: 85px minmax(0,1fr);
        gap: 14px;
        min-height: 0;
        padding: 21px 16px 19px;
        border-radius: 15px
    }

    .hx-page[data-page="tools"] .tv-card__figure {
        width: 85px;
        height: 96px;
        align-self: start;
        margin-top: 8px
    }

    .hx-page[data-page="tools"] .tv-card__figure::before {
        width: 82px;
        height: 82px;
        inset: 8px 0 auto auto
    }

    .hx-page[data-page="tools"] .tv-card__figure img {
        width: 83px;
        height: 83px
    }

    .hx-page[data-page="tools"] .tv-card__heading {
        gap: 6px 8px
    }

    .hx-page[data-page="tools"] .tv-card__heading h2 {
        font-size: 20px
    }

    .hx-page[data-page="tools"] .tv-card__category {
        font-size: 11px;
        padding: 3px 8px
    }

    .hx-page[data-page="tools"] .tv-card__description {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 13px
    }

    .hx-page[data-page="tools"] .tv-card__actions {
        gap: 8px 15px;
        padding-top: 11px
    }

    .hx-page[data-page="tools"] .tv-card__preview {
        font-size: 14px
    }

    .hx-page[data-page="tools"] .tv-card__download {
        font-size: 12px
    }

    .hx-page[data-page="tools"] .hx-tool-dialog {
        padding: 25px 22px
    }
}

@media(max-width: 360px) {
    .hx-page[data-page="tools"] .tv-card {
        grid-template-columns:70px minmax(0,1fr);
        gap: 10px;
        padding-inline:12px}

    .hx-page[data-page="tools"] .tv-card__figure {
        width: 70px;
        height: 80px
    }

    .hx-page[data-page="tools"] .tv-card__figure img {
        width: 71px;
        height: 71px
    }

    .hx-page[data-page="tools"] .tv-card__figure::before {
        width: 69px;
        height: 69px
    }

    .hx-page[data-page="tools"] .tv-card__heading h2 {
        font-size: 18px
    }
}

@media(prefers-reduced-motion:reduce) {
    .hx-page[data-page="tools"] .tv-card,.hx-page[data-page="tools"] .tv-card__figure img,.hx-page[data-page="tools"] .tv-card__preview svg {
        transition: none!important;
        transform: none!important
    }
}
