/* ---------------------------------------------------------------------------
 * View Builder - free-form field rendering.
 *
 * The widget renders free-form HTML. A field token with a label
 * ([123 label="Deal"]) renders as a labelled row:
 *
 *   .il-view-field          the row
 *   .il-view-field-label    the label (styled with Tailwind utilities)
 *   .il-view-field-value    the value
 *
 * Content that groups fields under a heading uses .il-view-field-group for
 * the heading and .il-view-field-title for the page title.
 *
 * The label and value carry their own Tailwind utilities, so only the
 * container and the two heading classes are styled here.
 * ------------------------------------------------------------------------- */

.il-view-field {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.il-view-field-value {
    color: var(--color-base-content);
    word-break: break-word;
}

.il-view-field-title {
    margin: 0 0 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-base-content);
}

.il-view-field-group {
    margin: 1.5rem 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-base-content);
}

.il-view-field-group:first-child {
    margin-top: 0;
}
