/* ==========================================================================
   Inner pages: dark shell, like the .tr site (the ported pages were light)
   Only layout-neutral colour overrides live here; markup stays as ported.
   Drop the enqueue in functions.php to go back to the light look.
   ========================================================================== */

body.page-template-elementor_header_footer:not(.home) {
	background: var(--th-navy, #1b1f2b);
}

/* one continuous navy gradient behind every band */
body.page-template-elementor_header_footer:not(.home) .site-main {
	--ink: #ebebeb;
	--text-1: rgba(235, 235, 235, 0.72);
	color: #ebebeb;
	background: linear-gradient(180deg, #1b1f2b 0%, #0d1b43 100%);
}

/* the ported grey band fills become see-through so the gradient shows */
body.page-template-elementor_header_footer:not(.home) .site-main [style*="background-color:#F5F5F5"],
body.page-template-elementor_header_footer:not(.home) .site-main [style*="background-color:rgb(245, 245, 245)"],
body.page-template-elementor_header_footer:not(.home) .site-main [style*="background-color:#F7F7F7"] {
	background-color: transparent !important;
}

/* .com's body copy colour, now on navy */
body.page-template-elementor_header_footer:not(.home) .site-main [style*="color:rgb(51, 51, 51)"] {
	color: #ebebeb !important;
}

body.page-template-elementor_header_footer:not(.home) .site-main [style*="border-color:rgb(216, 216, 216)"],
body.page-template-elementor_header_footer:not(.home) .site-main [style*="border-color:#D8D8D8"] {
	border-color: rgba(255, 255, 255, 0.18) !important;
}

/* white cards keep white paper + dark type, like the .tr "values" card */
body.page-template-elementor_header_footer:not(.home) .site-main .w-band__card {
	--ink: #333333;
	--text-1: #666666;
	color: #333333;
}

/* the about "why partner" cards are white paper, like the .ru build */
body.page-template-elementor_header_footer:not(.home) .site-main .w-carousel--partner .w-carousel__slide,
body.page-template-elementor_header_footer:not(.home) .site-main .w-carousel--partner .w-carousel__body {
	background: #ffffff;
	color: #333333;
	--ink: #333333;
}

/* be-a-dealer support cards and thank-you panel were light-grey CSS fills */
body.page-template-elementor_header_footer:not(.home) .site-main .ty__steps {
	background: rgba(255, 255, 255, 0.06);
}

/* ---------- be-a-dealer: the item cards stay light paper (like .ru) ----------
   The benefit carousel and the testimonial cards are white/#f5f5f5 cards with
   rounded corners sitting on the dark shell, so they opt out of the grey-to-
   transparent and ink-to-light overrides just above. */
body.page-template-elementor_header_footer:not(.home).page-id-1113 .site-main .w-carousel__body {
	background: #ffffff;
	color: #333333;
	--ink: #333333;
	--text-1: #333333;
}

body.page-template-elementor_header_footer:not(.home).page-id-1113 .site-main .w-carousel__title {
	color: var(--orange, #ee6e00);
}

body.page-template-elementor_header_footer:not(.home).page-id-1113 .site-main .w-carousel__text,
body.page-template-elementor_header_footer:not(.home).page-id-1113 .site-main .w-carousel__text p {
	color: #333333;
}

/* testimonial cards: photo on top, #f5f5f5 panel underneath, both rounded */
body.page-template-elementor_header_footer:not(.home).page-id-1113 .site-main .card-quote,
body.page-template-elementor_header_footer:not(.home).page-id-1113 .site-main .card-quote [style*="background-color:#F5F5F5"],
body.page-template-elementor_header_footer:not(.home).page-id-1113 .site-main .card-quote [style*="background-color:rgb(245, 245, 245)"] {
	background-color: #f5f5f5 !important;
	--ink: #333333;
}

body.page-template-elementor_header_footer:not(.home).page-id-1113 .site-main .card-quote {
	overflow: hidden;
}

body.page-template-elementor_header_footer:not(.home).page-id-1113 .site-main .card-quote [style*="color:rgb(51, 51, 51)"],
body.page-template-elementor_header_footer:not(.home).page-id-1113 .site-main .card-quote .w-txt,
body.page-template-elementor_header_footer:not(.home).page-id-1113 .site-main .card-quote h5 {
	color: #333333 !important;
}

body.page-template-elementor_header_footer:not(.home) .site-main .ty {
	background: transparent;
}

/* step number discs were ink-on-white, now white-on-white */
body.page-template-elementor_header_footer:not(.home) .site-main .ty__step-n {
	color: #1b1f2b;
}

body.page-template-elementor_header_footer:not(.home) .site-main .ty__steps li {
	color: rgba(235, 235, 235, 0.72);
}

/* the tab strip under that card was a light-grey band */
body.page-template-elementor_header_footer:not(.home) .site-main .w-band__strip {
	background: transparent;
}

body.page-template-elementor_header_footer:not(.home) .site-main .w-band__card [style*="color:rgb(51, 51, 51)"] {
	color: #333333 !important;
}

/* form fields stay white paper */
body.page-template-elementor_header_footer:not(.home) .site-main input,
body.page-template-elementor_header_footer:not(.home) .site-main textarea,
body.page-template-elementor_header_footer:not(.home) .site-main select {
	color: #333333;
	background-color: #fff;
}

/* tabs / accordions / rows draw their type from --ink, so they follow the shell */
body.page-template-elementor_header_footer:not(.home) .site-main .w-tabs__nav button,
body.page-template-elementor_header_footer:not(.home) .site-main .w-rows__t {
	color: #ebebeb;
}

/* the dark-grey pill CTA disappears on navy: use the site orange instead */
body.page-template-elementor_header_footer:not(.home) .site-main .btn:not(.btn--ghost) {
	background: #ee6e00;
	color: #fff;
}

/* ==========================================================================
   about: the .ru build paints each band with its own background image and
   keeps the three "management" cards on light paper, so those need their
   inline fills back on top of the dark shell.
   ========================================================================== */

body.page-id-704 .site-main > .sec[data-el="8aca891"] {
	background: url("../assets/img/about/about-bg1.jpg") center center / cover no-repeat;
}

body.page-id-704 .site-main > .sec[data-el="8cd1d26"] {
	background: url("../assets/img/about/about-bg2.jpg") center center / cover no-repeat;
}

body.page-id-704 .site-main > .sec[data-el="c77ef2d"] {
	background: url("../assets/img/about/about-bg3-scaled.jpg") center center / cover no-repeat;
}

body.page-id-704 .site-main > .sec[data-el="829cc40"] {
	background: url("../assets/img/about/about-bg4.jpg") center center / cover no-repeat;
}

/* white paper cards inside the "Fostering Trust" band (the orange one keeps
   its own white-on-orange type) */
body.page-id-704 .site-main > .sec[data-el="829cc40"] [style*="background-color:#F5F5F5"],
body.page-id-704 .site-main > .sec[data-el="829cc40"] [style*="background-color:rgb(245, 245, 245)"] {
	background-color: #f5f5f5 !important;
	--ink: #333333;
	color: #333333;
}

body.page-id-704 .site-main > .sec[data-el="829cc40"] [style*="background-color:#F5F5F5"] [style*="color:rgb(51, 51, 51)"],
body.page-id-704 .site-main > .sec[data-el="829cc40"] [style*="background-color:#F5F5F5"] [style*="color:rgb(255, 255, 255)"] {
	color: #333333 !important;
}

/* contact-us / be-a-dealer: the same dealer textures the .ru build uses */
body.page-id-1449 .site-main > .sec[data-el="6a33141"],
body.page-id-1449 .site-main > .sec[data-el="0d01b20"],
body.page-id-1113 .site-main > .sec[data-el="e029da6"] {
	background: url("../assets/img/cat/dealer-bg.jpg") center center / cover no-repeat;
}

/* contact-us: the info band is sec--full (no gutter of its own), so its text sat
   on the screen edge while every other band indents 8%. The floating bar also
   pushed it down by the hero gap (72px / 40px) it does not need here. */
body.page-id-1449 .site-main > .sec[data-el="6a33141"] {
	padding: calc(var(--mx-hdr) + 32px) 8% 32px !important;
}

@media (max-width: 767px) {
	body.page-id-1449 .site-main > .sec[data-el="6a33141"] {
		padding: calc(var(--mx-hdr) + 16px) 8% 24px !important;
	}
}

body.page-id-1113 .site-main > .sec[data-el="e8d2659"] {
	background: url("../assets/img/cat/dealer-bg1.jpg") center center / cover no-repeat;
}

/* the .ru build keeps the band headings white; the orange came from the .com
   port (about / be-a-dealer / contact-us only, the product landings stay orange) */
:is(body.page-id-704, body.page-id-1113, body.page-id-1449) .site-main :is(h1.w-h, h2.w-h)[style*="238, 110, 0"] {
	color: #ffffff !important;
}
