:root {
    --sppl-primary: #172033;
    --sppl-primary-light: #263654;
    --sppl-accent: #e7b24a;
    --sppl-green: #209966;
    --sppl-bg: #f5f7fb;
    --sppl-card: #ffffff;
    --sppl-text: #1c263b;
    --sppl-muted: #70798b;
    --sppl-border: #e3e8f1;
}

.sppl-library,
.single-sppl_book .entry-content {
    color: var(--sppl-text);
}

.sppl-library {
    width: 100%;
    max-width: 1400px;
    margin: 35px auto 70px;
    direction: rtl;
}

.sppl-library-header {
    position: relative;
    margin-bottom: 30px;
    padding: 48px 30px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 12% 15%, rgba(231,178,74,.25), transparent 28%),
        linear-gradient(135deg, var(--sppl-primary), var(--sppl-primary-light));
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(23,32,51,.16);
    text-align: center;
}

.sppl-library-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--sppl-accent);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .3px;
}

.sppl-library-header h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    line-height: 1.4;
}

.sppl-library-header p {
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 16px;
}

.sppl-login-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    padding: 20px 22px;
    background: #fff8e8;
    border: 1px solid #f3d99f;
    border-right: 5px solid var(--sppl-accent);
    border-radius: 12px;
}

.sppl-login-notice strong,
.sppl-login-notice span {
    display: block;
}

.sppl-login-notice strong {
    margin-bottom: 5px;
    color: var(--sppl-primary);
    font-size: 17px;
}

.sppl-login-notice span {
    color: var(--sppl-muted);
    font-size: 14px;
}

.sppl-notice-actions,
.sppl-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sppl-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.sppl-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    background: var(--sppl-card);
    border: 1px solid var(--sppl-border);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(23,32,51,.07);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.sppl-card:hover {
    border-color: rgba(231,178,74,.75);
    box-shadow: 0 18px 42px rgba(23,32,51,.14);
    transform: translateY(-7px);
}

.sppl-cover {
    display: block;
    margin: 12px 12px 0;
    overflow: hidden;
    background: #edf0f6;
    border-radius: 11px;
}

.sppl-cover img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform .45s ease;
}

.sppl-card:hover .sppl-cover img {
    transform: scale(1.035);
}

.sppl-cover-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 3 / 4;
    flex-direction: column;
    color: #fff;
    background:
        linear-gradient(145deg, rgba(255,255,255,.08), transparent),
        var(--sppl-primary);
}

.sppl-cover-placeholder span {
    font-size: 38px;
    font-weight: 900;
    letter-spacing: 2px;
}

.sppl-cover-placeholder small {
    color: var(--sppl-accent);
    font-size: 13px;
}

.sppl-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 17px;
}

.sppl-format {
    align-self: flex-start;
    margin-bottom: 8px;
    padding: 4px 9px;
    color: #a34336;
    background: #fff0ed;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
}

.sppl-card h2 {
    display: -webkit-box;
    min-height: 58px;
    margin: 0 0 9px;
    overflow: hidden;
    color: var(--sppl-primary);
    font-size: 18px;
    font-weight: 850;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.sppl-card h2 a {
    color: inherit;
    text-decoration: none;
}

.sppl-card h2 a:hover {
    color: #bd8622;
}

.sppl-card-body > p {
    display: -webkit-box;
    margin: 0 0 18px;
    overflow: hidden;
    color: var(--sppl-muted);
    font-size: 14px;
    line-height: 1.9;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.sppl-card-actions {
    align-items: stretch;
    margin-top: auto;
    flex-direction: column;
}

.sppl-details-link {
    color: var(--sppl-muted);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.sppl-details-link:hover {
    color: var(--sppl-primary);
}

.sppl-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
    text-decoration: none !important;
    transition: transform .22s ease, opacity .22s ease, background-color .22s ease;
}

.sppl-button:hover {
    opacity: .91;
    transform: translateY(-2px);
}

.sppl-button-primary,
.sppl-button-login {
    color: #fff !important;
    background: var(--sppl-primary);
}

.sppl-button-light {
    color: var(--sppl-primary) !important;
    background: #fff;
    border: 1px solid #e6cc90;
}

.sppl-button-download {
    color: #fff !important;
    background: var(--sppl-green);
}

.sppl-unavailable {
    padding: 10px;
    color: #a34336;
    background: #fff0ed;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
}

.sppl-pagination {
    margin-top: 38px;
}

.sppl-pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sppl-pagination a,
.sppl-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 6px 12px;
    color: var(--sppl-primary);
    background: #fff;
    border: 1px solid var(--sppl-border);
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
}

.sppl-pagination .current,
.sppl-pagination a:hover {
    color: #fff;
    background: var(--sppl-primary);
    border-color: var(--sppl-primary);
}

.sppl-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 230px;
    padding: 30px;
    flex-direction: column;
    color: var(--sppl-muted);
    background: #fff;
    border: 1px dashed #cbd2df;
    border-radius: 15px;
    text-align: center;
}

