.ddi-work-page {
    max-width: 980px;
    margin: 0 auto;
    font-family: inherit;
    color: #1f2937;
}

.ddi-work-page h1,
.ddi-work-page h2 {
    line-height: 1.25;
}

.ddi-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.65fr);
    gap: 28px;
    align-items: center;
    padding: 32px;
    border-radius: 24px;
    background: linear-gradient(135deg, #fff7ed, #f8fafc);
    border: 1px solid #e5e7eb;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    margin: 0 0 32px;
}

.ddi-kicker {
    margin: 0 0 10px;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9a3412;
    font-weight: 700;
}

.ddi-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.ddi-main-image {
    margin: 0;
    text-align: center;
}

.ddi-main-image img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
    background: #fff;
}

.ddi-product-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    background: #111827;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(17, 24, 39, 0.18);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.ddi-product-button:hover,
.ddi-product-button:focus {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.22);
}

.ddi-introduction,
.ddi-details,
.ddi-categories,
.ddi-extra-images,
.ddi-bottom-cta {
    margin: 28px 0;
    padding: 28px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.ddi-introduction h2,
.ddi-details h2,
.ddi-categories h2,
.ddi-extra-images h2 {
    margin-top: 0;
}

.ddi-info-table,
.ddi-genre-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 14px;
}

.ddi-info-table th,
.ddi-info-table td,
.ddi-genre-table th,
.ddi-genre-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
}

.ddi-info-table th,
.ddi-genre-table th {
    width: 30%;
    background: #f9fafb;
    font-weight: 700;
    text-align: left;
}

.ddi-info-table tr:last-child th,
.ddi-info-table tr:last-child td,
.ddi-genre-table tr:last-child th,
.ddi-genre-table tr:last-child td {
    border-bottom: 0;
}


.ddi-category-links {
    margin: 0;
    line-height: 1.9;
    font-weight: 700;
}

.ddi-category-link {
    color: #111827 !important;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: color 0.16s ease;
}

.ddi-category-link:hover,
.ddi-category-link:focus {
    color: #9a3412 !important;
}

.ddi-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.ddi-image-grid figure {
    margin: 0;
}

.ddi-image-grid img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
    background: #fff;
}

.ddi-bottom-cta {
    text-align: center;
    background: #f8fafc;
}

.ddi-bottom-cta p {
    margin-top: 0;
    font-weight: 700;
}

@media (max-width: 760px) {
    .ddi-hero {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .ddi-introduction,
    .ddi-details,
    .ddi-categories,
    .ddi-extra-images,
    .ddi-bottom-cta {
        padding: 20px;
    }

    .ddi-info-table th,
    .ddi-info-table td,
    .ddi-genre-table th,
    .ddi-genre-table td {
        display: block;
        width: 100%;
    }

    .ddi-info-table th,
    .ddi-genre-table th {
        border-bottom: 0;
        padding-bottom: 6px;
    }
}
