/* ==================================================
   BASIC JUDO - TECHNIQUE LIBRARY
================================================== */

/* 01 - Page Base
-------------------------------------------------- */

.bj-techniques-page,
.bj-technique-library {
    background: #f4f7fb;
}

.bj-technique-library {
    padding: 80px 0 120px;
}

.bj-techniques-hero .bj-container,
.bj-technique-library .bj-container {
    width: min(1280px, calc(100% - 48px));
}

/* 02 - Hero
-------------------------------------------------- */

.bj-techniques-hero {
    position: relative;
    overflow: hidden;
    padding: 190px 0 100px;
    background: linear-gradient(135deg, #051c37 0%, #0b3562 55%, #124e89 100%);
}

.bj-techniques-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 45%);
}

.bj-techniques-hero .bj-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.bj-techniques-hero .bj-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    padding: 10px 18px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.bj-techniques-hero h1 {
    margin-bottom: 30px;
    color: #fff;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
}

.bj-techniques-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.15rem;
    line-height: 1.9;
}

/* 03 - Breadcrumb
-------------------------------------------------- */

.bj-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 46px;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.bj-breadcrumb a {
    color: #0f2f57;
    text-decoration: none;
    transition: 0.2s ease;
}

.bj-breadcrumb a:hover {
    color: var(--bj-red);
}

.bj-breadcrumb span {
    color: #94a3b8;
}

.bj-breadcrumb strong {
    color: #0f172a;
}

/* 04 - Section Heading
-------------------------------------------------- */

.bj-section-heading {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.bj-section-heading .bj-section-kicker {
    color: #0b3562;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.bj-section-heading h2 {
    margin: 14px 0 16px;
    color: #0f2442;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
}

.bj-section-heading p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.75;
}

/* 05 - Filter Buttons
-------------------------------------------------- */

.bj-technique-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 55px;
}

.bj-technique-filter button {
    padding: 12px 20px;
    color: #0b2340;
    background: #fff;
    border: 1px solid #dde6f1;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.25s ease;
}

.bj-technique-filter button:hover,
.bj-technique-filter button.active {
    color: #fff;
    background: #0b3562;
    border-color: #0b3562;
}

/* 06 - Category / Group / Subcategory Cards
-------------------------------------------------- */

.bj-technique-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.bj-technique-category-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 230px;
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(15, 35, 66, 0.08);
    border-radius: 24px;
    box-shadow: 0 22px 60px rgba(15, 35, 66, 0.08);
    transition: 0.25s ease;
}

.bj-technique-category-card:hover {
    transform: translateY(-6px);
    border-color: rgba(197, 27, 45, 0.18);
    box-shadow: 0 30px 80px rgba(15, 35, 66, 0.14);
}

.bj-technique-category-card__media {
    position: relative;
    min-height: 230px;
    background: linear-gradient(145deg, #082a57, #123f73);
}

.bj-technique-category-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.92;
}

.bj-technique-category-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 230px;
    color: rgba(255, 255, 255, 0.18);
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 34%),
        linear-gradient(145deg, #082a57, #123f73);
    font-size: 72px;
    font-weight: 900;
}

.bj-technique-category-card__content {
    display: flex;
    flex-direction: column;
    padding: 28px 30px;
}

.bj-technique-category-card__eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--bj-red);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.bj-technique-category-card__content h3 {
    margin: 0 0 14px;
    color: #0f2442;
    font-size: 24px;
    line-height: 1.2;
}

.bj-technique-category-card__content p {
    margin: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.75;
}

.bj-technique-category-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 22px;
    color: #0f2f57;
    font-size: 13px;
    font-weight: 800;
}

.bj-technique-category-card__meta span:last-child {
    color: var(--bj-red);
}

/* 07 - Technique Cards
-------------------------------------------------- */

.bj-technique-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 420px));
    justify-content: center;
    gap: 36px;
    max-width: 1280px;
    margin: 0 auto;
}

.bj-technique-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 520px;
    padding: 28px;
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(15, 35, 66, 0.08);
    border-radius: 26px;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.1);
    transition: 0.25s ease;
}

.bj-technique-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(15, 35, 66, 0.14);
}