.sppl-empty strong {
    margin-bottom: 7px;
    color: var(--sppl-primary);
    font-size: 20px;
}

.sppl-single-action {
    margin-top: 30px;
    padding: 22px;
    background: #f5f8fc;
    border: 1px solid var(--sppl-border);
    border-right: 4px solid var(--sppl-accent);
    border-radius: 10px;
    text-align: center;
}

.sppl-single-action .sppl-button {
    min-width: 210px;
}

.sppl-single-missing {
    color: #a34336;
}

/* Login and registration pages */
.sppl-account-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 620px;
    padding: 45px 16px;
    direction: rtl;
}

.sppl-account-card {
    width: 100%;
    max-width: 620px;
    padding: 38px;
    color: var(--sppl-text);
    background: #fff;
    border: 1px solid var(--sppl-border);
    border-radius: 18px;
    box-shadow: 0 18px 55px rgba(23,32,51,.12);
}

.sppl-account-heading {
    margin: -38px -38px 30px;
    padding: 34px 30px 30px;
    color: #fff;
    background:
        radial-gradient(circle at 10% 20%, rgba(231,178,74,.25), transparent 28%),
        linear-gradient(135deg, var(--sppl-primary), var(--sppl-primary-light));
    border-radius: 18px 18px 0 0;
    text-align: center;
}

.sppl-account-heading > span {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--sppl-accent);
    font-size: 13px;
    font-weight: 800;
}

.sppl-account-heading h1,
.sppl-account-status h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(27px, 4vw, 36px);
    font-weight: 900;
    line-height: 1.5;
}

.sppl-account-heading p {
    margin: 0;
    color: rgba(255,255,255,.75);
    font-size: 14px;
    line-height: 1.9;
}

