/* ============================================
   About Us Pages - Custom CSS
   Uses existing CSS variables from style.css
   ============================================ */

/* ─── Hero Section ─────────────────────── */
.about-hero {
    background: linear-gradient(135deg, #0369a1 0%, #0ea5e9 50%, #14b8a6 100%);
    padding: 160px 0 60px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.about-hero h1 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.about-hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ─── Breadcrumb ───────────────────────── */
.about-breadcrumb {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

.about-breadcrumb .breadcrumb {
    margin: 0;
    font-size: 0.88rem;
}

.about-breadcrumb .breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.about-breadcrumb .breadcrumb-item.active {
    color: var(--text-light);
}

/* ─── Main Content Area ────────────────── */
.about-content {
    padding: 30px 0 60px;
    min-height: 60vh;
}

/* ─── Filter Bar ───────────────────────── */
.filter-bar {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 20px 24px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.filter-bar .form-control,
.filter-bar .form-select {
    border-radius: var(--radius-sm);
    border-color: var(--border-color);
    font-size: 0.9rem;
}

.filter-bar .form-control:focus,
.filter-bar .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.filter-bar label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 4px;
}

/* ─── Cards ────────────────────────────── */
.about-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.about-card .card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.about-card .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.about-card .card-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.about-card .card-price small {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
}

.about-card .card-items {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    font-size: 0.85rem;
    color: var(--text-main);
}

.about-card .card-items li {
    padding: 3px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.about-card .card-items li i {
    color: var(--accent-teal);
    font-size: 0.7rem;
}

.about-card .card-footer-custom {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

/* ─── Badges ───────────────────────────── */
.badge-fasting {
    background: rgba(244, 63, 94, 0.1);
    color: #e11d48;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
}

.badge-duration {
    background: rgba(14, 165, 233, 0.1);
    color: #0369a1;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
}

.badge-gender {
    background: rgba(139, 92, 246, 0.1);
    color: #7c3aed;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
}

.badge-age {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
}

.badge-category {
    background: rgba(20, 184, 166, 0.1);
    color: #0d9488;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
}

.badge-featured {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    position: absolute;
    top: 12px;
    right: 12px;
}

/* ─── Skeleton Loading ─────────────────── */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

.skeleton-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    height: 100%;
}

.skeleton-img {
    height: 180px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-body {
    padding: 20px;
}

.skeleton-line {
    height: 14px;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-line.w-75 {
    width: 75%;
}

.skeleton-line.w-50 {
    width: 50%;
}

.skeleton-line.w-100 {
    width: 100%;
}

.skeleton-line.h-24 {
    height: 24px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ─── Empty & Error States ─────────────── */
.state-box {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.state-box i {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
    color: var(--text-muted);
}

.state-box h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.state-box p {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

/* ─── Pagination ───────────────────────── */
.about-pagination .page-link {
    color: var(--primary-color);
    border-radius: var(--radius-sm);
    margin: 0 2px;
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    padding: 8px 14px;
}

.about-pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.about-pagination .page-link:hover {
    background: rgba(14, 165, 233, 0.08);
}

/* ─── Doctor Cards ─────────────────────── */
.doctor-card {
    text-align: center;
}

.doctor-card .doctor-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(20, 184, 166, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 2.5rem;
    color: var(--primary-color);
    overflow: hidden;
}

.doctor-card .doctor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-card .doctor-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.doctor-card .doctor-specialty {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 4px;
}

.doctor-card .doctor-department {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* ─── Weekly Schedule Table ────────────── */
.schedule-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.schedule-table {
    width: 100%;
    min-width: 700px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.85rem;
}

.schedule-table thead th {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    white-space: nowrap;
    position: sticky;
    top: 0;
}

.schedule-table thead th:first-child {
    border-radius: var(--radius-sm) 0 0 0;
}

.schedule-table thead th:last-child {
    border-radius: 0 var(--radius-sm) 0 0;
}

.schedule-table tbody td {
    padding: 8px;
    border: 1px solid var(--border-color);
    vertical-align: top;
    min-height: 60px;
}

.schedule-table tbody th {
    background: rgba(14, 165, 233, 0.06);
    font-weight: 600;
    padding: 8px;
    white-space: nowrap;
    border: 1px solid var(--border-color);
}

.schedule-cell {
    background: rgba(14, 165, 233, 0.05);
    border-radius: 6px;
    padding: 6px 8px;
    margin-bottom: 4px;
    font-size: 0.8rem;
    border-left: 3px solid var(--primary-color);
}

.schedule-cell .doc-name {
    font-weight: 600;
    color: var(--text-dark);
}

.schedule-cell .doc-time {
    color: var(--text-light);
    font-size: 0.75rem;
}

.schedule-cell .doc-location {
    color: var(--primary-color);
    font-size: 0.75rem;
}

/* ─── Knowledge Cards ──────────────────── */
.knowledge-card .card-cover {
    height: 180px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(20, 184, 166, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.knowledge-card .card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.knowledge-card .card-cover i {
    font-size: 3rem;
    color: var(--primary-light);
}

.knowledge-card .card-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.knowledge-card .card-excerpt {
    font-size: 0.9rem;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ─── Article View ─────────────────────── */
.article-content {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-main);
}

.article-content h2 {
    font-size: 1.4rem;
    margin-top: 28px;
    margin-bottom: 12px;
    color: var(--primary-dark);
    border-left: 4px solid var(--primary-color);
    padding-left: 12px;
}

.article-content h3 {
    font-size: 1.15rem;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.article-content ul,
.article-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 6px;
}

.article-sidebar .related-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.article-sidebar .related-item:last-child {
    border-bottom: none;
}

.article-sidebar .related-item a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}

.article-sidebar .related-item a:hover {
    color: var(--primary-color);
}

.article-sidebar .related-item .date {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ─── View Mode Toggle ─────────────────── */
.view-toggle .btn {
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    padding: 6px 14px;
}

.view-toggle .btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* ─── Active Submenu ───────────────────── */
.dropdown li a.active-submenu {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(20, 184, 166, 0.08));
    color: var(--primary-dark) !important;
    font-weight: 700;
}

.dropdown li a.active-submenu i {
    color: var(--primary-color) !important;
}

/* ─── Dropdown Divider ─────────────────── */
.dropdown-divider-line {
    height: 1px;
    background: var(--border-color);
    margin: 6px 12px;
}

/* ─── btn-primary override to match site ──*/
.about-content .btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.about-content .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.about-content .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.about-content .btn-outline-primary:hover {
    background: var(--primary-color);
    color: #fff;
}

/* ─── Mobile Schedule Accordion ────────── */
@media (max-width: 767.98px) {
    .about-hero {
        padding: 140px 0 40px;
    }

    .about-hero h1 {
        font-size: 1.6rem;
    }

    .schedule-table-wrap {
        display: none;
    }

    .mobile-schedule-accordion {
        display: block !important;
    }

    .filter-bar .row>.col {
        margin-bottom: 8px;
    }
}

@media (min-width: 768px) {
    .mobile-schedule-accordion {
        display: none !important;
    }
}

/* ─── Responsive Cards ─────────────────── */
@media (max-width: 575.98px) {
    .about-card .card-body {
        padding: 16px;
    }

    .about-card .card-price {
        font-size: 1.2rem;
    }

    .doctor-card .doctor-avatar {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

/* ─── Package Card Enhancements ────────── */
.package-card {
    border-top: 3px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.package-card:hover {
    border-top-color: var(--primary-color);
}

.package-card .card-desc {
    font-size: 0.88rem;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}

.badge-no-fasting {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
}

.more-items {
    font-style: italic;
    font-size: 0.82rem;
}

/* ─── Package Modal Enhancements ──────── */
.pkg-modal-header .card-price {
    font-size: 1.6rem;
}

.pkg-modal-items .item-group-title {
    margin-top: 16px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--border-color);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.95rem;
}

.modal-items li {
    padding: 4px 0;
}

/* ─── Doctor Card Enhancements ─────────── */
.doctor-card {
    border-top: 3px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.doctor-card:hover {
    border-top-color: var(--primary-color);
}

.doctor-card .doctor-specialty i,
.doctor-card .doctor-department i {
    font-size: 0.75rem;
    margin-right: 2px;
    opacity: 0.7;
}

/* ─── Knowledge Cover Placeholder ──────── */
.knowledge-card .cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(20, 184, 166, 0.08));
}

.knowledge-card .cover-placeholder i {
    font-size: 3rem;
    color: var(--primary-light);
}

/* ─── Schedule Cell Hover ──────────────── */
.schedule-cell:hover {
    background: rgba(14, 165, 233, 0.12);
    border-left-color: var(--primary-dark);
    transform: translateX(2px);
    transition: all 0.2s ease;
}

/* ─── Hero pattern overlay ─────────────── */
.about-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

/* ─── Filter bar compact on mobile ─────── */
@media (max-width: 575.98px) {
    .filter-bar {
        padding: 14px 16px;
    }

    .filter-bar label {
        font-size: 0.78rem;
    }

    .view-toggle .btn {
        font-size: 0.78rem;
        padding: 5px 10px;
    }
}

/* ============================================================
   💎 PREMIUM PACKAGES PAGE — Ultra Modern Design
   ============================================================ */

/* ─── Hero Section ─────────────────────── */
.pkg-hero {
    position: relative;
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 30%, #0ea5e9 60%, #14b8a6 100%);
    padding: 180px 0 80px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.pkg-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(20, 184, 166, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 40%);
    animation: heroBgShift 15s ease infinite alternate;
}

@keyframes heroBgShift {
    0% {
        transform: scale(1) rotate(0deg);
    }

    100% {
        transform: scale(1.1) rotate(2deg);
    }
}

/* Floating Particles */
.pkg-hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.pkg-hero-particles span {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: particleFloat 8s infinite ease-in-out;
}

.pkg-hero-particles span:nth-child(1) {
    width: 20px;
    height: 20px;
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 7s;
}

.pkg-hero-particles span:nth-child(2) {
    width: 14px;
    height: 14px;
    left: 25%;
    top: 60%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.pkg-hero-particles span:nth-child(3) {
    width: 24px;
    height: 24px;
    left: 50%;
    top: 15%;
    animation-delay: 2s;
    animation-duration: 6s;
}

.pkg-hero-particles span:nth-child(4) {
    width: 10px;
    height: 10px;
    left: 70%;
    top: 70%;
    animation-delay: 0.5s;
    animation-duration: 8s;
}

.pkg-hero-particles span:nth-child(5) {
    width: 18px;
    height: 18px;
    left: 85%;
    top: 30%;
    animation-delay: 1.5s;
    animation-duration: 10s;
}

.pkg-hero-particles span:nth-child(6) {
    width: 12px;
    height: 12px;
    left: 40%;
    top: 85%;
    animation-delay: 3s;
    animation-duration: 7s;
}

.pkg-hero-particles span:nth-child(7) {
    width: 16px;
    height: 16px;
    left: 60%;
    top: 45%;
    animation-delay: 2.5s;
    animation-duration: 8s;
}

.pkg-hero-particles span:nth-child(8) {
    width: 22px;
    height: 22px;
    left: 15%;
    top: 75%;
    animation-delay: 4s;
    animation-duration: 9s;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.4;
    }

    25% {
        transform: translateY(-30px) translateX(15px) scale(1.1);
        opacity: 0.7;
    }

    50% {
        transform: translateY(-15px) translateX(-10px) scale(0.9);
        opacity: 0.5;
    }

    75% {
        transform: translateY(-40px) translateX(20px) scale(1.05);
        opacity: 0.6;
    }
}

.pkg-hero-content {
    position: relative;
    z-index: 2;
}

.pkg-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInDown 0.6s ease;
}

.pkg-hero h1 {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.6s ease 0.1s both;
}

.pkg-hero-sub {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease 0.2s both;
}

/* Hero Trust Stats */
.pkg-hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.pkg-hero-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 14px 24px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.pkg-hero-stat:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.stat-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
}

.stat-text strong {
    display: block;
    font-size: 0.9rem;
    color: #fff;
    font-weight: 700;
}

.stat-text span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Premium Filter Card ──────────────── */
.pkg-content {
    padding: 30px 0 70px;
}

.pkg-filter-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.04),
        0 10px 30px -5px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.7);
    margin-bottom: 28px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.pkg-filter-card:hover {
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.04),
        0 15px 40px -5px rgba(0, 0, 0, 0.12);
}

.pkg-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.03) 0%, rgba(20, 184, 166, 0.03) 100%);
}

.pkg-filter-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pkg-filter-header h3 i {
    color: var(--primary-color);
}

.pkg-filter-clear {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pkg-filter-clear:hover {
    background: rgba(244, 63, 94, 0.06);
    border-color: #f43f5e;
    color: #e11d48;
}

.pkg-filter-body {
    padding: 20px 24px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.pkg-filter-group {
    flex: 1;
    min-width: 140px;
}

.pkg-filter-group.pkg-filter-search {
    flex: 2;
    min-width: 220px;
}

.pkg-filter-group.pkg-filter-check {
    flex: 0;
    min-width: auto;
}

.pkg-filter-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 6px;
}

.pkg-filter-group label i {
    margin-right: 3px;
    color: var(--primary-color);
    font-size: 0.72rem;
}

.pkg-filter-group .form-control,
.pkg-filter-group .form-select {
    border-radius: 10px;
    border: 1.5px solid var(--border-color);
    padding: 10px 14px;
    font-size: 0.88rem;
    transition: all 0.2s ease;
    background: rgba(248, 250, 252, 0.5);
}

.pkg-filter-group .form-control:focus,
.pkg-filter-group .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
    background: #fff;
}

/* Toggle Switch */
.pkg-featured-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    padding: 10px 0;
}

.pkg-featured-toggle input {
    display: none;
}

.toggle-slider {
    width: 42px;
    height: 24px;
    background: #cbd5e1;
    border-radius: 50px;
    position: relative;
    transition: all 0.3s ease;
}

.toggle-slider::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.pkg-featured-toggle input:checked+.toggle-slider {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.pkg-featured-toggle input:checked+.toggle-slider::after {
    transform: translateX(18px);
}

.toggle-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.toggle-label i {
    color: #f59e0b;
    margin-right: 2px;
}

/* Results Info */
.pkg-results-info {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 16px;
    padding: 0 4px;
}

/* ─── Premium Package Cards ────────────── */
.pkg-content .package-card {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.04),
        0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    border-top: none;
}

.pkg-content .package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0ea5e9, #14b8a6);
    transition: height 0.3s ease;
}

.pkg-content .package-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.08),
        0 20px 50px rgba(14, 165, 233, 0.12);
    border-color: rgba(14, 165, 233, 0.2);
}

