﻿
/* PLANTSPK ONLINE TOOLS DIRECTORY */

.ot-page {
    background: #f8faf8;
    min-height: 100vh;
    padding-bottom: 50px;
}

.ot-hero {
    background: linear-gradient(120deg, #075b29, #16843c);
    color: white;
    padding: 65px 0 75px;
}

.ot-hero-content {
    max-width: 760px;
    margin: auto;
    text-align: center;
}

.ot-eyebrow {
    display: inline-block;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.2);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.ot-hero h1 {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    margin-bottom: 14px;
}

.ot-hero p {
    color: #e2f5e7;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.ot-search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border-radius: 15px;
    padding: 6px 17px;
    max-width: 580px;
    margin: auto;
    box-shadow: 0 10px 25px rgba(0,0,0,.13);
}

    .ot-search-box span {
        font-size: 20px;
    }

    .ot-search-box input {
        border: none;
        outline: none;
        width: 100%;
        height: 45px;
        color: #183c27;
        background: transparent;
        font-size: 14px;
    }

    .ot-search-box:focus-within {
        outline: 3px solid #a2e8b5;
    }

.ot-hero-points {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 25px;
    margin-top: 23px;
    font-size: 12px;
    color: #e4f9e8;
}

.ot-main-container {
    margin-top: -23px;
    position: relative;
}

.ot-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px;
    background: white;
    border: 1px solid #e5eee6;
    border-radius: 18px;
    box-shadow: 0 7px 22px rgba(0,0,0,.05);
    margin-bottom: 30px;
}

.ot-filter {
    border: 1px solid #dce9df;
    background: #f7fbf8;
    color: #285c38;
    border-radius: 25px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    transition: .2s;
}

    .ot-filter:hover,
    .ot-filter.active {
        background: #08712f;
        border-color: #08712f;
        color: white;
    }

    .ot-filter:focus-visible,
    .ot-card:focus-visible {
        outline: 3px solid #36a85a;
        outline-offset: 3px;
    }

.ot-category {
    margin-bottom: 42px;
}

.ot-section-heading {
    margin-bottom: 20px;
    border-left: 4px solid #16843c;
    padding-left: 15px;
}

.ot-section-kicker {
    color: #17813b;
    font-size: 10px;
    letter-spacing: 1.2px;
    font-weight: 800;
}

.ot-section-heading h2 {
    font-size: 23px;
    color: #153e23;
    font-weight: 800;
    margin: 6px 0;
}

.ot-section-heading p {
    font-size: 13px;
    color: #738078;
    margin: 0;
}

.ot-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: white;
    border: 1px solid #e3ede5;
    border-radius: 17px;
    padding: 23px 19px;
    height: 100%;
    min-height: 215px;
    text-decoration: none;
    box-shadow: 0 5px 18px rgba(0,0,0,.035);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

    .ot-card:hover {
        transform: translateY(-5px);
        border-color: #9ed8ae;
        box-shadow: 0 12px 28px rgba(0,90,35,.1);
    }

.ot-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #e9f7ed;
    border-radius: 16px;
    font-size: 28px;
    margin-bottom: 17px;
}

.ot-card h3 {
    font-size: 16px;
    color: #163f24;
    font-weight: 800;
    margin-bottom: 9px;
}

.ot-card p {
    font-size: 12px;
    color: #718078;
    line-height: 1.6;
    margin-bottom: 18px;
}

.ot-card-action {
    color: #07803b;
    font-size: 12px;
    font-weight: 800;
    margin-top: auto;
}

.ot-no-results {
    text-align: center;
    padding: 30px;
    color: #66776b;
    font-weight: 600;
}

.ot-info {
    background: white;
    border: 1px solid #e5eee7;
    border-radius: 18px;
    padding: 30px;
    margin-top: 15px;
}

    .ot-info h2 {
        font-size: 22px;
        color: #153e23;
        font-weight: 800;
    }

    .ot-info p {
        color: #65746b;
        line-height: 1.8;
        font-size: 14px;
    }

@media (max-width: 767px) {
    .ot-hero {
        padding: 42px 0 58px;
    }

        .ot-hero p {
            font-size: 13px;
        }

    .ot-filters {
        padding: 13px 9px;
        gap: 7px;
    }

    .ot-filter {
        padding: 8px 11px;
        font-size: 11px;
    }

    .ot-section-heading h2 {
        font-size: 20px;
    }

    .ot-card {
        min-height: 200px;
        padding: 16px 12px;
        border-radius: 13px;
    }

    .ot-icon {
        width: 46px;
        height: 46px;
        font-size: 23px;
        margin-bottom: 12px;
    }

    .ot-card h3 {
        font-size: 13px;
    }

    .ot-card p {
        font-size: 11px;
    }

    .ot-info {
        padding: 20px 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ot-card,
    .ot-filter {
        transition: none;
    }
}
