


/* ==========================================================================
           2. DYNAMIC CONTENT STYLING (Targeting the .description-html container)
           ========================================================================== */
.description-html {
    line-height: 1.9;
    font-size: 17px;
    color: #444;
}

.description-html img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Paragraphs */
.description-html p {
    font-size: 17px;
    margin-bottom: 1.5rem;
    color: #555;
}

/* Heading Scale */
.description-html h1 {
    font-size: 36px;
    font-weight: 800;
    color: #111;
    margin: 40px 0 20px;
    line-height: 1.2;
}

.description-html h2 {
    font-size: 30px;
    font-weight: 700;
    color: #111;
    margin: 35px 0 18px;
    line-height: 1.3;
}

.description-html h3 {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin: 30px 0 15px;
}

.description-html h4 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 25px 0 12px;
}

.description-html h5 {
    font-size: 18px;
    font-weight: 600;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 20px 0 10px;
}

/* Unordered Lists */
.description-html ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.8rem;
}

.description-html ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 6px;
    transition: transform 0.3s ease;
}

.description-html ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    /* Aligns dot with the first line of text */
    width: 5px;
    height: 5px;
    background-color: rgb(161, 160, 160);
    /* Uses your brand blue */
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* Ordered Lists */
.description-html ol {
    counter-reset: custom-counter;
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.8rem;
}

.description-html ol li {
    counter-increment: custom-counter;
    position: relative;
    padding-left: 45px;
    margin-bottom: 15px;
}

.description-html ol li::before {
    content: counter(custom-counter);
    position: absolute;
    left: 0;
    top: 2px;
    width: 26px;
    height: 26px;
    background-color: #111;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* List Interactions */
.description-html ul li:hover,
.description-html ol li:hover {
    /* transform: translateX(8px); */
    /* color: #000; */
}

/* Table Container for Responsiveness */
.description-html table {
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
    font-size: 16px;
    background-color: var(--surface-color);
    border-radius: 12px;
    overflow: hidden;
    /* Ensures rounded corners show */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Header Styling */

.description-html table th,
.description-html table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

/* Zebra Striping */
.description-html table tbody tr:nth-of-type(even) {
    background-color: #f8fafc;
}

/* Hover Effect */
.description-html table tbody tr:hover {
    background-color: color-mix(in srgb, var(--accent-color) 5%, transparent);
    transition: background-color 0.3s ease;
}

/* Last Row Border Removal */
.description-html table tbody tr:last-of-type {
    border-bottom: 2px solid var(--accent-color);
}

/* Responsive description-html */
@media (max-width: 768px) {
    .description-html h1 {
        font-size: 28px;
    }

    .description-html h2 {
        font-size: 24px;
    }

    .description-html p {
        font-size: 16px;
    }

    .description-html {
        overflow-x: auto;
    }

    .description-html table {
        min-width: 600px;
        /* Forces scroll instead of squishing */
        font-size: 14px;
    }
}