.sppl-account-form {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.sppl-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.sppl-form-group {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 7px;
}

.sppl-form-group label {
    color: var(--sppl-primary);
    font-size: 14px;
    font-weight: 800;
}

.sppl-form-group input {
    width: 100%;
    height: 50px;
    padding: 10px 14px;
    color: var(--sppl-text);
    background: #f8f9fc;
    border: 1px solid var(--sppl-border);
    border-radius: 9px;
    outline: none;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.sppl-form-group input:focus {
    background: #fff;
    border-color: var(--sppl-accent);
    box-shadow: 0 0 0 3px rgba(231,178,74,.17);
}

.sppl-form-group small,
.sppl-password-hint {
    margin: 0;
    color: var(--sppl-muted);
    font-size: 12px;
    line-height: 1.7;
}

.sppl-checkbox {
    display: flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    color: var(--sppl-muted);
    font-size: 13px;
    cursor: pointer;
}

.sppl-checkbox input {
    width: 16px;
    height: 16px;
    accent-color: var(--sppl-primary);
}

.sppl-account-submit {
    width: 100%;
    min-height: 52px;
    margin-top: 3px;
    padding: 12px 20px;
    color: #fff;
    background: var(--sppl-primary);
    border: 0;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 850;
    cursor: pointer;
    transition: transform .22s ease, background-color .22s ease;
}

.sppl-account-submit:hover {
    color: var(--sppl-primary);
    background: var(--sppl-accent);
    transform: translateY(-2px);
}

.sppl-form-message {
    margin-bottom: 20px;
    padding: 13px 15px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.8;
}

.sppl-form-error {
    color: #8c3228;
    background: #fff0ed;
    border: 1px solid #f0c5bf;
    border-right: 4px solid #c94b3e;
}

.sppl-account-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 24px;
    padding-top: 20px;
    color: var(--sppl-muted);
    border-top: 1px solid var(--sppl-border);
    font-size: 13px;
}

.sppl-account-footer a {
    color: #176aa6;
    font-weight: 750;
    text-decoration: none;
}

.sppl-account-footer a:hover {
    color: #bd8622;
}

.sppl-honeypot {
    position: absolute !important;
    right: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.sppl-account-status {
    margin: 65px auto;
    text-align: center;
}

.sppl-account-status h2 {
    color: var(--sppl-primary);
}

.sppl-account-status p {
    margin: 7px 0 22px;
    color: var(--sppl-muted);
}

.sppl-account-links {
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* =========================================
   Member Profile
   ========================================= */

.sppl-profile-page {
    width: 100%;
    max-width: 850px;
    margin: 45px auto 70px;
    overflow: hidden;
    color: var(--sppl-text);
    background-color: #ffffff;
    border: 1px solid var(--sppl-border);
    border-radius: 18px;
    box-shadow: 0 18px 55px rgba(23, 32, 51, 0.11);
}

.sppl-profile-header {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 35px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(231, 178, 74, 0.25),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--sppl-primary),
            var(--sppl-primary-light)
        );
}

.sppl-profile-avatar {
    flex: 0 0 auto;
}

.sppl-profile-avatar img {
    display: block;
    width: 110px;
    height: 110px;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.sppl-profile-intro span {
    display: inline-block;
    margin-bottom: 5px;
    color: var(--sppl-accent);
    font-size: 13px;
    font-weight: 800;
}

.sppl-profile-intro h1 {
    margin: 0 0 5px;
    color: #ffffff;
    font-size: clamp(25px, 4vw, 37px);
    font-weight: 900;
}

.sppl-profile-intro p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

.sppl-profile-form {
    padding: 35px;
}

.sppl-profile-section {
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--sppl-border);
}

.sppl-profile-section:last-of-type {
    margin-bottom: 25px;
}

.sppl-section-heading {
    margin-bottom: 22px;
}

.sppl-section-heading h2 {
    margin: 0 0 5px;
    color: var(--sppl-primary);
    font-size: 22px;
    font-weight: 850;
}

.sppl-section-heading p {
    margin: 0;
    color: var(--sppl-muted);
    font-size: 13px;
}

.sppl-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.sppl-profile-full {
    grid-column: 1 / -1;
}

.sppl-profile-message {
    margin: 25px 35px 0;
    padding: 14px 17px;
    border-radius: 9px;
    font-size: 14px;
    line-height: 1.8;
}

.sppl-profile-success {
    color: #17673f;
    background-color: #eaf9f1;
    border: 1px solid #b8e6cd;
    border-right: 4px solid var(--sppl-green);
}

.sppl-profile-error {
    color: #8c3228;
    background-color: #fff0ed;
    border: 1px solid #f0c5bf;
    border-right: 4px solid #c94b3e;
}

.sppl-profile-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 11px;
}

.sppl-profile-save,
.sppl-profile-library,
.sppl-profile-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 11px 21px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    transition:
        transform 0.22s ease,
        opacity 0.22s ease;
}

.sppl-profile-save {
    color: #ffffff;
    background-color: var(--sppl-primary);
    border: 0;
    cursor: pointer;
}

