/*
 * Shredder2u — Learn Paper Shredder Page Styles
 * File: shr-learn-page.css
 * Location: /opt/bitnami/wordpress/wp-content/themes/storefront-child/shr-learn-page.css
 * Loaded only on Learn Paper Shredder page — conditional enqueue in functions.php
 * All rules scoped to .shr-learn-wrap
 */

.shr-learn-wrap * {
    box-sizing: border-box;
}

.shr-learn-wrap {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 48px 64px;
    font-family: inherit;
}

/* ── Hide WP title + kill gap ── */
.learn-paper-shredder .entry-title,
.page-id-2705 .entry-title {
    display: none !important;
}

.learn-paper-shredder .entry-content,
.page-id-2705 .entry-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.shr-learn-wrap p:empty,
.shr-learn-hero>p,
.shr-learn-wrap>p:empty {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
}

/* =============================================================
   HERO
   ============================================================= */

.shr-learn-hero {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-radius: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 44px;
    background: linear-gradient(135deg, #111d2e 0%, #1a2e45 50%, #0f1923 100%);
    padding: 56px 8vw 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
    overflow: hidden;
}

.shr-learn-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
    z-index: 0;
}

.shr-learn-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 5%, #e63946 35%, #e63946 65%, transparent 95%);
    z-index: 1;
}

.shr-learn-hero__text {
    position: relative;
    z-index: 2;
    max-width: 560px;
}

.shr-learn-hero__eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #e63946;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.shr-learn-hero__eyebrow::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: #e63946;
    flex-shrink: 0;
}

.shr-learn-hero__title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 16px;
}

.shr-learn-hero__title .highlight {
    color: #e63946;
}

.shr-learn-hero__body {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.75;
    margin: 0 0 24px;
}

.shr-learn-hero__links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.shr-learn-hero__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s;
}

.shr-learn-hero__link--solid {
    background: #e63946;
    color: #fff !important;
}

.shr-learn-hero__link--solid:hover {
    background: #c1121f;
}

.shr-learn-hero__link--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.shr-learn-hero__link--ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff !important;
}

/* Right — step progress pills */
.shr-learn-hero__steps {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shr-learn-hero__step-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 11px 18px;
    min-width: 230px;
}

.shr-learn-hero__step-pill-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e63946;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.shr-learn-hero__step-pill-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.3;
}

/* =============================================================
   SECTION HEADING
   ============================================================= */

.shr-learn-sec-head {
    margin-bottom: 28px;
}

.shr-learn-sec-head__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #e63946;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shr-learn-sec-head__eyebrow::before {
    content: '';
    display: block;
    height: 1px;
    width: 22px;
    background: #e63946;
    flex-shrink: 0;
}

.shr-learn-sec-head h2 {
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    color: #111d2e !important;
    margin: 0 0 8px !important;
}

.shr-learn-sec-head p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
    max-width: 600px;
}

/* =============================================================
   6-STEP GUIDE
   ============================================================= */

.shr-learn-steps-wrap {
    margin-bottom: 52px;
}

.shr-learn-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 0 24px;
    margin-bottom: 8px;
}

.shr-learn-step__left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.shr-learn-step__num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e63946;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(230, 57, 70, 0.3);
    position: relative;
    z-index: 1;
}

.shr-learn-step__connector {
    width: 2px;
    flex: 1;
    min-height: 24px;
    background: linear-gradient(to bottom, rgba(230, 57, 70, 0.35), rgba(230, 57, 70, 0.05));
    margin-top: 4px;
}

.shr-learn-step:last-child .shr-learn-step__connector {
    display: none;
}

.shr-learn-step__body {
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.shr-learn-step__body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e63946, #c1121f);
}

.shr-learn-step__body:hover {
    border-color: rgba(230, 57, 70, 0.3);
    box-shadow: 0 6px 24px rgba(230, 57, 70, 0.09);
}

.shr-learn-step__step-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #e63946;
    margin: 0 0 6px;
}