.pkg-content .package-card:hover::before {
    height: 5px;
    background: linear-gradient(90deg, #0ea5e9, #14b8a6, #10b981);
}

/* Card Body */
.pkg-content .package-card .card-body {
    padding: 24px 24px 16px;
}

.pkg-content .package-card .card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.pkg-content .package-card .card-price {
    font-size: 1.6rem;
    font-weight: 900;
    background: linear-gradient(135deg, #0ea5e9, #0369a1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.pkg-content .package-card .card-price small {
    font-size: 0.8rem;
    font-weight: 500;
    -webkit-text-fill-color: var(--text-light);
}

.pkg-content .package-card .card-desc {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 14px;
}

/* Premium Badges */
.pkg-content .badge-fasting,
.pkg-content .badge-no-fasting,
.pkg-content .badge-duration,
.pkg-content .badge-gender,
.pkg-content .badge-age {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.2px;
}

.pkg-content .badge-fasting {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.08), rgba(244, 63, 94, 0.15));
    color: #e11d48;
    border: 1px solid rgba(244, 63, 94, 0.15);
}

.pkg-content .badge-no-fasting {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(34, 197, 94, 0.15));
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.15);
}

.pkg-content .badge-duration {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(14, 165, 233, 0.15));
    color: #0369a1;
    border: 1px solid rgba(14, 165, 233, 0.15);
}

.pkg-content .badge-gender {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(139, 92, 246, 0.15));
    color: #7c3aed;
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.pkg-content .badge-age {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.15));
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.15);
}

/* Card Items List */
.pkg-content .card-items {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
}

.pkg-content .card-items li {
    padding: 6px 0;
    font-size: 0.85rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.4);
    transition: all 0.2s ease;
}

.pkg-content .card-items li:last-child {
    border-bottom: none;
}

.pkg-content .card-items li:hover {
    padding-left: 4px;
    color: var(--text-dark);
}

.pkg-content .card-items li i {
    color: #14b8a6;
    font-size: 0.72rem;
    flex-shrink: 0;
}

/* Card Footer */
.pkg-content .card-footer-custom {
    padding: 16px 24px;
    border-top: 1px solid rgba(226, 232, 240, 0.5);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.5) 0%, rgba(241, 245, 249, 0.8) 100%);
}

.pkg-content .card-footer-custom .btn {
    background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.88rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.25);
}

.pkg-content .card-footer-custom .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
    background: linear-gradient(135deg, #0284c7 0%, #075985 100%);
}

/* Featured Badge */
.pkg-content .badge-featured {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 0 18px 0 14px;
    position: absolute;
    top: 0;
    right: 0;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.3px;
}

/* ─── Premium Modal ────────────────────── */
.pkg-modal {
    border-radius: 20px;
    overflow: hidden;
    border: none;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

.pkg-modal .pkg-modal-header {
    background: linear-gradient(135deg, #0369a1 0%, #0ea5e9 50%, #14b8a6 100%);
    color: #fff;
    padding: 24px 28px;
    border: none;
    position: relative;
    overflow: hidden;
}

.pkg-modal .pkg-modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.pkg-modal-badge {
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.pkg-modal .modal-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.pkg-modal .modal-body {
    padding: 28px;
}

.pkg-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 28px;
    border-top: 1px solid rgba(226, 232, 240, 0.5);
    background: rgba(248, 250, 252, 0.8);
}

.pkg-modal-footer-info {
    font-size: 0.85rem;
    color: var(--text-light);
}

.pkg-modal-footer-info strong {
    color: var(--primary-color);
}

.pkg-modal-footer .btn-secondary {
    border-radius: 10px;
    padding: 8px 20px;
    font-weight: 600;
}

/* Modal Items Enhancement */
.pkg-modal-items .item-group-title {
    margin-top: 20px;
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.06), rgba(20, 184, 166, 0.06));
    border-radius: 10px;
    border-bottom: none;
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pkg-modal-items .item-group-title i {
    color: var(--primary-color);
}

/* ─── Skeleton Upgrade ─────────────────── */
.pkg-content .skeleton-card {
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.5);
    overflow: hidden;
}

.pkg-content .skeleton-card::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, #e2e8f0, #cbd5e1, #e2e8f0);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* ─── Empty / Error State Upgrade ──────── */
.pkg-content .state-box {
    background: var(--white);
    border-radius: 20px;
    padding: 60px 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.pkg-content .state-box i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Card Enter Animation ─────────────── */
.pkg-content .col-md-6 {
    animation: cardFadeIn 0.5s ease both;
}

.pkg-content .col-md-6:nth-child(1) {
    animation-delay: 0.05s;
}

.pkg-content .col-md-6:nth-child(2) {
    animation-delay: 0.1s;
}

.pkg-content .col-md-6:nth-child(3) {
    animation-delay: 0.15s;
}

.pkg-content .col-md-6:nth-child(4) {
    animation-delay: 0.2s;
}

.pkg-content .col-md-6:nth-child(5) {
    animation-delay: 0.25s;
}

.pkg-content .col-md-6:nth-child(6) {
    animation-delay: 0.3s;
}

.pkg-content .col-md-6:nth-child(7) {
    animation-delay: 0.35s;
}

.pkg-content .col-md-6:nth-child(8) {
    animation-delay: 0.4s;
}

.pkg-content .col-md-6:nth-child(9) {
    animation-delay: 0.45s;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Responsive ───────────────────────── */
@media (max-width: 767.98px) {
    .pkg-hero {
        padding: 150px 0 50px;
    }

    .pkg-hero h1 {
        font-size: 1.8rem;
    }

    .pkg-hero-sub {
        font-size: 0.95rem;
    }

    .pkg-hero-stats {
        gap: 12px;
    }

    .pkg-hero-stat {
        padding: 10px 16px;
    }

    .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .stat-text strong {
        font-size: 0.82rem;
    }

    .stat-text span {
        font-size: 0.72rem;
    }

    .pkg-filter-body {
        gap: 10px;
    }

    .pkg-filter-group {
        min-width: 100%;
    }

    .pkg-filter-group.pkg-filter-search {
        min-width: 100%;
    }

    .pkg-modal .pkg-modal-header {
        padding: 18px 20px;
    }

    .pkg-modal .modal-body {
        padding: 20px;
    }

    .pkg-modal-footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .pkg-hero {
        padding: 140px 0 40px;
    }

    .pkg-hero h1 {
        font-size: 1.5rem;
    }

    .pkg-hero-stats {
        flex-direction: column;
        align-items: center;
    }

    .pkg-content .package-card .card-body {
        padding: 18px;
    }

    .pkg-content .card-footer-custom {
        padding: 14px 18px;
    }
}

/* ============================================================
   💎 PREMIUM DOCTORS PAGE — Ultra Modern Design
   ============================================================ */

/* ─── Hero Section ─────────────────────── */
.doc-hero {
    position: relative;
    background: linear-gradient(135deg, #1e3a5f 0%, #0369a1 30%, #0ea5e9 60%, #06b6d4 100%);
    padding: 180px 0 80px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.doc-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 25% 40%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(6, 182, 212, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(99, 102, 241, 0.08) 0%, transparent 40%);
    animation: heroBgShift 15s ease infinite alternate;
}

/* Floating Particles */
.doc-hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.doc-hero-particles span {
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    animation: particleFloat 8s infinite ease-in-out;
}

.doc-hero-particles span:nth-child(1) {
    width: 18px;
    height: 18px;
    left: 8%;
    top: 25%;
    animation-delay: 0s;
    animation-duration: 7s;
}

.doc-hero-particles span:nth-child(2) {
    width: 12px;
    height: 12px;
    left: 30%;
    top: 55%;
    animation-delay: 1.2s;
    animation-duration: 9s;
}

.doc-hero-particles span:nth-child(3) {
    width: 22px;
    height: 22px;
    left: 55%;
    top: 18%;
    animation-delay: 2.5s;
    animation-duration: 6s;
}

.doc-hero-particles span:nth-child(4) {
    width: 10px;
    height: 10px;
    left: 72%;
    top: 65%;
    animation-delay: 0.8s;
    animation-duration: 8s;
}

.doc-hero-particles span:nth-child(5) {
    width: 16px;
    height: 16px;
    left: 88%;
    top: 35%;
    animation-delay: 1.8s;
    animation-duration: 10s;
}

.doc-hero-particles span:nth-child(6) {
    width: 14px;
    height: 14px;
    left: 42%;
    top: 80%;
    animation-delay: 3.2s;
    animation-duration: 7s;
}

.doc-hero-particles span:nth-child(7) {
    width: 20px;
    height: 20px;
    left: 65%;
    top: 42%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.doc-hero-particles span:nth-child(8) {
    width: 16px;
    height: 16px;
    left: 18%;
    top: 70%;
    animation-delay: 3.8s;
    animation-duration: 9s;
}

.doc-hero-content {
    position: relative;
    z-index: 2;
}

.doc-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInDown 0.6s ease;
}

.doc-hero h1 {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.6s ease 0.1s both;
}

.doc-hero-sub {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.doc-hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.doc-hero-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 14px 24px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.doc-hero-stat:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* ─── Premium Filter Card ──────────────── */
.doc-content {
    padding: 30px 0 70px;
}

.doc-filter-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.04),
        0 10px 30px -5px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.7);
    margin-bottom: 28px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.doc-filter-card:hover {
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.04),
        0 15px 40px -5px rgba(0, 0, 0, 0.12);
}

.doc-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.03) 0%, rgba(6, 182, 212, 0.03) 100%);
    flex-wrap: wrap;
    gap: 12px;
}

.doc-filter-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.doc-filter-header h3 i {
    color: var(--primary-color);
}

/* View Toggle Buttons */
.doc-view-toggle {
    display: flex;
    gap: 4px;
    background: rgba(241, 245, 249, 0.8);
    padding: 4px;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.doc-view-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-light);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.doc-view-btn:hover {
    color: var(--primary-color);
    background: rgba(14, 165, 233, 0.06);
}

.doc-view-btn.active {
    background: linear-gradient(135deg, #0ea5e9, #0369a1);
    color: #fff;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

.doc-view-btn i {
    font-size: 0.9rem;
}

/* Filter Body */
.doc-filter-body {
    padding: 20px 24px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.doc-filter-group {
    flex: 1;
    min-width: 160px;
}

.doc-filter-group.doc-filter-search {
    flex: 2;
    min-width: 250px;
}

.doc-filter-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 6px;
}

.doc-filter-group label i {
    margin-right: 3px;
    color: var(--primary-color);
    font-size: 0.72rem;
}

.doc-filter-group .form-control,
.doc-filter-group .form-select {
    border-radius: 10px;
    border: 1.5px solid var(--border-color);
    padding: 10px 14px;
    font-size: 0.88rem;
    transition: all 0.2s ease;
    background: rgba(248, 250, 252, 0.5);
}

.doc-filter-group .form-control:focus,
.doc-filter-group .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
    background: #fff;
}

/* ─── Premium Doctor Cards ─────────────── */
.doc-content .doctor-card {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    border-top: none;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.04),
        0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    text-align: center;
}

.doc-content .doctor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0ea5e9, #06b6d4, #14b8a6);
    transition: height 0.3s ease;
}

.doc-content .doctor-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.08),
        0 20px 50px rgba(14, 165, 233, 0.12);
    border-color: rgba(14, 165, 233, 0.2);
}

.doc-content .doctor-card:hover::before {
    height: 5px;
}

/* Doctor Avatar */
.doc-content .doctor-card .doctor-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 16px;
    position: relative;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(6, 182, 212, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: var(--primary-color);
    overflow: hidden;
    border: 3px solid transparent;
    background-clip: padding-box;
    transition: all 0.3s ease;
}

.doc-content .doctor-card:hover .doctor-avatar {
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.15);
    transform: scale(1.05);
}

.doc-content .doctor-card .doctor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doc-content .doctor-card .card-body {
    padding: 28px 20px 16px;
}

