/*
 * Page-specific styles, extracted from the legacy astrology.css
 * (which loaded unconditionally on ~22 unrelated pages).
 */

/* ===== Migrated from astrology.css ===== */
.astro-img-details,
.container {
    padding-right: 15px;
    padding-left: 15px
}

.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto
}

.row.add_to_cart_item.active {
    padding-bottom: 20px
}

/* =====================================================================
 * Top Astrologers — Minimalistic Mobile Card List
 * (copied from astrology/index.css for the "Connect with Top Astrologers" section)
 * ===================================================================== */

.np-mta-section {
    padding: 24px 12px 14px;
}

.np-mta-section .np-ta-header {
    margin-bottom: 12px;
    text-align: center;
}

.np-mta-section .np-ta-title {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 3px;
    letter-spacing: -0.01em;
}

.np-mta-section .np-ta-title .np-ta-gradient-text {
    background: linear-gradient(135deg, #f37420 0%, #d85515 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.np-mta-section .np-ta-subtitle {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
    margin: 0;
}

.np-mta-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.np-mta-item {
    position: relative;
}

.np-mta-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03), 0 3px 8px rgba(15, 23, 42, 0.02);
    padding: 12px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.np-mta-card:active {
    transform: scale(0.99);
}

.np-mta-top {
    display: flex;
    align-items: center;
    gap: 11px;
}

/* Avatar with sleek live status indicator */
.np-mta-avatar-wrap {
    position: relative;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
}

.np-mta-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #e2e8f0;
}

.np-mta-status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 11px;
    height: 11px;
    background: #16a34a;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.np-mta-status-dot::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: rgba(22, 163, 74, 0.35);
    animation: npStatusPulse 2s infinite ease-out;
}

@keyframes npStatusPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* Middle info */
.np-mta-info {
    flex: 1;
    min-width: 0;
}

.np-mta-name-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
}

.np-mta-name {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.np-mta-verified {
    color: #0284c7;
    font-size: 12px;
    flex-shrink: 0;
}

.np-mta-spec {
    font-size: 11.5px;
    color: #475569;
    font-weight: 500;
    margin: 0 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.np-mta-lang {
    font-size: 11px;
    color: #64748b;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.np-mta-lang i {
    font-size: 10px;
    margin-right: 2px;
    color: #94a3b8;
}

/* Meta row: Rating pill, orders, exp */
.np-mta-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #64748b;
    line-height: 1;
    flex-wrap: wrap;
}

.np-mta-rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #fef3c7;
    color: #b45309;
    font-weight: 700;
    font-size: 10.5px;
    padding: 2px 5px;
    border-radius: 4px;
    line-height: 1;
}

.np-mta-rating-pill i {
    font-size: 9px;
    color: #f59e0b;
}

.np-mta-orders {
    font-weight: 500;
    color: #64748b;
}

.np-mta-dot-sep {
    color: #cbd5e1;
    font-size: 8px;
}

.np-mta-exp {
    color: #64748b;
    font-weight: 500;
}

/* Right side column: price + Chat CTA */
.np-mta-side {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
    margin-left: 4px;
}

.np-mta-price {
    font-size: 13.5px;
    font-weight: 700;
    color: #15803d;
    line-height: 1;
    white-space: nowrap;
}

.np-mta-unit {
    font-size: 10px;
    font-weight: 500;
    color: #64748b;
}

.np-mta-chat-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #10b981;
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    padding: 6px 14px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
    transition: all 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    line-height: 1;
}

.np-mta-chat-btn i {
    font-size: 10px;
}

.np-mta-chat-btn:active {
    transform: scale(0.95);
    background: #059669;
    box-shadow: none;
}

/* =====================================================================
 * "Today's Predictions" heading — shrink on mobile so the date badge
 * doesn't get squeezed onto its own crowded line.
 * ===================================================================== */
@media (max-width: 768px) {
    .horoscope-sec-title {
        font-size: 18px;
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .horoscope-sec-title #predDate {
        display: block;
        width: 100%;
        margin-left: 0;
    }
}

/* =====================================================================
 * FAQ section — smaller heading + tighter spacing on mobile.
 * ===================================================================== */
@media (max-width: 768px) {
    .pqxfaq-section {
        padding: 24px 16px;
    }

    .pqxfaq-heading {
        margin-bottom: 16px;
    }

    .pqxfaq-heading h2 {
        font-size: 20px;
    }

    .pqxfaq-heading p {
        font-size: 13px;
    }
}
