:root {
  /* ===== TYPOGRAPHY FALLBACKS ===== */
  
  /* Font Families */
  --brand-font-family-primary: 'Montserrat', sans-serif;
  --brand-font-family-secondary: 'Roboto', sans-serif;
  --brand-font-family-mono: 'IBM Plex Mono', monospace;
  
  /* Font Sizes */
  --brand-font-size-h1: 36px;
  --brand-font-size-h2: 28px;
  --brand-font-size-h3: 24px;
  --brand-font-size-h4: 20px;
  --brand-font-size-h5: 18px;
  --brand-font-size-h6: 16px;
  --brand-font-size-body: 16px;
  --brand-font-size-small: 14px;
  
  /* Line Heights */
  --brand-line-height-h1: 44px;
  --brand-line-height-h2: 36px;
  --brand-line-height-h3: 32px;
  --brand-line-height-h4: 28px;
  --brand-line-height-h5: 26px;
  --brand-line-height-h6: 24px;
  --brand-line-height-body: 24px;
  --brand-line-height-small: 20px;
  
  /* Font Weights */
  --brand-font-weight-primary: 600;
  --brand-font-weight-secondary: 500;
  --brand-font-weight-mono: 400;
  --brand-font-weight-light: 400;
  --brand-font-weight-normal: 500;
  --brand-font-weight-medium: 500;
  --brand-font-weight-semibold: 600;
  --brand-font-weight-bold: 700;
  
  /* ===== COLOR FALLBACKS ===== */
  
  /* Primary Colors */
  --brand-primary-color: #053F98;
  --brand-secondary-color: #E83D56;
  --brand-accent-color: #F3934E;
  --brand-tertiary-color: #4A558A;
  
  /* Tertiary Colors */
  --brand-tertiary-tertiary-1: #4A558A;
  --brand-tertiary-tertiary-2: #4D88A3;
  --brand-tertiary-tertiary-3: #96D4E5;
  
  /* Gradients */
  --brand-primary-gradient: linear-gradient(135deg, #053F98 0%, #96D4E5 100%);
  --brand-secondary-gradient: linear-gradient(135deg, #E83D56 0%, #F3934E 100%);
  --brand-accent-gradient: linear-gradient(135deg, #7F9691 0%, #4A558A 100%);
  --brand-hero-gradient: linear-gradient(135deg, #053F98 0%, #4D88A3 100%);
  --brand-customer-quote-gradient: linear-gradient(135deg, #053F98 0%, #4FC3F7 100%);
  --brand-cta-gradient: linear-gradient(135deg, #4FC3F7 0%, #053F98 100%);
  
  /* Semantic Colors */
  --brand-success-color: #7F9691;
  --brand-warning-color: #F3934E;
  --brand-error-color: #E83D56;
  --brand-info-color: #4A558A;
  
  /* Enhanced Semantic Colors */
  --brand-semantic-success: #7F9691;
  --brand-semantic-warning: #F3934E;
  --brand-semantic-error: #E83D56;
  --brand-semantic-info: #4A558A;
  --brand-semantic-link: #053F98;
  --brand-semantic-visited: #4A558A;
  --brand-semantic-positive: #7F9691;
  --brand-semantic-negative: #E83D56;
  --brand-semantic-neutral: #ADB5BD;
  
  /* Text Colors */
  --brand-text-primary: #333333;
  --brand-text-secondary: #ADB5BD;
  --brand-text-muted: #6B7280;
  
  /* Background Colors */
  --brand-background-primary: #ffffff;
  --brand-background-secondary: #F8F9FA;
  --brand-background-muted: #E9ECEF;
  
  /* Border Colors */
  --brand-border-primary: #053F98;
  --brand-border-secondary: #E9ECEF;
  
  /* ===== SPACING FALLBACKS ===== */
  
  /* Base Unit */
  --brand-base-unit: 4px;
  
  /* Component Spacing */
  --brand-spacing-xs: 4px;
  --brand-spacing-sm: 8px;
  --brand-spacing-md: 16px;
  --brand-spacing-lg: 24px;
  --brand-spacing-xl: 32px;
  --brand-spacing-2xl: 48px;
  --brand-spacing-3xl: 64px;
  
  /* Layout Spacing */
  --brand-layout-spacing-section: 64px;
  --brand-layout-spacing-subsection: 48px;
  --brand-layout-spacing-card: 24px;
  --brand-layout-spacing-element: 16px;
  --brand-layout-spacing-inline: 8px;
  
  /* ===== DECORATIVE FALLBACKS ===== */
  
  /* Border Radius */
  --brand-border-radius-small: 4px;
  --brand-border-radius-medium: 8px;
  --brand-border-radius-large: 12px;
  
  /* Shadows */
  --brand-shadow-small: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --brand-shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --brand-shadow-large: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --brand-shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --brand-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --brand-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
  
  /* ===== MOTION FALLBACKS ===== */
  
  /* Timing */
  --brand-motion-fast: 200ms;
  --brand-motion-normal: 300ms;
  --brand-motion-slow: 400ms;
  --brand-motion-easing: cubic-bezier(0.4, 0, 0.2, 1);
  
  /* ===== COMPONENT OVERRIDE FALLBACKS ===== */
  
  /* Button */
  --brand-component-overrides-button-colors-primary: #053F98;
  --brand-component-overrides-button-spacing-padding-x: 16px;
  --brand-component-overrides-button-spacing-padding-y: 12px;
  --brand-component-overrides-button-spacing-border-radius: 8px;
  --brand-component-overrides-button-typography-font-family: 'Roboto';
  --brand-component-overrides-button-typography-font-weight: 600;
  --brand-component-overrides-button-typography-font-size: 16px;
  
  /* Card */
  --brand-component-overrides-card-colors-background: #ffffff;
  --brand-component-overrides-card-colors-border: #E9ECEF;
  --brand-component-overrides-card-decorative-border-radius: 12px;
  --brand-component-overrides-card-decorative-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --brand-component-overrides-card-spacing-padding: 24px;
  --brand-component-overrides-card-spacing-margin: 16px;
  
  /* Callout */
  --brand-component-overrides-callout-colors-background: #F8F9FA;
  --brand-component-overrides-callout-colors-border: #053F98;
  --brand-component-overrides-callout-colors-text: #333333;
  --brand-component-overrides-callout-spacing-padding: 20px;
  --brand-component-overrides-callout-spacing-border-radius: 8px;
  --brand-component-overrides-callout-spacing-border-width: 4px;
  
  /* Table */
  --brand-component-overrides-table-colors-header-background: #053F98;
  --brand-component-overrides-table-colors-header-text: #ffffff;
  --brand-component-overrides-table-colors-row-alternate: #F8F9FA;
  --brand-component-overrides-table-colors-border: #E9ECEF;
  --brand-component-overrides-table-spacing-cell-padding: 16px;
  --brand-component-overrides-table-spacing-border-width: 1px;
  
  /* Input */
  --brand-component-overrides-input-colors-border: #ADB5BD;
  --brand-component-overrides-input-colors-focus-border: #053F98;
  --brand-component-overrides-input-colors-error-border: #E83D56;
  --brand-component-overrides-input-colors-success-border: #7F9691;
  --brand-component-overrides-input-spacing-padding-x: 12px;
  --brand-component-overrides-input-spacing-padding-y: 8px;
  --brand-component-overrides-input-spacing-border-radius: 6px;
  --brand-component-overrides-input-typography-font-family: 'Roboto';
  --brand-component-overrides-input-typography-font-size: 16px;
  
  /* Badge */
  --brand-component-overrides-badge-colors-success: #7F9691;
  --brand-component-overrides-badge-colors-warning: #F3934E;
  --brand-component-overrides-badge-colors-error: #E83D56;
  --brand-component-overrides-badge-colors-info: #4A558A;
  --brand-component-overrides-badge-spacing-padding-x: 8px;
  --brand-component-overrides-badge-spacing-padding-y: 4px;
  --brand-component-overrides-badge-spacing-border-radius: 12px;
  
  /* ===== COMPONENT-SPECIFIC FALLBACKS ===== */
  
  /* Card Component */
  --brand-card-background: #ffffff;
  --brand-card-border-radius: 12px;
  --brand-card-padding: 24px;
  --brand-card-margin: 16px;
  --brand-card-border: #E9ECEF;
  --brand-card-foreground: #333333;
  --brand-card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  
  /* Callout Component */
  --brand-callout-background: #F8F9FA;
  --brand-callout-border: #053F98;
  --brand-callout-text: #333333;
  --brand-callout-padding: 20px;
  --brand-callout-border-radius: 8px;
  --brand-callout-border-width: 4px;
  --brand-callout-why-border: #E83D56;
  --brand-callout-example-border: #053F98;
  --brand-callout-lookfor-border: #F3934E;
  
  /* Table Component */
  --brand-table_header_background: #053F98;
  --brand-table_header_text: #ffffff;
  --brand-table_row_alternate: #F8F9FA;
  --brand-table_border: #E9ECEF;
  --brand-table_cell_padding: 16px;
  --brand-table_border_width: 1px;
  --brand-table_border_radius: 12px;
  --brand-table_shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --brand-table_header_gradient: linear-gradient(135deg, #053F98 0%, #96D4E5 100%);
  --brand-table_header_padding: 20px;
  --brand-table_content_padding: 20px;
  --brand-table_row_separator: #E0E0E0;
  --brand-table_header_font_weight: 700;
  --brand-table_header_font_size: 16px;
  --brand-table_content_font_size: 16px;
  --brand-table_content_line_height: 1.6;
  
  /* Input Component */
  --brand-input-border: #ADB5BD;
  --brand-input-focus-border: #053F98;
  --brand-input-error-border: #E83D56;
  --brand-input-success-border: #7F9691;
  --brand-input-background: #ffffff;
  --brand-input-placeholder: #ADB5BD;
  --brand-input-padding-x: 12px;
  --brand-input-padding-y: 8px;
  --brand-input-border-radius: 6px;
  --brand-input-font-family: 'Roboto';
  --brand-input-font-size: 16px;
  
  /* Badge Component */
  --brand-badge-default-color: #E9ECEF;
  --brand-badge-primary-color: #053F98;
  --brand-badge-secondary-color: #4A558A;
  --brand-badge-success-color: #7F9691;
  --brand-badge-warning-color: #F3934E;
  --brand-badge-error-color: #E83D56;
  --brand-badge-info-color: #4A558A;
  --brand-badge-dark-color: #333333;
  --brand-badge-padding-x: 8px;
  --brand-badge-padding-y: 4px;
  --brand-badge-border-radius: 12px;
  
  /* Metric Card Component */
  --brand-metric-card-positive-border: #F3934E;
  --brand-metric-card-negative-border: #E83D56;
  --brand-metric-card-neutral-border: #053F98;
  --brand-metric-card-padding: 24px;
  --brand-metric-card-border-width: 4px;
  
  /* Signature Block Component */
  --signature-background: #ffffff;
  --signature-border-color: #dee2e6;
  --signature-date-color: #6c757d;
  --signature-formal-background: #f8f9fa;
  --signature-formal-border: #495057;
  --signature-formal-header-border: #495057;
  --signature-formal-line: #495057;
  --signature-header-border: #dee2e6;
  --signature-line-color: #212529;
  --signature-name-color: #212529;
  --signature-org-color: #6c757d;
  --signature-text-color: #6c757d;
  --signature-title-color: #212529;
  
  /* Layout and Breakpoint Variables */
  --breakpoint-md: 768px;
  --breakpoint-xl: 1200px;
  --content-padding: 2rem;
  
  /* ===== LEGACY COMPATIBILITY FALLBACKS ===== */
  
  /* Old variable names for backward compatibility */
  --primary-color: var(--brand-primary-color);
  --secondary-color: var(--brand-secondary-color);
  --accent-color: var(--brand-accent-color);
  --text-primary: var(--brand-text-primary);
  --text-secondary: var(--brand-text-secondary);
  --background-light: var(--brand-background-secondary);
  --background-white: var(--brand-background-primary);
  --border-color: var(--brand-border-secondary);
  
  /* Legacy spacing */
  --spacing-xs: var(--brand-spacing-xs);
  --spacing-sm: var(--brand-spacing-sm);
  --spacing-md: var(--brand-spacing-md);
  --spacing-lg: var(--brand-spacing-lg);
  --spacing-xl: var(--brand-spacing-xl);
  
  /* Legacy border radius */
  --border-radius-sm: var(--brand-border-radius-small);
  --border-radius-md: var(--brand-border-radius-medium);
  --border-radius-lg: var(--brand-border-radius-large);
  
  /* Legacy shadows */
  --shadow-sm: var(--brand-shadow-small);
  --shadow-md: var(--brand-shadow-medium);
  --shadow-lg: var(--brand-shadow-large);
  
  /* ===== COMPONENT VARIABLE MAPPINGS ===== */
  
  /* Callout component variables (underscore format) */
  --primary_color: var(--brand-primary-color);
  --background_primary: var(--brand-background-primary);
  --text_primary: var(--brand-text-primary);
  --primary_font: var(--brand-font-family-primary);
  --font_size_h4: var(--brand-font-size-h4);
  --font_size_h5: var(--brand-font-size-h5);
  --font_size_small: var(--brand-font-size-small);
  --font_weight_bold: var(--brand-font-weight-bold);
  --font_weight_semibold: var(--brand-font-weight-semibold);
  --line_height_body: var(--brand-line-height-body);
  --shadow_medium: var(--brand-shadow-medium);
  --shadow_small: var(--brand-shadow-small);
  
  /* Additional callout component variables */
  --accent_color: var(--brand-accent-color);
  --secondary_color: var(--brand-secondary-color);
  --success_color: var(--brand-success-color);
  --warning_color: var(--brand-warning-color);
  --info_color: var(--brand-info-color);
  --border_secondary: var(--brand-border-secondary);
  --secondary_font: var(--brand-font-family-secondary);
  
  /* ===== CALLOUT COMPONENT FALLBACKS ===== */
  
  /* Callout styling fallbacks - exact names from brand.json */
  --callout_background: var(--brand-callout-background);
  --callout_border: var(--brand-callout-border);
  --callout_text: var(--brand-callout-text);
  --callout_padding: var(--brand-callout-padding);
  --callout_border_radius: var(--brand-callout-border-radius);
  --callout_border_width: var(--brand-callout-border-width);
  
  /* Callout type-specific borders */
  --callout_why_border: var(--brand-callout-why-border);
  --callout_example_border: var(--brand-callout-example-border);
  --callout_lookfor_border: var(--brand-callout-lookfor-border);
  
  /* Callout types */
  --callout_types_1: "why";
  --callout_types_2: "example";
  --callout_types_3: "lookfor";
  
  /* ===== LEGACY UNDERSCORE FORMAT VARIABLES ===== */
  
  /* Font families */
  --brand-primary_font: var(--brand-font-family-primary);
  --brand-secondary_font: var(--brand-font-family-secondary);
  --brand-mono_font: var(--brand-font-family-mono);
  
  /* Font sizes */
  --brand-font_size_h1: var(--brand-font-size-h1);
  --brand-font_size_h2: var(--brand-font-size-h2);
  --brand-font_size_h3: var(--brand-font-size-h3);
  --brand-font_size_h4: var(--brand-font-size-h4);
  --brand-font_size_h5: var(--brand-font-size-h5);
  --brand-font_size_h6: var(--brand-font-size-h6);
  --brand-font_size_body: var(--brand-font-size-body);
  --brand-font_size_small: var(--brand-font-size-small);
  
  /* Line heights */
  --brand-line_height_h1: var(--brand-line-height-h1);
  --brand-line_height_h2: var(--brand-line-height-h2);
  --brand-line_height_h3: var(--brand-line-height-h3);
  --brand-line_height_h4: var(--brand-line-height-h4);
  --brand-line_height_h5: var(--brand-line-height-h5);
  --brand-line_height_h6: var(--brand-line-height-h6);
  --brand-line_height_body: var(--brand-line-height-body);
  --brand-line_height_small: var(--brand-line-height-small);
  
  /* Font weights */
  --brand-font_weight_primary: var(--brand-font-weight-primary);
  --brand-font_weight_secondary: var(--brand-font-weight-secondary);
  --brand-font_weight_mono: var(--brand-font-weight-mono);
  --brand-font_weight_light: var(--brand-font-weight-light);
  --brand-font_weight_normal: var(--brand-font-weight-normal);
  --brand-font_weight_medium: var(--brand-font-weight-medium);
  --brand-font_weight_semibold: var(--brand-font-weight-semibold);
  --brand-font_weight_bold: var(--brand-font-weight-bold);
  
  /* Colors */
  --brand-primary_color: var(--brand-primary-color);
  --brand-secondary_color: var(--brand-secondary-color);
  --brand-accent_color: var(--brand-accent-color);
  --brand-tertiary_color: var(--brand-tertiary-color);
  --brand-success_color: var(--brand-success-color);
  --brand-warning_color: var(--brand-warning-color);
  --brand-error_color: var(--brand-error-color);
  --brand-info_color: var(--brand-info-color);
  
  /* Text colors */
  --brand-text_primary: var(--brand-text-primary);
  --brand-text_secondary: var(--brand-text-secondary);
  --brand-text_muted: var(--brand-text-muted);
  
  /* Background colors */
  --brand-background_primary: var(--brand-background-primary);
  --brand-background_secondary: var(--brand-background-secondary);
  --brand-background_muted: var(--brand-background-muted);
  
  /* Border colors */
  --brand-border_primary: var(--brand-border-primary);
  --brand-border_secondary: var(--brand-border-secondary);
  
  /* Spacing */
  --brand-spacing_xs: var(--brand-spacing-xs);
  --brand-spacing_sm: var(--brand-spacing-sm);
  --brand-spacing_md: var(--brand-spacing-md);
  --brand-spacing_lg: var(--brand-spacing-lg);
  --brand-spacing_xl: var(--brand-spacing-xl);
  --brand-spacing_2xl: var(--brand-spacing-2xl);
  --brand-spacing_3xl: var(--brand-spacing-3xl);
  
  /* Border radius */
  --brand-border_radius_small: var(--brand-border-radius-small);
  --brand-border_radius_medium: var(--brand-border-radius-medium);
  --brand-border_radius_large: var(--brand-border-radius-large);
  
  /* Shadows */
  --brand-shadow_small: var(--brand-shadow-small);
  --brand-shadow_medium: var(--brand-shadow-medium);
  --brand-shadow_large: var(--brand-shadow-large);
  --brand-shadow_xl: var(--brand-shadow-xl);
  
  /* Gradients */
  --brand-primary_gradient: var(--brand-primary-gradient);
  --brand-secondary_gradient: var(--brand-secondary-gradient);
  --brand-accent_gradient: var(--brand-accent-gradient);
  --brand-hero_gradient: var(--brand-hero-gradient);
  --brand-customer_quote_gradient: var(--brand-customer_quote_gradient);
  --brand-cta_gradient: var(--brand-cta-gradient);
  
  /* Motion */
  --brand-motion_fast: var(--brand-motion-fast);
  --brand-motion_normal: var(--brand-motion-normal);
  --brand-motion_slow: var(--brand-motion-slow);
  --brand-motion_easing: var(--brand-motion-easing);
  
  /* Component overrides */
  --brand-component-overrides-callout-spacing-border-width: var(--brand-component-overrides-callout-spacing-border-width);
  --brand-component-overrides-callout-spacing-padding: var(--brand-component-overrides-callout-spacing-padding);
  --brand-component-overrides-callout-spacing-border-radius: var(--brand-component-overrides-callout-spacing-border-radius);
  --brand-component-overrides-callout-colors-border: var(--brand-component-overrides-callout-colors-border);
  --brand-component-overrides-callout-colors-text: var(--brand-component-overrides-callout-colors-text);
}

/* ===== CUSTOMER QUOTE COMPONENT STYLES ===== */
/* Customer quote component styling - using brand tokens only */
/* Maximum specificity to override any conflicting styles */
html body .document-content .section .section-content .callout.success[data-title="Customer Quote"],
body .document-content .section .section-content .callout.success[data-title="Customer Quote"],
.document-content .section .section-content .callout.success[data-title="Customer Quote"],
.section .section-content .callout.success[data-title="Customer Quote"],
.section-content .callout.success[data-title="Customer Quote"],
.callout.success[data-title="Customer Quote"] {
    background: var(--brand-customer_quote_gradient) !important;
    border-left: none !important;
    color: white !important;
    padding: 2rem 2.5rem !important;
    border-radius: 10px !important;
    text-align: left !important;
    box-shadow: var(--brand-shadow-medium) !important;
    margin: 1.5rem 0 !important;
    min-height: auto !important;
    display: block !important;
    overflow: hidden !important;
}

html body .document-content .section .section-content .callout.success[data-title="Customer Quote"] .callout-title,
body .document-content .section .section-content .callout.success[data-title="Customer Quote"] .callout-title,
.document-content .section .section-content .callout.success[data-title="Customer Quote"] .callout-title,
.section .section-content .callout.success[data-title="Customer Quote"] .callout-title,
.section-content .callout.success[data-title="Customer Quote"] .callout-title,
.callout.success[data-title="Customer Quote"] .callout-title {
    display: none !important; /* Hide the "Customer Quote" label */
}

html body .document-content .section .section-content .callout.success[data-title="Customer Quote"] .callout-content,
body .document-content .section .section-content .callout.success[data-title="Customer Quote"] .callout-content,
.document-content .section .section-content .callout.success[data-title="Customer Quote"] .callout-content,
.section .section-content .callout.success[data-title="Customer Quote"] .callout-content,
.section-content .callout.success[data-title="Customer Quote"] .callout-content,
.callout.success[data-title="Customer Quote"] .callout-content {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

html body .document-content .section .section-content .callout.success[data-title="Customer Quote"] .callout-text,
body .document-content .section .section-content .callout.success[data-title="Customer Quote"] .callout-text,
.document-content .section .section-content .callout.success[data-title="Customer Quote"] .callout-text,
.section .section-content .callout.success[data-title="Customer Quote"] .callout-text,
.section-content .callout.success[data-title="Customer Quote"] .callout-text,
.callout.success[data-title="Customer Quote"] .callout-text {
    color: white !important;
    font-size: var(--brand-font-size-h5) !important;
    font-style: italic !important;
    font-family: var(--brand-font-family-primary), sans-serif !important;
    line-height: var(--brand-line-height-h5) !important;
    margin-bottom: 0 !important;
}

html body .document-content .section .section-content .callout.success[data-title="Customer Quote"] .callout-text p,
body .document-content .section .section-content .callout.success[data-title="Customer Quote"] .callout-text p,
.document-content .section .section-content .callout.success[data-title="Customer Quote"] .callout-text p,
.section .section-content .callout.success[data-title="Customer Quote"] .callout-text p,
.section-content .callout.success[data-title="Customer Quote"] .callout-text p,
.callout.success[data-title="Customer Quote"] .callout-text p {
    color: white !important;
    font-size: var(--brand-font-size-h5) !important;
    line-height: var(--brand-line-height-h5) !important;
}

/* Quote text styling - ensure proper line breaks */
html body .document-content .section .section-content .callout.success[data-title="Customer Quote"] .callout-text p:first-child,
body .document-content .section .section-content .callout.success[data-title="Customer Quote"] .callout-text p:first-child,
.document-content .section .section-content .callout.success[data-title="Customer Quote"] .callout-text p:first-child,
.section .section-content .callout.success[data-title="Customer Quote"] .callout-text p:first-child,
.section-content .callout.success[data-title="Customer Quote"] .callout-text p:first-child,
.callout.success[data-title="Customer Quote"] .callout-text p:first-child {
    margin-bottom: 2.5rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
}

/* Citation styling - ensure it's inside the box and properly formatted */
html body .document-content .section .section-content .callout.success[data-title="Customer Quote"] .callout-text p:last-child,
body .document-content .section .section-content .callout.success[data-title="Customer Quote"] .callout-text p:last-child,
.document-content .section .section-content .callout.success[data-title="Customer Quote"] .callout-text p:last-child,
.section .section-content .callout.success[data-title="Customer Quote"] .callout-text p:last-child,
.section-content .callout.success[data-title="Customer Quote"] .callout-text p:last-child,
.callout.success[data-title="Customer Quote"] .callout-text p:last-child {
    font-size: 11px !important;
    margin-bottom: 0 !important;
}

/* Remove bold styling from citation and ensure white color */
html body .document-content .section .section-content .callout.success[data-title="Customer Quote"] .callout-text p:last-child strong,
body .document-content .section .section-content .callout.success[data-title="Customer Quote"] .callout-text p:last-child strong,
.document-content .section .section-content .callout.success[data-title="Customer Quote"] .callout-text p:last-child strong,
.section .section-content .callout.success[data-title="Customer Quote"] .callout-text p:last-child strong,
.section-content .callout.success[data-title="Customer Quote"] .callout-text p:last-child strong,
.callout.success[data-title="Customer Quote"] .callout-text p:last-child strong {
    font-weight: normal !important;
    font-style: normal !important;
    color: white !important;
}

/* Force all text elements to stay within the component */
html body .document-content .section .section-content .callout.success[data-title="Customer Quote"] *,
body .document-content .section .section-content .callout.success[data-title="Customer Quote"] *,
.document-content .section .section-content .callout.success[data-title="Customer Quote"] *,
.section .section-content .callout.success[data-title="Customer Quote"] *,
.section-content .callout.success[data-title="Customer Quote"] *,
.callout.success[data-title="Customer Quote"] * {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Print-specific customer quote styles */
@media print {
    .callout.success[data-title="Customer Quote"] {
        background: var(--brand-customer_quote_gradient) !important;
        border-left: none !important;
        color: white !important;
        padding: 1.5rem 2rem !important;
        border-radius: 10px !important;
        text-align: left !important;
        box-shadow: none !important;
        margin: 1.5rem 0 !important;
        min-height: auto !important;
        display: block !important;
        overflow: hidden !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
        -webkit-print-color-adjust: exact !important;
        color-adjust: exact !important;
    }
    
    .callout.success[data-title="Customer Quote"] .callout-title {
        display: none !important;
    }
    
    .callout.success[data-title="Customer Quote"] .callout-text {
        color: white !important;
        font-size: 12px !important;
        font-style: italic !important;
        font-family: var(--brand-font-family-primary), sans-serif !important;
        line-height: 1.5 !important;
        margin-bottom: 0 !important;
    }
    
    .callout.success[data-title="Customer Quote"] .callout-text p {
        color: white !important;
        font-size: 12px !important;
        line-height: 1.5 !important;
        margin-bottom: 1rem !important;
    }
    
    .callout.success[data-title="Customer Quote"] .callout-text p:first-child {
        margin-bottom: 1.5rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .callout.success[data-title="Customer Quote"] .callout-text p:last-child {
        font-size: 11px !important;
        margin-bottom: 0 !important;
        font-style: normal !important;
    }
    
    .callout.success[data-title="Customer Quote"] .callout-text p:last-child strong {
        font-weight: normal !important;
        font-style: normal !important;
        color: white !important;
    }
}

/* ===== TITLE PAGE HERO IMAGE STYLES ===== */

.hero-image {
  margin: 2rem auto;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--brand-border-radius-medium);
  box-shadow: var(--brand-shadow-medium);
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.02);
}

.hero-caption {
  margin-top: 1rem;
  font-size: var(--brand-font-size-small);
  color: rgba(255,255,255,0.8);
  font-style: italic;
  line-height: 1.4;
  max-width: 100%;
  word-wrap: break-word;
}

/* Responsive hero image */
@media (max-width: 768px) {
  .hero-image {
    margin: 1.5rem auto;
  }
  
  .hero-image img {
    border-radius: var(--brand-border-radius-small);
  }
  
  .hero-caption {
    font-size: calc(var(--brand-font-size-small) * 0.9);
    margin-top: 0.75rem;
  }
}

/* Print-specific hero image styles */
@media print {
  .hero-image {
    margin: 1rem auto;
    page-break-inside: avoid;
    break-inside: avoid;
  }
  
  .hero-image img {
    box-shadow: none;
    border: 1px solid var(--brand-border-secondary);
  }
  
  .hero-caption {
    color: var(--brand-text-secondary);
    font-size: calc(var(--brand-font-size-small) * 0.8);
  }
}
