.bsj-troubleshooting {
    --bsj-trouble-ink: #15232c;
    --bsj-trouble-muted: #5d6b72;
    --bsj-trouble-navy: #173a4b;
    --bsj-trouble-amber: #d77a1f;
    --bsj-trouble-paper: #f5f2ea;
    --bsj-trouble-line: #d9d2c4;
    margin: 26px 0 36px;
    color: var(--bsj-trouble-ink);
}

.bsj-troubleshooting__header {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 5vw, 42px);
    border-radius: 22px 22px 0 0;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, .055) 0 1px, transparent 1px 23px),
        linear-gradient(135deg, #102630, var(--bsj-trouble-navy));
    color: #fff;
}

.bsj-troubleshooting__header::after {
    position: absolute;
    right: -55px;
    bottom: -72px;
    width: 210px;
    height: 210px;
    border: 24px solid rgba(255, 255, 255, .04);
    border-radius: 50%;
    content: "";
}

.bsj-troubleshooting__eyebrow {
    margin: 0 0 7px;
    color: #f4b36e;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.bsj-troubleshooting__header h2 {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 0 11px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.55rem, 4vw, 2.55rem);
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.12;
}

.bsj-troubleshooting__header > p:last-child {
    position: relative;
    z-index: 1;
    max-width: 730px;
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: .9rem;
    line-height: 1.65;
}

.bsj-troubleshooting__notice {
    display: grid;
    gap: 4px;
    padding: 15px 18px;
    border: 1px solid #e2c49f;
    border-top: 0;
    background: #fff8eb;
    color: #65451f;
    font-size: .8rem;
    line-height: 1.55;
}

.bsj-troubleshooting__notice strong {
    color: #914a12;
}

.bsj-troubleshooting__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--bsj-trouble-line);
    border-top: 0;
    background: var(--bsj-trouble-paper);
}

.bsj-troubleshooting__item {
    min-width: 0;
    border: 1px solid var(--bsj-trouble-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(25, 39, 46, .045);
}

.bsj-troubleshooting__item[open] {
    border-color: #c58a4b;
    box-shadow: 0 9px 24px rgba(104, 65, 24, .09);
}

.bsj-troubleshooting__item summary {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 18px;
    gap: 8px;
    align-items: center;
    min-height: 58px;
    padding: 11px 12px;
    cursor: pointer;
    list-style: none;
}

.bsj-troubleshooting__item summary::-webkit-details-marker {
    display: none;
}

.bsj-troubleshooting__item summary > span {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border-radius: 8px;
    background: #eaf0f2;
    color: var(--bsj-trouble-navy);
    font-size: .66rem;
    font-weight: 800;
}

.bsj-troubleshooting__item summary strong {
    color: var(--bsj-trouble-ink);
    font-size: .84rem;
    line-height: 1.35;
}

.bsj-troubleshooting__item summary i {
    position: relative;
    width: 16px;
    height: 16px;
}

.bsj-troubleshooting__item summary i::before,
.bsj-troubleshooting__item summary i::after {
    position: absolute;
    top: 7px;
    left: 2px;
    width: 12px;
    height: 2px;
    background: var(--bsj-trouble-amber);
    content: "";
    transition: transform .18s ease;
}

.bsj-troubleshooting__item summary i::after {
    transform: rotate(90deg);
}

.bsj-troubleshooting__item[open] summary i::after {
    transform: rotate(0);
}

.bsj-troubleshooting__item > div {
    padding: 0 13px 13px 50px;
}

.bsj-troubleshooting__item p {
    margin: 0 0 9px;
    color: var(--bsj-trouble-muted);
    font-size: .76rem;
    line-height: 1.55;
}

.bsj-troubleshooting__item a {
    color: #8a470f;
    font-size: .72rem;
    font-weight: 700;
    text-decoration: underline;
}

.bsj-troubleshooting__resources {
    display: grid;
    grid-template-columns: minmax(180px, .6fr) minmax(0, 1.4fr);
    gap: 24px;
    padding: 22px;
    border: 1px solid var(--bsj-trouble-line);
    border-top: 0;
    background: #fff;
}

.bsj-troubleshooting__resources h3 {
    margin: 0;
    color: var(--bsj-trouble-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    font-weight: 600;
}

.bsj-troubleshooting__resources ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bsj-troubleshooting__resources li {
    margin: 0;
    border-bottom: 1px solid #ece7de;
}

.bsj-troubleshooting__resources a {
    display: block;
    padding: 7px 0;
    color: #294653;
    font-size: .76rem;
    font-weight: 600;
    line-height: 1.45;
}

.bsj-troubleshooting__footer {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-radius: 0 0 22px 22px;
    background: #142d38;
    color: #fff;
}

.bsj-troubleshooting__footer p,
.bsj-troubleshooting__footer span {
    display: block;
    margin: 0;
}

.bsj-troubleshooting__footer strong {
    display: block;
    margin-bottom: 3px;
    color: #fff;
    font-size: .86rem;
}

.bsj-troubleshooting__footer span {
    color: rgba(255, 255, 255, .75);
    font-size: .72rem;
}

.bsj-troubleshooting__footer > div {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.bsj-troubleshooting__footer a {
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    color: #fff;
    font-size: .69rem;
    font-weight: 700;
    white-space: nowrap;
}

.bsj-troubleshooting__footer a:first-child {
    border-color: #efad67;
    background: var(--bsj-trouble-amber);
}

.entry-content [id^="loi-"] {
    scroll-margin-top: 105px;
}

@media (max-width: 849px) {
    .bsj-troubleshooting__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bsj-troubleshooting__resources,
    .bsj-troubleshooting__footer {
        grid-template-columns: 1fr;
    }

    .bsj-troubleshooting__footer {
        display: grid;
    }
}

@media (max-width: 549px) {
    .bsj-troubleshooting__header {
        padding: 23px 18px;
        border-radius: 15px 15px 0 0;
    }

    .bsj-troubleshooting__grid,
    .bsj-troubleshooting__resources ul {
        grid-template-columns: 1fr;
    }

    .bsj-troubleshooting__grid,
    .bsj-troubleshooting__resources,
    .bsj-troubleshooting__footer {
        padding: 14px;
    }

    .bsj-troubleshooting__footer {
        border-radius: 0 0 15px 15px;
    }
}
