/* Custom quote index page */
.tm-custom-quote-page {
    background: #FFFFFF;
}
.tm-custom-quote {
    color: #0F172A;
}
.tm-custom-quote * {
    box-sizing: border-box;
}
.tm-custom-quote-intro,
.tm-custom-quote-list {
    margin: 0 0 clamp(56px, 6vw, 88px);
}
.tm-custom-quote-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}
.tm-custom-quote-toolbar p,
.tm-custom-quote-cta p {
    margin: 0 0 12px;
    color: #059669;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
}
.tm-custom-quote-toolbar h2,
.tm-custom-quote-cta h2 {
    margin: 0;
    color: #0F172A;
    font-size: clamp(25px, 3vw, 38px);
    font-weight: 850;
    letter-spacing: -.04em;
    line-height: 1.22;
}
.tm-custom-quote-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}
.tm-custom-quote-filter button {
    min-height: 38px;
    padding: 0 15px;
    border: 1px solid #E2E8F0;
    border-radius: 999px;
    background: #FFFFFF;
    color: #334155;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
    transition: border-color .22s ease, background .22s ease, color .22s ease, transform .22s ease;
}
.tm-custom-quote-filter button:hover {
    border-color: #CBD5E1;
    transform: translateY(-1px);
}
.tm-custom-quote-filter button.is-active {
    border-color: #A7F3D0;
    background: #ECFDF5;
    color: #047857;
}
.tm-custom-quote-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.tm-custom-quote-card {
    min-width: 0;
}
.tm-custom-quote-card[hidden] {
    display: none !important;
}
.tm-custom-quote-card a {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    height: 100%;
    padding: clamp(24px, 2.6vw, 32px);
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0%, rgba(5, 150, 105, .08), transparent 34%),
        #FFFFFF;
    color: inherit;
    text-decoration: none;
    transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
    overflow: hidden;
}
.tm-custom-quote-card a:hover {
    border-color: #A7F3D0;
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .08);
}
.tm-custom-quote-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}
.tm-custom-quote-card__top span {
    color: #059669;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
}
.tm-custom-quote-card__top em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #D1FAE5;
    border-radius: 999px;
    background: #ECFDF5;
    color: #047857;
    font-size: 13px;
    font-style: normal;
    font-weight: 900;
}
.tm-custom-quote-card h3 {
    margin: 0;
    color: #0F172A;
    font-size: clamp(22px, 2.3vw, 30px);
    font-weight: 900;
    line-height: 1.24;
    letter-spacing: -.045em;
    word-break: keep-all;
}
.tm-custom-quote-card p {
    margin: 16px 0 0;
    color: #64748B;
    font-size: 15px;
    line-height: 1.72;
    word-break: keep-all;
}
.tm-custom-quote-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0 0;
}
.tm-custom-quote-tags b {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid #E2E8F0;
    border-radius: 999px;
    background: #F8FAFC;
    color: #334155;
    font-size: 12px;
    font-weight: 850;
}
.tm-custom-quote-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 28px;
}
.tm-custom-quote-card__foot strong {
    color: #64748B;
    font-size: 13px;
    font-weight: 850;
}
.tm-custom-quote-card__foot span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: #0F172A;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}
.tm-custom-quote-card a:hover .tm-custom-quote-card__foot span {
    background: #059669;
}
.tm-custom-quote-empty {
    padding: 40px 24px;
    border: 1px dashed #CBD5E1;
    border-radius: 18px;
    background: #F8FAFC;
    color: #64748B;
    font-size: 15px;
    font-weight: 750;
    text-align: center;
}
.tm-custom-quote-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(28px, 4vw, 44px);
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(5, 150, 105, .18), transparent 36%),
        #0F172A;
    color: #FFFFFF;
}
.tm-custom-quote-cta p {
    color: #9FE870;
}
.tm-custom-quote-cta h2 {
    color: #FFFFFF;
}
.tm-custom-quote-cta span {
    display: block;
    margin-top: 12px;
    color: #CBD5E1;
    font-size: 16px;
    line-height: 1.75;
    word-break: keep-all;
}
.tm-custom-quote-cta a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    background: #059669;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .22s ease, background .22s ease;
}
.tm-custom-quote-cta a:hover {
    transform: translateY(-2px);
    background: #047857;
    color: #FFFFFF;
}
@media (max-width: 1180px) {
    .tm-custom-quote-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .tm-custom-quote-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }
    .tm-custom-quote-filter {
        justify-content: flex-start;
    }
}
@media (max-width: 760px) {
    .tm-custom-quote-grid {
        grid-template-columns: 1fr;
    }
    .tm-custom-quote-card a {
        min-height: 260px;
        padding: 24px;
    }
    .tm-custom-quote-cta {
        align-items: flex-start;
        flex-direction: column;
    }
    .tm-custom-quote-cta a {
        width: 100%;
    }
}
