/**
 * Custom Appreciation & Commendation Page Stylesheet
 * Strictly scoped to .wmspl-appreciation-page & .wmspl-appr-modal
 * Brand Palette: Medical Teal (#0F8AA6 / #0c7289), Deep Navy (#0b1f2d), Clean White (#ffffff)
 * Typography: Poppins
 */

/* -------------------------------------------------------------------------
 * 1. Base & Reset for Appreciation Page
 * ------------------------------------------------------------------------- */
.wmspl-appreciation-page,
.wmspl-appr-modal {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #1e293b;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.wmspl-appreciation-page *,
.wmspl-appr-modal * {
    box-sizing: border-box;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* 90% Container Width Rule with 0 Left/Right Padding */
.wmspl-appreciation-page .wmspl-appr-container {
    width: 90% !important;
    max-width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* -------------------------------------------------------------------------
 * 2. Hero Section
 * ------------------------------------------------------------------------- */
.wmspl-appr-hero {
    position: relative;
    background: linear-gradient(135deg, #f0f7f9 0%, #e2f1f5 50%, #ffffff 100%);
    padding: 70px 0 60px 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(15, 138, 166, 0.12);
}

.wmspl-appr-hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(15, 138, 166, 0.08) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    opacity: 0.8;
    pointer-events: none;
}

.wmspl-appr-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Breadcrumbs */
.wmspl-appr-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 22px;
    background: rgba(255, 255, 255, 0.85);
    padding: 6px 16px;
    border-radius: 9999px;
    border: 1px solid rgba(15, 138, 166, 0.15);
    backdrop-filter: blur(6px);
}

.wmspl-appr-breadcrumbs a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #0F8AA6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wmspl-appr-breadcrumbs a:hover {
    color: #0c7289;
    text-decoration: underline;
}

.wmspl-appr-breadcrumbs .sep {
    color: #94a3b8;
}

.wmspl-appr-breadcrumbs .current {
    color: #1e293b;
    font-weight: 600;
}

/* Hero Badge */
.wmspl-appr-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 138, 166, 0.1);
    color: #0F8AA6;
    padding: 7px 18px;
    border-radius: 9999px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(15, 138, 166, 0.25);
}

.wmspl-appr-hero-title {
    font-size: 42px;
    line-height: 1.25;
    font-weight: 700;
    color: #0b1f2d;
    margin: 0 0 18px 0;
    letter-spacing: -0.02em;
}

.wmspl-appr-hero-desc {
    font-size: 17px;
    line-height: 1.65;
    color: #475569;
    margin: 0 auto;
    max-width: 820px;
}

/* -------------------------------------------------------------------------
 * 3. Stats Strip
 * ------------------------------------------------------------------------- */
.wmspl-appr-stats-section {
    position: relative;
    z-index: 10;
    margin-top: -35px;
    margin-bottom: 30px;
}

.wmspl-appr-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.wmspl-appr-stat-card,
.wmspl-stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.wmspl-appr-stat-card:hover,
.wmspl-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 138, 166, 0.1);
    border-color: rgba(15, 138, 166, 0.35);
}

.wmspl-appr-stat-icon,
.wmspl-stat-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(15, 138, 166, 0.08);
    color: #0F8AA6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.wmspl-appr-stat-card:hover .wmspl-appr-stat-icon,
.wmspl-stat-card:hover .wmspl-stat-icon-box {
    background: #0F8AA6;
    color: #ffffff;
}

.wmspl-appr-stat-body,
.wmspl-stat-info {
    display: flex;
    flex-direction: column;
}

.wmspl-appr-stat-number,
.wmspl-stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #0b1f2d;
    line-height: 1.15;
    margin-bottom: 2px;
}

.wmspl-appr-stat-label,
.wmspl-stat-label {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.35;
}

/* -------------------------------------------------------------------------
 * 4. Section Header & Filter Tabs
 * ------------------------------------------------------------------------- */
.wmspl-appr-grid-section {
    padding: 50px 0 70px 0;
}

