/* Company themes for case-study pages. Colours are approximations of each brand. */
body.theme-blinkit { --hero-bg:#F8CB46; --hero-ink:#1a1a1a; --dark-bg:#0C831F; --dark-ink:#ffffff; --dark-btn:#ffffff; --accent:#0C831F; --soft:#e9f5ea; }
body.theme-zepto   { --hero-bg:#3A0A6B; --hero-ink:#ffffff; --dark-bg:#26073f; --dark-ink:#ffffff; --dark-btn:#e6d4ff; --accent:#6D28B8; --soft:#f1e9fb; }
body.theme-rapido  { --hero-bg:#FFD400; --hero-ink:#111111; --dark-bg:#161616; --dark-ink:#ffffff; --dark-btn:#FFD400; --accent:#111111; --soft:#fff6c9; }

body.theme-rentomojo { --hero-bg:#EA292C; --hero-ink:#ffffff; --dark-bg:#3a1214; --dark-ink:#ffffff; --dark-btn:#ffd0d1; --accent:#EA292C; --soft:#fdeaea; }

body.theme-slice { --hero-bg:#9E2BD0; --hero-ink:#ffffff; --dark-bg:#2a0f3b; --dark-ink:#ffffff; --dark-btn:#ecd2fa; --accent:#9E2BD0; --soft:#f5e8fb; }

body.theme-treebo { --hero-bg:#A67C2E; --hero-ink:#ffffff; --dark-bg:#2b2113; --dark-ink:#ffffff; --dark-btn:#ecd9ae; --accent:#A67C2E; --soft:#f7efdf; }

body.theme-bumble { --hero-bg:#FEDB5B; --hero-ink:#1a1a1a; --dark-bg:#1a1a1a; --dark-ink:#ffffff; --dark-btn:#FEDB5B; --accent:#1a1a1a; --soft:#fff7d6; }

body[class*="theme-"] .wrapper.style1 { --btn: var(--accent); }
body[class*="theme-"] .wrapper.style2 { --btn: var(--hero-ink); background-color: var(--hero-bg); color: var(--hero-ink); }
body[class*="theme-"] .wrapper.style3 { --btn: var(--dark-btn); background-image: none; background-color: var(--dark-bg); color: var(--dark-ink); }

body[class*="theme-"] .wrapper.style2 h1,
body[class*="theme-"] .wrapper.style2 h2,
body[class*="theme-"] .wrapper.style2 h3,
body[class*="theme-"] .wrapper.style2 p { color: var(--hero-ink); }
body[class*="theme-"] .wrapper.style3 h1,
body[class*="theme-"] .wrapper.style3 h2,
body[class*="theme-"] .wrapper.style3 h3,
body[class*="theme-"] .wrapper.style3 p,
body[class*="theme-"] .wrapper.style3 li,
body[class*="theme-"] .wrapper.style3 td,
body[class*="theme-"] .wrapper.style3 th { color: var(--dark-ink); }
body[class*="theme-"] .wrapper.style3 a:not(.button) { color: var(--dark-btn); }
body[class*="theme-"] .wrapper.style1 h2,
body[class*="theme-"] .wrapper.style1 h3 { color: var(--accent); }
body[class*="theme-"] .wrapper.style1 a:not(.button) { color: var(--accent); text-decoration: underline; }

body[class*="theme-"] .wrapper .button,
body[class*="theme-"] .wrapper .button.special {
    background-color: transparent;
    box-shadow: inset 0 0 0 2px var(--btn) !important;
    color: var(--btn) !important;
}
body[class*="theme-"] .wrapper .button:hover {
    background-color: var(--btn) !important;
    color: var(--hero-bg) !important;
}
body.theme-rapido .wrapper.style1 .button:hover { color: #FFD400 !important; }
body.theme-blinkit .wrapper.style1 .button:hover,
body.theme-zepto .wrapper.style1 .button:hover { color: #ffffff !important; }
body.theme-blinkit .wrapper.style3 .button:hover { color: var(--dark-bg) !important; }
body.theme-zepto .wrapper.style3 .button:hover,
body.theme-rapido .wrapper.style3 .button:hover { color: var(--dark-bg) !important; }

body[class*="theme-"] .wrapper.style1 table tbody tr:nth-child(2n+1) { background-color: var(--soft); }
body[class*="theme-"] .wrapper.style1 table thead th { border-bottom-color: var(--accent); }
body[class*="theme-"] .wrapper.style1 .row.special h2 { color: var(--accent); }

.brand-logo { display: block; margin: 0 auto 1.25em auto; width: 64px; height: 64px; border-radius: 14px; box-shadow: 0 2px 10px rgba(0,0,0,0.18); }
.case-card-logo { display: block; margin: 0 auto 1em auto; width: 56px; height: 56px; border-radius: 12px; }

body.theme-rentomojo .wrapper.style1 .button:hover { color: #ffffff !important; }
body.theme-rentomojo .wrapper.style3 .button:hover { color: var(--dark-bg) !important; }

body.theme-slice .wrapper.style1 .button:hover { color: #ffffff !important; }
body.theme-slice .wrapper.style3 .button:hover { color: var(--dark-bg) !important; }

body.theme-treebo .wrapper.style1 .button:hover { color: #ffffff !important; }
body.theme-treebo .wrapper.style3 .button:hover { color: var(--dark-bg) !important; }

body.theme-bumble .wrapper.style1 .button:hover { color: #FEDB5B !important; }
body.theme-bumble .wrapper.style3 .button:hover { color: var(--dark-bg) !important; }