.doc-content .doctor-card .doctor-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.doc-content .doctor-card .doctor-specialty {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.doc-content .doctor-card .doctor-specialty i {
    color: var(--primary-color);
    font-size: 0.75rem;
}

.doc-content .doctor-card .doctor-department {
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(6, 182, 212, 0.08));
    color: var(--primary-dark);
    border: 1px solid rgba(14, 165, 233, 0.12);
}

.doc-content .doctor-card .doctor-department i {
    font-size: 0.72rem;
}

/* Card Footer */
.doc-content .doctor-card .card-footer-custom {
    padding: 16px 20px;
    border-top: 1px solid rgba(226, 232, 240, 0.5);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.5) 0%, rgba(241, 245, 249, 0.8) 100%);
}

.doc-content .doctor-card .card-footer-custom .btn {
    background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.25);
}

.doc-content .doctor-card .card-footer-custom .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
    background: linear-gradient(135deg, #0284c7 0%, #075985 100%);
}

/* Card Enter Animation */
.doc-content .col-sm-6 {
    animation: cardFadeIn 0.5s ease both;
}

.doc-content .col-sm-6:nth-child(1) {
    animation-delay: 0.03s;
}

.doc-content .col-sm-6:nth-child(2) {
    animation-delay: 0.06s;
}

.doc-content .col-sm-6:nth-child(3) {
    animation-delay: 0.09s;
}

.doc-content .col-sm-6:nth-child(4) {
    animation-delay: 0.12s;
}

.doc-content .col-sm-6:nth-child(5) {
    animation-delay: 0.15s;
}

.doc-content .col-sm-6:nth-child(6) {
    animation-delay: 0.18s;
}

.doc-content .col-sm-6:nth-child(7) {
    animation-delay: 0.21s;
}

.doc-content .col-sm-6:nth-child(8) {
    animation-delay: 0.24s;
}

.doc-content .col-sm-6:nth-child(n+9) {
    animation-delay: 0.27s;
}

/* ─── Premium Schedule Table ───────────── */
.doc-content .schedule-table-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.doc-content .schedule-table {
    margin-bottom: 0;
}

.doc-content .schedule-table thead th {
    background: linear-gradient(135deg, #0369a1 0%, #0ea5e9 100%);
    font-size: 0.88rem;
    padding: 14px 10px;
    letter-spacing: 0.3px;
}

.doc-content .schedule-table tbody td {
    padding: 10px 8px;
    background: var(--white);
}

.doc-content .schedule-table tbody th {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.04), rgba(6, 182, 212, 0.04));
    font-size: 0.85rem;
    padding: 10px;
}

.doc-content .schedule-cell {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.04), rgba(6, 182, 212, 0.04));
    border-radius: 10px;
    padding: 8px 10px;
    margin-bottom: 6px;
    border-left: 3px solid #0ea5e9;
    transition: all 0.2s ease;
}

.doc-content .schedule-cell:hover {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(6, 182, 212, 0.1));
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.1);
}

/* ─── Premium Modal ────────────────────── */
.doc-modal {
    border-radius: 20px;
    overflow: hidden;
    border: none;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

.doc-modal .doc-modal-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #0369a1 50%, #0ea5e9 100%);
    color: #fff;
    padding: 24px 28px;
    border: none;
    position: relative;
    overflow: hidden;
}

.doc-modal .doc-modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.doc-modal-badge {
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.doc-modal .modal-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.doc-modal .modal-body {
    padding: 28px;
}

.doc-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 28px;
    border-top: 1px solid rgba(226, 232, 240, 0.5);
    background: rgba(248, 250, 252, 0.8);
}

.doc-modal-footer-info {
    font-size: 0.85rem;
    color: var(--text-light);
}

.doc-modal-footer-info strong {
    color: var(--primary-color);
}

.doc-modal-footer .btn-secondary {
    border-radius: 10px;
    padding: 8px 20px;
    font-weight: 600;
}

/* Modal table enhancement */
.doc-modal .table {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.doc-modal .table thead {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(6, 182, 212, 0.08));
}

.doc-modal .table thead th {
    border: none;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-dark);
    padding: 10px 12px;
}

.doc-modal .table tbody td {
    font-size: 0.85rem;
    padding: 10px 12px;
    border-color: rgba(226, 232, 240, 0.4);
}

/* ─── Skeleton Upgrade for Doctors ──────── */
.doc-content .skeleton-card {
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.5);
    overflow: hidden;
}

.doc-content .skeleton-card::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, #e2e8f0, #cbd5e1, #e2e8f0);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* ─── Responsive ───────────────────────── */
@media (max-width: 767.98px) {
    .doc-hero {
        padding: 150px 0 50px;
    }

    .doc-hero h1 {
        font-size: 1.8rem;
    }

    .doc-hero-sub {
        font-size: 0.95rem;
    }

    .doc-hero-stats {
        gap: 12px;
    }

    .doc-hero-stat {
        padding: 10px 16px;
    }

    .doc-filter-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .doc-filter-body {
        gap: 10px;
    }

    .doc-filter-group {
        min-width: 100%;
    }

    .doc-filter-group.doc-filter-search {
        min-width: 100%;
    }

    .doc-view-btn span {
        display: none;
    }

    .doc-modal .doc-modal-header {
        padding: 18px 20px;
    }

    .doc-modal .modal-body {
        padding: 20px;
    }

    .doc-modal-footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .doc-hero {
        padding: 140px 0 40px;
    }

    .doc-hero h1 {
        font-size: 1.5rem;
    }

    .doc-hero-stats {
        flex-direction: column;
        align-items: center;
    }

    .doc-content .doctor-card .card-body {
        padding: 20px 16px 12px;
    }

    .doc-content .doctor-card .doctor-avatar {
        width: 90px;
        height: 90px;
        font-size: 2.2rem;
    }
}

/* ============================================================
   🌿 PACKAGES PAGE REFRESH — Calm Premium Healthcare
   ============================================================ */

.pkg-hero {
    background: linear-gradient(126deg, #0f766e 0%, #0f4c81 48%, #0284c7 100%);
    padding: 174px 0 82px;
}

.pkg-hero-bg {
    background-image:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.14) 0%, transparent 44%),
        radial-gradient(circle at 84% 24%, rgba(52, 211, 153, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 86%, rgba(56, 189, 248, 0.16) 0%, transparent 42%);
}

.pkg-hero-particles span {
    background: rgba(236, 253, 245, 0.28);
}

.pkg-hero-badge {
    background: rgba(15, 23, 42, 0.2);
    border: 1px solid rgba(226, 232, 240, 0.35);
    color: #ecfeff;
}

.pkg-hero h1 {
    letter-spacing: -0.02em;
    text-shadow: 0 10px 26px rgba(15, 23, 42, 0.35);
}

.pkg-hero-sub {
    color: rgba(236, 253, 245, 0.9);
}

.pkg-hero-stats {
    gap: 18px;
}

.pkg-hero-stat {
    background: rgba(15, 23, 42, 0.24);
    border: 1px solid rgba(236, 253, 245, 0.28);
    border-radius: 18px;
}

.pkg-hero-stat .stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.26), rgba(14, 165, 233, 0.22));
    color: #d1fae5;
}

.pkg-hero-stat .stat-text strong {
    color: #f0fdfa;
}

.pkg-hero-stat .stat-text span {
    color: rgba(236, 253, 245, 0.78);
}

.pkg-content {
    background: linear-gradient(180deg, #f2fbf7 0%, #f7fbff 48%, #ffffff 100%);
    padding: 34px 0 78px;
}

.pkg-filter-card {
    border-radius: 24px;
    border: 1px solid rgba(15, 118, 110, 0.15);
    box-shadow:
        0 8px 24px rgba(15, 23, 42, 0.08),
        0 24px 50px rgba(15, 23, 42, 0.06);
}

.pkg-filter-header {
    background: linear-gradient(125deg, rgba(16, 185, 129, 0.08) 0%, rgba(14, 165, 233, 0.1) 100%);
    border-bottom: 1px solid rgba(15, 118, 110, 0.15);
    gap: 14px;
}

.pkg-filter-heading {
    display: grid;
    gap: 3px;
}

.pkg-filter-heading h3 {
    color: #0f172a;
}

.pkg-filter-heading h3 i {
    color: #0f766e;
}

.pkg-filter-heading p {
    margin: 0;
    color: #64748b;
    font-size: 0.8rem;
}

.pkg-filter-clear {
    border-color: rgba(15, 118, 110, 0.2);
    color: #0f4c81;
    background: #ffffff;
}

.pkg-filter-clear:hover {
    background: rgba(15, 118, 110, 0.1);
    border-color: rgba(15, 118, 110, 0.3);
    color: #0f766e;
}

.pkg-filter-group label {
    color: #0f4c81;
}

.pkg-filter-group label i {
    color: #0f766e;
}

.pkg-filter-group .form-control,
.pkg-filter-group .form-select {
    border-color: rgba(15, 118, 110, 0.2);
    background: #fbfffe;
}

.pkg-filter-group .form-control:focus,
.pkg-filter-group .form-select:focus {
    border-color: #0f766e;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16);
}

.pkg-featured-toggle .toggle-slider {
    background: #94a3b8;
}

.pkg-featured-toggle input:checked+.toggle-slider {
    background: linear-gradient(135deg, #0f766e, #0284c7);
}

.toggle-label {
    color: #0f4c81;
}

.toggle-label i {
    color: #0f766e;
}

.pkg-results-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #334155;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 118, 110, 0.14);
    border-radius: 12px;
    padding: 8px 12px;
}

.pkg-results-info i {
    color: #0f766e;
}

.pkg-results-info strong {
    color: #0f4c81;
}

.pkg-results-filter {
    color: #64748b;
    font-size: 0.8rem;
}

.pkg-content .package-card {
    border-radius: 22px;
    border: 1px solid rgba(15, 118, 110, 0.14);
    box-shadow:
        0 8px 20px rgba(15, 23, 42, 0.07),
        0 20px 45px rgba(15, 23, 42, 0.05);
}

.pkg-content .package-card::before {
    background: linear-gradient(90deg, #16a34a 0%, #0f766e 46%, #0284c7 100%);
}

.pkg-content .package-card:hover {
    border-color: rgba(15, 118, 110, 0.24);
    box-shadow:
        0 16px 34px rgba(15, 23, 42, 0.1),
        0 26px 54px rgba(15, 118, 110, 0.12);
}

.pkg-content .package-card .card-title {
    color: #0f172a;
}

.pkg-content .package-card .card-price {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: #0369a1;
}

.pkg-content .package-card .card-price small {
    color: #64748b;
}

.pkg-content .package-card .card-desc {
    color: #475569;
}

.pkg-card-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.pkg-card-meta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(15, 118, 110, 0.18);
    background: rgba(240, 253, 250, 0.8);
    color: #0f4c81;
    font-size: 0.72rem;
    font-weight: 700;
}

.pkg-content .badge-fasting {
    background: rgba(234, 88, 12, 0.16);
    color: #9a3412;
    border-color: rgba(234, 88, 12, 0.2);
}

.pkg-content .badge-no-fasting {
    background: rgba(16, 185, 129, 0.16);
    color: #047857;
    border-color: rgba(16, 185, 129, 0.2);
}

.pkg-content .badge-duration {
    background: rgba(14, 165, 233, 0.15);
    color: #075985;
    border-color: rgba(14, 165, 233, 0.2);
}

.pkg-content .badge-gender {
    background: rgba(15, 118, 110, 0.14);
    color: #115e59;
    border-color: rgba(15, 118, 110, 0.2);
}

.pkg-content .badge-age {
    background: rgba(12, 74, 110, 0.14);
    color: #0c4a6e;
    border-color: rgba(12, 74, 110, 0.2);
}

.pkg-content .card-items li {
    color: #334155;
}

.pkg-content .card-items li i {
    color: #0f766e;
}

.pkg-content .card-footer-custom {
    background: linear-gradient(180deg, rgba(236, 253, 245, 0.45) 0%, rgba(239, 246, 255, 0.72) 100%);
    border-top: 1px solid rgba(15, 118, 110, 0.1);
}

.pkg-content .card-footer-custom .pkg-detail-btn {
    background: linear-gradient(135deg, #0f766e 0%, #0369a1 100%);
    color: #f8fafc;
    border: none;
    border-radius: 11px;
    padding: 10px 16px;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 16px rgba(15, 118, 110, 0.28);
}

.pkg-content .card-footer-custom .pkg-detail-btn:hover {
    background: linear-gradient(135deg, #0f8b80 0%, #0b5f95 100%);
    transform: translateY(-1px);
    box-shadow: 0 12px 18px rgba(15, 118, 110, 0.32);
}

.pkg-content .badge-featured {
    background: linear-gradient(135deg, #0f766e 0%, #0284c7 100%);
    box-shadow: 0 4px 14px rgba(14, 116, 144, 0.3);
}

.pkg-modal {
    border-radius: 26px;
    border: 1px solid rgba(15, 118, 110, 0.15);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.24);
}

.pkg-modal .pkg-modal-header {
    background: linear-gradient(130deg, #0f4c81 0%, #0f766e 42%, #0284c7 100%);
    padding: 24px 28px;
}

.pkg-modal .pkg-modal-header::before {
    background: rgba(240, 253, 250, 0.15);
}

.pkg-modal-badge {
    background: rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(236, 253, 245, 0.28);
    color: #ecfeff;
}

.pkg-modal .modal-body {
    padding: 24px 28px;
    background: linear-gradient(180deg, #f6fbf9 0%, #f8fbff 100%);
}

.pkg-detail-shell {
    display: grid;
    gap: 14px;
}

.pkg-detail-head {
    display: grid;
    gap: 10px;
}

.pkg-detail-price {
    font-size: 1.78rem;
    font-weight: 900;
    color: #0369a1;
    letter-spacing: -0.01em;
}

.pkg-detail-price small {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 700;
}

.pkg-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pkg-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(15, 118, 110, 0.16);
    color: #1e3a5f;
    font-size: 0.74rem;
    font-weight: 700;
}

.pkg-meta-chip i {
    color: #0f766e;
}

.pkg-meta-chip.is-alert {
    background: rgba(234, 88, 12, 0.14);
    border-color: rgba(234, 88, 12, 0.24);
    color: #9a3412;
}

.pkg-meta-chip.is-good {
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(16, 185, 129, 0.24);
    color: #047857;
}

.pkg-detail-desc {
    margin: 0;
    color: #334155;
    font-size: 0.92rem;
    line-height: 1.75;
}

.pkg-detail-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 11px;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(14, 165, 233, 0.18);
    color: #0c4a6e;
    font-size: 0.83rem;
}

.pkg-detail-note i {
    margin-top: 2px;
}

.pkg-group-block {
    border-radius: 12px;
    border: 1px solid rgba(15, 118, 110, 0.14);
    background: #ffffff;
    overflow: hidden;
}

.pkg-group-title {
    margin: 0;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(14, 165, 233, 0.08));
    color: #0f4c81;
    font-size: 0.84rem;
    font-weight: 800;
}

.pkg-group-title i {
    color: #0f766e;
}

.pkg-group-count {
    margin-left: auto;
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 700;
}

.pkg-group-list {
    margin: 0;
    padding: 8px 12px 12px;
    list-style: none;
    display: grid;
    gap: 6px;
}

.pkg-group-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    color: #334155;
}

.pkg-item-dot {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.14);
    color: #0f766e;
    font-size: 0.62rem;
}

