/* pagesengine.com - Search Results theme */

.animate-this {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.animate-this.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Category rail */
.category-rail {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
}
.category-rail::-webkit-scrollbar { display: none; }
.category-chip {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 2px solid rgba(6,0,71,.12);
    background: #fff;
    font-weight: 600;
    font-size: 13px;
    color: #060047;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
}
.category-chip:hover, .category-chip.active {
    border-color: #B3005E;
    background: #B3005E;
    color: #fff;
}

/* preloader */
.preloader-inline { display:flex; justify-content:center; padding:30px 0; }
.spin {
    width: 32px; height: 32px;
    border: 3px solid rgba(6,0,71,.15);
    border-top-color: #B3005E;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Search-result style listing rows (matches ajaxList markup: .businesscard > img + .p-3.pb-2) */
.businesscard {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(6,0,71,.08);
    padding: 16px;
    transition: box-shadow .2s ease, border-color .2s ease;
}
.businesscard:hover {
    box-shadow: 0 10px 26px -14px rgba(6,0,71,.25);
    border-color: rgba(179,0,94,.3);
}
.businesscard-vertical {
    flex-direction: column;
}
.businesscard-vertical img.img-fluid {
    width: 100%;
    height: 140px;
}
.businesscard img.img-fluid {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    background: #F4F3FB;
    color: transparent;
    font-size: 0;
}
.businesscard .p-3.pb-2 {
    padding: 0 !important;
    flex: 1;
    min-width: 0;
}
.businesscard .p-3.pb-2 a h3 {
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #060047;
    margin-bottom: 2px;
}
.businesscard .p-3.pb-2 a:hover h3 {
    color: #B3005E;
    text-decoration: underline;
}
.businesscard .p-3.pb-2 p.opacity-75,
.businesscard .p-3.pb-2 p.text-black {
    font-size: 13px;
    color: #5B5876;
    margin-bottom: 10px;
}
.businesscard .btn,
.businesscard .btn-sec {
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
}
.businesscard-premium {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #FDE9F1;
    color: #B3005E;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 6px;
}

/* Tabs (how it works) */
.tabs-wrapper input[type="radio"] { display: none; }
.tabs-wrapper .tab-labels { display: flex; gap: 10px; flex-wrap: wrap; }
.tabs-wrapper .tab-labels label {
    padding: 10px 20px;
    border-radius: 999px;
    border: 2px solid #060047;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    color: #060047;
    transition: all .2s ease;
}
.tabs-wrapper .tab-panel { display: none; }
#tab1:checked ~ .tab-labels label[for="tab1"],
#tab2:checked ~ .tab-labels label[for="tab2"],
#tab3:checked ~ .tab-labels label[for="tab3"] {
    background: #060047;
    color: #fff;
}
#tab1:checked ~ .tab-panels #panel1,
#tab2:checked ~ .tab-panels #panel2,
#tab3:checked ~ .tab-panels #panel3 {
    display: block;
}

/* Blog content prose */
.blog-content { font-size: 15px; line-height: 1.8; color: #060047; }
.blog-content p { margin-bottom: 1em; }
.blog-content img { max-width: 100%; border-radius: 12px; margin: 1em 0; }
.blog-content h2, .blog-content h3 { font-family: "Syne", sans-serif; margin: 1.2em 0 .5em; }
.blog-content ul, .blog-content ol { margin: 0 0 1em 1.4em; }