.sppl-profile-library {
    color: #ffffff !important;
    background-color: var(--sppl-green);
}

.sppl-profile-logout {
    color: #a13b31 !important;
    background-color: #fff0ed;
    border: 1px solid #efc5bf;
}

.sppl-profile-save:hover,
.sppl-profile-library:hover,
.sppl-profile-logout:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}

.sppl-profile-login-required {
    max-width: 600px;
    margin: 70px auto;
    padding: 35px;
    background-color: #ffffff;
    border: 1px solid var(--sppl-border);
    border-radius: 15px;
    box-shadow: 0 15px 45px rgba(23, 32, 51, 0.1);
    text-align: center;
}

.sppl-profile-login-required h2 {
    color: var(--sppl-primary);
}

.sppl-profile-login-required p {
    color: var(--sppl-muted);
}

.sppl-library-profile-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 10px 18px;
    color: var(--sppl-primary) !important;
    background-color: var(--sppl-accent);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    transition:
        transform 0.22s ease,
        opacity 0.22s ease;
}

.sppl-library-profile-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

@media (max-width: 650px) {
    .sppl-profile-page {
        margin-top: 20px;
        border-radius: 13px;
    }

    .sppl-profile-header {
        padding: 27px 20px;
        flex-direction: column;
        text-align: center;
    }

    .sppl-profile-avatar img {
        width: 90px;
        height: 90px;
    }

    .sppl-profile-form {
        padding: 24px 17px;
    }

    .sppl-profile-message {
        margin: 20px 17px 0;
    }

    .sppl-profile-grid {
        grid-template-columns: 1fr;
    }

    .sppl-profile-full {
        grid-column: auto;
    }

    .sppl-profile-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .sppl-profile-save,
    .sppl-profile-library,
    .sppl-profile-logout {
        width: 100%;
    }
}
@media (max-width: 1100px) {
    .sppl-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .sppl-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .sppl-login-notice {
        align-items: stretch;
        flex-direction: column;
    }

    .sppl-notice-actions {
        align-items: stretch;
    }

    .sppl-notice-actions .sppl-button {
        flex: 1;
    }
}

@media (max-width: 520px) {
    .sppl-library {
        margin-top: 20px;
    }

    .sppl-library-header {
        padding: 34px 17px;
        border-radius: 14px;
    }

    .sppl-grid {
        gap: 10px;
    }

    .sppl-cover {
        margin: 7px 7px 0;
        border-radius: 8px;
    }

    .sppl-card {
        border-radius: 11px;
    }

    .sppl-card-body {
        padding: 11px;
    }

    .sppl-card h2 {
        min-height: 48px;
        font-size: 14px;
        line-height: 1.65;
    }

    .sppl-card-body > p,
    .sppl-details-link {
        display: none;
    }

    .sppl-button {
        min-height: 40px;
        padding: 8px 7px;
        font-size: 11px;
    }

    .sppl-format {
        font-size: 9px;
    }

    .sppl-notice-actions {
        flex-direction: column;
    }

    .sppl-account-page {
        min-height: 0;
        padding: 20px 0;
    }

    .sppl-account-card {
        padding: 24px 17px;
        border-radius: 13px;
    }

    .sppl-account-heading {
        margin: -24px -17px 24px;
        padding: 27px 16px 24px;
        border-radius: 13px 13px 0 0;
    }

    .sppl-form-row {
        grid-template-columns: 1fr;
    }

    .sppl-account-footer,
    .sppl-account-links {
        align-items: stretch;
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================
   Library Advanced Filter
   ========================================= */

.sppl-library-filter {
    margin-bottom: 32px;
    padding: 27px;
    background-color: #ffffff;
    border: 1px solid var(--sppl-border);
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(23, 32, 51, 0.07);
}

.sppl-filter-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--sppl-border);
}

.sppl-filter-heading span {
    display: block;
    margin-bottom: 3px;
    color: #bd8622;
    font-size: 12px;
    font-weight: 800;
}

