/* ==================================================
   BASIC JUDO - TECHNIQUE DETAIL
================================================== */

/* 01 - Page Base
-------------------------------------------------- */

.bj-technique-detail-page {
    background: #f5f7fb;
}

/* 02 - Premium Hero
-------------------------------------------------- */

.bj-technique-hero-premium {
    position: relative;
    overflow: hidden;
    padding: 185px 0 115px;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.12), transparent 34%),
        linear-gradient(135deg, #061a34 0%, #0b3562 55%, #124e89 100%);
}

.bj-technique-hero-premium::before {
    content: "TECHNIQUES";
    position: absolute;
    top: 80px;
    right: -80px;
    color: rgba(255, 255, 255, 0.045);
    font-size: 150px;
    font-weight: 900;
    letter-spacing: -6px;
    pointer-events: none;
}

.bj-technique-hero-premium::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, rgba(8, 42, 87, 0), #f5f7fb);
    pointer-events: none;
}

.bj-technique-hero-premium__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 70px;
    align-items: center;
}

.bj-technique-hero-premium__content {
    max-width: 760px;
}

.bj-technique-hero-premium__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
    font-weight: 700;
}

.bj-technique-hero-premium__breadcrumb a {
    color: rgba(255, 255, 255, 0.76);
    text-decoration: none;
}

.bj-technique-hero-premium__breadcrumb a:hover {
    color: #fff;
}

.bj-technique-hero-premium__breadcrumb strong {
    color: #fff;
}

.bj-technique-hero-premium__badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 24px;
    padding: 10px 17px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.bj-technique-hero-premium h1 {
    margin: 0 0 24px;
    color: #fff;
    font-size: clamp(48px, 5vw, 78px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.bj-technique-hero-premium p {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
    line-height: 1.85;
}

.bj-technique-hero-premium__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 24px;
}

.bj-technique-hero-premium__tags span {
    display: inline-flex;
    padding: 9px 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    backdrop-filter: blur(12px);
    transition: 0.25s ease;
}

.bj-technique-hero-premium__tags span:hover {
    background: rgba(197, 27, 45, 0.95);
    border-color: rgba(197, 27, 45, 0.95);
}

.bj-technique-hero-premium__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 520px;
    margin-top: 28px;
}

.bj-technique-hero-premium__stats div {
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    backdrop-filter: blur(14px);
}

.bj-technique-hero-premium__stats strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 34px;
    line-height: 1;
}

.bj-technique-hero-premium__stats span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 800;
}

/* 03 - Hero Media / Summary
-------------------------------------------------- */

.bj-technique-hero-premium__media {
    position: relative;
}

.bj-technique-hero-premium__media::before {
    content: "";
    position: absolute;
    inset: 24px -24px -24px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 26px;
}

.bj-technique-hero-premium__media img,
.bj-technique-hero-premium__placeholder {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 36%),
        linear-gradient(145deg, #082a57, #123f73);
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 24px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
}

.bj-technique-hero-premium__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.25);
    font-size: 120px;
    font-weight: 900;
}

.bj-technique-hero-premium__summary {
    position: relative;
    z-index: 3;
    display: grid;
    gap: 10px;
    margin-top: 16px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    backdrop-filter: blur(14px);
}

.bj-technique-hero-premium__summary div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bj-technique-hero-premium__summary div:last-child {
    border-bottom: 0;
}

.bj-technique-hero-premium__summary small {
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    font-weight: 800;
}

.bj-technique-hero-premium__summary strong {
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-align: right;
}

/* 04 - Detail Body / Layout
-------------------------------------------------- */

.bj-technique-detail-body {
    padding: 80px 0 120px;
    background: #f5f7fb;
}

.bj-technique-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: start;
}

.bj-technique-detail-main {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* 05 - Main Cards / Rich Content
-------------------------------------------------- */

.bj-technique-detail-card {
    padding: 40px;
    background: #fff;
    border: 1px solid rgba(15, 35, 66, 0.08);
    border-radius: 26px;
    box-shadow: 0 24px 70px rgba(15, 35, 66, 0.08);
}

.bj-technique-detail-card h2 {
    margin: 10px 0 24px;
    color: #082a57;
    font-size: clamp(28px, 3vw, 42px);
    letter-spacing: -0.03em;
}

.bj-technique-detail-card h2 small {
    display: inline-flex;
    margin-left: 10px;
    color: #94a3b8;
    font-size: 16px;
    font-weight: 800;
}

.bj-rich-content {
    color: #475569;
    font-size: 16px;
    line-height: 2;
}

.bj-rich-content p {
    margin-bottom: 20px;
}

.bj-rich-content h3 {
    margin: 38px 0 16px;
    color: #0f2442;
    font-size: 26px;
}

.bj-rich-content ul,
.bj-rich-content ol {
    margin: 22px 0;
    padding-left: 22px;
}

.bj-rich-content li {
    margin-bottom: 10px;
}

/* 06 - Quick Overview / Stats
-------------------------------------------------- */

.bj-technique-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 0 0 34px;
}

