/*
Theme Name:   Databrig (Oracle Child)
Description:  Databrig brand colors on top of the Oracle theme.
Author:       Databrig
Template:     oracle
Version:      1.0.0
Text Domain:  oracle-child-databrig
*/

/*
  Brand palette (from the Databrig ship logo)
  Navy        #0D1B3E   hull / wordmark box
  Deep navy   #08122B   dark section background
  Brig blue   #1F6FD8   lower sails  -> primary accent
  Sky blue    #4FB3F6   upper sails  -> secondary accent
  Ice blue    #9AD4FB   highlights   -> tertiary accent

  Selectors mirror the theme's generated ".scheme_x, body.scheme_x" rules so this
  file (loaded after them) wins without !important.
*/

/* ---------- Accents: identical in every scheme ---------- */
.scheme_default, body.scheme_default,
.scheme_dark, body.scheme_dark,
.scheme_light, body.scheme_light,
.scheme_extra_light, body.scheme_extra_light,
.scheme_beige_default, body.scheme_beige_default,
.scheme_beige_dark, body.scheme_beige_dark,
.scheme_beige_light, body.scheme_beige_light,
.scheme_blue_default, body.scheme_blue_default,
.scheme_blue_dark, body.scheme_blue_dark,
.scheme_blue_light, body.scheme_blue_light {
	--theme-color-text_link: #1F6FD8;
	--theme-color-text_hover: #185BB5;
	--theme-color-text_link2: #4FB3F6;
	--theme-color-text_hover2: #2E9BE6;
	--theme-color-text_link3: #9AD4FB;
	--theme-color-text_hover3: #6FC0F8;

	--theme-color-alter_link: #1F6FD8;
	--theme-color-alter_hover: #185BB5;
	--theme-color-alter_link2: #4FB3F6;
	--theme-color-alter_hover2: #2E9BE6;
	--theme-color-alter_link3: #9AD4FB;
	--theme-color-alter_hover3: #6FC0F8;

	--theme-color-extra_link: #4FB3F6;
	--theme-color-extra_hover: #FFFFFF;
	--theme-color-extra_link2: #9AD4FB;
	--theme-color-extra_hover2: #BFE4FD;
	--theme-color-extra_link3: #1F6FD8;
	--theme-color-extra_hover3: #185BB5;

	--theme-color-text_link_007: rgba(31, 111, 216, 0.07);
	--theme-color-text_link_02: rgba(31, 111, 216, 0.2);
	--theme-color-text_link_03: rgba(31, 111, 216, 0.3);
	--theme-color-text_link_04: rgba(31, 111, 216, 0.4);
	--theme-color-text_link_07: rgba(31, 111, 216, 0.7);
	--theme-color-text_link_blend: #2A7FE6;

	--theme-color-text_link2_000: rgba(79, 179, 246, 0);
	--theme-color-text_link2_007: rgba(79, 179, 246, 0.07);
	--theme-color-text_link2_02: rgba(79, 179, 246, 0.2);
	--theme-color-text_link2_03: rgba(79, 179, 246, 0.3);
	--theme-color-text_link2_05: rgba(79, 179, 246, 0.5);
	--theme-color-text_link2_08: rgba(79, 179, 246, 0.8);
	--theme-color-text_link2_085: rgba(79, 179, 246, 0.85);

	--theme-color-text_link3_007: rgba(154, 212, 251, 0.07);
	--theme-color-text_link3_02: rgba(154, 212, 251, 0.2);
	--theme-color-text_link3_03: rgba(154, 212, 251, 0.3);

	--theme-color-alter_link_02: rgba(31, 111, 216, 0.2);
	--theme-color-alter_link_07: rgba(31, 111, 216, 0.7);
	--theme-color-alter_link_blend: #2A7FE6;

	--theme-color-extra_link_02: rgba(79, 179, 246, 0.2);
	--theme-color-extra_link_07: rgba(79, 179, 246, 0.7);

	--theme-color-extra_bg_color: #0D1B3E;
	--theme-color-extra_bg_hover: #16274F;
	--theme-color-extra_bd_color: #1E2F5A;
	--theme-color-extra_bd_hover: #C9D6EC;
	--theme-color-extra_text: #A7B4D1;
	--theme-color-extra_light: #7F8DAE;
	--theme-color-extra_dark: #F5F8FD;
	--theme-color-extra_bg_color_05: rgba(13, 27, 62, 0.5);
	--theme-color-extra_bg_color_07: rgba(13, 27, 62, 0.7);

	--theme-color-inverse_link: #FFFFFF;
	--theme-color-inverse_link_08: rgba(255, 255, 255, 0.8);
}

