/*
 Theme Name:   Divi Child – 68 Printing
 Theme URI:    https://68printing.com/
 Description:  Graphite & cyan child theme for 68 Printing (nail supply).
 Author:       68 Printing
 Template:     Divi
 Version:      1.0.0
 Text Domain:  divi-child
*/

/* 1. TOKENS */
:root {
	--r-ink: #232D33;
	--r-ink-2: #2F3B42;
	--r-cyan: #0A8DB8;
	--r-cyan-dk: #076F91;
	--r-cyan-lt: #E6F5FA;
	--r-mag: #E0408A;
	--r-yel: #F6C324;
	--r-paper: #F6F8F9;
	--r-text: #4C5961;
	--r-line: rgba(35, 45, 51, .12);
	--r-radius: 14px;
	--r-shadow: 0 24px 46px -30px rgba(35, 45, 51, .55);
	--r-head: 'Sora', 'Helvetica Neue', Arial, sans-serif;
	--r-body: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;
}

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

/* 3. HEADER */
#top-header { background: var(--r-ink) !important; }
#main-header { background: #fff; box-shadow: 0 1px 0 var(--r-line); }
#main-header:after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: linear-gradient(90deg, var(--r-cyan) 0 33.3%, var(--r-mag) 33.3% 66.6%, var(--r-yel) 66.6% 100%); }
#main-header .container { width: 90%; max-width: 1240px; }
#logo { max-height: 56%; }
#top-menu li { padding-right: 20px; }
#top-menu a, .et_mobile_menu a { font-family: var(--r-head); font-size: 14.5px; font-weight: 600; color: var(--r-ink); }
#top-menu li.current-menu-item > a, #top-menu a:hover { color: var(--r-cyan) !important; opacity: 1; }
.et_mobile_menu { border-top-color: var(--r-cyan); }
.mobile_menu_bar:before, #et_search_icon:before { color: var(--r-ink); }