.wmspl-appr-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 30px;
    flex-wrap: wrap;
    border-bottom: 1px solid #eef2f6;
    padding-bottom: 28px;
}

.wmspl-appr-section-titles {
    max-width: 600px;
}

.wmspl-appr-kicker {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0F8AA6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.wmspl-appr-heading {
    font-size: 32px;
    font-weight: 700;
    color: #0b1f2d;
    margin: 0 0 10px 0;
    line-height: 1.25;
}

.wmspl-appr-subheading {
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* Filter Pill Bar */
.wmspl-appr-filters {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 9999px;
    gap: 6px;
}

.wmspl-filter-btn {
    border: none;
    background: transparent;
    color: #475569;
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.wmspl-filter-btn:hover {
    color: #0F8AA6;
    background: rgba(255, 255, 255, 0.7);
}

.wmspl-filter-btn.active {
    background: #0F8AA6 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(15, 138, 166, 0.3);
}

/* -------------------------------------------------------------------------
 * 5. Cards Grid & Certificate Cards
 * ------------------------------------------------------------------------- */
.wmspl-appr-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.wmspl-appr-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e8eef3;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(11, 31, 45, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease;
    will-change: transform, opacity;
}

.wmspl-appr-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 42px rgba(15, 138, 166, 0.14);
    border-color: rgba(15, 138, 166, 0.3);
}

/* Card Filtering Animation */
.wmspl-appr-card.is-hidden {
    display: none !important;
}

/* Certificate Thumbnail Wrap */
.wmspl-appr-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    background: #f1f5f9;
    overflow: hidden;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 14px;
}

.wmspl-appr-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(11, 31, 45, 0.08);
    background: #ffffff;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: block;
}

.wmspl-appr-thumb-wrap:hover .wmspl-appr-img,
.wmspl-appr-card:hover .wmspl-appr-img {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(15, 138, 166, 0.16);
}

/* Hover Overlay */
.wmspl-appr-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 31, 45, 0.65);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.wmspl-appr-card:hover .wmspl-appr-thumb-overlay {
    opacity: 1;
    pointer-events: auto;
}

.wmspl-appr-view-trigger {
    background: #ffffff;
    color: #0F8AA6;
    border: none;
    padding: 12px 22px;
    border-radius: 9999px;
    font-size: 13.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(10px);
    transition: transform 0.25s ease, background-color 0.2s ease, color 0.2s ease;
}

.wmspl-appr-card:hover .wmspl-appr-view-trigger {
    transform: translateY(0);
}

.wmspl-appr-view-trigger:hover {
    background: #0F8AA6;
    color: #ffffff;
}

/* Card Body Content */
.wmspl-appr-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #ffffff;
}

.wmspl-appr-meta {
    margin-bottom: 12px;
}

.wmspl-appr-type-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge-govt {
    background: rgba(15, 138, 166, 0.1);
    color: #0F8AA6;
    border: 1px solid rgba(15, 138, 166, 0.25);
}

.badge-private {
    background: rgba(13, 148, 136, 0.1);
    color: #0d9488;
    border: 1px solid rgba(13, 148, 136, 0.25);
}

.wmspl-appr-hospital-title {
    font-size: 18px;
    font-weight: 700;
    color: #0b1f2d;
    line-height: 1.4;
    margin: 0 0 10px 0;
    min-height: 50px;
}

.wmspl-appr-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 14px;
}

.wmspl-appr-location svg {
    color: #0F8AA6;
    flex-shrink: 0;
}

.wmspl-appr-quote {
    margin: 0 0 20px 0;
    padding: 10px 14px;
    background: #f8fafc;
    border-left: 3px solid #0F8AA6;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 13px;
    line-height: 1.55;
    color: #475569;
    flex-grow: 1;
}

.wmspl-appr-quote p {
    margin: 0;
}