.sppl-filter-heading h2 {
    margin: 0;
    color: var(--sppl-primary);
    font-size: 24px;
    font-weight: 900;
}

.sppl-clear-filters {
    padding: 8px 14px;
    color: #a13b31;
    background-color: #fff0ed;
    border: 1px solid #efc5bf;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
}

.sppl-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.sppl-filter-wide {
    grid-column: span 2;
}

.sppl-filter-field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 7px;
}

.sppl-filter-field label {
    color: var(--sppl-primary);
    font-size: 13px;
    font-weight: 800;
}

.sppl-filter-field input,
.sppl-filter-field select {
    width: 100%;
    height: 47px;
    padding: 9px 13px;
    color: var(--sppl-text);
    background-color: #f8f9fc;
    border: 1px solid var(--sppl-border);
    border-radius: 8px;
    outline: none;
}

.sppl-filter-field input:focus,
.sppl-filter-field select:focus {
    background-color: #ffffff;
    border-color: var(--sppl-accent);
    box-shadow: 0 0 0 3px rgba(231, 178, 74, 0.16);
}

.sppl-filter-actions {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-top: 23px;
    padding-top: 20px;
    border-top: 1px solid var(--sppl-border);
}

.sppl-filter-actions button {
    min-height: 47px;
    padding: 11px 25px;
    color: #ffffff;
    background-color: var(--sppl-primary);
    border: 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.sppl-filter-actions button:hover {
    color: var(--sppl-primary);
    background-color: var(--sppl-accent);
}

.sppl-filter-actions span {
    color: var(--sppl-muted);
    font-size: 13px;
    font-weight: 600;
}

/* مشخصات روی کارت */
.sppl-card-meta {
    display: flex;
    margin-bottom: 13px;
    flex-direction: column;
    gap: 3px;
    color: var(--sppl-muted);
    font-size: 12px;
    line-height: 1.7;
}

.sppl-card-meta strong {
    color: var(--sppl-primary);
}

/* =========================================
   Single Book Details
   ========================================= */

.sppl-single-details {
    margin-top: 35px;
    padding: 27px;
    background-color: #f7f9fc;
    border: 1px solid var(--sppl-border);
    border-right: 5px solid var(--sppl-accent);
    border-radius: 12px;
}

.sppl-single-details h2 {
    margin: 0 0 22px;
    color: var(--sppl-primary);
    font-size: 24px;
    font-weight: 900;
}

.sppl-details-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid var(--sppl-border);
    border-radius: 9px;
}

.sppl-detail-row {
    display: grid;
    grid-template-columns: 115px 1fr;
    min-width: 0;
    border-bottom: 1px solid var(--sppl-border);
}

.sppl-detail-row:nth-child(odd) {
    border-left: 1px solid var(--sppl-border);
}

.sppl-detail-label,
.sppl-detail-value {
    padding: 12px 14px;
    line-height: 1.8;
}

.sppl-detail-label {
    color: var(--sppl-primary);
    background-color: #eef1f6;
    font-size: 13px;
    font-weight: 800;
}

.sppl-detail-value {
    color: var(--sppl-muted);
    font-size: 14px;
}

@media (max-width: 1000px) {
    .sppl-filter-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sppl-filter-wide {
        grid-column: span 2;
    }
}

@media (max-width: 750px) {
    .sppl-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sppl-details-list {
        grid-template-columns: 1fr;
    }

    .sppl-detail-row:nth-child(odd) {
        border-left: 0;
    }
}

@media (max-width: 520px) {
    .sppl-library-filter {
        padding: 18px 14px;
    }

    .sppl-filter-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .sppl-filter-grid {
        grid-template-columns: 1fr;
    }

    .sppl-filter-wide {
        grid-column: auto;
    }

    .sppl-filter-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .sppl-filter-actions button {
        width: 100%;
    }

    .sppl-single-details {
        padding: 18px 12px;
    }

    .sppl-detail-row {
        grid-template-columns: 95px 1fr;
    }
}
