.elementor-1473 .elementor-element.elementor-element-d26e4a5{--display:flex;}/* Start custom CSS for html, class: .elementor-element-e7646a8 */@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

.sm-container {
    max-width: 1200px;
    margin: 20px auto;
    font-family: 'Inter', sans-serif;
}

/* Header & Toggle */
.sm-header {
    text-align: center;
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    margin-bottom: 25px;
}
.sm-header h1 { color: #1e293b; font-size: 28px; margin: 0 0 10px 0; font-weight: 800; }
.sm-header h1 i { color: #3b82f6; }
.sm-header p { color: #64748b; font-size: 15px; margin-bottom: 25px; }

/* Main Switch Styling */
.sm-main-toggle {
    display: inline-flex;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 50px;
    border: 1px solid #cbd5e1;
}
.toggle-btn {
    border: none;
    background: transparent;
    padding: 10px 25px;
    font-size: 15px;
    font-weight: 700;
    color: #475569;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.toggle-btn.active {
    background: #2563eb; /* Blue Active */
    color: #fff;
    box-shadow: 0 4px 10px rgba(37,99,235,0.3);
}

/* Sub Filters */
.sm-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}
.sm-filter-pill {
    background: #fff;
    color: #475569;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid #cbd5e1;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}
.sm-filter-pill:hover, .sm-filter-pill.active {
    background: #1e293b;
    color: #fff;
    border-color: #1e293b;
}

/* Card Grid */
.sm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}
.sm-card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    animation: fadeIn 0.4s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.sm-card-head {
    padding: 14px 15px;
    color: white;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
/* Colors for Card Heads */
.bg-ssc { background: #f97316; } /* Orange */
.bg-rrb { background: #3b82f6; } /* Blue */
.bg-police { background: #10b981; } /* Green */
.bg-teacher { background: #8b5cf6; } /* Purple */
.bg-institute { background: #dc2626; } /* Red */

/* ========================================================= */
/* CSS MAGIC: Convert WordPress Shortcode into Premium PDF UI */
/* ========================================================= */
.sm-list-dynamic { flex-grow: 1; }
.sm-list-dynamic ul { list-style: none; padding: 0; margin: 0; }
.sm-list-dynamic ul li {
    display: flex;
    align-items: flex-start;
    padding: 12px 15px;
    border-bottom: 1px solid #f1f5f9;
    gap: 12px;
}
.sm-list-dynamic ul li:last-child { border-bottom: none; }

/* 1. PDF Icon */
.sm-list-dynamic ul li::before {
    content: "\f1c1"; /* FontAwesome PDF */
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
    color: #ef4444;
    font-size: 18px;
    margin-top: 2px;
}

/* 2. Link Styling */
.sm-list-dynamic ul li a {
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    flex-grow: 1;
    transition: 0.2s;
}
.sm-list-dynamic ul li a:hover { color: #2563eb; }

/* 3. Fake Download Button */
.sm-list-dynamic ul li::after {
    content: "PDF";
    background: #f1f5f9;
    color: #475569;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    border: 1px solid #cbd5e1;
    transition: 0.3s;
}
.sm-list-dynamic ul li:hover::after { background: #ef4444; color: #fff; border-color: #ef4444; content: "Get"; }/* End custom CSS */