/* ==========================================================================
           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;
    }
}

/* ── Trustpilot Professional UI Styling ────────────────────────── */
.trustpilot-hero-badge {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.trustpilot-hero-badge:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.trustpilot-hero-badge img {
    transition: transform 0.3s ease;
}

.trustpilot-hero-badge:hover img {
    transform: scale(1.02);
}

/* Hover lift transition */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
}

@media (max-width: 576px) {
    .trustpilot-hero-badge {
        padding: 4px 8px;
    }

    .trustpilot-hero-badge img {
        height: 20px !important;
    }
}

.trustpilot-star {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background-color: #00b67a;
    color: #ffffff;
    border-radius: 2px;
    font-size: 9px;
}