/* ==========================================================================
   Elementor brand layer
   Makes default Elementor widgets match the theme, and adds utility classes
   you can type into any widget's  Advanced → CSS Classes  field.
   ========================================================================== */

/* Global colours & fonts exposed to Elementor's "Global" pickers via CSS vars */
.elementor-kit-default, body {
	--e-global-color-primary: #0b1a4f;
	--e-global-color-secondary: #15602e;
	--e-global-color-text: #3c4361;
	--e-global-color-accent: #a86d06;
	--e-global-typography-primary-font-family: "Cormorant Garamond";
	--e-global-typography-secondary-font-family: "Cormorant Garamond";
	--e-global-typography-text-font-family: "Manrope";
	--e-global-typography-accent-font-family: "Manrope";
}

/* Headings & text default to the theme fonts unless styled in Elementor */
.elementor-widget-heading .elementor-heading-title { font-family: var(--oh-serif); font-weight: 500; line-height: 1.12; }
.elementor-widget-text-editor { font-family: var(--oh-sans); }

/* Elementor buttons: pill, brand ink by default */
.elementor-button {
	border-radius: 999px;
	font-family: var(--oh-sans);
	font-weight: 600;
	padding: 15px 28px;
	transition: transform .3s var(--oh-ease), box-shadow .3s var(--oh-ease), background .3s;
}
.elementor-button:hover { transform: translateY(-2px); }

/* Elementor forms */
.elementor-field-group .elementor-field-textual { border-radius: 12px; border-color: var(--oh-line); background: var(--oh-paper); min-height: 48px; }
.elementor-field-group .elementor-field-textual:focus { border-color: var(--oh-gold); box-shadow: 0 0 0 4px rgba(214, 162, 63, .18); }
.elementor-field-group .elementor-field-label { font-weight: 600; font-size: 14px; color: var(--oh-head); }

/* Image widgets: soft radius */
.elementor-widget-image img { border-radius: var(--oh-radius-sm); }

/* ---------- Utility classes for Elementor (Advanced → CSS Classes) ---------- */

/* Sections / containers */
.oh-bg-night { background: linear-gradient(140deg, #0b1a4f, #15307c 60%, #1f4596) !important; color: rgba(255, 255, 255, .86); }
.oh-bg-night .elementor-heading-title { color: #fff; }
.oh-bg-cream { background: var(--oh-cream) !important; }
.oh-bg-sand { background: var(--oh-sand) !important; }

/* Cards */
.oh-el-card { background: var(--oh-paper); border: 1px solid var(--oh-line); border-radius: var(--oh-radius); padding: 30px; transition: transform .4s var(--oh-ease), box-shadow .4s; }
.oh-el-card:hover { transform: translateY(-6px); box-shadow: var(--oh-shadow); }

/* Gold italic word inside a heading: wrap a word in <em> */
.elementor-heading-title em { font-style: italic; color: var(--oh-gold); font-weight: 500; }

/* Button variants: add to a Button widget */
.oh-el-btn-gold .elementor-button { background: linear-gradient(135deg, #f5d98e, #e0a52a 55%, #c18310) !important; color: #06071a !important; box-shadow: 0 12px 30px -12px rgba(214, 162, 63, .7); }
.oh-el-btn-ink .elementor-button { background: #0b1a4f !important; color: #fff !important; }
.oh-el-btn-ghost .elementor-button { background: transparent !important; color: currentColor !important; border: 1.5px solid currentColor !important; }

/* Eyebrow label: add to a Heading widget set to small text */
.oh-el-eyebrow .elementor-heading-title { font-family: var(--oh-sans) !important; font-size: 12px !important; font-weight: 700 !important; letter-spacing: .18em; text-transform: uppercase; color: var(--oh-gold-2); }
.oh-bg-night .oh-el-eyebrow .elementor-heading-title { color: var(--oh-gold-2); }

/* Arch-shaped image: add to an Image widget */
.oh-el-arch img { border-radius: 999px 999px 26px 26px !important; aspect-ratio: 4 / 5; object-fit: cover; }

/* Reveal on scroll: add to any widget / container */
.oh-el-reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--oh-ease), transform .9s var(--oh-ease); }
.oh-el-reveal.is-in, .elementor-editor-active .oh-el-reveal { opacity: 1; transform: none; }

/* Light-theme defaults */
.elementor-widget-heading .elementor-heading-title { color: var(--oh-head); }
.elementor-widget-text-editor, .elementor-widget-icon-list .elementor-icon-list-text { color: var(--oh-text); }

/* Chakra spectrum divider: add to a Divider or Spacer widget */
.oh-el-chakra-line { height: 3px !important; border-radius: 3px; background: var(--oh-chakra) !important; }
.oh-el-chakra-line .elementor-divider-separator { border: 0 !important; }