/* Card Bottom Actions */
.wmspl-appr-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.wmspl-appr-btn-modal {
    flex: 1;
    background: #ffffff;
    color: #0F8AA6;
    border: 1.5px solid #0F8AA6;
    border-radius: 10px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wmspl-appr-btn-modal:hover {
    background: #0F8AA6;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 138, 166, 0.25);
}

.wmspl-appr-btn-open {
    background: #f1f5f9;
    color: #475569;
    border-radius: 10px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.wmspl-appr-btn-open:hover {
    background: #e2e8f0;
    color: #0b1f2d;
}

/* -------------------------------------------------------------------------
 * 6. CTA Section
 * ------------------------------------------------------------------------- */
.wmspl-appr-cta-section {
    padding: 20px 0 80px 0;
}

.wmspl-appr-cta-card {
    position: relative;
    background: linear-gradient(135deg, #09202a 0%, #0c3340 50%, #0F8AA6 100%);
    border-radius: 28px;
    padding: 60px 50px;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(11, 31, 45, 0.18);
}

.wmspl-cta-glow-layer {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.15), transparent 60%);
    pointer-events: none;
}

.wmspl-cta-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 50px;
    align-items: center;
}

.wmspl-cta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.wmspl-cta-title {
    font-size: 34px;
    line-height: 1.25;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
}

.wmspl-cta-sub {
    font-size: 16px;
    line-height: 1.65;
    color: #e2f1f5;
    margin: 0 0 32px 0;
}

.wmspl-cta-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Primary and Secondary Buttons */
.wmspl-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0F8AA6;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14.5px;
    font-weight: 600;
    padding: 13px 26px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(15, 138, 166, 0.35);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.wmspl-btn-primary:hover {
    background: #0c7289;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 138, 166, 0.45);
}

.wmspl-cta-actions .wmspl-btn-primary {
    background: #ffffff;
    color: #0F8AA6 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.wmspl-cta-actions .wmspl-btn-primary:hover {
    background: #f0f7f9;
    color: #0c7289 !important;
}

.wmspl-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14.5px;
    font-weight: 600;
    padding: 13px 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.25s ease;
}

.wmspl-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Contact Info Box on Right of CTA */
.wmspl-cta-contact-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wmspl-cta-contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.wmspl-cta-contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wmspl-cta-contact-details {
    display: flex;
    flex-direction: column;
}

.wmspl-cta-contact-details .label {
    font-size: 12px;
    font-weight: 500;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 2px;
}

.wmspl-cta-contact-details .val {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wmspl-cta-contact-details .val:hover {
    color: #a5f3fc;
}

.wmspl-cta-trust-note {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 500;
    color: #e2f1f5;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.wmspl-cta-trust-note svg {
    color: #38bdf8;
    flex-shrink: 0;
}

/* -------------------------------------------------------------------------
 * 7. Lightbox Modal
 * ------------------------------------------------------------------------- */
.wmspl-appr-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.wmspl-appr-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.wmspl-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 26, 40, 0.88);
    backdrop-filter: blur(10px);
}

.wmspl-modal-dialog {
    position: relative;
    z-index: 2;
    background: #ffffff;
    width: 100%;
    max-width: 820px;
    max-height: 92vh;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wmspl-appr-modal.is-active .wmspl-modal-dialog {
    transform: scale(1) translateY(0);
}

/* Modal Header */
.wmspl-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #eef2f6;
    gap: 16px;
}

.wmspl-modal-header-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wmspl-modal-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #0F8AA6;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.wmspl-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #0b1f2d;
    margin: 0;
    line-height: 1.3;
}

.wmspl-modal-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: #64748b;
    margin-top: 4px;
    flex-wrap: wrap;
}

.wmspl-modal-location {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.wmspl-modal-location svg {
    color: #0F8AA6;
}

.wmspl-modal-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #0d9488;
    font-weight: 600;
}

.wmspl-modal-close {
    background: #f1f5f9;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.wmspl-modal-close:hover {
    background: #0F8AA6;
    color: #ffffff;
    transform: rotate(90deg);
}

/* Modal Body / Viewer */
.wmspl-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    max-height: calc(92vh - 160px);
}

