/* General Document Styling */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    color: #222;
    background-color: #ffffff;
}

/* 1. Image Styling (Alignment, Border, and Spacing) */
.aligned-image {
    float: left;            /* Requirement: Align image in text */
    border: 4px solid #333; /* Requirement: Image border */
    margin-right: 30px;     /* Requirement: Horizontal spacing */
    margin-bottom: 20px;    /* Requirement: Vertical spacing */
}

/* 2. Custom Bullet List (Requirement: list style image substitute) */
.custom-list {
    list-style-type: none;  /* Removes the giant default image/bullet */
    padding-left: 0;
}

.custom-list li {
    /* We use background image because list style image doesn't allow resizing */
    background-image: url("https://codecraftworks.dev/web/yW6RYwpnjvOHy6oIPABi/assets/check.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 20px 20px; /* THIS FIXES THE HUGE SIZE */
    padding-left: 35px;         /* Pushes text away from the checkmark */
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

/* 3. Multimedia Layout (Spacing) */
.video-box, .audio-box {
    margin-top: 20px;
    margin-bottom: 40px;
}

/* Helper: Clearfix for floated images */
section::after {
    content: "";
    clear: both;
    display: table;
}