/*
Theme Name: OnDigital24 Child
Theme URI: https://ondigital24.com
Description: Child theme of SeoNex for OnDigital24 customizations
Author: OnDigital24
Template: seonex
Version: 1.0.0
*/


/* ---------- ONDIGITAL24 overrides ---------- */

/* Hero headline: wrap between words only, never inside a word. */
.elementor-element-38b7289 .pxl-text-editor,
.elementor-element-38b7289 .pxl-text-editor * {
	word-break: normal;
	overflow-wrap: normal;
	hyphens: none;
}

/* Service pages: the theme pulls a featured-image row 363px up over the page title.
   We do not use featured photos there, so keep the content below the title. */
body.single-service .service-images-row {
	margin-top: 0;
}

/* About page: service cards sit on a dark section, so their titles must be light. */
.elementor-element-412d404 .item--title,
.elementor-element-412d404 .item--title a {
	color: #ffffff;
}

/* Privacy Policy (page 3) and Terms (page 14573): comfortable reading width and modest headings. */
body.page-id-3 #pxl-main .container,
body.page-id-14573 #pxl-main .container {
	max-width: 860px;
}
body.page-id-3 #pxl-main h2,
body.page-id-14573 #pxl-main h2 {
	font-size: 28px;
	line-height: 1.25;
	letter-spacing: -0.5px;
	margin: 44px 0 12px;
}
body.page-id-3 #pxl-main a,
body.page-id-14573 #pxl-main a {
	color: #6432ff;
	text-decoration: underline;
}

/* Brand violet instead of the theme's hard-coded royal blue (#0b1be6). */
body .pxl-accordion4 .pxl--item.active .pxl-accordion--title .pxl-icon::after,
body .pxl-accordion4 .pxl--item:hover .pxl-accordion--title .pxl-icon::after,
body .pxl-accordion5 .pxl--item.active .pxl-accordion--title .pxl-icon::after,
body .pxl-accordion5 .pxl--item:hover .pxl-accordion--title .pxl-icon::after,
body .pxl-tabs.pxl-tabs1 .style-2 .pxl-tab--title.active,
body .pxl-pricing2 .pxl-group .pxl-month {
	background: #6432ff;
}
body.error404 .pxl-header-elementor-main .pxl-button .pxl-text-btn,
body.error404 .pxl-header-elementor-main .pxl-button .pxl-icon {
	background: #6432ff !important;
}