.shr-learn-step__body h3 {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: #111d2e !important;
    margin: 0 0 16px !important;
    line-height: 1.35 !important;
}

/* Category cards inside step 1 & 2 */
.shr-learn-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.shr-learn-cat-card {
    background: #f8fafc;
    border: 1px solid #e8edf2;
    border-radius: 8px;
    padding: 14px 14px;
    text-decoration: none !important;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    display: block;
}

.shr-learn-cat-card:hover {
    border-color: #e63946;
    box-shadow: 0 4px 14px rgba(230, 57, 70, 0.1);
    transform: translateY(-2px);
}

.shr-learn-cat-card__icon {
    font-size: 1.4rem;
    margin-bottom: 8px;
    display: block;
}

.shr-learn-cat-card__title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111d2e;
    margin: 0 0 4px;
    line-height: 1.3;
}

.shr-learn-cat-card__meta {
    font-size: 0.77rem;
    color: #6b7280;
    line-height: 1.45;
}

.shr-learn-cat-card__meta span {
    display: block;
}

/* Feed type comparison */
.shr-learn-feed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.shr-learn-feed-card {
    background: #f8fafc;
    border: 1.5px solid #e8edf2;
    border-radius: 8px;
    padding: 18px 16px;
    text-decoration: none !important;
}

.shr-learn-feed-card--highlight {
    border-color: #e63946;
    background: linear-gradient(135deg, #fff8f8, #fff0f1);
}

.shr-learn-feed-card__icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: block;
}

.shr-learn-feed-card__title {
    font-size: 0.92rem;
    font-weight: 800;
    color: #111d2e;
    margin: 0 0 6px;
}

.shr-learn-feed-card__desc {
    font-size: 0.83rem;
    color: #4b5563;
    line-height: 1.65;
    margin: 0 0 10px;
}

.shr-learn-feed-card__badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    background: #e63946;
    color: #fff;
}

.shr-learn-feed-card:not(.shr-learn-feed-card--highlight) .shr-learn-feed-card__badge {
    background: #f0f2f5;
    color: #374151;
}

/* Capacity tips */
.shr-learn-tip-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.65;
}

.shr-learn-tip-row:last-child {
    margin-bottom: 0;
}

.shr-learn-tip-row__icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #fff0f1, #ffe0e2);
    border: 1px solid rgba(230, 57, 70, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 1px;
}

.shr-learn-tip-row strong {
    color: #111d2e;
}

/* Feature checklist in step 6 */
.shr-learn-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.shr-learn-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e8edf2;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 0.85rem;
    color: #374151;
    line-height: 1.45;
    font-weight: 500;
}

.shr-learn-feature-item::before {
    content: '✓';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e63946;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

/* =============================================================
   SECURITY LEVEL CHART
   ============================================================= */

.shr-learn-security {
    background: linear-gradient(135deg, #111d2e 0%, #1a2e45 60%, #0f1923 100%);
    border-radius: 12px;
    padding: 40px 36px;
    margin-bottom: 52px;
    position: relative;
    overflow: hidden;
}

.shr-learn-security::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
}

.shr-learn-security::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 5%, #e63946 35%, #e63946 65%, transparent 95%);
}

.shr-learn-security__head {
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}

.shr-learn-security__head .shr-learn-sec-head__eyebrow {
    color: #e63946;
}

.shr-learn-security__head h2 {
    color: #fff !important;
}

.shr-learn-security__head p {
    color: rgba(255, 255, 255, 0.6) !important;
}

.shr-learn-security-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.shr-learn-sec-row {
    display: grid;
    grid-template-columns: 80px 120px 1fr 140px 120px;
    gap: 12px;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 14px 18px;
    transition: background 0.2s;
}

.shr-learn-sec-row:hover {
    background: rgba(255, 255, 255, 0.09);
}

.shr-learn-sec-row--header {
    background: rgba(230, 57, 70, 0.12);
    border-color: rgba(230, 57, 70, 0.25);
    padding: 10px 18px;
}

.shr-learn-sec-row--header span {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    color: rgba(255, 255, 255, 0.45) !important;
}