.pkg-modal-loading,
.pkg-modal-empty {
    min-height: 180px;
    display: grid;
    place-items: center;
    text-align: center;
    gap: 8px;
    color: #475569;
}

.pkg-modal-loading .spinner-border {
    color: #0f766e;
}

.pkg-modal-loading p,
.pkg-modal-empty p {
    margin: 0;
    font-size: 0.88rem;
    color: #64748b;
}

.pkg-modal-empty i {
    font-size: 1.5rem;
    color: #0f766e;
}

.pkg-modal-empty h6 {
    margin: 0;
    color: #0f172a;
}

.pkg-modal-empty.is-error i {
    color: #dc2626;
}

.pkg-modal-footer {
    border-top: 1px solid rgba(15, 118, 110, 0.16);
    background: linear-gradient(180deg, rgba(240, 253, 250, 0.75), rgba(239, 246, 255, 0.8));
}

.pkg-modal-footer-info {
    color: #475569;
}

.pkg-modal-footer-info strong {
    color: #0369a1;
}

.pkg-modal-footer .btn-secondary {
    border: 1px solid rgba(15, 118, 110, 0.24);
    background: #64748b;
}

.pkg-modal-footer .btn-secondary:hover {
    background: #475569;
}

@media (max-width: 767.98px) {
    .pkg-hero {
        padding: 148px 0 52px;
    }

    .pkg-hero-stat {
        width: 100%;
        justify-content: flex-start;
    }

    .pkg-filter-card {
        border-radius: 18px;
    }

    .pkg-filter-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .pkg-filter-actions {
        width: 100%;
    }

    .pkg-filter-clear {
        width: 100%;
        justify-content: center;
    }

    .pkg-modal {
        border-radius: 18px;
    }

    .pkg-modal .modal-body {
        padding: 18px 16px;
    }

    .pkg-detail-meta {
        gap: 6px;
    }

    .pkg-meta-chip {
        font-size: 0.72rem;
    }
}

/* ============================================================
   🌿 DOCTORS PAGE REFRESH — Calm Premium Healthcare
   ============================================================ */

.doc-hero {
    background: linear-gradient(128deg, #0f766e 0%, #0f4c81 48%, #0284c7 100%);
    padding: 176px 0 84px;
}

.doc-hero-bg {
    background-image:
        radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.14) 0%, transparent 42%),
        radial-gradient(circle at 84% 24%, rgba(34, 197, 94, 0.14) 0%, transparent 38%),
        radial-gradient(circle at 52% 84%, rgba(56, 189, 248, 0.16) 0%, transparent 40%);
}

.doc-hero-particles span {
    background: rgba(236, 253, 245, 0.3);
}

.doc-hero-badge {
    background: rgba(15, 23, 42, 0.2);
    border: 1px solid rgba(226, 232, 240, 0.35);
    color: #ecfeff;
}

.doc-hero h1 {
    letter-spacing: -0.02em;
    text-shadow: 0 10px 26px rgba(15, 23, 42, 0.35);
}

.doc-hero-sub {
    color: rgba(236, 253, 245, 0.9);
}

.doc-hero-stats {
    gap: 18px;
}

.doc-hero-stat {
    background: rgba(15, 23, 42, 0.24);
    border: 1px solid rgba(236, 253, 245, 0.28);
    border-radius: 18px;
}

.doc-hero-stat .stat-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(14, 165, 233, 0.2));
    color: #d1fae5;
}

.doc-hero-stat .stat-text strong {
    color: #f0fdfa;
}

.doc-hero-stat .stat-text span {
    color: rgba(236, 253, 245, 0.78);
}

.doc-content {
    background: linear-gradient(180deg, #f2fbf7 0%, #f7fbff 48%, #ffffff 100%);
    padding: 34px 0 78px;
}

.doc-filter-card {
    border-radius: 24px;
    border: 1px solid rgba(15, 118, 110, 0.15);
    box-shadow:
        0 8px 24px rgba(15, 23, 42, 0.08),
        0 24px 50px rgba(15, 23, 42, 0.06);
}

.doc-filter-header {
    background: linear-gradient(125deg, rgba(16, 185, 129, 0.08) 0%, rgba(14, 165, 233, 0.1) 100%);
    border-bottom: 1px solid rgba(15, 118, 110, 0.15);
}

.doc-filter-header h3 i {
    color: #0f766e;
}

.doc-view-toggle {
    background: rgba(240, 253, 250, 0.95);
    border-color: rgba(16, 185, 129, 0.2);
}

.doc-view-btn {
    color: #0f4c81;
}

.doc-view-btn:hover {
    background: rgba(16, 185, 129, 0.12);
    color: #0f766e;
}

.doc-view-btn.active {
    background: linear-gradient(135deg, #0f766e 0%, #0369a1 100%);
    box-shadow: 0 8px 16px rgba(15, 118, 110, 0.28);
}

.doc-filter-group label {
    color: #0f4c81;
}

.doc-filter-group label i {
    color: #0f766e;
}

.doc-filter-group .form-control,
.doc-filter-group .form-select {
    border-color: rgba(15, 118, 110, 0.2);
    background: #fbfffe;
}

.doc-filter-group .form-control:focus,
.doc-filter-group .form-select:focus {
    border-color: #0f766e;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16);
}

.doc-content .doctor-card {
    border-radius: 22px;
    border: 1px solid rgba(15, 118, 110, 0.14);
    box-shadow:
        0 8px 20px rgba(15, 23, 42, 0.07),
        0 20px 45px rgba(15, 23, 42, 0.05);
}

.doc-content .doctor-card::before {
    background: linear-gradient(90deg, #16a34a 0%, #0f766e 46%, #0284c7 100%);
}

.doc-content .doctor-card:hover {
    border-color: rgba(15, 118, 110, 0.24);
    box-shadow:
        0 16px 34px rgba(15, 23, 42, 0.1),
        0 26px 54px rgba(15, 118, 110, 0.12);
}

.doc-content .doctor-card .doctor-avatar {
    background: linear-gradient(140deg, rgba(22, 163, 74, 0.14), rgba(14, 165, 233, 0.14));
    color: #0f766e;
}

.doc-content .doctor-card:hover .doctor-avatar {
    border-color: rgba(15, 118, 110, 0.35);
    box-shadow: 0 6px 20px rgba(15, 118, 110, 0.2);
}

.doc-content .doctor-card .doctor-name {
    color: #0f172a;
}

.doc-content .doctor-card .doctor-specialty {
    color: #1e3a5f;
}

.doc-content .doctor-card .doctor-specialty i {
    color: #0f766e;
}

.doc-content .doctor-card .doctor-department {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(14, 165, 233, 0.12));
    color: #0b4f6c;
    border-color: rgba(15, 118, 110, 0.2);
}

.doc-content .doctor-card .card-footer-custom {
    background: linear-gradient(180deg, rgba(236, 253, 245, 0.45) 0%, rgba(239, 246, 255, 0.7) 100%);
    border-top: 1px solid rgba(15, 118, 110, 0.1);
}

.doc-content .doctor-card .card-footer-custom .doc-schedule-btn {
    background: linear-gradient(135deg, #0f766e 0%, #0369a1 100%);
    color: #f8fafc;
    border: none;
    border-radius: 11px;
    padding: 10px 16px;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 16px rgba(15, 118, 110, 0.28);
}

.doc-content .doctor-card .card-footer-custom .doc-schedule-btn:hover {
    background: linear-gradient(135deg, #0f8b80 0%, #0b5f95 100%);
    transform: translateY(-1px);
    box-shadow: 0 12px 18px rgba(15, 118, 110, 0.32);
}

.doc-content .schedule-table-wrap {
    border-radius: 18px;
    border: 1px solid rgba(15, 118, 110, 0.18);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.doc-content .schedule-table thead th {
    background: linear-gradient(125deg, #0f4c81 0%, #0f766e 48%, #0284c7 100%);
    color: #f0fdfa;
}

.doc-content .schedule-table tbody th {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(14, 165, 233, 0.08));
    color: #0b4f6c;
}

.doc-content .schedule-table tbody td {
    background: rgba(255, 255, 255, 0.92);
}

.doc-content .schedule-cell {
    background: #ffffff;
    border: 1px solid rgba(15, 118, 110, 0.16);
    border-left: 3px solid #0f766e;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.doc-content .schedule-cell:hover {
    background: linear-gradient(135deg, rgba(236, 253, 245, 0.8), rgba(239, 246, 255, 0.75));
    border-color: rgba(15, 118, 110, 0.28);
    box-shadow: 0 8px 16px rgba(15, 118, 110, 0.16);
}

.doc-content .schedule-clickable {
    cursor: pointer;
}

.doc-content .schedule-empty {
    color: #7c8ea5;
    font-size: 0.76rem;
}

.doc-content .mobile-schedule-accordion .accordion-item {
    border: 1px solid rgba(15, 118, 110, 0.16);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 10px;
}

.doc-content .mobile-schedule-accordion .accordion-button {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(14, 165, 233, 0.08));
    color: #0b4f6c;
    font-weight: 700;
}

.doc-content .mobile-schedule-accordion .accordion-button:not(.collapsed) {
    color: #0f4c81;
}

.doc-content .mobile-schedule-accordion .badge.bg-primary {
    background: linear-gradient(135deg, #0f766e 0%, #0369a1 100%) !important;
}

.doc-modal {
    border-radius: 26px;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.24);
    border: 1px solid rgba(15, 118, 110, 0.15);
}

.doc-modal .doc-modal-header {
    background: linear-gradient(130deg, #0f4c81 0%, #0f766e 42%, #0284c7 100%);
    padding: 24px 28px;
}

.doc-modal .doc-modal-header::before {
    background: rgba(240, 253, 250, 0.15);
}

.doc-modal-badge {
    background: rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(236, 253, 245, 0.28);
    color: #ecfeff;
}

.doc-modal .modal-body {
    padding: 24px 28px;
    background: linear-gradient(180deg, #f6fbf9 0%, #f8fbff 100%);
}

.doc-modal-profile {
    display: grid;
    gap: 14px;
}

.doc-modal-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.doc-meta-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 11px;
    background: #ffffff;
    border: 1px solid rgba(15, 118, 110, 0.16);
    color: #1e3a5f;
    font-size: 0.85rem;
    font-weight: 600;
}

.doc-meta-pill i {
    color: #0f766e;
}

.doc-modal-bio {
    margin: 2px 0 4px;
    font-size: 0.92rem;
    line-height: 1.75;
    color: #334155;
}

.doc-modal-table-wrap {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(15, 118, 110, 0.14);
    background: #ffffff;
}

.doc-modal-table {
    margin: 0;
}

.doc-modal-table thead th {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(14, 165, 233, 0.13));
    color: #0f4c81;
    border: none;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    padding: 11px 12px;
}

.doc-modal-table tbody td {
    color: #334155;
    font-size: 0.86rem;
    padding: 11px 12px;
    border-color: rgba(15, 118, 110, 0.1);
}

.doc-session-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
}

.doc-session-badge.is-morning {
    background: rgba(14, 165, 233, 0.15);
    color: #075985;
}

.doc-session-badge.is-afternoon {
    background: rgba(245, 158, 11, 0.18);
    color: #92400e;
}

.doc-session-badge.is-evening {
    background: rgba(99, 102, 241, 0.18);
    color: #4338ca;
}

.doc-session-badge.is-default {
    background: rgba(148, 163, 184, 0.2);
    color: #334155;
}

.doc-modal-loading,
.doc-modal-empty {
    min-height: 160px;
    display: grid;
    place-items: center;
    text-align: center;
    gap: 8px;
    color: #475569;
}

.doc-modal-loading .spinner-border {
    color: #0f766e !important;
}

.doc-modal-loading p,
.doc-modal-empty p {
    margin: 0;
    font-size: 0.88rem;
    color: #64748b;
}

.doc-modal-empty i {
    font-size: 1.5rem;
    color: #0f766e;
}

.doc-modal-empty h6 {
    margin: 0;
    color: #0f172a;
}

.doc-modal-empty.is-error i {
    color: #dc2626;
}

.doc-modal-footer {
    border-top: 1px solid rgba(15, 118, 110, 0.16);
    background: linear-gradient(180deg, rgba(240, 253, 250, 0.75), rgba(239, 246, 255, 0.8));
}

.doc-modal-footer-info {
    color: #475569;
}

.doc-modal-footer-info strong {
    color: #0369a1;
}

.doc-modal-footer .btn-secondary {
    border: 1px solid rgba(15, 118, 110, 0.24);
    background: #64748b;
}

.doc-modal-footer .btn-secondary:hover {
    background: #475569;
}

@media (max-width: 767.98px) {
    .doc-hero {
        padding: 148px 0 52px;
    }

    .doc-hero-stat {
        width: 100%;
        justify-content: flex-start;
    }

    .doc-filter-card {
        border-radius: 18px;
    }

    .doc-modal {
        border-radius: 18px;
    }

    .doc-modal .modal-body {
        padding: 18px 16px;
    }

    .doc-modal-meta-grid {
        grid-template-columns: 1fr;
    }

    .doc-modal-table thead th,
    .doc-modal-table tbody td {
        white-space: nowrap;
    }
}

/* ============================================================
   💎 PREMIUM KNOWLEDGE PAGE — Ultra Modern Design
   ============================================================ */

/* ─── Hero Section ─────────────────────── */
.know-hero {
    position: relative;
    background: linear-gradient(135deg, #1e3a5f 0%, #0e7490 30%, #14b8a6 60%, #10b981 100%);
    padding: 180px 0 80px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.know-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 30% 45%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 20%, rgba(16, 185, 129, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(99, 102, 241, 0.08) 0%, transparent 40%);
    animation: heroBgShift 15s ease infinite alternate;
}

/* Floating Particles */
.know-hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.know-hero-particles span {
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    animation: particleFloat 8s infinite ease-in-out;
}

.know-hero-particles span:nth-child(1) {
    width: 18px;
    height: 18px;
    left: 12%;
    top: 22%;
    animation-delay: 0s;
    animation-duration: 7s;
}

.know-hero-particles span:nth-child(2) {
    width: 14px;
    height: 14px;
    left: 28%;
    top: 58%;
    animation-delay: 1.3s;
    animation-duration: 9s;
}

.know-hero-particles span:nth-child(3) {
    width: 22px;
    height: 22px;
    left: 52%;
    top: 16%;
    animation-delay: 2.2s;
    animation-duration: 6s;
}

.know-hero-particles span:nth-child(4) {
    width: 10px;
    height: 10px;
    left: 68%;
    top: 68%;
    animation-delay: 0.6s;
    animation-duration: 8s;
}

.know-hero-particles span:nth-child(5) {
    width: 16px;
    height: 16px;
    left: 82%;
    top: 32%;
    animation-delay: 1.6s;
    animation-duration: 10s;
}

.know-hero-particles span:nth-child(6) {
    width: 12px;
    height: 12px;
    left: 38%;
    top: 82%;
    animation-delay: 3s;
    animation-duration: 7s;
}

.know-hero-particles span:nth-child(7) {
    width: 20px;
    height: 20px;
    left: 62%;
    top: 44%;
    animation-delay: 2.4s;
    animation-duration: 8s;
}

.know-hero-particles span:nth-child(8) {
    width: 14px;
    height: 14px;
    left: 16%;
    top: 72%;
    animation-delay: 3.6s;
    animation-duration: 9s;
}

.know-hero-content {
    position: relative;
    z-index: 2;
}

.know-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInDown 0.6s ease;
}

.know-hero h1 {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.6s ease 0.1s both;
}

.know-hero-sub {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.know-hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.know-hero-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 14px 24px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.know-hero-stat:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* ─── Premium Filter Card ──────────────── */
.know-content {
    padding: 30px 0 70px;
}

.know-filter-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.04),
        0 10px 30px -5px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.7);
    margin-bottom: 28px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.know-filter-card:hover {
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.04),
        0 15px 40px -5px rgba(0, 0, 0, 0.12);
}

.know-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.03) 0%, rgba(20, 184, 166, 0.03) 100%);
}