/* ---------- Light schemes: shared navy text ---------- */
.scheme_default, body.scheme_default,
.scheme_light, body.scheme_light,
.scheme_extra_light, body.scheme_extra_light,
.scheme_beige_default, body.scheme_beige_default,
.scheme_beige_light, body.scheme_beige_light,
.scheme_blue_default, body.scheme_blue_default,
.scheme_blue_light, body.scheme_blue_light {
	--theme-color-text: #4A5571;
	--theme-color-text_light: #6B7690;
	--theme-color-text_dark: #0D1B3E;
	--theme-color-text_dark_blend: #14244A;

	--theme-color-alter_text: #4A5571;
	--theme-color-alter_light: #6B7690;
	--theme-color-alter_dark: #0D1B3E;
	--theme-color-alter_bd_hover: #0D1B3E;

	--theme-color-input_bg_color: transparent;
	--theme-color-input_bg_hover: transparent;
	--theme-color-input_bd_hover: #0D1B3E;
	--theme-color-input_text: #6B7690;
	--theme-color-input_light: #6B7690;
	--theme-color-input_dark: #0D1B3E;

	--theme-color-inverse_bd_color: #4A5571;
	--theme-color-inverse_bd_hover: #FFFFFF;
	--theme-color-inverse_text: #1A2440;
	--theme-color-inverse_light: #33405F;
	--theme-color-inverse_dark: #0D1B3E;
	--theme-color-inverse_hover: #FFFFFF;
	--theme-color-inverse_text_03: rgba(26, 36, 64, 0.3);
	--theme-color-inverse_hover_08: rgba(255, 255, 255, 0.8);

	--theme-color-text_dark_003: rgba(13, 27, 62, 0.03);
	--theme-color-text_dark_005: rgba(13, 27, 62, 0.05);
	--theme-color-text_dark_008: rgba(13, 27, 62, 0.08);
	--theme-color-text_dark_015: rgba(13, 27, 62, 0.15);
	--theme-color-text_dark_02: rgba(13, 27, 62, 0.2);
	--theme-color-text_dark_03: rgba(13, 27, 62, 0.3);
	--theme-color-text_dark_05: rgba(13, 27, 62, 0.5);
	--theme-color-text_dark_07: rgba(13, 27, 62, 0.7);
	--theme-color-text_dark_08: rgba(13, 27, 62, 0.8);

	--theme-color-alter_dark_015: rgba(13, 27, 62, 0.15);
	--theme-color-alter_dark_02: rgba(13, 27, 62, 0.2);
	--theme-color-alter_dark_05: rgba(13, 27, 62, 0.5);
	--theme-color-alter_dark_08: rgba(13, 27, 62, 0.8);
}

