/*
 * Fixes for template bugs, kept out of main.css so they survive a re-export of
 * the theme and stay easy to review.
 */

/*
 * width="80%" on the home page client logos is not valid HTML — the width
 * attribute takes a pixel count, so browsers dropped it and the intended
 * sizing never applied. Expressed properly in CSS here.
 */
.tourTypeCard__content img {
    width: 80%;
    height: auto;
    object-fit: contain;
    margin-inline: auto;
}

/* Blog & news article body: readable typography for the sanitised rich text. */
.post-body {
    line-height: 1.9;
    color: #222;
}

.post-body p {
    margin: 0 0 16px;
}

.post-body h3,
.post-body h4,
.post-body h5 {
    margin: 24px 0 10px;
    font-weight: 600;
    line-height: 1.3;
}

.post-body ul,
.post-body ol {
    margin: 0 0 16px;
    padding-inline-start: 24px;
}

.post-body li {
    margin-bottom: 6px;
}

.post-body a {
    color: #b58a00;
    text-decoration: underline;
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 12px 0;
}