.wmspl-modal-viewer {
    position: relative;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wmspl-modal-img {
    max-width: 100%;
    max-height: 65vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: #ffffff;
    display: block;
}

.wmspl-modal-loader {
    position: absolute;
    inset: 0;
    background: rgba(248, 250, 252, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 13.5px;
    font-weight: 500;
    color: #0F8AA6;
}

.wmspl-spinner {
    width: 36px;
    height: 36px;
    border: 3.5px solid rgba(15, 138, 166, 0.2);
    border-top-color: #0F8AA6;
    border-radius: 50%;
    animation: wmsplSpin 0.8s linear infinite;
}

@keyframes wmsplSpin {
    to { transform: rotate(360deg); }
}

/* Modal Footer */
.wmspl-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-top: 1px solid #eef2f6;
    background: #ffffff;
    gap: 16px;
    flex-wrap: wrap;
}

.wmspl-modal-footer-note {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: #64748b;
}

.wmspl-modal-footer-note svg {
    color: #0F8AA6;
    flex-shrink: 0;
}

.wmspl-modal-footer-btns {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wmspl-modal-footer .wmspl-btn-secondary {
    background: #f1f5f9;
    color: #1e293b !important;
    border: 1px solid #cbd5e1;
    padding: 10px 18px;
    font-size: 13.5px;
}

.wmspl-modal-footer .wmspl-btn-secondary:hover {
    background: #e2e8f0;
    color: #0b1f2d !important;
}

.wmspl-modal-footer .wmspl-btn-primary {
    padding: 10px 20px;
    font-size: 13.5px;
}

/* -------------------------------------------------------------------------
 * 8. Responsive Breakpoints & Mobile Optimization
 * ------------------------------------------------------------------------- */
html.wmspl-modal-locked,
body.wmspl-modal-locked {
    overflow: hidden !important;
}

@media (max-width: 1200px) {
    .wmspl-appr-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 991px) {
    .wmspl-appr-hero-title {
        font-size: 34px;
    }
    .wmspl-appr-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .wmspl-cta-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .wmspl-appr-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .wmspl-appreciation-page .wmspl-appr-container {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .wmspl-appr-hero {
        padding: 50px 0 45px 0;
    }

    .wmspl-appr-hero-title {
        font-size: 28px;
        line-height: 1.28;
    }

    .wmspl-appr-hero-desc {
        font-size: 15px;
        line-height: 1.6;
    }

    .wmspl-appr-heading {
        font-size: 24px;
    }

    /* Touch-friendly horizontal scrolling filters */
    .wmspl-appr-filters {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        padding: 6px 8px !important;
        border-radius: 12px !important;
        justify-content: flex-start !important;
        white-space: nowrap !important;
        scroll-snap-type: x mandatory;
    }

    .wmspl-appr-filters::-webkit-scrollbar {
        display: none !important;
    }

    .wmspl-filter-btn {
        flex-shrink: 0 !important;
        scroll-snap-align: start;
        padding: 9px 16px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 640px) {
    .wmspl-appreciation-page .wmspl-appr-container {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .wmspl-appr-hero {
        padding: 38px 0 35px 0;
    }

    .wmspl-appr-breadcrumbs {
        font-size: 12px;
        padding: 5px 12px;
        gap: 6px;
        margin-bottom: 16px;
        max-width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .wmspl-appr-badge {
        font-size: 11px;
        padding: 5px 14px;
        margin-bottom: 16px;
    }

    .wmspl-appr-hero-title {
        font-size: 24px;
        margin-bottom: 14px;
    }

    .wmspl-appr-hero-desc {
        font-size: 14px;
        line-height: 1.55;
    }

    /* 2x2 Clean Compact Stats Grid on Mobile */
    .wmspl-appr-stats-section {
        margin-top: -18px;
        margin-bottom: 24px;
    }

    .wmspl-appr-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .wmspl-appr-stat-card,
    .wmspl-stat-card {
        padding: 14px 12px !important;
        border-radius: 14px !important;
        gap: 10px !important;
    }

    .wmspl-appr-stat-icon,
    .wmspl-stat-icon-box {
        width: 40px !important;
        height: 40px !important;
        border-radius: 10px !important;
    }

    .wmspl-appr-stat-icon svg,
    .wmspl-stat-icon-box svg {
        width: 20px !important;
        height: 20px !important;
    }

    .wmspl-appr-stat-number,
    .wmspl-stat-number {
        font-size: 22px !important;
        line-height: 1.15 !important;
    }

    .wmspl-appr-stat-label,
    .wmspl-stat-label {
        font-size: 11px !important;
        line-height: 1.35 !important;
    }

    /* Cards Grid on Mobile */
    .wmspl-appr-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .wmspl-appr-card {
        border-radius: 16px !important;
    }

    .wmspl-appr-thumb-wrap {
        aspect-ratio: 4 / 5 !important;
        padding: 12px !important;
    }

    .wmspl-appr-body {
        padding: 18px 16px !important;
    }

    .wmspl-appr-hospital-title {
        font-size: 16.5px !important;
        min-height: auto !important;
        margin-bottom: 8px !important;
    }

    .wmspl-appr-location {
        font-size: 12.5px !important;
        margin-bottom: 12px !important;
    }

    .wmspl-appr-quote {
        padding: 10px 12px !important;
        margin-bottom: 16px !important;
    }

    .wmspl-appr-quote p {
        font-size: 12.5px !important;
        line-height: 1.55 !important;
    }

    /* Actions 2 buttons side-by-side or stacked cleanly */
    .wmspl-appr-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    .wmspl-appr-btn-modal,
    .wmspl-appr-btn-open {
        min-height: 44px !important;
        padding: 10px 10px !important;
        font-size: 12.5px !important;
        justify-content: center !important;
    }

    /* CTA Card on Mobile */
    .wmspl-appr-cta-card {
        padding: 28px 18px !important;
        border-radius: 18px !important;
        margin-top: 36px !important;
    }

    .wmspl-cta-title {
        font-size: 21px !important;
        line-height: 1.3 !important;
    }

    .wmspl-cta-desc {
        font-size: 13.5px !important;
        line-height: 1.6 !important;
        margin-bottom: 22px !important;
    }

    .wmspl-cta-actions {
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
    }

    .wmspl-cta-actions .wmspl-btn-primary,
    .wmspl-cta-actions .wmspl-btn-ghost {
        width: 100% !important;
        min-height: 48px !important;
        justify-content: center !important;
        font-size: 14px !important;
    }

    .wmspl-cta-sidebar {
        padding: 18px 16px !important;
        border-radius: 14px !important;
    }

    .wmspl-cta-contact-details .val {
        font-size: 14.5px !important;
    }

    /* Lightbox Modal on Mobile */
    .wmspl-appr-modal {
        padding: 10px !important;
    }

    .wmspl-modal-dialog {
        max-height: 94vh !important;
        border-radius: 18px !important;
        margin: 0 !important;
    }

    .wmspl-modal-header {
        padding: 14px 16px !important;
    }

    .wmspl-modal-title {
        font-size: 16px !important;
    }

    .wmspl-modal-close {
        width: 36px !important;
        height: 36px !important;
    }

    .wmspl-modal-body {
        padding: 10px !important;
        min-height: 220px !important;
        max-height: calc(94vh - 140px) !important;
    }

    .wmspl-modal-img {
        max-height: 52vh !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
    }

    .wmspl-modal-footer {
        padding: 12px 16px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }

    .wmspl-modal-footer-btns {
        flex-direction: column !important;
        width: 100% !important;
        gap: 8px !important;
    }

    .wmspl-modal-footer-btns a,
    .wmspl-modal-footer-btns button {
        width: 100% !important;
        min-height: 44px !important;
        justify-content: center !important;
    }
}

@media (max-width: 380px) {
    .wmspl-appr-hero-title {
        font-size: 21px !important;
    }
    .wmspl-appr-stats-grid {
        grid-template-columns: 1fr !important;
    }
    .wmspl-appr-actions {
        grid-template-columns: 1fr !important;
    }
}