.bj-technique-card__image {
    overflow: hidden;
    width: 100%;
    height: 240px;
    margin-bottom: 24px;
    background: linear-gradient(145deg, #082a57, #123f73);
    border-radius: 14px;
}

.bj-technique-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bj-technique-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 240px;
    color: rgba(255, 255, 255, 0.18);
    font-size: 70px;
    font-weight: 900;
}

.bj-technique-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 0;
}

.bj-technique-card__jp {
    display: inline-flex;
    width: fit-content;
    height: auto;
    margin-bottom: 16px;
    padding: 7px 13px;
    color: #082a57;
    white-space: nowrap;
    background: rgba(8, 42, 87, 0.08);
    border-radius: 999px;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
}

.bj-technique-card__content h3 {
    margin: 0 0 14px;
    color: #0f2442;
    font-family: var(--bj-font-title);
    font-size: 25px;
    line-height: 1.25;
}

.bj-technique-card__content p {
    margin: 0 0 22px;
    color: #64748b;
    font-size: 15.5px;
    line-height: 1.8;
}

.bj-technique-card__footer {
    margin-top: auto;
    color: var(--bj-red);
    font-size: 13px;
    font-weight: 900;
}

.bj-technique-card__footer span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #082a57;
    white-space: nowrap;
    background: transparent !important;
    font-size: 17px;
    font-weight: 900;
}

/* 08 - Learning Roadmap
-------------------------------------------------- */

.bj-learning-roadmap {
    overflow: hidden;
    max-width: 1280px;
    margin: 100px auto 0;
    padding: 70px 50px;
    background: linear-gradient(135deg, #071e39 0%, #0b3562 55%, #0f4d86 100%);
    border-radius: 28px;
}

.bj-learning-roadmap .bj-section-heading {
    margin-bottom: 0;
}

.bj-learning-roadmap .bj-section-heading h2,
.bj-learning-roadmap .bj-section-heading p {
    color: #fff;
}

.bj-learning-roadmap .bj-section-kicker {
    color: #f5c45b;
}

.bj-roadmap {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    margin-top: 55px;
}

.bj-roadmap-item {
    padding: 28px 22px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    backdrop-filter: blur(14px);
}

.bj-road-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 18px;
    color: #0b3562;
    background: #fff;
    border-radius: 50%;
    font-weight: 800;
}

.bj-roadmap-item h3 {
    margin-bottom: 8px;
    color: #fff;
    font-size: 1.2rem;
}

.bj-roadmap-item p {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.95rem;
}

.bj-road-arrow {
    color: rgba(255, 255, 255, 0.75);
    font-size: 2rem;
    font-weight: 700;
}

/* 09 - Empty State
-------------------------------------------------- */

.bj-empty-state {
    padding: 50px;
    text-align: center;
    background: #fff;
    border: 1px dashed rgba(15, 35, 66, 0.18);
    border-radius: 24px;
}

.bj-empty-state h3 {
    margin: 0 0 10px;
    color: #0f2442;
}

.bj-empty-state p {
    margin: 0;
    color: #64748b;
}

/* 10 - Tablet Responsive
-------------------------------------------------- */

@media (max-width: 1100px) {
    .bj-technique-category-grid {
        grid-template-columns: 1fr;
    }

    .bj-roadmap {
        grid-template-columns: 1fr;
    }

    .bj-road-arrow {
        text-align: center;
        transform: rotate(90deg);
    }
}

/* 11 - Mobile Responsive
-------------------------------------------------- */

@media (max-width: 768px) {
    .bj-techniques-hero {
        padding: 90px 0 70px;
    }

    .bj-techniques-hero h1 {
        font-size: 2.3rem;
    }

    .bj-technique-library {
        padding: 56px 0 80px;
    }

    .bj-technique-category-card {
        grid-template-columns: 1fr;
    }

    .bj-technique-category-card__media,
    .bj-technique-category-card__placeholder {
        min-height: 190px;
    }

    .bj-technique-category-card__content {
        padding: 24px;
    }

    .bj-technique-category-card__meta {
        flex-direction: column;
        gap: 8px;
    }

    .bj-technique-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .bj-technique-card {
        min-height: auto;
        padding: 22px;
    }

    .bj-technique-card__image,
    .bj-technique-card__placeholder {
        height: 210px;
    }

    .bj-learning-roadmap {
        padding: 45px 24px;
        border-radius: 22px;
    }
}