.shr-learn-sec-row__level {
    font-size: 0.82rem;
    font-weight: 800;
    color: #e63946;
}

.shr-learn-sec-row__cut {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

.shr-learn-sec-row__bar-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.shr-learn-sec-row__label {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 4px;
}

.shr-learn-sec-row__bar-bg {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.shr-learn-sec-row__bar-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #e63946, #ff6b7a);
    transition: width 0.6s ease;
}

.shr-learn-sec-row__pieces {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: right;
}

.shr-learn-sec-row__tag {
    text-align: right;
}

.shr-learn-sec-row__tag a {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(230, 57, 70, 0.2);
    border: 1px solid rgba(230, 57, 70, 0.35);
    color: #ff8a94 !important;
    text-decoration: none !important;
    transition: background 0.2s;
}

.shr-learn-sec-row__tag a:hover {
    background: rgba(230, 57, 70, 0.35);
    color: #fff !important;
}

/* Security image */
.shr-learn-security__img {
    margin-top: 24px;
    position: relative;
    z-index: 2;
    text-align: center;
    align-items: center;
}

.shr-learn-security__img img {
    max-width: 100%;
    border-radius: 8px;
    opacity: 0.92;
    align-items: center;
}

/* =============================================================
   CTA
   ============================================================= */

.shr-learn-cta {
    background: linear-gradient(135deg, #e63946 30%, #c1121f 100%);
    border-radius: 10px;
    padding: 44px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.shr-learn-cta__text h3 {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin: 0 0 8px !important;
}

.shr-learn-cta__text p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.95rem !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}

.shr-learn-cta__btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.shr-learn-btn {
    display: inline-block;
    padding: 13px 26px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s;
    white-space: nowrap;
}

.shr-learn-btn--white {
    background: #fff;
    color: #e63946 !important;
    border: 2px solid #fff;
}

.shr-learn-btn--white:hover {
    background: transparent;
    color: #fff !important;
}

.shr-learn-btn--outline {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.shr-learn-btn--outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* =============================================================
   RESPONSIVE
   ============================================================= */

@media (max-width: 900px) {
    .shr-learn-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .shr-learn-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .shr-learn-sec-row {
        grid-template-columns: 60px 100px 1fr 100px;
    }

    .shr-learn-sec-row__tag {
        display: none;
    }
}

@media (max-width: 768px) {
    .shr-learn-hero {
        flex-direction: column;
        padding: 44px 6vw 40px;
    }

    .shr-learn-hero__steps {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .shr-learn-hero__step-pill {
        flex: 1 1 180px;
        min-width: 0;
    }

    .shr-learn-hero__title {
        font-size: 2rem;
    }

    .shr-learn-security {
        padding: 28px 22px;
    }

    .shr-learn-sec-row {
        grid-template-columns: 55px 90px 1fr;
    }

    .shr-learn-sec-row__pieces {
        display: none;
    }

    .shr-learn-sec-row--header span:nth-child(4),
    .shr-learn-sec-row--header span:nth-child(5) {
        display: none;
    }
}

@media (max-width: 600px) {
    .shr-learn-wrap {
        padding: 0 16px 40px;
    }

    .shr-learn-step {
        grid-template-columns: 44px 1fr;
        gap: 0 14px;
    }

    .shr-learn-step__body {
        padding: 18px 16px;
    }

    .shr-learn-cat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .shr-learn-feed-grid {
        grid-template-columns: 1fr;
    }

    .shr-learn-feature-grid {
        grid-template-columns: 1fr;
    }

    .shr-learn-cta {
        padding: 32px 22px;
        flex-direction: column;
    }

    .shr-learn-cta__btns {
        width: 100%;
    }

    .shr-learn-btn {
        width: 100%;
        text-align: center;
    }

    .shr-learn-hero__steps {
        display: none;
    }

    .shr-learn-sec-row {
        grid-template-columns: 50px 1fr;
    }

    .shr-learn-sec-row__cut {
        display: none;
    }
}