.bj-overview-item,
.bj-technique-stat {
    background: #f8fafc;
    border: 1px solid #e7edf5;
    border-radius: 18px;
}

.bj-overview-item {
    padding: 18px;
    transition: 0.25s ease;
}

.bj-overview-item:hover {
    transform: translateY(-4px);
    background: #fff;
    box-shadow: 0 16px 35px rgba(15, 35, 66, 0.08);
}

.bj-overview-item small,
.bj-technique-stat small {
    display: block;
    margin-bottom: 10px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.bj-overview-item strong,
.bj-technique-stat strong {
    display: block;
    color: #082a57;
    font-size: 17px;
    line-height: 1.35;
}

.bj-technique-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.bj-technique-stat {
    padding: 24px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(15, 35, 66, 0.06);
}

/* 07 - Sensei Note
-------------------------------------------------- */

.bj-technique-note {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 32px;
    background: linear-gradient(135deg, #071e39 0%, #0b3562 55%, #114f8d 100%);
    border-radius: 26px;
    box-shadow: 0 28px 80px rgba(8, 42, 87, 0.18);
}

.bj-technique-note__icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    font-size: 30px;
}

.bj-technique-note h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 24px;
}

.bj-technique-note p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.9;
}

.bj-technique-note strong {
    color: #fff;
}

/* 08 - Video / Photo / Documents
-------------------------------------------------- */

.bj-technique-video-grid,
.bj-technique-video-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.bj-technique-video-list:has(.bj-technique-video-card:only-child) {
    grid-template-columns: minmax(0, 900px);
    justify-content: center;
}

.bj-technique-video-card {
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e8edf4;
    border-radius: 24px;
    transition: 0.24s ease;
}

.bj-technique-video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(6, 27, 58, 0.1);
}

.bj-technique-video-card__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #061b3a;
}

.bj-technique-video-card__frame iframe,
.bj-technique-video-card iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.bj-technique-video-card__body,
.bj-technique-video-card__content {
    padding: 22px 24px;
}

