.dt-books-section{
    width:100%;
    box-sizing:border-box;
    margin:0;
    padding:17px 0 28px;
    font-family:inherit;
    color:#111;
    position:relative;
    overflow:hidden;
}

/* Matches the reference: 20px heading, left aligned */
.dt-books-heading{
    text-align:left;
    margin:0 25px 27px;
    padding:0;
}
.dt-books-heading h2{
    margin:0;
    padding:0;
    font-size:20px;
    line-height:27px;
    font-weight:400;
    letter-spacing:0;
    color:#111;
}

/* Slider area */
.dt-books-slider{
    position:relative;
    width:100%;
    min-height:145px;
    overflow:hidden;
    background:#fff;
}
.dt-books-viewport{
    width:100%;
    overflow:hidden;
}
.dt-books-track{
    display:flex;
    width:100%;
    transition:transform .5s ease;
    will-change:transform;
}
.dt-book-slide{
    min-width:100%;
    width:100%;
    box-sizing:border-box;
    padding:0 52px 0 39px;
}

/*
 * The reference uses a floating book cover. This is important because
 * the description begins beside the image and then continues across
 * the full width underneath it.
 */
.dt-book-card{
    display:block;
    width:100%;
    box-sizing:border-box;
    font-size:20px;
    line-height:1.65;
}
.dt-book-cover{
    float:left;
    width:63px;
    height:63px;
    margin:0 12px 3px 30px;
}
.dt-book-cover img,
.dt-book-placeholder{
    display:block;
    width:63px;
    height:63px;
    object-fit:cover;
    border-radius:5px;
    box-shadow:0 1px 5px rgba(0,0,0,.16);
}
.dt-book-placeholder{
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f5f5f5;
    color:#999;
}
.dt-book-placeholder .dashicons{
    font-size:28px;
    width:28px;
    height:28px;
}
.dt-book-content{
    display:block;
    min-width:0;
    padding:0;
    font-size:20px;
    line-height:1.65;
}
.dt-book-content h3{
    display:block;
    margin:0 0 3px;
    padding:0;
    font-size:20px !important;
    line-height:1.65 !important;
    font-weight:700;
    color:#111;
}
.dt-book-content h3 a{
    color:inherit;
    text-decoration:none;
}
.dt-book-description{
    margin:0;
    padding:0;
    font-size:20px !important;
    line-height:1.65 !important;
    font-weight:400;
    color:#111;
}
.dt-book-description p{
    margin:0 0 8px;
    padding:0;
}

/* Invisible click areas preserve the slider without adding visible controls */
.dt-books-arrow{
    position:absolute;
    top:0;
    bottom:0;
    width:70px;
    border:0;
    padding:0;
    background:transparent;
    color:transparent;
    cursor:pointer;
    z-index:5;
    font-size:0;
}
.dt-books-prev{left:0}
.dt-books-next{right:0}
.dt-books-arrow:focus-visible{
    outline:2px solid #dd3333;
    outline-offset:-2px;
}

/* Reference red side accent */
.dt-books-red-tab{
    position:absolute;
    z-index:4;
    top:-17px;
    right:0;
    width:36px;
    height:192px;
    background:#dd3333;
    border-radius:18px 0 0 18px;
    pointer-events:none;
}

.dt-books-dots{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:7px;
    margin-top:13px;
}
.dt-books-dot{
    width:7px;
    height:7px;
    border:0;
    border-radius:50%;
    padding:0;
    background:#c5c5c5;
    cursor:pointer;
}
.dt-books-dot.active{
    width:20px;
    border-radius:5px;
    background:#111;
}

@media(max-width:700px){
    .dt-books-section{padding-top:14px}
    .dt-books-heading{
        margin-left:18px;
        margin-right:18px;
        margin-bottom:21px;
    }
    .dt-books-heading h2{
        font-size:18px;
        line-height:25px;
    }
    .dt-book-slide{
        padding-left:25px;
        padding-right:30px;
    }
    .dt-book-card,
    .dt-book-content,
    .dt-book-description{
        font-size:17px;
        line-height:1.55;
    }
    .dt-book-content h3{
        font-size:17px;
        line-height:1.4;
    }
    .dt-book-cover{
        width:55px;
        height:55px;
        margin-left:18px;
        margin-right:10px;
    }
    .dt-book-cover img,
    .dt-book-placeholder{
        width:55px;
        height:55px;
    }
    .dt-books-red-tab{
        width:27px;
        height:150px;
        top:-14px;
        border-radius:14px 0 0 14px;
    }
}
@media(max-width:480px){
    .dt-books-heading{
        margin-left:15px;
        margin-right:15px;
    }
    .dt-book-slide{
        padding-left:18px;
        padding-right:25px;
    }
    .dt-book-cover{
        width:52px;
        height:52px;
        margin-left:12px;
    }
    .dt-book-cover img,
    .dt-book-placeholder{
        width:52px;
        height:52px;
    }
    .dt-book-card,
    .dt-book-content,
    .dt-book-description{
        font-size:15px;
        line-height:1.5;
    }
    .dt-book-content h3{
        font-size:15px;
    }
}

/* v1.3: the reference has no section heading and no right-side red bar */
.dt-books-heading,
.dt-books-red-tab{display:none !important;}

/* v1.4 final typography lock:
   Book heading is intentionally the exact same size as the description. */
.dt-books-section .dt-book-card,
.dt-books-section .dt-book-content,
.dt-books-section .dt-book-description {
    font-size: 20px !important;
}

.dt-books-section .dt-book-content h3,
.dt-books-section .dt-book-content h3 a {
    font-size: 20px !important;
    line-height: 1.65 !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.dt-books-section .dt-book-description,
.dt-books-section .dt-book-description p {
    font-size: 20px !important;
    line-height: 1.65 !important;
    letter-spacing: 0 !important;
}

/* v1.5: no slider progress/dot indicator */
.dt-books-section .dt-books-dots,
.dt-books-section .dt-books-dot {
    display:none !important;
}