/* "Default": soft blue-gray page, white cards */
.scheme_default, body.scheme_default,
.scheme_beige_default, body.scheme_beige_default,
.scheme_blue_default, body.scheme_blue_default {
	--theme-color-bg_color: #EEF3FA;
	--theme-color-bd_color: #D3DDEB;
	--theme-color-alter_bg_color: #FFFFFF;
	--theme-color-alter_bg_hover: #F5F8FC;
	--theme-color-alter_bd_color: #D3DDEB;
	--theme-color-input_bd_color: #D3DDEB;

	--theme-color-bg_color_0: rgba(238, 243, 250, 0);
	--theme-color-bg_color_02: rgba(238, 243, 250, 0.2);
	--theme-color-bg_color_07: rgba(238, 243, 250, 0.7);
	--theme-color-bg_color_08: rgba(238, 243, 250, 0.8);
	--theme-color-bg_color_09: rgba(238, 243, 250, 0.9);
	--theme-color-alter_bg_color_00: rgba(255, 255, 255, 0);
	--theme-color-alter_bg_color_02: rgba(255, 255, 255, 0.2);
	--theme-color-alter_bg_color_04: rgba(255, 255, 255, 0.4);
	--theme-color-alter_bg_color_07: rgba(255, 255, 255, 0.7);
	--theme-color-alter_bg_color_08: rgba(255, 255, 255, 0.8);
	--theme-color-alter_bd_color_02: rgba(211, 221, 235, 0.2);
}

/* "Light": white page, blue-gray cards */
.scheme_light, body.scheme_light,
.scheme_beige_light, body.scheme_beige_light,
.scheme_blue_light, body.scheme_blue_light {
	--theme-color-bg_color: #FFFFFF;
	--theme-color-bd_color: #D3DDEB;
	--theme-color-alter_bg_color: #EEF3FA;
	--theme-color-alter_bg_hover: #F5F8FC;
	--theme-color-alter_bd_color: #D3DDEB;
	--theme-color-input_bd_color: #D3DDEB;

	--theme-color-bg_color_0: rgba(255, 255, 255, 0);
	--theme-color-bg_color_02: rgba(255, 255, 255, 0.2);
	--theme-color-bg_color_07: rgba(255, 255, 255, 0.7);
	--theme-color-bg_color_08: rgba(255, 255, 255, 0.8);
	--theme-color-bg_color_09: rgba(255, 255, 255, 0.9);
	--theme-color-alter_bg_color_00: rgba(238, 243, 250, 0);
	--theme-color-alter_bg_color_02: rgba(238, 243, 250, 0.2);
	--theme-color-alter_bg_color_04: rgba(238, 243, 250, 0.4);
	--theme-color-alter_bg_color_07: rgba(238, 243, 250, 0.7);
	--theme-color-alter_bg_color_08: rgba(238, 243, 250, 0.8);
	--theme-color-alter_bd_color_02: rgba(211, 221, 235, 0.2);
}

/* "Extra Light" (pink in the demo): pale sky blue */
.scheme_extra_light, body.scheme_extra_light {
	--theme-color-bg_color: #DCEBFB;
	--theme-color-bd_color: #A9C8EC;
	--theme-color-alter_bg_color: #CDE3FA;
	--theme-color-alter_bg_hover: #E6F1FC;
	--theme-color-alter_bd_color: #A9C8EC;
	--theme-color-alter_bd_hover: #A9C8EC;
	--theme-color-input_bd_color: #A9C8EC;
	--theme-color-input_bd_hover: #1F6FD8;

	--theme-color-bg_color_0: rgba(220, 235, 251, 0);
	--theme-color-bg_color_02: rgba(220, 235, 251, 0.2);
	--theme-color-bg_color_07: rgba(220, 235, 251, 0.7);
	--theme-color-bg_color_08: rgba(220, 235, 251, 0.8);
	--theme-color-bg_color_09: rgba(220, 235, 251, 0.9);
	--theme-color-alter_bg_color_00: rgba(205, 227, 250, 0);
	--theme-color-alter_bg_color_02: rgba(205, 227, 250, 0.2);
	--theme-color-alter_bg_color_04: rgba(205, 227, 250, 0.4);
	--theme-color-alter_bg_color_07: rgba(205, 227, 250, 0.7);
	--theme-color-alter_bg_color_08: rgba(205, 227, 250, 0.8);
	--theme-color-alter_bd_color_02: rgba(169, 200, 236, 0.2);
}