.know-filter-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.know-filter-header h3 i {
    color: #10b981;
}

.know-filter-body {
    padding: 20px 24px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.know-filter-group {
    flex: 1;
    min-width: 200px;
}

.know-filter-group.know-filter-search {
    flex: 2;
    min-width: 300px;
}

.know-filter-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 6px;
}

.know-filter-group label i {
    margin-right: 3px;
    color: #10b981;
    font-size: 0.72rem;
}

.know-filter-group .form-control,
.know-filter-group .form-select {
    border-radius: 10px;
    border: 1.5px solid var(--border-color);
    padding: 10px 14px;
    font-size: 0.88rem;
    transition: all 0.2s ease;
    background: rgba(248, 250, 252, 0.5);
}

.know-filter-group .form-control:focus,
.know-filter-group .form-select:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
    background: #fff;
}

/* ─── Premium Knowledge Cards ──────────── */
.know-content .knowledge-card {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    border-top: none;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.04),
        0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.know-content .knowledge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #14b8a6, #0ea5e9);
    transition: height 0.3s ease;
}

.know-content .knowledge-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.08),
        0 20px 50px rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.2);
}

.know-content .knowledge-card:hover::before {
    height: 5px;
}

/* Card Cover */
.know-content .knowledge-card .card-cover {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.know-content .knowledge-card:hover .card-cover img {
    transform: scale(1.05);
}

.know-content .knowledge-card .card-cover img {
    transition: transform 0.5s ease;
}

.know-content .knowledge-card .cover-placeholder {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(20, 184, 166, 0.08));
}

.know-content .knowledge-card .cover-placeholder i {
    color: #14b8a6;
}

/* Card Body */
.know-content .knowledge-card .card-body {
    padding: 20px 22px 16px;
}

.know-content .knowledge-card .card-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.know-content .knowledge-card .card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.know-content .knowledge-card .card-excerpt {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}

.know-content .badge-category {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(16, 185, 129, 0.15));
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.15);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Card Footer */
.know-content .knowledge-card .card-footer-custom {
    padding: 14px 22px;
    border-top: 1px solid rgba(226, 232, 240, 0.5);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.5) 0%, rgba(241, 245, 249, 0.8) 100%);
}

.know-content .knowledge-card .card-footer-custom .btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.know-content .knowledge-card .card-footer-custom .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

/* Card Enter Animation */
.know-content .col-md-6 {
    animation: cardFadeIn 0.5s ease both;
}

.know-content .col-md-6:nth-child(1) {
    animation-delay: 0.05s;
}

.know-content .col-md-6:nth-child(2) {
    animation-delay: 0.1s;
}

.know-content .col-md-6:nth-child(3) {
    animation-delay: 0.15s;
}

.know-content .col-md-6:nth-child(4) {
    animation-delay: 0.2s;
}

.know-content .col-md-6:nth-child(5) {
    animation-delay: 0.25s;
}

.know-content .col-md-6:nth-child(6) {
    animation-delay: 0.3s;
}

.know-content .col-md-6:nth-child(7) {
    animation-delay: 0.35s;
}

.know-content .col-md-6:nth-child(8) {
    animation-delay: 0.4s;
}

.know-content .col-md-6:nth-child(9) {
    animation-delay: 0.45s;
}

/* Skeleton Upgrade */
.know-content .skeleton-card {
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.5);
    overflow: hidden;
}

.know-content .skeleton-card::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, #e2e8f0, #cbd5e1, #e2e8f0);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* State Box */
.know-content .state-box {
    background: var(--white);
    border-radius: 20px;
    padding: 60px 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.know-content .state-box i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #10b981, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Responsive ───────────────────────── */
@media (max-width: 767.98px) {
    .know-hero {
        padding: 150px 0 50px;
    }

    .know-hero h1 {
        font-size: 1.8rem;
    }

    .know-hero-sub {
        font-size: 0.95rem;
    }

    .know-hero-stats {
        gap: 12px;
    }

    .know-hero-stat {
        padding: 10px 16px;
    }

    .know-filter-body {
        gap: 10px;
    }

    .know-filter-group {
        min-width: 100%;
    }

    .know-filter-group.know-filter-search {
        min-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .know-hero {
        padding: 140px 0 40px;
    }

    .know-hero h1 {
        font-size: 1.5rem;
    }

    .know-hero-stats {
        flex-direction: column;
        align-items: center;
    }

    .know-content .knowledge-card .card-body {
        padding: 16px;
    }

    .know-content .knowledge-card .card-cover {
        height: 160px;
    }
}

/* ═══════════════════════════════════════
   SKELETON LOADING
   ═══════════════════════════════════════ */
@keyframes skPulse {
    0% {
        opacity: .15
    }

    50% {
        opacity: .3
    }

    100% {
        opacity: .15
    }
}

.sk-bar {
    background: #94a3b8;
    border-radius: 4px;
    animation: skPulse 1.5s ease-in-out infinite;
    margin-bottom: 10px;
}

.sk-title {
    height: 28px;
    width: 60%;
}

.sk-subtitle {
    height: 18px;
    width: 45%;
}

.sk-line {
    height: 14px;
    width: 100%;
}

.sk-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 16px 0;
}

.w-75 {
    width: 75% !important;
}

.w-80 {
    width: 80% !important;
}

.w-60 {
    width: 60% !important;
}

.w-50 {
    width: 50% !important;
}

.page-skeleton {
    max-width: 700px;
}

/* ═══════════════════════════════════════
   PAGE HERO
   ═══════════════════════════════════════ */
.page-hero {
    position: relative;
    overflow: hidden;
}

.page-hero h1 {
    font-size: 2.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, .15);
}

.page-hero .lead {
    font-size: 1.05rem;
}

/* ═══════════════════════════════════════
   CONTENT BODY (CMS HTML)
   ═══════════════════════════════════════ */
.content-body {
    font-size: .95rem;
    line-height: 1.8;
    color: #334155;
}

.content-body h2,
.content-body h3 {
    color: #0d6efd;
    margin-top: 1.5rem;
    margin-bottom: .75rem;
}

.content-body ul,
.content-body ol {
    padding-left: 1.5rem;
}

.content-body blockquote {
    border-left: 4px solid #0d6efd;
    padding: .75rem 1rem;
    background: #f0f9ff;
    border-radius: 0 8px 8px 0;
    margin: 1rem 0;
}

.content-body a {
    color: #0d6efd;
    text-decoration: underline;
}

.content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

/* ═══════════════════════════════════════
   NEWS CARDS
   ═══════════════════════════════════════ */
.news-card {
    transition: transform .2s, box-shadow .2s;
    border: none;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .1) !important;
}

/* ============================================================
   KNOWLEDGE UX REFRESH - Public library + article view
   ============================================================ */
.know-hero.know-hero-redesign {
    position: relative;
    min-height: 560px;
    padding: 150px 0 86px;
    text-align: left;
    background:
        radial-gradient(circle at 8% 20%, rgba(255, 255, 255, 0.18), transparent 26%),
        radial-gradient(circle at 86% 18%, rgba(245, 158, 11, 0.22), transparent 25%),
        linear-gradient(135deg, #075985 0%, #0f8bb6 42%, #0f9f83 78%, #f0a429 145%);
}

.know-hero.know-hero-redesign::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 88px;
    background: linear-gradient(180deg, transparent, rgba(241, 248, 246, 0.98));
    pointer-events: none;
}

.know-hero-orb {
    position: absolute;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08) 58%, transparent 72%);
    pointer-events: none;
    animation: knowledgeFloat 18s ease-in-out infinite;
}

.know-hero-orb-one {
    width: 360px;
    height: 360px;
    right: -100px;
    top: -90px;
}

.know-hero-orb-two {
    width: 260px;
    height: 260px;
    left: -85px;
    bottom: 26px;
    animation-duration: 22s;
    animation-direction: reverse;
}

.know-hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 410px);
    gap: clamp(28px, 5vw, 76px);
    align-items: center;
}

.know-hero-copy {
    max-width: 770px;
}

.know-hero.know-hero-redesign .know-hero-badge {
    margin-bottom: 18px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    box-shadow: none;
}

.know-hero.know-hero-redesign h1 {
    max-width: 780px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.2rem, 6vw, 4.65rem);
    font-weight: 950;
    line-height: 1.04;
    letter-spacing: -0.055em;
    text-shadow: 0 18px 46px rgba(7, 24, 39, 0.20);
}

.know-hero.know-hero-redesign .know-hero-sub {
    max-width: 690px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.90);
    font-size: clamp(1rem, 1.45vw, 1.24rem);
    line-height: 1.85;
}

