@@ -158,37 +158,40 @@ const Banner = () => {
158158 exit = { { height : 0 , opacity : 0 } }
159159 className = "relative z-[100] bg-[#E8DECE] border-b border-[#1A161320]"
160160 >
161- < div className = "max-w-[1800px] mx-auto px-5 md:px-12 py-3 grid grid-cols-[auto_1fr_auto] items-center gap-5 " >
162- < div className = "flex items-center gap-3 min-w -0" >
161+ < div className = "max-w-[1800px] mx-auto px-5 md:px-12 py-3 flex items-start md: items-center gap-4 md:gap-6 " >
162+ < div className = "flex items-center gap-3 shrink-0 pt-0.5 md:pt -0" >
163163 < span
164164 aria-hidden = "true"
165165 className = "inline-block w-[7px] h-[7px] rounded-full"
166166 style = { { backgroundColor : typePalette . dot } }
167167 />
168168 < span
169- className = "font-ibm-plex-mono text-[9.5px] tracking-[0.3em] uppercase"
169+ className = "font-ibm-plex-mono text-[9.5px] tracking-[0.3em] uppercase hidden sm:inline "
170170 style = { { color : typePalette . accent } }
171171 >
172172 { typePalette . kicker }
173173 </ span >
174174 </ div >
175175
176- < div className = "flex items-center gap-4 min-w-0" >
177- < span aria-hidden = "true" className = "hidden md:inline text-[#2E2620]/50" >
178- { iconFor ( bannerType , 'duotone' , 16 ) }
179- </ span >
180- < p className = "font-fraunces italic text-[14px] md:text-[15.5px] leading-snug text-[#1A1613] truncate" >
176+ < div className = "flex-1 flex flex-col md:flex-row md:items-center gap-2 md:gap-4 min-w-0" >
177+ < p className = "font-fraunces italic text-[14px] md:text-[15.5px] leading-snug text-[#1A1613] flex-1" >
178+ < span
179+ aria-hidden = "true"
180+ className = "inline-block align-middle mr-2 text-[#2E2620]/50"
181+ >
182+ { iconFor ( bannerType , 'duotone' , 15 ) }
183+ </ span >
181184 { banner . text }
182185 </ p >
183186 { renderLink (
184- 'shrink-0 hidden md:inline-flex items-center gap-1 font-ibm-plex-mono text-[9.5px] tracking-[0.24em] uppercase text-[#1A1613] border border-[#1A161340] px-2.5 py-1 hover:bg-[#1A1613] hover:text-[#F3ECE0] transition-colors' ,
187+ 'self-start md:self-auto shrink-0 inline-flex items-center gap-1 font-ibm-plex-mono text-[9.5px] tracking-[0.24em] uppercase text-[#1A1613] border border-[#1A161340] px-2.5 py-1 hover:bg-[#1A1613] hover:text-[#F3ECE0] transition-colors' ,
185188 ) }
186189 </ div >
187190
188191 < button
189192 type = "button"
190193 onClick = { handleDismiss }
191- className = "p-1 text-[#2E2620]/50 hover:text-[#9E4A2F] transition-colors shrink-0"
194+ className = "p-1 text-[#2E2620]/50 hover:text-[#9E4A2F] transition-colors shrink-0 mt-0.5 md:mt-0 "
192195 aria-label = "Dismiss"
193196 >
194197 < XIcon size = { 16 } weight = "bold" />
@@ -241,7 +244,7 @@ const Banner = () => {
241244 >
242245 { typePalette . label }
243246 </ span >
244- < p className = "font-playfairDisplay italic text-[15px] md:text-[17px] leading-snug text-[#1A1A1A] truncate " >
247+ < p className = "font-playfairDisplay italic text-[15px] md:text-[17px] leading-snug text-[#1A1A1A] flex-1 " >
245248 { banner . text }
246249 </ p >
247250 { renderLink (
0 commit comments