{# NESTED COLUMNS — a split inside a cell (#263). columns.html's mechanism at the cell's width rather than the frame's: an MSO ghost table for the Word engine, and inline tables everyone else lays out side by side and the @media block stacks, by the same .stack-column class. No title, band or padding of its own; those are the section's. The wrapping cell zeroes font-size and line-height for columns.html's reason: the newline between two inline tables renders as a space, and the widths already sum to the cell. Every column but the last pads its foot by block_gap, so the stacked columns do not touch on a phone; on a desktop that space falls under the row, unseen. Context: columns — each a width, its share of the cell and rendered content; within — the cell's width; stack — natural, reverse (dir=rtl lays the phone order out right to left) or fixed (one fluid row that never stacks); gutter_share — the gutter's share when fixed. #} {% set rtl = stack == "reverse" %} {% if stack == "fixed" %}
{% for col in columns %} {% if not loop.last %} {% endif %} {% endfor %}
{{ col.content }}
{% else %} {% for col in columns %} {% if not loop.last %} {% endif %} {% endfor %} {% endif %}