.know-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 30px;
}

.know-primary-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 999px;
    background: #ffffff;
    color: #0f7294;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 18px 40px rgba(7, 24, 39, 0.18);
}

.know-primary-link:hover {
    color: #0f9f83;
    transform: translateY(-2px);
}

.know-hero-actions span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 750;
}

.know-hero-digest {
    position: relative;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 30px;
    background:
        radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.18), transparent 34%),
        rgba(255, 255, 255, 0.14);
    color: #ffffff;
    box-shadow: 0 24px 60px rgba(7, 24, 39, 0.22);
    backdrop-filter: blur(16px);
}

.know-digest-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin-bottom: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 1.7rem;
}

.know-hero-digest strong {
    display: block;
    font-size: 1.38rem;
    font-weight: 950;
}

.know-hero-digest p {
    margin: 10px 0 20px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.75;
}

.know-digest-grid {
    display: grid;
    gap: 10px;
}

.know-digest-grid span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    font-weight: 750;
}

.know-digest-grid b {
    color: #fde68a;
}

.knowledge-breadcrumb {
    background: #f1f8f6;
}

.know-content {
    position: relative;
    padding: 36px 0 82px;
    background:
        radial-gradient(circle at 8% 16%, rgba(15, 159, 131, 0.08), transparent 28%),
        linear-gradient(180deg, #f1f8f6 0%, #edf5f8 100%);
}

.know-content .know-filter-card {
    margin-top: -72px;
    margin-bottom: 30px;
    border: 1px solid rgba(15, 159, 131, 0.16);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    backdrop-filter: blur(16px);
}

.know-content .know-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 24px;
    background:
        radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.12), transparent 36%),
        linear-gradient(135deg, #fbfdfd, #f1fbf8);
}

.know-content .know-filter-header h3 {
    margin: 0;
    color: #102033;
    font-size: 1.06rem;
    font-weight: 950;
}

.know-content .know-filter-header p {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 0.9rem;
}

.know-result-count {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #eef7fb;
    color: #0f7294;
    font-size: 0.84rem;
    font-weight: 900;
    white-space: nowrap;
}

.know-content .know-filter-body {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.7fr) auto;
    gap: 16px;
    align-items: end;
    padding: 22px 24px;
}

.know-content .know-filter-group label {
    color: #274157;
    font-weight: 850;
}

.know-content .know-filter-group .form-control,
.know-content .know-filter-group .form-select {
    min-height: 50px;
    border: 1px solid rgba(14, 116, 144, 0.18);
    border-radius: 16px;
    background: #fbfefd;
    font-size: 0.96rem;
}

.know-clear-btn {
    min-height: 50px;
    padding: 0 16px;
    border: 1px solid rgba(14, 116, 144, 0.18);
    border-radius: 16px;
    background: #ffffff;
    color: #52687c;
    font-weight: 850;
}

.know-clear-btn:hover {
    border-color: rgba(15, 159, 131, 0.38);
    color: #0f7294;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.know-active-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding: 0 24px 22px;
}

.know-active-filter:empty {
    display: none;
}

.know-active-filter strong,
.know-active-filter span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 0.82rem;
}

.know-active-filter strong {
    color: #64748b;
    padding-left: 0;
}

.know-active-filter span {
    background: #d1fae5;
    color: #047857;
    font-weight: 850;
}

.knowledge-card-col {
    animation: knowledgeFadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: var(--delay, 0ms);
}

.knowledge-card-v2 {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease;
}

.knowledge-card-v2:hover {
    transform: translateY(-7px);
    border-color: rgba(15, 159, 131, 0.26);
    box-shadow: 0 28px 58px rgba(15, 23, 42, 0.13);
}

.knowledge-card-media {
    position: relative;
    display: block;
    min-height: 212px;
    overflow: hidden;
    background: linear-gradient(135deg, #e0f2fe, #d1fae5);
}

.knowledge-card-media img {
    width: 100%;
    height: 100%;
    min-height: 212px;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.55s ease;
}

.knowledge-card-v2:hover .knowledge-card-media img {
    filter: saturate(1.06);
    transform: scale(1.07);
}

.knowledge-cover-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 212px;
    color: #0f7294;
    font-size: 3rem;
}

.knowledge-card-icon {
    position: absolute;
    top: 16px;
    left: 16px;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 18px;
    background: var(--card-icon-color, #0f8bb6);
    color: #ffffff;
    font-size: 1.2rem;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.24);
    z-index: 2;
}

.knowledge-card-media img + .knowledge-card-icon {
    backdrop-filter: blur(8px);
}

.knowledge-card-category {
    position: absolute;
    left: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    max-width: calc(100% - 32px);
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(7, 24, 39, 0.72);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
    backdrop-filter: blur(10px);
}

.knowledge-card-body {
    flex: 1;
    padding: 22px 22px 12px;
}

.knowledge-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 13px;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 750;
}

.knowledge-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.knowledge-card-body h2 {
    margin: 0 0 10px;
    font-size: clamp(1.06rem, 1.35vw, 1.22rem);
    line-height: 1.45;
    font-weight: 950;
}

.knowledge-card-body h2 a {
    color: #102033;
    text-decoration: none;
}

.knowledge-card-body h2 a:hover {
    color: #0f7294;
}

.knowledge-card-body p {
    display: -webkit-box;
    margin: 0;
    color: #52687c;
    font-size: 0.94rem;
    line-height: 1.72;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.knowledge-card-footer {
    padding: 12px 22px 22px;
}

.knowledge-read-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #0f8bb6;
    font-weight: 950;
    text-decoration: none;
}

.knowledge-read-link i {
    transition: transform 0.22s ease;
}

.knowledge-read-link:hover {
    color: #0f9f83;
}

.knowledge-read-link:hover i {
    transform: translateX(4px);
}

.knowledge-pagination-wrap {
    margin-top: 34px;
}

.knowledge-pagination-v2 .page-link {
    border-color: rgba(14, 116, 144, 0.12);
    color: #0f7294;
    font-weight: 850;
}

.knowledge-pagination-v2 .page-item.active .page-link {
    border-color: transparent;
    background: linear-gradient(135deg, #0f9f83, #0f8bb6);
}

.knowledge-skeleton-card,
.knowledge-state-card {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.knowledge-skeleton-media {
    height: 212px;
    background: linear-gradient(90deg, #e2e8f0, #f8fafc, #e2e8f0);
    background-size: 220% 100%;
    animation: knowledgeShimmer 1.45s linear infinite;
}

.knowledge-skeleton-body {
    display: grid;
    gap: 12px;
    padding: 22px;
}

.knowledge-skeleton-body span,
.knowledge-skeleton-body strong,
.knowledge-skeleton-body p {
    display: block;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, #e2e8f0, #f8fafc, #e2e8f0);
    background-size: 220% 100%;
    animation: knowledgeShimmer 1.45s linear infinite;
}

.knowledge-skeleton-body strong {
    width: 82%;
    height: 22px;
}

.knowledge-skeleton-body p {
    width: 100%;
}

.knowledge-skeleton-body p.short {
    width: 56%;
}

.knowledge-state-card {
    max-width: 680px;
    margin: 0 auto;
    padding: 48px 28px;
    text-align: center;
}

.knowledge-state-card i {
    display: inline-grid;
    place-items: center;
    width: 74px;
    height: 74px;
    margin-bottom: 18px;
    border-radius: 24px;
    background: linear-gradient(135deg, #d1fae5, #e0f2fe);
    color: #0f7294;
    font-size: 2rem;
}

.knowledge-state-card h4 {
    color: #102033;
    font-weight: 950;
}

.knowledge-state-card p {
    color: #64748b;
}

.knowledge-state-card.is-warning i {
    background: #fff7e6;
    color: #d97706;
}

.knowledge-view-page {
    --knowledge-ink: #102033;
    --knowledge-muted: #64748b;
    --knowledge-green: #0f9f83;
    --knowledge-blue: #0f8bb6;
    --knowledge-amber: #f59e0b;
    background:
        radial-gradient(circle at 8% 18%, rgba(15, 159, 131, 0.10), transparent 30%),
        linear-gradient(180deg, #f8fcfb 0%, #edf5f8 100%);
}

.knowledge-view-hero {
    position: relative;
    min-height: 540px;
    padding: 132px 0 120px;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 35%, rgba(255, 255, 255, 0.18), transparent 24%),
        radial-gradient(circle at 84% 18%, rgba(245, 158, 11, 0.22), transparent 26%),
        linear-gradient(135deg, #075985 0%, #0f8bb6 42%, #0f9f83 78%, #f0a429 145%);
    color: #ffffff;
}

.knowledge-view-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 92px;
    background: linear-gradient(180deg, transparent, rgba(248, 252, 251, 0.98));
}

.knowledge-view-orb {
    position: absolute;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08) 58%, transparent 72%);
    pointer-events: none;
    animation: knowledgeFloat 20s ease-in-out infinite;
}

.knowledge-view-orb-one {
    width: 360px;
    height: 360px;
    top: -110px;
    right: -90px;
}

.knowledge-view-orb-two {
    width: 240px;
    height: 240px;
    left: -70px;
    bottom: 20px;
    animation-direction: reverse;
}

.knowledge-view-back {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 28px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-weight: 850;
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.knowledge-view-back:hover {
    color: #fde68a;
}

.knowledge-view-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
    gap: clamp(26px, 5vw, 72px);
    align-items: end;
}

.knowledge-view-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 900;
}

.knowledge-view-heading h1 {
    max-width: 880px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 5vw, 4.35rem);
    font-weight: 950;
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.knowledge-view-heading p {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.90);
    font-size: clamp(1rem, 1.38vw, 1.2rem);
    line-height: 1.85;
}

.knowledge-view-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.knowledge-view-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-weight: 800;
}

.knowledge-view-digest {
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 30px;
    background:
        radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.18), transparent 34%),
        rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 60px rgba(7, 24, 39, 0.22);
    backdrop-filter: blur(16px);
}

.knowledge-digest-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin-bottom: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 1.7rem;
}

.knowledge-view-digest strong {
    display: block;
    font-size: 1.26rem;
    font-weight: 950;
}

.knowledge-view-digest p {
    margin: 10px 0 18px;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.75;
}

.knowledge-digest-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fde68a;
    font-weight: 900;
    text-decoration: none;
}

.knowledge-title-skeleton,
.knowledge-line-skeleton,
.knowledge-related-skeleton {
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.16));
    background-size: 220% 100%;
    animation: knowledgeShimmer 1.45s linear infinite;
}

.knowledge-title-skeleton {
    width: min(760px, 90%);
    height: 72px;
}

.knowledge-line-skeleton {
    width: min(650px, 84%);
    height: 18px;
    margin-top: 22px;
}

.knowledge-line-skeleton.short {
    width: min(420px, 58%);
}

.knowledge-view-content {
    position: relative;
    z-index: 3;
    margin-top: -58px;
    padding-bottom: 86px;
}

.knowledge-view-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 24px;
    align-items: start;
}

.knowledge-article-shell,
.knowledge-side-card {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.10);
    overflow: hidden;
}

.knowledge-article-loading {
    display: grid;
    place-items: center;
    min-height: 420px;
    color: #64748b;
}

.knowledge-article-cover {
    display: grid;
    place-items: center;
    min-height: 360px;
    margin: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #e0f2fe, #d1fae5);
    color: #0f7294;
}

.knowledge-article-cover img {
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: cover;
}

.knowledge-article-cover.is-empty {
    gap: 12px;
    min-height: 260px;
    font-weight: 950;
}

.knowledge-article-cover.is-empty i {
    font-size: 4rem;
}

.knowledge-article-inner {
    padding: clamp(28px, 4vw, 54px);
}