/* ---------- Dark schemes: Databrig navy ---------- */
.scheme_dark, body.scheme_dark,
.scheme_beige_dark, body.scheme_beige_dark,
.scheme_blue_dark, body.scheme_blue_dark {
	--theme-color-bg_color: #08122B;
	--theme-color-bd_color: #1E2F5A;

	--theme-color-text: #A7B4D1;
	--theme-color-text_light: #7F8DAE;
	--theme-color-text_dark: #F5F8FD;
	--theme-color-text_dark_blend: #FFFFFF;

	--theme-color-alter_bg_color: #0F1D40;
	--theme-color-alter_bg_hover: #16274F;
	--theme-color-alter_bd_color: #1E2F5A;
	--theme-color-alter_bd_hover: #C9D6EC;
	--theme-color-alter_text: #A7B4D1;
	--theme-color-alter_light: #7F8DAE;
	--theme-color-alter_dark: #F5F8FD;

	--theme-color-input_bg_color: transparent;
	--theme-color-input_bg_hover: transparent;
	--theme-color-input_bd_color: #1E2F5A;
	--theme-color-input_bd_hover: #C9D6EC;
	--theme-color-input_text: #A7B4D1;
	--theme-color-input_light: #A7B4D1;
	--theme-color-input_dark: #F5F8FD;

	--theme-color-inverse_bd_color: #F5F8FD;
	--theme-color-inverse_bd_hover: #1E2F5A;
	--theme-color-inverse_text: #F5F8FD;
	--theme-color-inverse_light: #7F8DAE;
	--theme-color-inverse_dark: #0D1B3E;
	--theme-color-inverse_hover: #0D1B3E;
	--theme-color-inverse_text_03: rgba(245, 248, 253, 0.3);
	--theme-color-inverse_hover_08: rgba(13, 27, 62, 0.8);

	--theme-color-bg_color_0: rgba(8, 18, 43, 0);
	--theme-color-bg_color_02: rgba(8, 18, 43, 0.2);
	--theme-color-bg_color_07: rgba(8, 18, 43, 0.7);
	--theme-color-bg_color_08: rgba(8, 18, 43, 0.8);
	--theme-color-bg_color_09: rgba(8, 18, 43, 0.9);
	--theme-color-alter_bg_color_00: rgba(15, 29, 64, 0);
	--theme-color-alter_bg_color_02: rgba(15, 29, 64, 0.2);
	--theme-color-alter_bg_color_04: rgba(15, 29, 64, 0.4);
	--theme-color-alter_bg_color_07: rgba(15, 29, 64, 0.7);
	--theme-color-alter_bg_color_08: rgba(15, 29, 64, 0.8);
	--theme-color-alter_bd_color_02: rgba(30, 47, 90, 0.2);

	--theme-color-text_dark_003: rgba(245, 248, 253, 0.03);
	--theme-color-text_dark_005: rgba(245, 248, 253, 0.05);
	--theme-color-text_dark_008: rgba(245, 248, 253, 0.08);
	--theme-color-text_dark_015: rgba(245, 248, 253, 0.15);
	--theme-color-text_dark_02: rgba(245, 248, 253, 0.2);
	--theme-color-text_dark_03: rgba(245, 248, 253, 0.3);
	--theme-color-text_dark_05: rgba(245, 248, 253, 0.5);
	--theme-color-text_dark_07: rgba(245, 248, 253, 0.7);
	--theme-color-text_dark_08: rgba(245, 248, 253, 0.8);

	--theme-color-alter_dark_015: rgba(245, 248, 253, 0.15);
	--theme-color-alter_dark_02: rgba(245, 248, 253, 0.2);
	--theme-color-alter_dark_05: rgba(245, 248, 253, 0.5);
	--theme-color-alter_dark_08: rgba(245, 248, 253, 0.8);
}

