.related-links {
	border: 1px solid var(--bs-border-color);
    border-left: 4px solid var(--main-600);
    padding: 10px 20px;
    background-color: var(--preview-bg);
    margin: 20px 0;
}

.related-links h4 {
    margin: 0 0 8px 0;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: #64748b;
}

.related-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-links .label {
    font-weight: bold;
    /*color: #1e293b;*/
    margin-right: 5px;
}
.topic {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #475569;
    margin-bottom: 5px;
}

.topic::before {
    content: "CODE";
    background: #e2e8f0;
    color: #64748b;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 12px;
    margin-right: 12px;
}

.topic::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e2e8f0;
    margin-left: 15px;
}
.note h5, .top h5 {
	margin-bottom:0;
	display:none;
}
.note {
    padding: 15px 25px;
    margin: 40px 0; 
    border-top: 1px solid var(--bs-border-color);
    border-bottom: 1px solid var(--bs-border-color);
    position: relative;
    font-style: italic;
    color: #475569;
	background: var(--preview-bg);
}

.note::after {
    content: "Note";
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--preview-bg);
    padding: 0 10px;
    font-style: normal;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #94a3b8;
}

.tip {
    padding: 15px 25px;
    margin: 40px 0;
    border-top: 1px solid #dcfce7; 
    border-bottom: 1px solid #dcfce7;
    position: relative;
    background-color: #f0fdf4;
    color: #166534; 
    border-radius: 4px;
}

.tip::after {
    content: "Tip";
    position: absolute;
    top: -10px;
    left: 20px;
    background: #f0fdf4;        
    padding: 0 10px;
    font-weight: bold;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #22c55e;      
    letter-spacing: 0.05em;
}