.knowledge-article-lede {
    margin: 0 0 28px;
    padding: 22px 24px;
    border: 1px solid rgba(15, 159, 131, 0.18);
    border-radius: 22px;
    background:
        radial-gradient(circle at 96% 12%, rgba(245, 158, 11, 0.12), transparent 34%),
        linear-gradient(135deg, #f0fdfa, #fbfefd);
    color: #14515f;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.85;
}

.knowledge-view-page .article-content {
    color: #26394f;
    font-size: clamp(1.02rem, 1.08vw, 1.12rem);
    line-height: 2.05;
}

.knowledge-view-page .article-content :where(p, ul, ol, blockquote, table) {
    margin-bottom: 1.2rem;
}

.knowledge-view-page .article-content h2 {
    margin: 2rem 0 0.9rem;
    padding: 0;
    border: 0;
    color: #0f5f73;
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    font-weight: 950;
    line-height: 1.35;
}

.knowledge-view-page .article-content h3 {
    margin: 1.55rem 0 0.75rem;
    color: #102033;
    font-size: 1.16rem;
    font-weight: 900;
}

.knowledge-view-page .article-content blockquote {
    border: 1px solid rgba(15, 159, 131, 0.18);
    border-left: 5px solid #0f9f83;
    border-radius: 18px;
    background: #f0fdfa;
    color: #14515f;
}

.knowledge-view-page .article-content img {
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.knowledge-article-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.knowledge-article-actions .btn {
    border-radius: 999px;
    font-weight: 850;
}

.knowledge-view-sidebar {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 16px;
}

.knowledge-side-card {
    padding: 22px;
}

.knowledge-side-card h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 15px;
    color: #102033;
    font-size: 1.02rem;
    font-weight: 950;
}

.knowledge-side-card h2 i {
    color: #0f8bb6;
}

.knowledge-side-card p {
    color: #52687c;
    line-height: 1.7;
}

.knowledge-summary-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.knowledge-summary-tags span {
    padding: 7px 10px;
    border-radius: 999px;
    background: #eef7fb;
    color: #0f7294;
    font-size: 0.78rem;
    font-weight: 850;
}

.knowledge-toc {
    display: grid;
    gap: 8px;
}

.knowledge-toc a {
    display: block;
    padding: 10px 12px;
    border-radius: 14px;
    background: #f8fbfd;
    color: #52687c;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
}

.knowledge-toc a:hover {
    background: #eef7fb;
    color: #0f7294;
}

.knowledge-related-list {
    display: grid;
    gap: 10px;
}

.knowledge-related-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    padding: 11px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    background: #ffffff;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.knowledge-related-item:hover {
    transform: translateX(4px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.knowledge-related-item span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, #e0f2fe, #d1fae5);
    color: #0f7294;
}

.knowledge-related-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.knowledge-related-item strong {
    color: #102033;
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 1.45;
}

.knowledge-related-item small {
    color: #64748b;
}

.knowledge-related-skeleton {
    height: 76px;
    border-radius: 18px;
    background: linear-gradient(90deg, #e2e8f0, #f8fafc, #e2e8f0);
    background-size: 220% 100%;
    animation: knowledgeShimmer 1.45s linear infinite;
}

@keyframes knowledgeFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes knowledgeShimmer {
    from {
        background-position: 220% 0;
    }
    to {
        background-position: -220% 0;
    }
}

@keyframes knowledgeFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(22px, -20px, 0) scale(1.05);
    }
}

@media (max-width: 1100px) {
    .know-hero-layout,
    .knowledge-view-hero-grid,
    .knowledge-view-layout {
        grid-template-columns: 1fr;
    }

    .knowledge-view-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .know-hero.know-hero-redesign,
    .knowledge-view-hero {
        min-height: auto;
        padding-top: 118px;
    }

    .know-content .know-filter-card {
        margin-top: -46px;
        border-radius: 22px;
    }

    .know-content .know-filter-header,
    .know-content .know-filter-body {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .know-content .know-filter-header {
        display: grid;
    }

    .knowledge-card-media,
    .knowledge-card-media img,
    .knowledge-cover-placeholder {
        min-height: 190px;
    }

    .knowledge-view-content {
        margin-top: -38px;
    }

    .knowledge-article-cover {
        min-height: 220px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .knowledge-card-col,
    .know-hero-orb,
    .knowledge-view-orb,
    .knowledge-title-skeleton,
    .knowledge-line-skeleton,
    .knowledge-related-skeleton,
    .knowledge-skeleton-media,
    .knowledge-skeleton-body span,
    .knowledge-skeleton-body strong,
    .knowledge-skeleton-body p {
        animation: none !important;
    }

    .knowledge-card-v2,
    .knowledge-card-media img,
    .knowledge-related-item,
    .know-primary-link {
        transition: none !important;
    }
}

/* Knowledge hero flat redesign - no gradient */
.know-hero.know-hero-redesign {
    min-height: 520px;
    padding: 148px 0 88px;
    background: #f4faf7;
    color: #102033;
    border-bottom: 1px solid rgba(15, 159, 131, 0.14);
}

.know-hero.know-hero-redesign::after,
.know-hero.know-hero-redesign .know-hero-bg,
.know-hero.know-hero-redesign .know-hero-orb {
    display: none;
}

.know-hero.know-hero-redesign .know-hero-layout {
    align-items: center;
}

.know-hero.know-hero-redesign .know-hero-badge {
    border: 1px solid rgba(15, 159, 131, 0.18);
    background: #e8f6f2;
    color: #0f7294;
    box-shadow: none;
    backdrop-filter: none;
}

.know-hero.know-hero-redesign h1 {
    max-width: 820px;
    color: #102033;
    text-shadow: none;
}

.know-hero.know-hero-redesign .know-hero-sub {
    color: #52687c;
}

.know-hero.know-hero-redesign .know-primary-link {
    background: #0f8bb6;
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(14, 116, 144, 0.18);
}

.know-hero.know-hero-redesign .know-primary-link:hover {
    background: #0f9f83;
    color: #ffffff;
}

.know-hero.know-hero-redesign .know-hero-actions span {
    color: #52687c;
}

.know-hero.know-hero-redesign .know-hero-digest {
    border: 1px solid rgba(15, 159, 131, 0.16);
    background: #ffffff;
    color: #102033;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.09);
    backdrop-filter: none;
}

.know-hero.know-hero-redesign .know-digest-icon {
    background: #e8f6f2;
    color: #0f7294;
}

.know-hero.know-hero-redesign .know-hero-digest p {
    color: #52687c;
}

.know-hero.know-hero-redesign .know-digest-grid span {
    background: #f1f8f6;
    color: #274157;
}

.know-hero.know-hero-redesign .know-digest-grid b {
    color: #0f8bb6;
}

@media (max-width: 768px) {
    .know-hero.know-hero-redesign {
        min-height: auto;
        padding: 116px 0 64px;
    }
}

/* Knowledge hero editorial refresh - flat premium, no gradient */
.know-hero.know-hero-redesign {
    isolation: isolate;
    min-height: 610px;
    padding: 152px 0 112px;
    background: #f3faf7;
    border-bottom: 1px solid rgba(15, 159, 131, 0.16);
}

.know-hero.know-hero-redesign::before {
    content: '';
    position: absolute;
    inset: 104px auto auto 6vw;
    width: 118px;
    height: 118px;
    border: 22px solid rgba(15, 159, 131, 0.10);
    border-radius: 999px;
    z-index: 0;
}

.know-hero.know-hero-redesign .know-hero-content {
    position: relative;
    z-index: 2;
}

.know-hero.know-hero-redesign .know-hero-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 460px);
    gap: clamp(36px, 6vw, 96px);
}

.know-hero.know-hero-redesign .know-hero-copy {
    position: relative;
    max-width: 880px;
}

.know-hero.know-hero-redesign .know-hero-copy::after {
    content: '';
    display: block;
    width: min(430px, 68%);
    height: 8px;
    margin-top: 34px;
    border-radius: 999px;
    background: #0f9f83;
    box-shadow: 120px 0 0 #c7ece4, 190px 0 0 #f4c777;
}

.know-hero.know-hero-redesign .know-hero-badge {
    gap: 10px;
    margin-bottom: 18px;
    padding: 9px 14px;
    border-color: rgba(14, 116, 144, 0.16);
    background: #ffffff;
    color: #0f7294;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.know-hero.know-hero-redesign h1 {
    max-width: 880px;
    color: #102033;
    font-size: clamp(2.55rem, 6.8vw, 5.4rem);
    line-height: 0.98;
    letter-spacing: -0.075em;
}

.know-hero.know-hero-redesign .know-hero-sub {
    max-width: 720px;
    margin-top: 24px;
    color: #435b6f;
    font-size: clamp(1.05rem, 1.55vw, 1.28rem);
    line-height: 1.9;
}

.know-hero.know-hero-redesign .know-hero-actions {
    margin-top: 34px;
}

.know-hero.know-hero-redesign .know-primary-link {
    min-height: 54px;
    padding: 14px 22px;
    border: 1px solid #0f8bb6;
    background: #0f8bb6;
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(14, 116, 144, 0.20);
}

.know-hero.know-hero-redesign .know-primary-link:hover {
    border-color: #0f9f83;
    background: #0f9f83;
    transform: translateY(-2px);
}

.know-hero.know-hero-redesign .know-hero-actions span {
    color: #536a7d;
}

.know-hero-topic-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-top: 26px;
}

.know-hero-topic-strip strong,
.know-hero-topic-strip span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 0.84rem;
}

.know-hero-topic-strip strong {
    padding-left: 0;
    color: #64748b;
    font-weight: 900;
}

.know-hero-topic-strip span {
    border: 1px solid rgba(14, 116, 144, 0.12);
    background: #ffffff;
    color: #0f7294;
    font-weight: 850;
}

.know-hero.know-hero-redesign .know-hero-digest {
    position: relative;
    padding: 30px;
    border: 1px solid rgba(15, 159, 131, 0.18);
    border-radius: 34px;
    background: #ffffff;
    color: #102033;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
}

.know-hero.know-hero-redesign .know-hero-digest::before {
    content: '';
    position: absolute;
    inset: 18px 18px auto auto;
    width: 86px;
    height: 86px;
    border-radius: 26px;
    background: #e8f6f2;
    z-index: -1;
}

.know-hero.know-hero-redesign .know-digest-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 22px;
    border: 1px solid rgba(15, 159, 131, 0.16);
    border-radius: 24px;
    background: #e8f6f2;
    color: #0f7294;
    box-shadow: 0 14px 28px rgba(15, 159, 131, 0.13);
}

.know-hero.know-hero-redesign .know-hero-digest strong {
    color: #102033;
    font-size: 1.45rem;
    line-height: 1.38;
}

.know-hero.know-hero-redesign .know-hero-digest p {
    color: #52687c;
    font-size: 0.96rem;
}

.know-digest-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 18px 0;
    padding: 14px;
    border-radius: 18px;
    background: #f3faf7;
    color: #275266;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.55;
}

.know-digest-note i {
    margin-top: 2px;
    color: #0f9f83;
}

.know-hero.know-hero-redesign .know-digest-grid {
    gap: 12px;
}

.know-hero.know-hero-redesign .know-digest-grid span {
    padding: 13px 14px;
    border: 1px solid rgba(14, 116, 144, 0.10);
    border-radius: 18px;
    background: #fbfefd;
    color: #274157;
}

.know-hero.know-hero-redesign .know-digest-grid b {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: #0f8bb6;
    color: #ffffff;
}

@media (max-width: 1100px) {
    .know-hero.know-hero-redesign .know-hero-layout {
        grid-template-columns: 1fr;
    }

    .know-hero.know-hero-redesign .know-hero-digest {
        max-width: 620px;
    }
}

@media (max-width: 768px) {
    .know-hero.know-hero-redesign {
        min-height: auto;
        padding: 118px 0 76px;
    }

    .know-hero.know-hero-redesign::before {
        display: none;
    }

    .know-hero.know-hero-redesign h1 {
        font-size: clamp(2.3rem, 13vw, 3.4rem);
    }

    .know-hero.know-hero-redesign .know-hero-copy::after {
        width: 72%;
        box-shadow: 70px 0 0 #c7ece4;
    }

    .know-hero-topic-strip {
        align-items: flex-start;
    }
}

/* Knowledge hero showcase upgrade */
.know-hero.know-hero-redesign {
    background: #eef9f5;
}

.know-hero.know-hero-redesign::after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(42vw, 640px);
    height: 72%;
    background: #dff3ef;
    clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 0;
}

.know-hero.know-hero-redesign .know-hero-content::before {
    content: '';
    position: absolute;
    left: -58px;
    top: 16px;
    width: 156px;
    height: 156px;
    border: 28px solid rgba(15, 159, 131, 0.12);
    border-radius: 999px;
    pointer-events: none;
}

.know-hero.know-hero-redesign .know-hero-content::after {
    content: '';
    position: absolute;
    right: 34%;
    bottom: -36px;
    width: 96px;
    height: 96px;
    border-radius: 28px;
    background: #f3c766;
    opacity: 0.42;
    transform: rotate(10deg);
    pointer-events: none;
}

.know-hero.know-hero-redesign .know-hero-copy {
    z-index: 2;
}

.know-hero.know-hero-redesign h1 {
    text-wrap: balance;
}

.know-hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 620px;
    margin-top: 26px;
}

.know-hero-proof div {
    padding: 15px 16px;
    border: 1px solid rgba(14, 116, 144, 0.12);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.know-hero-proof strong {
    display: block;
    color: #0f7294;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    font-weight: 950;
    line-height: 1;
}

.know-hero-proof span {
    display: block;
    margin-top: 7px;
    color: #52687c;
    font-size: 0.84rem;
    font-weight: 850;
}

.know-hero.know-hero-redesign .know-hero-digest {
    z-index: 2;
    padding: 0;
    overflow: hidden;
    border-radius: 36px;
    background: #ffffff;
    box-shadow: 0 34px 86px rgba(15, 23, 42, 0.16);
}

.know-hero.know-hero-redesign .know-hero-digest::before {
    inset: auto 20px 20px auto;
    width: 116px;
    height: 116px;
    border-radius: 36px;
    background: #effaf7;
}

.know-showcase-head {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 26px 26px 18px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    background: #fbfefd;
}

.know-showcase-head .know-digest-icon {
    margin: 0;
}

.know-showcase-head strong {
    display: block;
    color: #102033;
    font-size: 1.16rem;
    font-weight: 950;
}

.know-showcase-head p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.5;
}

.know-showcase-search {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 20px 24px 14px;
    padding: 15px 16px;
    border: 1px solid rgba(14, 116, 144, 0.16);
    border-radius: 18px;
    background: #f3faf7;
    color: #52687c;
    font-weight: 850;
}

.know-showcase-search i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 14px;
    background: #0f8bb6;
    color: #ffffff;
}