.bj-technique-video-card__body span {
    display: inline-block;
    margin-bottom: 8px;
    color: #00856f;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.bj-technique-video-card__body h3,
.bj-technique-video-card__content h3 {
    margin: 0 0 8px;
    color: #061b3a;
    font-family: var(--bj-font-heading, "Cormorant Garamond", serif);
    font-size: 30px;
    line-height: 1.08;
}

.bj-technique-video-card__body p,
.bj-technique-video-card__content p {
    margin: 10px 0 0;
    color: #64748b;
    line-height: 1.7;
}

.bj-technique-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.bj-technique-photo-card {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s ease;
}

.bj-technique-photo-card:hover {
    transform: scale(1.035);
    box-shadow: 0 24px 55px rgba(15, 35, 66, 0.18);
}

.bj-technique-document-list,
.bj-technique-documents {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bj-technique-document-card,
.bj-technique-document {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 24px;
    text-decoration: none;
    background: #f8fafc;
    border: 1px solid #e8edf4;
    border-radius: 18px;
    transition: 0.3s ease;
}

.bj-technique-document-card {
    justify-content: space-between;
}

.bj-technique-document-card:hover,
.bj-technique-document:hover {
    transform: translateX(6px);
    background: #fff;
    border-color: #d71920;
    box-shadow: 0 20px 45px rgba(15, 35, 66, 0.08);
}

.bj-technique-document__icon {
    display: grid;
    flex: 0 0 58px;
    place-items: center;
    width: 58px;
    height: 58px;
    color: #fff;
    background: #d71920;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.bj-technique-document-card strong,
.bj-technique-document strong {
    display: block;
    margin-bottom: 6px;
    color: #082a57;
}

.bj-technique-document-card p,
.bj-technique-document small {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.bj-technique-document-card > span {
    padding: 9px 15px;
    color: #fff;
    background: #082a57;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

/* 09 - Sidebar / Back Card
-------------------------------------------------- */

.bj-technique-detail-sidebar {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bj-technique-side-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    background: #fff;
    border: 1px solid rgba(15, 35, 66, 0.08);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(15, 35, 66, 0.07);
}

.bj-technique-side-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #c51b2d, #082a57);
}

.bj-technique-side-card h3 {
    margin: 10px 0 20px;
    color: #082a57;
    font-size: 22px;
}

.bj-technique-side-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bj-technique-side-card li {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid #edf2f7;
}

.bj-technique-side-card li:last-child {
    border-bottom: 0;
}

.bj-technique-side-card li span {
    color: #64748b;
    font-size: 14px;
}

.bj-technique-side-card li strong {
    color: #0f2442;
    text-align: right;
    font-size: 14px;
}

.bj-technique-side-card a {
    display: block;
    padding: 13px 0;
    color: #082a57;
    text-decoration: none;
    font-weight: 800;
    border-bottom: 1px solid #edf2f7;
}

.bj-technique-side-card a:last-child {
    border-bottom: 0;
}

.bj-technique-back-card {
    display: block;
    padding: 24px 28px;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    background: #082a57;
    border-radius: 22px;
    box-shadow: 0 24px 65px rgba(8, 42, 87, 0.22);
    transition: 0.3s ease;
}

.bj-technique-back-card:hover {
    transform: translateY(-5px);
    color: #fff;
}

/* 10 - Next Technique
-------------------------------------------------- */

.bj-next-technique {
    margin-top: 4px;
    padding: 36px 40px;
    color: #fff;
    background: linear-gradient(135deg, #071e39, #0b3562);
    border-radius: 26px;
    box-shadow: 0 24px 70px rgba(8, 42, 87, 0.18);
}

.bj-next-technique h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 28px;
}

.bj-next-technique p {
    max-width: 620px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
}

.bj-next-technique a {
    display: inline-flex;
    align-items: center;
    padding: 13px 20px;
    color: #082a57;
    text-decoration: none;
    font-weight: 900;
    background: #fff;
    border-radius: 999px;
}

.bj-next-technique a:hover {
    transform: translateY(-3px);
}

/* 11 - Legacy Stage / Section Support
-------------------------------------------------- */

.bj-technique-body {
    padding: 0 0 112px;
}

.bj-technique-stage {
    position: relative;
    z-index: 5;
    margin-top: -74px;
}

.bj-technique-stage__media {
    position: relative;
    overflow: hidden;
    padding: 14px;
    background: #fff;
    border: 1px solid rgba(8, 42, 87, 0.08);
    border-radius: 7px;
    box-shadow: 0 30px 80px rgba(6, 27, 58, 0.16);
}

.bj-technique-stage__image {
    display: block;
    width: 100%;
    min-height: 520px;
    height: min(66vh, 690px);
    object-fit: cover;
    border-radius: 7px;
    transition: transform 0.55s ease, filter 0.35s ease;
}

.bj-technique-stage__media:hover .bj-technique-stage__image {
    transform: scale(1.025);
    filter: saturate(1.04) contrast(1.02);
}

.bj-technique-section {
    margin-bottom: 34px;
    padding: 44px;
    background: #fff;
    border: 1px solid rgba(8, 42, 87, 0.08);
    border-radius: 7px;
    box-shadow: 0 24px 70px rgba(6, 27, 58, 0.09);
}

.bj-technique-section__head {
    margin-bottom: 28px;
}

.bj-technique-section__head span {
    display: inline-block;
    margin-bottom: 9px;
    color: #00856f;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.bj-technique-section__head h2 {
    margin: 0;
    color: #061b3a;
    font-family: var(--bj-font-heading, "Cormorant Garamond", serif);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

/* 12 - Tablet Responsive
-------------------------------------------------- */

@media (max-width: 1180px) {
    .bj-technique-hero-premium__grid,
    .bj-technique-detail-layout {
        grid-template-columns: 1fr;
    }

    .bj-technique-hero-premium__media {
        max-width: 520px;
    }

    .bj-technique-detail-sidebar {
        position: relative;
        top: auto;
    }

    .bj-technique-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .bj-technique-overview {
        grid-template-columns: repeat(2, 1fr);
    }

    .bj-technique-video-grid,
    .bj-technique-video-list,
    .bj-technique-video-list:has(.bj-technique-video-card:only-child) {
        grid-template-columns: 1fr;
    }
}

/* 13 - Mobile Responsive
-------------------------------------------------- */

@media (max-width: 768px) {
    .bj-technique-hero-premium {
        padding: 120px 0 80px;
    }

    .bj-technique-hero-premium::before {
        display: none;
    }

    .bj-technique-hero-premium h1 {
        font-size: 42px;
    }

    .bj-technique-hero-premium__stats,
    .bj-technique-stats,
    .bj-technique-overview,
    .bj-technique-photo-grid {
        grid-template-columns: 1fr;
    }

    .bj-technique-hero-premium__media img,
    .bj-technique-hero-premium__placeholder {
        height: 320px;
    }

    .bj-technique-detail-body {
        padding: 60px 0 90px;
    }

    .bj-technique-detail-card {
        padding: 28px;
        border-radius: 22px;
    }

    .bj-technique-note {
        flex-direction: column;
        padding: 28px;
    }

    .bj-next-technique {
        padding: 30px 26px;
    }

    .bj-technique-stage {
        margin-top: -44px;
    }

    .bj-technique-stage__image {
        min-height: 300px;
        height: 320px;
    }

    .bj-technique-section {
        padding: 28px;
    }
}