/* Fill the row when an editor hides one or two offers. */
.offer-grid[data-offer-count="1"] {
    grid-template-columns: minmax(0, 1fr);
}
.offer-grid[data-offer-count="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.offer-grid[data-offer-count="2"] > .offer-card:last-child {
    grid-column: auto;
}
.offer-grid[data-offer-count] .offer-card h3,
.offer-grid[data-offer-count] .offer-card p,
[data-modal-offer-text] {
    overflow-wrap: anywhere;
}
.offer-grid[data-offer-count] .offer-card > p {
    white-space: pre-line;
}
@media (max-width: 760px) {
    .offer-grid[data-offer-count] {
        grid-template-columns: minmax(0, 1fr);
    }
}
