.single-post section.author {
    background: transparent;
    padding: 0;
    margin: 60px 0;
}

.single-post section.author .container {
    --pad-v: clamp(20px, 4vw, 40px);
    width: min(940px, calc(100% - 200px));
    max-width: none;
    background: #82ccb5;
    border-radius: 20px;
    padding: var(--pad-v) clamp(22px, 4.5vw, 50px);
}

.single-post section.author :is(h2, h3, p, a) {
    color: #fff;
}

.single-post section.author h2 {
    display: none;
}

.single-post section.author .col-12 {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: clamp(15px, 3.5vw, 35px);
}

.single-post section.author .author-content {
    display: contents;
}

.single-post section.author .author-image {
    grid-column: 1;
    grid-row: 1 / 3;
    position: relative;
    width: clamp(95px, 27vw, 280px);
    align-self: stretch;
    min-height: 280px;
    margin-top: calc(-1 * var(--pad-v));
    margin-bottom: calc(-1 * var(--pad-v));
    overflow: hidden;
}

/* Author photos are prepared for this zoom. */
.single-post section.author .author-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left bottom;
    transform: scale(1.3);
    transform-origin: top center;
}

.single-post section.author .author-info {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
}

.single-post section.author .author-info h3 {
    text-transform: none;
}

.single-post section.author .author-info h3::before {
    content: "Écrit par ";
}

.single-post section.author .author-info p:last-child {
    margin-bottom: 0;
}

.single-post section.commentaires .container {
    width: min(940px, calc(100% - 200px));
    max-width: none;
    padding: 0;
}

.single-post section.commentaires h2 {
    font-size: 28px;
}

@media screen and (max-width: 991px) {
    .single-post section:is(.author, .commentaires) .container {
        width: calc(100% - 72px);
    }
}

@media screen and (min-width: 1400px) {
    .single-post section:is(.author, .commentaires) .container {
        width: min(1200px, calc(100% - 200px));
    }
}