/* ==========================================================================
   Databrig layout and components
   ========================================================================== */

/* Header: white top bar so the logo (navy on white) reads cleanly */
.top_panel .sc_layouts_row.elementor-section {
	box-shadow: 0 1px 0 rgba(13, 27, 62, 0.08);
}
.top_panel .sc_layouts_logo img,
.top_panel .custom-logo-link img {
	max-height: 80px;
	width: auto;
}
.top_panel .sc_layouts_row_fixed_on {
	padding-top: 6px !important;
	padding-bottom: 6px !important;
}
.top_panel .sc_layouts_row_fixed_on .sc_layouts_item {
	margin-top: 3px !important;
	margin-bottom: 3px !important;
}
@media (max-width: 1279px) {
	.top_panel .sc_layouts_logo img,
	.top_panel .custom-logo-link img {
		max-height: 48px;
	}
}
@media (max-width: 767px) {
	.top_panel .sc_layouts_logo img.logo_image {
		max-height: 44px !important;
	}
	/* iOS Safari zooms into fields with text under 16px */
	input, textarea, select {
		font-size: 16px !important;
	}
	.databrig-hero h1.sc_item_title {
		font-size: 32px;
	}
}

/* Hero and inner-page banner: faint chart grid over the navy gradient */
.databrig-hero,
.databrig-page-banner {
	position: relative;
	overflow: hidden;
}
.databrig-hero::before,
.databrig-page-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(154, 212, 251, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(154, 212, 251, 0.07) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
	mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
	pointer-events: none;
}
.databrig-hero > .elementor-container,
.databrig-page-banner > .elementor-container {
	position: relative;
	z-index: 1;
}
.databrig-hero .sc_item_subtitle {
	font-size: 20px;
	letter-spacing: 0.16em;
	margin-bottom: 1.1em;
}
@media (max-width: 767px) {
	.databrig-hero .sc_item_subtitle {
		font-size: 15px;
	}
}
.databrig-hero .sc_item_descr {
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
	font-size: 1.15rem;
	color: #C9D6EC;
}

/* FAQ */
.databrig-faq details {
	border-bottom: 1px solid #D3DDEB;
	padding: 1.25em 0;
}
.databrig-faq details:first-child {
	border-top: 1px solid #D3DDEB;
}
.databrig-faq summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1em;
	cursor: pointer;
	list-style: none;
	font-size: 1.2rem;
	font-weight: 600;
	color: #0D1B3E;
}
.databrig-faq summary::-webkit-details-marker {
	display: none;
}
.databrig-faq summary::after {
	content: "+";
	flex-shrink: 0;
	font-size: 1.6em;
	line-height: 1;
	color: #1F6FD8;
	transition: transform 0.2s ease;
}
.databrig-faq details[open] summary::after {
	transform: rotate(45deg);
}
.databrig-faq summary:hover {
	color: #1F6FD8;
}
.databrig-faq details p {
	margin: 0.8em 0 0;
	padding-right: 2em;
}

/* Wide decorative images */
.databrig-image-band img {
	display: block;
	width: 100%;
	height: clamp(220px, 32vw, 460px);
	object-fit: cover;
	border-radius: 16px;
	box-shadow: 0 24px 48px -24px rgba(8, 18, 43, 0.45);
}