.know-showcase-feature {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    margin: 0 24px 16px;
    padding: 16px;
    border: 1px solid rgba(15, 159, 131, 0.18);
    border-radius: 22px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.know-showcase-feature:hover {
    color: inherit;
    transform: translateY(-2px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
}

.know-feature-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: #e8f6f2;
    color: #0f7294;
}

.know-showcase-feature small {
    display: block;
    color: #0f7294;
    font-size: 0.78rem;
    font-weight: 900;
}

.know-showcase-feature b {
    display: -webkit-box;
    margin-top: 3px;
    color: #102033;
    font-size: 0.98rem;
    font-weight: 950;
    line-height: 1.45;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.know-showcase-feature > i {
    color: #0f9f83;
}

.know-showcase-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0 24px 18px;
}

.know-showcase-mini-grid div {
    display: flex;
    gap: 10px;
    align-items: center;
    min-height: 58px;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 18px;
    background: #fbfefd;
    color: #274157;
    font-size: 0.86rem;
    font-weight: 900;
}

.know-showcase-mini-grid i {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 12px;
    background: #eef7fb;
    color: #0f7294;
}

.know-hero.know-hero-redesign .know-digest-grid {
    padding: 0 24px 24px;
}

.know-hero.know-hero-redesign .know-digest-grid span {
    background: #ffffff;
}

@media (max-width: 1100px) {
    .know-hero.know-hero-redesign::after {
        width: 100%;
        height: 38%;
        clip-path: none;
    }

    .know-hero-proof {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .know-hero-proof,
    .know-showcase-mini-grid {
        grid-template-columns: 1fr;
    }

    .know-showcase-feature {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .know-showcase-feature > i {
        display: none;
    }
}

/* Knowledge hero strong section split + parallax */
.know-hero.know-hero-redesign {
    --know-hero-ink: #f4fffb;
    --know-hero-muted: #c9ebe5;
    --know-hero-panel: #f8fffc;
    --know-hero-teal: #0fa383;
    --know-hero-blue: #1594b5;
    --know-hero-gold: #f4bf57;
    position: relative;
    isolation: isolate;
    min-height: 700px;
    padding: 154px 0 148px;
    overflow: hidden;
    background-color: #075d66;
    color: var(--know-hero-ink);
    border-bottom: 0;
}

.know-hero.know-hero-redesign::before {
    content: '';
    display: block;
    position: absolute;
    inset: -80px 0 0;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cpath d='M0 95H96M95 0V96' fill='none' stroke='%23ffffff' stroke-opacity='.12'/%3E%3Ccircle cx='24' cy='24' r='2.6' fill='%23ffffff' fill-opacity='.18'/%3E%3Ccircle cx='72' cy='72' r='2.6' fill='%23f4bf57' fill-opacity='.28'/%3E%3C/svg%3E");
    background-size: 96px 96px;
    opacity: 0.42;
    transform: translate3d(0, var(--know-parallax-pattern-y, 0px), 0);
    pointer-events: none;
}

.know-hero.know-hero-redesign::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 4;
    width: auto;
    height: 78px;
    background: #f7fbfd;
    clip-path: polygon(0 58%, 100% 8%, 100% 100%, 0 100%);
}

.know-parallax-stage {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.know-parallax-shape,
.know-parallax-card {
    position: absolute;
    will-change: transform;
}

.know-parallax-shape {
    border-radius: 999px;
}

.know-parallax-shape-one {
    top: 122px;
    left: max(22px, calc((100vw - 1180px) / 2 - 154px));
    width: 330px;
    height: 330px;
    border: 34px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 0 1px rgba(244, 191, 87, 0.2);
}

.know-parallax-shape-two {
    right: max(24px, calc((100vw - 1180px) / 2 - 92px));
    bottom: 78px;
    width: 248px;
    height: 248px;
    background: #0a737c;
    border: 1px solid rgba(255, 255, 255, 0.12);
    opacity: 0.72;
}

.know-parallax-card {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: #0b6f78;
    color: #f4fffb;
    box-shadow: 0 22px 56px rgba(3, 28, 35, 0.32);
}

.know-parallax-card i {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--know-hero-gold);
    color: #063f46;
}

.know-parallax-card b {
    font-size: 0.84rem;
    font-weight: 950;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.know-parallax-card-one {
    top: 174px;
    right: max(22px, calc((100vw - 1180px) / 2 - 70px));
}

.know-parallax-card-two {
    left: max(18px, calc((100vw - 1180px) / 2 + 44px));
    bottom: 122px;
}

.know-hero.know-hero-redesign .know-hero-content {
    position: relative;
    z-index: 3;
}

.know-hero.know-hero-redesign .know-hero-content::before {
    content: '';
    display: block;
    position: absolute;
    left: -74px;
    top: 48px;
    width: 190px;
    height: 190px;
    border: 28px solid rgba(244, 191, 87, 0.16);
    border-radius: 999px;
    pointer-events: none;
    transform: translate3d(0, var(--know-parallax-soft-y, 0px), 0);
}

.know-hero.know-hero-redesign .know-hero-content::after {
    content: '';
    display: block;
    position: absolute;
    right: 38%;
    bottom: -50px;
    width: 118px;
    height: 118px;
    border-radius: 32px;
    background: var(--know-hero-gold);
    opacity: 0.38;
    pointer-events: none;
    transform: translate3d(0, var(--know-parallax-reverse-y, 0px), 0) rotate(10deg);
}

.know-hero.know-hero-redesign .know-hero-layout {
    position: relative;
    z-index: 2;
    gap: clamp(34px, 6vw, 86px);
    align-items: center;
}

.know-hero.know-hero-redesign .know-hero-copy {
    position: relative;
    max-width: 760px;
}

.know-hero.know-hero-redesign .know-hero-copy::after {
    background: var(--know-hero-teal);
    box-shadow: 168px 0 0 var(--know-hero-blue), 318px 0 0 var(--know-hero-gold);
    opacity: 1;
}

.know-hero.know-hero-redesign .know-hero-badge {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #f1fffb;
    box-shadow: none;
}

.know-hero.know-hero-redesign h1 {
    max-width: 760px;
    color: var(--know-hero-ink);
    font-size: clamp(3.2rem, 6.8vw, 6.9rem);
    line-height: 0.94;
    letter-spacing: -0.035em;
    text-shadow: 0 18px 42px rgba(2, 32, 40, 0.26);
}

.know-hero.know-hero-redesign .know-hero-sub {
    max-width: 670px;
    color: var(--know-hero-muted);
    font-size: clamp(1.02rem, 1.45vw, 1.2rem);
}

.know-hero.know-hero-redesign .know-primary-link {
    background: var(--know-hero-gold);
    color: #063f46;
    box-shadow: 0 22px 48px rgba(244, 191, 87, 0.25);
}

.know-hero.know-hero-redesign .know-primary-link:hover {
    background: #ffd66f;
    color: #063f46;
    box-shadow: 0 28px 58px rgba(244, 191, 87, 0.34);
}

.know-hero.know-hero-redesign .know-hero-actions span {
    color: #def8f3;
}

.know-hero.know-hero-redesign .know-hero-actions span i {
    color: var(--know-hero-gold);
}

.know-hero.know-hero-redesign .know-hero-topic-strip strong {
    color: #f4fffb;
}

.know-hero.know-hero-redesign .know-hero-topic-strip span {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.1);
    color: #e4fbf7;
}

.know-hero.know-hero-redesign .know-hero-proof div {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 22px 58px rgba(3, 28, 35, 0.22);
}

.know-hero.know-hero-redesign .know-hero-proof strong {
    color: #ffffff;
}

.know-hero.know-hero-redesign .know-hero-proof span {
    color: #c9ebe5;
}

.know-hero.know-hero-redesign .know-hero-digest {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 7px solid var(--know-hero-gold);
    background: var(--know-hero-panel);
    box-shadow: 0 44px 110px rgba(2, 32, 40, 0.38);
}

.know-hero.know-hero-redesign .know-hero-digest::before {
    background: #e2f5ef;
}

.know-hero.know-hero-redesign .know-showcase-head {
    background: #f2fbf7;
    border-bottom-color: rgba(15, 159, 131, 0.16);
}

.know-hero.know-hero-redesign .know-showcase-search {
    border-color: rgba(15, 159, 131, 0.18);
    background: #eef8f5;
}

.know-hero.know-hero-redesign .know-showcase-feature {
    border-color: rgba(15, 159, 131, 0.2);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.1);
}

.knowledge-breadcrumb {
    position: relative;
    padding: 28px 0 0;
    background: #f7fbfd;
    border-top: 0;
}

.knowledge-breadcrumb::before {
    content: '';
    display: block;
    width: min(520px, calc(100% - 36px));
    height: 8px;
    margin: 0 auto 20px;
    border-radius: 999px;
    background: var(--know-hero-teal, #0fa383);
    box-shadow: -174px 0 0 #1594b5, 174px 0 0 #f4bf57;
}

.know-content {
    position: relative;
    padding-top: 34px;
    background: #f7fbfd;
}

.know-content::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 170px;
    background: #eef8f5;
    pointer-events: none;
}

.know-content > .container {
    position: relative;
    z-index: 1;
}

.know-content .know-filter-card {
    margin-top: 0;
    border-color: rgba(15, 159, 131, 0.18);
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.09);
}

@media (max-width: 1100px) {
    .know-hero.know-hero-redesign {
        min-height: auto;
        padding: 132px 0 128px;
    }

    .know-hero.know-hero-redesign::after {
        height: 62px;
        clip-path: polygon(0 48%, 100% 14%, 100% 100%, 0 100%);
    }

    .know-parallax-card-one {
        right: 18px;
        opacity: 0.52;
    }

    .know-parallax-card-two,
    .know-parallax-shape-one {
        opacity: 0.42;
    }

    .know-hero.know-hero-redesign .know-hero-content::after {
        right: 12%;
    }
}

@media (max-width: 768px) {
    .know-hero.know-hero-redesign {
        padding: 112px 0 90px;
    }

    .know-hero.know-hero-redesign h1 {
        font-size: clamp(2.55rem, 15vw, 4rem);
        letter-spacing: -0.025em;
    }

    .know-parallax-stage,
    .know-hero.know-hero-redesign .know-hero-content::before,
    .know-hero.know-hero-redesign .know-hero-content::after {
        display: none;
    }

    .know-hero.know-hero-redesign::after {
        height: 44px;
        clip-path: polygon(0 36%, 100% 12%, 100% 100%, 0 100%);
    }

    .knowledge-breadcrumb {
        padding-top: 18px;
    }

    .knowledge-breadcrumb::before {
        width: 118px;
        box-shadow: -132px 0 0 #1594b5, 132px 0 0 #f4bf57;
    }

    .know-content {
        padding-top: 22px;
    }

    .know-content .know-filter-card {
        margin-top: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .know-parallax-shape,
    .know-parallax-card,
    .know-hero.know-hero-redesign::before,
    .know-hero.know-hero-redesign .know-hero-content::before,
    .know-hero.know-hero-redesign .know-hero-content::after {
        transform: none !important;
        will-change: auto;
    }
}

/* Mobile stability layer for database-driven about pages */
@media (max-width: 991.98px) {
    .about-hero,
    .pkg-hero,
    .doc-hero,
    .know-hero,
    .page-hero,
    .knowledge-view-hero {
        overflow: hidden;
    }

    .about-content .row > [class*="col-"],
    .doc-content .row > [class*="col-"],
    .know-content .row > [class*="col-"] {
        min-width: 0;
    }

    .filter-bar,
    .know-filter-card,
    .doc-filter-card {
        border-radius: 18px;
    }

    .pkg-hero-stats,
    .doc-hero-stats,
    .know-hero-stats,
    .know-hero-proof,
    .know-digest-grid {
        gap: 12px;
    }
}

@media (max-width: 767.98px) {
    .about-hero,
    .pkg-hero,
    .doc-hero,
    .know-hero,
    .page-hero,
    .knowledge-view-hero {
        padding-top: 112px;
    }

    .filter-bar {
        padding: 16px;
    }

    .filter-bar .row {
        row-gap: 12px;
    }

    .about-card .card-body,
    .about-card .card-footer-custom {
        padding-left: 16px;
        padding-right: 16px;
    }

    .pkg-hero-stats,
    .doc-hero-stats,
    .know-hero-stats,
    .know-hero-proof,
    .know-digest-grid,
    .knowledge-view-hero-grid,
    .knowledge-view-layout {
        grid-template-columns: 1fr !important;
    }

    .schedule-table-wrap,
    .doc-content .schedule-table-wrap,
    .doc-modal-table-wrap {
        margin-left: -4px;
        margin-right: -4px;
        border-radius: 14px;
    }
}

@media (max-width: 575.98px) {
    .about-hero h1,
    .pkg-hero h1,
    .doc-hero h1,
    .know-hero h1,
    .page-hero h1,
    .knowledge-view-hero h1 {
        font-size: clamp(1.9rem, 11vw, 2.7rem);
        line-height: 1.08;
    }

    .about-hero p,
    .pkg-hero-sub,
    .doc-hero-sub,
    .know-hero-sub,
    .page-hero .lead {
        font-size: .96rem;
        line-height: 1.7;
    }

    .about-content {
        padding-top: 22px;
    }

    .btn,
    .form-control,
    .form-select {
        min-height: 44px;
    }
}
