/* =========================================================
   STUDY CONTENT
========================================================= */
.study-content {
}

/* =========================================================
   STUDY INTRO IMAGE
========================================================= */
.study-intro-image {
    display: block;
    width: 100%;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    height: auto;
    border-radius: 6px;
    border: 1px solid var(--wire-border);
}


/* =========================================================
   STUDY INTRO
========================================================= */
.study-intro {
    padding-top: 15px;
    margin-bottom: 22px;
    text-align: center;
}

.study-intro-title {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 0.3px;

    color: var(--wire-text);
}


/* =========================================================
   COURSE OVERVIEW TEXT
========================================================= */
.course-overview-text {
    min-width: 0;
}

.course-overview-description {
    max-width: 720px;
    
    font-size: 12px;
    line-height: 1.25;
    padding-bottom: 10px;
    color: var(--wire-text-muted2);
}

.course-progress-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 2px;

    font-size: 9px;
    letter-spacing: 1.2px;

    color: var(--wire-text-muted2);
}

.course-progress-heading strong {
    margin-top: 30px;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0;
    color: var(--wire-text);
}


/* =========================================================
   PROGRESS BAR
========================================================= */
.course-progress-track {
    width: 100%;
    height: 4px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
}

.course-progress-fill {
    width: 0%;
    height: 100%;
    background: var(--wire-accent);
    transition: width 0.3s ease;
}

.course-progress-count {
    margin-top: 7px;
    font-size: 9px;
    letter-spacing: 0.5px;
    color: var(--wire-text-muted2);
}

/* =========================================================
   TABLE OF CONTENTS
========================================================= */
.study-toc {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 30px;
}


/* =========================================================
   STUDY SECTION
========================================================= */
.study-section {
    width: 100%;
}


/* =========================================================
   SECTION HEADING
========================================================= */
.study-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.study-section-number {
    flex: 0 0 auto;
    min-width: 22px;
    padding-top: 1px;
    font-size: 10px;
    letter-spacing: 1.2px;
    color: var(--wire-accent);
}

.study-section-info {
    min-width: 0;
}

.study-section-title {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.3;
    color: var(--wire-text);
}

.study-section-description {
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.45;
    color: var(--wire-text-muted2);
}

/* =========================================================
   UNIT GRID
========================================================= */
.study-unit-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 8px;
}

/* =========================================================
   STUDY UNIT
========================================================= */
.study-unit {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 145px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 6px;
    color: var(--wire-text);
    text-decoration: none;
    transition:
        background 0.15s ease,
        border-color 0.15s ease;
}

/* =========================================================
   UNIT HOVER
========================================================= */
.study-unit:hover {
    background: var(--wire-hover-surface);
    border-color: var(--wire-border-accent);
}

/* =========================================================
   UNIT NUMBER
========================================================= */
.study-unit-number {
    display: block;
    margin-bottom: 7px;
    font-size: 9px;
    letter-spacing: 1.3px;
    color: var(--wire-accent);
}

/* =========================================================
   UNIT TITLE
========================================================= */
.study-unit-title {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.35;
    color: var(--wire-text);
}

/* =========================================================
   UNIT DESCRIPTION
========================================================= */
.study-unit-description {
    display: block;
    font-size: 11px;
    line-height: 1.5;
    color: var(--wire-text-muted2);
}

/* =========================================================
   UNIT STATUS
========================================================= */
.study-unit-status {
    display: block;
    margin-top: auto;
    padding-top: 13px;
    font-size: 9px;
    letter-spacing: 1px;
    color: var(--wire-text);
}

/* =========================================================
   SAFETY REFERENCE
========================================================= */
.study-unit.safety-reference {
    border-color: rgba(255, 255, 255, 0.20);
}

/* =========================================================
   NEXT STEP
========================================================= */
.study-next {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid var(--wire-border);
}

.study-next-label {
    margin-bottom: 6px;
    font-size: 9px;
    letter-spacing: 1.5px;
    color: var(--wire-accent);
}

.study-next-title {
    font-size: 15px;
    font-weight: 300;
    color: var(--wire-text);
}

.study-next-description {
    margin-top: 5px;
    font-size: 11px;
    color: var(--wire-text-muted2);
}