/* 4. HELPERS */
.b68r-wrap { width: 90%; max-width: 1200px; margin: 0 auto; }
.r-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--r-head); font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--r-cyan-dk); margin-bottom: 12px; }
.r-eyebrow:before { content: ""; width: 30px; height: 8px; background: linear-gradient(90deg, var(--r-cyan) 0 33%, var(--r-mag) 33% 66%, var(--r-yel) 66%); border-radius: 4px; }
.r-title { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; margin-bottom: 10px; }
.r-lead { font-size: 17px; line-height: 1.75; max-width: 660px; }
.r-center { text-align: center; }
.r-center .r-lead { margin: 0 auto; }
.r-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.r-center .r-btns { justify-content: center; }
.r-btn { display: inline-block; padding: 14px 26px; border-radius: 10px; background: var(--r-cyan); color: #fff !important; font-family: var(--r-head); font-weight: 700; font-size: 15px; text-decoration: none; transition: background .25s ease, transform .25s ease; }
.r-btn:hover { background: var(--r-cyan-dk); transform: translateY(-2px); }
.r-btn--light { background: #fff; color: var(--r-ink) !important; }
.r-btn--light:hover { background: var(--r-yel); color: var(--r-ink) !important; }
.r-btn--line { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); }
.r-btn--line:hover { background: #fff; color: var(--r-ink) !important; }
.r-more { font-family: var(--r-head); font-weight: 700; font-size: 14.5px; color: var(--r-cyan-dk); text-decoration: none; }
.r-more:after { content: " \2192"; }
.r-specs, .r-specs li, .r-list, .r-list li, .b68r-footer ul, .b68r-footer li { list-style: none !important; }
.r-proof br, .r-proof p:empty, .r-sheet br, .r-sheet p:empty, .r-step br, .r-step p:empty, .r-item br, .r-item p:empty, .r-card br, .r-card-body p:empty { display: none; }

/* 5. HERO */
.r-hero { background: var(--r-ink); padding: 72px 0 0 !important; position: relative; overflow: hidden; }
.r-hero:before, .r-hero:after { content: ""; position: absolute; border-radius: 50%; mix-blend-mode: screen; opacity: .22; }
.r-hero:before { width: 340px; height: 340px; background: var(--r-cyan); left: -90px; top: -110px; }
.r-hero:after { width: 280px; height: 280px; background: var(--r-mag); right: -60px; top: 40px; }
.r-hero .et_pb_row { position: relative; z-index: 1; }
.r-hero h1 { color: #fff; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.08; margin-bottom: 16px; }
.r-hero h1 span { color: var(--r-yel); }
.r-hero .r-lead { color: rgba(255, 255, 255, .8); }
.r-hero .r-eyebrow { color: #8FD3EA; }
.r-specs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0 !important; margin: 22px 0 0; }
.r-specs li { color: #fff; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-family: var(--r-head); }
.r-specs li b { color: var(--r-yel); }
.r-hero-banner { margin-top: 40px; }
.r-hero-banner .et_pb_image_wrap { display: block; border-radius: 22px 22px 0 0; overflow: hidden; box-shadow: 0 -10px 60px -20px rgba(0, 0, 0, .6); }
.r-hero-banner img { width: 100%; display: block; }

/* 6. PROOFS */
.r-proofs { background: #fff; padding: 80px 0 70px !important; }
.r-proof-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 30px; }
.r-proof { position: relative; background: #fff; border: 1px solid var(--r-line); border-radius: var(--r-radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.r-proof:hover { transform: translateY(-5px); box-shadow: var(--r-shadow); }
.r-proof i { display: block; height: 70px; font-style: normal; position: relative; }
.r-proof i:after { content: attr(data-code); position: absolute; left: 16px; bottom: 10px; font-family: var(--r-head); font-size: 12px; font-weight: 700; letter-spacing: .08em; color: #fff; }
.r-proof:nth-child(1) i { background: var(--r-cyan); }
.r-proof:nth-child(2) i { background: var(--r-mag); }
.r-proof:nth-child(3) i { background: var(--r-yel); }
.r-proof:nth-child(3) i:after { color: var(--r-ink); }
.r-proof:nth-child(4) i { background: var(--r-ink); }
.r-proof:nth-child(5) i { background: linear-gradient(90deg, var(--r-cyan), var(--r-mag), var(--r-yel)); }
.r-proof div { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.r-proof h3 { font-size: 16.5px; line-height: 1.3; margin-bottom: 6px; padding-bottom: 0; }
.r-proof p { flex: 1; font-size: 14.5px; line-height: 1.55; margin-bottom: 10px; padding-bottom: 0; }
.r-proof a { font-family: var(--r-head); font-weight: 700; font-size: 14px; color: var(--r-cyan-dk); text-decoration: none; }
.r-proof a:after { content: " \2192"; }
.r-proof a:before { content: ""; position: absolute; inset: 0; }

/* 7. PRESS SHEET */
.r-press { background: var(--r-paper); padding: 80px 0 64px !important; }
.r-sheet-col .et_pb_image { margin-bottom: 0 !important; }
.r-sheet-col .et_pb_image_wrap { display: block; border-radius: var(--r-radius); overflow: hidden; border: 8px solid #fff; box-shadow: var(--r-shadow); }
.r-sheet-col .et_pb_image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s ease; }
.r-sheet-col:hover .et_pb_image img { transform: scale(1.04); }
.r-sheet { padding: 16px 4px 0; }
.r-sheet small { font-family: var(--r-head); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--r-mag); }
.r-sheet h3 { font-size: 19px; margin: 4px 0 6px; padding-bottom: 0; }
.r-sheet p { font-size: 15px; line-height: 1.55; margin-bottom: 10px; padding-bottom: 0; }

/* 8. STEPS */
.r-steps-sec { background: var(--r-cyan-lt); padding: 80px 0 !important; }
.r-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; counter-reset: st; }
.r-step { counter-increment: st; background: #fff; border-radius: var(--r-radius); padding: 24px 22px; position: relative; box-shadow: 0 16px 30px -26px rgba(35, 45, 51, .7); }
.r-step:before { content: counter(st); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--r-ink); color: #fff; font-family: var(--r-head); font-weight: 700; margin-bottom: 14px; }
.r-step:nth-child(2):before { background: var(--r-cyan); }
.r-step:nth-child(3):before { background: var(--r-mag); }
.r-step:nth-child(4):before { background: var(--r-yel); color: var(--r-ink); }
.r-step h3 { font-size: 18.5px; margin-bottom: 6px; padding-bottom: 0; }
.r-step p { font-size: 15px; line-height: 1.6; margin-bottom: 10px; padding-bottom: 0; }
.r-step a { font-family: var(--r-head); font-weight: 700; font-size: 14px; color: var(--r-cyan-dk); text-decoration: none; }
.r-step a:after { content: " \2192"; }

/* 9. SPOTLIGHT */
.r-spot { background: #fff; padding: 80px 0 !important; }
.r-feature { background: var(--r-ink); border-radius: 22px; padding: 38px 34px; position: relative; overflow: hidden; }
.r-feature:after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; background: var(--r-yel); opacity: .9; }
.r-feature .r-eyebrow { color: #8FD3EA; }
.r-feature h2 { color: #fff; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; position: relative; z-index: 1; }
.r-feature p { color: rgba(255, 255, 255, .8); position: relative; z-index: 1; }
.r-feature .r-btns { position: relative; z-index: 1; }
.r-list { padding: 0 !important; margin: 0; display: grid; gap: 12px; }
.r-item { position: relative; display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: center; padding: 10px; border: 1px solid var(--r-line); border-radius: var(--r-radius); transition: border-color .25s ease, background .25s ease; }
.r-item:hover { border-color: var(--r-cyan); background: var(--r-cyan-lt); }
.r-item img { width: 88px !important; height: 88px !important; object-fit: cover; border-radius: 10px; display: block; }
.r-item span { font-family: var(--r-head); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--r-mag); }
.r-item h3 { font-size: 16.5px; line-height: 1.35; margin: 2px 0 0; padding-bottom: 0; }
.r-item a { color: inherit; text-decoration: none; }
.r-item a:before { content: ""; position: absolute; inset: 0; }

/* 10. LATEST */
.r-latest { background: var(--r-paper); padding: 80px 0 !important; }
.r-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.r-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-radius); overflow: hidden; box-shadow: 0 16px 32px -26px rgba(35, 45, 51, .7); transition: transform .3s ease; }
.r-card:hover { transform: translateY(-4px); }
.r-card > p { display: contents; }
.r-card img { width: 100%; height: auto !important; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.r-card-body { padding: 16px 20px 20px; border-top: 4px solid var(--r-cyan); }
.r-card:nth-child(3n+2) .r-card-body { border-top-color: var(--r-mag); }
.r-card:nth-child(3n) .r-card-body { border-top-color: var(--r-yel); }
.r-card-body span { font-family: var(--r-head); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--r-cyan-dk); }
.r-card h3 { font-size: 18px; line-height: 1.35; margin: 4px 0 8px; padding-bottom: 0; }
.r-card .r-more:before { content: ""; position: absolute; inset: 0; }

/* 11. CTA */
.r-cta { background: var(--r-cyan); padding: 60px 0 !important; }
.r-cta-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.r-cta-box h2 { color: #fff; font-size: clamp(26px, 2.8vw, 36px); margin-bottom: 6px; }
.r-cta-box p { color: rgba(255, 255, 255, .9); max-width: 600px; }

/* 12. FOOTER */
#main-footer { display: none !important; }
.b68r-footer { background: var(--r-paper); border-top: 4px solid var(--r-ink); padding: 64px 0 0; font-size: 15.5px; }
.b68r-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr .9fr; gap: 40px; padding-bottom: 46px; }
.b68r-footer-logo img { width: 210px; height: auto; display: block; margin-bottom: 16px; }
.b68r-footer p { color: var(--r-text); }
.b68r-footer h4 { font-family: var(--r-head); font-size: 16px; color: var(--r-ink); margin-bottom: 14px; padding-bottom: 0; }
.b68r-footer ul { padding: 0 !important; margin: 0; }
.b68r-footer li { margin-bottom: 9px; line-height: 1.45; }
.b68r-footer a { color: var(--r-ink); text-decoration: none; }
.b68r-footer a:hover { color: var(--r-cyan); }
.b68r-footer-bottom { background: var(--r-ink); color: rgba(255, 255, 255, .8); padding: 16px 0; text-align: center; font-size: 13.5px; }

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

/* 14. RESPONSIVE */
@media (max-width: 1100px) {
	.r-proof-grid { grid-template-columns: repeat(3, 1fr); }
	.r-steps { grid-template-columns: 1fr 1fr; }
	.b68r-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
	.r-card-grid { grid-template-columns: 1fr 1fr; }
	.r-proofs, .r-press, .r-steps-sec, .r-spot, .r-latest { padding: 56px 0 !important; }
	.r-sheet-col { margin-bottom: 26px !important; }
	.r-list-col { margin-top: 26px; }
}
@media (max-width: 640px) {
	.r-proof-grid, .r-steps, .r-card-grid { grid-template-columns: 1fr; }
	.r-item { grid-template-columns: 70px 1fr; }
	.r-item img { width: 70px !important; height: 70px !important; }
	.b68r-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
