/*
Theme Name: Hello Elementor Child
Theme URI: https://rurnew.kaakkai.in/
Description: RUR child theme - fonts, layout helpers and scroll animations.
Author: RUR
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

:root { --rur-green:#004A22; --rur-yellow:#EED253; --rur-text:#16231C; --rur-cream:#F7F3EA; }

body { font-family:"DM Sans", system-ui, sans-serif; color:var(--rur-text); -webkit-font-smoothing:antialiased; margin:0; }
img { max-width:100%; }

/* Elementor resets: spacing is controlled by container gaps, not widget margins */
.elementor-widget-text-editor p { margin:0; }
.elementor-widget-heading .elementor-heading-title { margin:0; }

/* Forced line breaks from the design only apply on desktop */
.rur-h br { display:none; }
@media (min-width:1025px) { .rur-h br { display:inline; } }

/* Header sits on the hero */
.rur-hero .rur-header { position:relative; z-index:5; }
.rur-nav .elementor-nav-menu--main .elementor-item { white-space:nowrap; }

/* Footer link lists */
.rur-flinks p { margin:0 0 4px; }
.rur-flinks a { color:#fff; text-decoration:none; }
.rur-flinks a:hover { color:var(--rur-yellow); }

/* Trusted-by marquee */
.rur-marquee { overflow:hidden; width:100%; }
.rur-marquee__track { display:flex; width:max-content; animation:rur-marquee 45s linear infinite; }
.rur-marquee__track img { display:block; flex:none; height:110px; width:auto; max-width:none; }
@keyframes rur-marquee { to { transform:translateX(-50%); } }
@media (max-width:767px) { .rur-marquee__track img { height:72px; } }
@media (prefers-reduced-motion:reduce) { .rur-marquee__track { animation:none; } }

/* Images never overflow their containers */
.elementor-widget-image img { display:block; }

/* Child containers default to 100% width in Elementor flex rows: opt into content width */
.e-con.e-child.rur-fit, .e-con.rur-fit { width:auto !important; --width:auto; flex:0 0 auto; }
@media (min-width:1025px) { .e-con.e-child.rur-fit-d, .e-con.rur-fit-d { width:auto !important; --width:auto; flex:0 0 auto; } }

/* Flex helpers: a growing column must be able to shrink; fixed-width items must not */
.e-con.rur-grow, .elementor-widget.rur-grow { flex:1 1 0% !important; min-width:0; }
.e-con.rur-fixed, .elementor-widget.rur-fixed { flex:0 0 auto !important; }
