diff --git a/FAQ/sections/faq.liquid b/FAQ/sections/faq.liquid
index a1527a2..9a685c9 100644
--- a/FAQ/sections/faq.liquid
+++ b/FAQ/sections/faq.liquid
@@ -1,36 +1,55 @@
{%- comment -%} ---------------- THE CSS ---------------- {%- endcomment -%}
+{%- assign id = '#shopify-section-' | append: section.id -%}
+
+{% style %}
+ {{ id }} {
+ background: {{ section.settings.background_color }};
+ --panel-bg: {{ section.settings.panel_color }};
+ --border-color: {{ section.settings.border_color }};
+ --question-color: {{ section.settings.q_color }};
+ --answer-color: {{ section.settings.a_color }};
+
+ {%- assign min = section.settings.q_size_small -%}
+ {%- assign max = section.settings.q_size_large -%}
+ {%- assign min_rem = min | append: 'rem' -%}
+ {%- assign max_rem = max | append: 'rem' -%}
+ --title-font-size: clamp(
+ {{ min_rem }},
+ calc({{ min_rem }} + ({{ max }} - {{ min }}) * ((100vw - 25rem) / (64 - 25))),
+ {{ max_rem }});
+ }
+{% endstyle %}
+
{%- comment -%} ---------------- THE MARKUP ---------------- {%- endcomment -%}
-
- {%- for block in section.blocks -%}
+
+{%- for block in section.blocks -%}
{%- if block.settings.title != blank and block.settings.content != blank -%}
{%- if block.settings.checkbox_expanded == true -%}
@@ -78,22 +92,22 @@
{%- assign hidden = 'hidden' -%}
{%- endif -%}
-
-