/* 404 page */
.databrig-404 {
	padding: clamp(60px, 9vw, 130px) 0;
	text-align: center;
}
.databrig-404-inner {
	max-width: 640px;
	margin: 0 auto;
}
.databrig-404-code {
	margin: 0 0 0.1em;
	font-size: clamp(110px, 16vw, 200px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.03em;
	background: linear-gradient(160deg, #1F6FD8 0%, #9AD4FB 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	opacity: 0.35;
}
.databrig-404-title {
	margin: 0 0 0.6em;
	color: #0D1B3E;
}
.databrig-404-text {
	margin: 0 auto 2em;
	max-width: 520px;
}
.databrig-404-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
}
/* .theme_button sets its colors with !important */
.databrig-404 .databrig-404-secondary {
	background-color: transparent !important;
	color: #1F6FD8 !important;
	box-shadow: inset 0 0 0 2px #1F6FD8;
}
.databrig-404 .databrig-404-secondary:hover {
	background-color: #1F6FD8 !important;
	color: #FFFFFF !important;
}
.databrig-404-links {
	margin: 2.2em 0 0;
	font-size: 15px;
}
.databrig-404-links a {
	margin-left: 1.1em;
	font-weight: 600;
}

/* Closing call-to-action band */
.databrig-cta .sc_item_descr {
	max-width: 620px;
	margin-left: auto;
	margin-right: auto;
	color: #DCEBFB;
}
.databrig-cta .sc_item_button .sc_button {
	background-color: #FFFFFF;
	color: #0D1B3E;
}
.databrig-cta .sc_item_button .sc_button:hover {
	background-color: #9AD4FB;
	color: #0D1B3E;
}

/* Home services list: heading above full-width rows, one-line service names on desktop */
@media (min-width: 1280px) {
	.databrig-rows-stacked .elementor-inner-section .sc_item_title {
		font-size: min(31px, 2.1vw);
	}
}

/* Services: anchors clear the header, details column */
.databrig-service {
	scroll-margin-top: 120px;
}
@media (min-width: 1025px) {
	.databrig-service-details > .elementor-widget-wrap {
		padding-left: clamp(40px, 6vw, 120px) !important;
	}
}
.databrig-service-details h5 {
	margin-top: 0;
	margin-bottom: 0.8em;
}
.databrig-service-details h5 + ul,
.databrig-service-details h5 + p {
	margin-top: 0;
}
.databrig-service-details ul + h5 {
	margin-top: 1.8em;
}
.databrig-outcome {
	padding: 1.1em 1.3em;
	border-left: 3px solid #1F6FD8;
	background-color: var(--theme-color-alter_bg_color);
	border-radius: 0 8px 8px 0;
	color: var(--theme-color-text_dark);
}

/* Check-mark lists */
ul.databrig-checklist {
	list-style: none;
	padding-left: 0;
	margin-left: 0;
}
ul.databrig-checklist li {
	position: relative;
	padding-left: 1.9em;
	margin-bottom: 0.65em;
}
ul.databrig-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.35em;
	width: 1.1em;
	height: 1.1em;
	border-radius: 50%;
	background: #1F6FD8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center / 75% no-repeat;
}

/* Contact form (plain HTML form posting to Web3Forms) */
.databrig-form-card {
	padding: 2.5em;
	background-color: var(--theme-color-alter_bg_color);
	border: 1px solid var(--theme-color-bd_color);
	border-radius: 16px;
}
.databrig-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1em;
}
.databrig-form input[type="text"],
.databrig-form input[type="email"],
.databrig-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.9em 1.1em;
	background-color: #FFFFFF;
	border: 1px solid var(--theme-color-bd_color);
	border-radius: 8px;
	color: var(--theme-color-text_dark);
}
.databrig-form input:focus,
.databrig-form textarea:focus {
	border-color: #1F6FD8;
	outline: none;
	box-shadow: 0 0 0 3px rgba(31, 111, 216, 0.15);
}
.databrig-form textarea,
.databrig-form button {
	grid-column: 1 / -1;
}
.databrig-form input[name="company"] {
	grid-column: 1 / -1;
}
.databrig-form button {
	justify-self: start;
	cursor: pointer;
}
@media (max-width: 767px) {
	.databrig-form-card {
		padding: 1.5em;
	}
	.databrig-form {
		grid-template-columns: 1fr;
	}
}
