/* ==================================================================== */
/* SKILLTURN PLACEMENTS PRO - MASTER STYLESHEET                         */
/* ==================================================================== */

/* Frontend Filter Bar */
.st-frontend-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border: 1px solid #e2e8f0;
}

.st-frontend-filters select {
    flex: 1;
    min-width: 200px;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background-color: #f8fafc;
    color: #0f172a;
    font-size: 0.95rem;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s;
}

.st-frontend-filters select:hover { border-color: #2563eb; }

.st-filter-reset {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.st-filter-reset:hover { background: #e2e8f0; color: #0f172a; }

/* Placement Grid (Responsive & Equal Width) */
.st-placement-grid {
    display: grid;
    grid-template-columns: repeat(var(--st-columns, 3), minmax(0, 1fr)) !important;
    gap: 2.5rem;
    font-family: 'Manrope', sans-serif;
}

@media (max-width: 992px) { 
    .st-placement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } 
}
@media (max-width: 768px) { 
    .st-placement-grid { grid-template-columns: minmax(0, 1fr) !important; } 
}

/* Card Design */
.st-talent-card {
    background-color: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    overflow: visible; 
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 1; 
}

.st-talent-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e1;
    z-index: 2; 
}

.st-card-cover {
    height: 100px;
    width: 100%;
    position: relative;
    border-top-left-radius: 20px; 
    border-top-right-radius: 20px;
    z-index: 1; 
}

.st-hired-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    z-index: 2;
}

.st-card-body {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

/* AVATAR DEFAULTS */
.st-talent-card img.st-avatar {
    width: 80px;
    height: 80px;
    border-radius: 16px; 
    border-style: solid !important; 
    border-width: 4px !important;   
    border-color: #ffffff !important; 
    box-sizing: content-box !important;
    object-fit: cover;
    margin-top: -40px;
    background-color: #e2e8f0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    position: relative; 
    z-index: 10;        
}

.st-profile-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.25rem;
    position: relative; 
    z-index: 5; 
}

.st-user-info h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin: 0 0 0.2rem 0;
}

.st-user-info p {
    font-size: 0.95rem;
    color: #475569;
    font-weight: 600;
    margin: 0;
}

.st-package-pill {
    background-color: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.95rem;
    white-space: nowrap;
}

.st-journey-tracker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #f1f5f9;
    padding: 0.75rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    position: relative;
    z-index: 5;
}

.st-old-role { color: #64748b; }
.st-new-role { color: #2563eb; }

.st-arrow {
    color: #94a3b8;
    font-size: 1.2rem;
    font-weight: 400;
}

.st-review-box {
    position: relative;
    background: #fafafa;
    padding: 1.25rem;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
    flex-grow: 1;
    z-index: 5;
}

.st-review-box p {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

.st-quote-mark {
    font-size: 1.5rem;
    color: #2563eb;
    line-height: 1;
    margin-bottom: 0.25rem;
    display: block;
}

/* Pagination Styles */
.st-pagination {
    margin-top: 3rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    grid-column: 1 / -1; 
}

.st-pagination a,
.st-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #0f172a;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.st-pagination a:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.st-pagination .current {
    background-color: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

/* ================================= */
/* PRO FEATURES STYLES               */
/* ================================= */

/* Pro Highlight Ribbon */
.st-pro-badge {
    position: absolute;
    top: -10px;
    left: -10px;
    background: linear-gradient(135deg, #FF3366, #FF9933);
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 20;
    box-shadow: 0 4px 10px rgba(255, 51, 102, 0.3);
    border: 2px solid #fff;
}

/* LinkedIn Integration */
.st-linkedin-icon {
    display: inline-block;
    vertical-align: middle;
    margin-left: 6px;
    transition: transform 0.2s;
}
.st-linkedin-icon:hover {
    transform: scale(1.1);
}

/* Video Testimonial Button */
.st-video-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 15px;
    background-color: #f1f5f9;
    color: #0f172a !important;
    font-weight: 700;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.st-video-btn:hover {
    background-color: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
    transform: translateY(-2px);
}

/* ==================================================================== */
/* BULLETPROOF LINK RESET (Kills Astra & Theme Underlines Globally)     */
/* ==================================================================== */

.st-placement-grid a,
.st-placement-grid a:hover,
.st-placement-grid a:visited,
.st-placement-grid a:focus,
.st-pro-form a,
.st-pro-form a:hover,
.st-pro-form a:visited,
.st-pro-form a:focus,
.st-video-btn,
.st-linkedin-icon,
.st-frontend-filters a.st-filter-reset,
.st-frontend-filters a.st-filter-reset:hover,
.st-frontend-filters a.st-filter-reset:visited,
.st-frontend-filters a.st-filter-reset:focus,
.st-pagination a,
.st-pagination a:hover,
.st-pagination a:visited,
.st-pagination a:focus {
    text-decoration: none !important;
    text-decoration-line: none !important;
    border-bottom: none !important;
    border-bottom-width: 0 !important;
    box-shadow: none !important;
    background-image: none !important;
    outline: none !important;
}

/* Kills Astra's hidden pseudo-element underlines */
.st-placement-grid a::before,
.st-placement-grid a::after,
.st-frontend-filters a.st-filter-reset::before,
.st-frontend-filters a.st-filter-reset::after,
.st-pro-form a::before,
.st-pro-form a::after,
.st-pagination a::before,
.st-pagination a::after {
    display: none !important;
}

/* RESTORE SPECIFIC BORDERS DELETED BY THE KILL-SWITCH */
.st-pagination a {
    border: 1px solid #e2e8f0 !important;
}

.st-pagination a:hover {
    border: 1px solid #cbd5e1 !important;
}

.st-pagination .current {
    border: 1px solid #2563eb !important;
}

/* Force long unbroken URLs or text to wrap safely (Prevents grid breaking) */
.st-review-box p, 
.st-user-info h3, 
.st-user-info p {
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    white-space: normal !important;
}