/* Reports service page: "Reports we provide" cards. */
.ond-reports { margin: 40px 0 10px; }
.ond-reports h3 { font-size: 32px; line-height: 1.2; letter-spacing: -0.8px; margin: 0 0 22px; color: #0b132b; }
.ond-report { border: 1px solid #e6e3f5; border-radius: 18px; padding: 26px 28px; margin: 0 0 16px; background: #faf9ff; }
.ond-report h4 { font-size: 21px; margin: 0 0 4px; color: #0b132b; }
.ond-report .ond-report-tag { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: #6432ff; }
.ond-report ul { margin: 0; padding-left: 20px; }
.ond-report li { margin: 6px 0; color: #4a4f63; line-height: 1.55; }
.ond-report-note { margin-top: 20px; padding: 18px 22px; border-left: 4px solid #6432ff; background: #f3f0ff; border-radius: 10px; color: #3b4256; }

/* About page: the founder's story next to her photo. */
.ond-about-me p { margin: 0 0 16px; }
.ond-about-me h3 { font-size: 26px; line-height: 1.25; letter-spacing: -0.5px; color: #0b132b; margin: 34px 0 12px; }
@media (min-width: 1025px) {
	.elementor-element-ondfdr2 { position: sticky; top: 110px; }
}

/* ---------- SEO Dashboard page (/seo-dashboard/) — built from the theme's own tokens ----------
   Fonts Figtree (headings) / Manrope (text), navy #1B194D, grey #797979, violet #6432FF,
   magenta #F0006D, panels #F8F9FB, card radius 30px — measured from the homepage widgets. */
.ond-seog2 { --navy: #1b194d; --grey: #797979; --violet: #6432ff; --magenta: #f0006d; --panel: #f8f9fb; --line: rgba(27,25,77,.1);
	font-family: "Manrope", sans-serif; color: var(--grey); overflow-x: hidden; }
.ond-seog2 .ond-twrap { max-width: 1450px; margin: 0 auto; padding: 0 30px; }
.ond-seog2 .ond-tsec { padding: 120px 0; }
.ond-seog2 .ond-tsec-grey { background: var(--panel); }
.ond-seog2 .ic { width: 18px; height: 18px; flex: none; }
.ond-seog2 .ic-lg { width: 44px; height: 44px; }
/* Pill subheading + titles, same as .pxl-heading */
.ond-seog2 .ond-tpill { display: inline-block; padding: 5px 20px; border: 1px solid rgba(9,7,5,.1); border-radius: 20px; font-family: "Figtree", sans-serif; font-size: 24px; font-weight: 500; color: #090705; }
.ond-seog2 .ond-tpill em { color: var(--violet); font-style: italic; }
.ond-seog2 .ond-ttitle { margin: 18px 0 0; font-family: "Figtree", sans-serif; font-size: 50px; line-height: 1.04; font-weight: 600; letter-spacing: -1px; color: var(--navy); }
.ond-seog2 .ond-ttext { margin: 24px 0 0; font-size: 20px; line-height: 32px; color: var(--grey); }
.ond-seog2 .ond-tcenter { max-width: 820px; margin: 0 auto; text-align: center; }
/* Buttons, same as the theme's btn-two-icon */
.ond-seog2 .ond-tbtns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.ond-seog2 .ond-tband .ond-tbtns { justify-content: center; }
.ond-seog2 .ond-tbtn { display: inline-flex; align-items: center; text-decoration: none; font-family: "Figtree", sans-serif; font-size: 14px; font-weight: 600; text-transform: uppercase; transition: transform .25s; }
.ond-seog2 .ond-tbtn:hover { transform: translateY(-2px); }
.ond-seog2 .ond-tbtn-text { padding: 14px 30px; border-radius: 30px; }
.ond-seog2 .ond-tbtn-round { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; }
.ond-seog2 .ond-tbtn-primary .ond-tbtn-text, .ond-seog2 .ond-tbtn-primary .ond-tbtn-round { background: var(--magenta); color: #fff; }
.ond-seog2 .ond-tbtn-outline .ond-tbtn-text, .ond-seog2 .ond-tbtn-outline .ond-tbtn-round { background: #fff; color: var(--grey); border: 1px solid rgba(0,0,0,.1); }
.ond-seog2 .ond-tbtn-outline .ond-tbtn-text { padding: 13px 29px; }
.ond-seog2 .ond-tbtn-white .ond-tbtn-text, .ond-seog2 .ond-tbtn-white .ond-tbtn-round { background: #fff; color: var(--navy); }
.ond-seog2 .ond-tbtn-ghost .ond-tbtn-text, .ond-seog2 .ond-tbtn-ghost .ond-tbtn-round { color: #fff; border: 1px solid rgba(255,255,255,.45); }
.ond-seog2 .ond-tbtn-ghost .ond-tbtn-text { padding: 13px 29px; }
.ond-seog2 .ond-tnote { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font-size: 15px; color: var(--navy); }
.ond-seog2 .ond-tnote .ic { color: var(--violet); }
/* Intro: text + mockup */
.ond-seog2 .ond-tintro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
/* Cards, same as the service cards */
.ond-seog2 .ond-tcard { border: 1px solid var(--line); border-radius: 30px; padding: 10px 8px 8px; background: #fff; transition: box-shadow .3s, transform .3s; }
.ond-seog2 .ond-tcard:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(27,25,77,.35); }
.ond-seog2 .ond-tcard-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 30px 20px; }
.ond-seog2 .ond-tcard-head h4 { margin: 0; font-family: "Figtree", sans-serif; font-size: 24px; line-height: 1.21; font-weight: 600; color: var(--navy); }
.ond-seog2 .ond-tcard-icon { color: var(--magenta); }
.ond-seog2 .ond-tcard-body { padding: 30px 20px; border: 1px solid var(--line); border-radius: 30px; background: var(--panel); }
.ond-seog2 .ond-tcard-body > p { margin: 0; font-size: 17px; line-height: 27.2px; color: var(--grey); }
.ond-seog2 .ond-tcard-body ul { list-style: none; margin: 22px 0 0; padding: 0; }
.ond-seog2 .ond-tcard-body li { display: flex; align-items: center; gap: 10px; margin: 8px 0 0; font-size: 15px; line-height: 24px; color: var(--navy); }
.ond-seog2 .ond-tcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 60px; }
/* Geo-grid mockup inside a card */
.ond-seog2 .ond-tmock { max-width: 520px; width: 100%; justify-self: end; }
.ond-seog2 .ond-tlive { padding: 4px 14px; border-radius: 30px; background: rgba(100,50,255,.1); color: var(--violet); font-family: "Figtree", sans-serif; font-size: 13px; font-weight: 600; }
.ond-seog2 .ond-tgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 20px; }
.ond-seog2 .ond-tgrid span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; color: #fff; font-family: "Figtree", sans-serif; font-size: 13px; font-weight: 600; }
.ond-seog2 .r-top { background: var(--violet); }
.ond-seog2 .r-p1 { background: #a78bfa; }
.ond-seog2 .r-low { background: var(--magenta); }
.ond-seog2 .ond-tlegend { display: flex; justify-content: space-between; margin-top: 18px; font-size: 14px; color: var(--navy); }
.ond-seog2 .ond-tlegend span { display: flex; align-items: center; gap: 8px; }
.ond-seog2 .ond-tlegend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
/* Steps, same numbered style as the About values */
.ond-seog2 .ond-tsteps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 70px; }
.ond-seog2 .ond-tsteps::before { content: ""; position: absolute; left: 25px; right: 25px; top: 25px; height: 1px; background: var(--line); }
.ond-seog2 .ond-tnum { position: relative; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-family: "Figtree", sans-serif; font-size: 18px; color: var(--navy); }
.ond-seog2 .ond-tstep h4 { margin: 26px 0 0; font-family: "Figtree", sans-serif; font-size: 24px; font-weight: 600; color: var(--navy); }
.ond-seog2 .ond-tstep p { margin: 12px 0 0; font-size: 17px; line-height: 27.2px; }
/* CTA band, same background as the homepage newsletter band */
.ond-seog2 .ond-tsec-cta { padding-top: 0; }
.ond-seog2 .ond-tband { padding: 90px 40px; border-radius: 20px; text-align: center; background: #5b21b6 url("/wp-content/uploads/2026/02/bg-price.webp") center / cover no-repeat; }
.ond-seog2 .ond-tband h2 { max-width: 820px; margin: 0 auto; font-family: "Figtree", sans-serif; font-size: 50px; line-height: 1.04; font-weight: 600; letter-spacing: -1px; color: #fff; }
.ond-seog2 .ond-tband p { margin: 18px 0 0; font-size: 20px; color: rgba(255,255,255,.85); }
@media (max-width: 1200px) {
	.ond-seog2 .ond-ttitle, .ond-seog2 .ond-tband h2 { font-size: 42px; }
}
@media (max-width: 1024px) {
	.ond-seog2 .ond-tsec { padding: 80px 0; }
	.ond-seog2 .ond-tintro, .ond-seog2 .ond-tcards, .ond-seog2 .ond-tsteps { grid-template-columns: 1fr; }
	.ond-seog2 .ond-tmock { justify-self: start; }
	.ond-seog2 .ond-tsteps::before { display: none; }
}
@media (max-width: 600px) {
	.ond-seog2 .ond-twrap { padding: 0 15px; }
	.ond-seog2 .ond-tsec { padding: 60px 0; }
	.ond-seog2 .ond-tpill { font-size: 18px; }
	.ond-seog2 .ond-ttitle, .ond-seog2 .ond-tband h2 { font-size: 32px; }
	.ond-seog2 .ond-ttext { font-size: 17px; line-height: 27px; }
	.ond-seog2 .ond-tband { padding: 56px 20px; }
}

/* Founder photo: modest size on phones and tablets (Home about block a4fa50e, About founder block ondfdr3). */
@media (max-width: 1024px) {
	.elementor-element-a4fa50e img,
	.elementor-element-ondfdr3 img {
		max-width: 300px;
		width: 100%;
		margin: 0 auto;
		display: block;
	}
}
@media (max-width: 767px) {
	.elementor-element-a4fa50e img,
	.elementor-element-ondfdr3 img {
		max-width: 220px;
	}
}

/* Home: blend the map-pin image's near-white background into the page. */
.elementor-element-3a4b7da img { mix-blend-mode: multiply; }

/* AI Visibility service page (5751): the user's "ai_tools" image as the banner background.
   A navy fade on the left keeps the white title readable. */
body.postid-5751 #pxl-page-title-default {
	background: linear-gradient(90deg, rgba(8, 28, 81, .94) 0%, rgba(8, 28, 81, .7) 40%, rgba(8, 28, 81, .15) 75%),
		#081c51 url("img/ai-tools.webp") 70% center / cover no-repeat;
}
body.postid-5751 #pxl-page-title-default .pxl-image-page--left,
body.postid-5751 #pxl-page-title-default .pxl-image-page--right {
	display: none;
}

/* Market Research (9337) "why us" panel: image on the panel itself (the theme's parallax layer is
   100px taller than the panel and shifts the picture), filled and anchored to the bottom. */
.elementor-element-7ae5744 {
	background: #00aec7 url("/wp-content/uploads/2026/11/market-research.webp") center bottom / cover no-repeat;
}
.elementor-element-7ae5744 > .seonex-e-background {
	display: none;
}

/* Automation (9369) "why us" panel: the user's business_automation photo, filling the panel. */
.elementor-element-1917896 {
	background: #1f5c8f url("/wp-content/uploads/2026/11/business-automation.webp") 47% center / cover no-repeat;
}
.elementor-element-1917896 > .seonex-e-background {
	display: none;
}

/* Services page (9267) intro panel: the user's get_found_online illustration, on the panel itself. */
.elementor-element-6218318 {
	background: #ffffff url("/wp-content/uploads/2026/11/get-found-online.webp") center center / cover no-repeat;
	border: 1px solid rgba(27, 25, 77, .08);
}
.elementor-element-6218318 > .seonex-e-background {
	display: none;
}

/* Page-title banners: the theme's blue gradient shapes shifted to the brand violet (#6432FF). */
#pxl-page-title-default img[src*="img-left--pagetitle"],
#pxl-page-title-default img[src*="img-right--pagetitle"],
#pxl-page-title-elementor img[src*="gradien-right"],
#pxl-page-title-elementor img[src*="gradiend-h1-bottom"] {
	filter: hue-rotate(30deg);
}
