/*
 Theme Name:   Divi Child – King Kong Builder
 Theme URI:    https://kingkongbuilder.com/
 Description:  Bubblegum pink, graphite & gold child theme for King Kong Builder (nail supply).
 Author:       King Kong Builder
 Template:     Divi
 Version:      1.0.0
 Text Domain:  divi-child
*/

/* 1. TOKENS */
:root {
	--b-pink: #F07AA8;
	--b-pink-dk: #D9548C;
	--b-pink-lt: #FDEAF2;
	--b-gold: #C9A046;
	--b-gold-lt: #F6EBD2;
	--b-ink: #221F26;
	--b-ink-2: #2E2A33;
	--b-sand: #FAF6F2;
	--b-text: #4D4852;
	--b-line: rgba(34, 31, 38, .12);
	--b-radius: 10px;
	--b-shadow: 0 22px 40px -28px rgba(34, 31, 38, .55);
	--b-head: 'Bricolage Grotesque', 'Arial Black', Arial, sans-serif;
	--b-body: 'Albert Sans', 'Helvetica Neue', Arial, sans-serif;
}

/* 2. BASE */
body, body p, #main-content, .et_pb_text { font-family: var(--b-body); color: var(--b-text); font-weight: 400; }
body { font-size: 16.5px; line-height: 1.72; background: #fff; }
body strong, body b { font-weight: 700; }
h1, h2, h3, h4, h5, h6, .entry-title { font-family: var(--b-head); color: var(--b-ink); font-weight: 700; letter-spacing: -.015em; }
a { color: var(--b-pink-dk); }
a:hover { color: var(--b-ink); }
::selection { background: var(--b-pink); color: #fff; }

/* 3. HEADER */
#top-header { background: var(--b-ink) !important; }
#main-header { background: #fff; box-shadow: 0 1px 0 var(--b-line); }
#main-header .container { width: 92%; max-width: 1280px; }
#logo { max-height: 78%; }
.et-fixed-header #logo { max-height: 78%; }
#top-menu li { padding-right: 15px; }
#top-menu a, .et_mobile_menu a { font-family: var(--b-body); font-size: 14.5px; font-weight: 600; color: var(--b-ink); }
#top-menu li.current-menu-item > a, #top-menu a:hover { color: var(--b-pink-dk) !important; opacity: 1; }
.et_mobile_menu { border-top-color: var(--b-pink); }
.mobile_menu_bar:before, #et_search_icon:before { color: var(--b-ink); }

/* 4. HELPERS */
.kkb-wrap { width: 90%; max-width: 1200px; margin: 0 auto; }
.b-tag { display: inline-block; font-family: var(--b-body); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--b-ink); background: var(--b-gold-lt); border-radius: 4px; padding: 5px 10px; margin-bottom: 14px; }
.b-title { font-size: clamp(30px, 3.3vw, 46px); line-height: 1.12; margin-bottom: 12px; }
.b-title em { font-style: normal; color: var(--b-pink-dk); }
.b-lead { font-size: 17px; line-height: 1.72; max-width: 640px; }
.b-center { text-align: center; }
.b-center .b-lead { margin: 0 auto; }
.b-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.b-btn { display: inline-block; padding: 14px 26px; border-radius: 8px; background: var(--b-pink-dk); color: #fff !important; font-family: var(--b-body); font-weight: 700; font-size: 15px; text-decoration: none; transition: background .25s ease, transform .25s ease; }
.b-btn:hover { background: var(--b-ink); transform: translateY(-2px); }
.b-btn--ink { background: var(--b-ink); }
.b-btn--ink:hover { background: var(--b-pink-dk); }
.b-btn--gold { background: var(--b-gold); color: var(--b-ink) !important; }
.b-btn--gold:hover { background: #fff; }
.b-link { display: table; margin-top: 6px; font-family: var(--b-body); font-weight: 700; font-size: 14.5px; color: var(--b-pink-dk); text-decoration: none; }
.b-link:after { content: " \2192"; }
.b-path, .b-path li, .b-stats, .b-stats li, .b-flash, .b-flash li, .b-steps, .b-steps li, .kkb-footer ul, .kkb-footer li { list-style: none !important; }
.b-path br, .b-path p:empty, .b-stats br, .b-flash br, .b-steps br, .b-steps p:empty, .b-reads br, .b-card-body p:empty, .b-power br, .b-power p:empty { display: none; }
.b-path > p, .b-path li > p, .b-stats > p, .b-flash > p, .b-steps > p, .b-steps li > p, .b-reads > p, .b-card > p { display: contents; }

/* 5. HERO */
.b-hero { background: var(--b-sand); padding: 62px 0 70px !important; border-bottom: 6px solid var(--b-pink); }
.b-hero h1 { font-size: clamp(38px, 4.4vw, 62px); line-height: 1.04; margin-bottom: 16px; font-weight: 800; }
.b-hero h1 em { font-style: normal; color: var(--b-pink-dk); }
.b-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px; padding: 0 !important; margin: 32px 0 0; }
.b-stats li { font-size: 13.5px; line-height: 1.3; background: #fff; border: 1px solid var(--b-line); border-radius: var(--b-radius); padding: 12px 16px; }
.b-stats li b { display: block; font-family: var(--b-head); font-weight: 800; font-size: 26px; color: var(--b-ink); }
.b-hero-img .et_pb_image_wrap { display: block; border-radius: var(--b-radius); overflow: hidden; box-shadow: 14px 14px 0 var(--b-gold); }
.b-hero-img img { width: 100%; display: block; }

/* 6. BUILD PATH */
.b-path-sec { background: #fff; padding: 84px 0 72px !important; }
.b-path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0 !important; margin: 40px 0 0; }
.b-path li { position: relative; padding: 24px; border-radius: var(--b-radius); background: #fff; border: 1px solid var(--b-line); border-top: 4px solid var(--b-pink); transition: transform .25s ease, box-shadow .25s ease; }
.b-path li:nth-child(even) { border-top-color: var(--b-gold); }
.b-path li:hover { transform: translateY(-4px); box-shadow: var(--b-shadow); }
.b-path small { display: block; font-family: var(--b-head); font-size: 34px; font-weight: 800; line-height: 1; color: var(--b-pink-lt); -webkit-text-stroke: 1px var(--b-pink-dk); margin-bottom: 10px; }
.b-path h3 { font-size: 20px; line-height: 1.3; margin: 0 0 6px; padding-bottom: 0; }
.b-path p { font-size: 14.5px; line-height: 1.6; margin: 0 0 8px; padding-bottom: 0; }
.b-path a { display: table; font-weight: 700; font-size: 14px; color: var(--b-pink-dk); text-decoration: none; }
.b-path a:after { content: " \2192"; }
.b-path a:before { content: ""; position: absolute; inset: 0; }

/* 7. POWER SHADES */
.b-power-sec { background: var(--b-pink-lt); padding: 84px 0 70px !important; }
.b-power-col .et_pb_image { margin-bottom: 0 !important; }
.b-power-col .et_pb_image_wrap { display: block; border-radius: var(--b-radius); overflow: hidden; box-shadow: var(--b-shadow); }
.b-power-col .et_pb_image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s ease; }
.b-power-col:hover .et_pb_image img { transform: scale(1.04); }
.b-power { padding: 22px 4px 0; }
.b-power small { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--b-ink); border-radius: 4px; padding: 4px 10px; }
.b-power h3 { font-size: 23px; margin: 10px 0 6px; padding-bottom: 0; }
.b-power p { font-size: 15px; line-height: 1.6; margin-bottom: 8px; padding-bottom: 0; }

/* 8. SPOTLIGHT (dark) */
.b-spot { background: var(--b-ink); padding: 86px 0 !important; }
.b-spot .b-title { color: #fff; }
.b-spot .b-title em { color: var(--b-pink); }
.b-spot .b-lead, .b-spot p { color: rgba(255, 255, 255, .82); }
.b-spot .b-tag { background: var(--b-gold); }
.b-spot-img .et_pb_image_wrap { display: block; border-radius: var(--b-radius); overflow: hidden; border: 1px solid rgba(255, 255, 255, .16); }
.b-spot-img img { width: 100%; display: block; }
.b-flash { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 0 !important; margin: 24px 0 0; }
.b-flash li { background: var(--b-ink-2); border-radius: 8px; padding: 12px 8px; color: #fff; font-size: 13.5px; font-weight: 600; text-align: center; }
.b-flash li i { display: block; height: 26px; border-radius: 6px; margin-bottom: 8px; }
.b-spot .b-btn { background: var(--b-pink); color: var(--b-ink) !important; }
.b-spot .b-btn:hover { background: #fff; }

/* 9. BUILD GUIDE (steps + rubber base) */
.b-guide-sec { background: #fff; padding: 84px 0 !important; }
.b-guide-img .et_pb_image_wrap { display: block; border-radius: var(--b-radius); overflow: hidden; box-shadow: -14px 14px 0 var(--b-pink-lt); }
.b-guide-img img { width: 100%; display: block; }
.b-steps { padding: 0 !important; margin: 22px 0 0; }
.b-steps li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--b-line); }
.b-steps li b { flex: none; width: 40px; height: 40px; border-radius: 8px; background: var(--b-ink); color: #fff; display: grid; place-items: center; font-family: var(--b-head); font-weight: 800; font-size: 15px; }
.b-steps h3 { font-size: 18px; line-height: 1.35; margin: 0 0 3px; padding-bottom: 0; }
.b-steps p { font-size: 15px; line-height: 1.6; margin: 0; padding-bottom: 0; }

/* 10. TECH READS */
.b-reads-sec { background: var(--b-sand); padding: 84px 0 !important; }
.b-reads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.b-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--b-radius); overflow: hidden; border: 1px solid var(--b-line); transition: transform .25s ease, box-shadow .25s ease; }
.b-card:hover { transform: translateY(-4px); box-shadow: var(--b-shadow); }
.b-card img { width: 100%; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.b-card-body { padding: 18px 20px 20px; }
.b-card-body span { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--b-pink-dk); }
.b-card h3 { font-size: 18px; line-height: 1.38; margin: 6px 0 8px; padding-bottom: 0; }
.b-card .b-link:before { content: ""; position: absolute; inset: 0; }

/* 11. CTA */
.b-cta { background: var(--b-pink-dk); background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 14px, transparent 14px 28px); padding: 60px 0 !important; }
.b-cta-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.b-cta-box h2 { color: #fff; font-size: clamp(26px, 2.6vw, 38px); margin-bottom: 6px; }
.b-cta-box p { color: rgba(255, 255, 255, .95); max-width: 620px; }
.b-cta .b-btn { background: var(--b-ink); }
.b-cta .b-btn:hover { background: #fff; color: var(--b-ink) !important; }

/* 12. FOOTER */
#main-footer { display: none !important; }
.kkb-footer { background: #fff; border-top: 4px solid var(--b-ink); padding: 64px 0 0; font-size: 15.5px; }
.kkb-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr .9fr; gap: 40px; padding-bottom: 46px; }
.kkb-footer-logo img { width: 230px; max-width: 100%; height: auto; display: block; margin-bottom: 16px; }
.kkb-footer p { color: var(--b-text); }
.kkb-footer h4 { font-family: var(--b-head); font-weight: 700; font-size: 19px; color: var(--b-ink); margin-bottom: 14px; padding-bottom: 0; }
.kkb-footer ul { padding: 0 !important; margin: 0; }
.kkb-footer li { margin-bottom: 9px; line-height: 1.45; }
.kkb-footer a { color: var(--b-ink); text-decoration: none; }
.kkb-footer a:hover { color: var(--b-pink-dk); }
.kkb-footer-bottom { background: var(--b-ink); color: rgba(255, 255, 255, .85); padding: 16px 0; text-align: center; font-size: 13.5px; }

/* 13. BLOG */
.et_pb_post .entry-title a:hover { color: var(--b-pink-dk); }
.post-meta a { color: var(--b-pink-dk); }

/* 14. RESPONSIVE */
@media (max-width: 1100px) {
	.kkb-footer-grid { grid-template-columns: 1fr 1fr; }
	#top-menu li { padding-right: 10px; }
	#top-menu a { font-size: 13.5px; }
}
@media (max-width: 980px) {
	.b-hero-img { margin-top: 40px; }
	.b-path, .b-reads { grid-template-columns: 1fr 1fr; }
	.b-path-sec, .b-power-sec, .b-spot, .b-guide-sec, .b-reads-sec { padding: 58px 0 !important; }
	.b-power-col { margin-bottom: 28px !important; }
	.b-spot-text, .b-guide-text { margin-top: 34px; }
}
@media (max-width: 640px) {
	.b-path, .b-reads { grid-template-columns: 1fr; }
	.b-flash { grid-template-columns: 1fr 1fr; }
	.b-stats { grid-template-columns: repeat(3, 1fr); }
	.b-stats li { padding: 10px; }
	.b-hero-img .et_pb_image_wrap { box-shadow: 8px 8px 0 var(--b-gold); }
	.kkb-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
