diff --git a/app/globals.css b/app/globals.css
index 83deae5..c9a2340 100644
--- a/app/globals.css
+++ b/app/globals.css
@@ -4,12 +4,18 @@
@layer base {
html {
scroll-behavior: smooth;
+ overflow-x: hidden;
+ width: 100%;
+ max-width: 100vw;
}
body {
background-color: #F8F9FB;
color: #1E293B;
font-family: 'Inter', sans-serif;
-webkit-font-smoothing: antialiased;
+ overflow-x: hidden;
+ width: 100%;
+ max-width: 100vw;
}
}
diff --git a/app/layout.tsx b/app/layout.tsx
index 7585b67..38e219f 100644
--- a/app/layout.tsx
+++ b/app/layout.tsx
@@ -40,8 +40,8 @@ export default function RootLayout({
children: React.ReactNode;
}) {
return (
-
-
+
+
diff --git a/app/page.tsx b/app/page.tsx
index 36b848b..ddc9a16 100644
--- a/app/page.tsx
+++ b/app/page.tsx
@@ -168,7 +168,7 @@ export default async function Home() {
};
return (
-
+
-
+
{orderedKeys.map((key) => sectionNodes[key] ?? null)}
diff --git a/components/MobileDrawer.tsx b/components/MobileDrawer.tsx
index c03d08d..ae50c9f 100644
--- a/components/MobileDrawer.tsx
+++ b/components/MobileDrawer.tsx
@@ -59,7 +59,7 @@ export const MobileDrawer: React.FC = ({ isOpen, onClose }) =
animate={{ opacity: 0.5 }}
exit={{ opacity: 0 }}
onClick={onClose}
- className="fixed inset-0 bg-black z-50 xl:hidden"
+ className="fixed inset-0 bg-black z-[115] xl:hidden"
/>
{/* Drawer Panel */}
@@ -68,7 +68,7 @@ export const MobileDrawer: React.FC = ({ isOpen, onClose }) =
animate={{ x: 0 }}
exit={{ x: '-100%' }}
transition={{ type: 'tween', duration: 0.3 }}
- className="fixed top-0 left-0 bottom-0 w-[280px] max-w-[85vw] bg-white z-50 xl:hidden flex flex-col justify-between shadow-xl overflow-y-auto overscroll-contain"
+ className="fixed top-0 left-0 bottom-0 w-[280px] max-w-[85vw] bg-white z-[120] xl:hidden flex flex-col justify-between shadow-xl overflow-y-auto overscroll-contain"
>
{/* Header */}
diff --git a/sections/ArticlesSection.tsx b/sections/ArticlesSection.tsx
index fb5f9a4..b616429 100644
--- a/sections/ArticlesSection.tsx
+++ b/sections/ArticlesSection.tsx
@@ -141,7 +141,7 @@ export const ArticlesSection: React.FC
= ({ config }) => {
1024: { slidesPerView: 3, spaceBetween: 22 },
1280: { slidesPerView: 4, spaceBetween: 24 },
}}
- className="!overflow-visible"
+ className="overflow-hidden"
>
{articles.map((article) => (
diff --git a/sections/HeroSection.tsx b/sections/HeroSection.tsx
index f73b335..73fb21f 100644
--- a/sections/HeroSection.tsx
+++ b/sections/HeroSection.tsx
@@ -161,20 +161,20 @@ export const HeroSection: React.FC = ({
-
+
{slide.badge ? (
-
+
{slide.badge}
) : null}
-
+
{slide.title}
{slide.subtitle ? (
-
+
{slide.subtitle}
) : null}
@@ -183,7 +183,7 @@ export const HeroSection: React.FC = ({
{slide.buttonText}